:root {
  --bg: #f6f7f8;
  --surface: #ffffff;
  --surface-soft: #fafafa;
  --border: #e4e7eb;
  --text: #17191c;
  --muted: #68707b;
  --primary: #111111;
  --primary-2: #2d2f33;
  --shadow: 0 18px 45px rgba(17, 17, 17, 0.06);
  --shadow-soft: 0 10px 25px rgba(17, 17, 17, 0.04);
  --radius: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --container: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, Arial, Helvetica, sans-serif;
  line-height: 1.65;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { letter-spacing: -0.03em; line-height: 1.06; margin: 0; }
p { margin: 0; }
.container { width: min(var(--container), calc(100% - 32px)); margin: 0 auto; }
.site-main { min-height: 72vh; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid rgba(17,17,17,.06);
  backdrop-filter: blur(14px);
}
.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 16px;
  min-height: 84px;
}
.brand-wrap { display: flex; align-items: center; gap: 14px; }
.site-logo img { width: 44px; height: 44px; object-fit: contain; }
.site-title { font-size: 1.1rem; font-weight: 800; }
.site-tagline { font-size: .88rem; color: var(--muted); margin-top: 2px; }
.main-nav { justify-self: center; }
.menu-list,
.mobile-menu-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0;
  margin: 0;
}
.menu-list a,
.mobile-menu-list a {
  color: var(--primary-2);
  font-weight: 600;
  font-size: .96rem;
}
.menu-list a:hover,
.mobile-menu-list a:hover { color: var(--primary); }
.mobile-toggle,
.mobile-menu { display: none; }
.desktop-only { display: inline-flex; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  border-radius: 999px;
  padding: 0 20px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  color: #fff;
  background: var(--primary);
  box-shadow: var(--shadow-soft);
}
.btn-primary:hover { background: #000; }
.btn-secondary,
.btn-reset {
  background: #fff;
  color: var(--text);
  border-color: var(--border);
}
.btn-secondary:hover,
.btn-reset:hover { border-color: #cbd1d8; }
.mobile-full { width: 100%; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-section {
  padding: 36px 0 20px;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 28px;
  align-items: stretch;
}
.hero-copy,
.hero-visual,
.catalog-toolbar,
.quick-link-card,
.product-card,
.empty-state,
.archive-hero-inner,
.single-product-image,
.single-product-content,
.page-content-wrap article,
.default-post-card,
.catalog-search,
.value-strip,
.archive-toolbar,
.term-pills.top-return-pill {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}
.hero-copy {
  padding: clamp(28px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-copy h1 {
  font-size: clamp(2.3rem, 5vw, 4.25rem);
  max-width: 760px;
  margin: 14px 0 16px;
}
.hero-copy p {
  max-width: 640px;
  color: var(--muted);
  font-size: 1.04rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
.hero-points {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hero-points li {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  color: var(--primary-2);
  font-weight: 600;
  font-size: .92rem;
}
.hero-visual {
  overflow: hidden;
  min-height: 560px;
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.catalog-toolbar-section,
.quick-links-section,
.product-section,
.archive-content,
.single-product-section,
.page-content-wrap,
.category-section,
.value-strip-section { padding: 18px 0 46px; }
.catalog-toolbar {
  display: grid;
  grid-template-columns: 1fr 1fr 1.35fr auto;
  gap: 14px;
  padding: 16px;
  align-items: end;
}
.archive-toolbar {
  grid-template-columns: 1.5fr 1fr 1fr auto auto;
  margin-bottom: 18px;
}
.toolbar-group {
  display: grid;
  gap: 8px;
}
.toolbar-group label {
  color: var(--muted);
  font-weight: 700;
  font-size: .86rem;
}
.toolbar-group input,
.toolbar-group select {
  width: 100%;
  min-height: 52px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #fff;
  padding: 0 16px;
  color: var(--text);
  font-size: .97rem;
  outline: none;
}
.toolbar-group input:focus,
.toolbar-group select:focus {
  border-color: #b8c0ca;
  box-shadow: 0 0 0 4px rgba(17,17,17,.04);
}
.toolbar-search { min-width: 0; }

.quick-links-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.quick-link-card {
  padding: 20px;
  min-height: 118px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.quick-link-card span {
  font-size: .82rem;
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.quick-link-card strong {
  font-size: 1.16rem;
  font-weight: 800;
}
.quick-link-card:hover { transform: translateY(-2px); }

.section-heading {
  margin-bottom: 22px;
}
.section-heading-between {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}
.section-heading h2 {
  font-size: clamp(1.7rem, 3vw, 2.8rem);
  margin-bottom: 8px;
}
.section-heading p { color: var(--muted); max-width: 760px; }
.link-more {
  font-weight: 700;
  color: var(--primary);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.product-card {
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease;
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.product-card-image {
  position: relative;
  display: block;
  aspect-ratio: 4 / 4.4;
  overflow: hidden;
  background: #f1f2f4;
}
.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.product-card:hover .product-card-image img { transform: scale(1.03); }
.image-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: end;
  justify-content: start;
  padding: 18px;
  background: linear-gradient(180deg, #eef1f5 0%, #dfe5ec 100%);
}
.image-fallback span {
  display: inline-flex;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(17,17,17,.06);
  font-weight: 700;
}
.product-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.94);
  color: var(--text);
  border: 1px solid rgba(17,17,17,.08);
  font-size: .78rem;
  font-weight: 800;
}
.product-card-body { padding: 18px; }
.card-top-meta,
.product-meta-row,
.active-filter-note {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.mini-meta,
.meta-chip,
.active-filter-note span,
.term-pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 11px;
  border-radius: 999px;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  font-size: .78rem;
  font-weight: 700;
  color: var(--primary-2);
}
.mini-meta.alt { background: #f4f6f8; }
.product-card h3 {
  font-size: 1.15rem;
  margin: 14px 0 10px;
}
.product-subtitle {
  color: var(--primary-2);
  font-weight: 600;
  margin-bottom: 8px;
}
.product-subtitle.large {
  font-size: 1.05rem;
  margin-top: 12px;
}
.product-excerpt,
.entry-content,
.section-heading p,
.archive-hero p,
.single-note,
.site-footer p,
.default-post-card p,
.empty-state p { color: var(--muted); }
.product-card-actions,
.single-actions,
.footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.product-card-actions { margin-top: 18px; }
.product-card-actions .btn,
.single-actions .btn { flex: 1; }

.archive-hero { padding: 22px 0 8px; }
.archive-hero-inner {
  padding: 26px 28px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
}
.archive-hero h1 { font-size: clamp(2rem, 4vw, 3.3rem); margin: 12px 0 10px; }
.active-filter-note { margin: 0 0 20px; }

.empty-state {
  padding: 38px 24px;
  text-align: center;
}
.empty-state h3 {
  margin-bottom: 10px;
  font-size: 1.35rem;
}
.idea-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.idea-pagination .page-numbers {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border);
  font-weight: 700;
}
.idea-pagination .current {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.single-product-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 24px;
}
.single-product-image,
.single-product-content {
  overflow: hidden;
}
.single-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 640px;
}
.single-product-content {
  padding: clamp(24px, 4vw, 40px);
}
.single-topbar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 18px;
}
.single-label {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .79rem;
  font-weight: 800;
}
.single-product-content h1 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}
.meta-stack-grid {
  display: grid;
  gap: 16px;
  margin: 22px 0;
}
.meta-title {
  display: inline-block;
  font-size: .84rem;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 8px;
}
.entry-content {
  display: grid;
  gap: 14px;
  margin-top: 6px;
}
.single-note {
  margin: 22px 0 0;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: var(--surface-soft);
  border: 1px solid var(--border);
}
.single-actions { margin-top: 22px; }

.value-strip {
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.value-strip strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
}
.value-strip span { color: var(--muted); }

.page-content-wrap article,
.default-post-card {
  padding: 28px;
}
.term-pills.top-return-pill {
  padding: 14px;
  margin-bottom: 18px;
}
.filter-groups,
.compact-heading,
.filter-group,
.filter-label,
.minimal-pills,
.showroom-placeholder,
.showroom-block,
.showroom-row,
.hero-notes { display: none; }

.site-footer {
  border-top: 1px solid rgba(17,17,17,.06);
  background: #fff;
}
.footer-inner {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer-inner strong { display: block; margin-bottom: 6px; }
.footer-actions a {
  color: var(--primary-2);
  font-weight: 700;
}

@media (max-width: 1100px) {
  .catalog-toolbar,
  .archive-toolbar,
  .product-grid,
  .quick-links-grid,
  .value-strip,
  .single-product-grid,
  .hero-grid { grid-template-columns: 1fr 1fr; }
  .archive-toolbar { grid-template-columns: 1fr 1fr; }
  .archive-toolbar .btn,
  .archive-toolbar .btn-reset { width: 100%; }
  .main-nav { display: none; }
  .mobile-toggle {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: #fff;
    cursor: pointer;
    font-size: 1.15rem;
  }
  .mobile-menu {
    display: none;
    padding: 0 16px 16px;
    border-top: 1px solid rgba(17,17,17,.06);
    background: #fff;
  }
  .mobile-menu.is-open { display: grid; gap: 14px; }
  .mobile-menu-list {
    display: grid;
    gap: 12px;
    padding-top: 14px;
  }
}

@media (max-width: 760px) {
  .container { width: min(var(--container), calc(100% - 20px)); }
  .header-inner { grid-template-columns: 1fr auto auto; min-height: 74px; }
  .site-tagline,
  .desktop-only { display: none; }
  .hero-grid,
  .catalog-toolbar,
  .archive-toolbar,
  .quick-links-grid,
  .product-grid,
  .single-product-grid,
  .value-strip { grid-template-columns: 1fr; }
  .hero-visual { min-height: 360px; }
  .archive-hero-inner,
  .section-heading-between,
  .footer-inner {
    flex-direction: column;
    align-items: start;
  }
  .single-product-image img { min-height: 360px; }
  .product-card-actions .btn,
  .single-actions .btn { width: 100%; }
}
