@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,opsz,wght@0,6..96,400;0,6..96,500;0,6..96,600;1,6..96,400;1,6..96,500&family=Manrope:wght@300;400;500;600;700&display=swap');

/* ================================================================
   MBM — Curated Collection · Black, White & Burgundy Catalogue
   ================================================================ */

:root {
  --serif:  'Bodoni Moda', 'Cormorant Garamond', Georgia, serif;
  --sans:   'Manrope', 'Inter', system-ui, sans-serif;

  /* Core palette - Black, White & Burgundy */
  --espresso:    #000000;
  --alabaster:   #FFFFFF;
  --burgundy:    #741830; /* Primary accent used across the site */
  --taupe:       rgba(0, 0, 0, 0.58);
  --divider:     rgba(0, 0, 0, 0.12);

  /* Re-mapping all accent tokens to burgundy */
  --desert-rose: var(--burgundy);
  --sandstone:   var(--burgundy);
  --sheer-gold:  var(--burgundy);

  /* Aliased old tokens for transition */
  --ivory:       var(--alabaster);
  --cream:       var(--alabaster);
  --petal:       var(--alabaster);
  --blush:       rgba(116, 24, 48, 0.08);
  --rose:        var(--burgundy);
  --rose-deep:   #581126;
  --mauve:       var(--burgundy);
  --sage:        var(--burgundy);
  --sage-light:  var(--alabaster);
  --charcoal:    var(--espresso);
  --mid:         rgba(0, 0, 0, 0.76);
  --gold:        var(--burgundy);
  --gold-dark:   var(--burgundy);
  --gold-light:  var(--alabaster);
  --dark-bg:     var(--alabaster);
  --dark-text:   var(--espresso);

  /* Script compatibility variables */
  --color-text:        var(--espresso);
  --color-text-muted:  var(--taupe);
  --color-border:      var(--divider);
  --color-danger:      var(--burgundy);
  --font-serif:        var(--serif);
  --font-sans:         var(--sans);

  /* Utility */
  --border:        var(--divider);
  --border-soft:   rgba(0, 0, 0, 0.06);
  --shadow-card:   0 4px 30px rgba(0, 0, 0, 0.04);
  --shadow-hover:  0 10px 50px rgba(0, 0, 0, 0.08);
  --ease:        cubic-bezier(0.25, 1, 0.5, 1);
  --ease-spring: cubic-bezier(0.34, 1.36, 0.64, 1);

  --container: 1440px;
}

/* ================================================================
   RESET & BASE
   ================================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--ivory);
  color: var(--charcoal);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  font-weight: 400;
  letter-spacing: 0.005em;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; }
input, select, textarea, button { font-family: inherit; font-size: inherit; outline: none; color: inherit; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2.5rem;
}

/* ================================================================
   ANNOUNCEMENT BAR
   ================================================================ */
.announcement-bar {
  background: var(--petal);
  color: var(--rose-deep);
  text-align: center;
  padding: 0.55rem 1rem;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-family: var(--sans);
  font-weight: 400;
  border-bottom: 1px solid var(--blush);
  position: relative;
  z-index: 600;
}

/* ================================================================
   HEADER — Minimal, weightless, transparent over hero
   Hides on scroll-down past the hero, returns on scroll-up.
   ================================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  background: transparent;
  transition: background 0.6s var(--ease), transform 0.4s var(--ease);
}

/* Hidden state — the nav slides up out of view, freeing the page */
.header--hidden {
  transform: translateY(-100%);
  pointer-events: none;
}

/* Subtle dark gradient that cradles the white nav against bright slides.
   Fades to transparent at the bottom of the header. */
.header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.5) 0%,
    rgba(0, 0, 0, 0.25) 55%,
    rgba(0, 0, 0, 0) 100%
  );
  z-index: -1;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.6s var(--ease);
}

.header.scrolled::before { opacity: 0; }

/* Subtle hairline that appears on scroll, framing the nav from the hero */
.header::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--divider);
  opacity: 0;
  transition: opacity 0.6s var(--ease);
  pointer-events: none;
  z-index: 1;
}

.header.scrolled::after { opacity: 1; }

.header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
}

/* Pages without a dark hero can opt into the scrolled header styling
   immediately so the chrome stays legible from first paint. */
.header--light {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
}

.header--light::before { opacity: 0; }
.header--light::after { opacity: 1; }

.nav-container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 5rem;
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 3.5rem;
  grid-column: 1;
  justify-self: start;
}

.nav-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.6rem;
  grid-column: 3;
  justify-self: end;
}

/* Menu trigger sits in the grid as its own column slot.
   Hidden on desktop, takes the left slot on mobile. */
.menu-trigger { display: none; }

/* ================================================================
   LOGO — The centerpoint. Image mark, inverted on hero for legibility.
   ================================================================ */
.logo {
  grid-column: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  position: relative;
  padding: 0.25rem 0.5rem;
  transition: opacity 0.3s ease;
}

.logo:hover { opacity: 0.88; }

.logo-img {
  display: block;
  height: 3.5rem;
  width: auto;
  /* The file is a black M. Invert to white so it reads on the dark hero,
     then flip back to black once the nav becomes a light scrolled bar. */
  filter: invert(1);
  transition: filter 0.6s var(--ease), transform 0.6s var(--ease);
}

.logo picture { display: block; line-height: 0; }

.header.scrolled .logo-img {
  filter: invert(0);
}

.header--light .logo-img {
  filter: invert(0);
}

.logo:hover .logo-img {
  transform: scale(1.04);
}

/* ================================================================
   NAV LINKS — Small, refined, thin center-out underline on hover
   ================================================================ */
.header .nav-link,
.header .cart-trigger,
.header .menu-trigger { color: rgba(255, 255, 255, 0.92); }
.header.scrolled .nav-link,
.header.scrolled .cart-trigger,
.header.scrolled .menu-trigger { color: var(--espresso); }

.header--light .nav-link,
.header--light .cart-trigger,
.header--light .menu-trigger { color: var(--espresso); }

/* When the mobile menu is open, the nav sits on top of the white
   menu overlay. Flip the logo, cart, and menu icon to black so they
   stay visible. The logo's filter is overridden directly; the cart
   and menu icon flip via the color cascade. */
.header.menu-open .logo-img { filter: invert(0); }
.header.menu-open .cart-trigger,
.header.menu-open .menu-trigger { color: var(--espresso); }
.header.menu-open .menu-trigger:hover { color: var(--burgundy); }

.nav-link {
  position: relative;
  font-size: 0.66rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  padding: 0.4rem 0;
  transition: opacity 0.3s var(--ease);
}

/* Thin center-out underline, soft opacity, matches the text color */
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0.1rem;
  left: 50%;
  width: calc(100% - 0.6rem);
  height: 1px;
  background: currentColor;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  transition: transform 0.5s var(--ease);
  opacity: 0.7;
}

.nav-link:hover { opacity: 0.75; }
.nav-link:hover::after { transform: translateX(-50%) scaleX(1); opacity: 1; }

/* ================================================================
   CART TRIGGER — Icon + count badge. No labels, pure icon.
   ================================================================ */
.cart-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem 0.25rem;
  transition: color 0.4s var(--ease);
}

.cart-trigger:hover { color: var(--burgundy); }
.cart-trigger:hover .cart-icon-svg { stroke: var(--burgundy); }

.cart-icon-svg {
  width: 1.2rem;
  height: 1.2rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.4s var(--ease), transform 0.5s var(--ease);
}

.cart-trigger:hover .cart-icon-svg { transform: translateY(-1px); }

/* ================================================================
   CART COUNT BADGE — Walnut-brown pill, hidden when the cart is empty.
   Designed as a package with the cart icon: tight spacing, soft glow,
   and a gentle fade + pop on state change.
   ================================================================ */
.cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--burgundy);
  color: var(--alabaster);
  border-radius: 100px;
  font-family: var(--sans);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  pointer-events: none;
  box-sizing: border-box;
}

.cart-count--visible {
  opacity: 1;
  pointer-events: auto;
}

/* Pop animation when items are added or changed */
@keyframes cartBump {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.35); }
  100% { transform: scale(1); }
}

.cart-count.bump {
  animation: cartBump 0.4s var(--ease-spring);
}
.cart-trigger .cart-count {
  min-width: 1.1rem;
  height: 1.1rem;
  padding: 0 0.38rem;
  font-size: 0.55rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.22);
}

/* ================================================================
   FLOATING CART — 48px ivory circle that appears once the full
   nav has been hidden. Top-right, subtle blur, walnut-brown badge.
   ================================================================ */
.floating-cart {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 600;
  width: 3rem; /* 48px */
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid rgba(17, 14, 13, 0.06);
  border-radius: 50%;
  color: var(--espresso);
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(17, 14, 13, 0.08), 0 1px 2px rgba(17, 14, 13, 0.04);
  opacity: 0;
  transform: scale(0.7) translateY(-6px);
  pointer-events: none;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease-spring), background 0.3s ease, color 0.3s ease;
}

.floating-cart--visible {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: auto;
}

.floating-cart:hover {
  background: rgba(255, 255, 255, 0.96);
  color: var(--burgundy);
}

.floating-cart:hover .cart-icon-svg { stroke: var(--burgundy); }

.floating-cart .cart-icon-svg {
  width: 1.15rem;
  height: 1.15rem;
  stroke-width: 1.4;
  transition: stroke 0.3s var(--ease), transform 0.4s var(--ease);
}

.floating-cart:hover .cart-icon-svg { transform: translateY(-1px); }

.floating-cart .cart-count {
  position: absolute;
  top: -0.15rem;
  right: -0.15rem;
  min-width: 1.05rem;
  height: 1.05rem;
  padding: 0 0.34rem;
  font-size: 0.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), 0 0 0 2px rgba(255, 255, 255, 0.5);
}

/* ================================================================
   MENU TRIGGER — Hamburger, mobile only
   ================================================================ */
.menu-trigger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem 0.25rem;
  width: 2rem;
  height: 2rem;
  position: relative;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 0.4rem;
  transition: color 0.4s var(--ease);
}

.menu-line {
  display: block;
  height: 1px;
  background: currentColor;
  width: 20px;
  transition: transform 0.45s var(--ease), width 0.45s var(--ease), opacity 0.3s ease;
}

.menu-line:nth-child(1) { width: 20px; }
.menu-line:nth-child(2) { width: 13px; }

.menu-trigger.open .menu-line:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
  width: 20px;
}
.menu-trigger.open .menu-line:nth-child(2) {
  transform: translateY(-4px) rotate(-45deg);
  width: 20px;
}

/* ================================================================
   MOBILE MENU — Full-screen overlay, minimal
   ================================================================ */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 490;
  background: var(--alabaster);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-2%);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
  overflow-y: auto;
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mobile-menu-inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 8rem 2rem 4rem;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
  width: 100%;
}

.mobile-link {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 9vw, 3.2rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--espresso);
  position: relative;
  padding: 0.25rem 0;
  transition: color 0.4s var(--ease), font-style 0.4s ease;
}

.mobile-link::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -0.1rem;
  width: 0.4rem;
  height: 1px;
  background: var(--burgundy);
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  transition: transform 0.5s var(--ease), width 0.5s var(--ease);
}

.mobile-link:hover,
.mobile-link:focus-visible {
  color: var(--burgundy);
  font-style: italic;
}

.mobile-link:hover::after,
.mobile-link:focus-visible::after {
  transform: translateX(-50%) scaleX(1);
  width: 1.5rem;
}

/* ================================================================
   HERO — Fullscreen Slideshow
   ================================================================ */
.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #000;
}

/* Slides */
.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-image: var(--slide-bg);
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero-slide.active {
  opacity: 1;
}

/* Bottom-only overlay — the header now carries the top gradient for
   nav legibility, so the hero imagery stays the focus. A subtle darken
   at the bottom keeps the slide indicators and scroll cue readable. */
.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0) 60%,
    rgba(0, 0, 0, 0.28) 100%
  );
  pointer-events: none;
}

/* Slide navigation indicators */
.hero-dots {
  position: absolute;
  bottom: 2.5rem;
  left: 2.5rem;
  display: flex;
  flex-direction: row;
  gap: 1.5rem;
  z-index: 10;
}

.hero-dot {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: rgba(255, 255, 255, 0.35);
  transition: color 0.4s var(--ease);
  font-family: var(--sans);
  text-align: left;
}

.hero-dot .dot-num {
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  margin-bottom: 0.35rem;
  transition: transform 0.4s var(--ease);
}

.hero-dot .dot-line {
  position: relative;
  width: 40px;
  height: 1.5px;
  background: rgba(255, 255, 255, 0.18);
  transition: width 0.4s var(--ease), background 0.4s var(--ease);
  overflow: hidden;
}

/* Hover state */
.hero-dot:hover {
  color: rgba(255, 255, 255, 0.8);
}
.hero-dot:hover .dot-line {
  background: rgba(255, 255, 255, 0.35);
}

/* Active state styling */
.hero-dot.active {
  color: #ffffff;
}

.hero-dot.active .dot-line {
  background: rgba(255, 255, 255, 0.18);
  width: 60px; /* Elegant stretch to focus active item */
}

.hero-dot.active .dot-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: #ffffff;
  transform-origin: left;
  animation: slideProgress 5s linear forwards;
}

@keyframes slideProgress {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  right: 2.5rem;
  z-index: 10;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 0;
  border: 0;
  background: transparent;
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: rgba(255,255,255,0.4);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  transform: translateY(-100%);
  animation: scrollFlow 2s cubic-bezier(0.4, 0, 0.2, 1) 1.5s infinite;
}

@keyframes scrollFlow {
  0%   { transform: translateY(-100%); }
  50%, 100% { transform: translateY(100%); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ================================================================
   COLLECTION / PRODUCTS SECTION — Clean Luxury Catalogue
   ================================================================ */
#products {
  background: var(--ivory);
  padding: 7.5rem 0 6rem;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.section-eyebrow {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: var(--burgundy);
  display: block;
  margin-bottom: 1.4rem;
  font-weight: 500;
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5vw, 3.875rem);
  font-weight: 400;
  color: var(--espresso);
  letter-spacing: -0.015em;
  line-height: 1.05;
}

.section-title em {
  font-style: italic;
  color: var(--burgundy);
  font-weight: 500;
}

.section-subtitle {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--taupe);
  font-weight: 300;
  max-width: 540px;
  margin: 1.4rem auto 0;
  letter-spacing: 0.01em;
}

/* ================================================================
   FILTER TABS
   ================================================================ */
.filter-wrapper {
  margin-bottom: 3rem;
}

.filter-container {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.filter-container::-webkit-scrollbar { display: none; }

.filter-btn {
  background: transparent;
  border: 1px solid var(--border);
  padding: 0.5rem 1.4rem;
  font-size: 0.62rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--mid);
  cursor: pointer;
  border-radius: 100px;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
}

.filter-btn:hover {
  border-color: var(--rose);
  color: var(--rose);
  background: var(--petal);
}

.filter-btn.active {
  background: var(--rose);
  border-color: var(--rose);
  color: #fff;
  font-weight: 500;
}

/* ================================================================
   PRODUCT GRID — Three equal columns, aligned, no stagger
   ================================================================ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 2.5rem;
  row-gap: 5.5rem;
  padding: 0;
  align-items: stretch;
}

/* ================================================================
   PRODUCT CARD — Clean, aligned, equal-height catalogue tiles
   ================================================================ */
.product-card {
  display: flex;
  flex-direction: column;
  background: transparent;
  border-radius: 0;
  overflow: visible;
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-6px);
}

.product-img-wrapper {
  position: relative;
  width: 100%;
  /* 4:5 image ratio for consistent tile heights */
  padding-bottom: 125%;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.03);
  margin-bottom: 1.4rem;
}

.product-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.9s var(--ease);
}

.product-card:hover .product-img {
  transform: scale(1.04);
}

/* Product badge */
.product-tag {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  background: var(--alabaster);
  color: var(--burgundy);
  font-size: 0.55rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  z-index: 2;
}

/* Product info — name, price, add-to-bag stacked tightly */
.product-info {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: transparent;
  padding: 0;
  text-align: left;
}

.product-title {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 400;
  color: var(--espresso);
  line-height: 1.25;
  margin-bottom: 0.55rem;
  letter-spacing: 0.005em;
  transition: color 0.4s ease;
}

.product-card:hover .product-title { color: var(--burgundy); }

.product-desc {
  /* Hidden in catalogue grid — descriptions live on the product page */
  display: none;
}

.product-price {
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--espresso);
  letter-spacing: 0.04em;
  margin-bottom: 0.85rem;
  display: inline-flex;
  align-items: baseline;
  gap: 0.3rem;
}

.product-price .currency {
  font-size: 0.7rem;
  color: var(--taupe);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-card-btn {
  background: none;
  border: none;
  padding: 0;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  cursor: pointer;
  color: var(--espresso);
  transition: color 0.3s ease;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.product-card-btn::before {
  content: '';
  width: 1.1rem;
  height: 1px;
  background: currentColor;
  transition: width 0.4s var(--ease);
}

.product-card-btn::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 1.55rem;
  right: 0;
  height: 1px;
  background: var(--burgundy);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}

.product-card-btn:hover {
  color: var(--burgundy);
}

.product-card-btn:hover::before {
  width: 1.6rem;
}

.product-card-btn:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.out-of-stock-badge {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--taupe);
  font-weight: 500;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.18s; }
.reveal-delay-3 { transition-delay: 0.26s; }

/* ================================================================
   CART DRAWER
   ================================================================ */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(3px);
  z-index: 900;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.cart-overlay.active { opacity: 1; pointer-events: auto; }

.cart-drawer {
  position: fixed;
  top: 0;
  right: -500px;
  width: 100%;
  max-width: 460px;
  height: 100vh;
  background: var(--ivory);
  z-index: 1000;
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: right 0.45s var(--ease);
  box-shadow: -8px 0 48px rgba(0, 0, 0, 0.08);
}

.cart-drawer.active { right: 0; }

.cart-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--petal);
}

.cart-header h2 {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--charcoal);
}

.cart-close-btn {
  background: none;
  border: 1px solid var(--border);
  cursor: pointer;
  padding: 0.35rem;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.25s ease;
}

.cart-close-btn:hover {
  background: var(--rose);
  border-color: var(--rose);
}

.cart-close-btn:hover .cart-close-svg { stroke: #fff; }

.cart-close-svg {
  width: 1rem;
  height: 1rem;
  stroke: var(--mid);
  stroke-width: 1.5;
  fill: none;
  transition: stroke 0.25s ease;
}

.cart-body {
  flex-grow: 1;
  overflow-y: auto;
  padding: 1.5rem 2rem;
  display: flex;
  flex-direction: column;
}

.cart-body::-webkit-scrollbar { width: 3px; }
.cart-body::-webkit-scrollbar-track { background: transparent; }
.cart-body::-webkit-scrollbar-thumb { background: var(--blush); border-radius: 2px; }

.cart-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-grow: 1;
  text-align: center;
  gap: 1rem;
}

.cart-empty-state svg {
  width: 2.5rem;
  height: 2.5rem;
  stroke: var(--blush);
  stroke-width: 1.2;
  fill: none;
}

.cart-empty-state p {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--taupe);
}

.cart-items-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.cart-item {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-soft);
}

.cart-item:last-child { border-bottom: none; }

.cart-item-img {
  width: 5rem;
  height: 6.5rem;
  object-fit: cover;
  object-position: top;
  background: var(--petal);
  flex-shrink: 0;
  border-radius: 1px;
}

.cart-item-details { flex-grow: 1; }

.cart-item-title {
  font-family: var(--serif);
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 0.2rem;
  color: var(--charcoal);
}

.cart-item-price {
  font-size: 0.8rem;
  color: var(--rose-deep);
  margin-bottom: 0.65rem;
  font-family: var(--serif);
}

.cart-item-qty-actions {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 100px;
  overflow: hidden;
}

.qty-btn {
  width: 1.75rem;
  height: 1.75rem;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--charcoal);
  transition: all 0.2s ease;
}

.qty-btn:hover { background: var(--rose); color: #fff; }

.qty-num {
  font-size: 0.78rem;
  width: 1.75rem;
  text-align: center;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  line-height: 1.75rem;
  color: var(--charcoal);
}

.cart-item-remove {
  background: none;
  border: none;
  color: var(--taupe);
  cursor: pointer;
  font-size: 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  transition: color 0.2s;
  flex-shrink: 0;
  padding: 0;
}

.cart-item-remove:hover { color: var(--rose-deep); }

/* ================================================================
   CHECKOUT (inside cart)
   ================================================================ */
.checkout-section {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  margin-top: auto;
}

.cart-summary {
  background: var(--petal);
  padding: 1rem 1.25rem;
  margin-bottom: 1.25rem;
  border-radius: 2px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--mid);
  padding: 0.3rem 0;
}

.summary-row.total-row {
  border-top: 1px solid var(--blush);
  margin-top: 0.5rem;
  padding-top: 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--charcoal);
  font-family: var(--serif);
}

.checkout-form-container { display: none; }
.checkout-form-container.active { display: block; }

/* ================================================================
   BUTTONS
   ================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  font-size: 0.62rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  border-radius: 0;
}

.btn-primary {
  background: var(--charcoal);
  color: #fff;
  border-color: var(--charcoal);
}

.btn-primary:hover {
  background: var(--rose-deep);
  border-color: var(--rose-deep);
}

.btn-secondary {
  background: transparent;
  color: var(--mid);
  border-color: var(--border);
}

.btn-secondary:hover {
  background: var(--petal);
  border-color: var(--rose);
  color: var(--rose);
}

.btn-accent {
  background: var(--rose);
  color: #fff;
  border-color: var(--rose);
}

.btn-accent:hover {
  background: var(--rose-deep);
  border-color: var(--rose-deep);
  box-shadow: 0 4px 20px rgba(17, 14, 13, 0.15);
}

.checkout-btn { width: 100%; justify-content: center; margin-bottom: 0.5rem; }

/* ================================================================
   FORMS
   ================================================================ */
.form-group { margin-bottom: 1rem; }

.form-group label,
.form-label {
  display: block;
  font-size: 0.6rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.35rem;
  color: var(--mid);
}

.form-control {
  width: 100%;
  padding: 0.7rem 0.9rem;
  background: #fff;
  border: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--charcoal);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  border-radius: 1px;
}

.form-control:focus {
  border-color: var(--rose);
  box-shadow: 0 0 0 3px rgba(116, 24, 48, 0.18);
}

.checkout-delivery-note {
  margin: 0.2rem 0 1.1rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--border);
  background: rgba(116, 24, 48, 0.06);
  color: var(--mid);
  font-size: 0.72rem;
  line-height: 1.5;
}

/* ================================================================
   EMBROIDERY FORM PAGE
   ================================================================ */
.form-page {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.42) 0%, rgba(255, 255, 255, 0) 34%),
    var(--ivory);
  color: var(--charcoal);
  padding: 9rem 0 6rem;
}

.form-page__intro {
  max-width: 1120px;
  text-align: left;
  margin: 0 auto 2.6rem;
}

.form-page__title {
  font-family: var(--sans);
  font-size: clamp(2.1rem, 3.4vw, 3.1rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: 0;
  color: var(--espresso);
}

.form-page__subtitle {
  max-width: 620px;
  margin: 1rem 0 0;
  color: var(--taupe);
  font-size: 0.92rem;
  line-height: 1.65;
  font-weight: 400;
}

.form-page__body {
  display: block;
}

.form-delivery {
  margin-top: 0.2rem;
  padding: 0;
  border: 0;
  background: transparent;
}

.form-delivery span {
  display: block;
  color: var(--burgundy);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.form-delivery p {
  color: var(--mid);
  font-size: 0.8rem;
  line-height: 1.6;
}

.form-shell {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.form-section {
  border-top: 1px solid var(--border-soft);
  padding: 1.65rem 0;
  margin-top: 0;
}

.form-section:first-child {
  border-top: 0;
}

.form-section__title {
  font-family: var(--sans);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--charcoal);
  letter-spacing: 0;
  margin-bottom: 1.05rem;
}

.form-section__note,
.form-help {
  display: block;
  color: var(--color-text-muted);
  font-size: 0.72rem;
  line-height: 1.55;
}

.form-section__note {
  margin: -0.35rem 0 1rem;
}

.form-help {
  margin-top: 0.3rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.chip-group {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.chip-option {
  display: block;
  cursor: pointer;
}

.chip-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.chip-option__content {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(0, 0, 0, 0.18);
  background: transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.chip-option__content strong {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--charcoal);
}

.chip-option__content span {
  font-size: 0.74rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.chip-option:hover .chip-option__content,
.chip-option.is-selected .chip-option__content,
.chip-option input:focus-visible + .chip-option__content {
  border-color: var(--rose);
  box-shadow: 0 0 0 3px rgba(116, 24, 48, 0.12);
  background: rgba(116, 24, 48, 0.04);
}

.neckline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(11.25rem, 1fr));
  gap: 0.85rem;
}

.neckline-grid__status {
  grid-column: 1 / -1;
  padding: 1rem;
  color: var(--taupe);
  font-size: 0.82rem;
  line-height: 1.6;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.48);
}

.neckline-option {
  display: block;
  cursor: pointer;
}

.neckline-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.neckline-option__content {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0, 0, 0, 0.16);
  background: rgba(255, 255, 255, 0.4);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.neckline-option__content img,
.neckline-option__placeholder {
  width: 100%;
  aspect-ratio: 4 / 5;
  display: block;
  background: rgba(116, 24, 48, 0.055);
}

.neckline-option__content img {
  object-fit: cover;
}

.neckline-option__placeholder {
  display: grid;
  place-items: center;
  color: var(--taupe);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.neckline-option__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.28rem;
  padding: 0.85rem;
}

.neckline-option__body strong {
  color: var(--charcoal);
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.35;
}

.neckline-option__body span {
  color: var(--color-text-muted);
  font-size: 0.72rem;
  line-height: 1.55;
}

.neckline-option:hover .neckline-option__content,
.neckline-option.is-selected .neckline-option__content,
.neckline-option input:focus-visible + .neckline-option__content {
  border-color: var(--rose);
  box-shadow: 0 0 0 3px rgba(116, 24, 48, 0.12), 0 16px 34px rgba(0, 0, 0, 0.06);
  background: rgba(116, 24, 48, 0.04);
}

.form-group--phone {
  margin-top: 1rem;
}

.phone-input {
  display: flex;
  align-items: stretch;
  flex-wrap: nowrap;
  gap: 0.8rem;
}

.phone-input__country {
  flex: 0 0 18rem;
  min-width: 0;
}

.phone-input__number {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
}

.iti {
  width: 100%;
}

.phone-input__helper-wrap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.iti__country-list {
  max-height: 18rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.form-page .form-control {
  min-height: 3.05rem;
  padding: 0.86rem 0.95rem;
  background: transparent;
  border-color: rgba(0, 0, 0, 0.18);
  border-radius: 0;
}

.form-page textarea.form-control {
  min-height: 7rem;
  resize: vertical;
}

.file-upload__input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.file-upload {
  position: relative;
}

.file-upload__dropzone {
  width: 100%;
  min-height: 5.2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
  padding: 1rem 1.05rem;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  text-transform: none;
  letter-spacing: 0;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.file-upload__dropzone:hover,
.file-upload__input:focus + .file-upload__dropzone {
  border-color: rgba(116, 24, 48, 0.45);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 0 0 3px rgba(116, 24, 48, 0.06);
}

.file-upload__title {
  display: block;
  color: var(--espresso);
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0;
}

.file-upload__meta {
  display: block;
  color: var(--taupe);
  font-size: 0.75rem;
  line-height: 1.45;
  letter-spacing: 0;
  text-transform: none;
}

.agreement-box {
  max-height: 260px;
  overflow-y: auto;
  padding: 0.2rem 0 0;
  border: 0;
  background: transparent;
  color: var(--color-text-muted);
  font-size: 0.78rem;
  line-height: 1.65;
}

.agreement-box p {
  color: var(--color-text);
  font-weight: 500;
  margin-bottom: 0.7rem;
}

.agreement-box ol {
  list-style: decimal;
  padding-left: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.agreement-check {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin-top: 0.9rem;
  padding: 0.9rem 0 0;
  border-top: 1px solid var(--border-soft);
  background: transparent;
  color: var(--color-text);
  font-size: 0.8rem;
  line-height: 1.5;
  cursor: pointer;
}

.agreement-check input {
  margin-top: 0.2rem;
}

.form-actions {
  margin-top: 0.4rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.form-actions .btn {
  min-height: 3.15rem;
  padding-left: 2.2rem;
  padding-right: 2.2rem;
}

.form-status {
  color: var(--color-text-muted);
  font-size: 0.78rem;
  line-height: 1.5;
  flex: 1;
  min-width: 220px;
}

.form-status.is-error {
  color: var(--color-danger);
}

.form-success {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 4rem 1.5rem 3.5rem;
  text-align: center;
  outline: 0;
}

.form-success__mark {
  width: 6.25rem;
  height: 6.25rem;
  margin: 0 auto 1.45rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(116, 24, 48, 0.24);
  border-radius: 50%;
  background: rgba(116, 24, 48, 0.07);
  color: var(--burgundy);
}

.form-success__mark svg {
  width: 3.45rem;
  height: 3.45rem;
}

.form-success__mark path {
  fill: none;
  stroke: currentColor;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.form-success__eyebrow {
  color: var(--burgundy);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin-bottom: 0.65rem;
}

.form-success__title {
  max-width: 620px;
  margin: 0 auto;
  color: var(--espresso);
  font-family: var(--sans);
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: 0;
}

.form-success__message {
  max-width: 580px;
  margin: 1rem auto 0;
  color: var(--taupe);
  font-size: 0.95rem;
  line-height: 1.7;
}

.form-success__next {
  max-width: 560px;
  margin: 2rem auto 0;
  padding-top: 1.35rem;
  border-top: 1px solid var(--border-soft);
  text-align: left;
}

.form-success__next span {
  display: block;
  color: var(--burgundy);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
}

.form-success__next p {
  color: var(--mid);
  font-size: 0.82rem;
  line-height: 1.65;
}

.form-success__actions {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.form-success__actions .btn {
  min-height: 3.05rem;
}

/* ================================================================
   FOOTER — Cinematic Editorial
   ================================================================ */

.mbm-footer {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background:
    linear-gradient(180deg, rgba(116, 24, 48, 0.98) 0%, rgba(88, 17, 38, 1) 100%);
  min-height: 420px;
}

/* Main content row */
.mbm-footer__main {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  padding: 3rem 2.5rem 1.75rem;
  display: flex;
  align-items: center;
  gap: 2.5rem;
  min-height: 340px;
}

/* Brand */
.mbm-footer__brand {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-shrink: 0;
}

.mbm-footer__mark {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: opacity 0.4s var(--ease);
  line-height: 0;
}

.mbm-footer__mark img {
  display: block;
  height: clamp(3.4rem, 5.5vw, 5rem);
  width: auto;
  filter: brightness(0) invert(1) sepia(0.18) saturate(0.65) hue-rotate(316deg) brightness(1.02);
}

.mbm-footer__mark:hover {
  opacity: 0.8;
}

.mbm-footer__brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.mbm-footer__arabic {
  font-family: 'Noto Naskh Arabic', 'Traditional Arabic', 'Arabic Typesetting', var(--serif);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.4;
  color: #ffffff;
  margin: 0;
}

.mbm-footer__tagline {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 400;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.74);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0;
}

/* Nav columns */
.mbm-footer__nav {
  display: flex;
  gap: 3rem;
  flex: 1;
  justify-content: center;
}

.mbm-footer__nav-col {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.mbm-footer__nav-col a {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.84);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s var(--ease);
  display: inline-block;
  width: fit-content;
}

.mbm-footer__nav-col a:hover {
  color: #ffffff;
  transform: translateX(3px);
}

/* Right cluster: social + contact */
.mbm-footer__right {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-shrink: 0;
}

.mbm-footer__social {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.mbm-footer__social-label {
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.62);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin: 0;
}

.mbm-footer__social-icons {
  display: flex;
  gap: 0.85rem;
  align-items: center;
}

.mbm-footer__social-icons a {
  color: rgba(255, 255, 255, 0.78);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease, transform 0.3s var(--ease);
}

.mbm-footer__social-icons a:hover {
  color: #ffffff;
  transform: translateY(-2px);
}

.mbm-footer__sep {
  width: 1px;
  height: 2.6rem;
  background: rgba(255, 255, 255, 0.18);
}

.mbm-footer__contact {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  align-items: flex-end;
}

.mbm-footer__contact a {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.84);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.3s ease;
}

.mbm-footer__contact a:hover {
  color: #ffffff;
}

/* Bottom strip */
.mbm-footer__bottom {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  padding: 1.25rem 2.5rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-family: var(--sans);
  font-size: 0.6rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.62);
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.mbm-footer__bottom p {
  margin: 0;
}

.mbm-footer__legal {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.mbm-footer__legal a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.mbm-footer__legal a:hover {
  color: rgba(255, 255, 255, 0.95);
}

.mbm-footer__legal-sep {
  color: rgba(255, 255, 255, 0.32);
}

/* Responsive */
@media (max-width: 1100px) {
  .mbm-footer__nav {
    gap: 2rem;
  }
  .mbm-footer__right {
    gap: 1.5rem;
  }
}

@media (max-width: 900px) {
  .mbm-footer__main {
    flex-wrap: wrap;
    gap: 2rem 2.5rem;
    padding: 2.5rem 2rem 1.5rem;
  }
  .mbm-footer__nav {
    order: 3;
    flex-basis: 100%;
    justify-content: flex-start;
  }
  .mbm-footer__right {
    margin-left: auto;
  }
}

@media (max-width: 768px) {
  .mbm-footer { min-height: 0; }
  /* Mobile: brand gets the full width on row 1 so the logo and bilingual
     text have room to breathe. Row 2 stays balanced: nav left, social +
     contact right. */
  .mbm-footer__main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    align-items: start;
    gap: 2rem 1.5rem;
    padding: 2.5rem 1.5rem 1.5rem;
  }
  .mbm-footer__brand {
    grid-column: 1 / -1;
    grid-row: 1;
    gap: 1.25rem;
  }
  .mbm-footer__nav {
    grid-column: 1;
    grid-row: 2;
    flex-direction: column;
    gap: 1.5rem;
  }
  .mbm-footer__right {
    grid-column: 2;
    grid-row: 2;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1.5rem;
    margin-left: 0;
  }
  .mbm-footer__sep {
    display: none;
  }
  .mbm-footer__social {
    align-items: flex-end;
  }
  .mbm-footer__contact {
    align-items: flex-end;
  }
  /* Tighten the tagline on small screens so it sits on one line. */
  .mbm-footer__tagline {
    font-size: 0.6rem;
    letter-spacing: 0.12em;
  }
  .mbm-footer__bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.6rem;
    padding: 1.1rem 1.5rem 1.4rem;
  }
}

/* ================================================================
   TOAST
   ================================================================ */
.toast-container {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  pointer-events: none;
}

.toast {
  background: var(--charcoal);
  color: #fff;
  border-radius: 100px;
  padding: 0.65rem 1.5rem;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  white-space: nowrap;
  animation: toastIn 0.35s var(--ease) forwards;
}

.toast.hide { animation: toastOut 0.3s var(--ease) forwards; }

@keyframes toastIn  {
  from { opacity: 0; transform: translateY(12px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes toastOut {
  from { opacity: 1; transform: translateY(0) scale(1); }
  to   { opacity: 0; transform: translateY(8px) scale(0.97); }
}

/* ================================================================
   STATUS PAGES (checkout-success / cancel)
   ================================================================ */
.checkout-status-section {
  padding: 7rem 0 5rem;
  text-align: center;
  min-height: 70vh;
  display: flex;
  align-items: center;
  background: var(--ivory);
}

.status-card {
  max-width: 640px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.status-icon {
  width: 4.5rem;
  height: 4.5rem;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
}

.status-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  stroke: var(--rose);
  stroke-width: 1.5;
  fill: none;
}

.status-icon.success { border-color: rgba(0, 0, 0, 0.3); }
.status-icon.success svg { stroke: var(--burgundy); }
.status-icon.cancel  { border-color: rgba(0, 0, 0, 0.3); }
.status-icon.cancel svg { stroke: var(--burgundy); }

.status-card h1 {
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.status-card p {
  font-size: 0.85rem;
  color: var(--mid);
  margin-bottom: 2rem;
  line-height: 1.75;
}

.order-details-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  margin-bottom: 2rem;
  font-size: 0.82rem;
}

.order-details-table th,
.order-details-table td {
  padding: 0.65rem 0.5rem;
  border-bottom: 1px solid var(--border);
}

.order-details-table th {
  font-size: 0.6rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--taupe);
}

/* ================================================================
   MOCK CHECKOUT
   ================================================================ */
.mock-checkout-body {
  background: var(--petal);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

.mock-checkout-card {
  background: #fff;
  width: 100%;
  max-width: 420px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-hover);
}

.mock-header {
  background: var(--petal);
  border-bottom: 1px solid var(--blush);
  padding: 1.75rem;
  text-align: center;
}

.mock-logo {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--charcoal);
  display: block;
  margin-bottom: 0.25rem;
}

.mock-merchant {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--taupe);
}

.mock-amount-box {
  padding: 1.5rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
  background: var(--cream);
}

.mock-amount-title {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--taupe);
  margin-bottom: 0.4rem;
}

.mock-amount-val {
  font-family: var(--serif);
  font-size: 2.8rem;
  font-weight: 500;
  color: var(--charcoal);
}

.mock-amount-val span { font-size: 1.1rem; }

.mock-form-body { padding: 1.5rem; }
.mock-form-body .form-group { margin-bottom: 1rem; }

.mock-form-body label {
  display: block;
  font-size: 0.6rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--mid);
  margin-bottom: 0.35rem;
}

.mock-form-body input {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--charcoal);
  background: transparent;
  transition: border-color 0.25s ease;
}

.mock-form-body input:focus {
  outline: none;
  border-color: var(--rose);
}

.mock-form-footer {
  padding: 0 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.mock-pay-btn {
  width: 100%;
  padding: 0.9rem;
  background: var(--rose);
  color: #fff;
  border: none;
  font-size: 0.65rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  cursor: pointer;
  transition: background 0.25s ease;
}

.mock-pay-btn:hover { background: var(--rose-deep); }

.mock-cancel-btn {
  width: 100%;
  padding: 0.75rem;
  background: transparent;
  color: var(--taupe);
  border: 1px solid var(--border);
  font-size: 0.62rem;
  cursor: pointer;
  transition: all 0.25s ease;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.mock-cancel-btn:hover { border-color: var(--rose); color: var(--rose); }

.mock-security-note {
  text-align: center;
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--taupe);
  padding: 0 1.5rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

/* ================================================================
   UTILITIES
   ================================================================ */
.d-flex { display: flex; }
.text-center { text-align: center; }

/* Loading spinner */
@keyframes spinLoad {
  to { transform: rotate(360deg); }
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 2rem;
    row-gap: 4rem;
  }
}

@media (max-width: 768px) {
  .container { padding: 0 1.5rem; }

  /* Switch to flexbox on mobile — simpler and more predictable for a
     3-element layout (menu | logo | cart) than the desktop grid. */
  .nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4.5rem;
    gap: 0;
    position: relative;
  }
  .logo-img { height: 2.4rem; }
  .nav-left { display: none; }

  /* Logo is absolutely centered in the nav — guaranteed symmetry
     regardless of the menu/cart widths. */
  .logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }

  .menu-trigger {
    display: flex;
    align-items: center;
    padding: 0.75rem 0.25rem;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
  }

  .nav-right {
    gap: 1.1rem;
    flex-shrink: 0;
  }

  /* On mobile, keep the full nav always visible so the menu and cart
     stay accessible. The hide-on-scroll-down pattern is desktop-only. */
  .header--hidden {
    transform: none;
    pointer-events: auto;
  }
  .floating-cart { display: none; }

  .hero-scroll-indicator { display: none; }
  .hero-dots {
    right: auto;
    left: 1.5rem;
    bottom: 1.5rem;
    gap: 0.75rem;
  }
  .hero-dot .dot-line {
    width: 20px;
  }
  .hero-dot.active .dot-line {
    width: 35px;
  }
  .hero-dot .dot-num {
    font-size: 0.55rem;
    margin-bottom: 0.25rem;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 1.25rem;
    row-gap: 2.75rem;
  }
  .product-info { padding: 0; }
  .product-title { font-size: 1.2rem; }

  #products { padding: 4.5rem 0 4rem; }
  .section-header { margin-bottom: 2.5rem; }
  .section-title { font-size: clamp(2.2rem, 8vw, 2.8rem); }
  .section-eyebrow { letter-spacing: 0.28em; }

  .form-page {
    padding: 7rem 0 4rem;
  }

  .form-page__intro {
    margin-bottom: 2.4rem;
  }

  .form-page__subtitle {
    font-size: 0.88rem;
    line-height: 1.65;
  }

  .form-shell {
    padding: 0 1.4rem 1.4rem;
  }

  .form-section {
    padding: 1.35rem 0;
  }

  .form-success {
    padding: 3rem 1.2rem 2.75rem;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .phone-input {
    flex-direction: column;
  }

  .iti__country-list {
    max-height: 15rem;
  }
}

@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: 1fr;
    row-gap: 2.75rem;
  }
  .product-title { font-size: 1.3rem; }
  .cart-drawer { max-width: 100%; }
  .checkout-form-container .d-flex {
    flex-direction: column;
    gap: 0 !important;
  }
  .checkout-form-container .d-flex .form-group {
    width: 100% !important;
  }
  .form-actions .btn {
    width: 100%;
  }
  .form-success {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .form-success__mark {
    width: 5.4rem;
    height: 5.4rem;
  }
  .form-success__title {
    font-size: 2.2rem;
  }
  .form-success__actions {
    align-items: stretch;
    flex-direction: column;
  }
  .form-success__actions .btn {
    width: 100%;
  }
  .form-page {
    padding-top: 6.25rem;
  }
  .form-page__intro {
    text-align: left;
  }
  .form-page__title {
    font-size: 2.55rem;
  }
  .form-shell {
    padding: 0 1rem 1.15rem;
  }
  .form-section {
    padding: 1.2rem 0;
  }
}

/* ================================================================
   PRODUCT DETAIL PAGE
   Editorial split. Gallery (left, ~60%) and details (right, ~40%).
   Sticky details on desktop; stacked on mobile with the image first.
   ================================================================ */
.pdp {
  background: var(--ivory);
  color: var(--charcoal);
  padding-top: 5rem; /* clears the fixed header */
}

/* ---- Loading skeleton ---- */
.pdp__loading { padding: 3.5rem 0 6rem; }

.pdp__skeleton-row {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 4rem;
  align-items: start;
}

.pdp__skeleton-img {
  width: 100%;
  aspect-ratio: 4 / 5;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.04) 0%,
    rgba(0, 0, 0, 0.08) 50%,
    rgba(0, 0, 0, 0.04) 100%
  );
  background-size: 200% 100%;
  animation: pdpShimmer 1.6s ease-in-out infinite;
}

.pdp__skeleton-details { display: flex; flex-direction: column; gap: 1rem; padding-top: 0.5rem; }
.pdp__skeleton-line {
  height: 0.85rem;
  width: 100%;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.04) 0%,
    rgba(0, 0, 0, 0.08) 50%,
    rgba(0, 0, 0, 0.04) 100%
  );
  background-size: 200% 100%;
  animation: pdpShimmer 1.6s ease-in-out infinite;
}
.pdp__skeleton-line--eyebrow { width: 6rem; height: 0.65rem; }
.pdp__skeleton-line--title  { width: 80%; height: 2.6rem; }
.pdp__skeleton-line--price  { width: 6rem; height: 1.1rem; margin-bottom: 0.75rem; }
.pdp__skeleton-line--short  { width: 55%; }

@keyframes pdpShimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ---- Breadcrumb ---- */
.pdp__breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  padding-top: 1.75rem;
  padding-bottom: 1.75rem;
  font-family: var(--sans);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--taupe);
}

.pdp__breadcrumb a {
  color: var(--taupe);
  text-decoration: none;
  transition: color 0.3s var(--ease);
}

.pdp__breadcrumb a:hover { color: var(--burgundy); }

.pdp__crumb-sep {
  color: var(--divider);
  font-weight: 300;
}

.pdp__crumb-current {
  color: var(--espresso);
  font-weight: 500;
  max-width: 22ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---- Hero: gallery + details ---- */
.pdp__hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 4rem;
  align-items: start;
  padding-bottom: 6rem;
}

/* Gallery */
.pdp__gallery {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
}

.pdp__gallery-main { position: relative; }

.pdp__gallery-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  background:
    radial-gradient(ellipse at 50% 35%, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0) 60%),
    rgba(0, 0, 0, 0.025);
  overflow: hidden;
  /* Soft inset hairline so the image sits in a refined "frame" */
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.05),
    0 30px 80px -40px rgba(0, 0, 0, 0.18);
}

.pdp__hero-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  /* Signature: a slow, almost imperceptible Ken Burns on the hero image.
     Disabled when the user has reduced motion enabled. */
  animation: pdpKenBurns 18s var(--ease) both;
  transform-origin: 55% 45%;
}

@keyframes pdpKenBurns {
  0%   { transform: scale(1.02) translate(0, 0); }
  100% { transform: scale(1.08) translate(-1.2%, -1.2%); }
}

@media (prefers-reduced-motion: reduce) {
  .pdp__hero-img { animation: none; }
}

/* "Piece No." — quiet museum tag in the corner of the gallery */
.pdp__piece-tag {
  position: absolute;
  top: 1.1rem;
  left: 1.1rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.75rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 0, 0, 0.06);
  font-family: var(--sans);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--burgundy);
  border-radius: 100px;
}

.pdp__piece-tag::before {
  content: '';
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--burgundy);
  display: inline-block;
}

/* Thumbnails */
.pdp__gallery-thumbs {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.pdp__thumb {
  position: relative;
  width: 5.25rem;
  height: 6.5rem;
  padding: 0;
  border: 1px solid var(--divider);
  background: rgba(0, 0, 0, 0.025);
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.3s var(--ease), transform 0.4s var(--ease);
  border-radius: 0;
}

.pdp__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.7;
  transition: opacity 0.3s var(--ease);
}

.pdp__thumb:hover { border-color: var(--taupe); }
.pdp__thumb:hover img { opacity: 0.9; }

.pdp__thumb.is-active {
  border-color: var(--burgundy);
  border-width: 1px;
}
.pdp__thumb.is-active img { opacity: 1; }

/* ---- Details column ---- */
.pdp__details {
  position: relative;
}

.pdp__details-inner {
  position: sticky;
  top: 6.5rem; /* clears the fixed header */
  padding-top: 0.25rem;
}

.pdp__eyebrow {
  display: block;
  font-family: var(--sans);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--burgundy);
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.pdp__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.4rem, 4.4vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--espresso);
  margin: 0 0 1.5rem;
}

.pdp__price {
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
  margin-bottom: 2.25rem;
  padding-bottom: 2.25rem;
  border-bottom: 1px solid var(--divider);
  width: 100%;
  font-family: var(--sans);
}

.pdp__price-currency {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--taupe);
  font-weight: 400;
}

.pdp__price-amount {
  font-family: var(--serif);
  font-size: 1.55rem;
  color: var(--espresso);
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* Pull quote — the editorial signature */
.pdp__pullquote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.15rem;
  line-height: 1.55;
  color: var(--espresso);
  margin: 0 0 1.5rem;
  padding: 0 0 0 1.25rem;
  border-left: 1px solid var(--burgundy);
  letter-spacing: 0.005em;
}

.pdp__description {
  font-family: var(--sans);
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--mid);
  font-weight: 400;
  margin-bottom: 2.5rem;
}

.pdp__description p { margin: 0; }

/* Actions: qty + add to bag */
.pdp__actions {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.pdp__qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  height: 3rem;
  background: transparent;
  border-radius: 100px;
  padding: 0 0.25rem;
  user-select: none;
}

.pdp__qty-btn {
  width: 2.25rem;
  height: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--espresso);
  transition: color 0.25s var(--ease);
}

.pdp__qty-btn:hover { color: var(--burgundy); }

.pdp__qty-val {
  min-width: 1.5rem;
  text-align: center;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--espresso);
}

/* Primary CTA */
.pdp__add-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  height: 3rem;
  padding: 0 1.5rem;
  background: var(--espresso);
  color: var(--alabaster);
  border: 1px solid var(--espresso);
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  cursor: pointer;
  border-radius: 100px;
  transition:
    background 0.3s var(--ease),
    color 0.3s var(--ease),
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
  overflow: hidden;
}

.pdp__add-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--burgundy);
  transform: translateX(-101%);
  transition: transform 0.45s var(--ease);
  z-index: 0;
}

.pdp__add-btn > * { position: relative; z-index: 1; }

.pdp__add-btn svg {
  width: 1rem;
  height: 1rem;
  transition: transform 0.4s var(--ease);
}

.pdp__add-btn:hover {
  background: var(--burgundy);
  border-color: var(--burgundy);
  box-shadow: 0 12px 32px -16px rgba(116, 24, 48, 0.55);
}
.pdp__add-btn:hover::after { transform: translateX(0); }
.pdp__add-btn:hover svg { transform: translateX(3px); }

.pdp__add-btn:active { transform: translateY(1px); }

.pdp__add-btn.is-added {
  background: var(--burgundy);
  border-color: var(--burgundy);
  color: var(--alabaster);
}

.pdp__add-btn.is-disabled,
.pdp__add-btn:disabled {
  background: var(--alabaster);
  color: var(--taupe);
  border-color: var(--border);
  cursor: not-allowed;
}
.pdp__add-btn.is-disabled::after { display: none; }
.pdp__add-btn.is-disabled:hover { box-shadow: none; }

/* Trust signals */
.pdp__signals {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  border-top: 1px solid var(--divider);
  padding-top: 1.75rem;
}

.pdp__signals li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  color: var(--mid);
  font-weight: 400;
  letter-spacing: 0.01em;
}

.pdp__signals svg {
  width: 1.05rem;
  height: 1.05rem;
  flex-shrink: 0;
  color: var(--burgundy);
  stroke-width: 1.3;
}

/* ---- Story section ---- */
.pdp__story {
  padding: 5rem 0 6rem;
  border-top: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
}

.pdp__story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 4rem;
  align-items: start;
  min-width: 0;
}

.pdp__story-left {
  min-width: 0;
  padding-top: 0.4rem;
}

.pdp__story-eyebrow {
  display: block;
  font-family: var(--sans);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--burgundy);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.pdp__story-title {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 2.8vw, 2.6rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--espresso);
  margin: 0;
  overflow-wrap: anywhere;
}

.pdp__story-right {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-width: 0;
}

.pdp__story-body {
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--mid);
  font-weight: 400;
  margin: 0;
  font-style: italic;
  overflow-wrap: anywhere;
}

.pdp__story-body--quiet {
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--taupe);
  padding-left: 1.25rem;
  border-left: 1px solid var(--divider);
}

/* ---- Related products ---- */
.pdp__related {
  padding: 6rem 0 7rem;
}

.pdp__related-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.pdp__related-eyebrow {
  display: block;
  font-family: var(--sans);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: var(--burgundy);
  margin-bottom: 1.25rem;
  font-weight: 500;
}

.pdp__related-title {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 400;
  color: var(--espresso);
  letter-spacing: -0.01em;
  line-height: 1.05;
  margin: 0;
}

.pdp__related-title em {
  font-style: italic;
  color: var(--burgundy);
  font-weight: 500;
}

.pdp__related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 2rem;
  row-gap: 4rem;
  align-items: stretch;
}

.pdp__related-empty {
  grid-column: 1 / -1;
  text-align: center;
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--taupe);
  letter-spacing: 0.05em;
}

/* "View Piece" CTA inside related cards — matches catalogue style */
.pdp__related-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: none;
  border: none;
  padding: 0;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  cursor: pointer;
  color: var(--espresso);
  position: relative;
  transition: color 0.3s ease;
}

.pdp__related-cta::before {
  content: '';
  width: 1.1rem;
  height: 1px;
  background: currentColor;
  transition: width 0.4s var(--ease);
}

.pdp__related-cta::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 1.55rem;
  right: 0;
  height: 1px;
  background: var(--burgundy);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}

.pdp__related-cta .pdp__related-cta-label { letter-spacing: inherit; }

.product-card:hover .pdp__related-cta { color: var(--burgundy); }
.product-card:hover .pdp__related-cta::before { width: 1.6rem; }
.product-card:hover .pdp__related-cta::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* ---- Not found state ---- */
.pdp__notfound {
  padding: 6rem 0 8rem;
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.pdp__notfound-card {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.pdp__notfound-eyebrow {
  display: block;
  font-family: var(--sans);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--burgundy);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.pdp__notfound-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 400;
  color: var(--espresso);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 1.25rem;
}

.pdp__notfound-body {
  font-family: var(--sans);
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--mid);
  margin: 0 0 2.25rem;
}

.pdp__notfound-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.9rem 1.75rem;
  background: var(--espresso);
  color: var(--alabaster);
  border: 1px solid var(--espresso);
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  text-decoration: none;
  border-radius: 100px;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.pdp__notfound-cta:hover {
  background: var(--burgundy);
  border-color: var(--burgundy);
  box-shadow: 0 12px 32px -16px rgba(116, 24, 48, 0.55);
}

.pdp__notfound-cta svg {
  width: 1rem;
  height: 1rem;
  transition: transform 0.4s var(--ease);
}
.pdp__notfound-cta:hover svg { transform: translateX(3px); }

/* ================================================================
   PRODUCT DETAIL — RESPONSIVE
   ================================================================ */
@media (max-width: 1024px) {
  .pdp__hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 3rem;
    padding-bottom: 5rem;
  }
  .pdp__related-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 3.5rem;
  }
}

@media (max-width: 860px) {
  .pdp__hero {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  /* On tablet/mobile the image leads, then details */
  .pdp__gallery { order: 1; }
  .pdp__details { order: 2; }
  .pdp__details-inner {
    position: static;
    top: auto;
    padding-top: 0;
  }
  .pdp__title { font-size: clamp(2rem, 7vw, 2.6rem); }
  .pdp__related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pdp__story-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .pdp__story { padding: 4rem 0; }
}

@media (max-width: 600px) {
  .pdp { padding-top: 4.5rem; }
  .pdp__breadcrumb {
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
    font-size: 0.58rem;
    gap: 0.45rem;
  }
  .pdp__hero {
    gap: 2rem;
    padding-bottom: 3.5rem;
  }
  .pdp__pullquote { font-size: 1.05rem; }
  .pdp__description { font-size: 0.88rem; }
  .pdp__story {
    padding: 3rem 0 3.5rem;
  }
  .pdp__story-grid {
    gap: 1.6rem;
  }
  .pdp__story-eyebrow {
    font-size: 0.58rem;
    letter-spacing: 0.22em;
    margin-bottom: 0.9rem;
  }
  .pdp__story-title {
    font-size: clamp(1.55rem, 9vw, 2rem);
    line-height: 1.16;
    letter-spacing: 0;
  }
  .pdp__story-body {
    font-size: 0.98rem;
    line-height: 1.65;
  }
  .pdp__story-body--quiet {
    padding-left: 0.9rem;
    font-size: 0.84rem;
  }
  .pdp__related-grid { row-gap: 2.75rem; }
  .pdp__related { padding: 4.5rem 0 5rem; }
  .pdp__actions { grid-template-columns: 1fr; }
  .pdp__qty { width: 100%; justify-content: space-between; }
  .pdp__thumb { width: 4.25rem; height: 5.25rem; }
  .pdp__piece-tag {
    top: 0.75rem;
    left: 0.75rem;
    font-size: 0.55rem;
    padding: 0.35rem 0.6rem;
  }
}
