/* ==========================================================================
   Anna Logor — online store
   ========================================================================== */
:root {
  --white: #fff;
  --bg: #fff;
  --soft: #f5f4f2;
  --soft-2: #ecebe8;
  --line: #e4e2de;
  --text: #151515;
  --muted: #6e6a65;
  --accent: #a3192b;
  --accent-dark: #85111f;
  --dark: #151515;
  --ok: #2f7d4f;

  --font: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --gutter: clamp(16px, 3vw, 40px);
  --r: 2px;
  --ease: cubic-bezier(.25, .8, .25, 1);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 140px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 15px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.container { width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
svg.i { width: 22px; height: 22px; flex-shrink: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 28px; border-radius: var(--r);
  background: var(--dark); color: #fff; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  transition: background .25s, color .25s, box-shadow .25s, transform .15s; white-space: nowrap;
}
.btn:hover { background: var(--accent); }
.btn:active { transform: translateY(1px); }
.btn--accent { background: var(--accent); }
.btn--accent:hover { background: var(--accent-dark); }
.btn--line { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--text); }
.btn--line:hover { background: var(--text); color: #fff; }
.btn--white { background: #fff; color: var(--text); }
.btn--white:hover { background: var(--accent); color: #fff; }
.btn--sm { height: 40px; padding: 0 18px; font-size: 12px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.btn svg { width: 16px; height: 16px; }
.link { font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; display: inline-flex; align-items: center; gap: 8px; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; transition: color .2s; white-space: nowrap; }
.link:hover { color: var(--accent); }
.link svg { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.link:hover svg { transform: translateX(3px); }

/* ---------- Top bar ---------- */
.topbar { background: var(--soft); font-size: 12px; color: var(--muted); }
.topbar .container { display: flex; align-items: center; justify-content: space-between; height: 36px; gap: 20px; }
.topbar b { color: var(--text); font-weight: 600; }
.topbar nav { display: flex; gap: 24px; }
.topbar nav a, .topbar nav button { transition: color .2s; }
.topbar nav a:hover, .topbar nav button:hover { color: var(--text); }
.topbar__lang { font-weight: 600; color: var(--text); }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: #fff; transition: box-shadow .3s; }
.header.is-scrolled { box-shadow: 0 2px 16px rgba(0, 0, 0, .06); }
.header__main { position: relative; height: var(--header-h); display: flex; align-items: center; gap: 32px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { width: 30px; height: auto; }
.brand__word { font-weight: 700; font-size: 17px; letter-spacing: .2em; text-transform: uppercase; line-height: 1; }
.brand__word small { display: block; font-weight: 500; font-size: 9px; letter-spacing: .18em; color: var(--muted); margin-top: 5px; }
.search { position: relative; flex: 1; max-width: 560px; }
.search input {
  width: 100%; height: 44px; padding: 0 48px 0 16px; border: 1.5px solid var(--line); border-radius: var(--r); background: #fff;
  font-size: 14px; outline: none; transition: border-color .2s;
}
.search input:focus { border-color: var(--text); }
.search input::placeholder { color: #9a958f; }
.search__btn { position: absolute; right: 0; top: 0; width: 46px; height: 44px; display: grid; place-items: center; color: var(--muted); }
.search__drop {
  position: absolute; left: 0; right: 0; top: calc(100% + 6px); background: #fff; border: 1px solid var(--line); box-shadow: 0 12px 30px rgba(0, 0, 0, .1);
  max-height: 420px; overflow-y: auto; display: none; z-index: 5;
}
.search__drop.is-open { display: block; animation: fadeDown .2s var(--ease); }
.search__item { display: grid; grid-template-columns: 48px 1fr auto; gap: 14px; align-items: center; padding: 10px 14px; cursor: pointer; width: 100%; text-align: left; }
.search__item:hover, .search__item.is-active { background: var(--soft); }
.search__item img { width: 48px; height: 48px; object-fit: contain; background: var(--soft); padding: 4px; }
.search__item span { font-size: 13px; font-weight: 600; line-height: 1.3; }
.search__item small { display: block; color: var(--muted); font-weight: 400; font-size: 12px; }
.search__item b { font-size: 13px; }
.search__empty { padding: 18px; font-size: 13px; color: var(--muted); }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-6px); } }

.header__actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.cart-btn { display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 6px 0 10px; border-radius: var(--r); transition: background .2s; }
.cart-btn:hover { background: var(--soft); }
.cart-btn__ico { position: relative; display: grid; }
.cart-btn__sum { font-size: 13px; font-weight: 700; text-align: left; line-height: 1.2; }
.cart-btn__sum small { display: block; font-weight: 400; color: var(--muted); font-size: 11px; }
.bag-count {
  position: absolute; top: -7px; right: -9px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--accent); color: #fff; font-size: 10px; font-weight: 700; display: grid; place-items: center;
  transform: scale(0); transition: transform .3s var(--ease);
}
.bag-count.is-visible { transform: scale(1); }
.bag-count.bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.4); } }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: var(--r); transition: background .2s; }
.icon-btn:hover { background: var(--soft); }
.burger, .search-toggle { display: none; }

.catnav { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.catnav .container { display: flex; align-items: center; gap: 4px; height: 48px; overflow-x: auto; scrollbar-width: none; }
.catnav .container::-webkit-scrollbar { display: none; }
.catnav a, .catnav button {
  position: relative; display: inline-flex; align-items: center; gap: 8px; height: 100%; padding: 0 14px; flex-shrink: 0;
  font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; transition: color .2s;
}
.catnav a::after, .catnav button::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 2px; background: var(--accent); transform: scaleX(0); transition: transform .25s var(--ease); }
.catnav a:hover, .catnav button:hover { color: var(--accent); }
.catnav a:hover::after, .catnav button:hover::after { transform: scaleX(1); }
.catnav .is-hot { color: var(--accent); }
.catnav__sep { width: 1px; height: 20px; background: var(--line); margin: 0 8px; flex-shrink: 0; }

/* Mobile menu */
.mnav { position: fixed; z-index: 100; top: 0; left: 0; bottom: 0; width: min(360px, 88%); background: #fff; transform: translateX(-100%); transition: transform .4s var(--ease), visibility .4s; display: flex; flex-direction: column; visibility: hidden; }
.mnav.is-open { transform: none; visibility: visible; }
.mnav__head { display: flex; align-items: center; justify-content: space-between; padding: 10px 10px 10px 16px; border-bottom: 1px solid var(--line); }
.mnav__body { flex: 1; overflow-y: auto; padding: 4px 0; }
.mnav__body a, .mnav__body button { display: flex; width: 100%; justify-content: space-between; align-items: center; padding: 15px 20px; font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; border-bottom: 1px solid var(--soft-2); text-align: left; }
.mnav__body svg { width: 16px; height: 16px; color: var(--muted); }
.mnav__foot { padding: 16px 20px 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); display: grid; gap: 12px; }

/* ---------- Hero slider ---------- */
.hero { padding: 20px 0 0; }
.slider { position: relative; overflow: hidden; border-radius: var(--r); background: var(--soft); }
.slides { display: flex; transition: transform .7s var(--ease); }
.slide { position: relative; flex: 0 0 100%; min-height: 460px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; overflow: hidden; background: var(--bg-c, var(--soft)); color: var(--fg-c, var(--text)); }
.slide__text { padding: 48px 0 64px clamp(24px, 5vw, 72px); position: relative; z-index: 2; }
.slide__tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 6px 10px; background: var(--accent); color: #fff; margin-bottom: 20px; }
.slide h2 { margin: 0 0 16px; font-size: clamp(30px, 3.8vw, 52px); line-height: 1.05; font-weight: 700; letter-spacing: -.01em; text-transform: uppercase; }
.slide p { margin: 0 0 28px; max-width: 44ch; font-size: 15px; opacity: .8; }
.slide__btns { display: flex; gap: 10px; flex-wrap: wrap; }
.slide__media { position: relative; height: 100%; min-height: 460px; }
.slide__media img { position: absolute; bottom: 9%; height: auto; filter: drop-shadow(0 24px 24px rgba(0, 0, 0, .15)); transition: transform .9s var(--ease), opacity .7s; }
.slide:not(.is-active) .slide__media img { opacity: 0; transform: translateY(40px); }
.slide.is-active .slide__media img:nth-child(3) { transition-delay: .08s; }
.slide.is-active .slide__media img:nth-child(4) { transition-delay: .16s; }
.slide__text > * { transition: opacity .6s .15s, transform .7s .15s var(--ease); }
.slide:not(.is-active) .slide__text > * { opacity: 0; transform: translateY(16px); }
.slide__circle { position: absolute; left: 50%; top: 50%; width: 76%; aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -46%); background: rgba(255, 255, 255, .5); }
.slide--dark .slide__circle { background: rgba(255, 255, 255, .05); }
.slider__nav { position: absolute; z-index: 3; left: clamp(24px, 5vw, 72px); bottom: 24px; display: flex; gap: 8px; }
.slider__dot { width: 28px; height: 3px; background: rgba(0, 0, 0, .18); transition: background .3s, width .3s; }
.slider__dot.is-active { width: 48px; background: var(--accent); }
.slider.on-dark .slider__dot { background: rgba(255, 255, 255, .3); }
.slider.on-dark .slider__dot.is-active { background: #fff; }
.slider__arrow { position: absolute; z-index: 3; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; display: grid; place-items: center; background: #fff; border-radius: 50%; box-shadow: 0 4px 14px rgba(0, 0, 0, .1); opacity: 0; transition: opacity .25s, background .2s, color .2s; }
.slider:hover .slider__arrow { opacity: 1; }
.slider__arrow:hover { background: var(--dark); color: #fff; }
.slider__arrow--prev { left: 16px; }
.slider__arrow--next { right: 16px; }
.slider__arrow svg { width: 18px; height: 18px; }

/* ---------- Benefits ---------- */
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); margin-top: 20px; }
.benefit { display: flex; align-items: center; gap: 14px; padding: 18px 22px; }
.benefit + .benefit { border-left: 1px solid var(--line); }
.benefit svg { width: 30px; height: 30px; color: var(--accent); flex-shrink: 0; }
.benefit b { display: block; font-size: 13px; font-weight: 700; line-height: 1.3; }
.benefit span { font-size: 12px; color: var(--muted); line-height: 1.35; display: block; }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section--soft { background: var(--soft); }
.section--tight { padding-top: 0; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.sec-head h2 { margin: 0; font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; text-transform: uppercase; letter-spacing: .01em; line-height: 1.15; }
.sec-head p { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.sec-head__right { display: flex; align-items: center; gap: 18px; }
.arrows { display: flex; gap: 6px; }
.arrows button { width: 40px; height: 40px; border: 1.5px solid var(--line); display: grid; place-items: center; border-radius: var(--r); transition: border-color .2s, background .2s, color .2s; }
.arrows button:hover { background: var(--dark); border-color: var(--dark); color: #fff; }
.arrows svg { width: 16px; height: 16px; }

/* Skin need tiles */
.needs { display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; }
.need { position: relative; background: var(--soft); border-radius: var(--r); padding: 16px 14px; display: flex; flex-direction: column; cursor: pointer; overflow: hidden; transition: background .25s; text-align: left; }
.need::before { content: ''; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: var(--c); }
.need:hover { background: var(--soft-2); }
.need__img { height: 150px; display: grid; place-items: center; margin-bottom: 12px; }
.need__img img { max-height: 140px; width: auto; transition: transform .4s var(--ease); }
.need:hover .need__img img { transform: translateY(-6px); }
.need b { font-size: 13px; font-weight: 700; line-height: 1.25; }
.need span { font-size: 12px; color: var(--muted); margin-top: 4px; line-height: 1.3; }
.need small { font-size: 11px; color: var(--muted); margin-top: 8px; font-weight: 600; }

/* ---------- Product card ---------- */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 16px) / 4); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.card { position: relative; display: flex; flex-direction: column; background: #fff; }
.card.is-entering { animation: cardIn .45s var(--ease) both; }
@keyframes cardIn { from { opacity: 0; transform: translateY(14px); } }
.card__media { position: relative; display: block; aspect-ratio: 1; background: var(--soft); border-radius: var(--r); overflow: hidden; cursor: pointer; }
.card__media img { position: absolute; left: 15%; top: 10%; width: 70%; height: 80%; object-fit: contain; transition: transform .5s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__badges { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; z-index: 1; }
.badge { font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 7px; background: var(--dark); color: #fff; line-height: 1.2; }
.badge--new { background: #2b5f9e; }
.badge--hit { background: var(--accent); }
.badge--pro { background: #fff; color: var(--text); box-shadow: inset 0 0 0 1px var(--text); }
.card__series { position: absolute; right: 12px; top: 12px; width: 6px; height: 22px; background: var(--c); }
.card__quick { position: absolute; left: 10px; right: 10px; bottom: 10px; height: 38px; background: rgba(255, 255, 255, .95); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; display: grid; place-items: center; opacity: 0; transform: translateY(8px); transition: opacity .25s, transform .3s var(--ease), color .2s; }
.card__quick:hover { color: var(--accent); }
.card:hover .card__quick { opacity: 1; transform: none; }
.card__body { padding: 12px 2px 0; display: flex; flex-direction: column; flex: 1; }
.card__art { font-size: 11px; color: var(--muted); }
.card__name { margin: 4px 0 2px; font-size: 14px; font-weight: 600; line-height: 1.35; cursor: pointer; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color .2s; }
.card__name:hover { color: var(--accent); }
.card__sub { font-size: 12px; color: var(--muted); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 12px; }
.card__price { font-size: 17px; font-weight: 700; line-height: 1.1; white-space: nowrap; }
.card__price small { display: block; font-size: 11px; font-weight: 500; color: var(--muted); margin-top: 3px; }
.card__buy { height: 40px; padding: 0 16px; background: var(--dark); color: #fff; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; border-radius: var(--r); display: inline-flex; align-items: center; justify-content: center; gap: 8px; transition: background .2s; flex-shrink: 0; }
.card__buy:hover { background: var(--accent); }
.card__buy svg { width: 16px; height: 16px; }
.card__buy.is-added { background: var(--ok); }

/* cards on a grey section sit on white tiles */
.section--soft .card { padding-bottom: 14px; transition: box-shadow .3s; }
.section--soft .card:hover { box-shadow: 0 10px 30px rgba(0, 0, 0, .07); }
.section--soft .card__media { background: #fff; }
.section--soft .card__body { padding: 4px 14px 0; }

/* ---------- Promo banners ---------- */
.promos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.promo { position: relative; min-height: 300px; border-radius: var(--r); overflow: hidden; display: flex; align-items: center; padding: 36px; background: var(--soft); }
.promo--dark { background: var(--dark); color: #fff; }
.promo--warm { background: #efe6df; }
.promo__text { position: relative; z-index: 2; max-width: 54%; }
.promo__text small { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.promo--dark .promo__text small { color: #e7a3ac; }
.promo h3 { margin: 10px 0 10px; font-size: clamp(22px, 2.2vw, 30px); font-weight: 700; line-height: 1.15; text-transform: uppercase; }
.promo p { margin: 0 0 22px; font-size: 14px; opacity: .8; }
.promo__imgs { position: absolute; right: 0; bottom: 0; top: 0; width: 50%; }
.promo__imgs img { position: absolute; bottom: 12%; height: auto; filter: drop-shadow(0 18px 18px rgba(0, 0, 0, .18)); transition: transform .6s var(--ease); }
.promo:hover .promo__imgs img:nth-child(1) { transform: translateY(-6px); }
.promo:hover .promo__imgs img:nth-child(2) { transform: translateY(-10px); }
.promo:hover .promo__imgs img:nth-child(3) { transform: translateY(-4px); }

/* ---------- Catalog ---------- */
.catalog { display: grid; grid-template-columns: 240px 1fr; gap: 36px; align-items: start; }
.filters { position: sticky; top: calc(var(--header-h) + 64px); }
.filters__head, .filters__apply { display: none; }
.fgroup { border-bottom: 1px solid var(--line); padding: 18px 0; }
.fgroup:first-of-type { padding-top: 0; }
.fgroup h4 { margin: 0 0 12px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.fopt { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-size: 14px; cursor: pointer; user-select: none; }
.fopt input { appearance: none; -webkit-appearance: none; width: 18px; height: 18px; border: 1.5px solid #c9c5bf; border-radius: 2px; margin: 0; display: grid; place-items: center; flex-shrink: 0; cursor: pointer; transition: .15s; }
.fopt input:checked { background: var(--dark); border-color: var(--dark); }
.fopt input:checked::after { content: ''; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: translateY(-1px) rotate(45deg); }
.fopt i { width: 6px; height: 16px; background: var(--c); flex-shrink: 0; }
.fopt span { flex: 1; transition: color .15s; }
.fopt small { color: var(--muted); font-size: 12px; }
.fopt:hover span { color: var(--accent); }
.filters__reset { margin-top: 16px; font-size: 13px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.cat-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 18px; flex-wrap: wrap; }
.cat-top__count { font-size: 14px; color: var(--muted); }
.cat-top__count b { color: var(--text); }
.cat-top__right { display: flex; gap: 10px; align-items: center; }
.filters-btn { display: none; }
.sel { position: relative; }
.sel select { appearance: none; -webkit-appearance: none; height: 40px; padding: 0 38px 0 14px; border: 1.5px solid var(--line); border-radius: var(--r); background: #fff; font-size: 13px; font-weight: 500; cursor: pointer; }
.sel::after { content: ''; position: absolute; right: 15px; top: 50%; width: 6px; height: 6px; border-right: 1.5px solid; border-bottom: 1.5px solid; transform: translateY(-75%) rotate(45deg); pointer-events: none; }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.active-filters:empty { display: none; }
.afilter { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 10px; background: var(--soft); font-size: 12px; font-weight: 600; transition: background .2s; }
.afilter svg { width: 12px; height: 12px; }
.afilter:hover { background: var(--soft-2); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 16px; }
.empty { grid-column: 1 / -1; padding: 60px 0; text-align: center; color: var(--muted); }
.empty button { color: var(--text); font-weight: 600; text-decoration: underline; }

/* ---------- Rituals ---------- */
.rit { display: grid; grid-template-columns: 280px 1fr; border: 1px solid var(--line); background: #fff; }
.rit__tabs { border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.rit__tab { text-align: left; padding: 20px 22px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 14px; transition: background .2s; position: relative; }
.rit__tab:last-child { border-bottom: 0; }
.rit__tab::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--accent); transform: scaleY(0); transition: transform .3s var(--ease); }
.rit__tab:hover { background: #faf9f8; }
.rit__tab.is-active { background: var(--soft); }
.rit__tab.is-active::before { transform: scaleY(1); }
.rit__tab i { width: 6px; height: 26px; background: var(--c); flex-shrink: 0; }
.rit__tab b { display: block; font-size: 14px; font-weight: 700; text-transform: uppercase; }
.rit__tab span { font-size: 12px; color: var(--muted); }
.rit__body { padding: 28px; display: grid; grid-template-columns: 1fr 240px; gap: 28px; align-items: center; }
.rit__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.rit__step { background: var(--soft); padding: 16px; text-align: center; cursor: pointer; transition: background .2s; animation: cardIn .45s var(--ease) both; }
.rit__step:nth-child(2) { animation-delay: .05s; }
.rit__step:nth-child(3) { animation-delay: .1s; }
.rit__step:hover { background: var(--soft-2); }
.rit__step .n { font-size: 11px; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: .08em; }
.rit__step img { height: 150px; width: auto; margin: 12px auto; }
.rit__step b { display: block; font-size: 13px; font-weight: 600; line-height: 1.3; }
.rit__step small { color: var(--muted); font-size: 12px; }
.rit__sum h3 { margin: 0 0 6px; font-size: 20px; font-weight: 700; text-transform: uppercase; }
.rit__sum p { margin: 0 0 18px; color: var(--muted); font-size: 13px; }
.rit__price { display: flex; align-items: baseline; gap: 10px; margin-bottom: 2px; }
.rit__price b { font-size: 28px; font-weight: 700; }
.rit__price s { color: var(--muted); font-size: 15px; }
.rit__save { display: block; font-size: 12px; font-weight: 700; color: var(--accent); margin-bottom: 16px; }

/* ---------- Pro ---------- */
.pro { background: var(--dark); color: #fff; }
.pro__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.pro h2 { margin: 0 0 14px; font-size: clamp(26px, 3vw, 40px); font-weight: 700; text-transform: uppercase; line-height: 1.1; }
.pro__lead { color: #bdb8b2; margin: 0 0 30px; max-width: 52ch; }
.pro__list { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: #2f2e2c; border: 1px solid #2f2e2c; margin-bottom: 30px; }
.pro__item { background: var(--dark); padding: 20px; }
.pro__item b { display: block; font-size: 14px; margin-bottom: 4px; }
.pro__item span { font-size: 13px; color: #a9a49e; }
.pro__media { position: relative; aspect-ratio: 1.1; background: #ece7e1; border-radius: var(--r); overflow: hidden; }
.pro__media img { position: absolute; bottom: 12%; filter: drop-shadow(0 20px 22px rgba(0, 0, 0, .18)); }
.pro__media .m1 { left: 10%; height: 62%; }
.pro__media .m2 { left: 38%; height: 30%; z-index: 1; bottom: 11%; }
.pro__media .m3 { left: 70%; height: 54%; }
.pro__tag { position: absolute; left: 20px; top: 20px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: 8px 12px; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }
.about h2 { margin: 0 0 18px; font-size: clamp(24px, 2.6vw, 34px); font-weight: 700; text-transform: uppercase; line-height: 1.15; }
.about p { color: #4c4844; margin: 0 0 14px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fact { background: var(--soft); padding: 22px; }
.fact b { display: block; font-size: 30px; font-weight: 700; line-height: 1; margin-bottom: 8px; color: var(--accent); }
.fact span { font-size: 13px; color: var(--muted); line-height: 1.4; display: block; }
.suppliers { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.suppliers small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.suppliers div { display: flex; flex-wrap: wrap; gap: 8px 22px; font-weight: 700; font-size: 13px; letter-spacing: .12em; color: #8d8882; }

/* ---------- FAQ + text ---------- */
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.faq h2 { margin: 0 0 20px; font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; text-transform: uppercase; }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__item:first-child { border-top: 1px solid var(--line); }
.acc__q { width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-size: 15px; font-weight: 600; transition: color .2s; }
.acc__q:hover { color: var(--accent); }
.acc__icon { position: relative; width: 12px; height: 12px; flex-shrink: 0; }
.acc__icon::before, .acc__icon::after { content: ''; position: absolute; left: 0; top: 50%; width: 100%; height: 2px; margin-top: -1px; background: currentColor; transition: transform .3s var(--ease); }
.acc__icon::after { transform: rotate(90deg); }
.acc__item.is-open .acc__icon::after { transform: rotate(0); }
.acc__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
.acc__item.is-open .acc__a { grid-template-rows: 1fr; }
.acc__a > div { overflow: hidden; }
.acc__a p { margin: 0 0 18px; color: #4c4844; font-size: 14px; }
.seo h3 { margin: 0 0 12px; font-size: 17px; font-weight: 700; }
.seo p { font-size: 14px; color: #5b5752; margin: 0 0 12px; }

/* ---------- Subscribe ---------- */
.subscribe { background: var(--soft); padding: 40px 0; }
.subscribe .container { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.subscribe h3 { margin: 0; font-size: 20px; font-weight: 700; text-transform: uppercase; }
.subscribe p { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.subscribe form { display: flex; flex-wrap: wrap; flex: 1; max-width: 520px; min-width: 280px; }
.subscribe input { flex: 1; min-width: 0; height: 48px; padding: 0 16px; border: 1.5px solid var(--line); border-right: 0; border-radius: var(--r) 0 0 var(--r); background: #fff; font-size: 14px; outline: none; }
.subscribe input:focus { border-color: var(--text); }
.subscribe .btn { border-radius: 0 var(--r) var(--r) 0; }
.subscribe__msg { flex-basis: 100%; font-size: 12px; color: var(--muted); margin-top: 8px; }

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: #b3aea8; padding: 56px 0 24px; font-size: 14px; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 40px; border-bottom: 1px solid #2f2e2c; }
.footer .brand { color: #fff; }
.footer .brand img { filter: invert(1); }
.footer .brand__word small { color: #8c8781; }
.footer__about { margin: 18px 0 0; max-width: 34ch; font-size: 13px; }
.footer h5 { margin: 0 0 16px; color: #fff; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer ul a, .footer ul button { transition: color .2s; text-align: left; }
.footer ul a:hover, .footer ul button:hover { color: #fff; }
.pays { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.pay { height: 26px; padding: 0 8px; display: grid; place-items: center; border: 1px solid #3a3937; border-radius: 3px; font-size: 10px; font-weight: 700; color: #d6d1cb; letter-spacing: .03em; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 22px; font-size: 12px; flex-wrap: wrap; }
.footer__legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer__legal a:hover { color: #fff; }
.made-by { display: inline-flex; align-items: center; gap: 12px; color: #8c8781; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.made-by svg { height: 16px; width: auto; color: #c2525f; transition: color .3s, transform .3s var(--ease); }
.made-by svg path, .made-by svg polygon { fill: currentColor; }
.made-by:hover svg { color: #fff; transform: translateY(-2px); }

/* ---------- Overlays ---------- */
.scrim { position: fixed; inset: 0; z-index: 80; background: rgba(15, 15, 15, .5); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.scrim.is-open { opacity: 1; visibility: visible; }
.close-btn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: var(--r); transition: background .2s; flex-shrink: 0; }
.close-btn:hover { background: var(--soft); }
.close-btn svg { width: 18px; height: 18px; }

.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 90; width: min(440px, 100%); background: #fff; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .4s var(--ease), visibility .4s; visibility: hidden; }
.drawer.is-open { transform: none; visibility: visible; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 12px 12px 12px 20px; border-bottom: 1px solid var(--line); }
.drawer__head h3 { margin: 0; font-size: 16px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
.drawer__head h3 span { color: var(--muted); font-weight: 500; }
.drawer__body { flex: 1; overflow-y: auto; padding: 0 20px; overscroll-behavior: contain; }
.drawer__foot { padding: 18px 20px 22px; border-top: 1px solid var(--line); }
.ship-bar { padding: 14px 20px; background: var(--soft); font-size: 13px; }
.ship-bar__track { height: 4px; background: #dcd9d4; margin-top: 8px; overflow: hidden; }
.ship-bar__fill { height: 100%; background: var(--accent); transition: width .5s var(--ease); }
.line-item { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); animation: cardIn .35s var(--ease) both; }
.line-item__img { width: 76px; height: 76px; background: var(--soft); display: grid; place-items: center; }
.line-item__img img { max-height: 64px; max-width: 64px; width: auto; }
.line-item h4 { margin: 0; font-size: 13px; font-weight: 600; line-height: 1.35; }
.line-item .meta { font-size: 12px; color: var(--muted); margin-top: 2px; }
.line-item__right { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; }
.line-item__price { font-weight: 700; font-size: 14px; white-space: nowrap; }
.remove { width: 28px; height: 28px; display: grid; place-items: center; color: var(--muted); transition: color .2s; }
.remove:hover { color: var(--accent); }
.remove svg { width: 16px; height: 16px; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: var(--r); margin-top: 10px; height: 32px; }
.qty button { width: 30px; height: 100%; display: grid; place-items: center; font-size: 16px; transition: background .15s; }
.qty button:hover { background: var(--soft); }
.qty span { min-width: 26px; text-align: center; font-size: 13px; font-weight: 600; }
.totals { display: grid; gap: 7px; font-size: 14px; margin-bottom: 16px; }
.totals div { display: flex; justify-content: space-between; gap: 12px; }
.totals .disc { color: var(--accent); }
.totals .totals__note { margin-top: -4px; font-size: 12px; color: var(--muted); }
.totals .grand { font-size: 17px; font-weight: 700; padding-top: 10px; border-top: 1px solid var(--line); margin-top: 4px; }
.cart-empty { text-align: center; padding: 60px 10px; }
.cart-empty svg { width: 48px; height: 48px; color: #c9c5bf; margin: 0 auto 16px; display: block; }
.cart-empty h4 { margin: 0 0 6px; font-size: 16px; font-weight: 700; text-transform: uppercase; }
.cart-empty p { color: var(--muted); margin: 0 0 22px; font-size: 14px; }
.drawer__foot .btn + .btn { margin-top: 8px; }

/* Product modal */
.pmodal { position: fixed; z-index: 90; inset: 0; display: grid; place-items: center; padding: 20px; pointer-events: none; }
.pmodal__box { position: relative; width: min(1000px, 100%); max-height: calc(100vh - 40px); background: #fff; display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; pointer-events: auto; opacity: 0; transform: translateY(20px); visibility: hidden; transition: opacity .3s, transform .4s var(--ease), visibility .3s; }
.pmodal.is-open .pmodal__box { opacity: 1; transform: none; visibility: visible; }
.pmodal__media { position: relative; background: var(--soft); display: grid; place-items: center; min-height: 540px; }
.pmodal__media > img { max-height: 78%; max-width: 70%; width: auto; }
.pmodal__media .card__badges { top: 18px; left: 18px; }
.pmodal__info { padding: 32px 32px 28px; overflow-y: auto; }
.pmodal .close-btn { position: absolute; top: 10px; right: 10px; z-index: 2; background: #fff; }
.pmodal__art { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.pmodal__art i { width: 6px; height: 16px; background: var(--c); }
.pmodal h2 { margin: 10px 0 6px; font-size: 26px; font-weight: 700; line-height: 1.2; padding-right: 30px; }
.pmodal__sub { color: var(--muted); margin: 0 0 18px; font-size: 14px; }
.pmodal__price { font-size: 28px; font-weight: 700; margin-bottom: 18px; }
.opt-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 8px; }
.sizes { display: flex; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; }
.size { height: 40px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: var(--r); font-size: 13px; font-weight: 600; transition: border-color .2s; }
.size small { font-weight: 500; color: var(--muted); margin-left: 6px; }
.size:hover { border-color: #aaa; }
.size.is-active { border-color: var(--text); box-shadow: inset 0 0 0 1px var(--text); }
.buy-row { display: flex; gap: 10px; }
.buy-row .qty { margin: 0; height: 48px; }
.buy-row .qty button { width: 40px; }
.buy-row .btn { flex: 1; }
.pro-note { margin: 12px 0 0; font-size: 13px; color: var(--accent); font-weight: 600; }
.pmodal__perks { display: grid; gap: 8px; margin: 18px 0 0; padding: 14px 16px; background: var(--soft); font-size: 13px; }
.pmodal__perks div { display: flex; gap: 10px; align-items: center; }
.pmodal__perks svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; }
.pmodal .acc { margin-top: 18px; }
.pmodal .acc__q { font-size: 14px; padding: 15px 0; }

/* Consultation popup */
.popup { position: fixed; inset: 0; z-index: 95; display: grid; place-items: center; padding: 16px; pointer-events: none; }
.popup__box { position: relative; width: min(860px, 100%); max-height: calc(100vh - 32px); overflow: hidden auto; background: #fff; display: grid; grid-template-columns: 320px 1fr; pointer-events: auto; opacity: 0; transform: scale(.97); visibility: hidden; transition: opacity .3s, transform .35s var(--ease), visibility .3s; }
.popup.is-open .popup__box { opacity: 1; transform: none; visibility: visible; }
.popup__aside { position: relative; background: var(--soft); padding: 32px 28px 0; display: flex; flex-direction: column; overflow: hidden; }
.popup__aside h3 { margin: 0 0 10px; font-size: 22px; font-weight: 700; text-transform: uppercase; line-height: 1.15; }
.popup__aside p { margin: 0 0 18px; color: var(--muted); font-size: 14px; }
.popup__aside ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 13px; font-weight: 500; }
.popup__aside li { display: flex; gap: 10px; align-items: flex-start; }
.popup__aside li svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; }
.popup__imgs { position: relative; flex: 1; min-height: 190px; margin-top: 18px; }
.popup__imgs img { position: absolute; bottom: 14px; filter: drop-shadow(0 14px 16px rgba(0, 0, 0, .15)); }
.popup__form { padding: 32px; position: relative; }
.popup__form h4 { margin: 0 0 18px; font-size: 16px; font-weight: 700; text-transform: uppercase; }
.popup .close-btn { position: absolute; top: 10px; right: 10px; z-index: 2; }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { position: relative; grid-column: span 2; }
.field--half { grid-column: span 1; }
.field label { display: block; font-size: 12px; font-weight: 600; margin-bottom: 6px; }
.field label i { color: var(--accent); font-style: normal; }
.field input, .field select, .field textarea { width: 100%; height: 46px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: var(--r); background: #fff; font-size: 14px; outline: none; transition: border-color .2s; appearance: none; -webkit-appearance: none; }
.field textarea { height: 90px; padding: 12px 14px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--text); }
.field--select::after { content: ''; position: absolute; right: 16px; bottom: 19px; width: 6px; height: 6px; border-right: 1.5px solid; border-bottom: 1.5px solid; transform: rotate(45deg); pointer-events: none; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--accent); }
.field__err { display: none; font-size: 12px; color: var(--accent); margin-top: 4px; }
.field.is-invalid .field__err { display: block; }
.roles { grid-column: span 2; display: flex; flex-wrap: wrap; gap: 6px; border: 0; padding: 0; margin: 0 0 4px; }
.roles legend { font-size: 12px; font-weight: 600; margin-bottom: 8px; padding: 0; }
.roles input { position: absolute; opacity: 0; pointer-events: none; }
.roles label { height: 36px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: var(--r); font-size: 13px; font-weight: 500; display: inline-flex; align-items: center; cursor: pointer; transition: .2s; }
.roles label:hover { border-color: #aaa; }
.roles input:checked + label { border-color: var(--text); background: var(--text); color: #fff; }
.roles input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; }
.check { grid-column: span 2; display: flex; gap: 10px; align-items: flex-start; font-size: 12px; color: var(--muted); cursor: pointer; line-height: 1.45; }
.check input { appearance: none; -webkit-appearance: none; flex-shrink: 0; width: 18px; height: 18px; border: 1.5px solid #c9c5bf; border-radius: 2px; margin: 0; display: grid; place-items: center; cursor: pointer; }
.check input:checked { background: var(--dark); border-color: var(--dark); }
.check input:checked::after { content: ''; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: translateY(-1px) rotate(45deg); }
.check.is-invalid input { border-color: var(--accent); }
.check a { color: var(--text); text-decoration: underline; }
.form .btn { grid-column: span 2; margin-top: 4px; }
.form-success { text-align: center; padding: 50px 10px; display: none; }
.form-success.is-on { display: block; animation: cardIn .4s var(--ease) both; }
.tick { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; }
.tick svg { width: 28px; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .6s .15s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.form-success h4 { margin: 0 0 8px; font-size: 20px; font-weight: 700; text-transform: uppercase; }
.form-success p { color: var(--muted); margin: 0 auto; max-width: 36ch; font-size: 14px; }

/* Toast */
.toast { position: fixed; z-index: 120; right: 20px; top: 130px; width: 340px; max-width: calc(100% - 32px); background: #fff; box-shadow: 0 12px 36px rgba(0, 0, 0, .16); padding: 14px; display: grid; grid-template-columns: 56px 1fr; gap: 12px; align-items: center; transform: translateX(calc(100% + 40px)); transition: transform .4s var(--ease), visibility .4s; visibility: hidden; border-left: 3px solid var(--ok); }
.toast.is-on { transform: none; visibility: visible; }
.toast img { width: 56px; height: 56px; object-fit: contain; background: var(--soft); padding: 4px; }
.toast b { display: block; font-size: 11px; color: var(--ok); text-transform: uppercase; letter-spacing: .06em; }
.toast span { font-size: 13px; font-weight: 600; line-height: 1.3; display: block; margin: 2px 0 6px; }
.toast button { font-size: 12px; font-weight: 700; text-transform: uppercase; text-decoration: underline; text-underline-offset: 3px; }

.fly { position: fixed; z-index: 200; pointer-events: none; width: 60px; height: 60px; object-fit: contain; transition: transform .7s cubic-bezier(.5, 0, .3, 1), opacity .7s; }

/* Reveal (subtle) */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Checkout ---------- */
.co-header { border-bottom: 1px solid var(--line); background: #fff; }
.co-header .container { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.co-secure { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.co-secure svg { width: 16px; height: 16px; }
.co { display: grid; grid-template-columns: 1.3fr 1fr; min-height: calc(100vh - 70px); }
.co__main { padding: 40px clamp(16px, 4vw, 56px) 80px var(--gutter); max-width: 780px; width: 100%; margin-left: auto; }
.co__side { background: var(--soft); padding: 40px var(--gutter) 60px clamp(20px, 3vw, 44px); }
.co__side-inner { position: sticky; top: 24px; max-width: 460px; }
.steps { display: flex; gap: 8px; align-items: center; font-size: 12px; color: var(--muted); margin-bottom: 14px; flex-wrap: wrap; }
.steps b { color: var(--text); }
.steps a { text-decoration: underline; text-underline-offset: 3px; }
.co h1 { margin: 0 0 28px; font-size: 30px; font-weight: 700; text-transform: uppercase; }
.co-block { margin-bottom: 34px; }
.co-block > h2 { display: flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; margin: 0 0 16px; }
.co-block > h2 span { width: 26px; height: 26px; background: var(--dark); color: #fff; display: grid; place-items: center; font-size: 12px; }
.options { display: grid; gap: 8px; }
.opt { position: relative; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: var(--r); background: #fff; cursor: pointer; transition: border-color .2s; }
.opt[hidden] { display: none; }
.opt:hover { border-color: #b9b5af; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt .dot { flex-shrink: 0; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid #b9b5af; display: grid; place-items: center; }
.opt .dot::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--text); transform: scale(0); transition: transform .2s var(--ease); }
.opt:has(input:checked) { border-color: var(--text); }
.opt:has(input:checked) .dot { border-color: var(--text); }
.opt:has(input:checked) .dot::after { transform: scale(1); }
.opt:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.opt__txt { flex: 1; }
.opt__txt strong { display: block; font-size: 14px; font-weight: 600; }
.opt__txt small { color: var(--muted); font-size: 12px; }
.opt__end { font-size: 14px; font-weight: 700; white-space: nowrap; }
.pay-logos { display: flex; gap: 5px; }
.pay-logo { height: 24px; min-width: 38px; padding: 0 6px; border: 1px solid var(--line); border-radius: 3px; display: grid; place-items: center; font-size: 9px; font-weight: 700; }
.co-summary h3 { font-size: 16px; font-weight: 700; text-transform: uppercase; margin: 0 0 14px; }
.co-items { margin-bottom: 16px; }
.co-item { display: grid; grid-template-columns: 60px 1fr auto; gap: 14px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.co-item__img { position: relative; height: 60px; background: #fff; display: grid; place-items: center; }
.co-item__img img { max-height: 50px; width: auto; max-width: 50px; }
.co-item__img b { position: absolute; top: -7px; right: -7px; min-width: 20px; height: 20px; border-radius: 10px; background: var(--dark); color: #fff; font-size: 11px; display: grid; place-items: center; padding: 0 5px; }
.co-item h4 { margin: 0; font-size: 13px; font-weight: 600; }
.co-item small { font-size: 12px; color: var(--muted); font-weight: 400; }
.co-mobile-sum { display: none; }
.co-done { text-align: center; max-width: 540px; margin: 0 auto; padding: 60px 0; }
.co-done h1 { margin-bottom: 12px; }
.co-done p { color: var(--muted); }
.order-no { display: inline-block; font-weight: 700; font-size: 14px; padding: 10px 16px; background: var(--soft); margin: 10px 0 26px; }
.processing { position: fixed; inset: 0; z-index: 150; background: rgba(255, 255, 255, .92); display: none; place-items: center; text-align: center; font-weight: 600; }
.processing.is-on { display: grid; }
.spinner { width: 44px; height: 44px; margin: 0 auto 16px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--accent); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .needs { grid-template-columns: repeat(4, 1fr); }
  .rail { grid-auto-columns: calc((100% - 2 * 16px) / 3); }
  .rit__body { grid-template-columns: 1fr; }
  .benefits { grid-template-columns: repeat(2, 1fr); }
  .benefit:nth-child(3) { border-left: 0; }
  .benefit:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 980px) {
  :root { --header-h: 60px; }
  html { scroll-padding-top: 76px; }
  .topbar nav, .catnav, .header__cta { display: none; }
  .burger, .search-toggle { display: grid; }
  .header__main { gap: 2px; }
  .brand { margin-right: auto; }
  .brand__word small { display: none; }
  .search { position: absolute; left: 0; right: 0; top: 100%; max-width: none; padding: 10px var(--gutter); background: #fff; border-bottom: 1px solid var(--line); display: none; }
  .search.is-open { display: block; animation: fadeDown .2s var(--ease); }
  .search__btn { right: var(--gutter); top: 10px; }
  .search__drop { left: var(--gutter); right: var(--gutter); }
  .header__actions { margin-left: 0; gap: 0; }
  .cart-btn { padding: 0 10px; }
  .cart-btn__sum { display: none; }
  .slide { grid-template-columns: 1fr; min-height: 0; }
  .slide__text { padding: 32px 24px 0; }
  .slide__media { min-height: 280px; }
  .slider__nav { left: 24px; bottom: 16px; }
  .slider__arrow { display: none; }
  .catalog { grid-template-columns: 1fr; }
  .filters { position: fixed; z-index: 100; top: 0; left: 0; bottom: 0; width: min(340px, 88%); background: #fff; padding: 0 20px 20px; overflow-y: auto; transform: translateX(-100%); transition: transform .4s var(--ease), visibility .4s; visibility: hidden; }
  .filters.is-open { transform: none; visibility: visible; }
  .filters__head { display: flex; justify-content: space-between; align-items: center; height: 60px; margin: 0 -20px 16px; padding: 0 10px 0 20px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: #fff; z-index: 1; font-weight: 700; text-transform: uppercase; }
  .filters__apply { display: flex; margin-top: 18px; }
  .filters-btn { display: inline-flex; }
  .rit { grid-template-columns: 1fr; }
  .rit__tabs { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); scrollbar-width: none; }
  .rit__tabs::-webkit-scrollbar { display: none; }
  .rit__tab { border-bottom: 0; border-right: 1px solid var(--line); flex-shrink: 0; padding: 14px 18px; }
  .rit__tab::before { top: auto; right: 0; height: 3px; width: auto; transform: scaleX(0); }
  .rit__tab.is-active::before { transform: scaleX(1); }
  .rit__tab span { display: none; }
  .pro__grid, .about, .faq { grid-template-columns: 1fr; gap: 32px; }
  .promos { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__top > div:first-child { grid-column: 1 / -1; }
  .pmodal { padding: 0; place-items: end center; }
  .pmodal__box { grid-template-columns: 1fr; max-height: 92vh; overflow-y: auto; transform: translateY(100%); }
  .pmodal__media { min-height: 0; height: 300px; }
  .pmodal__info { overflow: visible; padding: 22px 18px 26px; }
  .popup__box { grid-template-columns: 1fr; }
  .popup__aside { padding: 24px 20px 20px; }
  .popup__aside ul, .popup__imgs { display: none; }
  .popup__aside p { margin: 0; }
  .popup__form { padding: 22px 20px 26px; }
  .popup__form h4 { display: none; }
  .co { grid-template-columns: 1fr; }
  .co__side { display: none; }
  .co__main { margin: 0; max-width: none; padding: 28px var(--gutter) 60px; }
  .co-mobile-sum { display: block; background: var(--soft); margin-bottom: 28px; }
  .co-mobile-sum summary { list-style: none; display: flex; justify-content: space-between; padding: 14px 16px; cursor: pointer; font-weight: 700; font-size: 14px; }
  .co-mobile-sum summary::-webkit-details-marker { display: none; }
  .co-mobile-sum .co-summary { padding: 0 16px 16px; }
  .co-mobile-sum .co-summary h3 { display: none; }
}
@media (max-width: 720px) {
  body { font-size: 14px; }
  .topbar .container { justify-content: center; height: 32px; }
  .topbar .container > span:first-child { flex: 1; text-align: center; }
  .brand__word { font-size: 14px; letter-spacing: .16em; }
  .brand img { width: 24px; }
  .hero { padding-top: 12px; }
  .slide h2 { font-size: 27px; }
  .slide p { font-size: 14px; margin-bottom: 20px; }
  .slide__btns .btn { flex: 1; padding: 0 14px; }
  .slide__media { min-height: 250px; }
  .benefits { grid-template-columns: 1fr 1fr; margin-top: 12px; }
  .benefit { padding: 14px 12px; gap: 8px; flex-direction: column; align-items: flex-start; }
  .benefit svg { width: 24px; height: 24px; }
  .section { padding: 44px 0; }
  .sec-head { margin-bottom: 18px; align-items: center; }
  .sec-head .arrows { display: none; }
  .needs { display: flex; overflow-x: auto; gap: 10px; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); scroll-snap-type: x mandatory; scrollbar-width: none; }
  .needs::-webkit-scrollbar { display: none; }
  .need { flex: 0 0 150px; scroll-snap-align: start; }
  .need__img { height: 120px; }
  .need__img img { max-height: 110px; }
  .rail { grid-auto-columns: calc((100% - 10px) / 2.15); gap: 10px; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); scroll-padding: 0 var(--gutter); }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 24px 10px; }
  .card__name { font-size: 13px; }
  .card__foot { flex-direction: column; align-items: stretch; gap: 10px; }
  .card__price { font-size: 15px; }
  .card__buy { height: 38px; }
  .promo { padding: 26px 22px; min-height: 260px; }
  .promo__text { max-width: 62%; }
  .promo h3 { font-size: 20px; }
  .promo__imgs { width: 46%; }
  .rit__body { padding: 16px; }
  .rit__steps { gap: 8px; }
  .rit__step { padding: 10px 6px; }
  .rit__step img { height: 96px; margin: 8px auto; }
  .rit__step b { font-size: 11px; }
  .pro__list { grid-template-columns: 1fr; }
  .fact { padding: 16px; }
  .fact b { font-size: 24px; }
  .subscribe form { min-width: 0; width: 100%; }
  .subscribe .btn { padding: 0 16px; }
  .footer__top { grid-template-columns: 1fr; gap: 28px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .form { grid-template-columns: 1fr; }
  .field--half { grid-column: span 2; }
  .toast { top: auto; bottom: 16px; right: 16px; left: 16px; width: auto; max-width: none; transform: translateY(calc(100% + 40px)); }
  .pay-logos { display: none; }
}
@media (hover: none) { .card__quick { display: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   Multi-page additions
   ========================================================================== */
[hidden] { display: none !important; }
.hlink { font-size: 13px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; transition: color .2s; }
.hlink:hover { color: var(--accent); }
.catnav a.is-current { color: var(--accent); }
.catnav a.is-current::after { transform: scaleX(1); }

.crumbs { font-size: 12px; color: var(--muted); padding: 14px 0; }
.crumbs .container { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; }
.crumbs a:hover { color: var(--accent); }
.crumbs span { color: var(--text); }
.crumbs i { font-style: normal; color: #c3beb8; }
.section--page { padding-top: 12px; }
.page-head { margin-bottom: 28px; max-width: 760px; }
.page-head h1 { margin: 0 0 8px; font-size: clamp(26px, 3vw, 38px); font-weight: 700; text-transform: uppercase; line-height: 1.1; }
.page-head p { margin: 0; color: var(--muted); }

.card__from { font-size: 11px; font-weight: 500; color: var(--muted); margin-right: 4px; }
.fcats { display: grid; gap: 2px; }
.fcats a { display: flex; justify-content: space-between; padding: 6px 10px; margin: 0 -10px; font-size: 14px; border-radius: var(--r); transition: background .2s, color .2s; }
.fcats a:hover { color: var(--accent); }
.fcats a.is-current { background: var(--soft); font-weight: 700; }
.fcats small { color: var(--muted); font-size: 12px; font-weight: 400; }

/* category tiles (home) */
.cats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.cat { background: #fff; padding: 18px; display: flex; flex-direction: column; align-items: center; text-align: center; border-radius: var(--r); transition: box-shadow .3s; }
.cat:hover { box-shadow: 0 10px 30px rgba(0, 0, 0, .07); }
.cat__img { height: 130px; display: grid; place-items: center; margin-bottom: 12px; }
.cat__img img { max-height: 120px; width: auto; transition: transform .4s var(--ease); }
.cat:hover .cat__img img { transform: translateY(-5px); }
.cat b { font-size: 14px; font-weight: 700; text-transform: uppercase; }
.cat small { color: var(--muted); font-size: 12px; margin-top: 2px; }

/* sets */
.set { display: grid; grid-template-columns: 1fr 260px; gap: 28px; align-items: center; padding: 24px; border: 1px solid var(--line); background: #fff; position: relative; }
.set::before { content: ""; position: absolute; left: -1px; top: -1px; bottom: -1px; width: 4px; background: var(--c); }
a.rit__step { display: block; }
.set-row { margin-bottom: 36px; }
.set-row__head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 12px; flex-wrap: wrap; }
.set-row__head h2 { margin: 0; font-size: 20px; font-weight: 700; text-transform: uppercase; }
.set-row__head p { margin: 0; color: var(--muted); font-size: 14px; }

/* product page */
.pp { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
.pp__gallery { position: sticky; top: calc(var(--header-h) + 64px); }
.pp__gallery .card__badges { top: 16px; left: 16px; }
.pp__img { position: relative; aspect-ratio: 1; background: var(--soft); border-radius: var(--r); overflow: hidden; cursor: zoom-in; }
.pp__img img { position: absolute; left: 12%; top: 9%; width: 76%; height: 82%; object-fit: contain; transition: transform .25s ease-out; }
.pp__series { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-size: 13px; color: var(--muted); }
.pp__series i { width: 6px; height: 18px; background: var(--c); }
.pp__art { display: flex; align-items: center; gap: 14px; font-size: 13px; color: var(--muted); }
.instock { display: inline-flex; align-items: center; gap: 5px; color: var(--ok); font-weight: 600; }
.instock svg { width: 14px; height: 14px; }
.pp h1 { margin: 10px 0 6px; font-size: clamp(26px, 2.8vw, 36px); font-weight: 700; line-height: 1.15; }
.pp__sub { margin: 0 0 14px; color: var(--muted); font-size: 15px; }
.pp__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 22px; }
.tag { font-size: 12px; font-weight: 600; padding: 5px 10px; background: var(--soft); border-radius: var(--r); }
.pp__price { font-size: 32px; font-weight: 700; margin-bottom: 20px; }
.pp__now { margin-top: 10px; }
.pp__ask { display: inline-block; margin-top: 16px; }
.tabs-box { margin-top: 48px; border: 1px solid var(--line); }
.tabs-nav { display: flex; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tabs-nav button { padding: 16px 24px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); position: relative; flex-shrink: 0; transition: color .2s; }
.tabs-nav button::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--accent); transform: scaleX(0); transition: transform .3s var(--ease); }
.tabs-nav button.is-active { color: var(--text); }
.tabs-nav button.is-active::after { transform: scaleX(1); }
.tab-pane { display: none; padding: 24px; max-width: 900px; }
.tab-pane.is-active { display: block; animation: cardIn .35s var(--ease) both; }
.tab-pane p { margin: 0; color: #3f3b37; line-height: 1.7; }

/* professionals / about / info */
.pro__h, .about__h { margin: 0 0 14px; font-size: clamp(26px, 3vw, 40px); font-weight: 700; text-transform: uppercase; line-height: 1.1; }
.pro__h { color: #fff; }
.steps-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.steps-row > div { background: var(--soft); padding: 22px; }
.steps-row b { display: grid; place-items: center; width: 34px; height: 34px; background: var(--accent); color: #fff; font-size: 14px; margin-bottom: 14px; }
.steps-row h4 { margin: 0 0 6px; font-size: 15px; font-weight: 700; }
.steps-row p { margin: 0; font-size: 13px; color: var(--muted); }
.info-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 16px; margin-bottom: 48px; }
.info-card { border: 1px solid var(--line); padding: 24px; }
.info-card > svg { width: 32px; height: 32px; color: var(--accent); }
.info-card h3 { margin: 12px 0 14px; font-size: 17px; font-weight: 700; text-transform: uppercase; }
.info-card p { font-size: 14px; color: #4c4844; }
.tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.tbl th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding: 0 8px 8px 0; }
.tbl td { padding: 10px 8px 10px 0; border-top: 1px solid var(--line); }
.tbl td:last-child { font-weight: 700; white-space: nowrap; }
.info-card .note { font-size: 13px; color: var(--muted); margin: 14px 0 0; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 14px; }
.ticks li { display: flex; gap: 10px; align-items: center; }
.ticks svg { width: 16px; height: 16px; color: var(--ok); flex-shrink: 0; }
.faq--page { grid-template-columns: 1fr; max-width: 820px; }
.nf { text-align: center; padding: 40px 0; }
.nf b { display: block; font-size: 96px; line-height: 1; color: var(--accent); }
.nf h1 { margin: 10px 0 8px; font-size: 26px; text-transform: uppercase; }
.nf p { color: var(--muted); margin: 0 0 24px; }
.line-item h4 a:hover { color: var(--accent); }

@media (max-width: 1180px) {
  .set { grid-template-columns: 1fr; }
  .cats { grid-template-columns: repeat(3, 1fr); }
  .info-grid { grid-template-columns: 1fr 1fr; }
  .info-grid .info-card:first-child { grid-column: 1 / -1; }
}
@media (max-width: 980px) {
  .pp { grid-template-columns: 1fr; }
  .pp__gallery { position: relative; top: 0; }
  .steps-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .crumbs { padding: 10px 0; }
  .cats { display: flex; overflow-x: auto; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); gap: 10px; scrollbar-width: none; }
  .cats::-webkit-scrollbar { display: none; }
  .cat { flex: 0 0 140px; }
  .set { padding: 14px; gap: 16px; }
  .pp__price { font-size: 26px; }
  .tabs-box { margin-top: 32px; }
  .tabs-nav button { padding: 14px 16px; font-size: 12px; }
  .tab-pane { padding: 18px 16px; }
  .steps-row, .info-grid { grid-template-columns: 1fr; }
}

/* Test mode (?noanim): render the final state without motion — used for screenshots */
.no-anim *, .no-anim *::before, .no-anim *::after { transition: none !important; animation: none !important; }

/* Language switcher */
.flag { width: 22px; height: 15px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .12); object-fit: cover; flex-shrink: 0; }
.langs { position: relative; }
.langs summary {
  list-style: none; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 10px 0 12px; cursor: pointer;
  border: 1.5px solid var(--line); border-radius: var(--r); background: #fff; font-size: 13px; font-weight: 700; color: var(--text);
  user-select: none; transition: border-color .2s, box-shadow .2s;
}
.langs summary::-webkit-details-marker { display: none; }
.langs summary:hover, .langs[open] summary { border-color: var(--text); }
.langs summary svg { width: 14px; height: 14px; color: var(--muted); transition: transform .2s; }
.langs[open] summary svg { transform: rotate(180deg); }
.langs__list {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 70; width: 240px; background: #fff; border: 1px solid var(--line);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .14); padding: 8px; display: grid; gap: 2px; animation: fadeDown .2s var(--ease);
}
.langs__t, .mlangs__t { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 6px 10px 8px; display: flex; align-items: center; gap: 8px; }
.mlangs__t svg { width: 16px; height: 16px; }
.langs__list a, .mlangs a { display: flex; align-items: center; gap: 12px; padding: 9px 10px; font-size: 14px; font-weight: 500; color: var(--text); border-radius: var(--r); transition: background .15s; }
.langs__list a span, .mlangs a span { flex: 1; }
.langs__list a b, .mlangs a b { font-size: 11px; color: var(--muted); font-weight: 600; }
.langs__list a:hover { background: var(--soft); }
.langs__list a.is-current, .mlangs a.is-current { background: var(--soft); font-weight: 700; }
.langs__list a.is-current::after, .mlangs a.is-current::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.mlangs-wrap { margin: 0 -10px 4px; }
.mlangs { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.mlangs a { padding: 8px 10px; font-size: 13px; }
@media (max-width: 980px) {
  .langs summary { height: 38px; padding: 0 8px; gap: 6px; }
  .langs summary svg { display: none; }
  .langs__list { position: fixed; left: 16px; right: 16px; top: 100px; width: auto; }
}

/* ==========================================================================
   Accounts, professional prices, delivery helpers, test payment
   ========================================================================== */
/* header account link */
.acc-btn { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 10px; border-radius: var(--r); font-size: 13px; font-weight: 700; white-space: nowrap; transition: background .2s; }
.acc-btn:hover { background: var(--soft); }
.acc-btn__l { max-width: 110px; overflow: hidden; text-overflow: ellipsis; }
.acc-btn.is-master .i { color: var(--ok); }
.mnav__acc { font-weight: 700; }
.mnav__acc > svg:first-child { width: 20px; height: 20px; margin-right: 8px; }
.mnav__acc span { flex: 1; }
@media (max-width: 1280px) { .acc-btn__l { display: none; } .acc-btn { width: 44px; padding: 0; justify-content: center; } }

/* price locks */
.is-locked a { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); }
.is-locked svg { width: 15px; height: 15px; flex-shrink: 0; }
.card__price.is-locked { font-size: 12px; font-weight: 700; white-space: normal; line-height: 1.25; }
.card__price.is-locked a:hover span { text-decoration: underline; }
.pro-mark { display: inline-block; margin-left: 6px; padding: 2px 6px; border-radius: 4px; background: #e8f3ec; color: var(--ok); font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; vertical-align: middle; }
.card__price .pro-mark { display: block; width: max-content; margin: 4px 0 0; }
.pp__price.is-locked { display: flex; align-items: center; gap: 10px; font-size: 18px; color: var(--accent); }
.pp__price.is-locked svg { width: 22px; height: 22px; }
.pp__price .pro-mark { font-size: 11px; }
.size--pro small { display: inline-flex; align-items: center; gap: 3px; }
.size--pro small svg { width: 10px; height: 10px; }
.pp.is-locked [data-pp-buy], .pp.is-locked [data-pp-now] { opacity: .45; }
.pp__lock { margin-top: 14px; padding: 16px 18px; background: #fbefe8; border-radius: var(--r); font-size: 13px; }
.pp__lock[hidden] { display: none; }
.pp__lock b { display: block; font-size: 14px; margin-bottom: 4px; }
.pp__lock p { margin: 0 0 12px; color: var(--muted); }
.pp__lock-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.toast.is-lock { border-left-color: var(--accent); }
.toast.is-lock b { color: var(--accent); }
.toast a { font-size: 12px; font-weight: 700; text-transform: uppercase; text-decoration: underline; text-underline-offset: 3px; }
.pro__btns { display: flex; gap: 10px; flex-wrap: wrap; }
.pro__note { display: flex; gap: 8px; align-items: flex-start; margin: 14px 0 0; font-size: 13px; color: var(--muted); max-width: 52ch; }
.pro__note svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; }

/* auth pages */
.auth { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 28px; max-width: 1080px; margin: 0 auto; align-items: start; }
.auth--solo { grid-template-columns: minmax(0, 520px); justify-content: center; }
.auth__card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: clamp(22px, 4vw, 40px); }
.auth__card h1 { margin: 0 0 8px; font-size: 28px; font-weight: 800; line-height: 1.15; }
.auth__lead { margin: 0 0 24px; color: var(--muted); font-size: 14px; }
.auth__forgot { grid-column: span 2; justify-self: start; font-size: 13px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; margin-top: -4px; }
.auth__switch { margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.auth__switch a { color: var(--text); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.auth__err { grid-column: span 2; padding: 12px 14px; border-radius: var(--r); background: #fbe9e7; color: var(--accent); font-size: 13px; font-weight: 600; }
.auth__err[hidden] { display: none; }
.auth__aside { position: relative; overflow: hidden; background: var(--soft); border-radius: var(--r); padding: 64px 28px 0; min-height: 420px; display: flex; flex-direction: column; }
.auth__aside h2 { margin: 0 0 18px; font-size: 22px; font-weight: 800; line-height: 1.2; }
.auth__aside .ticks li svg { color: var(--accent); }
.auth__imgs { position: relative; flex: 1; min-height: 190px; margin-top: 18px; }
.auth__imgs img { position: absolute; bottom: 14px; filter: drop-shadow(0 14px 16px rgba(0, 0, 0, .15)); }
.auth__ok { text-align: center; padding: 10px 0; }
.auth__ok[hidden] { display: none; }
.auth__ok h2 { margin: 0 0 8px; font-size: 20px; }
.auth__ok p { color: var(--muted); margin: 0 auto; max-width: 40ch; font-size: 14px; }
.auth__ok .tick svg { stroke-dasharray: none; stroke-dashoffset: 0; animation: none; }
.field label small { font-weight: 400; color: var(--muted); }
.field__hint { display: block; margin-top: 6px; font-size: 12px; color: var(--muted); }
.field.is-invalid .field__hint { display: none; }
.pw { position: relative; }
.pw input { padding-right: 48px; }
.pw__eye { position: absolute; right: 4px; top: 4px; width: 38px; height: 38px; display: grid; place-items: center; color: var(--muted); border-radius: 8px; }
.pw__eye svg { width: 20px; height: 20px; }
.pw__eye.is-on { color: var(--text); }
.btn.is-busy { position: relative; color: transparent; }
.btn.is-busy::after { content: ''; position: absolute; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .4); border-top-color: #fff; animation: spin .7s linear infinite; }

/* certificate drop zone */
.drop { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 22px 16px; border: 1.5px dashed #c9c5bf; border-radius: var(--r); background: var(--soft); text-align: center; cursor: pointer; transition: border-color .2s, background .2s; }
.drop:hover, .drop.is-over { border-color: var(--accent); background: #fdf3ee; }
.drop[hidden] { display: none; }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.drop__ico { width: 44px; height: 44px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--accent); margin-bottom: 6px; }
.drop__ico svg { width: 22px; height: 22px; }
.drop b { font-size: 14px; }
.drop small { font-size: 12px; color: var(--muted); }
.field.is-invalid .drop { border-color: var(--accent); }
.drop__file { display: flex; align-items: center; gap: 14px; padding: 12px; border: 1.5px solid var(--line); border-radius: var(--r); }
.drop__file[hidden] { display: none; }
.drop__thumb { width: 56px; height: 56px; flex-shrink: 0; border-radius: 6px; overflow: hidden; background: var(--soft); display: grid; place-items: center; }
.drop__thumb img { width: 100%; height: 100%; object-fit: cover; }
.drop__thumb b { font-size: 12px; color: var(--accent); }
.drop__name { flex: 1; min-width: 0; }
.drop__name b { display: block; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.drop__name small { font-size: 12px; color: var(--muted); }

/* demo notes */
.dev-note { margin-top: 16px; padding: 14px 16px; border: 1.5px dashed #d1a62b; border-radius: var(--r); background: #fdf8e8; font-size: 13px; text-align: left; }
.dev-note b { display: block; margin-bottom: 2px; }
.dev-note p { margin: 0 0 10px; color: var(--muted); }
.dev-note__btns { display: flex; gap: 6px; flex-wrap: wrap; }

/* personal account */
.acc__loading { padding: 80px 0; }
.acc__grid { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 32px; align-items: start; }
.acc__side { position: sticky; top: 140px; background: var(--soft); border-radius: var(--r); padding: 20px; }
.acc__me { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; min-width: 0; }
.acc__me > div { min-width: 0; }
.acc__me b { display: block; font-size: 15px; }
.acc__me small { display: block; font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; }
.acc__ava { width: 46px; height: 46px; flex-shrink: 0; border-radius: 50%; background: var(--dark); color: #fff; display: grid; place-items: center; font-weight: 700; }
.acc__badge { display: inline-block; padding: 5px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; background: #fff; }
.acc__badge--approved { background: #e8f3ec; color: var(--ok); }
.acc__badge--pending { background: #fdf3e0; color: #9a6b00; }
.acc__badge--rejected { background: #fbe9e7; color: var(--accent); }
.acc__nav { display: grid; gap: 2px; margin: 16px 0; }
.acc__nav a { padding: 10px 12px; border-radius: 8px; font-size: 14px; font-weight: 600; }
.acc__nav a:hover { background: #fff; }
.acc__nav a.is-current { background: #fff; color: var(--accent); }
.acc__out { color: var(--muted); }
.acc__main h1 { margin: 0 0 18px; font-size: 28px; font-weight: 800; }
.acc__main > h2 { margin: 0 0 8px; font-size: 22px; font-weight: 800; }
.acc__lead { margin: 0 0 20px; color: var(--muted); font-size: 14px; }
.acc__main .form { max-width: 620px; margin-top: 18px; }
.acc__main .form .btn { grid-column: span 1; justify-self: start; }
.saved { align-self: center; display: inline-flex; align-items: center; gap: 6px; color: var(--ok); font-size: 13px; font-weight: 700; }
.saved[hidden] { display: none; }
.saved svg { width: 16px; height: 16px; }
.acc__point { grid-column: span 2; display: flex; align-items: center; gap: 8px; margin: 0; font-size: 13px; }
.acc__point svg { width: 16px; height: 16px; color: var(--accent); }
.acc-banner { display: flex; gap: 10px; align-items: center; padding: 12px 16px; margin-bottom: 16px; border-radius: var(--r); background: #e8f3ec; color: var(--ok); font-size: 14px; font-weight: 600; }
.acc-banner svg { width: 18px; height: 18px; flex-shrink: 0; }
.acc-status { display: flex; gap: 18px; padding: 22px; border-radius: var(--r); border: 1.5px solid var(--line); }
.acc-status h2 { margin: 2px 0 6px; font-size: 19px; font-weight: 800; }
.acc-status p { margin: 0 0 10px; color: var(--muted); font-size: 14px; }
.acc-status__ico { width: 46px; height: 46px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; color: #fff; background: #d1a62b; }
.acc-status__ico svg { width: 22px; height: 22px; }
.acc-status--approved { border-color: #b8dac5; background: #f5fbf7; }
.acc-status--approved .acc-status__ico { background: var(--ok); }
.acc-status--rejected { border-color: #efc4bd; background: #fdf6f5; }
.acc-status--rejected .acc-status__ico { background: var(--accent); }
.acc-status__reason { color: var(--accent) !important; font-weight: 600; }
.acc-status__file { display: flex; gap: 8px; align-items: center; margin: 0 0 14px; font-size: 13px; }
.acc-status__file svg { width: 16px; height: 16px; color: var(--muted); flex-shrink: 0; }
.acc-recert { display: grid; gap: 10px; max-width: 460px; margin-top: 6px; }
.acc-recert .btn { justify-self: start; }
.acc-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 16px; }
.acc-tile { display: flex; flex-direction: column; gap: 4px; padding: 18px; border-radius: var(--r); background: var(--soft); transition: background .2s; }
.acc-tile:hover { background: var(--soft-2); }
.acc-tile svg { width: 22px; height: 22px; color: var(--accent); margin-bottom: 6px; }
.acc-tile b { font-size: 14px; }
.acc-tile small { color: var(--muted); font-size: 12px; }
.acc__empty { text-align: center; padding: 40px 20px; background: var(--soft); border-radius: var(--r); }
.acc__empty svg { width: 34px; height: 34px; color: var(--muted); }
.orders { display: grid; gap: 12px; margin-top: 16px; }
.order { border: 1.5px solid var(--line); border-radius: var(--r); padding: 16px 18px; }
.order header { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 14px; }
.order header small { margin-left: auto; color: var(--muted); }
.order__st { padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 700; background: #e8f3ec; color: var(--ok); }
.order__st--shipped { background: #e6eef8; color: #2b5f9e; }
.order__st--cancelled { background: #f0eeeb; color: var(--muted); }
.order__items { display: flex; gap: 8px; margin: 12px 0; flex-wrap: wrap; }
.order__items span { position: relative; width: 52px; height: 52px; background: var(--soft); border-radius: 6px; display: grid; place-items: center; }
.order__items img { max-height: 44px; width: auto; }
.order__items i { position: absolute; top: -6px; right: -6px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--dark); color: #fff; font-size: 10px; font-style: normal; font-weight: 700; display: grid; place-items: center; padding: 0 4px; }
.order footer { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--muted); }
.order footer b { color: var(--text); font-size: 15px; }

/* checkout: account hint, address autocomplete, lockers */
.co-login { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: -6px 0 14px; padding: 10px 14px; border-radius: var(--r); background: var(--soft); font-size: 13px; }
.co-login[hidden] { display: none; }
.co-login svg { width: 18px; height: 18px; color: var(--accent); }
.co-login a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.field__row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 6px; }
.field__row label { margin: 0; }
.geo-btn { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--accent); text-decoration: none; }
.geo-btn svg { width: 15px; height: 15px; }
.geo-btn:hover { text-decoration: underline; }
.geo-btn[disabled] { opacity: .6; pointer-events: none; }
.ac-drop { position: absolute; z-index: 20; left: 0; right: 0; top: 72px; background: #fff; border: 1.5px solid var(--text); border-radius: var(--r); box-shadow: 0 14px 30px rgba(0, 0, 0, .1); display: none; overflow: hidden; }
.ac-drop.is-open { display: block; }
.ac-item { display: flex; gap: 10px; align-items: center; width: 100%; padding: 10px 14px; text-align: left; border-top: 1px solid var(--line); }
.ac-item:first-child { border-top: 0; }
.ac-item:hover, .ac-item.is-active { background: var(--soft); }
.ac-item svg { width: 16px; height: 16px; color: var(--muted); flex-shrink: 0; }
.ac-item b { display: block; font-size: 14px; font-weight: 600; }
.ac-item small { font-size: 12px; color: var(--muted); }
.field input.is-filled { animation: filled 1.2s var(--ease); }
@keyframes filled { 0% { background: #fdf0e6; } 100% { background: #fff; } }
.locker { margin-top: 10px; padding: 16px; border: 1.5px solid var(--line); border-radius: var(--r); background: var(--soft); }
.locker[hidden] { display: none; }
.locker.is-invalid { border-color: var(--accent); }
.locker > .field__err { margin-top: 8px; }
.locker.is-invalid > .field__err { display: block; }
.locker__head { margin-bottom: 12px; }
.locker__head b { display: flex; align-items: center; gap: 6px; font-size: 14px; }
.locker__head b svg { width: 18px; height: 18px; color: var(--accent); }
.locker__head small { color: var(--muted); font-size: 12px; }
.locker__search { display: flex; gap: 8px; }
.locker__search input { flex: 1; min-width: 0; height: 40px; padding: 0 12px; border: 1.5px solid var(--line); border-radius: var(--r); background: #fff; font-size: 14px; outline: none; }
.locker__search input:focus { border-color: var(--text); }
.locker__search .btn svg { width: 15px; height: 15px; }
.locker .geo-btn { margin: 10px 0 4px; }
.locker__list { display: grid; gap: 6px; margin-top: 8px; max-height: 360px; overflow-y: auto; }
.locker__item, .locker__chosen { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px; text-align: left; background: #fff; border: 1.5px solid transparent; border-radius: var(--r); transition: border-color .2s; }
.locker__item:hover { border-color: var(--text); }
.locker__chosen { border-color: var(--text); }
.locker__chosen[hidden], .locker__find[hidden] { display: none; }
.locker__chosen > span:nth-child(2) { flex: 1; min-width: 0; }
.locker__chosen b, .locker__txt b { display: block; font-size: 14px; }
.locker__chosen small, .locker__txt small { display: block; font-size: 12px; color: var(--muted); line-height: 1.35; }
.locker__pin { width: 34px; height: 34px; flex-shrink: 0; border-radius: 50%; background: #fdd400; display: grid; place-items: center; color: #1b1a19; }
.locker__pin svg { width: 17px; height: 17px; }
.locker__txt { flex: 1; min-width: 0; }
.locker__end { text-align: right; flex-shrink: 0; }
.locker__end b { display: block; font-size: 13px; }
.locker__end small { display: block; font-size: 11px; color: var(--muted); }
.locker__go { display: inline-block; margin-top: 4px; font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--accent); }
.locker__msg { display: flex; align-items: center; gap: 10px; padding: 10px 2px; font-size: 13px; color: var(--muted); }
.spinner--sm { width: 18px; height: 18px; margin: 0; border-width: 2px; }
.co-save { margin-top: 14px; }
.co-save[hidden] { display: none; }
.co-point { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.co-point svg { width: 14px; height: 14px; flex-shrink: 0; }
.test-note { display: flex; gap: 8px; align-items: flex-start; margin: -4px 0 12px; padding: 10px 14px; border-radius: var(--r); background: #fdf8e8; border: 1px dashed #d1a62b; font-size: 12px; color: #6b5100; }
.test-note svg { width: 15px; height: 15px; flex-shrink: 0; margin-top: 1px; }
.test-note--inline { display: inline-block; margin: 0 0 18px; }
.pay-msg { grid-column: span 2; display: grid; gap: 2px; padding: 12px 14px; border-radius: var(--r); background: #fbe9e7; color: var(--accent); font-size: 13px; }
.pay-msg span { color: var(--text); }
.co-done__point { display: flex; justify-content: center; gap: 6px; align-items: center; font-size: 13px; }
.co-done__point svg { width: 15px; height: 15px; color: var(--accent); }
.co-done__btns { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.co-done__acc { margin-top: 18px; font-size: 14px; }
.co-done__acc a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; color: var(--text); }

/* test payment window */
.paygw { position: fixed; inset: 0; z-index: 160; display: none; place-items: center; padding: 16px; background: rgba(21, 21, 21, .55); }
.paygw.is-open { display: grid; }
.paygw__box { position: relative; width: min(440px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; background: #fff; border-radius: 16px; padding: 22px; box-shadow: 0 30px 80px rgba(0, 0, 0, .3); }
.paygw__head { display: flex; align-items: center; gap: 10px; margin: -4px -4px 16px 0; }
.paygw__brand { display: flex; align-items: center; gap: 6px; font-weight: 800; font-size: 14px; }
.paygw__brand svg { width: 16px; height: 16px; color: var(--ok); }
.paygw__test { padding: 3px 8px; border-radius: 999px; background: #fdf3e0; color: #9a6b00; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.paygw__head .close-btn { margin-left: auto; position: static; }
.paygw__amount { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 16px; border-radius: 12px; background: var(--soft); margin-bottom: 16px; }
.paygw__amount small { color: var(--muted); font-size: 13px; }
.paygw__amount b { font-size: 22px; }
.paygw__box h3 { margin: 0 0 14px; font-size: 17px; font-weight: 800; }
.paygw__form { grid-template-columns: 1fr 1fr; }
.paygw__form .field--half { grid-column: span 1; }
.paygw__cards { grid-column: span 2; display: grid; gap: 4px; padding: 12px; border-radius: 10px; background: #fdf8e8; font-size: 12px; }
.paygw__cards b { margin-bottom: 2px; }
.paygw__cards button { display: flex; justify-content: space-between; gap: 10px; padding: 6px 8px; border-radius: 6px; text-align: left; }
.paygw__cards button:hover { background: #fff; }
.paygw__cards code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px; }
.paygw__cards span { color: var(--muted); }
.paygw__blik { font-size: 26px !important; letter-spacing: .3em; text-align: center; height: 58px !important; }
.paygw__hint { grid-column: span 2; margin: 0; font-size: 12px; color: var(--muted); }
.paygw__p { margin: 0 0 18px; font-size: 14px; color: var(--muted); }
.paygw__btns { display: grid; gap: 8px; }
.paygw__banks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.paygw__banks button { height: 56px; border: 1.5px solid var(--line); border-radius: 10px; font-weight: 700; font-size: 14px; transition: border-color .2s; }
.paygw__banks button:hover { border-color: var(--text); }
.paygw__wait { padding: 30px 0 14px; }

@media (max-width: 980px) {
  .auth { grid-template-columns: 1fr; }
  .auth__aside { display: none; }
  .acc__grid { grid-template-columns: 1fr; gap: 18px; }
  .acc__side { position: static; }
  .acc__nav { display: flex; overflow-x: auto; scrollbar-width: none; margin: 12px 0 8px; }
  .acc__nav a { white-space: nowrap; }
}
@media (max-width: 720px) {
  .acc-tiles { grid-template-columns: 1fr; }
  .acc-status { flex-direction: column; gap: 12px; padding: 18px; }
  .auth__forgot, .auth__err, .acc__point, .pay-msg, .paygw__cards, .paygw__hint { grid-column: span 1; }
  .acc__main .form .btn { justify-self: stretch; }
  .locker__end small { display: none; }
  .paygw { padding: 0; align-items: end; }
  .paygw__box { width: 100%; border-radius: 16px 16px 0 0; max-height: 92vh; }
  .paygw__form { grid-template-columns: 1fr 1fr; }
}

/* ---------- 29.10.2026: professional prices hint, price on request, bank transfer, VAT invoice ---------- */
.pro-hint { display: block; margin-top: 8px; font-size: 11.5px; line-height: 1.35; color: var(--muted); }
a.pro-hint:hover { color: var(--accent); text-decoration: underline; }
.pro-hint--pp { margin: -6px 0 18px; font-size: 13px; }
.pro-hint--pp a { color: var(--accent); font-weight: 600; text-decoration: underline; }
.is-master .pro-hint { display: none; }
.card__rp { font-size: 12px; font-weight: 500; color: var(--muted); }
.pp__price .card__rp { font-size: 16px; margin-left: 6px; }
.card__price--ask, .pp__price--ask { color: var(--muted); }
.card__price--ask { font-size: 13px; white-space: normal; }
.pp__ask-note { margin: 4px 0 16px; font-size: 14px; color: var(--muted); }
.opt__end--muted { font-size: 12px; font-weight: 500; color: var(--muted); text-align: right; }
.co-inv-toggle { margin-bottom: 4px; }
.co-inv { display: flex; flex-wrap: wrap; gap: 0 16px; padding: 16px; margin-bottom: 8px; background: var(--soft); border-radius: var(--r); }
.co-inv .field { flex: 1 1 100%; }
.co-inv .field--half { flex: 1 1 220px; }
.co-inv[hidden] { display: none; }
.bank { max-width: 520px; margin: 24px auto 8px; padding: 20px; text-align: left; border: 1px solid var(--line); border-radius: var(--r); background: var(--soft); }
.bank h3 { margin: 0 0 8px; font-size: 17px; }
.bank p { margin: 0 0 12px; font-size: 14px; }
.bank__rows { display: grid; gap: 8px; margin-bottom: 12px; }
.bank__rows div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; font-size: 14px; border-bottom: 1px dashed var(--line); padding-bottom: 6px; }
.bank__rows span { color: var(--muted); }
.bank__rows b { font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.bank__note { font-size: 12px; color: var(--muted); }
