:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-2: #f1f5f9;
  --text: #111827;
  --muted: #6b7280;
  --line: #e5e7eb;
  --primary: #2563eb;
  --primary-2: #06b6d4;
  --accent: #f97316;
  --dark: #111827;
  --dark-2: #1f2937;
  --radius: 24px;
  --shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(17, 24, 39, 0.92);
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}
.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  font-weight: 900;
}
.logo-text {
  letter-spacing: .04em;
}
.nav {
  display: flex;
  gap: 24px;
}
.nav a {
  color: rgba(255,255,255,0.88);
}

.hero {
  padding: 42px 0 20px;
}
.hero-box {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 26px;
  background:
    radial-gradient(circle at 20% 10%, rgba(37,99,235,.22), transparent 30%),
    radial-gradient(circle at 80% 30%, rgba(6,182,212,.16), transparent 28%),
    linear-gradient(135deg, #111827 0%, #1f2937 100%);
  color: #fff;
  border-radius: 32px;
  padding: 46px;
  box-shadow: var(--shadow);
}
.eyebrow,
.section-kicker {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--primary-2);
  margin-bottom: 12px;
}
.hero h1 {
  margin: 0 0 16px;
  font-size: 54px;
  line-height: 1.02;
}
.hero p {
  margin: 0 0 24px;
  font-size: 18px;
  color: rgba(255,255,255,.82);
  max-width: 700px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero-trust {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hero-trust span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.1);
  font-size: 14px;
}
.hero-wheel {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, #9ca3af 0 7%, #111827 7% 17%, #1f2937 17% 28%, #0f172a 28% 100%);
  box-shadow:
    inset 0 0 0 24px rgba(255,255,255,.05),
    0 40px 100px rgba(0,0,0,.35);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  border: 0;
  cursor: pointer;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
}
.btn-secondary {
  background: rgba(255,255,255,.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,.18);
}
.btn-secondary--dark {
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--line);
}

.home-section,
.catalog-page,
.product-page,
.admin-page {
  padding: 24px 0 60px;
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 18px;
}
.section-head h2 {
  margin: 0;
  font-size: 34px;
}

.picker-card,
.coming-card,
.seo-block,
.faq-card,
.filters-card,
.admin-card,
.catalog-hero__box,
.seo-text-card,
.product-gallery,
.product-info {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.picker-card {
  padding: 22px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.picker-card input,
.filters-form input,
.filters-form select,
.admin-form input,
.admin-form select {
  width: 100%;
  min-height: 48px;
  border-radius: 14px;
  border: 1px solid var(--line);
  padding: 0 14px;
  background: #fff;
  font: inherit;
}

.coming-card,
.seo-block,
.faq-card,
.catalog-hero__box,
.seo-text-card,
.admin-card {
  padding: 26px;
}

.size-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.size-chip {
  padding: 14px 18px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  font-weight: 700;
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.brand-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 22px;
  box-shadow: var(--shadow);
}
.brand-card__name {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 8px;
}
.brand-card__count {
  color: var(--muted);
}

.catalog-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 22px;
}
.filters-card {
  padding: 22px;
  position: sticky;
  top: 96px;
  align-self: start;
}
.filters-form h3 {
  margin: 0 0 18px;
  font-size: 24px;
}
.form-row {
  margin-bottom: 14px;
}
.form-row label {
  display: block;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 8px;
}
.form-row--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.filters-actions {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.catalog-toolbar {
  margin-bottom: 16px;
}
.catalog-count {
  font-size: 18px;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.product-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.product-card__image {
  background: #fff;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-card__body {
  padding: 18px;
}
.product-card__brand {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 8px;
}
.product-card__title {
  display: block;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 12px;
  min-height: 48px;
}
.product-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.chip {
  padding: 8px 10px;
  border-radius: 12px;
  background: var(--surface-2);
  font-size: 13px;
}
.product-card__price {
  font-size: 28px;
  font-weight: 900;
}

.product-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 28px;
}
.product-gallery,
.product-info {
  padding: 24px;
}
.product-gallery {
  display: grid;
  gap: 14px;
}
.product-brand {
  color: var(--muted);
  margin-bottom: 10px;
}
.product-info h1 {
  margin: 0 0 18px;
  font-size: 34px;
  line-height: 1.12;
}
.product-specs {
  display: grid;
  gap: 10px;
  color: #374151;
}
.product-price {
  margin-top: 24px;
  font-size: 34px;
  font-weight: 900;
}

.faq-list {
  display: grid;
  gap: 14px;
}
.faq-item p {
  margin: 8px 0 0;
  color: var(--muted);
}

.admin-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 20px;
}
.table-wrap {
  overflow: auto;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
}
.admin-table th,
.admin-table td {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.admin-table th {
  color: var(--muted);
  font-size: 13px;
}

.site-footer {
  padding: 32px 0 60px;
  color: var(--muted);
}
.footer-brand {
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
}

@media (max-width: 1080px) {
  .hero-box,
  .catalog-layout,
  .product-layout,
  .admin-grid,
  .brands-grid,
  .catalog-grid,
  .picker-card {
    grid-template-columns: 1fr;
  }

  .filters-card {
    position: static;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 38px;
  }

  .nav {
    display: none;
  }

  .section-head h2 {
    font-size: 28px;
  }

  .container {
    width: min(100% - 24px, 1280px);
  }
}

.flash-card {
  margin: 0 0 18px;
  padding: 14px 18px;
  border-radius: 16px;
  background: #ecfeff;
  border: 1px solid #a5f3fc;
}

.admin-actions-top {
  margin-bottom: 18px;
}

.btn-danger {
  background: #ef4444;
  color: #fff;
}

.breadcrumbs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--muted);
  margin-bottom: 18px;
}

.product-gallery__main {
  background: #fff;
  border-radius: 20px;
  padding: 20px;
  border: 1px solid var(--line);
}

.product-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.product-thumb {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  padding: 10px;
}

.product-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 18px;
}

.product-price-box {
  display: flex;
  align-items: end;
  gap: 14px;
  margin-bottom: 20px;
}

.product-old-price {
  font-size: 22px;
  color: var(--muted);
  text-decoration: line-through;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.product-sections {
  margin-top: 28px;
  display: grid;
  gap: 24px;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 0;
}

.pagination__item {
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  font-weight: 700;
}

.pagination__item.is-active {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  border-color: transparent;
}

.lead-form-card {
  margin-top: 22px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface-2);
}

.lead-form {
  display: grid;
  gap: 12px;
}

.lead-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

@media (max-width: 768px) {
  .lead-grid {
    grid-template-columns: 1fr;
  }
}

.admin-form textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--line);
  padding: 12px 14px;
  background: #fff;
  font: inherit;
  resize: vertical;
  min-height: 120px;
}