/* =====================================================
   BLISS PEPTIDES — Global Stylesheet
   ===================================================== */

/* ── Skeleton Loading ── */
@keyframes shimmer {
  0%   { background-position: -800px 0; }
  100% { background-position: 800px 0; }
}
.skeleton {
  background: linear-gradient(90deg, var(--surface-2) 25%, var(--surface-3) 50%, var(--surface-2) 75%);
  background-size: 800px 100%;
  animation: shimmer 1.6s infinite linear;
  border-radius: var(--radius-sm);
}
.skeleton-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.skeleton-img  { height: 180px; width: 100%; }
.skeleton-body { padding: 14px 14px 18px; display: flex; flex-direction: column; gap: 10px; }
.skeleton-line { height: 12px; border-radius: 6px; }
.skeleton-line.short { width: 60%; }
.skeleton-line.med   { width: 80%; }
.skeleton-line.tall  { height: 16px; }

/* ── Vial Illustration ── */
.vial-illustration {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.vial-svg { filter: drop-shadow(0 8px 24px rgba(0,0,0,0.5)); transition: transform 0.3s ease; }
.product-card:hover .vial-svg { transform: translateY(-4px) rotate(2deg); }

@import url('https://fonts.googleapis.com/css2?family=Cormorant:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400&family=Jost:wght@200;300;400;500;600;700&family=Pacifico&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* ── Brand Colors (Bliss Peptides) ── */
  --black:       #060606;       /* Deep black background */
  --surface:     #0e0e0e;       /* Card surface */
  --surface-2:   #181818;       /* Elevated surface */
  --surface-3:   #222222;       /* Highest surface */
  --red:         #d41414;       /* Brand red — matches logo */
  --red-dark:    #920e0e;       /* Deep red */
  --red-light:   #f52b2b;       /* Hover / accent red */
  --red-bright:  #ff3333;       /* High-visibility CTAs */
  --red-glow:    rgba(212,20,20,0.18);
  --white:       #ffffff;
  --white-90:    rgba(255,255,255,0.92);
  --white-80:    rgba(255,255,255,0.80);
  --white-60:    rgba(255,255,255,0.62);
  --white-40:    rgba(255,255,255,0.40);
  --white-30:    rgba(255,255,255,0.30);
  --white-10:    rgba(255,255,255,0.07);
  --border:      rgba(255,255,255,0.07);
  --border-red:  rgba(212,20,20,0.40);
  --font-head:   'Cormorant', serif;
  --font-body:   'Jost', sans-serif;
  --font-brand:  'Pacifico', cursive;   /* Script font — matches "Bliss" wordmark */
  --radius-sm:   6px;
  --radius:      12px;
  --radius-lg:   20px;
  --radius-xl:   32px;
  --shadow-red:  0 0 48px rgba(212,20,20,0.30), 0 0 100px rgba(212,20,20,0.12);
  --shadow-card: 0 4px 28px rgba(0,0,0,0.72);
  --transition:  all 0.22s cubic-bezier(0.4,0,0.2,1);
}

html { scroll-behavior: smooth; }
body { background-color: var(--black); color: var(--white-90); font-family: var(--font-body); font-size: 16px; font-weight: 300; line-height: 1.7; letter-spacing: 0.01em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--red-dark); border-radius: 3px; }

h1,h2,h3,h4,h5 { font-family: var(--font-head); font-weight: 300; line-height: 1.1; }
h1 { font-size: clamp(2.8rem, 7vw, 6rem); letter-spacing: 0.04em; }
h2 { font-size: clamp(2rem, 4.5vw, 3.6rem); letter-spacing: 0.02em; }
h3 { font-size: clamp(1.4rem, 2.8vw, 1.9rem); font-weight: 400; letter-spacing: 0.01em; }
p  { color: var(--white-60); line-height: 1.8; font-weight: 300; }

/* Luxury display overrides — use .display-head on hero titles */
.display-head { font-family: var(--font-head); font-weight: 200; letter-spacing: 0.08em; line-height: 1.0; }
.display-head em { font-style: italic; font-weight: 300; }

.section-label { display: inline-flex; align-items: center; gap: 8px; font-size: 0.68rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--red-light); margin-bottom: 1rem; font-family: var(--font-body); }
.section-label::before { content: ''; display: inline-block; width: 24px; height: 2px; background: var(--red); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: 1400px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section-sm { padding: 60px 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.text-center { text-align: center; }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 36px; border-radius: var(--radius); font-family: var(--font-body); font-size: 0.78rem; font-weight: 500; cursor: pointer; border: none; transition: var(--transition); white-space: nowrap; letter-spacing: 0.16em; text-transform: uppercase; }
.btn-primary { background: linear-gradient(135deg, var(--red-bright) 0%, var(--red) 50%, var(--red-dark) 100%); color: var(--white); box-shadow: 0 4px 20px rgba(212,20,20,0.35); }
.btn-primary:hover { background: linear-gradient(135deg, #ff4444 0%, var(--red-light) 50%, var(--red) 100%); transform: translateY(-2px); box-shadow: var(--shadow-red); }
.btn-outline { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.25); }
.btn-outline:hover { border-color: var(--red); color: var(--red-light); background: var(--red-glow); }
.btn-ghost { background: transparent; color: var(--white-60); padding: 10px 20px; }
.btn-ghost:hover { color: var(--white); }
.btn-lg { padding: 18px 42px; font-size: 1rem; border-radius: var(--radius-lg); }
.btn-sm { padding: 10px 20px; font-size: 0.82rem; border-radius: var(--radius-sm); font-weight: 600; }

.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; transition: var(--transition); }
.card:hover { border-color: var(--border-red); box-shadow: var(--shadow-card), 0 0 32px rgba(212,20,20,0.12); transform: translateY(-3px); }

.badge { display: inline-flex; align-items: center; padding: 4px 12px; border-radius: 100px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
.badge-red { background: rgba(220,38,38,0.15); color: var(--red-light); border: 1px solid rgba(220,38,38,0.3); }
.badge-white { background: rgba(255,255,255,0.08); color: var(--white-60); border: 1px solid var(--border); }
.badge-green { background: rgba(34,197,94,0.12); color: #4ade80; border: 1px solid rgba(34,197,94,0.25); }

.divider { width: 100%; height: 1px; background: var(--border); }

.ruo-tag { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; background: rgba(220,38,38,0.12); border: 1px solid rgba(220,38,38,0.35); border-radius: 100px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--red-light); }

/* Navbar */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 16px 0; transition: var(--transition); }
.navbar.scrolled { background: rgba(6,6,6,0.96); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); border-bottom: 1px solid rgba(212,20,20,0.2); padding: 10px 0; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo img { height: 48px; width: auto; display: block; max-width: 200px; filter: drop-shadow(0 0 8px rgba(220,38,38,0.35)); }
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a { padding: 8px 16px; font-size: 0.7rem; font-weight: 400; letter-spacing: 0.18em; text-transform: uppercase; color: var(--white-60); border-radius: var(--radius-sm); transition: var(--transition); }
.nav-links a:hover, .nav-links a.active { color: var(--white); background: var(--white-10); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-search-btn { width: 40px; height: 40px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: transparent; color: var(--white-60); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: var(--transition); font-size: 1rem; text-decoration: none; }
.nav-search-btn:hover { color: var(--white); border-color: var(--white-30); }
.nav-cart { position: relative; width: 40px; height: 40px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: transparent; color: var(--white-60); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: var(--transition); font-size: 1rem; }
.nav-cart:hover { color: var(--white); border-color: var(--white-30); }
.cart-count { position: absolute; top: -6px; right: -6px; width: 18px; height: 18px; background: var(--red); border-radius: 50%; font-size: 0.68rem; font-weight: 700; color: white; display: flex; align-items: center; justify-content: center; }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; background: none; border: none; }
.nav-hamburger span { display: block; width: 24px; height: 2px; background: var(--white-60); transition: var(--transition); border-radius: 2px; }
.mobile-menu { display: none; position: fixed; top: 68px; left: 0; right: 0; background: rgba(8,8,8,0.97); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); padding: 20px 24px 32px; z-index: 999; flex-direction: column; gap: 4px; }
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: 12px 16px; font-size: 1rem; font-weight: 500; color: var(--white-60); border-radius: var(--radius-sm); transition: var(--transition); }
.mobile-menu a:hover { color: var(--white); background: var(--white-10); }
.mobile-menu .btn { margin-top: 12px; width: 100%; justify-content: center; }

/* Footer */
footer { background: #070707; border-top: 2px solid var(--red-dark); padding: 64px 0 32px; position: relative; }
footer::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--red), var(--red-light), var(--red), transparent); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand p { font-size: 0.9rem; margin-top: 12px; max-width: 280px; }
.footer-col h4 { font-family: var(--font-head); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--white-60); margin-bottom: 16px; }
.footer-col a { display: block; font-size: 0.9rem; color: var(--white-60); padding: 5px 0; transition: var(--transition); }
.footer-col a:hover { color: var(--red-light); }
.footer-bottom { padding-top: 32px; border-top: 1px solid var(--border); display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-bottom p { font-size: 0.8rem; color: var(--white-30); }
.footer-disclaimer { font-size: 0.78rem; color: var(--white-30); line-height: 1.6; max-width: 640px; }

/* Top banner */
.top-banner { background: linear-gradient(90deg, #920e0e, #d41414 40%, #920e0e); color: white; text-align: center; padding: 10px 24px; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.03em; position: relative; z-index: 1001; border-bottom: 1px solid rgba(255,60,60,0.3); }

/* Page hero */
.page-hero { padding: 160px 0 80px; background: var(--black); position: relative; overflow: hidden; border-bottom: 1px solid var(--border); }
.page-hero h1 { font-size: clamp(2rem,4vw,3.2rem); margin-bottom: 16px; }
.page-hero p { font-size: 1.05rem; max-width: 560px; }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { width: 100%; background: none; border: none; text-align: left; padding: 20px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; color: var(--white); font-size: 0.95rem; font-weight: 500; font-family: var(--font-body); transition: var(--transition); }
.faq-q:hover { color: var(--red-light); }
.faq-q .chevron { width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 0.7rem; transition: var(--transition); flex-shrink: 0; color: var(--white-60); }
.faq-q.open .chevron { transform: rotate(180deg); border-color: var(--red); color: var(--red-light); }
.faq-a { display: none; padding: 0 0 20px; font-size: 0.9rem; color: var(--white-60); line-height: 1.75; }
.faq-a.open { display: block; }

/* ─────────────────────────────────────────────────────────
   RESPONSIVE — Full Mobile-First Enhancements
   ───────────────────────────────────────────────────────── */

/* 1024px – Tablet landscape */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* 768px – Tablet portrait / large phones */
@media (max-width: 768px) {
  /* Layout */
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .section-sm { padding: 40px 0; }
  .container { padding: 0 16px; }

  /* Nav */
  .nav-links { display: none; }
  .nav-actions .btn { display: none; }
  .nav-hamburger { display: flex; }
  .nav-actions .nav-cart { display: flex; }
  .nav-logo { font-size: 1.15rem; }
  .nav-logo .logo-icon { width: 30px; height: 30px; font-size: 0.85rem; }

  /* Mobile menu – larger tap targets */
  .mobile-menu a { min-height: 48px; display: flex; align-items: center; }

  /* Page hero */
  .page-hero { padding: 120px 0 56px; }
  .page-hero h1 { font-size: clamp(1.8rem, 8vw, 2.6rem); }
  .page-hero p { font-size: 0.95rem; }

  /* Typography */
  h1 { font-size: clamp(2rem, 8vw, 2.8rem); }
  h2 { font-size: clamp(1.5rem, 6vw, 2.2rem); }

  /* Buttons – full-width on mobile in stacked layouts */
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  /* Trust bar */
  .trust-items { gap: 20px; justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding: 0 16px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
  .trust-items::-webkit-scrollbar { display: none; }
  .trust-item { flex-shrink: 0; scroll-snap-align: start; }

  /* Cards – min tap target */
  .btn { min-height: 44px; }
  .btn-sm { min-height: 40px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 16px; }
  .footer-brand p { max-width: 100%; }

  /* Top banner text */
  .top-banner { font-size: 0.75rem; padding: 8px 16px; }

  /* FAQ */
  .faq-q { font-size: 0.88rem; padding: 16px 0; }
  .faq-q .chevron { width: 28px; height: 28px; flex-shrink: 0; }
}

/* 480px – Small phones */
@media (max-width: 480px) {
  .container { padding: 0 14px; }
  .section { padding: 52px 0; }

  /* Nav */
  .navbar { padding: 12px 0; }
  .navbar.scrolled { padding: 10px 0; }

  /* Hero */
  .hero-stats { gap: 16px; flex-wrap: wrap; }
  .hero-stat h3 { font-size: 1.5rem; }

  /* Buttons */
  .btn-lg { padding: 15px 28px; font-size: 0.95rem; }

  /* Cards */
  .card { padding: 20px; }

  /* Footer */
  .footer-col a { min-height: 40px; display: flex; align-items: center; }
}

/* Touch: remove hover effects that don't work on touch */
@media (hover: none) and (pointer: coarse) {
  .product-card:hover { transform: none; box-shadow: none; }
  .btn-primary:hover { transform: none; box-shadow: none; }
  .btn-outline:hover { background: transparent; }

  /* Ensure all tap targets are at least 44x44 */
  .nav-cart { min-width: 44px; min-height: 44px; }
  .nav-hamburger { min-width: 44px; min-height: 44px; }
  .filter-check { min-height: 44px; }
  .faq-q { min-height: 48px; }
  .page-btn { min-width: 44px; min-height: 44px; }

  /* Disable hover-only overlays */
  .quick-add { display: none !important; }
  .wishlist-btn { opacity: 1 !important; }
}

/* Safe area insets for notched iPhones */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  .mobile-bottom-bar { padding-bottom: env(safe-area-inset-bottom); }
  footer { padding-bottom: calc(32px + env(safe-area-inset-bottom)); }
  .mobile-menu { padding-bottom: calc(32px + env(safe-area-inset-bottom)); }
}

/* Prevent horizontal overflow */
html, body { overflow-x: hidden; max-width: 100vw; }

/* Smooth scrolling on iOS */
* { -webkit-tap-highlight-color: rgba(220,38,38,0.15); }
input, select, textarea, button { touch-action: manipulation; }

/* Product modal — full screen on mobile */
@media (max-width: 768px) {
  .modal-overlay { padding: 0; align-items: flex-end; }
  .modal {
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    max-height: 92vh;
    width: 100%;
  }
  .modal-inner { grid-template-columns: 1fr; }
  .modal-left { border-right: none; border-bottom: 1px solid var(--border); padding: 20px; }
  .modal-img-box { aspect-ratio: 2/1; font-size: 3rem; }
  .modal-right { padding: 20px; }
  .modal-price { font-size: 1.5rem; }
  .modal-meta-grid { grid-template-columns: repeat(2,1fr); }
}

/* Cart toast — above bottom bar on mobile */
@media (max-width: 768px) {
  .cart-toast { bottom: 80px !important; }
}

/* Shop page sidebar hidden on mobile — drawer used instead */
@media (max-width: 1024px) {
  .shop-sidebar { display: none; }
  .shop-wrapper { grid-template-columns: 1fr; }
}

/* Product grid 2-col on small phones */
@media (max-width: 480px) {
  .product-grid { grid-template-columns: repeat(2,1fr) !important; gap: 10px; }
  .card-body { padding: 10px 10px 12px; }
  .card-name { font-size: 0.78rem; }
  .card-price { font-size: 0.9rem; }
  .card-stars { display: none; }
}

/* Hero — single column on mobile */
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr !important; }
  .hero-visual { display: none !important; }
  .hero { min-height: auto; padding: 120px 0 64px; }
  .hero-stats { flex-wrap: wrap; gap: 16px; }
  .hero-stat { min-width: 80px; }
}

/* FAQ layout — single column on mobile */
@media (max-width: 768px) {
  .faq-layout { grid-template-columns: 1fr !important; gap: 24px; }
  .faq-nav { position: static; display: flex; flex-direction: row; flex-wrap: wrap; gap: 6px; }
  .faq-nav-title { display: none; }
  .faq-nav-link { border-left: none; border-radius: 100px; border: 1px solid var(--border); padding: 6px 14px; font-size: 0.78rem; }
  .faq-nav-link.active { border-color: var(--red); }
}

/* Contact layout — single column on mobile */
@media (max-width: 1024px) {
  .contact-layout { grid-template-columns: 1fr !important; }
  .contact-info-card { position: static; }
}

/* About page tweaks */
@media (max-width: 768px) {
  .about-intro { grid-template-columns: 1fr !important; gap: 32px; }
  .why-grid { grid-template-columns: 1fr !important; gap: 32px; }
  .values-grid, .team-grid, .cert-grid { grid-template-columns: 1fr !important; }
  .process-steps { grid-template-columns: repeat(2,1fr) !important; gap: 28px; }
  .process-steps::before { display: none; }
  .testimonials-grid { grid-template-columns: 1fr !important; }
}

/* Form mobile improvements */
@media (max-width: 768px) {
  .form-row { grid-template-columns: 1fr !important; }
  .contact-form-card { padding: 20px 16px; }
  .form-tabs { flex-wrap: wrap; }
  .form-tab { flex: 1 1 calc(50% - 6px); min-height: 40px; }
}

/* Promo bar scrollable on mobile */
@media (max-width: 640px) {
  .shop-promo { overflow-x: auto; -webkit-overflow-scrolling: touch; flex-wrap: nowrap; }
  .promo-items { flex-wrap: nowrap; }
}

/* Mobile Bottom Navigation Bar */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: rgba(8,8,8,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  padding: 8px 0 12px;
  z-index: 900;
  grid-template-columns: repeat(5, 1fr);
}
.mobile-bottom-bar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 6px 4px;
  min-height: 44px;
  font-size: 0.6rem;
  font-weight: 500;
  color: var(--white-30);
  transition: var(--transition);
  text-decoration: none;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.mobile-bottom-bar a .tab-icon { display: flex; align-items: center; justify-content: center; width: 22px; height: 22px; }
.mobile-bottom-bar a .tab-icon svg { width: 20px; height: 20px; stroke: currentColor; transition: transform 0.18s ease; }
.mobile-bottom-bar a.active,
.mobile-bottom-bar a:hover { color: var(--red-light); }
.mobile-bottom-bar a.active .tab-icon svg,
.mobile-bottom-bar a:hover .tab-icon svg { transform: scale(1.12); stroke: var(--red-light); }

/* Show bottom bar + add padding to body on small screens */
@media (max-width: 768px) {
  .mobile-bottom-bar { display: grid; }
  /* Push page content above bottom bar */
  body { padding-bottom: 68px; }
  /* Adjust mobile menu top */
  .mobile-menu { display: none !important; } /* use bottom bar instead */
  .nav-hamburger { display: none !important; }
}

/* Mobile Filter Button (products page) */
.mobile-filter-btn {
  display: none;
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--red);
  color: white;
  border: none;
  border-radius: 100px;
  padding: 12px 24px;
  font-size: 0.88rem;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  z-index: 800;
  box-shadow: 0 4px 20px rgba(220,38,38,0.4);
  gap: 8px;
  align-items: center;
  white-space: nowrap;
  transition: var(--transition);
}
.mobile-filter-btn:hover { background: var(--red-light); }

@media (max-width: 1024px) {
  .mobile-filter-btn { display: flex; }
}

/* Mobile Filter Drawer */
.filter-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
  z-index: 1500;
  display: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.filter-drawer-overlay.open { display: block; opacity: 1; }

.filter-drawer {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  z-index: 1600;
  max-height: 88vh;
  overflow-y: auto;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.filter-drawer.open { transform: translateY(0); }

.filter-drawer-handle {
  width: 40px; height: 4px;
  background: var(--white-30);
  border-radius: 2px;
  margin: 12px auto 0;
}
.filter-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--surface);
  z-index: 1;
}
.filter-drawer-title { font-family: var(--font-head); font-size: 1rem; font-weight: 700; color: var(--white); }
.filter-drawer-close {
  width: 36px; height: 36px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: var(--white-60);
  font-size: 0.9rem;
  transition: var(--transition);
}
.filter-drawer-close:hover { color: var(--white); }
.filter-drawer-body { padding: 16px 20px 24px; }
.filter-drawer-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 12px;
  position: sticky;
  bottom: 0;
  background: var(--surface);
}
.filter-drawer-footer .btn { flex: 1; justify-content: center; min-height: 48px; }

/* Drawer filter sections */
.drawer-filter-section { margin-bottom: 24px; }
.drawer-filter-title { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--white-60); margin-bottom: 10px; }
.drawer-filter-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.drawer-chip {
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 500;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--white-60);
  cursor: pointer;
  transition: var(--transition);
  min-height: 40px;
  font-family: var(--font-body);
}
.drawer-chip.active, .drawer-chip:hover { background: var(--red); border-color: var(--red); color: white; }

/* ── Mobile performance: drop costly backdrop-filter blur on persistent fixed bars ── */
@media (max-width: 768px) {
  .navbar.scrolled, .mobile-bottom-bar, .mobile-menu {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
}

