/* Maison (premium) — couture fashion. Ivory and ink, Bodoni headlines at magazine size, hairline rules,
   tall portrait photos, slow and quiet motion (none for visitors who ask for less). */

body { letter-spacing: .01em; }
.sec-title { font-weight: 400; letter-spacing: -.02em; font-size: clamp(2rem, 7vw, 3.25rem); line-height: 1.05; }
.sec-head { margin-bottom: 32px; padding-bottom: 16px; border-bottom: 1px solid color-mix(in srgb, var(--c-text) 14%, transparent); align-items: end; }
.sec-head--center { border-bottom: 0; padding-bottom: 0; }
.sec-text { opacity: .72; max-width: 34rem; }
.kicker, .link-arrow { text-transform: uppercase; letter-spacing: .15em; font-size: .75rem; font-weight: 500; }
.link-arrow { border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.block { padding-block: clamp(48px, 9vw, 104px); }

/* Buttons: ink blocks, wide tracking, a fill that slides in on hover */
.btn { text-transform: uppercase; letter-spacing: .15em; font-size: .75rem; font-weight: 500; border-radius: 0; min-height: 52px; padding-inline: 28px; }
.btn--lg { font-size: .75rem; min-height: 56px; padding-inline: 34px; }
.btn--primary { position: relative; overflow: hidden; isolation: isolate; }
.btn--primary::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--c-accent); transform: translateY(101%); transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.btn--primary:hover::after { transform: translateY(0); }
.btn--outline { border-width: 1px; }

/* Announcement and header: thin, centred, monogram-like brand */
.announce { text-transform: uppercase; letter-spacing: .16em; font-size: .75rem; font-weight: 500; padding: 9px 16px; background: var(--c-text); color: var(--c-bg); }
.hdr { background: var(--c-bg); border-bottom: 1px solid color-mix(in srgb, var(--c-text) 12%, transparent); }
.hdr__in { height: 72px; }
.brand__name { font-family: var(--font-heading); font-weight: 400; letter-spacing: .18em; text-transform: uppercase; font-size: 1.375rem; }
.hdr__nav a { text-transform: uppercase; letter-spacing: .15em; font-size: .75rem; font-weight: 500; border-radius: 0; }
.hdr__nav a:hover { background: transparent; text-decoration: underline; text-underline-offset: 8px; text-decoration-thickness: 1px; }

/* Full-screen opening (Maison only) */
.mhero { position: relative; display: grid; align-items: end; min-height: min(92svh, 860px); overflow: hidden; color: #fff; background: var(--c-text); }
.mhero--plain { background: var(--c-surface); color: var(--c-text); }
.mhero__media { position: absolute; inset: 0; }
.mhero__img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: mhero-zoom 14s cubic-bezier(.2,.7,.2,1) forwards; }
@keyframes mhero-zoom { to { transform: scale(1); } }
.mhero__shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.62) 0%, rgba(0,0,0,.18) 48%, rgba(0,0,0,0) 72%); }
@media (min-width: 900px) { .mhero--left .mhero__shade { background: linear-gradient(to top, rgba(0,0,0,.55) 0%, rgba(0,0,0,0) 60%), linear-gradient(to right, rgba(0,0,0,.5) 0%, rgba(0,0,0,0) 55%); } }
.mhero--plain .mhero__shade { display: none; }
.mhero__in { position: relative; padding-block: 48px clamp(40px, 8vw, 88px); display: grid; gap: 14px; justify-items: start; max-width: 1240px; }
.mhero--center { align-items: center; text-align: center; }
.mhero--center .mhero__in { justify-items: center; }
.mhero__kicker { margin: 0; text-transform: uppercase; letter-spacing: .20em; font-size: .75rem; font-weight: 500; }
.mhero__title { margin: 0; font-family: var(--font-heading); font-weight: 400; font-size: clamp(2.75rem, 13vw, 7.5rem); line-height: .95; letter-spacing: -.03em; text-wrap: balance; overflow-wrap: anywhere; }
.mhero__text { margin: 4px 0 0; max-width: 30rem; font-size: 1rem; line-height: 1.55; opacity: .9; }
.mhero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 12px; }
.mhero__btn { background: #fff; color: #111; border: 0; }
.mhero--plain .mhero__btn { background: var(--c-text); color: var(--c-bg); }
.mhero__link { color: inherit; text-transform: uppercase; letter-spacing: .15em; font-size: .75rem; font-weight: 500; border-bottom: 1px solid currentColor; padding-bottom: 3px; min-height: 44px; display: inline-flex; align-items: center; }

/* Scrolling ribbon (Maison only) */
.mmarq { overflow: hidden; border-block: 1px solid color-mix(in srgb, var(--c-text) 14%, transparent); padding-block: 16px; }
.mmarq--dark { background: var(--c-text); color: var(--c-bg); border-color: transparent; }
.mmarq__track { display: flex; width: max-content; animation: mmarq 32s linear infinite; }
.mmarq { position: relative; }
/* The button decides (AUDIT_2 D-23). A mouse resting on the text pauses it too, but neither the
   button's focus nor a tap: on phones they stuck the ribbon after « play ». */
.mmarq.is-paused .mmarq__track { animation-play-state: paused; }
@media (hover: hover) and (pointer: fine) { .mmarq__track:hover { animation-play-state: paused; } }
.mmarq__toggle { position: absolute; top: 50%; right: 8px; transform: translateY(-50%); width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: color-mix(in srgb, var(--c-bg) 88%, transparent); color: var(--c-text); box-shadow: 0 2px 10px rgba(0,0,0,.12); cursor: pointer; }
.mmarq--dark .mmarq__toggle { background: color-mix(in srgb, var(--c-text) 80%, var(--c-bg)); color: var(--c-bg); }
.mmarq__toggle .ic { width: 18px; height: 18px; }
.mmarq__row { display: flex; align-items: center; gap: 28px; margin: 0; padding: 0 14px; list-style: none; }
.mmarq__row li { white-space: nowrap; font-family: var(--font-heading); font-size: clamp(1.125rem, 4vw, 1.5rem); font-style: italic; letter-spacing: -.01em; }
.mmarq__row .mmarq__dot { font-style: normal; font-size: .75rem; color: var(--c-accent); }
@keyframes mmarq { to { transform: translateX(-50%); } }

/* Shop the look (Maison only): tall photo, numbered pieces */
.mlook__grid { display: grid; gap: 28px; }
.mlook--plain .mlook__grid { grid-template-columns: minmax(0, 1fr) !important; max-width: 720px; margin-inline: auto; }
@media (min-width: 900px) {
  .mlook__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
  .mlook--right .mlook__photo { order: 2; }
}
.mlook__photo { background: var(--c-surface); overflow: hidden; }
.mlook__img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
/* Accent mixed with the text colour: readable (AA) as small text on the ivory background. */
.mlook__kicker { margin: 0 0 10px; text-transform: uppercase; letter-spacing: .18em; font-size: .75rem; font-weight: 600; color: color-mix(in srgb, var(--c-accent) 62%, var(--c-text)); }
.mlook__title { margin: 0 0 12px; }
.mlook__text { margin: 0 0 24px; opacity: .72; max-width: 30rem; }
.mlook__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid color-mix(in srgb, var(--c-text) 14%, transparent); }
.mlook__item { display: grid; grid-template-columns: auto 64px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding-block: 14px; min-height: 44px; border-bottom: 1px solid color-mix(in srgb, var(--c-text) 14%, transparent); color: inherit; text-decoration: none; }
.mlook__num { font-family: var(--font-heading); font-size: 1.125rem; font-style: italic; color: color-mix(in srgb, var(--c-text) 68%, var(--c-bg)); } /* muted but 4.5:1 (AUDIT_2 E-07) */
.mlook__thumb { display: block; width: 64px; background: var(--c-surface); overflow: hidden; }
.mlook__thumbimg { width: 100%; aspect-ratio: 3/4; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.mlook__info { display: grid; gap: 4px; min-width: 0; }
.mlook__name { text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mlook__price { font-size: .875rem; }
.mlook__go { width: 18px; height: 18px; transition: transform .25s ease; }
.mlook__item:hover .mlook__go { transform: translateX(4px); }
.mlook__item:hover .mlook__thumbimg { transform: scale(1.05); }

/* Product cards: tall portraits, the second photo on hover, label-like titles */
.card__media { aspect-ratio: 3/4; border-radius: 0; background: var(--c-surface); }
.card__img { transition: transform .8s cubic-bezier(.2,.7,.2,1), opacity .5s ease; }
.card:hover .card__img:not(.card__img--alt) { transform: scale(1.03); }
.card__body { padding-top: 14px; gap: 6px; }
.card__title { text-transform: uppercase; letter-spacing: .10em; font-size: .75rem; font-weight: 500; }
.card__price, .card .price { font-size: .875rem; }
.price .now { font-weight: 400; }
.tag { border-radius: 0; text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; background: var(--c-bg); color: var(--c-text); }
.grid--products { row-gap: 40px; }

/* Categories as tall tiles */
.cats--tile .cat { justify-items: start; text-align: left; }
.cats--tile .cat__media { aspect-ratio: 3/4; border: 0; border-radius: 0; }
.cats--tile .cat__name { text-transform: uppercase; letter-spacing: .15em; font-size: .75rem; font-weight: 500; padding-top: 6px; border-top: 1px solid currentColor; width: 100%; }
.cat__img { transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.cat:hover .cat__img { transform: scale(1.04); }

/* Story, reviews, trust */
.split__media { border-radius: 0; }
.split__text .sec-title { font-style: italic; }
.review { border: 0; border-top: 1px solid color-mix(in srgb, var(--c-text) 14%, transparent); background: transparent; border-radius: 0; padding-inline: 0; }
.faq__item { border-radius: 0; background: transparent; border-bottom: 1px solid color-mix(in srgb, var(--c-text) 14%, transparent); }
.trust { background: var(--c-surface); border-top: 0; }
.trust__icon { background: transparent; color: var(--c-text); border-radius: 0; border: 1px solid color-mix(in srgb, var(--c-text) 20%, transparent); }
.trust__list strong { text-transform: uppercase; letter-spacing: .10em; font-size: .75rem; font-weight: 500; }

/* Product page: generous title, sharp options */
.pdp__title { font-weight: 400; letter-spacing: -.02em; font-size: clamp(1.875rem, 6vw, 2.75rem); line-height: 1.08; }
.pill { border-radius: 0; min-width: 52px; text-transform: uppercase; letter-spacing: .1em; font-size: .75rem; }
.qty, .gallery__slide, .gallery__img, .field input, .field select, .field textarea { border-radius: 0; }

/* Checkout, tracking and footer keep the same language */
.co-summary, .tracking__card, .co-pay__opt, .co-alert, .co-test, .co-step__n { border-radius: 0; }
.co-step legend { font-weight: 400; font-family: var(--font-heading); font-size: 1.25rem; }
.ftr { background: var(--c-text); color: var(--c-bg); }
.ftr a { color: inherit; }
.ftr__title { text-transform: uppercase; letter-spacing: .15em; font-size: .75rem; font-weight: 500; }

@media (prefers-reduced-motion: reduce) {
  .mhero__img { animation: none; transform: none; }
  .mmarq__track { animation: none; }
  .btn--primary::after { transition: none; }
}

/* Product page buy box: the price in the theme's light weight, buttons on one line on phones */
.pdp__price, .pdp__price .now { font-weight: 400; letter-spacing: .01em; }
.pdp .btn, .buy .btn { letter-spacing: .12em; white-space: nowrap; }

/* ---------- Premium structure (Maison) ---------- */

/* Header: transparent and white over the full-screen opening photo (never over a plain one, AUDIT_2 D-05), solid once scrolled,
   steps aside while scrolling down, back on the slightest scroll up. */
.hdr { transition: transform .35s cubic-bezier(.2,.7,.2,1), background-color .3s ease, color .3s ease, border-color .3s ease; }
.hdr-away .hdr--sticky { transform: translateY(-100%); }
.tpl-home:has(#main > .sec-maison-hero:first-child .mhero:not(.mhero--plain)) .hdr:not(.is-scrolled) { background: transparent; border-bottom-color: rgba(255,255,255,.18); color: #fff; }
.tpl-home:has(#main > .sec-maison-hero:first-child .mhero:not(.mhero--plain)) .hdr:not(.is-scrolled) .brand__mark { background: #fff; color: #111; }
.tpl-home:has(#main > .sec-maison-hero:first-child .mhero:not(.mhero--plain)) .hdr:not(.is-scrolled) .icon-btn,
.tpl-home:has(#main > .sec-maison-hero:first-child .mhero:not(.mhero--plain)) .hdr:not(.is-scrolled) .hdr__nav a,
.tpl-home:has(#main > .sec-maison-hero:first-child .mhero:not(.mhero--plain)) .hdr:not(.is-scrolled) .brand { color: #fff; }
.tpl-home #main > .sec-maison-hero:first-child .mhero:not(.mhero--plain) { margin-top: -73px; padding-top: 73px; }
@media (prefers-reduced-motion: reduce) { .hdr { transition: none; } .hdr-away .hdr--sticky { transform: none; } }

/* Product card: the whole photo links to the product, quick add on top */
.mcard__link { display: block; height: 100%; }
.mcard__quick { position: absolute; right: 8px; bottom: 8px; z-index: 2; display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 0; background: var(--c-bg); color: var(--c-text); cursor: pointer; box-shadow: 0 1px 6px rgb(0 0 0 / .12); }
.mcard__quick span { display: none; }
.mcard__quick .ic { width: 18px; height: 18px; }
@media (hover: hover) and (min-width: 900px) {
  .mcard__quick { left: 0; right: 0; bottom: 0; width: auto; height: 48px; box-shadow: none; text-transform: uppercase; letter-spacing: .15em; font-size: .75rem; font-weight: 500; transform: translateY(100%); transition: transform .3s cubic-bezier(.2,.7,.2,1); }
  .mcard__quick span { display: inline; }
  .card:hover .mcard__quick, .mcard__quick:focus-visible { transform: translateY(0); }
}

/* Cart drawer (Maison): wider, free-delivery progress, suggestions */
.pcart .drawer__panel { width: min(460px, 100vw); padding: 8px 20px 20px; }
.pcart .drawer__head h2 { font-family: var(--font-heading); font-weight: 400; font-size: 1.75rem; }
.pfree { margin: 4px 0 16px; padding: 14px 16px; background: var(--c-surface); }
.pfree__label { margin: 0 0 10px; font-size: .8125rem; letter-spacing: .02em; }
.pfree__label small { opacity: .6; }
.pfree__bar { height: 3px; background: color-mix(in srgb, var(--c-text) 12%, transparent); overflow: hidden; }
.pfree__bar span { display: block; height: 100%; background: var(--c-text); transition: width .5s cubic-bezier(.2,.7,.2,1); }
.pfree.is-done .pfree__bar span { background: var(--c-accent); }
.psugg { margin-top: 20px; padding-top: 18px; border-top: 1px solid color-mix(in srgb, var(--c-text) 12%, transparent); }
.psugg__title { margin: 0 0 12px; text-transform: uppercase; letter-spacing: .15em; font-size: .75rem; font-weight: 500; }
.psugg__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.psugg__item { display: grid; grid-template-columns: 56px minmax(0, 1fr) 44px; align-items: center; gap: 12px; }
.psugg__img { display: block; background: var(--c-surface); overflow: hidden; }
.psugg__img img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.psugg__info { display: grid; gap: 2px; min-width: 0; }
.psugg__name { font-size: .8125rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.psugg__price { font-size: .8125rem; }
.psugg__add { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid color-mix(in srgb, var(--c-text) 20%, transparent); background: transparent; color: inherit; cursor: pointer; }
.psugg__add:hover { background: var(--c-text); color: var(--c-bg); }

/* Quick add sheet: from the bottom on phones, centred on desktop */
.pquick { position: fixed; inset: 0; z-index: 70; display: grid; align-items: end; }
@media (min-width: 900px) { .pquick { place-items: center; } }
.pquick__backdrop { position: absolute; inset: 0; background: rgb(0 0 0 / .45); }
.pquick__sheet { position: relative; width: 100%; max-width: 520px; margin-inline: auto; padding: 24px 20px calc(24px + env(safe-area-inset-bottom)); background: var(--c-bg); max-height: 85vh; overflow-y: auto; }
.slide-from-bottom { transform: translateY(100%); }
@media (min-width: 900px) { .slide-from-bottom { transform: translateY(24px); opacity: 0; } }
.pquick__close { position: absolute; top: 8px; right: 8px; }
.pquick__loading { display: grid; place-items: center; min-height: 120px; margin: 0; }
.pquick__failed { display: grid; justify-items: center; gap: 12px; min-height: 120px; align-content: center; padding: 8px 8px 16px; text-align: center; }
.pquick__failed p { margin: 0; }
.pquick__body { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; align-items: start; }
.pquick__img { width: 96px; aspect-ratio: 3/4; object-fit: cover; background: var(--c-surface); }
.pquick__info { display: grid; gap: 10px; min-width: 0; padding-right: 32px; }
.pquick__name { margin: 0; font-family: var(--font-heading); font-weight: 400; font-size: 1.375rem; line-height: 1.15; }
.pquick__price { margin: 0; }
.pquick__more { font-size: .75rem; text-transform: uppercase; letter-spacing: .16em; text-decoration: underline; text-underline-offset: 4px; color: inherit; min-height: 44px; display: inline-flex; align-items: center; }
@media (prefers-reduced-motion: reduce) { .pfree__bar span { transition: none; } }
.pcart .total strong { font-weight: 400; font-size: 1.25rem; }

/* Product page (Maison): stacked photos on desktop, buy box in view; swipe and counter on phones */
.mgal { position: relative; }
.mgal__count { position: absolute; z-index: 2; right: 12px; bottom: 12px; padding: 6px 10px; background: var(--c-bg); font-size: .75rem; letter-spacing: .12em; font-variant-numeric: tabular-nums; }
@media (max-width: 1023px) {
  .mpdp .pdp__grid { margin-inline: calc(-1 * var(--gutter, 16px)); }
  .mpdp .pdp__info { padding-inline: var(--gutter, 16px); }
  .mpdp .gallery__thumbs { display: none; }
}
@media (min-width: 1024px) {
  .mpdp .pdp__grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 56px; align-items: start; }
  .mpdp .gallery--grid .gallery__track { grid-template-columns: 1fr; gap: 6px; }
  .mpdp .gallery--grid .gallery__slide:first-child { grid-column: auto; }
  .mpdp .mgal__count { display: none; }
  .mpdp .pdp__info { position: sticky; top: 96px; padding-top: 8px; }
}
.mguide__btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; text-transform: uppercase; letter-spacing: .14em; font-size: .75rem; font-weight: 500; text-decoration: underline; text-underline-offset: 6px; }
.mguide .drawer__head h2 { font-family: var(--font-heading); font-weight: 400; font-size: 1.75rem; }
.mguide__body { padding: 8px 0 24px; line-height: 1.9; font-size: .9375rem; }
.mpdp { --gutter: 16px; }
@media (min-width: 768px) { .mpdp { --gutter: 24px; } }

/* Collection (Maison): an editorial grid — a large piece every nine products on desktop,
   two columns with a full-width piece every seven on phones */
@media (max-width: 1023px) {
  .collection .grid--products > .card:nth-child(7n+1) { grid-column: 1 / -1; }
  .collection .grid--products > .card:nth-child(7n+1) .card__media { aspect-ratio: 4/5; }
}
@media (min-width: 1024px) {
  .collection .grid--products { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-flow: dense; }
  .collection .grid--products > .card:nth-child(9n+1) { grid-column: span 2; grid-row: span 2; }
  .collection .grid--products > .card:nth-child(9n+1) .card__media { aspect-ratio: auto; height: calc(100% - 64px); }
  .collection .grid--products > .card:nth-child(9n+1) .card__img { height: 100%; }
}
.collection__head { padding-block: 24px 8px; }
.collection__head .sec-title { font-size: clamp(2.5rem, 9vw, 4.5rem); }
.collection__count { text-transform: uppercase; letter-spacing: .15em; font-size: .75rem; opacity: .7; }
.pquick .pill { display: inline-flex; align-items: center; gap: 8px; }
.pswatch { width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); flex: none; }
