/* Layout: poster page. Grey-to-black grain, Bac diploma collage behind a wide-type hero with the traced KMEILY mark, product stage (halftone grey panel) beside the edition options, then a tear-off order slip, then a footer with Instagram and copyright. Single dark look taken from the posts. */
@property --h { syntax: '<color>'; inherits: true; initial-value: #121212; }
@property --ink { syntax: '<color>'; inherits: true; initial-value: #f4f2f2; }

:root {
  color-scheme: dark;
  --bg: #0b0b0b;
  --panel: #121212;
  --fg: #f4f2f2;
  --muted: #a6a3a3;
  --line: rgba(244, 242, 242, .22);
  --line2: rgba(244, 242, 242, .1);
  --err: #ff8a80;
  --disp: 'Archivo', 'Arial Black', Impact, 'Helvetica Neue', Arial, sans-serif;
  --cert: 'Aref Ruqaa', 'Segoe UI', Tahoma, 'Arial Unicode MS', serif;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .7 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg) linear-gradient(to bottom, #505050 0, #2b2b2b 520px, #0b0b0b 1100px) no-repeat;
  color: var(--fg);
  font-family: var(--disp);
  font-size: 16px;
  line-height: 1.5;
  padding-block: 0 28px;
  padding-left: max(clamp(16px, 3.2vw, 64px), env(safe-area-inset-left, 0px));
  padding-right: max(clamp(16px, 3.2vw, 64px), env(safe-area-inset-right, 0px));
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}
body::after { content: ""; position: fixed; inset: 0; background-image: var(--grain); opacity: .1; pointer-events: none; z-index: 90; }
.wrap { max-width: 2200px; margin: 0 auto; position: relative; }
button, input, select, textarea { font-family: inherit; }
button { color: inherit; cursor: pointer; touch-action: manipulation; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }
.wide { font-stretch: 125%; font-weight: 900; text-transform: uppercase; letter-spacing: .02em; line-height: .9; }
.tm { font-size: .36em; vertical-align: top; position: relative; top: .1em; margin-left: .08em; letter-spacing: 0; }
.mk { display: block; color: currentColor; }

/* ---------- hero ---------- */
.hero { position: relative; padding-bottom: clamp(16px, 3vw, 32px); }
.certs { position: absolute; z-index: 0; top: 0; bottom: 0; left: 50%; width: 100vw; transform: translateX(-50%); overflow: hidden; pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 52%, transparent 100%); mask-image: linear-gradient(to bottom, #000 0, #000 52%, transparent 100%); }
.cert { position: absolute; width: min(62vw, 560px); aspect-ratio: 1.38; padding: 5%; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: .5em;
  border: 3px double rgba(244, 242, 242, .26); outline: 7px dotted rgba(244, 242, 242, .13); outline-offset: 9px; background: rgba(244, 242, 242, .03);
  font-family: var(--cert); color: rgba(244, 242, 242, .4); text-align: center; transform: rotate(var(--r)); direction: rtl; }
.cert b { font-weight: 700; font-size: clamp(1.5rem, 4.6vw, 3.3rem); line-height: 1.1; color: rgba(244, 242, 242, .5); }
.cert span { font-size: clamp(.8rem, 1.7vw, 1.2rem); }
.cert.c1 { left: -10vw; top: 2%; --r: -9deg; }
.cert.c2 { left: 26vw; top: -6%; --r: 6deg; }
.cert.c3 { right: -14vw; top: 16%; --r: -5deg; }
.cert.c4 { left: 4vw; top: 46%; --r: 7deg; }
.cert.c5 { right: 8vw; top: 52%; --r: -8deg; }
.scan { position: absolute; z-index: 1; left: 50%; width: 100vw; transform: translateX(-50%); top: 0; bottom: 0; pointer-events: none; background: repeating-linear-gradient(to bottom, rgba(0, 0, 0, .22) 0 1px, transparent 1px 3px); }
.in { position: relative; z-index: 2; }

.mast { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; animation: fade .7s both; }
.lockup { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 1.3rem; }
.lockup .mk { width: 38px; height: 38px; flex: none; }
.nav { display: flex; align-items: center; gap: 2px; font-weight: 800; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; }
.nav a { text-decoration: none; padding: 10px; }
.nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.nav .yr { font-stretch: 125%; font-weight: 900; padding-left: 10px; }
.count { display: inline-block; min-width: 20px; margin-left: 4px; padding: 0 5px; text-align: center; background: var(--fg); color: var(--bg); font-variant-numeric: tabular-nums; }
.count.bump { animation: bump .45s ease-out; }

.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 16px; align-items: center; padding-top: clamp(20px, 5vw, 64px); }
h1 { margin: 0; font-size: clamp(3rem, 13.5vw, 12rem); letter-spacing: .03em; animation: fade .8s .2s both; }
.lede { max-width: 46ch; margin: 14px 0 0; color: var(--muted); font-size: 1.02rem; animation: fade .8s .35s both; }
.cta { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 10px; animation: fade .8s .45s both; }
.hm { justify-self: end; width: min(100%, 460px); }
.hm .mk { width: 100%; height: auto; animation: unfold 1.2s .2s cubic-bezier(.2, .8, .2, 1) both; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .45)); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--fg); background: var(--fg); color: var(--bg); padding: 14px 20px; min-height: 46px; font-weight: 800; font-size: .92rem; text-transform: uppercase; letter-spacing: .04em; text-decoration: none; transition: background .2s, color .2s, transform .15s; }
.btn:hover { background: transparent; color: var(--fg); }
.btn:active { transform: translateY(2px); }
.btn.ghost { background: transparent; color: var(--fg); border-color: var(--line); }
.btn.ghost:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.btn.grow { flex: 1 1 200px; }
.btn[disabled] { opacity: .5; pointer-events: none; }

/* ---------- product ---------- */
.hoodie[data-view="front"] .b, .hoodie[data-view="back"] .f { display: none; }
.cloth { fill: var(--h); stroke: rgba(0, 0, 0, .3); stroke-width: 1.5; stroke-linejoin: round; }
.rib { filter: brightness(.9); }
.overlay { pointer-events: none; stroke: none; }
.shade { fill: rgba(0, 0, 0, .55); stroke: none; }
.rim { fill: none; stroke: rgba(0, 0, 0, .4); stroke-width: 3; stroke-linecap: round; }
.seam { fill: none; stroke: rgba(0, 0, 0, .3); stroke-width: 1.5; }
.string path { fill: none; stroke: var(--ink); stroke-width: 4; stroke-linecap: round; }
.string rect { fill: var(--ink); }
.print { fill: var(--ink); font-family: var(--disp); font-weight: 900; font-stretch: 125%; }
.print.n { font-stretch: 100%; font-weight: 800; }
.print.sm { font-stretch: 100%; font-weight: 700; letter-spacing: 3px; opacity: .92; }
.pm { color: var(--ink); }

.price { font-stretch: 125%; font-weight: 900; font-size: 1.6rem; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.group { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line2); }
.lab { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin: 0 0 8px; font-weight: 800; font-size: .74rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.lab b { color: var(--fg); font-size: .9rem; letter-spacing: .02em; }
.swatches { display: flex; gap: 12px; flex-wrap: wrap; }
.sw { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--c); padding: 0; position: relative; transition: transform .2s; }
.sw:hover { transform: translateY(-3px); }
.sw[aria-pressed="true"]::after { content: ""; position: absolute; inset: -6px; border: 2px solid var(--fg); border-radius: 50%; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-weight: 800; font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; padding: 12px 14px; min-height: 44px; border: 1px solid var(--line); background: transparent; transition: background .15s, color .15s, border-color .15s; }
.chip:hover { border-color: var(--fg); }
.chip[aria-pressed="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.sizes { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.sizes .chip { text-align: center; padding: 12px 0; }
.fld { display: block; }
.fld input, .fld select, .fld textarea { width: 100%; background: rgba(244, 242, 242, .04); color: var(--fg); font: inherit; font-size: 16px; font-weight: 500; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 12px 10px; outline: none; transition: border-color .2s, background .2s; }
.fld select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--fg) 50%), linear-gradient(135deg, var(--fg) 50%, transparent 50%); background-position: calc(100% - 16px) 55%, calc(100% - 11px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 32px; }
.fld select option { background: var(--panel); color: var(--fg); }
.fld textarea { resize: none; }
.fld input:focus, .fld select:focus, .fld textarea:focus { border-bottom-color: var(--fg); background: rgba(244, 242, 242, .08); }
.fld input::placeholder, .fld textarea::placeholder { color: var(--muted); opacity: .7; }
.err { display: block; min-height: 1.1em; margin-top: 2px; color: var(--err); font-size: .78rem; font-weight: 600; }

/* ---------- order slip ---------- */
.empty { margin: 0; padding: 10px 0; color: var(--muted); font-size: .95rem; }
.phone { display: flex; align-items: stretch; }
.phone .pre { display: grid; place-items: center; padding: 0 12px; font-weight: 800; border-bottom: 1px solid var(--line); background: rgba(244, 242, 242, .08); }
.fail { border: 1px solid var(--err); padding: 12px; }
.fail p { margin: 0 0 10px; font-size: .92rem; }
.fail pre { margin: 0 0 10px; padding: 10px; background: rgba(244, 242, 242, .06); font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .76rem; white-space: pre-wrap; overflow-wrap: anywhere; max-height: 180px; overflow: auto; }
.donewrap { grid-column: 1 / -1; padding: clamp(24px, 6vw, 60px) 16px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.admis { display: inline-block; font-stretch: 125%; font-weight: 900; font-size: clamp(2.6rem, 12vw, 6rem); line-height: 1; letter-spacing: .02em; border: 6px double var(--fg); padding: 10px 22px; text-transform: uppercase; transform: rotate(-7deg); animation: thunk .6s cubic-bezier(.2, 1.4, .4, 1) both; }
.donewrap h4 { margin: 4px 0 0; font-size: 1.3rem; font-stretch: 125%; font-weight: 900; text-transform: uppercase; }
.donewrap p { margin: 0; max-width: 46ch; color: var(--muted); }

/* ---------- owner view ---------- */

/* ---------- footer ---------- */
footer { margin-top: clamp(32px, 6vw, 72px); padding-top: 16px; border-top: 1px solid var(--line); }
.f-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; }
.f-brand { display: inline-flex; align-items: center; gap: 10px; font-size: 1.15rem; }
.f-brand .mk { width: 28px; height: 28px; }
.ig { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px 0 12px; border: 1px solid var(--line); text-decoration: none; font-weight: 800; font-size: .9rem; letter-spacing: .02em; transition: background .2s, color .2s, border-color .2s; }
.ig svg { width: 22px; height: 22px; }
.ig:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.copy { margin: 14px 0 0; color: var(--muted); font-size: .8rem; font-weight: 600; letter-spacing: .04em; }
.lockup .mk, .f-brand .mk, .corner.tr { transform-origin: 50% 50%; }
.lockup:hover .mk, .lockup:focus-visible .mk, .f-brand:hover .mk, .corner.tr:hover { animation: turn .9s cubic-bezier(.45, 0, .2, 1) 1; }
@keyframes turn { from { transform: rotate(0); } to { transform: rotate(360deg); } }
.fw { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 90; pointer-events: none; }
.toast { position: fixed; z-index: 100; left: 50%; bottom: calc(22px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 24px); opacity: 0; pointer-events: none; background: var(--fg); color: var(--bg); font-weight: 800; font-size: .85rem; padding: 12px 18px; max-width: calc(100% - 32px); text-align: center; transition: transform .3s, opacity .25s; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }

/* ---------- motion ---------- */
@keyframes fade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes unfold { from { opacity: 0; transform: rotate(-40deg) scale(.7); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes flip { 0% { transform: rotateY(0); } 48% { transform: rotateY(88deg); } 52% { transform: rotateY(-88deg); } 100% { transform: rotateY(0); } }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.5); } 100% { transform: scale(1); } }
@keyframes thunk { 0% { transform: rotate(-20deg) scale(2.6); opacity: 0; } 60% { transform: rotate(-7deg) scale(.94); opacity: 1; } 100% { transform: rotate(-7deg) scale(1); opacity: 1; } }

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .hm { width: min(34%, 140px); order: -1; justify-self: start; }
  .shop { grid-template-columns: minmax(0, 1fr); }
  .stage { position: relative; top: 0; }
  .panelbox { aspect-ratio: auto; height: min(34vh, 290px); }
  .float { width: auto; height: 82%; aspect-ratio: 400 / 440; }
  .flipper, .flipper svg { height: 100%; }
  .views { background: var(--bg); }
  .slip { grid-template-columns: minmax(0, 1fr); }
  .stub { border-right: 0; border-bottom: 1px dashed var(--line); }
  .nav a:not(.keep) { display: none; }
}
@media (max-width: 480px) {
  body { font-size: 15px; }
  .lockup { font-size: 1.1rem; gap: 8px; }
  .lockup .mk { width: 32px; height: 32px; }
  .lede { font-size: .98rem; }
  .cta .btn { flex: 1 1 auto; }
  .sheet h2 br { display: none; }
  .btn.grow { flex-basis: 100%; }
  .qty { width: 100%; justify-content: space-between; }
  .qty output { flex: 1; }
  .f-top { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ======== shop v2: shelf, drawer, checkout, text pages ======== */
.nav button { background: none; border: 0; font: inherit; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; padding: 10px; color: inherit; }
.nav button:hover { text-decoration: underline; text-underline-offset: 4px; }
.shelf { margin-top: clamp(20px, 4vw, 40px); position: relative; scroll-margin-top: 16px; }
.shelf h2 { margin: 0 0 16px; font-size: clamp(1.6rem, 3.6vw, 2.6rem); }
.rail { --g: clamp(10px, 1.2vw, 20px); display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 4 * var(--g)) / 5); gap: var(--g); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.rail::-webkit-scrollbar { display: none; }
.card { scroll-snap-align: start; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.pic { position: relative; aspect-ratio: 4 / 5; background: radial-gradient(circle at 50% 40%, #4a4a4a 0, #2a2a2a 60%, #181818 100%); border: 1px solid var(--line); overflow: hidden; display: grid; place-items: center; cursor: pointer; transition: --h .4s, --ink .4s; }
.pic::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .08) 1px, transparent 1.4px); background-size: 6px 6px; }
.pic svg.hoodie { position: relative; width: 88%; height: auto; display: block; filter: drop-shadow(0 14px 14px rgba(0, 0, 0, .45)); transition: transform .5s; }
.pic:hover svg.hoodie { transform: scale(1.04); }
.pic .tag { position: absolute; left: 10px; top: 8px; z-index: 1; font-stretch: 125%; font-weight: 900; font-size: .7rem; letter-spacing: .08em; opacity: .85; }
.pic .flipbtn { position: absolute; right: 8px; bottom: 8px; z-index: 1; font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 6px 8px; border: 1px solid var(--line); background: rgba(11, 11, 11, .6); }
.card .hoodie .b { display: none; }
.card.back .hoodie .f { display: none; }
.card.back .hoodie .b { display: inline; }
.card h3 { margin: 0; text-align: center; font-size: .98rem; font-weight: 600; letter-spacing: .02em; }
.card .pr { text-align: center; font-weight: 800; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.card .swatches { justify-content: center; gap: 10px; }
.card .sw { width: 22px; height: 22px; }
.card .sw[aria-pressed="true"]::after { inset: -4px; border-width: 1.5px; }
.card .sizes { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
.card .sizes .chip { min-height: 36px; padding: 8px 0; font-size: .72rem; letter-spacing: 0; }
.card .btn { width: 100%; padding: 12px 10px; font-size: .82rem; }
.nextbtn { position: absolute; right: -8px; top: 36%; z-index: 4; width: 48px; height: 48px; border-radius: 50%; border: 0; background: #f4f2f2; color: #111; display: none; place-items: center; box-shadow: 0 4px 16px rgba(0, 0, 0, .5); }
.nextbtn.on { display: grid; }
.nextbtn svg { width: 22px; height: 22px; }
@media (hover: hover) {
  .card:hover .hoodie .f { display: none; }
  .card:hover .hoodie .b { display: inline; }
  .card.back:hover .hoodie .f { display: inline; }
  .card.back:hover .hoodie .b { display: none; }
  .pic .flipbtn { display: none; }
}

/* cart drawer */
.scrim { position: fixed; inset: 0; z-index: 95; background: rgba(0, 0, 0, .6); opacity: 0; pointer-events: none; transition: opacity .25s; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 96; width: min(440px, 100%); background: var(--panel); border-left: 1px solid var(--line); transform: translateX(102%); transition: transform .3s cubic-bezier(.2, .8, .2, 1); display: flex; flex-direction: column; visibility: hidden; padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
body.cart-open .scrim { opacity: 1; pointer-events: auto; }
body.cart-open #drawer { transform: none; visibility: visible; }
.dh { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.dh h2 { margin: 0; font-size: 1.1rem; }
.x { width: 44px; height: 44px; border: 0; background: none; font-size: 1.6rem; line-height: 1; }
.db { flex: 1; overflow-y: auto; padding: 4px 18px; }
.df { padding: 16px 18px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.sr { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.sr b { font-variant-numeric: tabular-nums; }
.cl { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line2); align-items: start; }
.th { position: relative; aspect-ratio: 4 / 5; background: radial-gradient(circle at 50% 40%, #4a4a4a 0, #222 100%); border: 1px solid var(--line); display: grid; place-items: center; }
.th svg.hoodie { width: 88%; height: auto; display: block; }
.th .hoodie .b { display: none; }
.th .qb { position: absolute; top: -8px; right: -8px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--fg); color: var(--bg); font-size: .72rem; font-weight: 800; display: grid; place-items: center; }
.cl h4 { margin: 0; font-size: .92rem; line-height: 1.25; text-transform: uppercase; letter-spacing: .02em; }
.cl small { display: block; color: var(--muted); font-size: .8rem; margin-top: 2px; font-weight: 500; }
.cl .lp { font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; font-size: .92rem; }
.cl .ctl { display: flex; align-items: center; gap: 6px; margin-top: 8px; }
.cl .ctl button { width: 32px; height: 32px; border: 1px solid var(--line); background: transparent; font-weight: 800; padding: 0; }
.cl .ctl span { min-width: 20px; text-align: center; font-weight: 800; }
.cl .ctl .rm { width: auto; border: 0; text-decoration: underline; color: var(--muted); font-size: .8rem; padding: 0 8px; }
.none { color: var(--muted); padding: 24px 0; margin: 0; }

/* inner pages */
.bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; }
.bar .back { font-weight: 800; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; text-decoration: none; padding: 10px 0; }
.bar .back:hover { text-decoration: underline; text-underline-offset: 4px; }
.co { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(20px, 4vw, 64px); margin-top: clamp(16px, 3vw, 32px); align-items: start; }
.co h1 { font-size: clamp(2rem, 6vw, 3.6rem); margin: 0 0 20px; animation: none; letter-spacing: .02em; }
.blk { margin-bottom: 26px; }
.blk h2 { margin: 0 0 12px; font-size: .95rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.co .fld { margin-bottom: 10px; }
.co .fld .lab { margin-bottom: 4px; }
.co .fld input, .co .fld select, .co .fld textarea { border: 1px solid var(--line); border-radius: 0; padding: 13px 12px; background: rgba(244, 242, 242, .04); }
.co .fld input:focus, .co .fld select:focus, .co .fld textarea:focus { border-color: var(--fg); }
.co .phone .pre { border: 1px solid var(--line); border-right: 0; }
.co .phone input { flex: 1; min-width: 0; }
.g2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.opt { display: flex; align-items: flex-start; gap: 12px; padding: 14px; border: 1px solid var(--fg); background: rgba(244, 242, 242, .06); margin-bottom: 8px; }
.opt .dot { width: 18px; height: 18px; border-radius: 50%; border: 5px solid var(--fg); flex: none; margin-top: 3px; }
.opt b { display: block; font-weight: 800; line-height: 1.35; }
.opt .ar { font-family: var(--cert); font-size: 1.15em; }
.opt small { display: block; color: var(--muted); margin-top: 4px; font-weight: 500; }
.opt.pay-info { border-color: var(--line); background: transparent; }
.sum { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 16px); background: var(--panel); border: 1px solid var(--line); padding: clamp(14px, 2.4vw, 24px); min-width: 0; }
.sumtoggle { display: none; width: 100%; background: none; border: 0; padding: 0; justify-content: space-between; align-items: center; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: .85rem; }
.sumbody .cl:first-child { padding-top: 0; }
.rows { display: grid; gap: 8px; padding-top: 14px; }
.grand { align-items: baseline; padding-top: 12px; border-top: 1px solid var(--line); margin-top: 4px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; }
.grand b { font-stretch: 125%; font-weight: 900; font-size: 1.5rem; letter-spacing: 0; }
.grand .cur { color: var(--muted); font-size: .72rem; margin-right: 6px; }
.taxnote { margin: 0; color: var(--muted); font-size: .85rem; text-align: right; font-weight: 600; }
.consent { margin: 12px 0 0; color: var(--muted); font-size: .82rem; }
.consent a { text-decoration: underline; text-underline-offset: 3px; }
.co .btn.big { width: 100%; min-height: 54px; font-size: 1rem; }
.empty-cart { padding: 40px 0; }
.doc { max-width: 78ch; margin: clamp(16px, 3vw, 32px) 0 0; }
.doc h1 { font-size: clamp(2rem, 6vw, 3.6rem); margin: 0 0 8px; animation: none; }
.doc h2 { margin: 30px 0 8px; font-size: 1.05rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.doc p, .doc li { color: #d7d4d4; }
.doc ul { padding-left: 20px; }
.doc li { margin: 4px 0; }
.doc .meta { color: var(--muted); font-weight: 600; font-size: .9rem; }
.doc a { text-decoration: underline; text-underline-offset: 3px; }
.flinks { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 12px; font-weight: 700; font-size: .85rem; }
.flinks a { color: var(--muted); }
.flinks a:hover { color: var(--fg); }
@media (max-width: 880px) {
  .rail { grid-auto-columns: calc((100% - var(--g)) / 2.15); }
  .nextbtn { right: 4px; }
  .co { grid-template-columns: minmax(0, 1fr); }
  .co .sum { order: -1; position: static; }
  .sumtoggle { display: flex; }
  .sumbody { display: none; }
  .sum.open .sumbody { display: block; padding-top: 14px; }
  .g2 { grid-template-columns: minmax(0, 1fr); }
  .g2.keep2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

[hidden] { display: none !important; }
.loader { position: fixed; inset: 0; z-index: 120; background: var(--bg); display: grid; place-content: center; justify-items: center; gap: 20px; animation: fade .25s both; }
.loader .mk { width: 96px; height: 96px; animation: turn 1s linear infinite; }
.loader span { font-weight: 800; font-size: .8rem; text-transform: uppercase; letter-spacing: .2em; color: var(--muted); }

/* simplified shop cards + product page */
.card { position: relative; }
.cardlink { display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: inherit; min-width: 0; }
.cardlink:hover h3 { text-decoration: underline; text-underline-offset: 4px; }
.pdp { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(20px, 4vw, 64px); margin-top: clamp(16px, 3vw, 32px); align-items: start; }
.gal { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 16px); min-width: 0; }
.pic.big { cursor: default; }
.pic.big svg.hoodie { width: 84%; }
.pic .cnt { position: absolute; right: 12px; top: 10px; z-index: 1; font-weight: 800; font-size: .8rem; letter-spacing: .08em; font-variant-numeric: tabular-nums; opacity: .85; }
.thumbs { display: grid; grid-template-columns: repeat(2, minmax(0, 120px)); gap: 8px; margin-top: 8px; }
.thumb { aspect-ratio: 4 / 5; padding: 0; background: radial-gradient(circle at 50% 40%, #4a4a4a 0, #222 100%); border: 1px solid var(--line); display: grid; place-items: center; }
.thumb svg.hoodie { width: 86%; height: auto; display: block; }
.thumb[aria-pressed="true"] { border-color: var(--fg); outline: 1px solid var(--fg); }
.info { min-width: 0; }
.brand { margin: 0; color: var(--muted); font-weight: 800; font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; }
.info h1 { font-size: clamp(2rem, 5vw, 3.4rem); margin: 6px 0 10px; animation: none; letter-spacing: .02em; }
.info .price { display: block; }
.info .taxes { margin: 2px 0 0; color: var(--muted); font-size: .9rem; font-weight: 600; }
.info .group .chips, .info .group .swatches { margin-top: 2px; }
.info .sizes { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.pdp .qty { width: 100%; justify-content: space-between; }
.pdp .qty output { flex: 1; }
.pdp .btn.big { width: 100%; min-height: 54px; font-size: 1rem; margin-top: 12px; }
.desc { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line2); }
.desc p { margin: 0 0 12px; color: #d7d4d4; }
.desc ul { margin: 0 0 12px; padding-left: 18px; color: #d7d4d4; }
.desc li { margin: 4px 0; }
.desc h2 { margin: 18px 0 8px; font-size: .85rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.share { margin-top: 16px; }
.more { margin-top: clamp(32px, 6vw, 72px); }
.more h2 { margin: 0 0 16px; font-size: clamp(1.4rem, 3vw, 2.2rem); }
.more .rail { grid-auto-columns: calc((100% - 3 * var(--g)) / 4); }
@media (max-width: 880px) {
  .pdp { grid-template-columns: minmax(0, 1fr); }
  .gal { position: relative; top: 0; }
  .more .rail { grid-auto-columns: calc((100% - var(--g)) / 2.15); }
}
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); }
.qty button { width: 48px; align-self: stretch; min-height: 46px; border: 0; background: transparent; font-size: 1.25rem; font-weight: 700; }
.qty button:hover { background: rgba(244, 242, 242, .1); }
.qty output { min-width: 30px; text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; }

/* hero photo */
.herophoto { position: absolute; z-index: 0; top: 0; bottom: 0; left: 50%; width: 100vw; transform: translateX(-50%); overflow: hidden; pointer-events: none; background: #151515; }
.herophoto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; filter: saturate(1.08) contrast(1.03) brightness(.95); display: block; }
.herophoto::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 11, 11, .5) 0, rgba(11, 11, 11, .12) 55%, rgba(11, 11, 11, .12) 100%), linear-gradient(to bottom, rgba(11, 11, 11, 0) 75%, var(--bg) 100%); }
.hero .hm { display: none; }
.hero-grid { grid-template-columns: minmax(0, 1fr); }
.hero-grid h1 { margin-top: clamp(40px, 9vw, 110px); }
.hero .lede { color: #f4f2f2; text-shadow: 0 1px 12px rgba(0, 0, 0, .85); }
.hero h1 { text-shadow: 0 2px 24px rgba(0, 0, 0, .45); }
.hero .btn.ghost { background: rgba(11, 11, 11, .6); }
.hero .scan { opacity: .45; }
@media (max-width: 880px) {
  .herophoto::after { background: linear-gradient(to bottom, rgba(11, 11, 11, .25) 0, rgba(11, 11, 11, 0) 25%, rgba(11, 11, 11, .55) 62%, var(--bg) 100%); }
}

/* discount code */
.disc { display: flex; gap: 8px; margin-top: 14px; }
.disc[hidden] { display: none; }
.disc input { flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: 0; background: rgba(244, 242, 242, .04); padding: 13px 12px; font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; color: var(--fg); }
.disc input:focus { border-color: var(--fg); outline: 0; }
.disc .btn { padding: 0 20px; min-height: 48px; }
.disc.shake { animation: shake .4s; }
@keyframes shake { 0%, 100% { transform: translateX(0); } 20% { transform: translateX(-8px); } 40% { transform: translateX(8px); } 60% { transform: translateX(-5px); } 80% { transform: translateX(5px); } }
#discErr { display: block; min-height: 0; margin-top: 6px; }
.disc-row { animation: slidein .55s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes slidein { from { opacity: 0; transform: translateX(-16px); } to { opacity: 1; transform: none; } }
.tagc { font-style: normal; background: var(--fg); color: var(--bg); padding: 2px 8px; font-weight: 800; font-size: .72rem; letter-spacing: .1em; margin-left: 6px; }
.rmd { background: none; border: 0; padding: 0 0 0 8px; color: var(--muted); text-decoration: underline; font-size: .78rem; font-weight: 600; }
.grand.flash b { display: inline-block; animation: flashpop .9s cubic-bezier(.2, .8, .2, 1); }
@keyframes flashpop { 0% { transform: scale(1.25); } 100% { transform: scale(1); } }

/* photos instead of drawings */
.pic::before { content: none; }
.pic { background: #1b1b1b; }
.pic img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; display: block; transition: transform .5s; }
.pic:hover img { transform: scale(1.04); }
.pic.big { cursor: default; }
.pic.big:hover img { transform: none; }
.th img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; display: block; }

/* composition, care and origin */
.inforow { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; margin-top: 8px; padding: 16px 0; border: 0; border-top: 1px solid var(--line2); border-bottom: 1px solid var(--line2); background: none; text-align: left; font-weight: 700; font-size: .95rem; }
.inforow:hover { color: #fff; }
.inforow svg { width: 20px; height: 20px; flex: none; }
.infopanel { position: fixed; top: 0; right: 0; bottom: 0; z-index: 96; width: min(560px, 100%); background: var(--panel); border-left: 1px solid var(--line); transform: translateX(102%); transition: transform .3s cubic-bezier(.2, .8, .2, 1); visibility: hidden; overflow-y: auto; padding-bottom: env(safe-area-inset-bottom, 0px); }
body.info-open .infopanel { transform: none; visibility: visible; }
body.info-open #scrim2 { opacity: 1; pointer-events: auto; }
.ih { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: calc(14px + env(safe-area-inset-top, 0px)) 18px 14px 24px; background: var(--panel); border-bottom: 1px solid var(--line); }
.ih h2 { margin: 0; font-size: .95rem; letter-spacing: .06em; }
.ib { padding: 8px 24px 40px; }
.ib h3 { margin: 28px 0 10px; font-size: 1.15rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.ib h4 { margin: 18px 0 8px; font-size: .9rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.ib p { margin: 0; color: #d7d4d4; }
.ib .ibl { margin-bottom: 14px; }
.ib .it { color: var(--fg); font-weight: 600; text-transform: uppercase; font-size: .85rem; letter-spacing: .04em; margin-bottom: 6px; }
.ib ul { margin: 0; padding-left: 18px; color: #d7d4d4; }
.ib li { margin: 6px 0; }

/* nav cart icon */
.cartico { display: inline-flex; align-items: center; gap: 6px; }
.cartico svg { width: 24px; height: 24px; }
.btn.iconbtn { padding: 0 16px; }
.btn.iconbtn svg { width: 22px; height: 22px; }
.cl h4 a { color: inherit; text-decoration: none; }
.cl h4 a:hover { text-decoration: underline; text-underline-offset: 3px; }
a.th { display: grid; color: inherit; }
/* care icons */
.ib ul.carelist { list-style: none; padding: 0; margin: 0; }
.carelist li { display: flex; align-items: center; gap: 14px; margin: 12px 0; }
.carelist .ci { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--fg); }
.carelist .ci svg { width: 26px; height: 26px; }
/* about + contact */
.doc .lead { font-size: clamp(1.1rem, 2.4vw, 1.35rem); color: var(--fg); max-width: 36ch; line-height: 1.4; font-weight: 600; }
.doc .cta { margin-top: 22px; }
.cf .fld { margin-bottom: 12px; }
.cf .fld input, .cf .fld textarea { border: 1px solid var(--line); border-radius: 0; padding: 13px 12px; background: rgba(244, 242, 242, .04); }
.cf .fld input:focus, .cf .fld textarea:focus { border-color: var(--fg); }
.cf .fld textarea { min-height: 150px; resize: vertical; width: 100%; }
.cf .btn { margin-top: 4px; }
.cf .hp { position: absolute; left: -9999px; }
.sent { border: 1px solid var(--line); padding: 20px; }
.sent h2 { margin: 0 0 6px; }

/* cart icon: badge on the corner, animations */
.cartico { position: relative; padding: 10px; }
.cartico svg { transform-origin: 50% 12%; }
.cartico .count { position: absolute; top: 1px; right: -2px; min-width: 19px; height: 19px; margin: 0; padding: 0 5px; border-radius: 10px; display: grid; place-items: center; background: #e30613; color: #fff; font-size: .68rem; font-weight: 800; line-height: 1; box-shadow: 0 0 0 2px var(--bg); }
.cartico .count[data-n="0"] { display: none; }
.cartico:hover svg { animation: swing .7s ease-in-out; }
.cartico.ring svg { animation: swing .8s ease-in-out; }
@keyframes swing { 0% { transform: rotate(0); } 20% { transform: rotate(-16deg); } 40% { transform: rotate(13deg); } 60% { transform: rotate(-8deg); } 80% { transform: rotate(4deg); } 100% { transform: rotate(0); } }
.cartico.ring::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; border: 2px solid var(--fg); opacity: 0; animation: ping .7s ease-out; pointer-events: none; }
@keyframes ping { 0% { transform: scale(.6); opacity: .8; } 100% { transform: scale(1.5); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .cartico:hover svg, .cartico.ring svg, .cartico.ring::after { animation: none; } }

/* wishlist */
.heart { position: absolute; top: 8px; right: 8px; z-index: 2; width: 38px; height: 38px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: rgba(11, 11, 11, .55); color: var(--fg); transition: transform .15s, background .2s; }
.heart:hover { background: rgba(11, 11, 11, .8); transform: scale(1.08); }
.heart svg, .savebtn svg { width: 19px; height: 19px; transition: fill .2s, stroke .2s; }
[data-heart][aria-pressed="true"] svg { fill: #e30613; stroke: #e30613; }
.heart.pop svg, .savebtn.pop svg { animation: heartpop .45s ease-out; }
@keyframes heartpop { 0% { transform: scale(1); } 35% { transform: scale(1.45); } 70% { transform: scale(.9); } 100% { transform: scale(1); } }
.share { display: flex; flex-wrap: wrap; gap: 10px; }
.savebtn { gap: 8px; }
.savebtn .t-on, .savebtn[aria-pressed="true"] .t-off { display: none; }
.savebtn[aria-pressed="true"] .t-on { display: inline; }
.cartico.wishbtn:hover svg, .cartico.wishbtn.ring svg { animation: beat .6s ease-in-out; transform-origin: 50% 50%; }
@keyframes beat { 0%, 100% { transform: scale(1); } 25% { transform: scale(1.3); } 50% { transform: scale(.95); } 75% { transform: scale(1.18); } }
body.wish-open .scrim { opacity: 1; pointer-events: auto; }
body.wish-open #wdrawer { transform: none; visibility: visible; }
.btn.sm { min-height: 34px; padding: 6px 12px; font-size: .74rem; }
.cl .ctl a.btn { width: auto; }
.cartico .count[data-n="0"] { display: none; }

/* delivery info */
.deliv { margin-top: 16px; padding: 16px; border: 1px solid var(--line); background: rgba(244, 242, 242, .03); }
.dtitle { margin: 0; font-weight: 800; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; }
.road { position: relative; height: 40px; margin: 10px 0 12px; cursor: pointer; }
.road::before { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; border-top: 2px dashed var(--line); }
.van { position: absolute; left: 0; bottom: 7px; width: 54px; height: 31px; color: var(--fg); overflow: visible; }
.van .vb { fill: var(--panel); stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
.van .vw { fill: rgba(244, 242, 242, .25); }
.van .vt { fill: var(--bg); stroke: currentColor; stroke-width: 1.6; }
.van .vs { stroke: currentColor; stroke-width: 1.2; }
.van use { color: var(--fg); fill: currentColor; }
.van .wheel { transform-box: view-box; }
.pin { position: absolute; right: 0; bottom: 6px; width: 24px; height: 24px; color: #e30613; }
.deliv.go .van { animation: drive 3.2s cubic-bezier(.4, 0, .2, 1) both; }
.deliv.go .wheel { animation: spin .5s linear 6; }
.deliv.go .pin { animation: arrive .5s 3s ease-out both; }
@keyframes drive { from { left: 0; } to { left: calc(100% - 84px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes arrive { 0% { transform: translateY(0) scale(1); } 40% { transform: translateY(-6px) scale(1.15); } 100% { transform: translateY(0) scale(1); } }
.dgrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.dgrid li { display: flex; gap: 8px; align-items: flex-start; min-width: 0; }
.dgrid svg { width: 20px; height: 20px; flex: none; margin-top: 1px; color: var(--muted); }
.dgrid b { display: block; font-size: .84rem; line-height: 1.25; }
.dgrid span { display: block; color: var(--muted); font-size: .76rem; margin-top: 2px; line-height: 1.3; }
@media (max-width: 520px) { .dgrid { grid-template-columns: 1fr; gap: 10px; } .dgrid li { align-items: center; } .dgrid div { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; } .dgrid span { margin: 0; } }
@media (prefers-reduced-motion: reduce) { .deliv .van { left: calc(100% - 84px); animation: none !important; } .deliv .wheel, .deliv .pin, .heart.pop svg, .cartico.wishbtn.ring svg { animation: none !important; } }

/* language popup + switch */
.langpop { position: fixed; z-index: 90; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); width: min(330px, calc(100vw - 32px)); padding: 16px 16px 18px; background: var(--panel); border: 1px solid var(--line); box-shadow: 0 14px 40px rgba(0, 0, 0, .5); overflow: hidden; animation: lpin .45s cubic-bezier(.2, .8, .2, 1) both; }
.langpop.out { animation: lpout .3s ease-in both; }
@keyframes lpin { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes lpout { to { opacity: 0; transform: translateY(24px); } }
.langpop .lp-t { margin: 0 28px 2px 0; font-weight: 800; font-size: 1rem; }
.langpop .lp-s { margin: 0 0 14px; color: var(--muted); font-size: .85rem; }
.langpop .lp-b { display: flex; gap: 8px; }
.langpop .btn { flex: 1; min-height: 40px; padding: 8px 10px; font-size: .78rem; }
.langpop .lp-x { position: absolute; top: 4px; right: 4px; width: 36px; height: 36px; border: 0; background: none; font-size: 1.4rem; line-height: 1; color: var(--muted); }
.langpop .lp-bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--fg); transform-origin: left; animation: lpbar 15s linear both; }
@keyframes lpbar { to { transform: scaleX(0); } }
@media (prefers-reduced-motion: reduce) { .langpop, .langpop.out { animation: none; } }
.langsw { display: inline-flex; align-items: center; gap: 4px; margin-top: 12px; font-weight: 800; font-size: .8rem; color: var(--muted); }
.langsw button { background: none; border: 0; padding: 4px 6px; font: inherit; color: var(--muted); letter-spacing: .08em; }
.langsw button[aria-pressed="true"] { color: var(--fg); text-decoration: underline; text-underline-offset: 4px; }
