:root {
  --bg: #f4f5f7;
  --surface: #ffffff;
  --surface-alt: #e9ecf0;
  --text: #14181f;
  --muted: #5d6573;
  --line: #d9dde3;
  --accent: #c2410c;
  --accent-hover: #9a3412;
  --accent-soft: #fdebe1;
  --dark: #1a2230;
  --sale: #b42318;
  --radius: 4px;
  --shadow: 0 1px 2px rgba(20,24,31,.05), 0 8px 24px rgba(20,24,31,.08);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; letter-spacing: -.01em; }
h3 { font-size: 1.125rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }
.muted { color: var(--muted); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 14px 24px; border: 2px solid var(--accent); border-radius: var(--radius);
  background: var(--accent); color: #fff; font: inherit; font-weight: 700;
  cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn--ghost { background: transparent; color: var(--accent); }
.btn--ghost:hover { background: var(--accent-soft); color: var(--accent); }
.btn--small { padding: 8px 16px; font-size: .875rem; }
.btn--light { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn--light:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.link { color: var(--accent); font-weight: 700; }

/* Header */
.header { position: sticky; top: 0; z-index: 10; background: rgba(244,245,247,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header__inner { display: flex; align-items: center; gap: 24px; min-height: 68px; flex-wrap: wrap; }
.logo { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 1.25rem; letter-spacing: -.02em; }
.logo__mark { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 3px; background: var(--accent); color: #fff; font-size: 1rem; }
.logo--light { color: #fff; }
.logo--light .logo__mark { background: #fff; color: var(--accent); }
.nav { display: flex; gap: 24px; margin-right: auto; }
.nav a { font-weight: 600; color: var(--muted); }
.nav a:hover { color: var(--text); }
.header__actions { display: flex; align-items: center; gap: 16px; }
.header__phone { font-weight: 700; }
.cart-link { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); font-weight: 600; }
.cart-link__count { display: grid; place-items: center; min-width: 22px; height: 22px; border-radius: 2px; background: var(--accent); color: #fff; font-size: .75rem; }
@media (max-width: 900px) {
  .nav { order: 3; width: 100%; overflow-x: auto; gap: 20px; padding-bottom: 12px; }
  .header__actions { margin-left: auto; }
  .header__phone { display: none; }
}

/* Hero */
.hero { padding: 48px 0 64px; }
.hero__inner { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .hero__inner { grid-template-columns: 1.1fr 1fr; } }
.eyebrow { display: inline-block; padding: 6px 12px; border-radius: var(--radius); background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: .875rem; }
.hero__lead { font-size: 1.125rem; color: var(--muted); max-width: 520px; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 36px; }
.hero__stats { display: flex; gap: 32px; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; color: var(--muted); font-size: .9rem; }
.hero__stats b { display: block; color: var(--text); font-size: 1.5rem; }
.hero__media { background: linear-gradient(160deg, #e3e8ef, #f6eee8); border-radius: 6px; padding: 32px; }

/* Sections */
.section { padding: 64px 0; }
.section--tight { padding: 32px 0 64px; }
.section--alt { background: var(--surface-alt); }
.section__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.section__head h2 { margin: 0; }

.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.chip { padding: 8px 16px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); font-weight: 600; font-size: .9rem; }
.chip:hover { border-color: var(--accent); }
.chip--active { background: var(--dark); color: #fff; border-color: var(--dark); }

/* Grid & cards */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card__media { position: relative; display: block; background: var(--surface-alt); padding: 20px; }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 16px 20px 20px; }
.card__cat { margin: 0 0 4px; color: var(--muted); font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.card__title { margin: 0 0 4px; font-size: 1.25rem; }
.card__title a:hover { color: var(--accent); }
.card__size { color: var(--muted); font-size: .9rem; }
.card__footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; flex-wrap: wrap; }
.badge { position: absolute; top: 14px; left: 14px; z-index: 1; padding: 4px 10px; border-radius: var(--radius); background: var(--surface); font-size: .75rem; font-weight: 700; box-shadow: 0 1px 3px rgba(0,0,0,.08); }

.price { margin: 0; font-weight: 800; font-size: 1.2rem; }
.price--big { font-size: 2rem; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.price__old { color: var(--muted); font-weight: 500; font-size: .8em; }
.price--big .price__old { font-size: 1.1rem; }
.price__sale { padding: 2px 8px; border-radius: 2px; background: var(--sale); color: #fff; font-size: .9rem; }

/* Features */
.features { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); margin-top: 24px; }
.feature { background: var(--surface); border-radius: var(--radius); padding: 24px; }
.feature p { color: var(--muted); margin: 0; }
.feature__icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 16px; border-radius: var(--radius); background: var(--accent-soft); color: var(--accent); font-weight: 800; font-size: 1.25rem; }

/* Delivery */
.delivery { display: grid; gap: 32px; }
@media (min-width: 900px) { .delivery { grid-template-columns: 1fr 1.4fr; } }
.delivery__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.delivery__list li { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.delivery__list span { color: var(--muted); }

/* CTA */
.section--cta { padding-top: 0; }
.cta { display: grid; gap: 24px; align-items: center; padding: 40px 32px; border-radius: 6px; background: var(--dark); color: #fff; max-width: calc(1200px - 64px); }
@media (min-width: 900px) { .cta { grid-template-columns: 1.2fr 1fr; padding: 48px; } }
.cta p { opacity: .85; margin: 0; }
.cta__form { display: flex; gap: 12px; flex-wrap: wrap; }
.cta__form input { flex: 1 1 200px; min-width: 0; padding: 14px 20px; border: 0; border-radius: var(--radius); font: inherit; }

/* Footer */
.footer { background: var(--dark); color: #c9ccd1; padding: 56px 0 24px; }
.footer__grid { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.footer__text { margin-top: 16px; font-size: .9rem; max-width: 300px; }
.footer__title { color: #fff; font-size: 1rem; }
.footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .9rem; }
.footer__list a:hover { color: #fff; }
.footer__bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid #2c3647; font-size: .8rem; color: #8b8f96; }

/* Product page */
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; padding: 24px 0 8px; font-size: .9rem; color: var(--muted); }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs [aria-current] { color: var(--text); font-weight: 600; }
.product { padding: 16px 0 32px; }
.product__grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .product__grid { grid-template-columns: 1.1fr 1fr; align-items: start; } }
.gallery__main { position: relative; padding: 40px; background: var(--surface-alt); border-radius: 6px; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 12px; }
.thumb { padding: 8px; border: 2px solid transparent; border-radius: var(--radius); background: var(--surface-alt); cursor: pointer; }
.thumb--active { border-color: var(--accent); }
.product__title { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
.product__short { font-size: 1.05rem; color: var(--muted); }
.product__price { padding: 20px 0; margin: 8px 0 20px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stock { margin: 8px 0 0; color: #15803d; font-weight: 600; font-size: .9rem; }
.quick-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0 0 24px; }
.quick-specs div { padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.quick-specs dt { color: var(--muted); font-size: .8rem; }
.quick-specs dd { margin: 0; font-weight: 600; font-size: .95rem; }
.buy { display: flex; gap: 12px; flex-wrap: wrap; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.qty button { width: 44px; height: 48px; border: 0; background: none; font: inherit; font-size: 1.25rem; cursor: pointer; }
.qty input { width: 40px; border: 0; text-align: center; font: inherit; font-weight: 700; background: none; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button, .qty input::-webkit-outer-spin-button { -webkit-appearance: none; }
.buy .btn { flex: 1 1 160px; }
.perks { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 8px; color: var(--muted); font-size: .95rem; }

.details { display: grid; gap: 48px; }
@media (min-width: 900px) { .details { grid-template-columns: 1.4fr 1fr; } }
.details h2 { font-size: 1.5rem; margin-top: 8px; }
.details__main h2 + .prose, .details__main h2 + .checklist { margin-bottom: 36px; }
.prose p { font-size: 1.05rem; }
.checklist, .kit { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 32px; }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: 1px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 2px; background: var(--accent-soft); color: var(--accent); font-size: .75rem; font-weight: 800; }
.kit { margin-bottom: 0; }
.kit li { padding: 10px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); font-size: .95rem; }
.specs { width: 100%; border-collapse: collapse; margin-bottom: 36px; font-size: .95rem; }
.specs th, .specs td { padding: 12px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.specs th { width: 45%; padding-right: 16px; color: var(--muted); font-weight: 500; }
.specs td { font-weight: 600; }

.pager { display: flex; justify-content: space-between; gap: 16px; margin-top: 32px; font-weight: 700; color: var(--accent); }

.dev-notice { padding: 16px; border: 1px dashed #3a4558; border-radius: var(--radius); font-size: .9rem; }
.dev-notice b { display: block; color: #fff; margin-bottom: 4px; }
.cta__form input { border: 1px solid transparent; }
