/* Tokens */
:root {
  --primary: #5a63e6;
  --primary-dark: #434bc4;
  --primary-soft: #eef0fd;
  --dark: #1b1e2e;
  --text: #5c6175;
  --muted: #868b9e;
  --light: #f5f6fb;
  --line: #e5e7f0;
  --white: #ffffff;
  --sale: #d9363e;
  --ok: #17835a;
  --star: #f2a516;
  --head: "Urbanist", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 14px 40px rgba(27, 30, 46, 0.1);
  --shadow-lg: 0 24px 70px rgba(27, 30, 46, 0.2);
  --ease: cubic-bezier(0.22, 0.8, 0.24, 1);
}

/* Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body { font-family: var(--body); color: var(--text); background: var(--white); font-size: 15.5px; line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
body.locked { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: var(--dark); }
h1, h2, h3, h4, h5 { font-family: var(--head); color: var(--dark); line-height: 1.12; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
[hidden] { display: none !important; }

/* Shared */
.container { width: min(1280px, 100% - 40px); margin-inline: auto; }
.section { padding: 100px 0; }
.section--light { background: var(--light); }
.sub-title { display: block; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--primary); margin-bottom: 10px; }
.h2 { font-size: clamp(32px, 3.6vw, 50px); font-weight: 800; letter-spacing: -0.015em; }
.h2 span { color: var(--primary); }
.title { text-align: center; margin-bottom: 52px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 52px; padding: 0 28px; border-radius: 999px; background: var(--primary); color: var(--white); font-weight: 600; font-size: 15px; border: 1.5px solid var(--primary); transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.2s, box-shadow 0.25s; }
.btn i { transition: transform 0.25s var(--ease); }
.btn:hover { background: var(--primary-dark); border-color: var(--primary-dark); box-shadow: 0 10px 26px rgba(90, 99, 230, 0.32); transform: translateY(-2px); }
.btn:hover .ri-arrow-right-line { transform: translateX(4px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn--outline { background: transparent; color: var(--dark); border-color: var(--dark); }
.btn--outline:hover { background: var(--dark); border-color: var(--dark); color: var(--white); box-shadow: none; }
.btn--white { background: var(--white); border-color: var(--white); color: var(--dark); }
.btn--white:hover { background: var(--primary); border-color: var(--primary); color: var(--white); }
.btn--full { width: 100%; }
.btn--grow { flex: 1; padding: 0 16px; }
.link-btn { font-weight: 600; font-size: 14px; color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.link-btn:hover { color: var(--primary-dark); }
.icon-btn { position: relative; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; color: var(--dark); font-size: 21px; transition: background 0.2s, color 0.2s, transform 0.15s; }
.icon-btn:hover { background: var(--primary-soft); color: var(--primary); }
.icon-btn:active { transform: scale(0.92); }
.count { position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--primary); color: var(--white); font-family: var(--body); font-size: 10.5px; line-height: 18px; text-align: center; font-weight: 700; }
.count.bump { animation: bump 0.45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.45); } }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.75s var(--ease) var(--d, 0ms), transform 0.75s var(--ease) var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }

/* Announcement */
.announce { position: relative; height: 38px; background: var(--dark); color: #e9eaf3; font-size: 13px; overflow: hidden; }
.announce__msg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 4px; padding: 0 12px; opacity: 0; transform: translateY(100%); transition: opacity 0.5s, transform 0.5s var(--ease); white-space: nowrap; }
.announce__msg.on { opacity: 1; transform: none; }
.announce strong { color: var(--white); font-weight: 700; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.96); border-bottom: 1px solid transparent; transition: border-color 0.25s, box-shadow 0.25s; }
.header.sticky { border-color: var(--line); box-shadow: 0 6px 24px rgba(27, 30, 46, 0.06); }
.header__row { display: flex; align-items: center; gap: 32px; height: 78px; transition: height 0.25s; }
.logo { font-family: var(--head); font-weight: 900; font-size: 30px; color: var(--dark); letter-spacing: -0.03em; line-height: 1; }
.logo span { color: var(--primary); }
.logo--light { color: var(--white); }
.burger { display: none; }
.nav { display: flex; align-items: center; gap: 4px; margin-right: auto; height: 100%; }
.nav__item { display: flex; align-items: center; height: 100%; }
.nav__link { position: relative; display: inline-flex; align-items: center; gap: 2px; padding: 10px 14px; font-weight: 600; font-size: 15px; color: var(--dark); transition: color 0.2s; }
.nav__link::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--primary); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease); }
.nav__link:hover, .nav__link.active { color: var(--primary); }
.nav__link:hover::after, .nav__link.active::after { transform: scaleX(1); }
.nav__link--sale { color: var(--sale); }
.nav__link--sale::after { background: var(--sale); }
.nav__link--sale:hover { color: var(--sale); }
.mega { position: absolute; left: 0; right: 0; top: 100%; display: grid; grid-template-columns: repeat(3, 1fr) 1.5fr; gap: 28px; padding: 34px max(20px, calc((100% - 1280px) / 2)); background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 30px 50px rgba(27, 30, 46, 0.12); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity 0.22s, transform 0.28s var(--ease), visibility 0.22s; }
.nav__item:hover .mega, .nav__item:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.mega__col h4 { font-size: 16px; font-weight: 800; margin-bottom: 12px; }
.mega__col a { display: block; padding: 5px 0; font-size: 14.5px; transition: color 0.2s, transform 0.2s; }
.mega__col a:hover { color: var(--primary); transform: translateX(4px); }
.mega__promo { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 170px; }
.mega__promo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.mega__promo:hover img { transform: scale(1.05); }
.mega__promo span { position: absolute; left: 14px; bottom: 14px; padding: 7px 14px; border-radius: 99px; background: var(--white); color: var(--dark); font-size: 14px; font-weight: 600; }
.header__icons { display: flex; align-items: center; gap: 2px; margin-left: auto; }

/* Hero */
.hero { position: relative; height: clamp(560px, calc(100vh - 116px), 760px); overflow: hidden; background: var(--primary-soft); }
.slide { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 42fr) minmax(0, 58fr); visibility: hidden; transition: visibility 0s 1s; z-index: 1; }
.slide.active { visibility: visible; transition-delay: 0s; z-index: 2; }
.slide--a { background: #eef0fd; }
.slide--b { background: #f5efe5; }
.slide--c { background: #eceef2; }
.slide__text { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 40px 48px 90px max(20px, calc((100vw - 1280px) / 2)); }
.slide__kicker { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--primary); margin-bottom: 18px; }
.slide h1, .slide__h { text-wrap: balance; font-size: clamp(44px, 5.2vw, 82px); font-weight: 900; line-height: 1; letter-spacing: -0.03em; margin-bottom: 22px; }
.slide em { font-style: normal; color: var(--primary); display: block; }
.slide p { font-size: 17px; max-width: 420px; margin-bottom: 30px; }
.slide__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.slide__text > * { opacity: 0; transform: translateY(26px); }
.ready .slide.active .slide__text > * { opacity: 1; transform: none; transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.ready .slide.active .slide__text > *:nth-child(1) { transition-delay: 0.3s; }
.ready .slide.active .slide__text > *:nth-child(2) { transition-delay: 0.42s; }
.ready .slide.active .slide__text > *:nth-child(3) { transition-delay: 0.56s; }
.ready .slide.active .slide__text > *:nth-child(4) { transition-delay: 0.7s; }
.slide__media { position: relative; overflow: hidden; clip-path: inset(0 0 0 100%); transition: clip-path 1s var(--ease); }
.slide.active .slide__media { clip-path: inset(0); }
.slide__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.slide.active .slide__media img { transform: scale(1); transition: transform 7s ease-out; }
.hero__controls { position: absolute; z-index: 5; left: max(20px, calc((100vw - 1280px) / 2)); right: 58%; bottom: 30px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-right: 48px; }
.hero__dots { display: flex; gap: 10px; flex: 1; max-width: 300px; }
.hdot { flex: 1; text-align: left; font-size: 12.5px; font-weight: 700; color: var(--muted); transition: color 0.25s; }
.hdot.on { color: var(--dark); }
.hdot i { display: block; position: relative; height: 3px; margin-top: 5px; background: rgba(27, 30, 46, 0.14); border-radius: 2px; overflow: hidden; }
.hdot i::after { content: ""; position: absolute; inset: 0; background: var(--primary); transform: scaleX(0); transform-origin: left; }
.hdot.on i::after { animation: heroFill 6.5s linear forwards; }
.paused .hdot.on i::after { animation-play-state: paused; }
@keyframes heroFill { to { transform: scaleX(1); } }
.hero__arrows { display: flex; gap: 8px; }
.hero__arrows button, .rail__arrows button { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--white); color: var(--dark); font-size: 19px; border: 1px solid var(--line); transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s; }
.hero__arrows button:hover, .rail__arrows button:hover { background: var(--primary); border-color: var(--primary); color: var(--white); }
.hero__arrows button:active, .rail__arrows button:active { transform: scale(0.92); }

/* Categories */
.cats { padding: 28px 0 0; }
.cats__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cat { position: relative; display: block; aspect-ratio: 4 / 4.4; border-radius: var(--radius); overflow: hidden; isolation: isolate; background: var(--light); }
.cat:nth-child(2) { --d: 90ms; }
.cat:nth-child(3) { --d: 180ms; }
.cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 22%; transition: transform 0.9s var(--ease); }
.cat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20, 22, 36, 0.72), rgba(20, 22, 36, 0) 52%); z-index: 1; transition: background-color 0.4s; }
.cat:hover::after { background-color: rgba(67, 75, 196, 0.42); }
.cat:hover img { transform: scale(1.06); }
.cat__text { position: absolute; left: 28px; right: 28px; bottom: 26px; z-index: 2; color: rgba(255, 255, 255, 0.86); }
.cat__text h3 { color: var(--white); font-size: 36px; font-weight: 800; letter-spacing: -0.015em; }
.cat__text p { font-size: 14.5px; margin: 3px 0 0; }
.cat__text span { display: inline-flex; align-items: center; gap: 6px; max-height: 0; opacity: 0; color: var(--white); font-weight: 600; overflow: hidden; transition: max-height 0.35s var(--ease), opacity 0.35s, margin 0.35s; }
.cat:hover .cat__text span, .cat:focus-visible .cat__text span { max-height: 30px; opacity: 1; margin-top: 10px; }

/* Shop */
.shop__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.shop__result { font-size: 14.5px; font-weight: 500; }
.tabs { position: relative; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; padding: 12px 14px; font-weight: 600; font-size: 15px; color: var(--text); transition: color 0.2s; }
.tab small { margin-left: 5px; font-size: 12px; font-weight: 500; color: var(--muted); }
.tab:hover, .tab.on { color: var(--dark); }
.tab--sale, .tab--sale:hover, .tab--sale.on { color: var(--sale); }
.tabs__line { position: absolute; left: 0; bottom: 0; height: 2px; background: var(--primary); transition: transform 0.35s var(--ease), width 0.35s var(--ease); }
.toolbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.tool-btn { display: inline-flex; align-items: center; gap: 7px; height: 46px; padding: 0 18px; border: 1px solid var(--line); border-radius: 999px; font-weight: 600; font-size: 14.5px; color: var(--dark); transition: border-color 0.2s, background 0.2s, color 0.2s; }
.tool-btn:hover, .tool-btn.on { border-color: var(--primary); color: var(--primary); }
.tool-btn.on { background: var(--primary-soft); }
.tool-btn b { min-width: 20px; height: 20px; line-height: 20px; border-radius: 10px; background: var(--primary); color: var(--white); font-size: 11px; text-align: center; }
.tool-search { flex: 1; min-width: 200px; display: flex; align-items: center; gap: 9px; height: 46px; padding: 0 18px; border: 1px solid var(--line); border-radius: 999px; transition: border-color 0.2s, box-shadow 0.2s; }
.tool-search:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.tool-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 14.5px; }
.tool-sort { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.tool-sort span { white-space: nowrap; }
.tool-sort select { height: 46px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); font-weight: 600; font-size: 14.5px; cursor: pointer; }
.filters { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.4s var(--ease); }
.filters.open { grid-template-rows: 1fr; }
.filters__inner { overflow: hidden; display: grid; grid-template-columns: 1.2fr 1fr 1.7fr; gap: 30px; background: var(--light); border-radius: var(--radius); padding: 0 28px; opacity: 0; transition: padding 0.4s var(--ease), margin 0.4s var(--ease), opacity 0.3s; }
.filters.open .filters__inner { padding: 24px 28px; margin-top: 14px; opacity: 1; }
.filters__group h4 { font-size: 15px; font-weight: 800; margin-bottom: 10px; }
#fPrice, .brand-list { display: flex; flex-wrap: wrap; gap: 7px; }
.opt { padding: 6px 13px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: 13.5px; transition: border-color 0.2s, background 0.2s, color 0.2s; }
.opt:hover { border-color: var(--primary); color: var(--primary); }
.opt.on { background: var(--primary); border-color: var(--primary); color: var(--white); }
.swatches { display: flex; flex-wrap: wrap; gap: 9px; }
.swatch { position: relative; width: 30px; height: 30px; border-radius: 50%; background: var(--c); border: 1px solid rgba(27, 30, 46, 0.2); transition: transform 0.15s; }
.swatch:hover { transform: scale(1.1); }
.swatch.on::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--primary); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chips:empty { display: none; }
.chip { display: inline-flex; align-items: center; gap: 4px; padding: 5px 8px 5px 13px; background: var(--primary-soft); color: var(--primary-dark); font-size: 13.5px; font-weight: 600; border-radius: 999px; transition: background 0.2s; }
.chip:hover { background: #dfe2fb; }
.chip--clear { background: none; color: var(--text); padding: 5px 8px; text-decoration: underline; text-underline-offset: 3px; }
.chip--clear:hover { background: none; color: var(--dark); }

/* Grid + cards */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 24px; margin-top: 30px; }
.card { min-width: 0; animation: cardIn 0.6s var(--ease) both; animation-delay: calc(var(--i, 0) * 45ms); }
.card.still { animation: none; }
@keyframes cardIn { from { opacity: 0; transform: translateY(20px); } }
.card__media { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--light); }
.card__open { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.card__open img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 0.45s, transform 0.8s var(--ease); }
.card__img2 { opacity: 0; transform: scale(1.04); }
.card__flags { position: absolute; left: 12px; top: 12px; display: flex; gap: 6px; pointer-events: none; }
.flag { display: inline-block; padding: 3px 9px; border-radius: 6px; background: var(--dark); color: var(--white); font-size: 12px; font-weight: 700; line-height: 1.4; }
.flag--sale { background: var(--sale); }
.heart { position: absolute; right: 10px; top: 10px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, 0.94); color: var(--dark); font-size: 18px; transition: transform 0.2s var(--ease), color 0.2s; }
.heart:hover { transform: scale(1.1); color: var(--sale); }
.heart:active { transform: scale(0.88); }
.heart.on { color: var(--sale); }
.heart--box { position: static; width: 52px; height: 52px; flex: none; border: 1px solid var(--line); background: var(--white); }
.card__quick { position: absolute; left: 12px; right: 12px; bottom: 12px; height: 44px; border-radius: 999px; background: var(--white); color: var(--dark); font-weight: 600; font-size: 14px; opacity: 0; transform: translateY(14px); transition: opacity 0.25s, transform 0.3s var(--ease), background 0.2s, color 0.2s; }
.card__quick:hover { background: var(--primary); color: var(--white); }
.card__body { padding-top: 13px; }
.card__brand { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.card h3 { font-family: var(--head); font-size: 17.5px; font-weight: 700; margin: 2px 0 4px; line-height: 1.25; }
.card h3 button { text-align: left; font: inherit; color: inherit; transition: color 0.2s; }
.card h3 button:hover { color: var(--primary); }
.card__rate { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); }
.stars { position: relative; display: inline-block; color: #dcdee7; font-size: 13px; letter-spacing: 1px; line-height: 1; white-space: nowrap; }
.stars span { position: absolute; left: 0; top: 0; overflow: hidden; color: var(--star); }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 6px; }
.price { font-weight: 700; font-size: 15.5px; color: var(--dark); }
.price del { margin-left: 7px; font-weight: 500; font-size: 13.5px; color: var(--muted); }
.card__add { flex: none; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--primary-soft); color: var(--primary-dark); font-size: 17px; transition: background 0.2s, color 0.2s, transform 0.15s; }
.card__add:hover { background: var(--primary); color: var(--white); }
.card__add:active { transform: scale(0.9); }
.dots { display: flex; gap: 7px; margin-top: 4px; }
.dot { position: relative; width: 16px; height: 16px; border-radius: 50%; background: var(--c); border: 1px solid rgba(27, 30, 46, 0.25); }
.dot.on::after { content: ""; position: absolute; inset: -3.5px; border-radius: 50%; border: 1.5px solid var(--primary); }
@media (hover: hover) {
  .card:hover .card__img2 { opacity: 1; transform: none; }
  .card:hover .card__img { transform: scale(1.04); }
  .card:hover .card__quick, .card__quick:focus-visible { opacity: 1; transform: none; }
}
.empty { grid-column: 1 / -1; text-align: center; padding: 60px 20px; }
.empty i { font-size: 40px; color: var(--primary); }
.empty h3 { font-size: 24px; margin: 8px 0 4px; }
.empty .btn { margin-top: 18px; }
.more { max-width: 280px; margin: 50px auto 0; text-align: center; font-size: 14px; }
.more__bar { height: 3px; margin: 8px 0 20px; background: var(--line); border-radius: 2px; overflow: hidden; }
.more__bar span { display: block; height: 100%; background: var(--primary); transition: width 0.5s var(--ease); }

/* Sale band */
.band { padding: 0; }
.band__frame { position: relative; min-height: 600px; display: flex; align-items: center; overflow: hidden; background: var(--dark); will-change: clip-path; }
.band__frame > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.band__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 22, 36, 0.86) 0%, rgba(20, 22, 36, 0.55) 45%, rgba(20, 22, 36, 0.05) 80%); }
.band__inner { position: relative; z-index: 1; padding-block: 60px; }
.band__text { max-width: 560px; color: rgba(255, 255, 255, 0.85); }
.band__kicker { display: inline-block; padding: 5px 13px; border-radius: 999px; background: var(--sale); color: var(--white); font-size: 13px; font-weight: 700; margin-bottom: 18px; }
.band h2 { color: var(--white); font-size: clamp(40px, 5vw, 72px); font-weight: 900; letter-spacing: -0.025em; line-height: 1.02; }
.band em { font-style: normal; color: #aeb4ff; }
.band p { margin: 18px 0 24px; font-size: 16.5px; max-width: 460px; }
.timer { display: flex; gap: 10px; margin-bottom: 30px; }
.timer div { min-width: 74px; padding: 11px 8px; text-align: center; background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.2); border-radius: var(--radius-sm); }
.timer b { display: block; font-family: var(--head); font-size: 30px; font-weight: 800; line-height: 1.05; color: var(--white); font-variant-numeric: tabular-nums; }
.timer span { font-size: 11.5px; }

/* Rail */
.rail__arrows { display: flex; gap: 8px; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 72px) / 4); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.rail::-webkit-scrollbar { display: none; }
.rail .card { scroll-snap-align: start; }

/* Brands */
.brands { display: flex; padding: 34px 0; border-block: 1px solid var(--line); overflow: hidden; }
.brands__track { display: flex; flex: none; animation: marquee 34s linear infinite; }
.brands:hover .brands__track { animation-play-state: paused; }
.brands__track > div { display: flex; flex: none; align-items: center; }
.brands a { padding: 0 44px; font-family: var(--head); font-size: 30px; font-weight: 800; letter-spacing: -0.01em; color: #b5b8c6; white-space: nowrap; transition: color 0.2s; }
.brands a:hover { color: var(--primary); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Reviews */
.reviews__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.score { display: flex; align-items: center; gap: 13px; }
.score strong { font-family: var(--head); font-size: 54px; font-weight: 900; color: var(--dark); line-height: 1; }
.score .stars { color: var(--star); font-size: 16px; }
.score p { font-size: 13.5px; }
.reviews { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.review { display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius); padding: 26px; transition: box-shadow 0.3s, translate 0.3s var(--ease); }
.review:hover { box-shadow: var(--shadow); translate: 0 -4px; }
.stars-static { color: var(--star); letter-spacing: 1.5px; font-size: 14px; }
.stars-static i { font-style: normal; color: #dcdee7; }
.review h3 { font-size: 20px; font-weight: 800; margin: 10px 0 8px; }
.review p { font-size: 14.5px; flex: 1; }
.review footer { margin-top: 16px; font-size: 13px; }
.review footer b { display: block; color: var(--dark); font-size: 14.5px; }
.review__prod { display: flex; align-items: center; gap: 10px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); text-align: left; font-size: 13px; font-weight: 600; color: var(--dark); transition: color 0.2s; }
.review__prod:hover { color: var(--primary); }
.review__prod img { width: 42px; height: 50px; object-fit: cover; border-radius: 7px; flex: none; }
.review__prod i { margin-left: 3px; }

/* Services */
.services { padding: 44px 0; border-bottom: 1px solid var(--line); }
.services__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.service { display: flex; align-items: center; gap: 14px; }
.service i { flex: none; width: 50px; height: 50px; display: grid; place-items: center; border-radius: 50%; background: var(--primary-soft); color: var(--primary); font-size: 22px; }
.service h4 { font-size: 16.5px; font-weight: 800; }
.service p { font-size: 13.5px; }

/* Journal */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post__img { display: block; width: 100%; aspect-ratio: 10 / 7; border-radius: var(--radius); overflow: hidden; background: var(--light); }
.post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.post:hover .post__img img { transform: scale(1.05); }
.post__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: 16px; font-size: 13px; color: var(--muted); }
.post__meta span { font-weight: 700; color: var(--primary); }
.post h3 { font-size: 23px; font-weight: 800; margin-top: 6px; line-height: 1.2; }
.post h3 button { text-align: left; font: inherit; color: inherit; transition: color 0.2s; }
.post h3 button:hover { color: var(--primary); }
.article { padding: 28px 36px 36px; }
.article__img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.article .post__meta { margin-top: 0; }
.article h2 { font-size: 32px; font-weight: 800; margin: 8px 0 14px; }
.article p { margin-bottom: 14px; }
.article .btn { margin-top: 6px; }

/* Help */
.help { display: grid; grid-template-columns: 1fr 1.5fr; gap: 56px; align-items: start; }
.help__lead { margin: 16px 0 24px; max-width: 380px; }
.faq__item { background: var(--white); border-radius: var(--radius-sm); margin-bottom: 10px; }
.faq__item > button { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; text-align: left; font-family: var(--head); font-size: 18px; font-weight: 700; color: var(--dark); transition: color 0.2s; }
.faq__item > button:hover { color: var(--primary); }
.faq__item i { flex: none; font-size: 20px; transition: transform 0.3s var(--ease); }
.faq__item.open i { transform: rotate(45deg); color: var(--primary); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.35s var(--ease); }
.faq__item.open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p { padding: 0 22px 20px; font-size: 14.5px; }

/* Store */
.store { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.store__photo { border-radius: var(--radius); overflow: hidden; height: 100%; min-height: 480px; }
.store__photo img { width: 100%; height: 100%; object-fit: cover; }
.store__list { margin: 20px 0 26px; }
.store__list li { display: flex; gap: 11px; padding: 6px 0; font-size: 15px; color: var(--dark); }
.store__list i { color: var(--primary); font-size: 18px; }
.store__list a:hover { color: var(--primary); }
.open-pill { display: inline-block; margin-left: 6px; padding: 1px 9px; border-radius: 99px; background: #e4f5ee; color: var(--ok); font-size: 12px; font-weight: 700; white-space: nowrap; }
.open-pill.off { background: #f1f2f6; color: var(--text); }
.field { display: block; margin-bottom: 12px; }
.field span { display: block; font-size: 13.5px; font-weight: 600; color: var(--dark); margin-bottom: 5px; }
.field input, .field textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); transition: border-color 0.2s, box-shadow 0.2s; }
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.field textarea { resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field-row--3 { grid-template-columns: 2fr 1fr 1fr; }
.form-ok { display: flex; align-items: flex-start; gap: 6px; margin-top: 12px; font-size: 14px; color: var(--ok); font-weight: 500; }

/* Footer */
.footer { background: var(--dark); color: #b4b7c8; padding: 76px 0 26px; font-size: 14.5px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.5fr; gap: 44px; }
.footer h4 { color: var(--white); font-size: 17px; font-weight: 800; margin-bottom: 14px; }
.footer__grid > div > a:not(.logo) { display: block; padding: 4px 0; transition: color 0.2s, transform 0.2s; }
.footer__grid > div > a:not(.logo):hover { color: var(--white); transform: translateX(4px); }
.footer__about { margin-top: 12px; max-width: 320px; }
.footer h4 + .footer__about { margin-top: 0; }
.socials { display: flex; gap: 8px; margin-top: 18px; }
.socials a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, 0.08); color: var(--white); font-size: 17px; transition: background 0.2s, transform 0.2s; }
.socials a:hover { background: var(--primary); transform: translateY(-3px); }
.news { display: flex; margin-top: 14px; background: rgba(255, 255, 255, 0.08); border-radius: 999px; padding: 5px; }
.news:focus-within { outline: 2px solid var(--primary); }
.news input { flex: 1; min-width: 0; padding: 0 14px; background: none; border: 0; outline: 0; color: var(--white); }
.news input::placeholder { color: #9093a7; }
.news button { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--primary); color: var(--white); font-size: 18px; transition: background 0.2s; }
.news button:hover { background: var(--primary-dark); }
.news__ok { margin-top: 10px; color: #7bdcb5; font-size: 13.5px; }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 54px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 13.5px; }
.pay { display: flex; gap: 12px; font-size: 25px; color: #d3d5e0; }

/* Back to top */
.to-top { position: fixed; z-index: 40; right: 22px; bottom: 22px; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--dark); color: var(--white); font-size: 19px; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity 0.25s, transform 0.25s, background 0.2s, visibility 0.25s; }
.to-top.on { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--primary); }

/* Overlays */
.scrim { position: fixed; inset: 0; z-index: 60; background: rgba(20, 22, 36, 0.5); opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s; }
.scrim.open { opacity: 1; visibility: visible; }
.drawer { position: fixed; z-index: 70; right: 0; top: 0; bottom: 0; width: min(460px, 100%); display: flex; flex-direction: column; background: var(--white); transform: translateX(102%); visibility: hidden; transition: transform 0.42s var(--ease), visibility 0.42s; box-shadow: var(--shadow-lg); }
.drawer--left { right: auto; left: 0; width: min(340px, 88%); transform: translateX(-102%); }
.drawer.open { transform: none; visibility: visible; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 14px 24px; border-bottom: 1px solid var(--line); }
.drawer__head h3 { font-size: 24px; font-weight: 800; }
.drawer__head small { font-size: 16px; font-weight: 600; color: var(--muted); }
.drawer__body { flex: 1; overflow-y: auto; padding: 8px 24px; }
.drawer__foot { padding: 14px 24px 20px; border-top: 1px solid var(--line); }
.drawer__foot:empty { display: none; }
.drawer__empty { height: 100%; min-height: 300px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 6px; }
.drawer__empty i { font-size: 40px; color: var(--primary); }
.drawer__empty h4 { font-size: 21px; }
.drawer__empty .btn { margin-top: 12px; }
.drawer__note { margin-top: 10px; text-align: center; font-size: 12.5px; color: var(--muted); }
.mnav { overflow-y: auto; padding: 8px 12px; }
.mnav a { display: block; padding: 11px 12px; font-family: var(--head); font-size: 20px; font-weight: 700; color: var(--dark); border-radius: 8px; }
.mnav a:hover { background: var(--primary-soft); color: var(--primary); }
.mnav__sale { color: var(--sale) !important; }
.ship { padding: 12px 24px; background: var(--primary-soft); font-size: 13.5px; color: var(--dark); }
.ship i { color: var(--ok); }
.ship__bar { height: 5px; margin-top: 7px; background: rgba(90, 99, 230, 0.2); border-radius: 3px; overflow: hidden; }
.ship__bar span { display: block; height: 100%; background: var(--primary); border-radius: 3px; transition: width 0.5s var(--ease); }
.line { position: relative; display: flex; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--line); animation: cardIn 0.4s var(--ease) both; }
.line:last-child { border-bottom: 0; }
.line__img { flex: none; width: 86px; height: 108px; border-radius: var(--radius-sm); overflow: hidden; background: var(--light); }
.line__img img { width: 100%; height: 100%; object-fit: cover; }
.line__info { flex: 1; min-width: 0; padding-right: 26px; }
.line__info h4 { font-size: 16.5px; font-weight: 700; line-height: 1.25; }
.line__info p { font-size: 13px; margin-top: 2px; }
.line__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; }
.line__price { color: var(--dark); }
.line__rm { position: absolute; right: 0; top: 13px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; color: var(--muted); transition: background 0.2s, color 0.2s; }
.line__rm:hover { background: #fdecec; color: var(--sale); }
.qty { display: inline-flex; align-items: center; height: 52px; border: 1px solid var(--line); border-radius: 999px; flex: none; }
.qty button { width: 40px; height: 100%; display: grid; place-items: center; color: var(--dark); transition: color 0.2s; }
.qty button:hover { color: var(--primary); }
.qty b { min-width: 20px; text-align: center; color: var(--dark); }
.qty--sm { height: 34px; }
.qty--sm button { width: 30px; }
.promo { display: flex; gap: 8px; }
.promo input { flex: 1; min-width: 0; height: 42px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; text-transform: uppercase; font-size: 13.5px; }
.promo input::placeholder { text-transform: none; }
.promo input:focus { outline: 0; border-color: var(--primary); }
.promo button { padding: 0 18px; border: 1px solid var(--dark); border-radius: 999px; font-weight: 600; font-size: 13.5px; color: var(--dark); transition: background 0.2s, color 0.2s; }
.promo button:hover { background: var(--dark); color: var(--white); }
.promo__msg { font-size: 12.5px; color: var(--sale); min-height: 16px; margin-top: 3px; }
.sum { margin: 6px 0 14px; font-size: 14.5px; }
.sum > div { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; }
.sum dd { color: var(--dark); font-weight: 600; }
.sum__disc dt, .sum__disc dd { color: var(--ok); }
.sum__total { margin-top: 6px; padding-top: 10px !important; border-top: 1px solid var(--line); font-size: 18px; font-family: var(--head); font-weight: 800; color: var(--dark); }
.sum__total dd { font-weight: 800; }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 70; display: flex; align-items: center; justify-content: center; padding: 24px; opacity: 0; visibility: hidden; transition: opacity 0.25s, visibility 0.25s; }
.modal.open { opacity: 1; visibility: visible; }
.modal__box { position: relative; width: min(720px, 100%); max-height: 100%; overflow-y: auto; background: var(--white); border-radius: 20px; box-shadow: var(--shadow-lg); transform: translateY(24px) scale(0.98); transition: transform 0.38s var(--ease); }
.modal.open .modal__box { transform: none; }
.modal__box--wide { width: min(1080px, 100%); }
.modal__box--small { width: min(440px, 100%); }
.modal__close { position: sticky; float: right; top: 10px; margin: 10px 10px -54px 0; z-index: 4; background: var(--white); }
.modal__close--float { box-shadow: var(--shadow); }
.account { padding: 36px 32px 32px; }
.account h3 { font-size: 28px; font-weight: 800; }
.account > p { margin: 5px 0 20px; font-size: 14.5px; }

/* Quick view */
.qv { display: grid; grid-template-columns: 1.05fr 1fr; }
.qv__gallery { display: grid; grid-template-columns: 78px 1fr; gap: 12px; padding: 22px 0 22px 22px; align-self: start; position: sticky; top: 0; }
.qv__thumbs { display: flex; flex-direction: column; gap: 10px; }
.qv__thumbs button { aspect-ratio: 4 / 5; border-radius: 9px; overflow: hidden; opacity: 0.62; outline: 2px solid transparent; outline-offset: 1px; transition: opacity 0.2s, outline-color 0.2s; }
.qv__thumbs button:hover { opacity: 1; }
.qv__thumbs button.on { opacity: 1; outline-color: var(--primary); }
.qv__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.qv__main { aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--light); }
.qv__main img { width: 100%; height: 100%; object-fit: cover; animation: qvImg 0.4s var(--ease); }
@keyframes qvImg { from { opacity: 0.4; transform: scale(1.02); } }
.qv__info { padding: 30px 32px 30px 34px; }
.qv__info h2 { font-size: 32px; font-weight: 800; letter-spacing: -0.01em; margin: 3px 44px 8px 0; }
.price--lg { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-top: 12px; font-family: var(--head); font-size: 28px; font-weight: 800; }
.price--lg del { margin: 0; font-size: 18px; font-family: var(--body); }
.qv__desc { margin: 12px 0 16px; font-size: 14.5px; }
.qv__opt { margin-bottom: 16px; }
.qv__opt h4 { font-family: var(--body); font-size: 14px; font-weight: 700; margin-bottom: 9px; }
.qv__opt h4 span { font-weight: 500; color: var(--text); }
.qv__opt.need h4, .qv__opt.need h4 span { color: var(--sale); font-weight: 700; }
.sizes { display: flex; flex-wrap: wrap; gap: 7px; }
.size { min-width: 46px; height: 42px; padding: 0 11px; border: 1px solid var(--line); border-radius: 9px; font-size: 14px; font-weight: 600; color: var(--dark); transition: border-color 0.15s, background 0.15s, color 0.15s, transform 0.12s; }
.size:hover { border-color: var(--primary); color: var(--primary); }
.size:active { transform: scale(0.95); }
.size.on { background: var(--primary); border-color: var(--primary); color: var(--white); }
.qv__opt.need .size { border-color: #f1b8bb; }
.qv__buy { display: flex; gap: 8px; margin-top: 6px; }
.qv__meta { margin-top: 14px; font-size: 13.5px; color: var(--dark); }
.qv__meta li { display: flex; align-items: center; gap: 7px; padding: 2px 0; }
.qv__meta i { color: var(--primary); }
.qv__details { margin-top: 12px; padding: 12px 16px; background: var(--light); border-radius: var(--radius-sm); font-size: 13.5px; }
.qv__details li { position: relative; padding: 2px 0 2px 14px; }
.qv__details li::before { content: ""; position: absolute; left: 0; top: 11px; width: 4px; height: 4px; border-radius: 50%; background: var(--primary); }
.qv__related { margin-top: 20px; }
.qv__related h4 { font-family: var(--body); font-size: 14px; font-weight: 700; margin-bottom: 9px; }
.qv__related > div { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.qv__related button { text-align: left; font-size: 12.5px; line-height: 1.3; }
.qv__related button:hover span { color: var(--primary); }
.qv__related img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 9px; margin-bottom: 5px; }
.qv__related span { display: block; color: var(--dark); transition: color 0.2s; }

/* Search */
.search { position: fixed; z-index: 70; left: 0; right: 0; top: 0; max-height: 100%; overflow-y: auto; padding: 22px 0 28px; background: var(--white); box-shadow: var(--shadow-lg); transform: translateY(-102%); visibility: hidden; transition: transform 0.4s var(--ease), visibility 0.4s; }
.search.open { transform: none; visibility: visible; }
.search__form { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; border-bottom: 2px solid var(--dark); font-size: 24px; }
.search__form > i { color: var(--muted); }
.search__form input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-family: var(--head); font-size: clamp(20px, 3vw, 30px); font-weight: 700; }
.search__popular { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin-top: 16px; font-size: 14px; }
.search__popular button { padding: 5px 13px; border-radius: 999px; background: var(--light); font-weight: 500; transition: background 0.2s, color 0.2s; }
.search__popular button:hover { background: var(--primary-soft); color: var(--primary); }
.search__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
.hit { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: var(--radius-sm); text-align: left; font-size: 14.5px; font-weight: 600; color: var(--dark); transition: background 0.2s; }
.hit:hover { background: var(--light); }
.hit img { width: 58px; height: 72px; flex: none; object-fit: cover; border-radius: 8px; }
.hit small { display: block; font-size: 11.5px; color: var(--muted); font-weight: 500; }
.hit b { display: block; margin-top: 2px; font-weight: 700; }
.search__all { display: block; margin-top: 12px; }
.search__none { margin-top: 18px; }

/* Checkout */
.co { display: grid; grid-template-columns: 1.3fr 1fr; }
.co__form { padding: 34px 34px 28px; }
.co__form h2 { font-size: 32px; font-weight: 800; margin-right: 44px; }
.co__form h4 { font-size: 17px; font-weight: 800; margin: 22px 0 10px; }
.radio { display: flex; align-items: center; gap: 11px; padding: 12px 14px; margin-bottom: 8px; border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: 14px; cursor: pointer; transition: border-color 0.2s, background 0.2s; }
.radio:has(input:checked) { border-color: var(--primary); background: var(--primary-soft); }
.radio input { accent-color: var(--primary); width: 17px; height: 17px; flex: none; }
.radio span { flex: 1; }
.radio b { display: block; color: var(--dark); }
.radio em { font-style: normal; font-weight: 700; color: var(--dark); font-size: 15px; }
.co__form .btn { margin-top: 12px; }
.co__sum { padding: 34px 28px; background: var(--light); }
.co__sum h4 { font-size: 20px; font-weight: 800; margin: 0 40px 14px 0; }
.co__line { display: flex; gap: 11px; align-items: center; padding: 9px 0; font-size: 13.5px; }
.co__line img { width: 52px; height: 64px; object-fit: cover; border-radius: 8px; flex: none; }
.co__line div { flex: 1; min-width: 0; }
.co__line h5 { font-size: 15px; font-weight: 700; }
.co__line p { font-size: 12.5px; }
.co__line b { color: var(--dark); }
.co__lines { border-bottom: 1px solid var(--line); margin-bottom: 12px; padding-bottom: 6px; }
.done { padding: 70px 30px; text-align: center; max-width: 560px; margin: auto; }
.done__icon { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--primary); color: var(--white); font-size: 36px; animation: pop 0.6s var(--ease); margin-bottom: 18px; }
@keyframes pop { from { transform: scale(0.3); opacity: 0; } }
.done h2 { font-size: 34px; font-weight: 800; margin-bottom: 10px; }
.done p { margin-bottom: 6px; }
.done b { color: var(--dark); }
.done .btn { margin-top: 18px; }

/* Responsive */
@media (max-width: 1100px) {
  .nav { display: none; }
  .burger { display: grid; margin-left: -10px; }
  .header__row { gap: 8px; }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .rail { grid-auto-columns: calc((100% - 48px) / 3); }
  .reviews { grid-template-columns: repeat(2, 1fr); }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .section { padding: 72px 0; }
  .hero { height: auto; min-height: 780px; }
  .slide { grid-template-columns: 1fr; grid-template-rows: 1fr auto; }
  .slide__media { grid-row: 1; min-height: 340px; clip-path: inset(0 0 100% 0); }
  .slide__text { grid-row: 2; padding: 26px 20px 88px; }
  .slide h1, .slide__h { font-size: clamp(38px, 7.5vw, 58px); margin-bottom: 14px; }
  .slide em { display: inline; }
  .slide p { font-size: 15.5px; margin-bottom: 20px; }
  .hero__controls { left: 20px; right: 20px; padding-right: 0; bottom: 20px; }
  .cats__grid { gap: 14px; }
  .cat__text { left: 18px; right: 18px; bottom: 18px; }
  .cat__text h3 { font-size: 26px; }
  .cat__text p { display: none; }
  .filters__inner { grid-template-columns: 1fr; gap: 18px; }
  .help, .store { grid-template-columns: 1fr; gap: 34px; }
  .store__photo { min-height: 320px; height: 340px; }
  .band__frame { min-height: 560px; }
  .qv { grid-template-columns: 1fr; }
  .qv__gallery { position: static; padding: 18px 18px 0; grid-template-columns: 1fr; }
  .qv__thumbs { order: 2; flex-direction: row; }
  .qv__thumbs button { width: 62px; }
  .qv__info { padding: 22px 20px; }
  .co { grid-template-columns: 1fr; }
  .co__sum { order: -1; padding: 26px 22px; }
  .co__form { padding: 24px 22px; }
  .search__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .container { width: min(1280px, 100% - 32px); }
  .section { padding: 60px 0; }
  .hide-sm { display: none; }
  .logo { font-size: 26px; }
  .header__row { height: 64px; }
  .icon-btn { width: 40px; height: 40px; font-size: 20px; }
  .announce { font-size: 12px; }
  .hero { min-height: 700px; }
  .slide__media { min-height: 300px; }
  .slide__btns .btn { min-height: 48px; padding: 0 20px; font-size: 14px; }
  .cats__grid { grid-template-columns: 1fr; }
  .cat { aspect-ratio: 16 / 10; }
  .cat__text p { display: block; }
  .shop__head { margin-bottom: 18px; }
  .toolbar { gap: 8px; }
  .tool-search { order: -1; flex-basis: 100%; }
  .tool-btn { flex: 1; justify-content: center; }
  .tool-sort { flex: 1.3; min-width: 0; }
  .tool-sort span { display: none; }
  .tool-sort select { width: 100%; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 26px 12px; }
  .rail { grid-auto-columns: 62%; gap: 12px; }
  .card h3 { font-size: 16px; }
  .card__media { border-radius: 12px; }
  .heart { width: 34px; height: 34px; right: 8px; top: 8px; font-size: 16px; }
  .heart--box { width: 52px; height: 52px; }
  .card__quick { display: none; }
  .card__add { width: 34px; height: 34px; }
  .band__frame { min-height: 540px; }
  .band__frame::after { background: linear-gradient(0deg, rgba(20, 22, 36, 0.88), rgba(20, 22, 36, 0.45)); }
  .timer { gap: 6px; }
  .timer div { flex: 1; min-width: 0; padding: 9px 2px; }
  .timer b { font-size: 25px; }
  .brands { padding: 22px 0; }
  .brands a { font-size: 24px; padding: 0 26px; }
  .reviews { grid-template-columns: 1fr; }
  .services__grid { gap: 18px; }
  .service { flex-direction: column; align-items: flex-start; gap: 8px; }
  .posts { grid-template-columns: 1fr; gap: 30px; }
  .field-row, .field-row--3 { grid-template-columns: 1fr; gap: 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 30px 20px; }
  .footer__grid > div:first-child, .footer__grid > div:last-child { grid-column: 1 / -1; }
  .modal { padding: 0; align-items: flex-end; }
  .modal__box { border-radius: 18px 18px 0 0; max-height: 94%; }
  .article { padding: 22px 20px 26px; }
  .article h2 { font-size: 26px; }
  .search__grid { grid-template-columns: 1fr; }
  .qv__buy { flex-wrap: wrap; }
  .qv__buy .btn { order: 3; flex-basis: 100%; }
  .qv__buy .qty { flex: 1; justify-content: space-between; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0ms !important; }
  .brands { overflow-x: auto; }
}
