/* ================================================================
   styles.css — AK Jewels  |  White Luxury Theme
   Sections:
     1. Reset & Variables
     2. Social Bar
     3. Navbar
     4. Sidebar
     5. Hero Slider        (dark overlay on images — intentional)
     6. Product Sections & Cards
     7. Page Overlay, Banner & Filter Bar
     8. Footer
================================================================ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
  :root { --gold: #b8973a; --gold-light: #c8970a; --dark: #ffffff; --text: #1a1612; --sidebar-w: 240px; }
  body { font-family: 'Montserrat', sans-serif; background: var(--dark); color: var(--text); overflow-x: hidden; }

  /* ── SOCIAL BAR ── */
  .social-bar { background: #f5f0e8; border-bottom: 1px solid rgba(184,151,58,0.12); display: flex; justify-content: flex-end; align-items: center; gap: 6px; padding: 7px 40px; }
  .social-bar > span { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: rgba(26,22,18,0.45); margin-right: 6px; }
  .social-link { display: flex; align-items: center; gap: 7px; text-decoration: none; font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 600; padding: 5px 14px; border: 1px solid rgba(26,22,18,0.15); transition: border-color 0.2s, color 0.2s, background 0.2s; }
  .social-link svg { width: 14px; height: 14px; flex-shrink: 0; }
  .social-link.insta { color: #c97bb8; } .social-link.insta:hover { border-color: #c97bb8; background: rgba(201,123,184,0.08); }
  .social-link.whatsapp { color: #5bdb7a; } .social-link.whatsapp:hover { border-color: #5bdb7a; background: rgba(91,219,122,0.08); }

  /* ── NAVBAR ── */
  nav { display: flex; align-items: center; justify-content: space-between; padding: 0 40px; height: 72px; background: #ffffff; border-bottom: 1px solid rgba(184,151,58,0.3); position: sticky; top: 0; z-index: 200; }
  .nav-logo { font-family: 'Cormorant Garamond', serif; font-size: 26px; font-weight: 400; letter-spacing: 4px; color: var(--gold); text-decoration: none; text-transform: uppercase; display: flex; align-items: center; gap: 14px; }
  .nav-logo span { color: #1a1612; font-weight: 300; }
  .nav-links { display: flex; gap: 30px; list-style: none; }
  .nav-links a { color: rgba(26,22,18,0.85); text-decoration: none; font-size: 14px; letter-spacing: 2px; text-transform: uppercase; font-weight: 900; transition: color 0.2s; }
  .nav-links a:hover { color: var(--gold-light); }
  .nav-icons { display: flex; gap: 20px; align-items: center; }
  .nav-icons button { background: none; border: none; cursor: pointer; color: rgba(26,22,18,0.6); transition: color 0.2s; padding: 4px; }
  .nav-icons button:hover { color: var(--gold-light); }
  .nav-icons svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

  /* hamburger toggle in nav */
  #sidebar-toggle { display: flex; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
  #sidebar-toggle span { display: block; width: 22px; height: 1.5px; background: rgba(26,22,18,0.6); transition: transform 0.3s, opacity 0.3s; }
  body.sidebar-open #sidebar-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  body.sidebar-open #sidebar-toggle span:nth-child(2) { opacity: 0; }
  body.sidebar-open #sidebar-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

  /* ── PAGE SHELL ── */
  .page-shell { display: flex; position: relative; }

  /* ── SIDEBAR ── */
  #sidebar {
    width: var(--sidebar-w);
    min-height: 100vh;
    background: #faf7f2;
    border-right: 1px solid rgba(184,151,58,0.25);
    position: sticky;
    top: 72px;
    height: calc(100vh - 72px);
    overflow-y: auto;
    flex-shrink: 0;
    transform: translateX(0);
    transition: transform 0.35s cubic-bezier(0.4,0,0.2,1), width 0.35s cubic-bezier(0.4,0,0.2,1);
    z-index: 150;
    scrollbar-width: thin;
    scrollbar-color: rgba(184,151,58,0.2) transparent;
  }

  body:not(.sidebar-open) #sidebar {
    transform: translateX(-100%);
    width: 0;
    min-width: 0;
    overflow: hidden;
    border: none;
  }

  .sidebar-logo {
    padding: 24px 20px 16px;
    font-size: 9px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 600;
    border-bottom: 1px solid rgba(184,151,58,0.12);
    margin-bottom: 8px;
  }

  /* category group */
  .sb-group { margin-bottom: 4px; }

  .sb-category {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 20px;
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    color: rgba(26,22,18,0.65);
    cursor: pointer;
    user-select: none;
    transition: color 0.2s, background 0.2s;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
  }

  .sb-category:hover { color: var(--gold-light); background: rgba(184,151,58,0.06); }
  .sb-category.active { color: var(--gold-light); }

  .sb-arrow {
    width: 14px; height: 14px;
    fill: none; stroke: currentColor; stroke-width: 2;
    stroke-linecap: round; stroke-linejoin: round;
    transition: transform 0.25s;
    flex-shrink: 0;
  }
  .sb-category.active .sb-arrow { transform: rotate(180deg); }

  .sb-items {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.35s cubic-bezier(0.4,0,0.2,1);
  }
  .sb-items.open { max-height: 600px; }

  .sb-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 20px 9px 32px;
    font-size: 10px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(26,22,18,0.5);
    cursor: pointer;
    transition: color 0.2s, background 0.2s;
    border-left: 2px solid transparent;
  }

  .sb-item:hover { color: rgba(26,22,18,0.85); background: rgba(184,151,58,0.05); }
  .sb-item.active { color: var(--gold-light); border-left-color: var(--gold); background: rgba(184,151,58,0.06); }

  .sb-item-dot { width: 5px; height: 5px; border-radius: 50%; background: currentColor; flex-shrink: 0; }

  .sb-count { margin-left: auto; font-size: 9px; color: rgba(26,22,18,0.35); background: rgba(26,22,18,0.06); padding: 2px 6px; border-radius: 8px; }

  .sb-divider { height: 1px; background: rgba(26,22,18,0.08); margin: 8px 20px; }

  /* plain sidebar links */
  .sb-link { display: block; padding: 11px 20px; font-size: 10px; letter-spacing: 2px; text-transform: uppercase; font-weight: 600; color: rgba(26,22,18,0.55); cursor: pointer; transition: color 0.2s, background 0.2s; text-decoration: none; }
  .sb-link:hover { color: var(--gold-light); background: rgba(184,151,58,0.06); }
  .sb-link.sale { color: #e07070; }

  /* ── MAIN CONTENT ── */
  #main { flex: 1; min-width: 0; transition: all 0.35s; }

  /* ── HERO SLIDER ── */
  .hero { position: relative; width: 100%; height: calc(100vh - 72px - 34px); min-height: 500px; overflow: hidden; background: var(--dark); }
  .slides { display: flex; height: 100%; transition: transform 0.9s cubic-bezier(0.77,0,0.175,1); }
  .slide { min-width: 100%; height: 100%; position: relative; overflow: hidden; }
  .slide-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.06); transition: transform 8s ease-out; }
  .slide.active .slide-bg { transform: scale(1); }
  .slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(10,8,5,0.72) 0%, rgba(10,8,5,0.3) 50%, rgba(10,8,5,0.15) 100%); }
  .slide-content { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: center; padding: 60px 90px; max-width: 680px; }
  .slide-tag { font-size: 10px; letter-spacing: 4px; text-transform: uppercase; color: var(--gold-light); margin-bottom: 18px; opacity: 0; transform: translateY(14px); transition: opacity 0.7s 0.3s, transform 0.7s 0.3s; }
  .slide-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(42px, 5.5vw, 78px); font-weight: 300; line-height: 1.1; color: #fff; margin-bottom: 20px; opacity: 0; transform: translateY(20px); transition: opacity 0.7s 0.5s, transform 0.7s 0.5s; }
  .slide-title em { font-style: italic; color: var(--gold-light); }
  .slide-sub { font-size: 12px; letter-spacing: 1.5px; color: rgba(255,255,255,0.6); margin-bottom: 38px; opacity: 0; transform: translateY(14px); transition: opacity 0.7s 0.65s, transform 0.7s 0.65s; }
  .slide-btn { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; background: var(--gold); color: var(--dark); font-size: 10px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; padding: 14px 32px; width: fit-content; opacity: 0; transform: translateY(14px); transition: opacity 0.7s 0.8s, transform 0.7s 0.8s, background 0.25s, box-shadow 0.25s; }
  .slide-btn:hover { background: var(--gold-light); box-shadow: 0 8px 24px rgba(184,151,58,0.35); }
  .slide.active .slide-tag, .slide.active .slide-title, .slide.active .slide-sub, .slide.active .slide-btn { opacity: 1; transform: translateY(0); }
  .dots { position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 10; }
  .dot { width: 28px; height: 2px; background: rgba(255,255,255,0.3); cursor: pointer; border: none; padding: 0; transition: background 0.3s, width 0.3s; }
  .dot.active { background: var(--gold); width: 48px; }
  .arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 10; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.2); color: #fff; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background 0.2s, border-color 0.2s; }
  .arrow:hover { background: rgba(184,151,58,0.3); border-color: var(--gold); }
  .arrow.prev { left: 28px; } .arrow.next { right: 28px; }
  .arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .counter { position: absolute; bottom: 36px; right: 48px; font-size: 11px; letter-spacing: 2px; color: rgba(255,255,255,0.45); z-index: 10; font-family: 'Cormorant Garamond', serif; }
  .counter b { color: var(--gold-light); font-weight: 400; font-size: 16px; }
  .progress-bar { position: absolute; bottom: 0; left: 0; height: 2px; background: var(--gold); width: 0%; z-index: 10; transition: width linear; }

  /* ── PRODUCT SECTIONS ── */
  .section { padding: 72px 52px 80px; }
  .section-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 44px; }
  .section-header-left { display: flex; flex-direction: column; gap: 10px; }
  .section-tag-label { font-size: 10px; letter-spacing: 4px; text-transform: uppercase; color: var(--gold); font-weight: 600; }
  .section-title { font-family: 'Cormorant Garamond', serif; font-size: 42px; font-weight: 300; color: #1a1612; line-height: 1; }
  .view-all { font-size: 10px; letter-spacing: 3px; text-transform: uppercase; color: rgba(26,22,18,0.5); text-decoration: none; border-bottom: 1px solid rgba(26,22,18,0.2); padding-bottom: 2px; transition: color 0.2s, border-color 0.2s; margin-bottom: 6px; }
  .view-all:hover { color: var(--gold-light); border-color: var(--gold-light); }
  .products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; }
  .product-card { display: flex; flex-direction: column; cursor: pointer; }
  .product-img-wrap { position: relative; overflow: hidden; aspect-ratio: 3/4; background: #ede9e2; }
  .product-img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.7s cubic-bezier(0.25,0.46,0.45,0.94); }
  .product-card:hover .product-img-wrap img { transform: scale(1.07); }
  .product-badge { position: absolute; top: 12px; left: 12px; background: var(--gold); color: var(--dark); font-size: 8px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; padding: 4px 9px; }
  .quick-view { position: absolute; bottom: 0; left: 0; right: 0; background: rgba(10,8,5,0.85); color: var(--gold-light); font-size: 10px; letter-spacing: 3px; text-transform: uppercase; text-align: center; padding: 12px; border: none; cursor: pointer; opacity: 0; transform: translateY(8px); transition: opacity 0.3s, transform 0.3s; }
  .product-card:hover .quick-view { opacity: 1; transform: translateY(0); }
  .product-info { padding: 14px 2px 0; display: flex; flex-direction: column; gap: 5px; }
  .product-name { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: rgba(26,22,18,0.85); font-weight: 500; }
  .product-weight { font-size: 10px; letter-spacing: 1.5px; color: rgba(26,22,18,0.4); text-transform: uppercase; }

  /* ── FOOTER ── */
  footer { background: #faf7f2; border-top: 1px solid rgba(184,151,58,0.3); padding: 60px 60px 36px; }
  .footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(26,22,18,0.08); }
  .footer-brand-logo { font-family: 'Cormorant Garamond', serif; font-size: 28px; font-weight: 400; letter-spacing: 4px; color: var(--gold); text-transform: uppercase; margin-bottom: 14px; display: block; text-decoration: none; }
  .footer-brand-logo span { color: #1a1612; font-weight: 300; }
  .footer-tagline { font-size: 12px; color: rgba(26,22,18,0.5); line-height: 1.8; max-width: 260px; margin-bottom: 28px; }
  .footer-social-links { display: flex; flex-direction: column; gap: 10px; }
  .footer-social-link { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; font-weight: 600; padding: 10px 18px; border: 1px solid rgba(26,22,18,0.15); width: fit-content; transition: border-color 0.2s, background 0.2s; }
  .footer-social-link svg { width: 15px; height: 15px; flex-shrink: 0; }
  .footer-social-link.insta { color: #c97bb8; } .footer-social-link.insta:hover { border-color: #c97bb8; background: rgba(201,123,184,0.08); }
  .footer-social-link.whatsapp { color: #5bdb7a; } .footer-social-link.whatsapp:hover { border-color: #5bdb7a; background: rgba(91,219,122,0.08); }
  .footer-col-title { font-size: 16px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 20px; }
  .footer-links { list-style: none; display: flex; flex-direction: column; gap: 12px; }
  .footer-links a { text-decoration: none; font-size: 14px; color: rgba(26,22,18,0.95); letter-spacing: 1px; transition: color 0.2s; }
  .footer-links a:hover { color: var(--gold-light); }
  .footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; }
  .footer-copy { font-size: 10px; letter-spacing: 1.5px; color: #1a1612; text-transform: uppercase; }
  .footer-bottom-social { display: flex; gap: 8px; }
  .footer-icon-link { width: 34px; height: 34px; border: 1px solid rgba(26,22,18,0.15); display: flex; align-items: center; justify-content: center; text-decoration: none; transition: border-color 0.2s, background 0.2s; }
  .footer-icon-link svg { width: 15px; height: 15px; }
  .footer-icon-link.insta { color: #c97bb8; } .footer-icon-link.insta:hover { border-color: #c97bb8; background: rgba(201,123,184,0.08); }
  .footer-icon-link.whatsapp { color: #5bdb7a; } .footer-icon-link.whatsapp:hover { border-color: #5bdb7a; background: rgba(91,219,122,0.08); }

  .nav-links a.bridal { color: var(--gold-light); border-bottom: 1px solid rgba(212,184,106,0.95); font-weight: 1000; padding-bottom: 1px; }
  .section { scroll-margin-top: 72px; }
  #page-overlay { display: none; position: fixed; inset: 0; z-index: 500; background: #ffffff; overflow-y: auto; }
  #page-overlay.active { display: block; }
  .ov-nav { display: flex; align-items: center; justify-content: space-between; padding: 0 40px; height: 72px; background: #ffffff; border-bottom: 1px solid rgba(184,151,58,0.3); position: sticky; top: 0; z-index: 600; }
  .ov-back { display: inline-flex; align-items: center; gap: 8px; background: none; border: none; color: rgba(26,22,18,0.5); font-family: 'Montserrat', sans-serif; font-size: 10px; letter-spacing: 2px; text-transform: uppercase; cursor: pointer; padding: 8px 0; transition: color 0.2s; }
  .ov-back:hover { color: var(--gold-light); }
  .ov-back svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
  .page-banner { position: relative; width: 100%; height: 220px; overflow: hidden; display: flex; align-items: flex-end; padding: 40px 60px; }
  .page-banner-bg { position: absolute; inset: 0; background-size: cover; background-position: center 40%; opacity: 0.35; }
  .page-banner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg,rgba(10,8,5,0.85) 0%,rgba(10,8,5,0.4) 100%); }
  .page-banner-content { position: relative; z-index: 2; }
  .page-banner-tag { font-size: 10px; letter-spacing: 4px; text-transform: uppercase; color: var(--gold-light); margin-bottom: 10px; }
  .page-banner-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(32px,4vw,54px); font-weight: 300; color: #fff; line-height: 1.1; }
  .page-banner-title em { font-style: italic; color: var(--gold-light); }
  .filter-bar { display: flex; padding: 0 60px; background: #f5f0e8; border-bottom: 1px solid rgba(184,151,58,0.25); overflow-x: auto; scrollbar-width: none; }
  .filter-bar::-webkit-scrollbar { display: none; }
  .filter-tab { flex-shrink: 0; padding: 16px 24px; font-size: 10px; letter-spacing: 2.5px; text-transform: uppercase; font-weight: 600; color: rgba(26,22,18,0.4); cursor: pointer; border: none; background: none; border-bottom: 2px solid transparent; transition: color 0.2s, border-color 0.2s; }
  .filter-tab:hover { color: rgba(26,22,18,0.8); }
  .filter-tab.active { color: var(--gold-light); border-bottom-color: var(--gold); }
  .result-count { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: rgba(26,22,18,0.35); }
  .product-type { font-size: 9px; letter-spacing: 1.5px; color: var(--gold); text-transform: uppercase; margin-top: 2px; }
  .product-card.hidden { display: none; }
  /* ── SECTION BACKGROUNDS ── */
  .section                { background: #ffffff; }
  #section-women-bridal   { background: #faf7f2; }
  #section-men-bridal     { background: #f5f0e8; }
  #section-new-arrivals   { background: #ffffff; }


/* ================================================================
   RESPONSIVE — Mobile & Tablet Breakpoints
   Breakpoints:
     ≤ 1024px  Tablet
     ≤ 768px   Mobile landscape
     ≤ 480px   Mobile portrait
================================================================ */

/* ── TABLET (≤ 1024px) ────────────────────────────────────────── */
@media (max-width: 1024px) {

  /* Sidebar — hidden by default on tablet, slide in on toggle */
  #sidebar {
    position: fixed;
    left: -var(--sidebar-w);
    top: 0;
    height: 100vh;
    z-index: 300;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
  }
  body.sidebar-open #sidebar {
    transform: translateX(0);
  }

  /* Sidebar overlay backdrop */
  body.sidebar-open::after {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.35);
    z-index: 299;
  }

  #main {
    margin-left: 0 !important;
    width: 100%;
  }

  /* Nav */
  nav { padding: 0 20px; }
  .nav-links { gap: 18px; }
  .nav-links a { font-size: 10px; letter-spacing: 1.5px; }

  /* Hero */
  .slide-title { font-size: 48px; }
  .slide-content { padding: 0 40px; max-width: 560px; }

  /* Product grid — 3 columns */
  .products-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }

  /* Section padding */
  .section { padding: 48px 32px 60px; }
  .section-header { margin-bottom: 32px; }

  /* Overlay */
  #page-overlay section { padding: 40px 32px 60px !important; }
  .filter-bar { padding: 0 32px; overflow-x: auto; }

  /* Footer */
  footer { padding: 48px 32px 32px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}


/* ── MOBILE LANDSCAPE (≤ 768px) ───────────────────────────────── */
@media (max-width: 768px) {

  /* Social bar */
  .social-bar { padding: 6px 16px; gap: 8px; }
  .social-bar > span { display: none; }
  .social-link span { display: none; }
  .social-link { padding: 4px 10px; font-size: 9px; gap: 5px; }

  /* Nav */
  nav { padding: 0 16px; height: 60px; }
  .nav-logo { font-size: 20px; letter-spacing: 3px; }
  .nav-links { display: none; }   /* hidden — use sidebar on mobile */
  .nav-icons { gap: 6px; }

  /* Hero */
  .hero { height: 80vh; min-height: 420px; }
  .slide-tag { font-size: 9px; letter-spacing: 3px; }
  .slide-title { font-size: 36px; line-height: 1.15; }
  .slide-sub { font-size: 11px; display: none; }
  .slide-btn { font-size: 9px; padding: 12px 24px; letter-spacing: 2.5px; }
  .slide-content { padding: 0 24px; max-width: 100%; }
  .arrow { width: 38px; height: 38px; }
  .arrow.prev { left: 12px; }
  .arrow.next { right: 12px; }
  .counter { bottom: 20px; right: 24px; font-size: 10px; }
  .dots { bottom: 20px; }

  /* Section */
  .section { padding: 36px 16px 48px; }
  .section-title { font-size: 28px; }
  .section-tag-label { font-size: 8px; }
  .section-header { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 24px; }
  .view-all { font-size: 9px; }

  /* Product grid — 2 columns */
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .product-name   { font-size: 9px; letter-spacing: 1.5px; }
  .product-weight { font-size: 9px; }
  .product-info   { padding: 10px 8px 12px; }

  /* Overlay */
  .ov-nav { padding: 0 16px; height: 60px; }
  .ov-nav > span { font-size: 16px; letter-spacing: 3px; }
  #page-overlay section { padding: 28px 16px 48px !important; }
  .filter-bar { padding: 0 16px; gap: 0; overflow-x: auto; white-space: nowrap; }
  .filter-tab  { padding: 14px 16px; font-size: 9px; letter-spacing: 2px; flex-shrink: 0; }

  .page-banner { height: 220px; }
  .page-banner-tag   { font-size: 9px; }
  .page-banner-title { font-size: 32px; }
  .page-banner-content { padding: 0 24px; }

  /* Footer */
  footer { padding: 40px 16px 28px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-brand-logo { font-size: 22px; }
  .footer-tagline { font-size: 11px; }
  .footer-col-title { font-size: 8px; }
  .footer-links { gap: 10px; }
  .footer-links a { font-size: 11px; }
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
  }
  .footer-copy { font-size: 9px; }
}


/* ── MOBILE PORTRAIT (≤ 480px) ────────────────────────────────── */
@media (max-width: 480px) {

  /* Hero */
  .hero { height: 75vh; min-height: 380px; }
  .slide-title { font-size: 28px; }
  .slide-tag { display: none; }
  .slide-btn { padding: 10px 20px; font-size: 8px; }

  /* Product grid — 2 tight columns */
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }

  .product-badge { font-size: 7px; padding: 3px 7px; top: 8px; left: 8px; }
  .quick-view { font-size: 8px; letter-spacing: 1px; padding: 8px; }

  /* Section */
  .section { padding: 28px 12px 40px; }
  .section-title { font-size: 24px; }

  /* Overlay */
  .ov-nav > span { font-size: 14px; letter-spacing: 2px; }
  .ov-back { font-size: 9px; }
  .page-banner { height: 180px; }
  .page-banner-title { font-size: 26px; }

  /* Nav */
  .nav-logo { font-size: 18px; letter-spacing: 2px; }
}


/* ── SIDEBAR OPEN: prevent body scroll on mobile ─────────────── */
body.sidebar-open { overflow: hidden; }

/* ── FILTER BAR: hide scrollbar but keep scroll on mobile ──────── */
.filter-bar::-webkit-scrollbar { display: none; }
.filter-bar { -ms-overflow-style: none; scrollbar-width: none; }

/* ── SIDEBAR CLOSE BUTTON ── */
.sb-close-row {
  display: none;
  justify-content: flex-end;
  padding: 14px 16px 4px;
}
.sb-close-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(26,22,18,0.06);
  border: 1px solid rgba(26,22,18,0.12);
  border-radius: 50%;
  cursor: pointer;
  color: #1a1612;
  transition: background 0.2s, border-color 0.2s;
}
.sb-close-btn:hover { background: rgba(26,22,18,0.1); border-color: rgba(26,22,18,0.25); }
.sb-close-btn svg   { width: 18px; height: 18px; stroke: currentColor; }

/* Show close button on tablet + mobile only */
@media (max-width: 1024px) {
  .sb-close-row { display: flex; }
}
