/* ==========================================================================
   ASCO storefront — pages and content blocks (uses tokens from site.css)
   ========================================================================== */

/* ---------- Product card ---------- */
.card { position: relative; display: flex; flex-direction: column; gap: 12px; min-width: 0; transition: transform .35s var(--ease); }
.card__media { position: relative; aspect-ratio: 1 / 1.06; border-radius: 22px; background: var(--surface); overflow: hidden; transition: box-shadow .35s ease, background-color .35s ease; }
.card__img { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.card__img img { max-width: 74%; max-height: 78%; width: auto; height: auto; object-fit: contain; mix-blend-mode: multiply; transition: transform .6s var(--ease); }
.card__badges { position: absolute; top: 10px; left: 10px; display: flex; flex-wrap: wrap; gap: 6px; pointer-events: none; }
.card__compare { position: absolute; top: 8px; right: 8px; width: 38px; height: 38px; border-radius: 12px; background: rgba(255, 255, 255, .9); color: var(--muted); display: grid; place-items: center; transition: color .2s ease, background-color .2s ease, transform .2s var(--ease); }
.card__compare .icon { width: 18px; height: 18px; }
.card__compare:hover { color: var(--ink); background: var(--white); }
.card__compare[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.card__quick { display: none; }
.card__body { display: flex; flex-direction: column; gap: 6px; padding: 0 2px; min-width: 0; }
.card__meta { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card__dot { width: 6px; height: 6px; border-radius: 50%; flex: none; background: var(--success); }
.card__dot--order { background: var(--warn); }
.card__title { font-size: 14px; line-height: 1.3; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.card__title a { transition: color .2s ease; }
.card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: 22px; }
.card__specs { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; margin-top: 2px; }
.card__price-now { font-size: 17px; font-weight: 800; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.card__price-old { font-size: 13px; color: var(--hint); }
.card__list-cta { display: none; }
.card__compare, .card__quick, .card__list-cta { z-index: 2; }
.card:active { transform: scale(.98); }
@media (hover: hover) {
  .card:hover { transform: translateY(-4px); }
  .card:hover .card__media { box-shadow: var(--sh-hover); background: #F1F1F3; }
  .card:hover .card__img img { transform: scale(1.05); }
  .card:hover .card__title a { color: var(--red); }
}
@media (min-width: 768px) {
  .card { gap: 14px; }
  .card__media { border-radius: var(--r-card); aspect-ratio: 1 / 1; }
  .card__badges { top: 14px; left: 14px; }
  .card__compare { top: 12px; right: 12px; }
  .card__title { font-size: 16px; min-height: 2.6em; }
  .card__specs { font-size: 13px; }
  .card__meta { font-size: 12px; }
  .card__price-now { font-size: 20px; }
  .card__price-old { font-size: 14px; }
  .card__quick {
    display: flex; position: absolute; left: 14px; right: 14px; bottom: 14px; height: 46px; border-radius: 14px; background: var(--red); color: var(--white);
    align-items: center; justify-content: center; gap: 8px; font-size: 14px; font-weight: 700; opacity: 0; transform: translateY(12px);
    transition: opacity .25s ease, transform .35s var(--ease), background-color .2s ease;
  }
  .card__quick .icon { width: 18px; height: 18px; }
  .card__quick:hover { background: var(--red-press); }
  .card:hover .card__quick, .card:focus-within .card__quick { opacity: 1; transform: none; }
}
/* List view (catalog toggle) */
.grid.is-list { grid-template-columns: minmax(0, 1fr); gap: 12px; }
.grid.is-list .card { display: grid; grid-template-columns: 116px minmax(0, 1fr); align-items: center; gap: 14px; padding: 10px; border: 1px solid var(--line); border-radius: 22px; background: var(--white); }
.grid.is-list .card:hover { transform: none; box-shadow: var(--sh-hover); }
.grid.is-list .card__media { aspect-ratio: 1; border-radius: 16px; }
.grid.is-list .card__quick { display: none; }
.grid.is-list .card__title { min-height: 0; }
@media (min-width: 768px) {
  .grid.is-list .card { grid-template-columns: 200px minmax(0, 1fr); gap: 24px; padding: 14px; border-radius: var(--r-card); }
  .grid.is-list .card__media { height: 180px; aspect-ratio: auto; border-radius: 18px; }
  .grid.is-list .card__body { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "meta price" "title price" "specs cta"; column-gap: 24px; row-gap: 8px; align-items: start; }
  .grid.is-list .card__meta { grid-area: meta; }
  .grid.is-list .card__title { grid-area: title; font-size: 18px; font-weight: 700; }
  .grid.is-list .card__specs { grid-area: specs; font-size: 14px; white-space: normal; }
  .grid.is-list .card__price { grid-area: price; flex-direction: column; align-items: flex-end; }
  .grid.is-list .card__price-now { font-size: 22px; }
  .grid.is-list .card__list-cta { display: inline-flex; grid-area: cta; justify-self: end; }
}

.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
@media (min-width: 768px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 20px; } }
@media (min-width: 1024px) { .grid { gap: 40px 24px; } }
.grid--4 { }
@media (min-width: 1024px) { .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.rail { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 12px; }
.rail::-webkit-scrollbar { display: none; }
.rail > .card { flex: none; width: 168px; scroll-snap-align: start; }
@media (min-width: 768px) { .rail > .card { width: 260px; } }
@media (min-width: 1024px) {
  .rail { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 24px; overflow: visible; margin: 0; padding: 0; }
  .rail > .card { width: auto; }
}

.card-skeleton { display: flex; flex-direction: column; gap: 12px; }
.card-skeleton .sk:first-child { aspect-ratio: 1; border-radius: var(--r-card); }

/* ==========================================================================
   Home
   ========================================================================== */
.home-quick { padding-top: 12px; display: flex; flex-direction: column; gap: 12px; }
.home-quick__search { width: 100%; min-height: 52px; border-radius: 16px; background: var(--surface); display: flex; align-items: center; gap: 10px; padding: 0 16px; color: var(--muted); font-size: 15px; text-align: left; }
.home-quick__search .icon { color: var(--ink); }
.home-quick .chip-img { min-height: 44px; font-weight: 500; }
@media (min-width: 1024px) { .home-quick { display: none; } }

.home-top { margin-top: 16px; display: grid; gap: 8px; }
.hero { position: relative; height: 500px; border-radius: 28px; overflow: hidden; background: #0E0E10; color: var(--white); isolation: isolate; touch-action: pan-y; }
.hero--desktop { display: none; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transform: scale(1.05); transition: opacity .8s var(--ease), transform 1.2s var(--ease); pointer-events: none; }
.hero__slide.is-active { opacity: 1; transform: none; pointer-events: auto; }
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 14, 16, .15) 0%, rgba(14, 14, 16, .05) 30%, rgba(14, 14, 16, .82) 68%, rgba(14, 14, 16, .96) 100%); }
.hero__content { position: absolute; left: 22px; right: 22px; bottom: 76px; display: flex; flex-direction: column; gap: 12px; }
.hero__slide.is-active .hero__content > * { animation: rise .7s var(--ease) both; }
.hero__slide.is-active .hero__content > :nth-child(2) { animation-delay: .08s; }
.hero__slide.is-active .hero__content > :nth-child(3) { animation-delay: .16s; }
.hero__slide.is-active .hero__content > :nth-child(4) { animation-delay: .24s; }
.hero__eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--soft); }
.hero__title { font-size: 32px; line-height: 1.06; font-weight: 800; letter-spacing: -.03em; }
.hero__title em { font-style: normal; color: var(--red-light); }
.hero__text { font-size: 14px; line-height: 1.5; color: #D6D6DA; max-width: 420px; }
.hero__cta { align-self: flex-start; margin-top: 6px; }
.hero__controls { position: absolute; left: 14px; right: 18px; bottom: 16px; display: flex; align-items: center; gap: 2px; z-index: 2; }
.hero__dots { display: flex; align-items: center; }
.hero__dot { width: 32px; height: 44px; padding: 0 8px; display: flex; align-items: center; transition: width .45s var(--ease); }
.hero__dot span { display: block; width: 100%; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .28); overflow: hidden; }
.hero__dot i { display: block; width: 100%; height: 100%; background: var(--white); transform: scaleX(0); transform-origin: left; }
.hero__dot.is-active { width: 72px; }
.hero__dot.is-active i { animation: fill var(--hero-delay, 7000ms) linear both; }
.hero[data-paused] .hero__dot.is-active i { animation-play-state: paused; }
.hero__counter { margin-left: 6px; font-size: 12px; font-weight: 600; color: var(--soft); }
.hero__spacer { flex: 1; }
.hero__arrow { display: none; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .24); background: rgba(255, 255, 255, .08); color: var(--white); place-items: center; margin-left: 12px; transition: background-color .2s ease, transform .2s ease; }
.hero__arrow:hover { background: rgba(255, 255, 255, .22); transform: scale(1.06); }
.home-side { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.side-card { position: relative; overflow: hidden; border-radius: 24px; padding: 16px; min-height: 196px; display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s ease; }
.side-card:active { transform: scale(.98); }
.side-card .eyebrow { position: relative; font-size: 10px; }
.side-card__title { position: relative; margin-top: 8px; font-size: 22px; line-height: 1.05; font-weight: 800; letter-spacing: -.02em; }
.side-card__text { position: relative; margin-top: 6px; font-size: 12px; line-height: 1.4; max-width: 220px; }
.side-card__more { position: relative; margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; transition: gap .25s var(--ease); }
.side-card__more .icon { width: 16px; height: 16px; }
.side-card:hover .side-card__more { gap: 10px; }
.side-card--soft { background: var(--surface); }
.side-card--soft .side-card__text { color: var(--muted); }
.side-card__img { position: absolute; right: -8px; bottom: -4px; width: 46%; height: 52%; display: flex; align-items: flex-end; justify-content: flex-end; }
.side-card__img img { width: 100%; height: 100%; object-fit: contain; object-position: right bottom; mix-blend-mode: multiply; transition: transform .6s var(--ease); }
.side-card:hover .side-card__img img { transform: scale(1.05); }
.side-card--red { background: var(--red); color: var(--white); }
.side-card--red .eyebrow { color: var(--white); }
.side-card__percent { position: absolute; right: -14px; top: -10px; font-size: 140px; font-weight: 800; line-height: 1; color: rgba(255, 255, 255, .14); pointer-events: none; }
.side-card--soft .side-card__more { display: none; }
@media (min-width: 768px) {
  .hero { height: 460px; }
  .hero--mobile { display: none; }
  .hero--desktop { display: block; }
  .hero__shade { background: linear-gradient(90deg, rgba(14, 14, 16, .9) 0%, rgba(14, 14, 16, .7) 38%, rgba(14, 14, 16, .1) 72%, rgba(14, 14, 16, 0) 100%); }
  .hero__content { left: 40px; right: auto; top: 0; bottom: 0; width: min(440px, 60%); justify-content: center; gap: 16px; }
  .hero__title { font-size: 40px; }
  .hero__text { font-size: 15px; }
  .hero__controls { left: 40px; right: 32px; bottom: 26px; gap: 12px; }
  .hero__dot { padding: 0; }
  .hero__dot + .hero__dot { margin-left: 12px; }
  .hero__arrow { display: grid; margin-left: 0; }
  .side-card { padding: 24px; }
  .side-card--soft .side-card__more { display: inline-flex; }
}
@media (min-width: 1024px) {
  .home-top { margin-top: 24px; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
  .hero { grid-column: span 8; height: 580px; border-radius: var(--r-hero); }
  .hero__content { left: 56px; width: 440px; gap: 18px; }
  .hero__eyebrow { font-size: 12px; letter-spacing: .16em; }
  .hero__title { font-size: 52px; line-height: 1.02; letter-spacing: -.035em; }
  .hero__text { font-size: 16px; line-height: 1.55; max-width: 380px; }
  .hero__cta { margin-top: 8px; }
  .hero__controls { left: 56px; right: 40px; bottom: 32px; }
  .home-side { grid-column: span 4; grid-template-columns: 1fr; grid-template-rows: 1fr 1fr; gap: 24px; }
  .side-card { border-radius: 28px; padding: 28px; }
  .side-card .eyebrow { font-size: 12px; }
  .side-card__title { margin-top: 10px; font-size: 34px; line-height: 1; letter-spacing: -.03em; }
  .side-card__text { margin-top: 10px; font-size: 14px; line-height: 1.45; max-width: 200px; }
  .side-card--red .side-card__text { max-width: 220px; }
  .side-card__more { font-size: 14px; }
  .side-card__img { right: -10px; bottom: 0; width: 170px; height: 150px; }
  .side-card__percent { right: -14px; top: -20px; font-size: 220px; color: rgba(255, 255, 255, .12); }
  .side-card:hover { transform: translateY(-4px); box-shadow: var(--sh-hover); }
}

.perks { margin-top: 16px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.perk { padding: 14px; border-radius: 20px; background: var(--surface); display: flex; flex-direction: column; gap: 10px; min-height: 108px; }
.perk__icon { width: 36px; height: 36px; border-radius: 12px; background: var(--white); color: var(--red); display: grid; place-items: center; flex: none; }
.perk__icon .icon { width: 20px; height: 20px; }
.perk__text { display: flex; flex-direction: column; gap: 4px; }
.perk__text b { font-size: 14px; line-height: 1.25; }
.perk__text span { font-size: 12px; color: var(--muted); }
@media (min-width: 1024px) {
  .perks { margin-top: 24px; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--r-card); }
  .perks .perk { border-radius: 0; background: transparent; flex-direction: row; align-items: center; gap: 14px; padding: 22px 24px; min-height: 0; }
  .perks .perk + .perk { border-left: 1px solid var(--line); }
  .perk__icon { width: 48px; height: 48px; border-radius: 16px; background: var(--surface); }
  .perk__icon .icon { width: 22px; height: 22px; }
  .perk__text b { font-size: 15px; }
  .perk__text span { font-size: 13px; }
}

.cat-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.cat-tile { position: relative; overflow: hidden; height: 188px; border-radius: 22px; background: var(--surface); padding: 14px; display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s ease, background-color .3s ease; }
.cat-tile:active { transform: scale(.98); }
.cat-tile__name { position: relative; z-index: 1; font-size: 15px; line-height: 1.2; max-width: 160px; }
.cat-tile__count { position: relative; z-index: 1; margin-top: 4px; font-size: 12px; color: var(--muted); }
.cat-tile__img { position: absolute; right: 8px; bottom: 6px; width: 72%; height: 112px; display: flex; align-items: flex-end; justify-content: flex-end; }
.cat-tile__img img { width: 100%; height: 100%; object-fit: contain; object-position: right bottom; mix-blend-mode: multiply; transition: transform .6s var(--ease); }
.cat-tile__icon { width: 64px; height: 64px; color: var(--red); stroke-width: 1.3; }
@media (hover: hover) {
  .cat-tile:hover { transform: translateY(-4px); box-shadow: var(--sh-hover); }
  .cat-tile:hover .cat-tile__img img { transform: scale(1.05); }
}
@media (min-width: 768px) { .cat-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; } }
@media (min-width: 1024px) {
  .cat-tiles { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
  .cat-tile { height: 232px; border-radius: var(--r-card); padding: 20px; }
  .cat-tile--wide { grid-column: span 2; }
  .cat-tile__name { font-size: 17px; }
  .cat-tile__count { margin-top: 6px; font-size: 13px; }
  .cat-tile__img { right: 12px; bottom: 10px; width: 76%; height: 140px; }
  .cat-tile--wide .cat-tile__img { width: 62%; }
}

.section-head--tabs { flex-wrap: wrap; align-items: center; }
.tabs-seg { --n: 3; width: 100%; border-radius: 18px; }
.tabs-seg .seg__btn { min-height: 40px; font-size: 14px; padding: 0 8px; }
.tab-panel__more { margin-top: 8px; display: flex; justify-content: center; }
@media (min-width: 768px) { .tabs-seg { width: auto; } .tabs-seg .seg__btn { min-height: 44px; padding: 0 20px; font-size: 15px; } }
@media (min-width: 1024px) { .tab-panel__more { margin-top: 32px; } }
.tab-panel { animation: swap .4s var(--ease) both; }

.promo-pair { display: grid; gap: 8px; }
.promo-card { position: relative; overflow: hidden; border-radius: 28px; padding: 24px; min-height: 300px; display: flex; flex-direction: column; color: var(--white); isolation: isolate; transition: transform .35s var(--ease), box-shadow .35s ease; }
.promo-card:active { transform: scale(.98); }
.promo-card--dark { background: var(--graphite); }
.promo-card--dark .eyebrow { color: #A9A9AF; position: relative; }
.promo-card__img { position: absolute; right: -36px; bottom: -10px; width: 230px; height: 240px; z-index: -1; }
.promo-card__img img { width: 100%; height: 100%; object-fit: contain; transition: transform .6s var(--ease); }
.promo-card__title { position: relative; margin-top: 10px; font-size: 26px; line-height: 1.08; font-weight: 800; letter-spacing: -.02em; max-width: 220px; }
.promo-card__text { position: relative; margin-top: 10px; font-size: 13px; line-height: 1.45; color: var(--soft); max-width: 190px; }
.promo-card__more { position: relative; margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; transition: gap .25s var(--ease); }
.promo-card__more .icon { width: 18px; height: 18px; }
.promo-card:hover .promo-card__more { gap: 10px; }
.promo-card--photo { justify-content: flex-end; }
.promo-card__bg { position: absolute; inset: 0; z-index: -2; }
.promo-card__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; transition: transform .8s var(--ease); }
.promo-card--photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14, 14, 16, 0) 30%, rgba(14, 14, 16, .88) 100%); }
.promo-card--photo .promo-card__title { max-width: 360px; }
.promo-card--photo .promo-card__more { margin-top: 14px; }
@media (hover: hover) {
  .promo-card:hover { transform: translateY(-4px); box-shadow: var(--sh-hover); }
  .promo-card:hover .promo-card__img img, .promo-card:hover .promo-card__bg img { transform: scale(1.05); }
}
@media (min-width: 768px) { .promo-pair { grid-template-columns: 7fr 5fr; gap: 16px; } .promo-card { min-height: 360px; padding: 36px; } }
@media (min-width: 1024px) {
  .promo-pair { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
  .promo-card { height: 420px; border-radius: var(--r-hero); }
  .promo-card--dark { grid-column: span 7; padding: 48px; }
  .promo-card--photo { grid-column: span 5; padding: 40px; }
  .promo-card__img { right: 24px; bottom: -20px; width: min(360px, 46%); height: 400px; }
  .promo-card__title { margin-top: 14px; font-size: 44px; line-height: 1.02; letter-spacing: -.03em; max-width: 360px; }
  .promo-card--photo .promo-card__title { font-size: 30px; }
  .promo-card__text { margin-top: 16px; font-size: 16px; line-height: 1.5; max-width: 300px; }
  .promo-card__more { font-size: 15px; }
}

.brands-row { display: grid; gap: 16px; }
.section-title--sm { font-size: 24px; }
.brand-grid { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter); }
.brand-grid::-webkit-scrollbar { display: none; }
.brand-tile { flex: none; width: 116px; height: 64px; border-radius: 18px; border: 1px solid var(--line); display: grid; place-items: center; padding: 10px 14px; font-size: 16px; font-weight: 800; letter-spacing: .04em; color: var(--text-2); transition: border-color .25s ease, color .25s ease, transform .25s ease; }
.brand-tile img { max-height: 30px; width: auto; max-width: 100%; object-fit: contain; filter: brightness(0); opacity: .55; transition: opacity .3s ease; }
.brand-tile:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-2px); }
.brand-tile:hover img { opacity: .9; }
@media (min-width: 1024px) {
  .brands-row { grid-template-columns: 320px minmax(0, 1fr); gap: 40px; align-items: center; }
  .section-title--sm { font-size: 32px; }
  .brand-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; overflow: visible; margin: 0; padding: 0; }
  .brand-tile { width: auto; height: 76px; border-radius: 20px; font-size: 18px; }
}

.why { padding: 24px 20px; border-radius: 28px; background: var(--surface); }
.why__list { margin-top: 18px; display: flex; flex-direction: column; }
.why__item { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid #E3E3E6; }
.why__num { font-size: 13px; font-weight: 700; color: var(--red); width: 22px; flex: none; padding-top: 2px; }
.why__item > span:last-child { display: flex; flex-direction: column; gap: 4px; }
.why__item b { font-size: 16px; }
.why__item > span:last-child > span { font-size: 13px; line-height: 1.45; color: var(--muted); }
@media (min-width: 1024px) {
  .why { padding: 56px; border-radius: var(--r-hero); display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 56px; }
  .why__list { margin-top: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
  .why__item { gap: 18px; padding: 24px 0; border-top-color: #E0E0E3; }
  .why__num { font-size: 14px; padding-top: 3px; }
  .why__item b { font-size: 18px; }
  .why__item > span:last-child > span { font-size: 14px; line-height: 1.5; }
}

/* Stores block (home) */
.stores-block { display: grid; gap: 12px; }
.map-frame { position: relative; height: 300px; border-radius: 24px; overflow: hidden; background: #ECEEF0; }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.store-list { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter); scroll-snap-type: x mandatory; }
.store-list::-webkit-scrollbar { display: none; }
.store-card { flex: none; width: 290px; scroll-snap-align: start; border-radius: 24px; border: 1.5px solid var(--line); background: var(--white); padding: 18px; display: flex; flex-direction: column; gap: 10px; transition: border-color .25s ease, box-shadow .25s ease; }
.store-card.is-active { border-color: var(--ink); box-shadow: 0 14px 36px rgba(17, 17, 19, .08); }
.store-card__head { display: flex; align-items: center; gap: 12px; text-align: left; }
.store-card__head b { flex: 1; font-size: 16px; }
.store-card__head[disabled] { cursor: default; }
.store-num { width: 30px; height: 30px; flex: none; border-radius: 10px; background: var(--ink); color: var(--white); font-size: 13px; font-weight: 800; display: grid; place-items: center; transition: background-color .25s ease; }
.store-card.is-active .store-num { background: var(--red); }
.store-card__addr { font-size: 14px; color: var(--text-2); }
.store-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--muted); }
.store-card__foot .more-link { min-height: 36px; }
@media (min-width: 1024px) {
  .stores-block { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
  .map-frame { grid-column: span 7; height: 460px; border-radius: var(--r-hero); }
  .store-list { grid-column: span 5; flex-direction: column; gap: 12px; overflow: visible; margin: 0; padding: 0; }
  .store-card { width: auto; padding: 22px; }
  .store-card__head b { font-size: 18px; }
  .store-card:not(.is-active):hover { border-color: #CFCFD4; }
}

.help-cta { position: relative; overflow: hidden; padding: 26px 22px 22px; border-radius: 28px; background: var(--graphite); color: var(--white); display: flex; flex-direction: column; gap: 18px; }
.help-cta__icon { width: 48px; height: 48px; border-radius: 16px; background: var(--red); display: grid; place-items: center; flex: none; }
.help-cta__icon .icon { width: 24px; height: 24px; }
.help-cta h2 { font-size: 26px; line-height: 1.1; font-weight: 800; letter-spacing: -.025em; }
.help-cta p { margin-top: 8px; font-size: 14px; line-height: 1.5; color: var(--soft); max-width: 560px; }
.help-cta__actions { display: flex; flex-direction: column; gap: 8px; }
@media (min-width: 1024px) {
  .help-cta { flex-direction: row; align-items: center; gap: 48px; padding: 56px 64px; border-radius: var(--r-hero); }
  .help-cta__icon { width: 72px; height: 72px; border-radius: 24px; }
  .help-cta__icon .icon { width: 32px; height: 32px; }
  .help-cta__text { flex: 1; }
  .help-cta h2 { font-size: 36px; }
  .help-cta p { margin-top: 10px; font-size: 16px; }
  .help-cta__actions { flex-direction: row; gap: 12px; }
}

/* ==========================================================================
   Catalog 2.1 — filter bar with popovers on the computer, a full-screen
   filter sheet on the phone, compact product cards in both.
   ========================================================================== */
.catalog-desc { font-size: 14px; line-height: 1.5; color: var(--muted); max-width: 460px; }
.subcats, .catalog-quick { display: none; }
.catalog-landing { margin-top: 20px; }
.catalog-all-title { margin-top: var(--section); }
.catalog { margin-top: 16px; display: block; }
.catalog .results { min-width: 0; }

/* Catalog landing tiles on the phone: every tile the same size (catalog only, the home page keeps its own). */
@media (max-width: 767px) {
  .catalog-landing .cat-tile { height: 164px; }
  .catalog-landing .cat-tile--wide { grid-column: auto; }
  .catalog-landing .cat-tile__name { max-width: none; min-height: 2.4em; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .catalog-landing .cat-tile__img { width: 72%; height: 88px; }
}

/* ---------- Filter controls (shared by the popovers and the sheet) ---------- */
.filters { display: none; }
.fgroup__title { margin-bottom: 12px; font-size: 15px; font-weight: 700; }
.price-inputs { display: flex; gap: 8px; }
.price-input { flex: 1; min-width: 0; height: 46px; border-radius: 12px; background: var(--surface); display: flex; align-items: center; gap: 6px; padding: 0 12px; transition: box-shadow .2s ease, background-color .2s ease; }
.price-input:focus-within { background: var(--white); box-shadow: 0 0 0 2px var(--ink); }
.price-input span { font-size: 12px; color: var(--muted); }
.price-input input { flex: 1; min-width: 0; width: 100%; border: 0; background: transparent; outline: none; font-size: 16px; font-weight: 600; -moz-appearance: textfield; }
.price-input input::-webkit-outer-spin-button, .price-input input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.price-input input::placeholder { color: var(--hint); font-weight: 500; }
.range { position: relative; height: 32px; margin: 10px 10px 0; }
.range__track, .range__fill { position: absolute; top: 15px; height: 3px; border-radius: 2px; }
.range__track { left: 0; right: 0; background: var(--line); }
.range__fill { background: var(--ink); left: var(--lo, 0%); right: var(--hi, 0%); }
.range input { position: absolute; top: 0; left: -10px; width: calc(100% + 20px); height: 32px; margin: 0; background: transparent; pointer-events: none; -webkit-appearance: none; appearance: none; }
.range input::-webkit-slider-runnable-track { background: transparent; height: 32px; }
.range input::-moz-range-track { background: transparent; }
.range input::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 22px; height: 22px; margin-top: 5px; border-radius: 50%; background: var(--white); border: 2px solid var(--ink); cursor: grab; box-shadow: 0 2px 6px rgba(17, 17, 19, .12); }
.range input::-moz-range-thumb { pointer-events: auto; width: 18px; height: 18px; border-radius: 50%; background: var(--white); border: 2px solid var(--ink); cursor: grab; }
.fchips { display: flex; flex-wrap: wrap; gap: 8px; }
.price-inputs + .range + .fchips, .price-inputs + .fchips { margin-top: 12px; }
.fchip { position: relative; max-width: 100%; min-height: 38px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line-3); background: var(--white); display: inline-flex; align-items: center; gap: 6px; font-size: 14px; cursor: pointer; transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .16s var(--ease); }
.fchip span { overflow-wrap: anywhere; }
.fchip input { position: absolute; opacity: 0; pointer-events: none; }
.fchip small { font-size: 12px; color: var(--hint); }
.fchip:hover { border-color: var(--ink); }
.fchip:active { transform: scale(.96); }
.fchip.is-active, .fchip:has(input:checked) { background: var(--ink); border-color: var(--ink); color: var(--white); }
.fchip.is-active small, .fchip:has(input:checked) small { color: rgba(255, 255, 255, .64); }
.fchip:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }
.fchecks { display: flex; flex-direction: column; }
.fchecks .check span { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.fchecks .check small { font-size: 12px; color: var(--hint); }
.fradios { display: flex; flex-direction: column; }
.fradio { display: flex; align-items: center; gap: 12px; min-height: 44px; font-size: 15px; cursor: pointer; }
.fradio input { -webkit-appearance: none; appearance: none; width: 22px; height: 22px; flex: none; margin: 0; border-radius: 50%; border: 2px solid #CFCFD4; transition: border .2s var(--ease); cursor: pointer; }
.fradio input:checked { border: 7px solid var(--ink); }
.fradio input:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.fswitch { position: relative; display: flex; align-items: center; gap: 12px; min-height: 44px; margin-top: 6px; font-size: 15px; cursor: pointer; }
.fswitch input { position: absolute; opacity: 0; pointer-events: none; }
.fswitch__track { position: relative; width: 44px; height: 26px; flex: none; border-radius: 13px; background: var(--line-3); transition: background-color .2s ease; }
.fswitch__track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--white); box-shadow: 0 1px 3px rgba(17, 17, 19, .2); transition: transform .26s var(--spring); }
.fswitch input:checked + .fswitch__track { background: var(--ink); }
.fswitch input:checked + .fswitch__track::after { transform: translateX(18px); }
.fswitch input:focus-visible + .fswitch__track { outline: 2px solid var(--ink); outline-offset: 2px; }
.fcats { display: flex; flex-direction: column; gap: 2px; }
.fcat { min-height: 42px; padding: 0 12px; border-radius: 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 15px; transition: background-color .15s ease; }
.fcat small { font-size: 12px; color: var(--hint); }
.fcat:hover { background: var(--surface); }
.fcat.is-active { background: var(--ink); color: var(--white); font-weight: 600; }
.fcat.is-active small { color: rgba(255, 255, 255, .64); }
.fcat--sub { padding-left: 28px; font-size: 14px; }
.fcats__more { margin-top: 4px; min-height: 40px; padding: 0 12px; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--red); }
.fcats__more .icon { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.fcats__more[aria-expanded="true"] .icon { transform: rotate(180deg); }
@media (max-width: 1023px) { .fcats:not(.is-all) .fcat--other { display: none; } }
@media (min-width: 1024px) { .fcats__more { display: none; } }

/* ---------- Results toolbar ---------- */
.toolbar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.toolbar__btn { min-width: 0; width: 100%; height: 44px; padding: 0 12px; border: 1px solid var(--line-3); border-radius: 14px; background: var(--white); display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; font-weight: 600; transition: border-color .2s ease, transform .16s var(--ease); }
.toolbar__btn:active { transform: scale(.97); }
.toolbar__btn > span, .toolbar__btn > b { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.toolbar__btn .icon { width: 18px; height: 18px; flex: none; }
.toolbar__badge { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--red); color: var(--white); font-size: 11px; font-weight: 700; display: inline-grid; place-items: center; flex: none; }
.toolbar__found { display: none; }
.sort { position: relative; min-width: 0; }
.sort__prefix { display: none; color: var(--muted); font-weight: 500; }
.sort__btn b { font-weight: 600; }
.sort__chev { transition: transform .3s var(--ease); }
.sort__btn[aria-expanded="true"] { border-color: var(--ink); }
.sort__btn[aria-expanded="true"] .sort__chev { transform: rotate(180deg); }
.sort__menu { position: absolute; right: 0; top: 52px; z-index: 30; width: 260px; padding: 6px; border-radius: 18px; background: var(--white); box-shadow: var(--sh-pop); transform-origin: top right; animation: dd .26s var(--ease) both; }
.sort__title { display: none; }
.sort__opt { position: relative; min-height: 44px; padding: 0 12px; border-radius: 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; cursor: pointer; transition: background-color .15s ease; }
.sort__opt:hover { background: var(--surface); }
.sort__opt input { position: absolute; opacity: 0; pointer-events: none; }
.sort__check { opacity: 0; color: var(--red); width: 18px; height: 18px; }
.sort__opt:has(input:checked) { font-weight: 700; }
.sort__opt:has(input:checked) .sort__check { opacity: 1; }
.sort__opt:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: -2px; }
.sort-scrim { display: none; }
@keyframes dd { from { opacity: 0; transform: translateY(-6px) scale(.97); } to { opacity: 1; transform: none; } }

/* Selected filters: wrap onto new lines, never a sideways strip. */
.ftags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 12px; }
.tag { max-width: 100%; display: inline-flex; align-items: center; gap: 4px; height: 34px; padding: 0 8px 0 12px; border-radius: 10px; background: var(--surface); font-size: 13px; animation: pop .28s var(--ease) both; transition: background-color .2s ease; }
.tag .icon { width: 14px; height: 14px; flex: none; }
.tag:hover { background: #E6E6E9; }
.tag--more { padding: 0 12px; font-weight: 700; }
.ftags__reset { min-height: 34px; padding: 0 6px; display: inline-flex; align-items: center; font-size: 13px; font-weight: 600; color: var(--red); }

/* ---------- Product grid and compact card ---------- */
.pgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 10px; padding-top: 16px; }
.results[aria-busy="true"] .pgrid { opacity: .45; transition: opacity .2s ease; pointer-events: none; }
.pcard { position: relative; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.pcard__media { position: relative; aspect-ratio: 1 / 1; border-radius: 18px; background: var(--surface); overflow: hidden; transition: box-shadow .3s ease; }
.pcard__img { position: absolute; inset: 0; padding: 11%; display: flex; align-items: center; justify-content: center; }
.pcard__img picture { display: contents; }
.pcard__img img { display: block; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .5s var(--ease); }
.pcard__badges { position: absolute; top: 8px; left: 8px; max-width: calc(100% - 56px); display: flex; flex-wrap: wrap; gap: 4px; pointer-events: none; }
.pcard__badges .badge { height: 22px; padding: 0 7px; font-size: 11px; border-radius: 7px; }
.pcard__cmp { position: absolute; top: 6px; right: 6px; z-index: 2; width: 38px; height: 38px; border-radius: 12px; background: var(--white); color: var(--ink); display: grid; place-items: center; box-shadow: 0 1px 3px rgba(17, 17, 19, .12); transition: background-color .18s ease, color .18s ease, transform .16s var(--ease); -webkit-tap-highlight-color: transparent; }
.pcard__cmp .icon { grid-area: 1 / 1; width: 18px; height: 18px; transition: opacity .18s ease, transform .3s var(--spring); }
.pcard__cmp-on { opacity: 0; transform: scale(.5); }
.pcard__cmp:active { transform: scale(.9); }
.pcard__cmp[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.pcard__cmp[aria-pressed="true"] .pcard__cmp-add { opacity: 0; transform: scale(.5); }
.pcard__cmp[aria-pressed="true"] .pcard__cmp-on { opacity: 1; transform: none; }
.pcard__cmp.is-full { color: var(--soft); }
.pcard__body { min-width: 0; display: flex; flex-direction: column; gap: 4px; padding: 0 2px; }
.pcard__stock { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--success-text); }
.pcard__stock::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: none; }
.pcard__stock.is-order { color: var(--warn); }
.pcard__title { font-size: 14px; line-height: 1.3; font-weight: 600; min-height: 2.6em; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard__title a { transition: color .2s ease; }
.pcard__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: 18px; }
.pcard__model { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pcard__specs { list-style: none; margin: 2px 0 0; padding: 0; display: flex; flex-direction: column; gap: 1px; }
.pcard__specs li { display: flex; gap: 6px; min-width: 0; font-size: 12px; line-height: 1.45; }
.pcard__specs span { flex: 0 1 auto; max-width: 55%; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pcard__specs span::after { content: ":"; }
.pcard__specs b { flex: 1 1 0; min-width: 0; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pcard__specs li:nth-child(3) { display: none; }
.pcard__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 8px; margin-top: 4px; }
.pcard__now { font-size: 17px; font-weight: 800; letter-spacing: -.01em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pcard__old { font-size: 12px; color: var(--hint); white-space: nowrap; }
.pcard.card--in { animation: rise .5s var(--ease) both; animation-delay: calc(var(--i, 0) * 40ms); }
@media (hover: hover) {
  .pcard:hover .pcard__media { box-shadow: var(--sh-hover); }
  .pcard:hover .pcard__img img { transform: scale(1.04); }
  .pcard:hover .pcard__title a { color: var(--red); }
}
@media (min-width: 768px) {
  .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 16px; }
  .pcard__specs li:nth-child(3) { display: flex; }
}

.empty { padding: 56px 0; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.empty__icon { width: 88px; height: 88px; border-radius: 28px; background: var(--surface); display: grid; place-items: center; }
.empty__icon .icon { width: 36px; height: 36px; color: var(--hint); }
.empty__title { font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.empty p { font-size: 15px; color: var(--muted); max-width: 380px; line-height: 1.5; }
.empty__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 6px; }

.more { margin-top: 40px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.more__text { font-size: 14px; color: var(--muted); }
.more__bar { width: 200px; height: 3px; border-radius: 2px; background: var(--line); overflow: hidden; }
.more__bar span { display: block; height: 100%; background: var(--ink); transition: width .5s var(--ease); }
.pagination { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px; margin-top: 4px; }
.pagination__item { min-width: 40px; height: 40px; padding: 0 6px; border-radius: 12px; display: grid; place-items: center; font-size: 14px; font-weight: 600; color: var(--muted); transition: background-color .2s ease, color .2s ease; }
.pagination__item:hover { background: var(--surface); color: var(--ink); }
.pagination__item.is-current { background: var(--ink); color: var(--white); }
.pagination__item .icon { width: 18px; height: 18px; }
.pagination__gap { color: var(--hint); padding: 0 4px; }

/* ---------- Phone and tablet: sticky toolbar + filter sheet ---------- */
@media (max-width: 1023px) {
  .toolbar { position: sticky; top: var(--header-h); z-index: 20; margin-inline: calc(var(--gutter) * -1); padding: 10px var(--gutter); background: var(--white); border-bottom: 1px solid var(--line); }
  .ftags > .tag:nth-child(n+4):not(.tag--more) { display: none; }
  .toolbar .sort__chev { display: none; }
  .toolbar__btn { gap: 6px; padding: 0 10px; }
  .sort__menu { position: fixed; left: 0; right: 0; top: auto; bottom: 0; width: auto; z-index: 86; padding: 10px 12px calc(20px + env(safe-area-inset-bottom)); border-radius: 28px 28px 0 0; box-shadow: 0 -10px 40px rgba(17, 17, 19, .2); animation: sheetUp .4s var(--ease-sheet) both; }
  .sort__title { display: block; padding: 8px 12px 10px; font-size: 20px; font-weight: 800; }
  .sort__opt { min-height: 52px; font-size: 16px; }
  .sort-scrim.is-open { display: block; position: fixed; inset: 0; z-index: 84; background: rgba(17, 17, 19, .45); animation: fade .3s ease both; }

  .filters.is-open { display: flex; flex-direction: column; position: fixed; inset: 0; z-index: 85; background: var(--white); animation: sheetUp .42s var(--ease-sheet) both; }
  .filters__head { flex: none; height: 60px; box-sizing: content-box; padding: env(safe-area-inset-top) 8px 0 16px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); }
  .filters__title { flex: 1; display: flex; align-items: center; gap: 8px; font-size: 20px; font-weight: 800; letter-spacing: -.01em; }
  .filters__count { min-width: 22px; height: 22px; padding: 0 7px; border-radius: 11px; background: var(--red); color: var(--white); font-size: 12px; font-weight: 700; display: inline-grid; place-items: center; }
  .filters__body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 0 16px 24px; }
  .fgroup { padding: 20px 0; border-bottom: 1px solid var(--line-2); min-width: 0; }
  .fgroup:last-child { border-bottom: 0; }
  .fgroup__btn { display: none; }
  .fgroup__panel { display: block; }
  .filters__foot { flex: none; display: flex; gap: 8px; padding: 12px 16px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--white); }
  .filters__foot .btn--outline { flex: none; }
  .filters__foot [aria-disabled="true"] { opacity: .4; pointer-events: none; }
}

/* ---------- Computer: filter bar with popovers ---------- */
@media (min-width: 1024px) {
  .subcats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
  .subcat { height: 40px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line-3); display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; transition: border-color .2s ease, background-color .2s ease, color .2s ease; }
  .subcat span { font-size: 12px; color: var(--hint); }
  .subcat:hover { border-color: var(--ink); }
  .subcat.is-active { background: var(--ink); border-color: var(--ink); color: var(--white); }
  .subcat.is-active span { color: rgba(255, 255, 255, .64); }
  .catalog-quick { display: none; }
  .catalog { margin-top: 20px; }

  .filters { display: block; position: sticky; top: 84px; z-index: 30; background: var(--white); }
  .filters__head, .filters__foot { display: none; }
  .filters__body { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .fgroup { position: relative; }
  .fgroup__btn { height: 44px; padding: 0 12px 0 16px; border-radius: 14px; background: var(--surface); display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; white-space: nowrap; transition: background-color .2s ease, color .2s ease; }
  .fgroup__btn:hover { background: #EAEAEC; }
  .fgroup__btn.is-set { background: var(--ink); color: var(--white); }
  .fgroup__btn[aria-expanded="true"] { box-shadow: inset 0 0 0 2px var(--ink); }
  .fgroup__btn.is-set[aria-expanded="true"] { box-shadow: inset 0 0 0 2px var(--ink), 0 0 0 2px var(--white), 0 0 0 4px var(--ink); }
  .fgroup__value { max-width: 180px; overflow: hidden; text-overflow: ellipsis; font-weight: 700; }
  .fgroup__btn:not(.is-set) .fgroup__value { color: var(--muted); font-weight: 500; }
  .fgroup__chev { width: 16px; height: 16px; transition: transform .3s var(--ease); }
  .fgroup__btn[aria-expanded="true"] .fgroup__chev { transform: rotate(180deg); }
  .fgroup__panel { display: none; position: absolute; top: calc(100% + 8px); left: 0; z-index: 40; width: 320px; max-height: min(460px, calc(100vh - 200px)); overflow-y: auto; overscroll-behavior: contain; padding: 16px; border-radius: 20px; background: var(--white); box-shadow: var(--sh-pop); }
  .fgroup.is-open .fgroup__panel { display: block; animation: dd .22s var(--ease) both; }
  .fgroup.is-right .fgroup__panel { left: auto; right: 0; }
  .fgroup__title { margin-bottom: 10px; font-size: 13px; font-weight: 600; color: var(--muted); }

  .toolbar { display: flex; align-items: center; gap: 12px; padding-top: 16px; }
  .toolbar__filters { display: none; }
  .toolbar__found { display: block; margin-right: auto; font-size: 15px; color: var(--muted); }
  .sort__btn { width: auto; padding: 0 14px; }
  .sort__btn > .icon:first-child { display: none; }
  .sort__prefix { display: inline; }
  .ftags { margin-top: 8px; }

  .pgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 16px; padding-top: 20px; }
  .pcard__media { border-radius: 20px; }
  .pcard__now { font-size: 18px; }
  .more { margin-top: 48px; }
}
@media (min-width: 1280px) { .pgrid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* ==========================================================================
   Product
   ========================================================================== */
.product { margin-top: 16px; display: grid; gap: 20px; }
.gallery { position: relative; min-width: 0; }
.gallery__main { position: relative; border-radius: 28px; background: var(--surface); overflow: hidden; }
.gallery__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; aspect-ratio: 1 / 1.02; }
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__slide { flex: none; width: 100%; height: 100%; scroll-snap-align: center; display: flex; align-items: center; justify-content: center; padding: 8% 12%; }
.gallery__slide img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; mix-blend-mode: multiply; }
.gallery__badges { position: absolute; top: 16px; left: 16px; display: flex; gap: 8px; pointer-events: none; }
.gallery__badges .badge { height: 30px; padding: 0 12px; border-radius: 10px; font-size: 13px; }
.gallery__zoom { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border-radius: 50%; background: var(--white); display: grid; place-items: center; cursor: zoom-in; transition: transform .2s ease; }
.gallery__zoom:hover { transform: scale(1.06); }
.gallery__arrow { display: none; position: absolute; top: 50%; margin-top: -24px; width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, .86); place-items: center; opacity: 0; transition: opacity .25s ease, background-color .2s ease; }
.gallery__arrow:hover { background: var(--white); }
.gallery__arrow--prev { left: 20px; }
.gallery__arrow--next { right: 20px; }
.gallery:hover .gallery__arrow, .gallery__arrow:focus-visible { opacity: 1; }
.gallery__counter { display: none; position: absolute; right: 20px; bottom: 20px; height: 30px; padding: 0 12px; border-radius: 15px; background: rgba(17, 17, 19, .78); color: var(--white); font-size: 13px; font-weight: 600; align-items: center; }
.gallery__dots { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 6px; pointer-events: none; }
.gallery__dots span { width: 6px; height: 6px; border-radius: 3px; background: rgba(17, 17, 19, .2); transition: width .35s var(--ease), background-color .25s ease; }
.gallery__dots span.is-active { width: 20px; background: var(--ink); }
.gallery__thumbs { display: none; }
.gallery__thumb { width: 88px; height: 88px; padding: 8px; border-radius: 18px; border: 2px solid transparent; background: var(--surface); opacity: .7; transition: border-color .2s ease, transform .2s ease, opacity .2s ease; }
.gallery__thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.gallery__thumb:hover { transform: translateY(-2px); opacity: 1; }
.gallery__thumb.is-active { border-color: var(--ink); opacity: 1; }

.buybox { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.buybox__codes { font-size: 13px; color: var(--hint); }
.buybox__codes a { color: var(--muted); font-weight: 600; }
.buybox__codes a:hover { color: var(--red); }
.buybox__title { font-size: 26px; line-height: 1.1; font-weight: 800; letter-spacing: -.03em; }
.buybox__lead { font-size: 15px; line-height: 1.55; color: var(--text-2); }
.buybox__panel { padding: 18px; border-radius: 24px; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.buybox__price-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.buybox__price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.buybox__price-now { font-size: 30px; font-weight: 800; letter-spacing: -.025em; }
.buybox__price-old { font-size: 16px; color: var(--hint); }
.buybox__credit { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 18px; background: var(--surface); transition: background-color .2s ease; }
.buybox__credit:hover { background: #ECECEE; }
.buybox__credit-badge { height: 32px; padding: 0 10px; border-radius: 9px; background: var(--red); color: var(--white); font-size: 13px; font-weight: 800; display: flex; align-items: center; }
.buybox__credit-text { flex: 1; font-size: 14px; line-height: 1.35; }
.buybox__credit-text span { color: var(--muted); }
.buybox__credit .icon { width: 18px; height: 18px; color: var(--hint); }
.buybox__actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 10px; }
.buybox__actions .btn { font-weight: 600; }
.buybox__compare { align-self: center; color: var(--muted); }
.buybox__compare[aria-pressed="true"] { color: var(--ink); }
.buybox__note { font-size: 13px; color: var(--muted); text-align: center; }
.buybox__feats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.feat { padding: 14px; border-radius: 18px; background: var(--surface); display: flex; gap: 10px; align-items: flex-start; }
.feat__icon { width: 36px; height: 36px; border-radius: 12px; background: var(--white); color: var(--red); display: grid; place-items: center; flex: none; }
.feat__icon .icon { width: 18px; height: 18px; }
.feat > span:last-child { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.feat b { font-size: 13px; }
.feat small { font-size: 12px; line-height: 1.35; color: var(--muted); }
@media (min-width: 768px) {
  .gallery__counter { display: flex; }
  .gallery__dots { display: none; }
  .gallery__arrow { display: grid; }
}
@media (min-width: 1024px) {
  .product { margin-top: 24px; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px; align-items: start; }
  .gallery { grid-column: span 7; }
  .gallery--multi { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 16px; }
  .gallery__thumbs { display: flex; flex-direction: column; gap: 10px; max-height: 620px; overflow-y: auto; scrollbar-width: none; }
  .gallery__main { border-radius: var(--r-hero); }
  .gallery__track { aspect-ratio: auto; height: 620px; }
  .gallery__badges { top: 20px; left: 20px; }
  .gallery__zoom { top: 16px; right: 16px; width: 48px; height: 48px; }
  .buybox { grid-column: span 5; position: sticky; top: 108px; gap: 18px; }
  .buybox__title { font-size: 36px; line-height: 1.08; }
  .buybox__lead { font-size: 16px; }
  .buybox__panel { padding: 24px; border-radius: 28px; gap: 16px; }
  .buybox__price-now { font-size: 40px; }
  .feat { padding: 16px; border-radius: 20px; gap: 12px; }
  .feat__icon { width: 40px; height: 40px; border-radius: 13px; }
  .feat b { font-size: 14px; }
}

.product-tabs { margin-top: 48px; }
.product-tabs__bar { position: relative; display: flex; gap: 24px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter); }
.product-tabs__bar::-webkit-scrollbar { display: none; }
.product-tabs__tab { flex: none; height: 52px; font-size: 16px; font-weight: 700; color: var(--hint); transition: color .2s ease; white-space: nowrap; }
.product-tabs__tab[aria-selected="true"] { color: var(--ink); }
.product-tabs__tab:hover { color: var(--ink); }
.product-tabs__ink { position: absolute; bottom: -1px; left: 0; height: 3px; border-radius: 2px; background: var(--red); transition: transform .4s var(--ease-sheet), width .4s var(--ease-sheet); }
.product-tabs__panel { padding-top: 24px; animation: swap .45s var(--ease) both; }
.product-desc { display: grid; gap: 24px; }
.prose { display: flex; flex-direction: column; gap: 14px; font-size: 16px; line-height: 1.65; color: var(--text-2); }
.key-box { padding: 22px; border-radius: 24px; background: var(--surface); display: flex; flex-direction: column; }
.key-box > b { font-size: 18px; margin-bottom: 10px; }
.key-box__row { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid #E3E3E6; font-size: 14px; }
.key-box__row span { color: var(--muted); }
.key-box__row b { font-weight: 600; text-align: right; }
.spec-groups { display: grid; gap: 24px 48px; }
.spec-group__title { font-size: 18px; font-weight: 700; padding: 8px 0; }
.spec-table div { display: flex; gap: 16px; padding: 12px 0; border-top: 1px dashed var(--line); font-size: 14px; }
.spec-table dt { flex: 1; color: var(--muted); }
.spec-table dd { flex: 1; font-weight: 600; text-align: right; }
.svc-cards { display: grid; gap: 12px; }
.svc-card { padding: 20px; border-radius: 22px; background: var(--surface); display: flex; gap: 14px; align-items: flex-start; transition: background-color .2s ease; }
.svc-card:hover { background: #ECECEE; }
.svc-card__icon { width: 44px; height: 44px; border-radius: 14px; background: var(--white); color: var(--red); display: grid; place-items: center; flex: none; }
.svc-card > span:last-child { display: flex; flex-direction: column; gap: 4px; }
.svc-card b { font-size: 16px; }
.svc-card > span:last-child > span { font-size: 14px; line-height: 1.45; color: var(--muted); }
@media (min-width: 1024px) {
  .product-tabs { margin-top: 80px; }
  .product-tabs__bar { gap: 36px; margin: 0; padding: 0; }
  .product-tabs__tab { height: 60px; font-size: 18px; }
  .product-tabs__panel { padding-top: 36px; }
  .product-desc { grid-template-columns: 7fr 5fr; gap: 40px; align-items: start; }
  .prose { font-size: 17px; }
  .key-box { padding: 28px; border-radius: 28px; }
  .key-box__row { font-size: 15px; }
  .spec-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spec-table div { font-size: 15px; }
  .svc-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .svc-card { padding: 24px; border-radius: var(--r-card); }
}

.live-strip { margin-top: 48px; padding: 22px; border-radius: 24px; border: 1px solid var(--line); display: grid; gap: 16px; }
.live-strip__head b { display: block; font-size: 20px; letter-spacing: -.02em; }
.live-strip__head span { display: block; margin-top: 4px; font-size: 14px; color: var(--muted); }
.live-strip__store { display: flex; gap: 12px; align-items: flex-start; }
.live-strip__store .icon { color: var(--red); margin-top: 2px; }
.live-strip__store b { display: block; font-size: 15px; transition: color .2s ease; }
.live-strip__store small { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); }
.live-strip__store:hover b { color: var(--red); }
@media (min-width: 1024px) { .live-strip { margin-top: 72px; padding: 32px 36px; border-radius: 28px; grid-template-columns: 280px repeat(3, minmax(0, 1fr)); gap: 28px; align-items: center; } .live-strip__head b { font-size: 22px; } }

.sticky-buy { position: fixed; left: 12px; right: 12px; bottom: calc(86px + env(safe-area-inset-bottom)); z-index: 66; padding: 10px 10px 10px 16px; border-radius: 20px; background: var(--white); box-shadow: 0 0 0 1px rgba(17, 17, 19, .08); display: flex; align-items: center; justify-content: space-between; gap: 12px; transform: translateY(160%); opacity: 0; transition: transform .45s var(--ease-sheet), opacity .3s ease; }
.sticky-buy.is-visible { transform: none; opacity: 1; }
.sticky-buy__price { display: flex; flex-direction: column; gap: 2px; }
.sticky-buy__price b { font-size: 18px; font-weight: 800; }
.sticky-buy__price .stock { font-size: 12px; }
@media (min-width: 1024px) { .sticky-buy { display: none; } }
body.fab-open .sticky-buy { opacity: 0; pointer-events: none; }

/* ---------- Compare 2.1 ---------- */
.cmp-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.cmp-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.cmp-tab { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-3); display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; transition: border-color .2s ease; }
.cmp-tab span { font-size: 12px; color: var(--hint); }
.cmp-tab:hover { border-color: var(--ink); }
.cmp-tab.is-active { background: var(--ink); border-color: var(--ink); color: var(--white); font-weight: 600; }
.cmp-tab.is-active span { color: rgba(255, 255, 255, .64); }
.cmp-undo { margin-top: 16px; min-height: 52px; padding: 6px 6px 6px 18px; border-radius: 16px; background: var(--ink); color: var(--white); display: flex; align-items: center; gap: 12px; font-size: 14px; animation: rise .3s var(--ease) both; }
.cmp-undo[hidden] { display: none; }
.cmp-undo span { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.cmp-undo__btn { flex: none; min-height: 40px; padding: 0 14px; border-radius: 12px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); color: var(--white); display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; }
.cmp-undo__btn .icon { width: 16px; height: 16px; }

.cmp { margin-top: 20px; min-width: 0; }
.cmp__side { display: flex; flex-direction: column; gap: 12px; }
.cmp__summary { display: flex; flex-direction: column; gap: 4px; }
.cmp__summary b { font-size: 18px; font-weight: 800; letter-spacing: -.01em; overflow-wrap: anywhere; }
.cmp__summary span { font-size: 14px; line-height: 1.4; color: var(--muted); }
.cmp-switch { position: relative; min-height: 56px; padding: 0 16px; border-radius: 16px; background: var(--surface); display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 600; cursor: pointer; }
.cmp-switch input { position: absolute; opacity: 0; pointer-events: none; }
.cmp-switch__track { position: relative; width: 48px; height: 28px; flex: none; border-radius: 14px; background: var(--line-3); transition: background-color .2s ease; }
.cmp-switch__track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--white); box-shadow: 0 1px 3px rgba(17, 17, 19, .2); transition: transform .26s var(--spring); }
.cmp-switch input:checked + .cmp-switch__track { background: var(--ink); }
.cmp-switch input:checked + .cmp-switch__track::after { transform: translateX(20px); }
.cmp-switch input:focus-visible + .cmp-switch__track { outline: 2px solid var(--ink); outline-offset: 2px; }
.cmp__legend { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.cmp__legend i, .cmp-row__label i { width: 6px; height: 6px; flex: none; border-radius: 50%; background: var(--red); }
.cmp__clear { align-self: flex-start; min-height: 40px; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--muted); transition: color .2s ease; }
.cmp__clear:hover { color: var(--red); }
.cmp__clear .icon { width: 18px; height: 18px; }

.cmp__cards { display: grid; gap: 10px; }
.cmp-card { position: relative; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.cmp-card__media { position: relative; aspect-ratio: 1 / 1; border-radius: 18px; background: var(--surface); }
.cmp-card__media > a { position: absolute; inset: 0; padding: 12%; display: flex; align-items: center; justify-content: center; }
.cmp-card__media picture { display: contents; }
.cmp-card__media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.cmp-card__sale { position: absolute; top: 8px; left: 8px; height: 22px; padding: 0 7px; font-size: 11px; border-radius: 7px; }
.cmp-card__x { position: absolute; top: 6px; right: 6px; width: 36px; height: 36px; border-radius: 12px; background: var(--white); color: var(--muted); display: grid; place-items: center; box-shadow: 0 1px 3px rgba(17, 17, 19, .12); transition: color .2s ease, transform .16s var(--ease); }
.cmp-card__x:hover { color: var(--red); }
.cmp-card__x:active { transform: scale(.9); }
.cmp-card__x .icon { width: 16px; height: 16px; }
.cmp-card__brand { margin-top: 4px; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--hint); }
.cmp-card__name { font-size: 13px; line-height: 1.3; font-weight: 600; min-height: 2.6em; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cmp-card__name:hover { color: var(--red); }
.cmp-card__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 8px; }
.cmp-card__price b { font-size: 16px; font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; }
.cmp-card__price s { font-size: 12px; color: var(--hint); white-space: nowrap; }
.cmp-card__stock { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--success-text); }
.cmp-card__stock::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.cmp-card__stock.is-order { color: var(--warn); }
.cmp-card__cta { display: none; }
.cmp-card--add { aspect-ratio: auto; min-height: 140px; border: 1.5px dashed var(--line-3); border-radius: 18px; align-items: center; justify-content: center; gap: 6px; padding: 16px; text-align: center; color: var(--muted); transition: border-color .2s ease, color .2s ease; }
.cmp-card--add:hover { border-color: var(--ink); color: var(--ink); }
.cmp-card__plus { width: 44px; height: 44px; border-radius: 14px; background: var(--surface); color: var(--ink); display: grid; place-items: center; }
.cmp-card__plus .icon { width: 20px; height: 20px; }
.cmp-card--add b { font-size: 14px; color: var(--ink); }
.cmp-card--add small { font-size: 12px; }

.cmp__section { padding: 24px 0 6px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--hint); border-bottom: 1px solid var(--line); }
.cmp-row { border-bottom: 1px solid var(--line); }
.cmp-row__label { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); min-width: 0; overflow-wrap: anywhere; }
.cmp-row.is-same .cmp-row__label i { visibility: hidden; }
.cmp-row__vals { display: grid; gap: 10px; min-width: 0; }
.cmp-cell { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; font-size: 15px; line-height: 1.35; overflow-wrap: anywhere; }
.cmp-row.is-diff .cmp-cell span { font-weight: 600; color: var(--ink); }
.cmp-row.is-same .cmp-cell span { color: var(--muted); }
.cmp-best { font-style: normal; font-size: 11px; font-weight: 700; color: var(--success-text); background: var(--success-tint); border-radius: 6px; padding: 2px 7px; }
.cmp.only-diff .cmp-row.is-same { display: none; }
.cmp-row { animation: fade .25s ease both; }

/* Phone and tablet: two models at a time, labels on their own line. */
@media (max-width: 1023px) {
  .cmp-head .page-title { font-size: 30px; }
  .cmp-tabs { width: 100%; }
  .cmp__side { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; }
  .cmp__summary { grid-column: 1; }
  .cmp__clear { grid-column: 2; grid-row: 1; align-self: center; }
  .cmp__clear { font-size: 0; width: 44px; height: 44px; justify-content: center; border-radius: 14px; background: var(--surface); }
  .cmp__clear .icon { width: 20px; height: 20px; }
  .cmp-switch { grid-column: 1 / -1; }
  .cmp__legend { display: none; }
  .cmp__pager { margin-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--muted); }
  .cmp__arrows { display: flex; gap: 6px; }
  .cmp__arrow { width: 44px; height: 40px; border-radius: 12px; background: var(--surface); color: var(--ink); display: grid; place-items: center; transition: opacity .2s ease; }
  .cmp__arrow:disabled { opacity: .35; }
  .cmp__arrow .icon { width: 18px; height: 18px; }
  .cmp__cards { margin-top: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); touch-action: pan-y; }
  .cmp-sticky { top: var(--header-h); }
  .cmp-sticky__row { grid-template-columns: minmax(0, 1fr); padding-top: 8px; padding-bottom: 8px; }
  .cmp-sticky__side { display: none; }
  .cmp-sticky__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .cmp-mini { padding-right: 34px; gap: 8px; }
  .cmp-mini__img { width: 40px; height: 40px; }
  .cmp-mini__x { width: 28px; height: 28px; margin-top: -14px; right: 4px; }
  .cmp-card { animation: swapX .28s var(--ease) both; }
  .cmp-card__media { aspect-ratio: auto; height: 112px; }
  .cmp-card__media > a { padding: 10px; }
  .cmp-card--add:not([data-col]) { display: none; }
  .cmp-card--add { min-height: 0; }
  .cmp__dots { display: flex; justify-content: center; gap: 6px; padding-top: 10px; }
  .cmp__dots span { width: 6px; height: 6px; border-radius: 3px; background: var(--line-3); transition: width .3s var(--ease), background-color .3s ease; }
  .cmp__dots span.is-on { width: 16px; background: var(--ink); }
  .cmp-row { padding: 12px 0; }
  .cmp-row__vals { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 6px; }
  .cmp-cell--pad:not([data-col]) { display: none; }
  .is-off { display: none !important; }
}
@media (max-width: 1023px) and (min-width: 600px) { .cmp-card__media { height: 160px; } }

/* Computer: summary column + up to four product columns. */
@media (min-width: 1024px) {
  .cmp { display: grid; grid-template-columns: 240px minmax(0, 1fr); column-gap: 16px; margin-top: 28px; }
  .cmp__side { grid-column: 1; grid-row: 1; padding-right: 8px; }
  .cmp__pager, .cmp__dots { display: none; }
  .cmp__cards { grid-column: 2; grid-row: 1; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: 16px; }
  .cmp-card { padding: 12px 12px 16px; border: 1px solid var(--line); border-radius: 22px; gap: 8px; transition: box-shadow .3s ease; }
  .cmp-card:hover { box-shadow: var(--sh-hover); }
  .cmp-card__media { aspect-ratio: auto; height: 184px; border-radius: 16px; }
  .cmp-card__media > a { padding: 18px; }
  .cmp-card__brand, .cmp-card__name, .cmp-card__price, .cmp-card__stock { padding: 0 4px; }
  .cmp-card__name { font-size: 15px; }
  .cmp-card__price b { font-size: 20px; }
  .cmp-card__cta { display: inline-flex; margin-top: auto; }
  .cmp-card--add { border-radius: 22px; min-height: 300px; }
  .cmp__table { grid-column: 1 / -1; }
  .cmp__section { padding-top: 32px; padding-bottom: 10px; }
  .cmp-row { display: grid; grid-template-columns: 240px minmax(0, 1fr); column-gap: 16px; align-items: center; min-height: 54px; transition: background-color .15s ease; }
  .cmp-row:hover { background: var(--surface-3); }
  .cmp-row__label { font-size: 14px; padding: 14px 8px 14px 0; }
  .cmp-row__vals { grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: 16px; }
  .cmp-cell { padding: 14px 16px; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px 8px; }

}

/* Compact row that sticks under the header once the cards scroll away. */
.cmp-sticky { display: block; position: fixed; left: 0; right: 0; top: 84px; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 8px 24px rgba(17, 17, 19, .06); transform: translateY(-110%); opacity: 0; visibility: hidden; transition: transform .26s var(--ease), opacity .2s ease, visibility .26s; }
.cmp-sticky.is-visible { transform: none; opacity: 1; visibility: visible; }
.cmp-sticky__row { display: grid; grid-template-columns: 240px minmax(0, 1fr); column-gap: 16px; align-items: center; padding-top: 12px; padding-bottom: 12px; }
.cmp-sticky__side { display: flex; flex-direction: column; gap: 2px; }
.cmp-sticky__side b { font-size: 15px; }
.cmp-sticky__side span { font-size: 13px; color: var(--muted); }
.cmp-sticky__cards { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: 16px; }
.cmp-mini { position: relative; min-width: 0; display: flex; align-items: center; gap: 10px; padding: 6px 40px 6px 6px; border-radius: 16px; background: var(--surface); }
.cmp-mini__img { width: 48px; height: 48px; flex: none; border-radius: 12px; background: var(--white); display: grid; place-items: center; }
.cmp-mini__img picture { display: contents; }
.cmp-mini__img img { max-width: 70%; max-height: 86%; object-fit: contain; }
.cmp-mini__text { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.cmp-mini__text b { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cmp-mini__text small { font-size: 14px; font-weight: 700; }
.cmp-mini__x { position: absolute; right: 6px; top: 50%; margin-top: -16px; width: 32px; height: 32px; border-radius: 10px; background: var(--white); color: var(--muted); display: grid; place-items: center; }
.cmp-mini__x .icon { width: 14px; height: 14px; }
@media (min-width: 1024px) { .cmp-sticky { top: 84px; } .cmp-sticky__row { grid-template-columns: 240px minmax(0, 1fr); } .cmp-sticky__cards { grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); } }
@media (max-width: 1023px) {
  .cmp-sticky { top: var(--header-h); }
  .cmp-sticky__row { grid-template-columns: minmax(0, 1fr); padding-top: 8px; padding-bottom: 8px; }
  .cmp-sticky__side { display: none; }
  .cmp-sticky__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .cmp-mini { padding-right: 34px; gap: 8px; }
  .cmp-mini__img { width: 40px; height: 40px; }
  .cmp-mini__x { width: 28px; height: 28px; margin-top: -14px; right: 4px; }
}

/* ---------- Error ---------- */
.error-page { padding: 56px 0 24px; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.error-page__code { font-size: 110px; font-weight: 800; letter-spacing: -.06em; line-height: 1; }
.error-page__code span { color: var(--red); }
.error-page__search { width: 100%; max-width: 520px; display: flex; gap: 8px; }
.error-page__search .input { flex: 1; }
.error-page__actions { display: flex; flex-wrap: wrap; gap: 8px; }
@media (min-width: 1024px) {
  .error-page { padding: 96px 0 40px; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 64px; row-gap: 16px; align-items: center; }
  .error-page__code { grid-row: span 5; font-size: 200px; }
}

/* ==========================================================================
   Company pages: О нас · Наши магазины · Контакты · Сервис · Акции
   ========================================================================== */
.pill { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px; border-radius: 999px; background: var(--surface); font-size: 13px; font-weight: 600; }
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); }
.section-sm { margin-top: 28px; }
@media (min-width: 1024px) { .section-sm { margin-top: 40px; } .pill { min-height: 40px; font-size: 14px; } }
.rise-1, .rise-2, .rise-3 { animation: rise .7s var(--ease) both; }
.rise-2 { animation-delay: .1s; }
.rise-3 { animation-delay: .2s; }

/* About */
.about-hero { padding-top: 16px; display: grid; gap: 24px; }
.about-hero__text { display: flex; flex-direction: column; gap: 16px; }
.about-hero__title { font-size: 36px; line-height: 1; font-weight: 800; letter-spacing: -.04em; }
.about-hero__lead { font-size: 16px; line-height: 1.6; color: var(--text-2); max-width: 520px; }
.about-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.about-collage { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: 200px 160px; gap: 10px; }
.about-collage > span { border-radius: 24px; overflow: hidden; background: var(--surface); display: flex; align-items: center; justify-content: center; }
.about-collage__big { grid-row: span 2; background: #0E0E10 !important; }
.about-collage__big img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.about-collage__tile img { height: 86%; width: auto; object-fit: contain; mix-blend-mode: multiply; }
.about-collage__tile--dark { background: var(--graphite) !important; }
.about-collage__tile--dark img { mix-blend-mode: normal; height: 92%; }
@media (min-width: 1024px) {
  .about-hero { padding-top: 28px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
  .about-hero__text { gap: 22px; padding: 24px 0; justify-content: center; }
  .about-hero__title { font-size: 60px; line-height: .98; }
  .about-hero__lead { font-size: 18px; }
  .about-collage { grid-template-rows: 280px 220px; gap: 16px; }
  .about-collage > span { border-radius: 28px; }
  .about-collage__big { border-radius: var(--r-hero) !important; }
}
.facts { margin-top: 32px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-radius: 24px; background: var(--graphite); color: var(--white); overflow: hidden; }
.fact { padding: 22px 18px; display: flex; flex-direction: column; gap: 6px; border-color: #2A2A2E; border-style: solid; border-width: 0; }
.fact:nth-child(2n) { border-left-width: 1px; }
.fact:nth-child(n+3) { border-top-width: 1px; }
.fact b { font-size: 36px; line-height: 1; letter-spacing: -.03em; }
.fact span { font-size: 13px; line-height: 1.4; color: var(--soft); }
@media (min-width: 1024px) {
  .facts { margin-top: 56px; grid-template-columns: repeat(4, minmax(0, 1fr)); border-radius: 28px; }
  .fact { padding: 32px; gap: 8px; border-width: 0 !important; }
  .fact + .fact { border-left-width: 1px !important; }
  .fact b { font-size: 48px; }
  .fact span { font-size: 15px; }
}
.about-what { display: grid; gap: 18px; }
.about-what__title { margin-top: 12px; }
.about-what__text { display: flex; flex-direction: column; gap: 16px; font-size: 16px; line-height: 1.65; color: var(--text-2); }
@media (min-width: 1024px) {
  .about-what { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
  .about-what > div:first-child { grid-column: span 4; }
  .about-what__text { grid-column: 6 / span 7; font-size: 18px; gap: 18px; }
}
.why-cards { margin-top: 20px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.why-card { padding: 18px; border-radius: 22px; background: var(--surface); display: flex; flex-direction: column; gap: 10px; transition: transform .35s var(--ease), box-shadow .35s ease; }
.why-card__icon { width: 44px; height: 44px; border-radius: 14px; background: var(--white); color: var(--red); display: grid; place-items: center; }
.why-card b { font-size: 16px; letter-spacing: -.01em; }
.why-card > span:last-child { font-size: 13px; line-height: 1.5; color: var(--muted); }
@media (min-width: 1024px) {
  .why-cards { margin-top: 28px; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .why-card { padding: 28px; border-radius: 28px; gap: 14px; min-height: 260px; }
  .why-card__icon { width: 52px; height: 52px; border-radius: 17px; }
  .why-card b { font-size: 20px; }
  .why-card > span:last-child { font-size: 15px; line-height: 1.55; }
  .why-card:hover { transform: translateY(-4px); box-shadow: var(--sh-hover); }
}
.steps-hint { display: none; }
.steps { display: flex; flex-direction: column; gap: 8px; }
.step { padding: 18px; border-radius: 22px; border: 1.5px solid var(--line); display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 14px; row-gap: 4px; align-items: center; transition: border-color .25s ease, background-color .25s ease; cursor: default; outline: none; }
.step__num { grid-row: span 2; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--white); font-size: 15px; font-weight: 800; display: grid; place-items: center; transition: background-color .25s ease; align-self: start; }
.step b { font-size: 17px; }
.step > span:last-child { font-size: 14px; line-height: 1.5; color: var(--muted); }
.step.is-active { border-color: var(--ink); }
.step.is-active .step__num { background: var(--red); }
@media (min-width: 1024px) {
  .steps-hint { display: block; }
  .steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
  .step { padding: 24px; border-radius: 26px; grid-template-columns: 1fr; row-gap: 14px; min-height: 220px; align-content: start; }
  .step__num { grid-row: auto; }
  .step b { font-size: 18px; }
}
.cta-pair { display: grid; gap: 10px; }
.cta-card { padding: 26px; border-radius: 28px; background: var(--surface); display: flex; flex-direction: column; gap: 12px; min-height: 240px; transition: transform .35s var(--ease), box-shadow .35s ease; }
.cta-card__icon { width: 52px; height: 52px; border-radius: 17px; background: var(--white); color: var(--red); display: grid; place-items: center; }
.cta-card b { font-size: 26px; letter-spacing: -.02em; }
.cta-card > span:not([class]) { font-size: 15px; line-height: 1.5; color: var(--muted); }
.cta-card__more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 700; color: var(--red); transition: gap .25s var(--ease); }
.cta-card__more .icon { width: 18px; height: 18px; }
.cta-card:hover .cta-card__more { gap: 10px; }
.cta-card--dark { background: var(--graphite); color: var(--white); }
.cta-card--dark .cta-card__icon { background: var(--red); color: var(--white); }
.cta-card--dark > span:not([class]) { color: var(--soft); }
.cta-card--dark .cta-card__more { color: var(--white); }
@media (min-width: 1024px) {
  .cta-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .cta-card { padding: 44px; border-radius: var(--r-hero); min-height: 280px; gap: 14px; }
  .cta-card b { font-size: 30px; }
  .cta-card:hover { transform: translateY(-4px); box-shadow: var(--sh-hover); }
}

/* Shops */
.shops-top { margin-top: 20px; display: grid; gap: 12px; }
.map-frame--tall { height: 340px; }
.shops-list { display: flex; flex-direction: column; gap: 10px; }
.store-card--big { width: auto; padding: 0; }
.store-card--big .store-card__head { width: 100%; padding: 18px; gap: 14px; align-items: flex-start; }
.store-num--lg { width: 40px; height: 40px; border-radius: 13px; font-size: 16px; }
.store-card__text { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.store-card__text b { font-size: 17px; }
.store-card__text span { font-size: 14px; color: var(--text-2); }
.store-card__text small { font-size: 13px; color: var(--muted); }
.store-card__chev { color: #C6C6CB; margin-top: 10px; transition: color .2s ease, transform .25s var(--ease); }
.store-card.is-active .store-card__chev { color: var(--red); transform: translateX(2px); }
.shops-help { margin-top: 4px; padding: 20px; border-radius: 24px; background: var(--surface); display: flex; flex-direction: column; gap: 10px; }
.shops-help b { font-size: 16px; }
.shops-help span { font-size: 14px; line-height: 1.5; color: var(--muted); }
@media (min-width: 1024px) {
  .shops-top { margin-top: 32px; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
  .map-frame--tall { grid-column: span 7; height: 600px; border-radius: var(--r-hero); }
  .shops-list { grid-column: span 5; gap: 12px; }
  .store-card--big .store-card__head { padding: 22px; gap: 16px; }
  .store-card__text b { font-size: 19px; }
  .store-card__text span { font-size: 15px; }
  .shops-help { margin-top: auto; padding: 22px; }
}
.store-detail-wrap { margin-top: 24px; }
.store-detail { padding: 18px; border-radius: 28px; border: 1px solid var(--line); display: grid; gap: 20px; animation: swap .45s var(--ease) both; }
.store-detail__photo { height: 200px; border-radius: 20px; overflow: hidden; background: var(--surface); }
.store-detail__photo img { width: 100%; height: 100%; object-fit: cover; }
.store-detail__ph { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: var(--muted); background: linear-gradient(135deg, var(--surface), #ECECEE); }
.store-detail__ph .icon { width: 44px; height: 44px; color: var(--red); stroke-width: 1.4; }
.store-detail__ph b { font-size: 17px; color: var(--ink); }
.store-detail__info { display: flex; flex-direction: column; gap: 18px; }
.store-detail__title { margin-top: 8px; font-size: 26px; line-height: 1.1; font-weight: 800; letter-spacing: -.03em; }
.store-detail__grid { display: grid; gap: 14px; }
.store-detail__grid div { display: flex; flex-direction: column; gap: 4px; }
.store-detail__grid dt { font-size: 13px; color: var(--muted); }
.store-detail__grid dd { font-size: 16px; font-weight: 700; }
.store-detail__grid a:hover { color: var(--red); }
.store-detail__actions { display: flex; flex-direction: column; gap: 10px; }
@media (min-width: 768px) { .store-detail__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; } }
@media (min-width: 1024px) {
  .store-detail-wrap { margin-top: 56px; }
  .store-detail { padding: 40px; border-radius: var(--r-hero); grid-template-columns: 380px minmax(0, 1fr) 280px; gap: 40px; }
  .store-detail__photo { height: 300px; border-radius: 24px; }
  .store-detail__title { font-size: 34px; }
}

/* Contacts */
.contacts-top { margin-top: 24px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: start; }
.contacts-top > * { min-width: 0; }
.contact-cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.contact-card { position: relative; padding: 22px; border-radius: 26px; display: flex; flex-direction: column; gap: 16px; min-height: 180px; transition: transform .3s var(--ease), box-shadow .3s ease; }
.contact-card--dark { background: var(--graphite); color: var(--white); }
.contact-card--red { background: var(--red); color: var(--white); }
.contact-card--soft { background: var(--surface); }
.contact-card__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.contact-card__icon { width: 52px; height: 52px; border-radius: 17px; display: grid; place-items: center; background: var(--white); color: var(--ink); }
.contact-card--dark .contact-card__icon { background: var(--ink-2); color: var(--white); }
.contact-card--red .contact-card__icon { background: rgba(255, 255, 255, .18); color: var(--white); }
.contact-card__copy { height: 34px; padding: 0 12px; border-radius: 10px; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; background: var(--white); color: var(--ink); transition: opacity .2s ease, transform .18s var(--ease); }
.contact-card__copy .icon { width: 14px; height: 14px; }
.contact-card--dark .contact-card__copy { background: var(--ink-2); color: var(--white); }
.contact-card--red .contact-card__copy { background: rgba(255, 255, 255, .18); color: var(--white); }
.contact-card__copy:active { transform: scale(.95); }
.contact-card__body { margin-top: auto; display: flex; flex-direction: column; gap: 4px; }
.contact-card__label, .contact-card__note { font-size: 13px; opacity: .7; }
.contact-card__value { font-size: 21px; font-weight: 800; letter-spacing: -.01em; word-break: break-word; }
.contact-card__value::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.contact-card__copy { position: relative; z-index: 1; }
.contact-hours { padding: 20px 22px; border-radius: 26px; border: 1px solid var(--line); display: flex; align-items: center; gap: 16px; }
.contact-hours__icon { width: 52px; height: 52px; border-radius: 17px; background: var(--surface); display: grid; place-items: center; flex: none; }
.contact-hours > span:last-child { display: flex; flex-direction: column; gap: 4px; }
.contact-hours b { font-size: 17px; }
.contact-hours > span:last-child > span { font-size: 14px; line-height: 1.45; color: var(--muted); }
@media (min-width: 768px) { .contact-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } .contact-hours { grid-column: 1 / -1; } }
@media (hover: hover) and (min-width: 1024px) {
  .contact-card__copy { opacity: 0; }
  .contact-card:hover .contact-card__copy, .contact-card__copy:focus-visible { opacity: 1; }
  .contact-card:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(17, 17, 19, .08); }
}
.write-us { padding: 22px; border-radius: 28px; background: var(--surface); }
.write-us__form { display: flex; flex-direction: column; gap: 16px; }
.write-us__title { font-size: 26px; font-weight: 800; letter-spacing: -.025em; }
.write-us__lead { margin-top: 6px; font-size: 14px; line-height: 1.45; color: var(--muted); }
.write-us .chip:not([aria-pressed="true"]) { background: var(--white); }
.bubble--white { background: var(--white); }
@media (min-width: 1024px) {
  .contacts-top { margin-top: 36px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .contact-cards { gap: 16px; }
  .contact-card { padding: 26px; border-radius: 28px; min-height: 210px; gap: 18px; }
  .write-us { padding: 36px; border-radius: var(--r-hero); }
  .write-us__title { font-size: 28px; }
  .write-us__lead { font-size: 15px; }
}
.contacts-mid { display: grid; gap: 20px; }
.addr-table { border-radius: 24px; border: 1px solid var(--line); overflow: hidden; }
.addr-row { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 4px 14px; align-items: center; padding: 16px 18px; transition: background-color .2s ease; }
.addr-row + .addr-row { border-top: 1px solid var(--line-2); }
.addr-row:hover { background: var(--surface-2); }
.addr-row .store-num { grid-row: span 3; align-self: start; width: 32px; height: 32px; }
.addr-row__main { display: flex; flex-direction: column; gap: 3px; }
.addr-row__main b { font-size: 16px; }
.addr-row__main span, .addr-row__hours { font-size: 14px; color: var(--muted); }
.addr-row__phone { font-size: 14px; font-weight: 600; }
.requisites { padding: 24px; border-radius: 28px; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.requisites b { font-size: 20px; }
.requisites p { font-size: 15px; line-height: 1.6; color: var(--muted); }
@media (min-width: 1024px) {
  .contacts-mid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: start; }
  .contacts-stores { grid-column: span 7; }
  .requisites { grid-column: span 5; padding: 28px; margin-top: 60px; }
  .addr-row { grid-template-columns: 40px minmax(0, 1fr) 200px 160px; gap: 16px; padding: 18px 22px; }
  .addr-row .store-num { grid-row: auto; }
}

/* FAQ */
.faq-block { display: grid; gap: 16px; }
.faq-block__cta { margin-top: 20px; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; min-height: 68px; padding: 12px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 16px; font-weight: 600; text-align: left; }
.faq__plus { width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--surface); color: var(--ink); display: grid; place-items: center; transition: transform .32s var(--ease), background-color .25s ease, color .25s ease; }
.faq__plus .icon { width: 18px; height: 18px; }
.faq__q[aria-expanded="true"] .faq__plus { transform: rotate(45deg); background: var(--ink); color: var(--white); }
.faq__a { padding-bottom: 22px; font-size: 15px; line-height: 1.6; color: var(--muted); max-width: 720px; }
@media (min-width: 1024px) {
  .faq-block { grid-template-columns: 360px minmax(0, 1fr); gap: 64px; }
  .faq__q { min-height: 76px; font-size: 18px; }
  .faq__a { font-size: 16px; }
}

/* Service */
.svc-block { padding: 22px; border-radius: 28px; background: var(--surface); }
.svc-block__head { display: flex; flex-direction: column; gap: 18px; }
.svc-block__icon { width: 52px; height: 52px; border-radius: 17px; background: var(--white); color: var(--red); display: grid; place-items: center; }
.svc-block__title { margin: 16px 0 8px; font-size: 26px; line-height: 1.1; font-weight: 800; letter-spacing: -.025em; }
.svc-block__text { font-size: 15px; line-height: 1.55; color: var(--muted); max-width: 520px; }
.svc-block__head .btn { align-self: flex-start; }
.svc-steps { margin-top: 24px; display: grid; gap: 10px; }
.svc-steps li { padding: 18px; border-radius: 22px; background: var(--white); display: flex; flex-direction: column; gap: 10px; }
.svc-steps__num { width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: var(--white); font-size: 14px; font-weight: 700; display: grid; place-items: center; }
.svc-steps b { font-size: 17px; }
.svc-steps span:last-child { font-size: 14px; line-height: 1.5; color: var(--muted); }
@media (min-width: 768px) { .svc-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
  .svc-block { padding: 48px; border-radius: var(--r-hero); }
  .svc-block__head { flex-direction: row; align-items: flex-start; justify-content: space-between; gap: 40px; }
  .svc-block__icon { width: 56px; height: 56px; border-radius: 18px; }
  .svc-block__title { margin: 20px 0 10px; font-size: 32px; }
  .svc-block__text { font-size: 16px; }
  .svc-steps { margin-top: 40px; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .svc-steps li { padding: 24px; border-radius: var(--r-card); gap: 12px; }
}
.svc-grid { margin-top: 12px; display: grid; gap: 12px; }
.credit { position: relative; overflow: hidden; padding: 24px; border-radius: 28px; background: var(--red); color: var(--white); scroll-margin-top: 100px; }
.credit .eyebrow { position: relative; color: var(--white); }
.credit__bg { position: absolute; right: -16px; top: -24px; font-size: 160px; font-weight: 800; line-height: 1; color: rgba(255, 255, 255, .12); pointer-events: none; }
.credit__title { position: relative; margin: 12px 0 10px; font-size: 30px; line-height: 1.04; font-weight: 800; letter-spacing: -.03em; }
.credit__text { position: relative; margin-bottom: 22px; font-size: 15px; line-height: 1.5; max-width: 420px; }
.calc { position: relative; padding: 20px; border-radius: 24px; background: var(--white); color: var(--ink); display: flex; flex-direction: column; gap: 18px; }
.calc__row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.calc__row label, .calc__label { font-size: 14px; color: var(--muted); }
.calc__row b { font-size: 20px; }
.calc__range { width: 100%; -webkit-appearance: none; appearance: none; background: transparent; height: 24px; }
.calc__range::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--ink) var(--p, 25%), var(--line) var(--p, 25%)); }
.calc__range::-moz-range-track { height: 4px; border-radius: 2px; background: var(--line); }
.calc__range::-moz-range-progress { height: 4px; border-radius: 2px; background: var(--ink); }
.calc__range::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -10px; border-radius: 50%; background: var(--white); border: 2px solid var(--ink); box-shadow: 0 2px 6px rgba(17, 17, 19, .16); cursor: grab; }
.calc__range::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--white); border: 2px solid var(--ink); cursor: grab; }
.calc__terms { margin-top: 10px; display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 8px; }
.calc__term { height: 48px; border-radius: 14px; border: 1px solid var(--line); font-size: 15px; font-weight: 700; transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.calc__term:hover { border-color: var(--ink); }
.calc__term[aria-checked="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.calc__foot { display: flex; flex-direction: column; gap: 14px; padding-top: 16px; border-top: 1px solid var(--line); }
.calc__foot > span { display: flex; flex-direction: column; gap: 2px; }
.calc__monthly { font-size: 30px; font-weight: 800; }
.calc__note { font-size: 12px; color: var(--hint); }
.svc-side { display: grid; gap: 12px; }
.svc-tile { padding: 24px; border-radius: 28px; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; scroll-margin-top: 100px; }
.svc-tile--soft { background: var(--surface); border-color: transparent; }
.svc-tile__icon { width: 52px; height: 52px; border-radius: 17px; background: var(--surface); color: var(--red); display: grid; place-items: center; }
.svc-tile--soft .svc-tile__icon { background: var(--white); }
.svc-tile h2 { font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.svc-tile p { font-size: 15px; line-height: 1.55; color: var(--muted); }
@media (min-width: 1024px) {
  .svc-grid { margin-top: 24px; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
  .credit { grid-column: span 7; padding: 48px; border-radius: var(--r-hero); }
  .credit__bg { right: -20px; top: -40px; font-size: 260px; }
  .credit__title { margin: 14px 0 10px; font-size: 40px; }
  .credit__text { font-size: 16px; margin-bottom: 28px; }
  .calc { padding: 28px; border-radius: 26px; gap: 20px; }
  .calc__row b { font-size: 22px; }
  .calc__foot { flex-direction: row; align-items: center; justify-content: space-between; }
  .calc__monthly { font-size: 32px; }
  .svc-side { grid-column: span 5; grid-template-rows: 1fr 1fr; gap: 24px; }
  .svc-tile { padding: 40px; border-radius: var(--r-hero); gap: 14px; }
  .svc-tile h2 { font-size: 26px; }
}

/* Promo */
.promo-seg { --n: 3; width: 100%; border-radius: 18px; }
.promo-seg .seg__btn { min-height: 44px; font-size: 15px; }
.promo-seg .seg__btn[aria-selected="true"] { font-weight: 700; }
@media (min-width: 768px) { .promo-seg { width: 450px; } }
.promo-panel { margin-top: 24px; animation: swap .4s var(--ease) both; }
.promo-lead { margin: 0 0 24px; }
.promo-hero { display: grid; gap: 10px; }
.promo-big { position: relative; overflow: hidden; min-height: 300px; padding: 24px; border-radius: 28px; background: var(--red); color: var(--white); display: flex; flex-direction: column; isolation: isolate; transition: transform .35s var(--ease), box-shadow .35s ease; }
.promo-big .eyebrow { color: var(--white); }
.promo-big__img { position: absolute; right: -10px; bottom: -10px; width: 52%; height: 78%; z-index: -1; display: flex; align-items: flex-end; justify-content: flex-end; }
.promo-big__img img { width: 100%; height: 100%; object-fit: contain; object-position: right bottom; transition: transform .6s var(--ease); }
.promo-big__pct { margin-top: 12px; font-size: 64px; line-height: .95; font-weight: 800; letter-spacing: -.04em; }
.promo-big__name { margin-top: 12px; font-size: 18px; line-height: 1.35; max-width: 55%; }
.promo-big__price { margin-top: auto; padding-top: 16px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
.promo-big__price b { font-size: 24px; }
.promo-big__price s { font-size: 15px; opacity: .75; }
.promo-big--empty { background: var(--graphite); justify-content: center; gap: 10px; }
.promo-big--empty .promo-big__name { max-width: none; font-size: 28px; font-weight: 800; }
.promo-side { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.promo-mini { padding: 20px; border-radius: 24px; background: var(--surface); display: flex; flex-direction: column; gap: 6px; min-height: 160px; transition: transform .35s var(--ease), box-shadow .35s ease; }
.promo-mini b { font-size: 22px; letter-spacing: -.02em; line-height: 1.1; }
.promo-mini span { font-size: 13px; color: var(--muted); }
.promo-mini em { margin-top: auto; font-style: normal; font-size: 14px; font-weight: 700; }
.promo-mini--dark { background: var(--graphite); color: var(--white); }
.promo-mini--dark b { font-size: 36px; }
.promo-mini--dark span { color: var(--soft); }
.promo-sub { margin: 48px 0 20px; font-size: 26px; }
.soon-tile { grid-column: 1 / -1; padding: 28px; border-radius: 24px; border: 1.5px dashed var(--line-3); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 10px; }
.soon-tile b { font-size: 20px; }
.soon-tile span { font-size: 15px; color: var(--muted); max-width: 320px; line-height: 1.5; }
.brand-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.brand-card { min-height: 140px; padding: 20px; border-radius: 24px; border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; gap: 16px; transition: transform .35s var(--ease), box-shadow .35s ease, border-color .25s ease; }
.brand-card__logo { height: 44px; display: flex; align-items: center; }
.brand-card__logo img { max-height: 36px; max-width: 100%; width: auto; filter: brightness(0); opacity: .8; }
.brand-card__logo b { font-size: 24px; font-weight: 800; letter-spacing: .04em; color: var(--ink-2); }
.brand-card__foot { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; }
.brand-card__foot span { color: var(--muted); }
.brand-card__foot em { font-style: normal; font-weight: 700; color: var(--red); white-space: nowrap; }
@media (hover: hover) {
  .promo-big:hover, .promo-mini:hover, .brand-card:hover { transform: translateY(-4px); box-shadow: var(--sh-hover); }
  .promo-big:hover .promo-big__img img { transform: scale(1.05); }
  .brand-card:hover { border-color: var(--ink); }
}
@media (min-width: 1024px) {
  .promo-seg .seg__btn { min-height: 48px; }
  .promo-panel { margin-top: 36px; }
  .promo-lead { margin-bottom: 28px; }
  .promo-hero { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
  .promo-big { grid-column: span 8; height: 380px; padding: 48px; border-radius: var(--r-hero); }
  .promo-big__img { right: 40px; bottom: -20px; width: 340px; height: 370px; }
  .promo-big__pct { margin-top: 14px; font-size: 96px; }
  .promo-big__name { font-size: 20px; max-width: 340px; }
  .promo-big__price b { font-size: 28px; }
  .promo-side { grid-column: span 4; grid-template-columns: 1fr; grid-template-rows: 1fr 1fr; gap: 24px; }
  .promo-mini { padding: 32px; border-radius: 28px; }
  .promo-mini b { font-size: 24px; }
  .promo-mini--dark b { font-size: 40px; }
  .promo-mini span { font-size: 15px; }
  .promo-sub { margin-top: 64px; margin-bottom: 24px; font-size: 32px; }
  .soon-tile { grid-column: span 2; }
  .brand-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .brand-card { height: 180px; padding: 28px; border-radius: 28px; }
  .brand-card__foot { font-size: 14px; }
}

/* ==========================================================================
   Phone and tablet: no sideways-scrolling strips. Every page scrolls only
   vertically; the strips below become plain grids with the same cards.
   ========================================================================== */
@media (max-width: 1023px) {
  /* Home: quick categories — two columns, the first six (all of them are in «Популярные категории»). */
  /* Home: quick categories — a horizontal slider of equal cards that snap to the edge. */
  .home-quick .chips-scroll { display: flex; gap: 8px; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter); touch-action: pan-x pan-y; }
  .home-quick .chip-img { flex: 0 0 152px; width: 152px; min-height: 52px; padding: 0 10px 0 6px; gap: 8px; scroll-snap-align: start; border-radius: 16px; }
  .home-quick .chip-img__pic { flex: none; width: 34px; height: 34px; }
  .home-quick .chip-img__name { min-width: 0; font-size: 13px; line-height: 1.2; white-space: normal; overflow-wrap: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

  /* Product rails (home tabs, related products): a grid instead of a carousel. */
  .rail { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; overflow: visible; margin: 0; padding: 0; scroll-snap-type: none; }
  .rail > .card { width: auto; }
  .rail > .card:nth-child(n+5) { display: none; }

  /* Brands: all logos in a grid. */
  .brand-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; overflow: visible; margin: 0; padding: 0; }
  .brand-tile { width: auto; min-width: 0; }

  /* Stores: one under another. */
  .store-list { flex-direction: column; overflow: visible; margin: 0; padding: 0; scroll-snap-type: none; }
  .store-card { width: auto; }

  /* Product tabs: share the width, long names wrap instead of scrolling. */
  .product-tabs__bar { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 4px; overflow: visible; margin: 0; padding: 0; }
  .product-tabs__tab { height: auto; min-height: 52px; padding: 6px 2px; font-size: 14px; line-height: 1.2; white-space: normal; text-align: center; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .rail { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rail > .card:nth-child(n+5) { display: flex; }
  .rail > .card:nth-child(n+7) { display: none; }
  .brand-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

/* Home categories: the first rows only, the rest behind «Остальные категории»
   (6 tiles on phones, 8 on tablets, 10 = two full rows on computers). */
.cat-tiles--home:not(.is-open) > .cat-tile:nth-child(n+7) { display: none; }
.cat-more { display: flex; justify-content: center; margin-top: 16px; }
.cat-more__btn .icon { transition: transform .3s var(--ease); }
.cat-more__btn[aria-expanded="true"] .icon { transform: rotate(180deg); }
@media (min-width: 768px) {
  .cat-tiles--home:not(.is-open) > .cat-tile:nth-child(n+7) { display: flex; }
  .cat-tiles--home:not(.is-open) > .cat-tile:nth-child(n+9) { display: none; }
  .cat-more:not(.cat-more--md) { display: none; }
}
@media (min-width: 1024px) {
  .cat-tiles--home:not(.is-open) > .cat-tile:nth-child(n+9) { display: flex; }
  .cat-tiles--home:not(.is-open) > .cat-tile:nth-child(n+11) { display: none; }
  .cat-more:not(.cat-more--lg) { display: none; }
  .cat-more { margin-top: 24px; }
}
