:root {
  --ink: #1c1c1c;
  --muted: #6b6b6b;
  --border: #e7e3dd;
  --bg: #ffffff;
  --bg-subtle: #faf8f5;
  --accent: #8a5a3b;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
}

a { color: inherit; }

.site-topbar {
  background: var(--ink);
  color: #fff;
}

.site-topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 20px;
  font-size: 12px;
  gap: 12px;
  flex-wrap: wrap;
}

.site-topbar-trustpilot {
  text-decoration: none;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.site-topbar-trustpilot .bk-stars {
  color: #00b67a;
  letter-spacing: 1px;
}

.site-header {
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 10;
}

.site-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 14px 20px;
  flex-wrap: wrap;
}

.site-logo img { height: 34px; }

.site-nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  flex: 1;
}

.nav-link {
  text-decoration: none;
  font-size: 14px;
  color: var(--ink);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

.nav-link:hover, .nav-link.active {
  border-bottom-color: var(--accent);
}

.site-header-icons {
  display: flex;
  gap: 6px;
}

.icon-btn {
  width: 34px;
  height: 34px;
  border: none;
  background: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ink);
}

.icon-btn:hover { background: var(--bg-subtle); }

.icon-btn svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.site-usp-bar {
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border);
}

.site-usp-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 9px 20px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
}

.site-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 20px 80px;
  min-height: 60vh;
}

.hero {
  background-size: cover;
  background-position: center;
  border-radius: 16px;
  padding: 56px 40px;
  margin-bottom: 32px;
  min-height: 260px;
  display: flex;
  align-items: center;
}

.hero-copy { max-width: 480px; }
.hero h1 { font-size: 32px; margin: 0 0 10px; line-height: 1.15; }
.hero p { color: var(--muted); margin: 0 0 18px; }

.hero-cta {
  display: inline-block;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 999px;
}

.hero-cta:hover { background: var(--accent); }

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
  margin-bottom: 40px;
}

.category-tile {
  position: relative;
  display: flex;
  align-items: flex-end;
  height: 130px;
  background-color: var(--bg-subtle);
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  text-decoration: none;
  overflow: hidden;
}

.category-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55), rgba(0,0,0,0) 60%);
}

.category-tile span {
  position: relative;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  padding: 12px;
}

.section { margin-bottom: 40px; }
.section h2 { font-size: 22px; margin-bottom: 16px; }

.page-title { font-size: 26px; margin-bottom: 20px; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 18px;
}

.product-card {
  display: block;
  text-decoration: none;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg);
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.product-card:hover {
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

.product-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  background: var(--bg-subtle);
}

.product-card-body { padding: 10px 12px 14px; }

.product-card-title {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card-price { font-size: 14px; font-weight: 600; color: var(--accent); }
.price-was { font-weight: 400; color: var(--muted); text-decoration: line-through; margin-left: 6px; font-size: 12px; }

.breadcrumbs { font-size: 13px; color: var(--muted); margin-bottom: 18px; }

.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.product-detail-media img {
  width: 100%;
  border-radius: 12px;
  background: var(--bg-subtle);
}

.no-image {
  width: 100%;
  height: 320px;
  background: var(--bg-subtle);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
}

.product-detail-info h1 { font-size: 24px; margin: 0 0 12px; }
.product-detail-price { font-size: 22px; font-weight: 700; color: var(--accent); margin-bottom: 8px; }
.product-detail-stock { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.product-detail-description { line-height: 1.6; margin-bottom: 24px; }

.specs-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.specs-table th, .specs-table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--border); }
.specs-table th { color: var(--muted); font-weight: 500; width: 40%; }

.cms-content h1 { font-size: 26px; margin-bottom: 20px; }
.cms-content { line-height: 1.7; max-width: 820px; }

.site-footer {
  border-top: 1px solid var(--border);
  padding: 30px 20px;
  background: var(--bg-subtle);
}

.site-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 13px;
}

.site-footer-inner a { text-decoration: none; color: var(--muted); }
.site-footer-inner a:hover { color: var(--ink); }

.site-footer-note {
  max-width: 1200px;
  margin: 16px auto 0;
  font-size: 11px;
  color: var(--muted);
}

@media (max-width: 720px) {
  .product-detail { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .site-header-inner {
    gap: 12px;
  }

  .site-nav {
    order: 3;
    flex-basis: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 16px;
    padding-bottom: 2px;
    -webkit-overflow-scrolling: touch;
  }

  .nav-link {
    white-space: nowrap;
  }

  .site-header-icons {
    margin-left: auto;
  }

  .hero {
    padding: 32px 22px;
    min-height: 200px;
  }

  .hero h1 { font-size: 24px; }

  .site-topbar-inner {
    justify-content: center;
  }

  .site-topbar-inner span:first-child {
    display: none;
  }
}
