/* ============================================================
   BORDO — трендовые сумки и аксессуары (демо-магазин)
   Палитра: белый / #F6F6F6 / акцент #991D5B
   Шрифты: Manrope (заголовки 700-800) + Inter
   ============================================================ */

:root {
  --accent: #991D5B;
  --accent-dark: #7C1449;
  --accent-soft: #F7EAF1;
  --ink: #1B1A1F;
  --muted: #6F6E77;
  --line: #E7E6EA;
  --bg: #FFFFFF;
  --bg2: #F6F6F6;
  --radius: 14px;
  --radius-s: 10px;
  --container: 1200px;
  --gutter: clamp(20px, 4vw, 36px);
  --section: clamp(58px, 8vw, 104px);
  --shadow: 0 14px 40px rgba(27, 26, 31, .10);
  --tr: .25s cubic-bezier(.4, 0, .2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

.price, .num { font-family: "Manrope", sans-serif; font-variant-numeric: lining-nums tabular-nums; }

/* ---------- кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-family: "Manrope", sans-serif; font-weight: 700; font-size: 15px;
  background: var(--accent); color: #fff;
  transition: background var(--tr), transform var(--tr), box-shadow var(--tr);
  white-space: nowrap;
}
.btn:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(153, 29, 91, .28); }
.btn:active { transform: translateY(0); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost:hover { background: var(--bg2); color: var(--ink); box-shadow: inset 0 0 0 1.5px #d8d7dc; }
.btn--light { background: #fff; color: var(--accent); }
.btn--light:hover { background: #fff; color: var(--accent-dark); box-shadow: 0 10px 24px rgba(0, 0, 0, .18); }
.btn--sm { padding: 11px 20px; font-size: 14px; }
.btn[disabled] { opacity: .5; pointer-events: none; }

/* ---------- шапка ---------- */
.header {
  position: sticky; top: 0; z-index: 90;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.header__in { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { font-family: "Manrope", sans-serif; font-weight: 800; font-size: 24px; letter-spacing: .02em; }
.logo span { color: var(--accent); }
.nav { display: flex; gap: 4px; margin-inline: auto; }
.nav a {
  padding: 9px 15px; border-radius: 999px;
  font-weight: 500; font-size: 15px; color: var(--muted);
  transition: color var(--tr), background var(--tr);
}
.nav a:hover { color: var(--ink); background: var(--bg2); }
.nav a.is-active { color: var(--accent); background: var(--accent-soft); font-weight: 600; }
.header__cart {
  position: relative; display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 18px; border-radius: 999px;
  background: var(--ink); color: #fff;
  font-family: "Manrope", sans-serif; font-weight: 700; font-size: 14px;
  transition: background var(--tr);
}
.header__cart:hover { background: var(--accent); }
.header__cart svg { width: 17px; height: 17px; }
.cart-count {
  min-width: 21px; height: 21px; padding-inline: 5px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; background: var(--accent); color: #fff;
  font-size: 12px; font-weight: 700;
  transition: background var(--tr);
}
.header__cart:hover .cart-count { background: #fff; color: var(--accent); }
.burger { display: none; width: 44px; height: 44px; border-radius: 10px; position: relative; }
.burger span, .burger::before, .burger::after {
  content: ""; position: absolute; left: 11px; width: 22px; height: 2px;
  background: var(--ink); border-radius: 2px; transition: transform var(--tr), opacity var(--tr), top var(--tr);
}
.burger::before { top: 15px; }
.burger span { top: 21px; }
.burger::after { top: 27px; }
.burger.is-open::before { top: 21px; transform: rotate(45deg); }
.burger.is-open span { opacity: 0; }
.burger.is-open::after { top: 21px; transform: rotate(-45deg); }

.mnav {
  display: none; position: fixed; inset: 68px 0 auto 0; z-index: 89;
  background: #fff; border-bottom: 1px solid var(--line);
  padding: 12px var(--gutter) 24px;
}
.mnav.is-open { display: block; }
.mnav a { display: block; padding: 13px 4px; font-family: "Manrope", sans-serif; font-weight: 700; font-size: 18px; border-bottom: 1px solid var(--line); }
.mnav a.is-active { color: var(--accent); }

/* ---------- секции ---------- */
.section { padding-block: var(--section); }
.section--grey { background: var(--bg2); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head h2 { font-size: clamp(26px, 3.4vw, 40px); }
.section-head .link-more { font-family: "Manrope", sans-serif; font-weight: 700; font-size: 15px; color: var(--accent); display: inline-flex; align-items: center; gap: 7px; transition: gap var(--tr); }
.section-head .link-more:hover { gap: 12px; }
.eyebrow {
  display: inline-block; margin-bottom: 14px;
  font-family: "Manrope", sans-serif; font-weight: 700; font-size: 12px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--accent);
}

/* ---------- reveal ---------- */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .08s; }
.rv-d2 { transition-delay: .16s; }
.rv-d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- hero ---------- */
.hero { padding-block: clamp(40px, 6vw, 84px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 46fr) minmax(0, 54fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero h1 { font-size: clamp(34px, 4.6vw, 60px); margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero__sub { font-size: clamp(16px, 1.6vw, 18px); color: var(--muted); max-width: 44ch; margin-bottom: 30px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 38px; }
.hero__facts { display: flex; gap: clamp(24px, 3.5vw, 48px); border-top: 1px solid var(--line); padding-top: 24px; }
.hero__facts b { display: block; font-family: "Manrope", sans-serif; font-weight: 800; font-size: clamp(20px, 2.2vw, 26px); font-variant-numeric: lining-nums tabular-nums; }
.hero__facts span { font-size: 13.5px; color: var(--muted); }
.hero__media { position: relative; }
.hero__media img { width: 100%; border-radius: var(--radius); aspect-ratio: 7 / 5.4; object-fit: cover; }
.hero__tag {
  position: absolute; left: 18px; bottom: 18px;
  display: inline-flex; align-items: center; gap: 9px;
  background: #fff; border-radius: 999px; padding: 11px 20px;
  font-family: "Manrope", sans-serif; font-weight: 700; font-size: 14px;
  box-shadow: var(--shadow);
}
.hero__tag i { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }

/* ---------- тренды сезона ---------- */
.trends { background: var(--bg2); padding-block: clamp(26px, 3.4vw, 40px); }
.trends__in { display: flex; align-items: center; gap: clamp(14px, 2.5vw, 28px); flex-wrap: wrap; }
.trends__label { font-family: "Manrope", sans-serif; font-weight: 800; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; }
.trends__chips { display: flex; gap: 10px; flex-wrap: wrap; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px; border-radius: 999px;
  background: #fff; box-shadow: inset 0 0 0 1.5px var(--line);
  font-family: "Manrope", sans-serif; font-weight: 700; font-size: 14.5px;
  transition: box-shadow var(--tr), color var(--tr), background var(--tr), transform var(--tr);
}
.chip:hover { box-shadow: inset 0 0 0 1.5px var(--accent); color: var(--accent); transform: translateY(-1px); }
.chip--accent { background: var(--accent); color: #fff; box-shadow: none; }
.chip--accent:hover { background: var(--accent-dark); color: #fff; box-shadow: none; }

/* ---------- карточка товара ---------- */
.pgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.card { position: relative; display: flex; flex-direction: column; }
.card__media {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background: var(--bg2); aspect-ratio: 3 / 4; margin-bottom: 14px;
}
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s cubic-bezier(.3, 0, .2, 1); }
.card:hover .card__media img { transform: scale(1.05); }
.badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  padding: 6px 13px; border-radius: 999px;
  background: var(--accent); color: #fff;
  font-family: "Manrope", sans-serif; font-weight: 700; font-size: 12px; letter-spacing: .04em;
}
.badge--sale { background: var(--ink); }
.card__quick {
  position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2;
  padding: 12px; border-radius: 10px;
  background: #fff; color: var(--ink);
  font-family: "Manrope", sans-serif; font-weight: 700; font-size: 14px;
  text-align: center; box-shadow: var(--shadow);
  opacity: 0; transform: translateY(10px);
  transition: opacity var(--tr), transform var(--tr), background var(--tr), color var(--tr);
}
.card__quick:hover { background: var(--accent); color: #fff; }
.card:hover .card__quick { opacity: 1; transform: none; }
.card__cat { font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 5px; }
.card__name { font-family: "Manrope", sans-serif; font-weight: 700; font-size: 16.5px; margin-bottom: 7px; }
.card a.card__link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: var(--radius); }
.card__price { display: flex; align-items: baseline; gap: 9px; margin-top: auto; }
.card__price .price { font-weight: 800; font-size: 17px; }
.card__price .old { font-size: 14px; color: var(--muted); text-decoration: line-through; }

/* ---------- editorial ---------- */
.edit__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); align-items: center; }
.edit__ph1 { grid-column: span 4; }
.edit__ph2 { grid-column: span 4; margin-top: clamp(28px, 4vw, 56px); }
.edit__txt { grid-column: span 4; padding-left: clamp(0px, 1.5vw, 18px); }
.edit__grid img { border-radius: var(--radius); width: 100%; object-fit: cover; aspect-ratio: 4 / 5; }
.edit__txt h2 { font-size: clamp(24px, 2.8vw, 34px); margin-bottom: 16px; }
.edit__txt p { color: var(--muted); margin-bottom: 14px; }
.edit__txt .btn { margin-top: 12px; }

/* ---------- преимущества ---------- */
.perks { background: var(--accent); color: #fff; }
.perks__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); }
.perk svg { width: 30px; height: 30px; margin-bottom: 14px; }
.perk h3 { font-size: 17px; font-weight: 800; margin-bottom: 7px; }
.perk p { font-size: 14px; color: rgba(255, 255, 255, .78); }

/* ---------- insta ---------- */
.insta__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.6vw, 18px); }
.insta__item { position: relative; overflow: hidden; border-radius: var(--radius-s); aspect-ratio: 1; }
.insta__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s cubic-bezier(.3, 0, .2, 1); }
.insta__item:hover img { transform: scale(1.06); }
.insta__item::after {
  content: "@bordo.bags"; position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(153, 29, 91, .58); color: #fff;
  font-family: "Manrope", sans-serif; font-weight: 700; font-size: 15px;
  opacity: 0; transition: opacity var(--tr);
}
.insta__item:hover::after { opacity: 1; }

/* ---------- футер ---------- */
.footer { background: #221E23; color: #B9B5BD; font-size: 14.5px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: clamp(24px, 4vw, 48px); padding-block: clamp(44px, 6vw, 68px); }
.footer .logo { color: #fff; margin-bottom: 14px; display: inline-block; }
.footer h4 { color: #fff; font-size: 14px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
.footer a { transition: color var(--tr); }
.footer a:hover { color: #fff; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 10px; }
.footer__note { max-width: 34ch; }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-block: 22px; font-size: 13px; color: #8D8993;
}
.footer__bottom a { color: #D9A8C3; text-decoration: underline; text-underline-offset: 3px; }
.footer__bottom a:hover { color: #fff; }

/* ---------- страницы: общее ---------- */
.page-head { padding-block: clamp(30px, 4.5vw, 56px) 0; }
.page-head h1 { font-size: clamp(28px, 3.8vw, 44px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 7px; font-size: 13.5px; color: var(--muted); margin-bottom: 16px; }
.crumbs a:hover { color: var(--accent); }
.crumbs .sep { color: #C9C7CE; }

/* ---------- каталог ---------- */
.cat-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(24px, 3.5vw, 44px); align-items: start; }
.filters { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 26px; }
.filters__group h3 { font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 13px; }
.fcheck { display: flex; align-items: center; gap: 10px; padding-block: 5px; cursor: pointer; font-size: 15px; color: var(--muted); transition: color var(--tr); }
.fcheck:hover { color: var(--ink); }
.fcheck input { accent-color: var(--accent); width: 17px; height: 17px; cursor: pointer; }
.fcheck .n { margin-left: auto; font-size: 12.5px; color: #B4B2BA; font-variant-numeric: tabular-nums; }
.fprice { display: flex; align-items: center; gap: 8px; }
.fprice input {
  width: 100%; min-width: 0; padding: 10px 12px;
  border: 1.5px solid var(--line); border-radius: var(--radius-s);
  font-size: 14.5px; font-variant-numeric: tabular-nums; background: #fff;
  transition: border-color var(--tr);
}
.fprice input:focus { outline: none; border-color: var(--accent); }
.filters .btn { width: 100%; }
.filters__reset { font-size: 13.5px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; align-self: flex-start; }
.filters__reset:hover { color: var(--accent); }
.cat-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.cat-top .found { font-size: 14.5px; color: var(--muted); }
.cat-top select {
  padding: 11px 38px 11px 16px; border: 1.5px solid var(--line); border-radius: 999px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' stroke='%231B1A1F' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 16px center;
  font-family: "Manrope", sans-serif; font-weight: 600; font-size: 14px;
  appearance: none; cursor: pointer; transition: border-color var(--tr);
}
.cat-top select:focus { outline: none; border-color: var(--accent); }
.cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cat-empty { padding: 60px 20px; text-align: center; color: var(--muted); }
.filters-toggle { display: none; }

/* ---------- товар ---------- */
.product { display: grid; grid-template-columns: minmax(0, 55fr) minmax(0, 45fr); gap: clamp(28px, 4.5vw, 60px); align-items: start; }
.gallery__main { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--bg2); margin-bottom: 12px; }
.gallery__main img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; }
.gallery__thumbs { display: flex; gap: 10px; }
.gallery__thumbs button {
  width: 84px; border-radius: var(--radius-s); overflow: hidden;
  border: 2px solid transparent; padding: 0; background: var(--bg2);
  transition: border-color var(--tr); flex: 0 0 auto;
}
.gallery__thumbs button.is-active { border-color: var(--accent); }
.gallery__thumbs img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.pinfo .card__cat { margin-bottom: 8px; }
.pinfo h1 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 14px; }
.pinfo__price { display: flex; align-items: baseline; gap: 13px; margin-bottom: 20px; }
.pinfo__price .price { font-size: clamp(24px, 2.6vw, 30px); font-weight: 800; }
.pinfo__price .old { font-size: 18px; color: var(--muted); text-decoration: line-through; }
.pinfo__desc { color: var(--muted); margin-bottom: 24px; }
.pinfo__buy { display: flex; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; }
.qty button { width: 46px; height: 52px; font-size: 19px; color: var(--muted); transition: color var(--tr); }
.qty button:hover { color: var(--accent); }
.qty .num { min-width: 34px; text-align: center; font-weight: 700; font-size: 16px; }
.pinfo__note { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13.5px; color: var(--muted); margin-bottom: 28px; }
.pinfo__note span { display: inline-flex; align-items: center; gap: 7px; }
.pinfo__note svg { width: 15px; height: 15px; color: var(--accent); flex: 0 0 auto; }
.specs { border-top: 1px solid var(--line); }
.specs h3 { font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding-block: 18px 4px; }
.specs dl { display: grid; grid-template-columns: 1fr 1fr; }
.specs dt, .specs dd { padding-block: 10px; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.specs dt { color: var(--muted); }
.specs dd { text-align: right; font-weight: 500; }

/* ---------- корзина ---------- */
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(24px, 4vw, 48px); align-items: start; }
.cart-list { display: flex; flex-direction: column; }
.cart-row {
  display: grid; grid-template-columns: 96px minmax(0, 1fr) auto auto auto;
  gap: clamp(12px, 2vw, 22px); align-items: center;
  padding-block: 20px; border-bottom: 1px solid var(--line);
}
.cart-row img { width: 96px; height: 110px; object-fit: cover; border-radius: var(--radius-s); background: var(--bg2); }
.cart-row__name { font-family: "Manrope", sans-serif; font-weight: 700; font-size: 16px; }
.cart-row__name:hover { color: var(--accent); }
.cart-row__cat { font-size: 12.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .07em; margin-top: 4px; }
.cart-row .qty button { height: 44px; width: 40px; }
.cart-row__sum { font-weight: 800; font-size: 16.5px; min-width: 92px; text-align: right; }
.cart-row__del { color: #B4B2BA; width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; transition: color var(--tr), background var(--tr); }
.cart-row__del:hover { color: var(--accent); background: var(--accent-soft); }
.cart-row__del svg { width: 17px; height: 17px; }
.summary {
  position: sticky; top: 88px;
  background: var(--bg2); border-radius: var(--radius);
  padding: clamp(22px, 3vw, 30px);
}
.summary h3 { font-size: 19px; margin-bottom: 18px; }
.summary__row { display: flex; justify-content: space-between; gap: 14px; padding-block: 7px; font-size: 15px; color: var(--muted); }
.summary__row b { color: var(--ink); font-weight: 600; }
.summary__row--disc { color: var(--accent); }
.summary__row--disc b { color: var(--accent); }
.summary__total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid #DDDCE1; margin-top: 12px; padding-top: 16px; margin-bottom: 18px; }
.summary__total .price { font-size: 24px; font-weight: 800; }
.summary .btn { width: 100%; }
.promo { display: flex; gap: 8px; margin-block: 16px; }
.promo input {
  flex: 1; min-width: 0; padding: 12px 15px;
  border: 1.5px solid var(--line); border-radius: var(--radius-s);
  background: #fff; font-size: 14.5px; text-transform: uppercase; letter-spacing: .05em;
  transition: border-color var(--tr);
}
.promo input:focus { outline: none; border-color: var(--accent); }
.promo .btn { width: auto; }
.promo-msg { font-size: 13px; margin-top: -8px; margin-bottom: 12px; }
.promo-msg.ok { color: #1D7A46; }
.promo-msg.err { color: #C13537; }
.cart-empty { text-align: center; padding-block: clamp(50px, 8vw, 90px); }
.cart-empty svg { width: 56px; height: 56px; color: #D5D3DA; margin-inline: auto; margin-bottom: 18px; }
.cart-empty h2 { font-size: 24px; margin-bottom: 10px; }
.cart-empty p { color: var(--muted); margin-bottom: 24px; }

/* ---------- checkout ---------- */
.co-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(24px, 4vw, 48px); align-items: start; }
.co-block { border: 1.5px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 28px); margin-bottom: 18px; background: #fff; }
.co-block > h3 { display: flex; align-items: center; gap: 12px; font-size: 18px; margin-bottom: 18px; }
.co-block > h3 .step {
  width: 28px; height: 28px; flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--accent); color: #fff;
  font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums;
}
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.frow--1 { grid-template-columns: 1fr; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 7px; color: var(--muted); }
.field input {
  width: 100%; padding: 13px 15px;
  border: 1.5px solid var(--line); border-radius: var(--radius-s);
  font-size: 15px; background: #fff;
  transition: border-color var(--tr);
}
.field input:focus { outline: none; border-color: var(--accent); }
.field input.err { border-color: #C13537; }
.radio {
  display: flex; align-items: flex-start; gap: 12px;
  border: 1.5px solid var(--line); border-radius: var(--radius-s);
  padding: 15px 16px; margin-bottom: 10px; cursor: pointer;
  transition: border-color var(--tr), background var(--tr);
}
.radio:hover { border-color: #CFCDD4; }
.radio.is-active { border-color: var(--accent); background: var(--accent-soft); }
.radio input { accent-color: var(--accent); width: 18px; height: 18px; margin-top: 2px; cursor: pointer; flex: 0 0 auto; }
.radio b { font-weight: 600; font-size: 15px; display: block; }
.radio span { font-size: 13px; color: var(--muted); }
.radio .rprice { margin-left: auto; font-weight: 700; font-size: 14.5px; white-space: nowrap; }
.cardmock {
  margin-top: 14px; padding: 20px;
  border-radius: var(--radius-s);
  background: linear-gradient(120deg, #2A2530, #4A2038 55%, var(--accent));
  color: #fff;
}
.cardmock .field label { color: rgba(255, 255, 255, .65); }
.cardmock .field input {
  background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .22); color: #fff;
  font-variant-numeric: tabular-nums; letter-spacing: .06em;
}
.cardmock .field input::placeholder { color: rgba(255, 255, 255, .4); }
.cardmock .field input:focus { border-color: rgba(255, 255, 255, .65); }
.cardmock__note { font-size: 12px; color: rgba(255, 255, 255, .6); margin-top: 4px; }
.co-items { display: flex; flex-direction: column; gap: 14px; margin-bottom: 16px; }
.co-item { display: flex; align-items: center; gap: 13px; font-size: 14.5px; }
.co-item img { width: 52px; height: 60px; border-radius: 8px; object-fit: cover; background: var(--bg2); }
.co-item .nm { font-weight: 600; }
.co-item .q { color: var(--muted); font-size: 13px; }
.co-item .price { margin-left: auto; font-weight: 700; white-space: nowrap; }

/* ---------- success ---------- */
.success { max-width: 660px; margin-inline: auto; text-align: center; padding-block: clamp(40px, 7vw, 80px); }
.success__icon {
  width: 84px; height: 84px; margin-inline: auto; margin-bottom: 26px;
  border-radius: 50%; background: var(--accent-soft); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
}
.success__icon svg { width: 38px; height: 38px; }
.success h1 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 12px; }
.success h1 .num { color: var(--accent); white-space: nowrap; }
.success > p { color: var(--muted); max-width: 46ch; margin-inline: auto; margin-bottom: 34px; }
.success__steps { text-align: left; display: flex; flex-direction: column; gap: 0; margin-bottom: 36px; }
.sstep { display: flex; gap: 16px; }
.sstep__badge {
  width: 34px; height: 34px; flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--accent); color: #fff;
  font-family: "Manrope", sans-serif; font-weight: 700; font-size: 15px;
}
.sstep__line { display: flex; flex-direction: column; align-items: center; }
.sstep__line::after { content: ""; width: 2px; flex: 1; background: var(--line); margin-block: 6px; min-height: 22px; }
.sstep:last-child .sstep__line::after { display: none; }
.sstep__body { padding-bottom: 22px; }
.sstep b { font-family: "Manrope", sans-serif; font-weight: 700; display: block; margin-bottom: 3px; }
.sstep span { font-size: 14px; color: var(--muted); }
.success__demo { font-size: 13px; color: var(--muted); background: var(--bg2); border-radius: var(--radius-s); padding: 14px 18px; margin-bottom: 28px; }

/* ---------- toast ---------- */
.toast {
  position: fixed; right: 20px; bottom: 20px; z-index: 200;
  display: flex; align-items: center; gap: 12px;
  background: var(--ink); color: #fff;
  padding: 15px 20px; border-radius: 12px; box-shadow: var(--shadow);
  font-size: 14.5px; max-width: min(90vw, 360px);
  opacity: 0; transform: translateY(14px); pointer-events: none;
  transition: opacity var(--tr), transform var(--tr);
}
.toast.show { opacity: 1; transform: none; pointer-events: auto; }
.toast svg { width: 19px; height: 19px; color: #6FCF97; flex: 0 0 auto; }
.toast a { color: #E9A9CB; text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================
   Адаптив
   ============================================================ */
@media (max-width: 1024px) {
  .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .edit__grid { align-items: start; }
  .edit__txt { grid-column: span 12; order: -1; padding-left: 0; margin-bottom: 8px; }
  .edit__ph1, .edit__ph2 { grid-column: span 6; }
  .edit__ph2 { margin-top: 0; }
  .cat-layout { grid-template-columns: 1fr; }
  .filters {
    position: static; display: none;
    background: var(--bg2); border-radius: var(--radius); padding: 22px; margin-bottom: 8px;
  }
  .filters.is-open { display: flex; }
  .filters-toggle { display: inline-flex; }
  .cart-layout, .co-layout { grid-template-columns: 1fr; }
  .summary { position: static; }
}

@media (max-width: 860px) {
  .nav { display: none; }
  .burger { display: block; margin-left: auto; }
  .header__cart { margin-left: 0; }
  .header__in { gap: 14px; }
  .header__cart .cart-label { display: none; }
  .header__cart { padding: 10px 14px; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { order: -1; }
  .hero__media img { aspect-ratio: 16 / 10; }
  .product { grid-template-columns: 1fr; }
  .perks__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .insta__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  html { overflow-x: hidden; }
  .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card__name { font-size: 14.5px; }
  .card__price .price { font-size: 15px; }
  .card__quick { display: none; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .cart-row { grid-template-columns: 76px minmax(0, 1fr) auto; grid-template-areas: "img nm del" "img qty sum"; row-gap: 12px; }
  .cart-row > a:first-child { grid-area: img; }
  .cart-row img { width: 76px; height: 88px; }
  .cart-row > .cart-row__info { grid-area: nm; }
  .cart-row .qty { grid-area: qty; justify-self: start; }
  .cart-row__sum { grid-area: sum; }
  .cart-row__del { grid-area: del; justify-self: end; }
  .frow { grid-template-columns: 1fr; }
  .hero__facts { flex-wrap: wrap; gap: 18px 28px; }
  .cat-top { flex-wrap: wrap; }
  .gallery__main img { aspect-ratio: 4 / 4.2; }
}
