/* ===== REVA Acoustic — shared styles ===== */

:root {
  --ink: #0d0f0c;
  --ink-soft: #15180f;
  --paper: #f7f7f4;
  --paper-dim: #ececea;
  --line: #27291f;
  --muted: #8a8c82;
  --green: #7bc143;
  --yellow: #e8d21c;
  --gradient: linear-gradient(100deg, #6fbf3b 0%, #a7d32f 45%, #f0e01c 100%);
  --radius: 14px;
  --max: 1400px;
  --shadow: 0 20px 50px -25px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

@media (min-width: 861px) {
  html {
    scrollbar-gutter: stable both-edges;
  }
}

body {
  margin: 0;
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.floating-whatsapp {
  position: fixed;
  right: 24px;
  bottom: 88px;
  z-index: 1000;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 52px;
  padding: 0 18px 0 14px;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  box-shadow: 0 10px 26px rgba(18, 85, 45, 0.24);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.floating-whatsapp:hover,
.floating-whatsapp:focus-visible {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(18, 85, 45, 0.32);
}

.floating-whatsapp svg {
  width: 25px;
  height: 25px;
  fill: currentColor;
}

@media (max-width: 600px) {
  .floating-whatsapp {
    right: 16px;
    bottom: 78px;
    width: 52px;
    height: 52px;
    min-height: 52px;
    padding: 0;
    justify-content: center;
  }

  .floating-whatsapp span {
    display: none;
  }
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
  font-weight: 600;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--gradient);
  color: #111;
}

.btn-primary:hover {
  box-shadow: 0 10px 24px -8px rgba(123, 193, 67, 0.65);
}

.btn-dark {
  background: var(--ink);
  color: var(--paper);
}

.btn-dark:hover {
  opacity: 0.85;
}

.btn-outline {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}

.btn-outline:hover {
  background: var(--ink);
  color: var(--paper);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.82rem;
}

.btn-block {
  width: 100%;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(13, 15, 12, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid #1f2116;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand img {
  height: 36px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-links a {
  color: #d7d8cf;
  font-size: 0.92rem;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background: var(--gradient);
  border-radius: 2px;
}

.nav-product-menu {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.nav-product-trigger span {
  display: inline-block;
  margin-left: 4px;
  font-size: 0.9em;
  transition: transform 0.2s ease;
}

.nav-product-menu:hover .nav-product-trigger span,
.nav-product-menu:focus-within .nav-product-trigger span,
.nav-product-menu.open .nav-product-trigger span {
  transform: rotate(180deg);
}

.nav-product-dropdown {
  position: absolute;
  top: calc(100% + 1px);
  left: 50%;
  width: min(680px, calc(100vw - 32px));
  display: grid;
  grid-template-columns: 190px 1fr;
  background: #171a12;
  border: 1px solid #303426;
  border-top: 2px solid #a7d32f;
  border-radius: 0 0 14px 14px;
  box-shadow: 0 24px 45px -20px rgba(0, 0, 0, 0.75);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, -8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  overflow: hidden;
}

.nav-product-menu:hover .nav-product-dropdown,
.nav-product-menu:focus-within .nav-product-dropdown,
.nav-product-menu.open .nav-product-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.nav-product-intro {
  padding: 26px 22px;
  background: #20251a;
  border-right: 1px solid #303426;
}

.nav-product-intro .eyebrow {
  color: #a7d32f;
  font-size: 0.62rem;
  margin-bottom: 14px;
}

.nav-product-intro strong {
  display: block;
  color: #fff;
  font-size: 1.05rem;
  line-height: 1.25;
  margin-bottom: 22px;
}

.nav-product-intro a {
  color: #d9e8b3;
  font-size: 0.78rem;
}

.nav-product-intro a:hover {
  color: #fff;
}

.nav-product-list {
  padding: 22px 24px 24px;
  max-height: min(560px, calc(100vh - 110px));
  overflow-y: auto;
}

.nav-product-label {
  display: block;
  color: #9ea092;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.nav-series-menu-block + .nav-series-menu-block {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #303426;
}

.nav-series-menu-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.nav-series-menu-heading small,
.nav-series-badge {
  color: #a7d32f;
  font-size: 0.68rem;
  font-weight: 500;
}

.nav-series-menu-block.is-coming-soon p {
  color: #858879;
  font-size: 0.76rem;
  margin: 0;
}

.nav-series-category + .nav-series-category {
  margin-top: 12px;
}

.nav-series-category-label {
  display: block;
  color: #858879;
  font-size: 0.63rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.nav-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px 8px;
}

.nav-product-grid a {
  color: #d7d8cf;
  font-size: 0.82rem;
  padding: 8px 10px;
  border-radius: 6px;
  transition: background 0.15s ease, color 0.15s ease;
}

.nav-product-grid a:hover,
.nav-product-grid a:focus-visible {
  color: #111;
  background: var(--gradient);
}

.nav-product-code {
  display: inline-block;
  min-width: 28px;
  font-size: 0.7rem;
  color: #a7d32f;
  margin-right: 4px;
}

.nav-product-name {
  font-size: 0.76rem;
}

.series-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  justify-content: center;
}

.upcoming-finish-pill,
.upcoming-finish-note {
  color: var(--muted);
  font-size: 0.78rem;
  font-style: italic;
}

.upcoming-finish-pill {
  display: inline-flex;
  align-items: center;
  padding: 9px 13px;
  border: 1px dashed #cfcfc7;
  border-radius: 999px;
  white-space: nowrap;
}

.upcoming-finish-note {
  margin: 10px 0 0;
}

.series-tab {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #454a3a;
  background: transparent;
  color: #d7d8cf;
  border-radius: 999px;
  padding: 9px 15px;
  cursor: pointer;
  text-align: left;
  min-width: 148px;
  justify-content: center;
}

.series-tab small {
  color: #9ea092;
  font-size: 0.7rem;
}

.series-tab.active {
  background: #fff;
  border-color: #fff;
  color: var(--ink);
}

.series-tab.active small {
  color: #64685b;
}

.coming-soon-panel {
  max-width: 620px;
  margin: 0 auto;
  padding: 54px 28px;
  text-align: center;
  background: #fff;
  border: 1px solid #e2e2db;
  border-radius: var(--radius);
}

.coming-soon-panel .eyebrow {
  color: var(--green);
}

.coming-soon-panel h2 {
  margin: 0 0 8px;
}

.coming-soon-panel p {
  margin: 0;
  color: var(--muted);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid #333527;
  border-radius: 8px;
  color: #fff;
  padding: 8px 10px;
  font-size: 1.1rem;
  cursor: pointer;
}

.quote-cta-wrap {
  position: relative;
}

.quote-callout {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  width: 240px;
  background: var(--ink);
  color: #fff;
  padding: 14px 32px 14px 16px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  z-index: 60;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.quote-callout.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.quote-callout::before {
  content: '';
  position: absolute;
  top: -6px;
  right: 28px;
  width: 12px;
  height: 12px;
  background: var(--ink);
  transform: rotate(45deg);
}

.quote-callout p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: #e4e5de;
}

.quote-callout-close {
  position: absolute;
  top: 6px;
  right: 8px;
  background: none;
  border: none;
  color: #9ea092;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px;
}

.quote-callout-close:hover {
  color: #fff;
}

@media (max-width: 860px) {
  .nav-links {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: #0d0f0c;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    border-bottom: 1px solid #1f2116;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }
  .nav-links.open {
    max-height: calc(100vh - 76px);
    overflow-y: auto;
    overflow-x: hidden;
  }
  .nav-links a {
    width: 100%;
    padding: 16px 24px;
    border-bottom: 1px solid #1a1c13;
  }
  .nav-product-menu {
    width: 100%;
    height: auto;
    display: block;
  }
  .nav-product-trigger {
    display: block;
  }
  .nav-product-dropdown {
    position: static;
    width: 100%;
    display: none;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    border: 0;
    border-top: 1px solid #303426;
    border-radius: 0;
    box-shadow: none;
  }
  .nav-product-menu.open .nav-product-dropdown,
  .nav-product-menu:focus-within .nav-product-dropdown {
    display: grid;
    transform: none;
  }
  .nav-product-intro {
    display: none;
  }
  .nav-product-list {
    padding: 14px 24px 18px;
    max-height: none;
    overflow: visible;
  }
  .nav-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 10px;
  }
  .nav-product-grid a {
    width: auto;
    padding: 8px 10px;
    border-bottom: 0;
    min-width: 0;
    line-height: 1.25;
  }
  .nav-product-code {
    min-width: 26px;
  }
  .nav-toggle {
    display: inline-block;
  }
  .brand img {
    height: 26px;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  padding: 0;
}

.hero-media {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: stretch;
}

.hero-media img.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  opacity: 0.95;
}

.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 11, 8, 0.22);
}

.hero-logo-card {
  position: relative;
  z-index: 2;
  align-self: center;
  margin-left: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-logo-card img {
  width: 360px;
  max-width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 4px 18px rgba(0, 0, 0, 0.65));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 54%;
  min-width: 420px;
  margin-left: auto;
  padding: 64px 56px;
  background: rgba(10, 11, 8, 0.45);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-content h1 {
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  line-height: 1.12;
  margin: 0 0 16px;
  font-weight: 700;
}

.hero-content p {
  color: #c9cbc0;
  font-size: 0.98rem;
  margin: 0 0 24px;
  max-width: 400px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.hero-stats .stat-num {
  font-size: 1.5rem;
  font-weight: 700;
}

.hero-stats .stat-label {
  font-size: 0.78rem;
  color: #9ea092;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

@media (max-width: 1100px) {
  .hero-media {
    min-height: 0;
    display: block;
  }
  .hero-media img.hero-bg {
    position: static;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-position: left center;
    opacity: 1;
  }
  .hero-media::after {
    display: none;
  }
  .hero-logo-card {
    margin-left: 0;
    justify-content: flex-start;
    padding: 24px;
  }
  .hero-logo-card img {
    width: 200px;
  }
  .hero-content {
    width: auto;
    min-width: 0;
    margin-left: 0;
    padding: 32px 24px;
  }
}

/* ---------- Sections ---------- */
section {
  padding: 84px 0;
}

.section-head {
  max-width: 620px;
  margin: 0 0 48px;
}

.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  margin: 0 0 14px;
  font-weight: 700;
}

.section-head p {
  color: var(--muted);
  font-size: 1.02rem;
  margin: 0;
}

.section-foot {
  margin-top: 40px;
  text-align: center;
}

.bg-dark {
  background: var(--ink);
  color: var(--paper);
}

.bg-dark .section-head p {
  color: #a9ab9e;
}

.bg-dim {
  background: var(--paper-dim);
}

/* ---------- Feature grid ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  background: #fff;
  border: 1px solid #e7e7e2;
  border-radius: var(--radius);
  padding: 28px 24px;
}

.feature-card .icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.25rem;
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 960px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Product grid / cards ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  min-width: 0;
}

.product-category {
  grid-column: 1 / -1;
  min-width: 0;
  padding: 0;
}

.product-category + .product-category {
  margin-top: 28px;
}

.catalog-results > .product-grid {
  row-gap: 18px;
  align-items: start;
  grid-auto-rows: max-content;
}

.catalog-results > .product-grid > .product-category + .product-category {
  margin-top: 0;
}

.product-category-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin: 10px 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e2e2db;
}

.product-category-head .eyebrow {
  margin-bottom: 4px;
  color: var(--green);
}

.product-category-head h2 {
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
}

.product-category-count {
  color: var(--muted);
  font-size: 0.84rem;
  white-space: nowrap;
}

.category-grid {
  grid-template-columns: repeat(4, 1fr);
  min-width: 0;
  align-content: start;
  grid-auto-rows: max-content;
}

@media (max-width: 1080px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 760px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .product-card .thumb img {
    height: 220px;
    object-fit: contain;
  }

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

  .product-card h3 {
    font-size: 0.92rem;
  }
}

.product-card {
  background: #fff;
  border: 1px solid #e7e7e2;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.product-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.product-card .thumb {
  overflow: hidden;
  background: #eee;
  display: block;
}

.product-card .thumb img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.product-card .body {
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.product-card .sku {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
}

.product-card h3 {
  margin: 0;
  font-size: 1.02rem;
}

.swatches {
  display: flex;
  gap: 7px;
  margin-top: auto;
}

.swatch {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #fff;
  outline: 1px solid #d9d9d2;
  cursor: pointer;
  padding: 0;
}

.swatch.active {
  outline: 2px solid var(--ink);
  outline-offset: 1px;
}

.card-link {
  margin-top: 6px;
  font-size: 0.86rem;
  font-weight: 600;
}

.card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 6px;
}

.card-actions .card-link {
  margin-top: 0;
}

.product-whatsapp-link,
.btn-whatsapp {
  color: #168a45;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}

.product-whatsapp-link:hover,
.product-whatsapp-link:focus-visible,
.btn-whatsapp:hover,
.btn-whatsapp:focus-visible {
  color: #0d6d35;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
}

.btn-whatsapp:hover,
.btn-whatsapp:focus-visible {
  color: #fff;
  background: #1fb957;
}

.card-link .arrow {
  transition: transform 0.15s ease;
  display: inline-block;
}

.product-card:hover .card-link .arrow {
  transform: translateX(3px);
}

/* ---------- Filters ---------- */
.catalog-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e2e2db;
}

.products-catalog-layout {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.catalog-sidebar {
  position: sticky;
  top: 100px;
  min-width: 0;
  padding: 20px 18px;
  background: #fff;
  border: 1px solid #e2e2db;
  border-radius: var(--radius);
}

.catalog-sidebar-kicker {
  display: block;
  color: var(--green);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.catalog-sidebar h2 {
  font-size: 1.15rem;
  margin: 0 0 16px;
}

.catalog-sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.catalog-sidebar nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 8px;
  color: #56594e;
  font-size: 0.78rem;
  transition: background 0.15s ease, color 0.15s ease;
}

.catalog-sidebar nav a small {
  color: #96998d;
  font-size: 0.7rem;
}

.catalog-sidebar nav a:hover,
.catalog-sidebar nav a:focus-visible {
  background: var(--ink);
  color: #fff;
}

.catalog-sidebar nav a.is-active {
  background: var(--ink);
  color: #fff;
  font-weight: 600;
}

.catalog-sidebar nav a.category-all small {
  color: #c8cbc0;
}

.catalog-sidebar nav a.is-active small {
  color: #c8cbc0;
}

.catalog-sidebar nav a:hover small,
.catalog-sidebar nav a:focus-visible small {
  color: #c8cbc0;
}

.catalog-results {
  min-width: 0;
}

.catalog-page {
  margin-bottom: 0;
}

.catalog-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 28px 0 8px;
}

.catalog-pager[hidden] {
  display: none;
}

.pager-button,
.pager-number {
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line, #dedfd7);
  border-radius: 999px;
  background: #fff;
  color: var(--ink, #25261f);
  font: inherit;
  cursor: pointer;
}

.pager-button:hover:not(:disabled),
.pager-number:hover:not(.active) {
  border-color: var(--accent, #7a8d51);
  color: var(--accent, #7a8d51);
}

.pager-number.active {
  border-color: var(--accent, #7a8d51);
  background: var(--accent, #7a8d51);
  color: #fff;
}

.pager-button:disabled {
  cursor: not-allowed;
  opacity: .4;
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-right: 4px;
}

.pill {
  border: 1px solid #d7d7cf;
  background: #fff;
  border-radius: 999px;
  padding: 7px 15px;
  font-size: 0.84rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.pill.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.pill .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
  border: 1px solid rgba(0, 0, 0, 0.15);
}

.search-input {
  border: 1px solid #d7d7cf;
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 0.88rem;
  min-width: 220px;
  background: #fff;
}

.search-input:focus {
  outline: 2px solid var(--green);
}

.result-count {
  color: var(--muted);
  font-size: 0.88rem;
}

.empty-state {
  text-align: center;
  padding: 70px 20px;
  color: var(--muted);
}

@media (max-width: 860px) {
  .products-catalog-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .catalog-sidebar {
    position: static;
    padding: 16px;
  }

  .catalog-sidebar h2 {
    display: none;
  }

  .catalog-sidebar nav {
    flex-direction: row;
    overflow-x: auto;
    gap: 6px;
    padding-bottom: 2px;
  }

  .catalog-sidebar nav a {
    flex: 0 0 auto;
    border: 1px solid #e2e2db;
    white-space: nowrap;
  }
}

/* ---------- Process strip ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}

.process-step {
  position: relative;
  padding-top: 10px;
}

.process-step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  display: block;
  margin-bottom: 14px;
}

.process-step h3 {
  margin: 0 0 8px;
  font-size: 1.02rem;
}

.process-step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 860px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .process-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Product detail ---------- */
.breadcrumb {
  font-size: 0.84rem;
  color: var(--muted);
  margin-bottom: 26px;
}

.breadcrumb a:hover {
  color: var(--ink);
}

.pd-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: start;
}

@media (max-width: 900px) {
  .pd-layout {
    grid-template-columns: 1fr;
  }
}

.pd-image {
  border-radius: var(--radius);
  overflow: hidden;
  background: #eee;
  aspect-ratio: 1 / 1.6;
  position: sticky;
  top: 100px;
}

.pd-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pd-sku {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.pd-title {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin: 8px 0 18px;
}

.pd-desc {
  color: #46483c;
  font-size: 1rem;
  margin-bottom: 28px;
}

.pd-colors {
  margin-bottom: 30px;
}

.pd-colors .label-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.86rem;
  margin-bottom: 12px;
}

.pd-colors .label-row span:last-child {
  color: var(--muted);
}

.pd-swatch-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.pd-swatch {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 2px solid #fff;
  outline: 1px solid #d9d9d2;
  cursor: pointer;
}

.pd-swatch.active {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.pd-specs {
  border-top: 1px solid #e2e2db;
  margin-top: 30px;
  padding-top: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  font-size: 0.9rem;
}

.pd-specs dt {
  color: var(--muted);
  font-weight: 500;
}

.pd-specs dd {
  margin: 2px 0 0;
  font-weight: 600;
}

.pd-actions {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--ink);
  color: #fff;
  border-radius: 20px;
  padding: 56px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cta-band h2 {
  margin: 0 0 8px;
  font-size: 1.7rem;
}

.cta-band p {
  margin: 0;
  color: #b7b9ac;
  max-width: 440px;
}

/* ---------- Showcase CTA (homepage closing section) ---------- */
.showcase-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.showcase-collage {
  position: relative;
  height: 380px;
}

.showcase-collage .sc-img {
  position: absolute;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: var(--shadow);
  border: 6px solid var(--paper);
}

.sc-img-1 {
  width: 62%;
  aspect-ratio: 4 / 3;
  top: 0;
  left: 0;
  z-index: 1;
}

.sc-img-2 {
  width: 40%;
  aspect-ratio: 1 / 1;
  bottom: 0;
  left: 6%;
  z-index: 2;
}

.sc-img-3 {
  width: 46%;
  aspect-ratio: 3 / 4;
  top: 16%;
  right: 0;
  z-index: 2;
}

.showcase-content h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin: 0 0 16px;
}

.showcase-content p {
  color: var(--muted);
  font-size: 1.02rem;
  margin: 0 0 28px;
  max-width: 420px;
}

.showcase-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 280px;
}

@media (max-width: 760px) {
  .showcase-cta {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .showcase-collage {
    height: 300px;
  }
}

/* ---------- Forms ---------- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-grid .full {
  grid-column: 1 / -1;
}

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

.field label {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d7d7cf;
  border-radius: 10px;
  font-size: 0.94rem;
  font-family: inherit;
  background: #fff;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--green);
  border-color: transparent;
}

.field textarea {
  resize: vertical;
  min-height: 110px;
}

.form-note {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 14px;
}

.form-status {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 0.9rem;
  display: none;
}

.form-status.show {
  display: block;
}

.form-status.success {
  background: #e9f6e3;
  color: #2f5d1c;
  border: 1px solid #c7e6b4;
}

.form-status.error {
  background: #fbe9e7;
  color: #7a271a;
  border: 1px solid #f3c9c2;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}

@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

.contact-info-card {
  background: #fff;
  border: 1px solid #e7e7e2;
  border-radius: var(--radius);
  padding: 30px;
}

.contact-info-card h3 {
  margin-top: 0;
}

.contact-row {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid #eceae2;
}

.contact-row:last-child {
  border-bottom: none;
}

.contact-row .ic {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--paper-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-row .label {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 2px;
}

.contact-row .value {
  font-weight: 600;
  font-size: 0.95rem;
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

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

.about-grid img {
  border-radius: var(--radius);
}

.stat-row {
  display: flex;
  gap: 40px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.stat-row .stat-num {
  font-size: 2rem;
  font-weight: 700;
}

.stat-row .stat-label {
  font-size: 0.8rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #c9cbc0;
  padding: 60px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid #23251a;
}

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

.footer-grid h4 {
  color: #fff;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 18px;
}

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-grid ul a {
  font-size: 0.9rem;
  color: #c9cbc0;
}

.footer-grid ul a:hover {
  color: #fff;
}

.footer-brand img {
  height: 26px;
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 0.88rem;
  max-width: 280px;
  color: #a9ab9e;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 0.82rem;
  color: #7f816f;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Utility ---------- */
.loading-row {
  text-align: center;
  padding: 60px 0;
  color: var(--muted);
}
