/* ============================================================
   ABNORMAL SOCIETY — style.css
   Inspired by Gucci's editorial minimalism
   Fonts: Cormorant Garamond (display) + Inter (UI)
============================================================ */

/* ========================
   TOKENS
======================== */
:root {
  --black:        #0a0a0a;
  --surface:      #111111;
  --white:        #f5f5f0;
  --muted:        rgba(245, 245, 240, 0.48);
  --border:       rgba(255, 255, 255, 0.07);

  --gold:         #C9A96E;
  --gold-dim:     rgba(201, 169, 110, 0.10);
  --gold-border:  rgba(201, 169, 110, 0.28);

  --serif:  'Cormorant Garamond', Georgia, serif;
  --sans:   'Inter', system-ui, -apple-system, sans-serif;

  --max-w:    1440px;
  --gutter:   40px;
  --header-h: 72px;
  --topbar-h: 38px;
}

/* ========================
   RESET & BASE
======================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html { scroll-behavior: smooth; }
body {
  background: var(--black);
  color: var(--white);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ========================
   TOPBAR
======================== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--topbar-h);
  background: var(--black);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 var(--gutter);
}
.topbar p {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
}
.topbar-close {
  position: absolute;
  right: var(--gutter);
  color: var(--muted);
  font-size: 14px;
  line-height: 1;
  padding: 4px;
  transition: color 0.2s;
}
.topbar-close:hover { color: var(--white); }

body.topbar-closed { --topbar-h: 0px; }
body.topbar-closed .topbar { display: none; }

/* ========================
   HEADER
======================== */
.header {
  position: sticky;
  top: var(--topbar-h);
  z-index: 99;
  height: var(--header-h);
  background: var(--black);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s ease;
}
.header.scrolled {
  box-shadow: 0 1px 24px rgba(0, 0, 0, 0.7);
}
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
.header-left  { display: flex; align-items: center; }
.header-right { display: flex; align-items: center; justify-content: flex-end; }

/* Hamburger */
.nav-open-btn {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  padding: 6px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--white);
  transition: color 0.2s;
}
.nav-open-btn:hover { color: var(--gold); }
.nav-open-btn:hover .burger-line { background: var(--gold); }
.burger-lines {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.burger-line {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--white);
  transition: background 0.2s;
}
.nav-open-btn:hover .burger-line { background: var(--gold); }
.burger-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: inherit;
}

/* Brand */
.brand {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--white);
  text-align: center;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.brand:hover { opacity: 0.75; }

/* Bag button */
.bag-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--white);
  padding: 4px;
  transition: color 0.2s;
}
.bag-btn:hover { color: var(--gold); }
.bag-count {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.3px;
  min-width: 12px;
}

/* ========================
   MOBILE NAV (slides from left)
======================== */
.nav-backdrop,
.cart-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 200;
}
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: min(360px, 90vw);
  background: #0d0d0d;
  border-right: 1px solid var(--border);
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(0.2, 0.8, 0.2, 1);
  z-index: 300;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.mobile-nav-head {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 24px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.nav-close-btn {
  color: var(--muted);
  font-size: 18px;
  padding: 4px;
  transition: color 0.2s;
}
.nav-close-btn:hover { color: var(--white); }
.mobile-nav-body {
  padding: 32px 28px 40px;
  display: flex;
  flex-direction: column;
}
.m-link {
  display: block;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 400;
  color: var(--white);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
  letter-spacing: 0.5px;
}
.m-link:first-child { border-top: 1px solid var(--border); }
.m-link:hover { color: var(--gold); }
.m-link--sm {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
}
.m-link--sm:hover { color: var(--white); }
.m-divider {
  height: 1px;
  background: var(--border);
  margin: 24px 0 10px;
}
body.nav-open .nav-backdrop  { opacity: 1; pointer-events: auto; }
body.nav-open .mobile-nav    { transform: translateX(0); }
body.nav-open                { overflow: hidden; }

/* ========================
   CART DRAWER (slides from right)
======================== */
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: min(440px, 96vw);
  background: #0d0d0d;
  border-left: 1px solid var(--border);
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.2, 0.8, 0.2, 1);
  z-index: 300;
  display: flex;
  flex-direction: column;
}
body.cart-open .cart-backdrop { opacity: 1; pointer-events: auto; }
body.cart-open .cart-drawer   { transform: translateX(0); }
body.cart-open                { overflow: hidden; }

.cart-head {
  height: 72px;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.cart-title {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 1px;
}
.cart-close-btn {
  color: var(--muted);
  font-size: 18px;
  padding: 4px;
  transition: color 0.2s;
}
.cart-close-btn:hover { color: var(--white); }

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 0 28px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.10) transparent;
}
.cart-empty {
  padding: 80px 0;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.cart-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.cart-item-img {
  width: 80px;
  height: 100px;
  overflow: hidden;
  background: #1a1a1a;
}
.cart-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cart-item-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 2px;
}
.cart-item-name {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.3px;
  color: var(--white);
}
.cart-item-price {
  font-size: 13px;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.3px;
}
.cart-qty {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 12px;
}
.qty-btn {
  border: 1px solid var(--border);
  color: var(--white);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: border-color 0.2s, background 0.2s;
}
.qty-btn:hover {
  border-color: rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.04);
}
.qty-num {
  font-size: 13px;
  min-width: 18px;
  text-align: center;
  font-weight: 400;
}
.cart-remove-btn {
  color: rgba(245,245,240,0.25);
  font-size: 12px;
  padding: 4px;
  transition: color 0.2s;
  margin-top: 2px;
}
.cart-remove-btn:hover { color: var(--white); }

.cart-footer {
  padding: 24px 28px 32px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}
.cart-subtotal {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 20px;
}
.cart-subtotal-label {
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--muted);
}
.cart-subtotal-price {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* ========================
   BUTTONS
======================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 32px;
  background: var(--white);
  color: var(--black);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.22s ease, color 0.22s ease;
  text-decoration: none;
}
.btn-primary:hover { background: var(--gold); color: var(--black); }
.btn-primary:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.btn-full { width: 100%; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 32px;
  background: transparent;
  color: var(--white);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.55);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.22s ease, border-color 0.22s ease;
  text-decoration: none;
}
.btn-outline:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--black);
}

/* Subtle text link */
.link-subtle {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  transition: color 0.2s, border-color 0.2s;
}
.link-subtle:hover { color: var(--white); border-bottom-color: rgba(245,245,240,0.4); }
.link-subtle--light { color: rgba(245,245,240,0.55); }
.link-subtle--light:hover { color: var(--white); }

/* ========================
   KICKER LABEL
======================== */
.kicker {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
}

/* ========================
   HERO
======================== */
.hero {
  position: relative;
  height: calc(100vh - var(--topbar-h) - var(--header-h));
  min-height: 560px;
  max-height: 960px;
  overflow: hidden;
  background: var(--black);
}
.hero-media {
  position: absolute;
  inset: 0;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.25) 40%, rgba(0,0,0,0.10) 100%),
    linear-gradient(to right, rgba(0,0,0,0.50) 0%, transparent 50%);
}
.hero-content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 20px;
  padding: 0 var(--gutter) 80px;
  max-width: 620px;
}
.hero-title {
  font-family: var(--serif);
  font-size: clamp(60px, 7.5vw, 104px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: 1px;
}
.hero-title em {
  font-style: italic;
  font-weight: 300;
}

/* ========================
   SECTION LAYOUT
======================== */
.section { padding: 108px 0; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 52px;
}
.section-head--center {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  margin-bottom: 44px;
}
.section-head-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.section-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
}
.section-title {
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 400;
  letter-spacing: 1px;
  line-height: 1.05;
}

/* ========================
   PRODUCTS
======================== */
.products-section .section-head { margin-bottom: 44px; }
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.product-card { position: relative; }

.product-media {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #141414;
}
.product-img-link { display: block; width: 100%; height: 100%; }
.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}
.product-card:hover .product-img { transform: scale(1.04); }

.quick-add-btn {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 46px;
  background: rgba(10, 10, 10, 0.88);
  color: var(--white);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.22s ease, background 0.22s ease;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.quick-add-btn:hover { background: var(--black); }
.product-card:hover .quick-add-btn { opacity: 1; }

.product-info {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 14px 0 0;
}
.product-name {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.3px;
  color: var(--white);
  text-decoration: none;
  transition: color 0.2s;
}
.product-name:hover { color: var(--gold); }
.product-price {
  font-size: 13px;
  font-weight: 400;
  color: var(--gold);
  letter-spacing: 0.5px;
  white-space: nowrap;
  margin-left: 12px;
}

/* ========================
   FEATURED DROP
======================== */
.drop-section { overflow: hidden; }
.drop-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  height: clamp(480px, 72vh, 760px);
}
.drop-media {
  position: relative;
  overflow: hidden;
  height: 100%;
}
.drop-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}
.drop-section:hover .drop-img { transform: scale(1.03); }
.drop-content {
  background: var(--surface);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 64px;
  gap: 20px;
  overflow: hidden;
}
.drop-title {
  font-family: var(--serif);
  font-size: clamp(42px, 4.5vw, 68px);
  font-weight: 400;
  line-height: 1.0;
  letter-spacing: 0.5px;
}
.drop-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--gold);
}
.drop-text {
  font-size: 14px;
  line-height: 1.85;
  color: var(--muted);
  max-width: 36ch;
}
.drop-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 10px;
  flex-wrap: wrap;
}

/* ========================
   CATEGORIES
======================== */
.categories-section { padding-bottom: 120px; }
.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.cat-card {
  display: block;
  text-decoration: none;
  color: inherit;
}
.cat-media {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #141414;
  margin-bottom: 16px;
}
.cat-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.cat-card:hover .cat-img { transform: scale(1.04); }
.cat-card--limited .cat-media {
  outline: 1px solid var(--gold-border);
  outline-offset: -1px;
}
.cat-info {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.cat-name {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 1.5px;
}
.cat-name--gold { color: var(--gold); }
.cat-cta {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
}
.cat-card:hover .cat-cta { color: var(--gold); }

/* ========================
   EMAIL SIGNUP
======================== */
.signup-section {
  padding: 128px var(--gutter);
  text-align: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.signup-inner { max-width: 540px; margin: 0 auto; }
.signup-title {
  font-family: var(--serif);
  font-size: 52px;
  font-weight: 400;
  letter-spacing: 1px;
  line-height: 1.05;
  margin: 10px 0 14px;
}
.signup-sub {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.3px;
  line-height: 1.75;
  margin-bottom: 36px;
}
.signup-form {
  display: flex;
  max-width: 460px;
  margin: 0 auto;
  border: 1px solid var(--border);
  transition: border-color 0.2s;
}
.signup-form:focus-within {
  border-color: rgba(255, 255, 255, 0.18);
}
.signup-input {
  flex: 1;
  height: 52px;
  padding: 0 20px;
  background: transparent;
  border: none;
  color: var(--white);
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.3px;
  outline: none;
  min-width: 0;
}
.signup-input::placeholder { color: rgba(245,245,240,0.35); }
.signup-submit {
  height: 52px;
  padding: 0 24px;
  background: var(--white);
  color: var(--black);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  flex-shrink: 0;
  transition: background 0.22s;
}
.signup-submit:hover { background: var(--gold); }
.signup-success {
  display: none;
  margin-top: 20px;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
}

/* ========================
   FOOTER
======================== */
.footer {
  background: #080808;
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  padding-top: 80px;
  padding-bottom: 64px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-logo {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 5px;
  text-transform: uppercase;
}
.footer-tagline {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
  max-width: 20ch;
}
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--muted);
  transition: color 0.2s, border-color 0.2s;
}
.footer-social a:hover {
  color: var(--gold);
  border-color: var(--gold-border);
}
.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-col-title {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 4px;
}
.footer-col a {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.2px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  padding-top: 24px;
  padding-bottom: 28px;
  border-top: 1px solid var(--border);
  font-size: 11px;
  color: rgba(245, 245, 240, 0.22);
  letter-spacing: 0.5px;
}

/* ========================
   RESPONSIVE
======================== */
@media (max-width: 1100px) {
  :root { --gutter: 28px; }
  .drop-content { padding: 64px 52px; }
}

@media (max-width: 860px) {
  :root { --gutter: 24px; }

  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }

  .drop-inner { grid-template-columns: 1fr; height: auto; }
  .drop-media { height: clamp(280px, 45vw, 480px); }
  .drop-content { padding: 48px var(--gutter); }

  .footer-inner { grid-template-columns: 1fr; gap: 48px; }
  .footer-nav { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
  :root { --gutter: 20px; --header-h: 62px; }

  .brand { font-size: 14px; letter-spacing: 3px; }
  .hero { height: calc(88vh - var(--topbar-h) - var(--header-h)); min-height: 480px; }
  .hero-content { padding-bottom: 56px; gap: 18px; }

  .section { padding: 72px 0; }
  .section-head { flex-wrap: wrap; gap: 12px; }

  .products-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .quick-add-btn { opacity: 1; } /* always show on touch */

  .categories-grid { grid-template-columns: 1fr; gap: 36px; }
  .cat-media { aspect-ratio: 4 / 3; }

  .drop-media { aspect-ratio: 3 / 2; }
  .drop-content { padding: 40px var(--gutter); gap: 16px; }

  .signup-section { padding: 88px var(--gutter); }
  .signup-title { font-size: 38px; }
  .signup-form { flex-direction: column; border: none; }
  .signup-input { border: 1px solid var(--border); height: 50px; }
  .signup-submit { width: 100%; margin-top: 8px; }

  .footer-nav { grid-template-columns: 1fr 1fr; gap: 28px; }
}

/* ========================
   ACCESSIBILITY
======================== */
@media (prefers-reduced-motion: reduce) {
  .product-img,
  .cat-img,
  .drop-img,
  .mobile-nav,
  .cart-drawer,
  .nav-backdrop,
  .cart-backdrop { transition: none !important; }
}

/* ============================================================
   PHASE 2 — SHARED PAGE STYLES
============================================================ */

/* ========================
   PAGE HEADER (all inner pages)
======================== */
.page-header {
  padding: 64px 0 48px;
  border-bottom: 1px solid var(--border);
}
.page-breadcrumb {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}
.page-breadcrumb a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.page-breadcrumb a:hover { color: var(--white); }
.page-title {
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 400;
  letter-spacing: 1px;
  line-height: 1;
  margin-bottom: 32px;
}
.page-title-rule {
  width: 48px;
  height: 1px;
  background: var(--gold);
}

/* ========================
   SHOP PAGE
======================== */
.shop-section { padding: 52px 0 100px; }

/* Filter Bar */
.filter-bar {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
}
.filter-btn {
  background: none;
  border: none;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 14px 24px;
  cursor: pointer;
  position: relative;
  transition: color 0.2s;
}
.filter-btn::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}
.filter-btn:hover { color: var(--white); }
.filter-btn.active {
  color: var(--white);
}
.filter-btn.active::after { transform: scaleX(1); }

/* Product count */
.shop-count {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 40px;
}

/* Shop grid — 4 col desktop */
.shop-grid {
  grid-template-columns: repeat(4, 1fr) !important;
}

/* Hidden product card during filter */
.product-card.hidden {
  display: none;
}

/* Empty state — use class to show, not hidden attribute */
.shop-empty {
  display: none;
  text-align: center;
  padding: 80px 0;
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 0.5px;
}
.shop-empty.visible {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

/* ========================
   SHOP RESPONSIVE
======================== */
@media (max-width: 1200px) {
  .shop-grid { grid-template-columns: repeat(3, 1fr) !important; }
}
@media (max-width: 768px) {
  .shop-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .filter-btn { padding: 12px 16px; font-size: 10px; }
}

/* ============================================================
   PRODUCT DETAIL PAGE
============================================================ */
.pd-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  min-height: calc(100vh - var(--topbar-h) - var(--header-h));
}

/* LEFT — Image */
.pd-media {
  position: sticky;
  top: calc(var(--topbar-h) + var(--header-h));
  height: calc(100vh - var(--topbar-h) - var(--header-h));
  overflow: hidden;
  background: #111;
}
.pd-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* RIGHT — Info panel */
.pd-info {
  padding: 56px 64px 80px;
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.pd-name {
  font-family: var(--serif);
  font-size: clamp(32px, 3.5vw, 52px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.5px;
}
.pd-price {
  font-size: 22px;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 1px;
}
.pd-desc {
  font-size: 14px;
  line-height: 1.85;
  color: var(--muted);
  max-width: 44ch;
}

/* Size selector */
.pd-sizes { display: flex; flex-direction: column; gap: 12px; }
.pd-sizes-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.pd-sizes-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.pd-size-guide {
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}
.pd-size-guide:hover { color: var(--white); }

.size-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  transition: transform 0.1s;
}
.size-btn {
  min-width: 52px;
  height: 44px;
  padding: 0 14px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.size-btn:hover {
  border-color: rgba(255,255,255,0.35);
  color: var(--white);
}
.size-btn.active {
  background: var(--white);
  border-color: var(--white);
  color: var(--black);
}

/* Size error */
.pd-size-error {
  font-size: 11px;
  color: #e07070;
  letter-spacing: 0.5px;
  opacity: 0;
  transition: opacity 0.2s;
  height: 16px;
}
.pd-size-error.visible { opacity: 1; }

/* Shake animation when no size selected */
@keyframes shake {
  0%,100% { transform: translateX(0); }
  25%      { transform: translateX(-6px); }
  75%      { transform: translateX(6px); }
}
.size-grid.shake { animation: shake 0.35s ease; }

/* Add to bag button */
.pd-add-btn { margin-top: 4px; }

/* Accordion */
.pd-accordion {
  border-top: 1px solid var(--border);
  margin-top: 8px;
}
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  background: none;
  border: none;
  color: var(--white);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.2s;
}
.accordion-trigger:hover { color: var(--gold); }
.accordion-icon {
  font-size: 18px;
  font-weight: 300;
  line-height: 1;
  transition: transform 0.25s ease;
}
.accordion-item.open .accordion-icon { transform: rotate(45deg); }
.accordion-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}
.accordion-item.open .accordion-body { grid-template-rows: 1fr; }
.accordion-body > * {
  overflow: hidden;
  font-size: 13px;
  line-height: 1.85;
  color: var(--muted);
  padding-bottom: 20px;
}

/* ========================
   PRODUCT DETAIL RESPONSIVE
======================== */
@media (max-width: 900px) {
  .pd-layout {
    grid-template-columns: 1fr;
    min-height: unset;
  }
  .pd-media {
    position: relative;
    top: unset;
    height: 70vw;
    max-height: 560px;
  }
  .pd-info {
    padding: 40px var(--gutter) 64px;
    border-left: none;
    border-top: 1px solid var(--border);
    gap: 20px;
  }
}
@media (max-width: 480px) {
  .pd-media { height: 90vw; }
  .pd-info { padding: 32px var(--gutter) 56px; }
}

/* ============================================================
   FAQs PAGE
============================================================ */
.faq-section { padding: 72px 0 120px; }
.faq-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Group */
.faq-group { margin-bottom: 64px; }
.faq-group-title {
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

/* Item */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 22px 0;
  background: none;
  border: none;
  color: var(--white);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.3px;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s;
}
.faq-trigger:hover { color: var(--gold); }
.faq-icon {
  font-size: 20px;
  font-weight: 300;
  flex-shrink: 0;
  color: var(--gold);
  transition: transform 0.25s ease;
  line-height: 1;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }

/* Body */
.faq-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}
.faq-item.open .faq-body { grid-template-rows: 1fr; }
.faq-body > p {
  overflow: hidden;
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted);
  padding-bottom: 24px;
}

/* Bottom CTA */
.faq-contact-cta {
  text-align: center;
  padding: 72px 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  border-top: 1px solid var(--border);
}
.faq-cta-title {
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 400;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

/* ============================================================
   CONTACT PAGE
============================================================ */
.contact-section { padding: 72px 0 120px; }

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: start;
}

/* Left info column */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 40px;
  position: sticky;
  top: calc(var(--topbar-h) + var(--header-h) + 40px);
}
.contact-info-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.contact-info-value {
  font-size: 14px;
  color: var(--white);
  line-height: 1.7;
  text-decoration: none;
  transition: color 0.2s;
}
a.contact-info-value:hover { color: var(--gold); }
.contact-info-value--muted { color: var(--muted); }

.contact-social {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-social-link {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
  letter-spacing: 0.3px;
}
.contact-social-link:hover { color: var(--white); }

/* Form */
.contact-form-wrap { width: 100%; }
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.form-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--muted);
}
.form-input {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  color: var(--white);
  font-family: var(--sans);
  font-size: 14px;
  padding: 10px 0;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}
.form-input:focus { border-bottom-color: var(--white); }
.form-input::placeholder { color: transparent; }
.form-select {
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
.form-select option {
  background: #111;
  color: var(--white);
}
.form-textarea {
  resize: none;
  line-height: 1.7;
}
.contact-submit { align-self: flex-start; }

.contact-success {
  display: none;
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 1px;
  padding: 20px 0;
}

/* Contact responsive */
@media (max-width: 860px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .contact-info { position: static; }
  .form-row { grid-template-columns: 1fr; }
  .contact-submit { width: 100%; }
}

/* ============================================================
   ABOUT PAGE
============================================================ */

/* Hero */
.about-hero {
  position: relative;
  height: calc(100vh - var(--topbar-h) - var(--header-h));
  min-height: 520px;
  overflow: hidden;
  background: var(--black);
}
.about-hero-media {
  position: absolute;
  inset: 0;
}
.about-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.about-hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.25) 50%, transparent 100%
  );
}
.about-hero-content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 var(--gutter) 80px;
  max-width: 680px;
}
.about-hero-title {
  font-family: var(--serif);
  font-size: clamp(52px, 7vw, 96px);
  font-weight: 400;
  line-height: 1.0;
  letter-spacing: 0.5px;
  margin: 12px 0;
}
.about-hero-title em { font-style: italic; }

/* Story */
.about-story { padding: 100px 0; }
.about-story-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-story-text { display: flex; flex-direction: column; gap: 24px; }
.about-story-title {
  font-family: var(--serif);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.5px;
}
.about-story-title em { font-style: italic; color: var(--gold); }
.about-body-text {
  font-size: 15px;
  line-height: 1.9;
  color: var(--muted);
  max-width: 48ch;
}
.about-story-img {
  aspect-ratio: 3/4;
  overflow: hidden;
}
.about-story-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Pull quote */
.about-quote {
  padding: 100px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.about-quote-text {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 300;
  font-style: normal;
  line-height: 1.15;
  letter-spacing: 0.5px;
  color: var(--white);
  max-width: 900px;
  margin: 0 auto;
}
.about-quote-text em { font-style: italic; color: var(--gold); }

/* Values */
.about-values { padding: 100px 0; }
.about-values-head {
  margin-bottom: 64px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.about-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.about-value { display: flex; flex-direction: column; gap: 16px; }
.about-value-num {
  font-family: var(--serif);
  font-size: 48px;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  opacity: 0.6;
}
.about-value-title {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0.5px;
}
.about-value-text {
  font-size: 14px;
  line-height: 1.85;
  color: var(--muted);
}

/* Campaign image */
.about-campaign { overflow: hidden; max-height: 600px; }
.about-campaign-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* CTA */
.about-cta {
  padding: 100px 0;
  text-align: center;
}
.about-cta .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.about-cta-title {
  font-family: var(--serif);
  font-size: 52px;
  font-weight: 400;
  letter-spacing: 0.5px;
}

/* About responsive */
@media (max-width: 900px) {
  .about-story-inner { grid-template-columns: 1fr; gap: 48px; }
  .about-values-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-story-img { aspect-ratio: 16/9; }
}

/* ============================================================
   LOOKBOOK PAGE
============================================================ */
.lb-season {
  padding: 24px 0 0;
}
.lb-season-label {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
}

.lb-section { padding: 32px 0 0; }
.lb-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 3px;
}

/* Grid item layouts */
.lb-item {
  grid-column: span 3;
  overflow: hidden;
  cursor: pointer;
  background: #111;
}
.lb-item--full  { grid-column: span 6; }
.lb-item--third { grid-column: span 2; }
.lb-item--wide  { grid-column: span 4; }
.lb-item--narrow { grid-column: span 2; }

.lb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: 4/5;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.lb-item--full .lb-img  { aspect-ratio: 16/7; }
.lb-item--wide .lb-img  { aspect-ratio: 4/3; }
.lb-item--narrow .lb-img { aspect-ratio: 4/5; }
.lb-item:hover .lb-img  { transform: scale(1.04); }

/* Lightbox */
.lb-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.lb-lightbox.active {
  opacity: 1;
  pointer-events: auto;
}
.lb-lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  display: block;
}
.lb-lightbox-close {
  position: absolute;
  top: 24px;
  right: 28px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 22px;
  cursor: pointer;
  transition: color 0.2s;
  z-index: 1;
}
.lb-lightbox-close:hover { color: var(--gold); }

/* Lookbook CTA */
.lb-cta {
  padding: 100px 0;
  text-align: center;
}
.lb-cta .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.lb-cta-title {
  font-family: var(--serif);
  font-size: 52px;
  font-weight: 400;
  letter-spacing: 0.5px;
}

/* Lookbook responsive */
@media (max-width: 768px) {
  .lb-grid { grid-template-columns: repeat(2, 1fr); gap: 2px; }
  .lb-item, .lb-item--full, .lb-item--third,
  .lb-item--wide, .lb-item--narrow { grid-column: span 1; }
  .lb-item--full { grid-column: span 2; }
  .lb-img, .lb-item--full .lb-img,
  .lb-item--wide .lb-img, .lb-item--narrow .lb-img { aspect-ratio: 1/1; }
  .lb-item--full .lb-img { aspect-ratio: 16/9; }
}

/* ==========================================================
   CHECKOUT PAGE
   ========================================================== */

.checkout-page { background: var(--off-white); }

/* ── Minimal header ─────────────────────────────────────── */
.co-header {
  position: sticky;
  top: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 64px;
  background: var(--black);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.co-header .brand {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 3px;
  color: var(--white);
  text-decoration: none;
}
.co-back {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.5px;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 0.2s;
}
.co-back:hover { color: var(--gold); }

/* ── Main layout ────────────────────────────────────────── */
.co-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 40px 80px;
}

/* ── Two-column layout ──────────────────────────────────── */
.co-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 48px;
  align-items: start;
}

/* ── Section titles ─────────────────────────────────────── */
.co-section {
  margin-bottom: 40px;
}
.co-section-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 1px;
  color: var(--black);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

/* ── Form fields (reuse global form-field/form-input) ───── */
.co-fields { display: flex; flex-direction: column; gap: 16px; }

/* ── Payment note ───────────────────────────────────────── */
.co-payment-note {
  font-family: var(--sans);
  font-size: 12px;
  color: rgba(0,0,0,0.45);
  margin-bottom: 20px;
  line-height: 1.6;
}

/* ── Place order button ─────────────────────────────────── */
.btn-full { width: 100%; }
.co-place-btn {
  margin-top: 8px;
  font-size: 14px;
  letter-spacing: 1.5px;
}
.co-place-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

/* ── Terms ──────────────────────────────────────────────── */
.co-terms {
  font-family: var(--sans);
  font-size: 11px;
  color: rgba(0,0,0,0.4);
  text-align: center;
  margin-top: 16px;
  line-height: 1.6;
}
.co-terms a { color: rgba(0,0,0,0.5); text-decoration: underline; }
.co-terms a:hover { color: var(--gold); }

/* ── Order summary panel ────────────────────────────────── */
.co-summary-col {
  position: sticky;
  top: 88px;
}
.co-summary {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.08);
  padding: 32px;
}
.co-summary .co-section-title {
  font-size: 18px;
}

/* ── Summary items ──────────────────────────────────────── */
.co-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.co-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.co-item-info { flex: 1; }
.co-item-name {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--black);
  margin-bottom: 4px;
}
.co-item-size {
  font-weight: 400;
  color: rgba(0,0,0,0.5);
}
.co-item-qty {
  font-family: var(--sans);
  font-size: 12px;
  color: rgba(0,0,0,0.45);
}
.co-item-price {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--black);
  white-space: nowrap;
}
.co-empty {
  font-family: var(--sans);
  font-size: 13px;
  color: rgba(0,0,0,0.45);
  text-align: center;
  padding: 20px 0;
}
.co-empty a { color: var(--gold); text-decoration: none; }

/* ── Promo code ─────────────────────────────────────────── */
.co-promo {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.co-promo-row {
  display: flex;
  gap: 8px;
}
.co-promo-input {
  flex: 1;
  font-size: 13px;
  padding: 10px 14px;
  height: auto;
}
.co-promo-btn {
  padding: 10px 18px;
  background: none;
  border: 1px solid var(--black);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--black);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.co-promo-btn:hover:not(:disabled) {
  background: var(--black);
  color: var(--white);
}
.co-promo-btn:disabled { opacity: 0.5; cursor: default; }
.co-promo-msg {
  font-family: var(--sans);
  font-size: 12px;
  margin-top: 8px;
  min-height: 16px;
}
.co-promo-msg--success { color: #4a8a5a; }
.co-promo-msg--error   { color: #b94040; }

/* ── Totals ─────────────────────────────────────────────── */
.co-totals {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.co-total-row {
  display: flex;
  justify-content: space-between;
  font-family: var(--sans);
  font-size: 13px;
  color: rgba(0,0,0,0.65);
}
.co-total-row--discount {
  color: #4a8a5a;
}
.co-total-row--grand {
  font-size: 16px;
  font-weight: 600;
  color: var(--black);
  padding-top: 16px;
  margin-top: 4px;
  border-top: 1px solid rgba(0,0,0,0.1);
}

/* ── Form overrides for light checkout background ──────── */
.checkout-page .form-input {
  color: var(--black);
  border-bottom-color: rgba(0,0,0,0.2);
  background: transparent;
}
.checkout-page .form-input:focus {
  border-bottom-color: var(--black);
}
.checkout-page .form-input::placeholder {
  color: rgba(0,0,0,0.35);
}
.checkout-page .form-label {
  color: rgba(0,0,0,0.55);
}

/* ── Validation errors ──────────────────────────────────── */
.field-error .form-input {
  border-color: #b94040;
}
.field-error-msg {
  font-family: var(--sans);
  font-size: 11px;
  color: #b94040;
  margin-top: 4px;
}

/* ── Order confirmed state ──────────────────────────────── */
.co-confirmed {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 60vh;
  padding: 60px 20px;
}
.co-confirmed-inner {
  text-align: center;
  max-width: 480px;
}
.co-confirmed-icon {
  width: 64px;
  height: 64px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--gold);
  margin: 0 auto 28px;
}
.co-confirmed-title {
  font-family: var(--serif);
  font-size: 52px;
  font-weight: 400;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.co-confirmed-sub {
  font-family: var(--sans);
  font-size: 14px;
  color: rgba(0,0,0,0.55);
  line-height: 1.7;
  margin-bottom: 32px;
}

/* ── Checkout responsive ────────────────────────────────── */
@media (max-width: 900px) {
  .co-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .co-summary-col {
    position: static;
    order: -1; /* Summary first on mobile */
  }
}
@media (max-width: 600px) {
  .co-header { padding: 0 20px; }
  .co-main   { padding: 32px 20px 60px; }
  .co-summary { padding: 24px 20px; }
  .co-confirmed-title { font-size: 40px; }
}

/* ==========================================================
   SOLD OUT STATE
   ========================================================== */

/* Card-level greying */
.product-card--soldout .product-img {
  opacity: 0.45;
  filter: grayscale(30%);
}

/* Badge overlay */
.soldout-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(10,10,10,0.75);
  color: var(--white);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 10px;
  pointer-events: none;
}

/* Disabled quick-add button on cards */
.quick-add-btn--soldout {
  background: rgba(10,10,10,0.55) !important;
  color: rgba(255,255,255,0.55) !important;
  cursor: default !important;
  letter-spacing: 1.5px;
}

/* Product detail page — Add to Bag sold out */
.btn-soldout {
  background: rgba(255,255,255,0.08) !important;
  color: rgba(255,255,255,0.4) !important;
  cursor: default !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  letter-spacing: 2px;
}

/* Grey out size buttons on sold-out product page */
.pd-soldout .size-btn {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}

/* ==========================================================
   QUANTITY SELECTOR (Product Detail)
   ========================================================== */

.pd-qty {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 16px;
  width: fit-content;
  border: 1px solid rgba(255,255,255,0.18);
}

.pd-qty-btn {
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 20px;
  font-weight: 300;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pd-qty-btn:hover { background: rgba(255,255,255,0.08); }

.pd-qty-num {
  width: 48px;
  text-align: center;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 400;
  color: var(--white);
  border-left: 1px solid rgba(255,255,255,0.18);
  border-right: 1px solid rgba(255,255,255,0.18);
  line-height: 44px;
  display: block;
  user-select: none;
}
