/*
 * Custom code goes here.
 * A template should always ship with an empty custom.css
 */

.box-banner .i1 .image_description {
    color: #ffffff !important;
}

.product-prices .tax-shipping-delivery-label {
    font-size: 15px;
    color: #4158f2;
    font-weight: 700;
}

.product-quantity .add-to-cart {
    font-size: 13px;
}

.product-variants>.product-variants-item select {
    border: 1px solid #c9c6c6;
}

.form-control {
    color: #07339d;
    font-weight: 600;
}
.product-quantity .add, .product-quantity .qty {
    padding-bottom: 10px;
}
#product-availability {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 10PX;
    display: block;
    // border: 2px solid;
    display: inline-block;
    padding: 0 5px;
    margin-bottom: 10PX;
    margin-top: 5PX;
clear:both;
}

.alert {
    font-size: 14px !important;
}

.alert-warning {
    background-color: #dff0d8 !important;
    border-color: #d0e9c6 !important;
    color: #3c763d !important;
}

.alert.alert-warning:before {
    content: "\f072" !important;
}

.ApSlideShow .slide_config , .LeoSlideshow .slide_config{
  display: none; 
}
.product-cover, #thumb-gallery {
display: none !important;
}

.btn-infoprod {
    background: #000 !important;
    color: #FFF !important;
}

.btn-infoprod:hover {
    background: #4158f2 !important;
    color: #FFF !important;
}

b,strong {
font-weight: 700;
}

.thumbnail-container .product-price-and-shipping .price {
font-size: 18px;
}

/* --- Wrapper Hero Banner --- */
.ApHtml .hero-banner-wrapper {
  position: relative;
  width: 100%;
  max-height: 500px;
  overflow: hidden;
}

.ApHtml .hero-banner-wrapper .hero-img {
  width: 100%;
  height: auto;
  display: block;
}

/* --- Overlay --- */
.ApHtml .hero-banner-wrapper .hero-overlay {
  position: absolute;
  top: 20%;
  left: 5%;
  color: white;
  z-index: 2;
}

/* --- Sottotitolo ("SCEGLI IL TUO RICAMBIO") --- */
.ApHtml .hero-banner-wrapper .hero-overlay h2 {
  font-size: clamp(0.85rem, 1vw, 1.1rem);
  margin-bottom: 8px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- Titolo principale ("PARTI PER AUTO DEI MIGLIORI BRAND") --- */
.ApHtml .hero-banner-wrapper .hero-overlay h1 {
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 20px 0;
  color: #fff;
}

/* --- Pulsante Hero (con stesso stile degli altri banner) --- */
.hero-banner-wrapper .hero-button {
  background-color: #ffc107;
  color: #000;
  font-weight: 800;
  text-transform: uppercase;
  border-radius: 0;
  position: relative;
  z-index: 1;
  padding: 14px 26px;
  font-size: 11px;
  line-height: 14px;
}

/* Freccia automatica (::after) */
.hero-banner-wrapper .hero-button::after {
  content: "\f105";
  font-family: "Font Awesome 5 Pro";
  margin-left: 12px;
  font-size: 13px;
}

/* Effetto hover */
.hero-banner-wrapper .hero-button::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 0;
  z-index: -1;
  background-color: var(--theme-color-default); /* blu */
  transition: all 0.4s cubic-bezier(.42, 0, .58, 1);
}

.hero-banner-wrapper .hero-button:hover {
  color: #fff;
}

.hero-banner-wrapper .hero-button:hover::before {
  left: 0;
  right: auto;
  width: 100%;
}

/* --- Media Query Tablet / Schermi medi --- */

/* Max 1200px */
@media (max-width: 1200px) {
  .ApHtml .hero-banner-wrapper .hero-overlay {
    top: 18%;
    left: 4%;
  }

  .ApHtml .hero-banner-wrapper .hero-overlay h1 {
    font-size: clamp(1.8rem, 2.5vw, 2.5rem);
  }

  .ApHtml .hero-banner-wrapper .hero-overlay h2 {
    font-size: clamp(0.8rem, 0.9vw, 1rem);
  }

  .hero-banner-wrapper .hero-button {
    padding: 12px 24px;
    font-size: 10px;
  }
}

/* Max 1024px */
@media (max-width: 1024px) {
  .ApHtml .hero-banner-wrapper .hero-overlay {
    top: 16%;
    left: 3%;
  }

  .ApHtml .hero-banner-wrapper .hero-overlay h1 {
    font-size: clamp(1.6rem, 2.2vw, 2.2rem);
  }

  .ApHtml .hero-banner-wrapper .hero-overlay h2 {
    font-size: clamp(0.75rem, 0.8vw, 0.9rem);
  }

  .hero-banner-wrapper .hero-button {
    padding: 10px 22px;
    font-size: 10px;
  }
}

/* Max 900px (schermi piccoli, ma non mobile) */
@media (max-width: 900px) {
  .ApHtml .hero-banner-wrapper .hero-overlay {
    top: 14%;
    left: 3%;
  }

  .ApHtml .hero-banner-wrapper .hero-overlay h1 {
    font-size: clamp(1.4rem, 2vw, 2rem);
  }

  .ApHtml .hero-banner-wrapper .hero-overlay h2 {
    font-size: clamp(0.7rem, 0.8vw, 0.85rem);
  }

  .hero-banner-wrapper .hero-button {
    padding: 8px 20px;
    font-size: 9.5px;
  }
}

@font-face {
  font-family: 'FontAwesome';
  src: url('/modules/ets_gdpr/views/fonts/fontawesome-webfont.woff2?v=4.7.0') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Font Awesome 5 Pro';
  src: url('/themes/at_autozpro/assets/fonts/fa-light-300.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'autozpro';
  src: url('/themes/at_autozpro/assets/fonts/autozpro.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Material Icons';
  src: url('/themes/at_autozpro/assets/fonts/MaterialIcons-Regular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'themify';
  src: url('/themes/at_autozpro/assets/fonts/themify.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

#_desktop_cart .total-cart span:not(.value) {
    color: #555 !important;
}

.category-default a {
    color: #555 !important;
}

.box-support .sp-item p {
    color: #555 !important;
}

.block_content .footer-left-text {
    color: #c5c5c5 !important;
}

.box-footer-bottom .block_content div {
    color: #c5c5c5 !important;
}

.footer-container .ApBlockLink ul li a {
    color: #c5c5c5 !important;
}

.footer-contact .block_content ul li span {
    color: #c5c5c5 !important;
}

.custom-dark-text-bg .title_block,
.custom-dark-text-bg .btn-link,
.custom-dark-text-bg .image_description a {
  position: relative;
  color: #ffffff !important;
  z-index: 1;
}

.custom-dark-text-bg .title_block::before,
.custom-dark-text-bg .btn-link::before,
.custom-dark-text-bg .image_description a::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4); /* aumenta fino a 0.5–0.6 se serve */
  z-index: -1;
  pointer-events: none;
}

body:not(#category) .breadcrumb {
    padding-top: 15px !important;
    padding-bottom: 15px !important;
}

.product-detail-name {
    font-size: 24px;
}

@media (max-width: 991px) {
    .breadcrumb {
        margin: 0 0 20px;
    }
}

body:not(#index,.cms-id-4) #page #wrapper .container>.row {
    margin-top: 20px !important;
}

.product-tabs.tabs .nav-tabs .nav-link {
    color: #555;
}

.line a, .line span {
    color: #b51818;
}

.product-quantity .leo-compare-wishlist-button .btn-product {
    color: #555;
}

.faq-question-headings .content h3 {
    font-size: 25px !important;
}

.cpage-banner {
    height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 0 !important;
    text-align: center;
    margin: auto;
}

.cpage-banner .sub-title-widget {
    color: #fff;
    font-family: "Manrope", sans-serif !important;
    text-transform: none !important;
    max-width: 800px;
    font-weight: 700 !important;
    font-size: 60px !important;
    line-height: 85px !important;
    text-align: left !important;
    margin-bottom: 20px !important;
    text-align: center !important;
}

.cpage-banner .title_block {
    padding: 0;
    font-size: 35px;
    font-weight: 800;
    line-height: 28px;
    letter-spacing: -1px;
    color: #fff;
    text-transform: capitalize;
}

.cpage-banner p:last-child {
    margin: 0;
    color: #fff;
    font-size: 24px;
}

.bc-landing .title_block {
    padding: 0;
    font-size: 32px;
    font-weight: 800;
    line-height: 46px;
    letter-spacing: -1px;
   color: #ae9831;
    text-transform: capitalize;
}

.bc-landing p {
    font-size: 19px;
    line-height: 26px;
}

body:has(.bc-landing) .bc-landing {
  font-size: 19px;
  line-height: 30px;
}

.mobpage-banner {
    height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 0 !important;
    text-align: center;
    margin: auto;
}

.mobpage-banner .sub-title-widget {
    color: #fff;
    font-family: "Manrope", sans-serif !important;
    text-transform: none !important;
    max-width: 800px;
    font-weight: 700 !important;
    font-size: 36px !important;
    line-height: 44px !important;
    text-align: left !important;
    margin-bottom: 20px !important;
    text-align: center !important;
}

.mobpage-banner .title_block {
    padding: 0;
    font-size: 24px;
    font-weight: 800;
    line-height: 28px;
    letter-spacing: -1px;
    color: #fff;
    text-transform: capitalize;
}

.mobpage-banner p:last-child {
    margin: 0;
    color: #fff;
    font-size: 24px;
    line-height: 30px;
}

.bc-guide-button{
    background-color:#b39f10;
    color:#000000;
    padding:12px 18px;
    display:inline-block;
    text-decoration:none;
    font-weight:bold;
    border-radius:4px;
    transition:all 0.25s ease;
    box-shadow:0 2px 6px rgba(0,0,0,0.15);
}

.bc-guide-button:hover{
    background-color:#000000;
    color:#b39f10;
}

#ps_checkout-loader {
  display: none !important;
}

@media (max-width: 767px) {
  #order-summary-content {
    display: none !important;
  }
}