/* ============ SILA OUTLET — плотный сине-белый ритейл ============ */
:root {
  --blue: #1246A6;
  --blue-dark: #0D3480;
  --navy: #0B1F45;
  --yellow: #FFD413;
  --yellow-dark: #E8B900;
  --red: #E02B2B;
  --text: #17233B;
  --muted: #5D6B84;
  --line: #DFE6F0;
  --bg-soft: #F2F5FA;
  --bg-blue-soft: #E9EFFA;
  --radius: 8px;
  --shadow: 0 10px 28px rgba(11, 31, 69, .10);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-cond: 'Oswald', 'Arial Narrow', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-padding-top: 120px; }
body {
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
  color: var(--text);
  background: #fff;
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: inherit; }
.container { max-width: 1280px; margin: 0 auto; padding-inline: 20px; }

h1, h2, h3 { font-family: var(--font-cond); font-weight: 600; line-height: 1.15; text-transform: uppercase; letter-spacing: .01em; }
.price, .num { font-variant-numeric: tabular-nums lining-nums; }

/* ---------- reveal ---------- */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.rv.on { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { transition: none; opacity: 1; transform: none; } }

/* ---------- topbar ---------- */
.topbar { background: var(--navy); color: #C6D3EC; font-size: 12.5px; }
.topbar .container { display: flex; align-items: center; gap: 18px; min-height: 34px; flex-wrap: wrap; }
.topbar__stores { color: var(--yellow); font-weight: 600; }
.topbar__spacer { flex: 1; }
.topbar__item strong { color: #fff; font-weight: 600; }
.topbar a:hover { color: #fff; }
@media (max-width: 760px) {
  .topbar__hide-m { display: none; }
}

/* ---------- header ---------- */
.header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 60; }
.header__main { display: flex; align-items: center; gap: 22px; padding-block: 12px; }
.logo { display: flex; align-items: baseline; gap: 7px; flex-shrink: 0; }
.logo__sila { font-family: var(--font-cond); font-weight: 700; font-size: 30px; letter-spacing: .02em; color: var(--blue); text-transform: uppercase; line-height: 1; }
.logo__outlet { font-family: var(--font-cond); font-weight: 600; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--navy); background: var(--yellow); padding: 3px 7px 2px; border-radius: 3px; line-height: 1; }
.search { flex: 1; display: flex; max-width: 560px; }
.search input { flex: 1; border: 2px solid var(--blue); border-right: 0; border-radius: 6px 0 0 6px; padding: 9px 14px; font-size: 14px; outline: none; min-width: 0; }
.search input:focus { border-color: var(--blue-dark); }
.search button { background: var(--blue); color: #fff; border: 0; border-radius: 0 6px 6px 0; padding: 0 18px; font-size: 14px; font-weight: 600; transition: background .2s; }
.search button:hover { background: var(--blue-dark); }
.hdr-actions { display: flex; gap: 6px; margin-left: auto; flex-shrink: 0; }
.hdr-act { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 10px; border-radius: 6px; background: none; border: 0; font-size: 11.5px; color: var(--muted); transition: background .2s, color .2s; }
.hdr-act:hover { background: var(--bg-blue-soft); color: var(--blue); }
.hdr-act svg { width: 22px; height: 22px; }
.hdr-act__count { position: absolute; top: 0; right: 4px; min-width: 17px; height: 17px; padding-inline: 4px; border-radius: 9px; background: var(--red); color: #fff; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; font-variant-numeric: tabular-nums; }
.hdr-act__count.is-zero { display: none; }
.hdr-act--fav .hdr-act__count { background: var(--blue); }
.burger { display: none; background: none; border: 0; padding: 8px; }
.burger svg { width: 26px; height: 26px; color: var(--blue); }

/* nav */
.catnav { background: var(--blue); }
.catnav__list { list-style: none; display: flex; }
.catnav__list a { display: block; padding: 11px 18px; color: #fff; font-weight: 600; font-size: 14px; transition: background .2s; }
.catnav__list a:hover { background: var(--blue-dark); }
.catnav__list a.is-sale { background: var(--yellow); color: var(--navy); font-weight: 700; }
.catnav__list a.is-sale:hover { background: var(--yellow-dark); }
@media (max-width: 900px) {
  .header__main { gap: 12px; flex-wrap: wrap; }
  .search { order: 3; max-width: none; flex-basis: 100%; }
  .burger { display: block; margin-left: auto; }
  .hdr-actions { margin-left: 0; }
  .hdr-act span:not(.hdr-act__count) { display: none; }
  .catnav { display: none; }
  .catnav.is-open { display: block; }
  .catnav__list { flex-direction: column; }
}

/* ---------- hero banners ---------- */
.hero { padding-block: 22px 10px; }
.hero__grid { display: grid; grid-template-columns: 2fr 1fr; gap: 16px; }
.banner { position: relative; border-radius: var(--radius); overflow: hidden; display: flex; align-items: flex-end; min-height: 200px; color: #fff; }
.banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(75deg, rgba(6, 18, 44, .82) 0%, rgba(6, 18, 44, .35) 55%, rgba(6, 18, 44, .05) 100%); }
.banner__body { position: relative; z-index: 1; padding: 26px 28px; }
.banner--main { min-height: 380px; }
.banner__kicker { display: inline-block; background: var(--yellow); color: var(--navy); font-family: var(--font-cond); font-weight: 600; text-transform: uppercase; font-size: 13px; letter-spacing: .08em; padding: 4px 10px 3px; border-radius: 3px; margin-bottom: 12px; }
.banner__title { font-size: clamp(26px, 3.4vw, 44px); margin-bottom: 8px; max-width: 520px; }
.banner__text { font-size: 15px; color: #DCE5F5; max-width: 420px; margin-bottom: 16px; }
.banner--sm { min-height: 182px; }
.banner--sm .banner__body { padding: 18px 20px; }
.banner--sm .banner__title { font-size: 21px; margin-bottom: 10px; }
.hero__side { display: grid; gap: 16px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 6px; font-weight: 700; font-size: 14px; padding: 11px 22px; transition: background .2s, color .2s, border-color .2s; }
.btn--yellow { background: var(--yellow); color: var(--navy); }
.btn--yellow:hover { background: var(--yellow-dark); }
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--blue-dark); }
.btn--ghost { background: #fff; color: var(--blue); border: 1.5px solid var(--blue); }
.btn--ghost:hover { background: var(--bg-blue-soft); }
.btn--sm { padding: 8px 14px; font-size: 13px; }
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .banner--main { min-height: 300px; }
}

/* ---------- sections ---------- */
.section { padding-block: 34px; }
.section--soft { background: var(--bg-soft); }
.section__head { display: flex; align-items: baseline; gap: 18px; margin-bottom: 20px; }
.section__title { font-size: clamp(21px, 2.4vw, 30px); color: var(--navy); }
.section__title small { color: var(--muted); font-size: .55em; letter-spacing: .05em; }
.section__link { margin-left: auto; color: var(--blue); font-weight: 600; font-size: 14px; white-space: nowrap; }
.section__link:hover { text-decoration: underline; }

/* ---------- category strip ---------- */
.cats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.cat-tile { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; transition: border-color .2s, background .2s; }
.cat-tile:hover { border-color: var(--blue); background: var(--bg-blue-soft); }
.cat-tile b { color: var(--blue); font-size: 15px; }
.cat-tile span { font-size: 12.5px; color: var(--muted); }
@media (max-width: 900px) { .cats { grid-template-columns: repeat(2, 1fr); } .cats .cat-tile:last-child { grid-column: span 2; } }

/* ---------- подборки ---------- */
.picks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pick { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 190px; display: flex; align-items: flex-end; color: #fff; }
.pick img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.pick:hover img { transform: scale(1.05); }
.pick::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(6, 18, 44, .85), rgba(6, 18, 44, .12) 65%); }
.pick__body { position: relative; z-index: 1; padding: 16px 18px; }
.pick__title { font-size: 19px; }
.pick__sub { font-size: 12.5px; color: #CBD7EE; }
@media (max-width: 900px) { .picks { grid-template-columns: repeat(2, 1fr); } }

/* ---------- бренды ---------- */
.brands { display: flex; flex-wrap: wrap; gap: 10px; }
.brand-chip { font-family: var(--font-cond); font-weight: 600; text-transform: uppercase; letter-spacing: .07em; font-size: 14px; color: var(--navy); background: #fff; border: 1.5px solid var(--line); border-radius: 6px; padding: 9px 16px; transition: border-color .2s, color .2s, background .2s; }
.brand-chip:hover { border-color: var(--blue); color: var(--blue); background: var(--bg-blue-soft); }

/* ---------- product card ---------- */
.grid-products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.grid-products--6 { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 1100px) { .grid-products, .grid-products--6 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .grid-products, .grid-products--6 { grid-template-columns: repeat(2, 1fr); gap: 10px; } }

.card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 12px 14px; display: flex; flex-direction: column; transition: box-shadow .25s, border-color .25s; }
.card:hover { box-shadow: var(--shadow); border-color: #C8D4E8; }
.card__img { position: relative; border-radius: 6px; overflow: hidden; aspect-ratio: 1 / 1; background: var(--bg-soft); margin-bottom: 10px; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .card__img img { transform: scale(1.04); }
.badge { position: absolute; top: 8px; left: 8px; z-index: 2; font-family: var(--font-cond); font-weight: 600; font-size: 12.5px; letter-spacing: .05em; text-transform: uppercase; padding: 4px 9px 3px; border-radius: 3px; background: var(--yellow); color: var(--navy); font-variant-numeric: lining-nums; }
.badge--new { background: var(--blue); color: #fff; }
.fav-btn { position: absolute; top: 6px; right: 6px; z-index: 2; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); display: flex; align-items: center; justify-content: center; color: #9AA8C0; transition: color .2s, transform .2s; }
.fav-btn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; }
.fav-btn:hover { color: var(--red); transform: scale(1.1); }
.fav-btn.is-on { color: var(--red); }
.fav-btn.is-on svg { fill: currentColor; }
.card__brand { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.card__name { font-size: 13.5px; line-height: 1.4; font-weight: 500; margin-bottom: 10px; min-height: 2.8em; }
.card__name a:hover { color: var(--blue); }
.card__foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; }
.card__prices { display: flex; flex-direction: column; }
.card__old { font-size: 12.5px; color: var(--muted); text-decoration: line-through; }
.card__price { font-size: 17px; font-weight: 700; color: var(--navy); }
.card__price.is-sale { color: var(--red); }
.card__buy { width: 40px; height: 40px; border-radius: 6px; border: 0; background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center; transition: background .2s, transform .15s; }
.card__buy svg { width: 19px; height: 19px; }
.card__buy:hover { background: var(--blue-dark); }
.card__buy.is-added { background: #1F9D55; transform: scale(1.05); }

/* ---------- о компании ---------- */
.about { display: grid; grid-template-columns: 1.1fr 1fr; gap: 34px; align-items: center; }
.about__img { border-radius: var(--radius); overflow: hidden; }
.about__img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.about h2 { font-size: clamp(22px, 2.6vw, 32px); color: var(--navy); margin-bottom: 14px; }
.about p { color: var(--muted); margin-bottom: 12px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 20px; }
.stat { background: var(--bg-blue-soft); border-radius: var(--radius); padding: 14px 12px; text-align: center; }
.stat b { display: block; font-family: var(--font-cond); font-weight: 600; font-size: 26px; color: var(--blue); font-variant-numeric: tabular-nums lining-nums; }
.stat span { font-size: 12px; color: var(--muted); }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- news ---------- */
.news { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.news-card { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--yellow); border-radius: var(--radius); padding: 18px 20px; transition: box-shadow .25s; }
.news-card:hover { box-shadow: var(--shadow); }
.news-card time { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-variant-numeric: lining-nums; }
.news-card h3 { font-size: 16.5px; color: var(--navy); margin: 8px 0 8px; text-transform: none; font-family: var(--font); font-weight: 700; letter-spacing: 0; }
.news-card p { font-size: 13.5px; color: var(--muted); }
@media (max-width: 900px) { .news { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.footer { background: var(--navy); color: #B9C7E2; margin-top: 40px; font-size: 14px; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 28px; padding-block: 38px 26px; }
.footer h4 { color: #fff; font-family: var(--font-cond); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; font-size: 15px; margin-bottom: 14px; }
.footer ul { list-style: none; display: grid; gap: 8px; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__logo { margin-bottom: 12px; }
.footer__logo .logo__sila { color: #fff; font-size: 26px; }
.footer p { font-size: 13px; }
.footer__note { border-top: 1px solid rgba(255, 255, 255, .14); padding-block: 18px; font-size: 12.5px; color: #8DA0C4; }
.footer__note a { color: var(--yellow); }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; gap: 22px; } }

/* ---------- cart drawer ---------- */
.drawer-overlay { position: fixed; inset: 0; background: rgba(11, 31, 69, .5); opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 90; }
.drawer-overlay.is-open { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100vw); background: #fff; z-index: 100; transform: translateX(105%); transition: transform .35s cubic-bezier(.22, .8, .3, 1); display: flex; flex-direction: column; box-shadow: -12px 0 40px rgba(11, 31, 69, .18); }
.drawer.is-open { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer__head h3 { font-size: 20px; color: var(--navy); }
.drawer__close { background: none; border: 0; font-size: 26px; line-height: 1; color: var(--muted); padding: 4px 8px; }
.drawer__close:hover { color: var(--navy); }
.drawer__body { flex: 1; overflow-y: auto; padding: 14px 20px; }
.drawer__empty { text-align: center; color: var(--muted); padding-block: 60px; }
.cart-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; padding-block: 12px; border-bottom: 1px solid var(--line); align-items: center; }
.cart-item__img { width: 64px; height: 64px; border-radius: 6px; object-fit: cover; background: var(--bg-soft); }
.cart-item__name { font-size: 13px; font-weight: 500; line-height: 1.35; margin-bottom: 6px; }
.cart-item__price { font-size: 14px; font-weight: 700; color: var(--navy); }
.cart-item__col { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.qty button { width: 28px; height: 28px; border: 0; background: var(--bg-soft); font-size: 15px; font-weight: 700; color: var(--blue); }
.qty button:hover { background: var(--bg-blue-soft); }
.qty span { width: 34px; text-align: center; font-size: 13.5px; font-weight: 600; font-variant-numeric: tabular-nums; }
.cart-item__remove { background: none; border: 0; font-size: 12px; color: var(--muted); text-decoration: underline; }
.cart-item__remove:hover { color: var(--red); }
.drawer__foot { padding: 16px 20px 20px; border-top: 1px solid var(--line); }
.drawer__total { display: flex; justify-content: space-between; font-size: 16px; margin-bottom: 14px; }
.drawer__total b { font-size: 20px; color: var(--navy); }
.drawer__foot .btn { width: 100%; }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--navy); color: #fff; padding: 11px 20px; border-radius: 8px; font-size: 14px; opacity: 0; transition: opacity .3s, transform .3s; z-index: 120; pointer-events: none; max-width: 90vw; text-align: center; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- breadcrumbs / page head ---------- */
.crumbs { font-size: 13px; color: var(--muted); padding-block: 16px 4px; }
.crumbs a:hover { color: var(--blue); }
.crumbs span { margin-inline: 6px; color: #B4C0D6; }
.page-title { font-size: clamp(24px, 3vw, 34px); color: var(--navy); margin-bottom: 4px; }
.page-sub { color: var(--muted); font-size: 14px; }

/* ---------- catalog layout ---------- */
.catalog { display: grid; grid-template-columns: 250px 1fr; gap: 26px; padding-block: 22px 10px; align-items: start; }
.filters { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; position: sticky; top: 130px; }
.filters h3 { font-size: 15px; color: var(--navy); margin-bottom: 10px; }
.f-group { padding-block: 14px; border-top: 1px solid var(--line); }
.f-group:first-of-type { border-top: 0; padding-top: 0; }
.f-check { display: flex; align-items: center; gap: 9px; padding-block: 4px; font-size: 13.5px; cursor: pointer; color: var(--text); }
.f-check input { width: 16px; height: 16px; accent-color: var(--blue); flex-shrink: 0; }
.f-check .cnt { color: var(--muted); font-size: 12px; margin-left: auto; font-variant-numeric: tabular-nums; }
.f-price { display: flex; gap: 8px; }
.f-price input { width: 100%; border: 1px solid var(--line); border-radius: 6px; padding: 7px 10px; font-size: 13.5px; }
.f-price input:focus { outline: 2px solid var(--blue); outline-offset: -1px; }
.f-sale { background: var(--yellow); border-radius: 6px; padding: 10px 12px; font-weight: 600; }
.filters .btn { width: 100%; margin-top: 12px; }
.f-reset { display: block; width: 100%; margin-top: 8px; background: none; border: 0; color: var(--muted); font-size: 13px; text-decoration: underline; }
.f-reset:hover { color: var(--red); }
.catalog__top { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; flex-wrap: wrap; }
.catalog__count { color: var(--muted); font-size: 13.5px; }
.sort { margin-left: auto; display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); }
.sort select { border: 1px solid var(--line); border-radius: 6px; padding: 8px 10px; font-size: 13.5px; background: #fff; color: var(--text); }
.filters-toggle { display: none; }
.catalog__empty { text-align: center; color: var(--muted); padding-block: 70px; }
.catalog__empty b { display: block; font-size: 18px; color: var(--navy); margin-bottom: 6px; }
@media (max-width: 900px) {
  .catalog { grid-template-columns: 1fr; }
  .filters { position: static; display: none; }
  .filters.is-open { display: block; }
  .filters-toggle { display: inline-flex; }
}

/* ---------- product page ---------- */
.product { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; padding-block: 18px 30px; align-items: start; }
.gallery__main { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; aspect-ratio: 1 / 1; background: var(--bg-soft); position: relative; }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs { display: flex; gap: 10px; margin-top: 10px; }
.gallery__thumbs button { width: 76px; height: 76px; border-radius: 6px; overflow: hidden; border: 2px solid var(--line); background: none; padding: 0; transition: border-color .2s; }
.gallery__thumbs button.is-on, .gallery__thumbs button:hover { border-color: var(--blue); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pinfo__brand { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); background: var(--bg-blue-soft); border-radius: 4px; padding: 4px 10px; margin-bottom: 10px; }
.pinfo h1 { font-size: clamp(20px, 2.4vw, 28px); color: var(--navy); text-transform: none; font-family: var(--font); font-weight: 800; letter-spacing: 0; margin-bottom: 12px; }
.pinfo__meta { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.pinfo__meta b { color: #1F9D55; }
.buybox { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin-bottom: 22px; }
.buybox__prices { display: flex; align-items: baseline; gap: 12px; margin-bottom: 4px; }
.buybox__price { font-size: 30px; font-weight: 800; color: var(--navy); }
.buybox__price.is-sale { color: var(--red); }
.buybox__old { font-size: 16px; color: var(--muted); text-decoration: line-through; }
.buybox__save { font-size: 13px; color: var(--navy); background: var(--yellow); border-radius: 4px; padding: 2px 8px; font-weight: 600; }
.buybox__row { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.buybox .qty { background: #fff; }
.buybox .qty button { width: 40px; height: 42px; }
.buybox .qty span { width: 42px; font-size: 15px; }
.buybox__fav { width: 44px; height: 44px; border-radius: 6px; border: 1.5px solid var(--line); background: #fff; color: #9AA8C0; display: flex; align-items: center; justify-content: center; transition: color .2s, border-color .2s; }
.buybox__fav svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 2; }
.buybox__fav.is-on { color: var(--red); border-color: var(--red); }
.buybox__fav.is-on svg { fill: currentColor; }
.pinfo h2 { font-size: 17px; color: var(--navy); margin: 20px 0 10px; }
.specs { width: 100%; border-collapse: collapse; font-size: 14px; }
.specs td { padding: 8px 0; border-bottom: 1px dashed var(--line); vertical-align: top; }
.specs td:first-child { color: var(--muted); width: 55%; padding-right: 14px; }
.specs td:last-child { font-weight: 600; }
.pinfo__desc { color: var(--text); }
@media (max-width: 860px) { .product { grid-template-columns: 1fr; gap: 22px; } }

/* ---------- checkout ---------- */
.checkout { display: grid; grid-template-columns: 1.15fr 1fr; gap: 30px; padding-block: 22px 30px; align-items: start; }
.co-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.co-box h2 { font-size: 19px; color: var(--navy); margin-bottom: 16px; }
.co-box + .co-box { margin-top: 18px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { font-size: 13px; font-weight: 600; color: var(--navy); }
.form-field input, .form-field textarea { border: 1px solid var(--line); border-radius: 6px; padding: 11px 13px; font-size: 14.5px; transition: border-color .2s; }
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(18, 70, 166, .12); }
.form-field input.is-err { border-color: var(--red); }
.radio-list { display: grid; gap: 10px; }
.radio-item { display: flex; gap: 12px; align-items: flex-start; border: 1.5px solid var(--line); border-radius: 6px; padding: 13px 15px; cursor: pointer; transition: border-color .2s, background .2s; }
.radio-item:has(input:checked) { border-color: var(--blue); background: var(--bg-blue-soft); }
.radio-item input { margin-top: 3px; accent-color: var(--blue); }
.radio-item b { display: block; font-size: 14.5px; }
.radio-item small { color: var(--muted); font-size: 12.5px; }
.radio-item .r-price { margin-left: auto; font-weight: 700; color: var(--navy); white-space: nowrap; font-variant-numeric: tabular-nums; }
.co-summary { position: sticky; top: 130px; }
.co-lines { border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.co-line { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; padding-block: 5px; }
.co-line span:first-child { color: var(--muted); }
.co-total { display: flex; justify-content: space-between; align-items: baseline; font-size: 16px; font-weight: 600; margin-bottom: 16px; }
.co-total b { font-size: 24px; color: var(--navy); }
.co-summary .btn { width: 100%; }
.co-agree { font-size: 12px; color: var(--muted); margin-top: 10px; }
.co-empty { text-align: center; padding-block: 70px; color: var(--muted); }
.co-empty b { display: block; font-size: 20px; color: var(--navy); margin-bottom: 8px; }
/* thanks */
.thanks { max-width: 560px; margin: 40px auto 20px; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 46px 30px; }
.thanks__icon { width: 74px; height: 74px; border-radius: 50%; background: var(--yellow); display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; font-size: 34px; }
.thanks h1 { font-size: 28px; color: var(--navy); margin-bottom: 10px; }
.thanks p { color: var(--muted); margin-bottom: 8px; }
.thanks .btn { margin-top: 18px; }
@media (max-width: 900px) { .checkout { grid-template-columns: 1fr; } .co-summary { position: static; } }

/* ---------- favorites ---------- */
.fav-empty { text-align: center; color: var(--muted); padding-block: 80px 90px; }
.fav-empty b { display: block; font-size: 20px; color: var(--navy); margin-bottom: 8px; }

@media (max-width: 560px) {
  html { overflow-x: hidden; }
  .banner__text { display: none; }
  .banner--main { min-height: 240px; }
  .card__name { font-size: 12.5px; }
  .card__price { font-size: 15px; }
  .card__buy { width: 36px; height: 36px; }
}
