/* ============================================================
   Page produit — La Maison Finnoise (child_hummingbird)

   Mise en page à une colonne, dans le flux : hero (galerie +
   intro + achat) → onglets. Le bloc achat (prix + ajout panier
   natif) vit dans la colonne intro du hero, juste sous le récap
   (titre/marque/avis/description/features). Pas de carte ni de
   sticky pour l'achat, pas de grid 2 colonnes.
   Bandeau de demande de devis en sticky bas d'écran.

   Sommaire
   1. Tokens
   2. Layout de page
   3. Hero (galerie + intro + achat)
   4. Onglets
   5. Produits associés (ps_categoryproducts)
   6. Bandeau devis (lmf-quote-bar)
   7. Responsive
   ============================================================ */

/* ============================================================
   1. Tokens
   ============================================================ */

.page-product {
  --lmf-product-ink: #18241d;
  --lmf-product-muted: #687067;
  --lmf-product-border: #e6e8e2;
  --lmf-product-soft: #f8f7f2;
  --lmf-product-accent: #0f4b35;
  --lmf-product-accent-dark: #0a3b2a;
  --lmf-product-gold: #f3bd3e;
  --lmf-product-serif: "Cormorant Garamond", serif;
  --lmf-product-section-gap: clamp(2.25rem, 4vw, 3.25rem);
}

/* ============================================================
   2. Layout de page
   ============================================================ */

.page-product .columns-container.container {
  max-width: 80%;
}

.page-product .lmf-product-page {
  width: 100%;
  margin: 1.25rem auto 0;
  color: var(--lmf-product-ink);
}

/* ============================================================
   3. Hero (galerie + intro) — sans prix ni CTA
   ============================================================ */

.page-product .lmf-product-hero {
  display: grid;
  grid-template-columns: calc(44% - clamp(1.5rem, 3vw, 2.5rem) / 2) 1fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  row-gap: clamp(1.35rem, 2.5vw, 2rem);
  align-items: stretch;
  margin-top: 0.75rem;
}

.page-product .lmf-product-hero__gallery {
  min-width: 0;
}

.page-product .lmf-product-hero__gallery .product__images {
  position: relative;
  margin: 0;
  padding-bottom: 3.35rem;
}

.page-product .lmf-product-hero__gallery .product__carousel {
  position: relative;
  border: 1px solid var(--lmf-product-border);
  border-radius: 12px;
  background: var(--lmf-product-soft);
  overflow: visible;
}

.page-product .lmf-product-hero__gallery .carousel-inner {
  border-radius: 12px;
  overflow: hidden;
}

.page-product .lmf-product-hero__gallery .carousel-inner,
.page-product .lmf-product-hero__gallery .carousel-item {
  aspect-ratio: 1.28 / 1;
}

.page-product .lmf-product-hero__gallery .carousel-item {
  position: relative;
  overflow: hidden;
  background: var(--lmf-product-soft);
}

.page-product .lmf-product-hero__gallery .carousel-item picture,
.page-product .lmf-product-hero__gallery .carousel-item img {
  display: block;
  width: 100%;
  height: 100%;
}

.page-product .lmf-product-hero__gallery .carousel-item img {
  object-fit: cover;
  object-position: center;
}

.page-product .lmf-product-hero__gallery .product-flags {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  z-index: 4;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-product .lmf-product-hero__gallery .product-flags .badge,
.page-product .lmf-product-hero__gallery .product-flag {
  border-radius: 5px;
  background: var(--lmf-product-accent);
  color: #fff;
  padding: 0.45rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  box-shadow: 0 0.5rem 1rem rgba(8, 45, 31, 0.18);
}

.page-product .lmf-product-hero__gallery .product__zoom {
  display: none;
}

.page-product .lmf-product-hero__gallery .carousel-inner {
  cursor: zoom-in;
}

/* Keep the zoom gallery fully visible, including on short laptop screens. */
.page-product .product-images-modal .modal-dialog {
  width: min(90vw, calc(100vh - 6rem), 900px);
  width: min(90vw, calc(100dvh - 6rem), 900px);
  max-width: min(90vw, calc(100vh - 6rem), 900px);
  max-width: min(90vw, calc(100dvh - 6rem), 900px);
  margin: 1rem auto;
}

.page-product .product-images-modal .modal-content {
  background: var(--lmf-product-soft);
  max-height: calc(100vh - 2rem);
  max-height: calc(100dvh - 2rem);
  overflow: hidden;
}

.page-product .product-images-modal__body {
  position: relative;
  background: var(--lmf-product-soft);
  border-radius: inherit;
}

.page-product .product-images-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 5;
  padding: 0.55rem;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0.25rem 0.8rem rgba(24, 36, 29, 0.14);
}

.page-product .product-images-modal .carousel-item img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: calc(100vh - 7rem);
  max-height: calc(100dvh - 7rem);
  margin: 0 auto;
  object-fit: contain;
}

.page-product .lmf-product-hero__gallery .product__thumbnails {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 0;
  width: max-content;
  max-width: calc(100% - 5.5rem);
  margin: 0;
  padding: 0.45rem;
  border-radius: 10px;
  background: #fff;
  overflow-x: auto;
  scrollbar-width: none;
  transform: translateX(-50%);
}

.page-product .lmf-product-hero__gallery .product__thumbnails::-webkit-scrollbar {
  display: none;
}

.page-product .lmf-product-hero__gallery .product__thumbnails-list {
  display: flex;
  width: max-content;
  max-width: none;
  flex-wrap: nowrap;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
}

.page-product .lmf-product-hero__gallery .product__thumbnail {
  display: block;
  width: clamp(3.75rem, 6vw, 4.35rem);
  height: clamp(3.75rem, 6vw, 4.35rem);
  border: 0;
  border-radius: 12px;
  background: transparent;
  padding: 0;
  overflow: hidden;
}

.page-product .lmf-product-hero__gallery .product__thumbnail picture {
  display: block;
  width: 100%;
  height: 100%;
}

.page-product .lmf-product-hero__gallery .product__thumbnail-image {
  display: block;
  width: 100% !important;
  max-width: none;
  height: 100% !important;
  border-radius: 12px;
  object-fit: cover !important;
  object-position: center;
  outline: 1px solid transparent;
  outline-offset: -1px;
}

.page-product .lmf-product-hero__gallery .product__thumbnail.active .product__thumbnail-image,
.page-product .lmf-product-hero__gallery .product__thumbnail:hover .product__thumbnail-image {
  outline: 3px solid var(--lmf-product-accent);
  outline-offset: -3px;
}

.page-product .lmf-product-hero__gallery .carousel-control-prev,
.page-product .lmf-product-hero__gallery .carousel-control-next {
  top: 50%;
  bottom: auto;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 50%;
  background: #ffffffba;
  box-shadow: 0 0.35rem 1rem rgba(24, 36, 29, 0.18);
  opacity: 1;
  transform: translateY(-50%);
}

.page-product .lmf-product-hero__gallery .carousel-control-prev {
  left: 0.8rem;
}

.page-product .lmf-product-hero__gallery .carousel-control-next {
  right: 0.8rem;
}

.page-product .lmf-product-hero__gallery .carousel-control-prev-icon,
.page-product .lmf-product-hero__gallery .carousel-control-next-icon {
  width: 1rem;
  height: 1rem;
  border: 0;
  border-radius: 0;
  background-color: transparent;
  box-shadow: none;
  filter: none;
}

.page-product .lmf-product-hero__intro {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 100%;
  height: 100%;
  max-width: 40rem;
  padding-left: clamp(1rem, 2vw, 2rem);
  padding-top: 0.45rem;
  color: var(--lmf-product-ink);
}

.page-product .lmf-product-hero__title {
  max-width: 34rem;
  margin-bottom: 0.65rem;
  color: var(--lmf-product-accent);
  font-family: var(--lmf-product-serif);
  font-size: clamp(2.15rem, 3.4vw, 3.15rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: 0;
}

.page-product .lmf-product-hero__title-suffix {
  display: block;
}

.page-product .lmf-product-hero__brand {
  margin-bottom: 0.5rem;
}

.page-product .lmf-product-hero__brand a {
  color: var(--lmf-product-muted);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.page-product .lmf-product-hero__reviews {
  min-height: 0;
  margin-bottom: 0;
}

.page-product .lmf-product-hero__reviews:empty {
  display: none;
}

.page-product .lmf-product-hero__reviews:has(.product-list-review, .grade-stars, .star-content) {
  margin-bottom: 1rem;
}

.page-product .lmf-product-hero__reviews .product-list-review {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--lmf-product-ink);
  font-weight: 700;
}

.page-product .lmf-product-hero__reviews .grade-stars {
  position: relative;
  color: var(--lmf-product-gold);
}

.page-product .lmf-product-hero__short-description {
  max-width: 34rem;
  margin-bottom: 1.35rem;
  padding-right: 0;
}

.page-product .lmf-product-hero__short-description,
.page-product .lmf-product-hero__short-description p {
  color: #25322a;
  font-size: 1rem;
  line-height: 1.65;
}

.page-product .lmf-product-hero__short-description p:last-child {
  margin-bottom: 0;
}

/* Bloc prix — juste sous le titre */
.page-product .lmf-product-hero__prices {
  margin-bottom: 1.35rem;
}

.page-product .lmf-product-hero__prices-from {
  display: block;
  margin-bottom: 0.15rem;
  color: var(--lmf-product-muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.page-product .lmf-product-hero__prices .product__prices {
  margin: 0;
}

.page-product .lmf-product-hero__prices .product__price {
  color: var(--lmf-product-accent);
  font-family: var(--lmf-product-serif);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.page-product .lmf-product-hero__prices .product__tax-infos {
  color: var(--lmf-product-ink);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

/* Bloc achat — CTA devis, juste sous la description courte */
.page-product .lmf-product-buy {
  display: grid;
  gap: 0.85rem;
  max-width: 34rem;
  margin-top: 0;
  padding-top: 0.9rem;
}

.page-product .lmf-product-buy .product__actions,
.page-product .lmf-product-buy .product__add-to-cart-container,
.page-product .lmf-product-buy .product__variants,
.page-product .lmf-product-buy .product__pack,
.page-product .lmf-product-buy .product__discounts,
.page-product .lmf-product-buy .product__minimal-quantity {
  margin: 0;
}

.page-product .lmf-product-buy .product__actions form,
.page-product .lmf-product-buy .product__add-to-cart-container {
  display: grid;
  gap: 0.85rem;
}

.page-product .lmf-product-buy .product__actions-qty-add {
  display: grid;
  grid-template-columns: minmax(7rem, auto) minmax(0, 1fr);
  gap: 0.75rem;
  align-items: stretch;
}

.page-product .lmf-product-buy .product__quantity {
  display: flex;
  width: 100%;
}

.page-product .lmf-product-buy .product__add-to-cart {
  min-width: 0;
}

.page-product .lmf-product-buy .product__add-to-cart-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  height: 54px;
  border: 1px solid #17251c;
  border-radius: 12px;
  background: #17251c;
  color: #fff !important;
  font-family: var(--lmf-font-sans);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0 1.7rem;
}

.page-product .lmf-product-buy .product__add-to-cart-button:hover,
.page-product .lmf-product-buy .product__add-to-cart-button:focus {
  background: #24392d;
  border-color: #24392d;
  color: #fff !important;
}

.page-product .lmf-product-sauna-required {
  display: grid;
  gap: 0.7rem;
  padding: 1.1rem 1.15rem;
  border: 1px solid var(--lmf-product-border);
  border-radius: 12px;
  background: var(--lmf-product-surface);
}

.page-product .lmf-product-sauna-required__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  color: var(--lmf-product-ink);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.page-product .lmf-product-sauna-required__eyebrow .material-icons {
  color: var(--lmf-product-accent);
  font-size: 1.1rem;
}

.page-product .lmf-product-sauna-required__text {
  margin: 0;
  color: var(--lmf-product-muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

.page-product .lmf-product-sauna-required__link {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 0.4rem;
  color: var(--lmf-product-accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.page-product .lmf-product-sauna-required__link .material-icons {
  font-size: 1rem;
  transition: transform 180ms ease;
}

.page-product .lmf-product-sauna-required__link:hover .material-icons,
.page-product .lmf-product-sauna-required__link:focus-visible .material-icons {
  transform: translateX(3px);
}

.page-product .lmf-product-buy .product__availability-status,
.page-product .lmf-product-buy .product__minimal-quantity,
.page-product .lmf-product-buy .product__delivery-infos {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
  color: var(--lmf-product-muted);
  font-size: 0.85rem;
  line-height: 1.45;
}

/* ============================================================
   4. Onglets — plats, pleine largeur de la colonne principale
   ============================================================ */

.lmf-product-tabs {
  margin-top: var(--lmf-product-section-gap);
  color: var(--lmf-product-ink);
}

.lmf-product-tabs__nav {
  gap: 0;
  margin-bottom: 0;
  border-bottom: 0;
}

.lmf-product-tabs__nav .nav-item {
  margin-bottom: -1px;
}

.lmf-product-tabs__nav .nav-link {
  min-width: 9.5rem;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  padding: 0.9rem 1.25rem;
  background: transparent;
  color: var(--lmf-product-muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.lmf-product-tabs__nav .nav-link:hover,
.lmf-product-tabs__nav .nav-link:focus {
  color: var(--lmf-product-ink);
}

.lmf-product-tabs__nav .nav-link.active {
  border-bottom-color: var(--lmf-product-accent);
  color: var(--lmf-product-accent);
  background: transparent;
}

.lmf-product-tabs__accordion-trigger {
  display: none;
}

.lmf-product-tabs__content {
  padding: 1.75rem 0 0;
}

#product_description_panel {
  margin-top: 1.75rem;
  padding: 1.75rem;
  border-radius: 12px;
  background: #f7f5f0;
}

#product_content_panel {
  margin-top: 1.75rem;
  padding: 1.75rem;
  border-radius: 12px;
  background: #f7f5f0;
}

#product_content_panel > .lmf-product-tabs__description {
  padding: clamp(1.25rem, 3vw, 2.5rem);
}

#product_content_panel > .lmf-product-tabs__description > * {
  max-width: calc(100% - clamp(4rem, 14vw, 16rem));
}

#product_characteristics_panel,
.lmf-product-tabs__details {
  background: #fff;
}

.lmf-product-tabs__overview {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.lmf-product-tabs__description {
  width: 100%;
  padding: clamp(1.25rem, 3vw, 2.5rem);
  border-radius: 12px;
  background: #fff;
}

.lmf-product-tabs__description h1,
.lmf-product-tabs__description h2,
.lmf-product-tabs__description h3,
.product__description h1,
.product__description h2,
.product__description h3 {
  margin: 3rem 0 0.75rem;
  color: var(--lmf-product-accent);
  font-family: var(--lmf-product-serif);
  font-weight: 700;
  letter-spacing: 0;
}

.lmf-product-tabs__description h1:first-child,
.lmf-product-tabs__description h2:first-child,
.lmf-product-tabs__description h3:first-child,
.product__description h1:first-child,
.product__description h2:first-child,
.product__description h3:first-child {
  margin-top: 0;
}

.lmf-product-tabs__description p,
.lmf-product-tabs__description li,
.lmf-product-tabs__extra p,
.product-faq__answer {
  color: #3d463f;
  font-size: 0.95rem;
  line-height: 1.7;
}

.lmf-product-tabs__content a,
.lmf-product-tabs__description a,
.lmf-product-tabs__extra a {
  color: var(--lmf-product-accent);
  font-weight: 700;
  text-decoration-color: rgba(15, 75, 53, 0.35);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.lmf-product-tabs__content a:hover,
.lmf-product-tabs__content a:focus,
.lmf-product-tabs__description a:hover,
.lmf-product-tabs__description a:focus,
.lmf-product-tabs__extra a:hover,
.lmf-product-tabs__extra a:focus {
  color: #6f9386;
  text-decoration-color: currentColor;
}

.lmf-product-tabs__description ul {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.85rem 1.25rem;
  padding-left: 1.1rem;
}

.lmf-product-tabs__description li + li,
.lmf-product-tabs__extra li + li {
  margin-top: 0.45rem;
}

.lmf-product-tabs__description .lmf-description-hero,
.product__description > .lmf-description-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(20rem, 0.95fr);
  align-items: start;
  gap: clamp(2rem, 4vw, 4.5rem);
  margin: 0 0 2rem;
  padding: clamp(1.75rem, 3vw, 3rem) clamp(1.75rem, 3vw, 3rem) 0;
  border-radius: 0;
  background: transparent;
  overflow: hidden;
}

.lmf-product-tabs__description .lmf-description-hero__content,
.product__description > .lmf-description-hero > .lmf-description-hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  grid-column: 1;
  grid-row: 1;
}

.lmf-product-tabs__description .lmf-description-hero__eyebrow {
  display: block;
  margin-bottom: 0.75rem;
  color: #486257;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1.4;
  text-transform: uppercase;
}

.lmf-product-tabs__description .lmf-description-hero__content > h2:first-of-type {
  margin: 0 0 1.25rem;
  color: var(--lmf-product-accent);
  font-size: clamp(1.65rem, 2.6vw, 2.6rem);
  line-height: 1.12;
  text-wrap: balance;
}

.lmf-product-tabs__description .lmf-description-hero__content > h2:not(:first-of-type) {
  margin: 2rem 0 0.75rem;
  color: var(--lmf-product-accent);
  font-size: clamp(1.25rem, 1.8vw, 1.55rem);
  line-height: 1.18;
}

.lmf-product-tabs__description .lmf-description-hero p {
  max-width: 62ch;
  margin: 0 0 1rem;
  color: #39423e;
  font-size: 1rem;
  line-height: 1.75;
}

.lmf-product-tabs__description .lmf-description-hero p:last-child {
  margin-bottom: 0;
}

.lmf-product-tabs__description .lmf-description-hero__media,
.product__description > .lmf-description-hero > .lmf-description-hero__media {
  grid-column: 2;
  grid-row: 1;
  align-self: start;
  aspect-ratio: 900 / 650;
  min-height: 0;
  margin: 0;
  border-radius: 9px;
  background: #e8e3da;
  overflow: hidden;
}

.lmf-product-tabs__description .lmf-description-hero__media img,
.product__description > .lmf-description-hero > .lmf-description-hero__media img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  min-height: 0;
  max-height: none;
  max-width: none !important;
  object-fit: cover;
  object-position: center;
}

.lmf-product-tabs__description .lmf-description-body,
.product__description > .lmf-description-body {
  padding-block: 0;
  padding-left: clamp(1.25rem, 3.2vw, 3rem);
  padding-right: clamp(4rem, 14vw, 16rem);
  border-radius: 0;
  background: transparent;
}

.lmf-product-tabs__extra,
.product-faq__list,
.lmf-product-highlights {
  padding-right: clamp(4rem, 14vw, 16rem);
}

.lmf-product-tabs__description .lmf-desc-section {
  margin: 2rem 0;
}

.lmf-product-tabs__description .lmf-desc-section:first-child {
  margin-top: 0;
}

.lmf-product-tabs__description .lmf-desc-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(16rem, 1.05fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: center;
}

.lmf-product-tabs__description .lmf-desc-intro > :first-child > :last-child,
.lmf-product-tabs__description .lmf-desc-card > :last-child,
.lmf-product-tabs__description .lmf-desc-help > :last-child {
  margin-bottom: 0;
}

.lmf-product-tabs__description .lmf-desc-media {
  display: block;
  overflow: hidden;
  border-radius: 8px;
  background: var(--lmf-product-soft);
}

.lmf-product-tabs__description .lmf-desc-media img {
  display: block;
  width: 100% !important;
  height: auto !important;
  max-width: none !important;
}

.lmf-product-tabs__description .lmf-desc-media--wide img {
  aspect-ratio: 16 / 7;
  height: 100% !important;
  object-fit: cover;
  object-position: center;
}

.lmf-product-tabs__description .lmf-desc-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--lmf-product-border);
  background: #fff;
}

.lmf-product-tabs__description .lmf-desc-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.85rem;
  padding: 1.25rem;
  border-right: 1px solid var(--lmf-product-border);
}

.lmf-product-tabs__description .lmf-desc-card:last-child {
  border-right: 0;
}

.lmf-product-tabs__description .lmf-desc-card i {
  color: var(--lmf-product-accent);
  font-size: 1.65rem;
  line-height: 1;
}

.lmf-product-tabs__description .lmf-desc-card h3,
.lmf-product-tabs__description .lmf-desc-help h3 {
  margin: 0 0 0.45rem;
  color: var(--lmf-product-ink);
  font-family: var(--lmf-font-sans);
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1.25;
}

.lmf-product-tabs__description .lmf-desc-card p,
.lmf-product-tabs__description .lmf-desc-help p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.55;
}

.lmf-product-tabs__description .lmf-desc-overview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.85fr) minmax(16rem, 0.65fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
  align-items: start;
}

.lmf-product-tabs__description .lmf-desc-specs {
  display: grid;
  gap: 0;
  margin: 0;
  border-top: 1px solid var(--lmf-product-border);
}

.lmf-product-tabs__description .lmf-desc-specs div {
  display: grid;
  grid-template-columns: minmax(8rem, 0.9fr) minmax(0, 1fr);
  gap: 1rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--lmf-product-border);
}

.lmf-product-tabs__description .lmf-desc-specs dt,
.lmf-product-tabs__description .lmf-desc-specs dd {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.45;
}

.lmf-product-tabs__description .lmf-desc-specs dt {
  color: var(--lmf-product-muted);
  font-weight: 800;
}

.lmf-product-tabs__description .lmf-desc-specs dd {
  color: var(--lmf-product-ink);
  font-weight: 700;
}

.lmf-product-tabs__description .lmf-desc-checklist {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lmf-product-tabs__description .lmf-desc-checklist li {
  position: relative;
  padding-left: 1.45rem;
}

.lmf-product-tabs__description .lmf-desc-checklist li::before {
  content: "check";
  position: absolute;
  top: 0.12rem;
  left: 0;
  color: var(--lmf-product-accent);
  font-family: "Material Icons";
  font-size: 1rem;
  line-height: 1;
}

.lmf-product-tabs__description .lmf-desc-help {
  margin-top: 1.25rem;
  padding: 1.2rem;
  border-radius: 8px;
  background: var(--lmf-product-soft);
}

.lmf-product-tabs__details .details__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.lmf-product-tabs__details .details__item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(8.5rem, 0.72fr) minmax(0, 1fr);
  align-items: center;
  min-height: 4.35rem;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(15, 75, 53, 0.1);
  border-radius: 8px;
  background: #fff;
  box-shadow: none;
  overflow: hidden;
}

.lmf-product-tabs__details .details__item::before {
  content: "";
  position: absolute;
  top: 0.85rem;
  bottom: 0.85rem;
  left: 0;
  width: 3px;
  border-radius: 999px;
  background: rgba(15, 75, 53, 0.72);
}

.lmf-product-tabs__details .details__left,
.lmf-product-tabs__details .details__right {
  padding: 0.9rem 1rem;
}

.lmf-product-tabs__details .details__left {
  display: flex;
  align-items: center;
  background: transparent;
  font-weight: 800;
}

.lmf-product-tabs__details .details__title {
  color: #51645a;
  font-size: 0.73rem;
  letter-spacing: 0.04em;
  line-height: 1.25;
  text-transform: uppercase;
}

.lmf-product-tabs__details .details__right {
  color: var(--lmf-product-ink);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.45;
}

.lmf-product-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.lmf-product-highlights__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.85rem;
  min-height: 10rem;
  padding: 1.25rem;
  border: 1px solid var(--lmf-product-border);
  border-radius: 6px;
  background: #fff;
}

.lmf-product-highlights__item i {
  color: var(--lmf-product-accent);
  font-size: 1.8rem;
  line-height: 1;
}

.lmf-product-highlights__item h3 {
  margin: 0 0 0.45rem;
  color: var(--lmf-product-ink);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0;
}

.lmf-product-highlights__item p {
  margin: 0;
  color: #3d463f;
  font-size: 0.92rem;
  line-height: 1.55;
}

.product-faq__list {
  display: grid;
  gap: 0.75rem;
}

.product-faq__item {
  border: 1px solid var(--lmf-product-border);
  background: #fff;
}

.product-faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.25rem;
  padding: 0.9rem 1rem;
  color: var(--lmf-product-ink);
  cursor: pointer;
  font-weight: 800;
}

.product-faq__question::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--lmf-product-accent);
  font-size: 1.15rem;
  line-height: 1;
}

.product-faq__item[open] .product-faq__question::after {
  content: "-";
}

.product-faq__answer {
  padding: 0 1rem 1rem;
}

.product-faq__answer > :last-child {
  margin-bottom: 0;
}

/* ============================================================
   5. Produits associés (override ps_categoryproducts)
   ============================================================ */

.page-product .lmf-product-related {
  width: 100%;
  margin: var(--lmf-product-section-gap) auto 0;
}

.page-product .lmf-product-related__head {
  margin-bottom: 1.35rem;
}

.page-product .lmf-product-related__head h2 {
  margin: 0;
  color: var(--lmf-product-accent);
  font-family: var(--lmf-product-serif);
  font-size: clamp(1.65rem, 2.6vw, 2.25rem);
  font-weight: 700;
  letter-spacing: 0;
}

.page-product .lmf-product-related__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.page-product .lmf-product-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid rgba(16, 32, 24, 0.07);
  background: #fff;
  box-shadow: 0 16px 36px rgba(25, 34, 28, 0.06);
}

.page-product .lmf-product-card__image-link {
  position: relative;
  display: block;
  aspect-ratio: 372 / 496;
  background: #f1efe8;
  overflow: hidden;
}

.page-product .lmf-product-card__image-link picture {
  display: block;
  width: 100%;
  height: 100%;
}

.page-product .lmf-product-card__image {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  object-position: center !important;
  transition: transform 220ms ease;
}

.page-product .lmf-product-card:hover .lmf-product-card__image {
  transform: scale(1.035);
}

.page-product .lmf-product-card .product-flags {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  z-index: 2;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-product .lmf-product-card .product-flags .badge {
  border-radius: 2px;
  background: #0d2118;
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 0.42rem 0.55rem;
  text-transform: uppercase;
}

.page-product .lmf-product-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.25rem 1.35rem 1.35rem;
}

.page-product .lmf-product-card__title {
  color: #102018;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.35;
}

.page-product .lmf-product-card__meta {
  margin: 0.35rem 0 1.1rem;
  color: #6d746f;
  font-size: 0.82rem;
  line-height: 1.4;
}

.page-product .lmf-product-card__price {
  margin-top: auto;
  color: #102018;
  font-size: 1rem;
  font-weight: 800;
}

.page-product .lmf-product-card__price span {
  margin-left: 0.25rem;
  color: #6d746f;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
}

.page-product .lmf-product-card__cta {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  justify-content: center;
  min-height: 38px;
  margin-top: 1.25rem;
  padding: 0 1.7rem;
  border-radius: 3px;
  background: #0d2118;
  color: #fff !important;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ============================================================
   6. Accessoires produit
   ============================================================ */

.page-product .lmf-product-accessories {
  width: 100%;
  margin: var(--lmf-product-section-gap) auto 0;
  color: var(--lmf-product-ink);
}

.page-product .lmf-product-accessories__head {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.page-product .lmf-product-accessories__head h2 {
  margin: 0;
  color: var(--lmf-product-accent);
  font-family: var(--lmf-product-serif);
  font-size: clamp(1.65rem, 2.6vw, 2.25rem);
  font-weight: 700;
}

.page-product .lmf-product-accessories__controls {
  display: flex;
  flex: 0 0 auto;
  gap: 0.55rem;
}

.page-product .lmf-product-accessories__control {
  display: inline-grid;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  place-items: center;
  border: 1px solid var(--lmf-product-border);
  border-radius: 50%;
  background: #fff;
  color: var(--lmf-product-ink);
  transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}

.page-product .lmf-product-accessories__control:hover,
.page-product .lmf-product-accessories__control:focus-visible {
  border-color: var(--lmf-product-accent);
  background: var(--lmf-product-accent);
  color: #fff;
}

.page-product .lmf-product-accessories__control:disabled {
  opacity: 0.32;
  pointer-events: none;
}

.page-product .lmf-product-accessories__control .material-icons {
  font-size: 1.15rem;
}

.page-product .lmf-product-accessories__viewport {
  width: 100%;
  padding: 0.15rem 0 1rem;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-padding-inline: 0.15rem;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.page-product .lmf-product-accessories__viewport::-webkit-scrollbar {
  display: none;
}

.page-product .lmf-product-accessories__track {
  display: flex;
  gap: clamp(1rem, 1.8vw, 1.5rem);
  width: max-content;
}

.page-product .lmf-accessory-card {
  display: flex;
  flex: 0 0 clamp(210px, 16vw, 250px);
  flex-direction: column;
  min-width: 0;
  border: 1px solid rgba(16, 32, 24, 0.09);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(25, 34, 28, 0.07);
  overflow: hidden;
  scroll-snap-align: start;
}

.page-product .lmf-accessory-card__image-link {
  position: relative;
  display: block;
  aspect-ratio: 1;
  background: var(--lmf-product-soft);
  overflow: hidden;
}

.page-product .lmf-accessory-card__image-link picture {
  display: block;
  width: 100%;
  height: 100%;
}

.page-product .lmf-accessory-card__image {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  object-position: center !important;
  transition: transform 220ms ease;
}

.page-product .lmf-accessory-card:hover .lmf-accessory-card__image {
  transform: scale(1.035);
}

.page-product .lmf-accessory-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.15rem 1.2rem 1.25rem;
}

.page-product .lmf-accessory-card__meta {
  margin: 0 0 0.35rem;
  color: var(--lmf-product-muted);
  font-size: 0.75rem;
  line-height: 1.35;
}

.page-product .lmf-accessory-card__title {
  color: var(--lmf-product-ink);
  font-size: 0.98rem;
  font-weight: 750;
  line-height: 1.35;
}

.page-product .lmf-accessory-card__footer {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-top: auto;
  padding-top: 1.2rem;
}

.page-product .lmf-accessory-card__price {
  color: var(--lmf-product-ink);
  font-size: 1rem;
  font-weight: 800;
}

.page-product .lmf-accessory-card__price span {
  margin-left: 0.2rem;
  color: var(--lmf-product-muted);
  font-size: 0.68rem;
  font-weight: 650;
}

.page-product .lmf-accessory-card__form {
  margin: 0;
}

.page-product .lmf-accessory-card__locked-state {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.page-product .lmf-accessory-card__requirement {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  color: var(--lmf-product-muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.page-product .lmf-accessory-card__requirement .material-icons {
  color: var(--lmf-product-accent);
  font-size: 1rem;
}

.page-product .lmf-accessory-card__add,
.page-product .lmf-accessory-card__details {
  display: inline-flex;
  width: 100%;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  border: 1px solid var(--lmf-product-accent);
  border-radius: 7px;
  background: var(--lmf-product-accent);
  color: #fff !important;
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.035em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  transition: background-color 180ms ease, border-color 180ms ease;
}

.page-product .lmf-accessory-card__add:hover,
.page-product .lmf-accessory-card__add:focus-visible,
.page-product .lmf-accessory-card__details:hover,
.page-product .lmf-accessory-card__details:focus-visible {
  border-color: var(--lmf-product-accent-dark);
  background: var(--lmf-product-accent-dark);
}

.page-product .lmf-accessory-card__add--locked,
.page-product .lmf-accessory-card__add--locked:hover {
  border-color: #d8d9d4;
  background: #ecece8;
  color: #70766f !important;
  cursor: not-allowed;
}

.page-product .lmf-accessory-card__add .material-icons,
.page-product .lmf-accessory-card__details .material-icons {
  font-size: 1rem;
}

/* ============================================================
   7. Bandeau devis — sticky bas d'écran
   ============================================================ */

.page-product .lmf-quote-bar {
  position: fixed;
  z-index: 1030;
  right: 0;
  bottom: 0;
  left: 0;
  border-top: 1px solid var(--lmf-product-border);
  background: #fff;
  box-shadow: 0 -0.65rem 1.75rem rgba(24, 36, 29, 0.12);
  transform: translateY(100%);
  transition: transform 220ms ease;
  pointer-events: none;
}

.page-product .lmf-quote-bar--visible {
  transform: translateY(0);
  pointer-events: auto;
}

.page-product .lmf-quote-bar__form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  max-width: 75%;
  margin: 0 auto;
  padding: 0.85rem 0;
}

.page-product .lmf-quote-bar__copy {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}

.page-product .lmf-quote-bar__copy strong {
  color: var(--lmf-product-ink);
  font-size: 0.85rem;
  font-weight: 900;
}

.page-product .lmf-quote-bar__copy span {
  color: var(--lmf-product-muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.page-product .lmf-quote-bar__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 54px;
  border: 1px solid #17251c;
  border-radius: 12px;
  background: #17251c;
  color: #fff;
  font-family: var(--lmf-font-sans);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 0 1.7rem;
}

.page-product .lmf-quote-bar__submit:hover,
.page-product .lmf-quote-bar__submit:focus {
  background: #24392d;
  border-color: #24392d;
  color: #fff;
}

/* ============================================================
   7. Responsive — toutes les media queries regroupées ici
   ============================================================ */

@media (max-width: 1199.98px) {
  .page-product .lmf-product-hero {
    grid-template-columns: 1fr;
    align-items: start;
  }

}

@media (max-width: 991.98px) {
  .lmf-product-tabs__nav {
    display: none;
  }

  .lmf-product-tabs__panes {
    display: grid;
    gap: 0.75rem;
  }

  .lmf-product-tabs__accordion-trigger {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    border: 1px solid rgba(15, 75, 53, 0.12);
    border-radius: 10px;
    padding: 1rem 1.1rem;
    background: #fff;
    color: var(--lmf-product-ink);
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0.02em;
    text-align: left;
    text-transform: uppercase;
  }

  .lmf-product-tabs__accordion-trigger::after {
    content: "+";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 999px;
    background: rgba(15, 75, 53, 0.08);
    color: var(--lmf-product-accent);
    font-size: 1rem;
    line-height: 1;
    transition: transform 0.2s ease, background-color 0.2s ease;
  }

  .lmf-product-tabs__accordion-trigger.active {
    border-color: rgba(15, 75, 53, 0.2);
    color: var(--lmf-product-accent);
  }

  .lmf-product-tabs__accordion-trigger.active::after {
    content: "−";
    background: rgba(15, 75, 53, 0.12);
  }

  .lmf-product-tabs__accordion-trigger + .lmf-product-tabs__content {
    padding-top: 0;
  }

  #product_description_panel {
    margin-top: 0;
  }

  #product_content_panel {
    margin-top: 0;
  }

  .lmf-product-tabs__description .lmf-description-hero,
  .product__description > .lmf-description-hero {
    grid-template-columns: minmax(0, 1fr) minmax(17.5rem, 0.8fr);
    gap: 1.75rem;
    padding: 1.75rem;
  }

  .lmf-product-tabs__description .lmf-description-hero__media,
  .lmf-product-tabs__description .lmf-description-hero__media img,
  .product__description > .lmf-description-hero > .lmf-description-hero__media,
  .product__description > .lmf-description-hero > .lmf-description-hero__media img {
    min-height: 300px;
  }

  .page-product .lmf-product-related__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }
}

@media (min-width: 768px) and (max-width: 1340px) {
  .lmf-product-tabs__description .lmf-description-hero,
  .product__description > .lmf-description-hero {
    display: block;
  }

  .lmf-product-tabs__description .lmf-description-hero__content,
  .product__description > .lmf-description-hero > .lmf-description-hero__content {
    display: block;
  }

  .lmf-product-tabs__description .lmf-description-hero__media,
  .product__description > .lmf-description-hero > .lmf-description-hero__media {
    float: right;
    width: min(43%, 29rem);
    margin: 0 0 1.5rem clamp(1.75rem, 4vw, 3rem);
  }

  .lmf-product-tabs__description .lmf-description-hero::after,
  .product__description > .lmf-description-hero::after {
    content: "";
    display: block;
    clear: both;
  }

  .lmf-product-tabs__description h1,
  .lmf-product-tabs__description h2,
  .lmf-product-tabs__description h3,
  .product__description h1,
  .product__description h2,
  .product__description h3 {
    margin-top: 2.5rem;
  }

  .lmf-product-tabs__description .lmf-description-body,
  .product__description > .lmf-description-body,
  .lmf-product-tabs__extra,
  .product-faq__list,
  .lmf-product-highlights {
    padding-right: clamp(2.5rem, 8vw, 7rem);
  }

  #product_content_panel > .lmf-product-tabs__description > * {
    max-width: calc(100% - clamp(2.5rem, 8vw, 7rem));
  }
}

@media (max-width: 767.98px) {
  .page-product {
    --lmf-product-section-gap: 1.75rem;
    overflow-x: clip;
  }

  .page-product * {
    box-sizing: border-box;
  }

  .page-product .columns-container.container {
    width: 100%;
    max-width: 100%;
    padding-inline: 0.85rem;
    overflow-x: clip;
  }

  .page-product .breadcrumb,
  .page-product .breadcrumb__wrapper,
  .page-product .breadcrumb ol,
  .page-product .breadcrumb ul {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .page-product .lmf-product-page {
    gap: 1.35rem;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-top: 0.5rem;
    overflow-x: clip;
  }

  .page-product .lmf-product-hero {
    gap: 1rem;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-top: 0.25rem;
    overflow-x: clip;
  }

  .page-product .lmf-product-hero__gallery {
    width: min(76vw, 18rem);
    max-width: 100%;
    min-width: 0;
    justify-self: center;
  }

  .page-product .lmf-product-hero__gallery .product__images,
  .page-product .lmf-product-hero__gallery .product__carousel,
  .page-product .lmf-product-hero__intro,
  .page-product .lmf-product-buy,
  .page-product .lmf-product-tabs,
  .page-product .lmf-product-tabs__content,
  .page-product .lmf-product-tabs__overview,
  .page-product .lmf-product-tabs__description {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .page-product .lmf-product-tabs__description {
    padding: 1rem;
  }

  .page-product .lmf-product-hero__intro {
    padding-left: 0;
  }

  .page-product .lmf-product-hero__gallery .carousel-inner,
  .page-product .lmf-product-hero__gallery .carousel-item {
    aspect-ratio: 1.2 / 1;
  }

  .page-product .lmf-product-hero__gallery .product__thumbnails-list {
    gap: 0.45rem;
    padding: 0;
  }

  .page-product .lmf-product-hero__gallery .product__thumbnails {
    max-width: calc(100% - 1rem);
  }

  .page-product .lmf-product-hero__gallery .product__thumbnail {
    width: 3.05rem;
    height: 3.05rem;
  }

  .page-product .lmf-product-hero__gallery .carousel-control-prev,
  .page-product .lmf-product-hero__gallery .carousel-control-next {
    display: none;
  }

  .page-product .lmf-product-hero__title {
    margin-bottom: 0.45rem;
    font-size: clamp(1.35rem, 6.4vw, 1.7rem);
    line-height: 1.12;
    overflow-wrap: anywhere;
  }

  .page-product .lmf-product-hero__short-description,
  .page-product .lmf-product-hero__short-description p {
    font-size: 0.82rem;
    line-height: 1.5;
    overflow-wrap: anywhere;
  }

  .page-product .lmf-product-buy {
    gap: 0.75rem;
    margin-top: 0;
    padding-top: 0;
  }

  .page-product .lmf-product-buy .product__actions-qty-add {
    grid-template-columns: 1fr;
  }

  .page-product .lmf-product-buy .product__add-to-cart-button {
    padding-inline: 1rem;
    white-space: normal;
  }

  .page-product .lmf-product-hero__prices .product__price {
    font-size: 1.65rem;
  }

  .lmf-product-tabs__nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    max-width: 100%;
  }

  .lmf-product-tabs__nav .nav-link {
    min-width: 8.5rem;
    padding-inline: 1rem;
    white-space: nowrap;
  }

  .lmf-product-tabs__content {
    padding-top: 0;
  }

  #product_description_panel {
    padding: 1rem;
    border-radius: 8px;
  }

  #product_content_panel {
    padding: 1rem;
    border-radius: 8px;
  }

  #product_content_panel > .lmf-product-tabs__description {
    padding: 1rem;
  }

  #product_content_panel > .lmf-product-tabs__description > * {
    max-width: none;
  }

  .lmf-product-tabs__overview {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .lmf-product-tabs__description ul {
    grid-template-columns: 1fr;
  }

  .lmf-product-tabs__description h1,
  .lmf-product-tabs__description h2,
  .lmf-product-tabs__description h3,
  .product__description h1,
  .product__description h2,
  .product__description h3 {
    margin-top: 2rem;
  }

  .lmf-product-tabs__description .lmf-description-hero,
  .product__description > .lmf-description-hero {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.25rem 1.25rem 0;
    border-radius: 8px;
  }

  .lmf-product-tabs__description .lmf-description-hero__content,
  .product__description > .lmf-description-hero > .lmf-description-hero__content {
    order: 1;
  }

  .lmf-product-tabs__description .lmf-description-hero__media,
  .product__description > .lmf-description-hero > .lmf-description-hero__media {
    order: 2;
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .lmf-product-tabs__description .lmf-description-hero__media img,
  .product__description > .lmf-description-hero > .lmf-description-hero__media img {
    height: 100% !important;
    min-height: 0;
    max-height: none;
  }

  .lmf-product-tabs__description .lmf-description-hero__content > h2:first-of-type {
    font-size: clamp(1.5rem, 7vw, 2rem);
  }

  .lmf-product-tabs__description .lmf-description-hero p {
    font-size: 0.96rem;
    line-height: 1.65;
  }

  .lmf-product-tabs__description .lmf-description-body,
  .product__description > .lmf-description-body {
    padding-block: 0;
    padding-left: 0.25rem;
    padding-right: 0.25rem;
  }

  .lmf-product-tabs__extra,
  .product-faq__list,
  .lmf-product-highlights {
    padding-right: 0;
  }

  .lmf-product-tabs__description .lmf-desc-section {
    margin: 1.5rem 0;
  }

  .lmf-product-tabs__description .lmf-desc-intro,
  .lmf-product-tabs__description .lmf-desc-overview {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }

  .lmf-product-tabs__description .lmf-desc-cards {
    grid-template-columns: 1fr;
  }

  .lmf-product-tabs__description .lmf-desc-card {
    border-right: 0;
    border-bottom: 1px solid var(--lmf-product-border);
    padding: 1rem;
  }

  .lmf-product-tabs__description .lmf-desc-card:last-child {
    border-bottom: 0;
  }

  .lmf-product-tabs__description .lmf-desc-specs div {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  .lmf-product-tabs__description .lmf-desc-media--wide img {
    aspect-ratio: 4 / 3;
  }

  .lmf-product-tabs__description p,
  .lmf-product-tabs__description li,
  .lmf-product-tabs__extra p,
  .product-faq__answer {
    font-size: 0.92rem;
    line-height: 1.62;
    overflow-wrap: anywhere;
  }

  .lmf-product-tabs__description h1,
  .lmf-product-tabs__description h2,
  .lmf-product-tabs__description h3 {
    overflow-wrap: anywhere;
  }

  .lmf-product-tabs__details .details__list {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .lmf-product-tabs__details .details__item {
    grid-template-columns: 1fr;
    border-right: 0;
  }

  .lmf-product-tabs__details .details__left {
    padding-bottom: 0.25rem;
  }

  .lmf-product-tabs__details .details__right {
    padding-top: 0;
  }

  .lmf-product-highlights {
    grid-template-columns: 1fr;
  }

  .page-product .lmf-quote-bar__form {
    grid-template-columns: 1fr;
    max-width: 100%;
    gap: 0.65rem;
    padding: 0.75rem 0.85rem;
  }

  .page-product .lmf-quote-bar__submit {
    width: 100%;
  }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
  .lmf-product-highlights {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .page-product .lmf-product-related__grid {
    grid-template-columns: 1fr;
  }

  .page-product .lmf-product-accessories__head {
    align-items: flex-end;
  }

  .page-product .lmf-product-accessories__control {
    width: 2.4rem;
    height: 2.4rem;
  }

  .page-product .lmf-accessory-card {
    flex-basis: min(82vw, 270px);
  }
}
