/* GeSmart Dual Price - front office */
.gesmart-dual-price {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  max-width: 100%;
  vertical-align: middle;
  line-height: 1.15;
}

.gesmart-dual-price__line {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  max-width: 100%;
  white-space: nowrap;
}

.gesmart-dual-price__line--excl {
  font-size: 1em;
  font-weight: inherit;
}

.gesmart-dual-price__line--incl {
  font-size: 0.76em;
  font-weight: 400;
  opacity: 0.82;
}

.gesmart-dual-price__label {
  font-size: 0.65em;
  font-weight: 400;
  text-transform: none;
}

.gesmart-dual-price__line--incl .gesmart-dual-price__label {
  font-size: 0.9em;
}

/* Product grid / listing cards */
.gesmart-dual-price--listing {
  gap: 0.1rem;
}

.gesmart-dual-price--listing .gesmart-dual-price__line {
  gap: 0.25rem;
}

.gesmart-dual-price--listing .gesmart-dual-price__line--incl {
  font-size: 0.78em;
}

/* Keep discount badges visually separated from the two-line price block. */
.product-prices .current-price .gesmart-dual-price + .discount {
  margin-left: 0.5rem;
  vertical-align: top;
}

/* Avoid awkward overflow in narrow cards. */
@media (max-width: 575px) {
  .gesmart-dual-price--listing .gesmart-dual-price__line {
    white-space: normal;
    flex-wrap: wrap;
  }
}

/* Single-price group modes: keep the only visible price at the normal primary size. */
.gesmart-dual-price--single .gesmart-dual-price__line,
.gesmart-dual-price__line--primary {
  font-size: 1em;
  font-weight: inherit;
  opacity: 1;
}

.gesmart-dual-price--single .gesmart-dual-price__label,
.gesmart-dual-price__line--primary .gesmart-dual-price__label {
  font-size: 0.65em;
  font-weight: 400;
}

/* GeSmart - prezzo listino gruppo e sconto cliente */

.gesmart-dual-price__list-price {
  display: inline-flex;
  align-items: baseline;
  gap: 0.32rem;
  max-width: 100%;
  margin-bottom: 0.06rem;
  white-space: nowrap;
  font-size: 0.7em;
  font-weight: 400;
  opacity: 0.78;
}

.gesmart-dual-price__list-label {
  font-weight: 400;
}

.gesmart-dual-price__list-amount {
  font-weight: 500;
  text-decoration: line-through !important;
  text-decoration-thickness: 1px !important;
}

/* Il prezzo netto cliente rimane il protagonista */
.gesmart-dual-price--customer-discount .gesmart-dual-price__line--excl {
  font-weight: 700;
}

/* Badge sconto */
.gesmart-dual-price__discount-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  width: fit-content;
  max-width: 100%;
  margin-top: 0.34rem;
  padding: 0.27rem 0.5rem;
  border: 1px solid #f2b27f;
  border-radius: 3px;
  background: #fff1e6;
  color: #b84800;
  font-size: 0.64em;
  font-weight: 600;
  line-height: 1.1;
  white-space: nowrap;
}

.gesmart-dual-price__discount-badge-label {
  font-weight: 500;
}

.gesmart-dual-price__discount-badge-value {
  font-size: 1.05em;
  font-weight: 700;
}

/* La variante compatta è nascosta normalmente */
.gesmart-dual-price__discount-badge--compact {
  display: none;
}

/* =========================================================
   SCHEDA PRODOTTO
   ========================================================= */

.gesmart-dual-price--product .gesmart-dual-price__discount-badge {
  margin-top: 0.38rem;
  padding: 0.3rem 0.55rem;
  font-size: 0.65em;
}

/* =========================================================
   GRID / LISTING
   ========================================================= */

.gesmart-dual-price--listing .gesmart-dual-price__list-price {
  font-size: 0.67em;
}

.gesmart-dual-price--listing .gesmart-dual-price__discount-badge {
  margin-top: 0.24rem;
  padding: 0.25rem 0.44rem;
  font-size: 0.62em;
}

/* Vista lista: leggermente più leggibile */
#js-product-list
.products.st-catalog-view--list
.gesmart-dual-price__discount-badge--listing {
  font-size: 0.66em;
  padding: 0.27rem 0.48rem;
}

/* =========================================================
   VISTA COMPATTA
   ========================================================= */

/* Nella compatta nascondiamo il badge testuale */
#js-product-list
.products.st-catalog-view--compact
.gesmart-dual-price__discount-badge--listing {
  display: none;
}

/* E mostriamo soltanto la percentuale */
#js-product-list
.products.st-catalog-view--compact
.gesmart-dual-price__discount-badge--compact {
  display: inline-flex;
  margin-top: 0.16rem;
  padding: 0.18rem 0.34rem;
  font-size: 0.6em;
  font-weight: 700;
}

/* Listino compatto ma ancora leggibile */
#js-product-list
.products.st-catalog-view--compact
.gesmart-dual-price__list-price {
  font-size: 0.63em;
  opacity: 0.8;
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 575px) {
  .gesmart-dual-price__list-price {
    white-space: normal;
    flex-wrap: wrap;
  }

  .gesmart-dual-price__discount-badge {
    white-space: normal;
  }
}



/* =========================================================
   GeSmart Dual Price - rifiniture finali
   ========================================================= */

/*
 * GRID VERTICALE
 * Badge leggermente più leggibile, senza cambiare struttura.
 */
#js-product-list
.products:not(.st-catalog-view--list):not(.st-catalog-view--compact)
.gesmart-dual-price--listing
.gesmart-dual-price__discount-badge--listing {
  font-size: 0.67em;
  padding: 0.27rem 0.46rem;
}


/*
 * VISTA COMPATTA
 *
 * Riga 1: Listino
 * Riga 2: prezzo + IVA | badge percentuale
 */
#js-product-list
.products.st-catalog-view--compact
.gesmart-dual-price--listing {
  display: inline-grid !important;
  grid-template-columns: auto auto;
  grid-template-rows: auto auto;
  align-items: center;
  justify-content: start;
  column-gap: 0.4rem;
  row-gap: 0.05rem;
  width: auto;
}


/* Listino sempre sopra */
#js-product-list
.products.st-catalog-view--compact
.gesmart-dual-price__list-price {
  grid-column: 1 / -1;
  grid-row: 1;
  margin: 0 0 0.02rem 0 !important;
}


/* Prezzo principale */
#js-product-list
.products.st-catalog-view--compact
.gesmart-dual-price__line--excl {
  grid-column: 1;
  grid-row: 2;
  margin: 0 !important;
  white-space: nowrap !important;
}


/* Il badge testuale resta nascosto */
#js-product-list
.products.st-catalog-view--compact
.gesmart-dual-price__discount-badge--listing {
  display: none !important;
}


/* Percentuale compatta sulla stessa riga del prezzo */
#js-product-list
.products.st-catalog-view--compact
.gesmart-dual-price__discount-badge--compact {
  display: inline-flex !important;
  grid-column: 2;
  grid-row: 2;
  align-self: center;
  margin: 0 !important;
  padding: 0.17rem 0.34rem;
  font-size: 0.61em;
  line-height: 1;
  white-space: nowrap;
}


/*
 * Evita che eventuale IVA inclusa occupi spazio
 * nella vista compatta.
 */
#js-product-list
.products.st-catalog-view--compact
.gesmart-dual-price__line--incl {
  display: none !important;
}


/* =========================================================
   GeSmart Dual Price - correzione definitiva vista compatta
   ========================================================= */

#js-product-list
.products.st-catalog-view--compact
.gesmart-dual-price--listing {
  display: grid !important;
  grid-template-columns: auto auto;
  grid-template-rows: auto auto;
  align-items: center;
  justify-content: start;
  column-gap: 0.3rem;
  row-gap: 0.04rem;
  width: 100%;
  max-width: 100%;
}

/* Listino sulla prima riga */
#js-product-list
.products.st-catalog-view--compact
.gesmart-dual-price__list-price {
  grid-column: 1;
  grid-row: 1;
  margin: 0 !important;
  font-size: 0.61em;
  white-space: nowrap !important;
}

/* In compatta nascondiamo la parola "Listino" per recuperare spazio */
#js-product-list
.products.st-catalog-view--compact
.gesmart-dual-price__list-label {
  display: none !important;
}

/* Badge percentuale accanto al listino */
#js-product-list
.products.st-catalog-view--compact
.gesmart-dual-price__discount-badge--compact {
  display: inline-flex !important;
  grid-column: 2;
  grid-row: 1;
  margin: 0 !important;
  padding: 0.15rem 0.28rem;
  font-size: 0.58em;
  line-height: 1;
  white-space: nowrap;
}

/* Prezzo principale su tutta la seconda riga */
#js-product-list
.products.st-catalog-view--compact
.gesmart-dual-price__line--excl {
  display: inline-flex !important;
  grid-column: 1 / -1;
  grid-row: 2;
  margin: 0 !important;
  width: auto !important;
  max-width: none !important;
  overflow: visible !important;
  white-space: nowrap !important;
  text-overflow: clip !important;
}

/* Evita troncamenti del valore */
#js-product-list
.products.st-catalog-view--compact
.gesmart-dual-price__line--excl
.gesmart-dual-price__amount,
#js-product-list
.products.st-catalog-view--compact
.gesmart-dual-price__line--excl
.gesmart-dual-price__label {
  overflow: visible !important;
  max-width: none !important;
  text-overflow: clip !important;
  white-space: nowrap !important;
}

/* IVA inclusa non necessaria nella compatta */
#js-product-list
.products.st-catalog-view--compact
.gesmart-dual-price__line--incl {
  display: none !important;
}


/* Micro-allineamento badge sconto in vista compatta */
#js-product-list
.products.st-catalog-view--compact
.gesmart-dual-price__discount-badge--compact {
  position: relative;
  top: 2px;
}

/* =========================================================
   PREZZO ZERO - RICHIEDI INFORMAZIONI
   ========================================================= */

.gesmart-dual-price__request-info {
  display: inline-block;
  max-width: 100%;
  padding: 0.28rem 0.48rem;
  border: 1px solid #f2b27f;
  border-radius: 3px;
  background: #fff1e6;
  color: #b84800;
  font-size: 0.72em;
  font-weight: 700;
  line-height: 1.15;
  text-transform: uppercase;
  white-space: nowrap;
}

.gesmart-dual-price--product .gesmart-dual-price__request-info {
  font-size: 0.82em;
  padding: 0.34rem 0.58rem;
}

#js-product-list
.products.st-catalog-view--compact
.gesmart-dual-price--request-info
.gesmart-dual-price__request-info {
  grid-column: 1 / -1;
  grid-row: 1 / -1;
  margin: 0;
  font-size: 0.62em;
}

/* =========================================================
   RICHIEDI INFORMAZIONI - PULSANTE E MODALE
   ========================================================= */

button.gesmart-dual-price__request-info {
  appearance: none;
  -webkit-appearance: none;
  font-family: inherit;
  cursor: pointer;
  text-align: center;
}

button.gesmart-dual-price__request-info:hover,
button.gesmart-dual-price__request-info:focus {
  border-color: #dc7d32;
  background: #ffe4cf;
  color: #963a00;
  text-decoration: none;
}

button.gesmart-dual-price__request-info:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

html.gesmart-request-info-open,
html.gesmart-request-info-open body {
  overflow: hidden;
}

.gesmart-request-info-modal {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.gesmart-request-info-modal.is-open {
  display: flex;
}

.gesmart-request-info-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.58);
}

.gesmart-request-info-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 620px);
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
}

.gesmart-request-info-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid #e5e5e5;
}

.gesmart-request-info-modal__title {
  margin: 0;
  color: #222;
  font-size: 1.2rem;
  font-weight: 700;
}

.gesmart-request-info-modal__close {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #555;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.gesmart-request-info-modal__close:hover,
.gesmart-request-info-modal__close:focus {
  background: #f2f2f2;
  color: #111;
}

.gesmart-request-info-modal__body {
  padding: 1.2rem;
}

.gesmart-request-info-modal__product {
  margin-bottom: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid #e6e6e6;
  border-radius: 6px;
  background: #fafafa;
}

.gesmart-request-info-modal__product-name {
  color: #222;
  font-weight: 700;
  line-height: 1.35;
}

.gesmart-request-info-modal__product-reference {
  margin-top: 0.25rem;
  color: #666;
  font-size: 0.9rem;
}

.gesmart-request-info-form__group {
  margin-bottom: 0.9rem;
}

.gesmart-request-info-form__group label {
  display: block;
  margin-bottom: 0.35rem;
  color: #333;
  font-weight: 600;
}

.gesmart-request-info-form__group input,
.gesmart-request-info-form__group textarea {
  display: block;
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid #cfcfcf;
  border-radius: 4px;
  background: #fff;
  color: #222;
  font: inherit;
  line-height: 1.35;
}

.gesmart-request-info-form__group input:focus,
.gesmart-request-info-form__group textarea:focus {
  border-color: #777;
  outline: 2px solid rgba(0, 0, 0, 0.08);
  outline-offset: 1px;
}

.gesmart-request-info-form__honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.gesmart-request-info-form__status {
  display: none;
  margin: 0 0 0.9rem;
  padding: 0.7rem 0.8rem;
  border-radius: 4px;
  font-size: 0.92rem;
  line-height: 1.35;
}

.gesmart-request-info-form__status.is-success,
.gesmart-request-info-form__status.is-error {
  display: block;
}

.gesmart-request-info-form__status.is-success {
  border: 1px solid #a9d7b1;
  background: #eef9f0;
  color: #236b31;
}

.gesmart-request-info-form__status.is-error {
  border: 1px solid #e4aaaa;
  background: #fff0f0;
  color: #9b2525;
}

.gesmart-request-info-form__privacy {
  margin: 0 0 1rem;
  color: #777;
  font-size: 0.8rem;
  line-height: 1.35;
}

.gesmart-request-info-form__actions {
  display: flex;
  justify-content: flex-end;
}

.gesmart-request-info-form__submit {
  appearance: none;
  -webkit-appearance: none;
  min-width: 150px;
  padding: 0.7rem 1rem;
  border: 0;
  border-radius: 4px;
  background: #b81f17;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.gesmart-request-info-form__submit:hover,
.gesmart-request-info-form__submit:focus {
  background: #951812;
}

.gesmart-request-info-form__submit:disabled {
  cursor: wait;
  opacity: 0.65;
}

@media (max-width: 575.98px) {
  .gesmart-request-info-modal {
    align-items: flex-end;
    padding: 0;
  }

  .gesmart-request-info-modal__dialog {
    width: 100%;
    max-height: 92vh;
    border-radius: 10px 10px 0 0;
  }

  .gesmart-request-info-modal__header,
  .gesmart-request-info-modal__body {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .gesmart-request-info-form__submit {
    width: 100%;
  }
}
/* =========================================================
   GRID PRODOTTI - ALLINEAMENTO VERTICALE CARD
   Solo vista griglia normale
   ========================================================= */

#js-product-list
.products:not(.st-catalog-view--list):not(.st-catalog-view--compact)
.product {
  display: flex;
  align-self: stretch;
  height: 100%;
}

#js-product-list
.products:not(.st-catalog-view--list):not(.st-catalog-view--compact)
.product-miniature {
  display: flex;
  align-self: stretch;
  width: 100%;
  height: 100%;
}

#js-product-list
.products:not(.st-catalog-view--list):not(.st-catalog-view--compact)
.thumbnail-container {
  display: grid;
  grid-template-rows:
    auto
    51px
    1fr
    auto;
  width: 100%;
  height: 100%;
}

#js-product-list
.products:not(.st-catalog-view--list):not(.st-catalog-view--compact)
.thumbnail-top {
  grid-row: 1;
}

#js-product-list
.products:not(.st-catalog-view--list):not(.st-catalog-view--compact)
.product-qty-container {
  grid-row: 2;
  align-self: start;
  margin-top: 0 !important;
}

#js-product-list
.products:not(.st-catalog-view--list):not(.st-catalog-view--compact)
.product-description {
  grid-row: 3;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

#js-product-list
.products:not(.st-catalog-view--list):not(.st-catalog-view--compact)
.product-price-and-shipping {
  margin-top: auto;
}

#js-product-list
.products:not(.st-catalog-view--list):not(.st-catalog-view--compact)
.product-miniature-add-to-cart {
  grid-row: 4;
  align-self: end;
  width: 100%;
  margin-bottom: 0 !important;
}
/* =========================================================
   GRID DESKTOP - STESSA ALTEZZA CARD E CTA ALLINEATE IN BASSO
   Correzione finale: rende effettivo lo stretch sull'intera riga.
   ========================================================= */
@media (min-width: 768px) {
  #js-product-list
  .products:not(.st-catalog-view--list):not(.st-catalog-view--compact) {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
  }

  #js-product-list
  .products:not(.st-catalog-view--list):not(.st-catalog-view--compact)
  > .product {
    display: flex;
    align-self: stretch;
    height: auto !important;
  }

  #js-product-list
  .products:not(.st-catalog-view--list):not(.st-catalog-view--compact)
  > .product > .product-miniature {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    align-self: stretch;
    height: auto !important;
  }

  #js-product-list
  .products:not(.st-catalog-view--list):not(.st-catalog-view--compact)
  > .product > .product-miniature > .thumbnail-container {
    flex: 1 1 auto;
    height: 100%;
    min-height: 100%;
  }

  #js-product-list
  .products:not(.st-catalog-view--list):not(.st-catalog-view--compact)
  .product-miniature-add-to-cart {
    align-self: end;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
}

/* =========================================================
   GRID DESKTOP - BLOCCO PREZZI UNIFORME
   Uniforma visivamente listino, prezzo, IVA e badge sconto
   senza modificare lista, compatta o mobile.
   ========================================================= */
@media (min-width: 768px) {
  #js-product-list
  .products:not(.st-catalog-view--list):not(.st-catalog-view--compact)
  .gesmart-dual-price--listing {
    min-height: 72px;
    justify-content: flex-end;
  }

  #js-product-list
  .products:not(.st-catalog-view--list):not(.st-catalog-view--compact)
  .gesmart-dual-price--listing
  .gesmart-dual-price__discount-badge--listing {
    margin-top: 4px;
  }
}

/* =========================================================
   BLOCCHI FEATURED - ALLINEAMENTO VERTICALE CARD
   Estende alle sezioni come "Migliori vendite" lo stesso
   criterio usato nella griglia catalogo: card stirate,
   disponibilita riservata, prezzo in basso e CTA allineata.
   Solo desktop/tablet >= 768px.
   ========================================================= */
@media (min-width: 768px) {
  .featured-products .products {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
  }

  .featured-products .products > .product {
    display: flex;
    align-self: stretch;
    height: auto !important;
  }

  .featured-products .products > .product > .product-miniature {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    align-self: stretch;
    width: 100%;
    height: auto !important;
  }

  .featured-products .products > .product > .product-miniature > .thumbnail-container {
    display: grid;
    grid-template-rows:
      auto
      51px
      1fr
      auto;
    flex: 1 1 auto;
    width: 100%;
    height: 100%;
    min-height: 100%;
  }

  .featured-products .product-miniature .thumbnail-top {
    grid-row: 1;
  }

  .featured-products .product-miniature .product-qty-container {
    grid-row: 2;
    align-self: start;
    margin-top: 0 !important;
  }

  .featured-products .product-miniature .product-description {
    grid-row: 3;
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  .featured-products .product-miniature .product-price-and-shipping {
    margin-top: auto;
  }

  .featured-products .product-miniature .product-miniature-add-to-cart {
    grid-row: 4;
    align-self: end;
    width: 100%;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  /* Mantiene uniforme anche il blocco Listino / prezzi / IVA / sconto. */
  .featured-products .gesmart-dual-price--listing {
    min-height: 0;
    justify-content: flex-start;
  }

  .featured-products
  .gesmart-dual-price--listing
  .gesmart-dual-price__discount-badge--listing {
    margin-top: 4px;
  }
}



/* GeSmart - rifinitura scheda prodotto 2026-09-03 */

.gesmart-dual-price--product .gesmart-dual-price__list-price {
  margin-bottom: 0;
}

.gesmart-dual-price--product .gesmart-dual-price__line {
  line-height: 1.12;
}

.gesmart-dual-price--product .gesmart-dual-price__discount-badge {
  margin-top: 0.22rem;
  padding: 0.27rem 0.52rem;
}


/* =========================================================
   GESMART - BADGE SCONTO UNIFORMATO AI BADGE LOGISTICI
   ========================================================= */

/* Griglia + vista lista */
#js-product-list
.gesmart-dual-price__discount-badge--listing {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: auto !important;
    min-height: 22px !important;
    margin-top: 4px !important;
    padding: 4px 8px !important;

    box-sizing: border-box !important;

    font-size: 11px !important;
    font-weight: 600 !important;
    line-height: 1.1 !important;

    white-space: nowrap !important;
}

/* Testo e percentuale */
#js-product-list
.gesmart-dual-price__discount-badge--listing
.gesmart-dual-price__discount-badge-label {
    font-size: 11px !important;
    font-weight: 500 !important;
    line-height: 1.1 !important;
}

#js-product-list
.gesmart-dual-price__discount-badge--listing
.gesmart-dual-price__discount-badge-value {
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1.1 !important;
}

/* Vista compatta: stessa altezza visiva */
#js-product-list
.products.st-catalog-view--compact
.gesmart-dual-price__discount-badge--compact {
    min-height: 22px !important;
    padding: 4px 8px !important;
    font-size: 11px !important;
    line-height: 1.1 !important;
    box-sizing: border-box !important;
}


/* =========================================================
   GESMART - VISTA COMPATTA UNIFORME
   Listino > Prezzo > Sconto, tutti in colonna
   ========================================================= */

#js-product-list
.products.st-catalog-view--compact
.gesmart-dual-price--listing {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;

    width: 100% !important;
    min-height: 0 !important;

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

    grid-template-columns: none !important;
    grid-template-rows: none !important;
}


/* Ripristina "Listino" */
#js-product-list
.products.st-catalog-view--compact
.gesmart-dual-price__list-label {
    display: inline !important;
}


/* Riga listino */
#js-product-list
.products.st-catalog-view--compact
.gesmart-dual-price__list-price {
    display: block !important;
    order: 1 !important;

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

    font-size: 11px !important;
    line-height: 1.05 !important;

    white-space: nowrap !important;
}


/* Prezzo principale */
#js-product-list
.products.st-catalog-view--compact
.gesmart-dual-price__line--excl {
    display: inline-flex !important;
    order: 2 !important;

    grid-column: auto !important;
    grid-row: auto !important;

    width: auto !important;
    max-width: 100% !important;

    margin: 1px 0 0 !important;
    padding: 0 !important;

    line-height: 1.05 !important;
    white-space: nowrap !important;
}


/* Nella compatta manteniamo nascosta IVA inclusa */
#js-product-list
.products.st-catalog-view--compact
.gesmart-dual-price__line--incl {
    display: none !important;
}


/* Mostra il badge completo "Sconto 10,00%" */
#js-product-list
.products.st-catalog-view--compact
.gesmart-dual-price__discount-badge--listing {
    display: inline-flex !important;
    order: 3 !important;

    position: static !important;

    grid-column: auto !important;
    grid-row: auto !important;

    align-items: center !important;
    justify-content: center !important;

    width: auto !important;
    min-height: 20px !important;

    margin: 3px 0 0 !important;
    padding: 3px 7px !important;

    font-size: 10.5px !important;
    line-height: 1 !important;

    white-space: nowrap !important;
}


/* Nasconde definitivamente il vecchio badge "-10,00%" */
#js-product-list
.products.st-catalog-view--compact
.gesmart-dual-price__discount-badge--compact {
    display: none !important;

    position: static !important;
    top: auto !important;

    grid-column: auto !important;
    grid-row: auto !important;
}


/* =========================================================
   GESMART - COMPACT FINAL - BADGE SCONTO
   ========================================================= */

@media (min-width: 768px) {

    #js-product-list
    .products.st-catalog-view--compact
    .gesmart-dual-price__discount-badge--listing {
        width: 98px !important;
        min-width: 98px !important;
        max-width: 98px !important;

        box-sizing: border-box !important;
        justify-content: center !important;
        text-align: center !important;
    }
}


/* =========================================================
   GESMART - LARGHEZZA UNIFORME SCONTO - GRID + LIST
   ========================================================= */

@media (min-width: 768px) {

    /* GRID */
    #js-product-list
    .products:not(.st-catalog-view--list):not(.st-catalog-view--compact)
    .gesmart-dual-price__discount-badge--listing {
        width: 108px !important;
        min-width: 108px !important;
        max-width: 108px !important;

        box-sizing: border-box !important;
        justify-content: center !important;
        text-align: center !important;
    }

    /* LISTA */
    #js-product-list
    .products.st-catalog-view--list
    .gesmart-dual-price__discount-badge--listing {
        width: 108px !important;
        min-width: 108px !important;
        max-width: 108px !important;

        box-sizing: border-box !important;
        justify-content: center !important;
        text-align: center !important;
    }
}


/* =========================================================
   GESMART - GRID - SPAZIATURA UNIFORME BADGE
   ========================================================= */

@media (min-width: 768px) {

    #js-product-list
    .products:not(.st-catalog-view--list):not(.st-catalog-view--compact)
    .gesmart-dual-price__discount-badge--listing {
        margin-top: 4px !important;
        margin-bottom: 0 !important;
    }
}


/* =========================================================
   RICHIESTA INFORMAZIONI - REVISIONE UI 2026-09-07
   ========================================================= */

.gesmart-request-info-modal__dialog {
  width: min(100%, 600px);
}

/* Header */
.gesmart-request-info-modal__header {
  padding: 0.9rem 1.1rem;
}

.gesmart-request-info-modal__title {
  font-size: 1.15rem;
  line-height: 1.25;
}

/* Corpo modale */
.gesmart-request-info-modal__body {
  padding: 1rem 1.1rem 1.1rem;
}

/* Box prodotto più compatto */
.gesmart-request-info-modal__product {
  margin-bottom: 1rem;
  padding: 0.7rem 0.85rem;
}

.gesmart-request-info-modal__product-name {
  font-size: 0.95rem;
  line-height: 1.3;
}

.gesmart-request-info-modal__product-reference {
  margin-top: 0.18rem;
  font-size: 0.82rem;
}

/* Gruppi form */
.gesmart-request-info-form__group {
  margin-bottom: 0.8rem;
}

/* Label sopra il campo, allineate a sinistra */
.gesmart-request-info-form__group label {
  display: block;
  margin: 0 0 0.3rem;
  color: #333;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: left;
}

/* Campi più compatti */
.gesmart-request-info-form__group input {
  min-height: 40px;
  padding: 0.55rem 0.7rem;
}

.gesmart-request-info-form__group textarea {
  min-height: 105px;
  padding: 0.65rem 0.7rem;
  resize: vertical;
}

/* Nota trattamento dati */
.gesmart-request-info-form__privacy {
  margin: 0.15rem 0 1rem;
  color: #666;
  font-size: 0.82rem;
  line-height: 1.4;
}

/* Pulsante */
.gesmart-request-info-form__actions {
  justify-content: flex-end;
}

.gesmart-request-info-form__submit {
  min-width: 180px;
  min-height: 42px;
  padding: 0.65rem 1.2rem;
  font-size: 0.9rem;
}

/* Mobile */
@media (max-width: 575.98px) {
  .gesmart-request-info-modal__body {
    padding: 0.9rem;
  }

  .gesmart-request-info-modal__product {
    padding: 0.65rem 0.75rem;
  }

  .gesmart-request-info-form__submit {
    width: 100%;
    min-width: 0;
  }
}


/* =========================================================
   RICHIESTA INFORMAZIONI - RIFINITURA SPAZIATURE
   ========================================================= */

.gesmart-request-info-form__group label {
  margin-bottom: 0.4rem;
}

.gesmart-request-info-form__group {
  margin-bottom: 0.9rem;
}

.gesmart-request-info-form__group:has(textarea) {
  margin-top: 0.15rem;
}

.gesmart-request-info-form__privacy {
  margin-top: 0.35rem;
  margin-bottom: 1.05rem;
  color: #606060;
}

/* Rifinitura finale modale richiesta informazioni */
.gesmart-request-info-form__privacy {
  margin-top: 0.5rem;
  color: #555;
}

/* =========================================================
   RICHIESTA INFORMAZIONI - VARIANTE BLU CORPORATE
   ========================================================= */

.gesmart-request-info-form__group input:focus,
.gesmart-request-info-form__group textarea:focus {
  border-color: #0069cd;
  outline: 2px solid rgba(0, 105, 205, 0.14);
  outline-offset: 1px;
}

.gesmart-request-info-form__submit {
  background: #0069cd;
  color: #fff;
}

.gesmart-request-info-form__submit:hover,
.gesmart-request-info-form__submit:focus {
  background: #0055a6;
  color: #fff;
}

/* Rifinitura focus campi richiesta informazioni */
.gesmart-request-info-form__group input:focus,
.gesmart-request-info-form__group textarea:focus {
  border-color: #0069cd !important;
  outline: 2px solid rgba(0, 105, 205, 0.14) !important;
  box-shadow: none !important;
}

/* =========================================================
   2026-09-07 - RIDUZIONE SPAZIO DESCRIZIONE / PREZZO
   Mantiene invariati altezza card, CTA, disponibilita e viste elenco
   ========================================================= */
@media (min-width: 768px) {

  #js-product-list
  .products:not(.st-catalog-view--list):not(.st-catalog-view--compact)
  .product-miniature .product-price-and-shipping,

  .featured-products
  .products:not(.st-catalog-view--list):not(.st-catalog-view--compact)
  .product-miniature .product-price-and-shipping {
    margin-top: 4px !important;
  }

}


/* =========================================================
   OFFERTA QUANTITÀ GESMART
   Esempio: "Paghi 2 Sconto merce 1"
   ========================================================= */

.gesmart-dual-price__quantity-offer {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  margin-top: 0.32rem;
  padding: 0.27rem 0.5rem;
  border: 1px solid #9ec8f0;
  border-radius: 3px;
  background: #eef6ff;
  color: #0069cd;
  font-size: 0.64em;
  font-weight: 600;
  line-height: 1.1;
  white-space: nowrap;
}

.gesmart-dual-price--listing .gesmart-dual-price__quantity-offer {
  margin-top: 0.24rem;
  padding: 0.25rem 0.44rem;
  font-size: 0.62em;
}

.gesmart-dual-price__quantity-offer--cart {
  display: flex;
  margin-top: 0.3rem;
  font-size: 0.72em;
}

@media (max-width: 575px) {
  .gesmart-dual-price__quantity-offer {
    white-space: normal;
  }
}
