/* ==========================================================================
   INJASÄNART — styles
   Structure: tokens · base · type · buttons · header · hero · chips ·
   drop row · tiles · craft · about · signup · trust · footer · cart · responsive
   ========================================================================== */

/* ---------- Fonts (self-hosted, subsetted) ---------- */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal; font-weight: 700; font-display: swap;
  src: url('../fonts/barlow-condensed-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-017F, U+018F, U+0259, U+02BB-02BC;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal; font-weight: 700; font-display: swap;
  src: url('../fonts/barlow-condensed-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+2013-2014, U+2018-201D, U+2022, U+2026, U+20AC, U+2190-2193, U+2212;
}
@font-face {
  font-family: 'Inter';
  font-style: normal; font-weight: 400 700; font-display: swap;
  src: url('../fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-017F, U+018F, U+0259, U+02BB-02BC;
}
@font-face {
  font-family: 'Inter';
  font-style: normal; font-weight: 400 700; font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+2013-2014, U+2018-201D, U+2022, U+2026, U+20AC, U+2190-2193, U+2212;
}

/* ---------- Tokens ---------- */
:root {
  --bg: #0B0B0B;
  --card: #141414;
  --line: #222222;
  --line-2: #2E2E2E;
  --cream: #F2EDE2;
  --muted: #A89F8C;
  --marena: #7A1F1F;
  --logo-bg: #FEFCEB;

  --font-display: 'Barlow Condensed', 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;

  --r-xl: 32px;
  --r-lg: 26px;
  --r-md: 18px;
  --r-pill: 999px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  color-scheme: dark;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font: 400 16px/1.55 var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.is-locked { overflow: hidden; }
[hidden] { display: none !important; }
img, svg { display: block; max-width: 100%; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--cream); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--cream); color: var(--bg); padding: 10px 16px; border-radius: var(--r-pill); font-weight: 600; }
.skip:focus { top: 12px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.i { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.needle { width: 34px; height: 8.5px; color: currentColor; flex: none; transition: transform .25s ease; }

/* ---------- Type ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .01em;
  line-height: .92;
}
.h2 { font-size: clamp(40px, 5.2vw, 64px); }
.eyebrow { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 14px; }
.section__lead { color: var(--muted); margin-top: 10px; font-size: 17px; }

/* ---------- Stitch divider (needle + thread) ---------- */
.stitch { display: flex; align-items: center; gap: 12px; color: var(--cream); opacity: .85; }
.stitch::before {
  content: ''; flex: 1; height: 2px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='2'%3E%3Cpath d='M1 1h9' stroke='%23F2EDE2' stroke-opacity='.5' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") repeat-x left center;
}
.stitch .needle { width: 56px; height: 14px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 52px; padding: 0 26px;
  border-radius: var(--r-pill); border: 1px solid transparent;
  font-size: 15px; font-weight: 600; letter-spacing: .01em; white-space: nowrap;
  transition: background .2s, border-color .2s, color .2s;
}
.btn:hover .needle { transform: translateX(5px); }
.btn--primary { background: var(--cream); color: var(--bg); }
.btn--primary:hover { background: #fff; }
.btn--ghost { background: var(--card); border-color: var(--line-2); color: var(--cream); }
.btn--ghost:hover { border-color: var(--cream); }
.btn--dark { background: var(--bg); color: var(--cream); }
.btn--dark:hover { background: #000; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }

.icon-btn {
  position: relative; display: inline-grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line-2); background: var(--card);
  transition: border-color .2s;
}
.icon-btn:hover { border-color: var(--cream); }

.pill {
  display: inline-block; padding: 7px 14px; border-radius: var(--r-pill);
  background: var(--bg); border: 1px solid var(--line-2);
  font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--cream);
}

/* ---------- Photo placeholder ---------- */
.ph { position: relative; width: 100%; height: 100%; min-height: 100%; background: #101010; overflow: hidden; }
.ph__ph {
  position: absolute; inset: 8px; border: 1.5px dashed rgba(242, 237, 226, .3); border-radius: 16px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  padding: 18px; text-align: center; color: var(--muted);
}
.ph__label { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--cream); font-weight: 600; }
.ph__caption { font-size: 13px; line-height: 1.4; max-width: 28ch; }
.ph__file { font: 500 11px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--muted); opacity: .85; overflow-wrap: anywhere; }
.ph__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .4s ease; }
.ph.is-loaded .ph__img { opacity: 1; }
.ph.is-loaded .ph__ph { display: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg); border-bottom: 1px solid var(--line);
}
.header__in { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 20px; }

/* logo: your file, cropped to its artwork (the margin is trimmed, nothing is redrawn) */
.logo {
  display: block; position: relative; flex: none; overflow: hidden;
  height: 56px; aspect-ratio: 680 / 780;
  background: var(--logo-bg); border-radius: 10px;
}
.logo img {
  position: absolute; max-width: none; height: auto;
  width: 158.8235%; left: -29.4118%; top: -19.2308%;
}
.logo--lg { height: 132px; border-radius: 14px; }

.nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 40px); }
.nav a { font-size: 14px; font-weight: 500; color: var(--cream); opacity: .82; padding: 8px 0; position: relative; transition: opacity .2s; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='2'%3E%3Cpath d='M0 1h4' stroke='%23F2EDE2' stroke-width='1.5'/%3E%3C/svg%3E") repeat-x; opacity: 0; transition: opacity .2s; }
.nav a:hover { opacity: 1; }
.nav a:hover::after { opacity: 1; }

.header__tools { display: flex; align-items: center; gap: 10px; }
.lang { display: inline-flex; padding: 3px; border-radius: var(--r-pill); border: 1px solid var(--line-2); background: var(--card); }
.lang button { min-width: 42px; height: 36px; padding: 0 10px; border-radius: var(--r-pill); font-size: 13px; font-weight: 600; letter-spacing: .06em; color: var(--muted); transition: background .2s, color .2s; }
.lang button[aria-pressed="true"] { background: var(--cream); color: var(--bg); }
.lang button:not([aria-pressed="true"]):hover { color: var(--cream); }

.cart-count {
  position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px;
  display: grid; place-items: center; border-radius: var(--r-pill);
  background: var(--cream); color: var(--bg); font-size: 11px; font-weight: 700; line-height: 1;
}
.cart-count.is-bump { animation: bump .35s ease; }
@keyframes bump { 40% { transform: scale(1.35); } }

.menu-btn { display: none; }
.menu-btn .i--close { display: none; }
.menu-btn[aria-expanded="true"] .i--open { display: none; }
.menu-btn[aria-expanded="true"] .i--close { display: block; }

/* ---------- Hero ---------- */
.hero { padding-top: 20px; }
.hero__card {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: 12px; padding: 12px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-xl);
}
.hero__text, .hero__media { min-width: 0; }
.hero__text { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 22px; padding: clamp(24px, 4vw, 56px) clamp(16px, 3vw, 44px); }
.hero__title { font-size: clamp(88px, 12.5vw, 176px); line-height: .84; letter-spacing: 0; margin-top: 4px; width: min-content; max-width: 100%; }
.hero__sub { color: var(--muted); font-size: clamp(16px, 1.6vw, 19px); max-width: 30ch; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }

.hero__media { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 560px; }
.hero__media .ph { position: absolute; inset: 0; }

.facts { position: absolute; top: 22px; right: 22px; width: 214px; display: grid; gap: 10px; z-index: 2; }
.fact {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px;
  background: rgba(11, 11, 11, .86); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid var(--line-2); border-radius: var(--r-md);
  font-size: 13px; font-weight: 600; line-height: 1.25;
}
.fact__ico { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-2); flex: none; }
.fact .i { width: 19px; height: 19px; }

/* ---------- Chips ---------- */
.chips {
  display: flex; gap: 10px; margin-top: 16px; padding: 10px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-pill);
  overflow-x: auto; scrollbar-width: none;
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: 1 0 auto; display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 0 26px; border-radius: var(--r-pill);
  border: 1px solid var(--line-2); font-size: 14px; font-weight: 500; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s;
}
.chip:hover { background: var(--cream); color: var(--bg); border-color: var(--cream); }

/* ---------- Sections ---------- */
.section { padding-block: clamp(40px, 6vw, 72px); }
.section--tight { padding-top: 0; }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.wrap > .stitch { margin-block: 0; }

/* ---------- Drop row ---------- */
.arrows { display: flex; gap: 10px; }
.arrow {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid var(--line-2); background: var(--card); transition: border-color .2s, opacity .2s;
}
.arrow .needle { width: 30px; height: 7.5px; }
.arrow--prev .needle { transform: scaleX(-1); }
.arrow:hover:not(:disabled) { border-color: var(--cream); }
.arrow:disabled { opacity: .3; cursor: default; }
.arrows[hidden] { display: none; }

.scroller-wrap { max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; }
.scroller {
  display: flex; gap: 16px; overflow-x: auto; overscroll-behavior-x: contain;
  padding: 4px var(--gutter) 18px;
  scroll-snap-type: x proximity; scroll-padding-inline: var(--gutter);
  scrollbar-width: thin; scrollbar-color: var(--line-2) transparent;
}
.scroller::-webkit-scrollbar { height: 6px; }
.scroller::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 6px; }

.pcard {
  flex: 0 0 clamp(250px, 26vw, 296px); scroll-snap-align: start;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 8px; display: flex; flex-direction: column;
  transition: border-color .3s;
}
.pcard.is-flash { border-color: var(--cream); }
.pcard__media { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-md); overflow: hidden; }
.pcard__media .ph { position: absolute; inset: 0; }
.badge {
  position: absolute; top: 20px; left: 20px; z-index: 2;
  padding: 6px 12px; border-radius: var(--r-pill);
  background: rgba(11, 11, 11, .88); border: 1px solid var(--line-2);
  font-size: 12px; font-weight: 600; line-height: 1.2; color: var(--cream);
}
.badge--limited { background: var(--marena); border-color: var(--marena); }
.pcard__body { padding: 16px 10px 8px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.pcard__name { font-size: 16px; font-weight: 600; line-height: 1.3; }
.pcard__type { font-size: 14px; color: var(--muted); }
.pcard__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 16px; }
.price { font-size: 18px; font-weight: 600; font-variant-numeric: tabular-nums; }
.btn-add {
  display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px 0 12px;
  border-radius: var(--r-pill); border: 1px solid var(--line-2);
  font-size: 14px; font-weight: 600; transition: background .2s, color .2s, border-color .2s;
}
.btn-add .i { width: 18px; height: 18px; }
.btn-add:hover { background: var(--cream); color: var(--bg); border-color: var(--cream); }
.btn-add.is-added { background: var(--cream); color: var(--bg); border-color: var(--cream); }

/* ---------- Collection tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.tile {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 300px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden;
  transition: border-color .3s;
}
.tile:hover { border-color: var(--line-2); }
.tile__text { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: clamp(22px, 2.6vw, 34px); }
.tile__title { font-size: clamp(38px, 4.4vw, 54px); }
.tile__sub { color: var(--muted); font-size: 15px; max-width: 22ch; }
.tile__link { margin-top: auto; display: inline-flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; padding: 8px 0; }
.tile__link::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.tile:hover .tile__link .needle { transform: translateX(6px); }
.tile__media { position: relative; min-height: 220px; }
.tile__media .ph { position: absolute; inset: 0; }

/* ---------- Craft ---------- */
.craft { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.ccard {
  display: flex; flex-direction: column; gap: 12px; padding: 22px 18px 24px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
}
.ccard .i { width: 46px; height: 46px; stroke-width: 1.2; margin-bottom: 8px; }
.ccard__title { font-size: 25px; line-height: .95; overflow-wrap: anywhere; hyphens: auto; }
.ccard__text { color: var(--muted); font-size: 14px; line-height: 1.45; }

/* ---------- About ---------- */
.about {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px);
  padding: clamp(28px, 5vw, 64px); background: var(--card); border: 1px solid var(--line); border-radius: var(--r-xl);
}
.about__text { display: flex; flex-direction: column; justify-content: center; }
.about__text .h2 { margin-bottom: 22px; }
.about__p { color: var(--muted); font-size: 17px; max-width: 38ch; }
.about__p + .about__p { margin-top: 14px; }
.about__p--strong { color: var(--cream); font-weight: 600; }
.trio { display: flex; flex-direction: column; justify-content: center; }
.trio li {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 12px 0;
  border-bottom: 2px dashed transparent;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='2'%3E%3Cpath d='M1 1h9' stroke='%23F2EDE2' stroke-opacity='.4' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") repeat-x left bottom;
  background-size: 16px 2px;
}
.trio li:last-child { background: none; border: 0; }
.trio__word { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: clamp(56px, 8vw, 104px); line-height: .9; }

/* ---------- Newsletter (cream block) ---------- */
.signup {
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; gap: clamp(20px, 4vw, 56px);
  padding: clamp(28px, 4vw, 56px); background: var(--cream); color: var(--bg); border-radius: var(--r-xl);
}
.signup__art { display: grid; place-items: center; padding: 64px 16px 24px; }
.tag {
  position: relative; width: min(240px, 80%); aspect-ratio: 3 / 4.1; padding: 26px 22px;
  background: var(--bg); color: var(--cream); border-radius: 18px; transform: rotate(-5deg);
  display: flex; flex-direction: column; justify-content: flex-end; gap: 4px;
  outline: 1px dashed rgba(242, 237, 226, .4); outline-offset: -10px;
}
.tag__hole { position: absolute; top: 20px; left: 50%; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: var(--cream); }
.tag__thread { position: absolute; top: -62px; left: calc(50% - 60px); width: 120px; height: 90px; color: var(--bg); }
.tag__top { font-size: 64px; line-height: .86; }
.tag__mid { font-family: var(--font-display); font-weight: 700; font-size: 28px; letter-spacing: .06em; line-height: 1; }
.tag__bottom { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-top: 8px; }
.signup__body .h2 { font-size: clamp(44px, 6vw, 80px); }
.signup__text { margin-top: 14px; font-size: 17px; color: #4a4639; max-width: 36ch; }
.signup__form { margin-top: 26px; max-width: 560px; }
.signup__row { display: flex; gap: 10px; }
.input {
  flex: 1; min-width: 0; min-height: 56px; padding: 0 22px; border-radius: var(--r-pill);
  border: 1.5px solid var(--bg); background: transparent; color: var(--bg); font: 500 16px var(--font-body);
}
.input::placeholder { color: #5b5648; opacity: 1; }
.input[aria-invalid="true"] { border-color: var(--marena); }
.input:focus-visible { outline: 3px solid rgba(11, 11, 11, .35); outline-offset: 2px; }
.signup .btn { min-height: 56px; }
.signup :focus-visible { outline-color: var(--bg); }
.signup__status { min-height: 24px; margin-top: 12px; font-size: 14px; font-weight: 600; color: var(--bg); }
.signup__status.is-error { color: var(--marena); }

/* ---------- Trust strip ---------- */
.trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding-block: clamp(36px, 5vw, 56px); }
.trust li { display: flex; align-items: center; gap: 14px; padding-inline: 20px; }
.trust li + li { border-left: 1px solid var(--line); }
.trust li:first-child { padding-left: 0; }
.trust .i { width: 30px; height: 30px; color: var(--cream); }
.trust__title { font-size: 14px; font-weight: 600; line-height: 1.3; }
.trust__text { font-size: 13px; color: var(--muted); line-height: 1.4; }

/* ---------- Footer ---------- */
.footer { padding-bottom: 28px; }
.footer__grid { display: grid; grid-template-columns: 1.3fr repeat(3, minmax(0, 1fr)); gap: 32px; padding-block: 44px 40px; }
.footer__brand { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.footer__slogan { font-size: 34px; line-height: .95; }
.footer__col { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.footer__h { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 4px; }
.footer__col a, .footer__col span.flink { font-size: 15px; color: var(--cream); opacity: .9; display: inline-flex; align-items: center; gap: 10px; }
.footer__col a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.footer__col .i { width: 19px; height: 19px; color: var(--muted); }
.footer__bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.to-top { display: inline-flex; align-items: center; gap: 8px; color: var(--cream); font-weight: 500; }
.to-top .i { width: 18px; height: 18px; }

/* ---------- Pre-order list (drawer) ---------- */
.cart {
  position: fixed; inset: 0 0 0 auto; margin: 0; padding: 0;
  width: min(440px, 100vw); max-width: 100vw; height: 100dvh; max-height: 100dvh;
  background: var(--card); color: var(--cream); border: 0; border-left: 1px solid var(--line-2);
}
.cart::backdrop { background: rgba(0, 0, 0, .65); }
.cart__in { height: 100%; display: flex; flex-direction: column; padding: 22px 22px 24px; }
.cart__head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.cart__head .display { font-size: 38px; }
.cart__list { flex: 1; overflow-y: auto; padding-block: 6px; }
.cart__empty { margin-block: auto; padding: 40px 0; text-align: center; color: var(--muted); }
.cart__empty[hidden], .cart__list[hidden], .cart__foot[hidden] { display: none; }
.cart__item { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart__name { font-weight: 600; line-height: 1.3; }
.cart__meta { color: var(--muted); font-size: 14px; }
.cart__sum { font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
.cart__ctrl { grid-column: 1 / -1; display: flex; align-items: center; gap: 6px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: var(--r-pill); }
.qty button { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; }
.qty button:hover { background: var(--line); }
.qty .i { width: 16px; height: 16px; }
.qty span { min-width: 28px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.cart__rm { margin-left: auto; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: var(--muted); }
.cart__rm:hover { color: var(--cream); background: var(--line); }
.cart__rm .i { width: 18px; height: 18px; }
.cart__foot { padding-top: 18px; display: grid; gap: 12px; }
.cart__total { display: flex; justify-content: space-between; font-size: 17px; }
.cart__total[hidden] { display: none; }
.cart__note { color: var(--muted); font-size: 13px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .craft { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .trust li { flex-direction: column; align-items: flex-start; gap: 10px; }
  .footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 24px; }
  .trust li:nth-child(odd) { padding-left: 0; }
  .trust li:nth-child(3) { border-left: 0; }
}

@media (max-width: 880px) {
  :root { --header-h: 66px; }
  .logo { height: 48px; }

  .menu-btn { display: inline-grid; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 6px var(--gutter) 18px; background: var(--bg); border-bottom: 1px solid var(--line);
    display: none;
  }
  .site-header.is-menu-open .nav { display: flex; }
  .nav a { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 36px; line-height: 1; letter-spacing: .01em; opacity: 1; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav a:last-child { border-bottom: 0; }
  .nav a::after { display: none; }

  .hero__card { grid-template-columns: minmax(0, 1fr); }
  .hero__text { padding: 22px 14px 14px; gap: 18px; }
  .hero__title { font-size: clamp(88px, 27vw, 190px); }
  .hero__media { min-height: 0; overflow: visible; border-radius: 0; display: flex; flex-direction: column; gap: 10px; }
  .hero__media .ph { position: relative; inset: auto; height: auto; min-height: 0; aspect-ratio: 4 / 5; border-radius: var(--r-lg); }
  .facts { position: static; width: auto; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .fact { flex-direction: column; align-items: flex-start; gap: 10px; padding: 12px; font-size: 12.5px; background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; }

  .tiles { grid-template-columns: minmax(0, 1fr); }
  .about { grid-template-columns: minmax(0, 1fr); }
  .signup { grid-template-columns: minmax(0, 1fr); }
  .signup__art { order: 2; padding: 60px 16px 18px; }
  .tag { width: 200px; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .header__in { gap: 10px; }
  .header__tools { gap: 8px; }
  .lang button { min-width: 38px; height: 34px; padding: 0 8px; font-size: 12px; }
  .icon-btn { width: 42px; height: 42px; }

  .btn-row { flex-direction: column; align-items: stretch; width: 100%; gap: 10px; }
  .chips { border-radius: var(--r-lg); padding: 8px; gap: 8px; }
  .chip { flex: 0 0 auto; padding: 0 20px; min-height: 42px; }
  .section__head { margin-bottom: 20px; }
  .arrow { width: 46px; height: 46px; }
  .pcard { flex-basis: 72vw; }

  .tile { grid-template-columns: minmax(0, 1fr); }
  .tile__media { order: -1; aspect-ratio: 16 / 11; min-height: 0; }
  .tile__text { padding: 22px; }
  .tile__link { margin-top: 10px; }

  .craft { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .ccard { padding: 18px 14px 20px; }
  .ccard__title { font-size: 21px; }
  .ccard__text { font-size: 13px; }

  .signup__row { flex-direction: column; }
  .signup .btn { width: 100%; }
  .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust li { flex-direction: column; align-items: flex-start; gap: 10px; padding-inline: 14px; border-left: 0 !important; }
  .trust li:nth-child(odd) { padding-left: 0; }

  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
  .footer__bar { flex-direction: column; align-items: flex-start; }
  #f-contact { grid-column: 1 / -1; }
  .cart { width: 100vw; border-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
