@charset "UTF-8";
.productbundlespro {
  padding-top: 20px;
  margin-top: 20px;
}
.productbundlespro h3 {
  border-bottom: 1px solid #c7c7c7;
  padding-bottom: 20px;
}
.productbundlespro .pbp-bundle-header {
  margin-bottom: 5px;
}
.productbundlespro .pbp-btn-bundle-tabs .pbp-btn-bundle-tab {
  font-size: 14px;
  font-weight: normal;
  cursor: pointer;
  color: black;
  padding: 15px 0;
  display: inline-block;
  margin-right: 30px;
}
.productbundlespro .pbp-btn-bundle-tabs .pbp-btn-bundle-tab.active {
  color: rgb(0, 0, 0);
  font-weight: bold;
  border-bottom: 3px solid black;
}
.productbundlespro .pbp-bundle-body {
  display: grid;
  grid-template-columns: calc(100% - 300px) 300px;
}
.productbundlespro .pbp-products .pbp-bundle-product:after {
  height: 25px;
  width: 25px;
  text-align: center;
  line-height: 25px;
  display: block;
  content: "+";
  font-size: 24px;
  position: absolute;
  top: calc(50% - 25px);
  right: -22px;
  z-index: 100;
}
.productbundlespro .pbp-products .pbp-bundle-product:last-of-type:after {
  display: none;
}
.productbundlespro .pbp-bundle {
  border: 1px solid rgba(0, 0, 0, 0.2);
  padding: 20px;
  background-color: white;
}
.productbundlespro .pbp-bundle .bundle-title {
  font-size: 18px;
  font-weight: bold;
  margin: 0 0 20px 0;
}
.productbundlespro .pbp-bundle .badge {
  border: 2px solid orangered;
  color: orangered;
  border-radius: 2px;
  padding: 3px;
  font-size: 12px;
  line-height: 35px;
  display: inline-block;
  width: 100%;
  font-weight: bold;
}
.productbundlespro .pbp-bundle .badge-quantity {
  background-color: #222;
  color: white;
  padding: 3px;
  font-size: 12px;
  line-height: 12px;
  display: inline-block;
  border-radius: 2px;
}
.productbundlespro .pbp-bundle .pbp-product-price-saving {
  background-color: orangered;
  padding: 2px 7px;
  border-radius: 2px;
  color: white;
  font-size: 12px;
  line-height: 20px;
}
.productbundlespro .pbp-bundle .pbp-product-price {
  margin-top: 10px;
}
.productbundlespro .pbp-bundle .pbp-product-price .pbp-product-price-original {
  font-size: 14px;
  text-decoration: line-through;
  line-height: 20px;
}
.productbundlespro .pbp-bundle .pbp-product-price .pbp-product-price-discounted {
  font-size: 16px;
  line-height: 20px;
}
.productbundlespro .pbp-bundle .product-quantity-wrapper {
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
}
.productbundlespro .pbp-bundle .product-quantity-wrapper input {
  height: 40px;
  line-height: 40px;
}
.productbundlespro .pbp-bundle .product-quantity-wrapper .input-group-btn-vertical .btn {
  height: 22px;
}
.productbundlespro .pbp-bundle .bundle_actions {
  display: inline-grid;
  grid-template-columns: auto auto;
  grid-gap: 10px;
}
.productbundlespro .pbp-bundle .bundle_actions .bundle_quantity input {
  width: 50px;
  height: 40px;
  line-height: 40px;
  text-align: center;
}
.productbundlespro .pbp-bundle .bundle_actions .bundle_quantity .input-group-btn-vertical .btn {
  height: 22px;
}
.productbundlespro .pbp-bundle .title {
  grid-column-start: 1;
  grid-column-end: 4;
  grid-row-start: 1;
  grid-row-end: 2;
}
.productbundlespro .pbp-bundle .pbp-bundle-body .pbp-products {
  /*display: block;
  position: relative;*/
}
.productbundlespro .pbp-bundle .pbp-bundle-body .pbp-products .pbp-bundle-product {
  position: relative;
  margin-right: 20px;
}
.productbundlespro .pbp-bundle .pbp-bundle-body .pbp-products .pbp-bundle-product .pbp-product-checkbox {
  display: inline-block;
}
.productbundlespro .pbp-bundle .pbp-bundle-body .pbp-products .pbp-bundle-product .pbp-product-checkbox input {
  height: 15px;
  width: 15px;
  position: relative;
  top: 2px;
}
.productbundlespro .pbp-bundle .pbp-bundle-body .pbp-products .pbp-bundle-product .product-image {
  text-align: center;
}
.productbundlespro .pbp-bundle .pbp-bundle-body .pbp-products .pbp-bundle-product .product-image img {
  max-width: 100%;
  height: auto;
}
.productbundlespro .pbp-bundle .pbp-bundle-body .pbp-products .pbp-bundle-product .product-name {
  margin: 5px 0;
  text-align: center;
  color: black;
  font-size: 0.8rem;
}
.productbundlespro .pbp-bundle .pbp-bundle-body .pbp-products .pbp-bundle-product .pbp-product-info {
  padding: 10px;
  text-align: center;
}
.productbundlespro .pbp-bundle .pbp-bundle-body .pbp-products .pbp-bundle-product select {
  font-size: 12px;
  width: 100%;
}
.productbundlespro .pbp-bundle .pbp-bundle-body .pbp-products .pbp-bundle-product.in-cart img {
  opacity: 0.5;
}
.productbundlespro .pbp-bundle .bundle-totals {
  text-align: center;
}
.productbundlespro .pbp-bundle .bundle-totals .heading-text, .productbundlespro .pbp-bundle .bundle-totals span {
  font-size: 1rem;
}
.productbundlespro .pbp-bundle .bundle-totals .bundle_saving_price_formatted_tax_included {
  text-align: center;
  margin: 10px 0;
}

.pbp-bundle[data-flag_show_product_quantity_fields="1"] .pbp-see-details-expanded .pbp-product-info {
  display: grid;
  grid-template-columns: auto 100px;
  grid-template-rows: auto auto auto;
}
.pbp-bundle[data-flag_show_product_quantity_fields="1"] .pbp-see-details-expanded .pbp-product-info .product-name {
  grid-column: 1;
  grid-row: 1;
}
.pbp-bundle[data-flag_show_product_quantity_fields="1"] .pbp-see-details-expanded .pbp-product-info .pbp-bundle-product-ipa {
  grid-column: 1;
  grid-row: 2;
}
.pbp-bundle[data-flag_show_product_quantity_fields="1"] .pbp-see-details-expanded .pbp-product-info .product-quantity-wrapper {
  grid-column: 2;
  grid-row: 1/span 2;
}
.pbp-bundle[data-flag_show_product_quantity_fields="1"] .pbp-see-details-expanded .pbp-product-info .pbp-product-price {
  grid-row: 3;
  grid-column: 1/span 2;
}

@media only screen and (max-width: 992px) {
  .pbp-bundle .pbp-bundle-body {
    display: block !important;
  }
  .pbp-bundle .pbp-products {
    width: 100%;
    overflow-x: auto;
  }
  .pbp-bundle .pbp-products-slider:has(.pbp-bundle-product-4) {
    justify-content: normal !important;
  }
  .pbp-bundle .pbp-products-slider:has(.pbp-bundle-product-5) {
    justify-content: normal !important;
  }
  .pbp-bundle .pbp-products-slider:has(.pbp-bundle-product-6) {
    justify-content: normal !important;
  }
  .pbp-bundle .pbp-products-slider:has(.pbp-bundle-product-7) {
    justify-content: normal !important;
  }
  .pbp-bundle .pbp-products-slider:has(.pbp-bundle-product-8) {
    justify-content: normal !important;
  }
  .pbp-bundle .pbp-products-slider:has(.pbp-bundle-product-9) {
    justify-content: normal !important;
  }
  .pbp-bundle .pbp-products-slider:has(.pbp-bundle-product-10) {
    justify-content: normal !important;
  }
  .pbp-bundle .pbp-products-slider:has(.pbp-bundle-product-11) {
    justify-content: normal !important;
  }
  .pbp-bundle .pbp-products-slider:has(.pbp-bundle-product-12) {
    justify-content: normal !important;
  }
  .pbp-bundle .pbp-products-slider:has(.pbp-bundle-product-13) {
    justify-content: normal !important;
  }
  .pbp-bundle .pbp-products-slider:has(.pbp-bundle-product-14) {
    justify-content: normal !important;
  }
  .pbp-bundle .pbp-products-slider:has(.pbp-bundle-product-15) {
    justify-content: normal !important;
  }
  .pbp-bundle .pbp-products-slider:has(.pbp-bundle-product-16) {
    justify-content: normal !important;
  }
  .pbp-bundle .pbp-products-slider:has(.pbp-bundle-product-17) {
    justify-content: normal !important;
  }
  .pbp-bundle .pbp-products-slider:has(.pbp-bundle-product-18) {
    justify-content: normal !important;
  }
  .pbp-bundle .pbp-products-slider:has(.pbp-bundle-product-19) {
    justify-content: normal !important;
  }
  .pbp-bundle .pbp-products-slider:has(.pbp-bundle-product-20) {
    justify-content: normal !important;
  }
  .pbp-bundle .pbp-products-slider {
    width: 100%;
    display: flex;
    overflow: auto;
  }
  .pbp-bundle .pbp-products-slider .pbp-bundle-product {
    width: 100px !important;
    min-width: 100px !important;
    text-align: center;
  }
  .pbp-bundle .pbp-products-slider .pbp-bundle-product .pbp-product-info {
    padding: 0px;
  }
  .pbp-bundle .pbp-products-slider .pbp-bundle-product .product-image img {
    max-width: 100px;
    max-height: 100px;
  }
  .pbp-bundle .pbp-products-slider .pbp-bundle-product .wishlist-button-add, .pbp-bundle .pbp-products-slider .pbp-bundle-product .product-description, .pbp-bundle .pbp-products-slider .pbp-bundle-product .product-name, .pbp-bundle .pbp-products-slider .pbp-bundle-product .pbp-product-price, .pbp-bundle .pbp-products-slider .pbp-bundle-product select[name=pbp-bundle-product-ipa], .pbp-bundle .pbp-products-slider .pbp-bundle-product input[name=flag_selected], .pbp-bundle .pbp-products-slider .pbp-bundle-product .product-quantity-wrapper {
    display: none;
  }
  .pbp-bundle .pbp-products-slider .pbp-bundle-product:after {
    font-size: 18px !important;
    width: 20px !important;
    height: 20px !important;
    line-height: 20px !important;
    top: 30% !important;
    right: -20px !important;
  }
  .pbp-bundle .pbp-see-details {
    margin: 10px 0px;
    display: block !important;
    border: 1px solid #ccc;
    background-color: #f1f1f1;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
    height: 45px;
    line-height: 35px;
    text-align: center;
    position: relative;
  }
  .pbp-bundle .pbp-see-details .arrow {
    position: absolute;
    top: calc(50% - 18px);
    right: 10px;
    transform: rotate(90deg);
    transition: all 0.2s ease;
  }
  .pbp-bundle .pbp-see-details .arrow:before {
    display: inline-block;
    height: 30px;
    width: 30px;
    content: "❯";
    font-size: 20px;
  }
  .pbp-bundle .pbp-see-details.expanded .arrow {
    transform: rotate(-90deg);
  }
  .pbp-bundle .pbp-see-details-expanded .pbp-details-product {
    display: grid;
    grid-column-gap: 5px;
    grid-template-columns: 25px 50px auto;
    font-size: 12px;
    padding: 10px 0;
    width: 100% !important;
  }
  .pbp-bundle .pbp-see-details-expanded .pbp-details-product .product-name {
    display: block !important;
  }
  .pbp-bundle .pbp-see-details-expanded .pbp-details-product .pbp-details-product-check {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .pbp-bundle .pbp-see-details-expanded .pbp-details-product .pbp-details-product-check input {
    width: 15px;
    height: 15px;
  }
  .pbp-bundle .pbp-see-details-expanded .pbp-details-product .pbp-product-price-saving {
    display: inline-block;
  }
  .pbp-bundle .pbp-see-details-expanded.expanded .bundle-totals {
    display: block;
  }
  .pbp-bundle .bundle-totals {
    display: none;
  }
  .pbp-bundle .pbp-btn-add-to-basket {
    width: 100%;
    height: 45px;
  }
}
.productbundlespro.layout-type-compact .pbp-bundle .pbp-bundle-body {
  display: block !important;
}
.productbundlespro.layout-type-compact .pbp-bundle .pbp-products {
  width: 100%;
  overflow-x: auto;
}
.productbundlespro.layout-type-compact .pbp-bundle .pbp-products-slider:has(.pbp-bundle-product-4) {
  justify-content: normal !important;
}
.productbundlespro.layout-type-compact .pbp-bundle .pbp-products-slider:has(.pbp-bundle-product-5) {
  justify-content: normal !important;
}
.productbundlespro.layout-type-compact .pbp-bundle .pbp-products-slider:has(.pbp-bundle-product-6) {
  justify-content: normal !important;
}
.productbundlespro.layout-type-compact .pbp-bundle .pbp-products-slider:has(.pbp-bundle-product-7) {
  justify-content: normal !important;
}
.productbundlespro.layout-type-compact .pbp-bundle .pbp-products-slider:has(.pbp-bundle-product-8) {
  justify-content: normal !important;
}
.productbundlespro.layout-type-compact .pbp-bundle .pbp-products-slider:has(.pbp-bundle-product-9) {
  justify-content: normal !important;
}
.productbundlespro.layout-type-compact .pbp-bundle .pbp-products-slider:has(.pbp-bundle-product-10) {
  justify-content: normal !important;
}
.productbundlespro.layout-type-compact .pbp-bundle .pbp-products-slider:has(.pbp-bundle-product-11) {
  justify-content: normal !important;
}
.productbundlespro.layout-type-compact .pbp-bundle .pbp-products-slider:has(.pbp-bundle-product-12) {
  justify-content: normal !important;
}
.productbundlespro.layout-type-compact .pbp-bundle .pbp-products-slider:has(.pbp-bundle-product-13) {
  justify-content: normal !important;
}
.productbundlespro.layout-type-compact .pbp-bundle .pbp-products-slider:has(.pbp-bundle-product-14) {
  justify-content: normal !important;
}
.productbundlespro.layout-type-compact .pbp-bundle .pbp-products-slider:has(.pbp-bundle-product-15) {
  justify-content: normal !important;
}
.productbundlespro.layout-type-compact .pbp-bundle .pbp-products-slider:has(.pbp-bundle-product-16) {
  justify-content: normal !important;
}
.productbundlespro.layout-type-compact .pbp-bundle .pbp-products-slider:has(.pbp-bundle-product-17) {
  justify-content: normal !important;
}
.productbundlespro.layout-type-compact .pbp-bundle .pbp-products-slider:has(.pbp-bundle-product-18) {
  justify-content: normal !important;
}
.productbundlespro.layout-type-compact .pbp-bundle .pbp-products-slider:has(.pbp-bundle-product-19) {
  justify-content: normal !important;
}
.productbundlespro.layout-type-compact .pbp-bundle .pbp-products-slider:has(.pbp-bundle-product-20) {
  justify-content: normal !important;
}
.productbundlespro.layout-type-compact .pbp-bundle .pbp-products-slider {
  width: 100%;
  display: flex;
  overflow: auto;
}
.productbundlespro.layout-type-compact .pbp-bundle .pbp-products-slider .pbp-bundle-product {
  width: 100px !important;
  min-width: 100px !important;
  text-align: center;
}
.productbundlespro.layout-type-compact .pbp-bundle .pbp-products-slider .pbp-bundle-product .pbp-product-info {
  padding: 0px;
}
.productbundlespro.layout-type-compact .pbp-bundle .pbp-products-slider .pbp-bundle-product .product-image img {
  max-width: 100px;
  max-height: 100px;
}
.productbundlespro.layout-type-compact .pbp-bundle .pbp-products-slider .pbp-bundle-product .wishlist-button-add, .productbundlespro.layout-type-compact .pbp-bundle .pbp-products-slider .pbp-bundle-product .product-description, .productbundlespro.layout-type-compact .pbp-bundle .pbp-products-slider .pbp-bundle-product .product-name, .productbundlespro.layout-type-compact .pbp-bundle .pbp-products-slider .pbp-bundle-product .pbp-product-price, .productbundlespro.layout-type-compact .pbp-bundle .pbp-products-slider .pbp-bundle-product select[name=pbp-bundle-product-ipa], .productbundlespro.layout-type-compact .pbp-bundle .pbp-products-slider .pbp-bundle-product input[name=flag_selected], .productbundlespro.layout-type-compact .pbp-bundle .pbp-products-slider .pbp-bundle-product .product-quantity-wrapper {
  display: none;
}
.productbundlespro.layout-type-compact .pbp-bundle .pbp-products-slider .pbp-bundle-product:after {
  font-size: 18px !important;
  width: 20px !important;
  height: 20px !important;
  line-height: 20px !important;
  top: 30% !important;
  right: -20px !important;
}
.productbundlespro.layout-type-compact .pbp-bundle .pbp-see-details {
  margin: 10px 0px;
  display: block !important;
  border: 1px solid #ccc;
  background-color: #f1f1f1;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 14px;
  height: 45px;
  line-height: 35px;
  text-align: center;
  position: relative;
}
.productbundlespro.layout-type-compact .pbp-bundle .pbp-see-details .arrow {
  position: absolute;
  top: calc(50% - 18px);
  right: 10px;
  transform: rotate(90deg);
  transition: all 0.2s ease;
}
.productbundlespro.layout-type-compact .pbp-bundle .pbp-see-details .arrow:before {
  display: inline-block;
  height: 30px;
  width: 30px;
  content: "❯";
  font-size: 20px;
}
.productbundlespro.layout-type-compact .pbp-bundle .pbp-see-details.expanded .arrow {
  transform: rotate(-90deg);
}
.productbundlespro.layout-type-compact .pbp-bundle .pbp-see-details-expanded .pbp-details-product {
  display: grid;
  grid-column-gap: 5px;
  grid-template-columns: 25px 50px auto;
  font-size: 12px;
  padding: 10px 0;
  width: 100% !important;
}
.productbundlespro.layout-type-compact .pbp-bundle .pbp-see-details-expanded .pbp-details-product .product-name {
  display: block !important;
}
.productbundlespro.layout-type-compact .pbp-bundle .pbp-see-details-expanded .pbp-details-product .pbp-details-product-check {
  display: flex;
  justify-content: center;
  align-items: center;
}
.productbundlespro.layout-type-compact .pbp-bundle .pbp-see-details-expanded .pbp-details-product .pbp-details-product-check input {
  width: 15px;
  height: 15px;
}
.productbundlespro.layout-type-compact .pbp-bundle .pbp-see-details-expanded .pbp-details-product .pbp-product-price-saving {
  display: inline-block;
}
.productbundlespro.layout-type-compact .pbp-bundle .pbp-see-details-expanded.expanded .bundle-totals {
  display: block;
}
.productbundlespro.layout-type-compact .pbp-bundle .bundle-totals {
  display: none;
}
.productbundlespro.layout-type-compact .pbp-bundle .pbp-btn-add-to-basket {
  width: 100%;
  height: 45px;
}
.productbundlespro.layout-type-compact .pbp-bundle .pbp-products-slider .pbp-bundle-product {
  width: 100px !important;
}

.modal-dialog .productbundlespro {
  padding: 20px;
}

.productbundlespro.layout-type-default .pbp-slider .pbp-products-slider, .productbundlespro.layout-type-compact .pbp-slider .pbp-products-slider {
  white-space: nowrap;
  row-gap: 10px;
  height: auto;
  overflow-x: hidden;
}
@media only screen and (max-width: 992px) {
  .productbundlespro.layout-type-default .pbp-slider .pbp-products-slider, .productbundlespro.layout-type-compact .pbp-slider .pbp-products-slider {
    overflow-x: auto;
  }
}
.productbundlespro.layout-type-default .pbp-slider .pbp-products-slider, .productbundlespro.layout-type-compact .pbp-slider .pbp-products-slider {
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  display: flex;
  flex-direction: row;
}
.productbundlespro.layout-type-default .pbp-slider .pbp-products, .productbundlespro.layout-type-compact .pbp-slider .pbp-products {
  display: grid;
  grid-template-columns: 50px auto 50px;
}
.productbundlespro.layout-type-default .pbp-slider .pbp-bundle-product, .productbundlespro.layout-type-compact .pbp-slider .pbp-bundle-product {
  scroll-snap-align: start;
  width: 200px;
  min-width: 200px;
}
.productbundlespro.layout-type-default .pbp-slider .pbp-slider-nav, .productbundlespro.layout-type-compact .pbp-slider .pbp-slider-nav {
  display: flex;
  justify-content: center;
  align-items: center;
}
.productbundlespro.layout-type-default .pbp-slider .pbp-slider-nav button, .productbundlespro.layout-type-compact .pbp-slider .pbp-slider-nav button {
  height: 30px;
  background: none;
  border: none;
  outline: none;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
}
.productbundlespro.layout-type-default .pbp-slider .pbp-slider-nav button.disabled, .productbundlespro.layout-type-compact .pbp-slider .pbp-slider-nav button.disabled {
  opacity: 0.5;
  pointer-events: none;
}

.productbundlespro.layout-type-compact .pbp-products {
  display: grid;
  grid-template-columns: 50px auto 50px;
}
.productbundlespro.layout-type-compact .pbp-products .product-flag {
  display: none;
}
.productbundlespro.layout-type-compact .pbp-products .pbp-bundle-product {
  scroll-snap-align: start;
  width: 80px;
  min-width: 80px;
}
.productbundlespro.layout-type-compact .pbp-products .pbp-slider-nav button {
  position: relative;
  top: -15px;
}

/*# sourceMappingURL=front.css.map */

/* Modifiche Hostinato 05/10/2026 */
/* ==========================================================
   Product Bundles Pro – restyling Ediliamo
   Da incollare in: themes/<tema>/assets/css/custom.css
   Nota: ":not(#pbp)" alza la specificità sopra il CSS del modulo
   senza usare !important (non serve aggiungere nessun id in HTML).
   ========================================================== */

.productbundlespro:not(#pbp) {
  --pbp-text: #191919;
  --pbp-muted: #494948;
  --pbp-line: #e4e1dc;
  --pbp-soft: #f7f7f5;
  --pbp-red: #b2221f;
  --pbp-yellow: #ffd633;
  --pbp-radius: 10px;
  font-family: "Open Sans", sans-serif;
  color: var(--pbp-muted);
  padding-top: 24px;
  clear: both;
}

/* ---------- Box ---------- */
.productbundlespro:not(#pbp) .pbp-bundle {
  background: #fff;
  border: 1px solid var(--pbp-line);
  border-radius: var(--pbp-radius);
  padding: 20px;
  box-shadow: none;
}

.productbundlespro:not(#pbp) .bundle-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--pbp-text);
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.productbundlespro:not(#pbp) .bundle-title::before {
  content: "%";
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--pbp-red);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Slider anteprime ---------- */
.productbundlespro:not(#pbp) .pbp-products {
  display: flex !important;
  align-items: center;
  gap: 6px;
  overflow: visible;
  width: 100%;
}
.productbundlespro:not(#pbp) .pbp-products-slider {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 2px 0;
}
.productbundlespro:not(#pbp) .pbp-products-slider::-webkit-scrollbar { display: none; }

.productbundlespro:not(#pbp) .pbp-products-slider .pbp-bundle-product {
  flex: 0 0 84px;
  width: 84px;
  min-width: 84px !important;
  margin: 0 26px 0 0;
  scroll-snap-align: start;
}
.productbundlespro:not(#pbp) .pbp-products-slider .pbp-bundle-product:last-child { margin-right: 0; }
.productbundlespro:not(#pbp) .pbp-products-slider .pbp-bundle-product:last-child::after { display: none; }

.productbundlespro:not(#pbp) .pbp-products-slider .pbp-bundle-product::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: -22px;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: var(--pbp-text);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
}

.productbundlespro:not(#pbp) .pbp-products-slider .product-image,
.productbundlespro:not(#pbp) .pbp-products-slider .product-image a {
  display: block;
  width: 84px;
  height: 84px;
}
.productbundlespro:not(#pbp) .pbp-products-slider .product-image {
  border: 1px solid var(--pbp-line);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  transition: border-color .2s;
}
.productbundlespro:not(#pbp) .pbp-products-slider .product-image:hover { border-color: var(--pbp-text); }
.productbundlespro:not(#pbp) .pbp-products-slider .product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
  font-size: 0; /* nasconde l'alt se l'immagine manca */
}

/* nello slider mostriamo solo le immagini */
.productbundlespro:not(#pbp) .pbp-products-slider .pbp-product-info,
.productbundlespro:not(#pbp) .pbp-products-slider .product-name { display: none; }

/* frecce */
.productbundlespro:not(#pbp) .pbp-slider-nav {
  flex: 0 0 32px;
  width: 32px;
  justify-content: center;
}
.productbundlespro:not(#pbp) .pbp-btn-slider-nav {
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid var(--pbp-line);
  border-radius: 50%;
  background: #fff;
  color: var(--pbp-text);
  font-size: 0;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, border-color .2s;
}
.productbundlespro:not(#pbp) .pbp-btn-slider-nav::before {
  content: "";
  width: 8px;
  height: 8px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateX(2px) rotate(45deg);
}
.productbundlespro:not(#pbp) .pbp-slider-nav:last-child .pbp-btn-slider-nav::before {
  transform: translateX(-2px) rotate(-135deg);
}
.productbundlespro:not(#pbp) .pbp-btn-slider-nav:hover {
  background: var(--pbp-text);
  border-color: var(--pbp-text);
  color: #fff;
}

/* ---------- Barra "Buy & save" (accordion) ---------- */
.productbundlespro:not(#pbp) .pbp-see-details {
  margin-top: 16px;
  min-height: 48px;
  padding: 10px 16px;
  background: var(--pbp-soft);
  border: 1px solid var(--pbp-line);
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--pbp-text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
  transition: border-color .2s;
}
.productbundlespro:not(#pbp) .pbp-see-details:hover { border-color: var(--pbp-text); }
.productbundlespro:not(#pbp) .pbp-see-details .price { white-space: nowrap; }
.productbundlespro:not(#pbp) .pbp-see-details .arrow { margin-left: auto; }

/* ---------- Dettaglio prodotti ---------- */
.productbundlespro:not(#pbp) .pbp-see-details-expanded { padding-top: 8px; }

.productbundlespro:not(#pbp) .pbp-details-product {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--pbp-line);
}
.productbundlespro:not(#pbp) .pbp-details-product-check:empty,
.productbundlespro:not(#pbp) .pbp-details-product-check:not(:has(input)) { display: none; }
.productbundlespro:not(#pbp) .pbp-details-product-image {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  border: 1px solid var(--pbp-line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.productbundlespro:not(#pbp) .pbp-details-product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 3px;
  font-size: 0;
}
.productbundlespro:not(#pbp) .pbp-details-product-info { flex: 1 1 auto; width: auto; min-width: 0; }
.productbundlespro:not(#pbp) .pbp-details-product-info .name {
  display: block;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--pbp-text);
  margin-bottom: 6px;
  white-space: normal;
}

/* select variante, stile pulsanti "Modello" */
.productbundlespro:not(#pbp) select.pbp-bundle-product-ipa {
  -webkit-appearance: none;
  appearance: none;
  height: 36px;
  max-width: 100%;
  min-width: 140px;
  padding: 0 34px 0 12px;
  margin-bottom: 6px;
  border: 1px solid var(--pbp-text);
  border-radius: 8px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23191919' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 12px center;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--pbp-text);
  cursor: pointer;
}

/* prezzi */
.productbundlespro:not(#pbp) .pbp-product-price {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
}
.productbundlespro:not(#pbp) .pbp-product-price-original {
  font-size: 13px;
  color: #777;
  text-decoration: line-through;
}
.productbundlespro:not(#pbp) .pbp-product-price-discounted {
  font-size: 16px;
  font-weight: 800;
  color: var(--pbp-text);
}
.productbundlespro:not(#pbp) .pbp-product-price-saving {
  background: var(--pbp-red);
  color: #fff;
  border-radius: 5px;
  padding: 2px 7px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}

/* ---------- Totali ---------- */
.productbundlespro:not(#pbp) .bundle-totals {
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 10px;
  padding-top: 16px;
  text-align: left;
}
.productbundlespro:not(#pbp) .bundle-totals .heading-text {
  flex: 1 1 auto;
  font-size: 15px;
  font-weight: 600;
  color: var(--pbp-text);
}
.productbundlespro:not(#pbp) .bundle_original_price_formatted_tax_included {
  font-size: 14px;
  color: #777;
  text-decoration: line-through;
}
.productbundlespro:not(#pbp) .bundle_discounted_price_formatted_tax_included {
  font-size: 26px;
  font-weight: 800;
  color: #111;
  line-height: 1;
}
.productbundlespro:not(#pbp) .bundle_saving_price_formatted_tax_included {
  flex: 1 1 100%;
  margin: 4px 0 0;
  padding: 0;
  border: 0;
  text-align: left;
}
.productbundlespro:not(#pbp) .bundle_saving_price_formatted_tax_included,
.productbundlespro:not(#pbp) .bundle_saving_price_formatted_tax_included .badge {
  background: transparent;
  color: var(--pbp-red);
  font-size: 14px;
  font-weight: 700;
}
.productbundlespro:not(#pbp) .bundle_saving_price_formatted_tax_included .badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  width: 100%;
  border: 1px solid #f1c9c7;
  border-radius: 8px;
  background: #fbeceb;
  white-space: normal;
}

/* il modulo mostra i totali solo con il dettaglio aperto (layout compact) */
.productbundlespro.layout-type-compact:not(#pbp) .pbp-see-details-expanded.expanded .bundle-totals,
.productbundlespro.layout-type-default:not(#pbp) .bundle-totals { display: flex; }

.productbundlespro:not(#pbp) .bundle-totals .price { font: inherit; color: inherit; }

/* ---------- Quantità + pulsante ---------- */
.productbundlespro:not(#pbp) .bundle_actions {
  flex: 1 1 100%;
  display: flex;
  align-items: stretch;
  gap: 12px;
  margin-top: 12px;
}
.productbundlespro:not(#pbp) .bundle_actions > div:last-child { flex: 1 1 auto; }

.productbundlespro:not(#pbp) .bundle_quantity .bootstrap-touchspin {
  position: relative;
  display: flex;
  width: 125px;
  height: 50px;
  border: 1px solid var(--pbp-text);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.productbundlespro:not(#pbp) .bundle_quantity input.bundle_quantity {
  width: 100%;
  height: 100%;
  padding: 0 36px;
  border: 0;
  border-radius: 0;
  background: transparent;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  color: var(--pbp-text);
  box-shadow: none;
  -moz-appearance: textfield;
}
.productbundlespro:not(#pbp) .bundle_quantity .bootstrap-touchspin-prefix,
.productbundlespro:not(#pbp) .bundle_quantity .bootstrap-touchspin-postfix { display: none; }
.productbundlespro:not(#pbp) .bundle_quantity .input-group-btn-vertical { position: static; }
.productbundlespro:not(#pbp) .bundle_quantity .bootstrap-touchspin .btn {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 36px !important;
  min-width: 36px;
  height: auto;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--pbp-text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.productbundlespro:not(#pbp) .bundle_quantity .bootstrap-touchspin-up { right: 0; border-left: 1px solid var(--pbp-text); }
.productbundlespro:not(#pbp) .bundle_quantity .bootstrap-touchspin-down { left: 0; border-right: 1px solid var(--pbp-text); }
.productbundlespro:not(#pbp) .bundle_quantity .bootstrap-touchspin .btn i { font-size: 0; }
.productbundlespro:not(#pbp) .bundle_quantity .bootstrap-touchspin-up i::before,
.productbundlespro:not(#pbp) .bundle_quantity .bootstrap-touchspin-down i::before {
  font-family: "Open Sans", sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
}
.productbundlespro:not(#pbp) .bundle_quantity .bootstrap-touchspin-up i::before { content: "+"; }
.productbundlespro:not(#pbp) .bundle_quantity .bootstrap-touchspin-down i::before { content: "\2212"; }
.productbundlespro:not(#pbp) .bundle_quantity .bootstrap-touchspin .btn:hover { background: var(--pbp-soft); }

.productbundlespro:not(#pbp) .pbp-btn-add-to-basket {
  width: 100%;
  height: 50px;
  padding: 0 20px;
  border: 0;
  border-radius: 10px;
  background: var(--pbp-yellow);
  color: #000;
  font-family: inherit;
  font-size: 18px;
  font-weight: 700;
  text-transform: none;
  box-shadow: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: filter .2s;
}
.productbundlespro:not(#pbp) .pbp-btn-add-to-basket::before {
  content: "";
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 18a2 2 0 1 0 0 4 2 2 0 0 0 0-4zm10 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4zM5.2 4l.9 2H21l-3.6 7.5a2 2 0 0 1-1.8 1.1H8.1l-1 1.8V17h12v-2H8.4l.9-1.6h7.4L20.3 6l.2-.6V4H6.1L5.2 2H1v2z'/%3E%3C/svg%3E") no-repeat center / contain;
}
.productbundlespro:not(#pbp) .pbp-btn-add-to-basket:hover,
.productbundlespro:not(#pbp) .pbp-btn-add-to-basket:focus {
  background: var(--pbp-yellow);
  color: #000;
  filter: brightness(.95);
}

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
  .productbundlespro:not(#pbp) { padding-top: 18px; }
  .productbundlespro:not(#pbp) .pbp-bundle { padding: 16px 14px; }
  .productbundlespro:not(#pbp) .bundle-title { font-size: 16px; margin-bottom: 12px; }

  .productbundlespro:not(#pbp) .pbp-slider-nav { display: none !important; }
  .productbundlespro:not(#pbp) .pbp-products-slider .pbp-bundle-product {
    flex-basis: 70px;
    width: 70px;
    min-width: 70px !important;
    margin-right: 22px;
  }
  .productbundlespro:not(#pbp) .pbp-products-slider .pbp-bundle-product::after { right: -20px; }
  .productbundlespro:not(#pbp) .pbp-products-slider .product-image,
  .productbundlespro:not(#pbp) .pbp-products-slider .product-image a { width: 70px; height: 70px; }

  .productbundlespro:not(#pbp) .pbp-see-details { font-size: 14px; padding: 10px 12px; }
  .productbundlespro:not(#pbp) .pbp-details-product { gap: 12px; }
  .productbundlespro:not(#pbp) .pbp-details-product-image { flex-basis: 56px; width: 56px; height: 56px; }
  .productbundlespro:not(#pbp) select.pbp-bundle-product-ipa { width: 100%; }

  .productbundlespro:not(#pbp) .bundle_discounted_price_formatted_tax_included { font-size: 22px; }
  .productbundlespro:not(#pbp) .bundle_quantity .bootstrap-touchspin { width: 110px; }
  .productbundlespro:not(#pbp) .pbp-btn-add-to-basket { font-size: 16px; padding: 0 12px; }
}
/* Fine modifiche Hostinato */
