:root {
  --ink: #1a120e;
  --ink-deep: #0f0b09;
  --ink-soft: #6a5648;
  --paper: #e8dfd0;
  --paper-2: #f2ebe0;
  --wood-card: transparent;
  --line: rgba(26, 18, 14, 0.14);
  --cocoa: #3a2418;
  --cocoa-mid: #5c3a28;
  --indigo: #1e3358;
  --indigo-soft: #3a5680;
  --wax: #efe6d8;
  --terracotta: var(--cocoa);
  --ochre: var(--indigo);
  --khaki: #6b5a48;
  --header-h: 4.4rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: "Fraunces", Georgia, serif;
  --font-serif: "Fraunces", Georgia, serif;
  --font-body: "Sora", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--paper-2);
  background-image:
    url("../img/brand/wax-wave.svg"),
    radial-gradient(900px 420px at 0% 0%, rgba(30, 51, 88, 0.07), transparent 55%),
    radial-gradient(800px 400px at 100% 8%, rgba(58, 36, 24, 0.08), transparent 50%),
    linear-gradient(180deg, var(--paper-2), var(--paper));
  background-repeat: repeat-x, no-repeat, no-repeat, no-repeat;
  background-size: 480px 120px, auto, auto, auto;
  background-position: 0 0, 0 0, 100% 0, 0 0;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

h1, h2, h3, .logo-mark, .footer-logo {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); margin: 0 0 0.4em; }
h2 { font-size: clamp(1.55rem, 3vw, 2.2rem); margin: 0 0 0.4em; }
h3 { font-size: 1.05rem; margin: 0 0 0.3em; }
p { margin: 0 0 1em; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--wax);
  padding: 0.6rem 1rem;
  z-index: 100;
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; }

/* Top bar */
.topbar {
  background: var(--ink-deep);
  color: rgba(242, 235, 224, 0.78);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.topbar-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0.42rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
}

.topbar-wa {
  color: #c8d4e8;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.04em;
  text-transform: none;
}
.topbar-wa:hover { color: #fff; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(242, 235, 224, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(242, 235, 224, 0.96);
}

.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0.65rem 1.25rem;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}

.logo-seal {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-mark {
  font-size: 1.55rem;
  font-weight: 600;
  font-style: italic;
  letter-spacing: -0.02em;
  line-height: 1;
}

.logo-sub {
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 0.2rem;
  font-family: var(--font-body);
}

.nav-desk {
  display: none;
  gap: 1.5rem;
}

.nav-desk a {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.88rem;
  color: var(--ink-soft);
  transition: color 0.2s;
}
.nav-desk a:hover { color: var(--cocoa); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cart-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.7rem;
  border: 1px solid var(--line);
  background: transparent;
  text-decoration: none;
  font: inherit;
  font-weight: 600;
  font-size: 0.82rem;
  color: inherit;
  cursor: pointer;
}

.cart-badge {
  display: inline-grid;
  place-items: center;
  min-width: 1.3rem;
  height: 1.3rem;
  padding: 0 0.3rem;
  background: var(--cocoa);
  color: var(--wax);
  font-size: 0.72rem;
  font-weight: 700;
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0.35rem;
  color: var(--ink);
}
.nav-toggle span {
  display: block;
  width: 1.3rem;
  height: 2px;
  background: currentColor;
}

.nav-mobile {
  display: flex;
  flex-direction: column;
  padding: 0.5rem 1.25rem 1.25rem;
  border-top: 1px solid var(--line);
  background: var(--paper-2);
}
.nav-mobile[hidden] { display: none; }
.nav-mobile a {
  padding: 0.75rem 0;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 880px) {
  .nav-desk { display: flex; }
  .nav-toggle { display: none; }
  .nav-mobile { display: none !important; }
}

/* Wax wave rule (replaces bogolan chevrons) */
.wax-rule {
  height: 3px;
  background:
    linear-gradient(90deg,
      var(--cocoa) 0%,
      var(--indigo) 28%,
      var(--cocoa-mid) 55%,
      var(--indigo-soft) 78%,
      var(--cocoa) 100%
    );
  opacity: 0.85;
}
.wax-rule-light { opacity: 0.55; }

/* Flash */
.flash-stack {
  max-width: 1180px;
  margin: 0.85rem auto 0;
  padding: 0 1.25rem;
}
.flash {
  margin: 0 0 0.5rem;
  padding: 0.8rem 1rem;
  border-left: 3px solid var(--cocoa);
  background: rgba(255, 253, 249, 0.9);
  font-weight: 600;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.85rem 1.4rem;
  border: 1.5px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s, border-color 0.25s;
}
.btn:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.btn-primary {
  background: var(--cocoa);
  border-color: var(--cocoa);
  color: var(--wax);
}
.btn-primary:hover {
  background: var(--indigo);
  border-color: var(--indigo);
  color: #fff;
}

.btn-gold {
  background: var(--indigo);
  border-color: var(--indigo);
  color: #fff;
}
.btn-gold:hover {
  background: var(--indigo-soft);
  border-color: var(--indigo-soft);
}

.btn-outline-light {
  border-color: rgba(242, 235, 224, 0.5);
  color: var(--wax);
}
.btn-outline-light:hover {
  border-color: #fff;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.35);
  border-color: var(--line);
}
.btn-ghost:hover {
  background: var(--ink);
  color: var(--wax);
  border-color: var(--ink);
}

.btn-block { width: 100%; }

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.text-link {
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--cocoa);
  white-space: nowrap;
}
.text-link:hover { color: var(--indigo); }

/* ========== FULL-BLEED HERO ========== */
.hero-bleed {
  position: relative;
  min-height: min(92vh, 880px);
  display: flex;
  align-items: flex-end;
  color: var(--wax);
  overflow: hidden;
}

.hero-bleed-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bleed-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transform: scale(1.04);
  animation: hero-drift 18s var(--ease) infinite alternate;
}

.hero-bleed-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(15, 11, 9, 0.82) 0%, rgba(15, 11, 9, 0.45) 48%, rgba(30, 51, 88, 0.25) 100%),
    linear-gradient(to top, rgba(15, 11, 9, 0.75) 0%, transparent 45%);
}

.hero-bleed-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(4rem, 12vh, 7rem) 1.25rem clamp(3rem, 8vh, 5rem);
}

.hero-kicker {
  margin: 0 0 0.75rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(200, 212, 232, 0.9);
}

.hero-brand {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(4.2rem, 14vw, 8.5rem);
  font-weight: 600;
  font-style: italic;
  letter-spacing: -0.035em;
  line-height: 0.9;
  color: #fff;
}

.hero-line {
  margin: 0 0 0.85rem;
  max-width: 16ch;
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 500;
  font-style: normal;
  color: rgba(242, 235, 224, 0.92);
  line-height: 1.25;
}

.hero-support {
  margin: 0 0 1.75rem;
  max-width: 36ch;
  font-size: 1rem;
  color: rgba(242, 235, 224, 0.72);
}

@keyframes hero-drift {
  from { transform: scale(1.04) translateY(0); }
  to { transform: scale(1.08) translateY(-1.5%); }
}

/* Craft marquee */
.craft-ribbon {
  background: var(--cocoa);
  color: var(--wax);
  overflow: hidden;
  padding: 0.85rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.craft-ribbon-track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  animation: marquee 40s linear infinite;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-style: italic;
  letter-spacing: 0.06em;
  padding-left: 1rem;
}

.craft-ribbon-track span {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  white-space: nowrap;
}

.wax-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: 1.5px solid rgba(200, 212, 232, 0.7);
  flex-shrink: 0;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Sections */
.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(3.25rem, 7vw, 5rem) 1.25rem;
}

.section-head-split {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.section-lede {
  margin: 0.5rem 0 0;
  color: var(--ink-soft);
  max-width: 42ch;
  font-size: 0.95rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--cocoa-mid);
  margin: 0 0 0.45rem;
  font-family: var(--font-body);
}
.eyebrow-on-dark { color: rgba(200, 212, 232, 0.85); }
.eyebrow-indigo { color: var(--indigo-soft); }
.eyebrow-gold { color: var(--indigo-soft); }

.page-hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(2.25rem, 5vw, 3.5rem) 1.25rem 0.5rem;
}
.page-hero p { color: var(--ink-soft); max-width: 52ch; }

/* Product grid — editorial, not cardy */
.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem 1.5rem;
}

@media (min-width: 620px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 980px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); gap: 2.75rem 1.75rem; }
}

.product-card {
  background: transparent;
  border: 0;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: none;
  box-shadow: none;
}

.product-card-media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #d9cfc0;
  display: block;
}

.product-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.product-card:hover .product-card-media img {
  transform: scale(1.04);
}

.product-pill,
.product-collection-tag {
  display: none; /* no overlays on product media */
}

.product-card-body {
  padding: 0.95rem 0 0;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-ethnie {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
  font-weight: 600;
  margin: 0 0 0.35rem;
}

.product-card-body h3 {
  margin: 0 0 0.65rem;
  font-size: 1.15rem;
  font-weight: 600;
}
.product-card-body h3 a {
  text-decoration: none;
}

.product-tagline-sm {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin: 0 0 1rem;
  flex: 1;
}

.product-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
  margin-top: auto;
}

.price {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
}

.btn-quick-add {
  padding: 0.4rem 0.75rem;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
  font: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.btn-quick-add:hover {
  background: var(--cocoa);
  border-color: var(--cocoa);
  color: var(--wax);
}

/* Process band */
.process-band {
  background: var(--ink-deep);
  color: var(--wax);
  padding: clamp(3.5rem, 8vw, 5.5rem) 1.25rem;
}

.process-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 900px) {
  .process-inner {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 4rem;
    align-items: start;
  }
}

.process-intro p {
  color: rgba(242, 235, 224, 0.72);
  max-width: 38ch;
}

.process-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.35rem;
}

@media (min-width: 600px) {
  .process-steps { grid-template-columns: 1fr 1fr; gap: 1.75rem; }
}

.process-steps li {
  display: grid;
  gap: 0.25rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(242, 235, 224, 0.15);
}

.step-num {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: rgba(200, 212, 232, 0.8);
  font-weight: 600;
}

.process-steps strong {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  font-style: italic;
}

.process-steps li > span:last-child {
  font-size: 0.88rem;
  color: rgba(242, 235, 224, 0.65);
}

/* Bleue Racine split */
.bleue-band {
  display: grid;
  min-height: min(70vh, 640px);
}

@media (min-width: 860px) {
  .bleue-band { grid-template-columns: 1.15fr 0.85fr; }
}

.bleue-media {
  min-height: 320px;
  overflow: hidden;
}
.bleue-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bleue-copy {
  background: var(--indigo);
  color: var(--wax);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1.5rem, 4vw, 3.5rem);
}

.bleue-copy h2 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-style: italic;
  color: #fff;
}

.bleue-copy p {
  color: rgba(232, 238, 248, 0.82);
  max-width: 34ch;
  margin-bottom: 1.75rem;
}

.bleue-copy .btn-primary {
  background: var(--wax);
  border-color: var(--wax);
  color: var(--indigo);
  align-self: flex-start;
}
.bleue-copy .btn-primary:hover {
  background: #fff;
  border-color: #fff;
  color: var(--ink);
}

/* Promo FRAGMENT */
.promo-band {
  background: var(--paper);
  padding: clamp(3rem, 7vw, 5rem) 1.25rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.promo-band-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 860px) {
  .promo-band-inner {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 3.5rem;
  }
}

.promo-copy h2 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-style: italic;
  letter-spacing: 0.04em;
}

.promo-copy p {
  color: var(--ink-soft);
  max-width: 34ch;
  margin-bottom: 1.5rem;
}

.promo-visual {
  margin: 0;
  overflow: hidden;
}
.promo-visual img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

/* Videos */
.video-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 760px) {
  .video-grid { grid-template-columns: 1fr 1fr; }
}

.video-card {
  margin: 0;
}

.video-card video {
  width: 100%;
  aspect-ratio: 9 / 16;
  max-height: 560px;
  object-fit: cover;
  background: var(--ink-deep);
  display: block;
}

.video-card figcaption {
  padding: 0.75rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-size: 0.88rem;
}
.video-card figcaption span { color: var(--ink-soft); }

/* Lookbook */
.lookbook-note {
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin: 0;
}

.lookbook-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
}

@media (min-width: 640px) {
  .lookbook-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 980px) {
  .lookbook-grid { grid-template-columns: repeat(3, 1fr); }
}

.lookbook-item {
  margin: 0;
  background: transparent;
  border: 0;
  overflow: hidden;
}

.lookbook-item img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.lookbook-item figcaption {
  padding: 0.75rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-size: 0.84rem;
}

.lookbook-item figcaption span {
  color: var(--ink-soft);
}

/* Atelier invite */
.atelier-invite {
  background:
    linear-gradient(160deg, rgba(15, 11, 9, 0.55), rgba(58, 36, 24, 0.72)),
    url("../img/brand/hero-texture.jpg") center / cover;
  color: var(--wax);
  padding: clamp(4rem, 10vw, 6.5rem) 1.25rem;
  text-align: center;
}

.atelier-invite-inner {
  max-width: 36rem;
  margin: 0 auto;
}

.atelier-invite .eyebrow { color: rgba(200, 212, 232, 0.9); }
.atelier-invite h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-style: italic;
  color: #fff;
}
.atelier-invite p {
  color: rgba(242, 235, 224, 0.78);
  margin-bottom: 1.75rem;
}
.atelier-invite .hero-cta {
  justify-content: center;
}
.atelier-invite .btn-ghost {
  background: transparent;
  border-color: rgba(242, 235, 224, 0.45);
  color: var(--wax);
}
.atelier-invite .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  color: #fff;
}

/* Visit */
.visit-split {
  display: grid;
  gap: 2rem;
}

@media (min-width: 860px) {
  .visit-split {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
    gap: 3rem;
  }
}

.visit-locations {
  display: grid;
  gap: 1rem;
}

@media (min-width: 600px) {
  .visit-locations { grid-template-columns: 1fr 1fr; }
}

.location-box {
  padding: 1.35rem 0;
  border-top: 1px solid var(--line);
  background: transparent;
}

.loc-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--cocoa-mid);
  margin-bottom: 0.35rem;
}

.visit-card {
  background: transparent;
  border: 0;
  padding: 0;
  display: grid;
  gap: 2rem;
}

/* Filters */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.filter {
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--line);
  background: transparent;
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 600;
}
.filter.is-active,
.filter:hover {
  background: var(--cocoa);
  color: var(--wax);
  border-color: var(--cocoa);
  text-decoration: none;
}

/* Product detail */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
}

.product-layout {
  display: grid;
  gap: 2.25rem;
}

@media (min-width: 880px) {
  .product-layout {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: start;
    gap: 3rem;
  }
}

.product-main-shot {
  position: relative;
  background: #d9cfc0;
  border: 0;
  overflow: hidden;
}

.product-main-shot img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.product-thumbs {
  display: flex;
  gap: 0.65rem;
  margin-top: 0.75rem;
}

.thumb-btn {
  width: 78px;
  height: 92px;
  padding: 0;
  border: 2px solid transparent;
  background: #d9cfc0;
  cursor: pointer;
  overflow: hidden;
}
.thumb-btn.is-active { border-color: var(--cocoa); }
.thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--cocoa);
  margin: 0.4rem 0 0.8rem;
}

.product-tagline { font-size: 1.05rem; font-weight: 500; }
.product-desc { color: var(--ink-soft); }

.buy-form {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
  padding: 1.35rem 0;
  background: transparent;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.88rem;
  font-weight: 600;
}

input,
select,
textarea {
  font: inherit;
  font-weight: 500;
  padding: 0.72rem 0.85rem;
  border: 1px solid var(--line);
  background: rgba(255, 253, 249, 0.7);
  color: var(--ink);
}

.product-guarantees {
  margin: 1.5rem 0 0;
  padding-left: 1.15rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
}
.product-guarantees li { margin: 0.4rem 0; }

.related {
  margin-top: 4rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
}

/* Cart drawer */
.cart-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(15, 11, 9, 0.5);
  opacity: 0;
  transition: opacity 0.28s ease;
}
.cart-backdrop.is-open { opacity: 1; }

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  width: min(420px, 100vw);
  height: 100%;
  background: var(--paper-2);
  border-left: 1px solid var(--line);
  transform: translateX(100%);
  transition: transform 0.32s var(--ease);
}
.cart-drawer.is-open { transform: translateX(0); }
body.cart-open { overflow: hidden; }

.cart-drawer-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.25rem 1rem;
  border-bottom: 1px solid var(--line);
}
.cart-drawer-head .eyebrow { margin: 0 0 0.2rem; }
.cart-drawer-head h2 { margin: 0; font-size: 1.45rem; font-style: italic; }

.cart-drawer-close {
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid var(--line);
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: var(--ink);
}

.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.25rem 1.5rem;
}

.cart-drawer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.cart-drawer-row {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 0.85rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--line);
}

.cart-drawer-thumb img {
  width: 72px;
  height: 88px;
  object-fit: cover;
  display: block;
  background: #d9cfc0;
}

.cart-drawer-details h3 {
  margin: 0 0 0.2rem;
  font-size: 0.98rem;
  line-height: 1.25;
}
.cart-drawer-details h3 a {
  text-decoration: none;
  color: inherit;
}
.cart-drawer-details p {
  margin: 0.12rem 0;
  font-size: 0.84rem;
  color: var(--ink-soft);
}

.cart-drawer-qty {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.65rem;
  margin-top: 0.45rem;
}
.cart-drawer-qty form {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.cart-drawer-qty button:not(.linkish) {
  width: 1.85rem;
  height: 1.85rem;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  font-weight: 700;
}

.linkish {
  width: auto !important;
  height: auto !important;
  border: 0 !important;
  background: transparent !important;
  text-decoration: underline;
  font: inherit;
  font-size: 0.8rem;
  cursor: pointer;
  padding: 0;
  color: var(--ink-soft);
}

.cart-drawer-line {
  grid-column: 2;
  margin: 0.15rem 0 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
}

.cart-drawer-empty {
  margin: 1.5rem 0 1rem;
  color: var(--ink-soft);
}

.cart-drawer-foot {
  padding: 1rem 1.25rem 1.35rem;
  border-top: 1px solid var(--line);
  background: rgba(255, 253, 249, 0.5);
}

.cart-drawer-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 0 0 0.85rem;
  font-size: 1.05rem;
}

.cart-drawer-actions {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 0.65rem;
}

.nav-mobile button[data-cart-open] {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  font: inherit;
  font-weight: 700;
  padding: 0.75rem 0;
  color: inherit;
  cursor: pointer;
}

/* Checkout & Contact */
.checkout-grid,
.contact-grid {
  display: grid;
  gap: 2.25rem;
}

@media (min-width: 860px) {
  .checkout-grid { grid-template-columns: 1.2fr 0.8fr; align-items: start; }
  .contact-grid { grid-template-columns: 0.95fr 1.05fr; align-items: start; }
}

.checkout-form,
.contact-form {
  display: grid;
  gap: 1rem;
  padding: 1.5rem 0;
  background: transparent;
  border-top: 1px solid var(--line);
}

fieldset {
  border: 1px solid var(--line);
  padding: 1rem;
  margin: 0;
}

.radio {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 600;
  margin: 0.4rem 0;
}

.checkout-aside {
  padding: 1.5rem 0;
  background: transparent;
  border-top: 1px solid var(--line);
}

.checkout-aside ul {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}

.checkout-aside li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
}

.payment-pending .payment-status-line {
  margin: 1.25rem 0 0.5rem;
  font-size: 1.05rem;
}
.payment-pending .hero-cta { margin-top: 1.5rem; }

/* About */
.about-body {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 880px) {
  .about-body {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
  }
}

.about-seal-card {
  display: flex;
  gap: 1.15rem;
  align-items: center;
  padding: 1.5rem 0;
  background: transparent;
  color: var(--ink);
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}
.about-seal-card img {
  border-radius: 50%;
  width: 72px;
  height: 72px;
}
.about-seal-card h2 {
  color: var(--cocoa);
  margin-bottom: 0.25rem;
  font-style: italic;
}
.about-seal-card p { margin: 0; color: var(--ink-soft); }

.about-visual-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.about-visual-stack img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.pull {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  font-style: italic;
  color: var(--cocoa);
}

/* Footer */
.site-footer {
  margin-top: 0;
  background: var(--ink-deep);
  color: rgba(242, 235, 224, 0.78);
}

.footer-grid {
  max-width: 1180px;
  margin: 0 auto;
  padding: 3rem 1.25rem 2rem;
  display: grid;
  gap: 2.25rem;
}

@media (min-width: 760px) {
  .footer-grid { grid-template-columns: 1.4fr 0.8fr 1fr; }
}

.footer-seal-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}
.footer-seal-row img { border-radius: 50%; }

.footer-logo {
  font-size: 1.65rem;
  font-weight: 600;
  font-style: italic;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0;
}

.footer-tag {
  color: rgba(200, 212, 232, 0.85);
  font-size: 0.82rem;
  margin: 0.15rem 0 0;
}

.footer-made {
  font-size: 0.9rem;
  color: rgba(242, 235, 224, 0.62);
  max-width: 40ch;
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  font-weight: 600;
}
.footer-socials a {
  color: rgba(200, 212, 232, 0.9);
  text-decoration: none;
}
.footer-socials a:hover { color: #fff; }

.footer-heading {
  font-family: var(--font-display);
  font-weight: 600;
  font-style: italic;
  color: #fff;
  margin: 0 0 0.75rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-footer li {
  margin: 0.4rem 0;
  font-size: 0.88rem;
  color: rgba(242, 235, 224, 0.65);
}
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; }

.footer-bottom {
  max-width: 1180px;
  margin: 0 auto;
  padding: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(242, 235, 224, 0.5);
}

.footer-tribe {
  color: rgba(200, 212, 232, 0.85);
  font-style: italic;
  font-family: var(--font-display);
}

/* Reveal motion */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.9s var(--ease) forwards;
}
.delay-1 { animation-delay: 0.12s; }
.delay-2 { animation-delay: 0.24s; }
.delay-3 { animation-delay: 0.36s; }

@keyframes rise {
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; animation: none; }
  .hero-bleed-media img { animation: none; }
  .craft-ribbon-track { animation: none; }
}
