/* =============================================
   POMMECAN BIJOUX — Page Produit
   Style GAS Bijoux : 55/45, miniatures verticales
   ============================================= */

:root {
  --pom-prod-cream:  #FFFFFF;
  --pom-prod-gold:   #1B6B77;
  --pom-prod-black:  #0D1B1E;
  --pom-prod-grey:   #7A9499;
  --pom-prod-border: #EFF6F7;
  --pom-prod-muted:  #999999;
}

/* ── Wrapper global ── */
.pom-product {
  background-color: var(--pom-prod-cream);
}

/* ── Layout 2 colonnes ── */
.pom-product__layout {
  display: flex;
  flex-direction: column;
}

@media (min-width: 900px) {
  .pom-product__layout {
    flex-direction: row;
    align-items: flex-start;
    min-height: calc(100vh - 80px);
  }
}

/* ══ GALERIE ══ */
.pom-product__gallery {
  background-color: var(--pom-prod-cream);
  display: flex;
  flex-direction: row;
  gap: 6px;
  position: relative;
}

@media (min-width: 900px) {
  .pom-product__gallery {
    width: 55%;
    position: sticky;
    top: 80px;
    align-self: flex-start;
    max-height: calc(100vh - 80px);
    overflow: hidden;
  }
}

/* ── Colonne miniatures verticales ── */
.pom-product__thumbs-col {
  width: 72px;
  flex-shrink: 0;
  display: none;
}

@media (min-width: 640px) {
  .pom-product__thumbs-col {
    display: flex;
    flex-direction: column;
  }
}

@media (min-width: 900px) {
  .pom-product__thumbs-col {
    height: calc(100vh - 80px);
    overflow: hidden;
  }
}

.pom-product__thumbs.swiper {
  height: 100%;
  overflow: hidden;
}

.pom-product__thumbs .swiper-slide {
  width: 72px !important;
  height: auto !important;
  flex-shrink: 0;
  cursor: pointer;
}

.pom-product__thumb-btn {
  display: block;
  width: 72px;
  aspect-ratio: 3 / 4;
  border: 1.5px solid transparent;
  background: none;
  cursor: pointer;
  padding: 0;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.pom-product__thumb-btn:hover {
  border-color: var(--pom-prod-grey);
}

.swiper-slide-thumb-active .pom-product__thumb-btn {
  border-color: var(--pom-prod-black);
}

.pom-product__thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Image principale ── */
.pom-product__main-col {
  flex: 1;
  position: relative;
  min-width: 0;
}

.pom-product__main-img-wrap.swiper {
  width: 100%;
  overflow: hidden;
}

.pom-product__main-img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
  background-color: var(--pom-prod-cream);
}

/* Pagination dots mobile */
.pom-product__gallery-dots {
  position: absolute;
  bottom: 1rem;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  z-index: 10;
}

@media (min-width: 640px) {
  .pom-product__gallery-dots {
    display: none;
  }
}

.pom-product__gallery-dots.swiper-pagination-bullets .swiper-pagination-bullet {
  width: 6px;
  height: 6px;
  background-color: rgba(26, 26, 26, 0.3);
  opacity: 1;
}

.pom-product__gallery-dots.swiper-pagination-bullets .swiper-pagination-bullet-active {
  background-color: var(--pom-prod-black);
}

/* ── Flèches navigation galerie ── */
.pom-product__gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.88);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pom-prod-black);
  transition: background-color 0.2s ease, opacity 0.2s ease;
  border-radius: 2px;
}

.pom-product__gallery-prev { left: 12px; }
.pom-product__gallery-next { right: 12px; }

.pom-product__gallery-nav:hover { background: #fff; }

.pom-product__gallery-nav.swiper-button-disabled {
  opacity: 0;
  pointer-events: none;
}

/* Flags overlay */
.pom-product__flags {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  z-index: 2;
  pointer-events: none;
}

.pom-product__flag {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background-color: var(--pom-prod-black);
  color: #fff;
}

.pom-product__flag--new     { background-color: var(--pom-prod-gold); color: var(--pom-prod-black); }
.pom-product__flag--on-sale { background-color: #c0392b; color: #fff; }
.pom-product__flag--pack    { background-color: #2c3e50; color: #fff; }

/* ══ INFOS ══ */
.pom-product__info {
  padding: 2.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  background-color: var(--pom-prod-cream);
}

@media (min-width: 900px) {
  .pom-product__info {
    width: 45%;
    padding: 3.75rem 3rem 3.75rem 2.5rem;
    position: sticky;
    top: 80px;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    scrollbar-width: none;
  }
  .pom-product__info::-webkit-scrollbar { display: none; }
}

/* Breadcrumb */
/* Breadcrumb page produit — même style que breadcrumb global (.pom-breadcrumb) */
.pom-product__breadcrumb {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 4px !important;
  margin-bottom: 1rem !important;
}

.pom-product__bc-link {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 11px !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: #7A9499 !important;
  text-decoration: none !important;
  transition: color 0.25s !important;
}

.pom-product__bc-link:hover {
  color: #1B6B77 !important;
}

.pom-product__bc-sep {
  font-size: 11px !important;
  color: #C5DDE0 !important;
  font-family: 'DM Sans', sans-serif !important;
}

/* Dernier élément (page courante) plus foncé */
.pom-product__bc-link:last-of-type {
  color: #0D1B1E !important;
}

/* Le TPL n'affiche pas la page courante mais laisse un séparateur en fin
   (« ACCUEIL / BAGUES / ») → on masque le dernier séparateur pour
   s'aligner sur le breadcrumb global (pas de « / » terminal). */
.pom-product__breadcrumb .pom-product__bc-sep:last-child {
  display: none !important;
}

/* Référence */
.pom-product__ref {
  font-size: 0.68rem;
  color: var(--pom-prod-muted);
  letter-spacing: 0.08em;
  margin: 0;
  text-transform: uppercase;
}

/* Nom */
.pom-product__name {
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-weight: 300;
  letter-spacing: 0;
  line-height: 1.15;
  color: var(--pom-prod-black);
  margin: 0;
  text-transform: none;
}

/* Prix */
.pom-product__prices {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.pom-product__price {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--pom-prod-black);
  letter-spacing: 0.01em;
}

.pom-product__price-old {
  font-size: 1rem;
  color: var(--pom-prod-muted);
  text-decoration: line-through;
  font-weight: 300;
}

.pom-product__discount {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: #c0392b;
}

/* Séparateur fin */
.pom-product__divider {
  height: 1px;
  background-color: var(--pom-prod-border);
  width: 100%;
}

/* Description courte */
.pom-product__desc-short {
  font-size: 0.85rem;
  color: var(--pom-prod-grey);
  line-height: 1.8;
}

.pom-product__desc-short p { margin: 0; }

/* ── Variantes ── */
.pom-product__variants {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.pom-product__variant-group {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.pom-product__variant-label {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pom-prod-black);
  margin: 0;
}

.pom-product__variant-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Pills taille */
.pom-product__variant-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.375rem 0.875rem;
  border: 1px solid var(--pom-prod-border);
  border-radius: 14px;
  font-size: 0.78rem;
  color: var(--pom-prod-grey);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
  user-select: none;
}

.pom-product__variant-pill:hover {
  border-color: var(--pom-prod-black);
  color: var(--pom-prod-black);
}

.pom-product__variant-pill.is-selected {
  border-color: var(--pom-prod-black);
  color: var(--pom-prod-black);
  font-weight: 500;
}

.pom-product__variant-pill.is-unavailable {
  opacity: 0.35;
  cursor: not-allowed;
  text-decoration: line-through;
}

/* Swatch couleur */
.pom-product__variant-swatch {
  display: inline-flex;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid transparent;
  padding: 2px;
  cursor: pointer;
  transition: border-color 0.2s ease;
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.pom-product__variant-swatch:hover { border-color: var(--pom-prod-grey); }

.pom-product__variant-swatch.is-selected {
  border-color: var(--pom-prod-black);
  outline-color: var(--pom-prod-black);
}

.pom-product__variant-swatch.is-unavailable { opacity: 0.35; cursor: not-allowed; }

.pom-product__swatch-color {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: block;
}

/* sr-only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ── Ajout panier ── */
.pom-product__add-row {
  display: flex;
  gap: 0.5rem;
  align-items: stretch;
}

.pom-product__qty-wrap {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--pom-prod-border);
  height: 50px;
  flex-shrink: 0;
  background-color: transparent;
}

.pom-product__qty-btn {
  width: 36px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  font-size: 1.1rem;
  color: var(--pom-prod-black);
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.pom-product__qty-btn:hover { background-color: rgba(26, 26, 26, 0.05); }

.pom-product__qty-input {
  width: 42px;
  height: 100%;
  border: none;
  border-left: 1px solid var(--pom-prod-border);
  border-right: 1px solid var(--pom-prod-border);
  text-align: center;
  font-family: inherit;
  font-size: 0.88rem;
  color: var(--pom-prod-black);
  background: none;
  -moz-appearance: textfield;
}

.pom-product__qty-input::-webkit-inner-spin-button,
.pom-product__qty-input::-webkit-outer-spin-button { -webkit-appearance: none; }
.pom-product__qty-input:focus { outline: none; }

.pom-product__add-to-cart {
  flex: 1;
  height: 50px;
  background-color: var(--pom-prod-gold);
  color: #fff;
  font-family: inherit;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background-color 0.25s ease;
}

.pom-product__add-to-cart:hover:not(:disabled) {
  background-color: var(--pom-prod-black);
}

.pom-product__add-to-cart:disabled {
  background-color: var(--pom-prod-border);
  color: var(--pom-prod-muted);
  cursor: not-allowed;
}

.pom-product__add-to-cart:focus-visible {
  outline: 2px solid var(--pom-prod-gold);
  outline-offset: 2px;
}

/* Wishlist */
.pom-product__wishlist-btn {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  border: 1px solid var(--pom-prod-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pom-prod-grey);
  background: none;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.pom-product__wishlist-btn:hover,
.pom-product__wishlist-btn.is-active {
  border-color: var(--pom-prod-black);
  color: var(--pom-prod-black);
}

.pom-product__wishlist-btn.is-active svg {
  fill: var(--pom-prod-black);
}

/* ── Disponibilité ── */
.pom-product__availability {
  margin-top: 0.75rem !important;
}

.pom-product__avail {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 12px !important;
  font-family: 'DM Sans', sans-serif !important;
  letter-spacing: 0.04em !important;
}

.pom-product__avail--in span  { color: #1B6B77 !important; }
.pom-product__avail--low span { color: #E67E22 !important; }
.pom-product__avail--out span { color: #7A9499 !important; }

/* ── Accordéon ── */
.pom-product__accordion {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--pom-prod-border);
  margin-top: 0.25rem;
}

.pom-product__accord-item {
  border-bottom: 1px solid var(--pom-prod-border);
}

.pom-product__accord-item summary { list-style: none; }
.pom-product__accord-item summary::-webkit-details-marker { display: none; }

.pom-product__accord-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pom-prod-black);
  cursor: pointer;
  user-select: none;
}

.pom-product__accord-icon {
  flex-shrink: 0;
  transition: transform 0.25s ease;
  color: var(--pom-prod-grey);
}

details[open] .pom-product__accord-icon { transform: rotate(180deg); }

.pom-product__accord-body {
  padding-bottom: 1.25rem;
  font-size: 0.82rem;
  color: var(--pom-prod-grey);
  line-height: 1.8;
}

.pom-product__accord-body p { margin: 0 0 0.5rem; }
.pom-product__accord-body p:last-child { margin-bottom: 0; }

/* ── Produits associés — carousel horizontal ── */
.pom-product__accessories {
  padding-block: clamp(2.5rem, 6vw, 5rem);
  border-top: 1px solid var(--pom-prod-border);
  overflow: hidden;
}

.pom-product__accessories-title {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  color: var(--pom-prod-black);
  text-align: center;
}

/* ── Accessories slider wrapper ── */
.pom-product__acc-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.pom-acc-swiper {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.pom-acc-swiper .swiper-slide {
  height: auto;
}

/* Nav buttons */
.pom-product__acc-btn {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border: 1px solid var(--pom-prod-border);
  background: none;
  color: var(--pom-prod-black);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  border-radius: 2px;
}

.pom-product__acc-btn:hover {
  background-color: var(--pom-prod-black);
  border-color: var(--pom-prod-black);
  color: #fff;
}

.pom-product__acc-btn.swiper-button-disabled {
  opacity: 0.3;
  pointer-events: none;
}

/* ── Bloc réassurance produit ── */
.pom-reassurance {
  display: flex;
  flex-direction: row;
  gap: 0;
  padding-top: 0.25rem;
  border-top: 1px solid var(--pom-prod-border);
  border-bottom: 1px solid var(--pom-prod-border);
}

.pom-reassurance__item {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  padding: 1rem 0.5rem;
  border-right: 1px solid var(--pom-prod-border);
}

.pom-reassurance__item:last-child {
  border-right: none;
}

.pom-reassurance__icon {
  flex-shrink: 0;
  color: var(--pom-prod-gold);
  display: flex;
  align-items: center;
}

.pom-reassurance__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
}

.pom-reassurance__text strong {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--pom-prod-black);
  letter-spacing: 0.01em;
}

.pom-reassurance__text span {
  font-size: 0.68rem;
  color: var(--pom-prod-grey);
}

/* ── Mobile ── */
@media (max-width: 899px) {
  .pom-product__gallery { position: static; }
  .pom-product__info    { position: static; max-height: none; }
  .pom-product__add-row { flex-wrap: wrap; }
  .pom-product__add-to-cart { min-width: 0; flex: 1; }
  .pom-product__qty-wrap { width: fit-content; }
}

/* ── Section "Vous aimerez aussi" (ps_crossselling override) ── */
.pom-related-products {
  padding: 4rem 2rem;
  border-top: 1px solid #EFF6F7;
  margin-top: 4rem;
}

.pom-related-products__title {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  text-align: center;
  color: #0D1B1E;
  margin-bottom: 3rem;
  font-weight: 400;
}

.pom-related-slider {
  position: relative;
  overflow: hidden;
}

.pom-related-slider .swiper-wrapper {
  display: flex;
}

.pom-related-slider .swiper-slide {
  flex-shrink: 0;
}

.pom-related-prev,
.pom-related-next {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  z-index: 10;
  background: white;
  border: 1px solid #EFF6F7;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s;
}

.pom-related-prev:hover,
.pom-related-next:hover {
  border-color: #1B6B77;
}

.pom-related-prev { left: 0.5rem; }
.pom-related-next { right: 0.5rem; }

/* Masquer l'ancienne section sans classe si elle réapparaît */
.page-product > #main > section:not(.pom-related-products) {
  display: none !important;
}

/* ── Bijoux consultés récemment (ps_viewedproduct) ── */
.pom-viewed-products {
  padding: 4rem 2rem;
  border-top: 1px solid #EFF6F7;
}

.pom-viewed-products__title {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 4px;
  text-transform: uppercase;
  text-align: center;
  color: #0D1B1E;
  margin-bottom: 3rem;
}

.pom-viewed-products .products {
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
}

.pom-viewed-products .products .pom-product-card {
  flex: 0 0 calc(50% - 1px);
}

@media (min-width: 768px) {
  .pom-viewed-products .products .pom-product-card {
    flex: 0 0 calc(33.333% - 1px);
  }
}

@media (min-width: 1024px) {
  .pom-viewed-products .products .pom-product-card {
    flex: 0 0 calc(25% - 1px);
  }
}

/* ── Masquer blocs avis / commentaires ── */
#product-comments-list,
.product-comments,
#new-comment-form,
.new-comment-form,
#product-comments-list-footer,
.js-product-comment-modal,
#sendComment {
  display: none !important;
}

/* ── Caractéristiques produit ── */
.pom-product__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
  margin: 0;
  padding: 0;
}

.pom-product__feature-name {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #7A9499;
  font-weight: 500;
}

.pom-product__feature-value {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: #0D1B1E;
  margin: 0;
}

/* ── Wishlist proxy ── */
.pom-wishlist-native {
  position: absolute !important;
  visibility: hidden !important;
  pointer-events: none !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
}

.pom-wishlist-native .wishlist-button {
  visibility: hidden !important;
}

.pom-product__wishlist-wrap {
  display: contents;
}

.pom-product-card__wishlist-wrap {
  display: contents;
}

/* Style fiche produit — même look que carte (fin, transparent) */
.pom-product__wishlist-btn {
  background: none !important;
  border: none !important;
  cursor: pointer !important;
  color: #0D1B1E;
  padding: 0.3rem !important;
  transition: color 0.2s !important;
  border-radius: 0 !important;
  width: auto !important;
  height: auto !important;
}

.pom-product__wishlist-btn:hover {
  color: #1B6B77 !important;
  transform: none !important;
  background: none !important;
}

.pom-product__wishlist-btn.is-active svg path {
  fill: #0D1B1E;
  stroke: #0D1B1E;
}

/* =============================================
   PAGE PRODUIT — Galerie centrée + labels (améliorations)
   Remplace la mise en page « en ligne » (thumbs verticaux à gauche, image cover 4/5)
   par une galerie en colonne : image carrée centrée (contain) + miniatures en dessous.
   ============================================= */

/* ── Galerie : miniatures verticales à GAUCHE + image à droite ── */
/* Mobile (<640px) : image seule (thumbs masqués + pagination à points d'origine). */
.pom-product__gallery {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ≥640px : grille 2 colonnes [thumbs 80px | image 1fr] */
@media (min-width: 640px) {
  .pom-product__gallery {
    display: grid !important;
    grid-template-columns: 92px 1fr !important;
    gap: 0.75rem !important;
    align-items: start !important;
    overflow: visible !important;
    max-height: none !important;
  }
  /* Les colonnes wrapper = vrais éléments de grille. thumbs-col à gauche. */
  .pom-product__thumbs-col {
    display: block !important;
    width: 92px !important;
    order: -1 !important;
    height: auto !important;
    overflow: visible !important;
  }
  .pom-product__main-col {
    order: 0 !important;
    width: 100% !important;
  }
}

/* Image principale carrée centrée */
#pom-gallery-main {
  width: 100%;
  aspect-ratio: 1/1;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
}

#pom-gallery-main .swiper-wrapper {
  height: 100%;
  align-items: center;
}

#pom-gallery-main .swiper-slide {
  height: 100%;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #FFFFFF;
}

#pom-gallery-main img {
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center;
  padding: 2rem !important;
  aspect-ratio: auto; /* annule le cover 4/5 d'origine */
}

/* Thumbnails — colonne verticale à gauche */
#pom-gallery-thumbs {
  order: -1 !important;
  width: 92px !important;
  align-self: start !important;   /* aligne le haut des vignettes sur le haut de l'image */
  margin-top: 0 !important;
  padding-top: 0 !important;
  padding-left: 12px !important;  /* petit espace à gauche des miniatures */
  box-sizing: border-box !important;
}

/* Zéro décalage vertical hérité du Swiper */
#pom-gallery-thumbs .swiper-container,
#pom-gallery-thumbs.swiper,
#pom-gallery-thumbs .swiper {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

#pom-gallery-thumbs .swiper-wrapper {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

#pom-gallery-thumbs .swiper-wrapper {
  flex-direction: column !important;
  gap: 8px !important;
}

#pom-gallery-thumbs .swiper-slide {
  width: 80px !important;
  height: 80px !important;
  aspect-ratio: 1/1;
  margin-bottom: 8px !important;
  border: 1.5px solid transparent;
  cursor: pointer;
  opacity: 0.5;
  transition: all 0.25s;
  background: #F5F5F5;
  overflow: hidden;
  border-radius: 0;
}

#pom-gallery-thumbs .swiper-slide-thumb-active {
  border-color: #1B6B77 !important;
  opacity: 1 !important;
}

/* Le bouton interne ne porte plus son propre cadre (le slide gère bordure + opacité) */
#pom-gallery-thumbs .pom-product__thumb-btn {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  border: none;
}

#pom-gallery-thumbs img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  padding: 6px !important;
}

/* ── CORRECTION 2 — Flags/labels bordés sans fond (même style que miniatures) ── */
.pom-product__flags,
.product-flags {
  position: static;          /* n'est plus en overlay sur l'image */
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 0.75rem;
  margin-bottom: 0;
  pointer-events: auto;
}

.pom-product__flag,
.product-flag {
  font-size: 9px !important;
  font-weight: 500 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  padding: 3px 8px !important;
  font-family: 'DM Sans', sans-serif !important;
  background: transparent !important;
  color: #1B6B77 !important;
  border: 0.5px solid #1B6B77 !important;
  border-radius: 0 !important;
}

/* Types réels rendus par le template = BEM (--new / --on-sale / --out-of-stock) */
.pom-product__flag--new,
.product-flag.new {
  color: #1B6B77 !important;
  border-color: #1B6B77 !important;
}

.pom-product__flag--on-sale,
.pom-product__flag--discount,
.product-flag.on-sale {
  color: #0D1B1E !important;
  border-color: #0D1B1E !important;
}

.pom-product__flag--out-of-stock,
.product-flag.out-of-stock {
  color: #7A9499 !important;
  border-color: #7A9499 !important;
}

/* ── P2 — Référence produit masquée (trop technique) ── */
.pom-product__ref,
.product-reference {
  display: none !important;
}

/* ── P6 — Bouton "Ajouter au panier" affiné ── */
.pom-product__add-btn,
.pom-product__add-to-cart,
#add-to-cart-or-refresh button[type="submit"] {
  background: #1B6B77 !important;
  color: #FFFFFF !important;
  font-size: 11px !important;
  letter-spacing: 0.2em !important;
  padding: 14px 28px !important;
  white-space: nowrap !important;
  border: none !important;
  font-family: 'DM Sans', sans-serif !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  transition: background 0.25s !important;
  flex: 1 !important;
}

.pom-product__add-btn:hover,
.pom-product__add-to-cart:hover,
#add-to-cart-or-refresh button[type="submit"]:hover {
  background: #134F59 !important;
}

/* ── Espace latéral page catalogue (listing catégorie) ── */
body#category #main .container,
body#category #content-wrapper {
  padding-left: 2.5rem !important;
  padding-right: 2.5rem !important;
}

/* =============================================
   PAGE PRODUIT — Scroll-gallery (images empilées) + infos sticky
   Style GAS Bijoux. Remplace la galerie swiper par un défilement naturel.
   ============================================= */

/* ── LAYOUT PRODUIT (full width, sans marges) ── */
#product #main,
#product #wrapper,
#product #content-wrapper {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
}

/* Container parent éventuel (Bootstrap) : ne doit pas réduire la page */
body#product .container {
  max-width: 100% !important;
  padding: 0 !important;
}

.edv-product-layout {
  display: grid;
  grid-template-columns: 50% 50%;
  gap: 0;
  align-items: start;
  max-width: 100%;
  margin: 0;
}

/* ── GALERIE GAUCHE ── */
.edv-product-images {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0;
}

.edv-product-image-item {
  width: 100%;
  aspect-ratio: 1/1;
  background: #FAFAFA;
  overflow: hidden;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

.edv-product-image-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: 0 !important;
  display: block;
  border: none !important;
}

/* ── INFOS STICKY DROITE ── */
.edv-product-info-sticky {
  position: sticky;
  top: 80px; /* hauteur du header */
  height: calc(100vh - 80px);
  overflow-y: auto;
  padding: 2.5rem 2.5rem 2.5rem 3rem;
  scrollbar-width: none;
  border-left: 0.5px solid #F0F0F0;
}

.edv-product-info-sticky::-webkit-scrollbar {
  display: none;
}

/* Breadcrumb en tête de la colonne sticky */
.edv-product-info-sticky .pom-product__breadcrumb {
  margin-bottom: 0.5rem;
}

/* ── TITRE & PRIX ── */
.edv-product-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(24px, 2.5vw, 36px);
  font-weight: 300;
  color: #0D1B1E;
  letter-spacing: 0.02em;
  line-height: 1.2;
  margin: 0.75rem 0 1rem;
}

.edv-product-price-wrap {
  margin-bottom: 1.25rem;
}

.edv-product-price-wrap .current-price,
.edv-product-price-wrap .current-price-value,
.edv-product-price-wrap .price {
  font-size: 20px !important;
  font-weight: 400 !important;
  color: #0D1B1E !important;
}

/* Libellé taxe / livraison discret sous le prix */
.edv-product-price-wrap .tax-shipping-delivery-label {
  font-size: 11px;
  color: #7A9499;
  margin-top: 0.25rem;
}

/* ── DESCRIPTION ── */
.edv-product-desc {
  font-size: 14px;
  color: #7A9499;
  line-height: 1.75;
  margin-bottom: 1.5rem;
  border-top: 0.5px solid #F0F0F0;
  padding-top: 1.25rem;
}

/* ── ADD TO CART ── */
.edv-product-atc {
  margin: 1.5rem 0;
}

.edv-product-atc .product-quantity {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

/* ── REASSURANCE ── */
.edv-product-reassurance {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.25rem 0;
  border-top: 0.5px solid #F0F0F0;
  border-bottom: 0.5px solid #F0F0F0;
  margin-bottom: 1.5rem;
}

.edv-product-reassurance-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 12px;
  color: #7A9499;
  letter-spacing: 0.03em;
}

.edv-product-reassurance-item svg {
  stroke: #1B6B77;
  flex-shrink: 0;
}

/* ── ACCORDÉONS ── */
.edv-accordion {
  border-top: 0.5px solid #F0F0F0;
}

.edv-accordion:last-child {
  border-bottom: 0.5px solid #F0F0F0;
}

.edv-accordion__trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  background: none;
  border: none;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #0D1B1E;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
}

.edv-accordion__trigger svg {
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.edv-accordion__trigger.active svg {
  transform: rotate(180deg);
}

.edv-accordion__content {
  display: none;
  padding-bottom: 1rem;
  font-size: 13px;
  color: #7A9499;
  line-height: 1.7;
}

.edv-accordion__content.open {
  display: block;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .edv-product-layout {
    grid-template-columns: 1fr;
  }
  .edv-product-info-sticky {
    position: static;
    height: auto;
    border-left: none;
    padding: 1.5rem;
  }
  .edv-product-images {
    gap: 2px;
  }
}

@media (max-width: 640px) {
  .edv-product-image-item img {
    padding: 1rem;
  }
}

/* ═══════════════════════════════════════════
   TOOLBAR LISTING + PAGINATION (mobile-friendly)
   ═══════════════════════════════════════════ */

/* ── TOOLBAR LISTING ── */
.pom-listing__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-bottom: 0.5px solid #EFF6F7;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.pom-listing__count {
  font-size: 12px !important;
  color: #7A9499 !important;
  letter-spacing: 0.08em !important;
  font-family: 'DM Sans', sans-serif !important;
  margin: 0 !important;
}

.pom-listing__toolbar-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.pom-sort-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Le <select> affiche lui-même « Trier par » (cf. sort-orders.tpl) : le label
   externe ferait doublon. Conservé dans le DOM pour l'association au champ. */
.pom-sort-label {
  display: none !important;
  font-size: 11px !important;
  color: #7A9499 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
}

.pom-sort-select {
  font-size: 12px !important;
  color: #0D1B1E !important;
  font-family: 'DM Sans', sans-serif !important;
  border: 0.5px solid #C5DDE0 !important;
  padding: 8px 32px 8px 12px !important;
  background: #FFFFFF !important;
  border-radius: 0 !important;
  appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231B6B77' stroke-width='1.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 10px center !important;
  cursor: pointer !important;
  /* Le libellé affiché est le titre fixe « Trier par » : on borne la largeur
     pour que la boîte l'épouse, sinon le navigateur la dimensionne sur
     l'option la plus longue (« ✓ Ventes, ordre décroissant »). */
  width: auto !important;
  max-width: 132px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.14em !important;
  font-size: 11px !important;
}

/* Les options gardent leur casse et leur couleur d'origine */
.pom-sort-select option {
  text-transform: none !important;
  letter-spacing: 0.02em !important;
  font-size: 13px !important;
  color: #0D1B1E !important;
}

/* ── Toolbar mobile : voir le bloc @media (max-width: 768px) en fin de fichier
      (il doit passer APRÈS les styles du bouton « Filtrer » pour les annuler). ── */

/* ── PAGINATION ──
   Markup natif PS : <nav class="pagination"> contient 2 divs Bootstrap
   (col-md-4 = résumé « Affichage X-Y », col-md-6 = <ul class="page-list">).
   Les classes previous/next sont sur le <a> (a.next / a.previous), current
   sur le <li>. On empile résumé (au-dessus) + pastilles (centrées). */
.pom-pagination,
.pagination {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.75rem !important;
  padding: 2.5rem 0 !important;
  flex-wrap: wrap !important;
}

/* Neutralise les colonnes Bootstrap (col-md-*) → empilage centré propre */
.pagination > div {
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
}

/* Résumé « Affichage X-Y de Z » */
.pagination .col-md-4,
.pagination-summary,
#js-product-list-bottom p {
  font-size: 11px !important;
  color: #7A9499 !important;
  letter-spacing: 0.08em !important;
  font-family: 'DM Sans', sans-serif !important;
  text-align: center !important;
}

/* Liste des pastilles */
.pagination .page-list {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
  flex-wrap: wrap !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.pagination .page-list li {
  list-style: none !important;
}

/* Pastilles (numéros) */
.pom-pagination__item,
.pagination .page-list li a,
.pagination .page-list li span {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-width: 36px !important;
  height: 36px !important;
  padding: 0 10px !important;
  font-size: 12px !important;
  font-family: 'DM Sans', sans-serif !important;
  letter-spacing: 0.08em !important;
  color: #7A9499 !important;
  border: 0.5px solid transparent !important;
  background: transparent !important;
  text-decoration: none !important;
  transition: all 0.2s !important;
}

/* Page active */
.pom-pagination__item--active,
.pagination .page-list li.current a,
.pagination .page-list li.current span {
  background: #1B6B77 !important;
  color: #FFFFFF !important;
  border-color: #1B6B77 !important;
}

/* Hover */
.pom-pagination__item:hover,
.pagination .page-list li a:hover {
  color: #1B6B77 !important;
  border-color: #EFF6F7 !important;
}

/* Précédent / Suivant (classe sur le <a>) */
.pagination .page-list li a.previous,
.pagination .page-list li a.next {
  min-width: 0 !important;
  gap: 6px !important;
  padding: 0 14px !important;
  font-size: 11px !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: #0D1B1E !important;
}

.pagination .page-list li a.previous:hover,
.pagination .page-list li a.next:hover {
  color: #1B6B77 !important;
  border-color: #EFF6F7 !important;
}

/* Icône material-icons (police non chargée dans le thème) → masquée */
.pagination .page-list li a .material-icons,
.pagination .page-list li a i {
  display: none !important;
}

@media (max-width: 640px) {
  .pom-pagination,
  .pagination {
    gap: 0.6rem !important;
    padding: 1.5rem 0 !important;
  }
  .pom-pagination__item,
  .pagination .page-list li a,
  .pagination .page-list li span {
    min-width: 32px !important;
    height: 32px !important;
    padding: 0 8px !important;
  }
}

/* Mobile : réduit le padding latéral catégorie (2.5rem trop large sur petit écran)
   → la toolbar (count + tri) tient sur une ligne et la grille respire. */
@media (max-width: 640px) {
  body#category #content-wrapper,
  body#category #main .container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
}

/* ═══════════════════════════════════════════════════════════════
   NOTIFICATION AJOUT PANIER — « Le produit a bien été ajouté à
   votre panier ». Toast teal plein, centré en bas d'écran.

   ⚠️ On cible la CARTE de succès (.pom-notif--success du thème +
   .alert-success natif PrestaShop en repli), PAS le wrapper
   #notifications / .pom-notif-wrap : ce wrapper est TOUJOURS dans
   le DOM (même vide) → le styliser en teal créait une barre teal
   permanente en bas d'écran. La carte en position:fixed s'extrait
   du wrapper (qui reste transparent/invisible quand vide).
   ═══════════════════════════════════════════════════════════════ */
@keyframes edvFadeUp {
  from { opacity: 0; transform: translate(-50%, 12px); }
  to   { opacity: 1; transform: translate(-50%, 0); }
}

.pom-cart-notification,
.pom-notif--success,
.alert.alert-success,
body > .alert-success {
  position: fixed !important;
  bottom: 1.5rem !important;
  left: 50% !important;
  top: auto !important;
  right: auto !important;
  transform: translateX(-50%) !important;
  min-width: 0 !important;
  width: min(90vw, 360px) !important;
  max-width: 90vw !important;
  background: #1B6B77 !important;
  color: #FFFFFF !important;
  border: none !important;
  border-left: none !important;
  border-radius: 0 !important;
  padding: 14px 28px !important;
  font-size: 13px !important;
  font-family: 'DM Sans', sans-serif !important;
  letter-spacing: 0.04em !important;
  box-shadow: 0 4px 20px rgba(13,27,30,0.15) !important;
  z-index: 9999 !important;
  pointer-events: all !important;
  animation: edvFadeUp 0.3s ease forwards !important;
}

/* Contenu du toast succès en blanc (le thème met le texte en sombre) */
.pom-notif--success .pom-notif__icon,
.pom-notif--success .pom-notif__msg {
  color: #FFFFFF !important;
}
.pom-notif--success .pom-notif__close {
  color: rgba(255,255,255,0.7) !important;
}
.pom-notif--success .pom-notif__close:hover {
  color: #FFFFFF !important;
}
.pom-notif--success .pom-notif__msg a,
.alert.alert-success a {
  color: #FFFFFF !important;
  text-decoration: underline !important;
}

/* ═══════════════════════════════════════════════════════════════
   PANNEAU FILTRES (ps_facetedsearch) — style Éclat de Vivie
   ═══════════════════════════════════════════════════════════════ */
#search_filters,
.pom-filters-panel {
  background: #FFFFFF !important;
}

.facet .facet-title,
.facet-title {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 10px !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  color: #0D1B1E !important;
  font-weight: 500 !important;
  padding: 1rem 0 0.5rem !important;
  border-bottom: 0.5px solid #EFF6F7 !important;
  cursor: pointer !important;
}

.facet-label {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 13px !important;
  letter-spacing: 0.02em !important;
  text-transform: none !important;
  color: #7A9499 !important;
  padding: 6px 0 !important;
  border-bottom: none !important;
  cursor: pointer !important;
}

.facet-label input[type="checkbox"],
.facet-label input[type="radio"] {
  accent-color: #1B6B77 !important;
  width: 14px !important;
  height: 14px !important;
}

.facet-label.active,
.facet-label:has(input:checked) {
  color: #1B6B77 !important;
}

/* Slider prix */
.ui-slider {
  background: #EFF6F7 !important;
  border: none !important;
  height: 3px !important;
}
.ui-slider .ui-slider-range { background: #1B6B77 !important; }
.ui-slider .ui-slider-handle {
  background: #1B6B77 !important;
  border: none !important;
  border-radius: 50% !important;
  width: 14px !important;
  height: 14px !important;
  top: -6px !important;
}

/* Effacer filtres */
.js-search-filters-clear-all {
  font-size: 10px !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  color: #7A9499 !important;
  text-decoration: underline !important;
  cursor: pointer !important;
  display: block !important;
  margin-top: 1rem !important;
}

/* Filtres actifs */
.active-filter-title {
  font-size: 10px !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  color: #7A9499 !important;
  margin-bottom: 0.5rem !important;
}
.filter-block .js-search-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  background: #EFF6F7 !important;
  color: #1B6B77 !important;
  font-size: 11px !important;
  padding: 4px 10px !important;
  margin: 2px !important;
  cursor: pointer !important;
}

/* ══════════════════════════════════════════════════════════════
   DRAWER FILTRES — caché par défaut, glisse depuis la GAUCHE
   (desktop + mobile, ouvert par le bouton « Filtrer »)
   ══════════════════════════════════════════════════════════════ */
#search_filters_wrapper,
.js-search-filters-wrapper {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  bottom: 0 !important;
  width: 320px !important;
  max-width: 88vw !important;
  flex: none !important;
  background: #FFFFFF !important;
  z-index: 600 !important;
  transform: translateX(-100%) !important;
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1) !important;
  overflow-y: auto !important;
  padding: 2rem 1.5rem !important;
  border-right: 0.5px solid #EFF6F7 !important;
  box-shadow: 4px 0 20px rgba(13,27,30,0.08) !important;
}

/* Ouvert */
#search_filters_wrapper.is-open,
.js-search-filters-wrapper.is-open {
  transform: translateX(0) !important;
}

/* Overlay sombre derrière */
.edv-filter-overlay {
  position: fixed !important;
  inset: 0 !important;
  background: rgba(13,27,30,0.35) !important;
  z-index: 599 !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transition: opacity 0.35s ease !important;
}

.edv-filter-overlay.is-open {
  opacity: 1 !important;
  pointer-events: all !important;
}

/* Header du drawer */
.edv-filter-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 1.5rem !important;
  padding-bottom: 1rem !important;
  border-bottom: 0.5px solid #EFF6F7 !important;
}

.edv-filter-header-title {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 20px !important;
  font-weight: 300 !important;
  color: #0D1B1E !important;
  letter-spacing: 0.04em !important;
}

.edv-filter-close {
  background: transparent !important;
  border: none !important;
  cursor: pointer !important;
  padding: 4px !important;
  display: flex !important;
  align-items: center !important;
}

.edv-filter-close svg {
  stroke: #7A9499 !important;
  transition: stroke 0.25s !important;
}

.edv-filter-close:hover svg {
  stroke: #1B6B77 !important;
}

/* Titre natif « Filter By » redondant avec le header du drawer */
#search_filters_wrapper #search_filters > p.text-uppercase.h6 {
  display: none !important;
}

/* Bouton « Réinitialiser les filtres » (haut du drawer, sous le header) */
.edv-filter-reset {
  margin-bottom: 1.25rem !important;
  padding-bottom: 1.25rem !important;
  border-bottom: 0.5px solid #EFF6F7 !important;
}

.edv-filter-reset-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 11px !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  color: #7A9499 !important;
  font-family: 'DM Sans', sans-serif !important;
  text-decoration: none !important;
  transition: color 0.25s !important;
  cursor: pointer !important;
}

.edv-filter-reset-btn:hover {
  color: #1B6B77 !important;
}

.edv-filter-reset-btn svg {
  stroke: currentColor !important;
}

.edv-filter-reset:empty {
  display: none !important;
}

/* Le « Tout effacer » natif de ps_facetedsearch ferait doublon dans le drawer */
#search_filters_wrapper .clear-all-wrapper,
#search_filters_wrapper .js-search-filters-clear-all {
  display: none !important;
}

/* Chevrons de collapse : inutiles, les sections sont toujours dépliées */
#search_filters_wrapper .facet .collapse-icons {
  display: none !important;
}

/* Coche « material-icons » parasite (police non chargée → ✓ affiché même
   décoché) : la case native suffit */
#search_filters_wrapper .facet-label .material-icons {
  display: none !important;
}

/* Slider prix : la poignée déborde de la largeur du drawer */
#search_filters_wrapper .ui-slider {
  margin: 0.5rem 8px 1.25rem !important;
}

/* ── Layout listing : le drawer est en position:fixed → la grille prend tout ── */
.pom-listing__layout {
  display: block;
}
.pom-listing__main {
  min-width: 0;
}

/* Force l'affichage des options de facette (Bootstrap .collapse les masque ;
   le thème classique a un override desktop absent ici). Le drawer sert de
   conteneur, les options sont donc toujours dépliées. */
#search_filters_wrapper .collapse,
#search_filters .collapse,
.pom-listing__filters .collapse {
  display: block !important;
}
/* Titre mobile (collapse toggle) masqué : options déjà ouvertes */
.pom-listing__filters .facet .title.hidden-md-up { pointer-events: none; }

/* ── Bouton FILTRER (toggler) — charte Éclat ── */
#search_filter_toggler,
.pom-filter-btn {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: transparent !important;
  border: 0.5px solid #C5DDE0 !important;
  color: #0D1B1E !important;
  font-size: 11px !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
  font-family: 'DM Sans', sans-serif !important;
  padding: 9px 18px !important;
  cursor: pointer !important;
  transition: all 0.25s !important;
}
#search_filter_toggler:hover,
.pom-filter-btn:hover {
  border-color: #1B6B77 !important;
  color: #1B6B77 !important;
}
#search_filter_toggler svg,
.pom-filter-btn svg {
  stroke: currentColor !important;
}

/* ── Compteur "(18)" à côté des valeurs de filtre en muted ── */
.facet-label .magnitude,
.facet .facet-label em {
  color: #C5DDE0 !important;
  font-size: 11px !important;
  font-style: normal !important;
}

/* ══════════════════════════════════════════════════════════════
   TOOLBAR LISTING — MOBILE
   Compteur à gauche, « tri | filtrer » à droite, contrôles sans
   bordure ni fond. Ce bloc est volontairement en FIN DE FICHIER :
   il doit passer après `#search_filter_toggler` (l.~1800) pour
   pouvoir en annuler la bordure (même spécificité + !important
   → c'est la dernière règle qui gagne).
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .pom-listing__toolbar {
    padding: 0.875rem 0 !important;
    border-top: 0.5px solid #EFF6F7 !important;
    border-bottom: 0.5px solid #EFF6F7 !important;
    margin-bottom: 1rem !important;
    /* nowrap : sinon le groupe de droite passe à la ligne sous 380px */
    flex-wrap: nowrap !important;
  }

  /* Compteur à gauche */
  .pom-listing__count {
    font-size: 10px !important;
    letter-spacing: 0.1em !important;
    flex: 0 0 auto !important;
  }

  /* Groupe droite — tri + filtrer */
  .pom-listing__toolbar-right {
    display: flex !important;
    align-items: center !important;
    gap: 1rem !important;
    min-width: 0 !important;
  }

  /* Séparateur vertical entre le tri et « Filtrer » */
  .pom-listing__toolbar-right::before {
    content: '' !important;
    display: block !important;
    width: 0.5px !important;
    height: 16px !important;
    background: #EFF6F7 !important;
    order: 2 !important;
    flex: 0 0 auto !important;
  }

  /* Select tri — sans bordure ni fond, épouse le titre « Trier par » */
  .pom-sort-select {
    border: none !important;
    background-color: transparent !important;
    font-size: 11px !important;
    padding: 0 18px 0 0 !important;
    color: #0D1B1E !important;
    order: 1 !important;
    width: auto !important;
    max-width: 110px !important;
  }

  /* Bouton Filtrer — sans bordure */
  #search_filter_toggler,
  .pom-filter-btn {
    border: none !important;
    background: transparent !important;
    font-size: 11px !important;
    padding: 0 !important;
    order: 3 !important;
    color: #0D1B1E !important;
    flex: 0 0 auto !important;
  }

  /* Label « Trier par » masqué */
  .pom-sort-label {
    display: none !important;
  }

  /* min-width:0 → autorise le rétrécissement du select dans le flex */
  .pom-sort-wrapper {
    order: 1 !important;
    min-width: 0 !important;
  }
}

/* ══════════════════════════════════════════════════════════════
   SLIDER SOUS-CATÉGORIES (page catégorie parente, ex. /fr/2-accueil)
   Remplace l'ancienne liste texte .subcategories-list.
   ══════════════════════════════════════════════════════════════ */
.edv-subcat-slider {
  margin: 2rem 0 3rem !important;
  overflow: hidden !important;
  position: relative !important;
}

.edv-subcat-card {
  display: block !important;
  text-decoration: none !important;
  position: relative !important;
  overflow: hidden !important;
}

.edv-subcat-card__img {
  aspect-ratio: 3/4 !important;
  overflow: hidden !important;
  background: #EFF6F7 !important;
  position: relative !important;
}

.edv-subcat-card__img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.edv-subcat-card:hover .edv-subcat-card__img img {
  transform: scale(1.04) !important;
}

.edv-subcat-card__placeholder {
  width: 100% !important;
  height: 100% !important;
  background: linear-gradient(135deg, #EFF6F7 0%, #C5DDE0 100%) !important;
}

/* Colonne, pas ligne : le nom, l'accroche et le CTA sont trois frères —
   en flex row ils se retrouveraient côte à côte. */
.edv-subcat-card__label {
  padding: 1rem 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  gap: 0 !important;
}

.edv-subcat-card__desc {
  font-size: 12px !important;
  color: #7A9499 !important;
  line-height: 1.6 !important;
  margin: 6px 0 8px !important;
  font-family: 'DM Sans', sans-serif !important;
}

.edv-subcat-card__name {
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  font-size: 18px !important;
  font-weight: 300 !important;
  font-style: italic !important;
  color: #0D1B1E !important;
}

.edv-subcat-card__cta {
  font-size: 10px !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
  color: #1B6B77 !important;
  font-family: 'DM Sans', sans-serif !important;
  white-space: nowrap !important;
  opacity: 0 !important;
  transition: opacity 0.25s !important;
}

.edv-subcat-card:hover .edv-subcat-card__cta {
  opacity: 1 !important;
}

/* Swiper custom — flèches en pastille blanche sur l'image */
.edv-subcat-slider .swiper-button-prev,
.edv-subcat-slider .swiper-button-next {
  width: 40px !important;
  height: 40px !important;
  background: #FFFFFF !important;
  border: 0.5px solid #EFF6F7 !important;
  border-radius: 50% !important;
  box-shadow: 0 2px 8px rgba(13, 27, 30, 0.1) !important;
  top: 35% !important;
  color: #1B6B77 !important;
}

.edv-subcat-slider .swiper-button-prev::after,
.edv-subcat-slider .swiper-button-next::after {
  font-size: 12px !important;
  color: #1B6B77 !important;
  font-weight: 600 !important;
}

.edv-subcat-slider .swiper-button-prev { left: 0 !important; }
.edv-subcat-slider .swiper-button-next { right: 0 !important; }

/* Pagination dots — la réserve de place est faite par le padding-bottom
   du slider, sinon les puces recouvrent le CTA « Explorer ». */
.edv-subcat-slider {
  padding-bottom: 1.75rem !important;
}

.edv-subcat-slider .swiper-pagination {
  bottom: 0 !important;
}

.edv-subcat-slider .swiper-pagination-bullet {
  background: #C5DDE0 !important;
  opacity: 1 !important;
  width: 6px !important;
  height: 6px !important;
}

.edv-subcat-slider .swiper-pagination-bullet-active {
  background: #1B6B77 !important;
}

/* Pas de survol au doigt : le CTA doit rester visible sur mobile */
@media (max-width: 768px) {
  .edv-subcat-card__cta {
    opacity: 1 !important;
  }
}

/* ══════════════════════════════════════════════════════════════
   TITRE + SOUS-TITRE ÉDITORIAL DES PAGES DE LISTING
   (_product.css est chargé après _product-card.css, où la règle
   d'origine du titre est définie → ces déclarations l'emportent)
   ══════════════════════════════════════════════════════════════ */
.pom-listing__title {
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  font-size: clamp(28px, 4vw, 48px) !important;
  font-weight: 300 !important;
  color: #0D1B1E !important;
  letter-spacing: 0.03em !important;
  margin-bottom: 0.5rem !important;
}

.pom-listing__subtitle {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 14px !important;
  color: #7A9499 !important;
  letter-spacing: 0.04em !important;
  font-style: italic !important;
  margin-bottom: 2rem !important;
  line-height: 1.6 !important;
  /* centré comme le titre, y compris sur les listings sans .__title-wrap
     (nouveautés, meilleures ventes) */
  text-align: center !important;
  max-width: 620px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
