/* Röwşen Aýakgap — storefront. Motif: the double "blade" of the logo + Turkmen gul ornament */
:root {
  --red: #B01E2B;
  --red-d: #8A1420;
  --red-l: #F7E4E2;
  --ink: #1A1414;
  --ink-2: #3A3230;
  --muted: #7C716A;
  --paper: #FBF8F4;
  --sand: #F3ECE3;
  --line: #E8DFD4;
  --gold: #F3D9B5;
  --ok: #2E8B57;
  --warn: #D98A1C;
  --r-blade: 28px 28px 28px 6px;
  --shadow: 0 18px 40px -22px rgba(60, 20, 20, .35);
  --display: 'Unbounded', 'Manrope', system-ui, sans-serif;
  --body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--paper); font-size: 16px; line-height: 1.55; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; letter-spacing: -.02em; line-height: 1.12; margin: 0; }
[hidden] { display: none !important; }
.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.hp { position: absolute; left: -9999px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; padding: 14px 24px; border-radius: 999px; font-weight: 800; font-size: 15px; letter-spacing: .01em; transition: transform .2s, background .2s, box-shadow .2s, color .2s; white-space: nowrap; }
.btn:active { transform: scale(.97); }
.btn--red { background: var(--red); color: #fff; box-shadow: 0 10px 24px -12px var(--red); }
.btn--red:hover { background: var(--red-d); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--sm { padding: 10px 16px; font-size: 14px; }
.btn--lg { padding: 18px 30px; font-size: 16px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }

/* top bar + header */
.topbar { background: var(--ink); color: #d9cfc6; font-size: 13px; }
.topbar__in { display: flex; align-items: center; gap: 20px; height: 38px; }
.topbar__note { flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.topbar__phone { color: #fff; font-weight: 600; }
.langs { display: flex; gap: 2px; background: rgba(255,255,255,.08); border-radius: 999px; padding: 3px; }
.langs a, .nav__langs a { padding: 2px 10px; border-radius: 999px; font-weight: 800; font-size: 12px; letter-spacing: .06em; }
.langs a.is-active { background: var(--red); color: #fff; }
.header { position: sticky; top: 0; z-index: 50; background: rgba(251, 248, 244, .92); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.header__in { display: flex; align-items: center; gap: 28px; height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { width: 40px; height: auto; transition: transform .5s cubic-bezier(.3,1.6,.5,1); }
.brand:hover img { transform: rotate(-14deg) translateX(-2px); }
.brand__word { display: flex; flex-direction: column; line-height: 1; }
.brand__word b { font-family: var(--display); font-size: 20px; letter-spacing: -.01em; }
.brand__word i { font-style: normal; font-size: 10.5px; letter-spacing: .42em; text-transform: uppercase; color: var(--red); font-weight: 800; margin-top: 4px; }
.brand--light .brand__word b { color: #fff; }
.brand--light .brand__word i { color: var(--gold); }
.nav { display: flex; align-items: center; gap: 4px; flex: 1; }
.nav > a { position: relative; padding: 8px 12px; font-weight: 600; font-size: 15px; border-radius: 10px; transition: color .2s; }
.nav > a::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 3px; border-radius: 3px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.nav > a:hover::after, .nav > a.is-active::after { transform: scaleX(1); }
.nav__promo { color: var(--red); }
.nav__sale span { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--red); color: #fff; font-size: 11px; font-weight: 800; margin-left: 2px; }
.nav__langs { display: none; }
.search { position: relative; width: 260px; }
.search input { width: 100%; height: 44px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; padding: 0 44px 0 18px; font-size: 14px; outline: none; transition: border .2s; }
.search input:focus { border-color: var(--ink); }
.search button { position: absolute; right: 4px; top: 4px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; display: grid; place-items: center; cursor: pointer; }
.cartbtn { position: relative; width: 48px; height: 48px; border-radius: 16px 16px 16px 4px; background: var(--red); color: #fff; display: grid; place-items: center; flex-shrink: 0; transition: transform .2s; }
.cartbtn:hover { transform: rotate(-6deg); }
.cartbtn__count { position: absolute; top: -6px; right: -6px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 800; display: grid; place-items: center; border: 2px solid var(--paper); }
.burger { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; padding: 10px; }
.burger span { display: block; height: 2.5px; background: var(--ink); border-radius: 2px; margin: 6px 0; transition: transform .3s; }
.burger span:last-child { width: 60%; }

/* swash heading: two curved blades under the title */
.swash { position: relative; display: inline-block; padding-bottom: 16px; font-size: clamp(24px, 3vw, 36px); }
.swash::after { content: ''; position: absolute; left: 0; bottom: 0; width: 86px; height: 14px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 86 14'%3E%3Cpath d='M0 2c28 0 50 2 62 8C50 6 26 4 0 2z' fill='none' stroke='%23B01E2B' stroke-width='3.2' stroke-linecap='round'/%3E%3Cpath d='M66 3c8 1 14 3 18 6-6-1-12-2-18-2' fill='none' stroke='%23B01E2B' stroke-width='3.2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat; }
.swash small { font-family: var(--body); font-size: 16px; color: var(--muted); vertical-align: middle; }

/* sections */
.section { padding: 64px 0 0; }
.section--top0 { padding-top: 8px; }
.section--tint { background: var(--sand); margin-top: 64px; padding: 64px 0; position: relative; }
.section--tint::before { content: ''; position: absolute; left: 0; right: 0; top: -1px; height: 48px; background: var(--paper); clip-path: ellipse(70% 100% at 30% 0); }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.more { font-weight: 800; color: var(--red); white-space: nowrap; }
.more:hover { text-decoration: underline; }

/* hero */
.hero { position: relative; overflow: hidden; padding: 56px 0 40px; }
.hero__swoosh { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__in { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; min-height: 520px; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .2em; font-size: 12px; color: var(--red); }
.kicker::before { content: ''; width: 34px; height: 3px; background: var(--red); border-radius: 3px; }
.hero h1 { font-size: clamp(38px, 5.6vw, 76px); margin: 18px 0 20px; }
.hero p { font-size: 18px; color: var(--ink-2); max-width: 520px; margin: 0 0 32px; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__stage { position: relative; aspect-ratio: 1 / .92; }
.hero__blade { position: absolute; left: 6%; top: 4%; width: 88%; height: 88%; border-radius: 0 60% 0 60% / 0 70% 0 70%; background: linear-gradient(145deg, var(--red) 0%, var(--red-d) 100%); transform: rotate(-18deg); box-shadow: 0 40px 80px -40px var(--red-d); }
.hero__blade--thin { left: 74%; top: 18%; width: 18%; height: 56%; transform: rotate(-12deg); border-radius: 0 100% 0 100% / 0 100% 0 100%; opacity: .9; background: var(--red); box-shadow: none; }
.hero__product { position: absolute; inset: 8% 6% 8% 4%; display: block; }
.hero__product img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 30px 30px rgba(0,0,0,.35)); transform: rotate(-8deg); transition: transform .6s; }
.hero__product:hover img { transform: rotate(-2deg) scale(1.03); }
.hero__tag { position: absolute; left: 0; bottom: 0; background: #fff; padding: 14px 18px; border-radius: var(--r-blade); box-shadow: var(--shadow); display: flex; flex-direction: column; max-width: 70%; }
.hero__tag b { font-size: 14px; }
.hero__tag span { color: var(--red); font-weight: 800; }
.hero__mark { position: absolute; inset: 25%; width: 50%; filter: brightness(0) invert(1); opacity: .9; }
.hero__3d { position: absolute; inset: 0; }

/* benefits */
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: 22px; background: #fff; overflow: hidden; }
.benefit { padding: 22px 24px; display: flex; flex-direction: column; gap: 2px; border-left: 1px solid var(--line); position: relative; }
.benefit:first-child { border-left: 0; }
.benefit__n { font-family: var(--display); font-size: 12px; color: var(--red); margin-bottom: 6px; }
.benefit b { font-size: 16px; }
.benefit span:last-child { color: var(--muted); font-size: 14px; }

/* categories */
.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cat { position: relative; min-height: 300px; border-radius: 36px 36px 36px 8px; background: var(--ink); color: #fff; padding: 26px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate; transition: transform .35s; }
.cat::before { content: ''; position: absolute; right: -30%; top: -40%; width: 110%; height: 120%; border-radius: 0 100% 0 100% / 0 100% 0 100%; background: var(--red); transform: rotate(-24deg) translateX(30%); transition: transform .6s cubic-bezier(.2,.8,.2,1); z-index: -1; }
.cat:hover { transform: translateY(-6px); }
.cat:hover::before { transform: rotate(-16deg) translateX(0); }
.cat--clothing { background: #2a2220; }
.cat--accessories { background: #3a2a24; }
.cat__num { position: absolute; top: 22px; left: 26px; font-family: var(--display); font-size: 13px; opacity: .6; }
.cat__art { position: absolute; right: 18px; top: 26px; width: 58%; aspect-ratio: 3/2; background: no-repeat center / contain; transition: transform .6s; }
.cat:hover .cat__art { transform: rotate(-8deg) scale(1.06); }
.cat__name { font-family: var(--display); font-size: 30px; font-weight: 700; }
.cat__count { position: absolute; right: 24px; bottom: 26px; font-family: var(--display); font-size: 48px; opacity: .14; }
.cat__subs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.cat__subs span { font-size: 12px; padding: 3px 10px; border-radius: 999px; background: rgba(255,255,255,.12); }

/* product grid + card */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 20px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.card { position: relative; display: flex; flex-direction: column; }
.card__media { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--r-blade); overflow: hidden; background: var(--sand); }
.card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.8,.2,1), opacity .4s; }
.card__img--alt { opacity: 0; }
.card:hover .card__img { transform: scale(1.05); }
.card:hover .card__img--alt { opacity: 1; }
.card__media::after { content: ''; position: absolute; left: -10%; right: -10%; bottom: -60%; height: 60%; border-radius: 50% 50% 0 0; background: var(--red); opacity: .9; transition: bottom .5s cubic-bezier(.2,.8,.2,1); mix-blend-mode: multiply; pointer-events: none; }
.card:hover .card__media::after { bottom: -52%; }
.card__ph { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(circle at 70% 30%, #fff 0, var(--sand) 70%); }
.card__ph img { width: 34%; opacity: .25; }
.card__ph--big { position: relative; aspect-ratio: 1; border-radius: inherit; }
.card__badges { position: absolute; top: 14px; left: 14px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; z-index: 2; }
.blade { display: inline-block; background: var(--red); color: #fff; font-family: var(--display); font-size: 14px; padding: 6px 16px 6px 12px; border-radius: 4px 22px 22px 4px / 4px 50% 50% 4px; transform: skewX(-10deg); box-shadow: 0 8px 20px -8px var(--red); }
.blade--lg { font-size: 20px; padding: 8px 22px 8px 16px; }
.tag { display: inline-block; background: #fff; color: var(--ink); font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: .06em; }
.tag--promo { background: var(--ink); color: var(--gold); }
.card__sold { position: absolute; inset: auto 0 0; padding: 10px; text-align: center; background: rgba(26,20,20,.75); color: #fff; font-weight: 800; font-size: 13px; z-index: 2; }
.card.is-soldout .card__img { filter: grayscale(1); opacity: .7; }
.card__body { padding: 14px 4px 0; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card__brand { font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.card__name { font-weight: 600; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__name:hover { color: var(--red); }
.card__foot { display: flex; align-items: flex-end; justify-content: space-between; margin-top: auto; padding-top: 6px; }
.price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.price b { font-family: var(--display); font-size: 18px; }
.price b small { font-family: var(--body); font-size: 12px; color: var(--muted); }
.price s { color: var(--muted); font-size: 14px; }
.card__rating { font-size: 13px; font-weight: 800; color: var(--warn); }

/* promotions */
.promos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.promos--list { grid-template-columns: repeat(2, 1fr); }
.promo { position: relative; min-height: 240px; border-radius: 36px 36px 36px 8px; overflow: hidden; background: linear-gradient(135deg, var(--red) 0%, var(--red-d) 100%); color: #fff; display: flex; isolation: isolate; transition: transform .3s; }
.promo:nth-child(3n+2) { background: linear-gradient(135deg, #2a2220, var(--ink)); }
.promo:nth-child(3n+3) { background: linear-gradient(135deg, #3d2a22, #5a2a20); }
.promo:hover { transform: translateY(-4px); }
.promo::before { content: ''; position: absolute; right: -60px; bottom: -80px; width: 260px; height: 260px; background: url(/img/logo-mark-white.png) no-repeat center / contain; opacity: .12; transform: rotate(-10deg); z-index: -1; }
.promo__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .45; }
.promo__body { padding: 28px; display: flex; flex-direction: column; gap: 8px; justify-content: flex-end; width: 100%; }
.promo__badge { align-self: flex-start; background: var(--gold); color: var(--ink); font-family: var(--display); font-size: 13px; padding: 5px 12px; border-radius: 999px; }
.promo__title { font-family: var(--display); font-size: 24px; line-height: 1.15; }
.promo__text { opacity: .85; font-size: 15px; }
.promo__meta { display: flex; justify-content: space-between; align-items: center; font-size: 13px; opacity: .9; margin-top: 8px; }
.promo__go { font-weight: 800; }
.promohero { position: relative; background: linear-gradient(135deg, var(--red), var(--red-d)); color: #fff; padding: 48px 0 64px; overflow: hidden; isolation: isolate; }
.promohero::after { content: ''; position: absolute; right: 4%; top: 10%; width: 360px; height: 360px; background: url(/img/logo-mark-white.png) no-repeat center / contain; opacity: .12; z-index: -1; }
.promohero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .3; z-index: -2; }
.promohero h1 { font-size: clamp(32px, 5vw, 60px); margin: 14px 0; max-width: 800px; }
.promohero p { font-size: 18px; max-width: 640px; opacity: .9; }
.promohero__until { display: inline-block; margin-top: 10px; padding: 8px 16px; border-radius: 999px; background: rgba(0,0,0,.25); font-weight: 800; }

/* page head, crumbs */
.pagehead { padding: 36px 0 24px; }
.pagehead__title { font-size: clamp(30px, 4.4vw, 52px); }
.pagehead__intro { color: var(--muted); max-width: 640px; margin: 12px 0 0; font-size: 17px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.crumbs a:hover { color: var(--red); }
.crumbs b { color: var(--ink); font-weight: 600; }
.crumbs--light { color: rgba(255,255,255,.75); }
.crumbs--product { padding-top: 24px; margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chip { padding: 8px 16px; border-radius: 999px; background: #fff; border: 1.5px solid var(--line); font-weight: 600; font-size: 14px; transition: all .2s; }
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* catalog */
.catalog { display: grid; grid-template-columns: 260px 1fr; gap: 36px; align-items: start; }
.filters { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 22px; background: #fff; border: 1px solid var(--line); border-radius: 24px 24px 24px 6px; padding: 22px; }
.filters__group { display: flex; flex-direction: column; gap: 10px; }
.filters__group > span { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.filters select, .filters input { height: 42px; border: 1.5px solid var(--line); border-radius: 12px; padding: 0 12px; background: var(--paper); outline: none; width: 100%; }
.filters select:focus, .filters input:focus { border-color: var(--ink); }
.filters__price { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.filters__actions { display: flex; gap: 8px; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg label { cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: inline-block; padding: 7px 14px; border-radius: 999px; border: 1.5px solid var(--line); font-size: 14px; font-weight: 600; transition: all .2s; }
.seg input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.seg input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.seg--big span { padding: 12px 18px; border-radius: 14px; }
.catalog__count { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.pager { display: flex; gap: 6px; justify-content: center; margin-top: 40px; }
.pager a { min-width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; border: 1.5px solid var(--line); font-weight: 800; }
.pager a.is-active { background: var(--red); color: #fff; border-color: var(--red); }
.empty { text-align: center; padding: 60px 20px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.empty img { width: 80px; opacity: .3; }
.empty h2 { font-size: 26px; }

/* product page */
.pdp { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; padding-top: 20px; align-items: start; }
.gallery { position: sticky; top: 96px; isolation: isolate; }
.gallery__main { position: relative; aspect-ratio: 1; border-radius: 40px 40px 40px 8px; overflow: hidden; background: var(--sand); }
.gallery__main > img { width: 100%; height: 100%; object-fit: cover; }
.gallery__3d { position: relative; aspect-ratio: 1; border-radius: 40px 40px 40px 8px; overflow: hidden; }
.gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; }
.gallery__thumbs button { flex: 0 0 84px; height: 84px; border-radius: 16px 16px 16px 4px; overflow: hidden; border: 2px solid transparent; padding: 0; cursor: pointer; background: var(--sand); }
.gallery__thumbs button.is-active { border-color: var(--red); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.gallery__tabs { position: absolute; z-index: 5; top: 16px; right: 16px; display: flex; background: rgba(255,255,255,.9); backdrop-filter: blur(8px); border-radius: 999px; padding: 4px; box-shadow: var(--shadow); }
.gallery__tabs button { border: 0; background: none; padding: 8px 16px; border-radius: 999px; font-weight: 800; cursor: pointer; font-size: 13px; }
.gallery__tabs button.is-active { background: var(--ink); color: #fff; }
.pdp__brand { font-size: 12px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--red); margin-bottom: 8px; }
.pdp__name { font-size: clamp(26px, 3vw, 40px); }
.pdp__meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 14px; color: var(--muted); font-size: 14px; }
.stars { position: relative; display: inline-block; font-size: 18px; letter-spacing: 2px; color: var(--line); line-height: 1; }
.stars span { background: linear-gradient(90deg, var(--warn) calc(var(--r) / 5 * 100%), var(--line) 0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stars--sm { font-size: 14px; }
.pdp__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 14px; margin: 26px 0 8px; }
.pdp__price b { font-family: var(--display); font-size: 40px; }
.pdp__price b small { font-family: var(--body); font-size: 16px; color: var(--muted); }
.pdp__price s { color: var(--muted); font-size: 18px; }
.pdp__save { background: var(--red-l); color: var(--red); font-weight: 800; padding: 4px 12px; border-radius: 999px; font-size: 14px; }
.pdp__promo { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font-weight: 800; color: var(--ink); background: var(--gold); padding: 8px 14px; border-radius: 12px 12px 12px 3px; font-size: 14px; }
.pdp__promo span { color: var(--red); text-transform: uppercase; font-size: 11px; letter-spacing: .12em; }
.buy { margin: 28px 0; padding: 24px; border-radius: 28px 28px 28px 6px; background: #fff; border: 1px solid var(--line); }
.buy__label { font-weight: 800; margin-bottom: 12px; display: flex; gap: 10px; }
.buy__label span { color: var(--muted); font-weight: 400; }
.sizes { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.size input { position: absolute; opacity: 0; }
.size span { display: grid; place-items: center; min-width: 54px; height: 50px; padding: 0 12px; border-radius: 14px 14px 14px 4px; border: 1.5px solid var(--line); font-weight: 800; cursor: pointer; transition: all .2s; text-align: center; line-height: 1.1; }
.size span i { display: block; font-style: normal; font-weight: 400; font-size: 11px; color: var(--muted); }
.size:hover span { border-color: var(--ink); }
.size input:checked + span { background: var(--red); border-color: var(--red); color: #fff; }
.size input:checked + span i { color: #fff; }
.size.is-out span { opacity: .35; text-decoration: line-through; cursor: not-allowed; }
.shake { animation: shake .45s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.buy__stock { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; margin-bottom: 16px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--muted); }
.dot--ok { background: var(--ok); box-shadow: 0 0 0 4px rgba(46,139,87,.15); }
.dot--warn { background: var(--warn); box-shadow: 0 0 0 4px rgba(217,138,28,.15); }
.buy__btn { width: 100%; }
.buy__btn.is-done { background: var(--ok); }
.pdp__perks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pdp__perks div { padding: 14px; border-radius: 16px; background: var(--sand); display: flex; flex-direction: column; font-size: 13px; }
.pdp__perks span { color: var(--muted); }
.pdp__desc { margin-top: 32px; }
.pdp__desc h3 { font-size: 18px; margin-bottom: 10px; }
.prose { color: var(--ink-2); font-size: 16px; max-width: 720px; }
.prose p { margin: 0 0 12px; }

/* reviews */
.reviews__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
.reviews__list { display: flex; flex-direction: column; gap: 14px; }
.review { background: #fff; border: 1px solid var(--line); border-radius: 24px 24px 24px 6px; padding: 20px; }
.review__head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.review__ava { width: 36px; height: 36px; border-radius: 12px 12px 12px 3px; background: var(--red); color: #fff; display: grid; place-items: center; font-family: var(--display); font-size: 14px; }
.review time { margin-left: auto; color: var(--muted); font-size: 13px; }
.review p { margin: 0; color: var(--ink-2); white-space: pre-line; }
.reviewform { background: var(--ink); color: #fff; padding: 26px; border-radius: 28px 28px 28px 6px; display: flex; flex-direction: column; gap: 14px; position: sticky; top: 96px; }
.reviewform h3 { font-size: 20px; }
.reviewform .field input, .reviewform .field textarea { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.15); color: #fff; }
.reviewform .field span { color: rgba(255,255,255,.7); }
.reviewform .btn--dark { background: var(--red); }
.rate { display: flex; align-items: center; justify-content: space-between; }
.rate span { font-size: 14px; color: rgba(255,255,255,.7); }
.rate__stars { display: flex; flex-direction: row-reverse; }
.rate__stars input { position: absolute; opacity: 0; }
.rate__stars label { font-size: 30px; color: rgba(255,255,255,.25); cursor: pointer; padding: 0 2px; transition: color .15s; }
.rate__stars input:checked ~ label, .rate__stars label:hover, .rate__stars label:hover ~ label { color: var(--warn); }

/* fields */
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span { font-size: 13px; font-weight: 600; color: var(--muted); }
.field input, .field textarea, .field select { width: 100%; border: 1.5px solid var(--line); border-radius: 14px; padding: 12px 14px; background: #fff; outline: none; transition: border .2s; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--ink); }
.flash { padding: 14px 18px; border-radius: 14px; font-weight: 600; margin: 12px 0; }
.flash--ok { background: #E6F4EC; color: #1d6b41; }
.flash--err { background: var(--red-l); color: var(--red-d); }

/* cart & checkout */
.cart, .checkout { display: grid; grid-template-columns: 1fr 380px; gap: 36px; align-items: start; }
.cart__items { display: flex; flex-direction: column; gap: 12px; }
.line { display: grid; grid-template-columns: 96px 1fr auto auto; gap: 18px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 24px 24px 24px 6px; padding: 14px; }
.line.is-out { opacity: .5; }
.line__img { width: 96px; height: 96px; border-radius: 16px 16px 16px 4px; overflow: hidden; background: var(--sand); display: grid; place-items: center; }
.line__img img { width: 100%; height: 100%; object-fit: cover; }
.line__img img.ph, .mini__line img.ph { width: 50%; height: auto; opacity: .3; object-fit: contain; }
.line__info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.line__name { font-weight: 800; }
.line__opt { color: var(--muted); font-size: 14px; }
.line__rm { align-self: flex-start; border: 0; background: none; padding: 0; color: var(--red); font-size: 13px; font-weight: 600; cursor: pointer; margin-top: 6px; }
.line__price { text-align: right; display: flex; flex-direction: column; }
.line__price b { font-family: var(--display); font-size: 16px; white-space: nowrap; }
.line__price s { color: var(--muted); font-size: 13px; }
.qty { display: flex; align-items: center; background: var(--sand); border-radius: 999px; padding: 4px; }
.qty button { width: 32px; height: 32px; border-radius: 50%; border: 0; background: #fff; cursor: pointer; font-weight: 800; font-size: 16px; }
.qty button[disabled] { opacity: .35; }
.qty span { min-width: 32px; text-align: center; font-weight: 800; }
.summary { position: sticky; top: 96px; background: #fff; border: 1px solid var(--line); border-radius: 28px 28px 28px 6px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.summary h3 { font-size: 18px; margin-bottom: 6px; }
.summary__row { display: flex; justify-content: space-between; color: var(--ink-2); }
.summary__row--total { border-top: 1px dashed var(--line); padding-top: 14px; margin-top: 4px; font-size: 18px; color: var(--ink); }
.summary__row--total b { font-family: var(--display); color: var(--red); }
.mini { display: flex; flex-direction: column; gap: 10px; max-height: 340px; overflow: auto; margin-bottom: 8px; }
.mini__line { display: grid; grid-template-columns: 52px 1fr auto; gap: 10px; align-items: center; font-size: 14px; }
.mini__line img { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; background: var(--sand); }
.mini__line span { display: flex; flex-direction: column; min-width: 0; }
.mini__line small { color: var(--muted); }
.checkout__form { display: flex; flex-direction: column; gap: 22px; }
.checkout fieldset { border: 1px solid var(--line); border-radius: 28px 28px 28px 6px; background: #fff; padding: 24px; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.checkout legend { font-family: var(--display); font-size: 18px; padding: 0 8px; display: flex; align-items: center; gap: 10px; }
.checkout legend span { width: 30px; height: 30px; border-radius: 10px 10px 10px 3px; background: var(--red); color: #fff; display: grid; place-items: center; font-size: 14px; }
.loader { width: 36px; height: 36px; margin: 30px auto; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--red); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* 404 / success */
.notfound { text-align: center; padding: 80px 24px; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.notfound__code { display: flex; align-items: center; font-family: var(--display); font-size: 140px; line-height: 1; color: var(--ink); }
.notfound__code img { width: 120px; margin: 0 6px; animation: swing 3s ease-in-out infinite; }
@keyframes swing { 50% { transform: rotate(-16deg); } }
.notfound p { color: var(--muted); max-width: 520px; font-size: 17px; margin: 0; }
.success__mark { width: 120px; height: 120px; border-radius: 40px 40px 40px 10px; background: var(--red-l); display: grid; place-items: center; }
.success__mark img { width: 70px; animation: swing 3s ease-in-out infinite; }
.success__sum { font-size: 20px; }

/* footer */
.gul-band { height: 48px; background: url(/img/gul.svg) repeat-x center / auto 48px; margin-top: 96px; }
.footer { background: var(--ink); color: #c9bfb6; padding: 56px 0 28px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.footer__grid > div { display: flex; flex-direction: column; gap: 10px; }
.footer h4 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 6px; }
.footer a:hover { color: #fff; }
.footer__about p { margin: 12px 0 0; max-width: 360px; font-size: 14px; }
.footer__bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; color: #8f847b; }

/* toast */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 140%); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 18px 18px 18px 4px; display: flex; align-items: center; gap: 10px; font-weight: 600; z-index: 100; box-shadow: 0 20px 40px -10px rgba(0,0,0,.4); transition: transform .45s cubic-bezier(.3,1.4,.5,1); }
.toast img { width: 22px; }
.toast a { color: var(--gold); font-weight: 800; }
.toast.is-in { transform: translate(-50%, 0); }

/* responsive */
@media (max-width: 1100px) {
  .search { display: none; }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .header__in { height: 64px; gap: 12px; justify-content: space-between; }
  .burger { display: block; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--paper); padding: 16px 24px 28px; border-bottom: 1px solid var(--line); transform: translateY(-10px); opacity: 0; visibility: hidden; pointer-events: none; transition: transform .35s cubic-bezier(.2,.8,.2,1), opacity .25s, visibility .35s; box-shadow: var(--shadow); max-height: calc(100vh - 64px); overflow-y: auto; }
  .nav > a { font-size: 20px; padding: 12px 0; font-family: var(--display); }
  .nav > a::after { left: 0; right: auto; width: 40px; }
  .nav__langs { display: flex; gap: 8px; margin-top: 12px; }
  .nav__langs a { border: 1.5px solid var(--line); padding: 6px 14px; }
  .nav__langs a.is-active { background: var(--red); color: #fff; border-color: var(--red); }
  .nav-open .nav { transform: none; opacity: 1; visibility: visible; pointer-events: auto; }
  .gallery__3d { aspect-ratio: 4 / 5; }
  .s3d__panel { left: 8px; right: 8px; bottom: 8px; gap: 8px 12px; }
  .nav-open .burger span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav-open .burger span:last-child { width: 100%; transform: translateY(-4.5px) rotate(-45deg); }
  .topbar__note { display: none; }
  .topbar__in { justify-content: space-between; }
  .hero { padding-top: 28px; }
  .hero__in { grid-template-columns: 1fr; min-height: 0; gap: 12px; }
  .hero__stage { max-width: 520px; width: 100%; margin: 0 auto; }
  .benefits { grid-template-columns: 1fr 1fr; }
  .benefit:nth-child(3) { border-left: 0; }
  .benefit:nth-child(n+3) { border-top: 1px solid var(--line); }
  .cats, .promos, .promos--list { grid-template-columns: 1fr; }
  .cat { min-height: 220px; }
  .grid, .grid--3 { grid-template-columns: repeat(2, 1fr); gap: 22px 12px; }
  .catalog, .pdp, .reviews__grid, .cart, .checkout { grid-template-columns: 1fr; }
  .filters, .summary, .reviewform { position: static; }
  .gallery { position: relative; top: 0; }
  .pdp { gap: 24px; }
  .line { grid-template-columns: 72px 1fr; }
  .line__img { width: 72px; height: 72px; }
  .line .qty { grid-column: 2; justify-self: start; }
  .line__price { grid-column: 2; text-align: left; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .section { padding-top: 44px; }
  .price b { font-size: 15px; }
  .card__name { font-size: 14px; }
  .blade { font-size: 12px; padding: 4px 12px 4px 9px; }
  .footer__grid { grid-template-columns: 1fr; }
  .pdp__price b { font-size: 32px; }
  .brand__word b { font-size: 17px; }
  .notfound__code { font-size: 90px; }
  .notfound__code img { width: 76px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* 3D viewer */
.s3d { position: relative; width: 100%; height: 100%; min-height: 360px; background: radial-gradient(circle at 60% 35%, #fff 0, var(--sand) 75%); border-radius: inherit; overflow: hidden; user-select: none; }
.s3d--hero { background: none; min-height: 0; }
.s3d__canvas { position: absolute; inset: 0; cursor: grab; }
.s3d__canvas:active { cursor: grabbing; }
.s3d__canvas canvas { width: 100% !important; height: 100% !important; display: block; outline: none; }
.s3d__loading { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; transition: opacity .4s; }
.s3d.is-ready .s3d__loading { opacity: 0; }
.s3d__hint { position: absolute; top: 18px; left: 20px; font-size: 12px; font-weight: 700; color: var(--muted); background: rgba(255,255,255,.75); padding: 5px 10px; border-radius: 999px; pointer-events: none; }
.s3d__panel { position: absolute; left: 14px; right: 14px; bottom: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; background: rgba(255,255,255,.88); backdrop-filter: blur(10px); border-radius: 20px 20px 20px 6px; padding: 12px 16px; box-shadow: var(--shadow); }
.s3d__cut { display: flex; align-items: center; gap: 10px; flex: 1 1 180px; font-weight: 800; font-size: 13px; }
.s3d__cut input { flex: 1; accent-color: var(--red); }
.s3d__btns { display: flex; gap: 6px; }
.s3d__btns button { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 7px 12px; font-weight: 800; font-size: 12px; cursor: pointer; transition: all .2s; }
.s3d__btns button:hover { border-color: var(--ink); }
.s3d__btns button.is-active { background: var(--red); border-color: var(--red); color: #fff; }
.s3d__colors { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 800; }
.s3d__colors span { margin-right: 4px; }
.s3d__colors button { width: 24px; height: 24px; border-radius: 50%; background: var(--c); border: 2px solid #fff; box-shadow: 0 0 0 1.5px var(--line); cursor: pointer; padding: 0; }
.s3d__colors button.is-active { box-shadow: 0 0 0 2px var(--red); }
.s3d__labels { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.s3d__label { position: absolute; left: 0; top: 0; opacity: 0; transition: opacity .3s; will-change: transform; }
.s3d__label.is-on { opacity: 1; }
.s3d__label i { position: absolute; left: -4px; top: -4px; width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 3px rgba(255,255,255,.9); }
.s3d__label span { position: absolute; left: 12px; top: -11px; white-space: nowrap; font-size: 11.5px; font-weight: 800; background: var(--ink); color: #fff; padding: 3px 9px; border-radius: 10px 10px 10px 2px; }
.hero__3d { position: absolute; inset: -6% -8% 0 -8%; }
.hero__badge { position: absolute; right: 4%; top: 2%; background: var(--ink); color: var(--gold); font-family: var(--display); font-size: 12px; padding: 7px 14px; border-radius: 999px; letter-spacing: .04em; }
.hero__stage .hero__tag { z-index: 2; }
@media (max-width: 560px) { .s3d__label span { font-size: 10px; } .s3d__panel { padding: 10px 12px; } .s3d__hint { display: none; } }

/* craft page */
.craft { padding: 36px 0 0; }
.craft__head { margin-bottom: 26px; }
.craft__head .kicker { margin-bottom: 10px; }
.craft__viewer { height: min(72vh, 680px); min-height: 420px; border-radius: 40px 40px 40px 8px; overflow: hidden; }
.craft__try { text-align: center; color: var(--muted); font-size: 14px; margin: 14px 0 0; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.step { background: #fff; border: 1px solid var(--line); border-radius: 28px 28px 28px 6px; padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.step__n { font-family: var(--display); color: var(--red); font-size: 14px; }
.step b { font-family: var(--display); font-size: 18px; font-weight: 700; }
.step p { margin: 0; color: var(--ink-2); }
.craft__cta { text-align: center; margin-top: 36px; }
.craft__note { text-align: center; font-size: 13px; margin-top: 14px; }
.about { display: grid; grid-template-columns: 1fr 260px; gap: 40px; align-items: center; }
.about__mark { width: 220px; opacity: .9; justify-self: center; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } .about { grid-template-columns: 1fr; } .about__mark { width: 120px; } .craft__viewer { height: 480px; } }
.gallery__credit { font-size: 11px; color: var(--muted); margin: 8px 4px 0; }
