/* ── Variables ── */
:root {
  --cream: #F5EDE3;
  --rose: #C4856A;
  --rose-dark: #a86d55;
  --rose-light: #e8b09a;
  --text: #2e2e2e;
  --text-muted: #7a6a60;
  --white: #ffffff;
  --radius: 10px;
  --max-w: 1100px;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Lato', system-ui, sans-serif;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
/* Ensure [hidden] always wins over any display rule in our CSS */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { background: var(--cream); color: var(--text); font-family: var(--font-sans); line-height: 1.65; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

/* ── Image Lazy-Load Fade-in System ── */
/* Images start invisible; .img-visible is added by IntersectionObserver once in viewport + loaded */
.fade-in-image {
  opacity: 0;
  transition: opacity 0.5s ease;
}
.fade-in-image.img-visible {
  opacity: 1;
}

/* ── Container ── */
.container { width: 90%; max-width: var(--max-w); margin: 0 auto; padding-left: 0; padding-right: 0; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
  border: 2px solid transparent;
}
.btn:active { transform: scale(0.97); }
.btn--primary { background: var(--rose); color: var(--white); border-color: var(--rose); }
.btn--primary:hover { background: var(--rose-dark); border-color: var(--rose-dark); }
.btn--ghost { background: transparent; color: var(--rose); border-color: var(--rose); }
.btn--ghost:hover { background: var(--rose); color: var(--white); }
.btn--outline { background: transparent; color: var(--text); border-color: var(--text); }
.btn--outline:hover { background: var(--rose-dark); color: var(--white); border-color: var(--rose-dark); }
.btn--whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: #25D366;
  color: var(--white);
  border-color: #25D366;
  font-weight: 700;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  border: 2px solid #25D366;
  transition: background 0.2s, transform 0.15s;
}
.btn--whatsapp:hover { background: #1ebe5d; border-color: #1ebe5d; }
.btn--whatsapp:active { transform: scale(0.97); }
.btn__icon { width: 1.2rem; height: 1.2rem; flex-shrink: 0; }
.btn--sm { padding: 0.5rem 1.2rem; font-size: 0.82rem; }

/* ── Typography helpers ── */
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 600;
  color: var(--rose);
  margin-bottom: 0.5rem;
}
.section-sub { color: var(--text-muted); margin-bottom: 2.5rem; font-size: clamp(0.88rem, 2.5vw, 1rem); }

/* ── ANNOUNCEMENT BAR ── */
.announcement-bar { background: var(--rose); color: #fff; text-align: center; font-size: 0.78rem; font-family: var(--font-serif); letter-spacing: 0.08em; padding: 0.45rem 1rem; }

/* ── NAV ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream);
  border-bottom: 1px solid rgba(196, 133, 106, 0.2);
  padding: 1rem 0;
}
.nav__inner { display: flex; align-items: center; gap: 1.25rem; }
.nav__logo { display: flex; align-items: center; gap: 0.8rem; font-family: var(--font-serif); font-size: clamp(1.4rem, 4vw, 1.9rem); font-weight: 600; color: var(--rose); flex-shrink: 0; text-decoration: none; }
.nav__logo-img { width: 52px; height: 40px; display: block; object-fit: contain; flex-shrink: 0; }
.nav__logo-text { display: inline; } /* always visible alongside image */
.nav__links {
  flex: 1;                  /* fill space between logo and auth */
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
}
.nav__links > a { font-size: 0.9rem; font-weight: 400; color: var(--text-muted); transition: color 0.2s; }
.nav__links > a:hover { color: var(--rose); }

/* ── SHOP NOW DROPDOWN ── */
.nav__shop-wrap { position: relative; }
.nav__shop-btn {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  background: none;
  border: none;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0;
  transition: color 0.2s;
}
.nav__shop-btn:hover,
.nav__shop-btn[aria-expanded="true"] { color: var(--rose); }
.nav__shop-arrow {
  font-size: 1.1rem;
  line-height: 1;
  transition: transform 0.2s;
}
.nav__shop-btn[aria-expanded="true"] .nav__shop-arrow { transform: rotate(90deg); }

/* ── MEGA MENU (desktop Shop Now panel) ───────────────────────────── */
.nav__mega {
  position: absolute;
  top: calc(100% + 0.75rem);
  left: 50%;
  transform: translateX(-50%);
  background: var(--cream);
  border: 1px solid rgba(196,133,106,0.22);
  border-radius: 16px;
  box-shadow: 0 8px 36px rgba(0,0,0,0.13);
  min-width: 580px;
  padding: 1.25rem 1.5rem 1.4rem;
  z-index: 150;
  animation: modal-in 0.15s ease;
}
.nav__mega[hidden] { display: none; }

/* Gender tabs row */
.mega__gender-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.mega__gender-tab {
  background: none;
  border: 1.5px solid var(--rose-light);
  border-radius: 50px;
  padding: 0.28rem 0.95rem;
  font-size: 0.8rem;
  font-family: var(--font-sans);
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.mega__gender-tab:hover { background: rgba(196,133,106,0.12); }
.mega__gender-tab--active {
  background: var(--rose);
  border-color: var(--rose);
  color: #fff;
}
.mega__gender-spacer { flex: 1; }
.mega__sale-btn {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--rose);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  background: transparent;
  border: 1.5px solid var(--rose);
  border-radius: 50px;
  padding: 0.28rem 0.9rem;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
  white-space: nowrap;
}
.mega__sale-btn:hover { background: rgba(196,133,106,0.1); }
.mega__sale-btn--active {
  background: var(--rose);
  color: #fff;
  border-color: var(--rose);
}
.mega__sale-btn--active:hover { background: var(--rose-dark); border-color: var(--rose-dark); }

/* Divider */
.mega__hr { height: 1px; background: rgba(196,133,106,0.2); margin: 0.85rem 0; }

/* Age pills row */
.mega__age-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}
.mega__age-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--text-muted);
  flex-shrink: 0;
}
.mega__age-pill {
  background: none;
  border: 1px solid var(--rose-light);
  border-radius: 50px;
  padding: 0.18rem 0.65rem;
  font-size: 0.76rem;
  font-family: var(--font-sans);
  color: var(--text-muted);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  white-space: nowrap;
}
.mega__age-pill:hover { background: rgba(196,133,106,0.12); }
.mega__age-pill--active {
  background: var(--rose-light);
  border-color: var(--rose);
  color: var(--rose-dark);
  font-weight: 700;
}

/* Category grid */
.mega__cat-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 0.75rem;
}
.mega__cat-link {
  font-size: 0.83rem;
  color: var(--text);
  text-decoration: none;
  padding: 0.15rem 0;
  transition: color 0.15s;
  white-space: nowrap;
}
.mega__cat-link:hover { color: var(--rose); }
.mega__cat-link--all {
  font-weight: 700;
  color: var(--rose);
  margin-right: 0.3rem;
}
/* Coming soon — greyed out, no pointer, tooltip via title attribute */
.mega__cat-link--soon {
  color: var(--text-muted);
  opacity: 0.45;
  pointer-events: none;
  text-decoration: line-through;
  text-decoration-color: rgba(196,133,106,0.4);
}
.nav__hamburger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--rose);
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

/* ── HERO ── */
.hero {
  position: relative;
  padding: 7rem 0 6rem;
  overflow: hidden;
}
.hero__inner { position: relative; z-index: 1; max-width: 620px; }
.hero__eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 1rem;
}
.hero__headline {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 1.25rem;
}
.hero__sub { font-size: 1.1rem; color: var(--text-muted); max-width: 480px; margin-bottom: 0.75rem; }
.hero__brand-tag { font-size: 0.85rem; font-family: var(--font-serif); letter-spacing: 0.08em; color: var(--rose-light); margin-bottom: 2.25rem; }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__bg-accent {
  position: absolute;
  top: -80px;
  right: -120px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(196,133,106,0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* Hero background photo (set via admin Website Design tab) */
.hero__bg-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  display: block;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(25, 15, 8, 0.45);
  z-index: 0;
}
.hero--has-photo .hero__eyebrow { color: rgba(255,255,255,0.88); }
.hero--has-photo .hero__headline { color: #fff; }
.hero--has-photo .hero__sub { color: rgba(255,255,255,0.78); }
.hero--has-photo .hero__bg-accent { display: none; }
.hero--has-photo .btn--ghost { color: #fff; border-color: rgba(255,255,255,0.75); }
.hero--has-photo .btn--ghost:hover { background: rgba(255,255,255,0.15); border-color: #fff; }

/* ── COLLECTION ── */
.collection { padding: 5rem 0; }
.collection__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.05); transition: transform 0.2s, box-shadow 0.2s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(0,0,0,0.09); }
.card__img-placeholder { width: 100%; aspect-ratio: 3 / 4; background: var(--cream); position: relative; overflow: hidden; }
.card__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card__img-placeholder--clickable { cursor: pointer; }
.card__img-placeholder--clickable:hover { opacity: 0.92; transition: opacity 0.2s; }
.card > * { padding: 0 1.25rem; }
.card__img-placeholder { padding: 0; }
.card__title { font-family: var(--font-serif); font-size: 1.35rem; font-weight: 600; color: var(--rose); padding-top: 1.1rem; padding-bottom: 0.3rem; }
.card__desc { font-size: 0.9rem; color: var(--text-muted); padding-bottom: 1.1rem; }
.card .btn { margin: 0 1.25rem 1.25rem; }

/* ── PRODUCT SHOWCASE ── */
.showcase { padding: 5rem 0; background: var(--white); }
.showcase__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.showcase__card {
  position: relative;
  border: 1px solid rgba(196,133,106,0.18);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--cream);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.showcase__card:hover {
  border-color: var(--rose);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(196,133,106,0.18);
}
.showcase__card--featured {
  border-color: var(--rose);
  box-shadow: 0 6px 24px rgba(196,133,106,0.2);
}
.showcase__badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  background: var(--white);
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
  border: 1px solid rgba(196,133,106,0.3);
  z-index: 1;
}
.showcase__badge--rose {
  background: var(--rose);
  color: var(--white);
  border-color: var(--rose);
}
.showcase__badge--sold-out {
  background: #888;
  color: var(--white);
  border-color: #888;
}
/* Sold-out CTA button */
.btn--sold-out {
  background:     #c0b0aa !important;
  border-color:   #c0b0aa !important;
  color:          #fff !important;
  cursor:         not-allowed !important;
  opacity:        0.75;
  pointer-events: none;
}
.showcase__img-placeholder {
  width: 100%;
  aspect-ratio: 3 / 4;    /* tall portrait ratio — boutique/fashion standard */
  height: auto;
  background: var(--cream);
  overflow: hidden;
  position: relative;
}
/* Thumbnail image inside product cards */
.showcase__thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;   /* hover zoom target */
}
/* Desktop hover zoom — image scales inside its clipping container */
@media (hover: hover) {
  .showcase__img-clickable:hover .showcase__thumb { transform: scale(1.06); }
  .showcase__img-clickable { cursor: pointer; }
}
.showcase__body { padding: 1.2rem 1.25rem 1.25rem; }
.showcase__name {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--rose);
  margin-bottom: 0.3rem;
}
.showcase__detail { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 1rem; }
.showcase__footer { display: flex; align-items: center; justify-content: space-between; }
.showcase__price {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text);
}
/* On-sale card: discounted price turns dusty rose */
.showcase__price--sale { color: var(--rose); }
.showcase__price-was {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-left: 0.55rem;
  letter-spacing: 0.03em;
  margin-left: 0.35rem;
  font-family: var(--font-serif);
}
.sale-badge {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  background: var(--rose);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.28rem 0.7rem;
  border-radius: 50px;
  z-index: 1;
}
.checkout__total-row .total-line--sale-warn {
  color: #b94a00;
  background: #fff4ee;
  border: 1px solid #f5cdb8;
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

/* ── ABOUT ── */
.about { padding: 5rem 0; background: var(--white); }
.about__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about__img-placeholder { width: 100%; height: 420px; background: var(--cream); border-radius: var(--radius); position: relative; overflow: hidden; }
.about__img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: var(--radius); }
.about__text p { color: var(--text-muted); margin-bottom: 1rem; font-size: 1rem; }
.about__text .btn { margin-top: 0.75rem; }

/* ── BANNER ── */
.banner { padding: 3.5rem 0; background: var(--rose); }
.banner__inner { display: flex; justify-content: center; align-items: center; gap: 2rem; flex-wrap: wrap; }
.banner__stat { display: flex; flex-direction: column; align-items: center; gap: 0.25rem; }
.banner__num { font-family: var(--font-serif); font-size: clamp(1.9rem, 5.5vw, 2.6rem); font-weight: 600; color: var(--white); line-height: 1; }
.banner__label { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.8); }
.banner__divider { width: 1px; height: 50px; background: rgba(255,255,255,0.35); }

/* ── FEEDBACK GALLERY ── */
.feedback-gallery { padding: 5rem 0; }

.gallery-track {
  display: flex;
  gap: 2rem;
  justify-content: center;
  align-items: flex-start;
  padding: 1rem 0 1.75rem;
}

.polaroid-card {
  background: #fff;
  padding: 0.9rem 0.9rem 2.8rem;
  border-radius: 3px;
  box-shadow:
    0 6px 24px rgba(0, 0, 0, 0.10),
    0 2px 6px  rgba(0, 0, 0, 0.06),
    0 0  0 1px rgba(196, 133, 106, 0.08);
  transform: rotate(var(--rotation, 0deg));
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  max-width: 280px;
  width: 100%;
  flex-shrink: 0;
  position: relative;
  cursor: default;
}
.polaroid-card:hover {
  transform: rotate(0deg) scale(1.04) translateY(-6px);
  box-shadow:
    0 22px 56px rgba(0, 0, 0, 0.16),
    0 6px 16px  rgba(0, 0, 0, 0.08);
  z-index: 2;
}
.polaroid-card__img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  border-radius: 1px;
  background: var(--cream);   /* cream placeholder while image loads */
}
.polaroid-card__label {
  text-align: center;
  font-family: var(--font-serif);
  color: var(--rose);
  font-size: 1.25rem;
  letter-spacing: 0.14em;
  margin-top: 0.6rem;
}

.gallery-empty {
  text-align: center;
  color: var(--text-muted);
  font-style: italic;
  padding: 3rem 0;
  width: 100%;
  font-size: 0.95rem;
}

/* ── CONTACT / CONVERSION FOOTER ── */
.contact { padding: 5rem 0; }
.contact__inner { max-width: 960px; margin: 0 auto; }
.contact__split {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 3rem;
  align-items: start;
}
.contact__split--single {
  display: flex;
  justify-content: center;
}
.contact__divider {
  width: 1px;
  background: rgba(196,133,106,0.25);
  align-self: stretch;
  min-height: 260px;
}
.contact__block { display: flex; flex-direction: column; }
.contact__block--cta { align-items: flex-start; }
.contact__cta-eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 0.4rem;
}
.contact__cta-note { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.85rem; }
.contact__form { display: flex; flex-direction: column; gap: 1rem; margin-top: 0.5rem; }
.input {
  width: 100%;
  min-height: 48px;
  padding: 0.85rem 1.2rem;
  border: 1.5px solid rgba(196,133,106,0.35);
  border-radius: 50px;
  background: var(--white);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
}
.input:focus { border-color: var(--rose); }
.contact__form .btn { width: 100%; justify-content: center; }

/* ── FOOTER ── */
.footer { padding: 2rem 0; border-top: 1px solid rgba(196,133,106,0.2); }
.footer__inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer__copy { font-size: 0.82rem; color: var(--text-muted); }
.footer__brand { font-size: 0.78rem; color: var(--rose-light); font-family: var(--font-serif); letter-spacing: 0.06em; margin-top: 0.25rem; }
.footer__socials a { font-size: 0.85rem; color: var(--rose); font-weight: 700; }
.footer__socials a:hover { text-decoration: underline; }

/* ── NAV CART ICON ── */
.nav__cart {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--rose);
  border-radius: 50%;
  transition: background 0.15s;
  flex-shrink: 0;
}
.nav__cart:hover { background: rgba(196,133,106,0.1); }
.nav__cart svg { width: 1.35rem; height: 1.35rem; }
.nav__cart-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 18px;
  height: 18px;
  background: var(--rose);
  color: var(--white);
  font-size: 0.62rem;
  font-weight: 700;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  line-height: 1;
  pointer-events: none;
}
.nav__cart-badge[hidden] { display: none; }

/* ── NAV AUTH ── */
.nav__auth { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }
.nav__auth--in { gap: 0.85rem; }
.nav__greeting { font-size: 0.85rem; color: var(--text-muted); white-space: nowrap; font-weight: 600; }
.btn--link {
  background: none;
  border: none;
  color: var(--rose);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
}
.btn--link:hover { color: var(--rose-dark); }

/* ── Z-INDEX STACK (reference) ──────────────────────────────────
   nav              100   sticky
   drawer-overlay   200   fixed
   drawer           201   fixed (slides over nav)
   modal-overlay    500   fixed (always on top of everything)
   size-chart       600   fixed (stacks above product modal)
   pm-lightbox      700   fixed (fullscreen image viewer — topmost)
   ─────────────────────────────────────────────────────────── */

/* Size chart sits above the product modal so it layers correctly */
#modal-size-chart { z-index: 600; }

/* ── MODALS ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(46, 46, 46, 0.55);
  backdrop-filter: blur(3px);
  z-index: 500;                    /* always above drawer (201) and nav (100) */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  overscroll-behavior: contain;    /* prevent background page scroll */
}
.modal-overlay[hidden] { display: none; }
.modal {
  background: var(--cream);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  width: 100%;
  max-width: 460px;
  max-height: 85vh;                /* prevent overflow on tall screens */
  overflow-y: auto;                /* scroll inside the modal, not the page */
  overscroll-behavior: contain;    /* contain scroll — don't bleed to page */
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.18);
  animation: modal-in 0.22s ease;
}
@keyframes modal-in {
  from { opacity: 0; transform: translateY(16px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  border-radius: 50%;
  font-size: 1.6rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
}
.modal__close:hover { color: var(--rose); }
.modal__title {
  font-family: var(--font-serif);
  font-size: clamp(1.55rem, 5vw, 2rem);
  font-weight: 600;
  color: var(--rose);
  margin-bottom: 0.35rem;
}
.modal__sub { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 1.5rem; }
.modal__form { display: flex; flex-direction: column; gap: 1rem; }
.modal__submit {
  width: 100%;
  text-align: center;
  margin-top: 0.5rem;
  /* Sticky at bottom of the scrollable modal so it's always reachable */
  position: sticky;
  bottom: 0;
  padding-top: 0.75rem;
  background: var(--cream);
  z-index: 1;
}
.modal__switch { margin-top: 1.25rem; font-size: 0.85rem; color: var(--text-muted); text-align: center; }

/* ── OTP EMAIL VERIFICATION ── */
.otp-sent-notice {
  text-align: center;
  padding: 1.25rem 0 0.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}
.otp-sent-icon {
  display: block;
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}
.otp-sent-notice strong {
  display: block;
  color: var(--rose-dark);
  font-size: 0.88rem;
  word-break: break-all;
  margin-top: 0.15rem;
}
.otp-input-wrap {
  display: flex;
  justify-content: center;
  margin: 1.1rem 0 0.5rem;
}
.otp-input {
  width: 100%;
  max-width: 220px;
  text-align: center;
  font-size: 1.8rem;
  font-family: var(--font-serif);
  font-weight: 700;
  letter-spacing: 0.25em;
  padding: 0.65rem 1rem;
  border: 2px solid var(--rose-light);
  border-radius: 12px;
  color: var(--rose-dark);
  background: var(--cream);
  transition: border-color 0.18s;
}
.otp-input:focus {
  outline: none;
  border-color: var(--rose);
}
.otp-footer-links {
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.otp-footer-links .btn--link {
  font-size: 0.82rem;
  color: var(--rose);
}
.otp-footer-links .btn--link:disabled {
  color: var(--text-muted);
  cursor: default;
  opacity: 0.7;
}
.modal__gate-icon { font-size: 2.5rem; margin-bottom: 0.75rem; }
.modal__gate-actions { display: flex; gap: 1rem; margin-top: 1.5rem; }
.modal__gate-actions .btn { flex: 1; text-align: center; }
.form-label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text);
}
.form-error {
  font-size: 0.82rem;
  color: #c0392b;
  background: #fdf0ef;
  border: 1px solid #f5c6c2;
  border-radius: 8px;
  padding: 0.5rem 0.85rem;
}
.form-error[hidden] { display: none; }
.form-success {
  font-size: 0.82rem;
  color: #2a6e44;
  background: rgba(46,158,91,0.08);
  border: 1px solid rgba(46,158,91,0.22);
  border-radius: 8px;
  padding: 0.5rem 0.85rem;
  font-weight: 700;
}
.form-success[hidden] { display: none; }

/* ── FORGOT PASSWORD MODAL ── */
.modal--forgot-pw { max-width: 420px; }
/* fp-success reuses .form-success; fp-error reuses .form-error */
.modal__forgot-link {
  background: none;
  border: none;
  padding: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-decoration: underline;
  cursor: pointer;
  display: block;
  text-align: right;
  margin-top: 0.3rem;
  margin-bottom: 0.1rem;
}
.modal__forgot-link:hover { color: var(--rose); }

/* ── CHECKOUT MODAL ── */
.checkout__summary {
  background: var(--white);
  border: 1.5px solid var(--rose-light);
  border-radius: var(--radius);
  padding: 0.9rem 1.1rem;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}
.checkout__summary strong { color: var(--rose); }
.checkout__balance {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(196,133,106,0.08);
  border: 1px solid rgba(196,133,106,0.25);
  border-radius: 8px;
  padding: 0.55rem 0.9rem;
  margin-bottom: 1rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--rose-dark);
}
.checkout__balance span { color: var(--rose); font-size: 1rem; }
.input--select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23C4856A' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}
.input--select option:disabled { color: #bbb; }
.form-label__opt { font-weight: 400; color: var(--text-muted); font-size: 0.78rem; }
.checkout__total-row {
  background: var(--white);
  border: 1.5px solid var(--rose-light);
  border-radius: var(--radius);
  padding: 0.8rem 1rem;
  font-size: 0.88rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.checkout__total-row .total-line { display: flex; justify-content: space-between; align-items: center; }
.checkout__total-row .total-line--final { font-weight: 700; font-size: 0.95rem; color: var(--text); border-top: 1px solid rgba(196,133,106,0.2); padding-top: 0.3rem; margin-top: 0.1rem; }
.checkout__total-row .total-line--pts { color: var(--rose-dark); font-weight: 600; }
.checkout__total-row .discount { color: #2e9e5b; font-weight: 600; }
.checkout__success { text-align: center; padding: 1rem 0 0.5rem; }
.checkout__success[hidden] { display: none; }
.checkout__success-icon {
  width: 56px;
  height: 56px;
  background: var(--rose);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 1rem;
}
.checkout__success h3 { font-family: var(--font-serif); font-size: 1.6rem; color: var(--rose); margin-bottom: 0.5rem; }
.checkout__success p { font-size: 0.9rem; color: var(--text-muted); }

/* ── PRODUCT DETAIL MODAL — full-page product view ── */

/* Override the shared overlay: no padding, barely-there dim, no blur */
#modal-product {
  padding: 0;
  background: rgba(0, 0, 0, 0.18);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  align-items: stretch;
}

.modal--product {
  /* Full viewport — no popup chrome */
  width: 100vw;
  max-width: 100vw;
  height: 100vh;
  max-height: 100vh;
  border-radius: 0;
  box-shadow: none;
  border: none;
  padding: 0;
  overflow: hidden;
  background: var(--white);
  /* Slide in from bottom — feels like a page, not a dialog */
  animation: pm-enter 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
}
@keyframes pm-enter {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.product-modal {
  display: grid;
  grid-template-columns: 60% 40%;  /* image dominates left */
  flex: 1 1 0;
  min-height: 0;
}

.product-modal__left {
  position: relative;              /* anchor for back-btn + sale badge */
  background: var(--cream);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  padding: 0;
  gap: 0;
  overflow: hidden;
}

/* ── Back button — floats over image ── */
.pm-back-btn {
  position: absolute;
  top: 1.1rem;
  left: 1.1rem;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(196, 133, 106, 0.22);
  border-radius: 8px;
  padding: 0.42rem 0.9rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text);
  cursor: pointer;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}
.pm-back-btn:hover { background: #fff; color: var(--rose); border-color: var(--rose); }
.pm-back-btn svg   { transition: transform 0.18s; }
.pm-back-btn:hover svg { transform: translateX(-3px); }

/* ── Image slider nav arrows ── */
.pm-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  background: rgba(255, 255, 255, 0.72);
  border: none;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.22s ease, background 0.18s ease;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 2px 12px rgba(0,0,0,0.14);
  flex-shrink: 0;
}
.product-modal__left:hover .pm-nav:not([hidden]) { opacity: 1; }
.pm-nav:hover   { background: rgba(255, 255, 255, 0.96); }
.pm-nav--prev   { left: 0.85rem; }
.pm-nav--next   { right: 0.85rem; }
/* [hidden] already display:none via reset — this guards against specificity edge cases */
.pm-nav[hidden] { display: none !important; opacity: 0; }

/* ── Fullscreen / zoom expand button ── */
.pm-zoom-btn {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  z-index: 5;
  background: rgba(255, 255, 255, 0.72);
  border: none;
  border-radius: 8px;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.22s ease, background 0.18s ease;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  color: var(--text);
}
.product-modal__left:hover .pm-zoom-btn:not([hidden]) { opacity: 1; }
.pm-zoom-btn:hover  { background: rgba(255,255,255,0.96); color: var(--rose); }
.pm-zoom-btn[hidden] { display: none !important; }

/* ── Inline sale tag — sits between price and struck-through original ── */
.pm-sale-tag {
  display: inline-flex;
  align-items: center;
  background: var(--rose);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 0.18rem 0.58rem;
  border-radius: 4px;
  align-self: center;         /* vertically centre against the tall price digits */
  margin-left: 0.6rem;
  flex-shrink: 0;
  line-height: 1;
}
.pm-sale-tag[hidden] { display: none !important; }

/* ── Fullscreen image lightbox (z-index 700 — above everything) ── */
#pm-lightbox {
  position: fixed;
  inset: 0;
  z-index: 700;
  background: rgba(0, 0, 0, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modal-in 0.18s ease;
}
#pm-lightbox[hidden] { display: none !important; }
.pm-lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 1;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  width: 42px;
  height: 42px;
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s;
}
.pm-lightbox__close:hover { background: rgba(255,255,255,0.3); }
.pm-lightbox__body {
  width: 100%;
  height: 100%;
  overflow: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  touch-action: pan-x pan-y;   /* allow native scroll/pan on mobile */
  cursor: zoom-out;
}
.pm-lightbox__img {
  /* Fill viewport while keeping aspect ratio — user can see full garment */
  max-width: 96vw;
  max-height: 96vh;
  object-fit: contain;
  display: block;
  pointer-events: none;
  user-select: none;
}

/* ── Desktop hover zoom on product image ── */
/* Cursor state only — scale is applied as inline style via JS on the active slide */
.pm-slider-wrap { cursor: zoom-in; }
.pm-slider-wrap.pm-zoomed { cursor: zoom-out; }
/* While zoomed, freeze the slider transition (changing slide exits zoom first) */
.pm-slider-wrap.pm-zoomed .pm-slider { transition: none; }

/* ── Product Image Gallery / Slider ── */
.pm-gallery {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.pm-slider-wrap {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  position: relative;
  touch-action: pan-y pinch-zoom; /* allow horizontal swipe + pinch-to-zoom */
}
.pm-slider {
  display: flex;
  height: 100%;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.pm-slide {
  min-width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
}
.pm-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;  /* no cropping — full garment always visible */
  background: var(--cream);
}
/* Placeholder shown when product has no images yet */
.pm-placeholder {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
}
.pm-placeholder-inner {
  width: 65%;
  aspect-ratio: 1;
  background: rgba(196, 133, 106, 0.12);
  border-radius: 14px;
}
/* Pagination dots */
.pm-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  padding: 10px 0 8px;
  flex-shrink: 0;
}
.pm-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(196, 133, 106, 0.28);
  border: 1px solid rgba(196, 133, 106, 0.45);
  padding: 0;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, border-color 0.2s;
}
.pm-dot--active {
  background: var(--rose);
  border-color: var(--rose);
  transform: scale(1.3);
}

/* Article code — now at the top of the right panel */
.product-modal__article {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0;                      /* spacing handled by scroll-body gap */
  text-align: left;
  flex-shrink: 0;
}

/* Right panel — flex column: scroll body + pinned CTA.
   height: 100% is required so the nested flex container has a definite
   size to grow against; without it flex:1 on the scroll-body has nothing
   to reference and overflow-y never activates. */
.product-modal__right {
  display: flex;
  flex-direction: column;
  height: 100%;
  max-height: 100%;
  overflow: hidden;
  min-height: 0;
  background: var(--white);
  border-left: 1px solid rgba(196, 133, 106, 0.15);
}

/* Scrollable product info */
.product-modal__scroll-body {
  flex: 1 1 0;                     /* grow to fill right-panel height */
  flex-grow: 1;                    /* explicit for clarity */
  height: 100%;                    /* belt-and-suspenders definite height */
  min-height: 0;                   /* allow shrink below content size */
  overflow-y: auto !important;
  overscroll-behavior: contain;
  padding: 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  /* Visible scrollbar — confirms scroll is active */
  scrollbar-width: thin;
  scrollbar-color: var(--rose) rgba(196,133,106,0.12);
}
.product-modal__scroll-body::-webkit-scrollbar { width: 6px; }
.product-modal__scroll-body::-webkit-scrollbar-track { background: rgba(196,133,106,0.08); border-radius: 6px; }
.product-modal__scroll-body::-webkit-scrollbar-thumb { background: var(--rose); border-radius: 6px; }
/* Prevent flex from squashing children inside the scroll area —
   they must stay their natural height so overflow-y has something to scroll */
.product-modal__scroll-body > * {
  flex-shrink: 0;
}

/* Always-visible Add to Cart at the bottom */
.product-modal__cta {
  flex-shrink: 0;
  padding: 0.85rem 1.75rem 1.1rem;
  border-top: 1px solid rgba(196,133,106,0.15);
  background: var(--white);
}
.product-modal__name {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.2;
  flex-shrink: 0;
}
.product-modal__price-row {
  display: flex;
  align-items: center;           /* centre all children on the same axis */
  flex-wrap: wrap;
  gap: 0;                        /* spacing managed by margin-left on each child */
  flex-shrink: 0;
  row-gap: 0.25rem;
}
.product-modal__price {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--rose);
  margin-right: 0.2rem;          /* breathing room before the inline sale tag */
}
.product-modal__price-was {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-left: 0.85rem;          /* clear space between tag and struck-out price */
  letter-spacing: 0.06em;
}
.product-modal__pts {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(196,133,106,0.1);
  border: 1px solid rgba(196,133,106,0.25);
  border-radius: 8px;
  padding: 0.28rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--rose-dark);
}

/* ── Product modal age selector ─────────────────────────────────── */
#pm-age-selector {
  padding: 0.3rem 0 0.1rem;
}

.pm-age-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.55rem;
}

.pm-age-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.pm-age-chip {
  padding: 0.38rem 1rem;
  border: 1.5px solid var(--rose-light);
  border-radius: 50px;
  background: transparent;
  color: var(--text);
  font-family: 'Lato', sans-serif;
  font-size: 0.83rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s, color 0.18s;
}

.pm-age-chip:hover:not([disabled]) {
  background: rgba(196,133,106,0.1);
  border-color: var(--rose);
}

.pm-age-chip--active {
  background: var(--rose);
  border-color: var(--rose);
  color: #fff;
}

.pm-age-chip--sold-out,
.pm-age-chip[disabled] {
  opacity: 0.42;
  cursor: not-allowed;
  text-decoration: line-through;
}

.pm-age-chip__so {
  font-size: 0.68rem;
  font-weight: 400;
  margin-left: 0.3rem;
  opacity: 0.8;
}

/* Value tiles */
.value-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.4rem;
  border: 1.5px solid rgba(196,133,106,0.18);
  border-radius: 14px;
  padding: 0.5rem 0.4rem;
}
.value-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  text-align: center;
  padding: 0.25rem;
}
.value-tile svg {
  width: 1.35rem;
  height: 1.35rem;
  color: var(--rose);
  flex-shrink: 0;
}
.value-tile__label {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-muted);
  line-height: 1.25;
  letter-spacing: 0.02em;
}

/* Accordion */
.accordion {
  border: 1.5px solid rgba(196,133,106,0.2);
  border-radius: 14px;
  overflow: hidden;
}
.accordion__item + .accordion__item {
  border-top: 1px solid rgba(196,133,106,0.18);
}
.accordion__header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 48px;
  padding: 0.85rem 1rem;
  background: none;
  border: none;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--text);
  cursor: pointer;
  text-align: left;
  transition: background 0.15s;
}
.accordion__header:hover { background: rgba(196,133,106,0.05); }
.accordion__chevron {
  width: 0.48rem;
  height: 0.48rem;
  border-right: 2px solid var(--rose);
  border-bottom: 2px solid var(--rose);
  transform: rotate(45deg);
  transition: transform 0.2s;
  flex-shrink: 0;
  margin-left: 0.5rem;
}
.accordion__item--open .accordion__chevron { transform: rotate(-135deg); }
.accordion__body {
  display: none;
  padding: 0 1rem 1rem;
}
.accordion__item--open .accordion__body { display: block; }

/* Spec list */
.spec-list { display: flex; flex-direction: column; gap: 0.55rem; margin-bottom: 0.75rem; }
.spec-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 0.5rem;
  font-size: 0.84rem;
  align-items: baseline;
}
.spec-row dt { color: var(--text-muted); font-weight: 700; }
.spec-row dd { color: var(--text); }
.spec-desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }

/* Product Description accordion — no inner cap; outer scroll body handles scrolling */
#modal-product .accordion__item:first-child .accordion__body {
  overflow-y: visible;
}

/* ── Care / Material section ──────────────────────────────────────── */
.care-section {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--rose-light);
}
.care-section__heading {
  font-family: var(--font-serif);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.02em;
  margin-bottom: 0.2rem;
}
.care-section__material {
  font-size: 0.83rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.5;
}
.care-icons-row {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 0.6rem;
}
.care-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  flex: 1;
  min-width: 44px;
}
.care-icon svg {
  width: 34px;
  height: 34px;
  color: var(--rose);
  flex-shrink: 0;
}
.care-icon span {
  font-size: 0.58rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.2;
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.care-icons__label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  font-style: italic;
  margin-top: 0.1rem;
  line-height: 1.4;
}

/* Add to Cart + Size Chart — stacked in CTA strip */
.product-modal__cta {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.btn--add-to-cart {
  width: 100%;
  text-align: center;
  padding: 0.95rem;
  font-size: 0.95rem;
  border-radius: 50px;
}
.btn--size-chart {
  width: 100%;
  text-align: center;
  padding: 0.65rem;
  font-size: 0.82rem;
  border-radius: 50px;
}

/* ── ACCOUNT PAGE ── */

/* Member Card */
.acct-card-section { padding: 2.5rem 0 0; }
.member-card {
  position: relative;
  background: linear-gradient(135deg, #C4856A 0%, #cf9680 45%, #F5EDE3 100%);
  border-radius: 22px;
  padding: 2.25rem 2.5rem;
  max-width: 580px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(196,133,106,0.32);
  margin-bottom: 1.5rem;
}
.member-card__circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  pointer-events: none;
}
.member-card__circle--1 { width: 210px; height: 210px; top: -65px; right: -65px; }
.member-card__circle--2 { width: 130px; height: 130px; bottom: -35px; right: 110px; }
.member-card__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.member-card__header { display: flex; justify-content: space-between; align-items: center; }
.member-card__logo {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.02em;
}
.member-card__badge {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.95);
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.32);
  padding: 0.28rem 0.8rem;
  border-radius: 50px;
}
.member-card__name {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 5vw, 2rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.1;
  text-shadow: 0 1px 6px rgba(0,0,0,0.08);
}
.member-card__footer-row { display: flex; gap: 2.5rem; flex-wrap: wrap; }
.member-card__field { display: flex; flex-direction: column; gap: 0.18rem; }
.member-card__field-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.68);
}
.member-card__field-value {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
}
.member-card__field-value--pts { font-size: 1.25rem; }

/* Progress Bar */
.member-progress { max-width: 580px; margin-bottom: 2rem; }
.member-progress__header { margin-bottom: 0.6rem; }
.member-progress__label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
}
.member-progress__track {
  height: 10px;
  background: rgba(196,133,106,0.15);
  border-radius: 50px;
  overflow: hidden;
}
.member-progress__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--rose-dark), var(--rose));
  border-radius: 50px;
  transition: width 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  min-width: 4px;
}
.member-progress__ends {
  display: flex;
  justify-content: space-between;
  margin-top: 0.4rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 700;
}
.member-progress__complete {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--rose-dark);
  padding: 0.75rem 1rem;
  background: rgba(196,133,106,0.1);
  border-radius: 10px;
  margin-bottom: 2rem;
  max-width: 580px;
}

/* Legacy hero kept for fallback */
.acct-hero { padding: 3.5rem 0 2.5rem; border-bottom: 1px solid rgba(196,133,106,0.15); }
.acct-hero__inner { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.acct-hero__name { font-family: var(--font-serif); font-size: 2rem; font-weight: 600; color: var(--text); }
.acct-hero__email { font-size: 0.88rem; color: var(--text-muted); }
.acct-section { padding: 3rem 0; }
.acct-section + .acct-section { border-top: 1px solid rgba(196,133,106,0.12); }
.acct-section__title {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 4.5vw, 1.8rem);
  font-weight: 600;
  color: var(--rose);
  margin-bottom: 1.5rem;
}

/* Stats row */
.acct-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-bottom: 0; }
.acct-stat {
  background: var(--white);
  border: 1.5px solid rgba(196,133,106,0.2);
  border-radius: 16px;
  padding: 1.5rem 1.25rem;
  text-align: center;
}
.acct-stat--featured {
  background: var(--rose);
  border-color: var(--rose);
}
.acct-stat__label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.acct-stat--featured .acct-stat__label { color: rgba(255,255,255,0.8); }
.acct-stat__value {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--rose);
  line-height: 1;
}
.acct-stat--featured .acct-stat__value { color: var(--white); }

/* Voucher cards */
.voucher-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.voucher-policy-note {
  margin-top: 1.5rem;
  padding: 0.75rem 1.1rem;
  background: rgba(196,133,106,0.06);
  border-left: 3px solid var(--rose-light);
  border-radius: 0 6px 6px 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.voucher-policy-note em { font-style: italic; color: var(--rose-dark); }
.voucher-card {
  position: relative;
  border: 2px solid var(--rose-light);
  border-radius: 20px;
  padding: 1.75rem 1.5rem;
  background: var(--white);
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
  overflow: hidden;
}
.voucher-card:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(196,133,106,0.16); }
.voucher-card--featured {
  background: var(--rose);
  border-color: var(--rose);
}
.voucher-card__deco {
  position: absolute;
  top: -28px; right: -28px;
  width: 90px; height: 90px;
  background: rgba(196,133,106,0.08);
  border-radius: 50%;
}
.voucher-card--featured .voucher-card__deco { background: rgba(255,255,255,0.1); }
.voucher-card__cost {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 0.75rem;
}
.voucher-card--featured .voucher-card__cost { color: rgba(255,255,255,0.85); }
.voucher-card__value {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  font-weight: 600;
  color: var(--rose);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.voucher-card--featured .voucher-card__value { color: var(--white); }
.voucher-card__label {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}
.voucher-card--featured .voucher-card__label { color: rgba(255,255,255,0.8); }
.voucher-card__btn {
  width: 100%;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1rem;
  border-radius: 50px;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid var(--rose);
  background: transparent;
  color: var(--rose);
  transition: background 0.2s, color 0.2s;
}
.voucher-card__btn:hover:not(:disabled) { background: var(--rose); color: var(--white); }
.voucher-card--featured .voucher-card__btn { border-color: var(--white); color: var(--white); }
.voucher-card--featured .voucher-card__btn:hover:not(:disabled) { background: var(--white); color: var(--rose); }
.voucher-card__btn:disabled { opacity: 0.45; cursor: not-allowed; }
.voucher-card__pts-needed {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}
.voucher-card--featured .voucher-card__pts-needed { color: rgba(255,255,255,0.7); }

/* Order history table */
.order-table-wrap {
  border: 1.5px solid rgba(196,133,106,0.18);
  border-radius: 16px;
  overflow: hidden;
  background: var(--white);
}
.order-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.order-table thead {
  background: linear-gradient(90deg, rgba(196,133,106,0.08), rgba(196,133,106,0.04));
}
.order-table th {
  text-align: left;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rose-dark);
  padding: 1rem 1.1rem;
  border-bottom: 1.5px solid rgba(196,133,106,0.15);
  white-space: nowrap;
}
.order-table td {
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid rgba(196,133,106,0.08);
  color: var(--text);
  vertical-align: middle;
}
.order-table tr:last-child td { border-bottom: none; }
.order-row--even td { background: rgba(245,237,227,0.45); }
.order-table tbody tr:hover td { background: rgba(196,133,106,0.05); transition: background 0.15s; }
.order-item-name { font-weight: 700; color: var(--text); }
.order-total-amount { font-family: var(--font-serif); font-size: 1rem; font-weight: 600; color: var(--text); }
.order-voucher-tag {
  display: inline-block;
  margin-left: 0.4rem;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--rose-dark);
  background: rgba(196,133,106,0.12);
  border-radius: 4px;
  padding: 0.1rem 0.4rem;
  vertical-align: middle;
}
.order-pts-earned {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--rose);
}
.order-status {
  display: inline-block;
  padding: 0.28rem 0.75rem;
  border-radius: 50px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.order-status--pending  { background: rgba(196,133,106,0.12); color: var(--rose-dark); border: 1px solid rgba(196,133,106,0.25); }
.order-status--complete { background: rgba(46,158,91,0.1); color: #2a6e44; border: 1px solid rgba(46,158,91,0.2); }

/* Order history — thumbnail + clickable item */
.order-item-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: inherit;
  border-radius: 6px;
  transition: opacity 0.15s;
}
.order-item-link:hover { opacity: 0.75; }
.order-item-link:hover .order-item-name { color: var(--rose); }
.order-thumb {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(196,133,106,0.2);
  background: var(--cream);
}
.order-thumb--empty {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--rose-light);
}

.order-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  background: var(--white);
  border: 1.5px solid rgba(196,133,106,0.15);
  border-radius: 16px;
}
.acct-gate {
  text-align: center;
  padding: 5rem 1rem;
}
.acct-gate h2 { font-family: var(--font-serif); font-size: 2rem; color: var(--rose); margin-bottom: 0.75rem; }
.acct-gate p  { color: var(--text-muted); margin-bottom: 1.5rem; }

/* Edit profile row */
.acct-edit-row {
  display: flex;
  justify-content: flex-end;
  padding: 1rem 0 0.5rem;
}

/* ── CHECKOUT MODAL — flex layout with always-visible CTA ── */
.modal--checkout {
  display: flex;
  flex-direction: column;
  height: auto;
  max-height: 90vh;
  overflow: hidden;          /* scroll body handles overflow internally */
  overscroll-behavior: contain;
  padding-bottom: 0;         /* CTA provides bottom spacing */
}
/* #checkout-form must be a flex column so the title pins at top and CTA pins at bottom */
.modal--checkout #checkout-form {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}
/* Scrollable middle: items + voucher selector */
.checkout__scroll-body {
  flex: 1;
  min-height: 0;             /* required for flex children to shrink below content size */
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0 0 0.5rem;
  margin: 0 -2rem;           /* bleed to modal edge, negate modal padding */
  padding-left: 2rem;
  padding-right: 2rem;
}
/* ── Stock limit alert — appears above Add to Cart and in checkout ── */
.stock-alert {
  display: block;
  background: rgba(196, 133, 106, 0.10);
  border: 1.5px solid var(--rose);
  border-radius: 8px;
  color: var(--rose-dark);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.4;
  padding: 0.5rem 0.85rem;
  margin-bottom: 0.6rem;
  animation: stock-alert-in 0.2s ease;
}

.stock-alert[hidden] { display: none !important; }

@keyframes stock-alert-in {
  from { opacity: 0; transform: translateY(-5px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Always-visible Confirm button pinned at the bottom */
.checkout__cta {
  flex-shrink: 0;
  padding: 0.85rem 0 0;
  border-top: 1px solid rgba(196,133,106,0.15);
  background: var(--cream);
}
/* Override general modal__submit sticky — inside .checkout__cta it's not needed.
   Also restore brand colors that modal__submit's cream background overrides. */
.checkout__cta .modal__submit {
  position: static;
  padding-top: 0;
  margin-top: 0;
  background: var(--rose);
  color: var(--white);
}

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

  /* Full-width container: background bleeds edge-to-edge,
     inner text stays 20px from screen edge */
  .container {
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }

  /* NAV — hamburger LEFT, logo centred, cart RIGHT */
  .nav__hamburger { display: flex; }
  .nav__links     { display: none; }              /* links go inside drawer */
  .nav__auth--desktop { display: none !important; } /* auth goes inside drawer */
  .nav__shop-dropdown { display: none !important; } /* dropdown never shows on mobile (legacy rule) */

  /* Override desktop flex layout for mobile: space-between pushes cart to right */
  .nav__inner { position: relative; justify-content: space-between; }

  /* Absolutely-centre the logo over the nav bar */
  .nav__logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: auto;
    gap: 0.5rem;          /* tighter gap on mobile */
  }
  .nav__logo-img { height: 1.6rem; } /* slightly smaller on mobile, still recognisable */

  /* Layout */
  .hero { padding: 4.5rem 0 3.5rem; }
  .hero__headline { font-size: clamp(2.4rem, 10vw, 3.2rem); }
  .hero__bg-accent { width: 280px; height: 280px; right: -60px; top: -40px; }

  /* 2-column product grids on tablet/mid-phone */
  .collection__grid { grid-template-columns: repeat(2, 1fr); max-width: none; margin: 0; }
  .showcase__grid   { grid-template-columns: repeat(2, 1fr); max-width: none; margin: 0; }

  .contact__split { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact__divider { display: none; }

  .about__inner { grid-template-columns: 1fr; gap: 2rem; }
  .about__img-placeholder { height: 260px; }

  .banner__inner { gap: 1.5rem; }
  .banner__divider { display: none; }

  /* Gallery — swipeable horizontal carousel on mobile */
  .feedback-gallery .container {
    padding-left: 0;
    padding-right: 0;
    overflow: hidden;
  }
  .feedback-gallery .section-title,
  .feedback-gallery .section-sub {
    padding-left: 20px;
    padding-right: 20px;
  }
  .gallery-track {
    justify-content: flex-start;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 1rem 20px 1.75rem;
    gap: 1.25rem;
  }
  .gallery-track::-webkit-scrollbar { display: none; }
  .polaroid-card {
    scroll-snap-align: center;
    min-width: 240px;
    max-width: 240px;
    transform: none !important;
  }
  .polaroid-card:hover {
    transform: scale(1.02) translateY(-3px) !important;
  }

  .footer-bottom {
    display:         flex !important;
    flex-direction:  column !important;
    align-items:     center !important;
    text-align:      center !important;
    gap:             10px !important;
  }
  .footer-bottom .nav__logo-img {
    height:    auto !important;
    max-width: 70px !important;
  }
  /* Hide "Tiny Touch" text next to logo in footer — image alone is sufficient */
  .footer-bottom .nav__logo-text {
    display: none !important;
  }

  /* Account page */
  .acct-stats    { grid-template-columns: 1fr; }
  .voucher-grid  { grid-template-columns: repeat(2, 1fr); max-width: none; }
  .order-table   { display: block; overflow-x: auto; }
  .member-card   { max-width: 100%; padding: 1.75rem 1.5rem; border-radius: 18px; }
  .member-progress           { max-width: 100%; }
  .member-progress__complete { max-width: 100%; }
  .member-card__footer-row   { gap: 1.5rem; }

  /* Modals — scrollable on mobile */
  .modal              { max-height: 90vh; }

  /* Product modal — full-screen on mobile too, single scrollable column */
  .modal--product {
    max-width: 100vw;
    width: 100vw;
    height: 100vh;
    max-height: 100vh;
    border-radius: 0;
    box-shadow: none;
    overflow-y: auto !important;   /* the white box itself scrolls */
    overflow-x: hidden;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch; /* iOS momentum scroll + proper sticky context */
  }
  .product-modal {
    grid-template-columns: 1fr;    /* single column stack */
    height: auto;
    max-height: none;
  }
  .product-modal__left       { min-height: 72vw; padding: 0; }
  /* Right panel flows naturally — no internal scroll on mobile */
  .product-modal__right {
    overflow: visible;
    min-height: 0;
    border-left: none;
    border-top: 1px solid rgba(196,133,106,0.15);
  }
  .product-modal__scroll-body {
    overflow-y: visible;           /* content flows; .modal--product scrolls it */
    flex: none;
    height: auto;
    padding: 1.25rem 1.25rem 9rem; /* extra bottom padding so content scrolls above sticky CTA */
  }
  /* CTA sticks to the bottom of the visible modal viewport while scrolling */
  .product-modal__cta {
    position: sticky;
    bottom: 0;
    z-index: 10;
    padding: 0.75rem 1.25rem 1.25rem;
    background: #fff;              /* ensure CTA covers content behind it cleanly */
  }
  /* Back button on mobile */
  .pm-back-btn { top: 0.75rem; left: 0.75rem; }
  .value-tiles { grid-template-columns: repeat(2, 1fr); }

  .order-table th, .order-table td { padding: 0.75rem; }
}

/* ── NAV ACCOUNT BUTTON (clickable greeting) ──────────────────────── */
.nav__account-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.3rem 0.55rem;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}
.nav__account-btn:hover { background: rgba(196,133,106,0.1); color: var(--rose); }
.nav__account-icon { width: 17px; height: 17px; flex-shrink: 0; }

/* ── MY ACCOUNT MODAL ─────────────────────────────────────────────── */
.modal--account { max-width: 440px; width: 100%; }

/* Profile header */
.acct-profile {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(196,133,106,0.18);
  margin-bottom: 1.25rem;
}
.acct-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rose-light), var(--rose-dark));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  flex-shrink: 0;
  letter-spacing: 0.02em;
}
.acct-profile__info { min-width: 0; }
.acct-modal-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--rose);
  margin-bottom: 0.15rem;
}
.acct-name  { font-weight: 700; color: var(--text); font-size: 0.92rem; margin-bottom: 0.1rem; }
.acct-email { font-size: 0.8rem; color: var(--text-muted); }
.acct-subscribed-note { font-size: 0.72rem; color: var(--rose); font-style: italic; margin-top: 0.45rem; letter-spacing: 0.01em; }

/* Section labels */
.acct-section-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}
.acct-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.6rem;
}
.acct-link { font-size: 0.75rem; color: var(--rose); font-weight: 700; transition: color 0.15s; }
.acct-link:hover { color: var(--rose-dark); }

/* Loyalty block */
.acct-loyalty {
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(196,133,106,0.15);
  margin-bottom: 1.25rem;
}
.acct-pts-balance { font-size: 1rem; color: var(--text); margin-bottom: 0.75rem; }
.acct-pts-balance strong { color: var(--rose); }

.acct-progress-wrap { margin-bottom: 0.9rem; }
.acct-progress-bar {
  height: 8px;
  background: rgba(196,133,106,0.15);
  border-radius: 50px;
  overflow: hidden;
  margin-bottom: 0.35rem;
}
.acct-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--rose-light), var(--rose));
  border-radius: 50px;
  transition: width 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}
.acct-progress-label { font-size: 0.75rem; color: var(--text-muted); }

/* Tier pills */
.acct-tiers { display: flex; gap: 0.45rem; flex-wrap: wrap; }
.acct-tier {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(196,133,106,0.07);
  border: 1px solid var(--rose-light);
  border-radius: 50px;
  padding: 0.18rem 0.65rem;
  font-size: 0.73rem;
  color: var(--text-muted);
  transition: background 0.2s, border-color 0.2s;
}
.acct-tier--unlocked {
  background: rgba(196,133,106,0.18);
  border-color: var(--rose);
  color: var(--rose-dark);
}
.acct-tier__icon { font-size: 0.6rem; }
.acct-tier__label { font-weight: 700; }
.acct-tier__pts { opacity: 0.65; margin-left: 0.15rem; }

/* Order history */
.acct-orders { margin-bottom: 1.25rem; }
.acct-orders-empty {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
  padding: 0.5rem 0;
}
.acct-order-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(196,133,106,0.1);
}
.acct-order-row:last-child { border-bottom: none; }
.acct-order-item { font-size: 0.85rem; font-weight: 600; color: var(--text); margin-bottom: 0.1rem; }
.acct-order-date { font-size: 0.73rem; color: var(--text-muted); }
.acct-order-right { display: flex; flex-direction: column; align-items: flex-end; gap: 0.2rem; flex-shrink: 0; }
.acct-order-total { font-size: 0.85rem; font-weight: 700; color: var(--text); }
.acct-order-status {
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.1rem 0.5rem;
  border-radius: 50px;
}
.acct-order-status--pending  { background: rgba(196,133,106,0.15); color: var(--rose-dark); }
.acct-order-status--complete { background: rgba(74,158,110,0.15);  color: #2e7d4f; }

/* Footer */
.acct-footer {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
  padding-top: 1rem;
  border-top: 1px solid rgba(196,133,106,0.12);
}

/* ── SIZE CHART MODAL ── */
.modal--size-chart {
  background: #FBF9F6;
  max-width: 720px;
  width: 100%;
  max-height: 88vh;
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-radius: 18px;
}
.sc-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem 2rem 1.25rem;
  flex-shrink: 0;
  border-bottom: 1.5px solid #E8DFD5;
}
.sc-title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 600;
  color: #3A2E2A;
  line-height: 1.15;
  margin-bottom: 0.2rem;
}
.sc-sub {
  font-size: 0.82rem;
  color: #9e8a7e;
  margin: 0;
}
.sc-close {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.55rem 1.35rem;
  background: #C4856A;
  color: #fff;
  border: none;
  border-radius: 50px;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}
.sc-close:hover { background: #a86d55; }

.sc-table-wrap {
  flex: 1;
  overflow-x: auto;
  overflow-y: auto;
  padding: 0 2rem 2rem;
  scrollbar-width: thin;
  scrollbar-color: #C4856A transparent;
}
.sc-table-wrap::-webkit-scrollbar { height: 4px; width: 4px; }
.sc-table-wrap::-webkit-scrollbar-thumb { background: #C4856A; border-radius: 4px; }

.sc-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
  margin-top: 1rem;
}
/* No gridlines — only bottom border per row */
.sc-table th,
.sc-table td { border: none; }

.sc-th {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: #C4856A;
  padding: 0.6rem 0.9rem;
  text-align: center;
  white-space: nowrap;
  border-bottom: 1.5px solid #E8DFD5;
}
.sc-th--row-label {
  text-align: left;
  color: #3A2E2A;
}
.sc-row td { border-bottom: 1px solid #E8DFD5; }
.sc-row--last td { border-bottom: none; }

.sc-td {
  padding: 0.75rem 0.9rem;
  text-align: center;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  color: #3A2E2A;
  white-space: nowrap;
}
.sc-td--label {
  text-align: left;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9e8a7e;
  padding-right: 1.5rem;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .sc-header { padding: 1.5rem 1.25rem 1rem; }
  .sc-table-wrap { padding: 0 1.25rem 1.5rem; }
}

@media (max-width: 480px) {
  /* 1-column on very small phones */
  .collection__grid { grid-template-columns: 1fr; }
  .showcase__grid   { grid-template-columns: 1fr; }
  .voucher-grid     { grid-template-columns: 1fr; }

  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .banner__inner { flex-direction: column; gap: 1.25rem; }

  .modal { padding: 2rem 1.25rem; }
}

/* ── SIDE DRAWER ── */
.drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(46,46,46,0.45);
  z-index: 200;
  cursor: pointer;
}
.drawer-overlay--open { display: block; }

.drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(300px, 85vw);
  background: var(--cream);
  z-index: 201;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 4px 0 32px rgba(0,0,0,0.14);
}
.drawer--open { transform: translateX(0); }

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.25rem 1rem;
  border-bottom: 1px solid rgba(196,133,106,0.2);
  flex-shrink: 0;
}
.drawer__logo {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--rose);
}
.drawer__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  font-size: 1.3rem;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.15s;
}
.drawer__close:hover { background: rgba(196,133,106,0.12); color: var(--rose); }

.drawer__nav { flex: 1; overflow-y: auto; padding-bottom: 1.5rem; }

.drawer__item { border-bottom: 1px solid rgba(196,133,106,0.12); }

.drawer__category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0 1.25rem;
  min-height: 52px;
  background: none;
  border: none;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  text-align: left;
  transition: background 0.15s;
}
.drawer__category:hover { background: rgba(196,133,106,0.07); }

.drawer__arrow {
  font-size: 1.25rem;
  color: var(--rose);
  transition: transform 0.22s ease;
  line-height: 1;
}
.drawer__category[aria-expanded="true"] .drawer__arrow { transform: rotate(90deg); }

.drawer__sub {
  padding: 0.6rem 1.25rem 1rem 1.5rem;
  background: rgba(196,133,106,0.04);
  border-top: 1px solid rgba(196,133,106,0.08);
}
.drawer__sub-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.drawer__ages { display: flex; gap: 0.45rem; flex-wrap: wrap; }
.drawer__age {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.7rem;
  min-height: 36px;
  border: 1.5px solid rgba(196,133,106,0.4);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.drawer__age:hover { background: var(--rose); border-color: var(--rose); color: var(--white); }

.drawer__about {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 0 1.25rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  border-bottom: 1px solid rgba(196,133,106,0.12);
  transition: background 0.15s, color 0.15s;
  text-decoration: none;
}
.drawer__about:hover { background: rgba(196,133,106,0.07); color: var(--rose); }

.drawer__sale {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 52px;
  padding: 0 1.25rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--rose);
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(196,133,106,0.12);
  text-align: left;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.drawer__sale:hover { background: rgba(196,133,106,0.07); }
.drawer__sale--active {
  background: var(--rose);
  color: #fff;
}
.drawer__sale--active:hover { background: var(--rose-dark); }

.drawer__divider { height: 1px; background: rgba(196,133,106,0.2); margin: 0.5rem 0; }

.drawer__auth {
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.drawer__auth--in { gap: 0.25rem; }
.drawer__auth-btn { width: 100%; justify-content: center; }

.drawer__member-info {
  background: rgba(196,133,106,0.09);
  border-radius: 10px;
  padding: 0.8rem 1rem;
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.drawer__member-info strong { color: var(--rose); display: block; font-size: 1rem; margin-bottom: 0.2rem; }

.drawer__link {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 0.25rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  gap: 0.5rem;
  border: none;
  background: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-sans);
  transition: color 0.15s;
  text-decoration: none;
}
.drawer__link:hover { color: var(--rose); }
.drawer__link--logout { color: var(--text-muted); font-weight: 400; font-size: 0.88rem; }

/* ── CART ITEMS (checkout modal) ── */
.cart-items {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 0.85rem;
}
.cart-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: var(--white);
  border: 1.5px solid var(--rose-light);
  border-radius: var(--radius);
  padding: 0.65rem 0.85rem;
}
.cart-item__thumb {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  background: linear-gradient(135deg, #f0ddd3, #e4c0ae); /* shows while image loads or as fallback */
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-item__thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}
/* Inline SALE tag next to product name in cart */
.cart-item__sale-tag {
  display: inline-block;
  background: var(--rose);
  color: #fff;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.1rem 0.45rem;
  border-radius: 3px;
  margin-left: 0.35rem;
  vertical-align: middle;
  line-height: 1.6;
}
.cart-item__info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.cart-item__name  { font-weight: 700; font-size: 0.88rem; color: var(--text); }
.cart-item__age {
  display: inline-flex;
  align-items: center;
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--rose-dark);
  background: rgba(196,133,106,0.09);
  border: 1px solid rgba(196,133,106,0.28);
  border-radius: 4px;
  padding: 0.1rem 0.45rem;
  width: fit-content;
  line-height: 1.6;
}
.cart-item__price { font-family: var(--font-serif); font-size: 1rem; color: var(--rose); font-weight: 600; }
.cart-item__remove {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: none;
  background: none;
  color: var(--text-muted);
  font-size: 1rem;
  cursor: pointer;
  border-radius: 50%;
  flex-shrink: 0;
  transition: background 0.15s, color 0.15s;
}
.cart-item__remove:hover { background: rgba(196,133,106,0.12); color: var(--rose); }
.cart-soldout-notice {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  background: rgba(196,133,106,0.10);
  border: 1.5px solid rgba(196,133,106,0.32);
  border-radius: 8px;
  padding: 0.65rem 0.9rem;
  margin-bottom: 0.75rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--rose-dark);
  line-height: 1.4;
}
.cart-soldout-notice::before { content: '⚠\FE0E'; flex-shrink: 0; }
.cart-soldout-notice[hidden] { display: none !important; }

.cart-empty {
  text-align: center;
  padding: 1.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  background: var(--white);
  border: 1.5px dashed rgba(196,133,106,0.3);
  border-radius: var(--radius);
  margin-bottom: 0.85rem;
}

/* ── CART QTY CONTROLS ── */
.cart-item__qty {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}
.cart-qty-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1.5px solid rgba(196,133,106,0.4);
  border-radius: 50%;
  background: none;
  color: var(--rose);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  line-height: 1;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  flex-shrink: 0;
}
.cart-qty-btn:hover { background: var(--rose); border-color: var(--rose); color: var(--white); }
.cart-qty-val {
  min-width: 1.4rem;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
}

/* ── ADD TO CART — "Added!" feedback state ── */
.btn--add-to-cart.btn--added {
  background: #4a9e6e;
  border-color: #4a9e6e;
  pointer-events: none;
}

/* ── DRAWER NESTED AGE/CATEGORY ───────────────────────────────────── */
.drawer__age-list { display: flex; flex-direction: column; }
.drawer__age-item { border-bottom: 1px solid rgba(196,133,106,0.08); }
.drawer__age-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.65rem 1.25rem 0.65rem 1.5rem;
  background: none;
  border: none;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  color: var(--text);
  cursor: pointer;
  transition: background 0.15s;
}
.drawer__age-toggle:hover { background: rgba(196,133,106,0.06); }
.drawer__age-toggle.is-open .drawer__arrow { transform: rotate(90deg); }
.drawer__age-cats {
  padding: 0.3rem 0 0.5rem 2rem;
  background: rgba(196,133,106,0.03);
  display: flex;
  flex-direction: column;
  gap: 0;
}
.drawer__cat-link {
  font-size: 0.83rem;
  color: var(--text-muted);
  padding: 0.45rem 1rem 0.45rem 0;
  text-decoration: none;
  border-bottom: 1px solid rgba(196,133,106,0.06);
  transition: color 0.15s;
}
.drawer__cat-link:last-child { border-bottom: none; }
.drawer__cat-link:hover { color: var(--rose); }
.drawer__cat-link--all { font-weight: 700; color: var(--rose-dark); }

/* ── SHOP FILTER BAR ──────────────────────────────────────────────── */
.shop-filter-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.9rem;
  background: rgba(196,133,106,0.08);
  border-radius: 10px;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.filter-bar__chips { display: flex; gap: 0.4rem; flex-wrap: wrap; flex: 1; }
.filter-chip {
  background: var(--rose);
  color: #fff;
  border-radius: 50px;
  padding: 0.2rem 0.7rem;
  font-size: 0.75rem;
  font-weight: 700;
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.filter-bar__sort {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: none;
  border: 1.5px solid var(--rose-light);
  border-radius: 50px;
  padding: 0.2rem 0.75rem;
  font-size: 0.75rem;
  font-family: var(--font-sans);
  color: var(--rose-dark);
  cursor: pointer;
  font-weight: 700;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  white-space: nowrap;
}
.filter-bar__sort:hover { background: rgba(196,133,106,0.14); }
.filter-bar__sort--active {
  background: var(--rose);
  border-color: var(--rose);
  color: #fff;
}
.filter-bar__sort--active:hover { background: var(--rose-dark); border-color: var(--rose-dark); }

.filter-bar__clear {
  background: none;
  border: 1.5px solid var(--rose-light);
  border-radius: 50px;
  padding: 0.2rem 0.7rem;
  font-size: 0.75rem;
  font-family: var(--font-sans);
  color: var(--rose-dark);
  cursor: pointer;
  font-weight: 700;
  transition: background 0.15s;
  white-space: nowrap;
}
.filter-bar__clear:hover { background: rgba(196,133,106,0.14); }

/* ── SORT DRAWER ─────────────────────────────────────────────────── */
.sort-overlay {
  position: fixed;
  inset: 0;
  background: rgba(58,46,40,0.38);
  z-index: 299;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}
.sort-overlay--open {
  opacity: 1;
  pointer-events: auto;
}

.sort-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 300px;
  max-width: 90vw;
  height: 100%;
  background: var(--cream);
  z-index: 300;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -6px 0 28px rgba(58,46,40,0.14);
}
.sort-drawer--open { transform: translateX(0); }

.sort-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.4rem 1rem;
  border-bottom: 1px solid rgba(196,133,106,0.18);
}
.sort-drawer__title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--rose);
  letter-spacing: 0.01em;
}
.sort-drawer__close {
  background: none;
  border: none;
  font-size: 1.1rem;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.25rem 0.4rem;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
  line-height: 1;
}
.sort-drawer__close:hover { background: rgba(196,133,106,0.12); color: var(--rose); }

.sort-drawer__body {
  padding: 1.2rem 1.4rem;
  flex: 1;
  overflow-y: auto;
}
.sort-drawer__section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}

/* Custom radio options */
.sort-option {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(196,133,106,0.1);
  cursor: pointer;
  user-select: none;
  transition: color 0.15s;
}
.sort-option:last-child { border-bottom: none; }
.sort-option input[type="radio"] { display: none; }

.sort-option__dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--rose-light);
  background: transparent;
  flex-shrink: 0;
  position: relative;
  transition: border-color 0.18s, background 0.18s;
}
.sort-option__dot::after {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: transparent;
  transition: background 0.18s;
}

.sort-option:has(input:checked) .sort-option__dot {
  border-color: var(--rose);
  background: var(--rose);
}
.sort-option:has(input:checked) .sort-option__dot::after {
  background: #fff;
}
.sort-option__text {
  font-size: 0.95rem;
  color: var(--text);
  transition: color 0.15s, font-weight 0.15s;
}
.sort-option:has(input:checked) .sort-option__text {
  color: var(--rose);
  font-weight: 700;
}

/* ── SHOP EMPTY STATE ─────────────────────────────────────────────── */
.shop-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3.5rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.shop-empty__icon { font-size: 2.2rem; color: var(--rose-light); }
.shop-empty__title { font-family: var(--font-serif); font-size: 1.6rem; color: var(--rose); }
.shop-empty__sub { font-size: 0.88rem; color: var(--text-muted); max-width: 320px; line-height: 1.6; }

/* Hide mega menu on mobile (drawer handles it) */
@media (max-width: 768px) {
  .nav__mega { display: none !important; }
}
