/* â”€â”€ DESIGN SYSTEM (Apple-Inspired for Clothing) â”€â”€ */
:root {
  --color-primary: #0071e3;
  --color-primary-hover: #0077ed;
  --color-bg: #ffffff;
  --color-bg-alt: #f5f5f7;
  --color-text: #1d1d1f;
  --color-text-secondary: #6e6e73;
  --color-border: rgba(0, 0, 0, 0.08);
  --color-sale: #e30000;
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius-pill: 980px;
  --radius-card: 22px;
  --radius-small: 12px;
  --transition: 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
  --header-height: 48px;
  --container-width: 1020px;
  --color-accent: #2E5BFF;
  --color-ink: #07080c;
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --color-dark: #07080c;
  --color-text-muted: #86868b;
  --color-text-light: #aeaeb2;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-full: 980px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scrollbar-gutter: stable; /* scrollbar space reserved â€” no layout shift between pages */
}

html, body {
  font-family: var(--font-family);
  background-color: #f8f7f5;
  color: var(--color-text);
  line-height: 1.47;
  letter-spacing: -0.022em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden !important;
  width: 100%; /* NOT 100vw â€” 100vw includes the scrollbar and causes horizontal shake */
  position: relative;
  margin: 0;
  padding: 0;
}

.app-content, .hero-section {
  overflow-x: hidden !important;
  width: 100% !important;
  max-width: 100% !important;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: opacity var(--transition);
}
a:hover {
  opacity: 0.8;
}

/* IMAN-style minimal fixed navigation */
header.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: 64px;
  background: rgba(248, 247, 245, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 0;
  display: flex;
  align-items: center;
}

.header-inner {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
  height: 100%;
}

.logo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: #202020;
  display: flex;
  align-items: center;
  justify-content: center;
  height: auto;
  opacity: 1;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  white-space: nowrap;
}
.logo:hover { opacity: 0.7; }

.header-nav { display: none; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 100%;
  margin-left: auto;
}

.nav-icon-wrapper,
.cart-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: #202020;
  opacity: 1;
  transition: opacity 0.15s ease, transform 0.15s ease;
  cursor: pointer;
}
.nav-icon-wrapper:hover,
.cart-icon:hover { opacity: 0.65; }
.nav-icon-wrapper:active,
.cart-icon:active { transform: scale(0.98); }
.nav-icon-wrapper svg,
.cart-icon svg {
  width: 21px;
  height: 21px;
  display: block;
  pointer-events: none;
}
.menu-toggle {
  display: flex !important;
}

.cart-icon { position: relative; }
.cart-badge {
  position: absolute;
  top: 3px;
  right: 2px;
  background: #202020;
  color: white;
  font-size: 8px;
  font-weight: 600;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* â”€â”€ HERO SECTIONS â”€â”€ */
.hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 55px 22px 0 22px;
  position: relative;
  overflow: hidden;
  min-height: 520px;
  border-bottom: 12px solid white;
}

.hero-section.theme-dark {
  background: #000000;
  border-bottom: 12px solid #000;
}
.hero-section.theme-dark .hero-title,
.hero-section.theme-dark .hero-subhead {
  color: #f5f5f7;
}
.hero-section.theme-dark .hero-eyebrow {
  color: #86868b;
}

.hero-section.gradient-warm {
  background: radial-gradient(circle at center, #fef3e2 0%, #f5f5f7 100%);
}
.hero-section.gradient-cool {
  background: radial-gradient(circle at center, #ebdfff 0%, #f5f5f7 100%);
}
.hero-section.gradient-earth {
  background: radial-gradient(circle at center, #e8efe3 0%, #f5f5f7 100%);
}

.hero-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  margin-bottom: 6px;
}

.hero-title {
  font-size: clamp(38px, 6vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
  color: #1d1d1f;
}

.hero-subhead {
  font-size: clamp(18px, 2.2vw, 21px);
  font-weight: 400;
  color: #1d1d1f;
  margin-bottom: 12px;
  letter-spacing: -0.015em;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-bottom: 24px;
  z-index: 10;
}

.btn {
  font-size: 14px;
  font-weight: 400;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  font-family: var(--font-family);
}

.btn-primary {
  background-color: var(--color-primary);
  color: white;
}
.btn-primary:hover {
  background-color: var(--color-primary-hover);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
}
.btn-secondary:hover {
  background-color: var(--color-primary);
  color: white;
}

.hero-section.theme-dark .btn-secondary {
  border-color: white;
  color: white;
}
.hero-section.theme-dark .btn-secondary:hover {
  background-color: white;
  color: black;
}

.hero-product-img {
  width: 100%;
  max-width: 480px;
  height: auto;
  object-fit: contain;
  margin-top: 12px;
  z-index: 1;
  -webkit-mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.04));
}

/* â”€â”€ PRODUCT GRID & CARDS â”€â”€ */
.section {
  padding: 80px 22px;
  background-color: var(--color-bg);
}
.section-alt {
  background-color: var(--color-bg-alt);
}

.section-title {
  text-align: center;
  margin-bottom: 48px;
}
.section-title h2 {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* Strict 2 column layout side-by-side */
  gap: 16px; /* tighter responsive gap */
  max-width: var(--container-width);
  margin: 0 auto;
}

.product-card {
  background: white;
  border-radius: 0; /* 100% square corners */
  padding: 12px; /* reduced padding so card feels tighter */
  display: flex;
  flex-direction: column;
  position: relative;
  text-decoration: none;
  color: inherit;
  transition: none;
  box-shadow: 0 4px 18px rgba(0,0,0,0.03);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.03);
  isolation: isolate;
  height: 100%; /* even height across all elements */
}

.product-card:hover {
  transform: none;
  box-shadow: 0 4px 18px rgba(0,0,0,0.03);
}

.product-card-img-wrapper {
  height: 200px; /* constant height to keep grid even */
  width: 100%;
  position: relative;
  display: block;
  background: #ffffff;
  padding: 0; /* image runs edge to edge in wrapper */
  margin-bottom: 12px; /* tighter spacing */
  border-radius: 0; /* 100% square image frames */
  overflow: hidden;
}

.product-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* image fills whole area and crops to same aspect ratio */
  transition: none;
  display: block;
}

.product-card:hover .product-card-img {
  transform: none;
}

.product-card-info {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-card-category {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.product-card-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-text);
  line-height: 1.3;
}

.product-card-price-row {
  margin-top: auto;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.product-card-price {
  font-size: 16px;
  font-weight: 600;
}

.product-card-price-old {
  font-size: 14px;
  color: var(--color-text-secondary);
  text-decoration: line-through;
}

.product-card-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--color-sale);
  color: white;
  font-size: 10px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

/* â”€â”€ CATALOG FILTER PILLS â”€â”€ */
.cat-pill {
  background: white;
  border: 1px solid #000;
  color: #000;
  padding: 10px 20px;
  border-radius: 0; /* completely square luxury tabs */
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
  transition: all 0.3s ease;
  font-family: var(--font-family);
}
.cat-pill:hover {
  background: #fafafa;
  color: var(--color-accent);
  border-color: var(--color-accent);
}
.cat-pill.active {
  background: #000;
  color: white;
  border-color: #000;
}

/* â”€â”€ CART DRAWER â”€â”€ */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.3);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.cart-drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 400px;
  background: white;
  z-index: 1001;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.15, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 40px rgba(0,0,0,0.1);
  border-left: 1px solid #000; /* sharp edge */
  border-radius: 0; /* completely square corners */
}
.cart-drawer.active {
  transform: translateX(0);
}

.cart-drawer-header {
  padding: 24px 20px;
  border-bottom: 1px solid #000; /* sharp black border */
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cart-drawer-header h3 { 
  font-family: 'Playfair Display', Georgia, serif; 
  font-size: 22px; 
  font-weight: 800; 
  text-transform: uppercase; 
  letter-spacing: 0.05em; 
  margin: 0;
  color: #000;
}
.cart-drawer-close { 
  background: none; 
  border: none; 
  font-size: 28px; 
  cursor: pointer; 
  color: #000; 
  transition: transform 0.2s ease;
  line-height: 1;
  padding: 0;
}
.cart-drawer-close:hover {
  transform: scale(1.15) rotate(90deg);
}

.cart-drawer-content {
  flex-grow: 1;
  overflow-y: auto;
  padding: 20px;
  scrollbar-width: thin;
}

.cart-item {
  display: flex;
  gap: 16px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid #eee;
  align-items: center;
}
.cart-item-img {
  width: 64px;
  height: 64px;
  object-fit: cover; /* crop correctly without warping! */
  background: #fafafa;
  border: 1px solid #000; /* sharp black thumbnail border */
  border-radius: 0; /* completely square */
}
.cart-item-details { 
  flex-grow: 1; 
  min-width: 0;
  text-align: left;
}
.cart-item-title { 
  font-size: 13px; 
  font-weight: 700; 
  text-transform: uppercase; 
  letter-spacing: 0.02em; 
  margin-bottom: 4px; 
  color: #000;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cart-item-price { 
  font-size: 12px; 
  font-weight: 800;
  color: #000; 
}

.cart-drawer-footer {
  padding: 24px 20px;
  border-top: 1px solid #000;
  background: #fafafa; /* premium lookbook grey */
}
.cart-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  color: #000;
}

/* â”€â”€ SEARCH OVERLAY â”€â”€ */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 80px;
}
.search-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.search-overlay-inner {
  width: 100%;
  max-width: 680px;
  padding: 0 22px;
  transform: translateY(-10px);
  opacity: 0;
  transition: transform 0.32s cubic-bezier(0.15, 1, 0.3, 1), opacity 0.25s ease;
}
.search-overlay.active .search-overlay-inner {
  transform: translateY(0);
  opacity: 1;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--color-border);
  transition: border-color 0.3s ease;
}
.search-box:focus-within {
  border-bottom-color: #000000;
}

.search-box input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 28px;
  font-weight: 600;
  font-family: var(--font-family);
  color: var(--color-text);
  outline: none;
  letter-spacing: -0.02em;
}
.search-box input::placeholder {
  color: #86868b;
}

.search-box svg {
  width: 24px;
  height: 24px;
  stroke: #86868b;
}

.search-close-btn {
  background: none;
  border: none;
  color: var(--color-accent);
  font-size: 13px;
  font-weight: 800;
  font-family: var(--font-family);
  cursor: pointer;
  padding: 0;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.search-results {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.search-label {
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: #86868b;
  padding: 0 16px 10px;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 16px;
  border-radius: var(--radius-small);
  text-decoration: none;
  color: inherit;
  transition: background var(--transition);
}
.search-result-item:hover {
  background: rgba(0,0,0,0.04);
}

.search-result-img {
  width: 54px;
  height: 62px;
  object-fit: cover;
  border-radius: 4px;
  background: #f5f5f7;
  border: 1px solid rgba(0,0,0,0.06);
  flex-shrink: 0;
}

.search-result-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.search-result-category {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
}
.search-result-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.search-result-name mark {
  background: none;
  color: var(--color-accent);
  font-weight: 800;
}
.search-result-price {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text-secondary);
}

.search-result-arrow {
  margin-left: auto;
  color: var(--color-accent);
  font-size: 16px;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  flex-shrink: 0;
}
.search-result-item:hover .search-result-arrow {
  opacity: 1;
  transform: translateX(0);
}

.search-empty {
  text-align: center;
  padding: 32px;
  color: var(--color-text-secondary);
  font-size: 15px;
}

/* â”€â”€ SEARCH ON MOBILE â€” sleek top sheet â”€â”€ */
@media (max-width: 768px) {
  .search-overlay {
    padding-top: 0;
  }
  .search-overlay-inner {
    max-width: 100%;
    width: 100%;
    min-width: 0;
    background: #ffffff;
    padding: 16px 18px 22px;
    padding-top: max(16px, env(safe-area-inset-top));
    box-shadow: 0 30px 70px rgba(7, 8, 12, 0.28);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    max-height: 100%;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateY(-16px);
  }
  .search-overlay.active .search-overlay-inner {
    transform: translateY(0);
  }
  .search-box {
    gap: 12px;
    margin-bottom: 16px;
    padding: 10px 0;
  }
  .search-box input {
    font-size: 18px;
    font-weight: 700;
  }
  .search-box svg {
    width: 20px;
    height: 20px;
  }
  .search-close-btn {
    font-size: 12px;
  }
  .search-label {
    padding: 0 8px 8px;
  }
  .search-result-item {
    padding: 10px 8px;
    gap: 14px;
  }
  .search-result-img {
    width: 50px;
    height: 58px;
  }
  .search-result-name {
    font-size: 14px;
  }
  .search-result-price {
    font-size: 12px;
  }
  .search-result-arrow {
    display: none; /* hover-only affordance â€” no dead arrows on touch */
  }
  .search-empty {
    padding: 28px 8px;
    font-size: 14px;
  }
}

/* ── TIGHT SINGLE-PAGE PRODUCT VIEW (ZERO SCROLL) ── */
html.product-page-active,
body.product-page-active {
  overflow: hidden !important;
  height: 100% !important;
  max-height: 100% !important;
  position: fixed !important;
  width: 100% !important;
  overscroll-behavior: none !important;
}

.product-page-wrapper {
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  bottom: 0;
  height: calc(100dvh - 64px);
  max-height: calc(100dvh - 64px);
  overflow: hidden;
  background-color: #f8f7f5;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

/* Hairline dividers */
.product-hairline-sep {
  height: 1px;
  background: rgba(0, 0, 0, 0.08);
  width: 100%;
  flex-shrink: 0;
}

/* Back navigation */
.product-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #1d1d1f;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  cursor: pointer;
  opacity: 0.85;
  transition: opacity 160ms ease;
  width: max-content;
}
.product-back-btn:hover {
  opacity: 0.55;
}
.product-back-btn:active {
  transform: scale(0.98);
}

/* Variant buttons */
.product-variant-btn {
  border: 1px solid rgba(0, 0, 0, 0.22);
  background: transparent;
  color: #1d1d1f;
  font-family: inherit;
  font-weight: 700;
  cursor: pointer;
  border-radius: 0;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.product-variant-btn:hover {
  background: rgba(0, 0, 0, 0.04);
}
.product-variant-btn.selected {
  background: #111111;
  color: #f8f7f5;
  border-color: #111111;
}
.product-variant-btn:active {
  transform: scale(0.98);
}

/* Primary Action Button */
.product-bag-button {
  background: #111111;
  border: 1px solid #111111;
  color: #ffffff;
  font-family: inherit;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  border-radius: 0;
  transition: background-color 160ms ease, opacity 160ms ease;
  outline: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-shrink: 0;
}
.product-bag-button:hover {
  background: #242424;
}
.product-bag-button:active {
  transform: scale(0.98);
}
.product-bag-button:disabled {
  opacity: 0.85;
  cursor: default;
}

/* Selection headers */
.selection-header-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  width: 100%;
}
.selection-title {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #111111;
}
.selection-active-value {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: #6e6e73;
}

/* ── DESKTOP STYLES ── */
@media (min-width: 768px) {
  .mobile-view {
    display: none !important;
  }
  .desktop-view {
    display: flex !important;
  }

  .product-page-inner.desktop-view {
    width: 100%;
    max-width: 1160px;
    height: 100%;
    max-height: 100%;
    padding: clamp(14px, 2.2vh, 26px) clamp(20px, 3vw, 44px);
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
  }

  .product-grid-layout {
    display: grid;
    grid-template-columns: minmax(320px, 1fr) minmax(360px, 1.15fr);
    gap: clamp(24px, 3.8vw, 56px);
    width: 100%;
    height: 100%;
    max-height: 100%;
    align-items: stretch;
    overflow: hidden;
  }

  .product-showcase-column {
    height: 100%;
    max-height: 100%;
    overflow: hidden;
  }

  .product-img-box {
    width: 100%;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: #f0eee9;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    cursor: zoom-in;
  }
  .product-img-box img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    padding: clamp(10px, 1.8vh, 20px);
    box-sizing: border-box;
  }

  .product-details-column {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    max-height: 100%;
    overflow: hidden;
    box-sizing: border-box;
    gap: clamp(10px, 1.6vh, 18px);
  }

  .product-identity-block {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .product-name-title {
    font-size: clamp(22px, 3vh, 30px);
    font-weight: 800;
    text-transform: uppercase;
    color: #111111;
    line-height: 1.15;
    letter-spacing: 0.02em;
    margin: 0;
  }

  .product-editorial-desc {
    font-size: clamp(12.5px, 1.45vh, 13.5px);
    line-height: 1.5;
    color: #555555;
    margin: 0;
  }

  .product-price-row {
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
  }

  .product-price-val {
    font-size: clamp(18px, 2.3vh, 22px);
    font-weight: 800;
    color: #111111;
  }

  .product-price-old {
    font-size: 13px;
    color: #8e8e93;
    text-decoration: line-through;
    font-weight: 500;
  }

  .product-category-meta {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6e6e73;
    margin-left: auto;
  }

  .product-selection-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .selection-btn-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(54px, 1fr));
    gap: 6px;
  }

  .selection-btn-grid .product-variant-btn {
    height: clamp(34px, 4.2vh, 40px);
    font-size: 11px;
  }

  .selection-btn-row {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
  }

  .selection-btn-row .product-variant-btn {
    height: clamp(30px, 3.8vh, 34px);
    padding: 0 14px;
    font-size: 11px;
  }

  .product-specs-section {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .product-desc-para {
    font-size: clamp(12px, 1.4vh, 13px);
    line-height: 1.5;
    color: #555555;
    margin: 0;
  }

  .product-specs-table {
    display: flex;
    flex-direction: column;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    margin-top: 4px;
  }

  .spec-entry {
    display: flex;
    justify-content: space-between;
    padding: clamp(3px, 0.6vh, 6px) 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 11px;
  }

  .spec-term {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #111111;
  }

  .spec-detail {
    color: #6e6e73;
  }

  .desktop-view .product-bag-button {
    height: clamp(44px, 5.2vh, 50px);
    font-size: 12px;
    width: 100%;
  }
}

/* ── MOBILE STYLES (STRICT ZERO-SCROLL TIGHT LAYOUT) ── */
@media (max-width: 767px) {
  .desktop-view {
    display: none !important;
  }
  .mobile-view {
    display: flex !important;
  }

  .product-page-inner.mobile-view {
    width: 100%;
    height: 100%;
    max-height: 100%;
    padding: 10px 14px 12px 14px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    gap: 6px;
  }

  .mobile-top-nav {
    display: flex;
    align-items: center;
    flex-shrink: 0;
  }

  .mobile-showcase-frame {
    width: 100%;
    height: clamp(170px, 32vh, 230px);
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: #f0eee9;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    cursor: zoom-in;
    flex-shrink: 1;
    min-height: 140px;
  }

  .mobile-showcase-frame img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    padding: 8px;
    box-sizing: border-box;
  }

  .mobile-hint-tag {
    position: absolute;
    bottom: 6px;
    right: 6px;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #111111;
    background: rgba(248, 247, 245, 0.92);
    border: 1px solid rgba(0, 0, 0, 0.12);
    padding: 3px 6px;
    pointer-events: none;
    opacity: 0.85;
  }

  .mobile-identity-frame {
    display: flex;
    flex-direction: column;
    gap: 3px;
    width: 100%;
    flex-shrink: 0;
  }

  .mobile-title-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
  }

  .mobile-title {
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
    color: #111111;
    margin: 0;
    line-height: 1.18;
    letter-spacing: 0.02em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
  }

  .mobile-editorial-desc {
    font-size: 10.5px;
    line-height: 1.38;
    color: #555555;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .mobile-price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-shrink: 0;
  }

  .mobile-price-current {
    font-size: 15px;
    font-weight: 800;
    color: #111111;
  }

  .mobile-price-old {
    font-size: 11px;
    color: #8e8e93;
    text-decoration: line-through;
    font-weight: 500;
  }

  .mobile-meta-sub {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #6e6e73;
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .mobile-section {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex-shrink: 0;
  }

  .mobile-size-grid {
    display: flex;
    gap: 6px;
    width: 100%;
  }

  .mobile-size-btn {
    flex: 1;
    height: 32px;
    font-size: 11px;
  }

  .mobile-color-row {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
  }

  .mobile-color-btn {
    height: 28px;
    padding: 0 10px;
    font-size: 10.5px;
  }

  .mobile-details-section {
    flex: 1;
    min-height: 0;
    justify-content: center;
  }

  .mobile-desc-para {
    font-size: 11.5px;
    line-height: 1.45;
    color: #555555;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .mobile-specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3px 10px;
    margin-top: 5px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding-top: 4px;
  }

  .mobile-spec-item {
    display: flex;
    justify-content: space-between;
    gap: 4px;
    font-size: 10px;
  }

  .mobile-spec-lbl {
    font-weight: 700;
    text-transform: uppercase;
    color: #111111;
  }

  .mobile-spec-val {
    color: #6e6e73;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-bag-btn {
    width: 100%;
    height: 44px;
    font-size: 12px;
  }
}

/* ── FULLSCREEN GARMENT LIGHTBOX ── */
.garment-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(12, 12, 14, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
  cursor: zoom-out;
}
.garment-lightbox img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}
.garment-lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: opacity 160ms ease;
  font-size: 20px;
  line-height: 1;
}
.garment-lightbox-close:hover {
  opacity: 0.7;
}
.garment-lightbox-close:active {
  transform: scale(0.98);
}

/* â”€â”€ MOBILE NAV â”€â”€ */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.mobile-nav-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 280px;
  background: white;
  z-index: 1001; /* float over frame border too */
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.15, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 32px rgba(0,0,0,0.12);
  border-left: 1px solid #000;
  border-radius: 0;
}
.mobile-nav.active {
  transform: translateX(0);
}

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 20px;
  border-bottom: 1px solid #000;
}
/* Title inside the mobile-nav-header styled exactly as your premium wordmark logo */
.mobile-nav-header span {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #000;
  border-bottom: 1px solid #000;
  padding-bottom: 2px;
}
.mobile-nav-close {
  background: none;
  border: none;
  font-size: 26px;
  cursor: pointer;
  color: #000;
  line-height: 1;
  padding: 0;
  transition: transform 0.2s;
}
.mobile-nav-close:hover {
  transform: rotate(90deg);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  padding: 10px 0;
  overflow-y: auto;
  flex: 1;
}
.mobile-nav-link {
  padding: 16px 20px;
  font-size: 11px;
  font-weight: 800;
  color: #000;
  text-decoration: none;
  border-bottom: 1px solid #eee;
  transition: background 0.3s, color 0.3s;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.mobile-nav-link:hover {
  background: #fafafa;
  color: var(--color-accent); /* elegant gold text highlight */
}

/* Static presentation: no scroll reveals, decorative animation, or transition effects */
.animate-on-scroll,
.animate-on-scroll.visible {
  opacity: 1;
  transform: none;
  transition: none;
}

*,
*::before,
*::after {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}

/* Loading indicator remains functional but does not animate */
.spinner {
  width: 24px;
  height: 24px;
  border: 2px solid var(--color-border);
  border-top-color: var(--color-text);
  border-radius: 50%;
  animation: none;
}

/* â”€â”€ RESPONSIVE â”€â”€ */
@media (max-width: 768px) {
  .header-inner { padding: 0 16px; }
  .home-hero-section { padding: 0 16px 12px; }
  .home-hero { min-height: 540px; }
  .home-hero-content { padding: 0 16px 32px; }
  .header-nav { display: none; }
  .menu-toggle { display: flex !important; }
  .hero-title { font-size: 32px; }
  .hero-subhead { font-size: 17px; }
}

/* â”€â”€ ELITE VIEWPORT BLUE MARGIN LINE (GLOBAL ON ALL PAGES) â”€â”€ */
body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 0;
  pointer-events: none; /* 100% clickable through - never interrupts scrolling, clicks, or taps */
  z-index: 9999999 !important; /* floats flawlessly on top of all routes & pages */
}

/* -----------------------------------------------
   HOME HERO - CONTAINED GALLERY CARD
   Full-bleed image in a framed card, gradient scrim
   on the lower half, centered copy + pill button
   ----------------------------------------------- */
/* IMAN-inspired contained hero */
.home-hero-section {
  width: 100%;
  padding: 64px 24px 16px;
  background: #f8f7f5;
}

.home-hero {
  position: relative;
  width: 100%;
  height: 82vh;
  min-height: 540px;
  max-height: 860px;
  overflow: hidden;
  background: #0a0a0a;
}

.home-hero-img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.home-hero-scrim {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 50%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.35) 50%, transparent);
  pointer-events: none;
}

.home-hero-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 0 16px 32px;
  text-align: center;
}

.hero-headline {
  color: #ffffff;
  font-size: clamp(24px, 3.2vw, 36px);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5);
}

.hero-sub {
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.6;
  max-width: 384px;
  margin: 8px 0 0;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.55);
}

.hero-pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
  padding: 10px 36px;
  border: 1px solid #ffffff;
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.7);
  color: #ffffff;
  font-family: var(--font-family);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.hero-pill-btn:hover { background: #ffffff; color: #000000; }
.hero-pill-btn:active { transform: scale(0.98); }

@media (min-width: 640px) {
  .home-hero-section { padding: 16px 40px 16px; }
  .home-hero-content { padding-bottom: 48px; }
  .hero-sub { font-size: 14px; }
}
@media (min-width: 1024px) {
  .home-hero-section { padding: 16px 64px 16px; }
}
@media (min-width: 1280px) {
  .home-hero-section { padding: 16px 80px 16px; }
}

/* Retained square CTA used below the hero */
.hero-btn-primary {
  background: #ffffff;
  color: #000000;
  border: 1px solid #ffffff;
  border-radius: 0;
  font-family: var(--font-family);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 17px 36px;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.hero-btn-primary:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #ffffff;
}

.deals-head {
  max-width: var(--container-width);
  margin: 0 auto 36px;
  padding: 0 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}
.deals-eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 6px;
}
.deals-title {
  font-size: 32px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 4px 0;
  color: #000000;
}
.deals-viewall {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #000000;
  text-decoration: none;
  border-bottom: 1px solid #000000;
  padding-bottom: 2px;
  transition: color 0.3s ease, border-color 0.3s ease;
}
.deals-viewall:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
  opacity: 1;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   MODAL SYSTEM
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(7, 8, 12, 0.62);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
  animation: none;
}
@keyframes modalFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-content {
  background: #ffffff;
  width: 100%;
  max-width: 560px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  position: relative;
  border-radius: 0;
  animation: modalUp 0.3s cubic-bezier(0.15, 1, 0.3, 1);
}
.modal-content img {
  max-width: 100%;
}
@keyframes modalUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.close-modal-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 5;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #ffffff;
  color: #000000;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 0.2s ease, color 0.2s ease;
}
.close-modal-btn:hover {
  background: #000000;
  color: #ffffff;
}

/* Checkout layout */
.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
}
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
}

/* Quick view layout */
.quickview-modal {
  padding: 0;
}
.quickview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
}
.quickview-gallery {
  background: #f6f6f8;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

/* Shared UI pieces used by modals */
.btn-dark {
  background: #000000;
  color: #ffffff;
  border: 1px solid #000000;
  border-radius: 0;
  font-family: var(--font-family);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 12px 24px;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.btn-dark:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #ffffff;
  opacity: 1;
}

.size-picker-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.size-picker-btn {
  padding: 10px 0;
  border: 1px solid var(--color-border);
  background: #ffffff;
  font-family: var(--font-family);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  border-radius: 0;
  transition: all 0.2s ease;
}
.size-picker-btn:hover {
  border-color: #000000;
}
.size-picker-btn.active {
  background: #000000;
  color: #ffffff;
  border-color: #000000;
}

.color-swatch-btn.active {
  background: #000000 !important;
  color: #ffffff !important;
  border-color: #000000 !important;
}

.badge-tag {
  display: inline-block;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 8px;
}
.badge-tag.sale {
  background: #e30000;
  color: #ffffff;
}

/* Toasts */
#toast-container {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  pointer-events: none;
  width: max-content;
  max-width: calc(100vw - 32px);
}
.toast {
  background: var(--color-ink);
  color: #ffffff;
  border-left: 2px solid var(--color-accent);
  padding: 12px 20px;
  font-size: 12px;
  font-weight: 600;
  max-width: 100%;
  animation: toastIn 0.3s ease;
}
@keyframes toastIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.toast.out {
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Catalog filter pills */
.catalog-pills {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 16px;
  margin-bottom: 40px;
  scrollbar-width: none;
  justify-content: center;
}
.catalog-pills::-webkit-scrollbar {
  display: none;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   MOBILE FIT â€” no overlaps, everything stacks
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
@media (max-width: 768px) {
  /* Modals become bottom sheets */
  .modal-backdrop {
    padding: 0;
    align-items: flex-end;
  }
  .modal-content {
    max-width: 100% !important;
    max-height: 92vh;
  }
  .checkout-grid,
  .form-grid-2 {
    grid-template-columns: 1fr;
  }
  .form-grid-3 {
    grid-template-columns: 1fr 1fr;
  }
  /* Quick view mobile rules live at the END of this file (they must override the base rules) */

  /* Catalog pills: left-aligned so nothing clips off-screen */
  .catalog-pills {
    justify-content: flex-start;
  }

  /* Footer columns stack tighter */
  .footer-container > div:nth-child(2) {
    gap: 36px;
  }
}

/* iOS Safari: stable hero height with dynamic toolbars */
@supports (height: 100svh) {
  .home-hero { height: 82svh; }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   HOT DEALS â€” horizontal marquee
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.deals-section {
  padding: 72px 0;
  background: #ffffff;
  border-bottom: 1px solid #000000;
  overflow: hidden;
}
.deals-viewall:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
  opacity: 1;
}
/* Static two-column Hot Deals grid */
.deals-section {
  padding: 72px 22px;
  background: #ffffff;
  border-bottom: 1px solid #000000;
}
.deals-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: var(--container-width);
  margin: 0 auto;
}
.deals-grid .product-card { min-width: 0; }

/* Store CTA after featured grid */
.store-cta {
  text-align: center;
  margin-top: 48px;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   QUICK VIEW â€” fullscreen + pics-only left rail
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.modal-backdrop.quickview-backdrop {
  padding: 0;
  align-items: stretch;
}
.modal-backdrop .quickview-modal {
  max-width: none;
  max-height: none;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  border-radius: 0;
  animation: none;
}
@supports (height: 100dvh) {
  .modal-backdrop .quickview-modal {
    height: 100dvh;
  }
}
.qv-layout {
  display: grid;
  grid-template-columns: 88px 1fr;
  grid-template-rows: minmax(0, 1fr); /* CRITICAL: bounds the row to the screen â€” without this the panel grows past the viewport and scroll never activates */
  height: 100%;
}
.qv-main {
  padding: 24px;
  display: flex;
  min-height: 0;
  overflow-y: auto;
}
.qv-main-inner {
  max-width: 620px;
  width: 100%;
  margin: auto;
}

/* Full details layout inside the quick view â€” right panel only */
.qv-detail {
  max-width: 1100px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: stretch;
}
.qv-detail-img {
  border: 1px solid #000000;
  background: #fafafa;
  overflow: hidden;
  position: sticky;
  top: 0;
  align-self: start;
}
.qv-detail-img img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  max-height: 82vh;
  object-fit: cover;           /* fills the entire card, edge to edge */
  object-position: center top; /* anchored to the top â€” shoulders never cropped */
  background: #fafafa;
  display: block;
}

/* Right panel: stretches full height â€” content top, actions anchored bottom */
.qv-detail-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(16px, 2.6vh, 30px);
  min-height: 0;
}
.qvd-top {
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 2vh, 22px);
}
.qvd-bottom {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 2vh, 22px);
}

/* Category tag â€” muted gray, gold hairline, wide tracking */
.qvd-cat {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #8a8a8a;
}
.qvd-cat::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--color-accent);
  flex-shrink: 0;
}

/* Serif headline */
.qvd-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: clamp(24px, 2.6vw, 34px);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.12;
  margin: 0;
  color: #0c0c0e;
}

/* Price row */
.qvd-price-row {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
}
.qvd-price {
  font-size: 26px;
  font-weight: 800;
  color: #0c0c0e;
  letter-spacing: 0.01em;
}
.qvd-price-old {
  font-size: 15px;
  color: #9a9a9a;
  text-decoration: line-through;
}
.qvd-off {
  background: #0c0c0e;
  color: var(--color-accent);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 9px;
}

/* Description: quiet editorial copy */
.qvd-desc {
  font-size: 13px;
  line-height: 1.5;
  color: #555555;
  margin: 0;
  border-left: none;
  padding-left: 0;
}

/* Section labels */
.qvd-block {
  min-width: 0;
}
.qvd-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #111111;
  margin-bottom: 10px;
}
.qvd-label strong {
  color: #0c0c0e;
}

/* Color circles */
.qvd-swatches {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.qvd-swatch {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--swatch);
  border: 1px solid rgba(0, 0, 0, 0.15);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.qvd-swatch:hover {
  transform: scale(1.1);
}
.qvd-swatch.active {
  box-shadow: 0 0 0 2px #ffffff, 0 0 0 3.5px var(--color-accent);
}
.qvd-swatch-check {
  display: none;
}
.qvd-swatch.active .qvd-swatch-check {
  display: block;
}
.qvd-swatch-check.light {
  color: #ffffff;
}
.qvd-swatch-check.dark {
  color: #111111;
}

/* CTA row */
.qvd-cta-row {
  display: flex;
  gap: 12px;
}
.qvd-cta {
  flex-grow: 1;
  padding: 16px;
  font-size: 13px;
  min-width: 200px;
}
.qvd-fullpage {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 22px;
  border: 1px solid #0c0c0e;
  background: #ffffff;
  color: #0c0c0e;
  font-family: var(--font-family);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.25s ease, color 0.25s ease;
}
.qvd-fullpage:hover {
  background: #0c0c0e;
  color: #ffffff;
  opacity: 1;
}

/* Trust indicators */
.qvd-trust {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  border-top: 1px solid #e8e8e8;
  border-bottom: 1px solid #e8e8e8;
  padding: 14px 2px;
}
.qvd-trust-item {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #444444;
  text-align: center;
  min-width: 0;
}
.qvd-trust-item svg {
  color: var(--color-accent);
  flex-shrink: 0;
}

.qv-rail-wrap {
  border-right: 1px solid #eeeeee;
  background: #fafafa;
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
}
.qv-rail {
  overflow-y: auto;
  flex: 1;
  min-height: 0;
  scrollbar-width: none;
}
.qv-rail::-webkit-scrollbar {
  display: none;
}
.qv-rail-item {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 8px 0;
  background: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
}
.qv-rail-item:hover {
  background: #ffffff;
}
.qv-rail-item.active {
  background: #ffffff;
  box-shadow: inset 3px 0 0 var(--color-accent);
}
.qv-rail-item img {
  width: 60px;
  height: 72px;
  object-fit: cover;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #f5f5f7;
  display: block;
}
.qv-rail-item.active img {
  border-color: var(--color-accent);
}
.qv-rail-thumb {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}
.qv-rail-price {
  margin-top: 4px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--color-accent);
  white-space: nowrap;
  max-width: 76px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.qv-rail-price.on-sale {
  color: #e30000;
}
.qv-rail-empty {
  padding: 20px;
  text-align: center;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #86868b;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   FOOTER â€” white & clean
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.site-footer {
  background: #ffffff;
  border-top: 1px solid #000000;
  margin-top: 60px;
}
.footer-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 56px 22px 44px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px;
}
.footer-logo {
  display: inline-block;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #000000;
  text-decoration: none;
  border-bottom: 2px solid var(--color-accent);
  padding-bottom: 6px;
}
.footer-logo:hover {
  opacity: 1;
  color: var(--color-accent);
}
.footer-subline {
  display: block;
  margin-top: 10px;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-accent);
}
.footer-tagline {
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: #666666;
  max-width: 320px;
}
.footer-col h4 {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #000000;
  margin: 4px 0 14px;
}
.footer-col a,
.footer-col span {
  display: block;
  padding: 5px 0;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #666666;
  text-decoration: none;
  transition: color 0.25s ease;
}
.footer-col a:hover {
  color: var(--color-accent);
  opacity: 1;
}
.footer-bottom {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 18px 22px 26px;
  border-top: 1px solid #eeeeee;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #999999;
}
.footer-mark {
  color: var(--color-accent);
  font-weight: 800;
}

@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 44px 20px 36px;
  }
  .deals-head {
    padding: 0 20px;
  }
}

/* ----------------------------------------------
   QUICK VIEW MOBILE ï¿½ MUST STAY LAST IN FILE.
   Selectors are prefixed with .quickview-modal
   (0,2,0 specificity) so they always beat the
   base rules above, regardless of order.
   ---------------------------------------------- */
@media (max-width: 768px) {
  .modal-backdrop.quickview-backdrop {
    top: 0;
    bottom: auto;
    height: 100vh;
    height: 100dvh;
    padding: 0;
    align-items: stretch;
    overflow: hidden;
  }
  .modal-backdrop .quickview-modal {
    height: 100%;
    max-height: none;
    overflow: hidden;
  }
  .quickview-modal .qv-layout {
    grid-template-columns: 64px 1fr;
    grid-template-rows: minmax(0, 1fr);
  }
  .quickview-modal .qv-main {
    display: block;
    min-height: 0;
    padding: 12px 12px 20px;
    overflow-y: auto;
  }
  .quickview-modal .qv-main-inner {
    margin: 0;
  }
  .quickview-modal .qv-detail {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 12px;
  }
  .quickview-modal .qv-detail-img {
    position: static;
  }
  .quickview-modal .qv-detail-img img {
    height: 100%;
    aspect-ratio: 16 / 10;
    max-height: 30vh;
    object-fit: cover;           /* fills the entire card, edge to edge */
    object-position: center top; /* anchored to the top */
    background: #fafafa;
  }
  .quickview-modal .qv-detail-info {
    justify-content: flex-start;
    gap: 9px;
  }
  .quickview-modal .qvd-top {
    gap: 8px;
  }
  .quickview-modal .qvd-bottom {
    margin-top: 0;
    gap: 9px;
  }
  .quickview-modal .qvd-cat {
    font-size: 8.5px;
    letter-spacing: 0.24em;
  }
  .quickview-modal .qvd-title {
    font-size: 19px;
  }
  .quickview-modal .qvd-price {
    font-size: 19px;
  }
  .quickview-modal .qvd-price-old {
    font-size: 13px;
  }
  .quickview-modal .qvd-desc {
    font-size: 12px;
    line-height: 1.55;
  }
  .quickview-modal .qvd-label {
    font-size: 9px;
    margin-bottom: 6px;
  }
  .quickview-modal .qvd-swatch {
    width: 25px;
    height: 25px;
  }
  .quickview-modal .qvd-cta-row {
    gap: 8px;
  }
  .quickview-modal .qvd-cta {
    padding: 13px;
    font-size: 12px;
    min-width: 0;
  }
  .quickview-modal .qvd-fullpage {
    padding: 13px;
    font-size: 11px;
  }
  .quickview-modal .qvd-trust {
    padding: 8px 0;
  }
  .quickview-modal .qvd-trust-item {
    font-size: 8px;
    gap: 5px;
  }
  .quickview-modal .qv-rail-item {
    padding: 5px 0;
  }
  .quickview-modal .qv-rail-item img {
    width: 46px;
    height: 56px;
  }
  .quickview-modal .qv-rail-price {
    font-size: 8px;
    max-width: 54px;
  }
}

/* LOCKED STANDALONE LUXURY CHECKOUT VIEWPORT */
html.checkout-locked-page,
body.checkout-locked-page {
  background-color: #faf8f5 !important;
}

@media (min-width: 960px) {
  html.checkout-locked-page,
  body.checkout-locked-page {
    height: 100dvh;
    min-height: 100dvh;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    overflow-x: hidden !important;
  }
}

@media (max-width: 959px) {
  html.checkout-locked-page,
  body.checkout-locked-page {
    height: auto;
    min-height: 100dvh;
    overflow: auto !important;
    overflow-x: hidden !important;
  }
}

body.checkout-locked-page #app {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  display: block !important;
}

@media (min-width: 960px) {
  body.checkout-locked-page #app {
    height: 100dvh !important;
    min-height: 100dvh !important;
  }
}

.checkout-page-root {
  background-color: #faf8f5;
  color: #111111;
  display: flex;
  flex-direction: column;
}

@media (min-width: 960px) {
  .checkout-page-root {
    height: 100dvh;
    min-height: 100dvh;
  }
}

.checkout-top-bar {
  background: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding: 16px 24px;
  position: sticky;
  top: 0;
  z-index: 40;
}

.checkout-top-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.checkout-split-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  flex: 1;
  display: grid;
  grid-template-columns: 1fr;
  background: #faf8f5;
  border-left: 1px solid rgba(0, 0, 0, 0.06);
  border-right: 1px solid rgba(0, 0, 0, 0.06);
  min-height: 0;
}

@media (min-width: 960px) {
  .checkout-split-container {
    grid-template-columns: 1.4fr 1fr;
    height: calc(100dvh - 57px);
    overflow: hidden;
  }
}

.checkout-main-col {
  padding: 24px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  min-height: 0;
}

@media (min-width: 960px) {
  .checkout-main-col {
    padding: clamp(22px, 4vh, 34px) clamp(28px, 4vw, 46px);
    border-bottom: none;
    border-right: 1px solid rgba(0, 0, 0, 0.1);
    height: 100%;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
}

.checkout-sidebar-col {
  background: #faf8f5;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 0;
}

@media (min-width: 960px) {
  .checkout-sidebar-col {
    padding: clamp(22px, 4vh, 34px) clamp(24px, 3vw, 38px);
    height: 100%;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* Highly-refined list of payment rails */
.payment-methods-list {
  display: flex;
  flex-direction: column;
}

.payment-method-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 12px;
  cursor: pointer;
  background: transparent;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: background 150ms ease, transform 150ms cubic-bezier(0.2, 0, 0, 1);
  user-select: none;
}

.payment-method-row:last-child {
  border-bottom: none;
}

.payment-method-row:hover {
  background: rgba(0, 0, 0, 0.02);
}

.payment-method-row.active {
  background: rgba(0, 0, 0, 0.01);
}

.payment-method-row:active {
  transform: scale(0.98);
}

.method-radio-indicator {
  width: 16px;
  height: 16px;
  border: 1.2px solid #ccc;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 150ms ease;
  flex-shrink: 0;
}

.payment-method-row.active .method-radio-indicator {
  border-color: #111111;
}

.method-radio-dot {
  width: 6px;
  height: 6px;
  background: #111111;
  border-radius: 50%;
}

.method-title {
  font-size: 12.5px;
  font-weight: 750;
  color: #111;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.method-desc {
  font-size: 11px;
  color: #666;
  margin-top: 2px;
}

.method-badge {
  font-size: 9.5px;
  font-weight: 800;
  background: #faf8f5;
  border: 1.2px solid rgba(0, 0, 0, 0.08);
  padding: 2px 7px;
  color: #555;
  letter-spacing: 0.04em;
  border-radius: 0;
  text-transform: uppercase;
}

@media (max-width: 959px) {
  .checkout-top-bar { padding: 13px 18px; }
  .checkout-sidebar-col { display: none; }
  .checkout-main-col { padding: 20px 18px; }
}

@media (max-height: 720px) and (min-width: 960px) {
  .checkout-main-col, .checkout-sidebar-col { padding-top: 18px; padding-bottom: 18px; }
  .checkout-main-col form { gap: 12px !important; }
  .checkout-main-col h1 { font-size: 21px !important; }
  .checkout-sidebar-col [style*="max-height: 380px"] { max-height: 175px !important; }
}

.checkout-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (max-width: 580px) {
  .checkout-grid-2 {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.payment-rail-tile {
  border: 1px solid rgba(0, 0, 0, 0.14);
  background: #faf8f5;
  padding: 14px 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: border-color 160ms ease, background 160ms ease;
  box-sizing: border-box;
  border-radius: 0;
}

.payment-rail-tile.active {
  border-color: #111111;
  background: #ffffff;
}

.payment-rail-tile:active {
  transform: scale(0.98);
}

.checkout-field-label {
  display: block;
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 5px;
  color: #555555;
}

.checkout-input {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 4px;
  background: transparent;
  border: none;
  border-bottom: 1.2px solid rgba(0, 0, 0, 0.16);
  font-size: 13px;
  color: #111111;
  outline: none;
  border-radius: 0;
  transition: border-bottom-color 150ms ease;
}

.checkout-input:focus {
  border-bottom-color: #111111;
  background: transparent;
}

.checkout-btn-primary {
  width: 100%;
  height: 50px;
  background: #111111;
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border: 1px solid #111111;
  cursor: pointer;
  border-radius: 0;
  transition: background 160ms ease, transform 150ms cubic-bezier(0.2, 0, 0, 1);
}

.checkout-btn-primary:active {
  transform: scale(0.98);
}

.checkout-btn-secondary {
  width: 100%;
  height: 48px;
  background: transparent;
  color: #111111;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1px solid rgba(0, 0, 0, 0.2);
  cursor: pointer;
  border-radius: 0;
  transition: background 160ms ease, transform 150ms cubic-bezier(0.2, 0, 0, 1);
}

.checkout-btn-secondary:active {
  transform: scale(0.98);
}



