/* ─── RESET & ROOT ─────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bordeaux:      #380516;
  --bordeaux-dark: #26030f;
  --bronze:        #A2835E;
  --bronze-light:  #c9a87c;
  --bronze-pale:   #e8d5b8;
  --dark-green:    #15302B;
  --holly:         #02110C;
  --cream:         #F5EDD8;
  --cream-dim:     #c9b99a;
  --cream-muted:   #8a7a63;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bordeaux);
  color: var(--cream);
  font-family: 'Jost', sans-serif;
  overflow-x: hidden;
  cursor: none;
}

/* ─── CUSTOM CURSOR ────────────────────────────── */
.cursor {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
}
.cursor-dot {
  width: 6px; height: 6px;
  background: var(--bronze-light);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease;
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 1px solid rgba(162,131,94,0.6);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease, border-color 0.3s;
}
body.cursor-hover .cursor-ring {
  width: 60px; height: 60px;
  border-color: var(--bronze-light);
}

/* ─── PALETTE STRIP ────────────────────────────── */
.palette-strip {
  display: flex; height: 4px; position: fixed; top: 0; left: 0; right: 0; z-index: 200;
}
.ps-1 { flex:1; background: var(--bordeaux); }
.ps-2 { flex:1; background: var(--bronze); }
.ps-3 { flex:1; background: var(--dark-green); }
.ps-4 { flex:1; background: var(--holly); }

/* ─── NAVBAR ───────────────────────────────────── */
nav {
  position: fixed; top: 4px; left: 0; right: 0;
  z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 3rem;
  height: 72px;
  background: rgba(38, 3, 15, 0.97);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 0.5px solid rgba(162,131,94,0.18);
  transition: background 0.4s;
}
nav.scrolled { background: rgba(38, 3, 15, 0.99); }

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.85rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--cream);
  text-decoration: none;
  display: flex; align-items: center; gap: 0.15rem;
}
.nav-logo-icon {
  height: 2.6rem;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.nav-links {
  display: flex; gap: 2.8rem; list-style: none;
}
.nav-links a {
  font-weight: 300;
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--cream-dim);
  text-decoration: none;
  position: relative;
  transition: color 0.3s;
}
.nav-links a::after {
  content: '';
  position: absolute; left: 0; bottom: -4px; right: 0; height: 0.5px;
  background: var(--bronze);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--cream); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

.nav-right { display: flex; align-items: center; gap: 1.5rem; }

.nav-icon {
  background: none; border: none; color: var(--cream-dim);
  cursor: none; padding: 4px; transition: color 0.3s;
  position: relative; text-decoration: none; display: inline-flex;
}
.nav-icon:hover { color: var(--cream); }
.nav-icon svg { display: block; }

.cart-badge {
  position: absolute; top: -6px; right: -8px;
  min-width: 16px; height: 16px; padding: 0 3px;
  border-radius: 50%;
  background: var(--bronze); color: var(--bordeaux);
  font-size: 0.6rem; font-weight: 500;
  align-items: center; justify-content: center;
  display: none;
}

.nav-cta {
  font-family: 'Jost', sans-serif;
  font-size: 0.62rem; font-weight: 300;
  letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--bordeaux);
  background: var(--bronze);
  border: none; padding: 0.65rem 1.5rem;
  cursor: none;
  text-decoration: none;
  transition: background 0.3s, transform 0.2s;
}
.nav-cta:hover { background: var(--bronze-light); transform: translateY(-1px); }

/* ─── HERO ─────────────────────────────────────── */
.hero {
  display: grid; grid-template-columns: 1fr;
  min-height: 100vh; padding-top: 76px;
  position: relative; overflow: hidden;
}

.hero-left {
  display: flex; flex-direction: column; justify-content: center;
  padding: 6rem 3.5rem 6rem 4rem;
  position: relative; z-index: 2;
  max-width: 700px;
}

.hero-eyebrow {
  font-weight: 400; font-size: 0.63rem;
  letter-spacing: 0.38em; text-transform: uppercase;
  color: var(--bronze-light);
  display: flex; align-items: center; gap: 1rem;
  margin-bottom: 2rem;
  opacity: 0; transform: translateY(20px);
  animation: fadeUp 0.9s 0.3s forwards;
}
.eyebrow-line { width: 38px; height: 0.5px; background: var(--bronze); flex-shrink: 0; }

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  line-height: 1.02;
  color: var(--cream);
  margin-bottom: 0.5rem;
  font-size: clamp(3rem, 6vw, 5.6rem);
  min-height: 2.2em; /* reserve ~2 lines so typing/deleting doesn't shift the page */
}
.hero-title .tw-text { font-style: italic; color: var(--cream); }
.hero-title .tw-caret {
  display: inline-block; width: 3px; height: 0.9em;
  background: var(--bronze-light);
  margin-left: 0.06em; transform: translateY(0.1em);
  animation: twBlink 1s steps(1) infinite;
}
@keyframes twBlink { 0%, 50% { opacity: 1; } 50.01%, 100% { opacity: 0; } }
.hero-title .t1 {
  font-size: clamp(4.5rem, 7.5vw, 8rem);
  display: block;
  -webkit-text-stroke: 1px rgba(245,237,216,0.2);
  color: transparent;
  opacity: 0; transform: translateX(-30px);
  animation: fadeRight 0.9s 0.5s forwards;
}
.hero-title .t2 {
  font-size: clamp(4.5rem, 7.5vw, 8rem);
  display: block; font-style: italic; color: var(--bronze-light);
  opacity: 0; transform: translateX(-30px);
  animation: fadeRight 0.9s 0.7s forwards;
}
.hero-title .t3 {
  font-size: clamp(4.5rem, 7.5vw, 8rem);
  display: block; color: var(--cream);
  opacity: 0; transform: translateX(-30px);
  animation: fadeRight 0.9s 0.9s forwards;
}

.hero-desc {
  font-weight: 200; font-size: 0.88rem;
  line-height: 1.95; letter-spacing: 0.04em;
  color: rgba(201,185,154,0.75);
  max-width: 380px;
  margin: 2rem 0 3rem;
  opacity: 0; transform: translateY(20px);
  animation: fadeUp 0.9s 1.1s forwards;
}

.hero-actions {
  display: flex; gap: 1.5rem; align-items: center;
  opacity: 0; transform: translateY(20px);
  animation: fadeUp 0.9s 1.3s forwards;
}

.btn-primary {
  font-family: 'Jost', sans-serif;
  font-size: 0.62rem; font-weight: 300;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--bordeaux); background: var(--bronze);
  border: none; padding: 1.05rem 2.4rem;
  cursor: none;
  position: relative; overflow: hidden;
  transition: transform 0.2s;
  text-decoration: none; display: inline-block;
}
.btn-primary:disabled { opacity: 0.4; cursor: not-allowed; }
.btn-primary::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--bronze-light);
  transform: translateX(-100%);
  transition: transform 0.4s ease;
}
.btn-primary:hover::before { transform: translateX(0); }
.btn-primary span { position: relative; z-index: 1; }
.btn-primary:hover { transform: translateY(-2px); }

.btn-ghost {
  font-family: 'Jost', sans-serif;
  font-size: 0.62rem; font-weight: 300;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--cream-dim);
  background: transparent;
  border: 0.5px solid rgba(162,131,94,0.35);
  padding: 1.05rem 2.4rem;
  cursor: none;
  text-decoration: none; display: inline-block;
  transition: border-color 0.3s, color 0.3s, transform 0.2s;
}
.btn-ghost:hover {
  border-color: var(--bronze);
  color: var(--cream);
  transform: translateY(-2px);
}

/* variant for use on light backgrounds (e.g. My Orders, Cart) */
.btn-ghost-dark {
  color: var(--bordeaux);
  border-color: var(--bordeaux);
}
.btn-ghost-dark:hover {
  background: var(--bordeaux);
  color: var(--cream);
  border-color: var(--bordeaux);
}

/* HERO RIGHT — full-bleed video background */
.hero-right {
  position: absolute; inset: 0;
  overflow: hidden;
  z-index: 0;
}

.hero-texture {
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(45deg,
      rgba(21,48,43,0.45) 0px, rgba(21,48,43,0.45) 1px,
      transparent 1px, transparent 9px);
  background-color: var(--dark-green);
}

/* ─── HERO VIDEO BACKGROUND ──────────────────────── */
.hero-video-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-video-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    105deg,
    rgba(38,3,15,0.72) 0%,
    rgba(38,3,15,0.45) 45%,
    rgba(2,17,12,0.3) 100%
  );
  z-index: 1;
}
/* ensure existing hero-right children sit above the video */
.hero-right .hero-tag,
.hero-right .hero-center,
.hero-right .hero-scroll {
  z-index: 2;
}

.hero-tag {
  position: absolute; top: 3.5rem; right: 3rem;
  background: var(--bordeaux);
  border: 0.5px solid rgba(162,131,94,0.28);
  padding: 1.3rem 1.6rem;
  z-index: 3;
  opacity: 0; transform: translateY(-20px);
  animation: fadeDown 0.8s 1.4s forwards;
}
.hero-tag-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.55rem; font-weight: 500;
  color: var(--cream); letter-spacing: 0.1em;
  display: block; margin-bottom: 0.5rem;
}
.hero-tag p {
  font-weight: 200; font-size: 0.62rem;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--bronze); line-height: 2;
}

.hero-center {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  pointer-events: none;
  opacity: 0; animation: fadeIn 1.2s 1.1s forwards;
}
.mono-bg {
  font-family: 'Cormorant Garamond', serif;
  font-size: 14rem; font-weight: 300; font-style: italic;
  color: rgba(162,131,94,0.07); line-height: 1;
  user-select: none; letter-spacing: -0.02em;
}
.mono-script {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.4rem; font-style: italic;
  color: rgba(162,131,94,0.45); letter-spacing: 0.05em;
  margin-top: -3.5rem;
}

.hero-scroll {
  position: absolute; bottom: 3rem; left: 3.5rem;
  z-index: 3; display: flex; align-items: flex-end; gap: 0.8rem;
  opacity: 0; animation: fadeIn 1s 1.8s forwards;
}
.scroll-bar { width: 0.5px; height: 52px; background: linear-gradient(to bottom, transparent, var(--bronze)); }
.scroll-txt {
  font-weight: 200; font-size: 0.58rem; letter-spacing: 0.32em;
  text-transform: uppercase; color: var(--bronze);
  writing-mode: vertical-rl; transform: rotate(180deg);
}

/* hero divider hidden — full-bleed layout */
.hero-divider { display: none; }

/* ─── MARQUEE ───────────────────────────────────── */
.marquee-section {
  overflow: hidden;
  border-top: 0.5px solid rgba(162,131,94,0.18);
  border-bottom: 0.5px solid rgba(162,131,94,0.18);
  background: rgba(0,0,0,0.22);
  padding: 0.85rem 0;
}
.marquee-track {
  display: flex; gap: 0;
  animation: marquee 30s linear infinite;
  white-space: nowrap; width: max-content;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-track span {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.82rem; font-style: italic;
  letter-spacing: 0.15em; color: var(--bronze);
  padding: 0 2.2rem;
}
.marquee-track .mdot {
  font-style: normal; font-size: 0.42rem;
  color: rgba(162,131,94,0.3); vertical-align: middle;
}

/* ─── ABOUT ─────────────────────────────────────── */
.about-section {
  display: grid; grid-template-columns: 1fr 1.15fr;
}

.about-left {
  background: var(--dark-green);
  padding: 7rem 4.5rem;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
}
.about-bg-r {
  position: absolute; bottom: -4rem; right: -1.5rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 26rem; font-weight: 300; font-style: italic;
  color: rgba(2,17,12,0.65); line-height: 1;
  user-select: none; pointer-events: none;
}

.section-label {
  font-weight: 200; font-size: 0.6rem;
  letter-spacing: 0.38em; text-transform: uppercase;
  color: var(--bronze);
  display: flex; align-items: center; gap: 1rem;
  margin-bottom: 2.2rem;
}
.section-label::before { content: attr(data-num); color: var(--bronze-light); }

.about-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.6rem, 4vw, 4.4rem);
  font-weight: 300; line-height: 1.08;
  color: var(--cream); margin-bottom: 2rem;
  position: relative; z-index: 1;
}
.about-heading em { font-style: italic; color: var(--bronze-light); }

.about-body {
  font-weight: 200; font-size: 0.86rem;
  line-height: 2; color: rgba(245,237,216,0.52);
  max-width: 400px; position: relative; z-index: 1;
  margin-bottom: 3.5rem;
}

.stats-row { display: flex; gap: 3.5rem; position: relative; z-index: 1; }
.stat-val {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.6rem; font-weight: 300; color: var(--bronze); line-height: 1;
}
.stat-name {
  font-weight: 200; font-size: 0.6rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(245,237,216,0.32); margin-top: 0.3rem;
}

.about-right {
  background: var(--bordeaux);
  display: grid; grid-template-rows: 1fr 1fr;
}
.about-card {
  padding: 3.5rem;
  border-bottom: 0.5px solid rgba(162,131,94,0.1);
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
  transition: background 0.4s;
}
.about-card:last-child { border-bottom: none; }
.about-card:hover { background: rgba(56,5,22,0.6); }
.card-ghost-num {
  position: absolute; top: 0.5rem; right: 1.5rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 6rem; font-weight: 300; font-style: italic;
  color: rgba(162,131,94,0.06); line-height: 1;
}
.card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.75rem; font-weight: 400;
  color: var(--cream); letter-spacing: 0.03em;
  position: relative; z-index: 1;
  transition: color 0.3s;
}
.about-card:hover .card-title { color: var(--bronze-light); }
.card-body {
  font-weight: 200; font-size: 0.82rem; line-height: 1.95;
  color: rgba(245,237,216,0.44); position: relative; z-index: 1; max-width: 380px;
}
.card-arrow {
  font-size: 0.95rem; color: var(--bronze);
  opacity: 0; transform: translateX(-8px);
  transition: opacity 0.3s, transform 0.3s;
  position: relative; z-index: 1;
  align-self: flex-end;
}
.about-card:hover .card-arrow { opacity: 1; transform: translateX(0); }

/* ─── COLLECTION ────────────────────────────────── */
.collection-section {
  background: #F0E8D2;
  padding: 7.5rem 4rem;
}

.section-header {
  display: flex; justify-content: space-between;
  align-items: flex-end; margin-bottom: 4.5rem;
}
.section-eyebrow {
  font-weight: 500; font-size: 0.6rem;
  letter-spacing: 0.38em; text-transform: uppercase;
  color: var(--bordeaux);
  display: flex; align-items: center; gap: 0.8rem;
  margin-bottom: 0.9rem;
}
.eyebrow-dash { width: 24px; height: 0.5px; background: var(--bronze); }
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 4.2vw, 4.2rem);
  font-weight: 300; color: var(--bordeaux); line-height: 1.05;
}
.section-title em { font-style: italic; color: var(--dark-green); }
.view-all {
  font-weight: 500; font-size: 0.62rem;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--bordeaux); text-decoration: none;
  display: flex; align-items: center; gap: 0.8rem;
  border-bottom: 0.5px solid var(--bronze);
  padding-bottom: 0.3rem;
  transition: gap 0.3s, color 0.3s;
}
.view-all:hover { gap: 1.4rem; color: var(--dark-green); }

.product-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem;
}

.product-card { cursor: none; text-decoration: none; }

.product-img {
  aspect-ratio: 3/4; position: relative; overflow: hidden;
  margin-bottom: 1.3rem;
  display: flex; align-items: center; justify-content: center;
}
.product-img-inner {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.65s cubic-bezier(0.25,0.46,0.45,0.94);
}
.product-card:hover .product-img-inner { transform: scale(1.05); }

.product-img-inner img { width: 100%; height: 100%; object-fit: cover; }

.pi-bordeaux { background: var(--bordeaux); }
.pi-green    { background: var(--dark-green); }
.pi-bronze   { background: #2d1f12; }
.pi-holly    { background: var(--holly); }

.product-roman {
  font-family: 'Cormorant Garamond', serif;
  font-size: 4rem; font-weight: 300; font-style: italic;
  color: rgba(162,131,94,0.2);
  user-select: none;
}

.product-badge {
  position: absolute; top: 1rem; left: 1rem;
  font-weight: 300; font-size: 0.56rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  background: var(--bronze); color: var(--bordeaux);
}

.product-overlay {
  position: absolute; inset: 0;
  background: rgba(38,3,15,0.0);
  display: flex; align-items: flex-end; justify-content: center;
  padding-bottom: 1.5rem;
  transition: background 0.4s;
}
.product-card:hover .product-overlay { background: rgba(38,3,15,0.38); }
.overlay-btn {
  font-family: 'Jost', sans-serif;
  font-size: 0.58rem; font-weight: 300;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--cream); background: transparent;
  border: 0.5px solid rgba(245,237,216,0.5);
  padding: 0.65rem 1.4rem;
  opacity: 0; transform: translateY(10px);
  transition: opacity 0.3s 0.05s, transform 0.3s 0.05s, border-color 0.3s;
  cursor: none;
}
.product-card:hover .overlay-btn { opacity: 1; transform: translateY(0); }
.overlay-btn:hover { border-color: var(--cream); }

.product-meta {
  display: flex; justify-content: space-between; align-items: flex-start;
}
.product-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem; font-weight: 400;
  color: var(--bordeaux); letter-spacing: 0.03em;
}
.product-detail {
  font-weight: 400; font-size: 0.68rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--bordeaux); margin-top: 0.3rem;
}
.product-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem; font-weight: 400;
  color: var(--bronze); white-space: nowrap;
  padding-top: 2px;
}

/* ─── PHILOSOPHY ────────────────────────────────── */
.philosophy-section {
  background: var(--holly);
  padding: 9rem 4rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 7rem;
  align-items: center;
}

.big-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.6rem, 4.5vw, 5.2rem);
  font-weight: 300; font-style: italic;
  color: var(--cream); line-height: 1.15; letter-spacing: -0.01em;
}
.big-quote em { color: var(--bronze); }
.big-quote .quote-mark {
  font-size: 1.2em; line-height: 0;
  vertical-align: -0.2em; color: rgba(162,131,94,0.3);
}

.quote-attr {
  font-weight: 400; font-size: 0.62rem;
  letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--bronze-light);
  margin-top: 2.8rem;
  display: flex; align-items: center; gap: 1rem;
}
.attr-dash { width: 28px; height: 0.5px; background: rgba(162,131,94,0.35); flex-shrink: 0; }

.philo-item {
  padding-bottom: 2.8rem;
  border-bottom: 0.5px solid rgba(162,131,94,0.1);
  margin-bottom: 2.8rem;
}
.philo-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.philo-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem; font-style: italic; color: var(--bronze); margin-bottom: 0.8rem;
}
.philo-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem; font-weight: 400; color: var(--cream); margin-bottom: 0.75rem;
}
.philo-body {
  font-weight: 200; font-size: 0.82rem; line-height: 1.95;
  color: rgba(245,237,216,0.4);
}

/* ─── LOOKBOOK STRIP ────────────────────────────── */
.lookbook-strip {
  background: var(--bordeaux);
  padding: 5rem 4rem;
  overflow: hidden;
}

.lookbook-label {
  font-weight: 200; font-size: 0.6rem;
  letter-spacing: 0.38em; text-transform: uppercase;
  color: var(--bronze);
  display: flex; align-items: center; gap: 0.8rem;
  margin-bottom: 3rem;
}

.lookbook-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 1px;
  background: rgba(162,131,94,0.15);
}
.lb-item {
  position: relative; overflow: hidden;
  background: var(--bordeaux);
}
.lb-item:nth-child(1) { aspect-ratio: 3/4; }
.lb-item:nth-child(2) { aspect-ratio: 4/5; }
.lb-item:nth-child(3) { aspect-ratio: 4/5; }
.lb-item:nth-child(4) { aspect-ratio: 3/4; }
.lb-inner {
  position: absolute; inset: 0;
  transition: transform 0.7s ease;
}
.lb-item:hover .lb-inner { transform: scale(1.06); }
.lb-1 {
  background: linear-gradient(135deg, #1a0a12 0%, var(--bordeaux) 50%, #2d0e1e 100%);
  display: flex; align-items: center; justify-content: center;
}
.lb-2 {
  background: linear-gradient(160deg, var(--dark-green) 0%, #0d241f 100%);
  display: flex; align-items: center; justify-content: center;
}
.lb-3 {
  background: linear-gradient(160deg, #2d1f12 0%, #1a1008 100%);
  display: flex; align-items: center; justify-content: center;
}
.lb-4 {
  background: linear-gradient(135deg, var(--holly) 0%, #081508 100%);
  display: flex; align-items: center; justify-content: center;
}
.lb-letter {
  font-family: 'Cormorant Garamond', serif;
  font-size: 8rem; font-style: italic; font-weight: 300;
  color: rgba(162,131,94,0.1); user-select: none;
}
.lb-overlay {
  position: absolute; inset: 0;
  background: rgba(38,3,15,0); padding: 1.5rem;
  display: flex; flex-direction: column; justify-content: flex-end;
  transition: background 0.4s;
}
.lb-item:hover .lb-overlay { background: rgba(38,3,15,0.5); }
.lb-caption {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem; color: var(--cream); font-style: italic;
  opacity: 0; transform: translateY(10px);
  transition: opacity 0.35s, transform 0.35s;
}
.lb-item:hover .lb-caption { opacity: 1; transform: translateY(0); }

/* first card is a link to the shop */
a.lb-item { text-decoration: none; display: block; }

/* "Coming Soon" cards — non-interactive, dimmed, with a persistent badge */
.lb-item.lb-soon { cursor: not-allowed; }
.lb-item.lb-soon .lb-inner { filter: grayscale(0.25) brightness(0.72); }
.lb-item.lb-soon:hover .lb-inner { transform: none; }
.lb-soon-badge {
  position: absolute; inset: 0; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}
.lb-soon-badge span {
  font-family: 'Jost', sans-serif; font-weight: 300;
  font-size: 0.62rem; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--cream);
  border: 0.5px solid rgba(162,131,94,0.55);
  background: rgba(38,3,15,0.5);
  padding: 0.7rem 1.4rem;
}

/* ─── CTA ───────────────────────────────────────── */
.cta-section {
  background: var(--bronze);
  padding: 6.5rem 4rem;
  display: flex; align-items: center; justify-content: space-between; gap: 3rem;
}

.cta-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 3.5vw, 3.8rem);
  font-weight: 300; color: var(--bordeaux); line-height: 1.1;
}
.cta-sub {
  font-weight: 400; font-size: 0.82rem; letter-spacing: 0.08em;
  color: var(--bordeaux); margin-top: 1rem;
}

.cta-form { display: flex; flex-shrink: 0; }
.cta-input {
  font-family: 'Jost', sans-serif; font-weight: 200;
  font-size: 0.75rem; letter-spacing: 0.1em;
  background: rgba(56,5,22,0.1);
  border: 0.5px solid rgba(56,5,22,0.45);
  border-right: none;
  color: var(--bordeaux); padding: 1rem 1.6rem;
  width: 290px; outline: none;
  transition: background 0.3s;
}
.cta-input:focus { background: rgba(56,5,22,0.16); }
.cta-input::placeholder { color: var(--bordeaux); opacity: 1; font-weight: 700; }
.cta-btn {
  font-family: 'Jost', sans-serif;
  font-size: 0.62rem; font-weight: 300;
  letter-spacing: 0.28em; text-transform: uppercase;
  background: var(--bordeaux); color: var(--cream);
  border: none; padding: 1rem 2rem; cursor: none;
  transition: background 0.3s;
}
.cta-btn:hover { background: var(--bordeaux-dark); }

/* ─── FOOTER ────────────────────────────────────── */
footer {
  background: var(--holly);
  padding: 5rem 4rem 2.5rem;
  border-top: 0.5px solid rgba(162,131,94,0.12);
}

.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3.5rem; margin-bottom: 3.5rem;
  padding-bottom: 3.5rem;
  border-bottom: 0.5px solid rgba(162,131,94,0.08);
}
.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.1rem; font-weight: 500;
  color: var(--cream); letter-spacing: 0.14em;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 0.15rem;
  margin-bottom: 0.9rem;
}
.footer-logo-icon { height: 2.9rem; width: auto; object-fit: contain; flex-shrink: 0; }
.footer-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.95rem; font-style: italic;
  color: rgba(162,131,94,0.48); margin-bottom: 2rem;
}
.footer-social { display: flex; gap: 1.2rem; }
.social-link {
  width: 32px; height: 32px;
  border: 0.5px solid rgba(162,131,94,0.2);
  display: flex; align-items: center; justify-content: center;
  color: rgba(162,131,94,0.5); text-decoration: none;
  font-size: 0.75rem;
  transition: border-color 0.3s, color 0.3s;
}
.social-link:hover { border-color: var(--bronze); color: var(--bronze); }

/* borderless variant (e.g. the Instagram icon) */
.social-link-bare {
  width: auto; height: auto; border: none; padding: 0;
}

.footer-col-title {
  font-weight: 300; font-size: 0.62rem;
  letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--bronze); margin-bottom: 1.6rem;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.75rem; }
.footer-links a {
  font-weight: 200; font-size: 0.8rem; letter-spacing: 0.04em;
  color: rgba(245,237,216,0.35); text-decoration: none;
  transition: color 0.3s;
}
.footer-links a:hover { color: var(--bronze-light); }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
}
.footer-copy {
  font-weight: 200; font-size: 0.62rem;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(245,237,216,0.16);
}
.footer-sig {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem; font-style: italic;
  color: rgba(162,131,94,0.28);
}

/* ─── SCROLL REVEAL ─────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.85s ease, transform 0.85s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left {
  opacity: 0; transform: translateX(-40px);
  transition: opacity 0.85s ease, transform 0.85s ease;
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right {
  opacity: 0; transform: translateX(40px);
  transition: opacity 0.85s ease, transform 0.85s ease;
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* ─── KEYFRAMES ─────────────────────────────────── */
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeRight {
  to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeDown {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  to { opacity: 1; }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ─── SCROLLBAR ─────────────────────────────────── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bordeaux-dark); }
::-webkit-scrollbar-thumb { background: var(--bronze); }

/* ─── SELECTION ─────────────────────────────────── */
::selection { background: var(--bronze); color: var(--bordeaux); }

/* ═══════════════════════════════════════════════════════════
   SHOP / PRODUCT / CART / CHECKOUT / AUTH / ORDERS PAGES
   ═══════════════════════════════════════════════════════════ */

/* ─── PAGE HERO (small banner for interior pages) ────── */
.page-hero {
  padding: 11rem 4rem 4rem;
  background: var(--dark-green);
  border-bottom: 0.5px solid rgba(162,131,94,0.18);
}
.page-hero-eyebrow {
  font-weight: 200; font-size: 0.6rem;
  letter-spacing: 0.38em; text-transform: uppercase;
  color: var(--bronze); margin-bottom: 1rem;
  display: flex; align-items: center; gap: 0.8rem;
}
.page-hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 300; color: var(--cream);
}
.page-hero-title em { font-style: italic; color: var(--bronze-light); }

/* ─── FILTER TABS (shop page) ────────────────────────── */
.filter-tabs {
  display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 3.5rem;
}
.filter-tab {
  font-family: 'Jost', sans-serif;
  font-size: 0.62rem; font-weight: 300;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--bordeaux); background: transparent;
  border: 0.5px solid rgba(56,5,22,0.25);
  padding: 0.6rem 1.3rem; cursor: none;
  transition: background 0.3s, color 0.3s;
}
.filter-tab.active, .filter-tab:hover { background: var(--bordeaux); color: var(--cream); }

.empty-state {
  padding: 5rem 0; text-align: center;
  color: rgba(56,5,22,0.8); font-size: 0.85rem; letter-spacing: 0.05em;
}
.empty-state.on-dark { color: rgba(245,237,216,0.35); }

/* ─── FORMS (login/register/checkout) ────────────────── */
.form-section {
  min-height: 100vh; padding: 11rem 4rem 6rem;
  background: var(--dark-green);
  display: flex; justify-content: center;
}
.form-card { width: 100%; max-width: 460px; }
.form-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.4rem; font-weight: 300; color: var(--cream);
  margin-bottom: 0.6rem;
}
.form-title em { font-style: italic; color: var(--bronze-light); }
.form-sub {
  font-weight: 200; font-size: 0.8rem; color: rgba(245,237,216,0.45);
  margin-bottom: 2.8rem; line-height: 1.7;
}
.field { margin-bottom: 1.5rem; }
.field label {
  display: block; font-weight: 200; font-size: 0.62rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--bronze); margin-bottom: 0.6rem;
}
.field input, .field select {
  width: 100%; font-family: 'Jost', sans-serif; font-weight: 200;
  font-size: 0.85rem; letter-spacing: 0.02em;
  background: rgba(245,237,216,0.05);
  border: 0.5px solid rgba(162,131,94,0.3);
  color: var(--cream); padding: 0.9rem 1.1rem; outline: none;
  transition: border-color 0.3s, background 0.3s;
  cursor: text;
}
.field input:focus, .field select:focus { border-color: var(--bronze); background: rgba(245,237,216,0.08); }
.field input::placeholder { color: rgba(245,237,216,0.25); }
.field select option { background: var(--bordeaux-dark); color: var(--cream); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-submit {
  width: 100%; margin-top: 0.8rem;
  font-family: 'Jost', sans-serif; font-size: 0.65rem; font-weight: 300;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--bordeaux); background: var(--bronze);
  border: none; padding: 1.1rem; cursor: none;
  transition: background 0.3s;
}
.form-submit:hover { background: var(--bronze-light); }
.form-submit:disabled { opacity: 0.5; cursor: not-allowed; }
.form-footer-link {
  margin-top: 1.8rem; text-align: center;
  font-weight: 200; font-size: 0.75rem; color: rgba(245,237,216,0.4);
}
.form-footer-link a { color: var(--bronze-light); text-decoration: none; }
.form-footer-link a:hover { text-decoration: underline; }
.form-message {
  padding: 0.9rem 1.1rem; margin-bottom: 1.5rem;
  font-size: 0.78rem; letter-spacing: 0.02em; line-height: 1.5;
  border: 0.5px solid rgba(162,131,94,0.3); display: none;
}
.form-message.error { color: #e0a3a3; border-color: rgba(224,163,163,0.4); background: rgba(224,163,163,0.06); }
.form-message.success { color: var(--bronze-light); background: rgba(162,131,94,0.08); }

/* ─── PRODUCT DETAIL PAGE ────────────────────────────── */
.product-detail-section {
  padding: 11rem 4rem 6rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem;
  background: #F0E8D2; min-height: 100vh;
  align-items: start;
}
.pd-gallery {
  aspect-ratio: 3/4; position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.pd-gallery img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumbs { display: flex; gap: 0.7rem; margin-top: 0.7rem; flex-wrap: wrap; }
.pd-thumb {
  width: 74px; aspect-ratio: 3/4; padding: 0; overflow: hidden; cursor: none;
  background: none; border: 0.5px solid rgba(56,5,22,0.2);
  opacity: 0.65; transition: opacity 0.3s, border-color 0.3s;
}
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd-thumb:hover { opacity: 1; }
.pd-thumb.active { opacity: 1; border-color: var(--bordeaux); }
.pd-info { position: sticky; top: 11rem; }
.pd-eyebrow {
  font-weight: 200; font-size: 0.6rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--bronze); margin-bottom: 1rem;
}
.pd-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 3.5vw, 3rem); font-weight: 300;
  color: var(--bordeaux); margin-bottom: 0.8rem;
}
.pd-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem; color: var(--bronze); margin-bottom: 2rem;
}
.pd-desc {
  font-weight: 400; font-size: 0.85rem; line-height: 1.95;
  color: rgba(56,5,22,0.85); max-width: 460px; margin-bottom: 2.5rem;
}
.pd-group { margin-bottom: 1.8rem; }
.pd-group-label {
  font-weight: 500; font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--bordeaux); margin-bottom: 0.8rem;
}
.pd-options { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.pd-option {
  font-family: 'Jost', sans-serif; font-size: 0.72rem;
  color: var(--bordeaux); background: transparent;
  border: 0.5px solid rgba(56,5,22,0.3);
  padding: 0.65rem 1.2rem; cursor: none;
  transition: background 0.3s, color 0.3s;
}
.pd-option.selected { background: var(--bordeaux); color: var(--cream); }
.pd-option:disabled { opacity: 0.3; text-decoration: line-through; cursor: not-allowed; }
.pd-qty { display: flex; align-items: center; gap: 1rem; margin-bottom: 2.2rem; }
.pd-qty button {
  width: 34px; height: 34px; border: 0.5px solid rgba(56,5,22,0.3);
  background: transparent; color: var(--bordeaux); cursor: none; font-size: 1rem;
}
.pd-qty span { min-width: 1.5rem; text-align: center; font-size: 0.9rem; color: var(--bordeaux); }

/* ─── CART PAGE ───────────────────────────────────────── */
.cart-section {
  min-height: 100vh; padding: 11rem 4rem 6rem;
  background: #F0E8D2;
}
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 4rem; align-items: start; }
.cart-item {
  display: grid; grid-template-columns: 90px 1fr auto auto; gap: 1.5rem; align-items: center;
  padding: 1.6rem 0; border-bottom: 0.5px solid rgba(56,5,22,0.12);
}
.cart-item-img {
  width: 90px; aspect-ratio: 3/4; background: var(--bordeaux);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-name { font-family: 'Cormorant Garamond', serif; font-size: 1.15rem; color: var(--bordeaux); }
.cart-item-meta { font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(56,5,22,0.42); margin-top: 0.3rem; }
.cart-item-qty { display: flex; align-items: center; gap: 0.6rem; }
.cart-item-qty button {
  width: 26px; height: 26px; border: 0.5px solid rgba(56,5,22,0.3);
  background: transparent; color: var(--bordeaux); cursor: none;
}
.cart-item-qty button:disabled { opacity: 0.3; cursor: not-allowed; }
.cart-item-qty span { color: var(--bordeaux); font-size: 0.85rem; min-width: 1.2rem; text-align: center; }
.cart-item-price { font-family: 'Cormorant Garamond', serif; font-size: 1.05rem; color: var(--bronze); white-space: nowrap; }
.cart-item-maxnote { font-family: 'Jost', sans-serif; font-size: 0.6rem; letter-spacing: 0.06em; color: #b5563f; margin-top: 0.35rem; }
.cart-item-remove {
  font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(56,5,22,0.4); background: none; border: none; cursor: none;
  text-decoration: underline; margin-top: 0.4rem;
}
.cart-summary {
  background: var(--bordeaux); padding: 2.5rem; position: sticky; top: 11rem;
}
.cart-summary-title {
  font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; color: var(--cream); margin-bottom: 1.6rem;
}
.cart-summary-row {
  display: flex; justify-content: space-between; font-size: 0.85rem;
  color: rgba(245,237,216,0.6); margin-bottom: 1rem;
}
.cart-summary-total {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; color: var(--cream);
  padding-top: 1.2rem; margin-top: 0.5rem; margin-bottom: 2rem;
  border-top: 0.5px solid rgba(162,131,94,0.2);
}

/* ─── CHECKOUT PAGE ───────────────────────────────────── */
.checkout-section {
  min-height: 100vh; padding: 11rem 4rem 6rem;
  background: var(--dark-green);
  display: grid; grid-template-columns: 1fr 380px; gap: 4rem;
}
.checkout-summary {
  background: var(--bordeaux); padding: 2.5rem; align-self: start; position: sticky; top: 11rem;
}
.checkout-summary-item {
  display: flex; justify-content: space-between; gap: 1rem;
  font-size: 0.8rem; color: rgba(245,237,216,0.6); margin-bottom: 1rem;
}
.payment-method-note {
  padding: 1.2rem; border: 0.5px solid rgba(162,131,94,0.3);
  font-size: 0.78rem; color: var(--bronze-light); line-height: 1.6; margin-bottom: 1.8rem;
}

/* ─── ORDERS PAGE ─────────────────────────────────────── */
.orders-section {
  min-height: 100vh; padding: 11rem 4rem 6rem;
  background: #F0E8D2;
}
.order-card {
  background: var(--bordeaux); padding: 2rem 2.2rem; margin-bottom: 1.2rem;
}
.order-card-top {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 1.2rem; padding-bottom: 1.2rem;
  border-bottom: 0.5px solid rgba(162,131,94,0.15);
}
.order-id { font-size: 0.72rem; letter-spacing: 0.05em; color: rgba(245,237,216,0.4); }
.order-status {
  font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--bordeaux); background: var(--bronze); padding: 0.35rem 0.9rem;
}
.order-item-row {
  display: flex; justify-content: space-between; font-size: 0.82rem;
  color: rgba(245,237,216,0.65); margin-bottom: 0.6rem;
}
.order-total {
  display: flex; justify-content: space-between; margin-top: 1.2rem; padding-top: 1.2rem;
  border-top: 0.5px solid rgba(162,131,94,0.15);
  font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; color: var(--cream);
}

/* ─── ADMIN PAGE ──────────────────────────────────────── */
.admin-section {
  min-height: 100vh; padding: 11rem 4rem 6rem;
  background: var(--dark-green);
}
.admin-tabs { display: flex; gap: 0.8rem; margin-bottom: 2.5rem; }
.admin-tab {
  font-family: 'Jost', sans-serif; font-size: 0.65rem; font-weight: 300;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(245,237,216,0.5); background: transparent;
  border: 0.5px solid rgba(162,131,94,0.3);
  padding: 0.8rem 1.6rem; cursor: none;
  transition: background 0.3s, color 0.3s;
}
.admin-tab.active, .admin-tab:hover { background: var(--bronze); color: var(--bordeaux); border-color: var(--bronze); }
.admin-panel { display: none; }
.admin-panel.active { display: block; }

.admin-table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th {
  text-align: left; font-weight: 200; font-size: 0.6rem;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--bronze); padding: 0.8rem 1rem;
  border-bottom: 0.5px solid rgba(162,131,94,0.25);
  white-space: nowrap;
}
.admin-table td {
  padding: 1rem; font-size: 0.82rem; color: rgba(245,237,216,0.75);
  border-bottom: 0.5px solid rgba(162,131,94,0.1);
  vertical-align: top;
}
.admin-table tr:hover td { background: rgba(245,237,216,0.02); }
.admin-btn {
  font-family: 'Jost', sans-serif; font-size: 0.62rem; font-weight: 300;
  letter-spacing: 0.15em; text-transform: uppercase;
  background: transparent; border: 0.5px solid rgba(162,131,94,0.35);
  color: var(--cream-dim); padding: 0.45rem 0.9rem; cursor: none;
  transition: background 0.3s, color 0.3s; margin-right: 0.4rem;
}
.admin-btn:hover { background: var(--bronze); color: var(--bordeaux); border-color: var(--bronze); }
.admin-btn.danger:hover { background: #c0605f; color: var(--cream); border-color: #c0605f; }
/* keeps the status dropdown and its Update button on one line —
   they're inline otherwise and wrap once the column gets narrow */
.status-cell { display: flex; align-items: center; gap: 0.45rem; }
.status-cell .admin-btn { margin-right: 0; white-space: nowrap; }

.admin-status-select {
  font-family: 'Jost', sans-serif; font-size: 0.75rem; font-weight: 400;
  background: var(--bordeaux-dark); border: 0.5px solid var(--bronze);
  color: var(--cream); padding: 0.45rem 0.7rem; cursor: text;
}
.admin-status-select option {
  background: var(--bordeaux-dark);
  color: var(--cream);
}

.admin-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; }
.admin-card-title {
  font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; font-weight: 300; color: var(--cream);
}
.admin-form {
  background: rgba(245,237,216,0.03); border: 0.5px solid rgba(162,131,94,0.2);
  padding: 2rem; margin-bottom: 2.5rem; display: none;
}
.admin-form.open { display: block; }
.variant-row {
  display: grid; grid-template-columns: 1fr 1fr 90px 1fr auto; gap: 0.8rem; margin-bottom: 0.8rem; align-items: center;
}
.variant-row input {
  font-family: 'Jost', sans-serif; font-weight: 200; font-size: 0.8rem;
  background: rgba(245,237,216,0.05); border: 0.5px solid rgba(162,131,94,0.3);
  color: var(--cream); padding: 0.6rem 0.8rem; outline: none;
}
.variant-remove {
  background: none; border: none; color: rgba(224,163,163,0.8); cursor: none; font-size: 1.1rem;
}

/* admin: product photos (up to 4) */
.pf-count { font-size: 0.6rem; color: var(--bronze); letter-spacing: 0.1em; margin-left: 0.4rem; }
.pf-photo-grid {
  display: flex; flex-wrap: wrap; gap: 0.8rem; margin-bottom: 1rem;
}
.pf-photo-cell {
  position: relative; width: 96px; aspect-ratio: 3/4; overflow: hidden;
  background: rgba(245,237,216,0.05);
  border: 0.5px solid rgba(162,131,94,0.3);
}
.pf-photo-cell img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pf-photo-pending { border-color: var(--bronze); }
.pf-photo-main, .pf-photo-new {
  position: absolute; left: 0; bottom: 0;
  font-size: 0.5rem; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.2rem 0.4rem; background: var(--bronze); color: var(--bordeaux);
}
.pf-photo-new { background: var(--dark-green); color: var(--cream); }
.pf-photo-remove {
  position: absolute; top: 0; right: 0;
  width: 22px; height: 22px; line-height: 1;
  background: rgba(38,3,15,0.85); color: var(--cream);
  border: none; cursor: none; font-size: 0.7rem;
}
.pf-photo-remove:hover { background: #c0605f; }
.pf-photo-remove:disabled { opacity: 0.4; }
.pf-photo-empty {
  font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(245,237,216,0.4); padding: 1.2rem 0;
}
.pf-file-input {
  font-family: 'Jost', sans-serif; font-size: 0.78rem; color: var(--cream);
  background: rgba(245,237,216,0.05);
  border: 0.5px solid rgba(162,131,94,0.3);
  padding: 0.6rem 0.7rem; max-width: 100%;
}
.pf-file-input::file-selector-button {
  font-family: 'Jost', sans-serif; font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase;
  background: var(--bronze); color: var(--bordeaux);
  border: none; padding: 0.45rem 0.9rem; margin-right: 0.8rem; cursor: none;
}
.pf-photo-hint { font-size: 0.68rem; color: rgba(245,237,216,0.5); margin-top: 0.5rem; line-height: 1.5; }

/* admin: per-variant stock editing */
.stock-row {
  display: grid; grid-template-columns: 1fr 110px auto; gap: 0.8rem;
  align-items: center; margin-bottom: 0.7rem;
}
.stock-row-label { font-size: 0.82rem; color: rgba(245,237,216,0.8); }
.stock-row-label small { display: block; font-size: 0.62rem; color: rgba(245,237,216,0.4); letter-spacing: 0.08em; }
.stock-row input {
  font-family: 'Jost', sans-serif; font-weight: 200; font-size: 0.85rem;
  background: rgba(245,237,216,0.05); border: 0.5px solid rgba(162,131,94,0.3);
  color: var(--cream); padding: 0.55rem 0.7rem; outline: none;
}
.stock-saved { font-size: 0.65rem; letter-spacing: 0.12em; text-transform: uppercase; color: #8fbf8f; }

/* "Select Option" label row with the Size Guide link on the right */
.pd-group-label-row {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 1rem; margin-bottom: 0.8rem;
}
.pd-group-label-row .pd-group-label { margin-bottom: 0; }
.pd-size-guide-link {
  font-family: 'Jost', sans-serif;
  font-size: 0.6rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--bordeaux); text-decoration: none; white-space: nowrap;
  border-bottom: 0.5px solid var(--bronze); padding-bottom: 2px;
  transition: color 0.3s, border-color 0.3s;
}
.pd-size-guide-link:hover { color: var(--bronze); border-color: var(--bordeaux); }

/* ─── SALE PRICING ────────────────────────────────────── */
.price-was { text-decoration: line-through; opacity: 0.5; margin-right: 0.4rem; }
.price-now { color: #9c2b2b; }
.pd-price .price-now { color: #9c2b2b; }

/* "Sale" corner badge on product cards */
.product-badge.sale-badge {
  background: #9c2b2b; color: var(--cream);
  font-weight: 500; letter-spacing: 0.22em;
}

/* "Sale" pill next to the price on the product detail page */
.pd-sale-tag {
  display: inline-block; vertical-align: middle;
  margin-left: 0.7rem; padding: 0.28rem 0.7rem;
  background: #9c2b2b; color: var(--cream);
  font-family: 'Jost', sans-serif; font-size: 0.55rem; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
}

/* admin: marks an order placed without an account */
.guest-tag {
  display: inline-block; padding: 0.12rem 0.4rem; margin-left: 0.3rem;
  background: rgba(162,131,94,0.25); color: var(--bronze-light);
  font-size: 0.52rem; letter-spacing: 0.14em; text-transform: uppercase;
}

/* admin: highlights orders awaiting an InstaPay transfer screenshot */
.pay-tag-insta {
  display: inline-block; padding: 0.15rem 0.45rem;
  background: rgba(224,163,163,0.18); color: #e0a3a3;
  font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase;
}

/* ─── PAYMENT METHOD (checkout) ───────────────────────── */
.pay-options { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.pay-option {
  display: block; position: relative; cursor: none;
  padding: 1rem 1.1rem;
  border: 0.5px solid rgba(162,131,94,0.35);
  background: rgba(245,237,216,0.03);
  transition: border-color 0.3s, background 0.3s;
}
.pay-option input { position: absolute; opacity: 0; pointer-events: none; }
.pay-option.selected { border-color: var(--bronze); background: rgba(162,131,94,0.12); }
.pay-option-title {
  display: block; font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.1em; color: var(--cream);
}
.pay-option-sub {
  display: block; margin-top: 0.35rem;
  font-size: 0.68rem; line-height: 1.5; color: rgba(245,237,216,0.55);
}

.instapay-box {
  margin-top: 1rem; padding: 1.2rem 1.3rem;
  border: 0.5px solid var(--bronze);
  background: rgba(162,131,94,0.1);
  font-size: 0.8rem; line-height: 1.75; color: rgba(245,237,216,0.9);
}
.instapay-box p { margin-bottom: 0.7rem; }
.instapay-number {
  font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--bronze-light); margin-bottom: 0.9rem;
}
.instapay-number strong {
  display: block; margin-top: 0.3rem;
  font-family: 'Jost', sans-serif; font-size: 1.4rem; font-weight: 500;
  letter-spacing: 0.12em; color: var(--cream);
}
.instapay-warning {
  margin: 0.9rem 0 0; padding-top: 0.9rem;
  border-top: 0.5px solid rgba(162,131,94,0.35);
  color: #e0a3a3;
}

/* same panel on a light background (info pages) */
.instapay-box-light {
  background: rgba(162,131,94,0.1);
  border-color: var(--bronze);
  color: rgba(56,5,22,0.85);
}
.instapay-box-light .instapay-number { color: #7a5c33; }
.instapay-box-light .instapay-number strong { color: var(--bordeaux); }
.instapay-box-light .instapay-warning { color: #9c2b2b; }

/* ─── GUEST CHECKOUT ──────────────────────────────────── */
.guest-note {
  padding: 0.9rem 1.1rem; margin-bottom: 1.5rem;
  border: 0.5px solid rgba(162,131,94,0.35);
  background: rgba(162,131,94,0.08);
  font-size: 0.78rem; line-height: 1.6; color: rgba(245,237,216,0.85);
}
.guest-note a { color: var(--bronze-light); }
.guest-done-card { max-width: 620px; }
.guest-done-line { font-size: 0.95rem; line-height: 1.9; color: var(--cream); }
.guest-done-line strong { color: var(--bronze-light); letter-spacing: 0.06em; }
.guest-done-note {
  margin-top: 1.4rem; font-size: 0.82rem; line-height: 1.8;
  color: rgba(245,237,216,0.6);
}

/* ─── PROMO CODE (checkout) ───────────────────────────── */
.promo-row { display: flex; gap: 0.6rem; margin-top: 0.4rem; }
.promo-row input {
  flex: 1; min-width: 0;
  font-family: 'Jost', sans-serif; font-size: 0.8rem; letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(245,237,216,0.06);
  border: 0.5px solid rgba(162,131,94,0.35);
  color: var(--cream); padding: 0.75rem 0.9rem; outline: none;
}
.promo-row button {
  font-family: 'Jost', sans-serif; font-size: 0.6rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  background: transparent; border: 0.5px solid var(--bronze);
  color: var(--bronze-light); padding: 0 1.1rem; cursor: none; white-space: nowrap;
  transition: background 0.3s, color 0.3s;
}
.promo-row button:hover { background: var(--bronze); color: var(--bordeaux); }
.promo-msg { font-size: 0.72rem; margin-top: 0.5rem; line-height: 1.5; }
.promo-msg.ok { color: #8fbf8f; }
.promo-msg.bad { color: #e0a3a3; }
.cart-summary-row.discount span:last-child { color: #8fbf8f; }

/* ─── INFO PAGES (Care Guide, Shipping) ───────────────── */
.info-section {
  min-height: 100vh; padding: 4rem 3rem 6rem;
  background: #F0E8D2;
}
.info-wrap { max-width: 720px; margin: 0 auto; }
.info-card {
  background: #FBF8F1;
  border: 0.5px solid rgba(56,5,22,0.15);
  box-shadow: 0 18px 50px rgba(56,5,22,0.10);
  padding: 3.5rem 3rem;
}
.info-card + .info-card { margin-top: 2rem; }
.info-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 400;
  color: var(--bordeaux); letter-spacing: 0.03em; margin-bottom: 1.8rem;
}
.info-list { list-style: none; }
.info-list li {
  position: relative; padding-left: 1.9rem; margin-bottom: 1.1rem;
  font-size: 0.92rem; line-height: 1.75; color: rgba(56,5,22,0.85);
}
.info-list li::before {
  content: '◆'; position: absolute; left: 0; top: 0.05rem;
  font-size: 0.6rem; color: var(--bronze);
}
.info-closing {
  margin-top: 2.4rem; padding-top: 1.8rem;
  border-top: 0.5px solid rgba(162,131,94,0.35);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem; font-style: italic;
  color: var(--bordeaux); text-align: center;
}
.info-note {
  margin-top: 1.4rem; font-size: 0.85rem; line-height: 1.7;
  color: rgba(56,5,22,0.8);
}
.info-intro {
  max-width: 640px; margin: 0 auto 2.2rem; text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem; font-style: italic; line-height: 1.75;
  color: rgba(56,5,22,0.85);
}
.info-subheading {
  margin: 2rem 0 1rem;
  font-weight: 500; font-size: 0.62rem;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--bronze);
}
.info-contact-link {
  display: inline-block; margin-top: 1.4rem;
  font-size: 0.68rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--bordeaux); text-decoration: none;
  border-bottom: 0.5px solid var(--bronze); padding-bottom: 3px;
  transition: color 0.3s, border-color 0.3s;
}
.info-contact-link:hover { color: var(--bronze); border-color: var(--bordeaux); }

/* shipping rates table */
.rate-table { width: 100%; border-collapse: collapse; margin-top: 0.5rem; }
.rate-table th {
  background: var(--bronze); color: var(--cream);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem; font-weight: 500; letter-spacing: 0.06em;
  padding: 0.9rem 1.3rem; text-align: left;
}
.rate-table th:last-child, .rate-table td:last-child { text-align: right; }
.rate-table td {
  padding: 0.95rem 1.3rem; font-size: 0.92rem; color: var(--bordeaux);
  border-bottom: 0.5px solid rgba(56,5,22,0.12);
}
.rate-table tbody tr:last-child td { border-bottom: none; }
.rate-table tbody tr:nth-child(odd) { background: rgba(162,131,94,0.07); }

/* ─── SIZE GUIDE PAGE ─────────────────────────────────── */
/* compact hero on this page so the chart sits higher up the fold
   (scoped to the size guide — shop.html keeps the taller default hero) */
.size-guide-hero { padding-top: 7.5rem; padding-bottom: 2.5rem; }

.size-guide-section {
  min-height: 100vh; padding: 3rem 3rem 5rem;
  background: #F0E8D2;
}
/* 1219px is the chart image's native width — never scale past it or it blurs */
.size-guide-wrap { max-width: 1219px; margin: 0 auto; }

/* the official size chart artwork, shown as-is */
.size-chart-link { display: block; }
.size-chart-image {
  display: block; width: 100%; height: auto; margin: 0 auto;
  background: #fff;
  border: 0.5px solid rgba(56,5,22,0.15);
  box-shadow: 0 18px 50px rgba(56,5,22,0.12);
}

.size-note {
  margin-top: 1.6rem; text-align: center;
  font-size: 0.78rem; letter-spacing: 0.04em;
  color: rgba(56,5,22,0.7);
}
.size-guide-cta { text-align: center; margin-top: 3rem; }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — the nav hamburger toggle is injected by
   initChrome() in js/api.js. Hidden on desktop, shown ≤820px.
   ═══════════════════════════════════════════════════════════ */
.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 28px; height: 28px; padding: 0;
  background: none; border: none; cursor: none;
}
.nav-toggle span {
  display: block; width: 100%; height: 1.5px; background: var(--cream-dim);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
nav.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
nav.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
nav.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ─── TABLET (≤ 900px) ─────────────────────────────────── */
@media (max-width: 900px) {
  .about-section,
  .philosophy-section,
  .product-detail-section,
  .checkout-section { grid-template-columns: 1fr; }

  .philosophy-section { gap: 3rem; padding: 5rem 2rem; }
  .about-left { padding: 4.5rem 2rem; }
  .collection-section { padding: 5rem 2rem; }
  .lookbook-strip { padding: 4rem 2rem; }
  .cta-section { flex-direction: column; align-items: flex-start; gap: 2rem; padding: 4.5rem 2rem; }
  footer { padding: 4rem 2rem 2.5rem; }

  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .lookbook-grid { grid-template-columns: 1fr 1fr; }
  .lb-item:nth-child(n) { aspect-ratio: 3/4; }

  .pd-info { position: static; top: auto; }
  .product-detail-section,
  .checkout-section,
  .orders-section,
  .admin-section,
  .size-guide-section,
  .page-hero { padding-left: 2rem; padding-right: 2rem; }

  .cart-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .stats-row { gap: 2rem; flex-wrap: wrap; }
}

/* ─── MOBILE (≤ 820px): hamburger nav ──────────────────── */
@media (max-width: 820px) {
  nav { padding: 0 1.25rem; }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }

  .nav-links {
    position: fixed; top: 76px; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: rgba(38, 3, 15, 0.98);
    backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
    border-bottom: 0.5px solid rgba(162,131,94,0.18);
    max-height: 0; overflow: hidden;
    transition: max-height 0.35s ease;
  }
  nav.nav-open .nav-links { max-height: 80vh; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block; padding: 1.05rem 1.5rem; font-size: 0.72rem;
    border-bottom: 0.5px solid rgba(162,131,94,0.1);
  }
  .nav-links a::after { display: none; }
}

/* ─── MOBILE (≤ 600px) ─────────────────────────────────── */
@media (max-width: 600px) {
  .product-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .lookbook-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .hero-left { padding: 5rem 1.5rem 4rem; max-width: 100%; }
  .hero-title { min-height: 3.4em; }
  .hero-tag { display: none; }

  .about-section,
  .collection-section,
  .philosophy-section,
  .lookbook-strip { padding-left: 1.5rem; padding-right: 1.5rem; }
  .about-left { padding: 3.5rem 1.5rem; }
  .about-right { grid-template-rows: auto auto; }
  .about-card { padding: 2.5rem 1.5rem; }

  .section-header { flex-direction: column; align-items: flex-start; gap: 1.5rem; }

  .page-hero { padding: 8rem 1.5rem 3rem; }
  .product-detail-section,
  .checkout-section,
  .orders-section,
  .admin-section,
  .cart-section { padding: 8rem 1.5rem 4rem; }

  /* checkout & cart summaries stack full-width */
  .cta-form { flex-direction: column; width: 100%; }
  .cta-input { width: 100%; border-right: 0.5px solid rgba(56,5,22,0.45); }

  /* orders "My Orders" header row stacks */
  .orders-section > div:first-child { flex-direction: column; align-items: flex-start; gap: 1.5rem; }

  /* admin product form: variant rows wrap instead of a rigid 5-col grid */
  .variant-row { grid-template-columns: 1fr 1fr; }
  .admin-tabs { flex-wrap: wrap; }

  /* Wide admin tables → stacked cards so they fit a phone with NO sideways
     scroll (the horizontal scroll was fighting the vertical page swipe). Each
     row becomes a card; each cell shows its column name via data-label. */
  .admin-table-wrap { overflow-x: visible; }
  .admin-table thead { display: none; }
  .admin-table, .admin-table tbody, .admin-table tr, .admin-table td { display: block; width: 100%; }
  .admin-table tr {
    margin-bottom: 1.4rem; padding: 0.3rem 0;
    border: 0.5px solid rgba(162,131,94,0.25);
  }
  .admin-table td {
    text-align: left; word-break: break-word;
    border-bottom: 0.5px solid rgba(162,131,94,0.08);
    padding: 0.7rem 1rem;
  }
  .admin-table td:last-child { border-bottom: none; }
  .admin-table td::before {
    content: attr(data-label); display: block; margin-bottom: 0.25rem;
    font-weight: 500; font-size: 0.58rem; letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--bronze);
  }
  /* in the mobile card layout there's room, but let it wrap if a label is long */
  .status-cell { flex-wrap: wrap; }
  .admin-status-select { max-width: 100%; }

  .cart-item { grid-template-columns: 70px 1fr auto; gap: 1rem; }
  .cart-item-price { grid-column: 2 / -1; text-align: right; }

  /* size guide: tighter padding so the chart gets maximum width */
  .size-guide-section { padding: 3rem 1rem 4rem; }
}

/* ─── TOUCH DEVICES: drop the custom cursor ────────────── */
@media (hover: none) and (pointer: coarse) {
  .cursor { display: none !important; }
  * { cursor: auto !important; }
}
