/*
 * PrestAI Hummingbird Child — kit Creative Elements
 *
 * Styles des classes pa-* posées dans les templates CE du kit PrestAI
 * (header, listing, fiche produit, side cart) et correctifs des widgets CE.
 * Règle : dans les templates CE, pas de couleur ni de typo réglée au niveau
 * du widget — héritage du kit global CE ou classe pa-* stylée ici.
 * Portée : chaque règle vise le contenu Creative Elements (.elementor, ou une page qui contient un template CE :
 * [data-elementor-type]). Les mêmes classes pa-* existent dans les gabarits du thème (en-tête de catégorie,
 * fiche produit) : sans cette portée, ce fichier les touchait sur les pages rendues par le thème (3.7.0).
 * Exceptions marquées « Aussi les gabarits du thème » : la fiche produit et le texte de catégorie du starter
 * en dépendent (relevé sur la démo). Elles gardent leur portée d'avant ; à déplacer dans prestai.css.
 */

/* =========================================================
   SECTION CE QUI PORTE UN BLOC PRESTAI CONTENT
   Classe CSS de la section : pa-ce-block (+ section étirée, largeur
   pleine). Le bloc apporte sa section pa-section et son pa-container :
   CE ne doit ajouter ni largeur max, ni padding, ni marge de widget.
   ========================================================= */

/* Sélecteurs descendants : CE intercale .elementor-row selon les versions.
   Spécificité au-dessus de .elementor-column-gap-* > … > .elementor-element-populated. */
.elementor-section.pa-ce-block > .elementor-container {
  max-width: none;
}

.elementor-section.elementor-element.pa-ce-block {
  padding: 0;
}

.elementor-section.pa-ce-block .elementor-column.elementor-element .elementor-element-populated,
.elementor-section.pa-ce-block .elementor-column.elementor-element .elementor-widget-wrap {
  padding: 0;
}

.elementor-section.pa-ce-block .elementor-widget:not(:last-child) {
  margin-bottom: 0;
}

/* =========================================================
   CARROUSEL DE PRODUITS CE : cartes de même hauteur (toutes largeurs)
   Les diapositives prennent la hauteur de la plus haute ; la carte du thème
   (pa-product-card) ou le template de miniature CE remplit la diapositive.
   ========================================================= */
.elementor-widget-product-carousel .swiper-wrapper {
  align-items: stretch;
}
.elementor-widget-product-carousel .swiper-slide {
  display: flex;
  height: auto;
}
.elementor-widget-product-carousel .swiper-slide > .pa-product-card {
  width: 100%;
}

/* =========================================================
   SECTION CE DANS LA GRILLE DU THÈME
   Classe CSS de la section : pa-section (ou pa-ce-section si l'espacement vertical
   reste celui de CE). Pour une section construite en widgets CE (carrousel de
   produits…) et non par un bloc : son contenu s'aligne sur .pa-container, quelle
   que soit la largeur de section réglée dans CE (en boîte, pleine, étirée).
   ========================================================= */
.elementor-section.pa-section:not(.pa-ce-block) > .elementor-container,
.elementor-section.pa-ce-section > .elementor-container {
  width: min(var(--pa-container), calc(100% - (var(--pa-gutter) * 2)));
  max-width: none;
  margin-inline: auto;
}
.elementor-section.elementor-element.pa-section:not(.pa-ce-block) {
  padding-inline: 0;
}
.elementor-section.pa-section:not(.pa-ce-block) > .elementor-container .elementor-column.elementor-element > .elementor-element-populated,
.elementor-section.pa-section:not(.pa-ce-block) > .elementor-container .elementor-column.elementor-element > .elementor-column-wrap > .elementor-widget-wrap,
.elementor-section.pa-ce-section > .elementor-container .elementor-column.elementor-element > .elementor-element-populated,
.elementor-section.pa-ce-section > .elementor-container .elementor-column.elementor-element > .elementor-column-wrap > .elementor-widget-wrap {
  padding-inline: 0;
}

/* =========================================================
   CE — GLOBAL
   ========================================================= */
#ce-product-quick-view .dialog-message {
    border-radius: 20px;
}
.elementor-field-subgroup a.elementor-field-option[href*="Disponibilit%C3%A9-Non+disponible"],
.elementor-field-subgroup a.elementor-field-option[href*="Availability-Not+available"],
.elementor-field-subgroup a.elementor-field-option[href*="Verf%C3%BCgbarkeit-Nicht+verf%C3%BCgbar"],
.elementor-field-subgroup a.elementor-field-option[href*="Non+disponible"],
.elementor-field-subgroup a.elementor-field-option[href*="Not+available"],
.elementor-field-subgroup a.elementor-field-option[href*="Nicht+verf%C3%BCgbar"] {
    display: none !important;
}

.elementor .pa-product-geo:not(:has(.prestai-product-advice)) {
    display: none;
}

#header div[data-elementor-type="header"] {
    border-bottom: 1px solid var(--pa-color-border);
}
#header:has([data-elementor-type="header"]) {
    box-shadow: none!important;
}
.elementor-cart__toggle .elementor-button {
    padding: 0 15px 0 10px; 
}
@media (max-width: 767.98px) {
.elementor-cart__toggle .elementor-button {
    padding: 0 14px 0 6px; 
}
}

/* =========================================================
   17. CATEGORY / PRODUCT LISTING
   ========================================================= */


/* ---------- Category header ---------- */

.elementor .pa-category-title :is( h1, .elementor-heading-title ) {
  margin: 0;
  color: var(--pa-color-primary);
  font-family: var(--pa-font-title);
  font-size: clamp(2.6rem, 5vw, 4.75rem);
  font-weight: 400;
  line-height: .95;
  letter-spacing: -.03em;
}

.elementor .pa-category-description {
  margin-top: 0;
  font-size: 1rem;
  line-height: 1.65;
}

.elementor .pa-category-description p:last-child,
.elementor .pa-category-additional-description p:last-child {
  margin-bottom: 0;
}


/* ---------- Child categories ---------- */

.elementor .pa-category-children {
  margin-top: 1.5rem;
}

.elementor .pa-category-children:not( :has(.ce-category-list > .elementor-button-wrapper) ) {
  display: none !important;
}

.elementor .pa-category-children .ce-category-list {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
}

.elementor .pa-category-children .elementor-button {
  min-height: 36px;
  padding: .5rem .9rem;
  border: 1px solid var(--pa-color-border);
  border-radius: var(--pa-radius-pill);
  color: var(--pa-color-primary);
  background: var(--pa-color-light);
  font-family: var(--pa-font-body);
  font-size: .82rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition:
    color var(--pa-transition),
    background var(--pa-transition),
    border-color var(--pa-transition);
}

.elementor .pa-category-children .elementor-button:hover {
  color: var(--pa-color-primary);
  background: rgba(var(--pa-color-accent-rgb), .1);
  border-color: var(--pa-color-accent);
}


/* ---------- Listing toolbar ---------- */
/* Barre des listes Creative Elements seulement : celle du thème (catalog/listing/product-list.tpl, enfant de
   .pa-listing-products) a ses propres marges dans prestai.css */

.elementor .pa-listing-toolbar:not(.pa-listing-products > .pa-listing-toolbar) {
  margin-bottom: clamp(1.5rem, 3vw, 2rem) !important;
  padding-block: .9rem;
}

.elementor .pa-listing-info {
  color: var(--pa-color-muted);
  font-size: .875rem;
  font-weight: 500;
}

.elementor .pa-listing-active-filters .elementor-button {
  border: 1px solid var(--pa-color-border);
  border-radius: var(--pa-radius-pill);
  color: var(--pa-color-primary);
  background: var(--pa-color-light);
}

.elementor .pa-listing-active-filters .elementor-button:hover {
  color: var(--pa-color-accent)!important;
  border-color: var(--pa-color-accent);
}


/* ---------- Filter trigger ---------- */

.elementor .pa-listing-filters .elementor-button {
  border-radius: var(--pa-radius-pill);
}


/* ---------- Filters drawer ---------- */

body .pa-listing-filters.ce-filters--sidebar-yes {
  display: flex !important;
  width: auto !important;
  justify-content: flex-end !important;
}

body .pa-listing-filters.ce-filters--sidebar-yes
> .elementor-widget-container {
  margin-left: auto !important;
}

body .pa-listing-filters.ce-filters--sidebar-yes
dialog.ce-filters__container {
  position: fixed !important;
  inset: 0 !important;

  width: 100vw !important;
  height: 100vh !important;
  max-width: none !important;
  max-height: none !important;

  margin: 0 !important;
  padding: 0 !important;

  overflow: hidden !important;
}

body .pa-listing-filters.ce-filters--sidebar-yes
dialog.ce-filters__container::backdrop {
  background: rgba(var(--pa-color-primary-rgb), .22);
}

body .pa-listing-filters.ce-filters--sidebar-yes
dialog.ce-filters__container
> .ce-filters {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: auto !important;

  width: min(380px, 92vw) !important;
  height: 100vh !important;

  margin: 0 !important;
  padding-top: 4.5rem !important;

  overflow-y: auto !important;

  background: var(--pa-color-light) !important;
  box-shadow: -12px 0 40px rgba(var(--pa-color-primary-rgb), .12) !important;

  transform: translateX(100%) !important;
  transition: transform 350ms cubic-bezier(.22,1,.36,1) !important;
}

body .pa-listing-filters.ce-filters--sidebar-yes
dialog.ce-filters__container.ce-filters--shown
> .ce-filters {
  transform: translateX(0) !important;
}

body .pa-listing-filters.ce-filters--sidebar-yes
dialog.ce-filters__container
.dialog-lightbox-close-button {
  position: absolute !important;
  z-index: 10 !important;

  top: 1.25rem !important;
  right: 1.25rem !important;
  left: auto !important;

  margin: 0 !important;
}

.elementor .pa-listing-filters .ce-filters__title {
  color: var(--pa-color-primary);
  font-family: var(--pa-font-body);
  font-weight: 800;
}


/* ---------- Listing results ---------- */

.elementor .pa-listing-results {
  padding-bottom: clamp(2.5rem, 5vw, 4rem) !important;
}


/* ---------- Pagination ---------- */

.elementor .pa-listing-pagination {
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
}


/* ---------- Additional category content ---------- */

/* Aussi les gabarits du thème : non limitée à CE. */
.pa-category-additional {
  border-top: 1px solid var(--pa-color-border);
}

.elementor .pa-category-additional-description {
  font-size: 1rem;
  line-height: 1.7;
}

.elementor .pa-category-additional-description :is(h2, h3) {
  margin-top: 2rem;
  color: var(--pa-color-primary);
}

.elementor .pa-category-additional-description h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.elementor .pa-category-additional-description h3 {
  font-size: clamp(1.4rem, 2vw, 1.8rem);
}


/* ---------- Responsive ---------- */

@media (max-width: 767.98px) {

  .elementor .pa-category-title :is( h1, .elementor-heading-title ) {
    font-size: clamp(2.4rem, 12vw, 3.5rem);
  }

  .elementor .pa-category-description {
    margin-top: 1rem;
    font-size: 1rem;
  }

  .elementor .pa-category-children {
    margin-top: 1.25rem;
  }

  .elementor .pa-category-children .ce-category-list {
    gap: .45rem;
  }

  .elementor .pa-listing-toolbar:not(.pa-listing-products > .pa-listing-toolbar) {
    margin-top: 1.5rem !important;
    margin-bottom: 1.25rem !important;
  }

  body .pa-listing-filters.ce-filters--sidebar-yes
  dialog.ce-filters__container
  > .ce-filters {
    width: min(400px, 94vw) !important;
  }

  /* Aussi les gabarits du thème : non limitée à CE. */
  .pa-category-additional {
    padding-block: 2.75rem !important;
  }
}


/* PRODUCT CARD IMAGE HOVER */

article.elementor-section-wrap .img_prod_min {
  position: relative;
  z-index: 1;
}

article.elementor-section-wrap .img_prod_min + .elementor-widget-product-miniature-image {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s ease;
}

article.elementor-section-wrap .img_prod_min img,
article.elementor-section-wrap .img_prod_min + .elementor-widget-product-miniature-image img {
  display: block;
  width: 100%;
  height: auto;
}

@media (hover: hover) and (pointer: fine) {
  article.elementor-section-wrap:hover
  .img_prod_min + .elementor-widget-product-miniature-image {
    opacity: 1;
  }
}

/* ---------- Product card height — Mobile ---------- */


@media (max-width: 767.98px) {

  /*
   * Toutes les cartes produit :
   * réserve toujours l'équivalent de 2 lignes pour le titre.
   *
   * Si le titre ne fait qu'une ligne, il est centré
   * verticalement dans l'espace réservé.
   *
   * Fonctionne sur listing, homepage,
   * produits associés, carrousels, etc.
   */
  [data-elementor-type="product-miniature"]
  .elementor-widget-product-miniature-name
  .ce-product-name {
    display: flex;
    align-items: center;

    width: 100%;
    height: 2.4em;
    min-height: 2.4em;

    line-height: 1.2 !important;

    padding: 0;
    margin: 0;

    overflow: visible;
  }

  /*
   * Maximum 2 lignes pour éviter qu'un titre très long
   * augmente à nouveau la hauteur de la carte.
   *
   * Le clamp est appliqué uniquement au lien,
   * pas au conteneur du titre.
   */
  [data-elementor-type="product-miniature"]
  .elementor-widget-product-miniature-name
  .ce-product-name > a {
    display: -webkit-box;

    width: 100%;

    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;

    line-height: inherit;
    text-overflow: ellipsis;
  }


  /* =====================================================
     LISTING / CATEGORY
     ===================================================== */

  #js-product-list .ce-products.elementor-grid {
    align-items: stretch;
  }

  #js-product-list
  .ce-products.elementor-grid
  > [data-elementor-type="product-miniature"] {
    height: 100%;
  }

  #js-product-list
  [data-elementor-type="product-miniature"]
  > .elementor-section-wrap {
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  #js-product-list
  [data-elementor-type="product-miniature"]
  > .elementor-section-wrap
  > .elementor-top-section {
    width: 100%;
    height: 100%;
  }


  /* =====================================================
     PRODUCT CAROUSELS — HOME / RELATED / ETC.
     ===================================================== */

  .elementor-widget-product-carousel .swiper-wrapper {
    align-items: stretch;
  }

  .elementor-widget-product-carousel .swiper-slide {
    display: flex;
    height: auto;
  }

  .elementor-widget-product-carousel
  .swiper-slide
  > [data-elementor-type="product-miniature"] {
    display: flex;
    width: 100%;
    height: 100%;
  }

  .elementor-widget-product-carousel
  [data-elementor-type="product-miniature"]
  > .elementor-section-wrap {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
  }

  .elementor-widget-product-carousel
  [data-elementor-type="product-miniature"]
  > .elementor-section-wrap
  > .elementor-top-section {
    width: 100%;
    height: 100%;
  }
}


/* =========================================================
   18. PRODUCT PAGE
   ========================================================= */
   

/* ---------- Main layout ---------- */

/* Aussi les gabarits du thème : non limitée à CE. */
.pa-product-hero {
  padding-top: clamp(1rem, 2vw, 1.5rem);
  padding-bottom: clamp(3.5rem, 6vw, 6rem);
}

.elementor .pa-product-hero > .elementor-container > .elementor-row {
  align-items: flex-start;
  gap: clamp(2rem, 4vw, 4rem);
}


/* ---------- Gallery ---------- */

/* Aussi les gabarits du thème : non limitée à CE. */
.pa-product-gallery {
  min-width: 0;
}

.elementor .pa-product-gallery-desktop .elementor-widget-product-image:not(:last-child) {
  margin-bottom: .75rem;
}

.elementor .pa-product-gallery-desktop .elementor-widget-product-image {
  overflow: hidden;
}

.elementor .pa-product-gallery-desktop .elementor-widget-product-image img {
  width: 100%;
  height: auto;
}

.elementor .pa-product-gallery-mobile {
  margin-bottom: 1.5rem;
}

.elementor .pa-product-gallery-mobile img {
  border-radius: var(--pa-radius-md);
  background: var(--pa-color-surface);
}

/* ---------- Buybox ---------- */

/* Aussi les gabarits du thème : non limitée à CE. */
.pa-product-buybox {
  position: sticky;
  top: 6rem;
  align-self: flex-start;
  min-width: 0;
}

.elementor .pa-product-brand {
  margin-bottom: .55rem;
  color: var(--pa-color-accent);
  font-family: var(--pa-font-body);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.elementor .pa-product-brand a {
  color: inherit;
  text-decoration: none;
}

.elementor .pa-product-brand a:hover {
  color: var(--pa-color-primary);
}


/* ---------- Product title ---------- */

.elementor .pa-product-name {
  margin-bottom: .5rem;
}

.elementor .pa-product-name :is( h1, .elementor-heading-title ) {
  margin: 0;
  color: var(--pa-color-primary);
  font-family: var(--pa-font-title);
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 400;
  line-height: .95;
  letter-spacing: -.03em;
}


/* ---------- Reference ---------- */

.elementor .pa-product-reference {
  margin-top: .2rem;
  color: var(--pa-color-muted);
  font-family: var(--pa-font-body);
  font-size: .72rem;
}

.elementor .pa-product-reference a {
  color: inherit;
}


/* ---------- Price ---------- */

.elementor .pa-product-price {
  margin-block: 1.25rem .75rem;
  color: var(--pa-color-primary);
  font-family: var(--pa-font-body);
  font-size: clamp(1.5rem, 2vw, 1.8rem);
  font-weight: 800;
}

.elementor .pa-product-price .ce-tax-shipping-delivery-label {
  display: none;
}


/* ---------- Short description ---------- */

.elementor .pa-product-short-description {
  margin-top: .75rem;
  color: var(--pa-color-muted);
  font-size: .98rem;
  line-height: 1.6;
}

.elementor .pa-product-short-description p:last-child {
  margin-bottom: 0;
}

.elementor .pa-product-spacer {
  height: 1rem;
}


/* ---------- Availability ---------- */

.elementor .pa-product-availability .product__availability {
  margin-block-end: 1rem;
}


/* ---------- Variants ---------- */

.elementor .pa-product-variants {
  margin-top: .5rem;
  padding-bottom: 1.25rem;
}

.elementor .pa-product-variants .ce-product-variants__option {
  min-width: 50px;
}

.elementor .pa-product-variants input + label {
  border-color: var(--pa-color-border);
  transition:
    border-color var(--pa-transition),
    background var(--pa-transition),
    color var(--pa-transition);
}

.elementor .pa-product-variants input + label:hover {
  border-color: var(--pa-color-primary);
}

.elementor .pa-product-variants input:checked + label {
  border-color: var(--pa-color-primary);
}


/* ---------- Add to cart ---------- */

.elementor .pa-product-add-to-cart :is( button, .elementor-button ) {
  width: 100%;
  min-height: 56px;
  border: 2px solid var(--pa-color-primary);
  border-radius: var(--pa-radius-pill);
  color: var(--pa-color-light);
  background: var(--pa-color-primary);
  font-family: var(--pa-font-body);
  font-size: .95rem;
  font-weight: 800;
  letter-spacing: .02em;
  transition:
    color var(--pa-transition),
    background var(--pa-transition),
    border-color var(--pa-transition),
    transform var(--pa-transition);
}

.elementor .pa-product-add-to-cart :is( button, .elementor-button ):hover {
  color: var(--pa-color-primary);
  background: var(--pa-color-accent);
  border-color: var(--pa-color-accent);
  transform: translateY(-1px);
}


/* ---------- Additional info ---------- */

.elementor .pa-product-additional-info {
  margin-top: 0;
}

.elementor .pa-product-additional-info .product-comments-additional-info {
  margin-top: .5rem;
}

/* Aussi les gabarits du thème : non limitée à CE. */
.product-comments-additional-info:has(#product-additional-info-review-button) {
  display: none;
}

/* Aussi les gabarits du thème : non limitée à CE. */
.page-product .product__additional-info {
  gap: 1rem;
}
.page-product .elementor #stripe-express-checkout-element:not(:has(*)),
.page-product .elementor #stripe-error-message:not(:has(*)),
.page-product .elementor #payment-method-messaging-element:not(:has(*)) {
    display: none;
}

.elementor .pa-product-origin {
  margin-top: 0;
  border-top: 0;
}
.elementor .pa-product-origin__flag-image {
    border-radius: .125rem!important;
}

.ce-tax-shipping-delivery-label {
    display: none;
}


/* =========================================================
   PRODUCT DESCRIPTION
   ========================================================= */

.elementor .pa-product-description-section {
  padding-bottom: var(--pa-section-y-compact);
}

/* Aussi les gabarits du thème : non limitée à CE. */
.pa-product-description {
  max-width: 980px;
  color: var(--pa-color-ink);
  font-size: 1rem;
  line-height: 1.7;
}

/* Aussi les gabarits du thème : non limitée à CE. */
.pa-product-description > :first-child {
  margin-top: 0;
}

/* Aussi les gabarits du thème : non limitée à CE. */
.pa-product-description > :last-child {
  margin-bottom: 0;
}

.elementor .pa-product-description :is(h2, h3) {
  font-family: var(--pa-font-body)!important;
  font-size: 1.25rem!important;
  font-weight: 600!important;
  margin-top: 1rem;
}

.elementor .pa-product-geo h2 {
  margin-bottom: 2rem;
}

/* =========================================================
   PRODUCT SECTION TITLES
   ========================================================= */

.elementor .pa-product-section-title {
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.elementor .pa-product-section-title :is( h2, .elementor-heading-title ) {
  margin: 0;
  color: var(--pa-color-primary);
  font-family: var(--pa-font-title);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 400;
  line-height: 1;
}


/* =========================================================
   PRODUCT FEATURES
   ========================================================= */

.elementor .pa-product-features-section {
  padding-block: var(--pa-section-y-compact);
  background: var(--pa-color-surface-soft);
}

/* Aussi les gabarits du thème : non limitée à CE. */
.pa-product-features {
  max-width: 1000px;
}

.elementor .pa-product-features table {
  width: 100%;
  margin: 0;
  border: 0;
  border-collapse: collapse;
}

.elementor .pa-product-features table tr {
  border-bottom: 1px solid var(--pa-color-border);
}

.elementor .pa-product-features table tr:nth-child(odd) {
  background: var(--pa-color-light);
}

.elementor .pa-product-features table :is(th, td) {
  padding: .85rem 1rem;
  border: 0;
  color: var(--pa-color-ink);
  vertical-align: top;
}

.elementor .pa-product-features table th {
  color: var(--pa-color-primary);
  font-weight: 800;
}


/* =========================================================
   GEO / PRODUCT ADVICE
   ========================================================= */

.elementor .pa-product-geo {
  padding-block: var(--pa-section-y-compact);
}

.elementor .pa-product-geo:empty {
  display: none;
}

/* =========================================================
   REVIEWS
   ========================================================= */

.elementor .pa-product-reviews-section {
  padding-block: var(--pa-section-y-compact);
  color: var(--pa-color-light);
  background: var(--pa-color-primary);
}

.elementor .pa-product-reviews-section :is(h2, h3) {
  color: var(--pa-color-light);
}

.elementor .pa-product-reviews-section .btn-outline-primary {
    --bs-btn-color: var(--pa-color-light);
    --bs-btn-border-color: var(--pa-color-light);
    --bs-btn-hover-color: var(--pa-color-primary);
    --bs-btn-hover-bg: var(--pa-color-light);
    --bs-btn-hover-border-color: var(--pa-color-light);
    --bs-btn-active-bg: var(--pa-color-light);
    --bs-btn-active-border-color: var(--pa-color-light);
}
.elementor .pa-product-reviews-section .btn-outline-primary:hover {
    color: var(--pa-color-primary);
}
.page-product .elementor #product-comments-list .comment__title,
.page-product .elementor #product-comments-list .comment__author {
    color: var(--pa-color-light);
}
/* Aussi les gabarits du thème : non limitée à CE. */
#post-product-comment-form div[itemprop="description"] {
    display: none;
}
/* Aussi les gabarits du thème : non limitée à CE. */
#product #post-product-comment-modal p.required {
    opacity: 0;
}

/* =========================================================
   RELATED PRODUCTS
   ========================================================= */

.elementor .pa-product-related-section {
  padding-block: var(--pa-section-y-compact);
  background: var(--pa-color-surface);
}

.elementor .pa-product-related {
  margin-top: .5rem;
}


/* =========================================================
   PRODUCT RESPONSIVE
   ========================================================= */

/* Fiche produit Creative Elements : colonnes de CE empilées sous 1025 px (point de rupture tablette
   de CE), bloc d'achat plus collant. Pas la fiche du thème (catalog/product.tpl : prestai.css, < 992 px). */
@media (max-width: 1024px) {
  .elementor .pa-product-buybox {
    position: static;
  }
}

@media (max-width: 767.98px) {
  /* Aussi les gabarits du thème : non limitée à CE. */
  .pa-product-hero {
    padding-top: .75rem;
    padding-bottom: 3.5rem;
  }

  .elementor .pa-product-hero > .elementor-container > .elementor-row {
    gap: 0;
  }

  .elementor .pa-product-name :is( h1, .elementor-heading-title ) {
    font-size: clamp(2.5rem, 12vw, 3.5rem);
  }

  .elementor .pa-product-brand {
    margin-top: .5rem;
  }

  .elementor .pa-product-price {
    margin-top: 1rem;
  }

  .elementor .pa-product-description-section {
    padding-bottom: 3rem;
  }

  .elementor .pa-product-features-section,
.elementor .pa-product-geo,
.elementor .pa-product-reviews-section,
.elementor .pa-product-related-section {
    padding-block: 3rem;
  }

  .elementor .pa-product-features table :is(th, td) {
    padding: .75rem;
  }
}

