:root {
  --bg: oklch(99% 0.002 240);
  --surface: oklch(100% 0 0);
  --fg: oklch(18% 0.012 250);
  --muted: oklch(54% 0.012 250);
  --border: oklch(92% 0.005 250);
  --accent: oklch(58% 0.18 255);
  --accent-dark: oklch(48% 0.18 255);
  --success: oklch(52% 0.16 145);
  --danger: oklch(56% 0.19 25);
  --font-display:
    -apple-system, BlinkMacSystemFont, "SF Pro Display", system-ui, sans-serif;
  --font-body:
    -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
  --font-mono: "SF Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
}
a {
  color: var(--accent);
}
img {
  max-width: 100%;
  display: block;
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
}
.nav {
  max-width: 1280px;
  margin: 0 auto;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--fg);
  text-decoration: none;
}
.logo span {
  color: var(--accent);
}
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  color: var(--fg);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s;
}
.nav-links a:hover {
  color: var(--accent);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--fg);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s;
  font-family: var(--font-body);
}
.btn:hover {
  background: var(--bg);
}
.btn-primary {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}
.cart-btn {
  position: relative;
  padding: 10px 16px;
}
.cart-count {
  position: absolute;
  top: 6px;
  right: 6px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--accent);
  color: white;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 60px 24px;
}
.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 32px;
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.section-header a {
  font-size: 14px;
  color: var(--accent);
  text-decoration: none;
}

.hero {
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 24px 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-content h1 {
  font-family: var(--font-display);
  font-size: 56px;
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.hero-content p {
  font-size: 18px;
  color: var(--muted);
  max-width: 42ch;
  margin-bottom: 32px;
}
.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.stat-value {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 600;
  color: var(--accent);
}
.stat-label {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.hero-visual {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  aspect-ratio: 9/7;
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.categories {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.cat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  text-decoration: none;
  color: var(--fg);
  transition: all 0.15s;
}
.cat-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.cat-icon {
  width: 48px;
  height: 48px;
  background: var(--bg);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
}
.cat-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 6px;
}
.cat-card p {
  font-size: 14px;
  color: var(--muted);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: var(--fg);
  transition: all 0.15s;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}
.product-img {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 999px;
  background: var(--accent);
  color: white;
}
.product-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-brand {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.product-name {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  margin: 4px 0 8px;
}
.product-price {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 600;
  margin-top: auto;
}
.product-price span {
  font-size: 13px;
  color: var(--muted);
  font-weight: 400;
}
.add-btn {
  margin-top: 12px;
  width: 100%;
  padding: 10px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 8px;
  border: 1px solid var(--accent);
  background: transparent;
  color: var(--accent);
  cursor: pointer;
  transition: all 0.15s;
  font-family: var(--font-body);
}
.add-btn:hover {
  background: var(--accent);
  color: white;
}
.add-btn.added {
  background: var(--success);
  color: white;
  border-color: var(--success);
}

.layout-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 24px;
}
.page-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
}

.filters {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  height: fit-content;
  position: sticky;
  top: 90px;
}
.filters h3 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 16px;
}
.filter-group {
  margin-bottom: 24px;
}
.filter-group > label {
  display: block;
  font-size: 14px;
  margin-bottom: 8px;
}
.filter-group input[type="checkbox"] {
  margin-right: 8px;
  accent-color: var(--accent);
}
.filter-group select,
.filter-group input[type="text"] {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  background: var(--surface);
  font-family: var(--font-body);
}
.catalog-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
}
.catalog-main {
  min-width: 0;
}
.catalog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}
.catalog-header h1 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.catalog-header .meta {
  font-size: 14px;
  color: var(--muted);
}
.catalog-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.breadcrumbs {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 24px;
}
.breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
}
.breadcrumbs a:hover {
  color: var(--accent);
}

.product-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 48px;
}
.gallery {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-info h1 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 12px;
}
.brand-tag {
  font-size: 14px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 20px 0;
  flex-wrap: wrap;
}
.price {
  font-family: var(--font-mono);
  font-size: 36px;
  font-weight: 700;
}
.price-old {
  font-size: 20px;
  color: var(--muted);
  text-decoration: line-through;
}
.stock {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--success);
}
.stock::before {
  content: "●";
  font-size: 10px;
}
.variants {
  margin: 28px 0;
}
.variants h4,
.qty-row h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 12px;
}
.variant-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.variant-pill {
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.15s;
  background: var(--surface);
}
.variant-pill.active {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}
.qty-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 24px 0;
}
.qty-control {
  display: flex;
  border: 1px solid var(--border);
  border-radius: 8px;
}
.qty-control button {
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  font-size: 20px;
  cursor: pointer;
  color: var(--fg);
}
.qty-control input {
  width: 60px;
  border: none;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  font-family: var(--font-body);
}
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.actions .btn {
  flex: 1;
  padding: 16px;
  font-size: 15px;
  min-width: 160px;
}
.meta-list {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted);
}
.meta-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  gap: 16px;
}
.meta-row span:last-child {
  color: var(--fg);
  text-align: right;
}

.related {
  margin-top: 60px;
}
.related h3 {
  font-family: var(--font-display);
  font-size: 22px;
  margin-bottom: 24px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.related-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: var(--fg);
  transition: all 0.15s;
}
.related-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
}
.related-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.related-body {
  padding: 14px;
}
.related-name {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}
.related-price {
  font-family: var(--font-mono);
  font-size: 15px;
  margin-top: 4px;
}

.cart-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
}
.cart-items {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.cart-item {
  display: flex;
  padding: 20px;
  border-bottom: 1px solid var(--border);
  gap: 20px;
}
.cart-item:last-child {
  border-bottom: none;
}
.item-img {
  width: 96px;
  height: 72px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg);
}
.item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.item-body {
  flex: 1;
  min-width: 0;
}
.item-name {
  font-weight: 600;
  font-size: 15px;
  line-height: 1.4;
}
.item-brand {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.item-price {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 600;
  margin-top: 8px;
}
.item-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.qty-control.compact button {
  width: 32px;
  height: 32px;
  font-size: 16px;
}
.qty-control.compact input {
  width: 44px;
  font-size: 14px;
}
.remove-btn {
  color: var(--danger);
  font-size: 13px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 8px;
  font-family: var(--font-body);
}
.item-sum {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 600;
  text-align: right;
  min-width: 90px;
  align-self: flex-start;
}
.summary {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  height: fit-content;
  position: sticky;
  top: 90px;
}
.summary h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 20px;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  padding: 8px 0;
}
.summary-row.total {
  font-weight: 700;
  font-size: 18px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
  margin-top: 8px;
}
.summary .btn {
  width: 100%;
  padding: 14px;
  margin-top: 20px;
  font-size: 15px;
}
.empty-state {
  text-align: center;
  padding: 80px 20px;
  color: var(--muted);
}
.empty-state h3 {
  font-size: 20px;
  color: var(--fg);
  margin-bottom: 8px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
}
.card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
}
.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}
.contact-row:last-child {
  margin-bottom: 0;
}
.contact-icon {
  width: 36px;
  flex-shrink: 0;
  font-size: 20px;
}
.contact-label {
  font-size: 13px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.contact-value {
  font-size: 16px;
  font-weight: 500;
}
.contact-value a {
  color: var(--fg);
  text-decoration: none;
}
.about-text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--fg);
}
.about-text p {
  margin-bottom: 16px;
}
.map-placeholder {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
  padding: 20px;
}

.prose {
  max-width: 820px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.75;
  color: var(--fg);
}
.prose h2 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 32px 0 12px;
}
.prose h2:first-child {
  margin-top: 0;
}
.prose h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 24px 0 8px;
}
.prose p {
  margin-bottom: 14px;
}
.prose ul {
  margin: 0 0 16px 20px;
}
.prose li {
  margin-bottom: 6px;
}

.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 48px 24px 32px;
  margin-top: 80px;
}
.footer-content {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
}
.footer-col h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  color: var(--fg);
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 8px;
}
.footer-col a:hover {
  color: var(--accent);
}
.footer-col p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
}
.footer-bottom {
  max-width: 1280px;
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--muted);
  flex-wrap: wrap;
  gap: 12px;
}

.cookie-banner {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  max-width: 1100px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  padding: 18px 22px;
  display: none;
  align-items: center;
  gap: 16px;
  z-index: 1000;
  flex-wrap: wrap;
}
.cookie-banner.show {
  display: flex;
}
.cookie-text {
  flex: 1;
  min-width: 240px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}
.cookie-text a {
  color: var(--accent);
}
.cookie-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--fg);
  color: white;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 14px;
  display: none;
  align-items: center;
  gap: 8px;
  z-index: 1100;
}
.toast.show {
  display: flex;
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 48px 20px;
  }
  .hero-content h1 {
    font-size: 40px;
  }
  .categories,
  .product-grid,
  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .catalog-grid {
    grid-template-columns: 1fr;
  }
  .filters {
    position: static;
  }
  .catalog-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .product-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .cart-layout {
    grid-template-columns: 1fr;
  }
  .summary {
    position: static;
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none;
  }
  .section {
    padding: 40px 20px;
  }
  .layout-main {
    padding: 28px 16px;
  }
}
@media (max-width: 560px) {
  .hero-content h1 {
    font-size: 32px;
  }
  .categories,
  .product-grid,
  .related-grid,
  .catalog-list {
    grid-template-columns: 1fr;
  }
  .actions .btn {
    min-width: 100%;
  }
  .footer-content {
    flex-direction: column;
  }
}

.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review-card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.review-stars { color: #f59e0b; font-size: 15px; letter-spacing: 2px; }
.review-text { font-size: 14px; line-height: 1.6; color: var(--fg); flex: 1; }
.review-author { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.review-avatar { width: 36px; height: 36px; border-radius: 999px; background: var(--bg); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--accent); }
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; margin-bottom: 12px; overflow: hidden; }
.faq-item summary { padding: 18px 22px; font-size: 15px; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 22px; color: var(--accent); font-weight: 400; line-height: 1; }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { padding: 0 22px 18px; font-size: 14px; line-height: 1.7; color: var(--muted); }
.trust-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.trust-item { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 20px; text-align: center; }
.trust-icon { font-size: 26px; margin-bottom: 8px; color: var(--accent); }
.trust-title { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.trust-sub { font-size: 12px; color: var(--muted); }
@media (max-width: 960px) { .reviews { grid-template-columns: 1fr; } .trust-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .trust-row { grid-template-columns: 1fr 1fr; } }
.prose h1 { font-family: var(--font-display); font-size: 30px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 16px; }
