/* High-Fidelity "Exact Match" CSS */

:root {
    --bg-main: #FAF8F4;
    --text-dark: #2D1E17;
    --text-muted: #8A817C;
    --text-light: #B7AFAB;
    --accent-gold: #C5A039;
    --border-color: #E6E1D9;
    --card-shadow: 0 4px 25px rgba(0, 0, 0, 0.02);
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;
}

.sn-wp-wrapper * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.sn-wp-wrapper.detail-page-body {
    background-color: #FFFFFF;
    font-family: var(--font-sans);
    color: var(--text-dark);
    -webkit-font-smoothing: antialiased;
}

.app-container {
    display: flex;
    max-width: 1660px; /* Increased to 1660px as requested */
    margin: 0 auto;
    padding: 4rem 3rem;
    gap: 2.5rem; /* Reduced gap from 5rem to 2.5rem as requested */
}

/* Sidebar Styling (High Fidelity) */
.sidebar {
    flex: 0 0 320px; /* Slightly narrower */
    height: fit-content;
    position: sticky;
    top: 4rem;
    background: var(--bg-main);
    padding: 2rem 1.8rem; /* Reduced from 3rem and 2.8rem */
    border-radius: 2.5rem; /* Slightly less rounded for tighter fit */
    border: 1px solid #EAE5DD;
    box-shadow: 0 10px 40px rgba(0,0,0,0.02);
}

.sidebar-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1.5rem; /* Reduced from 2.2rem */
    border-bottom: 1px solid #ECE7E0;
    margin-bottom: 2rem; /* Reduced from 2.5rem */
}

.icon-box {
    background: #FFF;
    width: 44px; /* Slightly smaller */
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    box-shadow: 0 6px 20px rgba(0,0,0,0.03);
}

.icon-gold {
    width: 20px;
    color: var(--accent-gold);
}

.header-text h2 {
    font-family: var(--font-serif);
    font-size: 1.4rem; /* Slightly smaller */
    font-weight: 700;
    color: var(--text-dark);
}

.header-text p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Unified Filter Button Styles (All & Categories) */
.dropdown-trigger, .nav-item {
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1.2rem; /* Reduced from 1.1rem and 1.6rem */
    border-radius: 1.2rem;
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text-muted);
    background: transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

/* Base styles for the "All" box */
.dropdown-trigger {
    background: transparent;
    border: 1px solid transparent;
}

.gold-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-gold);
    border-radius: 50%;
    opacity: 0; /* Hidden by default */
    transform: scale(0.5);
    transition: all 0.4s ease;
}

/* Active State for any filter item */
.active-item, .active-filter {
    background: #251B15 !important;
    color: #FFF !important;
    font-weight: 600 !important;
    box-shadow: 0 12px 30px rgba(37, 27, 21, 0.2);
}

.active-item .gold-dot, .active-filter .gold-dot {
    opacity: 1;
    transform: scale(1);
}

.category-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem; /* Significantly reduced gap as requested */
    margin-bottom: 1.5rem;
}

/* Main Content Area */
.main-content {
    flex: 1;
}

.section-header {
    margin-bottom: 4rem;
}

.section-header h1 {
    font-family: var(--font-serif);
    font-size: 2.8rem;
    margin-bottom: 0.4rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem; /* Reduced from 2.5rem as requested */
}

.product-card {
    position: relative; /* Added for the cover-link */
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: 2rem;
    overflow: hidden; /* This clips the image to card radius */
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: column;
    /* Added transition for smooth filtering */
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 1;
    transform: translateY(0);
}

.cover-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
}

/* Restored Missing Card Styles */
.image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 0.4; /* Ultra-short as requested */
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.badge {
    position: absolute;
    padding: 0.6rem 1.2rem;
    border-radius: 3rem;
    font-size: 0.8rem;
    font-weight: 600;
}

.top-left { top: 15px; left: 15px; }
.top-right { top: 15px; right: 15px; }
.bottom-right { bottom: 15px; right: 15px; }

.gold-badge {
    background: var(--accent-gold);
    color: #FFF;
}

.location-tag {
    background: rgba(0, 0, 0, 0.4);
    color: #FFF;
    font-weight: 400;
    backdrop-filter: blur(5px);
}

.dark-badge {
    background: #251B15;
    color: #FFF;
}

.card-body {
    padding: 1.8rem 1.8rem 2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-title-row {
    margin-bottom: 0.6rem;
}

.card-title-row h3 {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    color: var(--text-dark);
    font-weight: 700;
}

.subtitle {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 400;
    margin-left: 0.5rem;
}

.card-desc {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin-bottom: 1.2rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: calc(1.55em * 2);
}

.card-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    white-space: nowrap;
}

.item-icon {
    width: 14px;
    height: 14px;
    color: var(--accent-gold);
    flex-shrink: 0;
}

.info-item span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.card-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 700;
    font-size: 1rem;
    margin-top: auto;
}

/* Fix "purple link" issue */
.sn-wp-wrapper a {
    color: inherit;
    text-decoration: none;
}

/* Product Detail Page Styles */
.sn-wp-wrapper.detail-page-body {
    background-color: #FFFFFF !important; /* Pure white background as requested */
    padding: 2rem 0; /* Remove horizontal padding so sections can go full-width */
}

.detail-nav {
    max-width: 1660px;
    margin: 0 auto 1.5rem; /* Reduced from 3rem */
    padding: 0 4rem;
}

.back-link {
    text-decoration: none;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 500;
}

.product-detail-container {
    max-width: 1660px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 2.5rem; /* Reduced from 6rem for a tighter section fit */
    align-items: start;
    padding: 0 4rem; /* Restore padding here */
}

/* Gallery Styles */
.detail-gallery {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.main-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 0.75;
    border-radius: 2.5rem;
    overflow: hidden;
    box-shadow: 0 15px 45px rgba(0,0,0,0.05);
}

.main-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Gallery Carousel Styles */
.thumbnail-wrapper {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 515px !important;
    margin: 0 auto !important;
    min-width: 0 !important;
}

.thumbnail-row {
    display: flex !important;
    gap: 10px !important;
    padding-top: 0.1rem !important;
    width: 100% !important;
    overflow-x: auto !important;
    scroll-behavior: smooth !important;
    -ms-overflow-style: none !important;
    scrollbar-width: none !important;
    min-width: 0 !important;
}

.thumbnail-row::-webkit-scrollbar {
    display: none !important;
}

.thumb-nav {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: #FFF !important;
    border: 1px solid #E6E1D9 !important;
    border-radius: 50% !important;
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    z-index: 10 !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important;
    color: var(--text-dark) !important;
    outline: none !important;
}

.thumb-nav svg {
    width: 18px !important;
    height: 18px !important;
    stroke: var(--text-dark) !important;
    margin: 0 !important;
}

.thumb-nav:hover,
.thumb-nav:focus,
.thumb-nav:active {
    background: #FAF8F4 !important;
    border-color: var(--accent-gold) !important;
    color: var(--text-dark) !important;
    outline: none !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important;
}

.thumb-nav:hover svg,
.thumb-nav:focus svg,
.thumb-nav:active svg {
    stroke: var(--text-dark) !important;
}

.prev-thumb {
    left: -16px !important;
}

.next-thumb {
    right: -16px !important;
}

.thumb {
    width: 95px !important;
    height: 95px !important;
    object-fit: cover !important;
    border-radius: 12px !important;
    cursor: pointer !important;
    border: 3px solid transparent !important;
    flex-shrink: 0 !important;
    transition: all 0.3s ease !important;
    box-sizing: border-box !important;
}

.thumb.active {
    border-color: var(--accent-gold) !important;
}

/* Info Section Styles */
.detail-info {
    padding-top: 0.5rem;
}

.breadcrumb {
    font-size: 0.75rem; /* Smaller */
    font-weight: 600;
    color: var(--text-light);
    letter-spacing: 0.6px;
    margin-bottom: 0.8rem; /* Reduced */
}

.dot-separator {
    margin: 0 0.6rem;
}

.product-name {
    font-family: var(--font-serif);
    font-size: 2.2rem; /* Significantly reduced from 3.2rem */
    line-height: 1;
    margin-bottom: 0.4rem;
    color: var(--text-dark);
}

.product-scientific {
    font-family: var(--font-serif);
    font-size: 1rem; /* Smaller */
    color: var(--text-light);
    margin-bottom: 1.8rem; /* Reduced */
}

.overview-section {
    margin-bottom: 2rem;
}

.overview-section h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.overview-section p, .overview-content p {
    font-size: 0.94rem; /* Smaller */
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 1.5rem; /* Reduced */
    max-width: 98%;
}

.overview-content p:last-child {
    margin-bottom: 0;
}

/* Spec Grid Styles */
.spec-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem; /* Even tighter gap */
    margin-bottom: 3rem;
}

.spec-card {
    background: #FAF8F4;
    border-radius: 1.1rem;
    padding: 1rem 1.2rem; /* Compact padding */
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    border: 1px solid #F0ECE4;
}

.spec-content {
    display: flex;
    flex-direction: column;
    gap: 0.3rem; /* Tighter gap */
}

.spec-content label {
    display: block;
    font-size: 0.6rem; /* Even smaller labels */
    font-weight: 700;
    color: #D4B483;
    letter-spacing: 0.4px;
    margin-bottom: 0;
}

.spec-content span {
    font-size: 0.88rem; /* Reduced */
    font-weight: 700;
    color: var(--text-dark);
}

/* Button & Actions Styles */
.detail-actions {
    display: flex;
    gap: 1.2rem; /* Reduced gap from 2rem */
}

.btn {
    border: none;
    border-radius: 5rem;
    padding: 0.8rem 1.8rem; /* Much more compact */
    font-size: 0.95rem; /* Smaller button text */
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #251B15;
    color: #FFF;
}

.btn-primary:hover {
    background: #000;
}

.btn-outline {
    background: transparent;
    border: 2px solid #251B15;
    color: #251B15;
}

.btn-outline:hover {
    background: #251B15;
    color: #FFF;
}

.arrow-icon {
    margin-left: 0.5rem;
    width: 18px;
}

.whatsapp-icon {
    width: 20px;
}

/* The Full Story Section Styles */
.story-section {
    background-color: #FAF8F4; /* Light cream background as requested */
    margin-top: 4rem; /* Adjusted for better flow */
    padding: 8rem 2rem;
    text-align: center;
}

.story-header {
    margin-bottom: 5rem;
}

.tagline {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: #D4B483;
    letter-spacing: 2px;
    margin-bottom: 1.2rem;
}

.story-title {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.story-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 650px;
    margin: 0 auto;
}

.story-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    text-align: left;
}

.story-card {
    background: #FFF;
    border: 1px solid #F0ECE4;
    border-radius: 2rem;
    padding: 3rem;
}

.card-header-row {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 2rem;
}

.story-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gold-icon {
    background: rgba(212, 180, 131, 0.1);
    color: #D4B483;
}

.green-icon {
    background: rgba(119, 149, 137, 0.1);
    color: #779589;
}

.small-gold {
    color: #D4B483;
    width: 32px;
    height: 32px;
    margin-bottom: 1.5rem;
}

.story-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
}

.story-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.card-text, .card-text-content p {
    font-size: 1.1rem;
    line-height: 1.85;
    color: var(--text-muted);
}
.card-text-content p:last-child {
    margin-bottom: 0;
}

/* Characteristics Grid */
.characteristics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.characteristics-grid .story-card {
    padding: 2.2rem;
}

.characteristic-text {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Pills Grid */
.pills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.pill {
    background: #FAF8F4;
    border-radius: 3rem;
    padding: 0.8rem 1.6rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
}

.pill i {
    width: 16px;
    color: #779589;
}

/* Responsive Implementation */
@media (max-width: 1100px) {
    .characteristics-grid {
        grid-template-columns: 1fr;
    }
}

/* Process Section (Third Section) - High Fidelity Dark Theme */
.process-section {
    background-color: #1F140F; /* Deep dark brown */
    padding: 10rem 4rem;
    color: #FFFFFF;
}

.process-header {
    text-align: center;
    margin-bottom: 6rem;
}

.process-tagline {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-gold);
    letter-spacing: 2.5px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.process-title {
    font-family: var(--font-serif);
    font-size: 4rem;
    color: #FFFFFF;
    margin: 0;
    font-weight: 500;
}

.process-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.process-row {
    display: grid;
    gap: 2.5rem;
}

.top-row {
    grid-template-columns: 1fr 1fr;
}

.middle-row {
    grid-template-columns: repeat(3, 1fr);
}

.bottom-row {
    grid-template-columns: 1fr 1fr;
}

.process-card {
    background: #2D1E17; /* Slightly lighter brown for cards */
    padding: 3.5rem;
    border-radius: 2rem;
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    border: 1px solid rgba(255,255,255,0.03);
}

.compact-card {
    padding: 2.5rem 3.5rem;
}

.card-icon-box.gold-icon-bg {
    width: 60px;
    height: 60px;
    background: rgba(197, 160, 57, 0.1);
    border-radius: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
    flex-shrink: 0;
}

.simple-icon-gold {
    color: var(--accent-gold);
    margin-top: 0.4rem;
}

.card-body-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    color: #FFFFFF;
    font-family: var(--font-serif);
}

.card-body-content p, .process-text-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-weight: 300;
    margin-bottom: 1rem;
}
.process-text-content p:last-child {
    margin-bottom: 0;
}

/* Image Cards */
.process-img-card {
    position: relative;
    height: 400px;
    border-radius: 2rem;
    overflow: hidden;
}

.process-img-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.process-img-card:hover img {
    transform: scale(1.1);
}

.img-label {
    position: absolute;
    bottom: 30px;
    left: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #FFFFFF;
    z-index: 2;
}

.process-img-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    z-index: 1;
}

/* Responsive */
@media (max-width: 1200px) {
    .process-section {
        padding: 6rem 2rem;
    }
    .top-row, .middle-row, .bottom-row {
        grid-template-columns: 1fr;
    }
    .process-title {
        font-size: 3rem;
    }
    .process-card {
        padding: 2.5rem;
    }
}

/* Usage & Compatibility Section */
.usage-section {
    background-color: #FFFFFF;
    padding: 8rem 4rem;
}

.usage-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
}

.usage-header {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 2rem;
}

.usage-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.usage-icon-box.orange {
    background: rgba(197, 160, 57, 0.1);
    color: var(--accent-gold);
}

.usage-icon-box.green {
    background: rgba(119, 149, 137, 0.1);
    color: #779589;
}

.usage-col h3 {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--text-dark);
    margin: 0;
}

.usage-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.usage-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.usage-item {
    background: #FAF8F4;
    padding: 1.2rem 1.8rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text-dark);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.usage-item:hover {
    background: #F3EEE7;
}

.usage-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-gold);
    border-radius: 50%;
}

.check-icon {
    width: 18px;
    height: 18px;
    color: #779589;
}

/* Related Products Section */
.related-section {
    background-color: #FAF8F4;
    padding: 10rem 4rem;
}

.related-header {
    text-align: center;
    margin-bottom: 6rem;
}

.related-title {
    font-family: var(--font-serif);
    font-size: 4rem;
    color: var(--text-dark);
    margin: 0;
    font-weight: 500;
}

.related-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.related-card {
    position: relative; /* Ensure cover-link is contained within the card */
    background: #FFFFFF;
    border-radius: 2.2rem;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.02);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
}

.related-card:hover {
    box-shadow: 0 20px 60px rgba(0,0,0,0.06);
}

.related-img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 0.75;
    overflow: hidden;
}

.related-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.related-card:hover .related-img-wrapper img {
    transform: scale(1.08);
}

.related-content {
    padding: 2.8rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.related-title-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
    margin-bottom: 1.2rem;
}

.related-title-row h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--text-dark);
    margin: 0;
    font-weight: 600;
    line-height: 1.25;
}

.related-subtitle {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 400;
    font-family: var(--font-serif);
    font-style: italic;
}

.related-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 2.5rem;
}

.related-link {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 700;
    color: var(--accent-gold);
    font-size: 1rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-link i {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.related-link:hover {
    color: #9C7E2D;
}

.related-link:hover i {
    transform: translateX(8px);
}

/* Responsive Fix for small screens */
@media (max-width: 1100px) {
    .app-container {
        flex-direction: column;
        padding: 2rem 1.5rem;
    }
    .sidebar {
        position: static;
        width: 100%;
        margin-bottom: 2rem;
    }
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    .product-detail-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 0 1.5rem;
    }
    .detail-nav {
        padding: 0 1.5rem;
    }
    .spec-grid {
        grid-template-columns: 1fr;
    }
    .detail-actions {
        flex-direction: column;
        width: 100%;
    }
    .detail-actions .btn {
        width: 100%;
        justify-content: center;
    }
    .product-name {
        font-size: 2rem;
    }
    .story-section {
        padding: 4rem 1.5rem;
    }
    .story-card {
        padding: 2rem;
    }
    .usage-container, .related-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .usage-section, .related-section {
        padding: 4rem 1.5rem;
    }
    .related-title, .story-title, .process-title {
        font-size: 2.5rem;
    }
    .main-image-wrapper {
        aspect-ratio: 1 / 0.8;
    }
}

@media (max-width: 768px) {
    .product-name {
        font-size: 1.8rem;
    }
    .related-title, .story-title, .process-title {
        font-size: 2rem;
    }
    .story-card {
        padding: 1.5rem;
    }
    .process-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    .sn-wp-wrapper .thumb {
        width: 60px !important;
        height: 60px !important;
        border-radius: 8px !important;
        flex-shrink: 0 !important;
    }
    .sn-wp-wrapper .thumbnail-wrapper {
        max-width: 200px !important; /* Exactly 3 images (60x3 + 10x2) */
        padding: 0 !important;
        margin: 0 auto !important;
    }
    .sn-wp-wrapper button.prev-thumb {
        left: -16px !important;
    }
    .sn-wp-wrapper button.next-thumb {
        right: -16px !important;
    }
}

/* ─── Trust Badges Section ─── */
.trust-badges-section {
    background-color: var(--bg-main);
    border-top: 1px solid var(--border-color);
    padding: 3.5rem 4rem;
}

.trust-badges-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem 4rem;
}

.trust-badge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.8rem;
    min-width: 120px;
    max-width: 160px;
    flex: 1 1 120px;
}

.trust-badge-icon-wrap {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
}

.trust-badge-icon-wrap i {
    width: 32px;
    height: 32px;
}

.trust-badge-svg {
    width: 32px;
    height: 32px;
    object-fit: contain;
    display: block;
}

.trust-badge-title {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.3;
}

.trust-badge-text {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .trust-badges-section {
        padding: 2.5rem 1.5rem;
    }
    .trust-badges-container {
        gap: 1.5rem 2rem;
    }
    .trust-badge-item {
        min-width: 90px;
        max-width: 120px;
    }
}

/* ═══════════════════════════════════════════
   Category Archive Page
   ═══════════════════════════════════════════ */

.sn-cat-archive {
    background-color: #FFFFFF;
    font-family: var(--font-sans);
    color: var(--text-dark);
    -webkit-font-smoothing: antialiased;
}

/* ── Hero Banner ── */
.cat-archive-hero {
    background: linear-gradient(135deg, #1F140F 0%, #2D1E17 60%, #3A2519 100%);
    padding: 5rem 4rem 4rem;
    position: relative;
    overflow: hidden;
}

.cat-archive-hero::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(197,160,57,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.cat-archive-hero-inner {
    max-width: 1400px;
    margin: 0 auto;
}

.cat-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 2.5rem;
    transition: color 0.25s ease;
}

.cat-back-link:hover { color: var(--accent-gold); }
.cat-back-link i { width: 16px; height: 16px; }

.cat-hero-text { color: #fff; }

.cat-hero-label {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.cat-hero-title {
    font-family: var(--font-serif);
    font-size: 3.8rem;
    font-weight: 600;
    line-height: 1.1;
    margin: 0 0 1rem;
    color: #fff;
}

.cat-hero-desc {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.65);
    max-width: 580px;
    line-height: 1.65;
    margin: 0 0 2rem;
}

.cat-hero-meta { display: flex; gap: 1rem; flex-wrap: wrap; }

.cat-count-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(197,160,57,0.15);
    border: 1px solid rgba(197,160,57,0.3);
    color: var(--accent-gold);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.45rem 1.1rem;
    border-radius: 3rem;
}

.cat-count-pill i { width: 14px; height: 14px; }

/* ── Body Layout ── */
.cat-archive-body {
    display: flex;
    max-width: 1660px;
    margin: 0 auto;
    padding: 4rem 3rem;
    gap: 2.5rem;
    align-items: flex-start;
}

/* ── Sidebar ── */
.cat-archive-sidebar {
    flex: 0 0 300px;
    position: sticky;
    top: 4rem;
}

.cat-sidebar-inner {
    background: var(--bg-main);
    padding: 2rem 1.8rem;
    border-radius: 2.5rem;
    border: 1px solid #EAE5DD;
    box-shadow: 0 10px 40px rgba(0,0,0,0.02);
}

/* ── Main content ── */
.cat-archive-main { flex: 1; min-width: 0; }

.cat-archive-heading {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    margin-bottom: 0.3rem;
    color: var(--text-dark);
}

/* ── Empty State ── */
.cat-no-products {
    text-align: center;
    padding: 6rem 2rem;
    color: var(--text-muted);
}

.cat-empty-icon {
    width: 80px;
    height: 80px;
    background: var(--bg-main);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    border: 1px solid var(--border-color);
}

.cat-empty-icon i { width: 36px; height: 36px; color: var(--text-light); }

.cat-no-products h3 {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 0.6rem;
}

.cat-no-products p { font-size: 1rem; }

/* ── Responsive ── */
@media (max-width: 1100px) {
    .cat-archive-body {
        flex-direction: column;
        padding: 2rem 1.5rem;
    }
    .cat-archive-sidebar {
        position: static;
        width: 100%;
        flex: none;
    }
    .cat-archive-hero {
        padding: 3.5rem 1.5rem 3rem;
    }
    .cat-hero-title { font-size: 2.6rem; }
}

@media (max-width: 768px) {
    .cat-hero-title { font-size: 2rem; }
    .cat-archive-hero { padding: 2.5rem 1.2rem 2.5rem; }
}

/* ── No Products Found (JS-driven filter empty state) ── */
#sn-no-products {
    padding: 5rem 2rem;
}

.sn-no-products-inner {
    max-width: 420px;
    margin: 0 auto;
    text-align: center;
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: 2rem;
    padding: 3.5rem 2.5rem;
}

.sn-no-products-icon {
    width: 72px;
    height: 72px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.8rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.04);
}

.sn-no-products-icon i {
    width: 30px;
    height: 30px;
    color: var(--text-light);
}

.sn-no-products-inner h3 {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    color: var(--text-dark);
    margin: 0 0 0.8rem;
}

.sn-no-products-inner p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0;
}

.sn-reset-filter {
    color: var(--accent-gold);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.sn-reset-filter:hover {
    color: #9C7E2D;
    text-decoration: underline;
}

/* Pagination Styles */
.sn-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
    width: 100%;
    grid-column: 1 / -1;
}

.pagination-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--text-dark);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination-btn:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

.pagination-btn.active {
    background: #251B15;
    border-color: #251B15;
    color: #FFF;
}

.pagination-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}
