/* ==========================================================================
           DESIGN SYSTEM & VARIABLES
           ========================================================================== */
        :root {
            /* Colors */
            --bg-color: #F9F8F6; /* Warm off-white */
            --surface-color: #FFFFFF;
            --primary-color: #2C2A28; /* Charcoal / Dark Walnut */
            --secondary-color: #8C7A6B; /* Warm grey */
            --accent-color: #D4C4B7; /* Champagne / Muted Bronze */
            --text-main: #3A3836;
            --text-light: #6B6661;
            --border-color: #E5E0DB;
            --error-color: #B33A3A;
            --success-color: #4A7C59;

            /* Typography */
            --font-heading: 'Cormorant Garamond', serif;
            --font-body: 'Manrope', sans-serif;
            
            /* Layout */
            --container-width: 1440px;
            --container-padding: 2rem;
            --header-height: 90px;
            --topbar-height: 40px;
            
            /* Transitions */
            --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            --transition-fast: all 0.2s ease;
        }

        /* ==========================================================================
           RESET & BASE
           ========================================================================== */
        *, *::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(--text-main);
            background-color: var(--bg-color);
            line-height: 1.6;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }

        img { max-width: 100%; height: auto; display: block; }
        a { text-decoration: none; color: inherit; transition: var(--transition-fast); }
        ul { list-style: none; }
        button { cursor: pointer; border: none; background: none; font-family: inherit; }
        input, textarea, select { font-family: inherit; }

        /* Typography Classes */
        h1, h2, h3, h4, h5, h6, .heading-font {
            font-family: var(--font-heading);
            font-weight: 500;
            line-height: 1.2;
            color: var(--primary-color);
        }

        .h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
        .h2 { font-size: clamp(2rem, 4vw, 3rem); }
        .h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
        
        .eyebrow {
            font-family: var(--font-body);
            font-size: 0.75rem;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            color: var(--text-light);
            display: block;
            margin-bottom: 0.5rem;
        }

        /* Layout Helpers */
        .container {
            max-width: var(--container-width);
            margin: 0 auto;
            padding: 0 var(--container-padding);
            width: 100%;
        }

        .section-padding { padding: 6rem 0; }
        .inner-page-padding { padding: 4rem 0; }
        
        /* Buttons */
        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 1rem 2rem;
            font-family: var(--font-body);
            font-size: 0.875rem;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            font-weight: 500;
            border: 1px solid transparent;
            transition: var(--transition-smooth);
            min-height: 44px; /* Touch target size */
            min-width: 44px;
        }

        .btn-primary { background-color: var(--primary-color); color: var(--surface-color); }
        .btn-primary:hover { background-color: var(--text-main); transform: translateY(-2px); }

        .btn-outline { border-color: var(--primary-color); color: var(--primary-color); }
        .btn-outline:hover { background-color: var(--primary-color); color: var(--surface-color); }

        .btn-link {
            border-bottom: 1px solid var(--primary-color);
            padding: 0 0 0.25rem 0;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            font-size: 0.875rem;
            font-weight: 500;
        }
        .btn-link:hover { color: var(--secondary-color); border-color: var(--secondary-color); }

        .btn-whatsapp { background-color: #25D366; color: #fff; border-color: #25D366; }
        .btn-whatsapp:hover { background-color: #1DA851; transform: translateY(-2px); border-color: #1DA851; }

        /* Forms */
        .form-group { margin-bottom: 1.5rem; }
        .form-label { display: block; margin-bottom: 0.5rem; font-size: 0.875rem; font-weight: 500; }
        .form-control {
            width: 100%;
            padding: 1rem;
            border: 1px solid var(--border-color);
            background-color: var(--surface-color);
            transition: var(--transition-fast);
            min-height: 44px;
        }
        .form-control:focus { outline: none; border-color: var(--primary-color); }
        textarea.form-control { resize: vertical; min-height: 120px; }

        /* ==========================================================================
           SHARED COMPONENTS (Header & Footer)
           ========================================================================== */
        .top-bar {
            background-color: var(--primary-color);
            color: var(--surface-color);
            height: var(--topbar-height);
            display: flex;
            align-items: center;
            font-size: 0.75rem;
            letter-spacing: 0.05em;
        }
        .top-bar .container { display: flex; justify-content: space-between; }
        .top-bar a { color: var(--surface-color); opacity: 0.8; }
        .top-bar a:hover { opacity: 1; }
        .top-bar .lang-selector a.active { font-weight: 600; opacity: 1; }

        .header {
            background-color: var(--surface-color);
            border-bottom: 1px solid var(--border-color);
            position: sticky;
            top: 0;
            z-index: 100;
            transition: var(--transition-smooth);
        }
        .header.sticky { box-shadow: 0 4px 20px rgba(0,0,0,0.05); }
        .header .container { display: flex; align-items: center; justify-content: space-between; height: var(--header-height); }
        
        .logo {
            font-family: var(--font-heading);
            font-size: 1.75rem;
            font-weight: 600;
            color: var(--primary-color);
            letter-spacing: 0.02em;
        }

        .main-nav { display: flex; gap: 2.5rem; }
        .main-nav a {
            font-size: 0.875rem;
            font-weight: 500;
            color: var(--text-main);
            text-transform: uppercase;
            letter-spacing: 0.05em;
            position: relative;
            padding: 0.5rem 0;
        }
        .main-nav a::after {
            content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 1px;
            background-color: var(--primary-color); transition: var(--transition-smooth);
        }
        .main-nav a:hover::after, .main-nav a.active::after { width: 100%; }

        .header-actions { display: flex; align-items: center; gap: 1.5rem; }
        .header-icon { width: 24px; height: 24px; stroke: var(--primary-color); stroke-width: 1.5; fill: none; }
        .mobile-menu-btn { display: none; }

        .footer { background-color: var(--primary-color); color: var(--surface-color); padding: 6rem 0 2rem; }
        .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 4rem; margin-bottom: 4rem; }
        .footer-logo { color: var(--surface-color); font-size: 2rem; margin-bottom: 1.5rem; display: inline-block; font-family: var(--font-heading); }
        .footer h4 {
            color: var(--surface-color); font-family: var(--font-body); font-size: 0.875rem;
            text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1.5rem;
        }
        .footer ul li { margin-bottom: 0.75rem; }
        .footer ul a { color: rgba(255,255,255,0.7); font-size: 0.875rem; }
        .footer ul a:hover { color: var(--surface-color); }
        .footer-bottom {
            border-top: 1px solid rgba(255,255,255,0.1); padding-top: 2rem;
            display: flex; justify-content: space-between; font-size: 0.75rem; color: rgba(255,255,255,0.5);
        }

        /* ==========================================================================
           SHARED INNER PAGE COMPONENTS
           ========================================================================== */
        .page-banner {
            background-color: var(--surface-color);
            padding: 4rem 0 2rem;
            text-align: center;
            border-bottom: 1px solid var(--border-color);
        }
        .breadcrumb {
            display: flex; justify-content: center; gap: 0.5rem; font-size: 0.75rem;
            text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-light); margin-bottom: 1.5rem; flex-wrap: wrap;
        }
        .breadcrumb a:hover { color: var(--primary-color); }
        
        .empty-state { text-align: center; padding: 4rem 2rem; background: var(--surface-color); border: 1px dashed var(--border-color); margin: 2rem 0; }
        .pagination { display: flex; justify-content: center; gap: 0.5rem; margin-top: 4rem; flex-wrap: wrap; }
        .page-link {
            width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
            border: 1px solid var(--border-color); font-size: 0.875rem; transition: var(--transition-fast);
        }
        .page-link:hover, .page-link.active { background: var(--primary-color); color: var(--surface-color); border-color: var(--primary-color); }

        /* Product Cards */
        .product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
        .product-card { display: flex; flex-direction: column; group: product; }
        .product-image-wrapper { position: relative; aspect-ratio: 4/5; overflow: hidden; background: var(--surface-color); margin-bottom: 1rem; }
        .product-image-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
        .product-card:hover .product-image-wrapper img { transform: scale(1.05); }
        .product-badge { position: absolute; top: 1rem; left: 1rem; background: var(--surface-color); padding: 0.25rem 0.75rem; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; }
        .product-info h3 { font-size: 1.25rem; margin-bottom: 0.25rem; }
        .product-info .category { font-size: 0.875rem; color: var(--text-light); margin-bottom: 1rem; }

        /* ==========================================================================
           SPECIFIC PAGE STYLES
           ========================================================================== */
        
        /* Home Hero & Categories (Preserved from Home) */
        .hero { position: relative; height: calc(100vh - var(--header-height) - var(--topbar-height)); min-height: 600px; background-color: var(--primary-color); overflow: hidden; }
        .hero-slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1s ease-in-out; display: flex; align-items: center; }
        .hero-slide.active { opacity: 1; z-index: 1; }
        .hero-slide img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
        .hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to right, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.2) 100%); z-index: -1; }
        .hero-content { color: var(--surface-color); max-width: 600px; padding-left: 5%; }
        .hero-content h2 { color: var(--surface-color); margin-bottom: 1.5rem; }
        .hero-content p { font-size: 1.125rem; margin-bottom: 2.5rem; opacity: 0.9; }
        .hero-actions { display: flex; gap: 1rem; }
        
        /* DYNAMIC: Category Grid - Updated to smaller side-by-side boxes */
        .category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
        .category-card { position: relative; overflow: hidden; aspect-ratio: 1; background: var(--primary-color); display: flex; align-items: flex-end; justify-content: center; text-align: center; border-radius: 4px; }
        .category-card img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; z-index: 0; opacity: 0.9; }
        .category-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 70%); z-index: 1; transition: opacity 0.4s ease; }
        .category-card:hover img { transform: scale(1.08); }
        .category-card:hover::after { opacity: 0.9; }
        .category-card-content { position: relative; z-index: 2; padding: 1.5rem 1rem; width: 100%; }
        .category-card-content h3 { color: var(--surface-color); font-size: 1rem; font-family: var(--font-body); font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; margin: 0; }
        
        .editorial-split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; background: var(--surface-color); }
        .editorial-image { aspect-ratio: 4/5; object-fit: cover; width: 100%; }
        .editorial-content { padding: 10%; }

        /* Category Page Specific */
        .subcategories-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
        .sub-cat-link { padding: 0.5rem 1.5rem; border: 1px solid var(--border-color); font-size: 0.875rem; border-radius: 20px; }
        .sub-cat-link.active, .sub-cat-link:hover { border-color: var(--primary-color); background: var(--primary-color); color: var(--surface-color); }
        .category-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; border-bottom: 1px solid var(--border-color); padding-bottom: 1rem; }

        /* Product Detail - REDESIGNED */
        .product-detail-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 5rem; align-items: start; }
        
        /* Gallery Design */
        .product-gallery-new { display: flex; gap: 1.5rem; }
        .product-thumbnails-vertical { display: flex; flex-direction: column; gap: 1rem; width: 80px; flex-shrink: 0; }
        .product-thumbnails-vertical .thumb { 
            aspect-ratio: 3/4; width: 100%; object-fit: cover; cursor: pointer; 
            opacity: 0.5; transition: var(--transition-fast); border: 1px solid transparent; 
        }
        .product-thumbnails-vertical .thumb.active, .product-thumbnails-vertical .thumb:hover { 
            opacity: 1; border-color: var(--primary-color); 
        }
        .product-main-image { flex: 1; position: relative; background: var(--bg-color); aspect-ratio: 3/4; overflow: hidden; }
        .product-main-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
        
        /* Sticky Info Panel */
        .product-info-sticky { position: sticky; top: calc(var(--header-height) + 2rem); display: flex; flex-direction: column; gap: 2.5rem; }
        
        .product-title-block h1 { margin: 0.5rem 0 1rem; font-size: clamp(2rem, 3vw, 3rem); line-height: 1.1; }
        .product-short-desc { font-size: 1.125rem; color: var(--text-light); line-height: 1.7; }
        
        /* Features Grid */
        .product-features-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; padding: 2rem 0; border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); }
        .feature-item { display: flex; align-items: center; gap: 0.75rem; font-size: 0.875rem; font-weight: 500; color: var(--text-main); }
        .feature-icon { width: 20px; height: 20px; stroke: var(--primary-color); stroke-width: 1.5; fill: none; }
        
        /* Accordion */
        .accordion { border-bottom: 1px solid var(--border-color); }
        .accordion-item { border-top: 1px solid var(--border-color); }
        .accordion-header { width: 100%; text-align: left; padding: 1.5rem 0; font-size: 1.125rem; font-family: var(--font-heading); display: flex; justify-content: space-between; align-items: center; }
        .accordion-content { padding-bottom: 1.5rem; display: none; color: var(--text-light); font-size: 0.875rem; line-height: 1.6; }
        
        .product-actions { display: flex; flex-direction: column; gap: 1rem; }
        
        .set-contents-list { list-style: none; padding: 0; margin: 0; }
        .set-contents-list li { display: flex; justify-content: space-between; padding: 0.75rem 0; border-bottom: 1px dashed var(--border-color); font-size: 0.875rem; color: var(--text-light); }
        .set-contents-list li:last-child { border-bottom: none; }
        .set-contents-list li span:first-child { color: var(--text-main); font-weight: 500; }

        /* Blog Listing */
        .blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
        .blog-card { display: flex; flex-direction: column; }
        .blog-card-img { aspect-ratio: 16/9; overflow: hidden; background: var(--border-color); margin-bottom: 1.5rem; }
        .blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
        .blog-card:hover .blog-card-img img { transform: scale(1.05); }
        .blog-meta { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-light); margin-bottom: 0.5rem; display: flex; gap: 0.5rem; }
        .blog-card h3 { margin-bottom: 1rem; font-size: 1.5rem; }
        .featured-blog { grid-column: span 3; display: grid; grid-template-columns: 1.5fr 1fr; gap: 3rem; align-items: center; margin-bottom: 4rem; }
        
        /* Blog Detail */
        .article-header { text-align: center; max-width: 800px; margin: 0 auto 3rem; }
        .article-hero-img { aspect-ratio: 21/9; width: 100%; object-fit: cover; margin-bottom: 4rem; }
        .article-content { max-width: 800px; margin: 0 auto; font-size: 1.125rem; line-height: 1.8; color: var(--text-main); }
        .article-content h2, .article-content h3 { margin: 2.5rem 0 1rem; }
        .article-content p { margin-bottom: 1.5rem; }
        .article-content img { margin: 2.5rem 0; }
        .social-share { display: flex; gap: 1rem; justify-content: center; margin: 4rem 0; border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); padding: 2rem 0; }
        
        /* Contact */
        .contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
        .contact-info-block { margin-bottom: 2.5rem; }
        .contact-info-block h3 { margin-bottom: 1rem; font-size: 1.25rem; }
        .contact-info-block p { color: var(--text-light); margin-bottom: 0.5rem; }
        .map-container { aspect-ratio: 16/9; background: var(--border-color); margin-top: 2rem; }
        
        /* Legal & Corporate Content */
        .content-container { max-width: 800px; margin: 0 auto; }
        .content-container h2 { margin: 2rem 0 1rem; }
        .content-container p, .content-container ul { margin-bottom: 1.5rem; color: var(--text-light); }
        .content-container ul { padding-left: 1.5rem; list-style: disc; }

        /* Search Overlay */
        .search-overlay {
            position: fixed; top: 0; left: 0; width: 100%; height: 100%;
            background: rgba(255, 255, 255, 0.98); z-index: 9999;
            display: flex; flex-direction: column; align-items: center; justify-content: center;
            opacity: 0; visibility: hidden; transition: var(--transition-smooth);
        }
        .search-overlay.active { opacity: 1; visibility: visible; }
        .search-overlay .close-search {
            position: absolute; top: 2rem; right: 2rem;
            width: 44px; height: 44px; border-radius: 50%;
            display: flex; align-items: center; justify-content: center;
            background: var(--bg-color); border: 1px solid var(--border-color);
            cursor: pointer; transition: var(--transition-fast);
        }
        .search-overlay .close-search:hover { background: var(--primary-color); color: var(--surface-color); }
        .search-overlay .close-search svg { width: 24px; height: 24px; stroke: currentColor; stroke-width: 2; }
        .search-form { width: 100%; max-width: 600px; padding: 0 2rem; position: relative; }
        .search-input {
            width: 100%; font-size: clamp(1.5rem, 4vw, 2.5rem); font-family: var(--font-heading);
            color: var(--primary-color); border: none; border-bottom: 2px solid var(--primary-color);
            padding: 1rem 0 1rem 0.5rem; background: transparent; outline: none;
        }
        .search-input::placeholder { color: var(--text-light); opacity: 0.5; }
        .search-submit {
            position: absolute; right: 2rem; top: 50%; transform: translateY(-50%);
            background: none; border: none; cursor: pointer; padding: 0.5rem;
        }
        .search-submit svg { width: 24px; height: 24px; stroke: var(--primary-color); stroke-width: 2; fill: none; }

        /* Lightbox Overlay */
        .lightbox-overlay {
            position: fixed; top: 0; left: 0; width: 100%; height: 100%;
            background: rgba(15, 14, 13, 0.95); z-index: 99999;
            display: flex; align-items: center; justify-content: center;
            opacity: 0; visibility: hidden; transition: var(--transition-smooth);
        }
        .lightbox-overlay.active { opacity: 1; visibility: visible; }
        .lightbox-close {
            position: absolute; top: 2rem; right: 2rem;
            width: 50px; height: 50px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); border-radius: 50%;
            color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center;
            transition: var(--transition-fast);
        }
        .lightbox-close:hover { background: var(--surface-color); color: var(--primary-color); }
        .lightbox-close svg { width: 24px; height: 24px; stroke: currentColor; stroke-width: 2; }
        .lightbox-img-wrapper { max-width: 90%; max-height: 90vh; }
        .lightbox-img-wrapper img { max-width: 100%; max-height: 90vh; object-fit: contain; box-shadow: 0 10px 40px rgba(0,0,0,0.5); }
        
        .product-main-image { cursor: zoom-in; transition: var(--transition-smooth); }

        /* ==========================================================================
           RESPONSIVE (MOBILE FIRST APPROACH OVERRIDES)
           ========================================================================== */
        @media (max-width: 1024px) {
            .product-grid { grid-template-columns: repeat(3, 1fr); }
            .category-grid { grid-template-columns: repeat(2, 1fr); }
            .editorial-split { grid-template-columns: 1fr; }
            .product-detail-layout { grid-template-columns: 1fr; gap: 3rem; }
            .product-info-sticky { position: relative; top: 0; gap: 2rem; }
            .product-gallery-new { flex-direction: column-reverse; }
            .product-thumbnails-vertical { flex-direction: row; width: 100%; overflow-x: auto; padding-bottom: 0.5rem; scroll-snap-type: x mandatory; }
            .product-thumbnails-vertical .thumb { width: 80px; flex-shrink: 0; scroll-snap-align: start; }
            .product-main-image { aspect-ratio: 4/5; }
            .contact-layout { grid-template-columns: 1fr; gap: 2rem; }
        }

        @media (max-width: 768px) {
            .top-bar { display: none; } /* Hide topbar on mobile */
            .main-nav { display: none; } /* Requires Offcanvas JS implementation for full prod */
            .mobile-menu-btn { display: block; }
            
            .h1 { font-size: 2.5rem; }
            .section-padding, .inner-page-padding { padding: 3rem 0; }
            .page-banner { padding: 3rem 0 1.5rem; }
            
            .product-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
            .category-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
            .footer-grid { grid-template-columns: 1fr; }
            .hero-content h2 { font-size: 2.5rem; }
            .hero-actions { flex-direction: column; }
            .blog-grid { grid-template-columns: 1fr; }
            .featured-blog { grid-column: span 1; }
            .category-toolbar { flex-direction: column; align-items: flex-start; gap: 1rem; }
        }

        @media (max-width: 480px) {
            .product-grid { grid-template-columns: 1fr; } /* Stack on very small screens if detailed */
        }

/* ==========================================================================
   SENTIUS HOME HEADER - DYNAMIC PANEL INTEGRATION
   ========================================================================== */
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

body.menu-open,
body.search-open {
    overflow: hidden;
}

.top-bar .contact-info {
    display: flex;
    align-items: center;
    min-width: 0;
}

.top-bar-separator {
    margin: 0 0.75rem;
    opacity: 0.3;
}

.top-bar-address {
    max-width: 760px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    opacity: 0.82;
}

.header .container {
    gap: 2rem;
}

.logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.logo img {
    display: block;
    width: auto;
    max-width: 220px;
    height: 58px;
    object-fit: contain;
}

.desktop-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    min-width: 0;
}

.main-nav {
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.main-nav > li {
    position: relative;
}

.main-nav > li > a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    white-space: nowrap;
}

.main-nav a.active::after,
.main-nav li.active > a::after,
.main-nav li.current-menu-item > a::after,
.main-nav li.current-menu-parent > a::after {
    width: 100%;
}

.main-nav li > ul,
.main-nav li .sub-menu,
.main-nav li .dropdown-menu {
    position: absolute;
    top: calc(100% + 1rem);
    left: 50%;
    z-index: 120;
    min-width: 250px;
    padding: 0.75rem 0;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    box-shadow: 0 18px 45px rgba(44, 42, 40, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 10px);
    transition: var(--transition-smooth);
}

.main-nav li:hover > ul,
.main-nav li:focus-within > ul,
.main-nav li:hover > .sub-menu,
.main-nav li:focus-within > .sub-menu,
.main-nav li:hover > .dropdown-menu,
.main-nav li:focus-within > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.main-nav li > ul::before,
.main-nav li .sub-menu::before,
.main-nav li .dropdown-menu::before {
    content: '';
    position: absolute;
    top: -1.1rem;
    left: 0;
    right: 0;
    height: 1.1rem;
}

.main-nav li > ul li,
.main-nav li .sub-menu li,
.main-nav li .dropdown-menu li {
    position: relative;
}

.main-nav li > ul a,
.main-nav li .sub-menu a,
.main-nav li .dropdown-menu a {
    display: block;
    padding: 0.7rem 1.25rem;
    font-size: 0.78rem;
    line-height: 1.45;
    white-space: normal;
}

.main-nav li > ul a::after,
.main-nav li .sub-menu a::after,
.main-nav li .dropdown-menu a::after {
    display: none;
}

.main-nav li > ul a:hover,
.main-nav li .sub-menu a:hover,
.main-nav li .dropdown-menu a:hover,
.main-nav li > ul li.active > a,
.main-nav li .sub-menu li.active > a,
.main-nav li .dropdown-menu li.active > a {
    color: var(--secondary-color);
    background: var(--bg-color);
}

.header-action-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    transition: var(--transition-fast);
}

.header-action-button:hover {
    background: var(--bg-color);
}

.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 998;
    background: rgba(20, 19, 18, 0.52);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-panel {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 999;
    width: min(420px, 92vw);
    height: 100dvh;
    padding: 1.5rem;
    background: var(--surface-color);
    box-shadow: -20px 0 50px rgba(44, 42, 40, 0.14);
    overflow-y: auto;
    transform: translateX(105%);
    visibility: hidden;
    transition: var(--transition-smooth);
}

.mobile-menu-panel.active {
    transform: translateX(0);
    visibility: visible;
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-color);
}

.mobile-menu-logo {
    display: inline-flex;
    align-items: center;
}

.mobile-menu-logo img {
    width: auto;
    max-width: 190px;
    height: 52px;
    object-fit: contain;
}

.mobile-menu-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--primary-color);
}

.mobile-menu-close svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}

.mobile-navigation {
    padding: 1rem 0 1.5rem;
}

.mobile-nav,
.mobile-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.mobile-nav > li {
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav li > a {
    display: block;
    padding: 1rem 2.75rem 1rem 0;
    font-size: 0.86rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.mobile-nav li.active > a,
.mobile-nav li.current-menu-item > a,
.mobile-nav li.current-menu-parent > a {
    color: var(--secondary-color);
}

.mobile-nav ul,
.mobile-nav .sub-menu,
.mobile-nav .dropdown-menu {
    display: none;
    padding: 0 0 0.85rem 1rem;
}

.mobile-nav li.submenu-open > ul,
.mobile-nav li.submenu-open > .sub-menu,
.mobile-nav li.submenu-open > .dropdown-menu {
    display: block;
}

.mobile-nav ul li a,
.mobile-nav .sub-menu li a,
.mobile-nav .dropdown-menu li a {
    padding: 0.65rem 2.5rem 0.65rem 0;
    color: var(--text-light);
    font-size: 0.78rem;
    text-transform: none;
    letter-spacing: 0.02em;
}

.mobile-submenu-toggle {
    position: absolute;
    top: 0.58rem;
    right: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: var(--primary-color);
}

.mobile-submenu-toggle::before,
.mobile-submenu-toggle::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 1px;
    background: currentColor;
    transition: var(--transition-fast);
}

.mobile-submenu-toggle::after {
    transform: rotate(90deg);
}

.mobile-nav li.submenu-open > .mobile-submenu-toggle::after {
    transform: rotate(0deg);
}

.mobile-menu-contact {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.82rem;
}

.mobile-menu-contact a {
    font-weight: 500;
}

.mobile-menu-contact p {
    color: var(--text-light);
    line-height: 1.6;
}

.popular-searches {
    margin-top: 2.5rem;
    padding: 0 2rem;
    text-align: center;
}

.popular-search-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

@media (max-width: 1260px) {
    .main-nav {
        gap: 1.4rem;
    }

    .main-nav a {
        font-size: 0.78rem;
    }

    .logo img {
        max-width: 190px;
        height: 52px;
    }
}

@media (max-width: 1240px) {
    .desktop-navigation {
        display: none;
    }

    .mobile-menu-btn {
        display: inline-flex;
    }
}

@media (min-width: 1241px) {
    .mobile-menu-panel,
    .mobile-menu-overlay {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .header .container {
        height: 76px;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .logo img {
        max-width: 170px;
        height: 48px;
    }

    .header-actions {
        gap: 0.25rem;
    }
}

@media (max-width: 420px) {
    .logo img {
        max-width: 145px;
        height: 44px;
    }

    .header-action-button {
        width: 40px;
        height: 40px;
    }
}

/* ==========================================================================
   SENTIUS HOME HOMEPAGE ADDITIONS
   ========================================================================== */
.home-hero {
    position: relative;
    isolation: isolate;
}

.home-hero-image {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-hero-no-image {
    background:
        radial-gradient(circle at 75% 30%, rgba(212, 196, 183, 0.22), transparent 34%),
        linear-gradient(120deg, #2c2a28 0%, #49433e 100%);
}

.home-hero-inner {
    display: flex;
    align-items: center;
    height: 100%;
}

.hero-content h1 {
    color: var(--surface-color);
    margin-bottom: 1.5rem;
}

.hero-eyebrow-accent {
    color: var(--accent-color);
}

.btn-outline-light {
    border-color: rgba(255, 255, 255, 0.9);
    color: var(--surface-color);
}

.btn-outline-light:hover {
    border-color: var(--surface-color);
    background-color: var(--surface-color);
    color: var(--primary-color);
}

.section-heading-center {
    margin-bottom: 4rem;
    text-align: center;
}

.section-heading-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 3rem;
}

.home-products-section {
    background-color: var(--surface-color);
}

.home-section-link {
    flex-shrink: 0;
}

.product-card-link {
    font-size: 0.75rem;
}

.category-card.no-image,
.product-image-wrapper.no-image,
.editorial-media.no-image {
    background:
        linear-gradient(135deg, rgba(212, 196, 183, 0.65), rgba(140, 122, 107, 0.35)),
        var(--primary-color);
}

.editorial-media {
    min-height: 600px;
    background-color: var(--border-color);
}

.editorial-media .editorial-image {
    height: 100%;
}

.editorial-title {
    margin-bottom: 1.5rem;
}

.editorial-text {
    margin-bottom: 2rem;
    color: var(--text-light);
}

@media (max-width: 1024px) {
    .editorial-media {
        min-height: auto;
    }

    .editorial-media .editorial-image {
        max-height: 720px;
    }
}

@media (max-width: 768px) {
    .home-hero {
        height: min(760px, calc(100svh - 76px));
        min-height: 560px;
    }

    .home-hero .hero-content {
        max-width: 100%;
        padding: 0;
    }

    .home-hero .hero-actions .btn {
        width: 100%;
    }

    .section-heading-center {
        margin-bottom: 2.5rem;
    }

    .section-heading-row {
        align-items: flex-start;
        flex-direction: column;
        margin-bottom: 2.5rem;
    }

    .home-section-link {
        align-self: flex-start;
    }
}


/* ==========================================================================
   SENTIUS HOME FOOTER ENHANCEMENTS
   ========================================================================== */
.footer {
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: -180px;
    right: -140px;
    width: 420px;
    height: 420px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    pointer-events: none;
}

.footer .container {
    position: relative;
    z-index: 1;
}

.footer-brand {
    max-width: 380px;
}

.footer-logo {
    min-height: 56px;
    display: inline-flex;
    align-items: center;
}

.footer-logo-image {
    width: auto;
    max-width: 220px;
    height: auto;
    max-height: 72px;
    object-fit: contain;
}

.footer-logo-image--invert {
    filter: brightness(0) invert(1);
}

.footer-description {
    max-width: 340px;
    margin-bottom: 1.75rem;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.875rem;
    line-height: 1.8;
}

.footer-column ul {
    margin: 0;
    padding: 0;
}

.footer-column li {
    line-height: 1.55;
}

.footer-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 1rem;
}

.footer-social-links a {
    position: relative;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.footer-social-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 1px;
    background: var(--surface-color);
    transition: var(--transition-smooth);
}

.footer-social-links a:hover {
    color: var(--surface-color);
}

.footer-social-links a:hover::after {
    width: 100%;
}

.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.footer-contact-list li {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 0.65rem;
    align-items: start;
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    overflow-wrap: anywhere;
}

.footer-contact-list a,
.footer-contact-list span:not(.footer-contact-label) {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.875rem;
}

.footer-contact-list a:hover {
    color: var(--surface-color);
}

.footer-contact-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.625rem;
    font-weight: 600;
    line-height: 1;
}

.footer-address-item {
    line-height: 1.7;
}

.footer-directions-button {
    margin-top: 1.75rem;
    padding: 0.7rem 1.15rem;
    min-height: 40px;
    border-color: rgba(255, 255, 255, 0.28);
    color: var(--surface-color);
    font-size: 0.75rem;
}

.footer-directions-button:hover {
    border-color: var(--surface-color);
    background: var(--surface-color);
    color: var(--primary-color);
}

.footer-empty-text {
    color: rgba(255, 255, 255, 0.45);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.64);
}

.footer-bottom a:hover {
    color: var(--surface-color);
}

.footer-developer {
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* Form result message - Bootstrap bağımlılığı yoktur. */
.site-flash-message {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    z-index: 100000;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 36px;
    gap: 0.9rem;
    align-items: center;
    width: min(430px, calc(100vw - 2rem));
    padding: 1rem;
    border: 1px solid var(--border-color);
    background: var(--surface-color);
    box-shadow: 0 18px 55px rgba(28, 25, 22, 0.18);
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.site-flash-message.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.site-flash-message.is-closing {
    opacity: 0;
    transform: translateY(18px);
}

.site-flash-message.is-success {
    border-left: 4px solid var(--success-color);
}

.site-flash-message.is-error {
    border-left: 4px solid var(--error-color);
}

.site-flash-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--bg-color);
}

.site-flash-icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}

.site-flash-message.is-success .site-flash-icon {
    color: var(--success-color);
}

.site-flash-message.is-error .site-flash-icon {
    color: var(--error-color);
}

.site-flash-content strong {
    display: block;
    margin-bottom: 0.15rem;
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-size: 1.125rem;
}

.site-flash-content p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.8rem;
    line-height: 1.55;
}

.site-flash-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: var(--text-light);
}

.site-flash-close:hover {
    color: var(--primary-color);
}

.site-flash-close svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}

@media (max-width: 1100px) {
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 3rem 4rem;
    }

    .footer-brand {
        max-width: none;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 4rem 0 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        margin-bottom: 3rem;
    }

    .footer-brand,
    .footer-description {
        max-width: none;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
}

@media (max-width: 480px) {
    .site-flash-message {
        right: 1rem;
        bottom: 1rem;
        grid-template-columns: 36px minmax(0, 1fr) 30px;
        gap: 0.7rem;
        padding: 0.85rem;
    }

    .site-flash-icon {
        width: 36px;
        height: 36px;
    }
}

/* ==========================================================================
   SENTIUS HOME PRODUCT CATEGORY HEADER MENU
   ========================================================================== */
.main-nav {
    gap: clamp(0.7rem, 1.25vw, 1.55rem);
}

.main-nav > li > a {
    gap: 0.3rem;
    font-size: clamp(0.7rem, 0.72vw, 0.82rem);
}

.menu-dropdown-icon {
    width: 15px;
    height: 15px;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    transition: transform 0.25s ease;
}

.main-nav > li:hover > a .menu-dropdown-icon,
.main-nav > li:focus-within > a .menu-dropdown-icon {
    transform: rotate(180deg);
}

.main-nav > li > .sub-menu {
    min-width: 285px;
    max-height: min(70vh, 620px);
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-color) transparent;
}

.main-nav > li:first-child > .sub-menu {
    left: 0;
    transform: translate(0, 10px);
}

.main-nav > li:first-child:hover > .sub-menu,
.main-nav > li:first-child:focus-within > .sub-menu {
    transform: translate(0, 0);
}

.main-nav > li:nth-last-child(-n+2) > .sub-menu {
    right: 0;
    left: auto;
    transform: translate(0, 10px);
}

.main-nav > li:nth-last-child(-n+2):hover > .sub-menu,
.main-nav > li:nth-last-child(-n+2):focus-within > .sub-menu {
    transform: translate(0, 0);
}

.main-nav .sub-menu a.active {
    color: var(--secondary-color);
    background: var(--bg-color);
}

.mobile-nav .menu-dropdown-icon {
    display: none;
}

.mobile-nav li.active > .sub-menu,
.mobile-nav li.current-menu-parent > .sub-menu {
    display: block;
}

.mobile-nav li.active > .mobile-submenu-toggle::after,
.mobile-nav li.current-menu-parent > .mobile-submenu-toggle::after {
    transform: rotate(0deg);
}

@media (max-width: 1380px) and (min-width: 1241px) {
    .header .container {
        gap: 1rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .logo img {
        max-width: 175px;
    }

    .main-nav {
        gap: 0.72rem;
    }

    .main-nav > li > a {
        font-size: 0.68rem;
        letter-spacing: 0.035em;
    }

    .header-actions {
        gap: 0.35rem;
    }
}

/* ==========================================================================
   HOMEPAGE COLLECTION GRID - 4 CATEGORY LAYOUT
   ========================================================================== */
.category-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
    gap: clamp(1rem, 1.8vw, 2rem);
}

.category-card {
    width: 100%;
    min-width: 0;
    aspect-ratio: 1 / 1;
}

.category-card-content {
    padding: 1.5rem 1rem;
}

@media (max-width: 1024px) {
    .category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .category-grid {
        grid-template-columns: 1fr;
    }

    .category-card {
        aspect-ratio: 4 / 3;
    }
}

/* ==========================================================================
   SENTIUS HOME FOOTER ICON REVISION
   ========================================================================== */
.footer-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.footer-social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.78);
    background: rgba(255, 255, 255, 0.02);
    transition: var(--transition-fast);
}

.footer-social-links a::after {
    display: none;
}

.footer-social-links a:hover {
    color: var(--primary-color);
    background: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

.footer-social-links svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    stroke: currentColor;
    stroke-width: 1.6;
}

.footer-social-links .footer-social-play {
    fill: var(--primary-color);
    stroke: none;
}

.footer-social-links a:not(:hover) .footer-social-play {
    fill: var(--primary-color);
}

.footer-contact-label {
    width: 28px;
    height: 28px;
    border-color: rgba(255, 255, 255, 0.2);
}

.footer-contact-label svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
}

.footer-contact-label--whatsapp {
    color: #8de3aa;
    border-color: rgba(141, 227, 170, 0.35);
}

.footer-contact-list li {
    grid-template-columns: 28px minmax(0, 1fr);
    align-items: center;
}

.footer-address-item {
    align-items: start !important;
}

.footer-address-link {
    display: inline-block;
    line-height: 1.7;
    transition: var(--transition-fast);
}

.footer-address-link:hover {
    color: var(--accent-color) !important;
}

.footer-directions-button {
    display: none !important;
}

.footer-developer a {
    color: var(--accent-color);
    font-weight: 600;
}

.footer-developer a:hover {
    color: var(--surface-color);
}

/* ==========================================================================
   SENTIUS HOME ABOUT / CORPORATE PAGE
   ========================================================================== */
.page-banner-description {
    max-width: 720px;
    margin: 1rem auto 0;
    color: var(--text-light);
    line-height: 1.8;
}

.about-page-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(3rem, 7vw, 7rem);
}

.about-page-media {
    position: relative;
    min-width: 0;
    overflow: hidden;
    background: var(--surface-color);
}

.about-page-media::after {
    content: "";
    position: absolute;
    inset: 1.25rem -1.25rem -1.25rem 1.25rem;
    border: 1px solid var(--border-color);
    z-index: -1;
}

.about-page-media img {
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.about-page-media:hover img {
    transform: scale(1.025);
}

.about-page-image-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 4 / 5;
    padding: 2rem;
    background:
        linear-gradient(135deg, rgba(212, 196, 183, 0.35), rgba(255, 255, 255, 0.9));
    color: var(--text-light);
    font-family: var(--font-heading);
    font-size: 2rem;
    text-align: center;
}

.about-page-content {
    min-width: 0;
}

.about-page-content .h2 {
    margin-bottom: 1.75rem;
}

.about-rich-content,
.corporate-rich-content {
    color: var(--text-light);
    line-height: 1.9;
}

.about-rich-content {
    font-size: 1rem;
    margin-bottom: 2rem;
}

.about-rich-content > *:last-child,
.corporate-rich-content > *:last-child {
    margin-bottom: 0;
}

.about-rich-content p,
.corporate-rich-content p {
    margin-bottom: 1.35rem;
}

.about-rich-content h2,
.about-rich-content h3,
.about-rich-content h4,
.corporate-rich-content h2,
.corporate-rich-content h3,
.corporate-rich-content h4 {
    margin: 2.25rem 0 1rem;
    color: var(--primary-color);
}

.about-rich-content h2,
.corporate-rich-content h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.about-rich-content h3,
.corporate-rich-content h3 {
    font-size: clamp(1.4rem, 2.5vw, 1.9rem);
}

.about-rich-content ul,
.about-rich-content ol,
.corporate-rich-content ul,
.corporate-rich-content ol {
    margin: 1.25rem 0 1.5rem;
    padding-left: 1.4rem;
}

.about-rich-content ul,
.corporate-rich-content ul {
    list-style: disc;
}

.about-rich-content ol,
.corporate-rich-content ol {
    list-style: decimal;
}

.about-rich-content li,
.corporate-rich-content li {
    margin-bottom: 0.65rem;
}

.about-rich-content a,
.corporate-rich-content a {
    color: var(--primary-color);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.about-rich-content blockquote,
.corporate-rich-content blockquote {
    margin: 2rem 0;
    padding: 1.5rem 2rem;
    border-left: 2px solid var(--accent-color);
    background: var(--surface-color);
    color: var(--text-main);
    font-family: var(--font-heading);
    font-size: 1.25rem;
}

.corporate-content-container {
    min-height: 320px;
}

@media (max-width: 900px) {
    .about-page-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-page-media {
        max-width: 680px;
        width: 100%;
        margin: 0 auto;
    }

    .about-page-content {
        max-width: 760px;
        width: 100%;
        margin: 0 auto;
    }
}

@media (max-width: 560px) {
    .about-page-media::after {
        display: none;
    }

    .about-page-content .h2 {
        margin-bottom: 1.25rem;
    }

    .about-rich-content,
    .corporate-rich-content {
        font-size: 0.95rem;
        line-height: 1.8;
    }

    .about-page-content .btn {
        width: 100%;
    }
}

/* ==========================================================================
   SENTIUS HOME CATEGORY / PRODUCT LIST PAGE
   ========================================================================== */
.category-page-description {
    max-width: 760px;
    margin: 1rem auto 0;
    color: var(--text-light);
    line-height: 1.8;
}

.category-page-banner .subcategories-nav {
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
}

.category-product-count {
    color: var(--text-light);
    font-size: 0.875rem;
}

.category-sort-form {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.category-sort-form label {
    flex: 0 0 auto;
    font-size: 0.875rem;
}

.category-sort-form .form-control {
    width: auto;
    min-width: 190px;
    min-height: 42px;
    padding: 0.65rem 2.5rem 0.65rem 0.9rem;
}

.category-sort-submit {
    padding: 0.65rem 1rem;
}

.category-list-page .product-card {
    min-width: 0;
}

.category-list-page .product-image-wrapper {
    display: block;
}

.product-image-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 2rem;
    color: var(--text-light);
    background:
        linear-gradient(135deg, rgba(212, 196, 183, 0.25), rgba(255, 255, 255, 0.9));
    font-family: var(--font-heading);
    font-size: 1.5rem;
    text-align: center;
}

.category-list-page .product-info h2 {
    margin-bottom: 0.35rem;
    font-size: 1.25rem;
    line-height: 1.35;
}

.category-list-page .product-info h2 a:hover {
    color: var(--secondary-color);
}

.product-card-link {
    display: inline-block;
    margin-top: 0.3rem;
    font-size: 0.75rem;
}

.category-seo-content {
    margin-top: 5rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.9;
}

.category-seo-content > *:last-child {
    margin-bottom: 0;
}

.category-seo-content p {
    margin-bottom: 1.3rem;
}

.category-seo-content h2,
.category-seo-content h3,
.category-seo-content h4 {
    margin: 2rem 0 1rem;
    color: var(--primary-color);
}

.category-seo-content h2 {
    font-size: clamp(1.7rem, 3vw, 2.35rem);
}

.category-seo-content h3 {
    font-size: clamp(1.35rem, 2.5vw, 1.85rem);
}

.category-seo-content ul,
.category-seo-content ol {
    margin: 1rem 0 1.5rem;
    padding-left: 1.4rem;
}

.category-seo-content ul {
    list-style: disc;
}

.category-seo-content ol {
    list-style: decimal;
}

.category-seo-content li {
    margin-bottom: 0.55rem;
}

.category-seo-content a {
    color: var(--primary-color);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.category-list-page .empty-state .btn {
    margin-top: 1.25rem;
}

@media (max-width: 768px) {
    .category-sort-form {
        width: 100%;
        justify-content: space-between;
    }

    .category-sort-form .form-control {
        flex: 1;
        min-width: 0;
    }
}

@media (max-width: 480px) {
    .category-sort-form {
        align-items: flex-start;
        flex-direction: column;
    }

    .category-sort-form .form-control {
        width: 100%;
    }

    .category-list-page .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .category-list-page .product-info h2 {
        font-size: 1rem;
    }

    .category-list-page .product-image-wrapper {
        aspect-ratio: 4 / 5;
    }

    .category-seo-content {
        margin-top: 3.5rem;
        padding-top: 2rem;
    }
}

@media (max-width: 380px) {
    .category-list-page .product-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   COMPACT CATEGORY NAVIGATION
   ========================================================================== */
.category-page-banner {
    padding-top: 3rem;
    padding-bottom: 1.35rem;
}

.category-page-banner .breadcrumb {
    margin-bottom: 1rem;
}

.category-page-banner .h1 {
    line-height: 1.05;
}

.category-page-description {
    max-width: 680px;
    margin-top: 0.7rem;
    font-size: 0.9rem;
    line-height: 1.65;
}

.category-subcategory-controls {
    max-width: 1320px;
    margin: 1.35rem auto 0;
}

.subcategory-tabs-desktop {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.45rem;
    width: 100%;
    padding: 0.2rem 0 0.55rem;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-color) transparent;
}

.subcategory-tabs-desktop::-webkit-scrollbar {
    height: 4px;
}

.subcategory-tabs-desktop::-webkit-scrollbar-track {
    background: transparent;
}

.subcategory-tabs-desktop::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 10px;
}

.subcategory-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-height: 34px;
    padding: 0.45rem 0.9rem;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: transparent;
    color: var(--text-main);
    font-size: 0.72rem;
    font-weight: 500;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    white-space: nowrap;
    scroll-snap-align: start;
    transition: var(--transition-fast);
}

.subcategory-tab:hover,
.subcategory-tab.active {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: var(--surface-color);
}

.subcategory-select-mobile {
    display: none;
}

.category-list-page .inner-page-padding {
    padding-top: 2.5rem;
}

.category-list-page .category-toolbar {
    margin-bottom: 1.6rem;
    padding-bottom: 0.85rem;
}

@media (max-width: 768px) {
    .category-page-banner {
        padding: 2rem 0 1.15rem;
    }

    .category-page-banner .breadcrumb {
        margin-bottom: 0.75rem;
        font-size: 0.65rem;
    }

    .category-page-banner .h1 {
        font-size: clamp(2rem, 10vw, 2.65rem);
    }

    .category-page-description {
        display: none;
    }

    .category-subcategory-controls {
        margin-top: 1rem;
    }

    .subcategory-tabs-desktop {
        display: none;
    }

    .subcategory-select-mobile {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        align-items: center;
        gap: 0.75rem;
        max-width: 420px;
        margin: 0 auto;
        padding: 0.65rem 0.8rem;
        border: 1px solid var(--border-color);
        background: var(--surface-color);
    }

    .subcategory-select-mobile label {
        color: var(--text-light);
        font-size: 0.7rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        white-space: nowrap;
    }

    .subcategory-select-wrap {
        position: relative;
        min-width: 0;
    }

    .subcategory-select-mobile .form-control {
        width: 100%;
        min-height: 38px;
        padding: 0.45rem 2rem 0.45rem 0.7rem;
        border: 0;
        background-color: var(--bg-color);
        color: var(--primary-color);
        font-size: 0.82rem;
        font-weight: 500;
    }

    .category-list-page .inner-page-padding {
        padding-top: 1.5rem;
    }

    .category-list-page .category-toolbar {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 0.75rem;
        margin-bottom: 1.2rem;
        padding-bottom: 0.75rem;
    }

    .category-product-count {
        font-size: 0.75rem;
        line-height: 1.35;
    }

    .category-sort-form {
        width: auto;
        gap: 0.4rem;
    }

    .category-sort-form label {
        display: none;
    }

    .category-sort-form .form-control {
        width: 138px;
        min-width: 138px;
        min-height: 38px;
        padding: 0.45rem 2rem 0.45rem 0.65rem;
        font-size: 0.78rem;
    }
}

@media (max-width: 420px) {
    .subcategory-select-mobile {
        grid-template-columns: 1fr;
        gap: 0.35rem;
        text-align: left;
    }

    .category-list-page .category-toolbar {
        grid-template-columns: minmax(0, 1fr) 125px;
    }

    .category-sort-form .form-control {
        width: 125px;
        min-width: 125px;
    }
}



/* Son responsive öncelik: mobil araç çubuğu dikey değil kompakt yatay kalır. */
@media (max-width: 480px) {
    .category-list-page .category-sort-form {
        flex-direction: row;
        align-items: center;
    }

    .category-list-page .category-sort-form .form-control {
        width: 125px;
    }
}

/* ==========================================================================
   SENTIUS HOME PRODUCT DETAIL PAGE
   ========================================================================== */
.product-detail-breadcrumb {
    padding: 2rem 0 0;
}

.product-detail-breadcrumb .breadcrumb {
    justify-content: flex-start;
    margin: 0;
    font-size: 0.7rem;
    flex-wrap: wrap;
}

.product-detail-breadcrumb .breadcrumb span[aria-current="page"] {
    color: var(--primary-color);
}

.product-detail-section {
    padding: 2.5rem 0 6rem;
}

.product-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(360px, 0.85fr);
    align-items: start;
    gap: clamp(3rem, 6vw, 6rem);
}

.product-gallery-new {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    min-width: 0;
}

.product-thumbnails-vertical {
    display: flex;
    flex: 0 0 76px;
    flex-direction: column;
    gap: 0.7rem;
    max-height: 760px;
    padding-right: 0.2rem;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-color) transparent;
}

.product-thumb-button {
    display: block;
    flex: 0 0 auto;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.product-thumbnails-vertical .thumb {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    padding: 0.15rem;
    border: 1px solid transparent;
    background: var(--surface-color);
    object-fit: contain;
    opacity: 0.5;
    transition: var(--transition-fast);
}

.product-thumbnails-vertical .thumb.active,
.product-thumbnails-vertical .thumb:hover {
    border-color: var(--primary-color);
    opacity: 1;
}

.product-main-image {
    position: relative;
    flex: 1;
    min-width: 0;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: #f3f1ee;
    cursor: zoom-in;
}

.product-main-image > img {
    width: 100%;
    height: 100%;
    padding: 0;
    object-fit: contain;
    transition: opacity 0.2s ease, transform 0.45s ease;
}

.product-main-image:hover > img {
    transform: scale(1.015);
}

.product-zoom-hint {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(38, 36, 33, 0.18);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.86);
    color: var(--primary-color);
    pointer-events: none;
    backdrop-filter: blur(6px);
}

.product-zoom-hint svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
}

.product-detail-image-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 2rem;
    color: var(--text-light);
    font-family: var(--font-heading);
    font-size: 2rem;
    text-align: center;
}

.product-info-sticky {
    position: sticky;
    top: calc(var(--header-height) + 1.5rem);
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.product-title-block .eyebrow {
    display: inline-block;
    margin-bottom: 0.8rem;
}

.product-title-block h1 {
    margin: 0 0 1rem;
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 4vw, 4.25rem);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.025em;
}

.product-short-desc {
    margin: 0;
    color: var(--text-light);
    font-size: 0.98rem;
    line-height: 1.8;
}

.product-price {
    margin-top: 1.25rem;
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-size: 1.7rem;
}

.product-features-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    padding: 0;
    border: 1px solid var(--border-color);
}

.feature-item {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    align-items: center;
    gap: 0.7rem;
    min-width: 0;
    padding: 1rem;
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    color: var(--text-main);
    font-size: 0.78rem;
}

.feature-item:nth-child(2n) {
    border-right: 0;
}

.feature-item:nth-last-child(-n+2) {
    border-bottom: 0;
}

.feature-item span {
    display: block;
    min-width: 0;
    overflow-wrap: anywhere;
}

.feature-item small {
    display: block;
    margin-bottom: 0.2rem;
    color: var(--text-light);
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.feature-icon {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: var(--primary-color);
    stroke-width: 1.4;
}

.product-detail-accordion {
    border-bottom: 1px solid var(--border-color);
}

.product-detail-accordion .accordion-item {
    border-top: 1px solid var(--border-color);
}

.product-detail-accordion .accordion-header {
    width: 100%;
    padding: 1.15rem 0;
    border: 0;
    background: transparent;
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-size: 1.05rem;
    text-align: left;
    cursor: pointer;
}

.product-detail-accordion .accordion-header span {
    font-family: var(--font-body);
    font-size: 1rem;
}

.product-detail-accordion .accordion-content {
    padding: 0 0 1.3rem;
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.8;
}

.product-rich-content p {
    margin-bottom: 1rem;
}

.product-rich-content > *:last-child {
    margin-bottom: 0;
}

.product-rich-content h2,
.product-rich-content h3,
.product-rich-content h4 {
    margin: 1.5rem 0 0.75rem;
    color: var(--primary-color);
}

.product-rich-content ul,
.product-rich-content ol {
    margin: 0.8rem 0 1rem;
    padding-left: 1.3rem;
}

.product-rich-content ul {
    list-style: disc;
}

.product-rich-content ol {
    list-style: decimal;
}

.product-rich-content li {
    margin-bottom: 0.45rem;
}

.product-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.product-actions .btn {
    min-width: 0;
    padding-left: 1rem;
    padding-right: 1rem;
    text-align: center;
}

.product-whatsapp-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
}

.product-whatsapp-button svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.45;
}

.product-back-link {
    grid-column: 1 / -1;
    justify-self: start;
    margin-top: 0.35rem;
}

.related-products-section {
    padding: 5.5rem 0 6rem;
    border-top: 1px solid var(--border-color);
    background: var(--surface-color);
}

.related-products-section .section-header-center {
    margin-bottom: 3rem;
}

.related-product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.related-product-grid .product-info h3 {
    margin-bottom: 0.4rem;
    font-size: 1.2rem;
    line-height: 1.35;
}

.lightbox-overlay {
    padding: 2rem;
}

.lightbox-overlay[aria-hidden="false"],
.lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-close {
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.lightbox-img-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(92vw, 1500px);
    height: 90vh;
}

.lightbox-img-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Generic article fallback for blog and other content records. */
.article-detail-page .article-header .breadcrumb {
    justify-content: center;
    margin-bottom: 1.5rem;
}

.article-detail-page .article-header > p {
    max-width: 700px;
    margin: 1rem auto 0;
    color: var(--text-light);
    line-height: 1.8;
}

.article-detail-page .article-content table {
    display: block;
    width: 100%;
    margin: 2rem 0;
    overflow-x: auto;
    border-collapse: collapse;
}

.article-detail-page .article-content th,
.article-detail-page .article-content td {
    padding: 0.8rem;
    border: 1px solid var(--border-color);
}

@media (max-width: 1100px) {
    .product-detail-layout {
        grid-template-columns: minmax(0, 1.1fr) minmax(330px, 0.9fr);
        gap: 2.5rem;
    }

    .related-product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .product-detail-breadcrumb {
        padding-top: 1.5rem;
    }

    .product-detail-section {
        padding-top: 1.5rem;
        padding-bottom: 4rem;
    }

    .product-detail-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .product-info-sticky {
        position: static;
    }

    .product-gallery-new {
        flex-direction: column-reverse;
    }

    .product-thumbnails-vertical {
        flex: 0 0 auto;
        flex-direction: row;
        width: 100%;
        max-height: none;
        padding: 0 0 0.35rem;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x proximity;
    }

    .product-thumb-button {
        flex: 0 0 72px;
        width: 72px;
        scroll-snap-align: start;
    }

    .product-main-image {
        width: 100%;
        aspect-ratio: 4 / 5;
    }

    .related-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .product-detail-breadcrumb {
        padding-top: 1rem;
    }

    .product-detail-breadcrumb .breadcrumb {
        gap: 0.35rem;
        font-size: 0.62rem;
    }

    .product-detail-section {
        padding-top: 1rem;
        padding-bottom: 3rem;
    }

    .product-detail-layout {
        gap: 1.75rem;
    }

    .product-gallery-new {
        gap: 0.7rem;
    }

    .product-main-image {
        aspect-ratio: 1 / 1;
    }

    .product-main-image > img {
        object-fit: contain;
    }

    .product-thumb-button {
        flex-basis: 62px;
        width: 62px;
    }

    .product-title-block h1 {
        font-size: clamp(2rem, 11vw, 2.8rem);
    }

    .product-short-desc {
        font-size: 0.9rem;
        line-height: 1.7;
    }

    .product-features-grid {
        grid-template-columns: 1fr;
    }

    .feature-item,
    .feature-item:nth-child(2n),
    .feature-item:nth-last-child(-n+2) {
        border-right: 0;
        border-bottom: 1px solid var(--border-color);
    }

    .feature-item:last-child {
        border-bottom: 0;
    }

    .product-actions {
        grid-template-columns: 1fr;
    }

    .product-back-link {
        grid-column: auto;
    }

    .related-products-section {
        padding: 3.5rem 0 4rem;
    }

    .related-products-section .section-header-center {
        margin-bottom: 2rem;
    }

    .related-product-grid {
        gap: 1rem;
    }

    .related-product-grid .product-info h3 {
        font-size: 1rem;
    }

    .lightbox-overlay {
        padding: 1rem;
    }

    .lightbox-close {
        top: 1rem;
        right: 1rem;
        width: 42px;
        height: 42px;
    }
}

@media (max-width: 380px) {
    .related-product-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   PRODUCT DETAIL - 800x800 SQUARE IMAGE FIT
   ========================================================================== */
.product-main-image {
    aspect-ratio: 1 / 1;
    background: var(--surface-color);
}

.product-main-image > img {
    width: 100%;
    height: 100%;
    padding: 0;
    object-fit: cover;
    object-position: center;
}

.product-thumbnails-vertical .thumb {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center;
}

.product-detail-image-empty {
    aspect-ratio: 1 / 1;
}

@media (max-width: 900px) {
    .product-main-image {
        aspect-ratio: 1 / 1;
    }
}

@media (max-width: 560px) {
    .product-main-image {
        aspect-ratio: 1 / 1;
    }

    .product-main-image > img {
        object-fit: cover;
    }
}

/* ==========================================================================
   PRODUCT DETAIL ADVANTAGES
   ========================================================================== */
.product-advantages-panel {
    position: relative;
    padding: 1.35rem 1.4rem;
    border-top: 4px solid var(--accent-color);
    background: var(--surface-color);
}

.product-advantages-list {
    display: grid;
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.product-advantages-list li {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    align-items: center;
    gap: 0.75rem;
    color: var(--text-main);
    font-size: 0.84rem;
    font-weight: 500;
    line-height: 1.45;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.product-advantage-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    color: var(--primary-color);
}

.product-advantage-icon svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@media (max-width: 900px) {
    .product-advantages-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.9rem 1.25rem;
    }
}

@media (max-width: 560px) {
    .product-advantages-panel {
        padding: 1.1rem;
    }

    .product-advantages-list {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .product-advantages-list li {
        font-size: 0.78rem;
    }
}

/* Avantajlar alanı artık Kategoriye Dön bağlantısının altında yer alır. */
.product-actions + .product-advantages-panel {
    margin-top: 0.35rem;
}

@media (max-width: 560px) {
    .product-actions + .product-advantages-panel {
        margin-top: 0.15rem;
    }
}

/* ==========================================================================
   PRODUCT META BOXES BELOW GALLERY
   ========================================================================== */
.product-media-column {
    min-width: 0;
}

.product-features-grid--below-gallery {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    width: 100%;
    margin-top: 1rem;
    padding: 0;
    border: 1px solid var(--border-color);
}

.product-features-grid--below-gallery .feature-item,
.product-features-grid--below-gallery .feature-item:nth-child(2n),
.product-features-grid--below-gallery .feature-item:nth-last-child(-n+2) {
    min-height: 82px;
    padding: 1rem 0.85rem;
    border-right: 1px solid var(--border-color);
    border-bottom: 0;
}

.product-features-grid--below-gallery .feature-item:last-child {
    border-right: 0;
}

.product-features-grid--below-gallery .feature-item small {
    font-size: 0.58rem;
}

.product-features-grid--below-gallery .feature-item > span {
    font-size: 0.72rem;
}

@media (max-width: 1180px) {
    .product-features-grid--below-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product-features-grid--below-gallery .feature-item,
    .product-features-grid--below-gallery .feature-item:nth-child(2n),
    .product-features-grid--below-gallery .feature-item:nth-last-child(-n+2) {
        border-right: 1px solid var(--border-color);
        border-bottom: 1px solid var(--border-color);
    }

    .product-features-grid--below-gallery .feature-item:nth-child(2n) {
        border-right: 0;
    }

    .product-features-grid--below-gallery .feature-item:nth-last-child(-n+2) {
        border-bottom: 0;
    }
}

@media (max-width: 560px) {
    .product-features-grid--below-gallery {
        margin-top: 0.75rem;
    }

    .product-features-grid--below-gallery .feature-item,
    .product-features-grid--below-gallery .feature-item:nth-child(2n),
    .product-features-grid--below-gallery .feature-item:nth-last-child(-n+2) {
        min-height: 72px;
        padding: 0.8rem 0.7rem;
    }

    .product-features-grid--below-gallery .feature-icon {
        width: 18px;
        height: 18px;
    }

    .product-features-grid--below-gallery .feature-item > span {
        font-size: 0.66rem;
    }
}

/* ==========================================================================
   PRODUCT LIGHTBOX SLIDER
   ========================================================================== */
.lightbox-nav {
    position: fixed;
    top: 50%;
    z-index: 10002;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    background: rgba(20, 20, 20, 0.58);
    color: #fff;
    cursor: pointer;
    transform: translateY(-50%);
    backdrop-filter: blur(8px);
    transition: var(--transition-fast);
}

.lightbox-nav:hover {
    border-color: var(--accent-color);
    background: var(--accent-color);
    color: var(--primary-color);
}

.lightbox-nav svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.lightbox-prev {
    left: clamp(1rem, 3vw, 3rem);
}

.lightbox-next {
    right: clamp(1rem, 3vw, 3rem);
}

.lightbox-counter {
    position: fixed;
    bottom: 1.4rem;
    left: 50%;
    z-index: 10002;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-width: 72px;
    padding: 0.55rem 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    background: rgba(20, 20, 20, 0.62);
    color: #fff;
    font-size: 0.78rem;
    line-height: 1;
    transform: translateX(-50%);
    backdrop-filter: blur(8px);
}

.lightbox-img-wrapper img {
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.lightbox-img-wrapper img.is-changing {
    opacity: 0;
    transform: scale(0.985);
}

@media (max-width: 768px) {
    .lightbox-nav {
        width: 44px;
        height: 44px;
    }

    .lightbox-nav svg {
        width: 21px;
        height: 21px;
    }

    .lightbox-prev {
        left: 0.65rem;
    }

    .lightbox-next {
        right: 0.65rem;
    }

    .lightbox-counter {
        bottom: 0.9rem;
    }
}

