:root {
  --red: #f23b3b;
  --red-dark: #d92727;
  --ink: #1c1c1c;
  --text: #4d4d4d;
  --muted: #8a8a8a;
  --line: #ececec;
  --soft: #f7f7f7;
  --cream: #fff6f4;
  --blush: #ffe8e4;
  --star: #f5a524;
  --green: #1f8a4c;
  --white: #fff;
  --shadow: 0 12px 34px rgba(28, 28, 28, 0.08);
  --header: 74px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: Manrope, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
body.lock { overflow: hidden; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, .logo span, .sec-title, .hero-copy h1, .page-hero h1, .sale-banner h2, .deal-copy h2 {
  font-family: Outfit, Manrope, "Segoe UI", sans-serif;
  color: var(--ink);
  line-height: 1.15;
  margin: 0;
}
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.2em; }

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--ink);
  color: #fff;
  padding: 8px 12px;
  z-index: 80;
}
.skip:focus { top: 12px; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.container { width: min(1240px, calc(100% - 40px)); margin: 0 auto; }
.section { padding: 72px 0; }
.sec-title {
  text-align: center;
  font-size: 22px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 32px;
}
.eyebrow {
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.eyebrow.light { color: #fff; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 4px;
  border: 1px solid var(--red);
  background: var(--red);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: 0.2s ease;
}
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }
.btn-light { background: #fff; color: var(--red); border-color: #fff; }
.btn-light:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-dark { background: var(--ink); border-color: var(--ink); }
.btn-dark:hover { background: #000; }
.btn-ghost { background: #fff; color: var(--ink); border-color: #ddd; }
.btn-ghost:hover { border-color: var(--ink); background: #fff; color: var(--ink); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; }

.topbar { background: var(--red); color: #fff; font-size: 13px; }
.topbar p, .footer-bottom p { margin: 0; }
.topbar-row, .header-row, .footer-bottom, .toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.topbar-row { min-height: 42px; }
.topbar a { color: #fff; }
.topbar-right { display: flex; gap: 16px; align-items: center; }
.topbar-right span { opacity: 0.9; }

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.header-row { min-height: var(--header); }
.logo { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.logo img { width: 42px; height: 42px; border-radius: 12px; object-fit: cover; }
.logo span { font-size: 22px; font-weight: 800; letter-spacing: -0.04em; }

.nav { display: flex; align-items: center; gap: 26px; }
.nav > a, .has-sub > a {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 8px 0;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--red); }
.has-sub { position: relative; display: flex; align-items: center; }
.sub-toggle { display: none; }
.sub {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 220px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 10px;
  display: grid;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transition: 0.2s ease;
  z-index: 20;
}
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.sub a {
  padding: 8px 10px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text);
}
.sub a:hover { background: var(--cream); color: var(--red); }

.tools { display: flex; align-items: center; gap: 6px; }
.icon-btn {
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  color: var(--ink);
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
}
.icon-btn:hover { color: var(--red); background: var(--cream); }
.icon-btn svg { width: 22px; height: 22px; }
.count {
  position: absolute;
  top: 2px;
  right: 0;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 99px;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  display: grid;
  place-items: center;
}
.menu-btn { display: none; }

.search-panel { display: none; border-top: 1px solid var(--line); background: #fff; padding: 14px 0 16px; }
.search-panel.is-on { display: block; }
.search-panel form, .inline-form { display: flex; gap: 8px; }
.search-panel input, .inline-form input {
  flex: 1;
  border: 1px solid #e4e4e4;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 4px;
}

.hero { background: var(--cream); position: relative; overflow: hidden; }
.hero-slide {
  display: none;
  grid-template-columns: 1.35fr 0.9fr;
  min-height: 600px;
  align-items: stretch;
}
.hero-slide.is-on { display: grid; }
.hero-photo { min-height: 420px; background: #f3e7e3; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; min-height: 600px; }
.hero-copy { display: flex; flex-direction: column; justify-content: center; padding: 48px 56px 64px 40px; position: relative; }
.hero-copy::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(242, 59, 59, 0.08);
  right: -40px;
  top: 40px;
  z-index: 0;
}
.hero-copy > * { position: relative; z-index: 1; }
.hero-copy h1 {
  font-size: clamp(40px, 4.6vw, 64px);
  font-weight: 800;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  max-width: 11ch;
}
.hero-copy p { max-width: 38ch; color: var(--text); }
.hero-price { font-size: 18px; color: var(--ink); margin: 6px 0 18px; }
.hero-price strong { color: var(--red); }
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: #fff;
  box-shadow: var(--shadow);
  z-index: 2;
  display: grid;
  place-items: center;
}
.hero-arrow.prev { left: 16px; }
.hero-arrow.next { right: 16px; }
.hero-dots { position: absolute; left: 0; right: 0; bottom: 16px; display: flex; justify-content: center; gap: 8px; z-index: 2; }
.hero-dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; background: rgba(28, 28, 28, 0.25); padding: 0; }
.hero-dots button.is-on { background: var(--red); width: 22px; border-radius: 99px; }

.cat-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 18px; }
.cat-card { text-align: center; }
.cat-card img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; background: var(--soft); transition: transform 0.35s ease; }
.cat-card:hover img { transform: translateY(-4px); }
.cat-card span { display: block; margin-top: 10px; font-size: 13px; font-weight: 700; color: var(--ink); }

.promo-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  grid-template-areas: "a b c" "a d d";
  gap: 16px;
  min-height: 520px;
}
.promo { position: relative; overflow: hidden; display: block; min-height: 240px; background: #111; }
.promo-a { grid-area: a; }
.promo-b { grid-area: b; }
.promo-c { grid-area: c; }
.promo-d { grid-area: d; }
.promo img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; transition: transform 0.55s ease; }
.promo:hover img { transform: scale(1.06); }
.promo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 30%, rgba(0, 0, 0, 0.62)); }
.promo span { position: absolute; left: 22px; bottom: 20px; z-index: 1; color: #fff; display: grid; gap: 4px; }
.promo small { letter-spacing: 0.14em; text-transform: uppercase; font-size: 12px; font-weight: 800; }
.promo strong { font-family: Outfit, sans-serif; font-size: 26px; line-height: 1.15; max-width: 16ch; }
.promo em { font-style: normal; font-size: 13px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }

.tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: -8px 0 26px; }
.tabs button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 13px;
  padding: 8px 12px;
}
.tabs button.is-on { color: var(--red); }

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.pcard { background: #fff; }
.pcard-media { position: relative; background: var(--soft); aspect-ratio: 1; overflow: hidden; }
.pcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.pcard:hover .pcard-media img { transform: scale(1.06); }
.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--red);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 8px;
  z-index: 1;
}
.badge.new { background: var(--ink); }
.pcard-actions {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%) translateY(8px);
  display: flex;
  gap: 8px;
  opacity: 0;
  transition: 0.25s ease;
  z-index: 1;
}
.pcard:hover .pcard-actions, .pcard:focus-within .pcard-actions { opacity: 1; transform: translateX(-50%) translateY(0); }
.pcard-actions button, .pcard-actions a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
  border: 0;
}
.pcard-actions button:hover, .pcard-actions a:hover, .pcard-actions button.is-on { background: var(--red); color: #fff; }
.pcard-actions svg { width: 18px; height: 18px; }
.pcard-body { padding: 14px 4px 6px; text-align: center; }
.pcard-cat { color: var(--muted); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 4px; font-weight: 700; }
.pcard-body h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.pcard-body h3 a:hover { color: var(--red); }
.rating { color: var(--star); font-size: 13px; letter-spacing: 1px; }
.rating span { color: var(--muted); letter-spacing: 0; margin-left: 4px; }
.price { margin: 6px 0 0; }
.price ins { text-decoration: none; font-weight: 800; color: var(--ink); font-size: 16px; }
.price del { color: #aaa; margin-left: 6px; font-size: 14px; }
.swatches { display: flex; justify-content: center; gap: 6px; margin-top: 8px; }
.swatch { width: 14px; height: 14px; border-radius: 50%; border: 1px solid #ddd; display: inline-block; }

.sale-banner { background: var(--red); color: #fff; text-align: center; padding: 72px 20px; }
.sale-banner h2 {
  color: #fff;
  font-size: clamp(32px, 5vw, 52px);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 800;
  margin-bottom: 10px;
}
.sale-banner p { color: #fff; font-size: 18px; }
.sale-banner strong { letter-spacing: 0.08em; }

.brand-row {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.brand-row span {
  font-family: Outfit, sans-serif;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: #b0b0b0;
  font-size: 18px;
}

.deal { background: linear-gradient(#fff, #fff8f7); }
.deal-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 36px; align-items: center; }
.deal-copy { position: relative; }
.deal-copy::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  background: var(--blush);
  border-radius: 50%;
  left: -30px;
  top: -20px;
  z-index: 0;
}
.deal-copy > * { position: relative; z-index: 1; }
.deal-copy h2 { font-size: 32px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 16px; }
.clock { display: flex; gap: 10px; margin: 16px 0; }
.clock div { background: #fff; border: 1px solid var(--line); min-width: 72px; text-align: center; padding: 10px 6px; }
.clock strong { display: block; font-size: 22px; color: var(--ink); }
.clock span { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.deal-products { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.news-card { background: #fff; }
.news-card img { width: 100%; aspect-ratio: 16/11; object-fit: cover; }
.news-card div { padding: 16px 4px 0; }
.news-card time { color: var(--red); font-size: 13px; font-weight: 800; }
.news-card h3 { font-size: 20px; margin: 6px 0 8px; }
.news-card h3 a:hover { color: var(--red); }
.more { color: var(--red); font-weight: 800; font-size: 14px; letter-spacing: 0.04em; }

.page-hero { background: var(--cream); text-align: center; padding: 54px 16px 46px; }
.page-hero h1 { font-size: clamp(32px, 4vw, 46px); letter-spacing: 0.08em; text-transform: uppercase; }
.crumbs { margin-top: 10px; color: var(--muted); font-size: 14px; }
.crumbs a:hover { color: var(--red); }

.prose { width: min(860px, 100%); }
.prose h2 { font-size: 28px; margin: 1.4em 0 0.4em; }
.prose h3 { font-size: 20px; margin: 1.2em 0 0.35em; }
.prose .lead { font-size: 18px; color: var(--ink); }
.narrow { width: min(760px, 100%); margin: 0 auto; }

.shop-layout { display: grid; grid-template-columns: 260px 1fr; gap: 32px; padding: 42px 0 70px; align-items: start; }
.filters { border: 1px solid var(--line); padding: 18px; position: sticky; top: 92px; }
.filters h2 { font-size: 16px; letter-spacing: 0.08em; text-transform: uppercase; margin: 16px 0 10px; }
.filters h2:first-child { margin-top: 0; }
.filters label { display: flex; gap: 8px; align-items: center; margin: 6px 0; font-size: 14px; color: var(--ink); }
.price-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.price-row input, .field input:not([type="checkbox"]):not([type="radio"]), .field textarea, .field select, .qty input {
  width: 100%;
  border: 1px solid #e3e3e3;
  border-radius: 4px;
  min-height: 44px;
  padding: 10px 12px;
  background: #fff;
}
.filters label input[type="checkbox"],
.filters label input[type="radio"] {
  width: 16px;
  height: 16px;
  margin: 0;
  flex: 0 0 16px;
  accent-color: var(--red);
}
.field textarea { min-height: 140px; resize: vertical; }
.filters .btn { margin-top: 10px; }
.toolbar { margin-bottom: 18px; }
.toolbar p { margin: 0; color: var(--muted); }
.toolbar select { border: 1px solid #e3e3e3; min-height: 42px; padding: 0 10px; border-radius: 4px; background: #fff; }
.shop-layout .product-grid { grid-template-columns: repeat(3, 1fr); }
.empty { padding: 30px; background: var(--soft); text-align: center; }

.product-layout { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; padding: 36px 0 10px; }
.gallery { background: var(--soft); }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.product-buy .pcard-cat { text-align: left; }
.product-buy h1 { font-size: clamp(30px, 3vw, 42px); margin: 4px 0 8px; }
.product-buy .price ins { font-size: 26px; }
.option-label { font-weight: 800; color: var(--ink); margin: 14px 0 8px; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choices button {
  border: 1px solid #ddd;
  background: #fff;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 4px;
  font-weight: 700;
}
.choices button.is-on { border-color: var(--red); color: var(--red); }
.buy-row { display: flex; gap: 10px; margin: 16px 0; flex-wrap: wrap; }
.qty { display: inline-flex; border: 1px solid #e3e3e3; border-radius: 4px; overflow: hidden; }
.qty button { width: 40px; height: 46px; border: 0; background: #fff; font-size: 20px; }
.qty input { width: 54px; border: 0; text-align: center; min-height: 46px; }
.stock { color: var(--green); font-weight: 800; font-size: 14px; }
.meta-line { color: var(--muted); font-size: 14px; }
.tabs-panel { display: flex; gap: 18px; border-bottom: 1px solid var(--line); margin-top: 28px; }
.tabs-panel button { border: 0; background: transparent; padding: 10px 0; font-weight: 800; color: var(--muted); }
.tabs-panel button.is-on { color: var(--red); box-shadow: inset 0 -2px 0 var(--red); }
.tab-body { padding: 18px 0 8px; }
.specs { width: 100%; border-collapse: collapse; }
.specs th, .specs td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); }
.specs th { width: 34%; color: var(--ink); }
.related { padding-bottom: 70px; }

.cart-layout, .check-layout { display: grid; grid-template-columns: 1.4fr 0.8fr; gap: 28px; padding: 36px 0 70px; align-items: start; }
.cart-line, .sum-line { display: grid; grid-template-columns: 92px 1fr auto auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.sum-box { border: 1px solid var(--line); padding: 18px; position: sticky; top: 92px; }
.sum-row { display: flex; justify-content: space-between; margin: 8px 0; }
.sum-row.total { font-size: 18px; font-weight: 800; color: var(--ink); border-top: 1px solid var(--line); padding-top: 10px; }
.cart-line h3 { font-size: 16px; }
.cart-line img { width: 92px; height: 92px; object-fit: cover; background: var(--soft); }
.remove { border: 0; background: transparent; color: var(--muted); font-weight: 700; }
.remove:hover { color: var(--red); }
.coupon { display: flex; gap: 8px; margin-top: 12px; }
.coupon input { flex: 1; border: 1px solid #e3e3e3; min-height: 44px; padding: 0 12px; border-radius: 4px; }

.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 800; color: var(--ink); margin-bottom: 6px; font-size: 14px; }
.field .hint { color: var(--muted); font-size: 13px; margin: 0 0 6px; }
.field label.check,
label.check {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  column-gap: 10px;
  align-items: start;
  margin: 0 0 12px;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.45;
  color: var(--ink);
  cursor: pointer;
}
.check input {
  width: 18px;
  height: 18px;
  min-height: 0;
  margin: 2px 0 0;
  padding: 0;
  accent-color: var(--red);
  justify-self: center;
}
.error { color: var(--red); font-size: 13px; min-height: 0; margin: 6px 0 0; }
.is-invalid { border-color: var(--red) !important; }
.form-card, .panel { border: 1px solid var(--line); padding: 22px; background: #fff; }
.success-banner {
  background: #f3fbf6;
  border: 1px solid #b7e4c7;
  padding: 16px 18px;
  color: #146c36;
  font-weight: 700;
}
.thanks {
  max-width: 760px;
  margin: 20px auto 50px;
  text-align: center;
  background: var(--cream);
  padding: 48px 28px;
  border: 1px solid #ffd7d2;
}
.thanks h1 { font-size: clamp(28px, 4vw, 40px); text-transform: none; letter-spacing: -0.03em; line-height: 1.25; }

.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 28px; align-items: center; }
.stack { display: grid; gap: 16px; }
.feature-grid, .value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature, .value {
  border: 1px solid var(--line);
  padding: 20px;
  background: #fff;
}
.feature h3, .value h3 { margin-bottom: 8px; font-size: 18px; }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 22px 0; }
.stat { background: var(--cream); padding: 18px; text-align: center; }
.stat strong { display: block; font-size: 28px; color: var(--red); font-family: Outfit, sans-serif; }
.media-frame img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; text-align: left; background: transparent; border: 0; padding: 14px 0; font-weight: 800; color: var(--ink); display: flex; justify-content: space-between; }
.faq-a { display: none; padding: 0 0 14px; }
.faq-item.is-open .faq-a { display: block; }

.article-hero img { width: 100%; max-height: 460px; object-fit: cover; }
.article { padding: 28px 0 70px; }
.share { display: flex; gap: 8px; margin: 18px 0; }
.footer { border-top: 1px solid var(--line); padding-top: 54px; background: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 0.8fr 1fr 1.15fr; gap: 32px; }
.footer h2 { font-size: 16px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 14px; }
.footer a { display: inline-flex; }
.footer li { margin: 8px 0; }
.footer ul { list-style: none; padding: 0; }
.footer .logo { margin-bottom: 12px; }
.social { display: flex; gap: 8px; margin-top: 14px; }
.social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--ink);
}
.social a:hover { background: var(--red); color: #fff; border-color: var(--red); }
.social svg { width: 16px; height: 16px; }
.footer-form { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.footer-form .error { flex: 1 0 100%; margin: 0; }
.footer-form input { flex: 1; border: 1px solid #e3e3e3; min-height: 44px; padding: 0 12px; border-radius: 4px; }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 28px; padding: 16px 0 22px; color: var(--muted); font-size: 13px; }

.overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.45); opacity: 0; visibility: hidden; transition: 0.2s ease; z-index: 50; }
.overlay.is-on { opacity: 1; visibility: visible; }
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: min(400px, 92vw);
  background: #fff;
  z-index: 60;
  transform: translateX(100%);
  transition: 0.25s ease;
  display: flex;
  flex-direction: column;
  padding: 18px;
}
.drawer.is-on { transform: translateX(0); }
.drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.drawer-head h2 { font-size: 20px; }
.mini-items { overflow: auto; flex: 1; }
.mini-line { display: grid; grid-template-columns: 72px 1fr; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.mini-line img { width: 72px; height: 72px; object-fit: cover; background: var(--soft); }
.drawer-foot { border-top: 1px solid var(--line); padding-top: 12px; display: grid; gap: 8px; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%) translateY(20px);
  background: var(--ink);
  color: #fff;
  padding: 12px 16px;
  border-radius: 4px;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s ease;
  z-index: 70;
  max-width: min(420px, calc(100% - 24px));
  text-align: center;
}
.toast.is-on { opacity: 1; transform: translateX(-50%) translateY(0); }
.toc { background: var(--soft); padding: 16px 18px; margin: 18px 0 8px; }
.toc a { color: var(--red); font-weight: 700; }
.note { font-size: 14px; color: var(--muted); }

:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

@media (max-width: 1100px) {
  .product-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(4, 1fr); }
  .shop-layout .product-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid, .feature-grid, .value-grid { grid-template-columns: 1fr 1fr; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .promo-grid { grid-template-columns: 1fr 1fr; grid-template-areas: "a a" "b c" "d d"; min-height: 0; }
  .promo-a { min-height: 320px; }
}

@media (max-width: 980px) {
  .menu-btn { display: grid; }
  .nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: min(320px, 88vw);
    background: #fff;
    z-index: 65;
    flex-direction: column;
    align-items: flex-start;
    padding: 78px 22px 24px;
    gap: 6px;
    transform: translateX(104%);
    transition: 0.25s ease;
    overflow: auto;
    box-shadow: var(--shadow);
  }
  .nav.is-open { transform: translateX(0); }
  .has-sub { flex-direction: column; align-items: flex-start; width: 100%; }
  .sub-toggle { display: inline-flex; border: 0; background: transparent; font-weight: 800; color: var(--red); margin-left: 8px; }
  .sub {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    display: none;
    box-shadow: none;
    border: 0;
    padding: 4px 0 8px 10px;
    min-width: 0;
  }
  .has-sub.is-open .sub { display: grid; }
  .hero-slide, .deal-grid, .product-layout, .cart-layout, .check-layout, .split, .shop-layout { grid-template-columns: 1fr; }
  .hero-copy { padding: 28px 22px 56px; }
  .hero-photo img { min-height: 280px; height: 320px; }
  .filters { position: static; }
  .deal-products { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .container { width: min(1240px, calc(100% - 28px)); }
  .topbar-row { min-height: 0; padding: 8px 0; align-items: flex-start; }
  .topbar-row p { flex: 1; min-width: 0; }
  .topbar-row p { font-size: 12px; }
  .cat-scroll { overflow-x: auto; }
  .cat-grid { display: flex; gap: 12px; }
  .cat-card { flex: 0 0 112px; }
  .product-grid, .news-grid, .deal-products, .footer-grid, .feature-grid, .value-grid, .promo-grid { grid-template-columns: 1fr; }
  .promo-grid { grid-template-areas: "a" "b" "c" "d"; }
  .shop-layout .product-grid { grid-template-columns: 1fr; }
  .footer-bottom, .toolbar, .buy-row { flex-direction: column; align-items: stretch; }
  .cart-line { grid-template-columns: 72px 1fr; }
  .cart-line .line-price, .cart-line .remove { grid-column: 2; }
  .logo span { font-size: 18px; }
  .section { padding: 48px 0; }
  .pcard-actions { opacity: 1; transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
