/* ─────────────────────────────────────────────────────────────
   Vedic Spices — Main Stylesheet
   Design: warm cream tones, terracotta accents, premium serif
───────────────────────────────────────────────────────────── */

/* ── Variables ── */
:root {
    --cream:        #f0ebe3;
    --cream-dark:   #e9e2d7;
    --card-img-bg:  #e8e1d6;
    --white:        #ffffff;
    --dark:         #2a1f14;
    --dark-muted:   #5a4a3a;
    --terracotta:   #b5341e;
    --terracotta-h: #9a2918;
    --gold:         #b8842a;
    --muted:        #7a6a5a;
    --border:       #ddd6cc;
    --shadow:       rgba(42, 31, 20, 0.08);
    --radius:       10px;

    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    background-color: var(--cream);
    color: var(--dark);
    line-height: 1.6;
    font-size: 15px;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Header ── */
.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 16px rgba(42,31,20,0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 85px;
    gap: 24px;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
    white-space: nowrap;
}

.logo-icon { font-size: 1.4rem; }

.logo-img {
    height: 58px;
    width: auto;
    object-fit: contain;
    display: block;
    border-radius: 4px;
    mix-blend-mode: multiply;   /* makes white bg of JPEG transparent on white header */
}

.logo-img--footer {
    height: 58px;
    mix-blend-mode: screen;     /* white bg disappears on dark footer, logo colours show through */
    filter: none;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.site-nav a {
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: capitalize;
    color: var(--dark-muted);
    transition: color 0.2s;
}

.site-nav a:hover { color: var(--terracotta); }

/* Dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-trigger {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--dark-muted);
    cursor: pointer;
    user-select: none;
    transition: color 0.2s;
}

.nav-dropdown:hover .nav-dropdown-trigger { color: var(--terracotta); }

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 8px 0;
    min-width: 160px;
    box-shadow: 0 8px 24px var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity 0.2s, transform 0.2s;
    z-index: 200;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.nav-dropdown-menu a {
    display: block;
    padding: 8px 20px;
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.nav-dropdown-menu a:hover {
    background: var(--cream);
    color: var(--terracotta);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: 0.3s;
}

/* ── Header Social Icons ── */
.header-social {
    display: flex;
    align-items: center;
    gap: 2px;
    flex-shrink: 0;
    background: var(--cream);
    border: 1.5px solid var(--border);
    border-radius: 50px;
    padding: 4px 8px;
}
.header-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: var(--dark-muted);
    transition: color 0.2s, background 0.2s;
}
.header-social-link:hover {
    color: var(--terracotta);
    background: var(--white);
}

/* ── Header Search Pill ── */
.header-search-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    max-width: 300px;
    padding: 8px 16px;
    border: 1.5px solid var(--border);
    border-radius: 50px;
    background: var(--cream);
    cursor: pointer;
    font-size: 0.84rem;
    color: var(--muted);
    font-family: var(--font-sans);
    transition: border-color 0.2s, box-shadow 0.2s;
    white-space: nowrap;
    overflow: hidden;
}
.header-search-btn:hover {
    border-color: var(--terracotta);
    box-shadow: 0 0 0 3px rgba(181,52,30,0.08);
}
.header-search-btn svg { flex-shrink: 0; color: var(--terracotta); }

/* ── Search Overlay ── */
.search-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(42,31,20,0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 500;
    align-items: flex-start;
    justify-content: center;
    padding-top: 90px;
}
.search-overlay.open { display: flex; }

.search-overlay-box {
    width: 100%;
    max-width: 600px;
    margin: 0 16px;
    animation: searchSlideIn 0.2s ease;
}
@keyframes searchSlideIn {
    from { opacity:0; transform: translateY(-12px); }
    to   { opacity:1; transform: translateY(0); }
}

.search-input-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--white);
    border-radius: 14px;
    padding: 14px 18px;
    box-shadow: 0 20px 60px rgba(42,31,20,0.28);
}
.search-input-wrap svg { flex-shrink: 0; color: var(--terracotta); }

.search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1rem;
    color: var(--dark);
    background: transparent;
    font-family: var(--font-sans);
}
.search-input::placeholder { color: var(--muted); }

.search-close {
    flex-shrink: 0;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    line-height: 1;
    color: var(--muted);
    padding: 0 2px;
    transition: color 0.2s;
}
.search-close:hover { color: var(--dark); }

/* Results list */
.search-results {
    background: var(--white);
    border-radius: 12px;
    margin-top: 8px;
    overflow: hidden;
    max-height: 400px;
    overflow-y: auto;
    box-shadow: 0 12px 40px rgba(42,31,20,0.18);
}
.sr-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 11px 18px;
    color: var(--dark);
    text-decoration: none;
    border-bottom: 1px solid var(--border);
    transition: background 0.15s;
}
.sr-item:last-child { border-bottom: none; }
.sr-item:hover { background: var(--cream); }
.sr-thumb {
    width: 46px;
    height: 46px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    background: var(--cream-dark);
}
.sr-placeholder {
    width: 46px; height: 46px;
    border-radius: 8px;
    background: var(--cream-dark);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; flex-shrink: 0;
}
.sr-name { font-size: 0.9rem; font-weight: 600; }
.sr-cat  { font-size: 0.76rem; color: var(--muted); margin-top: 2px; }
.sr-msg  { padding: 18px; text-align: center; color: var(--muted); font-size: 0.88rem; }

/* ── Hero Tagline Stripe ── */
.hero-stripe {
    background: var(--terracotta);
    background-image:
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 40px,
            rgba(255,255,255,0.06) 40px,
            rgba(255,255,255,0.06) 41px
        );
    border-top: 3px solid var(--gold);
    border-bottom: 3px solid var(--gold);
    padding: 10px 0;
    overflow: hidden;
    white-space: nowrap;
}
.hero-stripe-track {
    display: inline-flex;
    align-items: center;
    animation: stripeScroll 30s linear infinite;
    will-change: transform;
}
.hero-stripe-track:hover { animation-play-state: paused; }
.hero-stripe-text {
    display: inline-block;
    padding-right: 48px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #fff;
}
@keyframes stripeScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ── Hero ── */
.hero {
    position: relative;
    min-height: 76vh;
    display: flex;
    align-items: center;
    padding-top: 48px;
    background-color: var(--cream-dark);
    overflow: hidden;
}

/* Slide layer */
.hero-slider {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    will-change: opacity;
}

.hero-slide.active { opacity: 1; }

/* Gradient overlay above slides */
.hero::after {
    content: none;
}

.hero-content {
    position: relative;
    z-index: 3;
    color: var(--white);
    max-width: 580px;
}

.hero-content h1 {
    font-family: var(--font-serif);
    font-size: clamp(2.6rem, 5.5vw, 4.6rem);
    font-weight: 700;
    line-height: 1.08;
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.hero-content p {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    font-weight: 300;
    opacity: 0.88;
    margin-bottom: 44px;
    line-height: 1.65;
    max-width: 520px;
}

.hero-no-image {
    background: linear-gradient(135deg, #3b2a1a 0%, #5a3e28 50%, #7a5535 100%);
}

/* Scroll hint */
@keyframes heroScrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.7; }
    50%       { transform: translateX(-50%) translateY(8px); opacity: 1; }
}

.hero-scroll-hint {
    position: absolute;
    bottom: 52px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    color: rgba(255,255,255,0.75);
    font-size: 1.4rem;
    line-height: 1;
    animation: heroScrollBounce 2s ease-in-out infinite;
    pointer-events: none;
    user-select: none;
}

/* Dot navigation */
.slider-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 3;
}

.slider-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.25s, transform 0.25s;
    outline: none;
}

.slider-dot.active,
.slider-dot:hover {
    background: #ffffff;
    transform: scale(1.3);
}

/* Prev / next arrow buttons (optional, shown on hover) */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background 0.2s;
    opacity: 0;
    pointer-events: none;
}

.hero:hover .slider-arrow {
    opacity: 1;
    pointer-events: auto;
}

.slider-arrow:hover { background: rgba(255,255,255,0.3); }
.slider-arrow-prev { left: 20px; }
.slider-arrow-next { right: 20px; }

/* ── Buttons ── */
.btn {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 14px 32px;
    border-radius: 4px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn-primary {
    background: var(--terracotta);
    color: var(--white);
    border-color: var(--terracotta);
}

.btn-primary:hover {
    background: var(--terracotta-h);
    border-color: var(--terracotta-h);
}

.btn-outline {
    background: transparent;
    color: var(--dark);
    border-color: var(--border);
}

.btn-outline:hover {
    border-color: var(--terracotta);
    color: var(--terracotta);
}

.btn-white {
    background: var(--white);
    color: var(--dark);
    border-color: var(--white);
}

.btn-white:hover {
    background: var(--cream);
}

/* ── Section layout ── */
.section {
    padding: 72px 0;
}

.section-header {
    margin-bottom: 48px;
}

.section-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--terracotta);
    margin-bottom: 10px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 700;
    color: var(--dark);
    line-height: 1.2;
}

/* ── Best Sellers big heading ── */
.bestseller-title {
    font-family: var(--font-serif);
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--dark);
    text-align: center;
    margin-bottom: 48px;
    position: relative;
}
.bestseller-title::after {
    content: '';
    display: block;
    width: 72px;
    height: 3px;
    background: var(--terracotta);
    border-radius: 2px;
    margin: 14px auto 0;
}

.section-footer {
    text-align: center;
    margin-top: 48px;
}

/* ── Product Grid ── */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* ── Product Card ── */
.product-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 2px 12px var(--shadow);
    transition: transform 0.25s, box-shadow 0.25s;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(42, 31, 20, 0.14);
}

.product-card-image {
    aspect-ratio: 4/3;
    background-color: var(--card-img-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.product-card-placeholder svg {
    width: 64px;
    height: 64px;
    opacity: 0.45;
}

.product-card-body {
    padding: 20px 22px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.card-category {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--terracotta);
}

.card-name {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.25;
    margin-top: 2px;
}

.card-sizes {
    font-size: 0.82rem;
    color: var(--gold);
    font-weight: 500;
    margin-top: 2px;
}

.card-desc {
    font-size: 0.84rem;
    color: var(--muted);
    line-height: 1.55;
    margin-top: 4px;
    flex: 1;
}

/* ── Category Section ── */
.category-section {
    padding: 64px 0;
    border-top: 1px solid var(--border);
}

.category-section:first-child { border-top: none; }

/* ── Breadcrumb ── */
.breadcrumb {
    padding: 18px 0;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.breadcrumb a { color: var(--terracotta); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb-sep { color: var(--border); }

/* ── Product Detail ── */
.product-detail {
    padding: 40px 0 80px;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.product-main-image {
    aspect-ratio: 1;
    background: var(--card-img-bg);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-gallery-row {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 10px;
}

.product-gallery-thumb {
    width: 76px;
    height: 76px;
    flex-shrink: 0;
    aspect-ratio: 1;
    background: var(--card-img-bg);
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.2s;
}

.product-gallery-thumb.active,
.product-gallery-thumb:hover {
    border-color: var(--gold);
}

.product-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Product info side */
.product-info-category {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--terracotta);
    margin-bottom: 10px;
}

.product-info-title {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 700;
    color: var(--dark);
    line-height: 1.15;
    margin-bottom: 16px;
}

.product-info-divider {
    width: 40px;
    height: 2px;
    background: var(--gold);
    margin-bottom: 20px;
}

.product-info-sizes {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--cream-dark);
    border-radius: 6px;
    padding: 8px 16px;
    font-size: 0.82rem;
    color: var(--dark-muted);
    margin-bottom: 24px;
}

.product-info-sizes svg {
    width: 14px;
    height: 14px;
    opacity: 0.5;
}

.product-info-desc {
    font-size: 0.95rem;
    color: var(--muted);
    line-height: 1.75;
    margin-bottom: 24px;
}

.product-featured-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 24px;
}

/* Inquiry Box */
.inquiry-box {
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 28px 24px;
}

.inquiry-box h3 {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--dark);
    margin-bottom: 10px;
}

.inquiry-box p {
    font-size: 0.88rem;
    color: var(--muted);
    margin-bottom: 20px;
    line-height: 1.6;
}

.product-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--terracotta);
    margin-top: 40px;
    padding-bottom: 60px;
}

.product-back-link:hover { text-decoration: underline; }

/* ── Products Hero Banner ── */
.products-hero {
    background:
        radial-gradient(ellipse at 82% 10%, rgba(184, 132, 42, 0.13) 0%, transparent 45%),
        radial-gradient(ellipse at 12% 95%, rgba(181, 52, 30, 0.10) 0%, transparent 42%),
        radial-gradient(ellipse at 50% 50%, rgba(255, 251, 245, 0.55) 0%, transparent 65%),
        linear-gradient(155deg, #e5ddd0 0%, #f6ede0 38%, #ede5d8 65%, #e2d9cb 100%);
    position: relative;
    overflow: hidden;
    padding-bottom: 64px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 48px;
}

/* Decorative ring elements */
.products-hero-deco {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

/* Large concentric rings — top-right corner */
.products-hero-deco--1 {
    top: -140px;
    right: -140px;
    width: 540px;
    height: 540px;
    border: 1.5px solid rgba(184, 132, 42, 0.14);
}
.products-hero-deco--1::before,
.products-hero-deco--1::after {
    content: '';
    position: absolute;
    border-radius: 50%;
}
.products-hero-deco--1::before {
    inset: 55px;
    border: 1px solid rgba(184, 132, 42, 0.09);
}
.products-hero-deco--1::after {
    inset: 110px;
    border: 1px solid rgba(184, 132, 42, 0.06);
}

/* Smaller rings — bottom-left corner */
.products-hero-deco--2 {
    bottom: -100px;
    left: -100px;
    width: 380px;
    height: 380px;
    border: 1.5px solid rgba(181, 52, 30, 0.12);
}
.products-hero-deco--2::before {
    content: '';
    position: absolute;
    inset: 48px;
    border-radius: 50%;
    border: 1px solid rgba(181, 52, 30, 0.07);
}

/* Soft glow accent — right center */
.products-hero-deco--3 {
    top: 20%;
    right: 5%;
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, rgba(184, 132, 42, 0.13) 0%, transparent 70%);
}

/* ── Products Page ── */
.products-page-header {
    padding: 44px 0 36px;
}

.products-page-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.products-page-sub {
    color: var(--muted);
    font-size: 1rem;
}

/* ── Shop by Category ── */
.sbc-section {
    border-bottom: 1px solid var(--border);
    padding-bottom: 64px;
}

.sbc-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.sbc-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 16px 20px;
    text-align: center;
    text-decoration: none;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
    cursor: pointer;
}
.sbc-card:hover {
    border-color: var(--terracotta);
    box-shadow: 0 6px 24px rgba(181, 52, 30, 0.10);
    transform: translateY(-3px);
}

.sbc-card-img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 6px;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 14px;
}
.sbc-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.sbc-card-placeholder {
    font-size: 2rem;
    line-height: 1;
}

.sbc-card-name {
    font-family: var(--font-serif);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
    line-height: 1.3;
}
.sbc-card:hover .sbc-card-name { color: var(--terracotta); }

.sbc-card-count {
    font-size: 0.78rem;
    color: var(--muted);
    font-weight: 400;
}

/* ── Featured Products Filter Pills ── */
.fp-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 36px;
}

.fp-filter-btn {
    padding: 9px 22px;
    border-radius: 40px;
    border: 1.5px solid var(--border);
    background: transparent;
    color: var(--dark-muted);
    font-family: var(--font-sans);
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.15s;
}
.fp-filter-btn:hover {
    border-color: var(--terracotta);
    color: var(--terracotta);
    transform: translateY(-1px);
}
.fp-filter-btn.active {
    background: var(--terracotta);
    border-color: var(--terracotta);
    color: var(--white);
}

/* ── Category image filter ── */
.cat-filter-wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 52px;
}

.category-filter {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 8px 4px 14px;
    flex: 1;
}
.category-filter::-webkit-scrollbar { display: none; }

.cat-filter-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    scroll-snap-align: start;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.18s;
}
.cat-filter-card:hover { transform: translateY(-3px); }

.cat-filter-img {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: var(--cream);
    border: 2px solid var(--border);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.cat-filter-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(30%);
    transition: filter 0.2s;
}
.cat-filter-card:hover .cat-filter-img img,
.cat-filter-card.active .cat-filter-img img { filter: grayscale(0%); }

.cat-filter-card.active .cat-filter-img {
    border-color: var(--terracotta);
    box-shadow: 0 0 0 3px rgba(181,52,30,0.15);
}

.cat-filter-label {
    font-size: 0.76rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--dark-muted);
    text-align: center;
    max-width: 96px;
    line-height: 1.3;
    transition: color 0.2s;
}
.cat-filter-card.active .cat-filter-label,
.cat-filter-card:hover .cat-filter-label { color: var(--terracotta); }

/* Label under active card gets a dot indicator */
.cat-filter-card.active .cat-filter-label::after {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--terracotta);
    margin: 4px auto 0;
}

.cat-filter-arrow {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--dark);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s, border-color 0.2s;
    z-index: 2;
}
.cat-filter-arrow:hover { background: var(--cream); border-color: var(--terracotta); }
.cat-filter-arrow--prev { margin-right: 6px; }
.cat-filter-arrow--next { margin-left: 6px; }

/* ── Footer ── */
.site-footer {
    background: var(--dark);
    color: var(--white);
    margin-top: 80px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 56px;
    padding: 60px 0 48px;
}

.footer-brand .logo-text {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--white);
}

.footer-tagline {
    margin-top: 10px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.55);
    font-style: italic;
}

.site-footer h4 {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.65);
    transition: color 0.2s;
}

.footer-links a:hover { color: var(--white); }

.footer-contact p {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 12px;
    line-height: 1.6;
}

.footer-email {
    font-size: 0.88rem;
    color: var(--gold);
    transition: opacity 0.2s;
}

.footer-email:hover { opacity: 0.8; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 18px 0;
}

.footer-bottom p {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.4);
    text-align: center;
}

/* ── Utility ── */
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }

/* ── No products message ── */
.empty-state {
    text-align: center;
    padding: 64px 0;
    color: var(--muted);
}

.empty-state h3 {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    margin-bottom: 8px;
    color: var(--dark);
}

/* ── Responsive ── */

/* ── Tablet (≤1024px) ── */
@media (max-width: 1024px) {
    .product-grid          { grid-template-columns: repeat(2, 1fr); }
    .product-detail-grid   { gap: 40px; }
    .footer-inner          { grid-template-columns: 1fr 1fr; gap: 40px; }
    .sbc-grid              { grid-template-columns: repeat(4, 1fr); }
}

/* ── Mobile (≤768px) ── */
@media (max-width: 768px) {

    /* Container */
    .container { padding: 0 16px; }

    /* ── Header ── */
    .header-inner { height: 64px; }
    .logo-img     { height: 44px; }
    .header-search-btn span { display: none; }  /* icon only on mobile */
    .header-search-btn { max-width: 42px; padding: 8px 11px; }

    /* ── Mobile Nav overlay ── */
    .site-nav {
        display: none;
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        align-items: stretch;
        padding: 0 16px 20px;
        border-bottom: 1px solid var(--border);
        gap: 0;
        z-index: 99;
        box-shadow: 0 8px 28px rgba(42,31,20,0.10);
    }
    .site-nav a {
        width: 100%;
        padding: 15px 4px;
        font-size: 0.95rem;
        letter-spacing: 0.02em;
        text-transform: none;
        border-bottom: 1px solid var(--border);
        color: var(--dark);
    }
    .site-nav a:last-child { border-bottom: none; }
    .site-nav.open { display: flex; }
    .nav-toggle    { display: flex; }

    .nav-dropdown-menu {
        position: static;
        opacity: 1;
        pointer-events: auto;
        transform: none;
        box-shadow: none;
        border: none;
        padding: 4px 0 4px 16px;
    }

    /* ── Hero ── */
    .hero { min-height: 54vh; padding-top: 32px; }
    .hero-content h1      { font-size: clamp(1.9rem, 8vw, 2.6rem); margin-bottom: 14px; }
    .hero-content p       { font-size: 0.95rem; margin-bottom: 28px; }
    .hero-scroll-hint     { bottom: 38px; }
    /* Show slider arrows on mobile (no hover) */
    .hero:not(:hover) .slider-arrow,
    .slider-arrow {
        opacity: 1;
        pointer-events: auto;
        width: 34px;
        height: 34px;
        font-size: 0.85rem;
    }

    /* ── Section spacing ── */
    .section          { padding: 44px 0; }
    .section-header   { margin-bottom: 28px; }
    .section-footer   { margin-top: 28px; }
    .category-section { padding: 36px 0; }

    /* ── Featured filter pills ── */
    .fp-filter     { gap: 6px; margin-bottom: 24px; }
    .fp-filter-btn { padding: 7px 15px; font-size: 0.70rem; }

    /* ── Shop by Category ── */
    .sbc-grid    { grid-template-columns: repeat(3, 1fr); gap: 12px; }
    .sbc-card    { padding: 18px 12px 14px; }
    .sbc-card-name { font-size: 0.88rem; }

    /* ── Product Grid — 2 cols on mobile ── */
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }

    /* Compact card body */
    .product-card-body { padding: 12px 12px 14px; gap: 4px; }
    .card-name         { font-size: 1rem; }
    .card-desc         { font-size: 0.80rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-clamp: 2; overflow: hidden; }

    /* ── Product Detail ── */
    .product-detail      { padding: 20px 0 48px; }
    .product-detail-grid { grid-template-columns: 1fr; gap: 24px; }
    .product-info-title  { font-size: clamp(1.5rem, 6vw, 2rem); }
    .inquiry-box         { padding: 20px 18px; }
    .product-back-link   { margin-top: 28px; padding-bottom: 36px; }

    /* ── Products page hero ── */
    .products-hero        { padding-bottom: 32px; margin-bottom: 24px; }
    .products-page-header { padding: 26px 0 14px; }

    /* ── Category image filter ── */
    .cat-filter-wrap   { margin-bottom: 32px; }
    .cat-filter-img    { width: 72px; height: 72px; }
    .cat-filter-label  { font-size: 0.68rem; max-width: 72px; }
    .cat-filter-arrow  { display: none; }

    /* ── Breadcrumb ── */
    .breadcrumb { padding: 12px 0; }

    /* ── Footer ── */
    .site-footer  { margin-top: 48px; }
    .footer-inner { grid-template-columns: 1fr; gap: 28px; padding: 36px 0 28px; }
}

/* ── Small phones (≤480px) ── */
@media (max-width: 480px) {
    .hero          { min-height: 48vh; padding-top: 24px; }
    .hero-scroll-hint { display: none; }

    /* Tighter product grid */
    .product-grid { gap: 10px; }
    .product-card-body { padding: 10px 10px 12px; }
    .card-name    { font-size: 0.92rem; }

    /* Buttons */
    .btn { padding: 12px 20px; font-size: 0.72rem; }

    /* Gallery thumbs */
    .product-gallery-thumb { width: 60px; height: 60px; }

    /* Products hero decorations — hide on very small screens */
    .products-hero-deco--1,
    .products-hero-deco--2 { display: none; }

    /* Shop by Category — 2 cols on tiny screens */
    .sbc-grid     { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .sbc-card     { padding: 14px 10px 12px; }
}

