/* ===== AGRIMASCHINEN - ULTRA PREMIUM UI / UX STYLESHEET ===== */
/* V14: "WOW" Aesthetic + John Deere Green & CAT Gold + Flawless Classes */

:root {
    /* John Deere Greens */
    --green-900: #081a00;
    --green-800: #103300;
    --green-700: #184d00;
    --green-600: #267000; /* Primary Brand Green */
    --green-500: #368f00;
    --green-400: #4ba810;
    --green-300: #6abf2a;
    --green-200: #a8db76;
    --green-100: #d8f0b4;
    --green-50:  #f4fbea;

    /* Caterpillar (CAT) Yellow/Gold */
    --yellow-600: #d48b00;
    --yellow-500: #F4A900; /* Signature CAT Gold */
    --yellow-400: #ffc42a;
    --yellow-300: #ffda66;

    /* Premium Neutrals */
    --white: #ffffff;
    --gray-50: #fbfbfc;
    --gray-100: #f2f3f0;
    --gray-200: #e2e4da;
    --gray-300: #c8cbbe;
    --gray-500: #7a7d6e;
    --gray-700: #3d3f34;
    --gray-900: #1a1c14;

    --font-display: 'Montserrat', system-ui, -apple-system, sans-serif;
    --font-body: 'Montserrat', system-ui, -apple-system, sans-serif;

    /* Ultra Modern Rounded Aesthetics */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    /* Cinematic, Soft, High-End Shadows */
    --shadow-sm: 0 4px 12px rgba(0,0,0,0.04);
    --shadow-md: 0 10px 24px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 48px rgba(0,0,0,0.12);
    --shadow-green: 0 12px 30px rgba(38,112,0,0.25);
    --shadow-yellow: 0 12px 30px rgba(244,169,0,0.35);

    --header-h: 80px;
    --topbar-h: 42px;
    
    /* Smooth Apple-like transitions */
    --transition: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font-body);
    color: var(--gray-900);
    background: var(--gray-50);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { text-decoration: none; color: inherit; }
a:hover { text-decoration: none; }

/* ===== PREMIUM TOPBAR ===== */
.topbar {
    background: var(--green-900);
    color: rgba(255,255,255,0.9);
    font-size: 0.8rem;
    height: var(--topbar-h);
    display: flex;
    align-items: center;
    letter-spacing: 0.03em;
    border-bottom: 2px solid var(--yellow-500);
}
.topbar-inner {
    max-width: 1440px; margin: 0 auto; padding: 0 2rem;
    display: flex; gap: 2.5rem; align-items: center; flex-wrap: wrap; width: 100%;
}
.topbar-contacts { display:flex; gap:2.5rem; align-items:center; flex:1; flex-wrap:wrap; font-weight: 500;}
.topbar-contacts span, .topbar-contacts a { display:flex; align-items:center; gap:0.5em; transition: var(--transition);}
.topbar-contacts a:hover { color:var(--yellow-500); transform: translateY(-1px);}

/* ===== LANG SWITCHER ===== */
.lang-switcher { display: flex; gap: 0.4rem; align-items: center; margin-left: auto; flex-shrink: 0; }
.lang-btn {
    display: inline-flex; align-items: center; gap: 0.3rem;
    padding: 0.25rem 0.8rem; font-size: 1rem; font-weight: 800;
    background: rgba(255,255,255,0.1); color: white;
    border-radius: 50px; border: 1px solid rgba(255,255,255,0.15);
    cursor: pointer; line-height: 1; transition: all var(--transition);
}
.lang-btn .code { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; }
.lang-btn:hover, .lang-btn.active { 
    background: var(--yellow-500); 
    color: var(--green-900);
    border-color: var(--yellow-500); 
    box-shadow: var(--shadow-yellow); 
}

/* ===== HEADER (Glassmorphism) ===== */
.site-header {
    position: sticky; top: 0; z-index: 1000;
    background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    height: var(--header-h); border-bottom: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 4px 20px rgba(0,0,0,0.03); transition: all var(--transition);
}
.site-header.scrolled { background: rgba(255, 255, 255, 0.98); box-shadow: 0 10px 30px rgba(0,0,0,0.08); }
.header-inner { max-width: 1440px; margin: 0 auto; padding: 0 2rem; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.logo-link { display: flex; align-items: center; transition: transform var(--transition);}
.logo-link:hover { transform: scale(1.02); }
.logo-img { height: 64px; width: auto; max-width: 220px; object-fit: contain; }
.logo-name { font-size: 1.4rem; font-weight: 900; color: var(--green-800); letter-spacing: -0.03em; line-height: 1.1; margin-left: 0.6rem; }

.main-nav { display: flex; align-items: center; gap: 0.5rem; }
.main-nav ul { list-style: none; display: flex; align-items: center; gap: 0.5rem; }
.nav-link {
    display: block; padding: 0.5rem 1.2rem; font-size: 0.95rem; font-weight: 800; color: var(--gray-700);
    border-radius: 50px; transition: all var(--transition); white-space: nowrap;
}
.nav-link:hover, .nav-link.active { color: var(--green-700); background: var(--green-50); box-shadow: inset 0 0 0 1px var(--green-200); }

.btn-nav-cta {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.75rem 1.75rem; background: var(--green-600); color: var(--white);
    border-radius: 50px; font-size: 0.95rem; font-weight: 800; margin-left: 1.5rem; white-space: nowrap; transition: all var(--transition); box-shadow: var(--shadow-sm);
}
.btn-nav-cta:hover { background: var(--green-700); transform: translateY(-2px); box-shadow: var(--shadow-green); color: white; }

.mobile-menu-btn { display: none; flex-direction: column; gap: 6px; background: none; border: none; cursor: pointer; padding: 10px; border-radius: 50%; background: var(--green-50); }
.mobile-menu-btn span { display: block; width: 24px; height: 2.5px; background: var(--green-800); border-radius: 2px; transition: all var(--transition); }
.mobile-menu-btn.open span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.mobile-menu-btn.open span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.open span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

/* ===== HERO SLIDESHOW ===== */
.hero-slideshow {
    position: relative; width: 100%; height: calc(100vh - var(--header-h) - var(--topbar-h));
    min-height: 600px; max-height: 900px; overflow: hidden;
}
.slideshow-container { width: 100%; height: 100%; position: relative; overflow: hidden; background: var(--green-900);}
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease-in-out; display: flex; align-items: center; }
.slide.active { opacity: 1; z-index: 1;}
.slide-bg, .slide-bg-placeholder {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; object-position: center; z-index: 0;
    transform: scale(1.05); transition: transform 6s ease-out;
}
.slide.active .slide-bg { transform: scale(1); }
.slide-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(110deg, rgba(8, 26, 0, 0.9) 0%, rgba(20, 61, 0, 0.6) 50%, rgba(0, 0, 0, 0.2) 100%); }
.slide-content { position: relative; z-index: 2; padding: 0 5vw; max-width: 900px; transform: translateY(30px); opacity: 0; transition: all 1s ease-out; }
.slide.active .slide-content { transform: translateY(0); opacity: 1; }

.slide-badge {
    display: inline-block; background: var(--yellow-500); color: var(--green-900);
    font-size: 0.85rem; font-weight: 900; letter-spacing: 0.15em; text-transform: uppercase;
    padding: 0.5rem 1.25rem; border-radius: 50px; margin-bottom: 1.5rem; box-shadow: var(--shadow-yellow);
}
.slide-content h1 { font-size: clamp(3rem, 7vw, 5.5rem); font-weight: 900; color: var(--white); line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 1.25rem; text-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.slide-content p { font-size: clamp(1.1rem, 2vw, 1.5rem); color: rgba(255,255,255,0.9); margin-bottom: 2.5rem; font-weight: 500; line-height: 1.6; text-shadow: 0 4px 12px rgba(0,0,0,0.4); max-width: 700px;}
.btn-hero {
    display: inline-flex; align-items: center; gap: 0.75rem; padding: 1.1rem 2.8rem; 
    background: var(--yellow-500); color: var(--green-900);
    font-size: 1.1rem; font-weight: 900; border-radius: 50px; transition: all var(--transition); box-shadow: var(--shadow-yellow);
    text-transform: uppercase; letter-spacing: 0.05em;
}
.btn-hero:hover { background: var(--yellow-400); transform: translateY(-3px) scale(1.02); box-shadow: 0 15px 35px rgba(244, 169, 0, 0.5); }

/* Slider Nav Buttons */
.slide-btn {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 10;
    background: rgba(255,255,255,0.15); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3); color: white; width: 64px; height: 64px; border-radius: 50%; cursor: pointer;
    display: flex; align-items: center; justify-content: center; font-size: 1.5rem; transition: all var(--transition); box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.slide-btn:hover { background: var(--yellow-500); color: var(--green-900); border-color: var(--yellow-500); transform: translateY(-50%) scale(1.1); }
.slide-prev { left: 3rem; } .slide-next { right: 3rem; }
.slide-dots { position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%); display: flex; gap: 12px; z-index: 10; }
.slide-dot { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,0.4); border: none; cursor: pointer; transition: all var(--transition); }
.slide-dot.active { background: var(--yellow-500); width: 40px; border-radius: 6px; box-shadow: 0 0 15px rgba(244,169,0,0.5);}

/* ===== PREMIUM STATS BAR ===== */
.stats-bar { background: var(--green-800); padding: 3rem 0; border-bottom: 4px solid var(--yellow-500); }
.stats-inner { max-width: 1440px; margin: 0 auto; padding: 0 2rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.stat-item { text-align: center; color: white; padding: 1rem; border-right: 1px solid rgba(255,255,255,0.1); }
.stat-item:last-child { border-right: none; }
.stat-number { font-size: 3.5rem; font-weight: 900; color: var(--yellow-500); line-height: 1; letter-spacing: -0.03em; text-shadow: 0 4px 15px rgba(0,0,0,0.3); margin-bottom: 0.5rem;}
.stat-label { font-size: 1.05rem; opacity: 0.9; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em;}

/* ===== SECTIONS & LAYOUT ===== */
.section { padding: 8rem 0; }
.container { max-width: 1440px; margin: 0 auto; padding: 0 2rem; width: 100%; box-sizing: border-box; }
.container--narrow { max-width: 900px; }
.section-header { text-align: center; margin-bottom: 5rem; }

/* FIX: Premium Section Tag (Dark Green BG, Gold Text) */
.section-tag { 
    display: inline-block; 
    background: var(--green-900); 
    color: var(--yellow-500); 
    font-size: 0.85rem; font-weight: 900; letter-spacing: 0.15em; 
    text-transform: uppercase; padding: 0.6rem 1.5rem; 
    border-radius: 50px; margin-bottom: 1.5rem; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.section-header h2 { font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 900; color: var(--green-900); letter-spacing: -0.03em; margin-bottom: 1.25rem; }
.section-header p { font-size: 1.15rem; color: var(--gray-600); max-width: 650px; margin: 0 auto; line-height: 1.8;}

/* ===== HOME BLOCKS ===== */
.home-block-section { padding: 6rem 0; background: var(--white); }
.home-block-section:nth-of-type(even) { background: var(--gray-50); }
.home-block { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center; }
.home-block--reversed { direction: rtl; }
.home-block--reversed > * { direction: ltr; }
.home-block-text { display: flex; flex-direction: column; gap: 1.25rem; }
.home-block-text .section-tag { align-self: flex-start; margin-bottom:0; }
.home-block-text h2 { font-size: 2.8rem; font-weight: 900; color: var(--green-900); line-height: 1.15; margin: 0; letter-spacing: -0.02em;}
.home-block-text p { color: var(--gray-600); line-height: 1.8; margin: 0; font-size: 1.1rem; }
.home-block-image { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--gray-100); display: flex; align-items: center; justify-content: center; min-height: 400px; border: 1px solid rgba(0,0,0,0.05); }
.home-block-image img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s ease;}
.home-block-image:hover img { transform: scale(1.04); }

/* ===== PRODUCTS GRID & FLOATING CARDS ===== */
.catalog-grid, .products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 2.5rem; width: 100%; }
.catalog-card, .product-card { background: white; border: 1px solid rgba(0,0,0,0.06); border-radius: var(--radius-lg); overflow: hidden; transition: all var(--transition); display: flex; flex-direction: column; box-shadow: var(--shadow-sm); }
.catalog-card:hover, .product-card:hover { border-color: var(--green-300); box-shadow: var(--shadow-lg), 0 0 0 2px var(--green-400); transform: translateY(-8px); }
.catalog-card-link, .product-card-link { flex: 1; display: flex; flex-direction: column; text-decoration: none !important; }
.catalog-card-img, .product-image-wrap { position: relative; aspect-ratio: 4/3; background: var(--gray-50); overflow: hidden; flex-shrink: 0; border-bottom: 1px solid rgba(0,0,0,0.05);}
.catalog-card-img img, .product-image-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.catalog-card:hover img, .product-card:hover img { transform: scale(1.08); }

.product-badge, .img-count-badge { position: absolute; font-size: 0.75rem; font-weight: 900; padding: 0.4rem 1rem; border-radius: 50px; text-transform: uppercase; z-index: 2; letter-spacing: 0.05em; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);}
.product-badge { top: 1.25rem; right: 1.25rem; background: var(--yellow-500); color: var(--green-900); box-shadow: 0 4px 15px rgba(244,169,0,0.4);}
.img-count-badge { bottom: 1rem; right: 1rem; background: rgba(0,0,0,0.8); color: white; border-radius: 20px; box-shadow: 0 4px 15px rgba(0,0,0,0.3);}
.product-category-tag { position: absolute; top: 1.25rem; left: 1.25rem; background: var(--green-800); color: white; font-size: 0.75rem; font-weight: 800; padding: 0.4rem 1rem; border-radius: 50px; z-index: 2; box-shadow: 0 4px 15px rgba(0,0,0,0.2);}

.catalog-card-body, .product-info { padding: 1.5rem 1.5rem 0.5rem; flex: 1; }
.catalog-card-body h3, .product-info h3 { font-size: 1.25rem; font-weight: 900; color: var(--gray-900); margin-bottom: 0.5rem; line-height: 1.3; }
.catalog-card-meta, .product-meta { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 0.75rem; font-size: 0.8rem; color: var(--gray-500); font-weight: 700; }
.catalog-card-desc, .product-info p { font-size: 0.95rem; color: var(--gray-600); line-height: 1.6; }
.catalog-card-footer, .product-footer { padding: 1.25rem 1.5rem; border-top: 1px solid rgba(0,0,0,0.04); display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin-top: auto; background: #fbfbfc;}
.catalog-price, .product-price { font-size: 1.3rem; font-weight: 900; color: var(--green-700); }
.empty-products { text-align: center; padding: 5rem 2rem; color: var(--gray-400); }
.empty-products span { font-size: 4rem; display: block; margin-bottom: 1rem; }

.btn-product { display: inline-block; padding: 0.7rem 1.5rem; background: var(--green-600); color: white; border-radius: 50px; font-size: 0.9rem; font-weight: 800; transition: all var(--transition); box-shadow: var(--shadow-sm);}
.catalog-card:hover .btn-product { background: var(--green-700); box-shadow: var(--shadow-green); transform: scale(1.05);}

/* ===== PRODUCTS CAROUSEL ===== */
.products-carousel-outer { position: relative; padding: 0 64px; margin: 0 -64px; }
.products-carousel-wrap { overflow: hidden; position: relative; width: 100%; padding: 1rem 0;}
.products-carousel-track { display: flex; gap: 2rem; transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1); will-change: transform; }
.products-carousel-track .product-card { flex: 0 0 calc(33.333% - 1.33rem); min-width: 320px; }
.carousel-btn {
    position: absolute; top: 50%; transform: translateY(-50%); width: 60px; height: 60px;
    background: white; border: 1px solid rgba(0,0,0,0.05); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 10;
    box-shadow: var(--shadow-md); transition: all var(--transition); font-size: 1.5rem; color: var(--green-700); padding: 0;
}
.carousel-btn:hover { background: var(--yellow-500); color: var(--green-900); transform: translateY(-50%) scale(1.1); box-shadow: var(--shadow-yellow); border-color: var(--yellow-500);}
.carousel-btn-prev { left: 0; } .carousel-btn-next { right: 0; }

/* ===== CATALOG PAGE ===== */
.catalog-layout { display: grid; grid-template-columns: 280px 1fr; gap: 3rem; align-items: start; width: 100%; }
.catalog-sidebar { flex-shrink: 0; position: sticky; top: 110px; width: 100%; min-width: 0; }
.catalog-main { min-width: 0; width: 100%; }
.sidebar-widget { background: white; border: 1px solid rgba(0,0,0,0.04); border-radius: var(--radius-lg); padding: 1.5rem; margin-bottom: 1.5rem; box-shadow: var(--shadow-sm);}
.sidebar-widget h4 { font-size: 0.85rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gray-400); margin-bottom: 1rem; }
.filter-list { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.filter-link { display: flex; justify-content: space-between; align-items: center; padding: 0.6rem 0.8rem; border-radius: 8px; color: var(--gray-700); font-size: 0.95rem; font-weight: 700; transition: all 0.2s; margin-bottom: 4px;}
.filter-link:hover { background: var(--green-50); color: var(--green-700); padding-left: 1rem;}
.filter-link.active { background: var(--green-600); color: white; font-weight: 800; box-shadow: var(--shadow-green);}
.filter-link.active .filter-count { background: rgba(255,255,255,0.25); color: white; }
.filter-count { background: var(--gray-100); color: var(--gray-500); font-size: 0.75rem; font-weight: 800; padding: 0.15rem 0.5rem; border-radius: 20px; }
.search-box { display: flex; }
.search-box input { flex: 1; border: 2px solid var(--gray-200); border-right: none; border-radius: 12px 0 0 12px; padding: 0.8rem 1rem; font-size: 0.95rem; outline: none; width: 100%; transition: border-color var(--transition);}
.search-box input:focus { border-color: var(--green-500); }
.search-box button { background: var(--green-600); color: white; border: none; border-radius: 0 12px 12px 0; padding: 0 1.25rem; cursor: pointer; font-weight: 800; transition: var(--transition);}
.search-box button:hover { background: var(--green-700); }

/* Promo Box Sidebar */
.sidebar-cta { background: var(--green-900); color: white; border-radius: var(--radius-lg); padding: 2.5rem 1.5rem; text-align: center; margin-top: 1rem; box-shadow: var(--shadow-lg); border-bottom: 4px solid var(--yellow-500);}
.sidebar-cta-icon { font-size: 2.5rem; margin-bottom: 0.75rem; text-shadow: 0 4px 10px rgba(0,0,0,0.3);}
.sidebar-cta h4 { color: white; font-size: 1.1rem; font-weight: 900; margin-bottom: 0.5rem; }
.sidebar-cta p { color: rgba(255,255,255,0.8); font-size: 0.9rem; line-height: 1.6; margin-bottom: 1.5rem; }
.results-bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; flex-wrap: wrap; gap: 0.75rem; }
.results-count { font-size: 0.9rem; color: var(--gray-500); font-weight: 600; }
.results-count strong { color: var(--gray-900); font-weight: 800;}
.active-filters { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.filter-tag { background: var(--green-50); border: 1px solid var(--green-200); color: var(--green-800); font-size: 0.75rem; font-weight: 800; padding: 0.35rem 0.8rem; border-radius: 20px; display: flex; align-items: center; gap: 0.4rem; }
.filter-tag a { color: var(--green-700); text-decoration: none; font-size: 1rem; line-height: 1; }

/* ====================================================================
   SINGLE PRODUCT PAGE (Fixes Blowout, Fully Restored Classes)
   ==================================================================== */
.product-detail {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(350px, 450px) !important;
    gap: 3.5rem !important;
    align-items: start !important;
    width: 100% !important;
    max-width: 100% !important;
}
.product-gallery { position: sticky; top: 120px; min-width: 0; width: 100%; max-width: 100%; }
.product-info-col { min-width: 0; width: 100%; }

/* Ensure gallery does not explode widths */
.product-gallery-pro { display: flex; flex-direction: column; gap: 1rem; width: 100%; }

/* Deep Premium Cinematic Background for Images */
.gallery-main-frame {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: #080c0a; /* Cinematic dark frame */
    aspect-ratio: 4/3;
    max-height: 600px;
    width: 100%; 
    display: flex; align-items: center; justify-content: center;
    cursor: zoom-in;
    box-shadow: var(--shadow-md);
}
.gallery-main-frame img {
    width: 100%; height: 100%;
    object-fit: contain; display: block;
}
#mainGalleryImg { transition: opacity 0.2s ease; }
.gallery-main-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 6rem; color: #333; }

.gallery-thumbs-strip { display: flex; gap: 0.75rem; overflow-x: auto; padding-bottom: 8px; width: 100%; min-width: 0; }
.gallery-thumbs-strip::-webkit-scrollbar { height: 6px; }
.gallery-thumbs-strip::-webkit-scrollbar-thumb { background: var(--gray-300); border-radius: 4px; }
.thumb-item, .gallery-thumb {
    flex-shrink: 0; width: 90px; height: 68px;
    border-radius: 8px; overflow: hidden; cursor: pointer;
    border: 2px solid transparent; background: #eee;
    transition: all var(--transition); opacity: 0.6;
}
.thumb-item:hover, .gallery-thumb:hover { opacity: 1; transform: translateY(-2px); }
.thumb-item.active, .gallery-thumb.active { border-color: var(--yellow-500); opacity: 1; box-shadow: 0 4px 10px rgba(0,0,0,0.1);}
.thumb-item img, .gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb-lazy { background: var(--gray-100); }

.gallery-arrow {
    position: absolute; top: 50%; transform: translateY(-50%); width: 50px; height: 50px;
    background: rgba(255,255,255,0.15); backdrop-filter: blur(8px); color: white; border: 1px solid rgba(255,255,255,0.3); border-radius: 50%;
    font-size: 1.5rem; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 5;
    transition: all var(--transition); box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.gallery-arrow:hover { background: var(--yellow-500); color: var(--green-900); border-color: var(--yellow-500); transform: translateY(-50%) scale(1.1); }
.gallery-arrow-left { left: 1.5rem; } .gallery-arrow-right { right: 1.5rem; }
.gallery-counter, .gallery-zoom-hint { position: absolute; background: rgba(0,0,0,0.8); backdrop-filter: blur(4px); color: white; font-size: 0.75rem; font-weight: 800; padding: 0.4rem 1rem; border-radius: 20px; pointer-events: none; border: 1px solid rgba(255,255,255,0.1);}
.gallery-counter { bottom: 1.5rem; right: 1.5rem; }
.gallery-zoom-hint { top: 1.5rem; right: 1.5rem; border-radius: 8px; }

/* Single Product Right Panel (Premium Floating Look) */
.product-info-panel { 
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.05); 
    border-radius: var(--radius-xl); padding: 2.5rem; width: 100%; box-sizing: border-box; 
    box-shadow: var(--shadow-lg);
}
.product-info-panel h1 { font-size: 2.2rem; font-weight: 900; color: var(--green-900); line-height: 1.15; margin-bottom: 0.75rem; letter-spacing: -0.02em;}
.product-detail-price { font-size: 2.5rem; font-weight: 900; color: var(--green-600); margin-bottom: 2rem; letter-spacing: -0.03em; }

/* Premium Spec Cards */
.product-specs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-bottom: 2.5rem; }
.spec-item { 
    background: var(--gray-50); 
    border-radius: 12px; padding: 1rem 1.25rem; 
    border: 1px solid rgba(0,0,0,0.04);
    border-left: 4px solid var(--green-500);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition);
}
.spec-item:hover { transform: translateX(4px); }
.spec-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gray-500); font-weight: 800; margin-bottom: 0.4rem; }
.spec-value { font-size: 1rem; font-weight: 900; color: var(--gray-900); }

/* Description */
.product-desc-section { margin-bottom: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(0,0,0,0.05); }
.product-desc-section h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gray-400); font-weight: 900; margin-bottom: 1.25rem; }
.product-desc-section p { color: var(--gray-600); line-height: 1.8; font-size: 1.05rem; margin-bottom: 1rem;}

/* Contact Form Box */
.product-contact-form { 
    background: var(--green-900); 
    border-radius: var(--radius-lg); padding: 2.5rem; margin-top: 1.5rem; 
    box-shadow: var(--shadow-lg); border-top: 4px solid var(--yellow-500);
}
.product-contact-form h4 { font-size: 1.3rem; font-weight: 900; color: white; margin-bottom: 1.5rem; }
.product-contact-form input, .product-contact-form textarea { 
    width: 100%; padding: 1rem 1.25rem; border: 1px solid rgba(255,255,255,0.2); border-radius: 12px; 
    font-size: 1rem; font-family: inherit; background: rgba(255,255,255,0.05); color: white;
    transition: all var(--transition); outline: none; margin-bottom: 1rem; box-sizing: border-box;
}
.product-contact-form input::placeholder, .product-contact-form textarea::placeholder { color: rgba(255,255,255,0.5); }
.product-contact-form input:focus, .product-contact-form textarea:focus { border-color: var(--yellow-500); background: rgba(255,255,255,0.1); box-shadow: 0 0 15px rgba(244,169,0,0.2);}
.product-contact-form .btn-submit { 
    width: 100%; background: var(--yellow-500); color: var(--green-900); 
    border: none; padding: 1.2rem; border-radius: 12px; font-weight: 900; font-size: 1.1rem; 
    cursor: pointer; transition: all var(--transition); margin-top: 0.5rem;
}
.product-contact-form .btn-submit:hover { transform: translateY(-3px); box-shadow: var(--shadow-yellow); background: var(--yellow-400);}
.breadcrumb { display: flex; gap: 0.5rem; align-items: center; font-size: 0.85rem; color: var(--gray-400); margin-bottom: 2rem; flex-wrap: wrap; }
.breadcrumb a { color: var(--green-600); text-decoration: none; font-weight: 700; }
.related-products { margin-top: 5rem; padding-top: 4rem; border-top: 1px solid rgba(0,0,0,0.05); }
.related-products h2 { font-size: 1.8rem; font-weight: 900; color: var(--green-900); margin-bottom: 2.5rem; }

/* ===== ULTRA WIDE CINEMATIC LIGHTBOX ===== */
.lightbox-overlay { display: none; position: fixed; inset: 0; background: rgba(8, 12, 10, 0.98); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); z-index: 9999; align-items: center; justify-content: center; }
.lightbox-overlay.open { display: flex; }
.lightbox-img-wrap { width: 100vw; height: 100vh; display: flex; align-items: center; justify-content: center; padding: 2rem;}
.lightbox-img-wrap img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 12px; display: block; box-shadow: 0 20px 80px rgba(0,0,0,0.8); }
.lightbox-close, .lightbox-nav { background: rgba(255,255,255,0.1); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.2); color: white; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all var(--transition); border-radius: 50%;}
.lightbox-close { position: fixed; top: 2rem; right: 2rem; font-size: 2rem; width: 60px; height: 60px; z-index: 10000;}
.lightbox-nav { position: fixed; top: 50%; transform: translateY(-50%); font-size: 2.5rem; width: 70px; height: 70px; }
.lightbox-close:hover, .lightbox-nav:hover { background: var(--yellow-500); color: var(--green-900); border-color: var(--yellow-500); transform: translateY(-50%) scale(1.1); }
.lightbox-close:hover { transform: scale(1.1); }
.lightbox-prev { left: 2.5rem; } .lightbox-next { right: 2.5rem; }
.lightbox-counter { position: fixed; bottom: 2rem; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,0.8); font-size: 0.9rem; font-weight: 700; background: rgba(0,0,0,0.5); padding: 0.5rem 1.5rem; border-radius: 50px;}

/* ===== VIDEO GALLERY (PRO UPGRADE) ===== */
.main-video-wrapper {
    position: absolute; inset: 0; width: 100%; height: 100%;
    background: #000; z-index: 3; display: none;
}
.main-video-wrapper iframe, .main-video-wrapper video {
    width: 100%; height: 100%; border: none; object-fit: contain;
}
.gallery-thumb--video {
    display: flex !important; flex-direction: column; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #1a1c14, #0d1210) !important;
    border: 2px solid rgba(255,255,255,0.1) !important;
    position: relative; overflow: hidden;
}
.gallery-thumb--video.active {
    border-color: var(--yellow-500) !important;
    box-shadow: 0 4px 15px rgba(244,169,0,0.4);
}
.thumb-video-icon {
    width: 32px; height: 32px; border-radius: 50%;
    background: linear-gradient(135deg, var(--yellow-400), var(--yellow-500));
    color: var(--green-900); display: flex; align-items: center; justify-content: center;
    font-size: 0.85rem; margin-bottom: 4px; box-shadow: 0 4px 10px rgba(244,169,0,0.5);
    padding-left: 2px; /* optical center to make the play icon look perfect */
}
.thumb-video-label { font-size: 0.65rem; font-weight: 900; letter-spacing: 0.05em; color: var(--yellow-500); }

/* ===== ABOUT / WHY US / TEAM ===== */
.why-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 2.5rem; width: 100%; }
.why-card { flex: 0 1 320px; width: 100%; text-align: center; padding: 3rem 2.5rem; background: var(--white); border-radius: var(--radius-xl); border: 1px solid rgba(0,0,0,0.04); transition: all var(--transition); box-shadow: var(--shadow-sm); }
.why-card:hover { border-color: var(--green-300); box-shadow: var(--shadow-lg); transform: translateY(-8px); }
.why-icon { font-size: 3.5rem; margin-bottom: 1.5rem; display: block; }
.why-card h3 { font-size: 1.25rem; font-weight: 900; color: var(--green-900); margin-bottom: 0.75rem; }
.why-card p { font-size: 1.05rem; color: var(--gray-600); line-height: 1.7; }
.about-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center; width: 100%; }
.about-text p { font-size: 1.15rem; line-height: 1.8; color: var(--gray-700); margin-bottom: 1.5rem; }
.about-image img { width: 100%; border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); }
.about-img-placeholder { width: 100%; aspect-ratio: 4/3; background: var(--green-50); border-radius: var(--radius-xl); display: flex; flex-direction: column; align-items: center; justify-content: center; border: 2px dashed var(--green-200); color: var(--gray-500); }
.team-section { background: var(--gray-50); }
.team-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 2.5rem; width: 100%; }
.team-card { flex: 0 1 280px; width: 100%; text-align: center; padding: 3rem 1.5rem; background: var(--white); border-radius: var(--radius-xl); border: 1px solid rgba(0,0,0,0.04); transition: all var(--transition); box-shadow: var(--shadow-sm); }
.team-card:hover { border-color: var(--green-300); box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.team-card img, .team-avatar { width: 130px; height: 130px; border-radius: 50%; object-fit: cover; margin: 0 auto 1.5rem; border: 4px solid var(--green-100); box-shadow: var(--shadow-md); }
.team-avatar { background: var(--green-50); display: flex; align-items: center; justify-content: center; font-size: 3.5rem; }
.team-card h3 { font-size: 1.2rem; font-weight: 900; color: var(--green-900); margin-bottom: 0.4rem; }
.team-card p { font-size: 1rem; color: var(--gray-500); font-weight: 600; }

/* ===== FAQ PAGE ===== */
.faq-list { display: flex; flex-direction: column; gap: 1.25rem; margin-bottom: 4rem; max-width: 900px; margin-left: auto; margin-right: auto;}
.faq-item { background: var(--white); border: 1px solid rgba(0,0,0,0.05); border-radius: var(--radius-lg); overflow: hidden; transition: all var(--transition); box-shadow: var(--shadow-sm); }
.faq-item.open { border-color: var(--green-400); box-shadow: var(--shadow-md); transform: scale(1.02); }
.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.5rem 2.5rem; background: none; border: none; cursor: pointer; text-align: left; font-family: var(--font-body); font-size: 1.15rem; font-weight: 800; color: var(--green-900); transition: background var(--transition); }
.faq-question:hover { background: var(--green-50); }
.faq-icon { flex-shrink: 0; color: var(--green-600); transition: transform var(--transition); font-size: 1.2rem; }
.faq-item.open .faq-icon { transform: rotate(180deg); color: var(--yellow-600); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.faq-answer-inner { padding: 0 2.5rem 2.5rem; }
.faq-answer-inner p { font-size: 1.05rem; color: var(--gray-600); line-height: 1.8; }
.faq-cta { text-align: center; padding: 5rem 2rem; background: var(--green-50); border-radius: var(--radius-xl); border: 1px solid rgba(38,112,0,0.1); box-shadow: var(--shadow-md); max-width: 900px; margin: 0 auto;}
.faq-cta p { font-size: 1.2rem; color: var(--gray-700); margin-bottom: 2rem; font-weight: 600; }

/* ===== CONTACT PAGE ===== */
.contact-layout { display: grid; grid-template-columns: 400px 1fr; gap: 5rem; align-items: start; width: 100%; }
.contact-card { background: var(--white); border: 1px solid rgba(0,0,0,0.04); border-radius: var(--radius-xl); padding: 2.5rem; margin-bottom: 1.5rem; transition: all var(--transition); box-shadow: var(--shadow-sm); }
.contact-card:hover { border-color: var(--green-300); box-shadow: var(--shadow-lg); transform: translateY(-5px); }
.contact-icon { font-size: 3rem; margin-bottom: 1.25rem; display: block; }
.contact-card h3 { font-size: 0.95rem; font-weight: 900; color: var(--gray-500); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.75rem; }
.contact-card a, .contact-card p { font-size: 1.15rem; color: var(--green-800); text-decoration: none; font-weight: 800; line-height: 1.6; }
.contact-card a:hover { color: var(--green-600); }
.opening-hours { background: var(--green-900); border-radius: var(--radius-xl); padding: 3rem; color: white; box-shadow: var(--shadow-lg); }
.opening-hours h3 { font-size: 1rem; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 2rem; opacity: 0.9; }
.hours-row { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,0.1); font-size: 1.05rem; }
.hours-row:last-child { border-bottom: none; }
.hours-time { font-weight: 800; color: var(--yellow-500); }

/* ===== CUSTOM PAGES (Privacy, Imprint, Text Pages) ===== */
.custom-page-content { max-width: 900px; margin: 0 auto; font-size: 1.15rem; line-height: 1.8; color: var(--gray-700); }
.custom-page-content h1 { font-size: 3rem; font-weight: 900; color: var(--green-900); margin: 3rem 0 1.5rem; letter-spacing: -0.02em; }
.custom-page-content h2 { font-size: 2.2rem; font-weight: 900; color: var(--green-800); margin: 3.5rem 0 1.25rem; border-bottom: 2px solid var(--green-100); padding-bottom: 0.5rem; }
.custom-page-content h3 { font-size: 1.5rem; font-weight: 800; color: var(--green-800); margin: 2.5rem 0 1rem; }
.custom-page-content p { margin-bottom: 1.5rem; }
.custom-page-content strong { color: var(--green-900); }
.custom-page-content a { color: var(--green-600); font-weight: 800; text-decoration: underline; text-decoration-color: transparent; transition: var(--transition); }
.custom-page-content a:hover { color: var(--green-700); text-decoration-color: var(--green-600); }
.custom-page-content ul { padding-left: 1.5rem; margin-bottom: 1.5rem; }
.custom-page-content ul li { margin-bottom: 0.5rem; }
.custom-page-content hr { border: none; border-top: 1px solid rgba(0,0,0,0.08); margin: 4rem 0; }
.custom-page-hero-img { border-radius: var(--radius-xl); overflow: hidden; margin-bottom: 4rem; box-shadow: var(--shadow-lg); }
.custom-page-hero-img img { width: 100%; height: auto; display: block; }

/* ===== LEGAL CONTENT & TABS ===== */
.legal-content { padding: 5rem 0; }
.legal-content h3 { font-size: 1.4rem; font-weight: 900; color: var(--green-900); margin: 3rem 0 1rem; }
.legal-content h3:first-child { margin-top: 0; }
.legal-content p { font-size: 1.1rem; line-height: 1.8; color: var(--gray-700); margin-bottom: 1.25rem; }
.legal-editor-tabs { display: flex; gap: 0.5rem; margin-bottom: 3rem; border-bottom: 2px solid rgba(0,0,0,0.05); padding-bottom: 0.5rem; overflow-x: auto; }
.legal-tab-btn { padding: 1rem 2rem; border: none; background: transparent; border-radius: 12px 12px 0 0; font-weight: 800; font-size: 1rem; cursor: pointer; color: var(--gray-500); transition: var(--transition); }
.legal-tab-btn:hover { color: var(--green-700); background: var(--green-50); }
.legal-tab-btn.active { background: var(--green-600); color: white; box-shadow: var(--shadow-sm); }

/* ===== GLOBAL FORMS & BUTTONS ===== */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; width: 100%; }
.form-group { margin-bottom: 1.5rem; width: 100%; }
.form-group label { display: block; font-size: 0.95rem; font-weight: 800; color: var(--gray-700); margin-bottom: 0.5rem; letter-spacing: 0.02em; }
.required { color: var(--green-600); }
.form-group input, .form-group textarea { width: 100%; padding: 1.2rem 1.5rem; border: 2px solid var(--gray-200); border-radius: 12px; font-family: var(--font-body); font-size: 1.05rem; background: var(--white); transition: all var(--transition); outline: none; box-sizing: border-box; }
.form-group input:focus, .form-group textarea:focus { border-color: var(--green-500); box-shadow: 0 0 0 4px rgba(54,124,0,0.12); }
.form-group textarea { resize: vertical; min-height: 180px; }
.form-footer { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; margin-top: 1.5rem; }
.form-note { font-size: 0.95rem; color: var(--gray-500); max-width: 400px; line-height: 1.6;}

.btn-primary { 
    display: inline-flex; align-items: center; justify-content: center; gap: 0.75rem; 
    padding: 1.2rem 2.8rem; background: var(--green-600); color: white; 
    border-radius: 50px; font-size: 1.05rem; font-weight: 800; border: none; cursor: pointer; 
    transition: all var(--transition); box-shadow: var(--shadow-sm); letter-spacing: 0.02em;
}
.btn-primary:hover { background: var(--green-700); transform: translateY(-3px) scale(1.02); box-shadow: var(--shadow-green); color: white; }
.btn-large { padding: 1.4rem 3.5rem; font-size: 1.15rem; }

/* ===== MAP & ALERTS ===== */
.map-section { height: 500px; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); margin-bottom: 3rem; border: 1px solid rgba(0,0,0,0.05); }
.map-section iframe { display: block; width: 100%; height: 100%; border: none; }
.alert { padding: 1.5rem 2rem; border-radius: var(--radius-md); margin-bottom: 2rem; box-shadow: var(--shadow-sm); }
.alert strong { display: block; margin-bottom: 0.5rem; font-size: 1.1rem; font-weight: 900;}
.alert p { font-size: 1rem; line-height: 1.6;}
.alert--success { background: #f0fdf4; border: 1px solid #86efac; color: #166534; }
.alert--error { background: #fef2f2; border: 1px solid #fca5a5; color: #991b1b; }

/* ===== CTA BANNER & HERO (FIXED!) ===== */
.cta-banner { background: var(--green-900); padding: 7rem 2rem; position: relative; overflow: hidden; width: 100%; border-top: 4px solid var(--yellow-500);}
.cta-banner::before { content: ''; position: absolute; right: -10%; top: -50%; width: 600px; height: 600px; background: radial-gradient(circle, rgba(244,169,0,0.15) 0%, transparent 70%); pointer-events: none;}
.cta-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 3rem; flex-wrap: wrap; position: relative; z-index: 1; }
.cta-text h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; color: white; letter-spacing: -0.02em; margin-bottom: 1rem; text-shadow: 0 4px 15px rgba(0,0,0,0.3);}
.cta-text p { font-size: 1.2rem; color: rgba(255,255,255,0.85); max-width: 500px; margin: 0; line-height: 1.6;}
.cta-actions { display: flex; gap: 1rem; flex-wrap: wrap; flex-shrink: 0; }
.btn-cta-primary { display: inline-flex; align-items: center; padding: 1.2rem 2.5rem; background: var(--yellow-500); color: var(--green-900); border-radius: 50px; font-size: 1.1rem; font-weight: 900; text-decoration: none; transition: all var(--transition); box-shadow: var(--shadow-yellow); }
.btn-cta-primary:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 15px 30px rgba(244,169,0,0.5); color: var(--green-900); background: var(--yellow-400); }
.btn-cta-secondary { display: inline-flex; align-items: center; padding: 1.2rem 2.5rem; background: rgba(255,255,255,0.1); border: 2px solid rgba(255,255,255,0.3); color: white; border-radius: 50px; font-size: 1.1rem; font-weight: 800; text-decoration: none; transition: all var(--transition); backdrop-filter: blur(8px); }
.btn-cta-secondary:hover { background: rgba(255,255,255,0.25); border-color: white; transform: translateY(-3px); }

.page-hero { background: var(--green-900); text-align: center; color: white; position: relative; overflow: hidden; width: 100%; padding: 8rem 2rem 6rem; border-bottom: 1px solid rgba(255,255,255,0.05);}
.page-hero--sm { padding: 5rem 2rem 4rem; background: var(--green-900); text-align: center; color: white;}
.page-hero h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 900; letter-spacing: -0.03em; margin: 0.75rem 0 1.25rem; text-shadow: 0 4px 20px rgba(0,0,0,0.3);}

/* ===== FOOTER ===== */
.site-footer { background: var(--green-900); color: rgba(255,255,255,0.7); padding: 6rem 0 0; width: 100%; border-top: 4px solid var(--yellow-500);}
.footer-inner { max-width: 1440px; margin: 0 auto; padding: 0 2rem 5rem; display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 5rem; }
.footer-col h4 { font-size: 0.9rem; font-weight: 900; letter-spacing: 0.15em; text-transform: uppercase; color: white; margin-bottom: 1.5rem; }
.social-links a { width: 48px; height: 48px; background: rgba(255,255,255,0.05); border-radius: 50px; display: flex; align-items: center; justify-content: center; color: white; transition: all var(--transition); border: 1px solid rgba(255,255,255,0.1);}
.social-links a:hover { background: var(--yellow-500); color: var(--green-900); transform: translateY(-4px) scale(1.1); border-color: var(--yellow-500); box-shadow: 0 10px 20px rgba(244,169,0,0.2);}

/* NEW PRO FOOTER BOTTOM */
.footer-bottom { 
    background: rgba(0, 0, 0, 0.25); /* Creates a sleek, slightly darker separation line */
    border-top: 1px solid rgba(255, 255, 255, 0.05); 
    padding: 1.5rem 2rem; 
    text-align: center !important; 
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.footer-bottom p { 
    margin: 0; 
    font-size: 0.9rem; 
    color: rgba(255, 255, 255, 0.5); 
    font-weight: 600; 
    letter-spacing: 0.02em;
}

/* ===== GDPR BANNER (FIXED visibility!) ===== */
#gdpr-banner { position: fixed; bottom: 0; left: 0; right: 0; background: rgba(26, 28, 20, 0.95); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid rgba(255,255,255,0.1); padding: 1.5rem 2.5rem; box-shadow: 0 -10px 40px rgba(0,0,0,0.3); z-index: 9990; display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; transform: translateY(100%); transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
#gdpr-banner.visible { transform: translateY(0); }
#gdpr-banner p { margin: 0; flex: 1; font-size: 0.95rem; line-height: 1.6; min-width: 200px; color: rgba(255,255,255,0.9); }
#gdpr-banner a { color: var(--green-300); font-weight: 800; text-decoration: underline; }
.gdpr-actions { display: flex; gap: 1rem; flex-shrink: 0; }
.gdpr-btn-accept { background: var(--green-600); border: none; border-radius: 50px; padding: 0.8rem 2rem; font-size: 1rem; font-weight: 800; color: white; cursor: pointer; box-shadow: var(--shadow-green); transition: all var(--transition);}
.gdpr-btn-accept:hover { transform: scale(1.05); background: var(--green-500);}

/* Flawless Decline Button */
.gdpr-btn-decline { background: rgba(255,255,255,0.1); color: white; border: 1px solid rgba(255,255,255,0.3); border-radius: 50px; padding: 0.8rem 1.5rem; font-weight: 800; font-size: 1rem; cursor: pointer; transition: all var(--transition); }
.gdpr-btn-decline:hover { color: var(--green-900); border-color: white; background: white; }

/* ===== UTILITIES ===== */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===== MEDIA QUERIES (Bulletproof Grid Reset) ===== */
@media (max-width: 1024px) {
    .catalog-layout { grid-template-columns: 240px 1fr !important; }
    .footer-inner { grid-template-columns: 1fr 1fr; gap: 4rem; }
    .contact-layout { grid-template-columns: 1fr; }
    .about-layout { grid-template-columns: 1fr; gap: 3rem; }
    .cta-inner { flex-direction: column; text-align: center; }
    .cta-actions { justify-content: center; }
}

@media (max-width: 960px) {
    .product-detail { grid-template-columns: 1fr !important; gap: 2rem !important;}
    .product-gallery { position: static !important; }
    .gallery-main-frame { max-height: 500px !important; }
    .catalog-layout { grid-template-columns: 1fr !important; }
    .catalog-sidebar { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
    .home-block { grid-template-columns: 1fr !important; gap: 3rem; direction: ltr !important; }
    .home-block--reversed { direction: ltr !important; }
}

@media (max-width: 768px) {
    :root { --header-h: 70px; --topbar-h: 0px; }
    .topbar { display: none; }
    .mobile-menu-btn { display: flex; }
    .main-nav { position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; background: rgba(255,255,255,0.98); backdrop-filter: blur(20px); flex-direction: column; align-items: flex-start; padding: 3rem 2rem; gap: 1rem; border-top: 1px solid rgba(0,0,0,0.05); transform: translateX(100%); transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); z-index: 999; }
    .main-nav.open { transform: translateX(0); }
    .main-nav ul { flex-direction: column; align-items: flex-start; width: 100%; gap: 0.5rem; }
    .nav-link { padding: 1rem 1.5rem; font-size: 1.15rem; display: block; width: 100%; background: var(--gray-50); border-radius: 12px;}
    .btn-nav-cta { margin-left: 0; margin-top: 1.5rem; width: 100%; justify-content: center; padding: 1.25rem; font-size: 1.1rem; }
    .stats-inner { grid-template-columns: repeat(2, 1fr); }
    .stat-item:nth-child(2) { border-right: none; }
    .stat-item:nth-child(3) { border-right: 1px solid rgba(255,255,255,0.1); }
    .form-row { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; gap: 3rem; padding-bottom: 4rem; }
    .section { padding: 5rem 0; }
}

@media (max-width: 580px) {
    .catalog-grid, .products-grid { grid-template-columns: 1fr !important; }
    .products-carousel-outer { padding: 0 40px; margin: 0 -40px; }
    .products-carousel-track .product-card { flex: 0 0 100%; }
    .carousel-btn { width: 44px; height: 44px; font-size: 1.2rem; }
    .stats-inner { gap: 1.5rem; }
    .catalog-sidebar { grid-template-columns: 1fr; }
    .product-specs-grid { grid-template-columns: 1fr; }
    .slide-content h1 { font-size: 2.8rem; }
    .lightbox-close { top: 1rem; right: 1rem; width: 44px; height: 44px; font-size: 1.5rem;}
    .lightbox-nav { width: 50px; height: 50px; font-size: 1.8rem;}
    .lightbox-prev { left: 1rem; } .lightbox-next { right: 1rem; }
    .gdpr-actions { flex-direction: column; width: 100%; }
    .gdpr-btn-accept, .gdpr-btn-decline { width: 100%; text-align: center; }
}