/* Algebra · premium storefront styles. Tokens mirror design/tokens.json. Mobile first, no framework. */
@font-face { font-family: 'Cormorant Garamond'; src: url(fonts/cormorant-garamond-latin-500-normal.woff2) format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Cormorant Garamond'; src: url(fonts/cormorant-garamond-latin-500-italic.woff2) format('woff2'); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: Inter; src: url(fonts/inter-latin-400-normal.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: Inter; src: url(fonts/inter-latin-500-normal.woff2) format('woff2'); font-weight: 500; font-display: swap; }

:root {
  --ivory: #F3EFE7; --paper: #FFFFFF; --stone: #ECE8E1; --navy: #131A2B; --black: #111111; --burgundy: #6A2232;
  --ink: #131A2B; --ink-2: #3D4352; --muted: #6B6E78; --line: #E2DED6; --focus: #2F5FD0;
  --display: 'Cormorant Garamond', 'Times New Roman', serif; --text: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: 16px; --maxw: 1520px; --hdr: 64px;
  --fast: 160ms; --base: 320ms; --ease: cubic-bezier(.2,.7,.2,1);
  --shadow: 0 24px 60px rgba(19,26,43,.16);
}
@media (min-width: 768px) { :root { --gutter: 32px; } }
@media (min-width: 1280px) { :root { --gutter: 56px; --hdr: 96px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 120px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 14px/1.65 var(--text); letter-spacing: .01em; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; height: auto; }
picture { display: block; }
a { color: inherit; text-decoration: none; }
p a, .prose a, .acc a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--navy); color: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { top: 8px; }
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.small { font-size: 12px; }
.muted { color: var(--muted); }
.lead { font-size: 1.05rem; max-width: 62ch; color: var(--ink-2); }
.kicker { font: 500 11px/1.4 var(--text); letter-spacing: .24em; text-transform: uppercase; margin: 0 0 14px; color: var(--ink-2); }
.h1 { font: 500 clamp(2rem, 4.6vw, 3.2rem)/1.08 var(--display); letter-spacing: 0; margin: 8px 0 24px; }
.h2, .sec-t { font: 500 clamp(1.6rem, 3vw, 2.3rem)/1.1 var(--display); margin: 0; }
.notice { border-left: 2px solid var(--navy); padding: 12px 16px; background: var(--stone); font-size: 13px; }
.form-err { color: #8B1E2D; }

/* announcement bar */
.announce { background: var(--navy); color: #F3EFE7; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; text-align: center; padding: 9px var(--gutter); }

/* buttons + links */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 34px; border: 1px solid var(--navy); font: 500 11px var(--text); letter-spacing: .2em; text-transform: uppercase; cursor: pointer; transition: background var(--fast) var(--ease), color var(--fast) var(--ease); }
.btn--solid { background: var(--navy); color: #fff; }
.btn--solid:hover { background: #000; border-color: #000; }
.btn--line { background: transparent; color: var(--navy); }
.btn--line:hover { background: var(--navy); color: #fff; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: progress; }
.linkish { background: none; border: 0; padding: 0; cursor: pointer; font-size: inherit; text-align: left; }
.more { font: 500 11px var(--text); letter-spacing: .2em; text-transform: uppercase; border-bottom: 1px solid currentColor; padding-bottom: 3px; white-space: nowrap; }

/* header */
.hdr { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.97); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.hdr__top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: var(--hdr); max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.hdr__menu { grid-column: 1; justify-self: start; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; display: grid; place-items: center; }
.burger, .burger::before, .burger::after { display: block; width: 20px; height: 1.5px; background: var(--ink); position: relative; }
.burger::before, .burger::after { content: ''; position: absolute; left: 0; }
.burger::before { top: -6px; } .burger::after { top: 6px; }
.hdr__lang { display: none; }
.hdr__logo { grid-column: 2; display: flex; flex-direction: column; align-items: center; gap: 4px; color: var(--navy); }
.hdr__logo .sym { width: 22px; }
.hdr__logo .wm { height: 22px; width: auto; }
.hdr__tools { grid-column: 3; justify-self: end; display: flex; gap: 22px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.hdr__search { display: none; }
.nav { position: fixed; inset: calc(var(--hdr) + 34px) 0 0 0; background: #fff; padding: 28px var(--gutter); transform: translateX(-100%); transition: transform var(--base) var(--ease); overflow-y: auto; visibility: hidden; }
.nav.is-open { transform: none; visibility: visible; }
.nav ul { list-style: none; margin: 0; padding: 0; }
.nav li a { display: block; padding: 12px 0; font: 500 1.7rem/1.2 var(--display); border-bottom: 1px solid var(--line); }
.nav__lang, .hdr__lang { gap: 14px; font-size: 11px; letter-spacing: .16em; }
.nav__lang { display: flex; }
.nav__lang { margin-top: 28px; }
.nav__lang a, .hdr__lang a { color: var(--muted); }
.nav__lang a[aria-current="true"], .hdr__lang a[aria-current="true"] { color: var(--ink); border-bottom: 1px solid var(--ink); }
@media (min-width: 1024px) {
  .hdr__menu { display: none; }
  .hdr__lang { display: flex; grid-column: 1; justify-self: start; }
  .hdr__search { display: inline; }
  .hdr__logo .sym { width: 26px; }
  .hdr__logo .wm { height: 28px; }
  .nav { position: static; transform: none; visibility: visible; padding: 0; overflow: visible; background: none; border-top: 1px solid var(--line); }
  .nav ul { display: flex; justify-content: center; gap: 40px; height: 46px; align-items: center; }
  .nav li a { font: 500 11px/1 var(--text); letter-spacing: .2em; text-transform: uppercase; padding: 17px 0 15px; border-bottom: 1px solid transparent; }
  .nav li a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--ink); }
  .nav__lang { display: none; }
}

/* hero */
.hero { position: relative; background: #1a1a1a; color: #fff; }
.hero__img img { width: 100%; height: min(86vh, 880px); min-height: 520px; object-fit: cover; object-position: 50% 18%; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.55) 100%); pointer-events: none; }
.hero__txt { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 0 var(--gutter) 48px; max-width: var(--maxw); margin: 0 auto; text-align: center; }
.hero__kicker { font: 500 11px var(--text); letter-spacing: .3em; text-transform: uppercase; margin: 0 0 10px; }
.hero__h { font: 500 clamp(2.8rem, 8vw, 6rem)/1 var(--display); margin: 0; }
.hero__line { font: italic 500 clamp(1.1rem, 2.2vw, 1.5rem)/1.3 var(--display); margin: 10px 0 22px; }
.hero__links a { font: 500 11px var(--text); letter-spacing: .24em; text-transform: uppercase; border-bottom: 1px solid #fff; padding-bottom: 4px; }

/* category tiles */
.tiles { display: grid; gap: 12px; padding-block: 56px 24px; }
@media (min-width: 768px) { .tiles { grid-template-columns: repeat(3, 1fr); gap: 16px; padding-block: 72px 32px; } }
.tile { position: relative; display: block; overflow: hidden; background: var(--stone); }
.tile img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 30%; transition: transform 1.2s var(--ease); }
@media (min-width: 768px) { .tile img { aspect-ratio: 4 / 5; } }
.tile:hover img { transform: scale(1.03); }
.tile__label { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 20px; display: flex; justify-content: space-between; align-items: baseline; color: #fff; font: 500 1.6rem var(--display); background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.45)); }
.tile__cta { font: 500 10px var(--text); letter-spacing: .22em; text-transform: uppercase; border-bottom: 1px solid #fff; padding-bottom: 2px; }

/* rails + grids */
.rail, .gs-all { padding-block: 56px; }
.rail__hd { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.rail__hd .muted { flex-basis: 100%; margin: 6px 0 0; max-width: 70ch; }
.grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 12px; }
@media (min-width: 1024px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px 16px; } }
@media (max-width: 767px) {
  .grid--rail { grid-auto-flow: column; grid-auto-columns: 62%; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .grid--rail > li { scroll-snap-align: start; }
}
@media (min-width: 768px) and (max-width: 1023px) { .grid--rail { grid-auto-flow: column; grid-auto-columns: 36%; grid-template-columns: none; overflow-x: auto; } }
.grid.wrap { padding-inline: var(--gutter); }
.card__a { display: block; }
.card__img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--stone); }
.card__img picture, .card__img img { width: 100%; height: 100%; object-fit: cover; }
.card__alt { position: absolute; inset: 0; opacity: 0; transition: opacity var(--base) var(--ease); }
@media (hover: hover) { .card__a:hover .card__alt { opacity: 1; } }
.card__txt { padding-top: 14px; }
.card__name { font: 500 11px/1.4 var(--text); letter-spacing: .16em; text-transform: uppercase; margin: 0 0 4px; }
.card__price { margin: 0; font-size: 13px; }
.card__meta { display: flex; align-items: center; gap: 6px; margin: 6px 0 0; font-size: 11px; color: var(--muted); }
.card__set[hidden] { display: none; }
.card__set { position: absolute; inset: 0; }
.sw-btn { display: inline-grid; place-items: center; width: 24px; height: 24px; padding: 0; border: 0; background: none; border-radius: 50%; cursor: pointer; }
.sw-btn .sw { width: 12px; height: 12px; }
.sw-btn[aria-pressed="true"] .sw { box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--ink); }
.sw-btn:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }
.sws { display: flex; gap: 2px; margin-left: -6px; }
.sw { display: inline-block; width: 11px; height: 11px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(19,26,43,.22); flex: none; }
.sw--lg { width: 30px; height: 30px; }

/* editorial split */
.split { display: grid; background: var(--stone); }
.split__img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 780 / 810; max-height: 760px; }
.split__txt { padding: 48px var(--gutter); display: flex; flex-direction: column; justify-content: center; max-width: 560px; }
.split__h { font: 500 clamp(1.9rem, 3.6vw, 3rem)/1.08 var(--display); margin: 0 0 16px; }
.split__txt p { color: var(--ink-2); }
@media (min-width: 1024px) { .split { grid-template-columns: 1.2fr 1fr; } .split__txt { padding: 64px 72px; } }

/* story band */
.story { background: var(--navy); color: #F3EFE7; padding-block: 96px; text-align: center; }
.story__in { max-width: 640px; margin: 0 auto; padding-inline: var(--gutter); }
.story__sym { width: 44px; margin: 0 auto 24px; color: #F3EFE7; }
.story__h { font: italic 500 clamp(2rem, 4vw, 3rem)/1.1 var(--display); margin: 0 0 18px; }
.story p { color: rgba(243,239,231,.85); }
.more--inv { color: #F3EFE7; }

/* trust row */
.trust { display: grid; gap: 24px; padding-block: 56px; border-top: 1px solid var(--line); text-align: center; }
.trust h3 { font: 500 11px var(--text); letter-spacing: .2em; text-transform: uppercase; margin: 0 0 8px; }
.trust p { margin: 0; color: var(--muted); font-size: 13px; }
@media (min-width: 768px) { .trust { grid-template-columns: repeat(4, 1fr); } }

/* footer */
.ftr { background: var(--stone); margin-top: 0; }
.ftr__in { max-width: var(--maxw); margin: 0 auto; padding: 64px var(--gutter) 40px; display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1024px) { .ftr__in { grid-template-columns: minmax(0,1.2fr) minmax(0,2fr); } }
.wm--ftr { height: 34px; width: auto; color: var(--navy); }
.ftr__sig { font: italic 500 1.2rem var(--display); margin: 8px 0 28px; }
.ftr__nl label { display: block; font: 500 11px var(--text); letter-spacing: .2em; text-transform: uppercase; margin-bottom: 10px; }
.ftr__nlrow { display: flex; border-bottom: 1px solid var(--ink); max-width: 420px; }
.ftr__nlrow input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 12px 0; }
.ftr__nlrow input:focus { outline: none; }
.ftr__nlrow button { background: none; border: 0; font: 500 11px var(--text); letter-spacing: .2em; text-transform: uppercase; cursor: pointer; }
.ftr__cols { display: grid; gap: 28px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ftr ul { overflow-wrap: anywhere; }
@media (min-width: 768px) { .ftr__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ftr h2 { font: 500 11px var(--text); letter-spacing: .2em; text-transform: uppercase; margin: 0 0 14px; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 13px; color: var(--ink-2); }
.ftr a:hover, .ftr .linkish:hover { text-decoration: underline; text-underline-offset: 3px; }
.ftr__base { border-top: 1px solid var(--line); max-width: var(--maxw); margin: 0 auto; padding: 18px var(--gutter); display: flex; justify-content: space-between; font-size: 11px; letter-spacing: .12em; color: var(--muted); }
.ftr__base span:last-child { display: flex; gap: 12px; }
.ftr__base a[aria-current="true"] { color: var(--ink); }

/* collection */
.coll { padding-bottom: 96px; overflow-x: clip; }
.filters fieldset { flex-wrap: wrap; }
.coll__hd { text-align: center; padding-block: 48px 28px; }
.coll__h { font: 500 clamp(2.2rem, 5vw, 3.6rem)/1.05 var(--display); margin: 0 0 12px; }
.coll__hd .lead { margin: 0 auto; }
.crumbs { font-size: 11px; letter-spacing: .1em; color: var(--muted); padding-top: 18px; }
.crumbs a { color: var(--muted); }
.filters { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; padding: 14px 0; margin-bottom: 32px; border-block: 1px solid var(--line); }
.filters fieldset { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; align-items: center; gap: 10px; }
.filters legend { float: left; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; margin-right: 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { position: relative; display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 12px; border: 1px solid var(--line); font-size: 12px; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip:has(input:checked) { border-color: var(--ink); }
.chip:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; }
.sort { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; }
.sort select { min-height: 32px; border: 1px solid var(--line); background: #fff; padding: 0 8px; margin-left: 6px; letter-spacing: 0; text-transform: none; }
.count { font-size: 12px; color: var(--muted); margin: 0 0 0 auto; }
.empty { padding: 48px 0; color: var(--muted); }

/* product page */
.pdp { padding-bottom: 96px; }
.pdp__grid { display: grid; gap: 24px; margin-top: 12px; }
@media (min-width: 1024px) { .pdp__grid { grid-template-columns: minmax(0, 1.6fr) minmax(360px, 1fr); gap: 56px; } }
.gal { display: block; align-self: start; min-width: 0; }
.gal__set[hidden] { display: none; }
.gal__fig { margin: 0; background: var(--stone); }
.gal__fig img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.gal__fig--wide { display: none; }
/* product sheet: spaced title, front + back stage, three details */
.sheet { background: #F1ECE4; padding: 28px 0 22px; }
.sheet__title { margin: 0; text-align: center; font: 400 clamp(1.05rem, 2.2vw, 1.55rem) var(--display); letter-spacing: .55em; text-indent: .55em; text-transform: uppercase; color: var(--ink); }
.sheet__rule { display: block; width: 36px; height: 1px; background: var(--ink); margin: 12px auto 18px; opacity: .6; }
.sheet__stage { margin: 0; }
.sheet__stage img { width: 100%; height: auto; display: block; }
.sheet__details { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 6px; }
.sheet__fig { margin: 0; }
.sheet__fig img { width: 100%; aspect-ratio: 690 / 796; object-fit: cover; display: block; }
.sheet__fig figcaption { text-align: center; font: 500 9px var(--text); letter-spacing: .32em; text-transform: uppercase; color: var(--ink-2); padding: 14px 0 0; }
.sheet__fig figcaption::after { content: ""; display: block; width: 14px; height: 1px; background: currentColor; margin: 8px auto 0; opacity: .7; }
.sheet__views { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.sheet__views .gal__fig:only-child { grid-column: 1 / -1; }
@media (max-width: 1023px) { .sheet { margin-inline: calc(var(--gutter) * -1); padding: 22px 0 18px; } .sheet__fig figcaption { font-size: 8px; letter-spacing: .2em; } }
.buy__sticky { position: sticky; top: calc(var(--hdr) + 70px); }
.buy__name { font: 500 clamp(1.9rem, 3vw, 2.6rem)/1.1 var(--display); margin: 0 0 10px; }
.buy__price { font-size: 16px; margin: 0; }
.buy__lead { color: var(--ink-2); margin: 18px 0 24px; }
.opt { border: 0; margin: 0 0 22px; padding: 0; }
.opt legend { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 12px; }
.opt__row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.pill, .swatch { position: relative; cursor: pointer; }
.pill input, .swatch input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pill span { display: inline-grid; place-items: center; min-width: 56px; min-height: 46px; padding: 0 14px; border: 1px solid var(--line); font-size: 13px; }
.pill input:checked + span { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.pill input:focus-visible + span, .swatch input:focus-visible + .sw { outline: 2px solid var(--focus); outline-offset: 2px; }
.pill input:disabled + span { opacity: .35; text-decoration: line-through; }
.pill[hidden] { display: none; }
.swatch .sw { display: block; width: 34px; height: 34px; }
.swatch input:checked + .sw { box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--ink); }
.perks { list-style: none; margin: 22px 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 6px; font-size: 12px; color: var(--ink-2); }
.perks li::before { content: '—'; margin-right: 8px; color: var(--muted); }
.acc details { border-top: 1px solid var(--line); }
.acc details:last-child { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; padding: 16px 0; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; display: flex; justify-content: space-between; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: '+'; font-size: 15px; letter-spacing: 0; }
.acc details[open] summary::after { content: '−'; }
.acc__bd { padding-bottom: 16px; color: var(--ink-2); font-size: 14px; }
.acc--faq summary { text-transform: none; letter-spacing: 0; font: 500 1.25rem var(--display); }
.symbol-eq { font: italic 400 1.4rem/1.3 'Times New Roman', Georgia, serif; margin: 0 0 12px; color: var(--ink); }
.related { margin-top: 96px; }
.related .h2 { margin-bottom: 24px; }

/* pages */
.page { padding-bottom: 96px; max-width: 920px; }
.prose { max-width: 70ch; }
.prose h2 { font: 500 1.6rem var(--display); margin: 32px 0 12px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 13px; }
.prose th, .prose td { text-align: left; border-bottom: 1px solid var(--line); padding: 8px 6px; vertical-align: top; }
.about__sym { max-width: 160px; color: var(--navy); margin-top: 48px; }
.form { display: grid; gap: 8px; max-width: 520px; }
.form label { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; margin-top: 12px; }
.form input, .form textarea { min-height: 48px; padding: 10px 14px; border: 1px solid #C9C4BA; background: #fff; }
.form .btn { margin-top: 16px; justify-self: start; }
.nf__sym { width: 100px; color: var(--navy); }
.tracking-box { margin-top: 24px; padding: 24px; background: var(--stone); }

/* drawer */
.drawer { position: fixed; inset: 0; z-index: 80; }
.drawer[hidden] { display: none; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(19,26,43,.35); }
.drawer__panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(460px, 100%); background: #fff; box-shadow: var(--shadow); display: flex; flex-direction: column; animation: slide var(--base) var(--ease); }
@keyframes slide { from { transform: translateX(100%); } }
.drawer__hd { display: flex; justify-content: space-between; align-items: center; padding: 18px 24px; border-bottom: 1px solid var(--line); }
.drawer__hd h2 { font: 500 11px var(--text); letter-spacing: .22em; text-transform: uppercase; margin: 0; }
.drawer__x { background: none; border: 0; font-size: 26px; line-height: 1; width: 44px; height: 44px; cursor: pointer; }
.drawer__bd { flex: 1; overflow-y: auto; padding: 24px; }
.bag__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; }
.bag__item { display: grid; grid-template-columns: 92px 1fr; gap: 16px; }
.bag__item img { width: 92px; aspect-ratio: 4/5; object-fit: cover; background: var(--stone); }
.bag__item h3 { font: 500 11px/1.4 var(--text); letter-spacing: .14em; text-transform: uppercase; margin: 0 0 4px; }
.bag__item p { margin: 2px 0; font-size: 13px; color: var(--ink-2); }
.bag__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 8px; }
.qty { display: inline-flex; border: 1px solid var(--line); }
.qty button { width: 38px; height: 38px; background: #fff; border: 0; cursor: pointer; font-size: 16px; }
.qty output { display: grid; place-items: center; min-width: 32px; font-size: 13px; }
.bag__sum { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 16px; display: grid; gap: 8px; font-size: 13px; }
.bag__sum div { display: flex; justify-content: space-between; align-items: center; }
.bag__sum .total { font-size: 15px; font-weight: 500; }
.bag__sum select { min-height: 36px; border: 1px solid var(--line); background: #fff; padding: 0 8px; }
.bag__up { margin-top: 20px; padding: 14px 16px; background: var(--stone); font-size: 13px; }
.bag__actions { display: grid; gap: 12px; margin-top: 24px; }

/* consent */
.consent { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); padding: 22px; max-width: 520px; }
.consent[hidden] { display: none; }
.consent h2 { font: 500 11px var(--text); letter-spacing: .2em; text-transform: uppercase; margin: 0 0 8px; }
.consent p { font-size: 13px; margin: 0 0 16px; color: var(--ink-2); }
.consent__btns { display: flex; flex-wrap: wrap; gap: 8px; }
.consent__btns .btn { flex: 1 1 170px; padding: 0 16px; min-height: 44px; }

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