

/* ================================================
   CLS FIX - Blocca dimensioni carosello durante il ricaricamento
   ================================================ */
.product_home_slide_1 .swiper-wrapper,
.product_home_slide_2 .swiper-wrapper {
    will-change: transform;
}

.product_home_slide_1 .swiper-slide,
.product_home_slide_2 .swiper-slide {
    contain: layout;
}
/* ================================================
   ESTIMATED DELIVERY - Sotto barra ATC mobile
   ================================================ */
@media (max-width: 575px) {
    .ed-mobile-wrapper {
        background: #fff;
        padding: 6px 16px 8px;
        border-top: 1px solid #f0f0f0;
        font-size: 0.82rem;
    }
}
/* ================================================
   CARRELLO - Layout card prodotto mobile
   ================================================ */
.cart-item-card {
    display: flex;
    gap: 12px;
    padding: 16px 0;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
}

.cart-item-image-col {
    position: relative;
    flex-shrink: 0;
    width: 90px;
}

.cart-item-img {
    width: 90px;
    height: 110px;
    object-fit: contain;
    border-radius: 8px;
}

.cart-item-badge {
    position: absolute;
    top: 0;
    left: 0;
    background: #FF6600;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    z-index: 1;
}

.cart-item-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: relative;
    padding-right: 24px;
}

.cart-item-close {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 1.3rem;
    color: #999;
    text-decoration: none;
    line-height: 1;
}

.cart-item-close:hover { color: #333; }

.cart-item-name {
    margin-bottom: 2px;
    padding-right: 4px;
}

.cart-item-name a {
    font-size: 1.3rem;
    font-weight: 600;
    color: #222;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cart-item-attribute {
    font-size: 0.75rem;
    color: #777;
}

/* Riga inferiore: spinner a sinistra, prezzi a destra */
.cart-item-bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 10px;
}

/* Spinner + cuore */
.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Wishlist */
.cart-item-wishlist {
    color: #ccc;
    font-size: 1.6rem;
    text-decoration: none;
    transition: color 0.2s;
    line-height: 1;
    margin-left: 10px;
}

.cart-item-wishlist:hover,
.cart-item-wishlist.added { color: #FF6600; }

.cart-item-wishlist .added { display: none; }
.cart-item-wishlist.added .not-added { display: none; }
.cart-item-wishlist.added .added { display: inline; }

/* Prezzi: barrato sopra, totale sotto, allineati a destra */
.cart-item-prices {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.cart-item-regular-price {
    font-size: 0.8rem;
    color: #999;
    text-decoration: line-through;
    line-height: 1.3;
}

.cart-item-total {
    font-size: 1.2rem;
    font-weight: 800;
    color: #FF6600;
    line-height: 1.2;
}


/* Spinner + cuore sulla stessa riga */
.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
}

.cart-item-extra .btn-iqitwishlist-add {
    color: #ccc;
    font-size: 1.3rem;
    text-decoration: none;
    transition: color 0.2s;
    line-height: 1;
}

.cart-item-extra .btn-iqitwishlist-add:hover,
.cart-item-extra .btn-iqitwishlist-add.added {
    color: #FF6600;
}

.cart-item-extra .btn-iqitwishlist-add .added {
    display: none;
}

.cart-item-extra .btn-iqitwishlist-add.added .not-added {
    display: none;
}

.cart-item-extra .btn-iqitwishlist-add.added .added {
    display: inline;
}

/* Prezzi: barrato sopra, totale sotto a destra */
.cart-item-prices {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-top: auto;
    padding-top: 10px;
}

.cart-item-regular-price {
    font-size: 0.8rem;
    color: #999;
    text-decoration: line-through;
    line-height: 1.4;
}

.cart-item-total {
    font-size: 1.3rem;
    font-weight: 800;
    color: #FF6600;
    line-height: 1.2;
}
/* ================================================
   CAROSELLO CARRELLO E PAGINA PRODOTTO
   Titolo prodotto limitato a 2 righe
   ================================================ */
body#cart .swiper-container-wrapper .product-title,
body#product .swiper-container-wrapper .product-title {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}
/* ================================================
   FRECCE E BULLET - Caroselli carrello e pagina prodotto
   ================================================ */
body#cart .swiper-button-prev,
body#cart .swiper-button-next,
body#cart .swiper-pagination,
body#product .swiper-container-wrapper .swiper-button-prev,
body#product .swiper-container-wrapper .swiper-button-next,
body#product .swiper-container-wrapper .swiper-pagination {
    display: none !important;
}
/* ================================================
   CAROSELLO HOME - Scopri il Piacere
   Sfondo gradiente glicine + mix-blend-mode per JPG
   ================================================ */
@media (max-width: 767px) {
    .product_home_slide_2 .thumbnail-container {
        background: linear-gradient(to top, #ffffff 0%, #ead5f5 100%);
        border-radius: 16px;
        padding: 12px;
    }

    .product_home_slide_2 .thumbnail-container img {
        mix-blend-mode: multiply;
    }
}
/* ================================================
   CAROSELLO HOME - Fix overflow per click sulle slide
   ================================================ */
.product_home_slide_1 .swiper-container-wrapper,
.product_home_slide_2 .swiper-container-wrapper {
    overflow: visible !important;
}
/* ================================================
   CAROSELLO HOME - Best Seller Preservativi
   Sfondo gradiente giallino + mix-blend-mode per JPG
   ================================================ */
@media (max-width: 767px) {
    .product_home_slide_1 .thumbnail-container {
        background: linear-gradient(to top, #ffffff 0%, #fff3da 100%);
        border-radius: 16px;
        padding: 12px;
    }

    .product_home_slide_1 .thumbnail-container img {
        mix-blend-mode: multiply;
    }
}

/* ================================================
   BLOCCO CLIENTI SODDISFATTI - Carrello mobile
   ================================================ */
@media (max-width: 575px) {
    .trust-block {
        background: #FF6600;
        border-radius: 12px;
        padding: 16px;
        display: flex !important;
        align-items: flex-start;
        gap: 12px;
        color: #fff;
    }

    .trust-block__icon svg {
        width: 60px;
        height: 60px;
        flex-shrink: 0;
    }

    .trust-block__title {
        font-size: 1.5rem;
        font-weight: 800;
        line-height: 1.3;
        margin-bottom: 8px;
        color: #fff;
    }

    .trust-block__list {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .trust-block__list li {
        font-size: 0.8rem;
        color: #fff;
        padding: 2px 0;
    }

    .trust-block__list li::before {
        content: '• ';
        font-weight: 700;
    }
}
/* ================================================
   BARRA RASSICURAZIONI - Pagina Carrello (solo mobile)
   ================================================ */
@media (max-width: 575px) {
    body#cart .reassurance-bar {
        background: #fff;
        border-top: 1px solid #f0f0f0;
        border-bottom: 1px solid #f0f0f0;
        display: flex !important;
        align-items: center;
        justify-content: space-around;
        padding: 10px 8px;
        margin-bottom: 12px;
    }

    body#cart .reassurance-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        flex: 1;
        padding: 0 2px;
    }

    body#cart .reassurance-item svg {
        width: 32px;
        height: 32px;
        margin-bottom: 3px;
    }

    body#cart .reassurance-item span {
        font-size: 9px;
        font-weight: 600;
        color: #333;
        line-height: 1.2;
    }
}
@media (max-width: 767px) {

    /* Sticky in fondo */
    .cart-summary {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 1000 !important;
        background: #fff !important;
        box-shadow: 0 -3px 16px rgba(0,0,0,0.12) !important;
        border-radius: 0 !important;
        margin: 0 !important;
        padding: 12px 16px !important;
    }

    /* Nascondi i subtotali (articoli, spedizione) per compattare */
    .cart-detailed-subtotals {
        display: none !important;
    }

    /* Nascondi i loghi PayPal */
    #ps_checkout-payment-method-logo-block-container {
        display: none !important;
    }

    /* Bottone checkout arancione */
    .cart-detailed-actions .btn-primary {
        background-color: #FF6600 !important;
        border-color: #FF6600 !important;
        font-weight: 700 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.05em !important;
    }

    /* Spazio in fondo alla pagina per non coprire contenuto */
    body#cart {
        padding-bottom: 160px !important;
    }
}

/* ================================================
   QUANTITY SPINNER - Carrello e Popup
   ================================================ */

/* Contenitore principale */
.bootstrap-touchspin {
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    border: none !important;
    background: none !important;
    gap: 4px !important;
    width: auto !important;
}

/* Nasconde prefix/postfix */
.bootstrap-touchspin-prefix,
.bootstrap-touchspin-postfix {
    display: none !important;
}

/* Input numero */
.bootstrap-touchspin input[type="number"] {
    width: 36px !important;
    min-width: 36px !important;
    max-width: 36px !important;
    text-align: center !important;
    border: 1px solid #ddd !important;
    border-radius: 6px !important;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    padding: 4px 0 !important;
    flex: none !important;
    order: 2 !important;
    -moz-appearance: textfield !important;
}

.bootstrap-touchspin input::-webkit-inner-spin-button,
.bootstrap-touchspin input::-webkit-outer-spin-button {
    -webkit-appearance: none !important;
}

/* Wrapper bottoni - display contents per entrare nel flex del padre */
.input-group-btn-vertical {
    display: contents !important;
}

/* Bottoni tondi arancioni */
.bootstrap-touchspin .input-group-btn-vertical .btn-touchspin {
    width: 22px !important;
    height: 22px !important;
    min-width: 22px !important;
    max-width: 22px !important;
    border-radius: 50% !important;
    background-color: #FF6600 !important;
    border: none !important;
    color: #fff !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    flex: none !important;
    line-height: 1 !important;
    box-sizing: border-box !important;
    position: relative !important;
}

.bootstrap-touchspin .input-group-btn-vertical .btn-touchspin:hover {
    background-color: #e05a00 !important;
}

/* Ordine: − numero + */
.bootstrap-touchspin .input-group-btn-vertical .bootstrap-touchspin-down {
    order: 1 !important;
}

.bootstrap-touchspin .input-group-btn-vertical .bootstrap-touchspin-up {
    order: 3 !important;
}

/* Icone − e + tramite ::before sull'elemento <i> */
.bootstrap-touchspin .input-group-btn-vertical i.touchspin-up,
.bootstrap-touchspin .input-group-btn-vertical i.touchspin-down {
    position: static !important;
    left: auto !important;
    top: auto !important;
    font-size: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    pointer-events: none !important;
}

.bootstrap-touchspin .input-group-btn-vertical i.touchspin-up::before {
    content: '+' !important;
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    font-family: sans-serif !important;
    display: block !important;
    line-height: 1 !important;
    position: static !important;
}

.bootstrap-touchspin .input-group-btn-vertical i.touchspin-down::before {
    content: '−' !important;
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    font-family: sans-serif !important;
    display: block !important;
    line-height: 1 !important;
    position: static !important;
}
/* ================================================
   POPUP CARRELLO LATERALE
   ================================================ */

/* Bottone Processo di acquisto - arancione */
.cart-buttons .btn-primary {
    background-color: #FF6600 !important;
    border-color: #FF6600 !important;
    color: #fff !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.cart-buttons .btn-primary:hover {
    background-color: #e05a00 !important;
    border-color: #e05a00 !important;
}

/* Bottone Carrello - discreto, solo testo */
.cart-buttons .btn-secondary {
    background-color: transparent !important;
    border: 1px solid #ddd !important;
    color: #666 !important;
    font-size: 0.85rem;
    font-weight: 400;
}

.cart-buttons .btn-secondary:hover {
    background-color: #f5f5f5 !important;
    color: #333 !important;
}

/* Totale - più evidente */
.cart-totals .label {
    font-weight: 700;
    font-size: 1rem;
}

.cart-totals .value {
    font-weight: 800;
    font-size: 1.1rem;
    color: #FF6600;
}
/* ================================================
   POPUP AGGIUNGI AL CARRELLO
   ================================================ */

/* Bottone Procedi - arancione */
.cart-content-btn .btn-primary {
    background-color: #FF6600 !important;
    border-color: #FF6600 !important;
    color: #fff !important;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.cart-content-btn .btn-primary:hover {
    background-color: #e05a00 !important;
    border-color: #e05a00 !important;
}

/* Bottone Continua lo shopping - più discreto */
.cart-content-btn .btn-secondary {
    background-color: transparent !important;
    border: 1px solid #ddd !important;
    color: #666 !important;
    font-size: 0.85rem;
}

/* Immagine prodotto - più compatta su mobile */
@media (max-width: 575px) {
    .cart-confirmation-modal .product-image,
    .cart-confirmation-modal .product-image img {
        max-width: 80px !important;
        height: auto;
    }
}
/* Card carousel pagina prodotto */
/* 2.5 card per riga nei caroselli della pagina prodotto */
@media (max-width: 767px) {

    /* Dimensione slide */
    body#product .swiper-container-wrapper .swiper-slide {
        width: 40% !important;
        flex: 0 0 40% !important;
        max-width: 40% !important;
    }

    .prd-carousel-card__title {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* Frecce e bullet */
    body#product .swiper-container-wrapper .swiper-button-prev,
    body#product .swiper-container-wrapper .swiper-button-next,
    body#product .swiper-container-wrapper .swiper-pagination {
        display: none !important;
    }
}
.swiper-slide.product-carousel {
    padding: 0 8px;
}
.prd-carousel-card {
    background: #f5f5f5;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
	margin: 5px;
}

.prd-carousel-card__img-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    min-height: 180px;
    background: #f5f5f5;
    min-height: 120px;
    max-height: 120px;
    overflow: hidden;
}
.prd-carousel-card__img {
    max-height: 110px;
    width: auto;
    object-fit: contain;
    mix-blend-mode: multiply;
}


.prd-carousel-card__body {
    padding: 12px 14px 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.prd-carousel-card__title {
    font-size: 0.85rem;
    font-weight: 600;
    margin: 0;
}

.prd-carousel-card__title a {
    color: #222;
    text-decoration: underline;
}

.prd-carousel-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 8px;
}

.prd-carousel-card__price {
    font-size: 1.2rem;
    font-weight: 800;
    color: #222;
}

.prd-carousel-card__atc {
    background: #FF6600;
    border: none;
    border-radius: 8px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.2s;
}

.prd-carousel-card__atc:hover {
    background: #e05a00;
}
/* aggiungi al carrello mobile */
@media (max-width: 575px) {

    /* Nascondi wishlist, compare e PayPal */
    .col-add-wishlist,
    .col-add-compare,
    #ps_checkout-payment-method-logo-block-container {
        display: none !important;
    }

    /* Spazio in fondo alla pagina per non coprire contenuto */
    body {
        padding-bottom: 80px;
    }

    /* Barra fissa in fondo */
    .mobile-atc-bar {
        position: fixed !important;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1050;
        display: flex !important;
        align-items: center;
        gap: 12px;
        background: #fff;
        padding: 12px 16px;
        box-shadow: 0 -3px 16px rgba(0, 0, 0, 0.12);
        border-top: 1px solid #ebebeb;
    }

    /* Prezzo */
   .mobile-atc-price {
    font-size: 1.8rem;  /* era 1.5rem */
    font-weight: 800;
    white-space: nowrap;
    color: #FF6600;
    letter-spacing: -0.02em;
    min-width: max-content;
}

    /* Bottone */
    .mobile-atc-btn {
        flex: 1;
    }

 .mobile-atc-btn .add-to-cart {
    width: 100%;
    background-color: #FF6600 !important;
    border-color: #FF6600 !important;
    color: #fff !important;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.08em;
    font-size: 0.9rem;
    padding: 14px 10px;  /* era 14px 16px */
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(255, 102, 0, 0.35);
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

    .mobile-atc-btn .add-to-cart:hover,
    .mobile-atc-btn .add-to-cart:active {
        background-color: #e05a00 !important;
        border-color: #e05a00 !important;
        box-shadow: 0 2px 6px rgba(255, 102, 0, 0.25);
    }

    .mobile-atc-btn .add-to-cart .bag-icon {
        margin-right: 6px;
    }

    /* Nasconde la barra inline originale (ora è fixed) */
    .js-product-add-to-cart .mobile-atc-bar ~ * {
        /* gli altri elementi sotto restano visibili */
    }
}
@media (max-width: 575px) {
    #wrapper {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }
}
.top-promo {
  width: 100%;
  background: #000;
  color: #fff;
  text-align: center;
  padding: 5px 5px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.6px;
  line-height: 0.8;
}
#header .header-nav {
    padding-top: 0;
    display: none;
}

.ps-shoppingcart.dropdown #blockcart-content{
z-index: 1000;
}



/* ===== INIZIO - Variante titolo 2 righe (Scopri il Piacere) ===== */

.custom-section-title.two-lines {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10px 0 28px;
  width: 100%;
}

.custom-section-title.two-lines::before,
.custom-section-title.two-lines::after {
  content: "";
  flex: 1;
  height: 2px;
  background: #9a9a9a;
  opacity: 0.8;
}

.custom-section-title.two-lines .title-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 20px;
  text-align: center;
}

.custom-section-title.two-lines .main {
  font-size: 22px;
  font-weight: 700;
  color: #4b4b4b;
  line-height: 1.1;
}

.custom-section-title.two-lines .sub {
  font-size: 16px;
  font-weight: 400;
  color: #4b4b4b;
  opacity: 0.9;
  margin-top: 4px;
}

/* ===== FINE - Variante titolo 2 righe ===== */

/* ===== INIZIO - Titolo sezione centrato con linee ===== */

.custom-section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10px 0 28px;
  width: 100%;
}

.custom-section-title::before,
.custom-section-title::after {
  content: "";
  flex: 1;
  height: 2px;
  background: #9a9a9a;
  opacity: 0.8;
}

.custom-section-title span {
  padding: 0 20px;
  font-size: 22px;
  font-weight: 700;
  color: #4b4b4b;
  white-space: nowrap; /* 🔥 questo è fondamentale */
}

/* ===== FINE - Titolo sezione ===== */
/* ===== MINIATURA PRODOTTO ===== */
/* CONTENITORE */
.product-description {
  text-align: center;
}

/* TITOLO */
.product-title a {
  font-size: 14px;
  font-weight: 600;
  color: #2c2c2c;
  text-transform: capitalize;
  display: block;  
}
.products-grid .product-miniature-default .product-title {
  margin-bottom: 0 !important;
}
/* CATEGORIA (sottotitolo tipo "Ritardanti") */
.product-category-name {
  font-size: 10px;
  color: #777;
  margin-bottom: 4px;
}
.products-grid .product-miniature-default .product-category-name {
  display: block;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* BLOCCO PREZZO SEMPRE IN BASSO */
.products-grid .product-miniature-default .product-price-and-shipping {
  margin-top: auto;
}
/* PREZZO SCONTATO */
.products-grid .product-miniature-default .product-price-and-shipping {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
}
/* prezzo barrato */
.products-grid .product-miniature-default .regular-price {
  font-size: 11px;
  color: #999;
  text-decoration: line-through;
}


.product-miniature-grid .product-description .product-price-and-shipping .product-price {
  font-size: 18px !important;
  font-weight: 700 !important;
  line-height: 1.1;
  color: #ff6a00;
}
/* STELLINE */
.iqit-review-star {
  color: #f5a623; /* giallo caldo elegante */
}
.products-grid .product-miniature-default .iqit-review-star {
  font-size: 12px;
}

.products-grid .product-miniature-default .iqitreviews-score {
  font-size: 13px;
  font-weight: 600;
}

.products-grid .product-miniature-default .iqitreviews-nb {
  font-size: 12px;
}
.products-grid .product-miniature-default .iqitreviews-simple {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  flex-wrap: nowrap;
  white-space: nowrap;
  overflow: hidden;
  margin-bottom: 8px;
}

.products-grid .product-miniature-default .iqit-review-star {
  color: #f2a900 !important;
  font-size: 8px;
}

.products-grid .product-miniature-default .iqitreviews-score {
  font-size: 10px;
  font-weight: 600;
  color: #2c2c2c;
  line-height: 1;
}

.products-grid .product-miniature-default .iqitreviews-nb {
  font-size: 8px;
  color: #777;
  line-height: 1;
  display: inline !important;
}

/* SCHEDA PRODOTTO */
a#products-tab-anchor {
  display: none !important;
}
.product-additional-info {
  display: none;
}
.product-sidebar {
  display: none !important;
}
.row.product-info-row {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.product-info-row {
    margin-bottom: 0rem !important;
}

.product-discounts:not(:has(*)) {
  display: none;
}
.product-info-row {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.product-info-row > * {
  padding-left: 0 !important;
  padding-right: 0 !important;
}
/* logo produttore*/
.product-manufacturer-next img {
  max-width: 60px !important;
}
#product [id^="product-description-short-"] {
  text-align: left !important;
  width: 100%;
  margin: 4px 0 10px 0;
}

/* CONTENITORE BLOCCO PREZZI */
.has-discount > div {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
}

/* PREZZO ATTUALE */
.has-discount .current-price {
  order: 1;
}

.has-discount .current-price .product-price,
.has-discount .current-price .current-price-value,
.has-discount .current-price .price {
  font-size: 2.5rem;
  line-height: 1;
  font-weight: 800;
  color: #f47c00;
  letter-spacing: -1px;
}

/* PREZZO BARRATO */
.has-discount .product-discount {
    font-size: 1.5rem;
  order: 2;
  display: inline-flex;
  align-items: center;
  margin: 0;
}

.has-discount .product-discount .regular-price {
  font-size: 1.5rem;
  line-height: 1;
  font-weight: 400;
  color: #5f5f5f;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}

/* BADGE SCONTO */
.has-discount .discount-percentage {
  order: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  height: 52px;
  padding: 0 18px;
  margin-left: 12px;
  border-radius: 14px;
  background: #f47c00;
  color: #fff;
  font-size: 2.5rem;
  line-height: 1;
  font-weight: 700;
  box-shadow: none;
}

/* ETICHETTA "TASSE INCLUSE" SOTTO */
.tax-shipping-delivery-label,
.product-prices .tax-shipping-delivery-label {
  display: block;
  width: 100%;
  margin-top: 8px;
  font-size: 1rem;
  line-height: 1.2;
  color: #333;
}

/* =========================
   BLOCCO VARIANTI + ACCORDION
   ========================= */

/* contenitore generale varianti */
.product-variants {
  margin-top: 20px;
  width: 100%;
}

/* box combinazioni */
.product-variants .product-variants-item {
  position: relative;
  display: block;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  clear: both;
  float: none;
  background: rgba(255, 102, 0, 0.07);
  padding: 20px 15px 18px;
  margin: 0 0 0 0;
  border: 0;
}

/* titolo combinazioni */
.product-variants .form-control-label {
  display: block;
  width: 100%;
  margin-bottom: 18px;
  font-size: 1.8rem;
  line-height: 1.1;
  font-weight: 800;
  text-transform: uppercase;
  color: #3f4a56;
}

/* lista opzioni */
.product-variants ul {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  gap: 12px;
  padding: 4px 0;
  margin: 0;
  width: 100%;
  list-style: none;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.product-variants ul::-webkit-scrollbar {
  display: none;
}

/* singola opzione */
.product-variants .input-container {
  margin: 0 !important;
  float: none !important;
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
  list-style: none;
  overflow: hidden;
}

/* input invisibile ma cliccabile */
.product-variants .input-radio {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

/* bottone variante */
.product-variants .radio-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 78px;
  height: 46px;
  padding: 0 20px;
  border: 1px solid #cfc6be;
  border-radius: 6px;
  background: #fcf8f4;
  color: #3f3a36;
  font-size: 14px;
  line-height: 1;
  font-weight: 600;
  text-transform: uppercase;
  white-space: nowrap;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
  transition: all 0.2s ease;
}

.product-variants .input-radio:hover + .radio-label {
  background: #f8f3ee;
  border-color: #bdb3aa;
}

.product-variants .input-radio:checked + .radio-label {
  background: #ffffff;
  border: 1px solid #3f3a36;
  color: #3f3a36;
  font-weight: 700;
  box-shadow: inset 0 0 0 1px #3f3a36;
}

/* fade destro */
.product-variants .product-variants-item::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 36px;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(to right, rgba(246,239,232,0), rgba(255, 102, 0, 0.07));
}

/* =========================
   ACCORDION COORDINATO
   ========================= */

#productdaas-accordion {
  background: rgba(255, 102, 0, 0.07);
  margin: 0;
  padding: 0 15px;
  border: 0;
}

#productdaas-accordion .card {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

#productdaas-accordion .title {
  margin: 0;
  border-top: 1px solid #bfb7b0;
}

#productdaas-accordion .title > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 50px;
  padding: 0 0;
  font-size: 1.8rem;
  line-height: 1.05;
  font-weight: 800;
  text-transform: uppercase;
  color: #3f4a56;
  text-decoration: none;
  background: transparent;
  border: 0;
}

/* nasconde vecchie icone */
#productdaas-accordion .title > a .fa-angle-down,
#productdaas-accordion .title > a .fa-angle-up {
  display: none !important;
}

/* icona + */
#productdaas-accordion .title > a::after {
  content: "−";
  flex: 0 0 auto;
  margin-left: 20px;
  font-size: 2.6rem;
  line-height: 1;
  font-weight: 300;
  color: #3f3a36;
}

/* chiuso */
#productdaas-accordion .title > a.collapsed::after {
  content: "+";
}

/* contenuto accordion */
#productdaas-accordion .content {
  padding: 0 0 26px 0;
  background: transparent !important;
}

/* eventuale ultima riga di chiusura */
#productdaas-accordion .card:last-child {
  border-bottom: 1px solid #bfb7b0;
}
/* ================================================
   PREZZI PAGINA PRODOTTO - Uniformità layout (con e senza sconto)
   ================================================ */

/* Prezzo corrente senza sconto - stesso stile di quello scontato */
body#product .product-prices > div:not(.has-discount) {
    display: flex !important;
    align-items: baseline !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
}

body#product .product-prices > div:not(.has-discount) .current-price .product-price,
body#product .product-prices > div:not(.has-discount) .current-price-value {
    font-size: 2.5rem !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    color: #f47c00 !important;
    letter-spacing: -1px !important;
}
