:root {
  --black: #080808;
  --white: #f5f3ef;
  --paper: #fbfaf7;
  --line: #ded9d1;
  --muted: #686159;
  --body: "Montserrat", Arial, sans-serif;
  --display: "Cormorant Garamond", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font-family: var(--body);
  font-size: 13px;
  letter-spacing: 0.04em;
}

body.cart-drawer-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 48px;
  padding: 13px 36px;
  background: var(--white);
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.nav.scrolled {
  border-color: var(--line);
}

.nav-hero:not(.scrolled) {
  background: transparent;
  color: var(--white);
}

.nav-hero.scrolled {
  background: var(--white);
  color: var(--black);
}

.nav-logo,
.footer-logo,
.mobile-logo {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-links,
.footer-links {
  display: flex;
  gap: 36px;
  align-items: center;
}

.nav-links a,
.nav-cart,
.footer-links a {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hamburger {
  display: none;
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  padding: 5px;
}

.hamburger span {
  display: block;
  height: 1px;
  margin: 6px 0;
  background: currentColor;
}

.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 35;
  background: rgba(0, 0, 0, 0.28);
}

.mobile-menu {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 40;
  width: min(88vw, 380px);
  background: var(--white);
  transform: translateX(-100%);
  transition: transform 0.25s ease;
  display: flex;
  flex-direction: column;
  padding-top: 28px;
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-overlay.open {
  display: block;
}

.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 45;
  background: rgba(0, 0, 0, 0.32);
}

.cart-drawer-overlay[hidden] {
  display: none;
}

.cart-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 50;
  display: flex;
  flex-direction: column;
  width: min(430px, 100vw);
  background: var(--white);
  box-shadow: -18px 0 50px rgba(0, 0, 0, 0.14);
  transform: translateX(100%);
  transition: transform 260ms ease;
}

.cart-drawer.open {
  transform: translateX(0);
}

.cart-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  border-bottom: 1px solid var(--line);
}

.cart-drawer__header h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 28px;
  font-weight: 300;
}

.cart-drawer__header button {
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 28px;
  font-weight: 300;
}

.cart-drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 24px 28px;
}

.cart-drawer__footer {
  display: grid;
  gap: 14px;
  padding: 22px 28px 28px;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.cart-drawer__footer .cart-total {
  padding: 0 0 8px;
}

.cart-continue {
  border: 0;
  border-bottom: 1px solid var(--black);
  justify-self: center;
  padding: 4px 0;
  background: transparent;
  cursor: pointer;
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.mobile-menu a {
  padding: 22px 28px;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.hero {
  position: relative;
  aspect-ratio: 16 / 9;
  min-height: 0;
  background: var(--black);
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #151515, #54504b);
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0.82;
}

.hero-film {
  display: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-image img[src="/media/maison-noir.jpg"] {
  background: radial-gradient(circle at 52% 18%, #777, #111 45%, #050505);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.42));
}

.hero-cta {
  position: absolute;
  left: 48px;
  bottom: 64px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 40px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  color: var(--white);
  font-size: 10px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.hero-cta:hover {
  background: var(--white);
  color: var(--black);
}

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--paper);
  white-space: nowrap;
}

.marquee div {
  display: inline-flex;
  animation: marquee 24s linear infinite;
}

.marquee span {
  padding: 15px 42px;
  font-size: 10px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

.drop-section {
  padding: 112px 48px;
}

.drop-header {
  display: grid;
  place-items: center;
  gap: 18px;
  margin-bottom: 60px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.drop-header p,
.eyebrow {
  margin: 0;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.drop-header h1,
.split-hero h1,
.contact-page h1,
.cart-page h1,
.admin-page h1,
.thank-you h1,
.product-info h1 {
  margin: 0;
  font-family: var(--display);
  font-weight: 300;
  letter-spacing: 0.04em;
  line-height: 1.05;
  text-transform: uppercase;
}

.drop-header h1 {
  font-size: clamp(38px, 5vw, 64px);
}

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

.product-card {
  position: relative;
  min-width: 0;
}

.product-media {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--tone, #ddd);
}

.product-media img,
.product-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.product-gallery img {
  aspect-ratio: 3 / 4;
}

.product-media img[src*="/media/"],
.product-gallery img[src*="/media/"] {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(0, 0, 0, 0.2)),
    var(--tone, #ddd);
}

.product-discover {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.3);
  color: var(--white);
  opacity: 0;
  font-size: 9px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  transition: opacity 0.2s ease;
}

.product-media:hover .product-discover {
  opacity: 1;
}

.product-meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 24px;
  color: var(--white);
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.58));
  font-family: var(--display);
  font-size: 17px;
  letter-spacing: 0.08em;
}

.product-meta span {
  color: rgba(255, 255, 255, 0.72);
  white-space: nowrap;
}

.product-meta__prices {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
}

.product-meta__prices del {
  color: rgba(255, 255, 255, 0.62);
  font-family: var(--body);
  font-size: 10px;
}

.product-meta__prices strong {
  color: #fff;
  font-size: 15px;
  font-weight: 400;
}

.editorial-band {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: center;
  padding: 68px 48px;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.editorial-band p {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 300;
}

.editorial-band a,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 34px;
  border: 1px solid var(--black);
  background: var(--black);
  color: var(--white);
  cursor: pointer;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.editorial-band a {
  background: transparent;
  color: var(--black);
}

.standard-film {
  padding: 112px 48px;
  background: var(--paper);
}

.standard-film__heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  margin-bottom: 28px;
}

.standard-film__heading p:last-child {
  margin: 0;
  font-family: var(--display);
  font-size: 20px;
}

.standard-film video {
  display: block;
  width: 100%;
  max-height: 78vh;
  object-fit: cover;
  background: var(--black);
}

.gallery-controls {
  position: absolute;
  left: 50%;
  bottom: 24px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 18px;
  transform: translateX(-50%);
  padding: 8px 12px;
  color: var(--white);
  background: rgba(8, 8, 8, 0.55);
  font-size: 10px;
  letter-spacing: 0.14em;
}

.gallery-thumbnails {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 6px;
  background: #efede9;
}

.gallery-thumbnail {
  display: block;
  width: 48px;
  aspect-ratio: 3 / 4;
  padding: 0;
  border: 1px solid transparent;
  background: #e4e1dc;
  cursor: pointer;
  overflow: hidden;
}

.gallery-thumbnail.active {
  border-color: var(--black);
}

.gallery-thumbnail img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-controls button {
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-size: 17px;
  line-height: 1;
}

.button:hover,
.editorial-band a:hover {
  background: transparent;
  color: var(--black);
}

.button.full {
  width: 100%;
}

.product-page {
  min-height: 100vh;
  padding-top: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.product-gallery {
  position: relative;
  position: sticky;
  top: 48px;
  align-self: start;
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr);
  height: calc(100vh - 48px);
  gap: 0;
  background: var(--tone, #ddd);
}

.gallery-stage {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: var(--tone, #ddd);
}

.gallery-stage > .product-main-image {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center top;
}

.zoom-trigger {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.zoom-icon {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.3);
  color: #fff;
  font-size: 22px;
  font-weight: 300;
  line-height: 1;
  opacity: 0;
  transition: opacity 180ms ease;
}

.zoom-trigger:hover .zoom-icon,
.zoom-trigger:focus-visible .zoom-icon {
  opacity: 1;
}

.zoom-dialog {
  width: min(92vw, 1100px);
  max-width: none;
  height: min(92vh, 900px);
  padding: 58px 32px 32px;
  border: 0;
  background: rgba(8, 8, 8, 0.94);
}

.zoom-dialog::backdrop {
  background: rgba(8, 8, 8, 0.8);
}

.zoom-viewport {
  width: 100%;
  height: 100%;
  overflow: hidden;
  cursor: default;
}

.zoom-viewport:has(.is-zoomed) {
  cursor: grab;
}

.zoom-viewport:has(.is-zoomed):active {
  cursor: grabbing;
}

.zoom-dialog img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform-origin: center center;
  transition: transform 120ms ease-out;
  user-select: none;
  -webkit-user-drag: none;
}

.box-zoom-dialog {
  width: min(92vw, 900px);
  max-width: none;
  height: min(90vh, 900px);
  padding: 58px 32px 32px;
  border: 0;
  background: rgba(8, 8, 8, 0.94);
}

.box-zoom-dialog::backdrop {
  background: rgba(8, 8, 8, 0.8);
}

.box-zoom-dialog [data-box-zoom-preview] {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform-origin: center;
  transition: transform 120ms ease-out;
}

.zoom-toolbar {
  position: absolute;
  top: 14px;
  left: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateX(-50%);
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.12em;
}

.zoom-toolbar button {
  min-width: 32px;
  height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  cursor: pointer;
}

.zoom-toolbar button:last-child {
  padding: 0 10px;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.zoom-dialog__close {
  position: absolute;
  top: 10px;
  right: 14px;
  z-index: 1;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: 28px;
  font-weight: 300;
}

.product-info {
  padding: 84px 72px;
  align-self: start;
}

.product-info h1 {
  margin-top: 24px;
  font-size: clamp(38px, 5vw, 68px);
}

.product-price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 18px 0 36px;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.product-price del {
  color: var(--muted);
  font-size: 11px;
  opacity: 0.72;
}

.product-price strong {
  font-weight: 500;
}

.product-color-label {
  margin: 12px 0 0;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 300;
  color: var(--muted);
}

.product-description,
.intro,
.story-grid p,
.policy-list p,
.thank-you p {
  font-family: var(--display);
  font-size: 19px;
  font-weight: 300;
  line-height: 1.75;
}

.size-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 38px 0 14px;
}

.size-button {
  min-height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.size-button.active {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.size-button:disabled {
  color: #aaa;
  cursor: not-allowed;
}

.premium-box-option {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 42px;
  gap: 14px;
  align-items: center;
  margin: 22px 0 18px;
  padding: 12px;
  border: 1px solid var(--line);
}

.premium-box-option > img {
  width: 64px;
  height: 72px;
  object-fit: cover;
  background: #eeeae2;
}

.premium-box-image-button {
  display: block;
  width: 64px;
  height: 72px;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: #eeeae2;
  cursor: zoom-in;
}

.premium-box-image-button img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.premium-box-option p,
.premium-box-option strong {
  display: block;
  margin: 0;
}

.premium-box-option p {
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.premium-box-option__description {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-family: var(--display);
  font-size: 14px;
  line-height: 1.35;
}

.premium-box-option strong {
  margin-top: 6px;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.premium-box-switch {
  position: relative;
  width: 38px;
  height: 22px;
  border: 1px solid #aaa;
  border-radius: 20px;
  background: #ddd;
  cursor: pointer;
}

.premium-box-switch__knob {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  transition: transform 160ms ease;
}

.premium-box-switch[aria-checked="true"] {
  border-color: var(--black);
  background: var(--black);
}

.premium-box-switch[aria-checked="true"] .premium-box-switch__knob {
  transform: translateX(16px);
}

.detail-list {
  margin-top: 42px;
  border-top: 1px solid var(--line);
}

.color-selector {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.color-selector p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.color-selector div {
  display: flex;
  gap: 10px;
}

.color-swatch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 48px;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.color-swatch__dot {
  display: block;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(8, 8, 8, 0.18);
  border-radius: 50%;
  background: var(--swatch-color);
  box-shadow: 0 0 0 0 transparent;
  transition: box-shadow 160ms ease;
}

.color-swatch.active .color-swatch__dot,
.color-swatch:hover .color-swatch__dot {
  box-shadow: 0 0 0 2px var(--white), 0 0 0 3px var(--black);
}

.color-swatch.active {
  background: transparent;
  color: inherit;
}

.color-swatch:hover {
  color: inherit;
}

.size-guide {
  padding: 12px 0 20px;
}

.size-guide__diagram {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 24px;
  overflow: visible;
}

.size-guide__diagram text {
  fill: var(--black);
  font-family: var(--body);
  font-size: 9px;
  letter-spacing: 0.25em;
  text-anchor: middle;
}

.size-guide__diagram path,
.size-guide__diagram line {
  fill: none;
  stroke: var(--black);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.size-guide__diagram .guide-dash {
  stroke-width: 0.7;
  stroke-dasharray: 3 3;
}

.size-guide__diagram .guide-anchor {
  stroke-width: 0.7;
}

.size-guide__diagram .guide-rule {
  stroke: var(--line);
  stroke-width: 0.7;
}

.size-guide__diagram .guide-letter,
.size-guide__diagram .guide-legend-letter {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0;
}

.size-guide__diagram .guide-legend {
  fill: var(--muted);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-anchor: start;
}

.size-guide__diagram .guide-note {
  fill: #aaa;
  font-size: 10px;
  letter-spacing: 0.1em;
}

.size-guide__tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.size-guide__tabs button {
  flex: 1;
  padding: 11px 4px;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  font-size: 9px;
  letter-spacing: 0.18em;
}

.size-guide__tabs button.active {
  border-color: var(--black);
  background: var(--black);
  color: var(--white);
}

.size-guide__heading {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.size-guide__heading strong {
  color: var(--black);
}

.size-guide__measurements {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
  border-top: 1px solid var(--line);
}

.size-guide__measurements div {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.size-guide__measurements span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.size-guide__measurements strong {
  font-size: 17px;
  font-weight: 400;
}

.size-guide__note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 8px;
  font-style: italic;
  letter-spacing: 0.1em;
}

.about-edition {
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.founder-quote {
  margin: 0 0 16px;
  font-family: var(--display);
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 300;
  line-height: 1.2;
}

.contact-intro {
  max-width: 380px;
  margin-top: 32px;
  color: var(--muted);
  font-family: var(--display);
  font-size: 18px;
  line-height: 1.7;
}

.color-selector a {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.product-accordions {
  margin-top: 42px;
  border-top: 1px solid var(--line);
}

.product-accordions details {
  border-bottom: 1px solid var(--line);
}

.product-accordions summary {
  display: flex;
  justify-content: space-between;
  padding: 18px 0;
  cursor: pointer;
  list-style: none;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.product-accordions summary::-webkit-details-marker {
  display: none;
}

.product-accordions summary span {
  font-size: 16px;
  font-weight: 300;
}

.product-accordions details > p {
  margin: 0 0 18px;
  color: var(--muted);
  font-family: var(--display);
  font-size: 16px;
  line-height: 1.6;
}

.product-accordions .detail-list {
  margin: 0 0 16px;
  border-top: 0;
}

.product-accordions .detail-list p {
  padding: 8px 0;
  font-size: 13px;
}

.product-faq {
  max-width: 980px;
  margin: 0 auto;
  padding: 70px 48px 90px;
  border-top: 1px solid var(--line);
}

.product-faq h2 {
  margin: 0 0 24px;
  font-family: var(--display);
  font-size: 28px;
  font-weight: 300;
  text-align: center;
}

.product-faq details {
  border-top: 1px solid var(--line);
}

.product-faq details:last-child {
  border-bottom: 1px solid var(--line);
}

.product-faq summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  cursor: pointer;
  list-style: none;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.product-faq summary::-webkit-details-marker {
  display: none;
}

.product-faq ul {
  margin: 0 0 18px;
  padding-left: 20px;
  color: var(--muted);
  font-family: var(--display);
  font-size: 15px;
  line-height: 1.8;
}

.recommendations {
  padding: 80px 48px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.recommendation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px;
  max-width: 900px;
  margin-top: 24px;
  margin-inline: auto;
}

.detail-list p,
.contact-lines p {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin: 0;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.text-page,
.contact-page,
.cart-page,
.admin-page,
.thank-you {
  padding: 128px 48px 80px;
}

.split-hero,
.contact-page,
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.split-hero {
  align-items: end;
  padding-bottom: 82px;
  border-bottom: 1px solid var(--line);
}

.split-hero h1,
.contact-page h1,
.cart-page h1,
.admin-page h1,
.thank-you h1 {
  margin-top: 24px;
  font-size: clamp(42px, 6vw, 78px);
}

.story-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 80px;
  padding: 86px 0;
  border-bottom: 1px solid var(--line);
}

.story-grid p {
  margin-top: 0;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
}

.pillars article {
  padding: 58px 38px;
  border-right: 1px solid var(--line);
}

.pillars article:last-child {
  border-right: 0;
}

.pillars span {
  font-family: var(--display);
  color: #bbb3a8;
  font-size: 46px;
}

.pillars h2,
.policy-list h2,
.admin-section h2,
.panel-form h2 {
  margin: 20px 0 12px;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.pillars p {
  font-family: var(--display);
  font-size: 18px;
  line-height: 1.65;
}

.policy-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin-top: 60px;
  background: var(--line);
}

.policy-list article {
  background: var(--white);
  padding: 42px;
}

.contact-lines {
  margin-top: 48px;
}

.contact-lines span {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.panel-form {
  display: grid;
  gap: 18px;
  align-self: start;
  padding: 34px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.panel-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.panel-form input,
.panel-form textarea,
.panel-form select {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--black);
  padding: 13px 14px;
  letter-spacing: 0.04em;
}

.panel-form textarea {
  resize: vertical;
}

.panel-form .checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
}

.panel-form .checkbox input {
  width: auto;
}

.cart-layout {
  margin-top: 54px;
}

.mm-order-page {
  min-height: 100vh;
  padding: 140px 48px 80px;
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 80px;
  max-width: 1200px;
  margin: 0 auto;
}

.mm-order-summary__label,
.mm-form-section__title,
.mm-order-summary__item-key,
.mm-order-summary__total-label,
.mm-order-note__title {
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.mm-order-summary__label {
  color: var(--muted);
  margin: 0 0 24px;
}

.mm-order-summary__title {
  margin: 0 0 16px;
  font-family: var(--display);
  font-weight: 300;
  font-size: 48px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.05;
}

.mm-order-summary__sub {
  margin: 0 0 56px;
  font-family: var(--display);
  font-style: italic;
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
}

.mm-order-summary__items {
  display: flex;
  flex-direction: column;
}

.mm-order-summary__item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.mm-order-summary__item:first-child {
  border-top: 1px solid var(--line);
}

.mm-order-summary__item-key {
  color: var(--muted);
}

.mm-order-summary__item-val {
  font-family: var(--display);
  font-size: 15px;
  letter-spacing: 0.05em;
  text-align: right;
}

[data-order-tax-row][hidden] {
  display: none;
}

.mm-order-summary__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding: 20px 0 0;
  margin-top: 4px;
}

.mm-order-summary__total-price {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 300;
  letter-spacing: 0.05em;
}

.mm-order-note {
  margin-top: 48px;
  padding: 24px;
  border: 1px solid var(--line);
}

.mm-order-note__title {
  margin: 0 0 12px;
}

.mm-order-note__text {
  margin: 0;
  font-family: var(--display);
  font-style: italic;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.mm-order-form {
  position: sticky;
  top: 100px;
  align-self: start;
}

.mm-form-section {
  margin-bottom: 36px;
}

.mm-form-section__title {
  color: var(--black);
  margin: 0 0 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.mm-field {
  margin-bottom: 20px;
}

.mm-field label {
  display: block;
  font-size: 8px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 8px;
}

.mm-field input,
.mm-field select,
.mm-field textarea {
  width: 100%;
  padding: 14px 16px;
  background: transparent;
  border: 1px solid #999;
  border-radius: 0;
  font-family: var(--body);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--black);
  outline: none;
  appearance: none;
}

.mm-field input:focus,
.mm-field select:focus,
.mm-field textarea:focus {
  border-color: var(--black);
}

.mm-field--row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.mm-payment-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
  margin-bottom: 20px;
}

.mm-payment-toggle input {
  display: none;
}

.mm-payment-toggle label {
  padding: 16px;
  text-align: center;
  font-size: 9px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  cursor: pointer;
  color: var(--muted);
}

.mm-payment-toggle label:first-of-type {
  border-right: 1px solid var(--line);
}

.mm-payment-toggle input:checked + label {
  background: var(--black);
  color: var(--white);
}

.mm-bank-details {
  display: none;
  padding: 20px;
  border: 1px solid var(--line);
  margin-bottom: 20px;
}

.mm-bank-details.visible {
  display: block;
}

.mm-bank-details__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}

.mm-bank-details__row:last-child {
  border-bottom: 0;
}

.mm-bank-details__key {
  font-size: 8px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.mm-bank-details__val {
  font-family: var(--display);
  font-size: 14px;
  letter-spacing: 0.05em;
  text-align: right;
  word-break: break-word;
}

.mm-receipt-hint {
  margin: 6px 0 0;
  font-size: 8px;
  letter-spacing: 0.15em;
  color: var(--muted);
}

.mm-submit {
  width: 100%;
  padding: 18px;
  background: var(--black);
  color: var(--white);
  border: 1px solid var(--black);
  font-family: var(--body);
  font-size: 10px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s;
  margin-top: 8px;
}

.mm-submit:hover:not([disabled]) {
  background: transparent;
  color: var(--black);
}

.mm-submit.loading {
  opacity: 0.6;
  cursor: wait;
}

.mm-form-note {
  margin-top: 16px;
  font-size: 8px;
  letter-spacing: 0.15em;
  color: var(--muted);
  text-align: center;
  line-height: 1.8;
}

.mm-field-error {
  display: none;
  font-size: 8px;
  letter-spacing: 0.15em;
  color: #c0392b;
  margin-top: 6px;
}

.mm-field-error.visible {
  display: block;
}

.cart-items {
  display: grid;
  gap: 14px;
}

.cart-item {
  display: grid;
  grid-template-columns: 84px 1fr auto;
  gap: 18px;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.cart-item-media {
  aspect-ratio: 3 / 4;
  background: var(--tone, #ddd);
  overflow: hidden;
}

.cart-item-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item h2 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 300;
}

.cart-item p,
.fineprint {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.7;
}

.cart-item button {
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  padding-top: 18px;
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.thank-you {
  min-height: 70vh;
  display: grid;
  align-content: center;
  justify-items: start;
  max-width: 760px;
}

.admin-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
}

.admin-section {
  margin-top: 48px;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--paper);
}

th,
td {
  padding: 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-size: 11px;
}

th {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

td a {
  border-bottom: 1px solid currentColor;
}

.muted-cell {
  color: var(--muted);
  font-size: 10px;
}

td form {
  display: flex;
  gap: 8px;
}

td button {
  border: 1px solid var(--black);
  background: var(--black);
  color: var(--white);
  cursor: pointer;
}

.admin-page.narrow {
  max-width: 860px;
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  padding: 44px 48px;
  background: var(--black);
  color: var(--white);
}

.footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 9px;
  letter-spacing: 0.14em;
}

.assistant-button {
  position: fixed;
  right: 30px;
  bottom: 30px;
  z-index: 25;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  cursor: pointer;
  font-size: 10px;
  letter-spacing: 0.18em;
}

.assistant-panel {
  position: fixed;
  right: 30px;
  bottom: 94px;
  z-index: 25;
  width: min(390px, calc(100vw - 48px));
  height: min(620px, calc(100vh - 130px));
  overflow: hidden;
  border: 0;
  border-radius: 4px;
  background: transparent;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.12);
}

.assistant-frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
}

.assistant-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.assistant-panel__header button {
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 18px;
}

.assistant-panel p,
.assistant-panel a {
  display: block;
  margin: 18px 0 0;
  font-family: var(--display);
  font-size: 18px;
  line-height: 1.5;
}

.assistant-panel a {
  font-family: var(--body);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-decoration: underline;
}

@media (max-width: 900px) {
  .nav {
    min-height: 66px;
    padding: 18px 22px;
  }

  .hamburger {
    display: block;
  }

  .nav-links {
    display: none;
  }

  .nav-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 11px;
  }

  .nav-cart {
    font-size: 9px;
  }

  .hero-cta {
    left: 24px;
    bottom: 42px;
  }

  .drop-section,
  .text-page,
  .contact-page,
  .cart-page,
  .admin-page,
  .thank-you {
    padding-left: 24px;
    padding-right: 24px;
  }

  .product-grid,
  .product-page,
  .mm-order-page,
  .split-hero,
  .contact-page,
  .cart-layout,
  .story-grid,
  .pillars,
  .policy-list,
  .recommendation-grid {
    grid-template-columns: 1fr;
  }

  .product-gallery {
    position: relative;
    top: auto;
    grid-template-columns: 1fr;
    height: auto;
    min-height: 64vh;
  }

  .gallery-thumbnails {
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 2;
    flex-direction: row;
    width: 100%;
    padding: 6px;
  }

  .gallery-thumbnail {
    width: 42px;
  }

  .gallery-stage {
    min-height: 64vh;
  }

  .hero {
    aspect-ratio: 2 / 3;
  }

  .hero-film {
    display: none;
  }

  .product-info {
    padding: 44px 24px 70px;
  }

  .mm-order-page {
    padding: 120px 24px 60px;
    gap: 48px;
  }

  .mm-order-form {
    position: static;
  }

  .mm-order-summary__title {
    font-size: 36px;
  }

  .mm-field--row {
    grid-template-columns: 1fr;
  }

  .product-meta {
    padding: 22px 18px;
  }

  .split-hero,
  .story-grid {
    gap: 28px;
  }

  .pillars article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .editorial-band,
  .standard-film__heading,
  .footer,
  .admin-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer {
    text-align: left;
  }

  .assistant-button {
    right: 22px;
    bottom: 22px;
  }

  .assistant-panel {
    right: 22px;
    bottom: 86px;
  }

  .standard-film,
  .recommendations {
    padding-left: 24px;
    padding-right: 24px;
  }

  .cart-item {
    grid-template-columns: 72px 1fr;
  }

  .cart-item button {
    grid-column: 2;
    justify-self: start;
  }
}

@media (min-width: 901px) {
  .hero-image,
  .standard-film {
    display: none;
  }

  .hero-film {
    display: block;
  }
}
/* =====================================================================
   MAISON MONARCHE - homepage match patch
   Paste this at the VERY END of public/app.css (it overrides earlier rules).
   Values are copied from the original Shopify home.liquid.
   Requires: <body class="home"> on the homepage only.
   ===================================================================== */

:root {
  --page: #fafaf8;        /* Shopify --white: the real page background */
  --grey-light: #e8e4df;  /* Shopify borders */
  --grey-mid: #a09890;
}

/* ---------- Page + fonts ----------
   Shopify body font is Cormorant Garamond. Only nav links / cart use Montserrat. */
body.home {
  background: var(--page);
  font-family: var(--display);
  font-size: 16px;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- Nav ---------- */
body.home .nav { min-height: 0; padding: 22px 48px; }
body.home .nav.scrolled { border-color: #e0ddd8; }
body.home .nav-logo { font-size: 11px; font-weight: 300; letter-spacing: 0.35em; }
body.home .nav-links { gap: 40px; }
body.home .nav-links a,
body.home .nav-cart {
  font-family: var(--body);
  font-size: 10px;
  letter-spacing: 0.2em;
}
body.home .nav-cart { background: none; border: 0; color: inherit; cursor: pointer; }
body.home .nav-links a:hover,
body.home .nav-cart:hover { opacity: 0.45; }

/* ---------- Hero: full viewport, image with the "FLAT 45% OFF" text baked in ---------- */
body.home .hero { aspect-ratio: auto; height: 100vh; background: var(--black); }
body.home .hero-image { display: block; background: var(--black); }
body.home .hero-image picture { display: block; width: 100%; height: 100%; }
body.home .hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 1;
}
body.home .hero-film { display: none; }
body.home .hero-overlay { background: rgba(0, 0, 0, 0.25); }
body.home .hero-cta {
  left: 48px;
  bottom: 64px;
  min-height: 0;
  padding: 16px 40px;
  font-family: var(--display);
  font-size: 10px;
  letter-spacing: 4px;
  border-color: rgba(255, 255, 255, 0.4);
}

@media (min-width: 901px) {
  body.home .hero-image { display: block; }
  body.home .hero-film { display: none; }
}

/* ---------- Marquee ---------- */
body.home .marquee {
  padding: 14px 0;
  background: var(--page);
  border-block: 1px solid var(--grey-light);
}
body.home .marquee span {
  padding: 0 40px;
  font-family: var(--display);
  font-size: 10px;
  letter-spacing: 5px;
  color: var(--black);
}

/* ---------- Drop section + title ---------- */
body.home .drop-section { padding: 120px 48px; background: var(--page); }
body.home .drop-header {
  display: block;
  margin-bottom: 64px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--grey-light);
  text-align: center;
}
body.home .drop-header h1 {
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: 0;
  text-transform: none;
}
body.home .drop-header h1 span,
body.home .drop-header h1 small {
  display: inline;
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 300;
  color: #555;
}

/* ---------- Product cards ---------- */
body.home .product-grid { gap: 2px; }
body.home .product-media { aspect-ratio: 3 / 4; }

/* hover overlay with bordered DISCOVER button */
body.home .product-discover {
  background: rgba(10, 10, 10, 0.3);
  font-size: 0; /* hides the plain text, button is drawn below */
}
body.home .product-discover::after {
  content: "DISCOVER";
  padding: 14px 32px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  font-family: var(--display);
  font-size: 9px;
  letter-spacing: 4px;
  color: var(--page);
}

/* name above price, left aligned, small caps-style like the original */
body.home .product-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 6px;
  padding: 28px 24px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.55));
  font-family: var(--display);
  letter-spacing: 0;
}
body.home .product-meta > :first-child {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--page);
}
body.home .product-meta span,
body.home .product-meta__prices,
body.home .product-meta__prices strong {
  align-items: flex-start;
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 1px;
  color: #fff;
}
body.home .product-meta__prices del { display: none; }

/* not in the original homepage */
body.home .editorial-band { display: none; }

/* ---------- Pillars (The Brand / The Product / The Rules) ---------- */
body.home .pillars {
  grid-template-columns: repeat(3, 1fr);
  background: var(--page);
  border-top: 1px solid var(--grey-light);
  border-bottom: 1px solid var(--grey-light);
}
body.home .pillars article {
  padding: 64px 48px;
  border-right: 1px solid var(--grey-light);
}
body.home .pillars article:last-child { border-right: 0; }
body.home .pillars span { display: none; } /* big numerals are not in the original */
body.home .pillars h2 {
  margin: 0 0 20px;
  font-family: var(--display);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 4px;
  color: var(--black);
}
body.home .pillars p {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(17px, 1.6vw, 21px);
  font-weight: 300;
  line-height: 1.6;
  color: var(--black);
}

/* ---------- Footer (shared across pages: needs the new markup, see notes) ---------- */
.footer {
  display: block;
  padding: 56px 48px 40px;
  background: #000;
  color: #f5f3ef;
}
.footer .footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 40px;
  margin-bottom: 28px;
  border-bottom: 1px solid rgba(245, 243, 239, 0.15);
}
.footer .footer-logo {
  font-family: var(--display);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 6px;
  color: #f5f3ef;
}
.footer .footer-links {
  display: flex;
  align-items: center;
  gap: 40px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer .footer-links a {
  font-family: var(--display);
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #f5f3ef;
}
.footer .footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer .footer-copy,
.footer .footer-tagline {
  margin: 0;
  font-family: var(--display);
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(245, 243, 239, 0.8);
}
.footer .footer-tagline { font-style: italic; }

/* ---------- Chat button, panel and tooltip ---------- */
.assistant-button {
  right: 30px;
  bottom: 30px;
  z-index: 200;
  background: #050505;
  border: 1px solid #ffffff33;
  color: #f5f5f5;
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
}
.assistant-panel {
  right: 20px;
  bottom: 90px;
  z-index: 200;
  width: min(360px, calc(100vw - 40px));
  height: min(520px, calc(100vh - 160px));
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
.chat-tooltip {
  position: fixed;
  right: 85px;
  bottom: 95px;
  z-index: 201;
  padding: 8px 14px;
  background: #0a0a0a;
  color: var(--page);
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}
.chat-tooltip.visible { opacity: 1; }

/* ---------- Cart drawer (match original look) ---------- */
.cart-drawer {
  width: min(420px, 100vw);
  background: #f5f3ef;
  border-left: 1px solid #e0ddd8;
  box-shadow: none;
}
.cart-drawer-overlay { background: rgba(10, 10, 10, 0.4); }
.cart-drawer__header { padding: 28px 32px; }
.cart-drawer__header h2 {
  font-size: 20px;
  font-weight: 300;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.cart-drawer__body { padding: 0 32px; }
.cart-drawer__footer { padding: 24px 32px; background: #f5f3ef; }

/* =====================================================================
   MOBILE (the converted site switches at 900px, so these do too)
   ===================================================================== */
@media (max-width: 900px) {
  body.home .nav { padding: 18px 24px; }
  body.home .nav-logo { font-size: 11px; }
  /* original: hamburger lines stay black even over the hero */
  body.home .hamburger span { background: var(--black); }

  /* full-width slide-in menu like the original */
  .mobile-menu { width: 100%; }
  .mobile-menu a {
    padding: 24px;
    font-family: var(--display);
    font-size: 11px;
    font-weight: 300;
    letter-spacing: 4px;
  }

  body.home .hero { height: 100vh; }
  body.home .hero-cta { left: 24px; bottom: 48px; }

  body.home .drop-section { padding: 80px 24px; }

  /* "The Standard" film: centered heading, oversized video cropped like the original */
  body.home .standard-film {
    display: block;
    padding: 0 0 80px;
    background: var(--page);
    overflow: hidden;
  }
  body.home .standard-film__heading {
    display: block;
    margin: 0;
    padding: 16px 24px 32px;
    text-align: center;
  }
  body.home .standard-film__heading p:first-child {
    display: block;
    margin: 0 0 12px;
    font-family: var(--display);
    font-size: 11px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--black);
  }
  body.home .standard-film__heading p:last-child {
    margin: 0;
    font-size: 19px;
    font-style: italic;
    font-weight: 300;
    letter-spacing: 0.02em;
    color: var(--grey-mid);
  }
  body.home .standard-film video {
    width: 148vw;
    max-width: none;
    max-height: none;
    margin-left: -12vw;
    aspect-ratio: 16 / 9;
    object-fit: cover;
  }

  body.home .pillars { grid-template-columns: 1fr; }
  body.home .pillars article {
    padding: 40px 24px;
    border-right: 0;
    border-bottom: 1px solid var(--grey-light);
  }
  body.home .pillars article:last-child { border-bottom: 0; }

  .footer .footer-top { flex-direction: column; gap: 28px; }
  .footer .footer-links { flex-wrap: wrap; gap: 16px; }
  .footer .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }

  .assistant-button { right: 30px; bottom: 30px; }
  .assistant-panel { right: 20px; bottom: 90px; }
}
/* =====================================================================
   MAISON MONARCHE - homepage match patch
   Paste this at the VERY END of public/app.css (it overrides earlier rules).
   Values are copied from the original Shopify home.liquid.
   Requires: <body class="home"> on the homepage only.
   ===================================================================== */

:root {
  --page: #fafaf8;        /* Shopify --white: the real page background */
  --grey-light: #e8e4df;  /* Shopify borders */
  --grey-mid: #a09890;
}

/* ---------- Page + fonts ----------
   Shopify body font is Cormorant Garamond. Only nav links / cart use Montserrat. */
body.home {
  background: var(--page);
  font-family: var(--display);
  font-size: 16px;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- Nav ---------- */
body.home .nav { min-height: 0; padding: 22px 48px; }
body.home .nav.scrolled { border-color: #e0ddd8; }
body.home .nav-logo { font-size: 11px; font-weight: 300; letter-spacing: 0.35em; }
body.home .nav-links { gap: 40px; }
body.home .nav-links a,
body.home .nav-cart {
  font-family: var(--body);
  font-size: 10px;
  letter-spacing: 0.2em;
}
body.home .nav-cart { background: none; border: 0; color: inherit; cursor: pointer; }
body.home .nav-links a:hover,
body.home .nav-cart:hover { opacity: 0.45; }

/* ---------- Hero: full viewport, image with the "FLAT 45% OFF" text baked in ---------- */
body.home .hero { aspect-ratio: auto; height: 100vh; background: var(--black); }
body.home .hero-image { display: block; background: var(--black); }
body.home .hero-image picture { display: block; width: 100%; height: 100%; }
body.home .hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 1;
}
body.home .hero-film { display: none; }
body.home .hero-overlay { background: rgba(0, 0, 0, 0.25); }
body.home .hero-cta {
  left: 48px;
  bottom: 64px;
  min-height: 0;
  padding: 16px 40px;
  font-family: var(--display);
  font-size: 10px;
  letter-spacing: 4px;
  border-color: rgba(255, 255, 255, 0.4);
}

@media (min-width: 901px) {
  body.home .hero-image { display: block; }
  body.home .hero-film { display: none; }
}

/* ---------- Marquee ---------- */
body.home .marquee {
  padding: 14px 0;
  background: var(--page);
  border-block: 1px solid var(--grey-light);
}
body.home .marquee span {
  padding: 0 40px;
  font-family: var(--display);
  font-size: 10px;
  letter-spacing: 5px;
  color: var(--black);
}

/* ---------- Drop section + title ---------- */
body.home .drop-section { padding: 120px 48px; background: var(--page); }
body.home .drop-header {
  display: block;
  margin-bottom: 64px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--grey-light);
  text-align: center;
}
body.home .drop-header h1 {
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: 0;
  text-transform: none;
}
body.home .drop-header h1 span,
body.home .drop-header h1 small {
  display: inline;
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 300;
  color: #555;
}

/* ---------- Product cards ---------- */
body.home .product-grid { gap: 2px; }
body.home .product-media { aspect-ratio: 3 / 4; }

/* hover overlay with bordered DISCOVER button */
body.home .product-discover {
  background: rgba(10, 10, 10, 0.3);
  font-size: 0; /* hides the plain text, button is drawn below */
}
body.home .product-discover::after {
  content: "DISCOVER";
  padding: 14px 32px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  font-family: var(--display);
  font-size: 9px;
  letter-spacing: 4px;
  color: var(--page);
}

/* name above price, left aligned, small caps-style like the original */
body.home .product-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 6px;
  padding: 28px 24px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.55));
  font-family: var(--display);
  letter-spacing: 0;
}
body.home .product-meta > :first-child {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--page);
}
body.home .product-meta span,
body.home .product-meta__prices,
body.home .product-meta__prices strong {
  align-items: flex-start;
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 1px;
  color: #fff;
}
body.home .product-meta__prices del { display: none; }

/* not in the original homepage */
body.home .editorial-band { display: none; }

/* ---------- Pillars (The Brand / The Product / The Rules) ---------- */
body.home .pillars {
  grid-template-columns: repeat(3, 1fr);
  background: var(--page);
  border-top: 1px solid var(--grey-light);
  border-bottom: 1px solid var(--grey-light);
}
body.home .pillars article {
  padding: 64px 48px;
  border-right: 1px solid var(--grey-light);
}
body.home .pillars article:last-child { border-right: 0; }
body.home .pillars span { display: none; } /* big numerals are not in the original */
body.home .pillars h2 {
  margin: 0 0 20px;
  font-family: var(--display);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 4px;
  color: var(--black);
}
body.home .pillars p {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(17px, 1.6vw, 21px);
  font-weight: 300;
  line-height: 1.6;
  color: var(--black);
}

/* ---------- Footer (shared across pages: needs the new markup, see notes) ---------- */
.footer {
  display: block;
  padding: 56px 48px 40px;
  background: #000;
  color: #f5f3ef;
}
.footer .footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 40px;
  margin-bottom: 28px;
  border-bottom: 1px solid rgba(245, 243, 239, 0.15);
}
.footer .footer-logo {
  font-family: var(--display);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 6px;
  color: #f5f3ef;
}
.footer .footer-links {
  display: flex;
  align-items: center;
  gap: 40px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer .footer-links a {
  font-family: var(--display);
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #f5f3ef;
}
.footer .footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer .footer-copy,
.footer .footer-tagline {
  margin: 0;
  font-family: var(--display);
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(245, 243, 239, 0.8);
}
.footer .footer-tagline { font-style: italic; }

/* ---------- Chat button, panel and tooltip ---------- */
.assistant-button {
  right: 30px;
  bottom: 30px;
  z-index: 200;
  background: #050505;
  border: 1px solid #ffffff33;
  color: #f5f5f5;
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
}
.assistant-panel {
  right: 20px;
  bottom: 90px;
  z-index: 200;
  width: min(360px, calc(100vw - 40px));
  height: min(520px, calc(100vh - 160px));
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
.chat-tooltip {
  position: fixed;
  right: 85px;
  bottom: 95px;
  z-index: 201;
  padding: 8px 14px;
  background: #0a0a0a;
  color: var(--page);
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}
.chat-tooltip.visible { opacity: 1; }

/* ---------- Cart drawer (match original look) ---------- */
.cart-drawer {
  width: min(420px, 100vw);
  background: #f5f3ef;
  border-left: 1px solid #e0ddd8;
  box-shadow: none;
}
.cart-drawer-overlay { background: rgba(10, 10, 10, 0.4); }
.cart-drawer__header { padding: 28px 32px; }
.cart-drawer__header h2 {
  font-size: 20px;
  font-weight: 300;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.cart-drawer__body { padding: 0 32px; }
.cart-drawer__footer { padding: 24px 32px; background: #f5f3ef; }

/* =====================================================================
   MOBILE (the converted site switches at 900px, so these do too)
   ===================================================================== */
@media (max-width: 900px) {
  body.home .nav { padding: 18px 24px; }
  body.home .nav-logo { font-size: 11px; }
  /* original: hamburger lines stay black even over the hero */
  body.home .hamburger span { background: var(--black); }

  /* full-width slide-in menu like the original */
  .mobile-menu { width: 100%; }
  .mobile-menu a {
    padding: 24px;
    font-family: var(--display);
    font-size: 11px;
    font-weight: 300;
    letter-spacing: 4px;
  }

  body.home .hero { height: 100vh; }
  body.home .hero-cta { left: 24px; bottom: 48px; }

  body.home .drop-section { padding: 80px 24px; }

  /* "The Standard" film: centered heading, oversized video cropped like the original */
  body.home .standard-film {
    display: block;
    padding: 0 0 80px;
    background: var(--page);
    overflow: hidden;
  }
  body.home .standard-film__heading {
    display: block;
    margin: 0;
    padding: 16px 24px 32px;
    text-align: center;
  }
  body.home .standard-film__heading p:first-child {
    display: block;
    margin: 0 0 12px;
    font-family: var(--display);
    font-size: 11px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--black);
  }
  body.home .standard-film__heading p:last-child {
    margin: 0;
    font-size: 19px;
    font-style: italic;
    font-weight: 300;
    letter-spacing: 0.02em;
    color: var(--grey-mid);
  }
  body.home .standard-film video {
    width: 148vw;
    max-width: none;
    max-height: none;
    margin-left: -12vw;
    aspect-ratio: 16 / 9;
    object-fit: cover;
  }

  body.home .pillars { grid-template-columns: 1fr; }
  body.home .pillars article {
    padding: 40px 24px;
    border-right: 0;
    border-bottom: 1px solid var(--grey-light);
  }
  body.home .pillars article:last-child { border-bottom: 0; }

  .footer .footer-top { flex-direction: column; gap: 28px; }
  .footer .footer-links { flex-wrap: wrap; gap: 16px; }
  .footer .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }

  .assistant-button { right: 30px; bottom: 30px; }
  .assistant-panel { right: 20px; bottom: 90px; }
}

/* =====================================================================
   CART DRAWER - match Shopify ("CART", empty message, no footer when empty)
   ===================================================================== */
.cart-drawer__header h2 {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 300;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.cart-drawer__header button { font-size: 18px; color: #555; }
.cart-drawer__body { display: flex; flex-direction: column; }
.cart-drawer .cart-empty {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  margin: 0;
  font-family: var(--display);
  font-style: italic;
  font-size: 18px;
  letter-spacing: 0;
  color: #555;
}
.cart-drawer.is-empty .cart-drawer__footer { display: none; }
.cart-drawer__footer .cart-total { font-size: 10px; letter-spacing: 0.2em; }
.cart-drawer__footer .cart-total strong { font-family: var(--display); font-size: 14px; font-weight: 300; }
.cart-drawer__footer .button { background: #0a0a0a; color: #f5f3ef; font-size: 10px; letter-spacing: 0.3em; }
.cart-drawer__footer .button:hover { opacity: 0.75; background: #0a0a0a; color: #f5f3ef; }
/* =====================================================================
   PRODUCT PAGE MATCH PATCH
   Append to the VERY END of public/app.css (below the homepage patch).
   Values copied from the Shopify product.liquid.
   ===================================================================== */

:root {
  --mm-line: #e0ddd8;
  --mm-grey: #555;
}

/* auto-fit zoom (set by app.js) for gallery + related images */
.product-gallery img,
.recommendation-grid img {
  transform: scale(var(--mm-fit-scale, 1));
  transform-origin: 50% 0;
  transition: transform 0.3s ease;
}

/* ---------- DESKTOP ---------- */
@media (min-width: 901px) {
  /* nav: same height as Shopify */
  .nav { min-height: 0; padding: 22px 48px; }
  .nav-logo { font-size: 11px; letter-spacing: 0.35em; }
  .nav-links { gap: 40px; }
  .nav-links a,
  .nav-cart { letter-spacing: 0.2em; }

  /* gallery */
  .product-page { padding-top: 80px; }
  .product-gallery {
    top: 80px;
    height: calc(100vh - 80px);
    grid-template-columns: 72px minmax(0, 1fr);
    background: #f0ede8;
  }
  .gallery-thumbnails {
    gap: 4px;
    padding: 12px 8px;
    background: #f0ede8;
    border-right: 1px solid var(--mm-line);
    overflow-y: auto;
    scrollbar-width: none;
  }
  .gallery-thumbnails::-webkit-scrollbar { display: none; }
  .gallery-thumbnail {
    width: 56px;
    height: 72px;
    aspect-ratio: auto;
    flex-shrink: 0;
    opacity: 0.45;
    transition: opacity 0.2s;
  }
  .gallery-thumbnail:hover { opacity: 0.8; }
  .gallery-thumbnail.active { opacity: 1; border-color: #000; }
  .gallery-stage { background: #f0ede8; }
  /* Shopify has no arrows / zoom icon on the desktop gallery: you click the photo */
  .gallery-controls,
  .zoom-icon { display: none; }

  /* details column */
  .product-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-self: stretch;
    min-height: calc(100vh - 80px);
    padding: 64px 72px 64px 64px;
  }
}

/* ---------- TITLE / PRICE ---------- */
.product-info .eyebrow {
  margin: 0 0 16px;
  letter-spacing: 0.3em;
  color: var(--mm-grey);
}
.product-info h1 {
  margin: 0 0 40px;
  font-size: 42px;
  line-height: 1.1;
  letter-spacing: 0.05em;
}
/* Shopify's subtitle metafield is empty, so nothing shows there */
.product-info .product-color-label { display: none; }

.product-info .product-price {
  align-items: center;
  gap: 16px;
  margin: 0 0 48px;
  font-size: 13px;
  letter-spacing: 0.15em;
}
.product-info .product-price del {
  color: var(--mm-grey);
  font-size: 13px;
  opacity: 1;
}
.product-info .product-price strong { font-weight: 500; }

/* ---------- SIZE ---------- */
.size-label {
  margin: 0 0 14px;
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--mm-grey);
}
.size-label__link {
  padding: 0 0 1px;
  border: 0;
  border-bottom: 1px solid var(--mm-line);
  background: none;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  color: inherit;
  cursor: pointer;
  transition: border-color 0.2s;
}
.size-label__link:hover { border-bottom-color: #000; }

.size-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 40px;
}
.size-button {
  width: 52px;
  height: 52px;
  min-height: 0;
  padding: 0;
  border-color: var(--mm-line);
  font-size: 10px;
  letter-spacing: 0.15em;
  transition: all 0.2s;
}
.size-button:hover:not(:disabled) {
  border-color: #000;
  background: #000;
  color: var(--white);
}

/* ---------- PREMIUM BOX ---------- */
.premium-box-option {
  grid-template-columns: 64px minmax(0, 1fr) 44px;
  gap: 16px;
  margin: 0 0 24px;
  padding: 18px 0;
  border: 0;
  border-top: 1px solid var(--mm-line);
  border-bottom: 1px solid var(--mm-line);
}
.premium-box-option > img,
.premium-box-image-button {
  width: 64px;
  height: 64px;
  border: 1px solid var(--mm-line);
}
.premium-box-option p {
  margin: 0 0 6px;
  font-size: 9px;
  letter-spacing: 0.3em;
  color: #000;
}
.premium-box-option__description {
  margin: 0 0 4px;
  color: #000;
  font-family: var(--body);
  font-size: 11px;
  font-weight: 300;
  line-height: 1.6;
  letter-spacing: 0.05em;
}
.premium-box-option strong {
  margin-top: 0;
  color: var(--mm-grey);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.05em;
  text-transform: none;
}
.premium-box-switch {
  width: 44px;
  height: 24px;
  padding: 0;
  border: 1px solid #000;
  border-radius: 12px;
  background: transparent;
}
.premium-box-switch__knob {
  top: 3px;
  left: 3px;
  background: #000;
  transition: transform 0.25s, background 0.25s;
}
.premium-box-switch[aria-checked="true"] { background: #000; border-color: #000; }
.premium-box-switch[aria-checked="true"] .premium-box-switch__knob {
  background: var(--white);
  transform: translateX(20px);
}

/* ---------- ADD TO BAG ---------- */
.product-info .button.full {
  min-height: 0;
  margin-bottom: 16px;
  padding: 18px;
  font-size: 10px;
  letter-spacing: 0.35em;
}

/* ---------- COLOR SWATCHES ---------- */
.color-selector {
  margin-top: 48px;
  padding-top: 0;
  border-top: 0;
}
.color-selector p {
  margin: 0 0 14px;
  font-size: 9px;
  letter-spacing: 0.3em;
  color: var(--mm-grey);
}
.color-selector div { gap: 12px; }
.color-swatch {
  min-width: 0;
  gap: 8px;
  font-size: 8px;
  letter-spacing: 0.2em;
  color: var(--mm-grey);
}
.color-swatch__dot {
  border-color: var(--mm-line);
  box-shadow: none;
  transition: transform 0.2s;
}
.color-swatch:hover .color-swatch__dot { box-shadow: none; transform: scale(1.1); }
.color-swatch.active .color-swatch__dot {
  box-shadow: none;
  outline: 1.5px solid #000;
  outline-offset: 3px;
}
.color-swatch.active,
.color-swatch:hover { color: var(--mm-grey); }

/* ---------- ACCORDIONS + FAQ ROWS ---------- */
.product-accordions {
  margin-top: 32px;
  border-top: 1px solid var(--mm-line);
}
.product-accordions details { border-bottom: 1px solid var(--mm-line); }

.product-accordions summary,
.product-faq summary {
  padding: 18px 0;
  font-size: 9px;
  letter-spacing: 0.25em;
  color: #000;
  transition: opacity 0.2s;
}
.product-accordions summary:hover,
.product-faq summary:hover { opacity: 0.6; }

.product-accordions summary span,
.product-faq summary span {
  font-size: 18px;
  font-weight: 300;
  line-height: 1;
  transition: transform 0.3s ease;
}
.product-accordions details[open] > summary span,
.product-faq details[open] > summary span { transform: rotate(45deg); }

/* list rows with a dash, no divider lines */
.product-accordions .detail-list { margin: 0; padding: 0 0 24px; border-top: 0; }
.product-faq ul {
  margin: 0;
  padding: 0 0 24px;
  list-style: none;
  color: #000;
  font-family: var(--body);
  font-size: 12px;
  line-height: 1.9;
}
.product-accordions .detail-list p,
.product-faq ul li {
  position: relative;
  display: block;
  margin: 0;
  padding: 5px 0 5px 20px;
  border: 0;
  color: #000;
  font-family: var(--body);
  font-size: 12px;
  font-weight: 300;
  line-height: 1.9;
  letter-spacing: 0.05em;
}
.product-accordions .detail-list p::before,
.product-faq ul li::before {
  content: "\2014";
  position: absolute;
  left: 0;
  color: var(--mm-grey);
  font-size: 11px;
}

/* ---------- YOU MAY ALSO LIKE ---------- */
.recommendations {
  padding: 64px 64px 80px;
  border-top: 1px solid var(--mm-line);
}
.recommendations > p,
.recommendations > h2,
.recommendations .eyebrow {
  margin: 0 0 32px;
  font-family: var(--body);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.3em;
  color: var(--mm-grey);
}
.recommendation-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 320px));
  justify-content: center;
  gap: 32px;
  max-width: 1280px;
  margin: 0 auto;
}
.recommendations .product-media {
  margin-bottom: 16px;
  background: #ece9e3;
}
.recommendations .product-media img[src*="/media/"] { background: none; }
.recommendations .product-discover { display: none; }
.recommendations .product-card:hover img {
  transform: scale(calc(var(--mm-fit-scale, 1) * 1.04));
  transition: transform 0.4s ease;
}
/* name + price sit under the photo, not on it */
.recommendations .product-meta {
  position: static;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 0;
  background: none;
  color: #000;
  font-family: var(--body);
  letter-spacing: 0.15em;
}
.recommendations .product-meta > :first-child {
  font-size: 10px;
  text-transform: uppercase;
  color: #000;
}
.recommendations .product-meta__prices {
  flex-direction: row;
  align-items: baseline;
  gap: 12px;
}
.recommendations .product-meta__prices del {
  color: var(--mm-grey);
  font-size: 10px;
}
.recommendations .product-meta__prices strong {
  color: #000;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
}

/* ---------- FAQ ---------- */
.product-faq {
  max-width: none;
  margin: 0;
  padding: 80px 64px;
  border-top: 1px solid var(--mm-line);
}
.product-faq h2 {
  margin: 0 0 48px;
  padding-bottom: 20px;
  border-bottom: 1px solid #000;
  font-family: var(--body);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-align: left;
  text-transform: uppercase;
  color: var(--mm-grey);
}

/* ---------- FOOTER (single row on every page except the homepage) ---------- */
.footer.footer--row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 48px;
  background: #000;
}
.footer--row .footer-logo {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.35em;
  color: #f5f3ef;
}
.footer--row .footer-links { gap: 32px; }
.footer--row .footer-links a {
  font-family: var(--body);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: rgba(245, 243, 239, 0.6);
  transition: color 0.2s;
}
.footer--row .footer-links a:hover { color: #f5f3ef; }
.footer--row .footer-copy {
  font-family: var(--body);
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: none;
  color: rgba(245, 243, 239, 0.6);
}

/* ---------- PHOTO VIEWER: cream like Shopify ---------- */
.zoom-dialog,
.box-zoom-dialog {
  width: 100vw;
  max-width: none;
  height: 100vh;
  max-height: none;
  margin: 0;
  padding: 72px 48px 48px;
  background: #f5f3ef;
}
.zoom-dialog::backdrop,
.box-zoom-dialog::backdrop { background: #f5f3ef; }
.zoom-toolbar { color: #000; }
.zoom-toolbar button {
  border-color: var(--mm-line);
  background: #f5f3ef;
  color: #000;
}
.zoom-dialog__close { color: var(--mm-grey); font-size: 24px; }

/* ---------- MOBILE ---------- */
@media (max-width: 768px) {
  .product-info h1 { font-size: 28px; }
  .product-faq,
  .recommendations { padding: 48px 24px; }
  .recommendation-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .footer.footer--row {
    flex-direction: column;
    gap: 28px;
    padding: 40px 24px;
    text-align: center;
  }
  .footer--row .footer-links { flex-wrap: wrap; justify-content: center; }
}
/* ===== CART LINE (Shopify match) ===== */
.cart-drawer [data-cart-items] { padding: 0 48px; }
.cart-line {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--mm-line, #e0ddd8);
}
.cart-line__media { width: 80px; background: #f2f0ec; }
.cart-line__media img { width: 100%; height: auto; display: block; }
.cart-line__info h2 {
  margin: 0 0 6px;
  font-family: "Cormorant Garamond", serif;
  font-size: 17px;
  font-weight: 400;
  letter-spacing: .03em;
  text-transform: none;
  color: #111;
}
.cart-line__variant {
  margin: 0 0 6px;
  font-family: "Montserrat", sans-serif;
  font-size: 9px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #8a8fb0;
}
.cart-line__variant:empty { display: none; }
.cart-line__price {
  margin: 0 0 12px;
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  color: #111;
}
.cart-line__qty { display: inline-flex; align-items: center; gap: 0; }
.cart-line__qty button {
  width: 28px; height: 28px;
  border: 1px solid var(--mm-line, #e0ddd8);
  background: transparent;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  color: #111;
}
.cart-line__qty button:disabled { opacity: .35; cursor: default; }
.cart-line__qty span {
  min-width: 40px;
  text-align: center;
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
}
@media (max-width: 768px) {
  .cart-drawer [data-cart-items] { padding: 0 24px; }
}
/* ===== ORDER PAGE — match ===== */
.mm-order-summary__title {
  font-size: clamp(22px, calc((100vw - 656px) / 12.8), 40px);
  white-space: nowrap;
}
@media (max-width: 900px) {
  .mm-order-summary__title { font-size: clamp(20px, 6.5vw, 40px); }
  .mm-field--row { grid-template-columns: 1fr 1fr; gap: 12px; }
}
/* ===== ORDER PAGE: copy buttons + COD breakdown ===== */
.mm-bank-details__val-wrap { display: flex; align-items: center; gap: 8px; }
.mm-copy-btn {
  flex-shrink: 0;
  background: none;
  border: 1px solid var(--line);
  padding: 4px 10px;
  font-family: inherit;
  font-size: 8px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s;
}
.mm-copy-btn:hover { border-color: #000; color: #000; }
.mm-copy-btn.copied { border-color: #000; color: #000; background: var(--line); }

.mm-breakdown-details { display: none; padding: 20px; border: 1px solid var(--line); margin-bottom: 20px; }
.mm-breakdown-details.visible { display: block; }
.mm-breakdown-details__row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0; border-bottom: 1px solid var(--line); gap: 12px;
}
.mm-breakdown-details__row[hidden] { display: none; }
.mm-breakdown-details__row:last-child { border-bottom: none; }
.mm-breakdown-details__row--total { border-top: 1px solid var(--line); padding-top: 12px; }
.mm-breakdown-details__key {
  font-size: 8px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted); white-space: nowrap;
}
.mm-breakdown-details__val {
  font-family: var(--display); font-size: 14px; letter-spacing: 0.05em; text-align: right;
}
.mm-breakdown-details__row--total .mm-breakdown-details__key,
.mm-breakdown-details__row--total .mm-breakdown-details__val { font-weight: 500; }
/* ===== MOBILE HOMEPAGE: nav height + menu (match Shopify) ===== */
@media (max-width: 900px) {
  /* nav: Shopify is 60px tall on phones, ours was 68px */
  body.home .nav { min-height: 0; padding: 18px 24px; }
  body.home .hamburger {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: auto;
    height: auto;
    padding: 4px;
  }
  body.home .hamburger span { width: 22px; margin: 0; }

  /* menu: own header with X on the left and logo centred */
  .mobile-menu { padding-top: 0; transition: transform 0.4s ease; }
  .mobile-menu__header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    height: 63px;
    border-bottom: 1px solid var(--line);
  }
  .mobile-menu .mobile-menu__logo {
    padding: 0;
    border: 0;
    font-family: var(--display);
    font-size: 11px;
    font-weight: 300;
    letter-spacing: 4px;
    text-transform: uppercase;
  }
  .mobile-menu__close {
    position: absolute;
    left: 24px;
    top: 18px;
    width: 30px;
    height: 23px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--black);
    cursor: pointer;
  }
  .mobile-menu__close span {
    position: absolute;
    left: 4px;
    top: 11px;
    width: 22px;
    height: 1px;
    background: currentColor;
  }
  .mobile-menu__close span:nth-child(1) { transform: rotate(45deg); }
  .mobile-menu__close span:nth-child(2) { transform: rotate(-45deg); }

  /* while the menu is open: lock scroll and hide the MM chat bubble, like Shopify */
  body.menu-open { overflow: hidden; }
  body.menu-open .assistant-button,
  body.menu-open .assistant-panel { display: none; }
}
/* ===== MOBILE PRODUCT PAGE (match Shopify) ===== */

/* iOS paints bare buttons blue (hamburger, M / L / XL): inherit the page colour */
button { color: inherit; }

/* colour swatches: Shopify order, colours and label size */
.color-swatch[href$="/maison-noir"] { order: 1; }
.color-swatch[href$="/monarche-dune"] { order: 2; }
.color-swatch[href$="/monarche-blanc"] { order: 3; }
.color-swatch[href$="/maison-noir"] .color-swatch__dot { background: #000000; }
.color-swatch[href$="/monarche-dune"] .color-swatch__dot { background: #e8e1cc; }
.color-swatch[href$="/monarche-blanc"] .color-swatch__dot { background: #f7f5d5; }
.color-selector .color-swatch > span:not(.color-swatch__dot) {
  font-size: 8px;
  letter-spacing: 0.2em;
}

/* the swipe carousel only exists on phones */
.mobile-carousel { display: none; }

@media (max-width: 900px) {
  /* nav: 60px tall, scrolls away with the page, no line under it */
  body:has(.product-page) .nav {
    position: relative;
    min-height: 0;
    padding: 18px 24px;
    border-bottom-color: transparent;
  }
  body:has(.product-page) .hamburger {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: auto;
    height: auto;
    padding: 4px;
  }
  body:has(.product-page) .hamburger span { width: 22px; margin: 0; }

  .product-page { padding-top: 60px; }

  /* swipe carousel replaces the desktop gallery */
  .product-gallery { display: none; }
  .mobile-carousel { display: block; position: relative; }

  .mobile-carousel__zoom {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: rgba(245, 243, 239, 0.9);
    cursor: pointer;
  }
  .mobile-carousel__zoom svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: var(--black);
    stroke-width: 1.5;
    stroke-linecap: round;
  }

  .mobile-carousel__slides {
    display: flex;
    height: 100vw;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .mobile-carousel__slides::-webkit-scrollbar { display: none; }
  .mobile-carousel__slide {
    flex: 0 0 100%;
    min-width: 100%;
    height: 100vw;
    background: #f0ede8;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
  .mobile-carousel__slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .mobile-carousel__dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 16px 0;
    background: var(--white);
  }
  .mobile-carousel__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(10, 10, 10, 0.2);
    transition: background 0.2s;
  }
  .mobile-carousel__dot.active { background: var(--black); }

  .product-info { padding-top: 32px; }
}