/* Zone, besoin et technologie restent facultatifs et combinables. */
.collection-body .collection-hero {
  font-family: var(--product-title);
  padding-top: 185px;
  padding-bottom: 32px;
}

.collection-body .collection-hero > p:not(.eyebrow) {
  max-width: 840px;
}

.collection-body .collection-hero h1 {
  font-family: var(--product-title);
  font-size: clamp(36px, 4.4vw, 64px);
  font-weight: 500;
  line-height: 1.1;
  max-width: 1080px;
}

.collection-body .collection-filters {
  background: var(--paper);
  font-family: var(--product-title);
  padding: 0 4.8vw 20px;
  scroll-margin-top: 166px;
}

.collection-zones {
  margin-bottom: 24px;
}

.collection-zones__options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 0;
}

.collection-filters .collection-zone {
  border: 1px solid rgba(17, 17, 17, .16);
  border-radius: 4px;
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  min-width: 144px;
  padding: 12px 20px;
  text-align: center;
  text-transform: uppercase;
  transition: background-color 220ms ease, border-color 220ms ease, color 220ms ease;
}

.collection-filters .collection-zone:hover,
.collection-filters .collection-zone[aria-pressed="true"] {
  background: var(--black);
  border-color: var(--black);
  color: var(--ivory);
}

.collection-body .collection-filters[hidden],
.collection-body .collection-card[hidden],
.collection-body .collection-filter-empty[hidden] {
  display: none !important;
}

.collection-filters__header,
.collection-filters__summary {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
}

.collection-filters__header {
  border-top: 0;
  padding-top: 0;
}

.collection-filters__count {
  color: var(--graphite);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
}

.collection-filters__toggle {
  display: none;
}

.collection-filters__controls {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 22px;
  max-width: 850px;
}

.collection-filters__field {
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-width: 0;
}

.collection-filters__label {
  color: var(--copper-text);
  font-size: 13px;
  font-weight: 500;
}

.collection-filters select {
  background: var(--paper);
  border: 1px solid rgba(26, 23, 20, .26);
  border-radius: 3px;
  color: var(--graphite);
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  min-height: 52px;
  padding: 12px 14px;
  width: 100%;
}

.collection-filters__summary {
  margin-top: 18px;
  min-height: 24px;
}

.collection-filters__selection {
  align-items: center;
  color: var(--taupe);
  display: flex;
  flex-wrap: wrap;
  font-size: 13px;
  gap: 8px 18px;
  line-height: 1.6;
}

.collection-filters__selection-zone {
  align-items: center;
  color: var(--graphite);
  display: inline-flex;
  font-size: 22px;
  font-weight: 500;
  gap: 12px;
  letter-spacing: -.01em;
  line-height: 1.3;
  white-space: nowrap;
}

.collection-filters__selection-zone::before {
  background: var(--copper);
  content: '';
  flex: 0 0 28px;
  height: 1px;
  width: 28px;
}

.collection-filters__selection-details {
  min-width: 0;
}

.collection-filters button,
.collection-filter-empty button {
  -webkit-tap-highlight-color: rgba(201, 142, 114, .16);
  background: transparent;
  border: 0;
  color: var(--graphite);
  cursor: pointer;
  font-family: var(--product-title);
  font-size: 13px;
  font-weight: 500;
  min-height: 44px;
  padding: 8px 0;
}

.collection-filters__reset,
.collection-filter-empty button {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.collection-filters button:disabled {
  color: var(--taupe);
  cursor: default;
  text-decoration: none;
}

.collection-filters select:focus-visible,
.collection-filters button:focus-visible,
.collection-filter-empty button:focus-visible {
  outline: 2px solid var(--copper-text);
  outline-offset: 4px;
}

.collection-body .collection-filter-empty {
  border-top: 1px solid var(--line);
  font-family: var(--product-title);
  margin: 12px 4.8vw 70px;
  padding: 36px 0;
}

.collection-filter-empty h2 {
  font-family: var(--product-title);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.4;
}

.collection-filter-empty p {
  color: var(--taupe);
  font-size: 14px;
  margin-top: 12px;
}

.collection-filter-empty__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 12px;
}

@media (max-width: 860px) {
  .collection-body .collection-hero {
    padding-top: 140px;
    padding-bottom: 24px;
  }

  .collection-body .collection-hero h1 {
    font-size: 36px;
  }

  .collection-zones {
    margin-bottom: 20px;
  }

  .collection-zones__options {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
  }

  .collection-filters .collection-zone {
    font-size: 11px;
    letter-spacing: .04em;
    grid-column: span 2;
    min-width: 0;
    padding: 10px 8px;
  }

  .collection-filters .collection-zone[data-collection-zone="regard"] {
    grid-column: 2 / span 2;
  }

  .collection-filters .collection-zone[data-collection-zone="corps"] {
    grid-column: 4 / span 2;
  }

  .collection-body .collection-filters {
    padding: 0 20px 8px;
    scroll-margin-top: 122px;
  }

  .collection-filters .collection-filters__toggle {
    align-items: center;
    border: 1px solid rgba(26, 23, 20, .26);
    border-radius: 3px;
    display: inline-flex;
    gap: 12px;
    justify-content: center;
    padding: 8px 12px;
  }

  .collection-filters__header {
    gap: 12px;
  }

  .collection-filters__toggle[aria-expanded="true"] {
    background: var(--cream);
  }

  .collection-filters__toggle:hover,
  .collection-filters__toggle:active {
    background: var(--cream);
  }

  .collection-filters__controls {
    display: none;
    gap: 18px;
    grid-template-columns: minmax(0, 1fr);
  }

  .collection-filters[data-expanded="true"] .collection-filters__controls {
    display: grid;
  }

  .collection-filters__summary {
    gap: 4px 12px;
    margin-top: 10px;
  }

  .collection-filters__selection-zone {
    font-size: 20px;
  }

  .collection-body .collection-filter-empty {
    margin: 12px 20px 48px;
  }
}

/* Sur mobile uniquement, conserver les deux premiers gestes ensemble. */
@media (max-width: 860px) {
  .collection-body [data-collection-product="omni-sculpt"] .product-code-family {
    padding-right: 58px;
    white-space: normal;
  }

  .collection-body [data-collection-product="omni-sculpt"] .collection-omni-divider {
    display: none;
  }

  .collection-body [data-collection-product="omni-sculpt"] .collection-omni-cleanse {
    display: block;
  }
}

@media (prefers-reduced-motion: reduce) {
  .collection-filters .collection-zone { transition: none; }
}
