:root {
  --bg: #f6f6f6;
  --bg-card: #ffffff;
  --text: #161616;
  --muted: #6b7280;
  --line: #e8e8e8;
  --blue: #3649f8;
  --blue-hover: #2a3ae0;
  --blue-soft: #eef0ff;
  --radius-btn: 12px;
  --radius-card: 20px;
  --shadow: 0 4px 24px rgba(22, 22, 22, 0.06);
  --shadow-hover: 0 8px 28px rgba(54, 73, 248, 0.12);
  --container: min(1180px, calc(100% - 2rem));
  --font: "Segoe UI", system-ui, sans-serif;
  --header-h: 64px;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-hover); }
img { max-width: 100%; height: auto; display: block; }
.container { width: var(--container); margin-inline: auto; }
.muted { color: var(--muted); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246, 246, 246, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand { color: inherit; }
.brand-lockup { display: inline-flex; align-items: center; gap: 0.65rem; }
.brand-lockup--sm .brand-mark img { width: 44px; height: 44px; }
.brand-text { font-weight: 700; font-size: 1.05rem; }
.nav { display: flex; gap: 1rem; flex-wrap: wrap; }
.nav a { color: var(--text); font-weight: 500; }
.nav a:hover, .nav a.is-active { color: var(--blue); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: var(--blue);
  color: #fff !important;
  border: 0;
  border-radius: var(--radius-btn);
  padding: 0.7rem 1.1rem;
  font-weight: 600;
  cursor: pointer;
}
.btn:hover { background: var(--blue-hover); }
.btn-lg { padding: 0.9rem 1.35rem; font-size: 1.02rem; }
.btn-ghost {
  background: transparent;
  color: var(--blue) !important;
  border: 1px solid var(--line);
}
.btn-ghost:hover { background: var(--blue-soft); }

.page-hero { padding: 1.5rem 0 0.5rem; }
.page-hero h1 { margin: 0 0 0.5rem; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.lead { margin: 0; color: var(--muted); max-width: 42rem; }
.section { padding: 1.75rem 0; }
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.section h2 { margin: 0; font-size: 1.35rem; }
.panel {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  padding: 1.25rem 1.2rem;
  box-shadow: var(--shadow);
}

.breadcrumbs { padding: 1rem 0 0; font-size: 0.9rem; }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.35rem; }
.breadcrumbs li:not(:last-child)::after { content: "·"; margin-left: 0.35rem; color: var(--muted); }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs span { color: var(--text); }

.grid { display: grid; gap: 1rem; }
.grid-cats { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.grid-products { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }

.cat-card {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  background: var(--bg-card);
  border-radius: var(--radius-card);
  padding: 1.1rem;
  box-shadow: var(--shadow);
  color: inherit;
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}
.cat-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); color: inherit; }
.cat-card img { width: 56px; height: 56px; object-fit: cover; border-radius: 14px; }
.cat-card__letter {
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--blue-soft); color: var(--blue);
  display: grid; place-items: center; font-weight: 700; flex-shrink: 0;
}
.cat-card h3 { margin: 0 0 0.25rem; font-size: 1.05rem; }
.cat-card p { margin: 0; color: var(--muted); font-size: 0.92rem; }

.product-card {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  padding: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.product-card__link { color: inherit; display: grid; gap: 0.75rem; }
.product-card__media {
  aspect-ratio: 4/3;
  background: var(--blue-soft);
  border-radius: 14px;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.product-card__media img { width: 100%; height: 100%; object-fit: cover; }
.product-card__cat { margin: 0; color: var(--muted); font-size: 0.85rem; }
.product-card h3 { margin: 0.15rem 0 0.35rem; font-size: 1.05rem; }
.product-card p { margin: 0; color: var(--muted); font-size: 0.92rem; }
.product-card__price { color: var(--text) !important; font-weight: 700; margin-top: 0.4rem !important; }

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
}
.product-media img { width: 100%; border-radius: 12px; }
.product-media__empty {
  aspect-ratio: 4/3;
  display: grid;
  place-items: center;
  color: var(--muted);
  background: var(--blue-soft);
  border-radius: 12px;
}
.product-info h1 { margin: 0.2rem 0 0.5rem; font-size: clamp(1.5rem, 3vw, 2rem); }
.product-price { font-size: 1.35rem; font-weight: 700; margin: 0.4rem 0; }
.feature-list { margin: 1rem 0; padding-left: 1.1rem; }
.feature-list li { margin: 0.35rem 0; }
.product-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.1rem; }
.product-body p { margin: 0 0 0.85rem; }

.lead-form__title { margin: 0 0 0.35rem; font-size: 1.25rem; }
.lead-form__hint { margin: 0 0 1rem; color: var(--muted); }
.lead-form__form { display: grid; gap: 0.85rem; }
.field { display: grid; gap: 0.35rem; font-weight: 600; font-size: 0.92rem; }
.field input, .field select, .field textarea {
  font: inherit;
  font-weight: 400;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.7rem 0.85rem;
  background: #fff;
}
.check { display: flex; gap: 0.55rem; align-items: flex-start; font-size: 0.9rem; font-weight: 400; }
.lead-form__error { color: #b42318; margin: 0; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }

.site-footer {
  margin-top: 2rem;
  padding: 2rem 0 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 0.85rem; }

@media (max-width: 800px) {
  .nav { display: none; }
  .product-layout { grid-template-columns: 1fr; }
}
