/* =========================================================
   Solution Up — e-commerce · palette from solup.az
   ========================================================= */
:root {
  --red: #e0172f;
  --red-d: #c01027;
  --wine: #2a0a10;
  --deep: #1b070b;
  --pink: #fbe8eb;
  --cream: #fbf7f6;
  --ink: #2a0a10;
  --muted: #7a6368;
  --line: #eadcdc;
  --line-d: rgba(255, 255, 255, .12);
  --green: #1fae5b;
  --wrap: 1320px;
  --r: 6px;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 140px; }
body { font: 15px/1.55 "Manrope", system-ui, sans-serif; color: var(--ink); background: var(--cream); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
ol, ul { list-style: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
h1, h2, h3 { letter-spacing: -.035em; line-height: 1.05; font-weight: 800; }
.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.mono { font-family: var(--mono); font-size: 11.5px; letter-spacing: .04em; text-transform: uppercase; }
.muted { color: var(--muted); }
.small { font-size: 12px; text-align: center; }
.red { color: var(--red); }
.ico { width: 20px; height: 20px; flex: none; }
.link { background: none; border: 0; color: var(--red); font-weight: 600; font-size: 13px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 24px; border-radius: var(--r); font-weight: 700; font-size: 15px; border: 1.5px solid transparent; transition: .2s; white-space: nowrap; }
.btn--sm { height: 42px; padding: 0 16px; font-size: 14px; }
.btn--block { width: 100%; }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-d); }
.btn--dark { background: var(--wine); color: #fff; }
.btn--dark:hover { background: var(--red); }
.btn--line { border-color: var(--line); background: #fff; }
.btn--line:hover { border-color: var(--wine); }
.btn--line-light { border-color: rgba(255,255,255,.35); color: #fff; }
.btn--line-light:hover { border-color: #fff; }
.btn--white { background: #fff; color: var(--red); }
.btn--white:hover { background: var(--wine); color: #fff; }

/* ---------- topbar ---------- */
.topbar { background: var(--deep); color: rgba(255,255,255,.7); font-size: 13px; }
.topbar__in { display: flex; justify-content: space-between; align-items: center; height: 36px; gap: 20px; }
.topbar .mono { font-size: 10.5px; display: flex; align-items: center; gap: 8px; }
.topbar__links { display: flex; align-items: center; gap: 22px; }
.topbar a:hover { color: #fff; }
.lang b { color: #fff; }
.live { width: 7px; height: 7px; border-radius: 50%; background: #2bd46b; box-shadow: 0 0 0 3px rgba(43,212,107,.2); }

/* ---------- header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: var(--wine); color: #fff; }
.header__in { display: flex; align-items: center; gap: 18px; height: 76px; }
.logo { display: flex; align-items: center; gap: 10px; flex: none; }
.logo__mark { width: 38px; height: 38px; }
.logo__txt { display: flex; flex-direction: column; line-height: 1; }
.logo__txt b { font-weight: 800; font-size: 16px; letter-spacing: .02em; }
.logo__txt small { font-family: var(--mono); font-size: 8.5px; letter-spacing: .38em; color: var(--red); margin-top: 4px; }
.catalog-btn { height: 48px; margin-left: 18px; }
.search { flex: 1; display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 14px; background: #fff; color: var(--ink); border-radius: var(--r); border: 2px solid transparent; transition: .2s; }
.search:focus-within { border-color: var(--red); }
.search .ico { color: var(--muted); }
.search input { flex: 1; border: 0; outline: 0; background: none; min-width: 0; }
.search kbd { font-size: 11px; padding: 2px 7px; border: 1px solid var(--line); border-radius: 4px; color: var(--muted); }
.hicons { display: flex; gap: 6px; }
.hicon { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 70px; padding: 6px 10px; border: 0; border-radius: var(--r); background: none; color: #fff; transition: .2s; }
.hicon:hover { background: rgba(255,255,255,.08); }
.hicon small { font-size: 11.5px; color: rgba(255,255,255,.7); font-weight: 600; }
.hicon__n { position: absolute; top: 2px; left: calc(50% + 4px); min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--red); font-size: 11px; font-weight: 800; display: grid; place-items: center; transition: transform .25s; }
.hicon.bump .hicon__n { transform: scale(1.4); }
.hicon--cart small { color: #fff; }

.cats { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding-bottom: 10px; }
.cats::-webkit-scrollbar { display: none; }
.cats a { flex: none; height: 34px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--line-d); background: none; color: rgba(255,255,255,.8); font-size: 13px; font-weight: 600; transition: .2s; }
.cats a:hover { color: #fff; border-color: rgba(255,255,255,.35); }
.cats a.on { background: #fff; color: var(--wine); border-color: #fff; }
.cats a i { font-style: normal; opacity: .5; margin-left: 4px; font-size: 11px; }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: 1fr 360px; gap: 16px; margin-top: 20px; }
.vf { position: relative; background: var(--wine); color: #fff; padding: 72px 56px 56px; border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; justify-content: center; min-height: 480px;
  background-image: radial-gradient(70% 90% at 90% 20%, rgba(224,23,47,.4), transparent 60%),
    linear-gradient(90deg, transparent calc(33.33% - .5px), rgba(255,255,255,.06) 0 calc(33.33% + .5px), transparent 0 calc(66.66% - .5px), rgba(255,255,255,.06) 0 calc(66.66% + .5px), transparent 0),
    linear-gradient(transparent calc(50% - .5px), rgba(255,255,255,.06) 0 calc(50% + .5px), transparent 0); }
.vf__c { position: absolute; width: 34px; height: 34px; border: 3px solid #fff; }
.vf__c--tl { top: 18px; left: 18px; border-right: 0; border-bottom: 0; }
.vf__c--tr { top: 18px; right: 18px; border-left: 0; border-bottom: 0; }
.vf__c--bl { bottom: 18px; left: 18px; border-right: 0; border-top: 0; }
.vf__c--br { bottom: 18px; right: 18px; border-left: 0; border-top: 0; }
.vf__hud { position: absolute; top: 28px; left: 66px; right: 66px; display: flex; justify-content: space-between; color: rgba(255,255,255,.75); }
.vf__hud span:first-child { display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 700; }
.rec { width: 9px; height: 9px; border-radius: 50%; background: var(--red); animation: blink 1.2s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.kicker { color: var(--red); margin-bottom: 18px; }
.hero h1 { font-size: clamp(40px, 5.6vw, 84px); max-width: 12ch; }
.caret { color: var(--red); animation: blink 1s steps(2) infinite; }
.hero__lead { max-width: 46ch; color: rgba(255,255,255,.72); font-size: 17px; margin: 22px 0 30px; }
.hero__cta { display: flex; gap: 10px; flex-wrap: wrap; }

.deal { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 20px; display: flex; flex-direction: column; }
.deal__head { display: flex; justify-content: space-between; align-items: center; }
.deal__head > .mono { color: var(--red); font-weight: 700; }
.deal__timer { display: flex; gap: 2px; font-size: 13px; color: var(--muted); }
.deal__timer b { background: var(--wine); color: #fff; padding: 3px 5px; border-radius: 4px; min-width: 26px; text-align: center; }
.deal__img { position: relative; flex: 1; min-height: 180px; margin: 16px 0; background: var(--cream); border-radius: var(--r); display: grid; place-items: center; }
.deal__img svg { width: 82%; height: 160px; }
.deal__brand { color: var(--muted); }
.deal h3 { font-size: 19px; letter-spacing: -.02em; margin: 4px 0 10px; }
.deal__price { display: flex; align-items: baseline; gap: 10px; margin-bottom: 14px; }
.deal__price b { font-size: 28px; color: var(--red); letter-spacing: -.03em; }
.deal__price s { color: var(--muted); }

.badge-off { background: var(--red); color: #fff; font: 700 12px/1 var(--mono); padding: 5px 7px; border-radius: 4px; }
.badge-off:empty { display: none; }

.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 16px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.perks > a { display: flex; align-items: center; gap: 14px; padding: 18px 20px; background: #fff; }
.perks .ico { width: 42px; height: 42px; padding: 10px; border-radius: 50%; background: var(--pink); color: var(--red); }
.perks b { display: block; font-size: 14px; }
.perks small { color: var(--muted); font-size: 12.5px; }

/* ---------- sections ---------- */
.sec { padding: 96px 0; }
.sec.wrap { padding-inline: 0; }
.sec--white { background: #fff; border-block: 1px solid var(--line); }
.head { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 60px; align-items: end; margin-bottom: 40px; }
.head .tag { grid-column: 1 / -1; }
.head h2 { font-size: clamp(32px, 4.2vw, 56px); }
.head__p { color: var(--muted); max-width: 46ch; justify-self: end; font-size: 16px; }
.head--row { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 20px; }
.head--row .tag { margin-bottom: 10px; }
.head--light .head__p { color: rgba(255,255,255,.6); }
.tag { color: var(--red); font-weight: 700; }
.tag--light { color: #fff; opacity: .85; }

.sec--tight { padding: 72px 0 0; }
.sec--pink { background: var(--pink); padding: 72px 0; margin-top: 72px; }
.more { color: var(--red); font-weight: 700; }
.more:hover { text-decoration: underline; }

/* ---------- category tiles ---------- */
.cat-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.cat-tile { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px; height: 128px; padding: 0 8px 0 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); text-align: left; overflow: hidden; transition: .25s; }
.cat-tile:hover { border-color: var(--wine); transform: translateY(-2px); }
.cat-tile b { display: block; font-size: 17px; letter-spacing: -.02em; line-height: 1.2; }
.cat-tile small { color: var(--muted); font: 500 11px var(--mono); }
.cat-tile svg { width: 130px; height: 100px; flex: none; transition: transform .35s; }
.cat-tile:hover svg { transform: scale(1.08) rotate(-3deg); }
.cat-tile--dark { background: var(--wine); color: #fff; border-color: var(--wine); }
.cat-tile--dark small { color: rgba(255,255,255,.6); }

/* ---------- rail (discounts) ---------- */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 4 * 14px) / 5); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.rail::-webkit-scrollbar { display: none; }
.rail .card { scroll-snap-align: start; }
.rail-nav { display: flex; gap: 6px; }
.rail-nav button { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--wine); background: none; font-size: 18px; transition: .2s; }
.rail-nav button:hover { background: var(--wine); color: #fff; }

/* ---------- floating WhatsApp ---------- */
.wa { position: fixed; right: 20px; bottom: 20px; z-index: 70; display: flex; align-items: center; gap: 10px; height: 54px; padding: 0 18px 0 14px; border-radius: 99px; background: var(--green); color: #fff; font-weight: 700; box-shadow: 0 12px 30px -8px rgba(31,174,91,.6); transition: .25s; }
.wa svg { width: 26px; height: 26px; }
.wa:hover { transform: translateY(-3px); }

/* ---------- kits ---------- */
.kits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.kit { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px; display: flex; flex-direction: column; transition: .25s; }
.kit:hover { border-color: var(--wine); }
.kit--hot { background: var(--wine); color: #fff; border-color: var(--wine); }
.kit__badge { position: absolute; top: 0; right: 0; background: var(--red); color: #fff; padding: 6px 12px; border-radius: 0 var(--r) 0 var(--r); }
.kit__img { height: 150px; display: grid; place-items: center; margin-bottom: 12px; }
.kit__img svg { width: 230px; height: 150px; }
.kit h3 { font-size: 24px; letter-spacing: -.025em; }
.kit__sub { color: var(--muted); font-size: 14px; margin: 4px 0 4px; }
.kit--hot .kit__sub { color: rgba(255,255,255,.6); }
.kit__cams { color: var(--red); font-weight: 700; margin-bottom: 14px; }
.kit--hot .kit__cams { color: #ff6b80; }
.kit ul { display: grid; gap: 7px; margin-bottom: 22px; flex: 1; }
.kit li { position: relative; padding-left: 22px; font-size: 14px; }
.kit li::before { content: ""; position: absolute; left: 0; top: 10px; width: 12px; height: 2px; background: var(--red); }
.kit__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.kit--hot .kit__foot { border-color: var(--line-d); }
.kit__price small { display: block; font-size: 12px; color: var(--muted); }
.kit--hot .kit__price small { color: rgba(255,255,255,.55); }
.kit__price b { font-size: 26px; letter-spacing: -.03em; }
.kit--hot .btn--dark { background: var(--red); }
.kit--hot .btn--dark:hover { background: #fff; color: var(--red); }

/* ---------- catalog ---------- */
.toolbar { display: flex; align-items: center; gap: 16px; }
.toolbar select { height: 42px; padding: 0 36px 0 14px; border: 1px solid var(--line); border-radius: var(--r); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m7 10 5 5 5-5' fill='none' stroke='%232a0a10' stroke-width='2'/%3E%3C/svg%3E") right 10px center / 16px no-repeat; appearance: none; font-weight: 600; font-size: 14px; }
.filters-toggle { display: none; }
.shop { display: grid; grid-template-columns: 260px 1fr; gap: 28px; align-items: start; }
.filters { position: sticky; top: 140px; display: flex; flex-direction: column; gap: 4px; }
.filters__head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 12px; border-bottom: 2px solid var(--wine); }
.filters fieldset { border: 0; padding: 16px 0; border-bottom: 1px solid var(--line); }
.filters legend { color: var(--muted); margin-bottom: 10px; }
.check { display: flex; align-items: center; gap: 10px; padding: 5px 0; cursor: pointer; font-size: 14px; }
.check input { appearance: none; width: 18px; height: 18px; border: 1.5px solid #cdbdc0; border-radius: 4px; display: grid; place-items: center; transition: .15s; flex: none; }
.check input:checked { background: var(--red); border-color: var(--red); }
.check input:checked::after { content: "✓"; color: #fff; font-size: 12px; font-weight: 800; }
.check em { margin-left: auto; font-style: normal; font-size: 12px; color: var(--muted); }
.range { display: flex; align-items: center; gap: 8px; }
.range input { width: 100%; height: 40px; padding: 0 10px; border: 1px solid var(--line); border-radius: var(--r); background: var(--cream); outline: none; }
.range input:focus { border-color: var(--red); }
.filters__help { margin-top: 16px; padding: 18px; background: var(--pink); border-radius: var(--r); display: grid; gap: 6px; font-size: 14px; }
.filters__help .btn { margin-top: 8px; }

.active-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.active-chips:empty { display: none; }
.active-chips button { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; border: 0; border-radius: 99px; background: var(--wine); color: #fff; font-size: 12.5px; font-weight: 600; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 12px; transition: .2s; animation: pop .35s both; }
@keyframes pop { from { opacity: 0; transform: translateY(8px); } }
.card:hover { border-color: var(--wine); box-shadow: 0 14px 30px -18px rgba(42,10,16,.45); }
.card__img { position: relative; height: 170px; border-radius: 4px; background: var(--cream); display: grid; place-items: center; cursor: zoom-in; overflow: hidden; }
.card__img svg { width: 88%; height: 150px; transition: transform .4s; }
.card:hover .card__img svg { transform: scale(1.06); }
.card__fav { position: absolute; top: 8px; right: 8px; z-index: 1; width: 34px; height: 34px; border-radius: 50%; border: 0; background: #fff; display: grid; place-items: center; color: var(--muted); box-shadow: 0 2px 8px rgba(0,0,0,.08); transition: .2s; }
.card__fav:hover, .card__fav.on { color: var(--red); }
.card__fav .ico { width: 18px; height: 18px; }
.card__quick { position: absolute; left: 20px; right: 20px; top: 142px; height: 32px; border: 0; border-radius: 4px; background: rgba(42,10,16,.9); color: #fff; font-size: 12px; font-weight: 600; opacity: 0; transform: translateY(6px); transition: .2s; }
.card:hover .card__quick { opacity: 1; transform: none; }
.card__quick:hover { background: var(--red); }
.card__brand { margin-top: 12px; color: var(--muted); font-size: 10.5px; }
.card__name { font-size: 14.5px; font-weight: 700; line-height: 1.35; margin: 4px 0 8px; min-height: 2.7em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; cursor: pointer; }
.card__name:hover { color: var(--red); }
.specs { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 10px; }
.specs span { font: 600 10.5px/1 var(--mono); padding: 4px 6px; border-radius: 3px; background: var(--cream); color: var(--muted); }
.stock { font-size: 12px; font-weight: 600; color: var(--green); display: flex; align-items: center; gap: 6px; margin-bottom: 10px; }
.stock::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.stock.out { color: #b08a91; }
.card__foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; }
.price { display: flex; flex-direction: column; line-height: 1.1; }
.price s { font-size: 12.5px; color: var(--muted); }
.price b { font-size: 21px; letter-spacing: -.03em; }
.price.sale b { color: var(--red); }
.add { width: 44px; height: 44px; flex: none; border-radius: var(--r); border: 0; background: var(--wine); color: #fff; display: grid; place-items: center; transition: .2s; }
.add:hover { background: var(--red); }
.add:disabled { background: var(--line); cursor: not-allowed; }
.qty { display: flex; align-items: center; height: 44px; border-radius: var(--r); background: var(--red); color: #fff; overflow: hidden; }
.qty button { width: 32px; height: 100%; border: 0; background: none; color: #fff; font-size: 18px; font-weight: 700; }
.qty button:hover { background: rgba(0,0,0,.12); }
.qty span { min-width: 22px; text-align: center; font-weight: 800; }
.empty { text-align: center; padding: 60px 20px; border: 1px dashed var(--line); border-radius: var(--r); }

/* ---------- brands ---------- */
.brands { border-bottom: 1px solid var(--line); background: var(--cream); }
.brands__in { display: grid; grid-template-columns: 1fr 2fr; }
.brands__txt { padding: 64px 48px 64px 0; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.brands__txt h2 { font-size: 34px; }
.brands__wall { display: grid; grid-template-columns: repeat(4, 1fr); }
.brands__wall li { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.brands__wall li:nth-child(4n) { border-right: 0; }
.brands__wall li:nth-last-child(-n+4) { border-bottom: 0; }
.brands__wall a { width: 100%; height: 100%; min-height: 104px; border: 0; background: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-weight: 800; font-size: 19px; color: #b9a7aa; transition: .2s; }
.brands__wall a small { font: 500 10.5px var(--mono); color: var(--muted); opacity: 0; transition: .2s; }
.brands__wall a:hover { color: var(--red); background: #fff; }
.brands__wall a:hover small { opacity: 1; }

/* ---------- IT services ---------- */
.svc { border-top: 2px solid var(--wine); }
.svc li { border-bottom: 1px solid var(--line); }
.svc a { position: relative; display: grid; grid-template-columns: 80px 1.1fr 1fr 100px; align-items: center; gap: 24px; padding: 26px 0; isolation: isolate; transition: color .3s; }
.svc a::before { content: ""; position: absolute; inset: 0; background: var(--red); transform: scaleY(0); transform-origin: bottom; transition: transform .4s cubic-bezier(.2,.8,.2,1); z-index: -1; }
.svc a:hover { color: #fff; }
.svc a:hover::before { transform: scaleY(1); }
.svc__n { color: var(--red); transition: .3s; }
.svc h3 { font-size: clamp(20px, 2.3vw, 30px); }
.svc p { color: var(--muted); transition: .3s; }
.svc__go { justify-self: end; color: var(--red); transition: .3s; }
.svc a:hover .svc__n, .svc a:hover .svc__go { color: #fff; padding: 0 20px; }
.svc a:hover p { color: rgba(255,255,255,.85); }

/* ---------- process ---------- */
.process { background: var(--wine); color: #fff; padding: 96px 0; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-d); }
.steps li { padding: 32px 28px 8px 0; }
.steps li + li { padding-left: 28px; border-left: 1px solid var(--line-d); }
.steps__n { display: block; font-size: 76px; font-weight: 800; line-height: 1; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.35); margin-bottom: 24px; transition: .3s; }
.steps li:hover .steps__n { color: var(--red); -webkit-text-stroke-color: var(--red); }
.steps h3 { font-size: 22px; margin-bottom: 8px; }
.steps p { color: rgba(255,255,255,.62); }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; border-top: 2px solid var(--wine); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; font-weight: 700; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 14px; height: 14px; background: linear-gradient(var(--red), var(--red)) center / 100% 2px no-repeat, linear-gradient(var(--red), var(--red)) center / 2px 100% no-repeat; transition: .3s; }
.faq details[open] summary { color: var(--red); }
.faq details[open] summary::after { transform: rotate(135deg); }
.faq p { color: var(--muted); padding: 0 40px 24px 0; margin-top: -6px; }

/* ---------- CTA ---------- */
.cta { background: var(--red); color: #fff; padding: 96px 0; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; right: -200px; top: -200px; width: 700px; height: 700px; border-radius: 50%; background: repeating-radial-gradient(circle, transparent 0 48px, rgba(255,255,255,.1) 48px 49px); }
.cta__in { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.cta h2 { font-size: clamp(30px, 4vw, 52px); margin: 14px 0 16px; }
.cta a { border-bottom: 2px solid #fff; font-weight: 700; }
.form { background: var(--wine); padding: 28px; border-radius: var(--r); display: grid; gap: 12px; }
.form input, .form textarea { width: 100%; padding: 14px 16px; background: rgba(255,255,255,.05); border: 1px solid var(--line-d); border-radius: var(--r); color: #fff; outline: none; resize: vertical; }
.form input::placeholder, .form textarea::placeholder { color: rgba(255,255,255,.45); }
.form input:focus, .form textarea:focus { border-color: var(--red); }

/* ---------- footer ---------- */
.footer { background: var(--deep); color: rgba(255,255,255,.6); padding: 72px 0 26px; overflow: hidden; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer__grid > div { display: flex; flex-direction: column; gap: 10px; }
.footer__about { max-width: 30ch; font-size: 17px; color: rgba(255,255,255,.8); }
.footer h4 { color: var(--red); margin-bottom: 6px; }
.footer a:hover { color: #fff; }
.footer__word { font-weight: 800; letter-spacing: -.06em; line-height: .8; font-size: clamp(60px, 15.5vw, 224px); color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.14); margin: 64px 0 28px; white-space: nowrap; user-select: none; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 20px; border-top: 1px solid var(--line-d); }
.pay { display: flex; gap: 6px; }
.pay i { font-style: normal; padding: 4px 8px; border: 1px solid var(--line-d); border-radius: 4px; }

/* ---------- drawers / modals ---------- */
.overlay { position: fixed; inset: 0; z-index: 80; background: rgba(27,7,11,.5); backdrop-filter: blur(3px); opacity: 0; pointer-events: none; transition: .3s; }
body.lock { overflow: hidden; }
body.lock .overlay { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; z-index: 90; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: #fff; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.drawer.open { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.drawer__head h3 { font-size: 22px; display: flex; align-items: center; gap: 10px; }
.x { width: 40px; height: 40px; border-radius: var(--r); border: 1px solid var(--line); background: #fff; display: grid; place-items: center; }
.x:hover { border-color: var(--wine); }
.drawer__body { flex: 1; overflow: auto; padding: 14px 22px; }
.drawer__empty { display: grid; justify-items: center; gap: 8px; text-align: center; padding: 60px 10px; }
.drawer__empty .ico { width: 60px; height: 60px; padding: 16px; border-radius: 50%; background: var(--pink); color: var(--red); }
.lines { display: grid; }
.line { display: grid; grid-template-columns: 72px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); animation: pop .3s both; }
.line__img { width: 72px; height: 60px; background: var(--cream); border-radius: 4px; display: grid; place-items: center; }
.line__img svg { width: 64px; height: 50px; }
.line__t b { display: block; font-size: 14px; line-height: 1.3; }
.line__t small { color: var(--muted); font-size: 12.5px; }
.line__r { display: grid; justify-items: end; gap: 6px; }
.line__r .qty { height: 32px; background: var(--wine); }
.line__r .qty button { width: 26px; font-size: 15px; }
.line__rm { border: 0; background: none; color: var(--muted); font-size: 12px; text-decoration: underline; }
.line__rm:hover { color: var(--red); }
.drawer__foot { padding: 18px 22px 22px; border-top: 1px solid var(--line); display: grid; gap: 10px; background: var(--cream); }
.install { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border: 1.5px solid var(--line); border-radius: var(--r); background: #fff; cursor: pointer; }
.install:has(input:checked) { border-color: var(--red); }
.install input { margin-top: 3px; accent-color: var(--red); width: 16px; height: 16px; }
.install b { display: block; font-size: 14px; }
.install small { color: var(--muted); font-size: 12px; }
.sum { display: flex; justify-content: space-between; align-items: baseline; }
.sum b { font-size: 24px; letter-spacing: -.03em; }
.sum--save { color: var(--green); font-size: 13px; margin-top: -8px; }
.sum--save b { font-size: 14px; }

.modal { position: fixed; inset: 0; z-index: 95; display: grid; place-items: center; padding: 20px; pointer-events: none; opacity: 0; transition: .25s; }
.modal.open { pointer-events: auto; opacity: 1; }
.modal > * { transform: translateY(16px) scale(.98); transition: .3s; }
.modal.open > * { transform: none; }
.qv { position: relative; width: min(880px, 100%); max-height: 90vh; overflow: auto; background: #fff; border-radius: var(--r); display: grid; grid-template-columns: 1fr 1fr; }
.qv__img { position: relative; background: var(--cream); display: grid; place-items: center; min-height: 380px; }
.qv__img svg { width: 86%; height: 300px; }
.qv__body { padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.qv__body h3 { font-size: 26px; letter-spacing: -.025em; }
.qv__body .x { position: absolute; top: 14px; right: 14px; }
.qv__desc { color: var(--muted); }
.qv table { width: 100%; border-collapse: collapse; font-size: 14px; }
.qv td { padding: 8px 0; border-bottom: 1px solid var(--line); }
.qv td:first-child { color: var(--muted); }
.qv td:last-child { text-align: right; font-weight: 600; }
.qv .price b { font-size: 30px; }
.qv__buy { display: flex; gap: 10px; margin-top: auto; }
.qv__buy .btn { flex: 1; }

.checkout { position: relative; width: min(520px, 100%); max-height: 92vh; overflow: auto; background: #fff; border-radius: var(--r); padding: 30px; display: grid; gap: 12px; }
.checkout .x { position: absolute; top: 14px; right: 14px; }
.checkout h3 { font-size: 28px; }
.checkout input { width: 100%; height: 48px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: var(--r); background: var(--cream); outline: none; }
.checkout input:focus { border-color: var(--red); background: #fff; }
.checkout__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.checkout__sum { background: var(--cream); border-radius: var(--r); padding: 12px 14px; font-size: 13.5px; display: grid; gap: 4px; max-height: 160px; overflow: auto; }
.checkout__sum li { display: flex; justify-content: space-between; gap: 12px; }
.checkout__sum li:last-child { border-top: 1px solid var(--line); padding-top: 6px; margin-top: 4px; font-weight: 800; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: grid; place-items: center; height: 42px; border: 1.5px solid var(--line); border-radius: var(--r); cursor: pointer; }
.seg input:checked + span { border-color: var(--red); background: var(--pink); color: var(--red); }

.toast { position: fixed; left: 50%; bottom: 26px; z-index: 100; translate: -50% 20px; opacity: 0; pointer-events: none; background: var(--wine); color: #fff; padding: 12px 18px; border-radius: var(--r); font-weight: 600; font-size: 14px; transition: .3s; display: flex; gap: 10px; align-items: center; }
.toast.show { translate: -50% 0; opacity: 1; }
.toast::before { content: "✓"; width: 20px; height: 20px; border-radius: 50%; background: var(--green); display: grid; place-items: center; font-size: 12px; }

/* =================== responsive =================== */
@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; }
  .deal { display: grid; grid-template-columns: 200px 1fr; gap: 0 20px; align-items: center; }
  .deal__head { grid-column: 1 / -1; margin-bottom: 4px; }
  .deal__img { grid-row: span 4; margin: 10px 0 0; min-height: 160px; }
  .perks { grid-template-columns: 1fr 1fr; }
  .kits { grid-template-columns: 1fr; max-width: 560px; }
  .shop { grid-template-columns: 1fr; }
  .filters-toggle { display: inline-flex; }
  .filters { position: fixed; z-index: 90; top: 0; left: 0; bottom: 0; width: min(320px, 90%); background: #fff; padding: 20px; overflow: auto; transform: translateX(-100%); transition: transform .35s; }
  .filters.open { transform: none; }
  .brands__in { grid-template-columns: 1fr; }
  .brands__txt { border-right: 0; border-bottom: 1px solid var(--line); padding: 56px 0 28px; }
  .cta__in { grid-template-columns: 1fr; }
}
@media (max-width: 1100px) {
  .cat-tiles { grid-template-columns: repeat(2, 1fr); }
  .rail { grid-auto-columns: calc((100% - 2 * 14px) / 3); }
}
@media (max-width: 820px) {
  .catalog-btn span, .search kbd, .hicon small { display: none; }
  .catalog-btn { margin-left: 0; padding: 0 13px; }
  .hicon { min-width: 44px; padding: 10px; }
  .head { grid-template-columns: 1fr; }
  .head__p { justify-self: start; }
  .vf { padding: 70px 28px 40px; min-height: 0; }
  .vf__hud { left: 32px; right: 32px; }
  .svc a { grid-template-columns: 44px 1fr; }
  .svc p { grid-column: 2; }
  .svc__go { display: none; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li:nth-child(3) { border-left: 0; padding-left: 0; }
  .faq { grid-template-columns: 1fr; }
  .qv { grid-template-columns: 1fr; }
  .qv__img { min-height: 240px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 24px); }
  .topbar__links > a { display: none; }
  .header__in { flex-wrap: wrap; height: auto; padding: 10px 0; gap: 10px; }
  .logo__txt small { display: none; }
  .hicons { margin-left: auto; }
  .catalog-btn { order: 3; }
  .search { order: 4; flex: 1 1 calc(100% - 60px); height: 44px; }
  .catalog-btn { height: 44px; }
  html { scroll-padding-top: 180px; }
  .deal { grid-template-columns: 1fr; }
  .deal__img { grid-row: auto; }
  .perks { grid-template-columns: 1fr; }
  .cat-tiles { grid-template-columns: 1fr 1fr; gap: 8px; }
  .cat-tile { flex-direction: column-reverse; align-items: flex-start; height: auto; padding: 12px; }
  .cat-tile svg { width: 100%; height: 80px; }
  .rail { grid-auto-columns: 62%; gap: 8px; }
  .rail-nav { display: none; }
  .wa span { display: none; }
  .wa { padding: 0 14px; }
  .perks > a { padding: 14px 16px; }
  .sec, .process, .cta { padding: 64px 0; }
  .grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .card { padding: 8px; }
  .card__img { height: 130px; }
  .card__img svg { height: 110px; }
  .card__quick { display: none; }
  .price b { font-size: 17px; }
  .add, .qty { height: 38px; }
  .add { width: 38px; }
  .qty button { width: 26px; }
  .toolbar { width: 100%; justify-content: space-between; gap: 8px; }
  .toolbar .mono { display: none; }
  .brands__wall { grid-template-columns: repeat(2, 1fr); }
  .brands__wall li { border-right: 1px solid var(--line) !important; border-bottom: 1px solid var(--line) !important; }
  .brands__wall li:nth-child(2n) { border-right: 0 !important; }
  .brands__wall a { min-height: 80px; }
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li + li { padding: 24px 0 8px; border-left: 0; }
  .checkout__row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}


/* =========================================================
   MULTI-PAGE ADDITIONS
   ========================================================= */
.badges { position: absolute; top: 10px; left: 10px; z-index: 1; display: flex; gap: 4px; }
.badge-new { background: var(--wine); color: #fff; font: 700 11px/1 var(--mono); padding: 5px 7px; border-radius: 4px; text-transform: uppercase; }
.spacer { height: 96px; }
.page { padding-top: 24px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: 11px; margin-bottom: 18px; }
.crumbs a:hover { color: var(--red); }
.crumbs b { color: var(--ink); font-weight: 700; }
.page-head { margin-bottom: 28px; }
.page-head h1 { font-size: clamp(32px, 4.4vw, 56px); }
.page-head p { margin-top: 8px; max-width: 70ch; }
.page-head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.row-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.row-btns.center { justify-content: center; }
.center { text-align: center; }
.more-row { margin-top: 28px; }
.icon-only { width: 50px; padding: 0; flex: none; }
.icon-only.is-on { color: var(--red); border-color: var(--red); }
.grid--5 { grid-template-columns: repeat(5, 1fr); }
.prose { font-size: 15.5px; }
.prose h1 { font-size: 40px; margin-bottom: 18px; }
.prose h3 { font-size: 20px; margin: 26px 0 10px; letter-spacing: -.02em; }
.prose p { margin-bottom: 12px; }
.prose ul, .prose ol { margin: 0 0 14px 0; display: grid; gap: 8px; }
.prose ul li { position: relative; padding-left: 22px; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: 11px; width: 12px; height: 2px; background: var(--red); }
.prose ol { counter-reset: n; }
.prose ol li { counter-increment: n; position: relative; padding-left: 34px; }
.prose ol li::before { content: counter(n); position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--wine); color: #fff; font: 700 12px/24px var(--mono); text-align: center; }
.ticks li::before { content: "✓" !important; width: auto !important; height: auto !important; background: none !important; color: var(--red); font-weight: 800; top: 0 !important; }
.tech { width: 100%; border-collapse: collapse; font-size: 14px; }
.tech td { padding: 10px 0; border-bottom: 1px solid var(--line); }
.tech td:first-child { color: var(--muted); }
.tech td:last-child { text-align: right; font-weight: 600; }
.vf-c { position: absolute; width: 22px; height: 22px; border: 2.5px solid var(--wine); z-index: 1; }
.vf-c.tl { top: 14px; left: 14px; border-right: 0; border-bottom: 0; }
.vf-c.tr { top: 14px; right: 14px; border-left: 0; border-bottom: 0; }
.vf-c.bl { bottom: 14px; left: 14px; border-right: 0; border-top: 0; }
.vf-c.br { bottom: 14px; right: 14px; border-left: 0; border-top: 0; }

/* header extras */
.cats a { display: inline-flex; align-items: center; flex: none; height: 34px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--line-d); color: rgba(255,255,255,.8); font-size: 13px; font-weight: 600; transition: .2s; }
.cats a:hover { color: #fff; border-color: rgba(255,255,255,.35); }
.cats a.on { background: #fff; color: var(--wine); border-color: #fff; }
.cats__sep { flex: none; width: 1px; margin: 6px 6px; background: var(--line-d); }
.cats__alt { border-style: dashed !important; }
.search { position: relative; }
.suggest { position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: #fff; border-radius: var(--r); box-shadow: 0 24px 60px -20px rgba(27,7,11,.5); padding: 6px; display: none; z-index: 60; }
.suggest.open { display: block; }
.suggest a { display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 12px; padding: 6px 8px; border-radius: 4px; font-size: 14px; }
.suggest a:hover { background: var(--cream); }
.suggest svg { width: 52px; height: 40px; background: var(--cream); border-radius: 4px; }
.suggest b { color: var(--red); }
.suggest__all { display: block !important; text-align: center; font-weight: 700; color: var(--red); border-top: 1px solid var(--line); margin-top: 4px; border-radius: 0 !important; }
.suggest__none { padding: 14px; color: var(--muted); }
.topbar__links a b { color: #fff; }
.footer__phone { display: inline-block; margin-top: 16px; font-size: 22px; font-weight: 800; color: #fff; }
.perks > a { transition: background .2s; }
.perks > a:hover { background: var(--cream); }

/* drawers */
.ship-bar { padding: 12px 14px; margin-bottom: 8px; background: var(--cream); border-radius: var(--r); font-size: 13px; }
.ship-bar:empty { display: none; }
.ship-bar span { display: block; height: 5px; margin-top: 8px; border-radius: 3px; background: var(--line); overflow: hidden; }
.ship-bar i { display: block; height: 100%; background: var(--red); transition: width .4s; }
.ship-bar--page { background: #fff; border: 1px solid var(--line); margin-bottom: 14px; }
.drawer__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.line__t a:hover b { color: var(--red); }
.add--big, .qty--big { height: 50px; }
.add--big { width: auto; padding: 0 22px; gap: 8px; font-weight: 700; flex: 1; }
.qty--big button { width: 44px; font-size: 20px; }
.qty--big span { min-width: 32px; font-size: 16px; }
.qty--ghost { background: #fff; color: var(--ink); border: 1.5px solid var(--line); }
.qty--ghost button { color: var(--ink); }
.qv .more { margin-top: 4px; }

/* home */
.sec--pink { margin-top: 72px; }
.seg-tabs { display: inline-flex; padding: 4px; gap: 4px; background: var(--cream); border: 1px solid var(--line); border-radius: var(--r); }
.seg-tabs button { height: 38px; padding: 0 16px; border: 0; border-radius: 4px; background: none; font-weight: 700; font-size: 14px; color: var(--muted); }
.seg-tabs button.on { background: var(--wine); color: #fff; }
.rail-nav { align-items: center; }
.rail-nav .more { margin-right: 10px; }
.kit__img { display: grid; }
.deal a h3:hover { color: var(--red); }
.deal__img { display: grid; }

/* catalog */
.cat-list { display: grid; gap: 2px; }
.cat-list button { display: flex; justify-content: space-between; align-items: center; padding: 7px 10px; border: 0; border-radius: 4px; background: none; font-size: 14px; font-weight: 600; text-align: left; }
.cat-list button em { font-style: normal; font: 500 11px var(--mono); color: var(--muted); }
.cat-list button:hover { background: var(--cream); }
.cat-list button.on { background: var(--wine); color: #fff; }
.cat-list button.on em { color: rgba(255,255,255,.6); }
.filters__x { display: none; }
.chips__clear { background: none !important; color: var(--red) !important; text-decoration: underline; }
.empty--big { display: grid; justify-items: center; gap: 10px; padding: 80px 20px; background: #fff; }
.empty--big > .ico { width: 72px; height: 72px; padding: 20px; border-radius: 50%; background: var(--pink); color: var(--red); }
.empty--big h2 { font-size: 30px; }
.empty .btn { margin-top: 10px; }

/* product detail */
.pd { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; }
.pd__gallery { position: sticky; top: 150px; display: grid; gap: 10px; }
.pd__main { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r); border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; transition: background .3s; }
.pd__main > svg { width: 82%; height: 82%; animation: pop .35s both; }
.pd__main .badges { top: 18px; left: 46px; }
.pd__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.pd__thumbs button { aspect-ratio: 4 / 3; border: 1.5px solid var(--line); border-radius: var(--r); display: grid; place-items: center; padding: 6px; transition: .2s; }
.pd__thumbs button svg { width: 100%; height: 100%; }
.pd__thumbs button.on, .pd__thumbs button:hover { border-color: var(--red); }
.pd__info { display: flex; flex-direction: column; gap: 14px; }
.pd__info h1 { font-size: clamp(28px, 3vw, 40px); }
.pd__specs { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.pd__specs div { background: #fff; padding: 12px 14px; }
.pd__specs small { display: block; color: var(--muted); font-size: 12px; }
.pd__specs b { font-size: 15px; }
.pd__buy { padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); display: grid; gap: 14px; }
.pd__buy .price { flex-direction: row; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.pd__buy .price b { font-size: 38px; order: -1; }
.pd__buy .price em { font-style: normal; color: var(--green); }
.pd__actions { display: flex; gap: 10px; }
.pd__actions > .btn:not(.icon-only) { flex: 1; }
.pd__perks { display: grid; gap: 10px; }
.pd__perks li { display: flex; gap: 12px; align-items: center; font-size: 14px; color: var(--muted); }
.pd__perks b { color: var(--ink); margin-right: 4px; }
.pd__perks .ico { width: 36px; height: 36px; padding: 8px; border-radius: 50%; background: var(--pink); color: var(--red); }
.pd__perks a { color: var(--red); text-decoration: underline; }
.pd__tabs { margin-top: 56px; }
.tabs { display: flex; gap: 4px; border-bottom: 2px solid var(--wine); overflow-x: auto; }
.tabs button { height: 48px; padding: 0 20px; border: 0; background: none; font-weight: 700; font-size: 15px; color: var(--muted); border-radius: var(--r) var(--r) 0 0; white-space: nowrap; }
.tabs button.on { background: var(--wine); color: #fff; }
.pd__tab-body { padding: 28px 0; max-width: 820px; }
.bundle { margin-top: 24px; padding: 28px; background: var(--pink); border-radius: var(--r); }
.bundle h2 { font-size: 28px; margin-bottom: 18px; }
.bundle__row { display: flex; align-items: stretch; gap: 10px; flex-wrap: wrap; }
.bundle__item { position: relative; flex: 1 1 180px; max-width: 240px; display: flex; flex-direction: column; gap: 6px; padding: 12px; background: #fff; border: 2px solid transparent; border-radius: var(--r); cursor: pointer; font-size: 13.5px; opacity: .55; transition: .2s; }
.bundle__item.on { border-color: var(--red); opacity: 1; }
.bundle__item input { position: absolute; top: 10px; right: 10px; accent-color: var(--red); width: 18px; height: 18px; }
.bundle__img svg { width: 100%; height: 90px; }
.bundle__name { font-weight: 600; line-height: 1.3; flex: 1; }
.bundle__plus { align-self: center; font-size: 26px; font-weight: 800; color: var(--red); }
.bundle__sum { flex: 1 1 220px; display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 0 12px; }
.bundle__sum b { font-size: 30px; letter-spacing: -.03em; }
.bundle__sum .btn { margin-top: 8px; }

/* cart */
.cart { display: grid; grid-template-columns: 1fr 380px; gap: 28px; align-items: start; }
.ctable { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.ctable th { text-align: left; padding: 14px 16px; color: var(--muted); font-weight: 500; border-bottom: 1px solid var(--line); }
.ctable td { padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.ctable tr:last-child td { border-bottom: 0; }
.ctable__p { display: flex; align-items: center; gap: 14px; }
.ctable__p small { display: block; }
.ctable__p b { font-size: 14.5px; line-height: 1.3; }
.ctable__p:hover b { color: var(--red); }
.ctable .price b { font-size: 16px; }
.ctable .qty { height: 38px; background: var(--wine); }
.ctable .x { width: 36px; height: 36px; color: var(--muted); }
.ctable .x:hover { color: var(--red); border-color: var(--red); }
.cart__under { display: flex; justify-content: space-between; margin-top: 14px; }
.summary { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px; display: grid; gap: 14px; }
.summary h3 { font-size: 22px; }
.summary--sticky { position: sticky; top: 150px; }
.summary__note { display: flex; gap: 8px; align-items: center; font-size: 12.5px; }
.summary__note .ico { color: var(--green); width: 18px; }
.promo { display: flex; gap: 8px; }
.promo input { flex: 1; min-width: 0; height: 42px; padding: 0 12px; border: 1.5px solid var(--line); border-radius: var(--r); background: var(--cream); outline: none; text-transform: uppercase; }
.promo input:focus { border-color: var(--red); }
.sum-rows { display: grid; gap: 8px; font-size: 14.5px; }
.sum-rows div { display: flex; justify-content: space-between; gap: 12px; }
.sum-rows dt { color: var(--muted); }
.sum-rows dd { font-weight: 600; }
.sum-rows .good dd, .sum-rows .good dt { color: var(--green); }
.sum-rows .total { padding-top: 12px; margin-top: 4px; border-top: 2px solid var(--wine); align-items: baseline; }
.sum-rows .total dt { color: var(--ink); font-weight: 700; }
.sum-rows .total dd { font-size: 28px; font-weight: 800; letter-spacing: -.03em; }

/* checkout */
.co { display: grid; grid-template-columns: 1fr 400px; gap: 28px; align-items: start; }
.co__form { display: grid; gap: 16px; }
.co__step { border: 1px solid var(--line); border-radius: var(--r); background: #fff; padding: 24px; display: grid; gap: 14px; }
.co__step legend { float: left; width: 100%; display: flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 4px; }
.co__step legend .mono { width: 32px; height: 32px; border-radius: 50%; background: var(--wine); color: #fff; display: grid; place-items: center; font-size: 12px; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fgrid[hidden] { display: none; }
.field { display: grid; gap: 6px; font-size: 13px; font-weight: 600; }
.field--wide { grid-column: 1 / -1; }
.field input, .field textarea { width: 100%; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: var(--r); background: var(--cream); outline: none; font-weight: 500; font-size: 15px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--red); background: #fff; }
.opts { display: grid; gap: 8px; }
.opts--row { grid-template-columns: repeat(3, 1fr); }
.opt { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 1.5px solid var(--line); border-radius: var(--r); cursor: pointer; transition: .2s; }
.opt:has(input:checked) { border-color: var(--red); background: #fff8f9; }
.opt input { margin-top: 3px; accent-color: var(--red); width: 16px; height: 16px; flex: none; }
.opt b { display: block; font-size: 14.5px; }
.opt small { color: var(--muted); font-size: 12.5px; }
.co__submit { height: 58px; font-size: 16px; }
.co-lines { display: grid; gap: 10px; max-height: 300px; overflow: auto; padding-right: 4px; }
.co-lines li { display: grid; grid-template-columns: 60px 1fr auto; gap: 12px; align-items: center; font-size: 13.5px; }
.co-lines .line__img { position: relative; width: 60px; height: 48px; }
.co-lines .line__img svg { width: 54px; height: 40px; }
.co-lines .line__img i { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; border-radius: 10px; background: var(--wine); color: #fff; font: 700 11px/20px var(--mono); text-align: center; font-style: normal; }

/* success */
.success { max-width: 760px; display: grid; gap: 24px; }
.ok { text-align: center; display: grid; justify-items: center; gap: 12px; padding: 20px 0; }
.ok__badge { width: 84px; height: 84px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 12px rgba(31,174,91,.15); animation: pop .5s both; }
.ok__badge .ico { width: 40px; height: 40px; }
.ok h1 { font-size: clamp(30px, 4vw, 48px); }
.ok p.muted { max-width: 52ch; }
.ok__card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px; display: grid; gap: 16px; }
.ok__card h3 { display: flex; justify-content: space-between; align-items: center; font-size: 20px; }
.ok__meta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ok__meta div { background: var(--cream); border-radius: var(--r); padding: 14px; display: grid; gap: 2px; }
.ok__meta small { color: var(--muted); }
.ok__next { background: var(--wine); color: #fff; border-radius: var(--r); padding: 8px 28px 24px; }
.ok__next .steps { grid-template-columns: repeat(3, 1fr); border-top: 0; }
.ok__next .steps__n { font-size: 52px; margin-bottom: 14px; }

/* service */
.svc-hero { background: var(--wine); color: #fff; padding: 24px 0 72px; }
.svc-hero .crumbs { color: rgba(255,255,255,.5); }
.svc-hero .crumbs b { color: #fff; }
.svc-hero__in { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: center; margin-top: 32px; }
.svc-hero h1 { font-size: clamp(38px, 5.2vw, 76px); }
.svc-hero .lead { color: rgba(255,255,255,.7); font-size: 18px; margin: 18px 0 28px; max-width: 46ch; }
.svc-nav { display: grid; border-top: 1px solid var(--line-d); }
.svc-nav a { display: grid; grid-template-columns: 36px 1fr 20px; align-items: center; gap: 10px; padding: 16px 4px; border-bottom: 1px solid var(--line-d); color: rgba(255,255,255,.7); font-weight: 600; transition: .2s; }
.svc-nav a .mono { color: var(--red); }
.svc-nav a i { font-style: normal; opacity: 0; transition: .2s; }
.svc-nav a:hover, .svc-nav a.on { color: #fff; padding-left: 12px; }
.svc-nav a:hover i, .svc-nav a.on i { opacity: 1; }
.svc-nav a.on { background: rgba(224,23,47,.18); }
.incl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.incl li { background: #fff; padding: 28px; display: grid; gap: 14px; min-height: 150px; align-content: space-between; transition: .2s; }
.incl li:hover { background: var(--wine); color: #fff; }
.incl .mono { color: var(--red); }
.incl b { font-size: 19px; letter-spacing: -.02em; line-height: 1.25; }

/* contact */
.contact { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: start; }
.contact__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ccard { display: grid; gap: 4px; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); transition: .2s; }
a.ccard:hover { border-color: var(--wine); transform: translateY(-2px); }
.ccard .ico { width: 44px; height: 44px; padding: 11px; border-radius: 50%; background: var(--pink); color: var(--red); margin-bottom: 10px; }
.ccard small { color: var(--muted); }
.ccard b { font-size: 17px; }
.ccard--green .ico { background: rgba(31,174,91,.12); color: var(--green); }
.map { position: relative; grid-column: 1 / -1; height: 280px; border-radius: var(--r); overflow: hidden; display: grid; place-items: center; align-content: center; gap: 10px;
  background: linear-gradient(90deg, rgba(42,10,16,.06) 1px, transparent 1px) 0 0 / 40px 40px, linear-gradient(rgba(42,10,16,.06) 1px, transparent 1px) 0 0 / 40px 40px, linear-gradient(130deg, transparent 40%, rgba(224,23,47,.08) 40% 46%, transparent 46%), var(--cream); border: 1px solid var(--line); }
.map__pin .ico { width: 54px; height: 54px; padding: 12px; border-radius: 50%; background: var(--red); color: #fff; box-shadow: 0 0 0 10px rgba(224,23,47,.15); animation: blink 2s infinite; }
.contact__form { background: var(--wine); color: #fff; padding: 28px; border-radius: var(--r); display: grid; gap: 10px; }
.contact__form h3 { font-size: 24px; }
.contact__form .muted { color: rgba(255,255,255,.6); }
.contact__form .form { padding: 0; margin-top: 8px; }

/* info */
.info { display: grid; grid-template-columns: 260px 1fr; gap: 48px; align-items: start; }
.info__nav { position: sticky; top: 150px; display: grid; border-top: 2px solid var(--wine); }
.info__nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-weight: 600; transition: .2s; }
.info__nav a:hover { color: var(--red); padding-left: 10px; }
.info__nav a.on { color: var(--red); padding-left: 10px; border-left: 3px solid var(--red); }
.info .prose { max-width: 760px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 36px; }
.info__help { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 28px; padding: 18px; background: var(--pink); border-radius: var(--r); }
.info__help .btn { margin-left: auto; }

/* 404 */
.nf__screen { position: relative; background: var(--wine); color: #fff; border-radius: var(--r); padding: 90px 30px; text-align: center; overflow: hidden;
  background-image: repeating-linear-gradient(0deg, rgba(255,255,255,.035) 0 2px, transparent 2px 4px), radial-gradient(circle at 50% 40%, rgba(224,23,47,.35), transparent 60%); }
.nf__screen .vf-c { border-color: #fff; }
.nf__hud { position: absolute; top: 26px; left: 50px; right: 50px; display: flex; justify-content: space-between; color: rgba(255,255,255,.7); }
.nf__hud span:first-child { display: flex; gap: 8px; align-items: center; color: #fff; }
.nf h1 { font-size: clamp(110px, 20vw, 240px); letter-spacing: -.06em; line-height: .9; text-shadow: 4px 0 var(--red), -4px 0 rgba(80,160,255,.5); animation: glitch 2.4s infinite steps(1); }
@keyframes glitch { 0%, 92%, 100% { transform: none; } 94% { transform: translateX(-6px) skewX(8deg); } 96% { transform: translateX(6px); } }
.nf__txt { color: rgba(255,255,255,.75); font-size: 18px; margin: 10px 0 28px; }

/* responsive for new pages */
@media (max-width: 1180px) {
  .grid--5 { grid-template-columns: repeat(4, 1fr); }
  .cart, .co { grid-template-columns: 1fr; }
  .summary--sticky { position: static; }
}
@media (max-width: 1100px) {
  .filters__x { display: grid; margin-left: 8px; }
  .filters__head { gap: 8px; }
  .filters__head .link { margin-left: auto; }
  .pd { grid-template-columns: 1fr; gap: 28px; }
  .pd__gallery { position: static; }
  .svc-hero__in, .contact, .info { grid-template-columns: 1fr; }
  .info__nav { position: static; grid-auto-flow: column; overflow-x: auto; border-top: 0; border-bottom: 2px solid var(--wine); }
  .info__nav a { white-space: nowrap; border: 0; padding: 12px 14px; }
  .info__nav a.on { border-left: 0; background: var(--wine); color: #fff; padding-left: 14px; }
  .incl { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .grid--5 { grid-template-columns: repeat(3, 1fr); }
  .ctable thead { display: none; }
  .ctable, .ctable tbody, .ctable tr, .ctable td { display: block; }
  .ctable tr { position: relative; padding: 14px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: center; }
  .ctable td { padding: 0; border: 0; }
  .ctable td:first-child { grid-column: 1 / -1; padding-right: 40px; }
  .ctable td:last-child { position: absolute; top: 14px; right: 14px; }
  .ctable td[data-l="Qiymət"] { display: none; }
  .ctable td[data-l="Cəmi"] { text-align: right; }
  .opts--row { grid-template-columns: 1fr; }
  .ok__next .steps { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .grid--5 { grid-template-columns: 1fr 1fr; }
  .spacer { height: 56px; }
  .fgrid, .contact__cards, .incl, .ok__meta, .drawer__btns { grid-template-columns: 1fr; }
  .pd__specs { grid-template-columns: 1fr 1fr; }
  .pd__buy .price b { font-size: 30px; }
  .bundle { padding: 18px; }
  .bundle__plus { display: none; }
  .bundle__item { max-width: none; flex-basis: calc(50% - 5px); }
  .info .prose { padding: 22px; }
  .co__step { padding: 18px; }
  .seg-tabs { width: 100%; }
  .seg-tabs button { flex: 1; padding: 0 8px; }
  .nf__hud { left: 30px; right: 30px; }
}

/* fixes */
.co-lines { padding-top: 8px; }
.sec--tight .head h2 { font-size: clamp(26px, 3vw, 38px); }
