/* =============================================
   Banom's Luxury Closet — Stylesheet
   Theme: Black / White / Pink
   ============================================= */

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

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

:root {
  --black:       #111111;
  --white:       #ffffff;
  /* --pink: accessible deep fuchsia used for text/buttons/links on white (WCAG AA safe).
     --pink-accent: the vivid spec fuchsia (#FF00A0) reserved for decorative accents,
     hero typography, badges & dark-mode primary where large/bold enough to pass contrast. */
  --pink:        #D4007A;
  --pink-accent: #FF00A0;
  --pink-hover:  #b8006a;
  --pink-light:  #fff0f7;
  --pink-mid:    #f9d0ea;
  --gray-f:      #f8f8f8;
  --gray-e:      #eeeeee;
  --gray-d:      #dddddd;
  --gray-6:      #666666;
  --gray-3:      #333333;
  --serif:       'Cormorant Garamond', Georgia, serif;
  --sans:        'Jost', 'Helvetica Neue', Arial, sans-serif;
  --radius:      4px;
  --shadow:      0 2px 16px rgba(0,0,0,0.08);
  --shadow-lg:   0 8px 40px rgba(0,0,0,0.13);
  --transition:  0.22s ease;
  --surface-dark:#0a0a0a;
}

/* ---- Dark mode ----
   Toggled by [data-theme="dark"] on <html> (persisted in localStorage).
   Overriding the ramp flips every component + inline var(--gray-f)/var(--white)
   background automatically; a few literal-#fff-on-dark spots get targeted fixes below.
   Per SOW: fuchsia (#FF00A0) is the primary accent in dark mode. */
:root[data-theme="dark"] {
  --black:       #f2eef6;
  --white:       #17131c;
  --pink:        #ff33b0;
  --pink-accent: #FF00A0;
  --pink-hover:  #ff5cc0;
  --pink-light:  #2a1322;
  --pink-mid:    #5c1d40;
  --gray-f:      #1f1a25;
  --gray-e:      #2d2633;
  --gray-d:      #3b3342;
  --gray-6:      #b3a9bd;
  --gray-3:      #ded6e6;
  --shadow:      0 2px 16px rgba(0,0,0,0.5);
  --shadow-lg:   0 8px 40px rgba(0,0,0,0.6);
}
:root[data-theme="dark"] .btn-primary { background: var(--pink); color:#fff; }
:root[data-theme="dark"] .btn-primary:hover { background: var(--pink-hover); }
:root[data-theme="dark"] .search-bar button { background: var(--pink); }
:root[data-theme="dark"] .search-bar button:hover { background: var(--pink-hover); }
:root[data-theme="dark"] #cart-toast { background: #000; }
:root[data-theme="dark"] .trust-bar { background: var(--surface-dark); }
:root[data-theme="dark"] .topbar { background: var(--surface-dark); }
:root[data-theme="dark"] .site-header { border-bottom-color: var(--gray-e); }

html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-weight: 400;
  color: var(--black);
  background: var(--white);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }
ul { list-style: none; }

/* ---- Topbar ---- */
.topbar {
  background: var(--black);
  color: var(--white);
  text-align: center;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  padding: 9px 20px;
  font-weight: 500;
}
.topbar a { color: rgba(255,255,255,0.85); text-decoration: underline; }

/* ---- Header ---- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--gray-e);
  position: sticky;
  top: 0;
  z-index: 900;
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  height: 88px;
  gap: 20px;
}
.logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  text-decoration: none;
}
.logo-img {
  height: 68px;
  width: 46px;
  object-fit: cover;
  object-position: top;
}
.logo-text {
  line-height: 1.1;
}
.logo-text strong {
  display: block;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--black);
}
.logo-text span {
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--gray-6);
  text-transform: uppercase;
  font-weight: 500;
}

/* Main nav */
.main-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}
.main-nav > ul {
  display: flex;
  gap: 32px;
  align-items: center;
}
.main-nav a {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--gray-3);
  transition: color var(--transition);
  padding: 4px 0;
  position: relative;
}
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1.5px;
  background: var(--black);
  transition: width var(--transition);
}
.main-nav a:hover, .main-nav a.active { color: var(--black); }
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }

/* Shop dropdown (desktop) */
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 14px;
  background: var(--white);
  border: 1px solid var(--gray-e);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 10px 0;
  min-width: 220px;
  z-index: 950;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a {
  display: block;
  padding: 9px 20px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: none;
  color: var(--gray-3);
  white-space: nowrap;
}
.nav-dropdown-menu a:hover { color: var(--black); background: var(--gray-f); }
.nav-dropdown-menu a::after { display: none; }

/* Shop dropdown — grouped flyout submenus */
.nav-dropdown-sub { position: relative; }
.nav-dropdown-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 20px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--gray-3);
  cursor: default;
}
.nav-dropdown-label::after { content: '\203a'; margin-left: 14px; opacity: 0.5; }
.nav-dropdown-sub:hover .nav-dropdown-label,
.nav-dropdown-sub:focus-within .nav-dropdown-label { color: var(--black); background: var(--gray-f); }
.nav-dropdown-submenu {
  display: none;
  position: absolute;
  top: -10px;
  left: 100%;
  margin-left: 1px;
  background: var(--white);
  border: 1px solid var(--gray-e);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 10px 0;
  min-width: 210px;
  z-index: 960;
}
.nav-dropdown-sub:hover .nav-dropdown-submenu,
.nav-dropdown-sub:focus-within .nav-dropdown-submenu { display: block; }
.nav-dropdown-submenu a { padding: 9px 20px; }

/* Header actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}
.header-actions button, .header-actions a {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 4px;
  color: var(--black);
  transition: color var(--transition);
  position: relative;
}
.header-actions button:hover, .header-actions a:hover { color: var(--gray-6); }
.header-actions svg { width: 22px; height: 22px; stroke-width: 1.5; }

.cart-count {
  position: absolute;
  top: -6px; right: -6px;
  background: var(--pink);
  color: #fff;
  font-size: 9px;
  font-weight: 600;
  width: 16px; height: 16px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  letter-spacing: 0;
}

/* Search bar */
.search-bar {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: var(--gray-f);
  border-top: 1px solid transparent;
}
.search-bar.open {
  max-height: 64px;
  border-color: var(--gray-e);
}
.search-bar-inner {
  max-width: 640px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  gap: 10px;
}
.search-bar input {
  flex: 1;
  border: 1px solid var(--gray-d);
  border-radius: var(--radius);
  padding: 9px 14px;
  font-size: 13px;
  outline: none;
  transition: border-color var(--transition);
}
.search-bar input:focus { border-color: var(--black); }
.search-bar button {
  background: var(--black);
  color: #fff;
  padding: 9px 20px;
  border-radius: var(--radius);
  font-size: 12px;
  letter-spacing: 0.08em;
  font-weight: 500;
  transition: background var(--transition);
}
.search-bar button:hover { background: var(--gray-3); }

/* Mobile nav */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.menu-toggle span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--black);
  transition: transform var(--transition), opacity var(--transition);
}
.menu-toggle.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-nav {
  display: none;
  background: var(--white);
  border-top: 1px solid var(--gray-e);
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.mobile-nav.open { max-height: 75vh; padding: 16px 24px 24px; overflow-y: auto; }
.mobile-nav a {
  display: block;
  padding: 11px 0;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  border-bottom: 1px solid var(--gray-e);
  color: var(--gray-3);
}
.mobile-nav a:last-child { border-bottom: none; }

/* Mobile nav — collapsible category groups */
.mobile-nav-group { border-bottom: 1px solid var(--gray-e); }
.mobile-nav-group summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  min-height: 44px;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--gray-3);
  cursor: pointer;
  list-style: none;
  -webkit-tap-highlight-color: transparent;
}
.mobile-nav-group summary::-webkit-details-marker { display: none; }
.mobile-nav-group summary::after {
  content: '+';
  font-size: 20px;
  font-weight: 400;
  color: var(--gray-6);
  flex-shrink: 0;
  margin-left: 12px;
}
.mobile-nav-group[open] summary::after { content: '\2212'; }
.mobile-nav-group[open] summary { color: var(--black); }
.mobile-nav-sublist { padding-bottom: 4px; }
.mobile-nav-sublist a {
  display: block;
  padding: 13px 0 13px 18px;
  min-height: 44px;
  box-sizing: border-box;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: none;
  color: var(--gray-6);
  border-bottom: none;
}
.mobile-nav-sublist a:active { color: var(--black); }

/* ---- Cart Toast ---- */
#cart-toast {
  position: fixed;
  bottom: 24px; right: 24px;
  background: var(--black);
  color: #fff;
  padding: 14px 22px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  z-index: 9999;
  transform: translateY(80px);
  opacity: 0;
  transition: all 0.3s ease;
}
#cart-toast.show { transform: translateY(0); opacity: 1; }

/* ---- Breadcrumb ---- */
.breadcrumb {
  font-size: 11.5px;
  color: var(--gray-6);
  letter-spacing: 0.06em;
  padding: 14px 0;
}
.breadcrumb a { color: var(--gray-6); }
.breadcrumb a:hover { color: var(--black); }
.breadcrumb span { margin: 0 6px; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  white-space: nowrap;
}
.btn-primary { background: var(--black); color: #fff; }
.btn-primary:hover { background: var(--gray-3); }
.btn-light { background: #fff; color: var(--black); }
.btn-light:hover { background: var(--gray-e); }
.btn-pink { background: var(--pink); color: #fff; }
.btn-pink:hover { background: var(--pink-hover); }
.btn-outline { background: transparent; color: var(--black); border: 1.5px solid var(--black); }
.btn-outline:hover { background: var(--black); color: #fff; }
.btn-outline-pink { background: transparent; color: var(--pink); border: 1.5px solid var(--pink); }
.btn-outline-pink:hover { background: var(--pink); color: #fff; }
.btn-sm { padding: 9px 18px; font-size: 10.5px; }
.btn-lg { padding: 16px 40px; font-size: 12px; }
.btn-full { width: 100%; }

/* ---- Section layouts ---- */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 64px 0; }
.section-sm { padding: 40px 0; }
.section-title {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--black);
}
.section-subtitle {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray-6);
  font-weight: 600;
  margin-bottom: 10px;
}
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 36px;
  flex-wrap: wrap;
  gap: 16px;
}

/* ---- Hero ---- */
.hero {
  background: var(--white);
  border-bottom: 1px solid var(--gray-e);
  padding: 72px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 380px; height: 100%;
  background: var(--pink-light);
  clip-path: polygon(15% 0%, 100% 0%, 100% 100%, 0% 100%);
  z-index: 0;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
}
.hero-eyebrow {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--pink);
  font-weight: 600;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.hero-eyebrow::before, .hero-eyebrow::after {
  content: ''; display: block; width: 40px; height: 1px; background: var(--pink); opacity: 0.45;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--black);
  margin-bottom: 22px;
}
.hero h1 em { font-style: italic; color: var(--pink); }
.hero-desc {
  font-size: 15px;
  color: var(--gray-6);
  margin-bottom: 36px;
  line-height: 1.8;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-badges {
  margin-top: 44px;
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--gray-3);
  font-weight: 500;
}
.hero-badge svg { width: 18px; height: 18px; color: var(--gray-6); flex-shrink: 0; }

/* ---- Category cards ---- */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.category-card {
  background: var(--gray-f);
  border: 1px solid var(--gray-e);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  display: block;
}
.category-card:hover {
  border-color: var(--gray-3);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.category-icon {
  width: 54px; height: 54px;
  background: var(--gray-e);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  transition: background var(--transition);
}
.category-icon svg { width: 26px; height: 26px; color: var(--black); stroke-width: 1.5; transition: color var(--transition); }
.category-card:hover .category-icon { background: var(--black); }
.category-card:hover .category-icon svg { color: #fff; }
.category-card h3 {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 4px;
}
.category-card p { font-size: 12px; color: var(--gray-6); }

/* ---- Product cards ---- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 14px;
}
.product-card {
  cursor: pointer;
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--transition);
}
.product-card:hover { box-shadow: var(--shadow-lg); }
.product-img {
  aspect-ratio: 4/5;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.product-initial {
  font-family: var(--serif);
  font-size: 64px;
  font-weight: 300;
  opacity: 0.55;
  user-select: none;
  pointer-events: none;
}
.product-badge {
  position: absolute;
  top: 8px; left: 8px;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: 2px;
  color: #fff;
}
.badge-pre-loved { background: rgba(0,0,0,0.65); }
.badge-new { background: rgba(0,0,0,0.65); }
.badge-rare { background: #8b5e3c; }
.quick-add {
  display: block;
  width: 100%;
  background: rgba(17,17,17,0.88);
  color: #fff;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: max-height var(--transition), padding var(--transition), background var(--transition);
  border: none;
  cursor: pointer;
}
.product-card:hover .quick-add { max-height: 40px; padding: 10px; }
.quick-add:hover { background: var(--gray-3); }
.product-info {
  padding: 10px 2px 14px;
}
.product-brand {
  font-size: 8.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-6);
  font-weight: 600;
  margin-bottom: 3px;
}
.product-name {
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 500;
  margin-bottom: 3px;
  line-height: 1.3;
}
.product-condition {
  font-size: 10px;
  color: var(--gray-6);
  margin-bottom: 6px;
}
.product-price-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.price-current {
  font-size: 13px;
  font-weight: 600;
  color: var(--black);
  font-family: var(--serif);
}
.price-original {
  font-size: 10.5px;
  color: var(--gray-6);
  text-decoration: line-through;
}
.price-save {
  font-size: 8.5px;
  font-weight: 600;
  color: var(--gray-3);
  background: var(--gray-f);
  border: 1px solid var(--gray-e);
  padding: 1px 5px;
  border-radius: 2px;
  letter-spacing: 0.06em;
}

/* ---- Trust bar ---- */
.trust-bar {
  background: var(--black);
  color: var(--white);
  padding: 40px 24px;
}
.trust-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.trust-icon {
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.trust-icon svg { width: 22px; height: 22px; color: rgba(255,255,255,0.85); stroke-width: 1.5; }
.trust-item h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
  letter-spacing: 0.04em;
}
.trust-item p { font-size: 12px; color: rgba(255,255,255,0.65); line-height: 1.6; }

/* ---- Membership CTA ---- */
.membership-cta {
  background: var(--gray-f);
  border: 1px solid var(--gray-e);
  border-radius: var(--radius);
  padding: 56px 40px;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.membership-cta .section-title { margin-bottom: 16px; }
.membership-cta p { color: var(--gray-6); font-size: 15px; line-height: 1.8; margin-bottom: 28px; }

/* ---- Newsletter ---- */
.newsletter {
  background: var(--gray-f);
  border-top: 1px solid var(--gray-e);
  padding: 56px 24px;
  text-align: center;
}
.newsletter h2 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 10px;
}
.newsletter p { color: var(--gray-6); font-size: 14px; margin-bottom: 28px; }
.newsletter-form {
  display: flex;
  gap: 10px;
  max-width: 440px;
  margin: 0 auto;
}
.newsletter-form input {
  flex: 1;
  border: 1.5px solid var(--gray-d);
  border-radius: var(--radius);
  padding: 13px 16px;
  font-size: 13px;
  outline: none;
  transition: border-color var(--transition);
}
.newsletter-form input:focus { border-color: var(--pink); }
.newsletter-form button { white-space: nowrap; }

/* ---- Footer ---- */
.site-footer {
  background: #0a0a0a;
  color: rgba(255,255,255,0.75);
  padding: 56px 24px 0;
}
.footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand {}
.footer-logo-text strong {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  display: block;
  margin-bottom: 2px;
}
.footer-logo-text span {
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--pink);
  font-weight: 500;
}
.footer-desc {
  margin-top: 16px;
  font-size: 12.5px;
  line-height: 1.8;
  color: rgba(255,255,255,0.55);
}
.footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}
.footer-social {
  width: 34px; height: 34px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  color: rgba(255,255,255,0.6);
}
.footer-social:hover {
  border-color: var(--pink);
  background: var(--pink);
  color: #fff;
}
.footer-social svg { width: 14px; height: 14px; }
.footer-col h4 {
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  font-weight: 600;
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: 12.5px;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--pink); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom p { font-size: 11.5px; color: rgba(255,255,255,0.35); }
.payment-icons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.payment-chip {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.7);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 3px;
}

/* ---- Shop page ---- */
.shop-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  align-items: start;
}
.shop-sidebar {
  position: sticky;
  top: 100px;
}
.filter-group {
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--gray-e);
}
.filter-group:last-child { border-bottom: none; }
.filter-title {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 14px;
}
.filter-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 0;
  cursor: pointer;
  font-size: 13px;
  color: var(--gray-3);
  transition: color var(--transition);
}
.filter-option:hover { color: var(--black); }
.filter-option input[type="checkbox"] {
  accent-color: var(--pink);
  width: 14px; height: 14px;
}
.filter-count {
  margin-left: auto;
  font-size: 11px;
  color: var(--gray-6);
}
.price-range {
  margin-top: 8px;
}
.price-range input[type="range"] {
  width: 100%;
  accent-color: var(--pink);
  margin: 10px 0;
}
.price-range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--gray-6);
}
.shop-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}
.results-count { font-size: 13px; color: var(--gray-6); }
.sort-select {
  border: 1px solid var(--gray-d);
  border-radius: var(--radius);
  padding: 8px 14px;
  font-size: 12.5px;
  outline: none;
  cursor: pointer;
  background: var(--white);
  min-width: 160px;
}
.sort-select:focus { border-color: var(--black); }

/* ---- Product detail page ---- */
.product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.product-gallery {}
.product-main-img {
  aspect-ratio: 4/5;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  position: relative;
  overflow: hidden;
}
.product-main-initial {
  font-family: var(--serif);
  font-size: 120px;
  font-weight: 300;
  opacity: 0.4;
}
.product-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.product-thumb {
  aspect-ratio: 1;
  border-radius: 3px;
  cursor: pointer;
  border: 2px solid transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--transition);
  overflow: hidden;
}
.product-thumb.active, .product-thumb:hover { border-color: var(--black); }
.product-thumb-initial {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 300;
  opacity: 0.5;
}

.product-detail-info {}
.product-detail-brand {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-6);
  font-weight: 600;
  margin-bottom: 8px;
}
.product-detail-name {
  font-family: var(--sans);
  font-size: 36px;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 8px;
}
.product-detail-sku {
  font-size: 11px;
  color: var(--gray-6);
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}
.product-detail-price {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 24px;
}
.detail-price-current {
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 500;
}
.detail-price-original {
  font-size: 18px;
  color: var(--gray-6);
  text-decoration: line-through;
}
.detail-price-badge {
  background: var(--gray-f);
  border: 1px solid var(--gray-e);
  color: var(--gray-3);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 2px;
  letter-spacing: 0.06em;
}
.condition-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--gray-f);
  border: 1px solid var(--gray-e);
  border-radius: 50px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 24px;
}
.condition-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #2ecc71;
}
.product-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 28px;
}
.meta-item {
  background: var(--gray-f);
  border-radius: var(--radius);
  padding: 12px 16px;
}
.meta-label {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-6);
  font-weight: 500;
  margin-bottom: 4px;
}
.meta-value { font-size: 14px; font-weight: 500; }
.add-to-cart-row {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
}
.add-to-cart-row .btn { flex: 1; }
.wishlist-btn {
  width: 52px;
  border: 1.5px solid var(--gray-d);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  flex-shrink: 0;
}
.wishlist-btn:hover { border-color: var(--black); color: var(--black); }
.wishlist-btn svg { width: 20px; height: 20px; stroke-width: 1.5; }

/* Accordion */
.accordion { border-top: 1px solid var(--gray-e); }
.accordion-item { border-bottom: 1px solid var(--gray-e); }
.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  cursor: pointer;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color var(--transition);
}
.accordion-header:hover { color: var(--gray-6); }
.accordion-header svg { width: 16px; height: 16px; transition: transform var(--transition); }
.accordion-item.open .accordion-header svg { transform: rotate(180deg); }
.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.accordion-item.open .accordion-body { max-height: 300px; }
.accordion-body p, .accordion-body li {
  font-size: 13.5px;
  color: var(--gray-6);
  line-height: 1.8;
  padding-bottom: 16px;
}
.accordion-body li { padding-left: 16px; position: relative; }
.accordion-body li::before { content: '–'; position: absolute; left: 0; }

/* ---- Cart page ---- */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
  align-items: start;
}
.cart-item {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--gray-e);
}
.cart-item:first-child { border-top: 1px solid var(--gray-e); }
.cart-item-img {
  aspect-ratio: 1;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.cart-item-initial {
  font-family: var(--serif);
  font-size: 28px;
  opacity: 0.5;
}
.cart-item-brand {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray-6);
  font-weight: 600;
  margin-bottom: 4px;
}
.cart-item-name {
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 6px;
}
.cart-item-condition { font-size: 12px; color: var(--gray-6); margin-bottom: 10px; }
.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--gray-d);
  border-radius: var(--radius);
}
.qty-btn {
  width: 32px; height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 300;
  color: var(--gray-3);
  transition: color var(--transition);
  cursor: pointer;
  border: none;
  background: none;
}
.qty-btn:hover { color: var(--pink); }
.qty-value {
  width: 40px;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  border: none;
  outline: none;
  background: none;
}
.remove-item {
  font-size: 11px;
  color: var(--gray-6);
  letter-spacing: 0.06em;
  text-decoration: underline;
  cursor: pointer;
  margin-top: 8px;
  display: block;
  border: none;
  background: none;
  padding: 0;
  transition: color var(--transition);
}
.remove-item:hover { color: var(--black); }
.cart-item-price {
  text-align: right;
}
.item-price {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
}
.order-summary {
  background: var(--gray-f);
  border: 1px solid var(--gray-e);
  border-radius: var(--radius);
  padding: 28px;
  position: sticky;
  top: 100px;
}
.order-summary h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-d);
}
.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  margin-bottom: 12px;
  color: var(--gray-6);
}
.summary-row.total {
  font-size: 17px;
  font-weight: 600;
  color: var(--black);
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-d);
}
.coupon-form {
  display: flex;
  gap: 8px;
  margin: 20px 0;
}
.coupon-form input {
  flex: 1;
  border: 1px solid var(--gray-d);
  border-radius: var(--radius);
  padding: 9px 12px;
  font-size: 13px;
  outline: none;
  transition: border-color var(--transition);
}
.coupon-form input:focus { border-color: var(--black); }
.empty-cart {
  text-align: center;
  padding: 80px 20px;
}
.empty-cart svg { width: 64px; height: 64px; color: var(--gray-d); margin: 0 auto 20px; }
.empty-cart h2 { font-family: var(--serif); font-size: 28px; margin-bottom: 10px; }
.empty-cart p { color: var(--gray-6); margin-bottom: 28px; }

/* ---- Checkout page ---- */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 48px;
  align-items: start;
}
.form-section {
  background: var(--white);
  border: 1px solid var(--gray-e);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 20px;
}
.form-section h3 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--gray-e);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  margin-bottom: 18px;
}
.form-group label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gray-6);
  margin-bottom: 7px;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  border: 1.5px solid var(--gray-d);
  border-radius: var(--radius);
  padding: 11px 14px;
  font-size: 13.5px;
  outline: none;
  transition: border-color var(--transition);
  background: var(--white);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--black);
}
.payment-methods {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.payment-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1.5px solid var(--gray-d);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color var(--transition);
}
.payment-option:hover, .payment-option.selected { border-color: var(--black); }
.payment-option input[type="radio"] { accent-color: var(--pink); }
.payment-option-label {
  font-size: 13.5px;
  font-weight: 500;
}
.payment-option-sub {
  font-size: 11.5px;
  color: var(--gray-6);
}
.payment-icon-chip {
  margin-left: auto;
  background: var(--gray-f);
  border: 1px solid var(--gray-e);
  border-radius: 3px;
  padding: 3px 8px;
  font-size: 10px;
  font-weight: 700;
  color: var(--gray-6);
  letter-spacing: 0.06em;
}
.shipping-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.shipping-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1.5px solid var(--gray-d);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color var(--transition);
}
.shipping-option:hover, .shipping-option.selected { border-color: var(--black); }
.shipping-option input[type="radio"] { accent-color: var(--pink); }
.shipping-price { margin-left: auto; font-weight: 600; font-size: 14px; }

/* Success modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 9000;
  display: none;
  align-items: center;
  justify-content: center;
}
.modal-overlay.show { display: flex; }
.modal {
  background: var(--white);
  border-radius: var(--radius);
  padding: 56px 48px;
  text-align: center;
  max-width: 480px;
  width: 90%;
  animation: slideUp 0.3s ease;
}
@keyframes slideUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.modal-check {
  width: 72px; height: 72px;
  background: var(--pink-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}
.modal-check svg { width: 36px; height: 36px; color: var(--pink); stroke-width: 2; }
.modal h2 { font-family: var(--serif); font-size: 32px; font-weight: 400; margin-bottom: 12px; }
.modal p { color: var(--gray-6); font-size: 14px; line-height: 1.8; margin-bottom: 28px; }
.order-number { background: var(--gray-f); border-radius: var(--radius); padding: 14px 20px; font-size: 13px; margin-bottom: 28px; }
.order-number strong { color: var(--pink); font-size: 18px; display: block; }

/* ---- Membership page ---- */
.membership-hero {
  background: linear-gradient(135deg, var(--black) 0%, #1a1a1a 100%);
  color: #fff;
  padding: 80px 24px;
  text-align: center;
}
.membership-hero h1 {
  font-family: var(--serif);
  font-size: clamp(40px, 6vw, 70px);
  font-weight: 300;
  margin-bottom: 16px;
}
.membership-hero p { font-size: 16px; color: rgba(255,255,255,0.7); max-width: 520px; margin: 0 auto 36px; line-height: 1.8; }
.tiers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.tier-card {
  border: 2px solid var(--gray-e);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  position: relative;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.tier-card:hover { border-color: var(--pink); box-shadow: var(--shadow-lg); }
.tier-card.featured {
  border-color: var(--black);
  background: var(--gray-f);
}
.tier-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--pink);
  color: #fff;
  font-size: 9.5px;
  letter-spacing: 0.14em;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 50px;
  white-space: nowrap;
}
.tier-name {
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gray-6);
  margin-bottom: 10px;
}
.tier-price {
  font-family: var(--serif);
  font-size: 48px;
  font-weight: 300;
  line-height: 1;
  margin-bottom: 4px;
}
.tier-price small { font-size: 16px; }
.tier-period { font-size: 12px; color: var(--gray-6); margin-bottom: 28px; }
.tier-features {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}
.tier-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
}
.tier-feature svg { width: 16px; height: 16px; color: var(--black); flex-shrink: 0; stroke-width: 2.5; }

/* Benefits */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.benefit-card {
  background: var(--white);
  border: 1px solid var(--gray-e);
  border-radius: var(--radius);
  padding: 32px 24px;
}
.benefit-icon {
  width: 48px; height: 48px;
  background: var(--gray-e);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.benefit-icon svg { width: 24px; height: 24px; color: var(--black); stroke-width: 1.5; }
.benefit-card h3 { font-family: var(--serif); font-size: 20px; font-weight: 500; margin-bottom: 10px; }
.benefit-card p { font-size: 13.5px; color: var(--gray-6); line-height: 1.8; }

/* Signup form */
.signup-card {
  background: var(--white);
  border: 1px solid var(--gray-e);
  border-radius: var(--radius);
  padding: 44px;
  max-width: 560px;
  margin: 0 auto;
  box-shadow: var(--shadow);
}
.signup-card h2 { font-family: var(--serif); font-size: 32px; font-weight: 400; margin-bottom: 8px; }
.signup-card > p { color: var(--gray-6); font-size: 14px; margin-bottom: 32px; }

/* ---- About page ---- */
.about-hero {
  background: var(--gray-f);
  padding: 72px 24px;
  text-align: center;
  border-bottom: 1px solid var(--gray-e);
}
.about-hero h1 { font-family: var(--serif); font-size: clamp(38px, 5vw, 64px); font-weight: 300; margin-bottom: 16px; }
.about-hero p { color: var(--gray-6); font-size: 16px; max-width: 580px; margin: 0 auto; line-height: 1.9; }
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.value-card {
  background: var(--gray-f);
  border-radius: var(--radius);
  padding: 32px 28px;
}
.value-card h3 { font-family: var(--serif); font-size: 22px; font-weight: 500; margin-bottom: 10px; }
.value-card p { font-size: 13.5px; color: var(--gray-6); line-height: 1.8; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-info h2 { font-family: var(--serif); font-size: 32px; font-weight: 400; margin-bottom: 16px; }
.contact-info p { color: var(--gray-6); font-size: 14px; line-height: 1.9; margin-bottom: 28px; }
.contact-detail {
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
  align-items: flex-start;
}
.contact-detail svg { width: 20px; height: 20px; color: var(--gray-6); margin-top: 2px; flex-shrink: 0; stroke-width: 1.5; }
.contact-detail h4 { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 4px; }
.contact-detail p { font-size: 13.5px; color: var(--gray-3); margin: 0; }
.faq-list { display: flex; flex-direction: column; gap: 0; }

/* Shipping info */
.shipping-methods {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}
.shipping-method {
  background: var(--gray-f);
  border: 1px solid var(--gray-e);
  border-radius: var(--radius);
  padding: 20px;
}
.shipping-method h4 { font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.shipping-method p { font-size: 12.5px; color: var(--gray-6); line-height: 1.7; }

/* ---- Page header ---- */
.page-header {
  background: var(--gray-f);
  border-bottom: 1px solid var(--gray-e);
  padding: 36px 24px;
}
.page-header h1 {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 400;
  margin-bottom: 6px;
}
.page-header p { color: var(--gray-6); font-size: 14px; }

/* ---- Steps / Progress ---- */
.checkout-steps {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 36px;
  background: var(--white);
  border: 1px solid var(--gray-e);
  border-radius: var(--radius);
  overflow: hidden;
}
.checkout-step {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-6);
  border-right: 1px solid var(--gray-e);
}
.checkout-step:last-child { border-right: none; }
.checkout-step.active { color: var(--black); background: var(--gray-f); font-weight: 600; }
.checkout-step.done { color: var(--gray-3); }
.step-num {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--gray-d);
  color: var(--gray-6);
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.checkout-step.active .step-num { background: var(--black); color: #fff; }
.checkout-step.done .step-num { background: var(--black); color: #fff; }

/* ---- Pagination ---- */
.pagination {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-top: 48px;
}
.page-btn {
  width: 38px; height: 38px;
  border: 1.5px solid var(--gray-d);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  color: var(--gray-3);
  background: none;
}
.page-btn:hover { border-color: var(--black); color: var(--black); }
.page-btn.active { background: var(--black); border-color: var(--black); color: #fff; }

/* ---- Misc utils ---- */
.text-pink { color: var(--pink); }
.text-gray { color: var(--gray-6); }
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.mb-4 { margin-bottom: 16px; }
.divider { height: 1px; background: var(--gray-e); margin: 28px 0; }
.tag {
  display: inline-block;
  background: var(--pink-light);
  color: var(--pink);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
}
.authenticity-seal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gray-f);
  border: 1px solid var(--gray-e);
  border-radius: 50px;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 500;
}
.authenticity-seal svg { width: 16px; height: 16px; color: #2ecc71; stroke-width: 2; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(5, 1fr); }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .tiers-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .checkout-layout { grid-template-columns: 1fr 340px; gap: 28px; }
}

@media (max-width: 768px) {
  /* Header */
  .main-nav { display: none; }
  .menu-toggle { display: flex; }
  .mobile-nav { display: block; }
  .header-inner { height: 72px; padding: 0 16px; }
  .logo-text strong { font-size: 18px; }
  .logo-text span { display: none; }
  .logo-img { height: 56px; width: 38px; }

  /* Sections */
  .section { padding: 44px 0; }
  .section-sm { padding: 28px 0; }
  .container { padding: 0 16px; }
  .section-title { font-size: 28px; }
  .section-header { margin-bottom: 24px; }

  /* Hero */
  .hero { padding: 48px 16px; }
  .hero::before { display: none; }
  .hero h1 { font-size: 36px; }
  .hero-desc { font-size: 14px; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .hero-ctas .btn { width: 100%; max-width: 280px; }
  .hero-badges { gap: 16px; }
  .hero-badge { font-size: 11px; }

  /* Grids */
  .products-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .trust-grid { grid-template-columns: 1fr; gap: 20px; }
  .benefits-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .shipping-methods { grid-template-columns: 1fr; }

  /* Product cards — always show add-to-cart below image */
  .quick-add { max-height: 48px; padding: 11px; background: var(--black); font-size: 10.5px; }
  .product-card:hover .quick-add { max-height: 48px; padding: 11px; }
  .product-info { padding: 10px 2px 12px; }
  .product-name { font-size: 14px; }
  .price-current { font-size: 15px; }
  .product-initial { font-size: 40px; }

  /* Product detail */
  .product-layout { grid-template-columns: 1fr; gap: 28px; }
  .product-detail-name { font-size: 28px; }
  .product-thumbs { grid-template-columns: repeat(4, 1fr); }
  .product-meta-grid { grid-template-columns: 1fr 1fr; }

  /* Cart */
  .cart-layout { grid-template-columns: 1fr; }
  .cart-item { grid-template-columns: 72px 1fr; gap: 14px; }
  .cart-item-price { display: none; }
  .order-summary { position: static; }

  /* Checkout */
  .checkout-layout { grid-template-columns: 1fr; }
  .checkout-steps { font-size: 10px; }
  .checkout-step { padding: 10px 6px; gap: 5px; }
  .form-section { padding: 20px 16px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }

  /* Shop */
  .shop-layout { grid-template-columns: 1fr; }
  .shop-sidebar { position: static; display: none; }

  /* Membership */
  .tiers-grid { max-width: 100%; }
  .signup-card { padding: 28px 20px; }

  /* Contact / About */
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-hero { padding: 48px 16px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
  .payment-icons { flex-wrap: wrap; }

  /* Newsletter */
  .newsletter-form { flex-direction: column; }
  .newsletter-form input, .newsletter-form button { width: 100%; }

  /* Topbar */
  .topbar { font-size: 10.5px; padding: 8px 12px; }

  /* Page header */
  .page-header { padding: 24px 16px; }
  .page-header h1 { font-size: 28px; }
}

@media (max-width: 480px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .hero h1 { font-size: 30px; }
  .hero-badges { flex-direction: column; align-items: center; gap: 10px; }
  .section-title { font-size: 24px; }
  .membership-cta { padding: 36px 20px; }
  .membership-cta .section-title { font-size: 26px; }
  .modal { padding: 36px 24px; }
  .product-thumbs { grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .btn-lg { padding: 14px 28px; }
  .checkout-steps .checkout-step span:not(.step-num) { display: none; }
  .checkout-step { justify-content: center; }
  .cart-item { grid-template-columns: 64px 1fr; gap: 10px; }
}

/* Touch: ensure tappable buttons are min 44px */
@media (hover: none) {
  .quick-add { max-height: 48px; padding: 11px; background: var(--black); font-size: 10.5px; }
  .product-card:hover .quick-add { max-height: 48px; padding: 11px; }
  .btn { min-height: 44px; }
  .header-actions button, .header-actions a { padding: 8px; }
  .filter-option { padding: 9px 0; }
  .accordion-header { padding: 18px 0; }
}

/* =====================================================================
   SOW REWORK — added components (Phase 1)
   ===================================================================== */

/* ---- Theme toggle + currency switcher (header) ---- */
.theme-toggle svg { width: 21px; height: 21px; stroke-width: 1.6; }
.theme-toggle .icon-moon { display: block; }
.theme-toggle .icon-sun  { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun  { display: block; }
.currency-switch {
  border: 1px solid var(--gray-d);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--black);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 6px 8px;
  cursor: pointer;
  outline: none;
}
.currency-switch:focus { border-color: var(--pink); }

/* ---- Editorial full-screen hero ---- */
.hero-editorial {
  position: relative;
  min-height: 44vh;
  display: flex;
  align-items: center;
  background: var(--black);
  overflow: hidden;
}
.hero-editorial .hero-media {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 88% 12%, rgba(255,0,160,0.13) 0%, rgba(255,0,160,0) 52%),
    linear-gradient(120deg, #0a0a0a 0%, #141118 55%, #1a141c 100%);
}
.hero-editorial .hero-media::after {
  content: '';
  position: absolute; top: 0; right: 0; bottom: 0;
  width: 46%;
  background: linear-gradient(135deg, rgba(255,0,160,0.07), rgba(255,0,160,0) 70%);
  clip-path: polygon(28% 0, 100% 0, 100% 100%, 0 100%);
}
.hero-editorial .container { position: relative; z-index: 2; width: 100%; padding-top: 28px; padding-bottom: 28px; }
.hero-editorial .hero-inner { max-width: 720px; }
.hero-editorial .hero-eyebrow { color: var(--pink-accent); justify-content: flex-start; }
.hero-editorial .hero-eyebrow::after { display: none; }
.hero-editorial h1 {
  font-family: var(--serif);
  font-size: clamp(36px, 6vw, 68px);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.015em;
  color: #fff;
  margin-bottom: 18px;
}
.hero-editorial h1 em { font-style: italic; color: var(--pink-accent); }
.hero-editorial .hero-desc { color: rgba(255,255,255,0.72); margin-left: 0; margin-right: 0; max-width: 440px; }
.hero-editorial .hero-ctas { justify-content: flex-start; }
.hero-editorial .hero-badges { justify-content: flex-start; }
.hero-editorial .hero-badge { color: rgba(255,255,255,0.82); }
.hero-editorial .hero-badge svg { color: var(--pink-accent); }
.hero-editorial .btn-outline { color: #fff; border-color: rgba(255,255,255,0.5); }
.hero-editorial .btn-outline:hover { background: #fff; color: var(--black); }

/* ---- Asymmetric category grid ---- */
.categories-asym {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 168px;
  gap: 16px;
}
.categories-asym .category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%;
}
.categories-asym .category-card.feature { grid-column: span 2; grid-row: span 2; }
.categories-asym .category-card.tall { grid-row: span 2; }
.category-card.feature h3 { font-size: 26px; }
@media (max-width: 768px) {
  .categories-asym { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; gap: 12px; }
  .categories-asym .category-card.feature { grid-column: span 2; grid-row: span 1; }
  .categories-asym .category-card.tall { grid-row: span 1; }
  .hero-editorial { min-height: 0; }
  .hero-editorial .container { padding-top: 32px; padding-bottom: 32px; }
  .hero-editorial .hero-badges { margin-top: 24px; gap: 20px; }
}

/* ---- Product card hover overlay ("View Item") + card image scale ---- */
.product-img img { transition: transform 0.5s ease; }
.product-card:hover .product-img img { transform: scale(1.06); }
.product-view-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(17,17,17,0.28);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}
.product-card:hover .product-view-overlay { opacity: 1; }
.product-view-overlay span {
  background: #fff;
  color: var(--black);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 9px 18px;
  border-radius: 2px;
}
/* "Only 1 Left" stock flag on cards + detail */
.stock-flag {
  position: absolute;
  bottom: 12px; left: 12px;
  background: #a02020;
  color: #fff;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 2px;
}
.sold-out-flag { background: var(--gray-3); }

/* ---- Condition badge palette (6 SOW grades) ---- */
/* Interim fallbacks for pre-migration tag values (Brand New / Pre-loved) */
.badge-brand-new         { background: rgba(0,0,0,0.7); }
.badge-pre-loved         { background: rgba(0,0,0,0.65); }
.badge-new-with-tags     { background: rgba(0,0,0,0.7); }
.badge-new-without-tags  { background: rgba(0,0,0,0.8); }
.badge-preloved-excellent{ background: #1f7a4d; }
.badge-preloved-good     { background: #3a7a8b; }
.badge-preloved-minor-wear { background: #8b6b3a; }
.badge-bargain-as-is     { background: #8b3a3a; }

/* ---- Product gallery zoom ---- */
.gallery-zoom {
  position: relative;
  cursor: zoom-in;
}
.gallery-zoom .zoom-lens {
  position: absolute;
  border: 1px solid rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.15);
  width: 140px; height: 140px;
  pointer-events: none;
  display: none;
  border-radius: 50%;
}
.gallery-zoom-result {
  position: absolute;
  top: 0; left: calc(100% + 16px);
  width: 100%; height: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--gray-e);
  background-repeat: no-repeat;
  background-color: var(--gray-f);
  display: none;
  z-index: 50;
  box-shadow: var(--shadow-lg);
}
@media (min-width: 1025px) {
  .gallery-zoom:hover .zoom-lens,
  .gallery-zoom:hover .gallery-zoom-result { display: block; }
}
.product-thumbs.six { grid-template-columns: repeat(6, 1fr); }

/* ---- Stock counter above ATC ---- */
.stock-counter {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--pink);
  margin-bottom: 16px;
}
.stock-counter .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--pink-accent); box-shadow: 0 0 0 0 rgba(255,0,160,0.5); animation: pulse 1.8s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255,0,160,0.5); }
  70% { box-shadow: 0 0 0 8px rgba(255,0,160,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,0,160,0); }
}
.stock-counter.plenty { color: var(--gray-6); }
.stock-counter.plenty .dot { background: #2ecc71; animation: none; }
.stock-counter.sold { color: var(--gray-6); }
.stock-counter.sold .dot { background: var(--gray-d); animation: none; }

/* ---- Condition notes callout ---- */
.condition-notes {
  background: var(--pink-light);
  border: 1px solid var(--pink-mid);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-bottom: 24px;
}
.condition-notes .cn-label {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pink);
  font-weight: 700;
  margin-bottom: 6px;
}
.condition-notes p { font-size: 13px; color: var(--gray-3); line-height: 1.7; }

/* ---- Delivery estimate ---- */
.delivery-estimate {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: var(--gray-3);
  border: 1px dashed var(--gray-d);
  border-radius: var(--radius);
  padding: 12px 14px;
  margin-bottom: 20px;
}
.delivery-estimate svg { width: 18px; height: 18px; color: var(--pink); flex-shrink: 0; }
.delivery-estimate strong { color: var(--black); }

/* ---- Social share bar ---- */
.share-bar { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; flex-wrap: wrap; }
.share-bar .share-label { font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gray-6); font-weight: 600; }
.share-btn {
  width: 36px; height: 36px;
  border: 1px solid var(--gray-d);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-3);
  transition: all var(--transition);
}
.share-btn:hover { border-color: var(--pink); background: var(--pink); color: #fff; }
.share-btn svg { width: 16px; height: 16px; }

/* ---- "Buy New From Brand" affiliate tab ---- */
.brand-tab {
  background: var(--gray-f);
  border: 1px solid var(--gray-e);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-top: 24px;
}
.brand-tab .bt-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.brand-tab .bt-logo {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--black); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 600; font-size: 15px;
}
.brand-tab h4 { font-size: 13px; font-weight: 600; letter-spacing: 0.04em; }
.brand-tab p { font-size: 12.5px; color: var(--gray-6); line-height: 1.7; margin-bottom: 12px; }
.brand-tab .price-compare { font-size: 12.5px; margin-bottom: 12px; }
.brand-tab .price-compare .official { text-decoration: line-through; color: var(--gray-6); }
.brand-tab .price-compare .paid { color: var(--pink); font-weight: 700; }

/* ---- Size guide modal (reuses .modal / .modal-overlay) ---- */
.modal.size-guide { text-align: left; max-width: 560px; }
.modal.size-guide h2 { font-size: 26px; margin-bottom: 8px; }
.modal.size-guide table { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 13px; }
.modal.size-guide th, .modal.size-guide td { border: 1px solid var(--gray-e); padding: 8px 10px; text-align: left; }
.modal.size-guide th { background: var(--gray-f); font-weight: 600; }
.modal .modal-close {
  position: absolute; top: 16px; right: 18px;
  font-size: 24px; line-height: 1; color: var(--gray-6); background: none; border: none;
}
.modal { position: relative; }

/* ---- Trust badges row ---- */
.trust-badges {
  display: flex; align-items: center; justify-content: center;
  gap: 14px; flex-wrap: wrap;
  padding: 22px 24px;
}
.trust-badge {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11.5px; font-weight: 600; color: var(--gray-3);
  border: 1px solid var(--gray-e); border-radius: 50px;
  padding: 7px 14px; background: var(--white);
}
.trust-badge svg { width: 15px; height: 15px; color: #1f7a4d; }
.pay-logo {
  font-size: 10px; font-weight: 700; letter-spacing: 0.04em;
  color: var(--gray-6); border: 1px solid var(--gray-e); border-radius: 3px;
  padding: 5px 9px; background: var(--white);
}

/* ---- Checkout: agreement + condition badge + reserve timer ---- */
.checkout-line {
  display: flex; gap: 14px; align-items: center;
  padding: 12px 0; border-bottom: 1px solid var(--gray-e);
}
.checkout-line:last-child { border-bottom: none; }
.checkout-line .cl-thumb {
  width: 64px; height: 64px; border-radius: 6px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.checkout-line .product-badge { position: static; margin-top: 5px; display: inline-block; }
.reserve-timer {
  display: flex; align-items: center; gap: 10px;
  background: var(--pink-light); border: 1px solid var(--pink-mid);
  border-radius: var(--radius); padding: 12px 14px;
  font-size: 12.5px; color: var(--gray-3); margin-bottom: 18px;
}
.reserve-timer svg { width: 18px; height: 18px; color: var(--pink); flex-shrink: 0; }
.reserve-timer strong { color: var(--pink); font-variant-numeric: tabular-nums; }
.reserve-timer.expired { background: #fbeaea; border-color: #e3b7b7; }
.reserve-timer.expired strong { color: #b3261e; }
.agreement-box {
  border: 1px solid var(--gray-e); border-radius: var(--radius);
  padding: 18px; margin-top: 18px;
}
.agreement-check {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 10px 0; cursor: pointer; font-size: 12.5px; line-height: 1.6; color: var(--gray-3);
}
.agreement-check input[type="checkbox"] {
  width: 18px; height: 18px; accent-color: var(--pink); flex-shrink: 0; margin-top: 1px;
}
.agreement-check.required-flash { animation: flashBorder 0.6s ease; }
@keyframes flashBorder { 0%,100% { background: transparent; } 50% { background: var(--pink-light); } }
.btn.is-disabled { opacity: 0.45; pointer-events: none; cursor: not-allowed; }

/* ---- Cookie consent banner ---- */
.cookie-banner {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  max-width: 720px; margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--gray-d);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 18px 22px;
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  z-index: 9500;
}
.cookie-banner p { font-size: 12.5px; color: var(--gray-6); line-height: 1.6; flex: 1; min-width: 220px; }
.cookie-banner a { color: var(--pink); text-decoration: underline; }
.cookie-banner .cookie-actions { display: flex; gap: 10px; }

/* ---- Floating WhatsApp button ---- */
.wa-float {
  position: fixed;
  bottom: 22px; left: 22px;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: 9400;
  transition: transform var(--transition);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 28px; height: 28px; }

/* ---- Cart-icon bump animation ---- */
@keyframes cartBump {
  0% { transform: scale(1); }
  30% { transform: scale(1.35); }
  60% { transform: scale(0.9); }
  100% { transform: scale(1); }
}
.cart-bump { animation: cartBump 0.5s ease; }

/* ---- Legal / content pages ---- */
.legal-content { max-width: 820px; margin: 0 auto; }
.legal-content h2 { font-family: var(--serif); font-size: 26px; font-weight: 500; margin: 32px 0 12px; }
.legal-content h3 { font-size: 15px; font-weight: 600; margin: 22px 0 8px; letter-spacing: 0.02em; }
.legal-content p, .legal-content li { font-size: 14px; color: var(--gray-3); line-height: 1.8; margin-bottom: 12px; }
.legal-content ul { padding-left: 20px; list-style: disc; margin-bottom: 16px; }
.legal-content .updated { font-size: 12px; color: var(--gray-6); margin-bottom: 24px; }
.policy-highlight {
  background: var(--pink-light); border: 1px solid var(--pink-mid);
  border-radius: var(--radius); padding: 18px 20px; margin: 20px 0;
}
.policy-highlight p { color: var(--black); font-weight: 500; margin: 0; }

/* ---- 404 ---- */
.notfound {
  min-height: 62vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 60px 24px;
}
.notfound .big404 { font-family: var(--serif); font-size: clamp(90px, 18vw, 180px); font-weight: 300; color: var(--pink-accent); line-height: 1; }
.notfound h1 { font-family: var(--serif); font-size: 32px; font-weight: 400; margin: 8px 0 12px; }
.notfound p { color: var(--gray-6); font-size: 15px; margin-bottom: 28px; max-width: 420px; }

@media (max-width: 1024px) {
  .gallery-zoom-result { display: none !important; }
  .gallery-zoom { cursor: default; }
}
