/* MagicMitten booking — Vanity layout with the Editorial type: Bodoni Moda (display) + Schibsted Grotesk (UI). */
@font-face { font-family: 'Bodoni Moda'; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url('../fonts/bodoni-moda-latin-standard-normal.woff2') format('woff2'); }
@font-face { font-family: 'Bodoni Moda'; font-style: italic; font-weight: 400 900; font-display: swap;
  src: url('../fonts/bodoni-moda-latin-standard-italic.woff2') format('woff2'); }
@font-face { font-family: 'Schibsted Grotesk'; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url('../fonts/schibsted-grotesk-latin-wght-normal.woff2') format('woff2'); }

/* Day vanity: nude/blush matte. */
:root, [data-theme="light"] {
  --serif: 'Bodoni Moda', 'Didot', serif;
  --sans: 'Schibsted Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --page: #F1E2DA;
  --page-2: #EAD6CC;
  --surface: #FAF4EF;
  --surface-2: #F4E9E3;
  --sunk: #E8D3C9;
  --line: rgba(74, 43, 30, .11);
  --line-2: rgba(74, 43, 30, .2);
  --ink: #45291D;
  --ink-2: #6B4738;
  --ink-3: #85614F;
  --on-shade: #3B2219;
  --btn: #45291D;
  --btn-ink: #FBF4EE;
  --copper: #A86F38;
  --focus: #C9607F;
  --blush: #F4C6D0; --mint: #CFE6D3; --butter: #F7E3A6; --blue: #C9DDF0;
  --blush-2: #E9A9B9; --mint-2: #A6CDB0; --butter-2: #E9C97C; --blue-2: #A3C1E2;
  --hatch: rgba(74, 43, 30, .2);
  --sh-1: 0 1px 1px rgba(69, 41, 29, .04), 0 2px 8px -2px rgba(69, 41, 29, .07);
  --sh-2: 0 1px 2px rgba(69, 41, 29, .05), 0 22px 44px -20px rgba(69, 41, 29, .32), 0 8px 18px -10px rgba(69, 41, 29, .12);
  --lid-s0: #EFD5D2; --lid-s1: #DDB6B2; --lid-r0: #B48A72; --lid-r1: #EED9CC;
  --emb-hi: rgba(255, 249, 246, .85); --emb-lo: rgba(110, 55, 52, .3); --emb-mid: #D8ADAA;
  --lid-text: rgba(98, 52, 46, .45);
  color-scheme: light;
}
/* Night vanity: deep cocoa/mauve matte. */
[data-theme="dark"] {
  --page: #221519;
  --page-2: #2A1A1F;
  --surface: #2F1E24;
  --surface-2: #38252B;
  --sunk: #1B1014;
  --line: rgba(246, 226, 218, .09);
  --line-2: rgba(246, 226, 218, .18);
  --ink: #F5E5DD;
  --ink-2: #D1B5AC;
  --ink-3: #B0948C;
  --on-shade: #2E1A1F;
  --btn: #F0C3CD;
  --btn-ink: #2A161C;
  --copper: #D29A60;
  --focus: #F0A3BA;
  --blush: #E3B2BE; --mint: #B7D4BF; --butter: #E6CF92; --blue: #B3CBE3;
  --blush-2: #CF94A4; --mint-2: #93BC9F; --butter-2: #D4B46A; --blue-2: #8EAED2;
  --hatch: rgba(246, 226, 218, .16);
  --sh-1: 0 1px 1px rgba(0, 0, 0, .2), 0 2px 10px -2px rgba(0, 0, 0, .28);
  --sh-2: 0 1px 2px rgba(0, 0, 0, .3), 0 26px 50px -22px rgba(0, 0, 0, .7), 0 0 0 1px rgba(246, 226, 218, .06);
  --lid-s0: #4D3037; --lid-s1: #301D24; --lid-r0: #6A4636; --lid-r1: #B98E78;
  --emb-hi: rgba(255, 222, 230, .34); --emb-lo: rgba(0, 0, 0, .6); --emb-mid: #44292F;
  --lid-text: rgba(240, 195, 205, .42);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--page); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--page); color: var(--ink);
  font-family: var(--sans);
  font-size: 15px; line-height: 1.5; font-weight: 420; letter-spacing: -.003em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
img, svg { display: block; }
.tnum { font-variant-numeric: tabular-nums; }
.muted { color: var(--ink-2); }
.skip { position: absolute; left: 12px; top: 12px; z-index: 50; padding: 10px 14px; border-radius: 10px; background: var(--btn); color: var(--btn-ink); clip-path: inset(50%); }
.skip:focus { clip-path: none; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 10px; }

.eyebrow { font-size: 11px; font-weight: 640; letter-spacing: .045em; text-transform: uppercase; color: var(--ink-2); }
.display { font-size: clamp(38px, 4.4vw, 64px); line-height: 1.0; font-weight: 400; letter-spacing: -.045em; }
.h1 { font-size: clamp(30px, 3vw, 42px); line-height: 1.06; font-weight: 440; letter-spacing: -.035em; }
.h-sec { font-size: 13px; font-weight: 640; letter-spacing: .04em; text-transform: uppercase; }
.lede { font-size: 17px; line-height: 1.5; color: var(--ink-2); max-width: 46ch; text-wrap: pretty; }
.fine { font-size: 12.5px; color: var(--ink-2); }

/* Headline-sized text takes the Didone. The html prefix outranks the per-screen grotesk tracking in customer/studio.css. */
html :is(.display, .h1, .pdp-name, .batch-no, .s-h1, .cal-dd, .rq-name, .tm-name, .box-name, .see-lede, .tile-name, .sum-name, .shade-top b) {
  font-family: var(--serif); letter-spacing: -.005em; font-weight: 500; font-optical-sizing: auto;
}
html :is(.display, .h1) { font-weight: 450; letter-spacing: -.015em; }

.ic { width: 18px; height: 18px; flex: none; }
.wordmark { color: var(--ink); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 14px; font-weight: 600; font-size: 14.5px; letter-spacing: -.005em;
  transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s, background-color .35s, color .35s;
}
.btn .ic { width: 17px; height: 17px; }
.btn-primary { background: var(--btn); color: var(--btn-ink); box-shadow: var(--sh-1); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: var(--sh-2); }
.btn-ghost { border: 1px solid var(--line-2); background: transparent; }
.btn-ghost:hover { background: var(--surface); }
.btn-soft { background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-1); }
.btn-soft:hover { box-shadow: var(--sh-2); transform: translateY(-1px); }
.btn-sm { min-height: 40px; padding: 0 14px; border-radius: 12px; font-size: 13.5px; gap: 8px; }
.btn-wide { width: 100%; }
.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink); transition: box-shadow .3s, transform .3s;
}
.icon-btn:hover { box-shadow: var(--sh-1); }

.tag {
  display: inline-flex; align-items: center; gap: 5px; height: 20px; padding: 0 7px; border-radius: 6px;
  font-size: 10.5px; font-weight: 640; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap;
  color: var(--ink-2); background: var(--surface-2); border: 1px solid var(--line); vertical-align: middle;
}
.tag .ic { width: 12px; height: 12px; }
.size {
  display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 999px;
  border: 1px solid var(--line-2); font-size: 12.5px; font-weight: 600; letter-spacing: .01em;
}

/* Reviewer screen switcher (unobtrusive; not part of the product). */
.screens { position: relative; }
.screens summary { list-style: none; width: auto; padding: 0 12px; gap: 8px; display: inline-flex; align-items: center; }
.screens summary::-webkit-details-marker { display: none; }
.screens-l { font-size: 12.5px; font-weight: 600; }
.screens-pop {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 40; width: 260px; padding: 10px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--sh-2);
  display: grid; gap: 2px;
}
.screens-pop .eyebrow { padding: 6px 10px 8px; }
.screens-pop a { display: flex; gap: 12px; align-items: center; min-height: 40px; padding: 0 10px; border-radius: 10px; font-size: 14px; }
.screens-pop a span { color: var(--ink-3); font-size: 12px; }
.screens-pop a:hover, .screens-pop a[aria-current] { background: var(--surface-2); }

/* Shade helpers (artist / service colourways) */
.sh-blush { --sh: var(--blush); --sh2: var(--blush-2); }
.sh-mint { --sh: var(--mint); --sh2: var(--mint-2); }
.sh-butter { --sh: var(--butter); --sh2: var(--butter-2); }
.sh-blue { --sh: var(--blue); --sh2: var(--blue-2); }
.pan-rim { fill: var(--surface); stroke: var(--line-2); stroke-width: 1; }
.pan-xs { width: 18px; height: 18px; }
.pan-sm { width: 30px; height: 30px; }
.pan-dot { width: 12px; height: 12px; }

/* Route transition: one gentle 560 ms fade + 10 px drift. Background brightness never changes. */
.view.enter { opacity: 0; transform: translateY(10px); }
.view.enter.in { opacity: 1; transform: none; transition: opacity .56s cubic-bezier(.2, .7, .2, 1), transform .56s cubic-bezier(.2, .7, .2, 1); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .view.enter { transform: none; }
}