/*


 */

/*
 * Pleine hauteur fenêtre : le body a `bg-body-secondary` ; sans ça, `<html>` peut
 * laisser une bande d’une autre couleur sous un contenu court (ex. catalogue).
 *
 * `scrollbar-gutter: stable` (classe `.scrollbar-gutter-stable` sur `<html>`) évite le
 * décalage horizontal quand la barre apparaît : réservé au catalogue (/products),
 * pas à l’accueil kiosk où la réserve vide est peu esthétique.
 */
:root {
  /* Milieu du dégradé `.products-catalog` (#f7f1ea → #efe6dc) : fond scrollbar + viewport catalogue */
  --products-catalog-scrollbar-bg: #f3ece2;
}

html {
  background-color: var(--bs-secondary-bg);
  min-height: 100vh;
  min-height: 100dvh;
}

/*
 * Dégradé page catalogue : `.products-catalog` linear 180deg #f7f1ea → #efe6dc.
 * Fond `:root --products-catalog-scrollbar-bg` pour la réserve + piste (évite le gris `--bs-secondary-bg`).
 */
html.scrollbar-gutter-stable {
  background-color: var(--products-catalog-scrollbar-bg);
  scrollbar-color: rgba(92, 70, 50, 0.32) var(--products-catalog-scrollbar-bg);
  scrollbar-gutter: stable;
}

/* Quand la modale Bootstrap est ouverte (`body.modal-open`), inutile de réserver la gouttière */
html.scrollbar-gutter-stable:has(body.modal-open) {
  scrollbar-gutter: auto;
}

html.scrollbar-gutter-stable::-webkit-scrollbar-track {
  background: var(--products-catalog-scrollbar-bg);
}

html.scrollbar-gutter-stable::-webkit-scrollbar-thumb {
  background: rgba(92, 70, 50, 0.28);
  border: 4px solid var(--products-catalog-scrollbar-bg);
  border-radius: 999px;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
}

/* Flash : au-dessus du contenu et des modales Bootstrap (backdrop ~1050, modal ~1055) */
.flash-messages-layer {
  left: 0;
  pointer-events: none;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 1090;
}

.flash-messages-layer .alert {
  pointer-events: auto;
}

/*
 * Modales « Envoyer la fiche » : même rendu depuis l’accueil (carousel, bg-dark)
 * et depuis le catalogue. Sans ça, le contexte sombre peut fausser les couleurs BS.
 */
.email-fiche-modal {
  --bs-modal-bg: #fdfaf6;
  --bs-modal-color: #2c241c;
  --bs-modal-border-color: rgba(44, 36, 28, 0.14);
  --bs-body-color: #2c241c;
  --bs-heading-color: #1a1512;
  --bs-secondary-color: rgba(44, 36, 28, 0.62);
  --bs-secondary-color-rgb: 92, 77, 64;
}

.email-fiche-modal .email-fiche-modal__sheet {
  background-color: var(--bs-modal-bg);
  color: var(--bs-modal-color);
}

.email-fiche-modal .modal-body,
.email-fiche-modal .modal-footer {
  color: var(--bs-modal-color);
}

.email-fiche-modal .modal-footer {
  border-top-color: rgba(44, 36, 28, 0.1);
}

.email-fiche-modal .email-fiche-privacy-copy {
  font-size: 0.8125rem;
}

.email-fiche-modal .form-label {
  color: #3d342c;
  font-weight: 600;
}

.email-fiche-modal .form-check-label {
  color: #4a423a;
}

.email-fiche-modal .btn-close {
  filter: none;
  opacity: 0.55;
}

.email-fiche-modal .btn-close:hover {
  opacity: 0.9;
}

.email-fiche-modal .email-fiche-modal__thumb-ring {
  box-shadow:
    0 4px 18px rgba(44, 36, 28, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.email-fiche-modal .modal-body .input-group-lg > .form-control:focus {
  box-shadow: none;
  border-color: rgba(148, 112, 82, 0.45);
}

.email-fiche-modal .modal-body .input-group:focus-within {
  box-shadow: 0 0 0 0.2rem rgba(195, 173, 155, 0.35);
  border-radius: var(--bs-border-radius-lg);
}

.email-fiche-modal .modal-body .input-group:focus-within .input-group-text,
.email-fiche-modal .modal-body .input-group:focus-within .form-control {
  border-color: rgba(148, 112, 82, 0.45);
}

/*
 * Modale envoi fiche — même échelle « CTA compact » que `.kiosk-slide-info-panel`
 * et `.kiosk-home-actions` (mobile étroit ou paysage bas).
 */
@media (max-width: 576px), (orientation: landscape) and (max-height: 540px) {
  .email-fiche-modal .modal-footer {
    gap: 0.4rem !important;
    padding-top: 0.65rem !important;
  }

  .email-fiche-modal .modal-footer .kiosk-home-cta {
    font-size: 0.78rem;
    gap: 0.35rem;
    letter-spacing: 0.02em;
    padding: 0.35rem 0.8rem 0.35rem 0.35rem;
  }

  .email-fiche-modal .modal-footer .kiosk-home-cta--search,
  .email-fiche-modal .modal-footer .kiosk-home-cta--nav-back {
    padding-left: 0.35rem;
    padding-right: 0.8rem;
  }

  .email-fiche-modal .modal-footer .kiosk-home-cta-icon {
    height: 1.55rem;
    width: 1.55rem;
  }

  .email-fiche-modal .modal-footer .kiosk-home-cta-icon .bi {
    font-size: 0.78rem;
  }

  .email-fiche-modal .modal-footer .kiosk-home-cta-label {
    line-height: 1.2;
    padding-right: 0.2rem;
  }
}

/* Modales email : fond d'arriere-plan plus doux que le noir Bootstrap par defaut. */
body:has(.email-fiche-modal.show) .modal-backdrop.show {
  background-color: #3a2f27;
  opacity: 0.24;
}

/* -----------------------------------------------------------------------------
 * Boutons kiosk — premium warm mineral
 * ----------------------------------------------------------------------------- */

.btn.kiosk-btn {
  --kiosk-radius: 50%;
  --kiosk-focus: rgba(195, 173, 155, 0.5);

  border: 1px solid transparent;
  border-radius: var(--kiosk-radius);
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.3;
  text-decoration: none;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.22s ease,
    transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn.kiosk-btn:hover:not(:disabled):not(.disabled) {
  transform: translateY(-2px);
}

.btn.kiosk-btn:active:not(:disabled):not(.disabled) {
  transform: translateY(0);
}

.btn.kiosk-btn:focus-visible {
  outline: 2.5px solid var(--kiosk-focus);
  outline-offset: 3px;
}

.btn.kiosk-btn.disabled,
.btn.kiosk-btn:disabled {
  opacity: 0.45;
  pointer-events: none;
}

/* Bouton principal — sable chaud */
.btn.kiosk-btn--dark {
  background: linear-gradient(175deg, #ecc48c 0%, #d7b597 100%);
  border-color: rgba(148, 92, 42, 0.28);
  box-shadow:
    0 1px 0 rgba(255, 248, 232, 0.6) inset,
    0 4px 14px rgba(110, 65, 20, 0.22);
  color: #2c1a0a;
}

.btn.kiosk-btn--dark:hover:not(:disabled):not(.disabled),
.btn.kiosk-btn--dark:focus-visible:not(:disabled):not(.disabled) {
  background: linear-gradient(175deg, #f0cc96 0%, #dc9f68 100%);
  border-color: rgba(140, 84, 32, 0.38);
  box-shadow:
    0 1px 0 rgba(255, 248, 232, 0.75) inset,
    0 8px 22px rgba(110, 65, 20, 0.3);
  color: #1e1106;
}

.btn.kiosk-btn--dark:focus-visible {
  --kiosk-focus: rgba(180, 118, 52, 0.55);
}

/* Bouton secondaire clair — ivoire net */
.btn.kiosk-btn--light {
  background: #ffffff;
  border-color: rgba(148, 112, 82, 0.28);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 1) inset,
    0 4px 14px rgba(50, 34, 22, 0.08);
  color: #2e2018;
}

.btn.kiosk-btn--light:hover:not(:disabled):not(.disabled),
.btn.kiosk-btn--light:focus-visible:not(:disabled):not(.disabled) {
  background: #fffdf9;
  border-color: rgba(130, 96, 66, 0.42);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 1) inset,
    0 8px 24px rgba(50, 34, 22, 0.13);
  color: #1f160e;
}

.btn.kiosk-btn--light:focus-visible {
  --kiosk-focus: rgba(130, 96, 66, 0.5);
}

/* Bouton contour */
.btn.kiosk-btn--outline {
  background-color: transparent;
  border-color: rgba(60, 42, 30, 0.34);
  box-shadow: none;
  color: #3a2a1e;
}

.btn.kiosk-btn--outline:hover:not(:disabled):not(.disabled),
.btn.kiosk-btn--outline:focus-visible:not(:disabled):not(.disabled) {
  background-color: rgba(255, 246, 236, 0.7);
  border-color: rgba(60, 42, 30, 0.52);
  box-shadow: 0 6px 16px rgba(50, 34, 22, 0.1);
  color: #281908;
}

/* Bouton discret */
.btn.kiosk-btn--ghost {
  background-color: transparent;
  border-color: transparent;
  box-shadow: none;
  color: rgba(55, 40, 28, 0.68);
}

.btn.kiosk-btn--ghost:hover:not(:disabled):not(.disabled),
.btn.kiosk-btn--ghost:focus-visible:not(:disabled):not(.disabled) {
  background-color: rgba(60, 42, 30, 0.07);
  color: #281908;
}

.email-fiche-modal .btn.kiosk-btn:focus-visible {
  --kiosk-focus: rgba(90, 68, 50, 0.4);
}

.kiosk-slide-info-panel .btn.kiosk-btn--light:focus-visible {
  --kiosk-focus: rgba(247, 220, 196, 0.55);
}

.kiosk-slide-info-panel .btn.kiosk-btn {
  border-radius: 50%;
}

.kiosk-home .btn.kiosk-btn--dark:focus-visible,
.kiosk-slide-info-panel .btn.kiosk-btn--dark:focus-visible {
  --kiosk-focus: rgba(247, 220, 196, 0.45);
}

/* Page accueil kiosk : carousel en fond, contenu au premier plan */
.kiosk-home-carousel {
  height: 100vh;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 1;
}

.kiosk-home-carousel .carousel-inner,
.kiosk-home-carousel .carousel-item {
  height: 100vh;
}

.kiosk-carousel-slide-img {
  cursor: pointer;
}

.kiosk-carousel-slide-placeholder {
  background: linear-gradient(125deg, #1f1b18 0%, #2f2825 42%, #1a1715 100%);
  height: 100%;
  width: 100%;
}

/* Hint tactile : badge flottant sur les slides */
@keyframes kiosk-hint-pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.9; }
}

.kiosk-slide-hint {
  --kiosk-hint-fade-duration: 0.8s;
  align-items: center;
  animation: kiosk-hint-pulse 3.2s ease-in-out infinite;
  background: rgba(253, 250, 246, 0.72);
  border: 1px solid rgba(44, 31, 20, 0.12);
  border-radius: 2rem;
  bottom: clamp(1.25rem, 3vh, 2.5rem);
  color: rgba(44, 31, 20, 0.78);
  display: inline-flex;
  font-size: 0.85rem;
  font-weight: 500;
  gap: 0.45rem;
  left: 50%;
  letter-spacing: 0.04em;
  opacity: 1;
  padding: 0.55rem 1.25rem;
  pointer-events: none;
  position: absolute;
  transform: translateX(-50%);
  transition:
    opacity var(--kiosk-hint-fade-duration) cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear;
  visibility: visible;
  white-space: nowrap;
  z-index: 12;
}

.kiosk-slide-hint .bi {
  line-height: 1;
}

.kiosk-slide-hint.is-hidden {
  animation: none;
  opacity: 0;
  transform: translateX(-50%);
  transition:
    opacity var(--kiosk-hint-fade-duration) cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0s linear var(--kiosk-hint-fade-duration);
  visibility: hidden;
}

/* QR code : bouton + badge contextuel */
@keyframes kiosk-qr-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-4px); }
}

.kiosk-qr-trigger {
  align-items: center;
  background: rgba(253, 250, 246, 0.88);
  border: 1px solid rgba(44, 31, 20, 0.15);
  border-radius: 999px;
  bottom: clamp(1.25rem, 3vh, 2.5rem);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.16);
  color: rgba(44, 31, 20, 0.9);
  cursor: pointer;
  display: inline-flex;
  gap: 0.5rem;
  padding: 0.65rem 0.95rem;
  position: absolute;
  right: clamp(1.25rem, 3vw, 2.5rem);
  transition: transform 0.25s ease, background 0.25s ease;
  animation: kiosk-qr-float 3.4s ease-in-out infinite;
  z-index: 11;
}

.kiosk-qr-trigger:hover,
.kiosk-qr-trigger:focus-visible {
  background: rgba(253, 250, 246, 0.98);
  transform: translateY(-2px);
}

.kiosk-qr-badge {
  align-items: center;
  background: rgba(253, 250, 246, 0.92);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(44, 31, 20, 0.12);
  border-radius: 1rem;
  bottom: clamp(4.4rem, 10vh, 6.3rem);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  opacity: 0;
  padding: 0.75rem 0.75rem 0.65rem;
  pointer-events: none;
  position: absolute;
  right: clamp(1.25rem, 3vw, 2.5rem);
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  visibility: hidden;
  z-index: 12;
}

.kiosk-qr-badge.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
}

.kiosk-qr-badge__close {
  align-items: center;
  background: rgba(44, 31, 20, 0.08);
  border: none;
  border-radius: 50%;
  color: rgba(44, 31, 20, 0.8);
  cursor: pointer;
  display: inline-flex;
  font-size: 0.72rem;
  height: 1.65rem;
  justify-content: center;
  margin-left: auto;
  width: 1.65rem;
}

.kiosk-qr-badge__img {
  display: block;
  height: clamp(92px, 11vw, 138px);
  width: clamp(92px, 11vw, 138px);
}

.kiosk-qr-badge__text {
  color: rgba(44, 31, 20, 0.85);
  font-size: clamp(0.62rem, 1.1vw, 0.8rem);
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.35;
  margin: 0;
  text-align: center;
}

.kiosk-qr-trigger.is-hidden,
.kiosk-qr-badge.is-hidden {
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
}

/* Volet produit au clic sur une slide : overlay degrade + panneau droit */
.kiosk-slide-info-backdrop {
  background:
    linear-gradient(
      to bottom,
      rgba(6, 5, 4, 0) 0%,
      rgba(6, 5, 4, 0.14) 100%
    ),
    linear-gradient(
      to right,
      rgba(18, 13, 9, 0)       0%,
      rgba(18, 13, 9, 0)       26%,
      rgba(22, 15, 10, 0.045)  44%,
      rgba(24, 16, 11, 0.14)   58%,
      rgba(22, 14, 10, 0.32)   74%,
      rgba(16, 11, 8, 0.52)    88%,
      rgba(12, 8, 6, 0.62)     100%
    );
  inset: 0;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  transition: opacity 0.4s ease;
  visibility: hidden;
  z-index: 14;
}

.kiosk-slide-info-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.kiosk-slide-info-panel {
  background: linear-gradient(
    to left,
    rgba(253, 250, 246, 1)    0%,
    rgba(253, 250, 246, 0.99) 12%,
    rgba(253, 250, 246, 0.97) 26%,
    rgba(253, 250, 246, 0.93) 44%,
    rgba(253, 250, 246, 0.78) 62%,
    rgba(253, 250, 246, 0.48) 78%,
    rgba(253, 250, 246, 0.16) 90%,
    rgba(253, 250, 246, 0)    100%
  );
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 0;
  opacity: 0;
  overflow: hidden;
  padding: clamp(2.35rem, 5.5vw, 4.25rem);
  padding-left: clamp(3rem, 7vw, 5.25rem);
  pointer-events: none;
  position: absolute;
  right: 0;
  top: 0;
  transform: translateX(100%);
  transition:
    opacity 0.42s ease,
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
  width: min(100%, clamp(26rem, 72vw, 68rem));
  z-index: 15;
}

.kiosk-slide-info-panel.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.kiosk-slide-info-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: clamp(1rem, 2.8vw, 1.55rem);
  min-height: 0;
  overflow: hidden;
  pointer-events: auto;
}

.kiosk-slide-info-body-header {
  flex-shrink: 0;
  padding-right: clamp(2.85rem, 7.5vw, 4.5rem);
}

.kiosk-slide-info-body-header--title-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem 0.875rem;
  justify-content: space-between;
}

.kiosk-slide-info-body-header-title {
  flex: 1 1 12rem;
  min-width: 0;
}

.kiosk-slide-info-fiche-actions {
  align-items: center;
}

.kiosk-slide-info-fiche-actions .kiosk-slide-info-fiche-actions__btn {
  flex: 0 0 auto;
  margin: 0;
  min-height: 2.625rem;
}

.kiosk-slide-info-body-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.kiosk-slide-info-body-footer {
  border-top: 1px solid rgba(44, 31, 20, 0.12);
  flex-shrink: 0;
  padding-top: clamp(0.75rem, 2vw, 1rem);
}

@keyframes kiosk-panel-item-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Fiche carousel : entrée cascade (zone scroll + en-tête / pied) */
.kiosk-slide-info-panel.is-open .kiosk-slide-info-body-header,
.kiosk-slide-info-panel.is-open .kiosk-slide-info-body-footer,
.kiosk-slide-info-panel.is-open .kiosk-slide-info-body-scroll > * {
  animation: kiosk-panel-item-in 0.48s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.kiosk-slide-info-panel.is-open .kiosk-slide-info-body-header {
  animation-delay: 0.2s;
}

.kiosk-slide-info-panel.is-open .kiosk-slide-info-body-scroll > *:nth-child(1) { animation-delay: 0.26s; }
.kiosk-slide-info-panel.is-open .kiosk-slide-info-body-scroll > *:nth-child(2) { animation-delay: 0.35s; }
.kiosk-slide-info-panel.is-open .kiosk-slide-info-body-scroll > *:nth-child(3) { animation-delay: 0.44s; }
.kiosk-slide-info-panel.is-open .kiosk-slide-info-body-scroll > *:nth-child(4) { animation-delay: 0.53s; }
.kiosk-slide-info-panel.is-open .kiosk-slide-info-body-scroll > *:nth-child(5) { animation-delay: 0.62s; }
.kiosk-slide-info-panel.is-open .kiosk-slide-info-body-scroll > *:nth-child(6) { animation-delay: 0.71s; }
.kiosk-slide-info-panel.is-open .kiosk-slide-info-body-scroll > *:nth-child(7) { animation-delay: 0.8s; }
.kiosk-slide-info-panel.is-open .kiosk-slide-info-body-scroll > *:nth-child(8) { animation-delay: 0.89s; }
.kiosk-slide-info-panel.is-open .kiosk-slide-info-body-scroll > *:nth-child(9) { animation-delay: 0.98s; }
.kiosk-slide-info-panel.is-open .kiosk-slide-info-body-scroll > *:nth-child(10) { animation-delay: 1.07s; }
.kiosk-slide-info-panel.is-open .kiosk-slide-info-body-scroll > *:nth-child(11) { animation-delay: 1.16s; }
.kiosk-slide-info-panel.is-open .kiosk-slide-info-body-scroll > *:nth-child(12) { animation-delay: 1.25s; }
.kiosk-slide-info-panel.is-open .kiosk-slide-info-body-scroll > *:nth-child(13) { animation-delay: 1.34s; }
.kiosk-slide-info-panel.is-open .kiosk-slide-info-body-scroll > *:nth-child(14) { animation-delay: 1.43s; }
.kiosk-slide-info-panel.is-open .kiosk-slide-info-body-scroll > *:nth-child(15) { animation-delay: 1.52s; }
.kiosk-slide-info-panel.is-open .kiosk-slide-info-body-scroll > *:nth-child(16) { animation-delay: 1.61s; }
.kiosk-slide-info-panel.is-open .kiosk-slide-info-body-scroll > *:nth-child(17) { animation-delay: 1.7s; }
.kiosk-slide-info-panel.is-open .kiosk-slide-info-body-scroll > *:nth-child(18) { animation-delay: 1.79s; }
.kiosk-slide-info-panel.is-open .kiosk-slide-info-body-scroll > *:nth-child(19) { animation-delay: 1.88s; }
.kiosk-slide-info-panel.is-open .kiosk-slide-info-body-scroll > *:nth-child(20) { animation-delay: 1.97s; }
.kiosk-slide-info-panel.is-open .kiosk-slide-info-body-scroll > *:nth-child(21) { animation-delay: 2.06s; }
.kiosk-slide-info-panel.is-open .kiosk-slide-info-body-scroll > *:nth-child(22) { animation-delay: 2.15s; }

.kiosk-slide-info-panel.is-open .kiosk-slide-info-body-footer {
  animation-delay: 0.38s;
}

.kiosk-slide-info-brand {
  color: rgba(253, 250, 246, 0.72);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.kiosk-slide-info-title {
  color: #2c1f14;
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  font-weight: 300;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 0;
}

.kiosk-slide-info-subtitle {
  -webkit-box-orient: vertical;
  color: rgba(44, 31, 20, 0.82);
  display: -webkit-box;
  font-size: clamp(0.98rem, 2vw, 1.1rem);
  line-clamp: 8;
  line-height: 1.55;
  margin-bottom: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 8;
}

.kiosk-carousel-stone-fiche-litho.kiosk-slide-info-subtitle {
  display: block;
  line-clamp: unset;
  -webkit-box-orient: unset;
  -webkit-line-clamp: unset;
  max-height: none;
  overflow: visible;
}

.kiosk-carousel-stone-fiche-gallery {
  -webkit-overflow-scrolling: touch;
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 0.2rem;
  /* Défilement tactile / souris conservé, barre masquée */
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.kiosk-carousel-stone-fiche-gallery::-webkit-scrollbar {
  display: none;
}

.kiosk-carousel-stone-fiche-gallery-item {
  height: 4.75rem;
  width: 4.75rem;
}

@media (min-width: 576px) {
  .kiosk-carousel-stone-fiche-gallery-item {
    height: 5.75rem;
    width: 5.75rem;
  }
}

.kiosk-carousel-stone-fiche-gallery-img {
  display: block;
}

.kiosk-carousel-stone-fiche-gallery-link {
  cursor: pointer;
  display: block;
  height: 100%;
  outline-offset: 3px;
}

.kiosk-carousel-stone-fiche-gallery-link:focus-visible {
  outline: 2px solid rgba(253, 250, 246, 0.85);
}

.kiosk-slide-info-label {
  color: rgba(44, 31, 20, 0.52);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.kiosk-slide-info-body-scroll .kiosk-slide-info-label {
  border-bottom: 1px solid rgba(44, 31, 20, 0.14);
  margin-top: 2rem;
  padding-bottom: 0.38rem;
}

.kiosk-slide-info-tags-section {
  margin-bottom: 0;
}

.kiosk-slide-info-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.kiosk-slide-info-chip {
  background: rgba(253, 250, 246, 0.14);
  border: 1px solid rgba(253, 250, 246, 0.34);
  border-radius: 999px;
  color: rgba(253, 250, 246, 0.97);
  font-size: clamp(0.78rem, 1.4vw, 0.85rem);
  font-weight: 500;
  line-height: 1.2;
  padding: 0.35rem 0.85rem;
}

.kiosk-slide-info-chip--collection {
  background: rgba(212, 165, 116, 0.18);
  border-color: rgba(212, 165, 116, 0.42);
}

.kiosk-slide-info-dl {
  margin-bottom: 0;
  margin-top: 0;
}

.kiosk-slide-info-dt {
  color: rgba(44, 31, 20, 0.58);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  margin-top: 1.05rem;
  text-transform: uppercase;
}

.kiosk-slide-info-dt:first-child {
  margin-top: 0;
}

.kiosk-slide-info-dd {
  color: rgba(44, 31, 20, 0.88);
  font-size: clamp(0.85rem, 1.5vw, 0.95rem);
  line-height: 1.45;
  margin-bottom: 0;
  margin-left: 0;
  margin-top: 0.4rem;
}

/* Boutons d’action fiche pierre / email (DRY helpers kiosk_* — carousel + catalogue) */
.kiosk-fiche-actions {
  align-items: flex-start;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.kiosk-fiche-actions--stack {
  flex-direction: column;
}

.kiosk-fiche-actions--inline {
  align-items: center;
  flex-direction: row;
}

@keyframes kiosk-fiche-dark-idle {
  0%, 100% {
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.16) inset,
      0 10px 30px rgba(0, 0, 0, 0.4),
      0 0 0 1px rgba(253, 250, 246, 0.14);
  }

  50% {
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.22) inset,
      0 13px 36px rgba(0, 0, 0, 0.45),
      0 0 0 1px rgba(253, 250, 246, 0.26);
  }
}

@keyframes kiosk-fiche-action-icon-nudge {
  0%, 100% { transform: translateX(0); }

  50% { transform: translateX(1px); }
}

@keyframes kiosk-fiche-light-idle {
  0%, 100% {
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.06) inset,
      0 6px 20px rgba(44, 31, 20, 0.14);
  }

  50% {
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.1) inset,
      0 10px 28px rgba(44, 31, 20, 0.2);
  }
}

.kiosk-fiche-action {
  align-self: flex-start;
  appearance: none;
  align-items: center;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  font-size: clamp(0.9rem, 1.45vw, 1.02rem);
  font-weight: 600;
  gap: 0.6rem;
  letter-spacing: 0.02em;
  line-height: 1.25;
  padding: 0.62rem 1.2rem 0.62rem 0.55rem;
  text-decoration: none;
  transition:
    background 0.34s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.28s ease,
    box-shadow 0.34s ease,
    transform 0.34s cubic-bezier(0.22, 1, 0.36, 1),
    color 0.22s ease;
}

.kiosk-fiche-action__icon {
  align-items: center;
  aspect-ratio: 1;
  border-radius: 50%;
  display: inline-flex;
  flex-shrink: 0;
  height: 2.42rem;
  justify-content: center;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), background 0.28s ease;
  width: 2.42rem;
}

.kiosk-fiche-action__icon .bi {
  font-size: 1.06rem;
  line-height: 1;
}

.kiosk-fiche-action__label {
  padding-right: 0.3rem;
}

.kiosk-fiche-action:focus-visible {
  outline: 2px solid rgba(253, 250, 246, 0.55);
  outline-offset: 4px;
}

.kiosk-fiche-action--surface-light:focus-visible {
  outline-color: rgba(44, 31, 20, 0.55);
}

/* Volet sombre (carousel) */
.kiosk-fiche-action--surface-dark.kiosk-fiche-action--learn-more {
  animation: kiosk-fiche-dark-idle 5.5s ease-in-out infinite;
  backdrop-filter: blur(14px);
  background: linear-gradient(
    148deg,
    rgba(253, 250, 246, 0.24) 0%,
    rgba(253, 250, 246, 0.06) 100%
  );
  border: 1px solid rgba(253, 250, 246, 0.42);
  color: #fdfaf6;
}

.kiosk-fiche-action--surface-dark.kiosk-fiche-action--learn-more .kiosk-fiche-action__icon {
  animation: kiosk-fiche-action-icon-nudge 3s ease-in-out infinite;
  background: rgba(10, 8, 6, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12) inset;
}

.kiosk-fiche-action--surface-dark.kiosk-fiche-action--email {
  animation: kiosk-fiche-dark-idle 5.5s ease-in-out infinite;
  animation-delay: -2s;
  backdrop-filter: blur(14px);
  background: linear-gradient(
    152deg,
    rgba(232, 201, 160, 0.42) 0%,
    rgba(253, 250, 246, 0.14) 48%,
    rgba(72, 58, 48, 0.35) 100%
  );
  border: 1px solid rgba(248, 230, 206, 0.52);
  color: #fffaf5;
}

.kiosk-fiche-action--surface-dark.kiosk-fiche-action--email .kiosk-fiche-action__icon {
  animation: kiosk-fiche-action-icon-nudge 3s ease-in-out infinite;
  animation-delay: -1s;
  background: rgba(12, 9, 6, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.14) inset;
}

.kiosk-fiche-action--surface-dark:hover,
.kiosk-fiche-action--surface-dark:focus-visible {
  animation: none;
  transform: translateY(-3px);
}

.kiosk-fiche-action--surface-dark.kiosk-fiche-action--learn-more:hover,
.kiosk-fiche-action--surface-dark.kiosk-fiche-action--learn-more:focus-visible {
  background: linear-gradient(
    148deg,
    rgba(253, 250, 246, 0.38) 0%,
    rgba(253, 250, 246, 0.14) 100%
  );
  border-color: rgba(253, 250, 246, 0.62);
}

.kiosk-fiche-action--surface-dark.kiosk-fiche-action--email:hover,
.kiosk-fiche-action--surface-dark.kiosk-fiche-action--email:focus-visible {
  background: linear-gradient(
    152deg,
    rgba(242, 214, 176, 0.52) 0%,
    rgba(253, 250, 246, 0.22) 50%,
    rgba(52, 42, 34, 0.42) 100%
  );
  border-color: rgba(255, 246, 230, 0.72);
}

.kiosk-fiche-action--surface-dark:hover .kiosk-fiche-action__icon,
.kiosk-fiche-action--surface-dark:focus-visible .kiosk-fiche-action__icon {
  animation: none;
  transform: scale(1.06);
}

.kiosk-fiche-action--surface-dark:active {
  transform: translateY(-1px);
}

/* Sur fond clair (modales / fiches catalogue) */
.kiosk-fiche-action--surface-light.kiosk-fiche-action--email {
  animation: kiosk-fiche-light-idle 4.8s ease-in-out infinite;
  background: linear-gradient(
    165deg,
    #2f261f 0%,
    #1c1714 58%,
    #151210 100%
  );
  border: 1px solid rgba(214, 186, 140, 0.42);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 6px 20px rgba(44, 31, 20, 0.14);
  color: #fdfaf6;
}

.kiosk-fiche-action--surface-light.kiosk-fiche-action--email .kiosk-fiche-action__icon {
  background: rgba(253, 250, 246, 0.1);
  border: 1px solid rgba(253, 250, 246, 0.14);
}

.kiosk-fiche-action--surface-light.kiosk-fiche-action--learn-more {
  animation: kiosk-fiche-light-idle 4.8s ease-in-out infinite;
  background: linear-gradient(180deg, #fff 0%, #faf8f5 100%);
  border: 1px solid rgba(44, 31, 20, 0.14);
  box-shadow: 0 4px 18px rgba(44, 31, 20, 0.07);
  color: #2c1f14;
}

.kiosk-fiche-action--surface-light.kiosk-fiche-action--learn-more .kiosk-fiche-action__icon {
  background: rgba(44, 31, 20, 0.06);
  border: 1px solid rgba(44, 31, 20, 0.08);
}

.kiosk-fiche-action--surface-light:hover,
.kiosk-fiche-action--surface-light:focus-visible {
  animation: none;
  transform: translateY(-2px);
}

.kiosk-fiche-action--surface-light.kiosk-fiche-action--email:hover,
.kiosk-fiche-action--surface-light.kiosk-fiche-action--email:focus-visible {
  border-color: rgba(232, 205, 164, 0.65);
}

.kiosk-fiche-action--surface-light:active {
  transform: translateY(0);
}

.kiosk-fiche-action--surface-light:hover .kiosk-fiche-action__icon,
.kiosk-fiche-action--surface-light:focus-visible .kiosk-fiche-action__icon {
  transform: scale(1.05);
}

.kiosk-slide-info-close {
  align-items: center;
  background: rgba(44, 31, 20, 0.07);
  border: none;
  border-radius: 50%;
  color: rgba(44, 31, 20, 0.72);
  cursor: pointer;
  display: flex;
  font-size: 1rem;
  height: 2.25rem;
  justify-content: center;
  position: absolute;
  right: 1.25rem;
  top: 1.25rem;
  transition: background 0.18s ease, color 0.18s ease;
  width: 2.25rem;
  z-index: 1;
}

.kiosk-slide-info-close:hover,
.kiosk-slide-info-close:focus-visible {
  background: rgba(44, 31, 20, 0.14);
  color: #2c1f14;
}

@media (prefers-reduced-motion: reduce) {
  .kiosk-slide-hint {
    --kiosk-hint-fade-duration: 0.18s;
    animation: none !important;
  }

  .kiosk-qr-trigger {
    animation: none !important;
  }

  .kiosk-slide-info-backdrop {
    transition: opacity 0.2s ease !important;
  }

  .kiosk-slide-info-panel {
    transition: opacity 0.2s ease, transform 0.01ms linear !important;
  }

  .kiosk-slide-info-panel.is-open .kiosk-slide-info-body-header,
  .kiosk-slide-info-panel.is-open .kiosk-slide-info-body-footer,
  .kiosk-slide-info-panel.is-open .kiosk-slide-info-body-scroll > * {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .kiosk-fiche-action {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }

  .kiosk-fiche-action:hover,
  .kiosk-fiche-action:focus-visible,
  .kiosk-fiche-action:active {
    transform: none !important;
  }

  .kiosk-fiche-action:hover .kiosk-fiche-action__icon,
  .kiosk-fiche-action:focus-visible .kiosk-fiche-action__icon {
    animation: none !important;
    transform: none !important;
  }
}

/* Calque fleches : au-dessus des overlays (home + volet produit), hors du carousel */
.kiosk-carousel-nav-layer {
  inset: 0;
  pointer-events: none;
  position: absolute;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  visibility: visible;
  z-index: 25;
}

.kiosk-carousel-nav-layer.is-hidden {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

.kiosk-carousel-nav-layer .carousel-control-prev.kiosk-carousel-nav,
.kiosk-carousel-nav-layer .carousel-control-next.kiosk-carousel-nav {
  align-items: center;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  bottom: auto;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
  display: flex;
  height: 64px;
  justify-content: center;
  margin: 0;
  opacity: 1;
  pointer-events: auto;
  top: 50%;
  transform: translateY(-50%);
  width: 64px;
  z-index: 1;
}

.kiosk-carousel-nav-layer .carousel-control-prev.kiosk-carousel-nav {
  left: clamp(16px, 4vw, 40px);
  right: auto;
}

.kiosk-carousel-nav-layer .carousel-control-next.kiosk-carousel-nav {
  left: auto;
  right: clamp(16px, 4vw, 40px);
}

.kiosk-carousel-nav:hover,
.kiosk-carousel-nav:focus-visible {
  background: rgba(255, 255, 255, 0.92);
  border-color: #fff;
  opacity: 1;
}

.kiosk-carousel-nav:focus-visible {
  outline: 2px solid rgba(0, 0, 0, 0.35);
  outline-offset: 3px;
}

.kiosk-carousel-nav-icon {
  color: #212529;
  font-size: 1.75rem;
  line-height: 1;
  margin: 0;
  opacity: 1;
  position: static;
  transform: none;
  width: auto;
}

/* ── Mobile paysage : même comportement plein écran qu'en portrait ── */
@media (orientation: landscape) and (max-height: 540px) {
  /* Backdrop fixe */
  .kiosk-slide-info-backdrop {
    background: linear-gradient(
      to bottom,
      rgba(6, 5, 4, 0.68) 0%,
      rgba(6, 5, 4, 0.32) 100%
    );
    position: fixed;
    z-index: 999;
  }

  /* Panel plein écran, glisse depuis le bas */
  .kiosk-slide-info-panel {
    background-color: #fdfaf6;
    background-image: none;
    border-radius: 0;
    bottom: 0;
    height: 100vh;
    height: 100dvh;
    left: 0;
    max-height: none;
    padding: 0.75rem 1rem calc(0.5rem + env(safe-area-inset-bottom, 0px));
    position: fixed;
    right: 0;
    top: 0;
    transform: translateY(100%);
    width: 100%;
    z-index: 1000;
  }

  .kiosk-slide-info-panel.is-open {
    transform: translateY(0);
  }

  /* Corps : gap réduit pour la faible hauteur */
  .kiosk-slide-info-panel .kiosk-slide-info-body {
    gap: 0.3rem;
  }

  /* Header */
  .kiosk-slide-info-body-header {
    padding-right: 2.75rem;
  }

  /* Titre pierre compact */
  .kiosk-slide-info-panel .kiosk-slide-info-title {
    font-size: 1.05rem !important;
    line-height: 1.2;
  }

  /* Sous-titre et label plus petits */
  .kiosk-slide-info-panel .kiosk-slide-info-subtitle {
    font-size: 0.8rem;
  }

  .kiosk-slide-info-panel .kiosk-slide-info-label {
    font-size: 0.7rem;
  }

  /* Footer */
  .kiosk-slide-info-panel .kiosk-slide-info-body-footer {
    padding-top: 0.3rem;
  }

  /* CTA compacts */
  .kiosk-slide-info-panel .kiosk-home-cta {
    font-size: 0.78rem;
    gap: 0.35rem;
    padding: 0.35rem 0.8rem 0.35rem 0.35rem;
  }

  .kiosk-slide-info-panel .kiosk-home-cta-icon {
    height: 1.55rem;
    width: 1.55rem;
  }

  .kiosk-slide-info-panel .kiosk-home-cta-icon .bi {
    font-size: 0.78rem;
  }

  /* Bouton close */
  .kiosk-slide-info-close {
    right: 0.75rem;
    top: 0.75rem;
  }

  /* Masquer l'overlay home quand le panel est ouvert */
  .kiosk-home-overlay:has(.kiosk-home-actions.is-hidden) {
    visibility: hidden;
  }

  /* Home — bouton rechercher compact */
  .kiosk-home-actions .kiosk-home-cta {
    font-size: 0.78rem;
    gap: 0.35rem;
    padding: 0.35rem 0.8rem 0.35rem 0.35rem;
  }

  .kiosk-home-actions .kiosk-home-cta--search {
    padding-left: 0.35rem;
    padding-right: 0.8rem;
  }

  .kiosk-home-actions .kiosk-home-cta-icon {
    height: 1.55rem;
    width: 1.55rem;
  }

  .kiosk-home-actions .kiosk-home-cta-icon .bi {
    font-size: 0.78rem;
  }

  /* Products — bouton retour compact */
  .products-catalog .kiosk-home-cta {
    font-size: 0.85rem;
    gap: 0.4rem;
    padding: 0.4rem 0.9rem 0.4rem 0.4rem;
  }

  .products-catalog .kiosk-home-cta-icon {
    height: 1.65rem;
    width: 1.65rem;
  }

  /* Products — chips : format aligné sur les tabs */
  .products-facet-chip {
    border-radius: 0.55rem;
    font-size: 0.76rem;
    line-height: 1.05;
    padding: 0.24rem 0.58rem !important;
  }

  .products-facet-tab {
    font-size: 0.76rem;
    padding: 0.28rem 0.58rem;
  }

  /* Products — chips filtres en scroll horizontal */
  .products-facet-chips {
    flex-wrap: nowrap !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 0.25rem;
  }

  .products-facet-chips::-webkit-scrollbar {
    display: none;
  }

  /* Products — tabs filtres en scroll horizontal */
  .products-facet-tabstrip {
    flex-wrap: nowrap !important;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .products-facet-tabstrip::-webkit-scrollbar {
    display: none;
  }

  .products-facet-tabstrip li {
    flex-grow: 0 !important;
    flex-shrink: 0;
  }

  /* Products — section filtres moins haute */
  .products-facet-section {
    padding-top: 0.75rem !important;
    margin-top: 0.75rem !important;
  }

  .products-facet-panel {
    padding: 0.65rem 0.75rem;
  }

  /* Products — fiche pierre : titre */
  .stone-fiche-title {
    font-size: 1.75rem !important;
    letter-spacing: -0.01em;
  }

  /* Products — fiche pierre : textes corps */
  .stone-fiche .stone-fiche-litho-text,
  .stone-fiche p.fs-5 {
    font-size: 0.95rem !important;
    line-height: 1.6;
  }

  /* Products — fiche pierre : padding intérieur */
  .stone-fiche {
    padding: 1rem;
  }

  /* Products — galerie de la fiche pierre */
  .stone-fiche-gallery-item {
    height: clamp(120px, 36vw, 180px);
    width: clamp(120px, 36vw, 180px);
  }
}

@media (max-width: 576px) {
  .kiosk-slide-info-body-header--title-row {
    align-items: stretch;
    flex-direction: column;
  }

  .kiosk-slide-info-fiche-actions .kiosk-slide-info-fiche-actions__btn {
    flex: 0 0 auto;
  }

  .kiosk-carousel-nav-layer .carousel-control-prev.kiosk-carousel-nav,
  .kiosk-carousel-nav-layer .carousel-control-next.kiosk-carousel-nav {
    height: 44px;
    width: 44px;
  }

  .kiosk-carousel-nav-layer .kiosk-carousel-nav-icon {
    font-size: 1.25rem;
  }

  /* Bottom sheet pierre : position fixed pour sortir du stacking context du carousel */
  .kiosk-slide-info-backdrop {
    background: linear-gradient(
      to bottom,
      rgba(6, 5, 4, 0.68) 0%,
      rgba(6, 5, 4, 0.32) 100%
    );
    position: fixed;
    z-index: 999;
  }

  .kiosk-slide-info-panel {
    background-color: #fdfaf6;
    background-image: none;
    border-radius: 0;
    bottom: 0;
    height: 100vh;
    height: 100dvh;
    left: 0;
    max-height: none;
    padding: 1rem 1rem calc(0.75rem + env(safe-area-inset-bottom, 0px));
    position: fixed;
    right: 0;
    top: 0;
    transform: translateY(100%);
    width: 100%;
    z-index: 1000;
  }

  .kiosk-slide-info-panel::before {
    display: none;
  }

  .kiosk-slide-info-panel.is-open {
    transform: translateY(0);
  }

  .kiosk-slide-info-body-header {
    padding-right: 2.75rem;
  }

  .kiosk-slide-info-close {
    right: 0.75rem;
    top: 0.75rem;
  }

  /* Zone scrollable : gap réduit pour maximiser l'espace */
  .kiosk-slide-info-panel .kiosk-slide-info-body {
    gap: 0.3rem;
  }

  /* Titre pierre + bouton "En savoir plus" */
  .kiosk-slide-info-panel .kiosk-slide-info-body-header--title-row {
    gap: 0.6rem;
  }

  .kiosk-slide-info-panel .kiosk-slide-info-body-header-title {
    flex: 0 0 auto;
  }

  /* Titre de la pierre */
  .kiosk-slide-info-panel .kiosk-slide-info-title {
    font-size: 1.05rem !important;
    line-height: 1.2;
  }

  /* Sous-titre et label */
  .kiosk-slide-info-panel .kiosk-slide-info-subtitle {
    font-size: 0.8rem;
  }

  .kiosk-slide-info-panel .kiosk-slide-info-label {
    font-size: 0.7rem;
  }

  /* Footer */
  .kiosk-slide-info-panel .kiosk-slide-info-body-footer {
    padding-top: 0.3rem;
  }

  .kiosk-slide-info-panel .kiosk-slide-info-body-footer .kiosk-fiche-actions {
    flex-direction: column;
    gap: 0.4rem;
  }

  /* Boutons footer : alignés à gauche, largeur auto */
  .kiosk-slide-info-panel .kiosk-slide-info-body-footer .kiosk-home-cta {
    align-items: center;
    display: inline-flex;
    justify-content: flex-start;
    text-align: left;
    width: auto;
  }

  /* Boutons CTA compacts */
  .kiosk-slide-info-panel .kiosk-home-cta {
    font-size: 0.78rem;
    gap: 0.35rem;
    padding: 0.35rem 0.8rem 0.35rem 0.35rem;
  }

  .kiosk-slide-info-panel .kiosk-home-cta--search {
    padding-left: 0.35rem;
    padding-right: 0.8rem;
  }

  .kiosk-slide-info-panel .kiosk-home-cta-icon {
    height: 1.55rem;
    width: 1.55rem;
  }

  .kiosk-slide-info-panel .kiosk-home-cta-icon .bi {
    font-size: 0.78rem;
  }

  /* Header : bouton "En savoir plus" compact */
  .kiosk-slide-info-panel .kiosk-slide-info-body-header .kiosk-home-cta {
    align-self: flex-start;
    width: auto;
  }


  /* Hint "toucher pour découvrir" au-dessus du bouton recherche */
  .kiosk-slide-hint {
    bottom: 4.75rem;
  }

  /* Bouton rechercher compact */
  .kiosk-home-actions .kiosk-home-cta {
    font-size: 0.78rem;
    gap: 0.35rem;
    padding: 0.35rem 0.8rem 0.35rem 0.35rem;
  }

  .kiosk-home-actions .kiosk-home-cta--search {
    padding-left: 0.35rem;
    padding-right: 0.8rem;
  }

  .kiosk-home-actions .kiosk-home-cta-icon {
    height: 1.55rem;
    width: 1.55rem;
  }

  .kiosk-home-actions .kiosk-home-cta-icon .bi {
    font-size: 0.78rem;
  }

  /* Products — bouton retour compact */
  .products-catalog .kiosk-home-cta {
    font-size: 0.85rem;
    gap: 0.4rem;
    padding: 0.4rem 0.9rem 0.4rem 0.4rem;
  }

  .products-catalog .kiosk-home-cta-icon {
    height: 1.65rem;
    width: 1.65rem;
  }

  /* Products — fiche pierre : titre */
  .stone-fiche-title {
    font-size: 1.75rem !important;
    letter-spacing: -0.01em;
  }

  /* Products — fiche pierre : textes corps (fs-5 Bootstrap = 1.25rem !important) */
  .stone-fiche .stone-fiche-litho-text,
  .stone-fiche p.fs-5 {
    font-size: 0.95rem !important;
    line-height: 1.6;
  }

  /* Products — fiche pierre : padding intérieur */
  .stone-fiche {
    padding: 1rem;
  }

  /* Products — galerie de la fiche pierre */
  .stone-fiche-gallery-item {
    height: clamp(120px, 36vw, 180px);
    width: clamp(120px, 36vw, 180px);
  }

  /* Products — chips : format aligné sur les tabs */
  .products-facet-chip {
    border-radius: 0.55rem;
    font-size: 0.76rem;
    line-height: 1.05;
    padding: 0.24rem 0.58rem !important;
  }

  .products-facet-tab {
    font-size: 0.76rem;
    padding: 0.28rem 0.58rem;
  }

  /* Products — chips filtres en scroll horizontal */
  .products-facet-chips {
    flex-wrap: nowrap !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 0.25rem;
  }

  .products-facet-chips::-webkit-scrollbar {
    display: none;
  }

  /* Products — tabs filtres en scroll horizontal */
  .products-facet-tabstrip {
    flex-wrap: nowrap !important;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .products-facet-tabstrip::-webkit-scrollbar {
    display: none;
  }

  .products-facet-tabstrip li {
    flex-grow: 0 !important;
    flex-shrink: 0;
  }

  /* Products — section filtres moins haute sur mobile */
  .products-facet-section {
    padding-top: 0.75rem !important;
    margin-top: 0.75rem !important;
  }

  .products-facet-panel {
    padding: 0.65rem 0.75rem;
  }
}

.kiosk-home-no-slides {
  background: linear-gradient(135deg, #2c1810, #4a2c1a);
  height: 100vh;
}

@keyframes kiosk-home-overlay-in {
  from {
    opacity: 0;
    transform: translate3d(-22px, 0, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* Overlay : bandeau gauche, voile creme doux qui se fond dans l'image */
.kiosk-home-overlay {
  align-items: stretch;
  animation: kiosk-home-overlay-in 0.58s cubic-bezier(0.22, 1, 0.36, 1) both;
  background: linear-gradient(
    to right,
    rgba(253, 250, 246, 0.90) 0%,
    rgba(253, 250, 246, 0.86) 12%,
    rgba(253, 250, 246, 0.74) 28%,
    rgba(253, 250, 246, 0.56) 46%,
    rgba(253, 250, 246, 0.34) 64%,
    rgba(253, 250, 246, 0.12) 80%,
    rgba(253, 250, 246, 0)    100%
  );
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  left: 0;
  padding: clamp(1.5rem, 4vw, 2.75rem);
  pointer-events: none;
  position: absolute;
  right: auto;
  top: 0;
  width: min(100%, clamp(17rem, 40vw, 30rem));
  z-index: 10;
}

@media (max-width: 576px) {
  .kiosk-home-overlay {
    background: linear-gradient(
      to bottom,
      rgba(253, 250, 246, 0.82) 0%,
      rgba(253, 250, 246, 0.30) 22%,
      rgba(253, 250, 246, 0)    38%
    );
    width: 100%;
  }

  /* Masquer l'overlay quand le panel est ouvert (le contrôleur ajoute is-hidden sur searchActions) */
  .kiosk-home-overlay:has(.kiosk-home-actions.is-hidden) {
    visibility: hidden;
  }
}

.kiosk-home-header {
  max-width: 100%;
  pointer-events: none;
}

.kiosk-home-brand {
  color: rgba(93, 68, 52, 0.7);
  font-size: clamp(0.78rem, 1.8vw, 0.9rem);
  font-weight: 600;
  letter-spacing: 0.22em;
  line-height: 1.25;
  margin-bottom: clamp(0.5rem, 2vw, 1rem);
  text-transform: uppercase;
}

.kiosk-home-header h1 {
  color: #2c1f14;
  font-weight: 300;
  letter-spacing: -0.01em;
}

.kiosk-home-actions {
  --kiosk-home-bottom-controls: clamp(1.25rem, 3vh, 2.5rem);
  bottom: var(--kiosk-home-bottom-controls);
  left: clamp(1.5rem, 4vw, 2.75rem);
  pointer-events: auto;
  position: absolute;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  visibility: visible;
}

.kiosk-home-actions.is-hidden {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

.kiosk-home-cta {
  appearance: none;
  cursor: pointer;
  backdrop-filter: blur(12px);
  background: linear-gradient(
    152deg,
    rgba(255, 254, 251, 0.97) 0%,
    rgba(250, 246, 239, 0.94) 42%,
    rgba(244, 237, 226, 0.92) 100%
  );
  border: 1px solid rgba(120, 82, 52, 0.2);
  border-radius: 999px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 1px 2px rgba(44, 31, 20, 0.06),
    0 10px 34px rgba(70, 48, 35, 0.09);
  color: #3d2a1c;
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  font-weight: 500;
  gap: 0.65rem;
  letter-spacing: 0.028em;
  padding: 0.75rem 1.6rem;
  transition:
    background 0.32s ease,
    border-color 0.32s ease,
    box-shadow 0.32s ease,
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    color 0.2s ease;
}

.kiosk-home-cta--search {
  backdrop-filter: blur(12px);
  padding-left: 0.62rem;
  padding-right: 1.35rem;
}

/* Secondaire : retour (même gabarit pill + icône que --search, tons plus neutres) */
.kiosk-home-cta--nav-back {
  backdrop-filter: blur(12px);
  background: linear-gradient(
    152deg,
    rgba(248, 246, 242, 0.94) 0%,
    rgba(236, 230, 220, 0.9) 48%,
    rgba(228, 220, 208, 0.88) 100%
  );
  border-color: rgba(90, 78, 68, 0.22);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.7) inset,
    0 1px 2px rgba(44, 31, 20, 0.05),
    0 8px 26px rgba(70, 48, 35, 0.07);
  color: #524a42;
  padding-left: 0.62rem;
  padding-right: 1.35rem;
}

.kiosk-home-cta--nav-back .kiosk-home-cta-icon {
  background: rgba(78, 68, 58, 0.09);
}

.kiosk-home-cta--nav-back .kiosk-home-cta-icon .bi {
  color: rgba(68, 56, 46, 0.82);
}

.kiosk-home-cta--nav-back:hover,
.kiosk-home-cta--nav-back:focus-visible {
  background: linear-gradient(
    152deg,
    rgba(252, 250, 246, 0.98) 0%,
    rgba(242, 236, 226, 0.95) 52%,
    rgba(232, 224, 210, 0.92) 100%
  );
  border-color: rgba(90, 78, 68, 0.34);
  color: #3a332c;
}

.kiosk-home-cta--nav-back:hover .kiosk-home-cta-icon .bi,
.kiosk-home-cta--nav-back:focus-visible .kiosk-home-cta-icon .bi {
  color: #2e261f;
}

.kiosk-home-cta-icon {
  align-items: center;
  aspect-ratio: 1;
  background: rgba(115, 78, 52, 0.1);
  border-radius: 50%;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.65) inset;
  display: inline-flex;
  flex-shrink: 0;
  height: 2.55rem;
  justify-content: center;
  width: 2.55rem;
}

.kiosk-home-cta .bi {
  color: rgba(60, 42, 28, 0.88);
}

.kiosk-home-cta-icon .bi {
  font-size: 1.12rem;
}

.kiosk-home-cta > .bi {
  font-size: 1.15rem;
}

.kiosk-home-cta-label {
  line-height: 1.25;
  padding-right: 0.35rem;
}

.kiosk-home-cta:hover,
.kiosk-home-cta:focus-visible {
  background: linear-gradient(
    152deg,
    #fffdfb 0%,
    #faf6f0 48%,
    #f2eae0 100%
  );
  border-color: rgba(120, 82, 52, 0.32);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 2px 6px rgba(44, 31, 20, 0.07),
    0 14px 40px rgba(90, 62, 42, 0.12);
  color: #2c1f14;
  transform: translateY(-2px);
}

.kiosk-home-cta:hover .bi,
.kiosk-home-cta:focus-visible .bi {
  color: #2c1f14;
}

.kiosk-home-cta:focus-visible {
  outline: 2px solid rgba(120, 82, 52, 0.45);
  outline-offset: 4px;
}

.kiosk-home-cta:active {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.7) inset,
    0 1px 3px rgba(44, 31, 20, 0.08),
    0 6px 18px rgba(70, 48, 35, 0.07);
  transform: translateY(0);
}

@keyframes kiosk-home-enter {
  from {
    opacity: 0;
    transform: translate3d(0, 14px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.kiosk-home-enter {
  animation: kiosk-home-enter 0.72s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.kiosk-home-enter--1 {
  animation-delay: 0.12s;
}

.kiosk-home-enter--2 {
  animation-delay: 0.32s;
}

.kiosk-home-enter--3 {
  animation-delay: 0.52s;
}

@media (prefers-reduced-motion: reduce) {
  .kiosk-home-overlay {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .kiosk-home-enter {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .kiosk-home-cta {
    transition-duration: 0.01ms !important;
  }

  .kiosk-home-cta:hover,
  .kiosk-home-cta:focus-visible,
  .kiosk-home-cta:active {
    transform: none !important;
  }

  .kiosk-launch-gate {
    transition: none !important;
  }

  .kiosk-carousel-nav-layer {
    transition: none !important;
  }
}

/* Ecran initial : plein ecran apres geste utilisateur */
.kiosk-launch-gate {
  align-items: center;
  background:
    radial-gradient(ellipse at 60% 55%, rgba(120, 75, 45, 0.38) 0%, transparent 72%),
    linear-gradient(170deg, #f5ede3 0%, #ede0d0 45%, #dfd0bc 100%);
  color: #2c1f14;
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 2rem;
  position: fixed;
  transition:
    opacity 0.5s ease,
    visibility 0.5s ease;
  visibility: visible;
  z-index: 100;
}

.kiosk-launch-gate--dismissed {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

.kiosk-launch-gate-inner {
  max-width: 26rem;
  text-align: center;
}

.kiosk-launch-gate-brand {
  color: rgba(93, 68, 52, 0.65);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.kiosk-launch-gate-title {
  color: #2c1f14;
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  font-weight: 300;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.kiosk-launch-gate-hint {
  color: rgba(44, 31, 20, 0.55);
  font-size: clamp(0.85rem, 2vw, 0.95rem);
  line-height: 1.55;
  margin-left: auto;
  margin-right: auto;
  max-width: 22rem;
}

/* Page d’accueil publique : palette catalogue ; hauteur verrouillée côté vue (vh-100 + overflow-hidden) */
.landing-page {
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(120, 75, 45, 0.09) 0%, transparent 55%),
    linear-gradient(180deg, #f7f1ea 0%, #efe6dc 100%);
  color: #2c1f14;
}

/*
 * Hauteur max forte en dvh pour tenir dans un viewport sans scroll (avec marges BS réduites).
 * Les utilitaires Bootstrap gèrent cadre, ombre et coins (rounded-4 shadow border).
 */
.landing-page__photo {
  max-height: clamp(8.5rem, 30dvh, 15rem);
  object-fit: cover;
}

@media (min-width: 576px) {
  .landing-page__photo {
    max-height: clamp(10rem, 34dvh, 18rem);
  }
}

@media (min-width: 992px) {
  .landing-page__photo {
    max-height: clamp(11rem, min(48dvh, 50vw), 24rem);
  }
}

/* ——— Catalogue produits ———
 * Décor de page (dégradés) et comportements sans équivalent Bootstrap. */

.products-catalog {
  /* Scrollbar catalogue : tonalité `--products-catalog-scrollbar-bg` (:root) */
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(120, 75, 45, 0.09) 0%, transparent 55%),
    linear-gradient(180deg, #f7f1ea 0%, #efe6dc 100%);
  min-height: 100vh;
  min-height: 100dvh;
}

.products-catalog-hero {
  max-width: 40rem;
}

/*
 * Letter-spacing du libellé « Filtrer par » : pas d’utilitaire BS hors Sass/API.
 */
.products-facets-label {
  letter-spacing: 0.12em;
}

/* Formulaire catalogue : recherche + onglets facettes + pastilles */
.products-search-card {
  backdrop-filter: blur(10px);
  border: 1px solid rgba(44, 31, 20, 0.07) !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.88) inset,
    0 12px 48px rgba(44, 31, 20, 0.07) !important;
}

.products-search-field {
  background: rgba(255, 253, 249, 0.96);
  border: 1px solid rgba(44, 31, 20, 0.1);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.75) inset,
    0 4px 20px rgba(44, 31, 20, 0.04);
}

.products-search-field__icon {
  background: transparent;
  color: rgba(44, 31, 20, 0.45);
  padding-left: 1.1rem;
  padding-right: 0.35rem;
}

.products-search-field__input {
  background: transparent;
  color: #2c1f14;
  font-weight: 500;
}

.products-search-field__input::placeholder {
  color: rgba(44, 31, 20, 0.38);
}

.products-search-field__input:focus {
  box-shadow: none;
}

.btn.products-search-submit {
  background: linear-gradient(
    152deg,
    rgba(255, 254, 251, 0.98) 0%,
    rgba(250, 246, 239, 0.95) 42%,
    rgba(244, 237, 226, 0.93) 100%
  );
  border: none;
  border-left: 1px solid rgba(120, 82, 52, 0.16);
  border-radius: 0;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.88) inset,
    -1px 0 0 rgba(255, 255, 255, 0.28) inset;
  color: #3d2a1c;
  letter-spacing: 0.025em;
  transition:
    background 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease,
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    color 0.2s ease;
}

.btn.products-search-submit:hover,
.btn.products-search-submit:focus-visible {
  background: linear-gradient(
    152deg,
    #fffdfb 0%,
    #faf6f0 48%,
    #f2eae0 100%
  );
  border-left-color: rgba(120, 82, 52, 0.26);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    -1px 0 0 rgba(255, 255, 255, 0.45) inset,
    0 2px 8px rgba(70, 48, 35, 0.08);
  color: #2c1f14;
  transform: translateY(-1px);
}

.btn.products-search-submit:focus-visible {
  --bs-btn-focus-box-shadow: none;
  outline: 2px solid rgba(120, 82, 52, 0.45);
  outline-offset: -2px;
  z-index: 1;
}

.btn.products-search-submit:active {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.72) inset,
    -1px 0 0 rgba(255, 255, 255, 0.2) inset;
  transform: translateY(0);
}

.products-facet-section {
  border-top: 1px solid rgba(44, 31, 20, 0.08);
}

.products-facet-tabstrip {
  background: rgba(44, 31, 20, 0.045);
  border: 1px solid rgba(44, 31, 20, 0.07);
  border-radius: 0.85rem;
}

.products-facet-tab {
  appearance: none;
  background: transparent;
  border: none;
  border-radius: 0.65rem;
  color: rgba(44, 31, 20, 0.52);
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  padding: 0.42rem 0.85rem;
  text-align: center;
  text-decoration: none;
  transition:
    background 0.22s ease,
    box-shadow 0.22s ease,
    color 0.22s ease,
    transform 0.22s ease;
}

.products-facet-tab:hover,
.products-facet-tab:focus-visible {
  background: rgba(255, 253, 249, 0.55);
  color: rgba(44, 31, 20, 0.85);
}

.products-facet-tab:focus-visible {
  outline: 2px solid rgba(44, 31, 20, 0.22);
  outline-offset: 2px;
}

.products-facet-tab.active {
  background: rgba(255, 253, 249, 0.98);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 4px 14px rgba(44, 31, 20, 0.1);
  color: #2c1f14;
}

.products-facet-panel {
  background:
    linear-gradient(
      165deg,
      rgba(255, 253, 249, 0.92) 0%,
      rgba(255, 251, 246, 0.72) 100%
    );
  border: 1px solid rgba(44, 31, 20, 0.08);
  border-radius: 0.85rem;
  padding: 0.65rem 0.85rem;
}

.products-facet-chips {
  gap: 0.35rem;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 0.2rem;
}

.products-facet-chips::-webkit-scrollbar {
  display: none;
}

.products-facet-chip {
  align-items: center;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(44, 31, 20, 0.11);
  border-radius: 0.65rem;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.85) inset;
  color: #3a2a20;
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 600;
  gap: 0.3rem;
  letter-spacing: 0.01em;
  line-height: 1.2;
  padding: 0.42rem 0.85rem;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    color 0.22s ease,
    transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.products-facet-chip__text {
  white-space: nowrap;
}

.products-facet-chip:hover {
  background: rgba(255, 253, 249, 1);
  border-color: rgba(44, 31, 20, 0.16);
  color: #2c1f14;
  transform: translateY(-2px);
}

.products-facet-chip:focus-visible {
  background: rgba(255, 253, 249, 1);
  border-color: rgba(120, 75, 45, 0.35);
  color: #2c1f14;
  outline: 2px solid rgba(120, 75, 45, 0.28);
  outline-offset: 2px;
}

.products-facet-chip--active {
  background: linear-gradient(
    148deg,
    #453228 0%,
    #2c1f14 52%,
    #241a12 100%
  );
  border-color: rgba(44, 31, 20, 0.38);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.12) inset,
    0 6px 20px rgba(44, 31, 20, 0.22);
  color: #fdfaf6;
}

.products-facet-chip--active:hover {
  background: linear-gradient(
    148deg,
    #4e3a2e 0%,
    #34261a 52%,
    #2a1e15 100%
  );
  border-color: rgba(44, 31, 20, 0.45);
  color: #fff;
  transform: translateY(-2px);
}

.products-facet-chip__check {
  font-size: 0.95em;
  margin-left: -0.12rem;
  opacity: 0.95;
}

@media (prefers-reduced-motion: reduce) {
  .btn.products-search-submit,
  .products-facet-tab,
  .products-facet-chip,
  .btn.kiosk-btn {
    transition: none !important;
  }

  .catalog-pagination-loading-indicator {
    transition: none !important;
  }

  .btn.products-search-submit:hover,
  .btn.products-search-submit:focus-visible,
  .btn.products-search-submit:active,
  .products-facet-chip:hover,
  .products-facet-chip--active:hover,
  .btn.kiosk-btn:hover,
  .btn.kiosk-btn:active {
    transform: none !important;
  }
}

/* Hôte du frame catalogue : calque de chargement (recherche / facettes) */
.products-index-frame-host {
  position: relative;
}

.products-index-loading-overlay {
  align-items: flex-start;
  display: flex;
  inset: 0;
  justify-content: center;
  padding-top: 0.35rem;
  pointer-events: auto;
  position: absolute;
  z-index: 25;
}

.products-index-loading-overlay__card {
  max-width: 100%;
  padding: 1.25rem 1.25rem 1.5rem;
  width: min(100%, 52rem);
}

.products-index-loading-overlay__label {
  letter-spacing: 0.08em;
}

@media (prefers-reduced-motion: reduce) {
  .products-index-loading-overlay {
    transition: none !important;
  }
}

/* Pagination infinie : indicateur sous le turbo-frame lazy */
.catalog-pagination-footer {
  min-height: 3.25rem;
}

.catalog-pagination-loading-indicator {
  display: flex;
  justify-content: center;
  opacity: 0;
  padding: 0.5rem 0 1rem;
  pointer-events: none;
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease;
  visibility: hidden;
}

.catalog-pagination-loading-indicator--active {
  opacity: 1;
  visibility: visible;
}

.catalog-pagination-loading-indicator__inner {
  align-items: center;
  background: rgba(255, 253, 249, 0.92);
  border: 1px solid rgba(44, 31, 20, 0.1);
  border-radius: 999px;
  box-shadow: 0 4px 18px rgba(44, 31, 20, 0.07);
  color: rgba(44, 31, 20, 0.78);
  display: inline-flex;
  font-size: 0.875rem;
  font-weight: 600;
  gap: 0.55rem;
  padding: 0.5rem 1.15rem;
}

.products-empty {
  max-width: 28rem;
}

.products-empty-blurb {
  max-width: 22rem;
}

.products-card {
  background: rgba(255, 253, 249, 0.92);
  border-radius: var(--bs-border-radius);
  overflow: hidden;
  transition:
    box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.products-card:hover {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 18px 48px rgba(44, 31, 20, 0.1),
    0 4px 12px rgba(44, 31, 20, 0.06) !important;
  transform: translateY(-3px);
}

.products-card-img {
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.products-card:hover .products-card-img {
  transform: scale(1.045);
}

.products-card-media--placeholder {
  background: linear-gradient(145deg, #e8dfd4 0%, #ddd3c6 100%);
}

.products-card-cta .bi {
  transition: transform 0.25s ease;
  vertical-align: -0.12em;
}

.products-card:hover .products-card-cta .bi {
  transform: translateX(3px);
}

.products-detail-modal .products-detail-frame {
  transition: opacity 0.2s ease-out;
}

.products-detail-modal .products-detail-frame[aria-busy="true"] {
  opacity: 0.88;
}

/*
 * Squelette modale : hauteur proche du corps scrollable réel (dialog scrollable Bootstrap).
 * Le markup du partial ajoute sections type fiche (galerie, similaires) pour matcher le défilement.
 */
.products-detail-skeleton-body {
  min-height: calc(100vh - 11rem);
}

@media (min-width: 576px) {
  .products-detail-skeleton-body {
    min-height: calc(100vh - 10rem);
  }
}

@media (min-width: 992px) {
  .products-detail-skeleton-body {
    /* Modal centrée : un peu plus de marge verticale hors zone scrollable */
    min-height: calc(100vh - 9rem);
  }
}

/* Placeholders du squelette : ton plus clair (couleur secondaire + opacité douce) */
.products-detail-skeleton-header .placeholder,
.products-detail-skeleton-body .placeholder {
  color: var(--bs-secondary-color);
  opacity: 0.4;
}

.products-detail-skeleton-header .placeholder-glow .placeholder,
.products-detail-skeleton-body .placeholder-glow .placeholder {
  animation: products-detail-skeleton-placeholder-glow 2s ease-in-out infinite;
}

@keyframes products-detail-skeleton-placeholder-glow {
  50% {
    opacity: 0.18;
  }
}

.products-detail-description {
  white-space: pre-wrap;
}

.products-detail-carousel .carousel-control-prev,
.products-detail-carousel .carousel-control-next {
  width: 18%;
}

.products-detail-carousel-chevron-wrap {
  align-items: center;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(44, 31, 20, 0.2);
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(20, 14, 10, 0.2);
  color: rgba(44, 31, 20, 0.82);
  display: inline-flex;
  height: 2.7rem;
  justify-content: center;
  width: 2.7rem;
}

.products-detail-carousel-chevron {
  font-size: 1.4rem;
  font-weight: 700;
}

.products-detail-carousel .carousel-control-prev:hover .products-detail-carousel-chevron-wrap,
.products-detail-carousel .carousel-control-next:hover .products-detail-carousel-chevron-wrap,
.products-detail-carousel .carousel-control-prev:focus-visible .products-detail-carousel-chevron-wrap,
.products-detail-carousel .carousel-control-next:focus-visible .products-detail-carousel-chevron-wrap {
  background: #fff;
  border-color: rgba(44, 31, 20, 0.32);
  color: rgba(44, 31, 20, 0.94);
}

.products-detail-carousel-thumbs {
  display: flex;
  gap: 0.5rem;
  inset: auto;
  justify-content: flex-start;
  left: auto;
  margin: 0;
  margin-top: 0.6rem;
  overflow-x: auto;
  padding: 0;
  position: static;
  right: auto;
}

.products-detail-carousel-thumbs .products-detail-carousel-thumb {
  background: transparent;
  background-color: transparent;
  background-clip: border-box;
  border: 2px solid transparent;
  border-radius: 0.6rem;
  box-sizing: border-box;
  flex: 0 0 auto;
  height: 3.2rem;
  margin: 0 !important;
  opacity: 1;
  overflow: hidden;
  padding: 0;
  text-indent: 0;
  width: 3.2rem;
}

.products-detail-carousel-thumbs .products-detail-carousel-thumb.active {
  border-color: rgba(227, 227, 227, 0.92);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.9) inset;
}

.products-detail-carousel-thumbs .products-detail-carousel-thumb:focus-visible {
  outline: 2px solid rgba(44, 31, 20, 0.5);
  outline-offset: 2px;
}

.products-detail-carousel-thumb-img {
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  .products-detail-modal .products-detail-frame {
    transition: none;
  }

  .products-detail-modal .products-detail-frame[aria-busy="true"] {
    opacity: 1;
  }

  .products-detail-skeleton-header .placeholder-glow .placeholder,
  .products-detail-skeleton-body .placeholder-glow .placeholder {
    animation: none !important;
    opacity: 0.38 !important;
  }

  .products-card,
  .products-card-img,
  .products-card-cta .bi {
    transition: none !important;
  }

  .products-card:hover {
    transform: none !important;
  }

  .products-card:hover .products-card-img {
    transform: none !important;
  }

  .products-card:hover .products-card-cta .bi {
    transform: none !important;
  }
}

/* ——— Fiche encyclopédique pierre ——— */

.stone-fiche {
  background: rgba(255, 253, 249, 0.95);
  border: 1px solid rgba(44, 31, 20, 0.08);
  border-radius: 1.25rem;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 6px 32px rgba(44, 31, 20, 0.07);
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

.stone-fiche-title {
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Galerie : scroll horizontal sur petits écrans, grille fixe sinon */
.stone-fiche-gallery {
  position: relative;
}

.stone-fiche-gallery-scroll {
  scrollbar-width: none;
}

.stone-fiche-gallery-scroll::-webkit-scrollbar {
  display: none;
}

.stone-fiche-gallery-item {
  height: clamp(180px, 28vw, 300px);
  width: clamp(180px, 28vw, 300px);
}

.stone-fiche-gallery-nav {
  align-items: center;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(44, 31, 20, 0.2);
  border-radius: 999px;
  color: rgba(44, 31, 20, 0.82);
  cursor: pointer;
  display: inline-flex;
  height: 2.4rem;
  justify-content: center;
  position: absolute;
  top: calc(50% - 0.7rem);
  transform: translateY(-50%);
  width: 2.4rem;
  z-index: 4;
}

.stone-fiche-gallery-nav[hidden] {
  display: none;
}

.stone-fiche-gallery-nav--prev {
  left: 0.35rem;
}

.stone-fiche-gallery-nav--next {
  right: 0.35rem;
}

.stone-fiche-gallery-nav .bi {
  font-size: 1.18rem;
  font-weight: 700;
}

.stone-fiche-gallery-nav:hover,
.stone-fiche-gallery-nav:focus-visible {
  background: #fff;
  border-color: rgba(44, 31, 20, 0.32);
  color: rgba(44, 31, 20, 0.94);
}

.stone-fiche-gallery-img {
  display: block;
  height: 100%;
  width: 100%;
}

.stone-fiche-gallery-link {
  cursor: pointer;
  outline-offset: 4px;
}

.stone-fiche-gallery-link:focus-visible {
  outline: 2px solid rgba(33, 37, 41, 0.65);
}

/* Section lithothérapie : mise en valeur éditoriale */
.stone-fiche-section--litho {
  border-left: 3px solid rgba(120, 75, 45, 0.25);
  padding-left: 1.25rem;
}

.stone-fiche-litho-text {
  font-size: clamp(1rem, 1.8vw, 1.1rem);
}

.stone-fiche-associated-title {
  letter-spacing: 0.08em;
}

.stone-fiche-associated-panel {
  scroll-margin-top: 1.5rem;
}

.stone-fiche-associated .products-grid {
  margin-bottom: 0;
}


@media (prefers-reduced-motion: reduce) {
  .stone-fiche {
    box-shadow: none;
  }
}

