/* ==========================================================================
   Re:Liv — "desktop" storefront
   Design reference frame: 1286 x 910 (Website Design.pdf, A4 landscape @110dpi).
   1rem = 10 design-px.  html font-size scales the whole composition with the
   viewport (see --u).  All numbers below were measured from the mockup.
   ========================================================================== */

:root {
  --vh: 100vh;
  /* 1 design px */
  /* ===== THEME TOKENS — every look & feel setting lives here (editable live in the Appearance panel: open the site with ?theme)
     Numbers are in "design px" (1 = 1px on the 1286x910 mockup) unless noted. Overrides: assets/theme.json + the panel. ===== */
  --ui-scale: 1;                    /* global size of everything (UI + text) */
  --u: clamp(.7px, calc(min(calc(100vw / 1286), calc(var(--vh) * 1.15 / 910)) * var(--ui-scale)), 2.6px);   /* = 1px at the mockup's 1286x910 */
  --bar-h: 48;                      /* menu bar height */
  --mb: calc(var(--bar-h) * .1rem);
  --dh: calc(var(--vh) - var(--mb));              /* desktop height */

  /* colours */
  --bar: #231f20;   --bar-ink: #fff;              /* menu bar, checkout bar */
  --hero-ink: #fff;                               /* "AW 26/27" */
  --desk-ink: #231f20;                            /* labels under desktop icons */
  --paper: #fff;                                  /* window background */
  --grey: #e2e2e0;                                /* sidebar, inputs, favourites tile */
  --grey-2: #f5f5f5;                              /* About / Contact / Assistance sheets */
  --ink: #231f20;                                 /* text */
  --ink-2: #111;    --btn-ink: #fff;              /* black buttons */
  --pink: #f470ad;                                /* accent: bag outline, focus, badge */
  --dot: #a21b21;                                 /* close dot */
  --line: #b1b0af;
  --folder-front: #e1a3c9;  --folder-tab: #ce78ac;
  --bg-color: #cbb8b4;  --ov-color: #000;  --ov-op: 0;     /* desktop background colour / photo tint */

  /* desktop */
  --icon-scale: 1;  --label-size: 19.5;
  --sz-clothes: 124; --sz-accessories: 146; --sz-assistance: 136; --sz-about: 123; --sz-contact: 136;
  --x-clothes: 12.21; --y-clothes: 29;   --x-accessories: 12.9; --y-accessories: 52.1;
  --x-assistance: 86.5; --y-assistance: 39.2;  --x-about: 92.7; --y-about: 2.8;  --x-contact: 47.8; --y-contact: 71;   /* % of the desktop */
  --hero-size: 94;  --hero-sub-size: 22;  --hero-y: 36.7;
  --bg-zoom: 1;  --bg-x: 14.8;  --bg-y: 3.5;      /* photo zoom, position (% horizontal, vh vertical) */

  /* windows */
  --win-radius: 9;  --shadow-op: .22;
  --shop-x: 4.28;  --shop-w: 90.1;  --shop-y: 5.34;  --shop-h: 90.7;          /* % of viewport / desktop */
  --cols: 2;  --grid-gap: 9.1;  --caption-size: 10.5;

  /* type */
  --f-ui: "Source Sans 3", "Myriad Pro", "Segoe UI", Helvetica, Arial, sans-serif;
  --f-head: "Inter", "Söhne", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --f-hand: "Gochi Hand", "Segoe Print", "Bradley Hand", cursive;
  --f-hero: var(--f-ui);  --f-label: var(--f-ui);
  --f-about: "Re:Liv Hand", "Gochi Hand", "Segoe Print", cursive;
  --about-ink: #0a0a0a;  --about-scale: 1;
}
@supports (height: 100dvh) { :root { --vh: 100dvh; } }

*, *::before, *::after { box-sizing: border-box; }
html { font-size: calc(10 * var(--u)); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: var(--vh); overflow: hidden;
  font-family: var(--f-ui); font-size: 1.6rem; color: var(--ink);
  /* photo box measured on the mockup: 1340x900 at (-8, 32) in the 1286x910 frame */
  background: var(--bg-color) url("../img/bg-home-2560.webp") calc(var(--bg-x) * 1%) calc(var(--bg-y) * 1vh) / max(calc(104.2vw * var(--bg-zoom)), calc(var(--vh) * 1.473 * var(--bg-zoom))) auto no-repeat fixed;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
@media (max-width: 1280px) { body { background-image: url("../img/bg-home-1280.webp"); } }
html[data-bg="solid"] body { background-image: none; }
body::before { content: ""; position: fixed; inset: 0; background: var(--ov-color); opacity: var(--ov-op); pointer-events: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 2px; }

/* ------------------------------------------------------------------ menu bar */
.menubar {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--mb);
  background: var(--bar); color: var(--bar-ink);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
}
.menubar__l { display: flex; gap: 1rem; padding-left: 1rem; }
.mb-social img { width: 3.2rem; height: 3.2rem; }
.menubar__title { font-size: 2rem; line-height: 1; padding-bottom: .2rem; }
.menubar__r { display: flex; align-items: center; justify-content: flex-end; gap: 1.5rem; padding-right: 3.4rem; }
.mb-bag { position: relative; width: 3.4rem; height: 3.4rem; }
.mb-bag img { width: 100%; height: 100%; }
.mb-bag__n { position: absolute; top: -.5rem; right: -.7rem; min-width: 1.6rem; height: 1.6rem; padding: 0 .4rem; border-radius: .8rem;
  background: var(--pink); color: #fff; font: 700 1rem/1.6rem var(--f-head); text-align: center; font-style: normal; }
.mb-clock { font-size: 1.7rem; line-height: 1; font-variant-numeric: tabular-nums; min-width: 4.3rem; }

/* ------------------------------------------------------------------ desktop */
.desktop { position: fixed; left: 0; right: 0; top: var(--mb); bottom: 0; }

.hero { position: absolute; left: 50%; top: calc(var(--hero-y) * 1%); margin: 0; transform: translateX(-50%); text-align: center; color: var(--hero-ink);
  font-family: var(--f-hero); font-weight: 400; pointer-events: none; white-space: nowrap; }
.hero__season { display: block; font-size: calc(var(--hero-size) * .1rem); line-height: 1; letter-spacing: 0; }
.hero__sub { display: block; font-size: calc(var(--hero-sub-size) * .1rem); line-height: 1; margin-top: .46rem; }

.dicon { position: absolute; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center;
  font-family: var(--f-label); font-size: calc(var(--label-size) * .1rem); line-height: 1; text-align: center; color: var(--desk-ink); cursor: pointer; border-radius: .6rem; padding: .4rem .6rem .5rem; margin: -.4rem -.6rem; }
.dicon img { pointer-events: none; max-width: none; }
.dicon > span:not(.folder) { margin-top: .6rem; white-space: nowrap; }
.dicon:hover, .dicon:focus-visible { background: rgba(255,255,255,.18); }
.dicon--clothes     { left: calc(var(--x-clothes) * 1%);     top: calc(var(--y-clothes) * 1%);     --sz: var(--sz-clothes); }
.dicon--accessories { left: calc(var(--x-accessories) * 1%); top: calc(var(--y-accessories) * 1%); --sz: var(--sz-accessories); }
.dicon--assistance  { left: calc(var(--x-assistance) * 1%);  top: calc(var(--y-assistance) * 1%);  --sz: var(--sz-assistance); }
.dicon--about       { left: calc(var(--x-about) * 1%);       top: calc(var(--y-about) * 1%);       --sz: var(--sz-about); font-size: calc(var(--label-size) * .1rem * .974); }
.dicon--contact     { left: calc(var(--x-contact) * 1%);     top: calc(var(--y-contact) * 1%);     --sz: var(--sz-contact); }
.dicon > .folder, .dicon > img { width: calc(var(--sz) * var(--icon-scale) * .1rem); }
/* folder = two tintable layers (silhouette = tab/back colour, front panel on top) */
.folder { position: relative; display: block; aspect-ratio: 440 / 373; }
.folder i { position: absolute; inset: 0; -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; }
.folder__back { background: linear-gradient(var(--folder-tab), color-mix(in srgb, var(--folder-tab), #000 14%) 32%); -webkit-mask-image: url("../img/ui/folder-back.png"); mask-image: url("../img/ui/folder-back.png"); }
.folder__front { background: var(--folder-front); -webkit-mask-image: url("../img/ui/folder-front.png"); mask-image: url("../img/ui/folder-front.png"); }
.dicon__thumb { image-rendering: auto; }
.dicon__env { }

/* ------------------------------------------------------------------ windows (shared) */
#windows { position: fixed; inset: 0; z-index: 50; pointer-events: none; }
.win { position: fixed; pointer-events: auto; background: var(--paper);
  box-shadow: 0 0 0 .1rem rgba(0,0,0,.05), 0 1.6rem 5rem rgba(0,0,0,var(--shadow-op));
  animation: winIn .16s ease-out; }
@keyframes winIn { from { opacity: 0; transform: scale(.985); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .win { animation: none; } }

.dot { position: absolute; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--dot); }
button.dot:hover { filter: brightness(1.25); }
.win:focus { outline: 0; }
.win__title { font-size: 1.75rem; text-transform: uppercase; line-height: 1; }

/* ---- About Us ---- */
.win--about { left: 50%; transform: translateX(-50%); top: calc(var(--mb) + var(--dh) * .1056); padding: 0 .5rem .5rem;
  width: calc(var(--aw, 69.9vw) + 1rem); background: var(--grey-2); animation-name: winInC; }
@keyframes winInC { from { opacity: 0; transform: translateX(-50%) scale(.985); } to { opacity: 1; transform: translateX(-50%); } }
:root { --aw: min(69.9vw, calc(var(--dh) * 1.0429)); }
.win--about .win__bar { height: 2.6rem; display: flex; align-items: center; padding-left: 1.6rem; gap: .7rem; position: relative; }
.win--about .dot, .win--info .dot, .win--receipt .dot { position: static; flex: none; }
.win--about img { width: 100%; height: auto; display: block; }
.about-art { position: relative; container-type: inline-size; aspect-ratio: 3508 / 2480; overflow: hidden; }
.about-art > img { position: absolute; inset: 0; height: 100%; }
.aw { position: absolute; left: calc(var(--x) * 1%); top: calc(var(--b) * 1% - .775em); margin: 0; font: 400 calc(var(--c) / .7 * 1cqw * var(--about-scale)) / 1 var(--f-about);
  color: var(--about-ink); white-space: nowrap; pointer-events: none; transform-origin: 0 100%; }
.win--about .about-text, .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---- Contact / Assistance (light grey sheet) ---- */
.win--sheet { left: 14.7%; width: 70.8%; top: calc(var(--mb) + var(--dh) * .150); height: calc(var(--dh) * .773); background: var(--grey-2);
  display: flex; flex-direction: column; }
.win--sheet .dotrow { height: 3.1rem; display: flex; align-items: center; padding-left: 1.6rem; gap: .9rem; flex: none; }
.win--sheet .dotrow .win__title { margin-top: .1rem; }
.win--sheet .dotrow .dot { position: static; }

.mail { flex: 1; display: flex; flex-direction: column; padding: 0 2.3rem 2rem 1.6rem; min-height: 0; }
.mail__row { display: flex; align-items: center; height: 3.2rem; border-bottom: .1rem solid #8a8a8a; font-size: 1.85rem; }
.mail__row:nth-of-type(4) { height: 3.7rem; align-items: flex-end; padding-bottom: .4rem; }
.mail__row label { flex: none; text-transform: none; padding-right: .6rem; }
.mail__row input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; color: inherit; height: 100%; outline: 0; }
.mail__row input[readonly] { color: #555; }
.mail__body { flex: 1; min-height: 0; margin-top: 1.4rem; width: 100%; resize: none; border: 0; background: transparent; outline: 0;
  font: 700 1.5rem/1.5 var(--f-head); padding: 0 .5rem; color: var(--ink-2); caret-color: var(--ink-2); }
.mail__foot { display: flex; align-items: center; justify-content: flex-end; gap: 2rem; padding-top: 1rem; font-size: 1.3rem; }
.mail__note { margin-right: auto; color: #6a6a6a; }
.linkbtn { text-transform: uppercase; text-decoration: underline; text-underline-offset: .25rem; text-decoration-thickness: .1rem; letter-spacing: .02em; }

.assist { flex: 1; overflow: auto; padding: 1.2rem 3rem 3rem 3rem; }
.assist details { border-top: .1rem solid #8a8a8a; padding: 1.4rem 0; }
.assist details:last-child { border-bottom: .1rem solid #8a8a8a; }
.assist summary { cursor: pointer; font: 800 1.7rem var(--f-head); text-transform: uppercase; list-style: none; letter-spacing: -.01em; }
.assist summary::-webkit-details-marker { display: none; }
.assist summary::after { content: "+"; float: right; font-weight: 400; }
.assist details[open] summary::after { content: "–"; }
.assist p { font-size: 1.6rem; line-height: 1.45; max-width: 64rem; margin: 1rem 0 0; }
.assist .todo { color: #8a7a82; font-style: italic; }

/* ---- Order confirmation ---- */
.win--receipt { left: 32.97%; width: 34.9%; top: calc(var(--mb) + var(--dh) * .0487); height: calc(var(--dh) * .891); background: #faf9f6; display: flex; flex-direction: column; }
.win--receipt .dotrow { height: 3.7rem; display: flex; align-items: center; padding-left: 1.5rem; gap: .9rem; flex: none; }
.win--receipt .dotrow .dot { position: static; }
.receipt { position: relative; flex: 1; min-height: 0; margin: 0 .9rem .6rem; overflow: auto; }
.receipt img { width: 100%; height: auto; }
.receipt__txt { position: absolute; left: 0; right: 0; top: 90.9%; text-align: center; font: 800 1.9rem/1 var(--f-head); letter-spacing: -.01em; text-transform: uppercase; }

/* ------------------------------------------------------------------ shop window */
.win--shop { left: calc(var(--shop-x) * 1%); width: calc(var(--shop-w) * 1%); top: calc(var(--mb) + var(--dh) * var(--shop-y) / 100); height: calc(var(--dh) * var(--shop-h) / 100);
  border-radius: calc(var(--win-radius) * .1rem); overflow: hidden; display: flex; }
.sb { position: relative; flex: none; width: 19.9rem; background: var(--grey); }
.tl { position: absolute; left: 2.35rem; top: 2.35rem; display: flex; gap: 1rem; }
.tl button, .tl i { width: 1.5rem; height: 1.5rem; border-radius: 50%; display: block; }
.tl .r { background: #f1645a; } .tl .y { background: #efc04c; } .tl .g { background: #62cd57; }
.sbi { position: absolute; left: 0; right: 0; height: 2.8rem; display: flex; align-items: center; padding-left: 2.7rem; gap: .9rem;
  font-size: 1.25rem; text-transform: uppercase; white-space: nowrap; text-align: left; width: 100%; }
.sbi svg { width: 1.9rem; height: 1.9rem; flex: none; }
.sbi:hover { background: rgba(0,0,0,.04); }
.sbi[aria-current="page"] { font-weight: 600; }
.sbi--clothes { top: 7.7rem; } .sbi--acc { top: 10.5rem; } .sbi--fav { top: 16.5rem; } .sbi--bag { top: 25.3rem; padding-left: 2.3rem; }

.main { flex: 1; min-width: 0; display: flex; flex-direction: column; background: var(--paper); position: relative; }
.bar { position: relative; flex: none; height: 6.6rem; }
.bar .nav { position: absolute; top: 50%; width: 2.4rem; height: 2.4rem; transform: translateY(-50%); display: grid; place-items: center; color: #6a6a6a; }
.bar .nav svg { width: 1.6rem; height: 1.6rem; }
.bar .nav--back { left: 2.3rem; } .bar .nav--fwd { left: 6.7rem; }
.bar .nav[disabled] { color: #c4c4c4; cursor: default; }
.bar h2 { position: absolute; left: 10.4rem; top: 50%; transform: translateY(-50%); margin: 0; font-weight: 400; font-size: 1.8rem; line-height: 1; text-transform: uppercase; white-space: nowrap; }
.bar .search { position: absolute; right: 2.2rem; top: 50%; transform: translateY(-50%); width: 2.6rem; height: 2.6rem; display: grid; place-items: center; }
.bar .search svg { width: 2.2rem; height: 2.2rem; color: #6d6d6d; }
.bar input[type=search] { position: absolute; left: 10.4rem; right: 6.4rem; top: 50%; transform: translateY(-50%); border: 0; border-bottom: .1rem solid #8a8a8a; background: transparent; font: 400 1.8rem var(--f-ui); text-transform: uppercase; outline: 0; padding: .3rem 0; }

.scroll { flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; scrollbar-width: thin; scrollbar-color: #b3b3b2 transparent; }
.scroll::-webkit-scrollbar { width: 14px; }
.scroll::-webkit-scrollbar-track { background: transparent; }
.scroll::-webkit-scrollbar-thumb { background: #b3b3b2; border-radius: 8px; border: 3px solid #fff; }

/* grid of products */
.grid { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); column-gap: calc(var(--grid-gap) * 1%); row-gap: 3rem; padding: 1.6rem 6.1% 4rem 7.2%; }
.card__img { display: block; aspect-ratio: 379 / 363; overflow: hidden; background: #efefef; }
.card__img img { width: 100%; height: 100%; object-fit: cover; }
.card__cap { display: flex; align-items: center; justify-content: space-between; height: 2rem; margin-top: .1rem; font-size: calc(var(--caption-size) * .1rem); text-transform: uppercase; }
.card__cap a { display: block; }
.card__cap .price { margin-left: 1rem; }
.star { width: 1.7rem; height: 1.7rem; display: grid; place-items: center; }
.star svg { width: 1.7rem; height: 1.7rem; }
.star[aria-pressed="false"] svg path { fill: none; stroke: #000; stroke-width: 1.4; }
.star[aria-pressed="true"] svg path { fill: #000; stroke: #000; stroke-width: 1.4; }
.empty { padding: 4rem 3.3rem; font-size: 1.4rem; text-transform: uppercase; }
.empty a { text-decoration: underline; text-underline-offset: .25rem; }

/* product page */
.pdp { display: flex; padding: .1rem 3rem 4rem 3rem; }
.pdp__imgs { flex: none; width: 41.2rem; display: flex; flex-direction: column; gap: .7rem; }
.pdp__imgs img { width: 100%; height: auto; object-fit: cover; background: #efefef; }
.zoomable { display: block; width: 100%; cursor: zoom-in; }
.pdp__info { margin-left: 4.3rem; width: 43.4rem; padding-top: 10.4rem; position: sticky; top: 0; align-self: flex-start; }
.pdp__name { font-size: 1.5rem; line-height: 1.45; text-transform: uppercase; }
.pdp__name span { display: block; }
.lbl { font: 800 1.55rem/1 var(--f-head); text-transform: uppercase; letter-spacing: -.01em; }
.pdp__size { margin-top: 6.4rem; }
.qty { display: inline-flex; align-items: center; gap: 1.2rem; margin-top: 1.4rem; font: 800 1.45rem/1 var(--f-head); }
.qty button { width: 2.4rem; height: 2.4rem; font: 800 1.9rem/1 var(--f-head); }
.qty output { min-width: 1.2rem; text-align: center; }
.btn-black { display: block; width: 100%; height: 3.9rem; background: var(--ink-2); color: var(--btn-ink); font: 800 1.85rem/1 var(--f-head); text-transform: uppercase; letter-spacing: -.005em; text-align: center; }
.btn-black:hover { background: #000; }
.btn-black:disabled { background: #8a8a8a; cursor: default; }
.pdp__add { margin-top: 5.6rem; }
.pdp__links { display: flex; justify-content: space-between; margin-top: 3.4rem; padding: 0 .8rem; font-size: 1.45rem; text-transform: uppercase; }
.pdp__links button { position: relative; text-transform: uppercase; text-decoration: underline; text-underline-offset: .3rem; text-decoration-thickness: .1rem; }
.pdp__links button[aria-expanded="true"]::before { content: ""; position: absolute; left: -.8rem; top: 50%; width: .45rem; height: .45rem; border-radius: 50%; background: var(--pink); transform: translateY(-50%); }
.pdp__links button[aria-expanded="true"] { font-weight: 600; }
.pdp__panel { margin: 1.8rem .8rem 0; padding: 1.2rem 1.4rem 1.5rem; background: var(--grey-2); font-size: 1.45rem; line-height: 1.45; max-width: 42rem; }
.pdp__panel h3, .pdp__panel h4 { margin: 0 0 .8rem; font: 800 1.45rem/1.2 var(--f-head); text-transform: uppercase; }
.pdp__panel h4 { margin-top: 1.4rem; font-size: 1.2rem; }
.pdp__panel h4 span { font-weight: 400; }
.pdp__panel p { margin: 0 0 .8rem; }
.pdp__panel .linkbtn { text-decoration: underline; }
.pdp__sizing { display: block; margin-top: 1.1rem; text-decoration: underline; text-transform: uppercase; text-underline-offset: .25rem; }
.pdp__panel .todo { color: #8a7a82; }

.win--sizing { left: 50%; top: calc(var(--mb) + var(--dh) * .1); width: min(42rem, calc(100vw - 2rem)); max-height: calc(var(--dh) * .8); transform: translateX(-50%); background: var(--grey-2); padding-bottom: .5rem; }
.win--sizing .dotrow { height: 3.1rem; display: flex; align-items: center; padding-left: 1.6rem; gap: .9rem; }
.win--sizing .dotrow .dot { position: static; }
.sizing { max-height: calc(var(--dh) * .75); overflow: auto; padding: 1rem 1.6rem 2rem; font-size: 1.5rem; line-height: 1.45; }
.sizing p { margin: 0 0 1rem; }
.sizing__img { width: 100%; height: auto; background: var(--paper); }

/* favourites: empty state = "add" tile (client note) */
.fav-empty { padding: .1rem 0 4rem 2.7rem; }
.fav-add { display: grid; place-items: center; width: 17.8rem; height: 16.2rem; background: var(--grey); }
.fav-add::before, .fav-add::after { content: ""; grid-area: 1 / 1; background: #111; }
.fav-add::before { width: 3.4rem; height: .2rem; } .fav-add::after { width: .2rem; height: 3.4rem; }
.fav-add:hover { background: #d8d8d5; }
.fav-empty p { margin: 1.1rem 0 0 .2rem; font-size: 1.3rem; }

/* image lightbox (client note: click to enlarge, zoom in / out) */
.lb { position: fixed; inset: 0; z-index: 150; }
.win--lb { position: absolute; left: 50%; top: 1.6vh; transform: translateX(-50%); padding: 0 .4rem .4rem; background: #f6f6f3; display: flex; flex-direction: column;
  --vhh: calc(var(--vh) * .94 - 3.1rem); width: calc(min(var(--vhh) * var(--ar), 72vw, 100vw - 2rem) + .8rem); min-width: min(34rem, 100vw - 2rem); animation-name: winInC; }
.lb__bar { height: 2.7rem; display: flex; align-items: center; gap: .7rem; padding-left: 1.2rem; flex: none; }
.lb__bar .dot { position: static; flex: none; width: 1.2rem; height: 1.2rem; background: #e0151b; }
.lb__tools { margin-left: auto; display: flex; gap: .6rem; padding-right: .8rem; }
.lb__tools button { width: 2.1rem; height: 2.1rem; display: grid; place-items: center; }
.lb__tools button svg { width: 1.9rem; height: 1.9rem; }
.lb__tools button:disabled { opacity: .3; cursor: default; }
.lb__view { position: relative; aspect-ratio: var(--ar); overflow: hidden; background: #ececec; touch-action: none; cursor: zoom-in; user-select: none; }
.lb__view.is-zoomed { cursor: grab; } .lb__view.is-drag { cursor: grabbing; }
.lb__view img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transform-origin: 50% 50%; will-change: transform; -webkit-user-drag: none; }

/* bag */
.bag { padding: 1.2rem 3.3rem 3rem; }
.h-head { font: 800 1.8rem/1.2 var(--f-head); text-transform: uppercase; letter-spacing: -.012em; margin: 0; }
.line { display: flex; margin-top: 4.3rem; }
.line + .line { margin-top: 3rem; }
.line__img { flex: none; width: 20.2rem; aspect-ratio: 202 / 195; overflow: hidden; background: #efefef; }
.line__img img { width: 100%; height: 100%; object-fit: cover; }
.line__txt { margin-left: 2.2rem; padding-top: .3rem; font-size: 1.1rem; text-transform: uppercase; line-height: 1.5; }
.line__txt .price { margin-left: .7rem; }
.line__txt .lbl { display: block; margin-top: .4rem; font-size: 1.05rem; }
.line__txt .qty { margin-top: .5rem; font-size: 1rem; gap: .9rem; }
.line__txt .qty button { width: 1.6rem; height: 1.6rem; font-size: 1.2rem; }
.line__txt .qty output { min-width: .8rem; }
.line__r { margin-left: auto; padding-right: 2.2rem; text-align: right; font-size: 1.1rem; line-height: 1.4; padding-top: .3rem; }
.line__r button { display: block; margin-left: auto; text-decoration: underline; text-underline-offset: .25rem; text-decoration-thickness: .1rem; font-size: 1.1rem; }
.cartfoot { flex: none; border-top: .1rem solid #6e6e6e; }
.cartfoot__tot { display: flex; justify-content: space-between; align-items: center; height: 5.1rem; padding: 0 4.2rem 0 4.2rem; font: 800 2.2rem/1 var(--f-head); text-transform: uppercase; letter-spacing: -.01em; }
.cartfoot .btn-bar { display: block; width: 100%; height: 5rem; background: var(--bar); color: var(--bar-ink); font-size: 1.3rem; text-transform: uppercase; text-align: center; letter-spacing: .01em; }
.cartfoot a.btn-bar { display: grid; place-items: center; }
.cartfoot .btn-bar:disabled { opacity: .6; cursor: default; }

/* checkout */
.co { display: grid; grid-template-columns: 45rem 38rem; column-gap: 5.2rem; padding: 1.4rem 3rem 6rem 2.9rem; align-items: start; }
.co h3 { font: 800 2.2rem/1.1 var(--f-head); text-transform: uppercase; letter-spacing: -.015em; margin: 0 0 1.6rem; }
.co h3.gap { margin-top: 9rem; }
.co h3.gap2 { margin-top: 9.2rem; }
.f { display: block; width: 100%; height: 4.5rem; background: var(--grey); border: 0; border-radius: 0; padding: 0 .9rem; font: 400 1.7rem var(--f-ui); color: var(--ink-2); outline-offset: 0; margin: 0 0 1.4rem; }
.f::placeholder { color: #fff; opacity: 1; }
.f:focus { outline: .2rem solid var(--pink); }
.f.bad { outline: .2rem solid #d33; }
.frow { display: grid; grid-template-columns: 1fr 1fr; column-gap: 1.7rem; }
.co__note { font-size: 1.2rem; color: #6a6a6a; margin: -.4rem 0 1.6rem; }
.bagart { position: relative; width: 38rem; height: 64.3rem; margin-top: -2.2rem; }
.bagart > svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.bagart__items { position: absolute; left: 3.6rem; top: 14.5rem; right: 3rem; bottom: 9rem; overflow: hidden; }
.bi { display: flex; gap: 1rem; margin-bottom: 1.2rem; }
.bi img { width: 7.6rem; height: 7.4rem; object-fit: cover; flex: none; }
.bi div { font-size: .95rem; text-transform: uppercase; line-height: 1.4; padding-top: .3rem; }
.bi b { display: block; font: 800 .8rem var(--f-head); }
.bagart__sum { position: absolute; left: 2rem; right: 2rem; top: 56.5rem; border-top: .1rem solid #111; padding: .5rem .8rem 0; font-size: 1.05rem; line-height: 1.2; }
.bagart__sum div { display: flex; justify-content: space-between; }
.bagart__sum .t { margin-top: 1.1rem; font: 800 1.25rem var(--f-head); text-transform: uppercase; }

/* ------------------------------------------------------------------ small screens */
@media (max-width: 760px) {
  :root { --u: calc(1.12px * var(--ui-scale)); }
  body { background-position: 40% top; background-size: cover; }
  .menubar__r { padding-right: 1.2rem; } .mb-clock { font-size: 1.5rem; min-width: 0; }
  :root { --hero-y: 21; --hero-size: 68; --hero-sub-size: 19; --label-size: 16;
          --x-clothes: 22; --y-clothes: 38; --sz-clothes: 94;   --x-accessories: 26; --y-accessories: 57; --sz-accessories: 106;
          --x-assistance: 76; --y-assistance: 46; --sz-assistance: 100;   --x-about: 83; --y-about: 3; --sz-about: 100;
          --x-contact: 62; --y-contact: 76; --sz-contact: 106; --shop-x: 0; --shop-w: 100; --cols: 2; }
  .dicon { text-shadow: 0 0 .5rem rgba(255,255,255,.75); }

  .win--shop { left: 0; right: 0; width: auto; top: var(--mb); height: var(--dh); border-radius: 0; flex-direction: column; }
  .sb { width: auto; height: 4.6rem; display: flex; align-items: center; padding: 0 1rem; gap: .2rem; overflow-x: auto; scrollbar-width: none; }
  .tl { position: static; margin-right: .8rem; }
  .sbi { position: static; width: auto; padding: 0 .9rem !important; height: 3.2rem; gap: .5rem; font-size: 1.15rem; flex: none; }
  .sbi svg { width: 1.6rem; height: 1.6rem; }
  .bar { height: 5.2rem; }
  .bar .nav--back { left: .8rem; } .bar .nav--fwd { left: 3.6rem; } .bar h2 { left: 7.2rem; font-size: 1.6rem; }
  .bar input[type=search] { left: 7.2rem; }
  .grid { padding: 1rem 1.4rem 3rem; column-gap: 1.2rem; row-gap: 1.4rem; }
  .card__cap { font-size: 1rem; }
  .pdp { flex-direction: column; padding: 0 1.4rem 3rem; }
  .pdp__imgs { width: 100%; } .pdp__info { margin: 2rem 0 0; width: 100%; padding-top: 0; position: static; }
  .pdp__size { margin-top: 2.4rem; } .pdp__add { margin-top: 2.4rem; } .btn-black { height: 4.4rem; font-size: 1.5rem; }
  .pdp__name, .pdp__links { font-size: 1.2rem; } .lbl, .qty { font-size: 1.2rem; } .qty button { font-size: 1.6rem; }
  .pdp__panel { margin-left: 0; margin-right: 0; font-size: 1.3rem; }
  .win--sizing { left: 1rem; right: 1rem; width: auto; transform: none; top: calc(var(--mb) + 3rem); max-height: calc(var(--dh) - 6rem); }
  .sizing { max-height: calc(var(--dh) - 10rem); }
  .bag { padding: 1.4rem 1.4rem 2rem; } .line { flex-wrap: wrap; margin-top: 2.4rem; } .line__img { width: 11rem; } .line__txt { margin-left: 1.2rem; font-size: 1.2rem; flex: 1; min-width: 0; }
  .line__r { width: 100%; text-align: left; padding: 1rem 0 0; display: flex; justify-content: space-between; font-size: 1.2rem; } .line__r button { margin: 0; font-size: 1.2rem; }
  .cartfoot__tot { padding: 0 1.4rem; font-size: 1.8rem; height: 4.4rem; } .cartfoot .btn-bar { height: 4.6rem; font-size: 1.3rem; }
  .co { grid-template-columns: 1fr; padding: 1.4rem 1.4rem 4rem; } .co h3 { font-size: 1.9rem; } .co h3.gap, .co h3.gap2 { margin-top: 3rem; }
  .f { font-size: 1.6rem; height: 4.4rem; }
  .bagart { width: 100%; max-width: 34rem; height: auto; min-height: 0; margin: 3rem auto 0; }
  .bagart > svg { display: none; }
  .bagart__items, .bagart__sum { position: static; overflow: visible; }
  .bagart__sum { margin-top: 1rem; } .bi div { font-size: 1.1rem; } .bagart__sum { font-size: 1.2rem; } .bagart__sum .t { font-size: 1.5rem; }

  .win--about { left: 1rem; right: 1rem; width: auto; transform: none; top: calc(var(--mb) + 8rem); animation-name: winIn; }
  .win--sheet { left: 1rem; right: 1rem; width: auto; top: calc(var(--mb) + 3rem); height: calc(var(--dh) - 6rem); }
  .mail__row { font-size: 1.6rem; } .mail__body { font-size: 1.6rem; }
  .win--receipt { left: 1rem; right: 1rem; width: auto; top: calc(var(--mb) + 1.5rem); height: calc(var(--dh) - 3rem); }
}

/* "new version available" notice (shown only on deployed builds) */
#upd { position: fixed; z-index: 300; left: 50%; bottom: 16px; transform: translateX(-50%); padding: 10px 18px; border-radius: 20px;
  background: var(--bar); color: var(--bar-ink); font: 600 14px/1.2 var(--f-ui); box-shadow: 0 6px 24px rgba(0,0,0,.3); cursor: pointer; }

/* upon request / sold out block on the product page */
.pdp__mode { margin-top: 5.6rem; }
.pdp__box { display: grid; place-items: center; height: 6.4rem; background: var(--pink); border: .1rem solid var(--ink-2); font: 800 2.1rem/1 var(--f-head); text-transform: uppercase; letter-spacing: -.01em; margin-bottom: .9rem; }
.pdp__mode .btn-black { display: grid; place-items: center; }
.pdp__low { margin-top: .8rem; font-size: 1.3rem; color: #a3205b; text-transform: uppercase; }
.pdp__msg { min-height: 1.6rem; margin-top: .6rem; font-size: 1.3rem; color: #a3205b; }
.pdp__add .btn-black:disabled { opacity: .55; }
