/* ==========================================================================
   Design 6 — Vitrine
   The shop window after dark. Black glass, gold lettering in Maregy capitals,
   hairline gold mullions dividing the page into panes. Pictures rest in low
   light until the light reaches them. The only pale surfaces are the ivory
   price cards and the receipt, as they would be in the window itself.
   ========================================================================== */

.vitrine {
  --bg: var(--mk-black);
  --ink: var(--mk-ivory);
  --soft: rgba(246, 241, 234, 0.74);
  --gold: var(--mk-champagne);
  --mullion: rgba(218, 199, 117, 0.42);
  --paper: var(--mk-ivory);
  --paper-soft: var(--mk-stone-deep);
  --paper-line: rgba(0, 0, 0, 0.18);
  --mk-error: #F4B5B0;
  --bar: 72px;
  --gutter: clamp(16px, 3.2vw, 52px);
  background: var(--bg);
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 300;
  line-height: 1.75;
}
.vitrine :focus-visible { outline: 1px solid var(--mk-gold-a); outline-offset: 3px; }
.vitrine .v-card :focus-visible, .vitrine .v-receipt :focus-visible, .vitrine .v-modal :focus-visible, .vitrine .v-slip :focus-visible { outline-color: #000; }
.vitrine .v-receipt, .vitrine .v-modal, .vitrine .v-slip { --mk-error: #A32020; }

.vitrine h1, .vitrine h2 { font-family: var(--f-head); text-transform: uppercase; color: var(--gold); }

.vitrine .btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 4px 36px 0;
  background: var(--mk-champagne); color: #000;
  font-family: var(--f-head); font-size: 14px; letter-spacing: 0.18em; text-transform: uppercase;
  transition: background-color 0.25s;
}
.vitrine .btn:hover { background: var(--mk-gold-a); }
.vitrine .btn:disabled { background: rgba(214, 197, 154, 0.2); color: rgba(246, 241, 234, 0.6); }
.vitrine .btn--wide { width: 100%; }
.vitrine .btn--ink { background: #000; color: var(--mk-ivory); }
.vitrine .btn--ink:hover { background: var(--mk-wine); }
.v-link { font-family: var(--f-head); font-size: 13.5px; letter-spacing: 0.17em; text-transform: uppercase; color: var(--gold); padding-bottom: 3px; border-bottom: 1px solid var(--mullion); transition: color 0.2s, border-color 0.2s; }
.v-link:hover { color: var(--mk-gold-a); border-bottom-color: var(--mk-gold-a); }
.v-plain { font-size: 13px; font-weight: 400; text-decoration: underline; text-underline-offset: 4px; }

/* ---- the light --------------------------------------------------------- */
.v-light { position: relative; }
.v-light::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(circle 620px at var(--lx, 50%) var(--ly, 40%), rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0.12) 30%, rgba(0, 0, 0, 0.62) 100%);
  transition: opacity 0.7s ease;
}
body[data-lights="full"] .v-light::after, [data-card]:focus-within .v-light::after { opacity: 0; }
@media (hover: none) {
  .v-light::after { background: rgba(0, 0, 0, 0.52); }
  .v-light[data-lit]::after { opacity: 0; }
}

/* ---- bar --------------------------------------------------------------- */
.v-bar { position: sticky; top: 0; z-index: 40; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; height: var(--bar); padding-inline: var(--gutter); background: var(--bg); border-bottom: 1px solid var(--mullion); }
.v-bar__side, .v-nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.v-bar__side--end { justify-content: flex-end; }
.v-nav a, .v-word { font-family: var(--f-head); font-size: 13.5px; font-weight: 400; letter-spacing: 0.17em; text-transform: uppercase; white-space: nowrap; color: var(--ink); padding: 8px 0 5px; border-bottom: 1px solid transparent; transition: color 0.2s, border-color 0.2s; }
.v-nav a:hover, .v-word:hover { color: var(--mk-gold-a); }
.v-nav a[aria-current] { color: var(--mk-gold-a); border-bottom-color: var(--mullion); }
.v-menubtn { display: none; }
.v-lights span { color: var(--gold); }
.v-paren::before { content: "("; }
.v-paren::after { content: ")"; }
.v-paren[data-empty] { display: none; }
.v-logo .mk-mark, .v-over__logo { width: clamp(160px, 16vw, 224px); }

/* ---- shopfront --------------------------------------------------------- */
.v-front { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr) minmax(0, 1fr); height: calc(100vh - var(--bar) - 47px); min-height: 500px; max-height: 1100px; }
.v-front__pane { position: relative; display: block; overflow: hidden; border-right: 1px solid var(--mullion); }
.v-front__pane:last-child { border-right: 0; }
.v-front__pane > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.v-front__pane--centre > img { object-position: 62% 30%; filter: brightness(0.5); }
.v-front__sign { position: absolute; inset: 0; z-index: 2; display: grid; justify-items: center; align-content: center; gap: 22px; padding: 32px clamp(16px, 3vw, 48px); text-align: center; }
.v-front__sign .mk-mark { width: clamp(180px, 23vw, 360px); margin-bottom: clamp(4px, 2vh, 24px); }
.v-front__sign h1 { font-size: clamp(20px, 2.1vw, 30px); letter-spacing: 0.2em; line-height: 1.3; }
.v-front__sign p { max-width: 26em; color: var(--ink); }
.v-sill { padding: 12px var(--gutter) 10px; border-block: 1px solid var(--mullion); text-align: center; font-family: var(--f-head); font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }

/* ---- panes ------------------------------------------------------------- */
.v-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; padding: clamp(40px, 6vw, 92px) var(--gutter) 20px; border-bottom: 1px solid var(--mullion); }
.v-head h2 { font-size: clamp(20px, 2.2vw, 30px); letter-spacing: 0.16em; line-height: 1.25; }
.v-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.v-pane { min-width: 0; padding: 12px; border-right: 1px solid var(--mullion); border-bottom: 1px solid var(--mullion); }
.v-pane__media { aspect-ratio: 3 / 4.15; overflow: hidden; background: #0d0d0d; }
.v-pane__media > a { display: block; height: 100%; }
.v-pane__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 0.5s ease; }
.v-pane__media img.alt { opacity: 0; }
@media (hover: hover) { .v-pane:hover .v-pane__media img.alt { opacity: 1; } }
.v-pane__save { position: absolute; right: 6px; top: 6px; z-index: 2; width: 40px; height: 40px; display: grid; place-items: center; color: #fff; filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.5)); }
.v-pane__save[aria-pressed="true"] .mk-icon, .v-pdp__save[aria-pressed="true"] .mk-icon { fill: var(--mk-gold-a); stroke: var(--mk-gold-a); }

/* the price card standing at the foot of each piece */
.v-card { position: absolute; left: 10px; bottom: 10px; z-index: 2; display: block; width: min(calc(100% - 20px), 264px); padding: 10px 12px 9px; background: var(--paper); color: #000; font-weight: 400; line-height: 1.5; text-align: left; }
.v-card__name { display: block; font-family: var(--f-head); font-size: 13.5px; letter-spacing: 0.12em; text-transform: uppercase; color: #000; }
.vitrine h3.v-card__name { font-weight: 400; }
.v-card__meta { display: flex; justify-content: space-between; gap: 12px; font-size: 12.5px; }
.v-card__meta > span:first-child { color: var(--paper-soft); }
.v-card__more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.3s ease; }
.v-card__more > div { min-height: 0; overflow: hidden; }
.v-pane[data-quick] .v-card__more, .v-pane:focus-within .v-card__more { grid-template-rows: 1fr; }
.v-card__add { display: none; margin-top: 6px; font-size: 12.5px; text-decoration: underline; text-underline-offset: 3px; }
.v-pane[data-quick] .v-card__add { display: none; }
@media (hover: hover) { .v-pane:hover .v-card__more { grid-template-rows: 1fr; } }
@media (hover: none) { .v-card__add { display: block; } }
.v-sizes { display: flex; flex-wrap: wrap; gap: 5px; }
.v-card .v-sizes { padding-top: 9px; }
.v-card .v-sizes .size { min-width: 34px; height: 30px; padding: 0 6px; border: 1px solid var(--paper-line); font-size: 12px; color: #000; transition: background-color 0.15s, color 0.15s; }
.v-card .v-sizes .size:hover:not(:disabled) { background: #000; color: var(--paper); border-color: #000; }
.v-card .v-sizes .size:disabled { color: #A39C95; text-decoration: line-through; }
.v-empty { grid-column: 1 / -1; display: grid; justify-items: start; gap: 22px; padding: 48px var(--gutter) 80px; font-size: 16px; border-bottom: 1px solid var(--mullion); }

/* ---- band and door ----------------------------------------------------- */
.v-band { display: grid; place-items: center; min-height: min(76vh, 780px); padding: 72px var(--gutter); overflow: hidden; border-bottom: 1px solid var(--mullion); }
.v-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; filter: brightness(0.62); }
.v-band blockquote { position: relative; z-index: 2; max-width: 14em; text-align: center; font-family: var(--f-display); font-size: clamp(32px, 5vw, 80px); line-height: 1.06; color: var(--mk-champagne); }
.v-door { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); border-bottom: 1px solid var(--mullion); }
.v-door__img { min-height: clamp(380px, 48vw, 720px); overflow: hidden; border-right: 1px solid var(--mullion); }
.v-door__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.v-door__text { display: grid; align-content: center; justify-items: start; gap: 20px; padding: clamp(32px, 6vw, 96px) clamp(20px, 6vw, 96px); }
.v-door__text h2, .v-door__text h1 { font-size: clamp(24px, 3vw, 44px); letter-spacing: 0.12em; line-height: 1.2; }
.v-door__text p { max-width: 36em; color: var(--soft); font-size: 15px; }
.v-door--flip .v-door__img { order: 2; border-right: 0; border-left: 1px solid var(--mullion); }
.v-triptych { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--mullion); }
.v-triptych > div { padding: clamp(32px, 5vw, 72px) var(--gutter); border-right: 1px solid var(--mullion); }
.v-triptych > div:last-child { border-right: 0; }
.v-triptych h2 { font-size: 18px; letter-spacing: 0.16em; line-height: 1.3; margin-bottom: 14px; }
.v-triptych p { color: var(--soft); }

/* ---- shop -------------------------------------------------------------- */
.v-pagehead { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 32px; padding: clamp(36px, 6vw, 92px) var(--gutter) 22px; }
.v-pagehead h1 { font-size: clamp(30px, 4.6vw, 70px); letter-spacing: 0.1em; line-height: 1.1; }
.v-pagehead p { color: var(--soft); max-width: 36em; }
.v-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 28px; padding: 12px var(--gutter); border-block: 1px solid var(--mullion); }
.v-tabs { display: flex; flex-wrap: wrap; gap: 4px 26px; }
.v-tabs a { font-family: var(--f-head); font-size: 13.5px; letter-spacing: 0.16em; text-transform: uppercase; padding: 6px 0 3px; color: var(--soft); border-bottom: 1px solid transparent; transition: color 0.2s; }
.v-tabs a:hover { color: var(--ink); }
.v-tabs a[aria-current] { color: var(--mk-gold-a); border-bottom-color: var(--mullion); }
.v-sort { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--soft); }
.v-sort select { background: transparent; border: 1px solid var(--mullion); padding: 8px 10px; color: var(--ink); font-weight: 300; cursor: pointer; }
.v-sort select option { background: #000; color: var(--mk-ivory); }

/* ---- product page ------------------------------------------------------ */
.v-pdp { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); align-items: start; border-bottom: 1px solid var(--mullion); }
.v-pdp__window { position: sticky; top: var(--bar); height: calc(100vh - var(--bar)); display: grid; grid-template-rows: minmax(0, 1fr) auto; border-right: 1px solid var(--mullion); }
.v-pdp__main { position: relative; overflow: hidden; cursor: zoom-in; background: #0d0d0d; }
.v-pdp__main > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.v-loupe { position: absolute; left: 0; top: 0; z-index: 3; width: 200px; height: 200px; border-radius: 50%; border: 1px solid var(--mk-gold-a); box-shadow: 0 14px 44px rgba(0, 0, 0, 0.6); background-color: #000; background-repeat: no-repeat; pointer-events: none; opacity: 0; transition: opacity 0.2s; }
.v-loupe[data-on] { opacity: 1; }
.v-thumbs { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--mullion); }
.v-thumbs button { width: 54px; opacity: 0.55; transition: opacity 0.2s; }
.v-thumbs button img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.v-thumbs button:hover { opacity: 0.85; }
.v-thumbs button[aria-current="true"] { opacity: 1; box-shadow: 0 0 0 1px var(--mk-gold-a); }
.v-thumbs__hint { margin-left: auto; font-size: 12.5px; color: var(--soft); }
.v-pdp__info { display: grid; align-content: start; justify-items: start; gap: 16px; padding: clamp(28px, 4.6vw, 76px) clamp(20px, 5vw, 84px) clamp(40px, 5vw, 84px); }
.v-pdp__info > * { max-width: 100%; }
.v-pdp__info h1 { font-size: clamp(28px, 3.3vw, 50px); letter-spacing: 0.1em; line-height: 1.15; margin-top: 6px; }
.v-pdp__price { display: flex; align-items: baseline; gap: 16px; font-size: 19px; font-weight: 400; }
.v-pdp__price > span:last-child { font-size: 14px; font-weight: 300; color: var(--soft); }
.v-pdp__desc { color: var(--soft); max-width: 36em; margin-bottom: 8px; }
.v-pdp__sizehead { display: flex; justify-content: space-between; align-items: baseline; width: 100%; }
.v-pdp__sizehead strong { font-weight: 500; color: var(--mk-gold-a); }
.v-sizes--pick { gap: 8px; }
.v-sizes--pick .size { min-width: 58px; height: 48px; border: 1px solid var(--mullion); font-size: 13.5px; font-weight: 400; transition: border-color 0.2s, background-color 0.2s, color 0.2s; }
.v-sizes--pick .size:hover:not(:disabled) { border-color: var(--mk-gold-a); color: var(--mk-gold-a); }
.v-sizes--pick .size:disabled { opacity: 0.4; text-decoration: line-through; }
.v-sizes--pick .size[aria-pressed="true"] { background: var(--mk-champagne); border-color: var(--mk-champagne); color: #000; }
.v-pdp__error { color: #F4B5B0; }
.v-pdp__sold { color: var(--soft); }
.v-pdp__save { display: inline-flex; align-items: center; gap: 9px; padding: 6px 0; }
.v-pdp__save:hover { color: var(--mk-gold-a); }
.v-spec { width: 100%; margin-top: 12px; border-bottom: 1px solid var(--mullion); }
.v-spec > div { display: grid; grid-template-columns: 112px 1fr; gap: 12px; padding: 13px 0 12px; border-top: 1px solid var(--mullion); }
.v-spec dt { font-family: var(--f-head); font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); padding-top: 2px; }
.v-spec dd { color: var(--soft); }

/* ---- service, checkout ------------------------------------------------- */
.v-info { padding-bottom: clamp(56px, 8vw, 120px); }
.v-info .v-pagehead { display: grid; justify-content: start; gap: 14px; }
.v-spec--wide { margin: 8px 0 0; border-top: 1px solid var(--mullion); border-bottom: 0; }
.v-spec--wide > div { grid-template-columns: minmax(160px, 5fr) minmax(0, 7fr); gap: 0; padding: 0; border-top: 0; border-bottom: 1px solid var(--mullion); }
.v-spec--wide dt, .v-spec--wide dd { padding: 22px var(--gutter); }
.v-spec--wide dd { border-left: 1px solid var(--mullion); font-size: 15px; }
/* service pages put whole questions in this column: sentence case reads better than tracked capitals at that length */
.v-spec--wide dt { font-family: var(--f-body); font-size: 15px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--mk-champagne); }
.v-info__sample { padding: 16px var(--gutter); font-size: 12.5px; color: rgba(246, 241, 234, 0.6); }
.v-info--center { display: grid; justify-items: center; text-align: center; padding-inline: var(--gutter); min-height: 62vh; align-content: center; }
.v-info--center .v-pagehead { justify-items: center; padding-inline: 0; }

.v-checkout { padding-bottom: clamp(56px, 8vw, 120px); }
.v-checkout__cols { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr); gap: clamp(28px, 6vw, 100px); padding: 8px var(--gutter) 0; align-items: start; }
.v-checkout form h2 { font-size: 16px; letter-spacing: 0.17em; margin: 36px 0 16px; }
.v-checkout form h2:first-child { margin-top: 0; }
.v-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.vitrine .field { display: grid; gap: 4px; }
.vitrine .field--full { grid-column: 1 / -1; }
.vitrine .field label { font-size: 13px; color: var(--soft); }
.vitrine .field input { width: 100%; padding: 11px 0; border: 0; border-bottom: 1px solid var(--mullion); background: transparent; color: var(--ink); font-weight: 300; }
.vitrine .field input:focus { outline: none; border-bottom-color: var(--mk-gold-a); box-shadow: 0 1px 0 var(--mk-gold-a); }
.vitrine .field.is-invalid input { border-bottom-color: #F4B5B0; box-shadow: 0 1px 0 #F4B5B0; }
.vitrine .delivery { display: grid; grid-template-columns: auto 1fr auto; gap: 2px 12px; align-items: center; padding: 15px 16px; border: 1px solid var(--mullion); cursor: pointer; }
.vitrine .delivery + .delivery { border-top: 0; }
.vitrine .delivery input { grid-row: 1 / 3; width: 16px; height: 16px; accent-color: var(--mk-champagne); }
.vitrine .delivery__name { font-weight: 400; }
.vitrine .delivery__detail { grid-column: 2; font-size: 13px; color: var(--soft); }
.vitrine .delivery__cost { grid-column: 3; grid-row: 1 / 3; }
.v-checkout__note { color: var(--soft); margin-bottom: 26px; max-width: 40em; }

/* ivory paper: the order slip, the bag receipt, the modals */
.v-slip, .v-receipt, .v-modal { background: var(--paper); color: #000; font-weight: 400; font-size: 14px; }
.vitrine .v-slip h2, .vitrine .v-receipt h2, .vitrine .v-modal h2 { color: #000; font-size: 17px; letter-spacing: 0.17em; line-height: 1.3; }
.v-slip { position: sticky; top: calc(var(--bar) + 24px); padding: 26px 26px 28px; border-top: 3px solid var(--mk-gold-b); }
.v-slip__lines { margin-top: 10px; }
.v-slip__lines li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px dashed var(--paper-line); }
.v-slip__name { font-family: var(--f-head); font-size: 13.5px; letter-spacing: 0.12em; text-transform: uppercase; }
.v-slip__meta { font-size: 12.5px; color: var(--paper-soft); }
.v-slip__totals { margin-top: 14px; display: grid; gap: 7px; }
.v-slip__totals div { display: flex; justify-content: space-between; gap: 16px; }
.v-slip__grand { font-size: 16.5px; font-weight: 500; padding-top: 8px; }
.v-slip--plain { position: static; width: min(100%, 520px); margin: 6px 0 30px; text-align: left; }

/* ---- footer ------------------------------------------------------------ */
.v-footer { padding: clamp(48px, 6vw, 84px) var(--gutter) 24px; }
.v-footer__mark { display: block; width: 78px; margin: 0 auto clamp(36px, 5vw, 60px); }
.v-footer__cols { display: grid; grid-template-columns: 1fr 1fr 1fr 1.4fr; gap: 32px clamp(16px, 3vw, 48px); max-width: 1320px; margin: 0 auto; }
.v-footer h2 { font-size: 14px; letter-spacing: 0.17em; margin-bottom: 12px; }
.v-footer li { margin-bottom: 5px; }
.v-footer li a:hover, .v-footer li button:hover { color: var(--mk-gold-a); }
.v-footer li button { font-weight: 300; }
.vitrine .newsletter { display: flex; max-width: 440px; border-bottom: 1px solid var(--mullion); }
.vitrine .newsletter input { flex: 1; min-width: 0; padding: 12px 0; border: 0; background: transparent; color: var(--ink); font-weight: 300; }
.vitrine .newsletter input::placeholder { color: rgba(246, 241, 234, 0.6); }
.vitrine .newsletter input:focus { outline: none; }
.vitrine .newsletter:focus-within { border-bottom-color: var(--mk-gold-a); }
.vitrine .newsletter .btn { min-height: 44px; padding: 3px 0 0 18px; background: none; color: var(--mk-gold-a); }
.vitrine .newsletter.is-invalid { border-bottom-color: #F4B5B0; }
.vitrine .form-done { margin-top: 14px; max-width: 30em; }
.v-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; max-width: 1320px; margin: clamp(36px, 5vw, 60px) auto 0; padding-top: 16px; border-top: 1px solid var(--mullion); font-size: 12.5px; color: var(--soft); }

/* ---- panels ------------------------------------------------------------ */
.v-scrim { position: fixed; inset: 0; z-index: 50; background: rgba(0, 0, 0, 0.6); opacity: 0; pointer-events: none; transition: opacity 0.35s; }
body[data-open="bag"] .v-scrim, body[data-open="sizes"] .v-scrim, body[data-open="account"] .v-scrim, body[data-open="search"] .v-scrim { opacity: 1; pointer-events: auto; }

/* the bag unrolls from under the bar like a printed receipt */
.v-receipt { position: fixed; top: calc(var(--bar) + 10px); right: var(--gutter); z-index: 60; width: min(420px, calc(100vw - 24px)); max-height: calc(100vh - var(--bar) - 26px); max-height: calc(100dvh - var(--bar) - 26px); display: flex; flex-direction: column; border-top: 3px solid var(--mk-gold-b); clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path 0.55s cubic-bezier(0.22, 0.61, 0.36, 1), visibility 0s 0.55s; }
body[data-open="bag"] .v-receipt { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path 0.55s cubic-bezier(0.22, 0.61, 0.36, 1); }
.v-receipt__head { display: flex; align-items: baseline; justify-content: space-between; padding: 18px 22px 12px; border-bottom: 1px dashed var(--paper-line); }
.v-receipt__body { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.v-lines { flex: 1; overflow-y: auto; padding: 0 22px; }
.v-line { display: grid; grid-template-columns: 62px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px dashed var(--paper-line); }
.v-line__img img { width: 62px; aspect-ratio: 3 / 4; object-fit: cover; }
.v-line__body { min-width: 0; display: grid; align-content: start; gap: 1px; }
.v-line__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0 12px; }
.v-line__name { font-family: var(--f-head); font-size: 13.5px; letter-spacing: 0.12em; text-transform: uppercase; }
.v-line__meta { font-size: 12.5px; color: var(--paper-soft); }
.v-line__row { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.v-qty { display: inline-flex; align-items: center; border: 1px solid var(--paper-line); }
.v-qty button { width: 30px; height: 30px; display: grid; place-items: center; }
.v-qty button:hover:not(:disabled) { background: #000; color: var(--paper); }
.v-qty button:disabled { opacity: 0.35; }
.v-qty span { min-width: 22px; text-align: center; font-size: 13px; }
.v-line__remove { font-size: 12.5px; color: var(--paper-soft); text-decoration: underline; text-underline-offset: 3px; }
.v-line__remove:hover { color: #000; }
.v-receipt__foot { padding: 14px 22px 22px; display: grid; gap: 14px; }
.v-receipt__foot dl { display: grid; gap: 4px; }
.v-receipt__foot dl div { display: flex; justify-content: space-between; }
.v-receipt__foot dl div:first-child { font-size: 16.5px; font-weight: 500; }
.v-receipt__empty { padding: 34px 22px 30px; display: grid; justify-items: start; gap: 18px; }

.v-over { position: fixed; inset: 0; z-index: 60; overflow-y: auto; background: #000; opacity: 0; visibility: hidden; transition: opacity 0.35s, visibility 0s 0.35s; }
body[data-open="menu"] .v-over { opacity: 1; visibility: visible; transition: opacity 0.35s; }
.v-over__bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: var(--bar); padding-inline: var(--gutter); border-bottom: 1px solid var(--mullion); }
.v-over__bar .v-word { justify-self: start; }
.v-over__nav { display: grid; }
.v-over__nav a { padding: 17px var(--gutter) 13px; border-bottom: 1px solid var(--mullion); font-family: var(--f-head); font-size: clamp(20px, 5.4vw, 30px); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.v-over__nav a:hover, .v-over__nav a[aria-current] { color: var(--mk-gold-a); }
.v-over__foot { display: flex; flex-wrap: wrap; gap: 18px 28px; padding: 28px var(--gutter) 48px; }

.v-search { position: fixed; left: 0; right: 0; top: 0; z-index: 60; max-height: 90vh; max-height: 90dvh; overflow-y: auto; background: #000; border-bottom: 1px solid var(--mk-gold-b); transform: translateY(-102%); visibility: hidden; transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1), visibility 0s 0.45s; }
body[data-open="search"] .v-search { transform: none; visibility: visible; transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1); }
.v-search__form { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(12px, 2vw, 28px); padding: 0 var(--gutter); min-height: var(--bar); border-bottom: 1px solid var(--mullion); }
.v-search__form label { font-family: var(--f-head); font-size: 13.5px; letter-spacing: 0.17em; text-transform: uppercase; color: var(--gold); }
.v-search__form input { padding: 18px 0; border: 0; background: transparent; color: var(--ink); font-family: var(--f-head); font-size: clamp(18px, 2.2vw, 26px); letter-spacing: 0.08em; }
.v-search__form input::placeholder { color: rgba(246, 241, 234, 0.45); }
.v-search__form input:focus { outline: none; }
.v-search__hint { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 20px var(--gutter) 26px; color: var(--soft); }
.v-search__hint button { padding: 7px 16px; border: 1px solid var(--mullion); font-weight: 300; transition: border-color 0.2s, color 0.2s; }
.v-search__hint button:hover { border-color: var(--mk-gold-a); color: var(--mk-gold-a); }
.v-search__none { padding: 26px var(--gutter) 34px; font-size: 16px; }

.v-modal { position: fixed; z-index: 60; left: 50%; top: 50%; width: min(540px, calc(100vw - 32px)); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow-y: auto; border-top: 3px solid var(--mk-gold-b); transform: translate(-50%, -46%); opacity: 0; visibility: hidden; transition: opacity 0.3s, transform 0.3s, visibility 0s 0.3s; }
body[data-open="sizes"] .v-modal[data-panel="sizes"], body[data-open="account"] .v-modal[data-panel="account"] { opacity: 1; visibility: visible; transform: translate(-50%, -50%); transition: opacity 0.3s, transform 0.3s; }
.v-modal__lead { padding: 16px 22px 0; color: var(--paper-soft); }
.vitrine .sizeguide { width: calc(100% - 44px); margin: 4px 22px 0; }
.vitrine .sizeguide th, .vitrine .sizeguide td { padding: 12px 6px; text-align: center; font-weight: 400; border-bottom: 1px dashed var(--paper-line); }
.vitrine .sizeguide thead th { font-family: var(--f-head); font-size: 13px; letter-spacing: 0.15em; text-transform: uppercase; }
.vitrine .sizeguide__note { padding: 16px 22px 24px; font-size: 13px; color: var(--paper-soft); }
.vitrine .account { display: grid; gap: 10px; padding: 16px 22px 24px; }
.vitrine .account label { font-size: 13px; color: var(--paper-soft); }
.vitrine .account input { padding: 13px 14px; border: 1px solid var(--paper-line); background: transparent; color: #000; }
.vitrine .account.is-invalid input { border-color: #A32020; }
.vitrine .account .btn { background: #000; color: var(--mk-ivory); }
.vitrine .account .btn:hover { background: var(--mk-wine); }
.vitrine .v-modal .form-done { padding: 0 22px 24px; margin: 0; }

/* ---- responsive -------------------------------------------------------- */
/* single rows (home, "also in the window") fill exactly one row at every width */
.v-grid--row > :nth-child(n + 5) { display: none; }
@media (min-width: 1700px) {
  .v-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .v-grid--row > :nth-child(5) { display: block; }
}
@media (min-width: 2300px) {
  .v-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .v-grid--row > :nth-child(6) { display: block; }
}
@media (max-width: 1120px) {
  .v-nav { display: none; }
  .v-menubtn { display: block; }
  .v-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .v-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 761px) and (max-width: 1120px) { .v-grid--row > :nth-child(4) { display: none; } }
@media (max-width: 900px) {
  /* the lights switch and Saved move into the menu here, so the wordmark stays centred between Menu and Bag */
  .v-bar .v-lights, .v-bar .v-word[href="#/shop/saved"] { display: none; }
  .v-front { grid-template-columns: repeat(2, minmax(0, 1fr)); height: auto; max-height: none; }
  .v-front__pane { aspect-ratio: 3 / 4; border-top: 1px solid var(--mullion); }
  .v-front__pane--centre { grid-column: 1 / -1; grid-row: 1; aspect-ratio: auto; min-height: 66vh; border-right: 0; border-top: 0; }
  .v-door, .v-pdp, .v-checkout__cols { grid-template-columns: minmax(0, 1fr); }
  .v-door__img, .v-door--flip .v-door__img { order: 0; border-inline: 0; border-bottom: 1px solid var(--mullion); }
  .v-triptych { grid-template-columns: minmax(0, 1fr); }
  .v-triptych > div { border-right: 0; border-bottom: 1px solid var(--mullion); }
  .v-triptych > div:last-child { border-bottom: 0; }
  .v-pdp__window { position: static; height: auto; border-right: 0; border-bottom: 1px solid var(--mullion); }
  .v-pdp__main { aspect-ratio: 4 / 5; cursor: default; }
  .v-thumbs__hint, .v-loupe { display: none; }
  .v-slip { position: static; }
}
@media (max-width: 760px) {
  .v-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v-pane { padding: 6px; }
  .v-pane__media { aspect-ratio: auto; overflow: visible; background: none; }
  .v-pane__media > a { position: relative; height: auto; aspect-ratio: 3 / 4; overflow: hidden; }
  .v-pane__media.v-light::after { bottom: auto; aspect-ratio: 3 / 4; }
  .v-pane .v-card { position: relative; left: auto; bottom: auto; width: auto; padding: 8px 9px 7px; }
  .v-card__name { font-size: 12.5px; letter-spacing: 0.08em; }
  .v-spec--wide > div { grid-template-columns: minmax(0, 1fr); }
  .v-spec--wide dd { border-left: 0; padding-top: 0; }
  .v-spec--wide dt { padding-bottom: 8px; }
}
@media (max-width: 560px) {
  .v-hide-sm { display: none; }
  .vitrine { --bar: 64px; }
  .v-fields, .v-footer__cols { grid-template-columns: minmax(0, 1fr); }
  .v-receipt { right: 12px; left: 12px; width: auto; }
  .v-card__meta { flex-wrap: wrap; gap: 0 10px; }
  .v-spec:not(.v-spec--wide) > div { grid-template-columns: 92px 1fr; }
}
@media (max-width: 380px) {
  .v-bar, .v-over__bar { padding-inline: 14px; }
  .v-logo .mk-mark, .v-over__logo { width: 138px; }
  .v-word { letter-spacing: 0.1em; font-size: 13px; }
}

/* touch: text-sized links and buttons get a taller hit area */
@media (pointer: coarse), (max-width: 860px) {
  .v-link { padding-top: 9px; }
  .v-plain, .v-line__remove { display: inline-block; padding-block: 8px; }
  .v-footer li a, .v-footer li button, .v-line__name, .v-card__name a { display: inline-block; padding-block: 5px; }
  .v-footer li { margin-bottom: 0; }
  .v-logo { display: block; padding-block: 12px; }
  .v-card .v-sizes .size { min-width: 36px; height: 36px; }
  .v-card__add { padding-block: 6px; }
  .v-tabs a { display: inline-block; min-width: 32px; padding-block: 8px 6px; text-align: center; }
}

/* a phone on its side: the receipt trims itself so the list keeps its room */
@media (max-height: 560px) {
  .v-receipt__head { padding-block: 8px; }
  .v-line { grid-template-columns: 48px 1fr; padding: 8px 0; }
  .v-line__img img { width: 48px; }
  .v-line__row { margin-top: 2px; }
  .v-receipt__foot { padding: 10px 22px 12px; gap: 8px; }
  .v-receipt__foot dl div + div { display: none; }
  .vitrine .v-receipt__foot .btn { min-height: 44px; }
}
