/* art'agora — shared stylesheet */

:root {
  --color-ink: #1b1b1a;
  --color-orange: #dc962a;
  --color-orange-dark: #b8791e;
  --color-orange-light: #f7e6c8;
  --color-grey: #6f6c66;
  --color-grey-light: #f4f2ee;
  --color-border: #e3dfd6;
  --color-white: #ffffff;

  --font-display: Georgia, "Times New Roman", serif;
  --font-body: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --max-width: 1400px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-ink);
  background: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */

.site-header {
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  background: var(--color-white);
  z-index: 100;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.logo {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.logo img {
  height: 40px;
  width: auto;
}

.logo-tagline {
  font-size: 0.65rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-grey);
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.main-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 0;
}

.main-nav > ul > li {
  margin: 0 4px;
}

.main-nav > ul > li.nav-dropdown {
  margin: 0 1px;
  padding: 0 3px;
}

.main-nav a {
  position: relative;
  display: inline-block;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: 6px 0;
  border-top: 1px solid var(--color-white);
  border-bottom: 1px solid var(--color-white);
  transition: color 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.main-nav a::before,
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--color-orange);
  transform: scaleX(0);
  transition: transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.main-nav a::before {
  top: -1px;
  transform-origin: left center;
}

.main-nav a::after {
  bottom: -1px;
  transform-origin: right center;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--color-orange-dark);
}

.main-nav a.active {
  color: #f09010;
}

.main-nav a:hover::before,
.main-nav a:hover::after,
.main-nav a.active::before,
.main-nav a.active::after {
  transform: scaleX(1);
}

.main-nav a.active::before,
.main-nav a.active::after {
  background: #f09010;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--color-ink);
}

/* ---------- Nav dropdown ---------- */

.nav-dropdown {
  position: relative;
  display: block;
}

.nav-dropdown-toggle {
  position: relative;
  z-index: 11;
}

.nav-dropdown.open .nav-dropdown-toggle {
  color: var(--color-orange-dark);
}

.nav-dropdown.open .nav-dropdown-toggle::before,
.nav-dropdown.open .nav-dropdown-toggle::after {
  transform: scaleX(1);
}

.nav-dropdown .nav-dropdown-menu {
  display: block;
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  z-index: 10;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.18s ease 0.3s, transform 0.18s ease 0.3s, visibility 0s linear 0.48s;
}

.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s;
}

@media (hover: hover) and (min-width: 781px) {
  .nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s;
  }
}

.nav-dropdown-menu a {
  display: block;
  padding: 8px 16px;
  font-size: 0.9rem;
  border-top: none;
  border-bottom: none;
}

.nav-dropdown-menu a::before,
.nav-dropdown-menu a::after {
  content: none;
}

.nav-dropdown-menu a:hover {
  background: var(--color-grey-light);
  color: var(--color-orange-dark);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--color-ink);
  border-bottom: 1px solid var(--color-border);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("/assets/img/poza-coperta.png") center 92% / cover no-repeat;
  filter: brightness(0.62) saturate(0.8);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(27, 27, 26, 0.45);
}

.hero .container {
  position: relative;
  z-index: 1;
  padding-top: 78px;
  padding-bottom: 78px;
  text-align: center;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.15;
  margin: 0 0 12px;
  color: var(--color-white);
}

.hero h1 em {
  color: #f09010;
  font-style: normal;
}

.hero p {
  max-width: 560px;
  margin: 0 auto 20px;
  color: var(--color-white);
  font-size: 1.225rem;
  line-height: 1.4;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.hero-actions .btn-outline {
  margin-left: 0;
}

.hero .btn-outline {
  color: var(--color-white);
  border-color: var(--color-white);
}

.hero .btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--color-white);
  color: var(--color-white);
}

.btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: 2px;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border: 1px solid var(--color-orange);
  transition: background 0.15s ease, color 0.15s ease;
}

.btn-primary {
  background: #f09010;
  border-color: #f09010;
  color: var(--color-white);
}

.btn-primary:hover {
  background: #d17c05;
  border-color: #d17c05;
}

.btn-outline {
  background: transparent;
  color: var(--color-ink);
  border-color: var(--color-ink);
  margin-left: 12px;
}

.btn-outline:hover {
  border-color: var(--color-orange);
  color: var(--color-orange-dark);
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 30px;
  border-radius: 2px;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border: 1px solid #f09010;
  background: #f09010;
  color: #fff;
  text-decoration: none;
}

.btn-download:hover {
  background: #d17c05;
  border-color: #d17c05;
}

/* ---------- B2B ---------- */

.b2b {
  max-width: 1400px;
  margin: 0 auto;
  padding: 72px 24px;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: center;
}

.b2b-mosaic {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
  height: 520px;
}

.b2b-tile {
  background-size: cover;
  background-position: center;
}

.b2b-tile-tall {
  grid-row: 1 / span 2;
}

.b2b-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  background: #1b1b1a;
  padding: 22px 30px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.b2b-badge-kicker {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #f09010;
  line-height: 1;
}

.b2b-badge-year {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.6rem;
  line-height: 1;
  color: #fff;
}

.b2b-copy .b2b-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f09010;
  margin: 0 0 16px;
}

.b2b-title {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  line-height: 1.2;
  margin: 0 0 20px;
  text-wrap: pretty;
}

.b2b-copy p {
  color: #6f6c66;
  font-size: 1.05rem;
  margin: 0 0 20px;
  max-width: 56ch;
}

.b2b-copy p:last-of-type {
  margin-bottom: 28px;
}

.b2b-copy .btn-outline {
  margin-left: 0;
}

@media (max-width: 900px) {
  .b2b {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .b2b-mosaic {
    height: 420px;
  }
}

/* ---------- Section blocks ---------- */

.section {
  padding: 80px 0;
}

.breadcrumbs + .section {
  padding-top: 0;
}

.hero + .section {
  padding-top: 40px;
}

.b2b + .section {
  padding-top: 0;
}

.section-alt {
  background: var(--color-grey-light);
}

.section-heading {
  text-align: center;
  margin-bottom: 48px;
}

.section-heading h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  margin: 0 0 12px;
}

.section-heading p {
  color: var(--color-grey);
  max-width: 520px;
  margin: 0 auto;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 32px;
}

.card {
  border: 1px solid var(--color-border);
  padding: 32px 28px;
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.card:hover {
  border-color: var(--color-orange);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.why {
  background: #f4f2ee;
  padding: 28px 0;
}

.why-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 22px;
  border-bottom: 2px solid #1b1b1a;
}

.why-head h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: 2.6rem;
  line-height: 1;
  margin: 0;
}

.why-head p {
  color: #6f6c66;
  font-size: 1rem;
  max-width: 380px;
  text-align: right;
  margin: 0 0 6px;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 64px;
}

.why-row {
  display: flex;
  gap: 24px;
  padding: 32px 0;
  border-bottom: 1px solid #d6d1c6;
}

.why-row-last {
  border-bottom: none;
}

.why-num {
  font-family: Georgia, serif;
  font-size: 2.6rem;
  line-height: 0.9;
  color: #f09010;
  min-width: 64px;
}

.why-row h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: 1.25rem;
  margin: 0 0 8px;
}

.why-row p {
  color: #6f6c66;
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 860px) {
  .why-grid {
    grid-template-columns: 1fr;
  }

  .why-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .why-head p {
    text-align: left;
  }
}

.card .card-icon {
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.card-image {
  position: relative;
  aspect-ratio: 4/3;
  background: var(--color-grey-light);
  border-radius: 2px;
  margin: -32px -28px 20px;
  overflow: hidden;
}

.card-image picture {
  position: absolute;
  inset: 0;
}

.card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.card-ribbon {
  position: absolute;
  top: 16px;
  left: -42px;
  width: 150px;
  z-index: 2;
  padding: 5px 0;
  background: #f09010;
  color: var(--color-white);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: center;
  transform: rotate(-45deg);
}

.card h3 {
  font-family: var(--font-display);
  margin: 0 0 10px;
  font-size: 1.3rem;
}

.card p {
  color: var(--color-grey);
  margin: 0 0 16px;
  font-size: 0.95rem;
}

.card a.card-link {
  color: var(--color-orange-dark);
  font-size: 0.9rem;
  font-weight: 600;
}

.card a.card-link:hover {
  text-decoration: underline;
}

/* ---------- Product / detail pages ---------- */

.breadcrumbs {
  font-size: 0.85rem;
  color: var(--color-grey);
  padding-top: 20px;
  padding-bottom: 20px;
}

.breadcrumbs a:hover {
  color: var(--color-orange-dark);
}

.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.product-detail > .month-gallery-section {
  grid-column: 1 / -1;
}

.product-detail .product-media {
  position: relative;
  background: var(--color-grey-light);
  border: 1px solid var(--color-border);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-grey);
  font-size: 0.9rem;
  overflow: hidden;
}

.product-detail .product-media picture {
  position: absolute;
  inset: 0;
}

.product-detail .product-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.color-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 16px 0 0;
}

.color-swatch-btn {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  cursor: pointer;
  display: block;
}

.color-swatch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 76px;
}

.color-swatch-img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  background: var(--color-white);
  transition: border-color 0.15s ease;
}

.color-swatch-btn:hover .color-swatch-img {
  border-color: var(--color-orange);
}

.color-swatch-btn.active .color-swatch-img {
  border-color: var(--color-orange);
  border-width: 2px;
}

.color-pill {
  display: none;
}

.color-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
}

.color-name {
  font-size: 0.85rem;
  color: var(--color-ink);
}

.color-swatch-btn.active .color-code {
  color: var(--color-orange-dark);
  font-weight: 600;
}

.color-code {
  font-size: 0.72rem;
  color: var(--color-grey);
  text-align: center;
}

.product-detail h1 {
  font-family: var(--font-display);
  font-size: 2rem;
  margin-top: 0;
}

.spec-list {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  border-top: 1px solid var(--color-border);
}

.spec-list li {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.95rem;
}

.spec-list li span:first-child {
  color: var(--color-grey);
  flex-shrink: 0;
}

.spec-list li span:last-child {
  text-align: right;
}

.feature-list {
  list-style: disc;
  padding-left: 20px;
  margin: 24px 0;
  color: var(--color-grey);
}

.feature-list li {
  margin-bottom: 8px;
  font-size: 0.95rem;
}

@media (max-width: 860px) {
  .product-detail {
    grid-template-columns: 1fr;
  }

  .product-info {
    display: flex;
    flex-direction: column;
  }

  .product-info .color-gallery-heading {
    order: 1;
  }

  .product-info .color-gallery {
    order: 2;
  }

  .product-info h1 {
    order: 3;
  }

  .product-info > p {
    order: 4;
  }

  .product-info .feature-list {
    order: 5;
  }

  .product-info .btn {
    order: 6;
    margin-top: 24px;
  }

  .product-detail > .month-gallery-section {
    order: 2;
    margin-top: 16px;
  }

  .product-detail > .product-info {
    order: 3;
  }

  .month-gallery-section h3 {
    margin: 0 0 12px;
  }

  .color-gallery {
    gap: 8px;
  }

  .color-swatch-btn {
    width: auto;
  }

  .color-swatch {
    display: none;
  }

  .color-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border: 1px solid var(--color-border);
    border-radius: 999px;
  }

  .color-swatch-btn.active .color-pill {
    border-color: var(--color-orange);
    background: var(--color-orange-light);
  }
}

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}

.contact-info h3 {
  font-family: var(--font-display);
  margin-top: 0;
}

.contact-info ul {
  list-style: none;
  padding: 0;
  margin: 24px 0;
}

.contact-info li {
  margin-bottom: 14px;
  font-size: 0.95rem;
}

.contact-info li strong {
  display: block;
  color: var(--color-grey);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

form.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form label {
  font-size: 0.85rem;
  color: var(--color-grey);
  margin-bottom: 6px;
  display: block;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 0.95rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-orange);
}

.contact-form textarea {
  resize: vertical;
  min-height: 140px;
}

.form-note {
  font-size: 0.82rem;
  color: var(--color-grey);
  margin: -4px 0 0;
}

@media (max-width: 860px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Catalog filters ---------- */

.container.catalog-container {
  max-width: 1680px;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  align-items: start;
}

.catalog-sidebar {
  position: sticky;
  top: 96px;
  max-height: calc(100vh - 116px);
  overflow-y: auto;
  padding-right: 6px;
}

.header-filter-btn {
  display: none;
}

.filter-panel {
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: var(--color-grey-light);
  border: 1px solid var(--color-border);
}

.filter-modal-header,
.filter-categories {
  display: none;
}

.filter-modal-body {
  display: flex;
  flex-direction: column;
}

.filter-options-panels {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.filter-group[data-category-panel] {
  display: flex !important;
}

.filter-group {
  display: flex;
  flex-direction: column;
  border: none;
  padding: 0;
  margin: 0;
}

.filter-group legend {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 10px;
  padding: 0;
  color: var(--color-ink);
  width: 100%;
}

.filter-group-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
}

.filter-group-arrow {
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  margin-left: 8px;
  border-right: 2px solid var(--color-grey);
  border-bottom: 2px solid var(--color-grey);
  transform: rotate(45deg);
  transition: transform 0.15s ease;
}

.filter-group-toggle[aria-expanded="false"] .filter-group-arrow {
  transform: rotate(-45deg);
}

.filter-group-options {
  display: flex;
  flex-direction: column;
}

/* Collapsing a category hides its options, but a selection already made
   there stays visible — collapsed shouldn't mean "hide what's active",
   just "hide what isn't". */
.filter-group--collapsed .filter-option {
  display: none;
}

.filter-group--collapsed .filter-option:has(input:checked) {
  display: flex;
}

.filter-option {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  padding: 4px 0;
  color: var(--color-grey);
  cursor: pointer;
}

.filter-option input {
  accent-color: var(--color-orange);
  cursor: pointer;
  flex-shrink: 0;
}

/* Compact variant — experimental, applied per-category via
   .filter-group--compact for side-by-side comparison against the default
   spacing above. Same content, tighter vertical rhythm only. */
.filter-group--compact legend {
  margin-bottom: 4px;
}

.filter-group--compact .filter-option {
  padding: 1.875px 0;
}

.filter-modal-footer {
  display: flex;
  gap: 12px;
  order: -1;
  position: sticky;
  top: 0;
  background: var(--color-grey-light);
  z-index: 2;
  padding-bottom: 16px;
  margin-bottom: 8px;
}

#filters-apply {
  display: none;
}

#filters-reset,
#filters-apply {
  font-size: 0.85rem;
  padding: 9px 20px;
  flex: 1;
}

.filters-empty-message {
  text-align: center;
  color: var(--color-grey);
  padding: 48px 0;
  font-size: 1rem;
}

@media (max-width: 900px) {
  .catalog-layout {
    grid-template-columns: 1fr;
  }

  .catalog-sidebar {
    position: static;
    max-height: none;
    overflow-y: visible;
    margin-bottom: 32px;
    padding-right: 0;
  }

  .header-filter-btn {
    display: block;
    padding: 8px 16px;
    background: var(--color-orange);
    color: var(--color-white);
    border: none;
    border-radius: 2px;
    font-size: 0.82rem;
    letter-spacing: 0.02em;
    cursor: pointer;
    margin-left: auto;
    margin-right: 16px;
    flex-shrink: 0;
  }

  .filter-panel {
    display: none;
    padding: 0;
  }

  .filter-panel.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    z-index: 300;
    background: var(--color-white);
  }

  .filter-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--color-border);
    flex-shrink: 0;
  }

  .filter-modal-header h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    margin: 0;
  }

  .filter-modal-close {
    background: none;
    border: none;
    font-size: 1.6rem;
    line-height: 1;
    color: var(--color-grey);
    cursor: pointer;
    padding: 4px;
  }

  .filter-modal-body {
    flex: 1;
    flex-direction: row;
    overflow: hidden;
  }

  .filter-categories {
    display: flex;
    flex-direction: column;
    width: 130px;
    flex-shrink: 0;
    background: var(--color-grey-light);
    overflow-y: auto;
    border-right: 1px solid var(--color-border);
  }

  .filter-category-tab {
    text-align: left;
    background: none;
    border: none;
    border-left: 3px solid transparent;
    padding: 16px 14px;
    font-size: 0.85rem;
    color: var(--color-grey);
    cursor: pointer;
  }

  .filter-category-tab.active {
    background: var(--color-white);
    border-left-color: var(--color-orange);
    color: var(--color-ink);
    font-weight: 600;
  }

  .filter-options-panels {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: block;
  }

  .filter-group[data-category-panel] {
    display: none !important;
  }

  .filter-group[data-category-panel].filter-group--active {
    display: flex !important;
  }

  /* Tablet/phone already isolate one category at a time via the tab list
     above — a collapse arrow on top of that would be redundant, so the
     toggle/compact experiments (desktop-only) are neutralized here and
     every category keeps its original look and full option spacing. */
  .filter-group-toggle {
    cursor: default;
  }

  .filter-group-arrow {
    display: none;
  }

  .filter-group--collapsed .filter-option {
    display: flex !important;
  }

  .filter-group--compact legend {
    margin-bottom: 10px;
  }

  .filter-group--compact .filter-option {
    padding: 4px 0;
  }

  .filter-modal-footer {
    flex-shrink: 0;
    order: 0;
    position: static;
    background: none;
    z-index: auto;
    margin-top: 0;
    margin-bottom: 0;
    padding: 16px 20px;
    padding-bottom: 16px;
    border-top: 1px solid var(--color-border);
  }

  #filters-apply {
    display: block;
  }
}

/* ---------- Catalog ---------- */

.range-block {
  margin-bottom: 56px;
  scroll-margin-top: 100px;
}

.range-block h2 {
  margin-top: 0;
}

.range-block h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 12px;
  margin-bottom: 28px;
}

.size-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 14px 0 0;
}

.badge {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  padding: 4px 10px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  color: var(--color-grey);
}

.badge-size {
  border-color: var(--color-orange);
  color: var(--color-orange-dark);
}

.color-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 8px 0 0;
}

.color-chip {
  font-size: 0.78rem;
  padding: 4px 10px;
  background: var(--color-grey-light);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  color: var(--color-grey);
}

.compat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin: 24px 0;
}

.compat-size h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 0 0 10px;
}

.compat-size ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.compat-size li {
  padding: 6px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.92rem;
}

.compat-size li a:hover {
  color: var(--color-orange-dark);
}

.interior-size-group {
  margin-bottom: 48px;
}

.interior-size-group h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 24px;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--color-ink);
  color: var(--color-grey-light);
  padding: 56px 0 28px;
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-grid h4 {
  color: var(--color-white);
  font-size: 0.95rem;
  margin: 0 0 16px;
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-grid li {
  margin-bottom: 10px;
  font-size: 0.9rem;
  color: #c9c6bf;
}

.footer-grid a:hover {
  color: var(--color-orange);
}

.footer-logo {
  height: 34px;
  margin-bottom: 14px;
}

.footer-tagline {
  color: #a8a59e;
  font-size: 0.9rem;
  max-width: 320px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 20px;
  font-size: 0.82rem;
  color: #918e87;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 860px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* ---------- Mobile nav ---------- */

@media (max-width: 780px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 73px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-white);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    gap: 24px;
    transform: translateX(100%);
    transition: transform 0.2s ease;
    overflow-y: auto;
  }

  .main-nav.open {
    transform: translateX(0);
  }

  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    width: 100%;
  }

  .main-nav ul a {
    display: block;
    font-size: 1.1rem;
  }

  .nav-dropdown {
    width: 100%;
  }

  .nav-dropdown .nav-dropdown-toggle {
    display: inline-block;
    font-size: 1.1rem;
  }

  .nav-dropdown .nav-dropdown-menu {
    position: static;
    box-sizing: border-box;
    box-shadow: none;
    border: none;
    background: none;
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: none;
    pointer-events: auto;
    transition: max-height 0.25s ease, opacity 0.2s ease, visibility 0s linear 0.25s, padding-top 0.25s ease, margin-top 0.25s ease;
  }

  .nav-dropdown.open .nav-dropdown-menu {
    max-height: 300px;
    opacity: 1;
    visibility: visible;
    padding-top: 8px;
    margin-top: 8px;
    transition: max-height 0.25s ease, opacity 0.2s ease, visibility 0s, padding-top 0.25s ease, margin-top 0.25s ease;
  }

  .nav-dropdown-menu a {
    padding: 8px 0 8px 16px;
    font-size: 1rem;
    color: var(--color-grey);
  }
}

/* ---------- Product-cta-row ---------- */

.product-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.product-cta-row .btn-outline {
  margin-left: 0;
}

/* ---------- Product simulator ---------- */

.simulator h1 {
  margin-bottom: 20px;
}

.sim-steps-indicator {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}

.sim-step-indicator {
  padding: 8px 18px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--color-grey);
}

.sim-step-indicator.active {
  border-color: var(--color-orange);
  color: var(--color-orange-dark);
  background: var(--color-orange-light);
  font-weight: 600;
}

.sim-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.sim-stage-wrap {
  flex: 1 1 420px;
  max-width: 520px;
}

.sim-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--color-grey-light);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  overflow: hidden;
}

.sim-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.sim-logo-layer {
  position: absolute;
  cursor: move;
  border: 1px dashed var(--color-orange);
  touch-action: none;
}

.sim-logo-layer img {
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}

.sim-logo-handle {
  position: absolute;
  right: -7px;
  bottom: -7px;
  width: 14px;
  height: 14px;
  background: var(--color-orange);
  border-radius: 3px;
  cursor: nwse-resize;
  touch-action: none;
}

.sim-disclaimer {
  margin-top: 12px;
  font-size: 0.78rem;
  font-style: italic;
  color: var(--color-grey);
}

.sim-panel {
  flex: 1 1 280px;
  min-width: 260px;
}

.sim-field {
  margin-bottom: 28px;
}

.sim-field h4 {
  margin-bottom: 12px;
}

.sim-color-swatches,
.sim-accessory-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Force the compact pill style regardless of viewport in the simulator —
   there's no product thumbnail markup here, just the dot + name. */
.sim-color-swatches .color-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
}

.sim-color-swatches .color-swatch-btn.active .color-pill {
  border-color: var(--color-orange);
  background: var(--color-orange-light);
}

.sim-accessory-btn {
  padding: 8px 16px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-white);
  font-size: 0.9rem;
  cursor: pointer;
}

.sim-accessory-btn.active {
  border-color: var(--color-orange);
  background: var(--color-orange-light);
  color: var(--color-orange-dark);
  font-weight: 600;
}

.sim-hint {
  font-size: 0.8rem;
  color: var(--color-grey);
  margin-top: 8px;
}

.btn-link {
  background: none;
  border: none;
  padding: 0;
  margin-top: 8px;
  color: var(--color-orange-dark);
  text-decoration: underline;
  cursor: pointer;
  font-size: 0.85rem;
}

.sim-interior-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sim-interior-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
}

.sim-interior-option:has(input:checked) {
  border-color: var(--color-orange);
  background: var(--color-orange-light);
}

.sim-interior-option small {
  color: var(--color-grey);
}

.sim-field-buttons {
  display: flex;
  gap: 12px;
}

/* ---------- Calendar product page ---------- */

.photo-credit {
  margin: 4px 0 0;
  font-size: 0.85rem;
  color: var(--color-grey);
}

.photo-credit a {
  color: var(--color-orange-dark);
  text-decoration: underline;
}

.month-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.month-swatch-btn {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  cursor: pointer;
  display: block;
}

.month-swatch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 76px;
}

.month-swatch-img {
  width: 76px;
  height: 76px;
  object-fit: cover;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  transition: border-color 0.15s ease;
}

.month-swatch-btn:hover .month-swatch-img {
  border-color: var(--color-orange);
}

.month-swatch-btn.active .month-swatch-img {
  border-color: var(--color-orange);
  border-width: 2px;
}

.month-pill {
  display: none;
}

@media (max-width: 860px) {
  .month-gallery {
    gap: 8px;
  }

  .month-swatch-btn {
    width: auto;
  }

  .month-swatch {
    display: none;
  }

  .month-pill {
    display: flex;
    align-items: center;
    padding: 7px 12px;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    font-size: 0.85rem;
  }

  .month-swatch-btn.active .month-pill {
    border-color: var(--color-orange);
    background: var(--color-orange-light);
    color: var(--color-orange-dark);
    font-weight: 600;
  }
}
