* { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: var(--font-size-base, 16px); }
body {
    font-family: var(--font-body, 'Inter', 'Hind Siliguri', 'Segoe UI', system-ui, -apple-system, sans-serif);
    background: var(--surface, #F7F3EC);
    color: var(--text, #211C1C);
    font-size: var(--fs-body, 1rem);
    line-height: var(--line-height-base, 1.6);
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display, 'Cormorant Garamond', 'Noto Serif Bengali', Georgia, serif);
    color: var(--text, #211C1C);
    line-height: var(--line-height-display, 1.15);
    font-weight: 600;
}
h1 { font-size: var(--fs-h1, 2.25rem); }
h2 { font-size: var(--fs-h2, 1.75rem); }
h3 { font-size: var(--fs-h3, 1.375rem); }
small, .caption { font-size: var(--fs-caption, 0.75rem); }
/* Uppercase letter-spaced editorial labels */
.eyebrow, .section-label, .uppercase-label {
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing-label, 0.18em);
    font-size: var(--fs-small, 0.875rem);
    font-family: var(--font-body, sans-serif);
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }

/* ===== Announcement Bar (rotating; styled with palette + typography tokens) ===== */
.announcement-bar {
    background: var(--primary, #5A1A2B);
    color: var(--surface, #F7F3EC);
    font-family: var(--font-body, 'Inter', 'Hind Siliguri', 'Segoe UI', system-ui, -apple-system, sans-serif);
    font-size: var(--fs-caption, 0.75rem);
    letter-spacing: var(--letter-spacing-label, 0.18em);
    text-transform: uppercase;
    text-align: center;
}
.announcement-bar .container {
    position: relative;
    min-height: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: var(--space-xs, 0.5rem);
    padding-bottom: var(--space-xs, 0.5rem);
}
/* Progressive enhancement: only the .active message shows; first is .active without JS */
.announcement-msg { display: none; width: 100%; }
.announcement-msg.active { display: block; }
.announcement-msg a {
    color: var(--secondary, #B98A4B);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}
.announcement-msg a:hover { border-bottom-color: var(--secondary, #B98A4B); }

/* Top Bar */
.top-bar { background: #111; color: #fff; padding: 8px 0; font-size: 12px; }
.top-bar .container { display: flex; flex-direction: column; gap: 3px; font-size: 11px; align-items: center; }
.top-bar-right a { color: #fff; margin-left: 15px; transition: color 0.3s; }
.top-bar-right a:hover { color: var(--secondary, #ff6b35); }

/* ===== Minimal Premium Header (three-zone sticky) ===== */
.site-header {
    background: var(--surface, #F7F3EC);
    border-bottom: 1px solid var(--border, #E4DCCF);
    position: sticky;
    top: 0;
    z-index: 1000;
}
/* Three-zone grid keeps the logo centered on all screen sizes */
.site-header-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 8px;
    min-height: 56px;
    padding-top: var(--space-sm, 0.75rem);
    padding-bottom: var(--space-sm, 0.75rem);
}
.header-zone { display: flex; align-items: center; }
.header-left { justify-content: flex-start; gap: var(--space-sm, 0.75rem); }
.header-center { justify-content: center; }
.header-right { justify-content: flex-end; }

/* Icon buttons (menu, search, bag) */
.header-icon-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text, #211C1C);
    font-size: 19px;
    line-height: 1;
    padding: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}
.header-icon-btn:hover { color: var(--primary, #5A1A2B); }

/* Centered logo / serif wordmark */
.header-center .logo { display: inline-flex; align-items: center; }
.logo-text {
    font-size: var(--fs-h3, 22px);
    font-weight: 600;
    color: var(--primary, #5A1A2B);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-family: var(--font-display, 'Cormorant Garamond', 'Noto Serif Bengali', Georgia, serif);
}
.logo-img { height: 42px; width: auto; display: block; }

/* Bag control with count badge */
.cart-icon { position: relative; }
.cart-count {
    position: absolute;
    top: -6px;
    right: -8px;
    background: var(--primary, #5A1A2B);
    color: var(--surface, #fff);
    font-size: 10px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-family: var(--font-body, sans-serif);
}

/* Expandable search panel (hidden until the search trigger toggles it) */
.header-search {
    max-height: 0;
    overflow: hidden;
    background: var(--surface, #F7F3EC);
    border-top: 1px solid transparent;
    transition: max-height 0.3s ease, border-color 0.3s ease;
}
.site-header.search-open .header-search {
    max-height: 120px;
    border-top-color: var(--border, #E4DCCF);
}
.header-search form { display: flex; padding: var(--space-sm, 0.75rem) 0; }
.header-search input {
    flex: 1;
    padding: 11px 18px;
    border: 1px solid var(--border, #E4DCCF);
    border-right: none;
    border-radius: var(--radius-control, 6px) 0 0 var(--radius-control, 6px);
    font-size: 14px;
    font-family: var(--font-body, sans-serif);
    background: #fff;
    color: var(--text, #211C1C);
    outline: none;
}
.search-btn {
    padding: 11px 22px;
    background: var(--primary, #5A1A2B);
    color: var(--surface, #fff);
    border: none;
    border-radius: 0 var(--radius-control, 6px) var(--radius-control, 6px) 0;
    cursor: pointer;
    font-size: 15px;
    transition: background 0.3s ease;
}
.search-btn:hover { background: var(--secondary, #B98A4B); }

/* Nav */
.category-nav { background: #fff; border-bottom: 1px solid #eee; display: none; }
.category-nav.mobile-open { display: block; }
.nav-list { display: flex; flex-direction: column; gap: 5px; }
.nav-list li a { display: block; padding: 12px 18px; font-size: var(--fs-small, 13px); font-weight: 500; color: var(--text, #555); border-bottom: 3px solid transparent; transition: all 0.3s; text-transform: uppercase; letter-spacing: var(--letter-spacing-label, 0.12em); }
.nav-list li a:hover, .nav-list li a.active { color: var(--secondary, #B98A4B); border-bottom-color: var(--secondary, #B98A4B); }

/* Hero Banner */
.hero-banner { position: relative; overflow: hidden; height: 250px; }
.banner-slide { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.5s; }
.banner-slide.active { opacity: 1; }
.banner-content { text-align: center; color: #fff; }
.banner-content h1 { font-size: 28px; margin-bottom: 10px; text-shadow: 2px 2px 4px rgba(0,0,0,0.2); }
.banner-content p { font-size: 18px; margin-bottom: 20px; }
.banner-btn { display: inline-block; padding: 12px 35px; background: #fff; color: var(--secondary, #ff6b35); border-radius: 25px; font-weight: 600; }

/* ===== Trust Badges ===== */
.trust-bar { background: #fff; border-bottom: 1px solid #f0f0f0; padding: 12px 0; overflow: hidden; }
/* Mobile-first base: single-line auto-sliding marquee (seamless via duplicate set) */
.trust-track { display: flex; flex-wrap: nowrap; justify-content: flex-start; align-items: center; width: max-content; gap: 24px; animation: trust-marquee 16s linear infinite; }
.trust-item { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.trust-item i { font-size: 19px; color: var(--secondary, #ff6b35); width: 24px; text-align: center; }
.trust-item strong { display: block; font-size: 12.5px; line-height: 1.2; }
.trust-item span { font-size: 11px; color: #999; }
.trust-item.dup { display: flex; }
/* Large screens: compact single line, centered; duplicate set hidden, no marquee */
@media (min-width: 769px) {
    .trust-track { flex-wrap: wrap; justify-content: center; width: auto; gap: 28px; animation: none; }
    .trust-item { flex: 0 1 auto; }
    .trust-item.dup { display: none; }
}
@keyframes trust-marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ===== Homepage Reviews ===== */
.home-reviews { padding: 30px 0; }
.home-reviews-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.home-review-card { background: #fff; border: 1px solid #f0f0f0; border-radius: 14px; padding: 20px; box-shadow: 0 4px 16px rgba(0,0,0,0.04); }
.home-review-card .stars { color: #f5a623; margin-bottom: 10px; }
.home-review-card p { font-size: 14px; color: #555; line-height: 1.7; margin-bottom: 14px; font-style: italic; }
.home-review-card .hr-foot strong { display: block; font-size: 14px; }
.home-review-card .hr-foot span { font-size: 12px; color: #999; }
@media (min-width: 769px) { .home-reviews-grid { grid-template-columns: repeat(3, 1fr); } }

/* ===== FAQ ===== */
.faq-section { padding: 30px 0 50px; }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid #f0f0f0; border-radius: 10px; margin-bottom: 10px; overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: none; border: none; padding: 16px 18px; font-size: 15px; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 10px; font-family: inherit; }
.faq-q i { transition: transform 0.2s; color: var(--secondary, #ff6b35); }
.faq-item.open .faq-q i { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.25s ease, padding 0.25s ease; padding: 0 18px; font-size: 14px; color: #555; line-height: 1.8; }
.faq-item.open .faq-a { max-height: 400px; padding: 0 18px 16px; }

/* ===== Floating Chat Widget (toggle → WhatsApp + Messenger) ===== */
.float-contact { position: fixed; right: 18px; bottom: 78px; display: flex; flex-direction: column; align-items: center; gap: 12px; z-index: 900; }
.float-btn { width: 54px; height: 54px; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 28px; transition: transform 0.2s; border: none; cursor: pointer; }
.float-btn:hover { transform: scale(1.08); }
.wa-float { background: #25d366; box-shadow: 0 6px 18px rgba(37,211,102,0.45); }
.msg-float { background: linear-gradient(135deg, #00B2FF 0%, #006AFF 50%, #A033FF 100%); box-shadow: 0 6px 18px rgba(0,106,255,0.45); }
.chat-toggle { background: var(--secondary, #ff6b35); box-shadow: 0 6px 18px rgba(0,0,0,0.3); }

/* sub-buttons hidden until the widget is open */
.float-options { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.float-options .float-btn {
    opacity: 0; transform: scale(0.4) translateY(16px); pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease;
}
.float-contact.open .float-options .float-btn { opacity: 1; transform: scale(1) translateY(0); pointer-events: auto; }

/* toggle icon swap (chat <-> close) */
.chat-toggle .chat-ico-close { display: none; }
.float-contact.open .chat-toggle .chat-ico-open { display: none; }
.float-contact.open .chat-toggle .chat-ico-close { display: block; }
.float-contact.open .chat-toggle { transform: rotate(90deg); }
.float-contact.open .chat-toggle:hover { transform: rotate(90deg) scale(1.08); }

/* ===== Cart Drawer ===== */
.cart-drawer-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 1100; opacity: 0; visibility: hidden; transition: opacity 0.25s; }
.cart-drawer-overlay.open { opacity: 1; visibility: visible; }
.cart-drawer { position: absolute; top: 0; right: 0; height: 100%; width: 380px; max-width: 90vw; background: #fff; display: flex; flex-direction: column; transform: translateX(100%); transition: transform 0.3s; }
.cart-drawer-overlay.open .cart-drawer { transform: translateX(0); }
.cart-drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid #eee; }
.cart-drawer-head h3 { font-size: 17px; }
.cart-drawer-close { background: none; border: none; font-size: 28px; line-height: 1; cursor: pointer; color: #999; }
.free-ship-bar { background: #fff3e0; color: #e65100; font-size: 13px; font-weight: 600; padding: 10px 20px; text-align: center; }
.free-ship-bar.done { background: #e8f5e9; color: #2e7d32; }
.fsb-track { height: 6px; background: #ffe0b2; border-radius: 4px; margin-top: 6px; overflow: hidden; }
.fsb-fill { height: 100%; background: var(--secondary, #ff6b35); transition: width 0.3s; }
.cart-drawer-body { flex: 1; overflow-y: auto; padding: 12px 16px; }
.cart-empty { text-align: center; color: #aaa; padding: 50px 0; }
.cart-empty i { font-size: 40px; margin-bottom: 12px; display: block; }
.cd-item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid #f3f3f3; align-items: center; }
.cd-item img { width: 60px; height: 60px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.cd-info { flex: 1; min-width: 0; }
.cd-title { font-size: 13px; font-weight: 600; line-height: 1.3; }
.cd-meta { font-size: 12px; color: #888; margin: 2px 0; }
.cd-price { font-size: 13px; color: var(--secondary, #ff6b35); font-weight: 700; }
.cd-qty { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.cd-qty button { width: 26px; height: 26px; border: 1px solid #ddd; background: #fafafa; border-radius: 6px; cursor: pointer; font-size: 16px; line-height: 1; }
.cd-remove { background: none; border: none; color: #c62828; cursor: pointer; font-size: 15px; align-self: flex-start; }
.cart-drawer-foot { border-top: 1px solid #eee; padding: 16px 20px; }
.cart-drawer-subtotal { display: flex; justify-content: space-between; font-weight: 700; font-size: 16px; margin-bottom: 12px; }
.btn-view-cart, .btn-checkout-drawer { display: block; text-align: center; padding: 12px; border-radius: 10px; font-weight: 600; margin-bottom: 8px; }
.btn-view-cart { background: #f0f0f0; color: #333; }
.btn-checkout-drawer { background: var(--secondary, #ff6b35); color: #fff; }

/* ===== Quick Order ===== */
.btn-quick-order { width: 100%; margin-top: 10px; padding: 14px; border: none; border-radius: 10px; cursor: pointer;
    background: #25d366; color: #fff; font-weight: 700; font-size: 15px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.btn-quick-order:hover { filter: brightness(0.95); }
.qo-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 1000; align-items: center; justify-content: center; padding: 16px; }
.qo-overlay.open { display: flex; }
.qo-modal { background: #fff; border-radius: var(--radius-card, 16px); padding: 24px; width: 100%; max-width: 420px; max-height: 92vh; overflow-y: auto; position: relative; }
.qo-modal h3 { margin-bottom: 6px; }
.qo-pick { font-size: 13px; color: var(--secondary, #B98A4B); font-weight: 600; margin-bottom: 16px; }
.qo-close { position: absolute; top: 12px; right: 16px; background: none; border: none; font-size: 28px; line-height: 1; cursor: pointer; color: #999; }
.qo-modal input, .qo-modal textarea, .qo-modal select { width: 100%; padding: 11px 14px; border: 1px solid var(--border, #E4DCCF); border-radius: var(--radius-control, 8px); margin-bottom: 12px; font-family: inherit; color: var(--text, #211C1C); }
.qo-label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.qo-pay { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.qo-pay-row { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 14px; padding: 10px 12px; border: 1px solid var(--border, #E4DCCF); border-radius: var(--radius-control, 8px); cursor: pointer; margin: 0; }
.qo-pay-brand { color: #fff; padding: 3px 9px; border-radius: 4px; font-weight: 700; font-size: 12px; }
.qo-pay-brand.bkash { background: #e2136e; }
.qo-pay-brand.nagad { background: #f26522; }
.qo-pay-brand.cod { background: var(--text, #211C1C); }
.qo-pay-send { background: #fff3e0; color: #d2691e; border: 1px solid #ffd9b3; padding: 2px 8px; border-radius: 4px; font-weight: 700; font-size: 11px; white-space: nowrap; }
.qo-pay-send i { font-size: 9px; }
.qo-pay-num { flex: 1; min-width: 120px; font-weight: 700; letter-spacing: 0.3px; }
.qo-send-note { font-size: 12px; color: #c0392b; background: #fff3e0; border: 1px solid #ffd9b3; border-radius: var(--radius-control, 8px); padding: 8px 10px; margin: 0 0 12px; line-height: 1.5; }
.qo-copy { background: var(--surface, #f0f0f0); border: 1px solid var(--border, #E4DCCF); border-radius: var(--radius-control, 6px); padding: 5px 10px; font-size: 12px; cursor: pointer; white-space: nowrap; color: var(--text, #333); }
.qo-copy.copied { background: #e8f5e9; border-color: #b6e0b9; color: #2e7d32; }
/* logo + amount in quick order modal */
.qo-brandbar { text-align: center; margin-bottom: 6px; }
.qo-logo { height: 46px; width: auto; }
.qo-logo-text { font-weight: 800; font-size: 22px; color: var(--secondary, #B98A4B); }
.qo-amount { display: flex; justify-content: space-between; align-items: center; background: var(--surface, #fff7f3); border: 1px solid var(--border, #ffe0d3); border-radius: var(--radius-control, 10px); padding: 12px 16px; margin-bottom: 4px; }
.qo-amount strong { font-size: 22px; color: var(--primary, #5A1A2B); }
.qo-amount-note { font-size: 12px; color: #888; margin-bottom: 14px; text-align: right; }

/* ===== Product Reviews ===== */
.reviews-section { padding: 30px 0 50px; }
.reviews-layout { display: grid; grid-template-columns: 1fr; gap: 30px; align-items: start; }
.reviews-summary { display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid #f0f0f0; border-radius: 12px; padding: 18px 20px; margin-bottom: 18px; }
.reviews-summary .rating-big { font-size: 42px; font-weight: 800; color: var(--secondary, #ff6b35); line-height: 1; }
.reviews-summary .stars, .review-item .stars, .star-input { color: #f5a623; }
.review-item { background: #fff; border: 1px solid #f0f0f0; border-radius: 12px; padding: 16px 18px; margin-bottom: 12px; }
.review-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.review-item p { font-size: 14px; color: #555; line-height: 1.7; margin: 6px 0; }
.review-date { color: #aaa; font-size: 12px; }
.review-form-col { background: #fff; border: 1px solid #f0f0f0; border-radius: 12px; padding: 20px; position: static; }
.review-form-col h3 { margin-bottom: 14px; }
.review-form input, .review-form textarea { width: 100%; padding: 11px 14px; border: 1px solid #ddd; border-radius: 8px; margin-bottom: 12px; font-family: inherit; }
.star-input { font-size: 28px; margin-bottom: 14px; cursor: pointer; }
.star-input i { margin-right: 4px; transition: transform 0.1s; }
.star-input i:hover { transform: scale(1.15); }
.review-alert { padding: 12px 18px; border-radius: 8px; margin-bottom: 18px; font-size: 14px; }
.review-alert.ok { background: #e8f5e9; color: #2e7d32; }
.review-alert.warn { background: #fff3e0; color: #e65100; }
@media (min-width: 769px) {
    .reviews-layout { grid-template-columns: 1fr 360px; }
    .review-form-col { position: sticky; top: 90px; }
}
/* Image-based hero (herobd.png): show the WHOLE banner, text overlaid on the empty left area.
   Mobile = full image (no crop). Desktop = capped height with object-fit so it isn't too tall. */
.hero-image { height: auto; position: relative; overflow: hidden; }
.hero-image .hero-img { display: block; width: 100%; height: auto; }
.hero-image .hero-overlay { position: absolute; inset: 0; display: flex; align-items: center; padding-left: 5%;
    background: linear-gradient(90deg, rgba(255,234,243,0.95) 0%, rgba(255,234,243,0.6) 38%, rgba(255,234,243,0) 60%); }
.hero-image .banner-content { text-align: left; max-width: 54%; }
.hero-image .banner-content h1 { font-size: 3.8vw; color: #c2185b; text-shadow: none; line-height: 1.15; margin-bottom: 6px; }
.hero-image .banner-content p { font-size: 1.15vw; color: #8a5a68; margin-bottom: 16px; display: none; }
.hero-image .banner-btn { background: #c2185b; color: #fff; box-shadow: 0 6px 16px rgba(194,24,91,0.25); padding: 7px 18px; font-size: 12px; }
@media (min-width: 769px) {
    .hero-image .hero-overlay { padding-left: 6%;
        background: linear-gradient(90deg, rgba(255,234,243,0.92) 0%, rgba(255,234,243,0.55) 30%, rgba(255,234,243,0) 52%); }
    .hero-image .banner-content { max-width: 42%; }
    .hero-image .banner-content h1 { font-size: 2.6vw; margin-bottom: 10px; }
    .hero-image .banner-content p { font-size: 1.15vw; margin-bottom: 16px; display: block; }
    .hero-image .banner-btn { padding: 12px 35px; font-size: inherit; }
    /* Cap desktop height so the tall image doesn't dominate; keep faces + products in view */
    .hero-image .hero-img { height: 430px; object-fit: cover; object-position: 72% 42%; }
}
.banner-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.8); border: none; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; font-size: 16px; display: flex; align-items: center; justify-content: center; z-index: 10; }
.banner-nav.prev { left: 20px; }
.banner-nav.next { right: 20px; }

/* ===== Editorial Hero =====
   Mobile-first: the FULL image shows uncropped, with editorial copy stacked below it.
   Large screens: the image becomes a full-bleed cover background with the copy overlaid. */
.editorial-hero {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    background-color: var(--surface, #F7F3EC);
    overflow: hidden;
}
/* Full, uncropped hero image on mobile */
.editorial-hero .hero-img-full {
    display: block;
    width: 100%;
    height: auto;
}
/* Scrim is only needed when copy overlays the image (large screens) */
.editorial-hero .hero-scrim {
    display: none;
    position: absolute;
    inset: 0;
    background: var(--hero-overlay, linear-gradient(180deg, rgba(33,28,28,0.15) 0%, rgba(33,28,28,0.55) 100%));
}
.editorial-hero .hero-inner {
    position: static;
    z-index: 2;
    text-align: center;
    max-width: 760px;
    margin: 0 auto;
    padding: var(--space-lg, 2.5rem) var(--space-md, 1.5rem);
    color: var(--text, #211C1C);
}
.editorial-hero .hero-label {
    color: var(--secondary, #B98A4B);
    margin-bottom: var(--space-sm, 1rem);
    opacity: 1;
}
.editorial-hero .hero-headline {
    font-family: var(--font-display, 'Cormorant Garamond', 'Noto Serif Bengali', Georgia, serif);
    color: var(--text, #211C1C);
    font-size: var(--fs-h1, 2.25rem);
    line-height: var(--line-height-display, 1.15);
    margin-bottom: var(--space-md, 1.5rem);
}
.editorial-hero .hero-subtitle {
    font-family: var(--font-body, 'Inter', 'Hind Siliguri', 'Segoe UI', sans-serif);
    color: var(--text, #211C1C);
    font-size: var(--fs-body, 1rem);
    line-height: var(--line-height-base, 1.6);
    margin-bottom: var(--space-lg, 2.5rem);
    opacity: 0.82;
}
.editorial-hero .hero-cta {
    display: inline-block;
    padding: 14px 42px;
    background: var(--secondary, #B98A4B);
    color: var(--surface, #F7F3EC);
    font-family: var(--font-body, 'Inter', 'Hind Siliguri', 'Segoe UI', sans-serif);
    font-size: var(--fs-small, 0.875rem);
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing-label, 0.18em);
    border-radius: var(--radius-control, 2px);
    transition: background 0.3s ease, transform 0.3s ease;
}
.editorial-hero .hero-cta:hover { background: var(--primary, #5A1A2B); transform: translateY(-2px); }
/* Large screens: full-bleed cover image with overlaid, centered copy */
@media (min-width: 768px) {
    .editorial-hero { display: block; min-height: 560px; }
    .editorial-hero .hero-img-full {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .editorial-hero .hero-scrim { display: block; }
    .editorial-hero .hero-inner {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-height: 560px;
        padding: var(--space-xl, 4rem) 0;
        color: var(--surface, #F7F3EC);
    }
    .editorial-hero .hero-label { color: var(--surface, #F7F3EC); opacity: 0.92; }
    .editorial-hero .hero-headline {
        color: var(--surface, #F7F3EC);
        font-size: var(--fs-display, 3rem);
        text-shadow: 0 2px 18px rgba(33,28,28,0.35);
    }
    .editorial-hero .hero-subtitle { color: var(--surface, #F7F3EC); opacity: 0.95; }
}

/* Sections */
.categories-section, .featured-section { padding: 40px 0; }
.flash-sale { padding: 40px 0; background: #fff; }
.section-title { font-size: var(--fs-h2, 22px); font-weight: 600; margin-bottom: 20px; color: var(--text, #222); font-family: var(--font-display, 'Cormorant Garamond', 'Noto Serif Bengali', Georgia, serif); }
.section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.view-all { color: var(--secondary, #ff6b35); font-weight: 600; font-size: 14px; }
.countdown { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.timer { background: var(--secondary, #ff6b35); color: #fff; padding: 5px 12px; border-radius: 5px; font-weight: bold; }

/* Categories */
.category-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.category-card { background: #fff; border-radius: 12px; padding: 30px; text-align: center; box-shadow: 0 2px 15px rgba(0,0,0,0.08); transition: transform 0.3s; }
.category-card:hover { transform: translateY(-5px); }
.category-icon { width: 70px; height: 70px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 15px; font-size: 26px; color: #fff; background: var(--secondary, #ff6b35); }

/* Product Grid */
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
/* Premium product card: token-driven surface, editorial type, image-forward.
   The whole card is an <a>; hover micro-interaction is gated to Large_Screen. */
.product-card {
    display: block;
    background: #fff;
    border: 1px solid var(--border, #E4DCCF);
    border-radius: var(--radius-card, 4px);
    overflow: hidden;
    box-shadow: var(--shadow-card, 0 6px 24px rgba(33,28,28,0.08));
    position: relative;
    color: inherit;
}
.product-card .product-image { width: 100%; height: 170px; overflow: hidden; background: var(--surface, #f0f0f0); }
.product-card .product-image img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.product-card .product-info { padding: var(--space-sm, 1rem) var(--space-sm, 1rem) var(--space-md, 1.25rem); }
.product-card .product-title {
    font-family: var(--font-display, 'Cormorant Garamond', 'Noto Serif Bengali', Georgia, serif);
    font-size: var(--fs-h3, 1.125rem);
    font-weight: 600;
    color: var(--text, #211C1C);
    margin-bottom: var(--space-xs, 0.5rem);
    display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3;
    min-height: 2.6em;
}
.product-card .product-price { font-size: var(--fs-body, 1rem); font-weight: 700; color: var(--primary, #5A1A2B); }
.product-card .original-price { font-size: var(--fs-caption, 0.75rem); color: #999; text-decoration: line-through; margin-left: 8px; font-weight: 400; }
.product-card .product-meta { display: flex; justify-content: space-between; margin-top: var(--space-xs, 0.5rem); font-size: var(--fs-caption, 0.75rem); color: #999; font-family: var(--font-body, sans-serif); }
.product-card .product-rating { color: var(--secondary, #B98A4B); }
.sale-badge {
    position: absolute;
    top: 10px; left: 10px;
    background: var(--primary, #5A1A2B);
    color: var(--surface, #fff);
    padding: 4px 10px;
    border-radius: var(--radius-control, 2px);
    font-family: var(--font-body, sans-serif);
    font-size: var(--fs-caption, 0.75rem);
    font-weight: 700;
    letter-spacing: 0.04em;
    z-index: 5;
}
/* Subtle hover micro-interaction only on Large_Screen (Req 8.4, 11.1) */
@media (min-width: 768px) {
    .product-card { transition: transform 0.3s ease, box-shadow 0.3s ease; }
    .product-card:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(33,28,28,0.14); }
    .product-card:hover .product-image img { transform: scale(1.04); }
}
@media (prefers-reduced-motion: reduce) {
    .product-card, .product-card .product-image img { transition: none; }
    .product-card:hover { transform: none; }
    .product-card:hover .product-image img { transform: none; }
}

/* Page Layout */
.page-content { padding: 30px 0; }
.page-layout { display: grid; grid-template-columns: 1fr; gap: 25px; }
.sidebar { background: #fff; border: 1px solid var(--border, #E4DCCF); border-radius: var(--radius-card, 4px); padding: 20px; box-shadow: var(--shadow-card, 0 6px 24px rgba(33,28,28,0.08)); height: fit-content; position: static; }
.filter-group { margin-bottom: 22px; }
.filter-group h3 { font-family: var(--font-display, 'Cormorant Garamond', 'Noto Serif Bengali', Georgia, serif); font-size: var(--fs-small, 14px); font-weight: 600; color: var(--text, #211C1C); margin-bottom: 10px; padding-bottom: 8px; border-bottom: 1px solid var(--border, #E4DCCF); }
.filter-group label { display: flex; align-items: center; gap: 8px; padding: 5px 0; font-size: 13px; cursor: pointer; color: var(--text, #211C1C); }
.filter-group input[type="checkbox"] { accent-color: var(--secondary, #B98A4B); }
.model-search { width: 100%; padding: 7px 10px; font-size: 13px; border: 1px solid var(--border, #E4DCCF); border-radius: var(--radius-control, 6px); margin-bottom: 8px; box-sizing: border-box; color: var(--text, #211C1C); }
.model-list { max-height: 120px; overflow-y: auto; padding-right: 4px; border: 1px solid var(--border, #E4DCCF); border-radius: var(--radius-control, 6px); padding: 4px 8px; }
.model-list::-webkit-scrollbar { width: 6px; }
.model-list::-webkit-scrollbar-thumb { background: var(--border, #ccc); border-radius: 3px; }
.color-options { display: flex; flex-wrap: wrap; gap: 8px; }
.color-swatch { width: 28px; height: 28px; border-radius: 50%; cursor: pointer; border: 2px solid var(--border, #E4DCCF); transition: transform 0.3s; }
.color-swatch:hover { transform: scale(1.15); border-color: var(--secondary, #B98A4B); }
.price-range { display: flex; gap: 8px; align-items: center; }
.price-range input { width: 80px; padding: 6px 8px; border: 1px solid var(--border, #E4DCCF); border-radius: var(--radius-control, 5px); font-size: 13px; color: var(--text, #211C1C); }
.filter-btn { width: 100%; padding: 10px; background: var(--primary, #5A1A2B); color: var(--surface, #fff); border: none; border-radius: var(--radius-control, 5px); cursor: pointer; font-weight: 600; margin-top: 10px; font-family: var(--font-body, sans-serif); transition: background 0.3s ease; }
.filter-btn:hover { background: var(--secondary, #B98A4B); }

.sort-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; padding: 10px 15px; background: #fff; border: 1px solid var(--border, #E4DCCF); border-radius: var(--radius-control, 8px); }
.sort-bar select { padding: 8px 12px; border: 1px solid var(--border, #E4DCCF); border-radius: var(--radius-control, 5px); font-size: 13px; color: var(--text, #211C1C); }
.results-count { font-size: 13px; color: #888; }

/* Product Detail */
.product-detail { padding: 30px 0; }
.product-detail-layout { display: grid; grid-template-columns: 1fr; gap: 40px; background: #fff; border: 1px solid var(--border, #E4DCCF); border-radius: var(--radius-card, 4px); padding: 30px; box-shadow: var(--shadow-card, 0 6px 24px rgba(33,28,28,0.08)); }
.main-image { width: 100%; height: 300px; border-radius: var(--radius-card, 4px); overflow: hidden; background: var(--surface, #f5f5f5); }
.main-image img { width: 100%; height: 100%; object-fit: cover; }
.thumbnail-list { display: flex; gap: 10px; margin-top: 15px; }
.thumbnail { width: 70px; height: 70px; border-radius: var(--radius-control, 8px); overflow: hidden; cursor: pointer; border: 2px solid transparent; }
.thumbnail.active, .thumbnail:hover { border-color: var(--secondary, #B98A4B); }
.thumbnail img { width: 100%; height: 100%; object-fit: cover; }
.product-detail-info h1 { font-family: var(--font-display, 'Cormorant Garamond', 'Noto Serif Bengali', Georgia, serif); font-size: var(--fs-h2, 22px); font-weight: 600; color: var(--text, #211C1C); line-height: 1.4; margin-bottom: 10px; }
.product-rating-detail { display: flex; align-items: center; gap: 10px; margin: 10px 0; font-size: 14px; color: #666; }
.product-rating-detail .stars { color: var(--secondary, #B98A4B); }
.product-detail-price { font-size: 28px; font-weight: 700; color: var(--primary, #5A1A2B); margin-bottom: 5px; }
.product-detail-price .original { font-size: 16px; color: #999; text-decoration: line-through; margin-left: 10px; }
.product-detail-price .discount { font-size: 14px; color: var(--surface, #fff); background: var(--secondary, #B98A4B); padding: 2px 8px; border-radius: var(--radius-control, 3px); margin-left: 10px; }

.option-section { margin: 20px 0; padding: 15px 0; border-top: 1px solid var(--border, #E4DCCF); }
.option-section h3 { font-size: 14px; font-weight: 600; color: var(--text, #211C1C); margin-bottom: 12px; }
.option-list { display: flex; flex-wrap: wrap; gap: 10px; }
.option-item-label { cursor: pointer; }
.option-item { padding: 8px 16px; border: 1px solid var(--border, #E4DCCF); border-radius: var(--radius-control, 5px); font-size: 13px; transition: all 0.3s; display: inline-block; color: var(--text, #211C1C); }
.option-item:hover { border-color: var(--secondary, #B98A4B); color: var(--secondary, #B98A4B); }
.option-item.selected { border-color: var(--secondary, #B98A4B); background: var(--surface, #fff5f0); color: var(--secondary, #B98A4B); font-weight: 600; }
.color-option-list { display: flex; flex-wrap: wrap; gap: 12px; }
.color-option-label { cursor: pointer; }

/* Image-based color cards (Taobao SKU style) */
.color-card-list { display: flex; flex-wrap: wrap; gap: 12px; }
.color-card { cursor: pointer; display: flex; flex-direction: column; align-items: center; width: calc(33.333% - 8px); border: 2px solid var(--border, #E4DCCF); border-radius: var(--radius-control, 10px); padding: 8px; transition: all 0.2s; background: #fff; }
.color-card:hover { border-color: var(--secondary, #B98A4B); }
.color-card.selected { border-color: var(--secondary, #B98A4B); box-shadow: 0 0 0 1px var(--secondary, #B98A4B); }
.color-card-thumb { width: 100%; height: 0; padding-bottom: 100%; position: relative; border-radius: var(--radius-control, 8px); overflow: hidden; background: var(--surface, #f6f6f6); }
.color-card-thumb img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.color-card-swatch { width: 100%; height: 100%; display: block; position: absolute; inset: 0; }
.color-card-name { font-size: 12px; color: var(--text, #333); margin-top: 6px; text-align: center; line-height: 1.3; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; width: 100%; }
.color-card.selected .color-card-name { color: var(--secondary, #B98A4B); font-weight: 600; }
.color-card-price { font-size: 13px; font-weight: 700; color: var(--secondary, #B98A4B); margin-top: 2px; }
@media (min-width: 481px) {
    .color-card { width: 110px; }
    .color-card-thumb { width: 92px; height: 92px; padding-bottom: 0; position: static; display: flex; align-items: center; justify-content: center; }
    .color-card-thumb img, .color-card-swatch { position: static; inset: auto; }
}
.color-option { display: inline-block; width: 40px; height: 40px; border-radius: 50%; border: 3px solid var(--border, #E4DCCF); transition: all 0.3s; box-sizing: border-box; vertical-align: middle; }
.color-option:hover, .color-option.selected { border-color: var(--secondary, #B98A4B); transform: scale(1.1); }

.quantity-selector { display: flex; align-items: center; gap: 15px; margin: 20px 0; }
.quantity-selector label { font-size: 14px; font-weight: 600; color: var(--text, #211C1C); }
.qty-controls { display: flex; align-items: center; border: 1px solid var(--border, #E4DCCF); border-radius: var(--radius-control, 5px); overflow: hidden; }
.qty-btn { width: 35px; height: 35px; border: none; background: var(--surface, #f5f5f5); cursor: pointer; font-size: 16px; color: var(--text, #211C1C); }
.qty-input { width: 50px; height: 35px; border: none; border-left: 1px solid var(--border, #E4DCCF); border-right: 1px solid var(--border, #E4DCCF); text-align: center; font-size: 14px; font-weight: 600; color: var(--text, #211C1C); }

.action-buttons { display: flex; flex-direction: column; gap: 15px; margin-top: 25px; }
.btn-add-cart { flex: 1; padding: 14px 30px; background: var(--primary, #5A1A2B); color: var(--surface, #fff); border: 2px solid var(--primary, #5A1A2B); border-radius: var(--radius-control, 8px); font-size: 15px; font-weight: 600; cursor: pointer; font-family: var(--font-body, sans-serif); transition: background 0.3s ease, color 0.3s ease; }
.btn-add-cart:hover { background: var(--secondary, #B98A4B); border-color: var(--secondary, #B98A4B); }
.btn-buy-now { flex: 1; padding: 14px 30px; background: #fff; color: var(--primary, #5A1A2B); border: 2px solid var(--primary, #5A1A2B); border-radius: var(--radius-control, 8px); font-size: 15px; font-weight: 600; cursor: pointer; font-family: var(--font-body, sans-serif); transition: background 0.3s ease, color 0.3s ease; }
.btn-buy-now:hover { background: var(--primary, #5A1A2B); color: var(--surface, #fff); }

/* Cart */
.cart-page { padding: 30px 0; }
.cart-container { background: #fff; border: 1px solid var(--border, #E4DCCF); border-radius: var(--radius-card, 4px); padding: 25px; box-shadow: var(--shadow-card, 0 6px 24px rgba(33,28,28,0.08)); }
.cart-header { display: flex; justify-content: space-between; align-items: center; padding-bottom: 15px; border-bottom: 1px solid var(--border, #E4DCCF); margin-bottom: 20px; }
.cart-item { display: grid; grid-template-columns: 70px 1fr; gap: 10px; align-items: center; padding: 15px 0; border-bottom: 1px solid var(--border, #E4DCCF); }
.cart-item-image { width: 90px; height: 90px; border-radius: var(--radius-control, 8px); overflow: hidden; }
.cart-item-image img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info h3 { font-size: 14px; color: var(--text, #211C1C); margin-bottom: 4px; }
.item-variant { font-size: 12px; color: #888; }
.cart-item-price { font-size: 16px; font-weight: 700; color: var(--primary, #5A1A2B); }
.cart-item-remove { background: none; border: none; color: #999; cursor: pointer; font-size: 16px; }
.cart-item-remove:hover { color: #c62828; }
.cart-summary { margin-top: 25px; padding-top: 20px; border-top: 1px solid var(--border, #E4DCCF); display: flex; flex-direction: column; gap: 15px; justify-content: space-between; align-items: center; }
.cart-total { font-size: 22px; font-weight: 700; color: var(--text, #211C1C); }
.cart-total span { color: var(--primary, #5A1A2B); }
.checkout-btn { padding: 14px 40px; background: var(--primary, #5A1A2B); color: var(--surface, #fff); border: none; border-radius: var(--radius-control, 8px); font-size: 16px; font-weight: 600; cursor: pointer; display: inline-block; text-align: center; font-family: var(--font-body, sans-serif); transition: background 0.3s ease; }
.checkout-btn:hover { background: var(--secondary, #B98A4B); }
.empty-cart { text-align: center; padding: 60px 20px; color: #999; }
.empty-cart i { font-size: 60px; margin-bottom: 20px; display: block; color: var(--border, #ddd); }
.empty-cart a { display: inline-block; margin-top: 15px; padding: 10px 25px; background: var(--primary, #5A1A2B); color: var(--surface, #fff); border-radius: var(--radius-control, 5px); font-weight: 600; transition: background 0.3s ease; }
.empty-cart a:hover { background: var(--secondary, #B98A4B); }

/* Breadcrumb */
.breadcrumb { padding: 15px 0; font-size: 13px; color: #888; }
.breadcrumb a { color: #666; }
.breadcrumb a:hover { color: var(--secondary, #B98A4B); }
.breadcrumb span { margin: 0 8px; }

/* Status badges (for order tracking) */
.status-badge { padding: 4px 10px; border-radius: 15px; font-size: 11px; font-weight: 600; }
.status-pending { background: #fff3e0; color: #e65100; }
.status-confirmed { background: #e3f2fd; color: #1565c0; }
.status-processing { background: #f3e5f5; color: #7b1fa2; }
.status-shipped { background: #e0f7fa; color: #00838f; }
.status-delivered { background: #e8f5e9; color: #2e7d32; }
.status-cancelled { background: #fce4ec; color: #c62828; }

/* ===== Premium Footer (palette / typography / spacing tokens) ===== */
.footer {
    background: var(--primary, #5A1A2B);
    color: var(--surface, #F7F3EC);
    padding: var(--space-xl, 4rem) 0 var(--space-lg, 2.5rem);
    margin-top: var(--section-gap, 5rem);
    font-family: var(--font-body, 'Inter', 'Hind Siliguri', 'Segoe UI', system-ui, sans-serif);
    font-size: var(--fs-small, 0.875rem);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg, 2.5rem);
    margin-bottom: var(--space-lg, 2.5rem);
}
.footer-brand h3 {
    font-family: var(--font-display, 'Cormorant Garamond', 'Noto Serif Bengali', Georgia, serif);
    font-size: var(--fs-h2, 1.75rem);
    color: var(--surface, #F7F3EC);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: var(--space-sm, 1rem);
}
.footer-heading {
    font-family: var(--font-body, 'Inter', 'Hind Siliguri', sans-serif);
    font-size: var(--fs-caption, 0.75rem);
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing-label, 0.18em);
    color: var(--secondary, #B98A4B);
    margin-bottom: var(--space-md, 1.5rem);
    font-weight: 600;
}
.footer-tagline,
.footer-contact { color: rgba(247, 243, 236, 0.72); line-height: var(--line-height-base, 1.6); margin-bottom: var(--space-xs, 0.5rem); }
.footer-contact i { color: var(--secondary, #B98A4B); margin-right: 8px; }
.footer-col ul li { margin-bottom: var(--space-xs, 0.5rem); }
.footer-col ul li a { color: rgba(247, 243, 236, 0.72); transition: color 0.3s ease; }
.footer-col ul li a:hover { color: var(--secondary, #B98A4B); }

.social-links { display: flex; gap: var(--space-sm, 1rem); }
.social-links a {
    width: 40px; height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(247, 243, 236, 0.25);
    background: transparent;
    display: flex; align-items: center; justify-content: center;
    color: var(--surface, #F7F3EC);
    font-size: 16px;
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.social-links a:hover {
    background: var(--secondary, #B98A4B);
    border-color: var(--secondary, #B98A4B);
    color: var(--primary, #5A1A2B);
}

.payment-methods { margin-top: var(--space-md, 1.5rem); }
.payment-indicators { display: flex; gap: var(--space-xs, 0.5rem); margin-top: var(--space-xs, 0.5rem); flex-wrap: wrap; }
.pay-chip {
    color: #fff;
    padding: 4px 10px;
    border-radius: var(--radius-control, 2px);
    font-size: var(--fs-caption, 0.75rem);
    font-weight: 600;
    letter-spacing: 0.02em;
}
.pay-chip.pay-bkash { background: #e2136e; }
.pay-chip.pay-nagad { background: #f26522; }
.pay-chip.pay-cod   { background: var(--text, #211C1C); }

.footer-bottom {
    border-top: 1px solid rgba(247, 243, 236, 0.18);
    padding-top: var(--space-md, 1.5rem);
    text-align: center;
    color: rgba(247, 243, 236, 0.6);
    font-size: var(--fs-caption, 0.75rem);
    letter-spacing: 0.04em;
}

/* Forms (checkout) */
.form-group { margin-bottom: 15px; }
.form-group label { display: block; margin-bottom: 5px; font-size: 13px; font-weight: 600; color: var(--text, #555); }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 10px 14px; border: 1px solid var(--border, #E4DCCF); border-radius: var(--radius-control, 6px); font-size: 14px; font-family: var(--font-body, sans-serif); color: var(--text, #211C1C); background: #fff; outline: none; transition: border-color 0.3s ease; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--secondary, #B98A4B); }
.form-row { display: grid; grid-template-columns: 1fr; gap: 15px; }
.admin-card { background: #fff; border: 1px solid var(--border, #E4DCCF); border-radius: var(--radius-card, 4px); padding: 25px; box-shadow: var(--shadow-card, 0 6px 24px rgba(33,28,28,0.08)); }
.checkout-grid { display: grid; grid-template-columns: 1fr; gap: 25px; }
.payment-option { padding: 12px; margin-bottom: 10px; border: 1px solid var(--border, #E4DCCF); border-radius: var(--radius-control, 8px); transition: border-color 0.3s ease; }
.payment-option label { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14px; color: var(--text, #211C1C); }

/* ===== Responsive enhancements (mobile-first: base targets mobile; min-width scales up) ===== */
@media (min-width: 769px) {
    /* Header restored to full size; category nav inline */
    .site-header-inner { min-height: 64px; gap: var(--space-sm, 0.75rem); }
    .logo-img { height: 52px; }
    .logo-text { font-size: var(--fs-h2, 28px); }
    .header-icon-btn { font-size: 20px; padding: 6px; }
    .category-nav { display: block; }
    .nav-list { flex-direction: row; }
    /* Top bar back to a single inline row */
    .top-bar .container { flex-direction: row; justify-content: space-between; gap: 0; font-size: 12px; }
    /* Hero + banner at full scale */
    .hero-banner { height: 350px; }
    .banner-content h1 { font-size: 42px; }
    /* Product grid: fluid multi-column; square images */
    .product-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
    .product-card .product-image { height: auto; aspect-ratio: 1 / 1; }
    /* Product detail image taller */
    .main-image { height: 450px; }
    /* Cart row layout */
    .cart-item { grid-template-columns: 90px 1fr auto auto auto; gap: 15px; }
    .cart-summary { flex-direction: row; gap: 0; }
    .action-buttons { flex-direction: row; }
    /* Two-column checkout form rows */
    .form-row { grid-template-columns: 1fr 1fr; }
    /* Footer: two columns on tablets */
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 993px) {
    /* Sidebar layout pages */
    .page-layout { grid-template-columns: 250px 1fr; }
    .sidebar { position: sticky; top: 80px; }
    /* Product detail two-column */
    .product-detail-layout { grid-template-columns: 1fr 1fr; }
    /* Checkout two-column */
    .checkout-grid { grid-template-columns: 1.5fr 1fr; }
    /* Footer full four columns on desktop */
    .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}

/* ===== Premium Editorial Homepage Sections (Req 7.1–7.7, 12.2) ===== */
/* Generous vertical rhythm between editorial sections, driven by spacing tokens. */
.editorial-section {
    padding-top: var(--space-lg, 2.5rem);
    padding-bottom: var(--space-lg, 2.5rem);
}
/* Small uppercase label that introduces each editorial block. */
.section-eyebrow {
    color: var(--secondary, #B98A4B);
    margin-bottom: var(--space-xs, 0.5rem);
}

/* --- Lookbook: large imagery beside editorial copy --- */
.lookbook-section { background: #fff; }
.lookbook-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md, 1.5rem);
    align-items: center;
}
.lookbook-media {
    border-radius: var(--radius-card, 4px);
    overflow: hidden;
    box-shadow: var(--shadow-card, 0 6px 24px rgba(33,28,28,0.08));
}
.lookbook-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.lookbook-copy .section-title { margin-bottom: var(--space-sm, 1rem); }
.lookbook-text {
    color: var(--text, #211C1C);
    font-size: var(--fs-body, 1rem);
    line-height: var(--line-height-base, 1.6);
    margin-bottom: var(--space-md, 1.5rem);
    opacity: 0.85;
}

/* Shared editorial CTA (uppercase, letter-spaced, token-driven) */
.editorial-cta {
    display: inline-block;
    padding: 13px 36px;
    background: var(--primary, #5A1A2B);
    color: var(--surface, #F7F3EC);
    font-family: var(--font-body, 'Inter', 'Hind Siliguri', sans-serif);
    font-size: var(--fs-small, 0.875rem);
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing-label, 0.18em);
    border: none;
    cursor: pointer;
    border-radius: var(--radius-control, 2px);
    transition: background 0.3s ease, transform 0.3s ease;
}
.editorial-cta:hover { background: var(--secondary, #B98A4B); transform: translateY(-2px); }

/* --- Brand storytelling: centered serif heading + copy --- */
.story-section { background: var(--surface, #F7F3EC); }
.story-inner { max-width: 760px; margin: 0 auto; text-align: center; }
.story-title {
    font-family: var(--font-display, 'Cormorant Garamond', 'Noto Serif Bengali', Georgia, serif);
    font-size: var(--fs-h2, 1.75rem);
    line-height: var(--line-height-display, 1.15);
    color: var(--text, #211C1C);
    margin-bottom: var(--space-md, 1.5rem);
}
.story-text {
    font-size: var(--fs-body, 1rem);
    line-height: var(--line-height-base, 1.6);
    color: var(--text, #211C1C);
    opacity: 0.85;
}

/* --- Newsletter signup --- */
.newsletter-section { background: var(--primary, #5A1A2B); }
.newsletter-inner { max-width: 620px; margin: 0 auto; text-align: center; }
.newsletter-section .section-eyebrow { color: var(--secondary, #B98A4B); }
.newsletter-section .section-title,
.newsletter-text { color: var(--surface, #F7F3EC); }
.newsletter-text { margin-bottom: var(--space-md, 1.5rem); opacity: 0.92; }
.newsletter-form { display: flex; flex-direction: column; gap: var(--space-xs, 0.5rem); justify-content: center; flex-wrap: wrap; }
.newsletter-form input {
    flex: 1;
    min-width: 0;
    width: 100%;
    padding: 13px 18px;
    border: 1px solid var(--border, #E4DCCF);
    border-radius: var(--radius-control, 2px);
    font-family: var(--font-body, sans-serif);
    font-size: var(--fs-body, 1rem);
    background: #fff;
    color: var(--text, #211C1C);
    outline: none;
}
.newsletter-form .editorial-cta { background: var(--secondary, #B98A4B); width: 100%; }
.newsletter-form .editorial-cta:hover { background: var(--surface, #F7F3EC); color: var(--primary, #5A1A2B); }

/* --- Large screens: restore generous whitespace + multi-column editorial layout --- */
@media (min-width: 768px) {
    .editorial-section {
        padding-top: var(--section-gap, 5rem);
        padding-bottom: var(--section-gap, 5rem);
    }
    .lookbook-grid { grid-template-columns: 1.15fr 0.85fr; gap: var(--space-xl, 4rem); }
    .story-title { font-size: var(--fs-h1, 2.25rem); }
    .newsletter-form { flex-direction: row; }
    .newsletter-form input { min-width: 240px; width: auto; }
    .newsletter-form .editorial-cta { width: auto; }
}

/* ===== Mobile Bottom Navigation (mobile-first base: visible; hidden on Large_Screen) ===== */
.bottom-nav {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1050;
    background: var(--surface, #F7F3EC);
    border-top: 1px solid var(--border, #E4DCCF);
    box-shadow: 0 -4px 18px rgba(33, 28, 28, 0.08);
    padding-bottom: env(safe-area-inset-bottom, 0);
}
.bottom-nav-item {
    flex: 1 1 0;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 8px 4px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text, #211C1C);
    font-family: var(--font-body, 'Inter', 'Hind Siliguri', 'Segoe UI', sans-serif);
    font-size: var(--fs-caption, 0.75rem);
    line-height: 1;
    text-decoration: none;
    transition: color 0.3s ease;
}
.bottom-nav-item i { font-size: 18px; line-height: 1; }
.bottom-nav-item span:not(.cart-count) {
    font-size: 10px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
/* Active destination indicator */
.bottom-nav-item.active { color: var(--primary, #5A1A2B); }
.bottom-nav-item.active i { color: var(--primary, #5A1A2B); }
/* Cart-count badge over the Bag icon */
.bottom-nav-item.cart-icon .cart-count {
    position: absolute;
    top: 2px;
    left: 50%;
    right: auto;
    transform: translateX(6px);
}
/* Reserve space so the fixed bar never covers page content */
body { padding-bottom: 60px; }

/* Large screens: hide the bottom nav, drop the reserved space, reset the chat widget offset */
@media (min-width: 768px) {
    .bottom-nav { display: none; }
    body { padding-bottom: 0; }
    .float-contact { bottom: 18px; }
}

/* ===== Motion Layer: hover transitions + scroll reveal (Req 11.1, 11.2, 11.3, 11.4, 12.1) ===== */

/* Subtle hover transitions on interactive elements — Large_Screen only (Req 11.1).
   All durations are kept <= 400ms so interaction is never delayed (Req 11.4). */
@media (min-width: 768px) {
    a, button, .btn, .editorial-cta, .banner-btn,
    .nav-list li a, .view-all, .header-icon-btn, .category-card,
    .color-swatch, .home-review-card {
        transition: color 0.3s ease, background-color 0.3s ease,
            border-color 0.3s ease, transform 0.3s ease,
            box-shadow 0.3s ease, opacity 0.3s ease;
    }
}

/* Scroll reveal for editorial sections (Req 11.2).
   Progressive enhancement: sections are fully visible by default. JS adds
   `.reveal-init` ONLY when IntersectionObserver is available, which applies the
   pre-reveal (hidden) state; `.is-visible` (added on viewport entry) animates
   them in. With no JS / no observer, no class is added and content stays visible. */
.editorial-section.reveal-init {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    will-change: opacity, transform;
}
.editorial-section.reveal-init.is-visible {
    opacity: 1;
    transform: none;
}

/* Reduced motion: neutralize non-essential motion (Req 11.3). Reveal instantly
   with no transform, and disable the hover transitions added above. */
@media (prefers-reduced-motion: reduce) {
    .editorial-section.reveal-init {
        opacity: 1;
        transform: none;
        transition: none;
    }
    a, button, .btn, .editorial-cta, .banner-btn,
    .nav-list li a, .view-all, .header-icon-btn, .category-card,
    .color-swatch, .home-review-card {
        transition: none;
    }
}
