:root {
    --bg-light: #FFFFFF;
    --bg-dark: #111111; 
    --text-dark: #1A1A1A; 
    --text-light: #FFFFFF; 
    --accent: #a1c33f; 
    --accent-hover: #8ba931; 
    --card-bg: #FFFFFF;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', Roboto, Helvetica, sans-serif; scroll-behavior: smooth; }
body { background-color: var(--bg-light); color: var(--text-dark); overflow-x: hidden; line-height: 1.6; }

.site-header { position: fixed; top: 0; left: 0; width: 100%; padding: 0.8rem 5%; display: flex; justify-content: space-between; align-items: center; z-index: 1000; transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1); background: transparent; }

.site-header::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 150%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, transparent 100%); 
    z-index: -1; pointer-events: none; opacity: 0.8; transition: opacity 0.5s ease;
}

.logo-img { max-height: 120px; width: auto; margin: -20px 0; transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275); filter: brightness(0) invert(1) drop-shadow(0 2px 8px rgba(0,0,0,0.5)); }
.logo:hover .logo-img { transform: scale(1.05); filter: brightness(0) invert(1) drop-shadow(0 0px 15px rgba(255, 255, 255, 0.5)); }

.btn-header { background-color: transparent; color: var(--text-light); padding: 0.7rem 1.8rem; border-radius: 50px; text-decoration: none; font-weight: 600; font-size: 0.95rem; border: 1px solid rgba(255, 255, 255, 0.4); transition: all 0.4s ease; backdrop-filter: blur(10px); }

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-catalog-highlight {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent);
    color: var(--bg-dark) !important;
    padding: 0.7rem 1.6rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.95rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(161, 195, 63, 0.4);
    border: 2px solid var(--accent);
}

.btn-catalog-highlight:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(161, 195, 63, 0.6);
    background: #ffffff;
    color: var(--accent) !important;
    border-color: #ffffff;
}

.btn-catalog-highlight svg {
    width: 18px;
    height: 18px;
    transition: transform 0.4s ease;
}

.btn-catalog-highlight:hover svg {
    transform: translateY(-2px) scale(1.1);
}

.mobile-actions-wrapper {
    display: none; 
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    padding: 0 2rem;
    align-items: center;
}

@media (max-width: 900px) {
    .mobile-actions-wrapper { display: flex; }
    .mobile-actions-wrapper .btn-header { width: 100%; text-align: center; justify-content: center; display: flex;}
    .mobile-actions-wrapper .btn-catalog-highlight { width: 100%; justify-content: center; }
}
.btn-header:hover { background-color: var(--text-light); color: var(--bg-dark); border-color: var(--text-light); transform: translateY(-2px); box-shadow: 0 10px 20px rgba(0,0,0,0.15); }

.main-nav { display: flex; gap: 2rem; align-items: center; }
.nav-link { color: var(--text-light); text-decoration: none; font-weight: 600; font-size: 1.05rem; transition: color 0.3s ease; position: relative; }
.nav-link::after { content: ''; position: absolute; width: 0; height: 2px; bottom: -5px; left: 0; background-color: var(--accent); transition: width 0.3s ease; }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-link:hover, .nav-link.active { color: var(--accent); }

.site-header.scrolled { padding: 0.5rem 5%; background-color: rgba(255, 255, 255, 0.95); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08); border-bottom: 1px solid rgba(0, 0, 0, 0.05); }
.site-header.scrolled::before { opacity: 0; }
.site-header.scrolled .logo-img { max-height: 110px; margin: -10px 0; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1)); }
.site-header.scrolled .logo:hover .logo-img { transform: scale(1.05); filter: drop-shadow(0 4px 12px rgba(161, 195, 63, 0.3)); }
.site-header.scrolled .btn-header { background-color: var(--bg-dark); color: var(--text-light); border: 1px solid var(--bg-dark); }
.site-header.scrolled .btn-header:hover { background-color: var(--accent); border-color: var(--accent); transform: translateY(-2px); box-shadow: 0 8px 15px rgba(161, 195, 63, 0.3); }
.site-header.scrolled .nav-link { color: var(--bg-dark); }
.site-header.scrolled .nav-link:hover, .site-header.scrolled .nav-link.active { color: var(--accent); }

.mobile-menu-btn { display: none; flex-direction: column; justify-content: space-between; width: 30px; height: 20px; background: transparent; border: none; cursor: pointer; z-index: 1001; }
.mobile-menu-btn span { width: 100%; height: 2px; background-color: var(--text-light); transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); border-radius: 2px; }
.site-header.scrolled .mobile-menu-btn span, .catalog-header .mobile-menu-btn span { background-color: var(--bg-dark); }
.mobile-only { display: none; }

@media (max-width: 900px) {
    .mobile-menu-btn { display: flex; }
    .desktop-only { display: none; }
    .mobile-only { display: inline-block; margin-top: 2rem; border-color: rgba(255,255,255,0.2); }
    
    .main-nav { position: fixed; top: 0; right: -120%; width: 100%; max-width: 400px; height: 100vh; background-color: var(--bg-dark); display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 2rem; transition: right 0.5s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease; box-shadow: 0 0 0 transparent; z-index: 1000; backdrop-filter: blur(20px); }
    .main-nav.active { right: 0; box-shadow: -15px 0 40px rgba(0,0,0,0.5); }
    .main-nav .nav-link { font-size: 1.5rem; color: var(--text-light) !important; }
    
    .mobile-menu-btn.active span { background-color: var(--text-light) !important; }
    .mobile-menu-btn.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
    .mobile-menu-btn.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
}

.catalog-header { background-color: rgba(255, 255, 255, 0.95) !important; backdrop-filter: blur(20px) !important; -webkit-backdrop-filter: blur(20px) !important; box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08) !important; border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important; padding: 0.5rem 5% !important; }
.catalog-header::before { display: none !important; }
.catalog-header .logo-img { max-height: 110px !important; margin: -10px 0 !important; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1)) !important; }
.catalog-header .nav-link { color: var(--bg-dark) !important; }
.catalog-header .nav-link:hover, .catalog-header .nav-link.active { color: var(--accent) !important; }
.catalog-header .btn-header { background-color: var(--bg-dark) !important; color: var(--text-light) !important; border: 1px solid var(--bg-dark) !important; }
.catalog-header .btn-header:hover { background-color: var(--accent) !important; border-color: var(--accent) !important; }

section { padding: 7rem 5%; display: flex; flex-direction: column; align-items: center; }
.section-header { text-align: center; max-width: 800px; margin-bottom: 4rem; position: relative; z-index: 10; }
h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: 1.1; margin-bottom: 1.5rem; color: var(--bg-dark); letter-spacing: -1px; }
h2 { font-size: clamp(2rem, 3.5vw, 3rem); margin-bottom: 1.2rem; color: var(--bg-dark); letter-spacing: -0.5px; }
p { font-size: 1.1rem; color: #4A5568; line-height: 1.7; }

.btn { display: inline-block; padding: 1rem 2.2rem; font-weight: 600; border-radius: 6px; text-decoration: none; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); cursor: pointer; letter-spacing: 0.5px; }
.btn-primary { background-color: var(--accent); color: var(--bg-dark); border: 2px solid var(--accent); box-shadow: 0 4px 15px rgba(161, 195, 63, 0.3); }
.btn-primary:hover { background-color: var(--accent-hover); border-color: var(--accent-hover); transform: translateY(-4px); box-shadow: 0 12px 25px rgba(161, 195, 63, 0.5); }
.btn-secondary { background-color: transparent; color: var(--text-light); border: 2px solid rgba(255, 255, 255, 0.6); backdrop-filter: blur(5px); }
.btn-secondary:hover { background-color: var(--text-light); color: var(--bg-dark); transform: translateY(-4px); border-color: var(--text-light); box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3); }

.hero { min-height: 100vh; justify-content: center; text-align: center; background-color: var(--bg-dark); background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.9) 100%), radial-gradient(circle at 50% 120%, rgba(161, 195, 63, 0.5) 0%, transparent 60%), url('public/fondo1.png'); background-blend-mode: normal, overlay, normal; background-size: cover; background-position: center; background-attachment: fixed; background-repeat: no-repeat; padding-top: 10rem; position: relative; }
.hero-content { max-width: 1000px; position: relative; z-index: 2; }
.hero .hero-title { color: var(--text-light); text-shadow: 0 4px 25px rgba(0, 0, 0, 0.7); }
.hero .hero-subtitle { font-size: 1.3rem; margin-bottom: 3rem; color: rgba(255, 255, 255, 0.9); text-shadow: 0 2px 15px rgba(0, 0, 0, 0.8); max-width: 800px; margin-inline: auto; }
.hero-buttons { display: flex; gap: 1.5rem; justify-content: center; margin-bottom: 5rem; }
.hero-stats { display: flex; justify-content: center; gap: 4rem; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, 0.15); padding-top: 2.5rem; }
.stat-item h3 { font-size: 3.5rem; color: var(--accent); margin-bottom: 0.2rem; text-shadow: 0 4px 15px rgba(0, 0, 0, 0.6); line-height: 1; }
.stat-item p { font-size: 1rem; font-weight: 500; max-width: 180px; color: rgba(255, 255, 255, 0.8); line-height: 1.4; }

.services { background-color: var(--bg-light); position: relative; }
.cards-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2.5rem; width: 100%; max-width: 1200px; }
.card { background: var(--card-bg); padding: 3rem 2.5rem; border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); border: 1px solid rgba(0,0,0,0.05); position: relative; overflow: hidden; transition: transform 0.5s ease, box-shadow 0.5s ease, border-color 0.5s ease; }
.card:hover { transform: translateY(-15px); box-shadow: 0 20px 40px rgba(161, 195, 63, 0.15); border-color: rgba(161, 195, 63, 0.3); }
.card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 5px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.5s ease; }
.card:hover::before { transform: scaleX(1); }
.card-icon { color: var(--accent); margin-bottom: 1.8rem; transform: scale(1.2); transform-origin: left; transition: transform 0.3s ease; }
.card:hover .card-icon { transform: scale(1.3) translateY(-5px); }
.card h3 { font-size: 1.4rem; margin-bottom: 1rem; color: var(--bg-dark); }

.why-us-3d { background: radial-gradient(circle at 10% 20%, rgba(161, 195, 63, 0.12) 0%, transparent 40%), radial-gradient(circle at 90% 80%, rgba(161, 195, 63, 0.15) 0%, transparent 40%), linear-gradient(135deg, #ffffff 0%, #f4f7f6 100%); position: relative; padding: 8rem 5%; perspective: 2500px; overflow: hidden; }
.why-us-content { width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.header-3d { margin-bottom: 6rem; }
.header-3d h2 { color: var(--bg-dark); text-shadow: 0 4px 15px rgba(161, 195, 63, 0.2); font-weight: 900; } 
.header-3d p { color: #4A5568; font-size: 1.15rem; }

.magnetic-wrapper { width: 100%; max-width: 1100px; margin: 0 auto; transform-style: preserve-3d; }
.assembly-3d-container { position: relative; width: 100%; display: flex; flex-direction: column; gap: 8rem; transform-style: preserve-3d; padding: 2rem 0; }

.energy-thread { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 2px; height: 0%; background: linear-gradient(180deg, transparent 0%, var(--accent) 20%, #79942a 80%, transparent 100%); box-shadow: 0 0 15px rgba(161, 195, 63, 0.6); z-index: 1; }
.reason-panel { position: relative; width: 100%; transform-style: preserve-3d; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 4rem; }
.panel-left { flex-direction: row; } 
.panel-right { flex-direction: row-reverse; } 

.glass-card { background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.7) 100%); border: 1px solid rgba(161, 195, 63, 0.3); border-radius: 16px; backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); display: flex; align-items: center; gap: 1.5rem; padding: 1.5rem 2rem; box-shadow: 0 15px 35px rgba(0,0,0,0.08), inset 0 0 0 1px #ffffff; transform-style: preserve-3d; width: 45%; max-width: 450px; transition: border-color 0.4s ease, background-color 0.4s ease, box-shadow 0.4s ease; }
.panel-left .glass-card { flex-direction: row-reverse; } 

.panel-number { font-size: 3.5rem; font-weight: 900; line-height: 1; color: transparent; -webkit-text-stroke: 2px rgba(161, 195, 63, 0.6); transition: color 0.4s ease, text-shadow 0.4s ease, -webkit-text-stroke 0.4s ease; transform: translateZ(50px); }
.panel-text-wrapper h3 { font-size: 1.25rem; color: var(--bg-dark); margin: 0; font-weight: 700; letter-spacing: 0.5px; transform: translateZ(25px); line-height: 1.4; }

.photo-frame-wrapper { position: relative; width: 40%; max-width: 380px; height: 260px; padding: 10px; padding-bottom: 35px; background-color: #FFFFFF; box-shadow: 0 20px 40px rgba(0,0,0,0.15); border-radius: 4px; transform-style: preserve-3d; transition: box-shadow 0.4s ease; }
.thrown-photo { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0%) contrast(105%); border: 1px solid rgba(0,0,0,0.05); }

.reason-panel:hover .photo-frame-wrapper { box-shadow: 0 30px 50px rgba(0,0,0,0.25); }
.reason-panel:hover .glass-card { border-color: var(--accent); box-shadow: 0 25px 50px rgba(0,0,0,0.1), 0 0 25px rgba(161, 195, 63, 0.2); }
.reason-panel:hover .panel-number { color: var(--accent); -webkit-text-stroke: 0px; }

@media (max-width: 768px) { .reason-panel { flex-direction: column !important; justify-content: center; gap: 2rem; } .glass-card, .photo-frame-wrapper { width: 100%; max-width: 400px; } .energy-thread { left: 5%; transform: none; } .panel-left .glass-card, .panel-right .glass-card { flex-direction: row; } }

.clients { background-color: var(--card-bg); overflow: hidden; padding-bottom: 8rem; }
.marquee-wrapper { width: 100vw; margin-left: calc(-50vw + 50%); overflow: hidden; position: relative; padding: 3rem 0; background-color: #F8F9FA; border-top: 1px solid rgba(0,0,0,0.05); border-bottom: 1px solid rgba(0,0,0,0.05); }
.marquee-wrapper::before, .marquee-wrapper::after { content: ""; position: absolute; top: 0; width: 200px; height: 100%; z-index: 2; pointer-events: none; }
.marquee-wrapper::before { left: 0; background: linear-gradient(to right, #FFFFFF 0%, transparent 100%); }
.marquee-wrapper::after { right: 0; background: linear-gradient(to left, #FFFFFF 0%, transparent 100%); }
.marquee-content { display: flex; width: max-content; animation: scroll-left-to-right 35s linear infinite; }
.marquee-wrapper:hover .marquee-content { animation-play-state: paused; }
.brand-item { width: 200px; margin: 0 4rem; display: flex; align-items: center; justify-content: center; transition: transform 0.4s ease, filter 0.4s ease; cursor: pointer;  }
.brand-item:hover { transform: scale(1.15); filter: grayscale(0%) opacity(1); }
.brand-item img { max-height: 80px; width: auto; object-fit: contain; }
@keyframes scroll-left-to-right { 0% { transform: translateX(-50%); } 100% { transform: translateX(0); } }

.cta-industrial { position: relative; background-color: #050505; padding: 10rem 5%; display: flex; justify-content: center; overflow: hidden; border-top: 1px solid rgba(255, 255, 255, 0.05); }
.cross-line { position: absolute; background-color: rgba(255, 255, 255, 0.05); z-index: 1; }
.vertical-line { width: 1px; height: 100%; top: 0; left: 15%; }
.horizontal-line { height: 1px; width: 100%; top: 30%; left: 0; }

.cta-industrial-wrapper { position: relative; z-index: 2; width: 100%; max-width: 1200px; display: flex; flex-direction: column; }
.industrial-title { font-size: clamp(3rem, 7vw, 6rem); color: var(--text-light); font-weight: 900; line-height: 1; letter-spacing: -2px; margin-bottom: 4rem; text-transform: uppercase; }
.text-accent { color: transparent; -webkit-text-stroke: 2px var(--accent); }

.cta-bottom-row { display: flex; justify-content: space-between; align-items: flex-end; border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 3rem; gap: 2rem; }
.cta-bottom-row p { color: #A0AEC0; max-width: 500px; font-size: 1.15rem; margin: 0; }
.cta-action-group { display: flex; flex-direction: column; align-items: flex-end; gap: 0.8rem; }

.btn-industrial { display: flex; align-items: center; background-color: var(--accent); color: var(--bg-dark); text-decoration: none; font-weight: 800; font-size: 1.1rem; border-radius: 0; overflow: hidden; transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); }
.btn-industrial .btn-text { padding: 1.2rem 2rem; }
.btn-industrial .btn-icon { display: flex; align-items: center; justify-content: center; padding: 1.2rem; background-color: rgba(0, 0, 0, 0.1); transition: transform 0.4s ease; }
.btn-industrial:hover { background-color: #ffffff; }
.btn-industrial:hover .btn-icon { transform: scale(1.15) rotate(5deg); }

@media (max-width: 900px) {
    .vertical-line { left: 5%; }
    .cta-bottom-row { flex-direction: column; align-items: flex-start; gap: 3rem; }
    .cta-action-group { width: 100%; align-items: flex-start; }
    .btn-industrial { width: 100%; justify-content: space-between; }
}

.site-footer { background-color: var(--bg-dark); color: var(--text-light); padding: 6rem 5% 1rem; font-family: 'Segoe UI', Roboto, Helvetica, sans-serif; }
.footer-container { max-width: 1200px; margin: 0 auto; }
.footer-top { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 2.5rem; margin-bottom: 3rem; }
.footer-logo-img { max-height: 80px; filter: brightness(0) invert(1); }
.footer-socials { display: flex; gap: 1.5rem; }
.social-link { color: var(--text-light); transition: color 0.3s ease; display: flex; align-items: center; justify-content: center; }
.social-link:hover { color: var(--accent); }

.footer-main { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 4rem; margin-bottom: 4rem; }
.footer-col h4 { color: var(--text-light); font-size: 1.15rem; font-weight: 700; margin-bottom: 1.5rem; letter-spacing: 0.5px; }
.footer-col .mt-4 { margin-top: 2.5rem; }
.footer-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 1.2rem; }
.footer-list li { color: rgba(255, 255, 255, 0.75); font-size: 0.95rem; display: flex; align-items: flex-start; gap: 0.8rem; line-height: 1.6; }
.footer-list li svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px; color: var(--text-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 2rem; text-align: center; color: rgba(255,255,255,0.5); font-size: 0.9rem; }

@media (max-width: 768px) { 
    .site-footer { padding: 4rem 5% 1.5rem; }
    .footer-top { flex-direction: column; align-items: flex-start; gap: 1.5rem; text-align: left; padding-bottom: 2rem; margin-bottom: 2rem; } 
    .footer-socials { gap: 1.2rem; }
    .footer-main { grid-template-columns: 1fr; gap: 2.5rem; margin-bottom: 2.5rem; }
    .footer-col h4 { margin-bottom: 1.2rem; font-size: 1.2rem; }
    .footer-col .mt-4 { margin-top: 1.5rem; }
    .footer-list li { font-size: 1rem; align-items: flex-start; }
    .footer-bottom { padding-top: 1.5rem; }
}

.floating-wsp { position: fixed; bottom: 30px; right: 30px; width: 65px; height: 65px; background-color: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4); z-index: 9999; transition: all 0.3s ease; }
.floating-wsp img { width: 55px; height: auto; object-fit: contain; }
.floating-wsp:hover { box-shadow: 0 15px 35px rgba(37, 211, 102, 0.6); animation: wsp-shake 0.8s cubic-bezier(0.36, 0.07, 0.19, 0.97) both; }
@keyframes wsp-shake { 0% { transform: scale(1) rotate(0deg); } 15% { transform: scale(1.15) rotate(-15deg); } 30% { transform: scale(1.15) rotate(10deg); } 45% { transform: scale(1.15) rotate(-10deg); } 60% { transform: scale(1.15) rotate(5deg); } 75% { transform: scale(1.15) rotate(-5deg); } 100% { transform: scale(1.1) rotate(0deg); } }
@media (max-width: 768px) { .floating-wsp { bottom: 20px; right: 20px; width: 55px; height: 55px; } .floating-wsp img { width: 45px; } }

.catalog-store { background-color: #F8F9FA; padding: 10rem 3% 8rem; position: relative; min-height: 100vh; }
.catalog-layout { display: grid; grid-template-columns: 280px 1fr; gap: 3rem; width: 100%; max-width: 1700px; margin: 0 auto; align-items: start; }

.catalog-sidebar { 
    background: #ffffff; 
    padding: 2rem; 
    border-radius: 16px; 
    box-shadow: 0 15px 35px rgba(0,0,0,0.04); 
    border: 1px solid rgba(0,0,0,0.03); 
    position: sticky; 
    top: 120px; 
}

.catalog-sidebar h3 { 
    font-size: 1.15rem; 
    color: var(--bg-dark); 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    margin-bottom: 1.8rem; 
    font-weight: 800; 
    display: flex; 
    align-items: center; 
    gap: 10px;
}
.catalog-sidebar h3::before {
    content: ''; display: inline-block; width: 12px; height: 12px;
    background-color: var(--accent); border-radius: 3px;
}

.category-filters { display: flex; flex-direction: column; gap: 0.8rem; }

.filter-group { display: flex; flex-direction: column; width: 100%; border-bottom: 1px dashed rgba(0,0,0,0.06); padding-bottom: 0.8rem; }
.filter-group:last-child { border-bottom: none; padding-bottom: 0; }

.filter-btn { 
    padding: 0.8rem 1rem; 
    background: transparent; 
    border: none; 
    font-weight: 700; 
    color: #4A5568; 
    cursor: pointer; 
    transition: all 0.3s ease; 
    font-size: 1.05rem; 
    text-align: left; 
    width: 100%; 
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.filter-btn:hover { color: var(--bg-dark); background-color: #F8F9FA; transform: translateX(4px); }
.filter-btn.active { 
    color: var(--accent-hover); 
    background-color: rgba(161, 195, 63, 0.08); 
    border-left: 4px solid var(--accent);
}

.sub-filters { 
    display: flex; 
    flex-direction: column; 
    gap: 0.2rem; 
    margin-top: 0.5rem; 
    padding-left: 1rem;
    position: relative;
}
.sub-filters::before {
    content: ''; position: absolute; left: 1.5rem; top: 0; bottom: 10px;
    width: 1px; background: rgba(0,0,0,0.06);
}

.sub-filter-btn { 
    background: transparent; 
    border: none; 
    color: #718096; 
    text-align: left; 
    font-size: 0.95rem; 
    cursor: pointer; 
    transition: all 0.3s ease; 
    padding: 0.6rem 1rem 0.6rem 1.8rem; 
    border-radius: 8px;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}
.sub-filter-btn::before {
    content: ''; position: absolute; left: 0.5rem; top: 50%; transform: translateY(-50%);
    width: 6px; height: 6px; border-radius: 50%; background: #CBD5E0; transition: all 0.3s;
}
.sub-filter-btn:hover { color: var(--bg-dark); background-color: #F8F9FA; }
.sub-filter-btn:hover::before { background: var(--accent); }
.sub-filter-btn.active { 
    color: var(--bg-dark); 
    background-color: #ffffff; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.04);
}
.sub-filter-btn.active::before { background: var(--accent); transform: translateY(-50%) scale(1.5); }

.count-badge {
    background: #EDF2F7;
    color: #718096;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    transition: all 0.3s ease;
}
.filter-btn:hover .count-badge, .sub-filter-btn:hover .count-badge { background: #E2E8F0; color: #2D3748; }
.filter-btn.active .count-badge, .sub-filter-btn.active .count-badge { background: var(--accent); color: #ffffff; }

@media (max-width: 950px) {
    .catalog-layout { grid-template-columns: 1fr; max-width: 100%; }
    .catalog-sidebar { position: relative; top: 0; margin-bottom: 2rem; border-radius: 12px; padding: 1.5rem; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
    .category-filters { flex-direction: column; gap: 0.5rem; }
    
    .sub-filters { border-left: none; padding-left: 0; margin-left: 0; flex-direction: row; flex-wrap: wrap; gap: 0.6rem; width: 100%; margin-top: 1rem; margin-bottom: 0.5rem; }
    .sub-filters::before { display: none; }
    .sub-filter-btn::before { display: none; }
    
    .sub-filter-btn { padding: 0.5rem 1rem; border: 1px solid #E2E8F0; border-radius: 50px; font-size: 0.85rem; background: #ffffff; }
    .sub-filter-btn.active { border-color: var(--accent); background: rgba(161, 195, 63, 0.1); box-shadow: none; }
    .sub-filter-btn:hover { transform: translateY(-2px); box-shadow: 0 4px 8px rgba(0,0,0,0.05); }
}

.quick-view-modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 99999; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: all 0.4s ease; }
.quick-view-modal.active { opacity: 1; visibility: visible; }
.modal-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }

.modal-box { position: relative; width: 95%; max-width: 1100px; background: #ffffff; border-radius: 24px; box-shadow: 0 30px 60px rgba(0,0,0,0.3); overflow: hidden; z-index: 2; transform: translateY(30px) scale(0.95); transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275); max-height: 90vh; display: flex; flex-direction: column; }
.quick-view-modal.active .modal-box { transform: translateY(0) scale(1); }

.modal-close { position: absolute; top: 20px; right: 20px; background: #F8F9FA; border: none; width: 45px; height: 45px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--bg-dark); transition: all 0.3s ease; z-index: 10; font-size: 1.2rem; }
.modal-close:hover { background: var(--bg-dark); color: #ffffff; transform: rotate(90deg); }

.modal-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 0; min-height: 600px; }

.modal-gallery { padding: 3rem; background: #F8F9FA; display: flex; flex-direction: column; gap: 1.5rem; justify-content: center; position: relative; border-right: 1px solid rgba(0,0,0,0.05); }

.main-image-container { width: 100%; height: 450px; border-radius: 16px; overflow: hidden; background: #ffffff; cursor: crosshair; position: relative; border: 1px solid rgba(0,0,0,0.04); box-shadow: 0 10px 30px rgba(0,0,0,0.03); display: flex; align-items: center; justify-content: center; }
#modalMainImg { width: 100%; height: 100%; object-fit: contain; transition: transform 0.1s ease-out; } /* Animación suave para el zoom */

.slider-arrow { position: absolute; top: 50%; transform: translateY(-50%); background: #ffffff; border: 1px solid rgba(0,0,0,0.05); width: 45px; height: 45px; border-radius: 50%; color: var(--bg-dark); cursor: pointer; z-index: 10; display: flex; align-items: center; justify-content: center; box-shadow: 0 5px 15px rgba(0,0,0,0.1); opacity: 0; transition: all 0.3s ease; }
.slider-arrow svg { width: 22px; height: 22px; transition: transform 0.3s ease; }
.main-image-container:hover .slider-arrow { opacity: 1; }
.slider-arrow:hover { background: var(--accent); color: #ffffff; border-color: var(--accent); transform: translateY(-50%) scale(1.1); box-shadow: 0 8px 20px rgba(161, 195, 63, 0.3); }
.prev-arrow { left: 15px; }
.next-arrow { right: 15px; }

.thumbnail-list { display: flex; gap: 1rem; justify-content: center; align-items: center; }
.thumb { width: 80px; height: 80px; border-radius: 12px; overflow: hidden; border: 2px solid transparent; cursor: pointer; opacity: 0.5; transition: all 0.3s ease; background: #ffffff; box-shadow: 0 4px 10px rgba(0,0,0,0.05); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:hover { opacity: 0.8; transform: translateY(-3px); }
.thumb.active { opacity: 1; border-color: var(--accent); box-shadow: 0 8px 20px rgba(161, 195, 63, 0.2); }

.modal-details { padding: 4rem 3rem; display: flex; flex-direction: column; justify-content: center; background: #ffffff; overflow-y: auto; }

.modal-category { font-size: 0.8rem; color: var(--bg-dark); text-transform: uppercase; letter-spacing: 1px; font-weight: 800; margin-bottom: 1.2rem; display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; background: rgba(161, 195, 63, 0.15); padding: 0.6rem 1.2rem; border-radius: 50px; width: fit-content; border: 1px solid rgba(161, 195, 63, 0.3); }
.modal-category .sep { color: var(--accent); font-weight: 900; }

.modal-details h2 { font-size: 2.2rem; color: var(--bg-dark); line-height: 1.1; margin-bottom: 1rem; font-weight: 800; letter-spacing: -0.5px; }
.modal-desc { font-size: 1.1rem; color: #718096; margin-bottom: 2.5rem; line-height: 1.6; }

.modal-features { margin-bottom: 2.5rem; background: transparent; padding: 0; }
.modal-features h4 { font-size: 1.1rem; color: var(--bg-dark); margin-bottom: 1.2rem; font-weight: 800; display: flex; align-items: center; gap: 10px; }
.modal-features h4::before { content: ''; width: 20px; height: 3px; background: var(--accent); display: block; border-radius: 2px; }
.modal-features ul { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr; gap: 0.8rem; }
.modal-features li { font-size: 1rem; color: #4A5568; position: relative; background: #F8F9FA; padding: 0.8rem 1rem 0.8rem 2.8rem; border-radius: 8px; border: 1px solid rgba(0,0,0,0.03); }
.modal-features li::before { content: '✓'; color: var(--accent); position: absolute; left: 15px; top: 50%; transform: translateY(-50%); font-weight: 900; font-size: 1.2rem; }

.btn-modal-ws { background: #25D366; color: #ffffff; padding: 1.2rem; font-size: 1.1rem; font-weight: 700; text-decoration: none; text-align: center; border-radius: 12px; display: flex; align-items: center; justify-content: center; gap: 12px; transition: all 0.3s ease; box-shadow: 0 10px 25px rgba(37, 211, 102, 0.25); border: 2px solid #25D366; }
.btn-modal-ws:hover { background: #ffffff; color: #25D366; box-shadow: 0 15px 35px rgba(37, 211, 102, 0.3); transform: translateY(-4px); }
.btn-modal-ws svg { width: 26px; height: 26px; }

@media (max-width: 900px) {
    .modal-grid { grid-template-columns: 1fr; }
    .main-image-container { height: 300px; }
    .modal-gallery { padding: 2rem; }
    .modal-details { padding: 2rem; }
}

.master-categories-wrapper {
    display: flex; gap: 1.2rem; overflow-x: auto; 
    padding: 1rem 1rem 1.2rem 1rem; 
    margin-bottom: 0.5rem;
    scrollbar-width: none; -ms-overflow-style: none;
}
.master-categories-wrapper::-webkit-scrollbar { display: none; }

.master-card {
    flex: 0 0 auto; width: 160px; height: 100px; 
    border-radius: 12px; overflow: hidden; position: relative;
    cursor: pointer; border: 2px solid transparent; 
    background: #1A1A1A; 
    display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
    text-align: center; padding: 10px 10px 12px 10px; 
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08); 
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.master-card img {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; 
    object-fit: cover;
    opacity: 0.95; 
    z-index: 1; 
    transition: opacity 0.5s ease, transform 0.6s ease; 
}

.master-card::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.4) 60%, transparent 100%); 
    z-index: 2;
    pointer-events: none;
}

.master-card.active, .master-card:hover { 
    border-color: var(--accent); 
    transform: translateY(-6px); 
    box-shadow: 0 12px 24px rgba(161, 195, 63, 0.25); 
}

.master-card.active img, .master-card:hover img { 
    opacity: 1; 
    transform: scale(1.08); 
}

.master-card span {
    position: relative; z-index: 3; 
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; 
    font-weight: 700; 
    color: #ffffff; 
    font-size: 0.8rem; 
    text-transform: uppercase; 
    letter-spacing: 0.5px;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8); 
    transition: color 0.3s ease;
    width: 100%;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; 
}

.master-card.active span {
    color: var(--accent); 
}

.master-card.all-card { 
    background: #ffffff; 
    border: 1px solid rgba(0,0,0,0.06); 
    justify-content: center; 
    padding: 10px;
}

.master-card.all-card span {
    color: var(--bg-dark); 
    text-shadow: none; 
}

.master-card.all-card svg { 
    width: 26px; height: 26px; color: var(--accent); margin-bottom: 6px; 
    position: relative; z-index: 3; transition: transform 0.4s ease; 
}
.master-card.all-card::after { display: none; }
.master-card.all-card:hover svg { transform: scale(1.15) rotate(5deg); }

.master-card.all-card.active, .master-card.all-card:hover { 
    background: #ffffff;
    border-color: var(--accent); 
    box-shadow: 0 10px 25px rgba(161, 195, 63, 0.15); 
}
.master-card.all-card.active span {
    color: var(--accent); 
}
.no-products-msg {
    grid-column: 1 / -1; 
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 5rem 2rem;
    background: #ffffff;
    border: 1px dashed rgba(161, 195, 63, 0.4);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    margin: 2rem 0;
    animation: fadeIn 0.5s ease-out;
}

.empty-state-icon {
    width: 70px;
    height: 70px;
    background: rgba(161, 195, 63, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--accent);
}

.empty-state-icon svg {
    width: 32px;
    height: 32px;
}

.no-products-msg h3 {
    font-size: 1.5rem;
    color: var(--bg-dark);
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.no-products-msg p {
    color: #718096;
    font-size: 1.05rem;
    max-width: 450px;
    line-height: 1.6;
    margin: 0 auto;
}

.product-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); 
    gap: 3rem 2rem; 
    width: 100%; 
    align-items: stretch; 
}

.product-card { 
    background: transparent; border: none; box-shadow: none; transition: all 0.4s ease; 
    display: flex; flex-direction: column; cursor: pointer;
    height: 100%; 
}

.product-card:hover .product-img-wrapper { 
    transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0,0,0,0.12); 
}

.product-img-wrapper { 
    width: 100%;
    height: 380px; 
    min-height: 380px;
    max-height: 380px;
    position: relative; background: #F8F9FA; overflow: hidden; border-radius: 12px; 
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); border: 1px solid rgba(0,0,0,0.04); 
}

.product-img-wrapper img { 
    width: 100%; height: 100%; 
    object-fit: cover; 
    transition: transform 0.8s ease; 
}

.product-card:hover .product-img-wrapper img { transform: scale(1.06); }

.product-badge { 
    position: absolute; top: 15px; left: 15px; background: var(--bg-dark); color: #ffffff; 
    font-size: 0.7rem; font-weight: 700; padding: 0.4rem 1rem; border-radius: 4px; 
    text-transform: uppercase; letter-spacing: 1px;
    z-index: 2; 
}

.product-info { 
    padding: 1.2rem 0.5rem 0; text-align: center; 
    display: flex; flex-direction: column; align-items: center; 
    flex: 1; 
    justify-content: flex-start;
}

.product-code { font-size: 0.75rem; color: #A0AEC0; font-family: monospace; letter-spacing: 1px; margin-bottom: 0.4rem; font-weight: 600; }
.product-info h3 { font-size: 1.15rem; color: var(--bg-dark); margin: 0; font-weight: 700; line-height: 1.3; transition: color 0.3s ease; }
.product-card:hover .product-info h3 { color: var(--accent-hover); }

@media (min-width: 901px) {
    .site-header .logo {
        flex: 1;
        display: flex;
        justify-content: flex-start;
    }
    
    .site-header .main-nav {
        flex: 2;
        display: flex;
        justify-content: center;
    }
    
    .site-header .header-actions {
        flex: 1;
        display: flex;
        justify-content: flex-end;
    }
}


@media (max-width: 768px) {
    .catalog-store {
        padding: 7rem 4% 5rem; 
    }
    
    .catalog-layout {
        gap: 1.5rem; 
    }

    .master-categories-wrapper {
        padding: 0.5rem 0.5rem 1rem 0.5rem;
        gap: 0.8rem;
    }
    .master-card {
        width: 120px;
        height: 80px;
    }
    .master-card span {
        font-size: 0.7rem;
    }

    .catalog-sidebar {
        padding: 1.2rem;
        margin-bottom: 0;
        top: 0; 
    }
    .catalog-sidebar h3 {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    .filter-btn {
        padding: 0.6rem 0.8rem;
        font-size: 0.95rem;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem 1rem;
    }

    .product-img-wrapper {
        height: 220px; 
        min-height: 220px;
        max-height: 220px;
        border-radius: 8px;
    }

    .product-info {
        padding: 0.8rem 0 0;
    }
    .product-info h3 {
        font-size: 0.9rem;
    }
    .product-code {
        font-size: 0.65rem;
    }
    .product-badge {
        font-size: 0.55rem;
        padding: 0.2rem 0.5rem;
        top: 8px;
        left: 8px;
    }

    .modal-box {
        width: 100%;
        height: 100%;
        max-height: 100vh;
        border-radius: 0;
        transform: translateY(100%); 
        display: flex;
        flex-direction: column;
        overflow-y: auto;
        background: #F8F9FA;
    }
    .quick-view-modal.active .modal-box {
        transform: translateY(0);
    }

    .modal-close {
        top: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        background: rgba(255, 255, 255, 0.95);
        box-shadow: 0 4px 15px rgba(0,0,0,0.15);
        position: fixed; 
        z-index: 999;
    }

    .modal-grid {
        display: flex;
        flex-direction: column;
        min-height: auto;
    }

    .modal-gallery {
        padding: 1rem;
        border-right: none;
        border-bottom: none;
        background: #ffffff;
    }

    .main-image-container {
        height: 320px;
        border-radius: 12px;
        border: none;
    }

    .slider-arrow {
        width: 35px;
        height: 35px;
        opacity: 1; 
        background: rgba(255, 255, 255, 0.9);
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }
    
    .thumb {
        width: 55px;
        height: 55px;
        border-radius: 8px;
    }

    .modal-details {
        padding: 1.5rem;
        background: #ffffff;
        flex: 1;
        padding-bottom: 90px; 
        border-top-left-radius: 24px;
        border-top-right-radius: 24px;
        box-shadow: 0 -10px 20px rgba(0,0,0,0.03);
    }

    .modal-details h2 {
        font-size: 1.4rem;
    }

    .modal-desc {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .modal-features h4 {
        font-size: 1rem;
    }

    .modal-features li {
        font-size: 0.9rem;
        padding: 0.6rem 1rem 0.6rem 2.2rem;
    }

    .btn-modal-ws {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        border-radius: 0;
        padding: 1.2rem;
        margin: 0;
        z-index: 100;
        box-shadow: 0 -5px 25px rgba(37, 211, 102, 0.25);
    }
}

@media (max-width: 380px) {
    .product-img-wrapper {
        height: 180px;
        min-height: 180px;
        max-height: 180px;
    }
    .product-grid {
        gap: 1rem 0.5rem;
    }
    .main-image-container {
        height: 250px;
    }
}

@media (max-width: 950px) {
    .catalog-sidebar { 
        background: transparent !important;
        padding: 0 !important;
        box-shadow: none !important;
        border: none !important;
        margin-bottom: 1.5rem !important;
    }
    
    .catalog-sidebar h3 {
        padding: 0 5%;
        margin-bottom: 0.8rem !important;
    }

    .filter-group { 
        background: #ffffff;
        border-radius: 16px;
        padding: 1.2rem;
        margin: 0 5% 1rem 5%; 
        box-shadow: 0 5px 15px rgba(0,0,0,0.03);
        border: 1px solid rgba(0,0,0,0.04) !important;
    }

    .filter-btn {
        padding: 0 !important;
        border: none !important;
        background: transparent !important;
    }
    .filter-btn.active {
        color: var(--accent) !important;
    }

    .sub-filters { 
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important; 
        overflow-x: auto !important;
        gap: 0.8rem !important;
        padding: 0.5rem 0 0.5rem 0.2rem !important;
        margin-top: 1rem !important;
        scrollbar-width: none; 
    }
    .sub-filters::-webkit-scrollbar { 
        display: none; 
    }
    
    .sub-filter-btn { 
        flex: 0 0 auto !important; 
        padding: 0.6rem 1.2rem !important;
        border: 1px solid #E2E8F0 !important;
        background: #F8F9FA !important;
        color: #4A5568 !important;
        font-weight: 600 !important;
        border-radius: 50px !important;
        display: flex !important;
        align-items: center;
        gap: 8px;
    }
    
    .sub-filter-btn.active { 
        background: var(--accent) !important;
        color: #ffffff !important;
        border-color: var(--accent) !important;
        box-shadow: 0 4px 12px rgba(161, 195, 63, 0.3) !important;
    }
    
    .sub-filter-btn.active .count-badge {
        background: rgba(255,255,255,0.25) !important;
        color: #ffffff !important;
    }
}

.catalog-sidebar {
    background: #ffffff !important;
    border-radius: 16px !important;
    padding: 1.5rem 1.8rem !important;
    box-shadow: 0 4px 25px rgba(0,0,0,0.04) !important;
    border: 1px solid rgba(0,0,0,0.05) !important;
    margin-bottom: 2rem !important;
}

.catalog-sidebar h3 {
    font-size: 1.3rem !important;
    font-weight: 800 !important;
    color: #0F172A !important;
    margin-bottom: 1rem !important;
    border-bottom: 2px solid #F1F5F9 !important;
    padding-bottom: 1rem !important;
    letter-spacing: -0.5px !important;
    text-transform: none !important;
}
.catalog-sidebar h3::before { display: none !important; } 

.filter-group {
    border-bottom: 1px solid #F1F5F9 !important;
    padding: 0 !important;
    margin: 0 !important;
}
.filter-group:last-child {
    border-bottom: none !important;
}

.filter-btn {
    width: 100% !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    background: transparent !important;
    border: none !important;
    padding: 1.2rem 0 !important;
    font-size: 1.05rem !important;
    font-weight: 600 !important;
    color: #334155 !important;
    cursor: pointer !important;
    transition: color 0.3s ease !important;
    border-radius: 0 !important;
}

.filter-btn::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 400;
    color: #94A3B8;
    transition: transform 0.3s ease;
    margin-left: 10px;
}

.filter-btn:hover {
    color: var(--accent) !important;
    background: transparent !important;
    transform: none !important;
}

.filter-group.is-expanded .filter-btn {
    color: var(--accent) !important;
}
.filter-group.is-expanded .filter-btn::after {
    content: '−';
    color: var(--accent);
}

.sub-filters {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.2rem !important;
    max-height: 0 !important;
    overflow: hidden !important;
    transition: max-height 0.4s ease, padding 0.4s ease, margin 0.4s ease !important;
    padding: 0 0.5rem !important;
    background: #F8FAFC !important;
    border-radius: 8px !important;
    margin-bottom: 0 !important;
}
.sub-filters::before { display: none !important; }

.filter-group.is-expanded .sub-filters {
    max-height: 1000px !important; 
    padding: 0.8rem 1rem !important;
    margin-bottom: 1rem !important;
}

.sub-filter-btn {
    background: transparent !important;
    border: none !important;
    text-align: left !important;
    padding: 0.6rem 0 !important;
    font-size: 0.95rem !important;
    color: #64748B !important;
    cursor: pointer !important;
    transition: color 0.2s ease, padding-left 0.2s ease !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}
.sub-filter-btn::before { display: none !important; }

.sub-filter-btn:hover {
    color: var(--accent) !important;
    background: transparent !important;
    padding-left: 6px !important;
}

.sub-filter-btn.active {
    color: var(--accent) !important;
    font-weight: 700 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.count-badge {
    background: #E2E8F0 !important;
    color: #64748B !important;
    font-size: 0.75rem !important;
    padding: 2px 8px !important;
    border-radius: 12px !important;
    font-weight: 600 !important;
}
.sub-filter-btn.active .count-badge, .filter-group.is-expanded .filter-btn .count-badge {
    background: var(--accent) !important;
    color: #ffffff !important;
}

@media (max-width: 950px) {
    .catalog-sidebar {
        margin: 0 4% 1.5rem 4% !important;
    }
}

.catalog-sidebar {
    transition: all 0.4s ease !important;
}

.catalog-sidebar h3 {
    cursor: pointer !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    user-select: none !important;
}

.catalog-sidebar h3::after {
    content: '−' !important; 
    font-size: 1.5rem !important;
    font-weight: 400 !important;
    color: var(--accent) !important;
    display: block !important;
    transition: transform 0.3s ease !important;
}

.catalog-sidebar.is-collapsed h3 {
    border-bottom: none !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

.catalog-sidebar.is-collapsed h3::after {
    content: '+' !important;
    color: #94A3B8 !important;
}

.category-filters {
    transition: max-height 0.5s cubic-bezier(0, 1, 0, 1), opacity 0.4s ease, margin 0.4s ease !important;
    max-height: 3000px; 
    opacity: 1;
    overflow: hidden;
}

.catalog-sidebar.is-collapsed .category-filters {
    max-height: 0 !important;
    opacity: 0 !important;
    margin-top: 0 !important;
    transition: max-height 0.5s ease-in-out, opacity 0.3s ease !important;
}