:root {
  --ink: #17202f;
  --muted: #667085;
  --line: #e6e9ef;
  --paper: #ffffff;
  --soft: #f5f7fb;
  --brand: #d89422;
  --brand-dark: #9d6410;
  --accent: #1769aa;
  --success: #1f8a5b;
  --danger: #c4342d;
  --radius: 8px;
  --shadow: 0 12px 36px rgba(23, 32, 47, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Be Vietnam Pro", Arial, sans-serif;
  color: var(--ink);
  background: var(--soft);
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }

.site-top {
  background: #111827;
  color: rgba(255,255,255,.78);
  font-size: 12px;
}
.site-top__inner, .site-header__inner, .site-nav__inner, .container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}
.site-top__inner {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.site-top strong { color: #fff; }

.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 40;
}
.site-header__inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 22px;
}
.brand-mark {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}
.brand-mark__symbol {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: var(--brand);
  font-weight: 800;
}
.brand-mark__text {
  font-weight: 800;
  letter-spacing: .02em;
  line-height: 1.1;
}
.brand-mark__text span {
  display: block;
  color: var(--brand);
  font-size: 12px;
  letter-spacing: .18em;
}

.site-search {
  flex: 1;
  display: flex;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}
.site-search input {
  width: 100%;
  border: 0;
  padding: 12px 14px;
  outline: 0;
}
.site-search button {
  border: 0;
  background: var(--brand);
  color: #fff;
  padding: 0 16px;
  cursor: pointer;
  font-weight: 700;
}
.header-cta {
  display: flex;
  gap: 10px;
  align-items: center;
}
.hotline-pill {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px 12px;
  line-height: 1.25;
  white-space: nowrap;
}
.hotline-pill span {
  display: block;
  color: var(--muted);
  font-size: 11px;
}
.hotline-pill strong { color: var(--danger); }

.site-nav {
  background: #fff;
  border-bottom: 3px solid var(--brand);
}
.site-nav__inner {
  display: flex;
  align-items: center;
  overflow-x: auto;
}
.site-nav a {
  padding: 13px 14px;
  font-size: 13px;
  font-weight: 700;
  color: #344054;
  white-space: nowrap;
}
.site-nav a.active, .site-nav a:hover { color: var(--brand-dark); }
.site-nav__spacer { flex: 1; }

.hero {
  background: linear-gradient(135deg, #101827 0%, #233047 58%, #151b26 100%);
  color: #fff;
}
.hero__inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 46px;
  align-items: center;
  min-height: 520px;
  padding: 54px 0;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #f7c873;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.hero h1 {
  margin: 14px 0 16px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.02;
  letter-spacing: 0;
}
.hero p {
  color: rgba(255,255,255,.78);
  font-size: 16px;
  max-width: 660px;
}
.hero__actions, .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}
.btn--brand { background: var(--brand); color: #171717; }
.btn--light { background: #fff; color: var(--ink); }
.btn--outline { background: transparent; border-color: rgba(255,255,255,.28); color: #fff; }
.btn--ghost { background: #fff; border-color: var(--line); color: var(--ink); }

.hero-panel {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 12px;
  padding: 18px;
}
.hero-panel__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.metric {
  background: rgba(255,255,255,.09);
  border-radius: var(--radius);
  padding: 16px;
}
.metric strong {
  display: block;
  font-size: 26px;
  color: #fff;
}
.metric span {
  display: block;
  color: rgba(255,255,255,.72);
  font-size: 12px;
}

.section {
  padding: 54px 0;
}
.section--white { background: #fff; }
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}
.section-head h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.15;
}
.section-head p {
  margin: 8px 0 0;
  color: var(--muted);
  max-width: 680px;
}

.category-grid, .trust-grid, .brand-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.info-card, .category-card, .brand-card, .product-card, .panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.category-card, .brand-card, .info-card {
  padding: 18px;
}
.category-card strong, .brand-card strong, .info-card strong {
  display: block;
  font-size: 16px;
  margin-bottom: 6px;
}
.category-card span, .brand-card span, .info-card span {
  color: var(--muted);
  font-size: 13px;
}
.brand-card img {
  height: 42px;
  object-fit: contain;
  margin-bottom: 12px;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 22px;
  align-items: start;
}
.filters {
  position: sticky;
  top: 112px;
  display: grid;
  gap: 12px;
}
.filter-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
}
.filter-box h3 {
  margin: 0 0 10px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.filter-box input, .filter-box select, .filter-box textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 11px;
}
.filter-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 6px;
  color: #344054;
  font-size: 13px;
}
.filter-link.active, .filter-link:hover {
  background: #fff5e2;
  color: var(--brand-dark);
}

.toolbar {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: space-between;
  margin-bottom: 14px;
}
.toolbar strong { color: var(--ink); }
.toolbar span { color: var(--muted); font-size: 13px; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.product-card {
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease;
}
.product-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.product-card__image {
  aspect-ratio: 4 / 3;
  background: #f3f5f8;
  display: grid;
  place-items: center;
  border-bottom: 1px solid var(--line);
}
.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
}
.product-card__body { padding: 14px; }
.product-card__meta {
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 6px;
}
.product-card h3 {
  margin: 0;
  font-size: 15px;
  line-height: 1.35;
}
.price {
  margin-top: 10px;
  color: var(--danger);
  font-weight: 800;
}
.product-card__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}
.product-card__actions .btn { min-height: 36px; font-size: 12px; padding: 8px; }

.product-detail {
  display: grid;
  grid-template-columns: 430px 1fr;
  gap: 28px;
  align-items: start;
}
.product-media {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}
.product-media__frame {
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  background: #f3f5f8;
  border-radius: var(--radius);
}
.product-media__frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 18px;
}
.product-copy {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.product-copy h1 {
  margin: 8px 0 10px;
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.12;
}
.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border-radius: 999px;
  background: #fff5e2;
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 800;
}
.variant-list {
  display: grid;
  gap: 8px;
  margin: 18px 0;
}
.variant-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 11px 12px;
}
.variant-row strong:last-child { color: var(--danger); }

.breadcrumb {
  padding: 14px 0;
  color: var(--muted);
  font-size: 13px;
}
.breadcrumb a { color: var(--accent); }

.content-page {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 22px;
}
.prose {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.prose h1 { margin-top: 0; font-size: clamp(28px, 4vw, 42px); }
.prose h2 { margin-top: 28px; }
.prose p, .prose li { color: #475467; }
.side-panel {
  display: grid;
  gap: 12px;
}

.footer {
  background: #101827;
  color: rgba(255,255,255,.72);
  padding: 42px 0 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 26px;
}
.footer h3, .footer h4 { color: #fff; margin-top: 0; }
.footer a { display: block; padding: 4px 0; color: rgba(255,255,255,.72); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  margin-top: 28px;
  padding-top: 16px;
  font-size: 12px;
}
.mobile-cta {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  grid-template-columns: 1fr 1fr;
}
.mobile-cta a {
  min-height: 48px;
  display: grid;
  place-items: center;
  font-weight: 800;
}
.mobile-cta a:first-child { background: var(--success); color: #fff; }
.mobile-cta a:last-child { background: var(--brand); color: #171717; }

.empty-state {
  background: #fff;
  border: 1px dashed #cfd5df;
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
}

@media (max-width: 980px) {
  .hero__inner, .product-detail, .content-page, .catalog-layout {
    grid-template-columns: 1fr;
  }
  .filters { position: static; }
  .category-grid, .trust-grid, .brand-grid, .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .header-cta { display: none; }
}
@media (max-width: 640px) {
  body { padding-bottom: 48px; }
  .site-top__inner { justify-content: center; text-align: center; }
  .site-top__inner span:last-child { display: none; }
  .site-header__inner { min-height: auto; padding: 12px 0; flex-wrap: wrap; }
  .site-search { flex-basis: 100%; }
  .site-nav a { padding: 11px 10px; font-size: 12px; }
  .hero__inner { min-height: auto; padding: 38px 0; gap: 24px; }
  .hero-panel__grid, .category-grid, .trust-grid, .brand-grid, .product-grid, .footer-grid {
    grid-template-columns: 1fr;
  }
  .section { padding: 38px 0; }
  .section-head { align-items: start; flex-direction: column; }
  .toolbar { align-items: stretch; flex-direction: column; }
  .product-card__actions { grid-template-columns: 1fr; }
  .mobile-cta { display: grid; }
}
