/* ==========================================================================
   Linda Academy — website · "Showroom"
   A lit wall, garments on a rail, quiet type. ink #1c1d20 · paper #f2f4f1 · thread #ffc928 (accents only)
   Fonts come from Settings (Fonts::css → --f-display / --f-body).
   ========================================================================== */
:root {
  --ink: #1c1d20; --ink-2: #2a2b2f; --ink-3: #4a4c51;
  --mut: #74776f; --mut-2: #a3a69f;
  --wall: #eef0eb; --wall-2: #e5e8e2; --paper: #f2f4f1; --card: #ffffff;
  --line: rgba(28,29,32,.12); --line-2: rgba(28,29,32,.07);
  --acc: #ffc928; --acc-2: #e9ad00;
  --green: #2f7d55; --red: #b3372b;
  --f-mono: "IBM Plex Mono", ui-monospace, monospace;
  --r: 10px; --r-lg: 14px; --r-xl: 18px;
  --sh: 0 40px 80px -45px rgba(28,29,32,.42);
  --sh-sm: none;
  --ease: cubic-bezier(.22,.8,.2,1);
  --wrap: 1360px; --gut: clamp(16px, 4vw, 48px); --hh: 76px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; color: var(--ink); font-family: var(--f-body); font-size: 16px; line-height: 1.8; -webkit-font-smoothing: antialiased; overflow-x: hidden;
  background-color: var(--wall);
  background-image: radial-gradient(1400px 760px at 82% -12%, rgba(255,255,255,.96) 0%, rgba(255,255,255,0) 62%),
                    radial-gradient(1000px 640px at -12% 108%, rgba(214,219,210,.7) 0%, rgba(214,219,210,0) 66%);
  background-attachment: fixed;
}
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: 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 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E"); }
html[lang=en] body { line-height: 1.65; }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--ink); color: #fff; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 700; line-height: 1.25; margin: 0; }
html[lang=en] h1, html[lang=en] h2, html[lang=en] h3 { letter-spacing: -.028em; line-height: 1.06; }
html[lang=en] h4 { letter-spacing: -.01em; }
p { margin: 0 0 1em; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gut); }
.lbl { font-size: 13px; color: var(--mut); font-weight: 500; }
html[lang=en] .lbl { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .07em; text-transform: uppercase; font-weight: 400; }
.num, .mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
.muted { color: var(--mut); }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.hair { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ── Buttons ─────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; height: 50px; padding: 0 24px; border-radius: 999px; background: var(--ink); color: #fff; border: 1px solid var(--ink); font-weight: 500; font-size: 14.5px; cursor: pointer; white-space: nowrap; transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease), box-shadow .3s; }
.btn i { font-size: 18px; transition: transform .35s var(--ease); }
.btn:hover { background: #000; transform: translateY(-1px); box-shadow: 0 16px 30px -18px rgba(0,0,0,.6); }
.btn:hover i.ti-arrow-left { transform: translateX(-4px); }
.btn:hover i.ti-arrow-right { transform: translateX(4px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--light { background: #fff; color: var(--ink); border-color: #fff; }
.btn--light:hover { background: var(--paper); }
.btn--sm { height: 42px; padding: 0 18px; font-size: 13.5px; }
.btn--xs { height: 34px; padding: 0 14px; font-size: 12.5px; gap: 6px; }
.btn--block { width: 100%; }
.btn--split { justify-content: space-between; }
.btn[disabled], .btn.is-loading { opacity: .5; pointer-events: none; }
.btn.is-loading::after { content: ""; width: 15px; height: 15px; border-radius: 50%; border: 2px solid currentColor; border-top-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,.7); display: inline-grid; place-items: center; cursor: pointer; transition: background .25s, border-color .25s, transform .25s; color: var(--ink); flex: none; }
.icon-btn:hover { background: #fff; border-color: var(--ink); }
.icon-btn i { font-size: 19px; }
.link { position: relative; font-weight: 500; display: inline-flex; align-items: center; gap: 8px; }
.link::after { content: ""; position: absolute; inset-inline: 0; bottom: -3px; height: 1px; background: currentColor; transform: scaleX(.25); transform-origin: var(--o, right); transition: transform .4s var(--ease); }
html[lang=en] .link { --o: left; }
.link:hover::after { transform: scaleX(1); }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 11px; border-radius: 999px; font-size: 12px; font-weight: 500; background: rgba(255,255,255,.9); color: var(--ink-3); white-space: nowrap; }
.chip--ink { background: var(--ink); color: #fff; }
.chip--acc { background: var(--acc); color: var(--ink); }
.chip--green { background: #e3f1e8; color: var(--green); } .chip--amber { background: #fdf0cf; color: #8a5b06; } .chip--red { background: #f9e5e2; color: var(--red); }
.chip--blue { background: #e8eefb; color: #2f5aa8; } .chip--gray { background: var(--wall-2); color: var(--mut); } .chip--sky { background: #e2f1f6; color: #1f7a99; } .chip--violet { background: #efeafb; color: #6b4fa8; }

/* ── Header ──────────────────────────── */
.hdr { position: sticky; top: 0; z-index: 60; height: var(--hh); transition: background .4s, box-shadow .4s; }
.hdr.is-solid { background: rgba(238,240,235,.82); backdrop-filter: saturate(1.3) blur(18px); -webkit-backdrop-filter: saturate(1.3) blur(18px); box-shadow: 0 1px 0 var(--line-2); }
.hdr .wrap { height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.menu-btn { justify-self: start; display: inline-flex; align-items: center; gap: 12px; height: 42px; padding: 0 4px; border: 0; background: none; cursor: pointer; font-weight: 500; font-size: 14.5px; }
.menu-btn .bars { width: 22px; display: grid; gap: 5px; }
.menu-btn .bars i { display: block; height: 1.5px; background: var(--ink); border-radius: 2px; transition: width .35s var(--ease); }
.menu-btn .bars i:last-child { width: 14px; }
.menu-btn:hover .bars i:last-child { width: 22px; }
.hdr-links { display: flex; gap: 2px; margin-inline-start: 18px; }
.hdr-links a { height: 36px; padding: 0 12px; border-radius: 999px; display: inline-flex; align-items: center; font-size: 14px; color: var(--ink-3); transition: background .25s, color .25s; }
.hdr-links a:hover { color: var(--ink); background: rgba(255,255,255,.65); }
.hdr-links a.is-on { color: var(--ink); background: #fff; box-shadow: 0 1px 0 var(--line-2); }
.hdr .start { justify-self: start; display: flex; align-items: center; }
.logo { display: flex; align-items: center; gap: 11px; }
.logo img { height: 42px; width: auto; }
.logo b { display: block; font-family: var(--f-display); font-size: 17px; font-weight: 700; line-height: 1.15; }
.logo small { display: block; font-size: 11px; color: var(--mut); line-height: 1.3; }
.tools { justify-self: end; display: flex; align-items: center; gap: 6px; }
.lang-btn { height: 38px; min-width: 38px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.6); font-size: 12.5px; font-weight: 600; display: inline-grid; place-items: center; transition: border-color .2s, background .2s; }
.lang-btn:hover { border-color: var(--ink); background: #fff; }
.cur-sel { appearance: none; -webkit-appearance: none; height: 38px; border-radius: 999px; border: 1px solid var(--line); padding: 0 30px 0 14px; font-size: 12px; font-family: var(--f-mono); cursor: pointer; outline: none; transition: border-color .2s, background-color .2s;
  background: rgba(255,255,255,.6) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%231c1d20' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center; }
[dir=rtl] .cur-sel { padding: 0 14px 0 30px; background-position: left 12px center; }
.cur-sel:hover, .cur-sel:focus { border-color: var(--ink); background-color: #fff; }
.bag-btn { display: inline-flex; align-items: center; gap: 9px; height: 42px; padding: 0 6px 0 16px; border-radius: 999px; font-weight: 500; font-size: 14px; background: var(--ink); color: #fff; transition: background .25s; }
html[lang=ar] .bag-btn { padding: 0 16px 0 6px; }
.bag-btn:hover { background: #000; }
.bag-btn .cnt { min-width: 30px; height: 30px; border-radius: 15px; background: rgba(255,255,255,.14); font-size: 12px; font-weight: 500; display: grid; place-items: center; padding: 0 8px; font-family: var(--f-mono); }
.bag-btn .cnt.pop { animation: pop .55s var(--ease); }
@keyframes pop { 40% { transform: scale(1.35); background: var(--acc); color: var(--ink); } }
.acc-av { width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 1px solid var(--line); color: var(--ink); display: grid; place-items: center; font-size: 13px; font-weight: 700; overflow: hidden; flex: none; transition: border-color .2s; }
.acc-av:hover { border-color: var(--ink); }
.acc-av img { width: 100%; height: 100%; object-fit: cover; }

/* overlay menu */
.mnav { position: fixed; inset: 0; z-index: 90; background-color: var(--wall); background-image: radial-gradient(1200px 700px at 80% -10%, #fff 0%, rgba(255,255,255,0) 62%); display: flex; flex-direction: column; clip-path: inset(0 0 100% 0); transition: clip-path .75s var(--ease), visibility 0s .75s; visibility: hidden; }
.mnav.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .75s var(--ease); }
.mnav .top { height: var(--hh); display: flex; align-items: center; justify-content: space-between; padding-inline: var(--gut); max-width: var(--wrap); width: 100%; margin: 0 auto; flex: none; }
.mnav .body { flex: 1; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: center; padding: 10px var(--gut) 30px; max-width: var(--wrap); width: 100%; margin: 0 auto; overflow-y: auto; }
.mnav nav { display: flex; flex-direction: column; }
.mnav nav a { display: flex; align-items: baseline; gap: 18px; font-family: var(--f-display); font-weight: 700; font-size: clamp(32px, 5vw, 64px); line-height: 1.2; padding: 3px 0; opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease), color .3s; }
html[lang=en] .mnav nav a { letter-spacing: -.03em; line-height: 1.08; }
.mnav nav a span { font-family: var(--f-mono); font-size: 12px; color: var(--mut); font-weight: 400; letter-spacing: 0; }
.mnav nav a:hover, .mnav nav a.is-on { color: var(--ink-3); }
.mnav nav a:hover span, .mnav nav a.is-on span { color: var(--acc-2); }
.mnav.is-open nav a { opacity: 1; transform: none; }
.mnav .side { display: flex; flex-direction: column; gap: 26px; opacity: 0; transition: opacity .6s .35s; }
.mnav.is-open .side { opacity: 1; }
.mnav .side { align-items: flex-start; }
.mnav .side .grp { display: flex; flex-direction: column; gap: 4px; }
.mnav .side .grp b { display: block; font-size: 16px; font-weight: 500; text-align: start; }
.mnav .side .grp a:hover { text-decoration: underline; text-underline-offset: 4px; }
.mnav .side .soc { display: flex; gap: 8px; }
.mnav .foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px var(--gut); border-top: 1px solid var(--line); font-size: 13px; color: var(--mut); max-width: var(--wrap); width: 100%; margin: 0 auto; flex-wrap: wrap; flex: none; }
.mnav .foot .row { display: flex; gap: 8px; align-items: center; }

/* ── Ticker ──────────────────────────── */
.ticker { position: relative; z-index: 2; background: var(--ink); color: #e9ebe6; overflow: hidden; white-space: nowrap; display: flex; align-items: stretch; }
.ticker__run { flex: 1; overflow: hidden; display: flex; }
.ticker__in { display: inline-flex; flex: none; animation: tickR 46s linear infinite; padding: 13px 0; }
html[lang=en] .ticker__in { animation-name: tickL; }
.ticker__in span { display: inline-flex; align-items: center; gap: 26px; padding-inline-end: 26px; font-size: 13.5px; font-weight: 500; }
html[lang=en] .ticker__in span { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; font-weight: 400; }
.ticker__in span::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--acc); }
.ticker:hover .ticker__in { animation-play-state: paused; }
@keyframes tickR { to { transform: translateX(50%); } }
@keyframes tickL { to { transform: translateX(-50%); } }

/* ── Section scaffolding (the rail's own layout) ── */
.sec { position: relative; padding: clamp(70px, 9vw, 130px) 0; }
.sec--t0 { padding-top: 0; }
.sec--b0 { padding-bottom: 0; }
.sec--tight { padding: clamp(40px, 5vw, 70px) 0; }
.sec-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 360px); gap: 30px; align-items: end; margin-bottom: clamp(30px, 4vw, 54px); }
.sec-top h2 { font-size: clamp(30px, 4.4vw, 56px); margin: 12px 0 0; max-width: 780px; }
.sec-top .aside { border-inline-start: 1px solid var(--line); padding-inline-start: 24px; }
.sec-top .aside h3 { font-size: 19px; margin: 8px 0 6px; }
.sec-top .aside p { font-size: 14.5px; color: var(--mut); margin: 0 0 16px; }
.count { display: flex; align-items: center; gap: 14px; font-family: var(--f-mono); font-size: 13px; color: var(--mut); margin-top: 18px; }
.count b { color: var(--ink); font-weight: 500; font-size: 15px; }
.count .bar { width: 120px; height: 1px; background: var(--line); position: relative; overflow: hidden; }
.count .bar i { position: absolute; inset-block: 0; inset-inline-start: 0; background: var(--ink); width: 10%; transition: width .5s var(--ease); }
.arrows { display: flex; gap: 8px; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.d1 { transition-delay: .08s; } .d2 { transition-delay: .16s; } .d3 { transition-delay: .24s; }

/* ── The rail ────────────────────────── */
.rail-sec { position: relative; padding: clamp(30px, 4vw, 60px) 0 0; overflow: hidden; }
.rail-sec::before { content: ""; position: absolute; inset: -10% -5% 0; pointer-events: none; z-index: 0; opacity: .55; filter: blur(38px);
  background: linear-gradient(112deg, transparent 38%, rgba(255,255,255,.9) 44%, transparent 52%, transparent 60%, rgba(255,255,255,.75) 64%, transparent 70%); }
.rail-top { position: relative; z-index: 3; display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 340px); gap: 30px; align-items: start; transition: opacity .5s, filter .5s; }
.rail-top h1, .rail-top h2 { font-size: clamp(32px, 4.8vw, 62px); line-height: 1.18; margin: 12px 0 0; max-width: 700px; }
html[lang=en] .rail-top h1, html[lang=en] .rail-top h2 { line-height: 1.02; }
.rail-aside { border-inline-start: 1px solid var(--line); padding-inline-start: 24px; }
.rail-aside h3 { font-size: 19px; margin: 8px 0 6px; }
.rail-aside p { font-size: 14px; color: var(--mut); margin: 0 0 16px; }
.rail-stage { position: relative; z-index: 2; height: clamp(460px, 52vw, 640px); margin-top: 6px; }
.rail-rod { position: absolute; top: 34px; inset-inline: calc(var(--gut) - 10px); height: 9px; border-radius: 9px; z-index: 1;
  background: linear-gradient(180deg, #f1f2ef 0%, #c4c8c0 42%, #8d918a 58%, #d7dad3 100%); box-shadow: 0 8px 14px -8px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.8); }
.rail-rod::before, .rail-rod::after { content: ""; position: absolute; top: -6px; width: 12px; height: 21px; border-radius: 4px; background: linear-gradient(90deg, #8d918a, #d9dcd6, #8d918a); }
.rail-rod::before { left: -4px; } .rail-rod::after { right: -4px; }
.rail-viewport { position: absolute; inset: 0; overflow: hidden; touch-action: pan-y; cursor: grab; z-index: 2; }
.rail-viewport.is-drag { cursor: grabbing; }
.rail-track { position: absolute; top: 0; left: 0; height: 100%; display: flex; align-items: flex-start; gap: clamp(4px, 1vw, 14px); padding-inline: calc(var(--gut) + 10px); will-change: transform; }
[dir=rtl] .rail-track { left: auto; right: 0; }
.piece { position: relative; flex: none; width: clamp(150px, 17vw, 236px); height: 100%; border: 0; background: none; padding: 0; cursor: pointer; transform-origin: 50% 36px; transition: opacity .45s, filter .5s; -webkit-tap-highlight-color: transparent; }
/* the hook sits exactly on the garment's centre line, in both directions */
.piece .hook { position: absolute; top: 17px; left: 50%; right: auto; width: 34px; height: 54px; margin: 0; transform: translateX(-50%); z-index: 2; pointer-events: none; }
.piece .hook svg { width: 100%; height: 100%; display: block; overflow: visible; }
.piece .hang { position: absolute; top: 62px; left: 0; right: 0; height: calc(100% - 74px); display: flex; justify-content: center; transform-origin: 50% 0; transition: transform .7s var(--ease); }
.piece .hang img { height: 100%; width: auto; max-width: 100%; object-fit: contain; object-position: top center; filter: drop-shadow(0 24px 22px rgba(28,29,32,.22)); user-select: none; -webkit-user-drag: none; pointer-events: none; transition: filter .6s var(--ease); }
.piece.is-hover .hang { transform: translateY(-12px) scale(1.04); }
.piece.is-hover .hang img { filter: drop-shadow(0 42px 34px rgba(28,29,32,.3)); }
.rail-track.has-hover .piece:not(.is-hover) { opacity: .5; }
.piece.is-press .hang { transform: translateY(-2px) scale(.96); transition-duration: .18s; }
.piece .badge { position: absolute; top: 76px; inset-inline-end: 6%; z-index: 3; pointer-events: none; }
.piece.is-out { opacity: .5; }
.rail-tag { position: absolute; z-index: 6; left: 0; top: 0; pointer-events: none; background: var(--ink); color: #fff; font-size: 12.5px; padding: 8px 14px; border-radius: 10px; white-space: nowrap; opacity: 0; transform: translate(-50%, 8px); transition: opacity .2s, transform .3s var(--ease); }
.rail-tag b { font-weight: 500; }
.rail-tag span { color: var(--acc); margin-inline-start: 8px; font-family: var(--f-mono); font-size: 11.5px; }
.rail-tag.is-on { opacity: 1; transform: translate(-50%, 0); }
.rail-card { position: absolute; z-index: 5; bottom: clamp(18px, 3vw, 40px); inset-inline-end: var(--gut); width: 284px; background: rgba(255,255,255,.8); backdrop-filter: blur(20px) saturate(1.2); -webkit-backdrop-filter: blur(20px) saturate(1.2); border-radius: 12px; padding: 16px; border: 1px solid rgba(28,29,32,.09); transition: opacity .5s, filter .5s; }
.rail-card.is-swap > * { animation: cardSwap .45s var(--ease) both; }
@keyframes cardSwap { from { opacity: 0; transform: translateY(5px); } }
.rail-card .rc-top { display: flex; justify-content: space-between; align-items: center; font-family: var(--f-mono); font-size: 11px; color: var(--mut); letter-spacing: .04em; padding-bottom: 12px; border-bottom: 1px solid var(--line-2); }
[data-c-idx] { direction: ltr; unicode-bidi: isolate; }
.rail-card .rc-top button { width: 28px; height: 28px; border-radius: 8px; border: 1px solid var(--line); background: rgba(255,255,255,.6); cursor: pointer; color: var(--ink); font-size: 14px; display: grid; place-items: center; transition: background .2s, border-color .2s; }
.rail-card .rc-top button:hover { background: #fff; border-color: var(--ink); }
.rail-card h4 { font-size: 16.5px; margin: 12px 0 2px; font-weight: 700; }
.rail-card .sub { font-size: 13px; color: var(--mut); display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.rail-card .sub b { color: var(--ink); font-weight: 600; white-space: nowrap; font-size: 14px; }
.rail-card .lbl { margin: 14px 0 8px; display: block; }
.rail-card .sizes { gap: 5px; }
.rail-card .sizes button { min-width: 0; flex: 1; height: 32px; border-radius: 7px; background: rgba(255,255,255,.7); font-size: 12px; }
.rail-card .add-btn { margin-top: 12px; height: 44px; border-radius: 10px; font-size: 13.5px; padding: 0 14px; }
.rail-card .add-btn .p { padding-inline-start: 12px; border-inline-start: 1px solid rgba(255,255,255,.22); }
.sizes { display: flex; gap: 6px; flex-wrap: wrap; }
.sizes button { min-width: 40px; height: 34px; padding: 0 10px; border-radius: 8px; border: 1px solid var(--line); background: #fff; font-size: 12.5px; font-weight: 500; cursor: pointer; transition: all .2s; font-family: var(--f-mono); }
.sizes button:hover { border-color: var(--ink); }
.sizes button.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.sizes button:disabled { opacity: .35; text-decoration: line-through; cursor: not-allowed; }
.swatches { display: flex; gap: 8px; flex-wrap: wrap; }
.swatches button { width: 28px; height: 28px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); cursor: pointer; transition: box-shadow .2s, transform .2s; }
.swatches button.is-on { box-shadow: 0 0 0 2px var(--ink); transform: scale(1.08); }
.add-btn { margin-top: 14px; width: 100%; height: 48px; border-radius: 12px; background: var(--ink); color: #fff; border: 0; display: flex; align-items: center; gap: 10px; padding: 0 18px; font-weight: 500; font-size: 14px; cursor: pointer; transition: background .25s; }
.add-btn:hover { background: #000; }
.add-btn .p { margin-inline-start: auto; font-weight: 500; font-family: var(--f-mono); font-size: 13px; }
.add-btn:disabled { background: var(--wall-2); color: var(--mut); cursor: not-allowed; }
.rail-hint { position: relative; z-index: 3; display: flex; justify-content: space-between; align-items: center; gap: 14px; padding-block: 12px 26px; transition: opacity .5s; font-size: 13px; color: var(--mut); }
.rail-hint span { display: inline-flex; align-items: center; gap: 8px; }
/* the open piece */
.rail-sec.is-open .piece { filter: blur(8px); opacity: .3; }
.rail-sec.is-open .rail-card, .rail-sec.is-open .rail-top, .rail-sec.is-open .rail-hint { opacity: .12; filter: blur(4px); pointer-events: none; }
.rail-detail { position: fixed; inset: 0; z-index: 95; display: grid; place-items: center; }
.rail-detail .fog { position: absolute; inset: 0; background: rgba(238,240,235,.62); backdrop-filter: blur(22px) saturate(1.15); -webkit-backdrop-filter: blur(22px) saturate(1.15); animation: fogIn .55s var(--ease); }
.rail-detail.is-closing .fog { animation: fogOut .45s var(--ease) forwards; }
.rail-detail.is-closing .rd-info, .rail-detail.is-closing .rd-close, .rail-detail.is-closing .rd-nav { opacity: 0; transition: opacity .25s; }
@keyframes fogIn { from { opacity: 0; } }
@keyframes fogOut { to { opacity: 0; } }
.rd-box { position: relative; width: min(1180px, calc(100% - 2 * var(--gut))); height: min(760px, calc(100vh - 60px)); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 430px); gap: clamp(20px, 4vw, 60px); align-items: center; }
.rd-close { position: absolute; top: 0; inset-inline-end: 0; z-index: 3; display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 999px; background: rgba(255,255,255,.75); border: 1px solid var(--line); font-size: 13px; cursor: pointer; }
.rd-close:hover { background: #fff; border-color: var(--ink); }
.rd-piece { position: relative; height: 100%; display: flex; align-items: center; justify-content: center; cursor: grab; touch-action: pan-y; user-select: none; }
.rd-piece.is-drag { cursor: grabbing; }
.rd-hang { position: relative; height: calc(100% - 70px); max-width: 100%; aspect-ratio: 400 / 760; margin-top: 50px; perspective: 1400px; transform-origin: 50% 0; }
.rd-flip { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .8s var(--ease); }
.rd-flip.no-anim { transition: none; }
.rd-flip img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: top center; backface-visibility: hidden; -webkit-backface-visibility: hidden; filter: drop-shadow(0 44px 44px rgba(28,29,32,.26)); pointer-events: none; -webkit-user-drag: none; }
.rd-flip img.back { transform: rotateY(180deg); }
.rd-flip img.back.mirror { transform: rotateY(180deg) scaleX(-1); filter: drop-shadow(0 44px 44px rgba(28,29,32,.26)) brightness(.88); }
/* the hook: centred on the garment, its tip resting on the neck */
.rd-hook { position: absolute; top: -46px; left: 50%; width: 36px; height: 58px; transform: translateX(-50%); z-index: 2; pointer-events: none; }
.rd-hook svg { width: 100%; height: 100%; display: block; }
.rd-info { position: relative; z-index: 2; animation: infoIn .75s .15s var(--ease) both; }
@keyframes infoIn { from { opacity: 0; transform: translateY(16px); } }
.rd-info h2 { font-size: clamp(30px, 3.6vw, 48px); margin: 10px 0 6px; }
.rd-info .price { display: flex; align-items: baseline; gap: 12px; font-size: 22px; font-weight: 600; }
.rd-info .price s { font-size: 16px; color: var(--mut-2); font-weight: 400; }
.rd-info p.desc { color: var(--ink-3); margin: 14px 0 20px; font-size: 15px; }
.fb-tabs { display: flex; gap: 22px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.fb-tabs button { border: 0; background: none; padding: 0 0 10px; font-size: 14px; color: var(--mut); cursor: pointer; position: relative; }
.fb-tabs button.is-on { color: var(--ink); font-weight: 600; }
.fb-tabs button.is-on::after { content: ""; position: absolute; inset-inline: 0; bottom: -1px; height: 1.5px; background: var(--ink); }
.rd-info .opt { margin-bottom: 14px; }
.rd-info .opt .lbl { display: flex; justify-content: space-between; margin-bottom: 8px; }
.rd-info .add-btn { height: 54px; font-size: 15px; }
.rd-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; gap: 10px; font-size: 14px; }
.rd-nav { position: absolute; bottom: 0; inset-inline-start: 0; display: flex; align-items: center; gap: 10px; z-index: 3; font-size: 13px; color: var(--mut); }

/* ── Cards ───────────────────────────── */
.grid { display: grid; gap: clamp(14px, 2vw, 26px); }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.panel { background: rgba(255,255,255,.55); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(18px, 2.6vw, 28px); }
.panel + .panel { margin-top: 18px; }
.panel > h3 { font-size: 18px; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.panel > h3 i { font-size: 19px; color: var(--mut); }

/* product cards: the garment on the wall, swinging on hover */
.pcard { display: block; position: relative; }
.pcard .ph { position: relative; aspect-ratio: 3 / 4.1; border-radius: var(--r-lg); overflow: hidden; display: flex; justify-content: center; align-items: flex-start; padding-top: 30px;
  background: radial-gradient(120% 80% at 70% 0%, #fff 0%, rgba(255,255,255,0) 60%), linear-gradient(180deg, #f5f6f3, #e7eae4); }
.pcard .ph::before { content: ""; position: absolute; top: 14px; left: 50%; width: 26px; height: 6px; margin-left: -13px; border-radius: 3px; background: linear-gradient(180deg, #c4c8c0, #8d918a); z-index: 1; }
.pcard .ph img { height: 88%; width: auto; max-width: 92%; object-fit: contain; object-position: top center; filter: drop-shadow(0 22px 20px rgba(28,29,32,.2)); transform-origin: 50% 0; transition: transform .8s var(--ease), opacity .5s; }
.pcard:hover .ph img { animation: swing 1.7s var(--ease) forwards; }
@keyframes swing { 0% { transform: rotate(0); } 16% { transform: rotate(-4deg) translateY(-6px); } 38% { transform: rotate(3deg) translateY(-6px); } 60% { transform: rotate(-1.6deg) translateY(-6px); } 80% { transform: rotate(.6deg) translateY(-6px); } 100% { transform: translateY(-6px); } }
.pcard .ph .img-b { position: absolute; top: 30px; opacity: 0; }
.pcard:hover .ph .img-b { opacity: 1; }
.pcard:hover .ph .img-a.has-b { opacity: 0; }
.pcard .ph .tags { position: absolute; top: 14px; inset-inline-start: 14px; display: flex; gap: 6px; z-index: 2; }
.pcard .ph .quick { position: absolute; bottom: 14px; inset-inline: 14px; height: 44px; border-radius: 999px; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 13.5px; opacity: 0; transform: translateY(10px); transition: all .45s var(--ease); z-index: 2; }
.pcard:hover .ph .quick { opacity: 1; transform: none; }
.pcard .info { padding: 14px 4px 0; display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.pcard .info b { display: block; font-size: 15.5px; font-weight: 600; line-height: 1.4; }
.pcard .info span { font-size: 13px; color: var(--mut); }
.pcard .info .price { font-weight: 600; white-space: nowrap; text-align: end; font-size: 15px; color: var(--ink); }
.pcard .info .price s { display: block; font-size: 12.5px; color: var(--mut-2); font-weight: 400; }
.pcard .dots { display: flex; gap: 5px; margin-top: 7px; }
.pcard .dots i { width: 11px; height: 11px; border-radius: 50%; box-shadow: 0 0 0 1px var(--line); }

/* course cards */
.ccard { display: flex; flex-direction: column; position: relative; }
.ccard .cv { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; background: var(--wall-2); }
.ccard .cv img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.ccard:hover .cv img { transform: scale(1.05); }
.ccard .cv .tags { position: absolute; top: 14px; inset-inline-start: 14px; display: flex; gap: 6px; }
.ccard .cv .no { position: absolute; bottom: 14px; inset-inline-start: 16px; font-family: var(--f-mono); font-size: 12px; color: rgba(255,255,255,.9); }
.ccard .bd { padding: 16px 4px 0; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.ccard .meta { display: flex; gap: 14px; font-size: 13px; color: var(--mut); flex-wrap: wrap; }
.ccard h3 { font-size: 19px; line-height: 1.45; }
html[lang=en] .ccard h3 { line-height: 1.2; }
.ccard .ft { display: flex; justify-content: space-between; align-items: center; padding-top: 12px; border-top: 1px solid var(--line); margin-top: auto; }
.ccard .bd p { margin: 0 0 8px; font-size: 14px; color: var(--mut); }
.ccard .price { font-weight: 600; }
.ccard .price s { color: var(--mut-2); font-weight: 400; font-size: 13px; margin-inline-start: 6px; }
.ccard .go { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: background .3s, color .3s, border-color .3s; }
.ccard:hover .go { background: var(--ink); color: #fff; border-color: var(--ink); }

/* editorial course rows (home) */
.rows { border-top: 1px solid var(--line); }
.crow { position: relative; display: grid; grid-template-columns: 70px minmax(0, 1fr) auto auto; gap: 24px; align-items: center; padding: 24px 6px; border-bottom: 1px solid var(--line); transition: background .35s, padding .35s var(--ease); }
.crow:hover { background: rgba(255,255,255,.55); padding-inline: 18px; }
.crow .n { font-family: var(--f-mono); font-size: 13px; color: var(--mut); }
.crow h3 { font-size: clamp(19px, 2vw, 25px); }
.crow .meta { font-size: 13.5px; color: var(--mut); margin-top: 4px; }
.crow .price { font-weight: 600; white-space: nowrap; }
.crow .go { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: all .3s; }
.crow:hover .go { background: var(--ink); color: #fff; border-color: var(--ink); }
.hover-preview { position: fixed; z-index: 50; left: 0; top: 0; width: 280px; aspect-ratio: 4/3; border-radius: 18px; overflow: hidden; pointer-events: none; opacity: 0; transform: translate(-50%, -50%) scale(.85) rotate(-3deg); transition: opacity .3s, transform .45s var(--ease); box-shadow: var(--sh); }
.hover-preview.is-on { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(-3deg); }
.hover-preview img { width: 100%; height: 100%; object-fit: cover; }

/* statement */
.statement { font-family: var(--f-display); font-weight: 700; font-size: clamp(28px, 4vw, 54px); line-height: 1.4; max-width: 1120px; }
html[lang=en] .statement { line-height: 1.12; letter-spacing: -.028em; }
.statement em { font-style: normal; color: var(--mut-2); }
.stats { display: flex; gap: clamp(26px, 5vw, 70px); flex-wrap: wrap; margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--line); }
.stats b { display: block; font-family: var(--f-mono); font-size: clamp(28px, 3vw, 40px); font-weight: 500; line-height: 1; }
.stats span { display: block; margin-top: 10px; }

/* split block: big image + text */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: center; }
.split .pic { position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4/5; background: var(--wall-2); box-shadow: var(--sh-sm); }
.split .pic img { width: 100%; height: 100%; object-fit: cover; }
.split .pic .cap { position: absolute; inset-inline: 16px; bottom: 16px; background: rgba(255,255,255,.88); backdrop-filter: blur(10px); border-radius: 16px; padding: 12px 16px; font-size: 13.5px; display: flex; justify-content: space-between; gap: 12px; }
.split h2 { font-size: clamp(30px, 4vw, 52px); margin: 12px 0 18px; }
.split > div > .lbl + h2 { margin-top: 12px; }
.split p { color: var(--ink-3); font-size: 16.5px; }
.ticks { list-style: none; margin: 22px 0 28px; padding: 0; border-top: 1px solid var(--line); }
.ticks li { display: flex; gap: 14px; align-items: baseline; padding: 13px 0; border-bottom: 1px solid var(--line); }
.ticks li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); flex: none; transform: translateY(-2px); }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 18px); grid-auto-flow: dense; }
.gallery--feature .gi:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.gallery--feature .gi:nth-child(5n + 1):not(:first-child) { grid-row: auto; aspect-ratio: 3/4; }
.gallery .gi { position: relative; display: block; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 3/4; background: var(--wall-2); cursor: zoom-in; }
.gallery .gi:nth-child(5n + 1) { grid-row: span 2; aspect-ratio: auto; }
.gallery .gi img, .gallery .gi video { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.gallery .gi:hover img { transform: scale(1.05); }
.gallery .gi .cap { position: absolute; inset-inline: 12px; bottom: 12px; display: flex; justify-content: space-between; align-items: center; gap: 10px; background: rgba(255,255,255,.88); backdrop-filter: blur(8px); border-radius: 14px; padding: 9px 13px; font-size: 13px; opacity: 0; transform: translateY(10px); transition: all .45s var(--ease); }
.gallery .gi .cap span { color: var(--mut); font-size: 12px; }
.gallery .gi:hover .cap { opacity: 1; transform: none; }
.gallery .gi .vid { position: absolute; top: 12px; inset-inline-end: 12px; width: 36px; height: 36px; border-radius: 50%; background: rgba(28,29,32,.8); color: #fff; display: grid; place-items: center; }
.filters { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 26px; }
.filters a, .filters button { height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: transparent; font-size: 13.5px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: all .25s; }
.filters a small, .filters button small { font-family: var(--f-mono); color: var(--mut); font-size: 11px; }
.filters .is-on, .filters a:hover, .filters button:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.filters .is-on small, .filters a:hover small, .filters button:hover small { color: rgba(255,255,255,.6); }

/* partners */
.logos { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.logos > * { height: 110px; display: grid; place-items: center; border-inline-start: 1px solid var(--line); padding: 18px; filter: grayscale(1); opacity: .6; transition: opacity .3s, filter .3s, background .3s; }
.logos > *:first-child { border-inline-start: 0; }
.logos > *:hover { opacity: 1; filter: none; background: rgba(255,255,255,.5); }
.logos img { max-height: 50px; width: auto; max-width: 100%; }

/* faq */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-size: clamp(16px, 1.5vw, 19px); font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; flex: none; transition: transform .4s var(--ease), background .3s; font-size: 15px; }
.faq details[open] summary i { transform: rotate(45deg); background: var(--ink); color: #fff; border-color: var(--ink); }
.faq .ans { padding: 0 0 24px; color: var(--ink-3); max-width: 780px; }
.faq-grid { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: start; }
.faq-grid h2 { font-size: clamp(30px, 4vw, 52px); margin: 12px 0 14px; }

/* newsletter line */
.news-line { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: end; padding: clamp(28px, 4vw, 50px) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.news-line h2 { font-size: clamp(26px, 3.4vw, 44px); margin-top: 10px; }
.news-line p { color: var(--mut); margin: 10px 0 0; }
.news-form { display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--ink); padding-bottom: 8px; }
.news-form input { flex: 1; border: 0; outline: none; background: transparent; height: 46px; font-size: 16px; min-width: 0; }

/* page head */
.phead { padding: clamp(36px, 5vw, 76px) 0 clamp(24px, 3vw, 40px); }
.phead h1 { font-size: clamp(36px, 5.4vw, 74px); line-height: 1.16; margin: 14px 0 14px; max-width: 980px; }
html[lang=en] .phead h1 { line-height: 1; }
.phead p { font-size: 17px; color: var(--ink-3); max-width: 640px; margin: 0; }
.phead .row { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--mut); flex-wrap: wrap; }
.crumbs a:hover { color: var(--ink); }
.crumbs i { font-size: 12px; }

/* hero video (courses) */
.film { position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 21/8; background: var(--ink); }
.film video, .film > img { width: 100%; height: 100%; object-fit: cover; }
.film .ov { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20,21,23,.78) 0%, rgba(20,21,23,.05) 62%); display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(22px, 4vw, 48px); color: #fff; }
.film .ov h2 { font-size: clamp(26px, 3.6vw, 48px); margin: 8px 0; max-width: 760px; }
.film .ov .lbl { color: rgba(255,255,255,.75); }
.film .ov p { color: rgba(255,255,255,.82); max-width: 600px; margin: 0; }
.film .snd { position: absolute; top: 18px; inset-inline-end: 18px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.18); color: #fff; backdrop-filter: blur(8px); cursor: pointer; display: grid; place-items: center; font-size: 19px; z-index: 2; }
.facts { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 18px; font-size: 14px; color: rgba(255,255,255,.85); }
.facts span { display: inline-flex; gap: 8px; align-items: center; }

/* course page */
.course-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: clamp(24px, 4vw, 60px); align-items: start; }
.course-top h1 { font-size: clamp(32px, 4.4vw, 60px); margin: 14px 0 14px; line-height: 1.2; }
html[lang=en] .course-top h1 { line-height: 1.04; }
.course-top .lead { font-size: 17px; color: var(--ink-3); max-width: 680px; }
.cfacts { display: flex; flex-wrap: wrap; gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 26px 0 0; }
.cfacts div { flex: 1 1 120px; padding: 16px 0; }
.cfacts div + div { border-inline-start: 1px solid var(--line); padding-inline-start: 18px; }
.cfacts b { display: block; font-size: 16px; font-weight: 600; margin-top: 2px; }
.buy { position: sticky; top: calc(var(--hh) + 16px); background: rgba(255,255,255,.72); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 12px; box-shadow: none; }
.buy .cv { position: relative; aspect-ratio: 16/10; border-radius: 16px; overflow: hidden; background: var(--ink); cursor: pointer; }
.buy .cv img { width: 100%; height: 100%; object-fit: cover; }
.buy .cv .pl { position: absolute; inset: 0; display: grid; place-items: center; }
.buy .cv .pl span { width: 64px; height: 64px; border-radius: 50%; background: rgba(255,255,255,.92); display: grid; place-items: center; font-size: 22px; transition: transform .4s var(--ease); }
.buy .cv:hover .pl span { transform: scale(1.08); }
.buy .bd { padding: 18px 10px 8px; }
.buy .price { font-size: 30px; font-weight: 700; display: flex; align-items: baseline; gap: 10px; font-family: var(--f-display); }
.buy .price s { font-size: 17px; color: var(--mut-2); font-weight: 400; }
.buy ul { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-direction: column; font-size: 14px; border-top: 1px solid var(--line); }
.buy ul li { display: flex; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line-2); }
.buy ul i { color: var(--mut); font-size: 17px; }
.outcomes { counter-reset: o; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.outcomes div { counter-increment: o; display: flex; gap: 14px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.outcomes div::before { content: counter(o, decimal-leading-zero); font-family: var(--f-mono); font-size: 12px; color: var(--mut); }
.outcomes div:nth-child(odd) { padding-inline-end: 20px; }
.curr { border-top: 1px solid var(--line); }
.curr details { border-bottom: 1px solid var(--line); }
.curr summary { list-style: none; display: flex; align-items: center; gap: 14px; padding: 18px 0; cursor: pointer; font-weight: 600; }
.curr summary::-webkit-details-marker { display: none; }
.curr summary .u { font-family: var(--f-mono); font-size: 12px; color: var(--mut); font-weight: 400; }
.curr summary .m { margin-inline-start: auto; font-size: 13px; color: var(--mut); font-weight: 400; }
.curr summary i { transition: transform .3s; }
.curr details[open] summary i { transform: rotate(180deg); }
.curr .l { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line-2); font-size: 14.5px; }
.curr .l i { color: var(--mut); }
.curr .l .d { margin-inline-start: auto; font-family: var(--f-mono); font-size: 12px; color: var(--mut); }
.blk-h { font-size: clamp(22px, 2.4vw, 30px); margin: 54px 0 18px; }
.trainer { display: flex; gap: 18px; align-items: center; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trainer .av { width: 72px; height: 72px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 24px; font-weight: 700; overflow: hidden; flex: none; }
.trainer .av img { width: 100%; height: 100%; object-fit: cover; }
.prose { font-size: 16px; color: var(--ink-3); }
.prose h2, .prose h3 { color: var(--ink); margin: 1.3em 0 .5em; font-size: 20px; }
.prose ul, .prose ol { padding-inline-start: 20px; }
.prose li { margin-bottom: 6px; }
.prose a { text-decoration: underline; text-underline-offset: 4px; }

/* shop / product */
.shop-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 40px; align-items: start; }
.side-cats { position: sticky; top: calc(var(--hh) + 20px); display: flex; flex-direction: column; }
.side-cats a { display: flex; justify-content: space-between; padding: 9px 0; font-size: 14.5px; color: var(--ink-3); border-bottom: 1px solid var(--line-2); transition: color .2s, padding .3s var(--ease); }
.side-cats a small { font-family: var(--f-mono); color: var(--mut-2); font-size: 11.5px; }
.side-cats a:hover { color: var(--ink); padding-inline-start: 6px; }
.side-cats a.is-on { color: var(--ink); font-weight: 600; }
.side-cats a.sub { padding-inline-start: 14px; font-size: 13.5px; }
.side-cats h4 { font-size: 12.5px; color: var(--mut); margin: 0 0 4px; font-weight: 500; }
html[lang=en] .side-cats h4 { font-family: var(--f-mono); text-transform: uppercase; letter-spacing: .07em; font-size: 11px; font-weight: 400; }
.toolbar { display: flex; gap: 10px; margin-bottom: 24px; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.toolbar .srch { position: relative; flex: 1; max-width: 360px; min-width: 200px; }
.toolbar .srch i { position: absolute; inset-inline-start: 16px; top: 50%; transform: translateY(-50%); color: var(--mut); }
.toolbar .srch .in { padding-inline-start: 44px; height: 46px; }
.toolbar .sel { height: 46px; width: auto; min-width: 170px; }
.prod { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(24px, 5vw, 80px); align-items: start; }
.prod .info h1 { font-size: clamp(32px, 4vw, 54px); margin: 12px 0 10px; }
.prod .info .price { font-size: 24px; font-weight: 600; display: flex; gap: 12px; align-items: baseline; }
.prod .info .price s { font-size: 17px; color: var(--mut-2); font-weight: 400; }
.stage { position: relative; border-radius: var(--r-xl); aspect-ratio: 4/5; overflow: hidden; display: flex; align-items: flex-start; justify-content: center; padding-top: 40px; cursor: zoom-in;
  background: radial-gradient(110% 70% at 70% 0%, #fff 0%, rgba(255,255,255,0) 60%), linear-gradient(180deg, #f5f6f3, #e4e7e1); }
.stage::before { content: ""; position: absolute; inset: -20%; background: linear-gradient(112deg, transparent 40%, rgba(255,255,255,.7) 46%, transparent 54%); filter: blur(30px); }
.stage .peg { position: absolute; top: 16px; left: 50%; width: 32px; height: 8px; margin-left: -16px; border-radius: 4px; background: linear-gradient(180deg, #c4c8c0, #8d918a); z-index: 1; }
.stage img { position: relative; height: 90%; width: auto; max-width: 92%; object-fit: contain; object-position: top center; filter: drop-shadow(0 34px 30px rgba(28,29,32,.24)); transform-origin: 50% 0; animation: settle 1.6s var(--ease); }
.stage img.photo { height: 100%; width: 100%; max-width: none; object-fit: cover; margin-top: -40px; filter: none; animation: none; }
@keyframes settle { 0% { transform: rotate(-3deg) translateY(-10px); opacity: 0; } 40% { opacity: 1; } 60% { transform: rotate(1.5deg); } 100% { transform: none; } }
.thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.thumbs button { width: 74px; height: 94px; border-radius: 14px; border: 1px solid var(--line); background: #f3f4f1; padding: 6px; cursor: pointer; transition: border-color .2s; }
.thumbs button.is-on, .thumbs button:hover { border-color: var(--ink); }
.thumbs img { width: 100%; height: 100%; object-fit: contain; }
.spec { width: 100%; border-collapse: collapse; font-size: 14px; }
.spec td { padding: 11px 0; border-bottom: 1px solid var(--line-2); }
.spec td:first-child { color: var(--mut); width: 40%; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 12px; height: 50px; background: rgba(255,255,255,.7); flex: none; }
.qty button { width: 42px; height: 100%; border: 0; background: none; cursor: pointer; font-size: 17px; }
.qty input { width: 36px; border: 0; text-align: center; font-weight: 500; outline: none; background: none; font-family: var(--f-mono); }

/* forms */
.field { display: flex; flex-direction: column; gap: 8px; }
.field > label { font-size: 13.5px; font-weight: 500; color: var(--ink-3); }
.field .hint { font-size: 12.5px; color: var(--mut); }
.in, .sel, .ta { width: 100%; height: 52px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255,255,255,.85); padding: 0 16px; outline: none; transition: border-color .2s, box-shadow .2s, background .2s; font-size: 15px; }
.ta { height: auto; min-height: 130px; padding: 14px 16px; resize: vertical; line-height: 1.7; }
.sel { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231c1d20' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: left 16px center; padding-left: 38px; }
html[lang=en] .sel { background-position: right 16px center; padding-left: 16px; padding-right: 38px; }
.in:hover, .sel:hover, .ta:hover { border-color: rgba(28,29,32,.25); }
.in:focus, .sel:focus, .ta:focus { border-color: var(--ink); background: #fff; box-shadow: 0 0 0 4px rgba(28,29,32,.06); }
.in.ltr-in { direction: ltr; text-align: left; }
.fgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.fgrid .full { grid-column: 1 / -1; }
.err { color: var(--red); font-size: 13px; }
.check { display: inline-flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: 14px; line-height: 1.6; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--ink); flex: none; }
.check a { text-decoration: underline; text-underline-offset: 3px; }
.pw { position: relative; }
.pw .in { padding-inline-end: 50px; }
.pw button { position: absolute; inset-inline-end: 6px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; background: none; cursor: pointer; color: var(--mut); }
.phone-in { display: flex; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.85); overflow: hidden; direction: ltr; }
.phone-in:focus-within { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(28,29,32,.06); }
.phone-in span { display: grid; place-items: center; padding: 0 14px; font-family: var(--f-mono); font-size: 14px; border-inline-end: 1px solid var(--line); min-width: 70px; color: var(--ink-3); }
.phone-in input { border: 0; outline: none; flex: 1; height: 50px; padding: 0 16px; background: none; min-width: 0; }
.alert { display: flex; gap: 12px; padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.85); border: 1px solid var(--line); font-size: 14.5px; align-items: flex-start; }
.alert i { font-size: 19px; flex: none; margin-top: 2px; }
.alert--err { background: #fbeceb; border-color: #f0cdc8; color: #842a20; }
.alert--ok { background: #e9f4ed; border-color: #c9e3d3; color: #1f5a3b; }
.alert--warn { background: #fdf4dc; border-color: #f1dfac; color: #6d4709; }
.drop-proof { position: relative; display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 14px; border: 1px dashed rgba(28,29,32,.25); background: rgba(255,255,255,.6); cursor: pointer; transition: border-color .2s; }
.drop-proof:hover { border-color: var(--ink); }
.drop-proof input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop-proof i { font-size: 26px; color: var(--mut); }
.drop-proof b { display: block; font-size: 14.5px; font-weight: 600; }
.drop-proof span { font-size: 12.5px; color: var(--mut); }

/* auth */
.auth { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 60px); min-height: calc(100vh - var(--hh)); padding: 0 var(--gut) var(--gut); max-width: 1500px; margin: 0 auto; }
.auth-form { display: flex; flex-direction: column; justify-content: center; padding: 30px 0 50px; max-width: 470px; width: 100%; justify-self: center; }
.auth-form h1 { font-size: clamp(32px, 3.8vw, 50px); margin: 12px 0 10px; }
.auth-form > p { color: var(--mut); margin-bottom: 30px; }
.auth-form form { display: flex; flex-direction: column; gap: 16px; }
.auth-form .alt { margin-top: 22px; font-size: 14.5px; color: var(--mut); }
.auth-form .alt a { color: var(--ink); font-weight: 600; }
.auth-form .row2 { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 14px; }
.look { position: relative; border-radius: var(--r-xl); overflow: hidden; min-height: 560px; display: flex; flex-direction: column; justify-content: space-between; padding: 26px 30px;
  background: radial-gradient(110% 70% at 70% 0%, #fff 0%, rgba(255,255,255,0) 60%), linear-gradient(180deg, #f3f4f1, #dfe3dc); box-shadow: inset 0 0 0 1px rgba(255,255,255,.8); }
.look::before { content: ""; position: absolute; inset: -20%; background: linear-gradient(112deg, transparent 38%, rgba(255,255,255,.75) 45%, transparent 52%, transparent 62%, rgba(255,255,255,.6) 66%, transparent 72%); filter: blur(34px); }
.look.has-photo { background: var(--ink); }
.look.has-photo::before { display: none; }
.look .photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.look.has-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20,21,23,.6), rgba(20,21,23,0) 50%); }
.look .rodline { position: absolute; top: 12%; inset-inline: 10%; height: 7px; border-radius: 7px; background: linear-gradient(180deg, #f1f2ef 0%, #c4c8c0 42%, #8d918a 58%, #d7dad3 100%); box-shadow: 0 8px 14px -8px rgba(0,0,0,.45); }
.look .hangers { position: absolute; top: calc(12% - 10px); inset-inline: 6%; bottom: 90px; display: flex; justify-content: center; gap: 0; }
.look .hangers figure { margin: 0; position: relative; flex: 0 1 34%; display: flex; justify-content: center; transform-origin: 50% 0; animation: sway 7s ease-in-out infinite; }
.look .hangers figure:nth-child(2) { animation-delay: -2.4s; flex-basis: 40%; z-index: 2; }
.look .hangers figure:nth-child(3) { animation-delay: -4.6s; }
.look .hangers figure .hk { position: absolute; top: 0; left: 50%; width: 26px; height: 40px; transform: translateX(-50%); }
.look .hangers figure img { margin-top: 34px; height: calc(100% - 34px); width: auto; max-width: 100%; object-fit: contain; object-position: top center; filter: drop-shadow(0 30px 26px rgba(28,29,32,.24)); }
.look .hangers figure:not(:nth-child(2)) img { height: calc(90% - 34px); opacity: .9; }
@keyframes sway { 0%, 100% { transform: rotate(-1.1deg); } 50% { transform: rotate(1.1deg); } }
.look .cap { position: relative; z-index: 2; display: flex; justify-content: space-between; gap: 10px; align-items: flex-end; margin-top: auto; }
.look .cap b { display: block; font-family: var(--f-display); font-size: clamp(20px, 2vw, 26px); max-width: 380px; line-height: 1.4; }
html[lang=en] .look .cap b { line-height: 1.15; letter-spacing: -.02em; }
.look .top { position: relative; z-index: 2; display: flex; justify-content: space-between; }
.look.has-photo .cap, .look.has-photo .lbl { color: #fff; }

/* account */
.acc-cover { height: clamp(140px, 18vw, 220px); border-radius: var(--r-xl); background-size: cover; background-position: center; background-color: var(--wall-2); }
.acc-head.on-cover { margin-top: -46px; padding-inline: 20px; }
.acc-head.on-cover .av { box-shadow: 0 0 0 5px var(--wall); }
.acc-head { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; padding: clamp(20px, 3vw, 30px) 0; border-bottom: 1px solid var(--line); }
.acc-head .av { width: 84px; height: 84px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-family: var(--f-display); font-size: 28px; font-weight: 700; overflow: hidden; flex: none; }
.acc-head .av img { width: 100%; height: 100%; object-fit: cover; }
.acc-head h1 { font-size: clamp(26px, 3vw, 38px); }
.acc-head .stats2 { margin-inline-start: auto; display: flex; gap: 30px; }
.acc-head .stats2 b { display: block; font-family: var(--f-mono); font-size: 26px; font-weight: 500; line-height: 1; margin-bottom: 6px; }
.acc-tabs { display: flex; gap: 4px; margin: 14px 0 28px; overflow-x: auto; scrollbar-width: none; }
.acc-tabs::-webkit-scrollbar { display: none; }
.acc-tabs a { height: 42px; padding: 0 16px; border-radius: 999px; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; white-space: nowrap; color: var(--ink-3); flex: none; }
.acc-tabs a:hover { background: rgba(255,255,255,.6); }
.acc-tabs a.is-on { background: var(--ink); color: #fff; }
.acc-tabs a .b { min-width: 20px; height: 20px; border-radius: 10px; background: rgba(28,29,32,.08); font-size: 11px; display: grid; place-items: center; padding: 0 6px; font-family: var(--f-mono); }
.acc-tabs a.is-on .b { background: rgba(255,255,255,.18); }
.mycourse { display: grid; grid-template-columns: 190px minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 12px; border-radius: var(--r-lg); background: rgba(255,255,255,.55); border: 1px solid var(--line); }
.mycourse + .mycourse { margin-top: 12px; }
.mycourse .cv { aspect-ratio: 3/2; border-radius: 14px; overflow: hidden; background: var(--wall-2); }
.mycourse .cv img { width: 100%; height: 100%; object-fit: cover; }
.mycourse h3 { font-size: 18px; margin-bottom: 6px; }
.prog { height: 4px; border-radius: 4px; background: rgba(28,29,32,.08); overflow: hidden; }
.prog i { display: block; height: 100%; background: var(--ink); border-radius: 4px; }
.otable { width: 100%; border-collapse: collapse; }
.otable th { text-align: start; font-size: 12.5px; color: var(--mut); font-weight: 500; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.otable td { padding: 14px 12px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.cert-thumb { border-radius: 14px; overflow: hidden; box-shadow: var(--sh-sm); background: #fff; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.photo-grid .ph { position: relative; aspect-ratio: 1; border-radius: 16px; overflow: hidden; background: var(--wall-2); }
.photo-grid .ph img { width: 100%; height: 100%; object-fit: cover; }
.photo-grid .ph button { position: absolute; top: 8px; inset-inline-end: 8px; width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgba(255,255,255,.95); color: var(--red); cursor: pointer; }
.photo-grid .add { display: grid; place-items: center; border: 1px dashed rgba(28,29,32,.25); background: rgba(255,255,255,.5); cursor: pointer; text-align: center; font-size: 13px; color: var(--mut); position: relative; }
.photo-grid .add input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }

/* checkout */
.co { display: grid; grid-template-columns: minmax(0, 1fr) 410px; gap: clamp(20px, 3vw, 40px); align-items: start; }
.summary { position: sticky; top: calc(var(--hh) + 20px); background: rgba(255,255,255,.72); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; box-shadow: none; }
.summary h3 { font-size: 18px; margin-bottom: 6px; }
.summary .it { display: flex; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line-2); }
.summary .it img { width: 56px; height: 72px; object-fit: contain; background: #f2f3f0; border-radius: 12px; padding: 4px; }
.summary .it b { display: block; font-size: 14.5px; font-weight: 600; }
.summary .it span { font-size: 12.5px; color: var(--mut); }
.summary .r2 { display: flex; justify-content: space-between; padding: 7px 0; font-size: 14.5px; }
.summary .tot { border-top: 1px solid var(--ink); margin-top: 8px; padding-top: 14px; font-size: 20px; font-weight: 700; }
.pm { display: block; cursor: pointer; position: relative; }
.pm + .pm { margin-top: 10px; }
.pm input { position: absolute; opacity: 0; }
.pm .box { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.75); transition: border-color .2s, box-shadow .2s; }
.pm input:checked + .box { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(28,29,32,.05); background: #fff; }
.pm .box .ic { width: 42px; height: 42px; border-radius: 12px; background: var(--wall); display: grid; place-items: center; font-size: 20px; flex: none; transition: background .2s, color .2s; }
.pm input:checked + .box .ic { background: var(--ink); color: #fff; }
.pm .box b { display: block; font-weight: 600; }
.pm .box span { font-size: 13px; color: var(--mut); }
.pm .det { display: none; margin-top: 10px; padding: 16px 18px; border-radius: 16px; background: rgba(255,255,255,.6); border: 1px dashed rgba(28,29,32,.2); font-size: 14px; cursor: default; }
.pm input:checked ~ .det { display: block; }
.pm .det dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 10px 0 0; }
.pm .det dt { color: var(--mut); }
.pm .det dd { margin: 0; font-weight: 500; direction: ltr; text-align: end; display: flex; align-items: center; gap: 8px; justify-content: flex-end; font-family: var(--f-mono); font-size: 13px; }
.copy { border: 0; background: var(--wall-2); border-radius: 8px; width: 28px; height: 28px; cursor: pointer; display: inline-grid; place-items: center; }
.coupon-row { display: flex; gap: 8px; }
.coupon-row .in { height: 46px; }
.steps { display: flex; gap: 10px; margin-bottom: 22px; font-size: 13px; color: var(--mut); flex-wrap: wrap; align-items: center; }
.steps span { display: inline-flex; align-items: center; gap: 8px; }
.steps span b { font-family: var(--f-mono); font-weight: 500; }
.steps span.is-on { color: var(--ink); }
.steps i { width: 24px; height: 1px; background: var(--line); }

/* bag drawer */
.drawer { position: fixed; inset: 0; z-index: 96; visibility: hidden; transition: visibility 0s .55s; }
.drawer.is-open { visibility: visible; transition: none; }
.drawer .bg { position: absolute; inset: 0; background: rgba(28,29,32,.25); opacity: 0; transition: opacity .45s; backdrop-filter: blur(4px); }
.drawer.is-open .bg { opacity: 1; }
.drawer .pn { position: absolute; inset-block: 0; left: 0; width: min(430px, 100%); background: var(--wall); display: flex; flex-direction: column; transform: translateX(-100%); transition: transform .55s var(--ease); box-shadow: var(--sh); }
html[lang=en] .drawer .pn { left: auto; right: 0; transform: translateX(100%); }
.drawer.is-open .pn { transform: none !important; }
.drawer .hd { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.drawer .hd h3 { font-size: 19px; }
.drawer .bd { flex: 1; overflow-y: auto; padding: 6px 22px; }
.drawer .ft { padding: 18px 22px 22px; border-top: 1px solid var(--line); background: rgba(255,255,255,.7); }
.bag-item { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line-2); }
.bag-item .im { width: 72px; height: 92px; border-radius: 14px; background: linear-gradient(180deg, #f5f6f3, #e6e9e3); display: grid; place-items: center; flex: none; overflow: hidden; }
.bag-item .im img { height: 88%; width: auto; }
.bag-item .tx { flex: 1; min-width: 0; }
.bag-item .tx b { display: block; font-size: 14.5px; font-weight: 600; }
.bag-item .tx span { font-size: 13px; color: var(--mut); }
.bag-item .tx .q { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; border: 1px solid var(--line); border-radius: 999px; height: 32px; padding: 0 4px; background: #fff; }
.bag-item .tx .q button { width: 24px; height: 24px; border: 0; background: none; cursor: pointer; border-radius: 50%; }
.bag-item .tx .q b { font-family: var(--f-mono); font-weight: 500; font-size: 13px; }
.bag-item .pr { font-weight: 600; text-align: end; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; font-size: 14px; }
.bag-item .pr button { border: 0; background: none; color: var(--mut); cursor: pointer; font-size: 12.5px; padding: 0; }
.bag-item .pr button:hover { color: var(--red); }
.empty { text-align: center; padding: 60px 10px; color: var(--mut); }
.empty b { display: block; color: var(--ink); font-size: 18px; margin-bottom: 6px; font-family: var(--f-display); }
.empty .ic { width: 64px; height: 64px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; margin: 0 auto 16px; font-size: 26px; color: var(--ink-3); background: rgba(255,255,255,.6); }
.empty p { max-width: 380px; margin: 0 auto 18px; }

/* toasts & lightbox */
.toasts { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 130; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.toast { pointer-events: auto; display: flex; align-items: center; gap: 10px; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 14px; box-shadow: var(--sh); font-size: 14px; animation: tIn .45s var(--ease); max-width: 92vw; }
.toast i { color: var(--acc); font-size: 18px; }
.toast.err i { color: #ff9c8f; }
.toast.out { animation: tOut .3s forwards; }
@keyframes tIn { from { opacity: 0; transform: translateY(12px); } }
@keyframes tOut { to { opacity: 0; transform: translateY(10px); } }
.lb { position: fixed; inset: 0; z-index: 120; background: rgba(238,240,235,.92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); display: grid; place-items: center; padding: 40px; animation: fogIn .4s var(--ease); }
.lb img, .lb video, .lb iframe { max-width: min(1100px, 94vw); max-height: 84vh; border-radius: 18px; border: 0; box-shadow: var(--sh); }
.lb iframe { width: min(1100px, 94vw); aspect-ratio: 16/9; height: auto; background: #000; }
.lb > button { position: absolute; top: 18px; inset-inline-end: 18px; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 13px; display: inline-flex; align-items: center; gap: 6px; }
.lb .cap { position: absolute; bottom: 18px; inset-inline: 0; text-align: center; font-size: 14px; }

/* footer */
.ftr { position: relative; margin-top: clamp(40px, 6vw, 80px); padding: clamp(50px, 6vw, 80px) 0 24px; border-top: 1px solid var(--line); }
.ftr .top { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.ftr .logo img { height: 56px; }
.ftr p { color: var(--mut); font-size: 14.5px; max-width: 380px; margin-top: 16px; }
.ftr h4 { font-size: 13px; color: var(--mut); font-weight: 500; margin-bottom: 14px; }
html[lang=en] .ftr h4 { font-family: var(--f-mono); text-transform: uppercase; letter-spacing: .07em; font-size: 11.5px; font-weight: 400; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; font-size: 14.5px; }
.ftr ul a:hover { text-decoration: underline; text-underline-offset: 4px; }
.ftr .soc { display: flex; gap: 8px; margin-top: 20px; }
.ftr .big { font-family: var(--f-display); font-weight: 800; font-size: clamp(64px, 14vw, 220px); line-height: 1.05; color: transparent; -webkit-text-stroke: 1px rgba(28,29,32,.16); text-align: center; margin: 50px 0 10px; user-select: none; white-space: nowrap; overflow: hidden; }
html[lang=en] .ftr .big { letter-spacing: -.05em; line-height: .9; }
.ftr .bot { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; color: var(--mut); }
.ftr .bot a:hover { color: var(--ink); }
.ftr .bot .lg { display: flex; gap: 16px; flex-wrap: wrap; }

/* legal / contact / misc */
.legal { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 50px; align-items: start; }
.toc { position: sticky; top: calc(var(--hh) + 20px); display: flex; flex-direction: column; font-size: 14px; border-top: 1px solid var(--line); }
.toc a { padding: 9px 0; color: var(--mut); border-bottom: 1px solid var(--line-2); }
.toc a:hover, .toc a.is-on { color: var(--ink); }
.legal .intro { font-size: 18px; color: var(--ink-3); padding-bottom: 24px; }
.legal .cl { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 14px; padding: 22px 0; border-top: 1px solid var(--line); }
.legal .cl .n { font-family: var(--f-mono); font-size: 13px; color: var(--mut); padding-top: 4px; }
.legal .cl h3 { font-size: 19px; margin-bottom: 6px; }
.legal .cl p { margin: 0; color: var(--ink-3); }
.contact { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(30px, 6vw, 100px); align-items: start; }
.c-list { border-top: 1px solid var(--ink); }
.c-list > a, .c-list > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.c-list .lbl { grid-column: 1; }
.c-list b { grid-column: 1; font-size: clamp(17px, 1.7vw, 22px); font-weight: 600; text-align: start; }
.c-list b.soft { font-size: 16px; font-weight: 500; }
.c-list i { grid-column: 2; grid-row: 1 / span 2; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-size: 16px; transition: background .3s, color .3s, border-color .3s, transform .4s var(--ease); }
.c-list a:hover i { background: var(--ink); color: #fff; border-color: var(--ink); transform: rotate(var(--rot, 0deg)); }
[dir=rtl] .c-list a:hover i { --rot: -45deg; }
[dir=ltr] .c-list a:hover i { --rot: 45deg; }
.c-soc { display: flex; gap: 18px; margin-top: 22px; flex-wrap: wrap; }
.lined { border-top: 1px solid var(--ink); padding-top: 22px; }
.lined h3 { font-size: clamp(22px, 2.4vw, 30px); margin-bottom: 6px; }
.lined > p { color: var(--mut); margin: 0 0 18px; }
.lined .fgrid { gap: 6px 28px; }
.lined .field { gap: 0; }
.lined .field > label { font-size: 12.5px; color: var(--mut); font-weight: 400; padding-top: 14px; }
html[lang=en] .lined .field > label { font-family: var(--f-mono); font-size: 11px; letter-spacing: .07em; text-transform: uppercase; }
.lined .in, .lined .ta { background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding-inline: 0; height: 46px; font-size: 16px; }
.lined .ta { min-height: 110px; padding-top: 12px; resize: vertical; }
.lined .in:focus, .lined .ta:focus { background: transparent; box-shadow: none; border-bottom-color: var(--ink); }
.pick { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 10px; }
.pick label { cursor: pointer; }
.pick input { position: absolute; opacity: 0; pointer-events: none; }
.pick span { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 13.5px; transition: all .2s; }
.pick label:hover span { border-color: var(--ink); }
.pick input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.pick input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.lined .send { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 24px; flex-wrap: wrap; }
.lined .send small { color: var(--mut); font-size: 12.5px; }
.map { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16/6; border: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.05); }
.center { min-height: 66vh; display: grid; place-items: center; text-align: center; padding: 40px var(--gut); }
.center h1 { font-size: clamp(40px, 7vw, 96px); line-height: 1.1; }
.center p { color: var(--mut); font-size: 17px; max-width: 480px; margin: 14px auto 26px; }

/* ── Responsive ─────────────────────── */
@media (max-width: 1180px) {
  .g4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ftr .top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .logos > *:nth-child(3n + 1) { border-inline-start: 0; }
  .logos > *:nth-child(n + 4) { border-top: 1px solid var(--line); }
  .hdr-links { display: none; }
}
@media (max-width: 1024px) {
  .menu-btn .txt, .logo small, .tools .cur-sel { display: none; }
  .sec-top, .rail-top, .course-top, .prod, .co, .shop-layout, .auth, .news-line, .contact, .legal, .mnav .body, .split, .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .sec-top .aside, .rail-aside { border: 0; padding: 0; }
  .rail-aside { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
  .rail-aside h3, .rail-aside p, .rail-aside .lbl { display: none; }
  .buy, .summary, .side-cats, .toc { position: static; }
  .side-cats { flex-direction: row; overflow-x: auto; gap: 6px; scrollbar-width: none; }
  .side-cats::-webkit-scrollbar { display: none; }
  .side-cats h4, .side-cats .sub { display: none; }
  .side-cats a { white-space: nowrap; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; gap: 8px; flex: none; }
  .side-cats a.is-on { background: var(--ink); color: #fff; }
  .side-cats a:hover { padding-inline-start: 14px; }
  .toc { display: none; }
  .auth .look { display: none; }
  .rd-box { grid-template-columns: minmax(0, 1fr); grid-template-rows: 46vh auto; height: 100%; width: 100%; overflow-y: auto; align-items: start; padding: 72px var(--gut) 30px; gap: 10px; }
  .rd-piece { height: 46vh; }
  .rd-hang { height: calc(100% - 56px); margin-top: 44px; }
  .rd-close { position: fixed; top: 14px; inset-inline-end: 14px; }
  .rd-nav { position: static; justify-content: space-between; margin-top: 12px; }
  .g3, .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mnav .side { display: none; }
  .split .pic { aspect-ratio: 4/3; }
}
@media (max-width: 720px) {
  :root { --hh: 64px; }
  body { font-size: 15.5px; }
  .logo img { height: 36px; }
  .logo b { display: none; }
  .tools { gap: 4px; }
  .tools .lang-btn { height: 34px; min-width: 34px; padding: 0 8px; }
  .acc-av { width: 34px; height: 34px; }
  .bag-btn { height: 38px; font-size: 13px; }
  .bag-btn .txt { display: none; }
  html[lang=ar] .bag-btn, .bag-btn { padding: 0 4px; gap: 4px; }
  .bag-btn i { margin-inline-start: 6px; }
  .bag-btn .cnt { min-width: 26px; height: 26px; }
  .g2, .g3, .g4, .fgrid, .outcomes { grid-template-columns: minmax(0, 1fr); }
  .g3.keep2, .g4.keep2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .keep2 .pcard .info { flex-direction: column; gap: 4px; }
  .keep2 .pcard .info .price { text-align: start; }
  .outcomes div:nth-child(odd) { padding-inline-end: 0; }
  .rail-stage { height: 480px; }
  .piece { width: 150px; }
  .rail-card { inset-inline: 12px; width: auto; bottom: 12px; padding: 14px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; align-items: center; }
  .rail-card .rc-top, .rail-card .lbl, .rail-card .sizes { display: none; }
  .rail-card h4 { margin: 0; font-size: 15px; }
  .rail-card .add-btn { grid-row: span 2; margin: 0; width: auto; height: 42px; }
  .rail-card .add-btn .p { display: none; }
  .rail-hint span:last-child { display: none; }
  .crow { grid-template-columns: 34px minmax(0, 1fr) auto; gap: 12px; }
  .crow .go { display: none; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery .gi:nth-child(5n + 1) { grid-row: auto; aspect-ratio: 3/4; }
  .gallery--feature .gi:first-child { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 4/3; }
  .logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logos > * { border-inline-start: 0 !important; border-top: 1px solid var(--line); }
  .logos > *:nth-child(even) { border-inline-start: 1px solid var(--line) !important; }
  .film { aspect-ratio: 4/5; }
  .mycourse { grid-template-columns: minmax(0, 1fr); }
  .acc-head .stats2 { margin: 0; width: 100%; justify-content: space-between; }
  .ftr .top { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .legal .cl { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .otable thead { display: none; }
  .otable tr { display: block; padding: 12px 0; border-bottom: 1px solid var(--line-2); }
  .otable td { display: flex; justify-content: space-between; border: 0; padding: 4px 0; gap: 12px; }
  .otable td::before { content: attr(data-l); color: var(--mut); font-size: 13px; }
  .cfacts div { flex-basis: 50%; }
  .cfacts div:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; }
  .toolbar .srch { max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
