/* Globals */
#wrapper {
  background: white;
}

@media(max-width:768px){
.breadcrumb {
  display: none;
}
}

a {
  color: #07306c;
}

.reset-style * {
  font-family: inherit !important;
  font-size: inherit !important;
  text-align: inherit !important;
  line-height: inherit !important;
}

.reset-style div {
  padding-bottom: 10px;
}

/* Homepage Custom Styles */
.page-home .custom-blocks-container,
.page-home .category-carousel-container,
.page-home .custom-banner-container,
.page-home .featured-products-container,
.page-home .custom-product-blocks-container,
.page-home .feedaty-reviews-container {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.page-home h2 {
  text-align: center;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

/* Custom Blocks (Categories & Products) */
.custom-block,
.custom-product-block {
  text-align: center;
  margin-bottom: 1rem;
}

.custom-block a,
.custom-product-block a {
  display: block;
  color: #232323;
  text-decoration: none;
  transition: all 0.3s ease;
}

.custom-block a:hover,
.custom-product-block a:hover {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.custom-block h3,
.custom-product-block h4 {
  margin-top: 1rem;
  font-size: 1.2rem;
}

.custom-product-block .price {
  font-weight: bold;
  font-size: 1.1rem;
  color: #D0121A;
}

/* Basic Carousel Styling */
.featured-products-container .products,
.category-carousel-container .categories {
  display: flex;
  overflow-x: auto;
  padding-bottom: 1rem;
  scrollbar-width: thin;
  /* Firefox */
}

.featured-products-container .product-miniature,
.category-carousel-container .category-miniature {
  flex: 0 0 25%;
  /* Show 4 items by default */
  max-width: 25%;
  padding: 0 0.5rem;
}

/* Footer Custom Styles */
.footer-container {
  padding-top: 2rem;
  padding-bottom: 1rem;
  background-color: #f5f5f5;
}

.footer-box {
  margin-bottom: 1.5rem;
}

.footer-box h4 {
  text-transform: uppercase;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid #ddd;
  flex-wrap: wrap;
}

.footer-bottom .text-sm-center {
  margin-bottom: 0;
}

.credit-cards img {
  min-height: 25px;
}

/* Responsive Adjustments */
@media (max-width: 767px) {
  .footer-bottom {
    justify-content: center;
    text-align: center;
  }

  .credit-cards {
    margin-top: 1rem;
  }

  .featured-products-container .product-miniature,
  .category-carousel-container .category-miniature {
    flex: 0 0 50%;
    /* Show 2 items on smaller screens */
    max-width: 50%;
  }
}

i.fas.fa-spaghetti-monster-flying {
  color: transparent !important;
}

/* custom.css - Override per il tema classic */
/* ===================================================================
1. Link e Testo Primario
=================================================================== */
a,
.btn-link,
.text-primary,
#header a:hover,
.product-miniature .highlighted-informations .quick-view:hover,
.pagination .current a,
.tabs .nav-tabs .nav-link.active,
.block-categories .category-sub-menu li a[data-depth="0"]:hover,
.product-price,
#blockcart-modal .product-name,
.account-list a:hover,
.footer-container li a:hover,
.block_newsletter form button[type=submit] .search:hover,
.carousel .carousel-control .icon-next:hover i,
.carousel .carousel-control .icon-prev:hover i,
.dropdown:hover .expand-more,
.page-my-account #content .links a:hover i,
.search-widget form button[type=submit] .search:hover,
.top-menu .sub-menu a:hover,
.block-categories .arrows .arrow-down:hover,
.block-categories .arrows .arrow-right:hover,
.block-categories .collapse-icons .add:hover,
.block-categories .collapse-icons .remove:hover,
.cart-grid-body a.label:hover,
.block_newsletter form input[type=text]:focus+button .search,
.btn-unstyle:focus .expand-more,
.search-widget form input[type=text]:focus+button .search,
#header .header-nav .blockcart a:hover {
  color: #07306c;
}

a:hover,
.btn-link:hover,
a.text-primary:focus,
a.text-primary:hover,
.tabs .nav-tabs .nav-link:hover,
.page-link:hover {
  color: #2640cb;
  /* Tonalità più chiara per hover */
}

/* ===================================================================
2. Bottoni e Sfondi (Colore Primario)
=================================================================== */
.btn-primary,
.btn-outline-primary:hover,
.page-item.active .page-link,
.tag-primary,
.bg-primary,
.custom-radio input[type=radio]:checked+span,
.product-flags li.product-flag,
.block-social ul li:hover,
#header .header-nav .cart-preview.active,
.bootstrap-touchspin .group-span-filestyle .btn-touchspin,
.group-span-filestyle .bootstrap-touchspin .btn-touchspin,
.group-span-filestyle .btn-default,
.block-promo .promo-input+button,
.nav-pills .nav-link.active,
.list-group-item.active,
.brands-sort .select-list:hover,
.products-sort-order .select-list:hover,
.suppliers-sort .select-list:hover,
.facet-dropdown .select-list:hover,
.dropdown-item.active {
  background-color: #07306c;
  border-color: #07306c;
  color: #fff;
  /* Testo bianco per leggibilità */
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-outline-primary:active,
.tag-primary[href]:hover,
a.bg-primary:hover {
  background-color: #2640cb;
  border-color: #2640cb;
  color: #fff;
}

.btn-outline-primary {
  color: #07306c;
  border-color: #07306c;
}

/* ===================================================================
3. Bordi e Contorni
=================================================================== */
.form-control:focus,
.input-group.focus,
.block_newsletter form input[type=email]:focus,
.product-customization .product-message:focus,
.facet-dropdown.open>.select-title,
#subcategories ul li:hover .subcategory-image a,
.card-primary,
.card-outline-primary,
body#checkout section.checkout-step .address-item.selected,
#product-modal .modal-content .modal-body .product-images img:hover,
.product-images>li.thumb-container .thumb.selected,
.product-images>li.thumb-container .thumb:hover {
  border-color: #07306c;
}

.tabs .nav-tabs .nav-link.active,
.tabs .nav-tabs .nav-link:hover {
  border-color: #07306c;
  border-width: 0 0 3px 0;
  border-style: solid;
}

/* ===================================================================
4. Colore Info (#5bc0de)
=================================================================== */
.btn-info,
.tag-info,
.alert-info,
.bg-info,
.btn-outline-info:hover,
.btn-outline-info:focus,
.btn-outline-info:active {
  background-color: #2A5C9A;
  border-color: #2A5C9A;
  color: #fff;
}

.btn-info:hover,
.tag-info[href]:hover,
a.bg-info:hover {
  background-color: #3E74B8;
  border-color: #3E74B8;
  color: #fff;
}

.btn-outline-info {
  color: #2A5C9A;
  border-color: #2A5C9A;
}

.alert-info {
  color: #ffffff;
  background-color: #2A5C9A;
  border-color: #2A5C9A;
}

.alert-info .alert-link {
  color: #e0eaf7;
}

/* ===================================================================
5. Aggiustamenti Vari
=================================================================== */
.list-group-item.active .list-group-item-text {
  color: #e0eaf7;
}

.card-primary {
  color: #fff;
}

.paypal-mark {
  padding: 0 !important;
  border: 0 !important;
  margin-left: 20px !important;
}

body#checkout section.checkout-step .step-title {
  font-size: 1.25rem;
}

.has-discount .discount {
  background: #07306c;
}

.has-discount .page-content.page-cms ul,
.has-discount p,
.has-discount.product-price,
.page-content.page-cms .has-discount ul {
  color: #07306c;
}

.blockreassurance_product .item-product img,
.blockreassurance_product .item-product svg {
  stroke: #07306c;
}

.blockreassurance_product {
  margin: 0;
}

.blockreassurance_product .item-product {
  height: auto;
  margin-top: 16px;
}

@media(max-width:768px) {
  body#cart .product-line-grid-right .col-md-10.col-xs-6 {
    padding: 0;
  }

  body#cart .checkout.cart-detailed-actions {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px 10px;
    z-index: 10000000000;
    background: white;
  }

  body#cart div#oct8ne-alerts-callouts-wrapper {
    display: none;
  }
}

body#cart a.btn.btn-primary {
  margin-bottom: 10px;
}

body#checkout section.checkout-step .step-title {
  font-size: 1.25rem;
}

body#checkout #footer {
  padding: 0;
}

/*.payment-options div div {
  height: 25px;
}*/

section.elementor-element.elementor-element-3065779.elementor-section-boxed.elementor-section-height-default.elementor-section-height-default.elementor-section.elementor-top-section {
  background: white;
}

.js-additional-information {
  padding-left: 2rem;
  font-size: 1rem;
  font-weight: 300;
}

.js-payment-option-form {
  font-size: 1rem;
  font-weight: 300;
}

.cart-detailed-totals-wrap .card-block:first-child {
  margin: 0;
  padding: 0;
}

div#payment-confirmation button {
  width: 100%;
}

.payment-options .modal.fade {
  opacity: 1;
}

.payment-options .modal.fade .modal-header {
  display: none;
}

.payment-options .modal.fade .modal-content {
  padding: 0;
  margin: 0;
}

.card-block.card-separator {
  display: none;
}

form.flex-container {
  display: none;
}

.condition-label.dib {
  display: inline;
}

.cart-detailed-totals-wrap {
  padding: 1em;
}

.block-reassurance li,
.blockreassurance_product>div {
  display: flex;
  flex-direction: column;
  align-content: center;
  justify-content: center;
  align-items: center;
}

.blockreassurance_product>div {
  padding: 1em;
}

@media (min-width:768px) {
  #js-checkout-summary.is-sticky {
    position: fixed;
    width: 350px;
    top: 10px;
  }
}

@media (max-width:768px) {
  div#payment-confirmation {
    z-index: 1000000000000;
  }

  section#js-checkout-summary {
    display: none;
  }

  div#payment-confirmation {
    position: fixed;
    bottom: 0;
    z-index: 10000;
    width: 100vw;
    left: 0;
    right: 0;
    padding: 1rem;
    background: #f8f8f8;
  }

  div#payment-confirmation button {
    width: 100%;
  }

  .col-md-12.summary-selected-carrier.ssc.flex-container {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    align-items: baseline;
  }
}

#main-content+#footer:before {
  background: #000000;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(255, 255, 255, 1) 100%);
  height: 120px;
  display: block;
  content: ' ';
}

section#wrapper {
  padding-bottom: 0 !important;
}

.pp-info {
  display: none;
}

button.fake-buy-btn {
  width: 100%;
}

img.elementor-search__product-image {
  max-width: 100px !important;
}
.elementor-widget-container .ce-product-price{
  color:#f9000c;
  font-weight:600;
}
.elementor-swiper-button.elementor-swiper-button-prev {
    color: black;
    font-size: 30px !important;
}

.elementor-swiper-button.elementor-swiper-button-next {
 color: black;
font-size:30px !important;
}

a[href*="https://www.bongiornowork.com/en/content/35/construction-fund-1"] {  display: none;}

a[href*="https://www.bongiornowork.com/fr/content/35/fonds-de-construction-1"] {  display: none;}
a[href*="https://www.bongiornowork.com/de/content/35/baufonds-1"] {  display: none;}
a[href*="https://www.bongiornowork.com/es/content/35/fondo-de-construccion-1"] {  display: none;}


span#product-page-alternatives {
    max-width: 100vw !important;
    overflow: hidden;
}

@media(min-width:768px){
.extra-catalog-shipping-notification{
	margin-top:-8%;
	margin-left:58%;
  	position: absolute;
	color: red;
  }
}

@media screen and (max-width: 768px) and (min-width: 440px){
.extra-catalog-shipping-notification{
        margin-top:-30%;
        margin-left:36%;
        position: absolute;
        color: red;
  }
}

@media(max-width:439px){
.extra-catalog-shipping-notification{
        margin-top:-8%;
        margin-left:5%;
        position: absolute;
        color: red;
	font-size: 14px
  }
}


a.collapse-button {
    color: red;
    font-weight: 900;
    text-transform: uppercase;
}

/* Nascondere per i prodotti custom la personalizzazione*/

.product-line-grid:has(a[data-id_customization]:not([data-id_customization=""]):not([data-id_customization="0"])) .input-group-btn-vertical {
  display: none !important;
}

.product-line-grid:has(a[data-id_customization]:not([data-id_customization=""]):not([data-id_customization="0"])) .js-cart-line-product-quantity {
  pointer-events: none;
  opacity: 0.6;
}
