/* OSL-Corsica — catégories et sous-catégories
   PrestaShop 1.7.8.11 / thème enfant Classic
   Version 1.2.0 — étape 27, SEO restauré et finitions premium */

body#category {
  overflow-x: hidden;
  background: #fffdf9;
}

body#category #wrapper {
  padding-top: 0;
  background: #fffdf9;
}

body#category #wrapper > .container,
body#category #content-wrapper,
body#category #content {
  width: 100%;
  max-width: none;
  padding-right: 0;
  padding-left: 0;
}

body#category #wrapper > .container {
  margin: 0;
}

.osl-category-page {
  --osl-paper: #fffdf9;
  --osl-ivory: #f5eee7;
  --osl-ink: #3e4640;
  --osl-sea: #354039;
  --osl-coral: #7a5140;
  --osl-terracotta: #ac866b;
  --osl-sand: #d7b79f;
  --osl-line: #ddd2c4;
  --osl-muted: #6f716b;
  width: 100%;
  color: var(--osl-ink);
  background: var(--osl-paper);
  font-family: Arial, Helvetica, sans-serif;
}

.osl-category-page a,
.osl-category-page button {
  transition: color .2s ease, background-color .2s ease, border-color .2s ease, opacity .2s ease, transform .2s ease;
}

.osl-category-page a:focus-visible,
.osl-category-page button:focus-visible {
  outline: 2px solid var(--osl-terracotta);
  outline-offset: 3px;
}

.osl-eyebrow {
  margin: 0 0 .75rem;
  color: var(--osl-terracotta);
  font-size: .66rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .18em;
  text-transform: uppercase;
}

/* Hero pleine largeur */
.osl-category-hero {
  position: relative;
  left: 50%;
  width: 100vw;
  min-height: 560px;
  margin-left: -50vw;
  overflow: hidden;
  color: #fff;
  background: var(--osl-sea);
  isolation: isolate;
}

.osl-category-hero__media,
.osl-category-hero__image,
.osl-category-hero__overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.osl-category-hero__media {
  z-index: -3;
  overflow: hidden;
}

.osl-category-hero__media .osl-category-hero__image { z-index: 0; }

.osl-category-hero__image {
  z-index: -3;
  object-fit: cover;
  object-position: center;
}

.osl-category-hero__overlay {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(28, 32, 29, .88) 0%, rgba(28, 32, 29, .68) 36%, rgba(28, 32, 29, .18) 74%, rgba(28, 32, 29, .12) 100%),
    linear-gradient(0deg, rgba(23, 25, 23, .58) 0%, transparent 42%);
}

.osl-category-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(760px, 64vw);
  min-height: 560px;
  padding: 4.3rem 2rem 9.8rem max(2rem, calc((100vw - 1420px) / 2));
}

.osl-category-hero__eyebrow {
  margin: 0 0 1.1rem;
  font-size: .67rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.osl-category-hero h1 {
  max-width: 720px;
  margin: 0;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.8rem, 4.8vw, 5.15rem);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.045em;
  text-transform: none;
}

.osl-category-hero__intro {
  max-width: 690px;
  margin: 1.55rem 0 0;
  color: rgba(255, 255, 255, .9);
  font-size: .96rem;
  line-height: 1.75;
}

.osl-category-hero__meta {
  display: flex;
  align-items: baseline;
  gap: .4rem;
  margin: 1.35rem 0 0;
  color: rgba(255, 255, 255, .75);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.osl-category-hero__meta strong {
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0;
}

/* Sous-catégories intégrées dans l'image */
.osl-subcategory-strip {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(125px, 1fr) minmax(0, 5fr) minmax(0, 1fr);
  align-items: center;
  min-height: 108px;
  padding: .8rem max(1.5rem, calc((100vw - 1420px) / 2));
  border: 0;
  background: linear-gradient(90deg, rgba(28, 32, 29, .72), rgba(28, 32, 29, .46));
  box-shadow: none;
  -webkit-backdrop-filter: blur(14px) saturate(110%);
  backdrop-filter: blur(14px) saturate(110%);
}

.osl-subcategory-strip__label {
  align-self: center;
  color: rgba(255, 255, 255, .72);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  font-style: italic;
  font-weight: 400;
}

.osl-subcategory-strip__links {
  grid-column: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(.75rem, 2vw, 2rem);
  min-width: 0;
}

.osl-subcategory-strip__links a {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  min-height: 44px;
  color: #fff;
  font-size: .77rem;
  font-weight: 400;
  line-height: 1.25;
  white-space: nowrap;
}

.osl-subcategory-strip__links a:hover {
  color: #fff;
  opacity: .76;
}

.osl-subcategory-strip__arrow {
  display: inline-grid;
  place-items: center;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 50%;
  font-size: .86rem;
  line-height: 1;
}

.osl-subcategory-strip__links a:hover .osl-subcategory-strip__arrow {
  color: var(--osl-ink);
  border-color: #fff;
  background: #fff;
  transform: translateX(2px);
}

/* Réassurance compacte */
.osl-category-reassurance {
  position: relative;
  left: 50%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100vw;
  margin-left: -50vw;
  padding: .65rem max(2rem, calc((100vw - 1420px) / 2));
  border-bottom: 1px solid var(--osl-line);
  background: #f2e7de;
}

.osl-category-reassurance > div {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 40px;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding: .55rem 1rem;
  border-right: 1px solid rgba(172, 134, 107, .35);
  text-align: center;
}

.osl-category-reassurance > div::after {
  content: "";
  width: 40px;
}

.osl-category-reassurance > div:last-child {
  border-right: 0;
}

.osl-category-reassurance__icon {
  color: var(--osl-coral);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
}

.osl-category-reassurance span:not(.osl-category-reassurance__icon) {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}

.osl-category-reassurance strong,
.osl-category-reassurance small {
  display: block;
  width: 100%;
  text-align: center;
}

.osl-category-reassurance strong {
  color: var(--osl-ink);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.osl-category-reassurance small {
  margin-top: .28rem;
  color: var(--osl-muted);
  font-size: .7rem;
  line-height: 1.35;
}

/* Catalogue pleine largeur */
.osl-category-catalog {
  position: relative;
  left: 50%;
  width: 100vw;
  margin-left: -50vw;
  padding: clamp(4rem, 6vw, 6.7rem) max(1.5rem, calc((100vw - 1420px) / 2));
  background: var(--osl-paper);
}

.osl-catalog-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 2rem;
  margin-bottom: 2rem;
}

.osl-catalog-heading h2 {
  margin: 0;
  color: var(--osl-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 3.2vw, 3.7rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -.04em;
  text-transform: none;
}

.osl-catalog-heading__count {
  margin: 0 0 .35rem;
  color: var(--osl-muted);
  font-size: .74rem;
}

.osl-catalog-heading__count strong {
  color: var(--osl-coral);
  font-size: 1rem;
}

.osl-catalog-toolbar {
  margin-bottom: 1.4rem;
  border-top: 1px solid var(--osl-line);
  border-bottom: 1px solid var(--osl-line);
}

.osl-catalog-toolbar__main {
  display: flex;
  align-items: stretch;
  min-height: 62px;
}

.osl-filter-open {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  min-width: 230px;
  padding: 0 1.15rem;
  border: 0;
  border-right: 1px solid var(--osl-line);
  color: var(--osl-ink);
  background: transparent;
  cursor: pointer;
  font-size: .76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.osl-filter-open:hover {
  color: var(--osl-coral);
  background: rgba(172, 134, 107, .08);
}

.osl-filter-open > b {
  margin-left: auto;
  color: var(--osl-coral);
  font-size: 1rem;
  font-weight: 400;
}

.osl-filter-open__icon {
  position: relative;
  display: block;
  width: 20px;
  height: 18px;
}

.osl-filter-open__icon i {
  position: absolute;
  left: 0;
  width: 18px;
  height: 1px;
  background: currentColor;
}

.osl-filter-open__icon i:first-child {
  top: 5px;
}

.osl-filter-open__icon i:last-child {
  bottom: 5px;
}

.osl-filter-open__icon i::after {
  content: "";
  position: absolute;
  top: -2px;
  width: 5px;
  height: 5px;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: var(--osl-paper);
}

.osl-filter-open__icon i:first-child::after {
  left: 4px;
}

.osl-filter-open__icon i:last-child::after {
  right: 3px;
}

.osl-catalog-toolbar__results {
  display: inline-flex;
  align-items: center;
  padding: 0 1.3rem;
  color: var(--osl-muted);
  font-size: .72rem;
}

.osl-catalog-toolbar__sort {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.osl-catalog-toolbar__sort .sort-by {
  width: auto;
  padding: 0 .8rem 0 0;
  color: var(--osl-muted);
  font-size: .7rem;
  text-align: right;
}

.osl-catalog-toolbar__sort .products-sort-order {
  width: 225px;
  padding: 0;
}

.osl-catalog-toolbar__sort .products-sort-order .select-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 60px;
  padding: 0 .85rem;
  border: 0;
  color: var(--osl-ink);
  background: transparent;
  box-shadow: none;
  font-size: .72rem;
  line-height: 1.2;
}

.osl-catalog-toolbar__sort .dropdown-menu {
  right: 0;
  left: auto;
  width: 260px;
  margin: 0;
  border: 1px solid var(--osl-line);
  border-radius: 0;
  box-shadow: 0 18px 45px rgba(62, 70, 64, .13);
}

.osl-catalog-toolbar__sort .select-list {
  padding: .8rem 1rem;
  color: var(--osl-ink);
  font-size: .74rem;
}

.osl-catalog-toolbar__sort .select-list:hover,
.osl-catalog-toolbar__sort .select-list.current {
  color: var(--osl-coral);
  background: var(--osl-ivory);
}

.osl-catalog-toolbar__mobile-count {
  padding: .7rem 0;
  color: var(--osl-muted);
  font-size: .68rem;
  text-align: center;
}

/* Filtres actifs */
.osl-active-filters #js-active-search-filters {
  margin: 0 0 1.5rem;
  padding: .9rem 1rem .35rem;
  border: 0;
  background: var(--osl-ivory);
}

.osl-active-filters .active-filter-title {
  display: inline-block;
  margin: 0 .75rem .55rem 0;
  color: var(--osl-coral);
  font-size: .67rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.osl-active-filters .filter-block {
  margin: 0 .45rem .55rem 0;
  padding: .55rem .75rem;
  border: 0;
  border-radius: 0;
  color: var(--osl-ink);
  background: rgba(255, 255, 255, .72);
  font-size: .7rem;
}

/* Tiroir de navigation à facettes */
body.osl-filter-is-open {
  overflow: hidden;
}

.osl-filter-overlay {
  position: fixed;
  inset: 0;
  z-index: 10040;
  visibility: hidden;
  opacity: 0;
  background: rgba(27, 31, 28, .54);
  cursor: pointer;
  transition: opacity .28s ease, visibility .28s ease;
}

.osl-filter-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 10050;
  display: flex;
  flex-direction: column;
  width: min(470px, 94vw);
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--osl-paper);
  box-shadow: 20px 0 55px rgba(23, 27, 24, .22);
  visibility: hidden;
  transform: translateX(-104%);
  transition: transform .3s cubic-bezier(.22, .61, .36, 1), visibility .3s ease;
}

body.osl-filter-is-open .osl-filter-overlay {
  visibility: visible;
  opacity: 1;
}

body.osl-filter-is-open .osl-filter-drawer {
  visibility: visible;
  transform: translateX(0);
}

.osl-filter-drawer__header {
  display: flex;
  flex: 0 0 auto;
  justify-content: space-between;
  align-items: center;
  min-height: 92px;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--osl-line);
}

.osl-filter-drawer__header .osl-eyebrow {
  display: block;
  margin-bottom: .32rem;
}

.osl-filter-drawer__header strong {
  color: var(--osl-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
  font-weight: 400;
}

.osl-filter-close {
  position: relative;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  color: var(--osl-ink);
  background: transparent;
  cursor: pointer;
}

.osl-filter-close:hover {
  color: var(--osl-coral);
  transform: rotate(4deg);
}

.osl-filter-close span::before,
.osl-filter-close span::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 21px;
  height: 1px;
  background: currentColor;
}

.osl-filter-close span::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.osl-filter-close span::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.osl-filter-drawer__body {
  flex: 1 1 auto;
  min-height: 0;
  padding: .5rem 1.5rem 2.5rem;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.osl-filter-drawer #search_filters {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.osl-filter-drawer #search_filters > .h6 {
  display: none !important;
}

.osl-filter-drawer .clear-all-wrapper {
  display: block !important;
  margin: .9rem 0 .25rem;
}

.osl-filter-drawer .js-search-filters-clear-all {
  padding: .5rem 0;
  border: 0;
  color: var(--osl-coral);
  background: transparent;
  font-size: .69rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.osl-filter-drawer .facet {
  margin: 0;
  padding: 1.35rem 0 1.15rem;
  border-bottom: 1px solid var(--osl-line);
}

.osl-filter-drawer .facet-title {
  display: block !important;
  float: none;
  width: 100%;
  margin: 0 0 .85rem;
  color: var(--osl-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  font-weight: 400;
  line-height: 1.25;
  text-transform: none;
}

.osl-filter-drawer .facet > .title {
  display: none !important;
}

.osl-filter-drawer .facet ul,
.osl-filter-drawer .facet ul.collapse,
.osl-filter-drawer .facet ul.collapse:not(.in) {
  display: block !important;
  height: auto !important;
  max-height: none !important;
  margin: 0;
  padding: 0;
  overflow: visible !important;
}

.osl-filter-drawer .facet li {
  margin: 0;
  padding: 0;
}

.osl-filter-drawer .facet-label {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 37px;
  margin: 0;
  color: var(--osl-muted);
  font-size: .76rem;
}

.osl-filter-drawer .facet-label:hover,
.osl-filter-drawer .facet-label.active {
  color: var(--osl-coral);
}

.osl-filter-drawer .facet-label .custom-checkbox,
.osl-filter-drawer .facet-label .custom-radio {
  top: auto;
  flex: 0 0 20px;
  margin-right: .55rem;
}

.osl-filter-drawer .facet-label .custom-checkbox span,
.osl-filter-drawer .facet-label .custom-radio span {
  border-color: var(--osl-line);
}

.osl-filter-drawer .facet-label a {
  flex: 1 1 auto;
  color: inherit;
  font-weight: 400;
}

.osl-filter-drawer .facet-label .magnitude {
  float: right;
  color: #9b9a94;
  font-size: .67rem;
}

.osl-filter-drawer .ui-slider {
  margin: 1rem .45rem .5rem;
  border: 0;
  background: var(--osl-line);
}

.osl-filter-drawer .ui-slider .ui-slider-range {
  background: var(--osl-terracotta);
}

.osl-filter-drawer .ui-slider .ui-slider-handle {
  width: 16px;
  height: 16px;
  margin-top: -2px;
  border: 2px solid var(--osl-paper);
  border-radius: 50%;
  background: var(--osl-coral);
  box-shadow: 0 0 0 1px var(--osl-coral);
}

/* Grille et miniatures produits */
.osl-category-catalog #js-product-list .products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(2rem, 3vw, 3.4rem) clamp(.8rem, 1.6vw, 1.6rem);
  margin: 0;
}

.osl-category-catalog #js-product-list .products > .product {
  float: none;
  width: auto;
  max-width: none;
  min-width: 0;
  padding: 0;
}

.osl-category-catalog .product-miniature,
.osl-category-catalog .thumbnail-container {
  width: 100%;
  height: auto;
  margin: 0;
  background: transparent;
  box-shadow: none;
}

.osl-category-catalog .product-thumbnail {
  display: block;
  aspect-ratio: 1 / 1.18;
  width: 100%;
  overflow: hidden;
  background: #f3ede6;
}

.osl-category-catalog .product-thumbnail img {
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform .45s ease;
}

.osl-category-catalog .product-miniature:hover .product-thumbnail img {
  transform: scale(1.025);
}

.osl-category-catalog .product-description {
  position: static;
  width: 100%;
  height: auto;
  padding: 1rem .15rem 0;
  background: transparent;
}

.osl-category-catalog .product-title,
.osl-category-catalog .product-title a {
  height: auto;
  margin: 0;
  color: var(--osl-ink);
  font-size: .76rem;
  font-weight: 600;
  line-height: 1.45;
  text-align: left;
  text-transform: none;
}

.osl-category-catalog .product-title a {
  display: flex;
  flex-direction: column;
}

.osl-category-catalog .product-title small {
  display: block;
  margin-top: .35rem;
  color: #8b8d87;
  font-size: .62rem;
  font-weight: 400;
  letter-spacing: .05em;
}

.osl-category-catalog .product-price-and-shipping {
  margin-top: .6rem;
  color: var(--osl-ink);
  font-size: .82rem;
  font-weight: 700;
  text-align: left;
}

.osl-category-catalog .regular-price {
  color: var(--osl-muted);
  font-size: .72rem;
}

.osl-category-catalog .discount-product {
  color: #fff;
  background: var(--osl-coral);
}

.osl-category-catalog .product-flags {
  top: .7rem;
  left: .7rem;
}

.osl-category-catalog .product-flags li.product-flag {
  min-height: 0;
  margin: 0 0 .35rem;
  padding: .4rem .55rem;
  border: 0;
  color: #fff;
  background: var(--osl-coral);
  box-shadow: none;
  font-size: .58rem;
  line-height: 1;
  letter-spacing: .08em;
}

.osl-category-catalog .highlighted-informations {
  width: 100%;
  background: rgba(255, 253, 249, .93);
  box-shadow: none;
}

.osl-category-catalog .quick-view {
  color: var(--osl-ink);
  font-size: .7rem;
}

.osl-category-catalog .pagination {
  margin-top: 4rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--osl-line);
}

.osl-category-catalog .pagination .page-list li a,
.osl-category-catalog .pagination .page-list li span {
  color: var(--osl-ink);
  font-size: .76rem;
}

.osl-category-catalog .pagination .current a {
  color: var(--osl-coral);
}

/* Editorial SEO : contenu existant conservé, nouveau style */
.osl-category-seo {
  position: relative;
  left: 50%;
  z-index: 0;
  display: grid;
  grid-template-columns: minmax(260px, .9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 6rem);
  width: 100vw;
  margin-left: -50vw;
  padding: clamp(4.8rem, 7vw, 8rem) max(1.5rem, calc((100vw - 1320px) / 2));
  overflow: hidden;
  background: #efe2d8;
}

.osl-category-seo::before {
  content: "";
  position: absolute;
  top: 50%;
  left: clamp(-190px, -9vw, -75px);
  z-index: -2;
  width: clamp(310px, 34vw, 545px);
  aspect-ratio: 1;
  border: 1px solid rgba(122, 81, 64, .18);
  border-radius: 50%;
  transform: translateY(-50%);
}

.osl-category-seo::after {
  content: "";
  position: absolute;
  right: -4%;
  bottom: -28%;
  z-index: -2;
  width: clamp(110px, 13vw, 190px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(196, 100, 67, .08);
}

.osl-category-seo__watermark {
  position: absolute;
  top: 50%;
  left: clamp(-78px, -2vw, 0px);
  z-index: -1;
  width: clamp(230px, 28vw, 450px);
  height: auto;
  opacity: .045;
  pointer-events: none;
  transform: translateY(-50%) rotate(-7deg);
}

.osl-category-seo__heading {
  position: relative;
  align-self: start;
  padding: clamp(1.5rem, 3vw, 3rem) 0 clamp(1.5rem, 3vw, 3rem) clamp(1rem, 2.5vw, 2.5rem);
}

.osl-category-seo__heading::before {
  content: "";
  position: absolute;
  top: clamp(.5rem, 1.5vw, 1.3rem);
  left: 0;
  width: 44px;
  height: 3px;
  background: var(--osl-coral);
}

.osl-category-seo__heading h2 {
  max-width: 580px;
  margin: 0;
  color: var(--osl-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.15rem, 3.25vw, 3.55rem);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -.04em;
  text-transform: none;
}

.osl-category-seo__content {
  align-self: start;
  padding: clamp(1.4rem, 3vw, 2.8rem);
  border: 0;
  background: rgba(255, 253, 249, .32);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.osl-category-seo__text,
.osl-category-seo__text p {
  color: var(--osl-ink);
  font-size: .96rem;
  line-height: 1.78;
}

.osl-category-seo__text p {
  margin: 0 0 1.25rem;
}

.osl-category-seo__text p:last-child {
  margin-bottom: 0;
}

.osl-category-seo__text > p:first-child::first-letter,
.osl-category-seo__text::first-letter {
  float: left;
  margin: .08rem .45rem 0 0;
  color: var(--osl-coral);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.1rem;
  line-height: .8;
}

.osl-category-seo__links {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem 1.3rem;
  margin-top: 1.8rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(172, 134, 107, .38);
}

.osl-category-seo__links a {
  padding-bottom: .25rem;
  border-bottom: 1px solid var(--osl-terracotta);
  color: var(--osl-ink);
  font-size: .67rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.osl-category-seo__links a:hover {
  color: var(--osl-coral);
  border-color: var(--osl-coral);
}

@media (max-width: 1050px) {
  .osl-category-hero__copy {
    width: min(780px, 82vw);
    padding-left: 2rem;
  }

  .osl-subcategory-strip,
  .osl-category-reassurance,
  .osl-category-catalog,
  .osl-category-seo {
    padding-right: 2rem;
    padding-left: 2rem;
  }

  .osl-subcategory-strip {
    grid-template-columns: 105px minmax(0, 1fr);
  }

  .osl-subcategory-strip__links {
    grid-column: 2;
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .osl-subcategory-strip__links::-webkit-scrollbar {
    display: none;
  }

  .osl-category-catalog #js-product-list .products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .osl-category-seo {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 767.98px) {
  .osl-category-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }

  .osl-category-hero__media {
    grid-area: 2 / 1;
    position: relative;
    inset: auto;
    z-index: 0;
    height: clamp(240px, 75vw, 440px);
  }

  .osl-category-hero__media .osl-category-hero__image {
    object-fit: var(--osl-category-mobile-fit, cover);
    object-position: var(--osl-category-mobile-position, 50% 50%);
  }

  .osl-category-hero__overlay {
    grid-area: 2 / 1;
    position: relative;
    inset: auto;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(53, 64, 57, .14), transparent 24%);
  }

  .osl-category-hero__copy {
    grid-area: 1 / 1;
    justify-content: center;
    width: 100%;
    min-height: 0;
    padding: 2rem 1.25rem 1.5rem;
  }

  .osl-category-hero__eyebrow {
    color: rgba(255, 255, 255, .8);
    margin-bottom: .9rem;
    font-size: .58rem;
  }

  .osl-category-hero h1 {
    font-size: clamp(2.35rem, 10.5vw, 3.25rem);
    line-height: 1;
  }

  .osl-category-hero__intro {
    margin-top: 1.15rem;
    font-size: .82rem;
    line-height: 1.62;
  }

  .osl-category-hero__meta {
    margin-top: 1rem;
    font-size: .63rem;
  }

  .osl-subcategory-strip {
    grid-area: 3 / 1;
    position: relative;
    inset: auto;
    display: block;
    min-height: 0;
    padding: .7rem 0 .55rem;
    background: linear-gradient(90deg, rgba(22, 25, 22, .72), rgba(22, 25, 22, .55));
  }

  .osl-subcategory-strip__label {
    display: block;
    padding: 0 1.25rem .35rem;
    font-size: .84rem;
  }

  .osl-subcategory-strip__links {
    display: flex;
    justify-content: flex-start;
    width: 100%;
    gap: 1.05rem;
    padding: .1rem 1.25rem .3rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .osl-subcategory-strip__links a {
    min-height: 42px;
    font-size: .69rem;
  }

  .osl-subcategory-strip__arrow {
    flex-basis: 25px;
    width: 25px;
    height: 25px;
  }

  .osl-category-reassurance {
    grid-template-columns: 1fr;
    padding: .35rem 1.25rem;
  }

  .osl-category-reassurance > div {
    grid-template-columns: 34px minmax(0, 1fr) 34px;
    min-height: 54px;
    padding: .5rem 0;
    border-right: 0;
    border-bottom: 1px solid rgba(172, 134, 107, .28);
  }

  .osl-category-reassurance > div::after {
    width: 34px;
  }

  .osl-category-reassurance > div:last-child {
    border-bottom: 0;
  }

  .osl-category-reassurance strong {
    font-size: .67rem;
  }

  .osl-category-reassurance small {
    font-size: .64rem;
  }

  .osl-category-catalog {
    padding: 4.3rem 1.25rem;
  }

  .osl-catalog-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: .7rem;
    margin-bottom: 1.5rem;
  }

  .osl-catalog-heading h2 {
    font-size: 2.45rem;
  }

  .osl-catalog-toolbar__main {
    flex-wrap: wrap;
    min-height: 56px;
  }

  .osl-filter-open {
    min-width: 0;
    flex: 1 1 58%;
    min-height: 55px;
    padding: 0 .8rem;
    font-size: .67rem;
  }

  .osl-catalog-toolbar__results {
    display: none;
  }

  .osl-catalog-toolbar__sort {
    flex: 1 1 42%;
    min-width: 0;
  }

  .osl-catalog-toolbar__sort .sort-by {
    display: none !important;
  }

  .osl-catalog-toolbar__sort .products-sort-order {
    width: 100%;
  }

  .osl-catalog-toolbar__sort .products-sort-order .select-title {
    min-height: 55px;
    padding: 0 .65rem;
    font-size: .66rem;
  }

  .osl-category-catalog #js-product-list .products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.2rem .65rem;
  }

  .osl-category-catalog .product-thumbnail {
    aspect-ratio: .83;
  }

  .osl-category-catalog .product-description {
    padding-top: .75rem;
  }

  .osl-category-catalog .product-title,
  .osl-category-catalog .product-title a {
    font-size: .68rem;
    line-height: 1.4;
  }

  .osl-category-catalog .product-title small {
    font-size: .57rem;
  }

  .osl-category-catalog .product-price-and-shipping {
    font-size: .76rem;
  }

  .osl-filter-drawer {
    width: min(430px, 100vw);
  }

  .osl-filter-drawer__header {
    min-height: 78px;
    padding: 1rem 1.25rem;
  }

  .osl-filter-drawer__header strong {
    font-size: 1.4rem;
  }

  .osl-filter-drawer__body {
    padding: .35rem 1.25rem 2rem;
  }

  .osl-category-seo {
    grid-template-columns: 1fr;
    gap: .8rem;
    padding: 4.5rem 1.25rem;
  }

  .osl-category-seo__heading {
    padding: 1.7rem 0 1.15rem 1rem;
  }

  .osl-category-seo__heading::before {
    top: .6rem;
    width: 32px;
  }

  .osl-category-seo__heading h2 {
    font-size: 2.35rem;
  }

  .osl-category-seo__watermark {
    top: 30%;
    left: -98px;
    width: 290px;
    opacity: .04;
  }

  .osl-category-seo__content {
    padding: 1.35rem 1.1rem 1.55rem;
    background: rgba(255, 253, 249, .23);
  }

  .osl-category-seo__text,
  .osl-category-seo__text p {
    font-size: .88rem;
    line-height: 1.72;
  }

  .osl-category-seo__links {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 380px) {
  .osl-category-hero h1 {
    font-size: 2.18rem;
  }

  .osl-filter-open {
    flex-basis: 54%;
  }

  .osl-catalog-toolbar__sort {
    flex-basis: 46%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .osl-category-page *,
  .osl-category-page *::before,
  .osl-category-page *::after {
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
    animation-duration: .001ms !important;
  }
}

/* Correctif 4.1 — respiration du hero et finitions des tiroirs mobiles. */
@media (max-width: 767px) {
  .osl-category-hero h1 {
    font-size: clamp(2.15rem, 9.2vw, 2.85rem);
    line-height: 1.01;
  }

  .osl-subcategory-strip::after {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 3;
    width: 34px;
    height: 53px;
    background: linear-gradient(90deg, transparent, rgba(22, 25, 22, .72));
    content: "";
    pointer-events: none;
  }

  .osl-subcategory-strip__links {
    padding-right: 3rem;
    scroll-padding-right: 3rem;
  }

  .osl-filter-drawer {
    width: min(430px, calc(100vw - 28px));
  }

  .osl-filter-close {
    width: 36px !important;
    height: 36px !important;
    color: var(--osl-muted);
    background: transparent !important;
    border: 0 !important;
    border-radius: 50%;
    box-shadow: none !important;
    outline: 0;
  }

  .osl-filter-close:hover,
  .osl-filter-close:focus-visible {
    color: var(--osl-coral);
    background: rgba(172, 134, 107, .09) !important;
    outline: 1px solid rgba(172, 134, 107, .36);
    outline-offset: 1px;
  }

  .osl-filter-close span::before,
  .osl-filter-close span::after {
    width: 18px;
  }
}

@media (max-width: 380px) {
  .osl-category-hero h1 {
    font-size: 2.08rem;
  }
}

/* Cartes : mêmes règles que Sélection OSL (étapes 12 à 13.1). */
body#category .osl-category-catalog,
body#category .osl-category-catalog .products,
body#category .osl-category-catalog .product-miniature,
body#category .osl-category-catalog .thumbnail-container {
  max-width: none;
}

body#category .osl-category-catalog .products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  gap: 1.15rem;
}

/* Le template de miniature du thème ajoute un conteneur Bootstrap `.product`
   dimensionné à 25 %. La grille définit déjà ses quatre colonnes : on neutralise
   donc cette seconde réduction pour que chaque carte remplisse sa cellule. */
body#category .osl-category-catalog .products > .product {
  float: none;
  flex: 0 0 auto;
  width: 100% !important;
  min-width: 0;
  max-width: none !important;
  margin: 0;
  padding: 0 !important;
}

body#category .osl-category-catalog .product-miniature {
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
}

body#category .osl-category-catalog .thumbnail-container {
  width: 100%;
  height: auto;
  margin: 0;
  background: transparent;
  box-shadow: none;
}

body#category .osl-category-catalog .product-thumbnail {
  position: relative;
  display: block;
  aspect-ratio: 0.82;
  background: var(--osl-line);
  overflow: hidden;
}

body#category .osl-category-catalog .product-thumbnail img {
  position: static;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
  transition: transform 450ms ease;
}

body#category .osl-category-catalog .product-miniature:hover .product-thumbnail img {
  transform: scale(1.025);
}

body#category .osl-category-catalog .osl-product-quick-link {
  position: absolute;
  right: 0.8rem;
  bottom: 0.8rem;
  left: 0.8rem;
  z-index: 2;
  display: block;
  padding: 0.85rem;
  color: #fff;
  background: rgba(122, 81, 64, 0.95);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.65rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  transform: translateY(calc(100% + 0.9rem));
  transition: transform 280ms ease;
  pointer-events: none;
}

body#category .osl-category-catalog .product-miniature:hover .osl-product-quick-link,
body#category .osl-category-catalog .product-miniature:focus-within .osl-product-quick-link {
  transform: translateY(0);
}

body#category .osl-category-catalog .product-description {
  position: static;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto 1fr;
  align-items: start;
  column-gap: 1rem;
  width: 100%;
  height: auto;
  min-height: 108px;
  padding: 1rem 0.1rem 0.5rem;
  background: transparent;
}

body#category .osl-category-catalog .product-title {
  grid-column: 1;
  grid-row: 1;
  margin: 0;
  color: var(--osl-ink);
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 0.77rem;
  font-weight: 700;
  line-height: 1.4;
  text-align: left;
  text-transform: none;
}

body#category .osl-category-catalog .product-title a {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.28rem;
  color: var(--osl-ink) !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: inherit;
  font-weight: inherit !important;
  line-height: inherit;
  text-decoration: none !important;
}

body#category .osl-category-catalog .product-title a::before,
body#category .osl-category-catalog .product-title a::after {
  display: none !important;
  content: none !important;
}

body#category .osl-category-catalog .product-title span,
body#category .osl-category-catalog .product-title small {
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  text-decoration: none !important;
}

body#category .osl-category-catalog .product-title span {
  color: var(--osl-ink);
  transition: color 180ms ease;
}

body#category .osl-category-catalog .product-title a:hover,
body#category .osl-category-catalog .product-title a:focus-visible {
  color: var(--osl-ink) !important;
}

body#category .osl-category-catalog .product-title a:hover span,
body#category .osl-category-catalog .product-title a:focus-visible span {
  color: var(--osl-coral) !important;
}

body#category .osl-category-catalog .product-title small {
  display: block;
  margin: 0;
  color: var(--osl-muted) !important;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.045em;
  line-height: 1.35;
  text-transform: none;
}

body#category .osl-category-catalog .product-price-and-shipping {
  grid-column: 2;
  grid-row: 1;
  align-self: start;
  margin: 0;
  padding: 0;
  color: var(--osl-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.4;
  text-align: right;
  white-space: nowrap;
}

body#category .osl-category-catalog .highlighted-informations,
body#category .osl-category-catalog .product-flags,
body#category .osl-category-catalog .all-product-link {
  display: none !important;
}

body#category .osl-category-catalog .products {
  gap: clamp(2.5rem, 4vw, 4rem) clamp(1rem, 2.4vw, 2.25rem);
}

body#category .osl-category-catalog .thumbnail-container {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

body#category .osl-category-catalog .product-thumbnail {
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  place-items: center;
  width: 100%;
  height: auto;
  aspect-ratio: .9;
  padding: 12%;
  background: #fff;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  text-decoration: none;
}

/* Étape 12.1 — fond blanc pur et léger zoom au survol de l'article.
   Les images restent contenues dans les cartes et conservent leurs couleurs. */
body#category .osl-category-catalog .product-thumbnail img {
  position: static;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  max-width: 100%;
  max-height: 100%;
  margin: 0;
  padding: 0;
  object-fit: contain;
  object-position: center;
  mix-blend-mode: normal;
  transform: none;
  transition: transform 450ms ease;
}

@media (hover: hover) and (pointer: fine) {
  body#category .osl-category-catalog .product-miniature:hover .product-thumbnail img {
    transform: scale(1.035);
  }
}

/* Découvrir reprend les règles d'origine : bandeau terracotta remontant
   dans la photo au survol de la carte ou à la navigation au clavier. */
@media (prefers-reduced-motion: reduce) {
  body#category .osl-category-catalog .product-thumbnail img,
  body#category .osl-category-catalog .product-miniature:hover .product-thumbnail img {
    transform: none;
    transition: none;
  }
}

body#category .osl-category-catalog .product-description {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  height: auto;
  min-height: 145px;
  padding: 1.1rem 0 .9rem;
  gap: .9rem;
  border-bottom: 1px solid #e8e1d8;
  text-align: left;
}

body#category .osl-category-catalog .product-title {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.4;
}

body#category .osl-category-catalog .product-title a {
  display: flex;
  gap: .45rem;
  font-family: inherit !important;
  font-weight: 400 !important;
}

body#category .osl-category-catalog .product-title small {
  font-size: .75rem;
  font-weight: 400;
  letter-spacing: .025em;
  overflow-wrap: anywhere;
}

body#category .osl-category-catalog .product-price-and-shipping {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .4rem;
  margin-top: auto;
  font-family: Arial, Helvetica, sans-serif;
  font-size: .875rem;
  font-weight: 500;
  line-height: 1.5;
  text-align: left;
  white-space: normal;
}

body#category .osl-category-catalog .product-price-and-shipping .price {
  font-weight: 500;
  white-space: nowrap;
}

@media (max-width: 680px) {
  body#category .osl-category-catalog .products { gap: 2rem .85rem; }
  body#category .osl-category-catalog .product-thumbnail { padding: 10%; }
  body#category .osl-category-catalog .product-description { min-height: 156px; padding-top: .9rem; gap: .7rem; }
  body#category .osl-category-catalog .product-title { font-size: .9375rem; }
  body#category .osl-category-catalog .product-title small { font-size: .75rem; letter-spacing: 0; }
}

/* Étape 13 — deux faces, survol de toute la carte et repli sur la couverture. */
body#category img.osl-product-secondary-source[hidden] { display: none !important; }

body#category .osl-category-catalog .osl-product-flip {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  perspective: 900px;
}

body#category .osl-category-catalog .osl-product-flip__rotor {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transform: rotateY(0deg);
  transition: transform 600ms cubic-bezier(.22,.61,.36,1);
}

body#category .osl-category-catalog .product-thumbnail .osl-product-flip img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transition: none;
}

body#category .osl-category-catalog .product-thumbnail .osl-product-flip img.osl-product-flip__front { transform: rotateY(0deg); }
body#category .osl-category-catalog .product-thumbnail .osl-product-flip img.osl-product-flip__back { transform: rotateY(180deg); }

@media (hover: hover) and (pointer: fine) {
  body#category .osl-category-catalog .product-miniature:hover .osl-product-flip__rotor { transform: scale(1.035); }
  body#category .osl-category-catalog .product-miniature:hover .osl-product-flip.is-ready .osl-product-flip__rotor,
  body#category .osl-category-catalog .product-miniature:focus-within .osl-product-flip.is-ready .osl-product-flip__rotor { transform: rotateY(180deg) scale(1.035); }
}

@media (prefers-reduced-motion: reduce) {
  body#category .osl-category-catalog .osl-product-flip__rotor { transition: none; }
  body#category .osl-category-catalog .product-miniature:hover .osl-product-flip__rotor { transform: none; }
  body#category .osl-category-catalog .product-miniature:hover .osl-product-flip.is-ready .osl-product-flip__rotor,
  body#category .osl-category-catalog .product-miniature:focus-within .osl-product-flip.is-ready .osl-product-flip__rotor { transform: rotateY(180deg); }
}

/* Étape 13.1 — les deux photos remplissent tout le cartouche,
   sans marge intérieure et sans déformation. */
body#category .osl-category-catalog .product-thumbnail {
  padding: 0;
}

body#category .osl-category-catalog .product-thumbnail img {
  padding: 0;
  object-fit: cover;
  object-position: center;
}

body#category .osl-category-catalog .product-thumbnail .osl-product-flip {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

body#category .osl-category-catalog .product-thumbnail .osl-product-flip img.osl-product-flip__front,
body#category .osl-category-catalog .product-thumbnail .osl-product-flip img.osl-product-flip__back {
  padding: 0;
  object-fit: cover;
  object-position: center;
}


@media (max-width: 1050px) { body#category .osl-category-catalog #js-product-list .products { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767.98px) { body#category .osl-category-catalog #js-product-list .products { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Étape 27 — textes SEO intacts, image plein écran et finitions premium. */
body#category,
body#category .osl-category-page { background: #fff; }
body#category #wrapper {
  padding-top: calc(var(--osl-category-header-offset, 0px) + 24px);
  background: #fff;
}
body#category .osl-category-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - var(--osl-category-top, 180px));
  min-height: calc(100svh - var(--osl-category-top, 180px));
  height: auto;
  isolation: isolate;
  background: #354039;
}
body#category .osl-category-hero__media,
body#category .osl-category-hero__overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  grid-area: auto;
}
body#category .osl-category-hero__media { z-index: 0; }
body#category .osl-category-hero__media .osl-category-hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--osl-category-mobile-position, 50% 50%);
}
body#category .osl-category-hero__overlay {
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(19, 29, 23, .82), rgba(19, 29, 23, .68) 36%, rgba(19, 29, 23, .12) 78%), linear-gradient(0deg, rgba(19, 29, 23, .45), transparent 30%);
}
body#category .osl-category-breadcrumb {
  position: relative;
  z-index: 3;
  flex: 0 0 auto;
  width: 100%;
  padding: 15px max(32px, calc((100vw - 1420px) / 2));
  color: #fff;
  background: linear-gradient(180deg, rgba(19, 29, 23, .72), rgba(19, 29, 23, .25));
}
/* Classe indépendante : ni le masquage Classic ni le bloc breadcrumb vide
   de la page ne peuvent supprimer ce nouveau fil d’Ariane. */
body#category .osl-breadcrumb-trail {
  display: block;
  position: static;
  width: 100%;
  margin: 0;
  padding: 0;
  opacity: 1;
  visibility: visible;
  color: inherit;
  font: 400 13px/1.55 Arial, Helvetica, sans-serif;
  letter-spacing: .02em;
}
body#category .osl-breadcrumb-trail ol {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 0;
  padding: 0;
  margin: 0;
  list-style: none;
}
body#category .osl-breadcrumb-trail li { display: inline; }
body#category .osl-breadcrumb-trail li + li::before { content: "/"; margin: 0 10px; opacity: .65; }
body#category .osl-breadcrumb-trail a,
body#category .osl-breadcrumb-trail span { color: inherit; font: inherit; text-transform: none; overflow-wrap: anywhere; }
body#category .osl-breadcrumb-trail a:hover { text-decoration: underline; text-underline-offset: 3px; }
body#category .osl-breadcrumb-trail a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
body#category .osl-category-breadcrumb--plain { color: #3e4640; background: #fff; }
body#category .osl-category-hero__copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex: 1 0 auto;
  flex-direction: column;
  justify-content: center;
  width: min(850px, 67vw);
  min-height: 0;
  padding: clamp(24px, 4vh, 48px) 36px clamp(28px, 4vh, 48px) max(32px, calc((100vw - 1420px) / 2));
}
body#category .osl-category-hero__eyebrow { margin: 0 0 16px; font-size: 10px; font-weight: 400; letter-spacing: .16em; line-height: 1.5; }
body#category .osl-category-hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 3.7vw, 58px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -.025em;
  overflow-wrap: break-word;
}
body#category .osl-category-hero__intro { max-width: 670px; margin: 22px 0 0; font-size: 15px; line-height: 1.75; color: #fff; }
body#category .osl-category-hero__meta { margin: 18px 0 0; font-size: 11px; }
body#category .osl-category-hero__meta strong { font-size: 22px; }
body#category .osl-subcategory-strip {
  position: relative;
  inset: auto;
  z-index: 2;
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: minmax(90px, 1fr) minmax(0, 8fr) minmax(90px, 1fr);
  gap: 0;
  width: 100%;
  min-height: 88px;
  margin: 0;
  padding: 14px max(32px, calc((100vw - 1420px) / 2));
  border: 0;
  background: rgba(19, 29, 23, .46);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
body#category .osl-subcategory-strip__label { grid-column: 1; justify-self: start; padding: 0; text-align: left; font-size: 15px; }
body#category .osl-subcategory-strip__links {
  grid-column: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-width: 0;
  gap: 4px clamp(14px, 1.7vw, 26px);
  padding: 0;
  overflow: visible;
}
body#category .osl-subcategory-strip__links a { min-height: 44px; font-size: 13px; font-weight: 400; }
body#category .osl-subcategory-strip__arrow { width: 25px; height: 25px; flex-basis: 25px; border-color: rgba(255,255,255,.35); }
body#category .osl-subcategory-strip::after { display: none; }

/* Titre, filtres et tri : dimensions conservées ; fond blanc défini à l’étape 29. */
body#category .osl-category-catalog { padding: 0; background: #fff; }
body#category .osl-catalog-controls { padding: 28px max(32px, calc((100vw - 1420px) / 2)) 24px; background: #f5eee7; }
body#category .osl-catalog-heading { gap: 24px; margin-bottom: 22px; }
body#category .osl-catalog-heading .osl-eyebrow { margin-bottom: 9px; font-weight: 400; letter-spacing: .16em; }
body#category .osl-catalog-heading h2 { font-size: clamp(30px, 2.8vw, 44px); line-height: 1.13; letter-spacing: -.025em; }
body#category .osl-catalog-toolbar { margin-bottom: 0; }
body#category .osl-active-filters:empty { display: none; }
/* La liste et la pagination restent sur fond blanc, même après un filtre AJAX. */
body#category .osl-category-catalog #js-product-list { padding: 32px max(32px, calc((100vw - 1420px) / 2)) 20px; background: #fff; }
body#category .osl-category-catalog #js-product-list-bottom { padding: 0 max(32px, calc((100vw - 1420px) / 2)) 28px; background: #fff; }
body#category .osl-category-catalog .thumbnail-container .product-thumbnail {
  position: relative;
  display: block;
  aspect-ratio: .9;
  padding: 0;
  background: #fff;
}
body#category .osl-category-catalog .thumbnail-container .product-thumbnail > img:not(.osl-product-secondary-source) {
  position: absolute;
  inset: 4%;
  width: 92%;
  height: 92%;
  object-fit: contain;
  object-position: center;
  transform: none;
  mix-blend-mode: normal;
}
body#category .osl-category-catalog .thumbnail-container .product-thumbnail .osl-product-flip {
  position: absolute;
  inset: 4%;
  width: 92%;
  height: 92%;
}
body#category .osl-category-catalog .thumbnail-container .product-thumbnail .osl-product-flip img.osl-product-flip__front,
body#category .osl-category-catalog .thumbnail-container .product-thumbnail .osl-product-flip img.osl-product-flip__back {
  padding: 0;
  object-fit: contain;
  object-position: center;
}
body#category .osl-category-catalog .product-description { padding: 18px 0 16px; gap: 12px; border-bottom-color: #eee8e2; }
body#category .osl-category-catalog .product-title { line-height: 1.45; }
body#category .osl-category-catalog .product-title small { color: #74766f !important; }
body#category .osl-category-reassurance,
body#category .osl-category-seo,
body#category .osl-category-seo__content { background: #fff; }
body#category .osl-category-reassurance { border-top: 1px solid #eee8e2; border-bottom: 1px solid #eee8e2; }
body#category .osl-category-seo::before,
body#category .osl-category-seo::after { display: none; }
@media (hover: hover) and (pointer: fine) {
  body#category .osl-category-catalog .product-miniature:hover .osl-product-flip__rotor { transform: none; }
  body#category .osl-category-catalog .product-miniature:hover .osl-product-flip.is-ready .osl-product-flip__rotor,
  body#category .osl-category-catalog .product-miniature:focus-within .osl-product-flip.is-ready .osl-product-flip__rotor { transform: rotateY(180deg); }
}
@media (max-width: 1050px) {
  body#category .osl-category-hero__copy { width: 82%; }
  body#category .osl-subcategory-strip { grid-template-columns: 80px minmax(0,1fr) 80px; }
}
@media (max-width: 767.98px) {
  body#category #wrapper { padding-top: calc(var(--osl-category-header-offset, 0px) + 16px); }
  body#category .osl-category-hero { --osl-category-top: 150px; }
  body#category .osl-category-breadcrumb { padding: 12px 20px; }
  body#category .osl-breadcrumb-trail { font-size: 12px; letter-spacing: 0; }
  body#category .osl-breadcrumb-trail li + li::before { margin: 0 7px; }
  body#category .osl-category-hero__overlay { background: linear-gradient(90deg, rgba(19,29,23,.7), rgba(19,29,23,.52)), linear-gradient(0deg, rgba(19,29,23,.4), transparent 50%); }
  body#category .osl-category-hero__copy { width: 100%; padding: 24px 20px 26px; }
  body#category .osl-category-hero__eyebrow { margin-bottom: 12px; font-size: 9px; letter-spacing: .12em; }
  body#category .osl-category-hero h1 { font-size: clamp(28px, 7.4vw, 38px); line-height: 1.12; }
  body#category .osl-category-hero__intro { margin-top: 16px; font-size: 13px; line-height: 1.65; }
  body#category .osl-category-hero__meta { margin-top: 14px; font-size: 10px; }
  body#category .osl-subcategory-strip { grid-template-columns: minmax(0,1fr); gap: 9px; padding: 14px 20px; min-height: 0; }
  body#category .osl-subcategory-strip__label { grid-column: 1; justify-self: start; font-size: 14px; }
  body#category .osl-subcategory-strip__links { grid-column: 1; gap: 0 18px; }
  body#category .osl-subcategory-strip__links a { font-size: 12px; }
  body#category .osl-catalog-controls { padding: 22px 20px 20px; }
  body#category .osl-catalog-heading { gap: 8px; margin-bottom: 18px; }
  body#category .osl-catalog-heading h2 { font-size: 30px; }
  body#category .osl-category-catalog #js-product-list { padding: 24px 16px 16px; }
  body#category .osl-category-catalog #js-product-list-bottom { padding: 0 16px 24px; }
  body#category .osl-category-catalog .product-description { padding: 14px 0; }
}

/* Étape 28 — même galerie premium sur l’accueil et les catégories.
   body#category .osl-category-catalog #js-product-list est remplacé par le sélecteur propre à chaque page. */
body#category .osl-category-catalog #js-product-list .products {
  --osl-gallery-gap: 44px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 58px var(--osl-gallery-gap);
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0;
  background: #fff;
}
body#category .osl-category-catalog #js-product-list .products > .product {
  position: relative;
  display: flex;
  min-width: 0;
  width: 100% !important;
  max-width: none !important;
  margin: 0;
  padding: 0 !important;
}
body#category .osl-category-catalog #js-product-list .products > .product:not(:nth-child(4n))::after {
  content: "";
  position: absolute;
  right: calc(var(--osl-gallery-gap) / -2);
  top: 24px;
  width: 1px;
  height: clamp(90px, 12vw, 175px);
  background: #e9e3de;
  pointer-events: none;
}
body#category .osl-category-catalog #js-product-list .product-miniature,
body#category .osl-category-catalog #js-product-list .thumbnail-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  background: #fff;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
body#category .osl-category-catalog #js-product-list .thumbnail-container .product-thumbnail {
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1.06;
  padding: 0;
  overflow: hidden;
  background: #fff;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
body#category .osl-category-catalog #js-product-list .thumbnail-container .product-thumbnail > img {
  position: absolute;
  display: block;
  inset: 6%;
  width: 88%;
  height: 88%;
  min-width: 0;
  min-height: 0;
  max-width: none;
  max-height: none;
  padding: 0;
  margin: 0;
  object-fit: contain;
  object-position: center;
  transform: none !important;
  mix-blend-mode: normal;
  opacity: 1;
  transition: opacity 1200ms cubic-bezier(.2,.65,.3,1);
}
body#category .osl-category-catalog #js-product-list .thumbnail-container .product-thumbnail > img.osl-product-secondary-source { opacity: 0; }
body#category .osl-category-catalog #js-product-list .thumbnail-container .product-thumbnail > img[hidden] { display: none !important; }
body#category .osl-category-catalog #js-product-list .osl-gallery-ready.is-osl-gallery-active .product-thumbnail > img:not(.osl-product-secondary-source) { opacity: 0; }
body#category .osl-category-catalog #js-product-list .osl-gallery-ready.is-osl-gallery-active .product-thumbnail > img.osl-product-secondary-source { opacity: 1; }
body#category .osl-category-catalog #js-product-list .thumbnail-container .osl-product-quick-link {
  position: absolute;
  z-index: 2;
  right: 10px;
  bottom: 0;
  left: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px;
  color: #40362f;
  background: rgba(248,244,239,.95);
  border: 0;
  border-radius: 0;
  font: 400 12px/1.3 Arial, Helvetica, sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(calc(100% + 2px));
  transition: transform 450ms cubic-bezier(.22,.61,.36,1), opacity 400ms ease;
  pointer-events: none;
}
body#category .osl-category-catalog #js-product-list .is-osl-gallery-active .osl-product-quick-link,
body#category .osl-category-catalog #js-product-list .product-miniature:focus-within .osl-product-quick-link { opacity: 1; transform: translateY(0); }
body#category .osl-category-catalog #js-product-list .osl-product-views { position: relative; height: 28px; flex: 0 0 28px; }
body#category .osl-category-catalog #js-product-list .osl-product-view-toggle {
  position: absolute;
  top: -8px;
  left: calc(50% - 32px);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 64px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  cursor: pointer;
  touch-action: manipulation;
}
body#category .osl-category-catalog #js-product-list .osl-product-view-toggle[hidden] { display: none !important; }
body#category .osl-category-catalog #js-product-list .osl-product-view-toggle span { display: block; width: 14px; height: 1px; background: #dcd4cd; transition: background 400ms ease; }
body#category .osl-category-catalog #js-product-list .osl-product-view-toggle span:first-child { background: #40362f; }
body#category .osl-category-catalog #js-product-list .osl-gallery-ready.is-osl-gallery-active .osl-product-view-toggle span:first-child { background: #dcd4cd; }
body#category .osl-category-catalog #js-product-list .osl-gallery-ready.is-osl-gallery-active .osl-product-view-toggle span:last-child { background: #40362f; }
body#category .osl-category-catalog #js-product-list .product-description {
  position: static;
  display: flex;
  flex: 1 0 auto;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
  width: 100%;
  height: auto;
  min-height: 145px;
  padding: 13px 3px 27px;
  background: #fff;
  border: 0;
  border-bottom: 1px solid #e9e3de;
  text-align: center;
}
body#category .osl-category-catalog #js-product-list .product-title {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.45;
  text-align: center;
  text-transform: none;
}
body#category .osl-category-catalog #js-product-list .product-title a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-family: inherit !important;
  font-size: inherit;
  font-weight: 400 !important;
  line-height: inherit;
  text-align: center;
}
body#category .osl-category-catalog #js-product-list .product-title span { width: 100%; }
body#category .osl-category-catalog #js-product-list .product-title small { color: #796e65 !important; font: 400 12px/1.5 Arial, Helvetica, sans-serif; letter-spacing: .025em; overflow-wrap: anywhere; }
body#category .osl-category-catalog #js-product-list .product-price-and-shipping {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  align-self: stretch;
  gap: 6px;
  margin: auto 0 0;
  padding: 0;
  color: #40362f;
  font: 400 14px/1.5 Arial, Helvetica, sans-serif;
  font-variant-numeric: tabular-nums;
  text-align: center;
  white-space: normal;
}
body#category .osl-category-catalog #js-product-list .product-price-and-shipping .price { font-size: inherit; font-weight: 400; white-space: nowrap; }
body#category .osl-category-catalog #js-product-list .product-price-and-shipping .regular-price { color: #796e65; font-size: 12px; }
body#category .osl-category-catalog #js-product-list .product-thumbnail:focus-visible,
body#category .osl-category-catalog #js-product-list .osl-product-view-toggle:focus-visible { outline: 2px solid #805742; outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
  body#category .osl-category-catalog #js-product-list .product-miniature:hover .osl-product-quick-link { opacity: 1; transform: translateY(0); }
}
@media (max-width: 900px) {
  body#category .osl-category-catalog #js-product-list .products { --osl-gallery-gap: 30px; grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 42px; }
  body#category .osl-category-catalog #js-product-list .products > .product:nth-child(2n)::after { display: none; }
  body#category .osl-category-catalog #js-product-list .products > .product:not(:nth-child(2n))::after { display: block; height: 155px; }
}
@media (max-width: 520px) {
  body#category .osl-category-catalog #js-product-list .products { --osl-gallery-gap: 24px; row-gap: 33px; }
  body#category .osl-category-catalog #js-product-list .products > .product:not(:nth-child(2n))::after { top: 17px; height: 100px; }
  body#category .osl-category-catalog #js-product-list .thumbnail-container .product-thumbnail { aspect-ratio: 1 / 1.18; }
  body#category .osl-category-catalog #js-product-list .thumbnail-container .product-thumbnail > img { inset: 4%; width: 92%; height: 92%; }
  body#category .osl-category-catalog #js-product-list .product-description { min-height: 150px; padding: 9px 0 20px; gap: 12px; }
  body#category .osl-category-catalog #js-product-list .product-title { font-size: 15px; line-height: 1.42; }
  body#category .osl-category-catalog #js-product-list .product-title a { gap: 9px; }
  body#category .osl-category-catalog #js-product-list .product-title small { font-size: 12px; letter-spacing: 0; }
  body#category .osl-category-catalog #js-product-list .product-price-and-shipping { font-size: 13px; }
  body#category .osl-category-catalog #js-product-list .thumbnail-container .osl-product-quick-link { right: 0; left: 0; font-size: 12px; padding: 10px 6px; }
}
@media (prefers-reduced-motion: reduce) {
  body#category .osl-category-catalog #js-product-list .thumbnail-container .product-thumbnail > img,
  body#category .osl-category-catalog #js-product-list .thumbnail-container .osl-product-quick-link,
  body#category .osl-category-catalog #js-product-list .osl-product-view-toggle span { transition: none; }
}


/* Étape 29 — Galerie pleine largeur et fond blanc, présentation validée. */
body#category .osl-category-catalog {
  --osl-gallery-margin: clamp(24px, 3vw, 64px);
  --osl-paper: #fff;
  --osl-ivory: #fff;
}
body#category .osl-catalog-controls,
body#category .osl-category-catalog #js-product-list,
body#category .osl-category-catalog #js-product-list-bottom {
  padding-left: var(--osl-gallery-margin);
  padding-right: var(--osl-gallery-margin);
  background: #fff;
}
body#category .osl-category-catalog .osl-filter-open:hover,
body#category .osl-category-catalog .osl-catalog-toolbar__sort .select-list:hover,
body#category .osl-category-catalog .osl-catalog-toolbar__sort .select-list.current {
  background: #f6f6f6;
}
@media (max-width: 900px) {
  body#category .osl-category-catalog { --osl-gallery-margin: 24px; }
}
@media (max-width: 520px) {
  body#category .osl-category-catalog { --osl-gallery-margin: 18px; }
}

body#category .osl-category-catalog #js-product-list .products { max-width: none; }
body#category .osl-category-catalog #js-product-list .osl-product-views { height: 30px; flex-basis: 30px; background: #fff; }
body#category .osl-category-catalog #js-product-list .osl-product-view-toggle { top: -2px; }
body#category .osl-category-catalog #js-product-list .product-description { padding: 15px 22px 26px; border-bottom: 0; background: #fff; }
@media (max-width: 520px) {
  body#category .osl-category-catalog #js-product-list .osl-product-views { height: 26px; flex-basis: 26px; }
  body#category .osl-category-catalog #js-product-list .osl-product-view-toggle { top: -5px; }
  body#category .osl-category-catalog #js-product-list .product-description { padding: 12px 10px 20px; }
}

/* Étape 30 — favoris discrets ; le module natif conserve ses actions. */
body#category .osl-category-catalog #js-product-list .product-miniature :is(.wishlist-button-add, .addToWishlist, .add_to_wishlist) {
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity 300ms ease, transform 300ms ease;
}
@media (hover: hover) and (pointer: fine) {
  body#category .osl-category-catalog #js-product-list .product-miniature:hover :is(.wishlist-button-add, .addToWishlist, .add_to_wishlist) {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }
}
body#category .osl-category-catalog #js-product-list .product-miniature :is(.wishlist-button-add, .addToWishlist, .add_to_wishlist):focus-visible {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}
@media (hover: none) {
  body#category .osl-category-catalog #js-product-list .product-miniature.is-osl-gallery-active :is(.wishlist-button-add, .addToWishlist, .add_to_wishlist) {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  body#category .osl-category-catalog #js-product-list .product-miniature :is(.wishlist-button-add, .addToWishlist, .add_to_wishlist) { transition: none; }
}


/* Étape 31 — mêmes marges et dimensions que la Sélection OSL, à tous les niveaux de catégorie. */
body#category .osl-category-catalog {
  --osl-gallery-margin: max(2rem, calc(50vw - 640px));
  left: auto;
  width: 100%;
  margin-left: 0;
}
body#category .osl-category-catalog #js-product-list .products { max-width: 1320px; }
@media (max-width: 680px) {
  body#category .osl-category-catalog { --osl-gallery-margin: 1.25rem; }
}

/* Une seule marge gouverne la photo et le rectangle Découvrir. */
body#category .osl-category-catalog #js-product-list .thumbnail-container .product-thumbnail { --osl-photo-inset: 6%; }
body#category .osl-category-catalog #js-product-list .thumbnail-container .product-thumbnail > img {
  inset: var(--osl-photo-inset);
  width: calc(100% - var(--osl-photo-inset) - var(--osl-photo-inset));
  height: calc(100% - var(--osl-photo-inset) - var(--osl-photo-inset));
}
body#category .osl-category-catalog #js-product-list .thumbnail-container .osl-product-quick-link {
  left: var(--osl-photo-inset);
  right: var(--osl-photo-inset);
  bottom: var(--osl-photo-inset);
  width: auto;
  box-sizing: border-box;
}
@media (max-width: 520px) {
  body#category .osl-category-catalog #js-product-list .thumbnail-container .product-thumbnail { --osl-photo-inset: 4%; }
}
