:root {
  --red: #e31c24;
  --red-d: #c41218;
  --red-s: #fff1f1;
  --gold: #ffc107;
  --gold-d: #f0a800;
  --green: #2eae4a;
  --green-b: #2fc25a;
  --ink: #1a1a1a;
  --text: #454545;
  --muted: #7a7a7a;
  --line: #ececec;
  --soft: #f6f6f6;
  --card: #fff;
  --footer: #1b1b1b;
  --footer-b: #141414;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Jost", "Segoe UI", sans-serif;
  color: var(--text);
  background: #fff;
  font-size: 15px;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font-family: inherit; }
button { cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

.wrap { width: min(var(--wrap), calc(100% - 32px)); margin: 0 auto; }
.noscript { background: #fff4d6; padding: 12px 16px; text-align: center; }

.brand { display: flex; align-items: center; gap: 10px; color: #fff; min-width: max-content; }
.brand-badge {
  width: 46px; height: 46px; border-radius: 12px; background: #fff;
  overflow: hidden; display: grid; place-items: center; flex: none;
}
.brand-badge img { width: 64px; height: 64px; object-fit: cover; }
.brand strong { display: block; font-size: 22px; line-height: 1; letter-spacing: -0.4px; font-weight: 700; }
.brand small { display: block; margin-top: 4px; font-size: 10px; letter-spacing: 2.4px; opacity: 0.85; font-weight: 500; }

.icon-btn, .burger {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.45);
  background: transparent; color: #fff;
  display: grid; place-items: center; position: relative; flex: none;
}
.icon-btn svg, .burger svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.burger { display: none; }
.badge {
  position: absolute; top: -4px; right: -4px;
  min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 99px; background: var(--red); color: #fff;
  font-size: 11px; font-weight: 700; display: grid; place-items: center;
}
.home-head .badge { background: #111; }

.home-head { background: var(--red); color: #fff; position: sticky; top: 0; z-index: 50; }
.home-head-row { display: flex; align-items: center; gap: 22px; min-height: 76px; }
.home-nav, .classic-nav { display: flex; align-items: center; gap: 18px; }
.home-nav a, .classic-nav a { color: #fff; font-weight: 500; font-size: 15px; }
.home-nav a.active, .classic-nav a.active { text-decoration: underline; text-underline-offset: 6px; }
.head-search { flex: 1; display: flex; background: #fff; border-radius: 4px; overflow: hidden; max-width: 460px; }
.head-search input { border: 0; flex: 1; padding: 11px 14px; font-size: 14px; color: #222; min-width: 0; }
.head-search button { border: 0; background: #222; color: #fff; padding: 0 16px; font-weight: 600; }
.head-tools { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.tool { position: relative; }
.tool-pop {
  position: absolute; right: 0; top: calc(100% + 10px);
  background: #fff; color: var(--ink); min-width: 190px;
  border-radius: 8px; box-shadow: 0 12px 40px rgba(0,0,0,.15);
  padding: 8px; display: none; z-index: 20;
}
.tool.open .tool-pop { display: block; }
.tool-pop a, .tool-pop button {
  display: block; width: 100%; text-align: left; background: none; border: 0;
  padding: 9px 10px; border-radius: 6px; color: var(--ink); font-size: 14px;
}
.tool-pop a:hover, .tool-pop button:hover { background: var(--red-s); color: var(--red); }

.topbar { background: #0c0c0c; color: #d7d7d7; font-size: 12px; }
.topbar-row { display: flex; justify-content: space-between; align-items: center; min-height: 36px; gap: 12px; }
.top-social { display: flex; gap: 8px; }
.top-social a {
  width: 22px; height: 22px; display: grid; place-items: center; color: #fff; border-radius: 50%;
}
.top-social svg { width: 13px; height: 13px; fill: currentColor; }

.classic-head { background: #0e0e0e; color: #fff; position: sticky; top: 0; z-index: 50; }
.classic-row { display: flex; align-items: center; gap: 28px; min-height: 84px; }
.classic-nav { margin-left: 10px; }
.search-pop {
  display: none; background: #fff; border-top: 1px solid var(--line);
  padding: 14px 0;
}
.search-pop.open { display: block; }
.search-pop form { display: flex; gap: 8px; }
.search-pop input { flex: 1; border: 1px solid #e5e5e5; padding: 12px 14px; font-size: 15px; }
.search-pop button { background: var(--red); color: #fff; border: 0; padding: 0 18px; font-weight: 600; }

.page-hero {
  min-height: 280px;
  background:
    linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.62)),
    url("../images/hero-inner.jpg") center/cover no-repeat;
  color: #fff; display: grid; place-items: center; text-align: center; padding: 40px 16px;
}
.page-hero h1 { font-size: clamp(34px, 5vw, 56px); letter-spacing: 1px; font-weight: 700; text-transform: uppercase; }
.crumbs { margin-top: 10px; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: #eee; }
.crumbs a:hover { color: var(--gold); }
.crumbs span { margin: 0 8px; opacity: .7; }

.page-main { padding: 56px 0 70px; }
.section { padding: 28px 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 18px; }
.section-head h2 { font-size: 26px; color: var(--ink); font-weight: 700; }
.section-head a { color: var(--red); font-weight: 600; font-size: 14px; }
.section-head p { color: var(--muted); margin-top: 4px; }

.hero-row {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr) 240px;
  gap: 16px;
  padding-top: 18px;
}
.cat-panel { background: #fff; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.cat-panel h2 {
  background: var(--red); color: #fff; font-size: 16px; font-weight: 600;
  padding: 13px 16px;
}
.cat-panel a {
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
  padding: 11px 14px; border-top: 1px solid #f3f3f3; color: #444; font-size: 14px;
}
.cat-panel a:hover { color: var(--red); background: #fffafa; }
.cat-panel .count { color: #aaa; font-size: 12px; }
.cat-link { display: flex; align-items: center; gap: 8px; }
.cat-link svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.7; flex: none; }

.hero-banner {
  background: linear-gradient(100deg, #ffe082 0%, #ffc107 42%, #ffb300 100%);
  border-radius: 8px; min-height: 392px;
  display: grid; grid-template-columns: 1.05fr .95fr; overflow: hidden; position: relative;
}
.hero-copy { padding: 36px 28px; display: flex; flex-direction: column; justify-content: center; color: #2a2112; }
.hero-copy .kicker { font-weight: 600; letter-spacing: .4px; font-size: 14px; }
.hero-copy h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.15; margin: 8px 0 10px; color: #1c1c1c; }
.hero-copy .price { font-size: 32px; font-weight: 700; color: var(--red); margin-bottom: 16px; }
.hero-copy .price s { font-size: 16px; color: #7a6240; margin-left: 8px; font-weight: 500; }
.hero-banner img { width: 100%; height: 100%; object-fit: cover; }
.side-promos { display: flex; flex-direction: column; gap: 16px; }
.side-promo {
  flex: 1; border-radius: 8px; overflow: hidden; min-height: 188px; position: relative;
  color: #fff; display: flex; align-items: flex-end; padding: 16px;
  background-size: cover; background-position: center;
}
.side-promo::before { content: ""; position: absolute; inset: 0; }
.side-promo.purple::before { background: linear-gradient(180deg, rgba(88,28,135,.15), rgba(76,29,149,.82)); }
.side-promo.blue::before { background: linear-gradient(180deg, rgba(3,105,161,.1), rgba(3,105,161,.82)); }
.side-promo .txt { position: relative; z-index: 1; }
.side-promo strong { display: block; font-size: 18px; line-height: 1.25; }
.side-promo span { display: inline-block; margin-top: 6px; font-size: 13px; font-weight: 600; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 3px; padding: 12px 18px;
  font-weight: 600; letter-spacing: .4px; text-transform: uppercase; font-size: 13px;
}
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-d); }
.btn-green { background: var(--green-b); color: #fff; }
.btn-green:hover { background: #26a84c; }
.btn-gray { background: #8d8d8d; color: #fff; }
.btn-gray:hover { background: #747474; }
.btn-dark { background: #222; color: #fff; }
.btn-dark:hover { background: #000; }
.btn-white { background: #fff; color: var(--red); }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn-block { width: 100%; }

.services {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; padding: 22px 0 8px;
}
.service {
  display: flex; gap: 10px; align-items: center; background: #fff;
  border: 1px solid var(--line); border-radius: 8px; padding: 12px;
}
.service i {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; flex: none; color: #fff;
}
.service svg { width: 20px; height: 20px; stroke: #fff; fill: none; stroke-width: 1.8; }
.service strong { display: block; color: var(--ink); font-size: 14px; line-height: 1.2; }
.service span { display: block; color: var(--muted); font-size: 12px; }
.c1 { background: #e31c24; } .c2 { background: #f59e0b; } .c3 { background: #16a34a; }
.c4 { background: #2563eb; } .c5 { background: #7c3aed; }

.flash-cats {
  display: grid; grid-template-columns: repeat(8, 1fr); gap: 12px; text-align: center;
}
.flash-cats a { color: var(--ink); }
.flash-cats img {
  width: 92px; height: 92px; object-fit: cover; border-radius: 50%; margin: 0 auto 8px;
  border: 3px solid #fff; box-shadow: 0 8px 18px rgba(0,0,0,.08); background: #fff;
}
.flash-cats strong { display: block; font-size: 13px; font-weight: 600; }
.flash-cats em { display: block; font-style: normal; color: var(--red); font-size: 12px; font-weight: 600; }

.deal-layout { display: grid; grid-template-columns: 250px 1fr; gap: 16px; align-items: start; }
.deal-layout .grid { grid-template-columns: repeat(3, 1fr); }
.hot-deal {
  background: linear-gradient(165deg, #ff4d3a, #e31c24 55%, #b10f16);
  color: #fff; border-radius: 14px; padding: 22px 18px; position: relative; overflow: hidden;
}
.hot-deal .tag { background: #111; display: inline-block; padding: 4px 8px; border-radius: 4px; font-size: 12px; font-weight: 700; }
.hot-deal h3 { font-size: 26px; line-height: 1.15; margin: 12px 0 6px; }
.hot-deal .deal-price { font-size: 28px; font-weight: 700; }
.hot-deal .deal-price s { font-size: 14px; opacity: .8; margin-left: 6px; }
.hot-deal img { width: 100%; height: 160px; object-fit: contain; margin: 8px 0; filter: drop-shadow(0 8px 12px rgba(0,0,0,.2)); }
.clock { display: flex; gap: 6px; margin: 8px 0 14px; }
.clock b {
  background: rgba(0,0,0,.25); min-width: 46px; text-align: center; border-radius: 6px; padding: 6px 4px; font-size: 14px;
}
.clock b span { display: block; font-size: 10px; font-weight: 500; opacity: .85; }

.grid { display: grid; gap: 14px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.pcard {
  background: #fff; border: 1px solid #f0f0f0; border-radius: 8px; overflow: hidden;
  box-shadow: 0 1px 0 rgba(0,0,0,.02); display: flex; flex-direction: column; position: relative;
}
.pcard:hover { box-shadow: var(--shadow); border-color: #ffe1e1; }
.pcard-media { position: relative; background: #fafafa; aspect-ratio: 1; display: grid; place-items: center; }
.pcard-media img { width: 78%; height: 78%; object-fit: contain; }
.pcard-media img.cover { width: 100%; height: 100%; object-fit: cover; }
.badge-off, .badge-new, .badge-out {
  position: absolute; top: 10px; left: 10px; background: var(--red); color: #fff;
  font-size: 11px; font-weight: 700; padding: 3px 7px; border-radius: 3px; z-index: 1;
}
.badge-new { left: auto; right: 10px; background: #111; }
.badge-out { background: #666; }
.pcard-actions { position: absolute; left: 10px; right: 10px; bottom: 10px; display: flex; gap: 6px; opacity: 0; transform: translateY(6px); transition: .2s; }
.pcard:hover .pcard-actions, .pcard:focus-within .pcard-actions { opacity: 1; transform: none; }
.pcard-actions .btn, .pcard-actions a.btn { flex: 1; padding: 8px 6px; font-size: 12px; }
.pcard-body { padding: 12px 12px 14px; }
.pcat { color: var(--muted); font-size: 12px; }
.pcard h3 { font-size: 15px; font-weight: 600; margin: 3px 0 6px; color: var(--ink); line-height: 1.35; }
.pcard h3 a:hover { color: var(--red); }
.stars { color: #e5e5e5; letter-spacing: 1px; font-size: 13px; }
.stars .on { color: #f5a524; }
.price { margin-top: 6px; color: var(--green); font-weight: 700; font-size: 16px; }
.price s { color: #a3a3a3; font-weight: 500; font-size: 13px; margin-left: 6px; }
.meta { margin-top: 6px; color: var(--muted); font-size: 12px; }

.banners { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 14px; }
.banner {
  min-height: 180px; border-radius: 10px; overflow: hidden; position: relative; color: #fff;
  display: flex; align-items: flex-end; padding: 18px; background-size: cover; background-position: center;
}
.banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.72)); }
.banner .txt { position: relative; z-index: 1; }
.banner h3 { font-size: 22px; line-height: 1.2; }
.banner p { font-size: 13px; opacity: .95; margin: 4px 0 8px; }

.split {
  display: grid; grid-template-columns: 1.1fr .9fr; min-height: 280px; border-radius: 12px; overflow: hidden; background: #111; color: #fff;
}
.split-copy { padding: 36px; display: flex; flex-direction: column; justify-content: center; }
.split-copy h2 { font-size: clamp(26px, 3vw, 36px); line-height: 1.2; margin-bottom: 10px; }
.split-copy p { color: #ddd; margin-bottom: 16px; max-width: 460px; }
.split-visual { background: #fff url("../images/prod-headphones.jpg") center/contain no-repeat; min-height: 240px; }

.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.tabs button {
  border: 1px solid var(--line); background: #fff; border-radius: 99px; padding: 8px 14px; font-weight: 600; color: #444;
}
.tabs button.on { background: var(--red); color: #fff; border-color: var(--red); }

.blog-card { background: #fff; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; }
.blog-card img { height: 190px; width: 100%; object-fit: cover; }
.blog-card div { padding: 14px 14px 16px; }
.blog-card .when { color: var(--red); font-size: 12px; font-weight: 600; letter-spacing: .4px; }
.blog-card h3 { font-size: 18px; color: var(--ink); margin: 6px 0; line-height: 1.35; }
.blog-card p { color: var(--muted); font-size: 14px; }

.shop-layout { display: grid; grid-template-columns: 250px 1fr; gap: 22px; }
.filter-box { border: 1px solid var(--line); border-radius: 8px; padding: 14px; margin-bottom: 14px; }
.filter-box h3 { font-size: 16px; margin-bottom: 10px; color: var(--ink); }
.filter-box label { display: flex; gap: 8px; align-items: center; padding: 5px 0; font-size: 14px; cursor: pointer; }
.toolbar { display: flex; justify-content: space-between; gap: 10px; align-items: center; margin-bottom: 14px; flex-wrap: wrap; }
.toolbar select, .toolbar input { width: auto; min-width: 180px; }
.toolbar select, .field input, .field textarea, .field select, .coupon input, .news-form input {
  border: 1px solid #e6e6e6; background: #f7f7f7; padding: 11px 12px; font-size: 14px; color: #222; width: 100%;
}
.pager { display: flex; gap: 6px; justify-content: center; margin-top: 18px; }
.pager button { min-width: 36px; height: 36px; border: 1px solid var(--line); background: #fff; border-radius: 4px; }
.pager button.on { background: var(--red); color: #fff; border-color: var(--red); }

.product-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; }
.gallery { background: #fafafa; border: 1px solid var(--line); border-radius: 12px; padding: 18px; }
.gallery img { width: 100%; max-height: 460px; object-fit: contain; margin: 0 auto; }
.gallery img.cover { object-fit: cover; max-height: 420px; }
.buy h1 { font-size: 32px; color: var(--ink); line-height: 1.2; }
.buy .lead { margin: 10px 0; color: #555; }
.buy .price { font-size: 28px; }
.qty-row { display: flex; gap: 10px; align-items: center; margin: 16px 0; }
.qty {
  display: inline-flex; align-items: center; border: 1px solid #e5e5e5; border-radius: 99px; overflow: hidden;
}
.qty button { width: 34px; height: 34px; border: 0; background: #fff; font-size: 18px; }
.qty input { width: 42px; border: 0; text-align: center; background: #fff; font-weight: 600; }
.specs { width: 100%; border-collapse: collapse; margin-top: 12px; }
.specs td { border-bottom: 1px solid var(--line); padding: 8px 0; }
.specs td:first-child { color: var(--muted); width: 40%; }
.prose-block { margin-top: 28px; }
.prose-block h2, .about-copy h2, .prose h2 { color: var(--ink); font-size: 24px; margin: 22px 0 8px; }
.prose-block p, .about-copy p, .prose p { margin: 0 0 12px; }
.prose-block ul, .prose ul { list-style: disc; padding-left: 18px; margin: 0 0 12px; }
.prose-block li, .prose li { margin: 4px 0; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 26px; }
.steps li {
  background: #f3f3f3; text-align: center; padding: 12px 8px; font-weight: 600; color: #666; font-size: 14px;
}
.steps li.on { background: var(--red); color: #fff; }

.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th {
  background: #f7f7f7; text-align: left; font-size: 12px; letter-spacing: 1px; color: #888;
  padding: 14px; font-weight: 600;
}
.cart-table td { padding: 16px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.cart-product { display: flex; gap: 12px; align-items: center; }
.cart-product img { width: 74px; height: 74px; object-fit: contain; background: #fafafa; border-radius: 6px; }
.cart-product strong { display: block; color: var(--ink); }
.cart-product span, .remove { color: var(--muted); font-size: 13px; }
.remove {
  width: 28px; height: 28px; border-radius: 50%; border: 1px solid #eee; background: #fff; color: #888;
}
.line-total { color: var(--green); font-weight: 700; }
.cart-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 18px; flex-wrap: wrap; }
.coupon { display: flex; gap: 8px; align-items: center; }
.coupon input { width: 180px; }
.total-box { width: min(340px, 100%); margin-left: auto; background: #f4f4f4; padding: 22px; margin-top: 22px; }
.total-box h3 { text-align: center; letter-spacing: 1px; margin-bottom: 12px; color: var(--ink); }
.total-line { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid #e4e4e4; }
.total-line b { color: var(--green); }
.empty { text-align: center; padding: 30px 10px; }
.empty h2 { color: var(--ink); margin-bottom: 8px; }

.checkout-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; align-items: start; }
.panel { border: 1px solid var(--line); border-radius: 8px; padding: 18px; }
.panel h2 { color: var(--ink); font-size: 20px; margin-bottom: 12px; }
.summary-item { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.check { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; margin: 8px 0 14px; }
.check input { margin-top: 4px; }
.thanks { text-align: center; padding: 28px 16px; }
.thanks h2 { color: var(--ink); font-size: clamp(22px, 3vw, 30px); line-height: 1.35; margin-bottom: 10px; }
.ref { display: inline-block; margin-top: 8px; background: var(--red-s); color: var(--red); font-weight: 700; padding: 6px 10px; border-radius: 6px; }

.intro-band { background: #f3f4f6; text-align: center; padding: 54px 16px; }
.intro-band h2 { color: var(--ink); font-size: 28px; margin-bottom: 8px; }
.contact-grid, .about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; }
.touch-item { display: flex; gap: 12px; margin: 14px 0; align-items: flex-start; }
.touch-item i {
  width: 42px; height: 42px; border-radius: 50%; background: #fff; border: 1px solid #f0d0d0;
  color: var(--red); display: grid; place-items: center; flex: none;
}
.touch-item svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.form-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.field { margin-bottom: 12px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: #333; margin-bottom: 6px; }
.field textarea { min-height: 140px; resize: vertical; }
.invalid { border-color: var(--red) !important; background: #fff6f6 !important; }
.err { color: var(--red); font-size: 12px; margin-top: 4px; }
.form-ok { background: #eefbf2; border: 1px solid #b7ebc6; color: #146c2e; padding: 14px; border-radius: 6px; margin-bottom: 12px; }
.form-ok a { color: var(--red); font-weight: 700; }

.about-photo { border-radius: 12px; width: 100%; height: 100%; object-fit: cover; min-height: 280px; }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 28px; }
.value { border-radius: 10px; padding: 18px; color: #fff; min-height: 160px; }
.value h3 { margin-bottom: 6px; }
.value:nth-child(1) { background: #e31c24; }
.value:nth-child(2) { background: #f59e0b; }
.value:nth-child(3) { background: #2563eb; }
.value:nth-child(4) { background: #7c3aed; }
.faq details { border-bottom: 1px solid var(--line); padding: 12px 0; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--ink); }
.faq p { margin-top: 8px; }

.feature-post { display: grid; grid-template-columns: 1.2fr .8fr; gap: 20px; align-items: center; margin-bottom: 22px; }
.feature-post img { width: 100%; height: 320px; object-fit: cover; border-radius: 12px; }
.article-hero-img { width: 100%; max-height: 420px; object-fit: cover; border-radius: 12px; margin-bottom: 18px; }
.prose { max-width: 860px; }
.toc { background: #fafafa; border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px; margin: 8px 0 18px; }
.toc a { display: block; padding: 4px 0; color: var(--red); font-weight: 600; }
.narrow { max-width: 640px; margin: 0 auto; }
.card-form { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 22px; box-shadow: var(--shadow); }
.benefits li { padding: 6px 0 6px 22px; position: relative; }
.benefits li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); position: absolute; left: 0; top: 12px; }

.site-footer { background: var(--footer); color: #cfcfcf; margin-top: 20px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .8fr .9fr 1.1fr; gap: 28px; padding: 42px 0 28px; }
.site-footer h3 { color: #fff; font-size: 14px; letter-spacing: 1px; margin-bottom: 14px; }
.site-footer p { font-size: 14px; line-height: 1.7; }
.site-footer a:hover { color: #fff; }
.foot-links a { display: block; padding: 5px 0; font-size: 14px; }
.mail-line { display: flex; gap: 8px; align-items: center; margin-top: 12px; }
.mail-line svg { width: 16px; height: 16px; stroke: var(--red); fill: none; }
.share { display: flex; gap: 8px; margin-top: 14px; }
.share a {
  width: 32px; height: 32px; border: 1px solid #444; border-radius: 50%; display: grid; place-items: center; color: #fff;
}
.share svg { width: 14px; height: 14px; fill: currentColor; }
.news-form { display: flex; margin-top: 10px; background: #fff; border-radius: 4px; overflow: hidden; }
.news-form input { border: 0; background: #fff; width: auto; flex: 1; min-width: 0; }
.news-form button { border: 0; background: var(--red); color: #fff; padding: 0 14px; font-weight: 700; }
.subfoot {
  background: var(--footer-b); color: #9a9a9a; font-size: 13px;
}
.subfoot-row { display: flex; justify-content: space-between; gap: 12px; align-items: center; min-height: 54px; flex-wrap: wrap; padding: 8px 0; }

.to-top {
  position: fixed; right: 18px; bottom: 18px; width: 42px; height: 42px; border-radius: 50%;
  border: 0; background: var(--red); color: #fff; font-size: 18px; display: none; z-index: 40;
}
.to-top.show { display: grid; place-items: center; }
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(12px);
  background: #222; color: #fff; padding: 12px 16px; border-radius: 8px; opacity: 0; pointer-events: none;
  transition: .25s; z-index: 70; max-width: min(92vw, 420px); text-align: center;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

@media (hover: none) {
  .pcard-actions { opacity: 1; transform: none; position: static; padding: 0 12px 12px; }
}

@media (max-width: 1100px) {
  .hero-row { grid-template-columns: 1fr 230px; }
  .cat-panel { grid-column: 1 / -1; }
  .cat-panel .cat-list { display: grid; grid-template-columns: 1fr 1fr; }
  .services, .flash-cats, .values { grid-template-columns: repeat(4, 1fr); }
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .banners { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .burger { display: grid; }
  .home-nav, .classic-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: #161616; flex-direction: column; align-items: flex-start; padding: 10px 16px 16px; gap: 0;
  }
  .home-nav.open, .classic-nav.open { display: flex; }
  .home-nav a, .classic-nav a { padding: 10px 0; width: 100%; }
  .home-head, .classic-head { position: sticky; }
  .home-head-row, .classic-row { flex-wrap: wrap; min-height: 68px; padding: 10px 0; }
  .head-search { order: 5; max-width: none; flex: 1 1 100%; }
  .classic-nav { background: #111; }
  .hero-row, .deal-layout, .split, .product-layout, .shop-layout, .checkout-grid, .contact-grid, .about-grid, .feature-post {
    grid-template-columns: 1fr;
  }
  .services, .flash-cats, .values, .grid-4, .grid-3, .deal-layout .grid { grid-template-columns: repeat(2, 1fr); }
  .form-row, .steps { grid-template-columns: 1fr; }
  .side-promos { flex-direction: row; }
  .cart-table thead { display: none; }
  .cart-table tr { display: block; border: 1px solid var(--line); margin-bottom: 10px; border-radius: 8px; }
  .cart-table td { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
  .total-box { margin-left: 0; width: 100%; }
}

@media (max-width: 560px) {
  .services, .flash-cats, .values, .grid-4, .grid-3, .grid-2, .deal-layout .grid { grid-template-columns: 1fr; }
  .side-promos { flex-direction: column; }
  .hero-banner { grid-template-columns: 1fr; }
  .hero-banner img { height: 220px; }
  .brand strong { font-size: 18px; }
  .page-hero { min-height: 210px; }
}
