html, body {
    overflow-x: hidden;
    max-width: 100%;
}

#mainMenuDropdown{
  justify-content: center;
}

/* Asterisco rosso per campi obbligatori */
.form-label.required::after {
    content: " *";
    color: #e74c3c;
}

.page-product #ps_checkout-payment-method-logo-block-container,
.page-cart #ps_checkout-payment-method-logo-block-container {
    display: none;
}

.page-cart .cart-grid__right .card.cart-summary {
    background: #EEF5FE !important;
    border: 1px solid #B7B7B7BA !important;
    border-radius: 16px !important;
}

.cart-summary .card-footer {
    padding: 0 !important;
    margin-top: 15px !important;
}

/* Checkout payment step - allineamento label e checkbox */
#checkout-payment-step .payment__option .form-check-label {
    display: flex !important;
    align-items: center !important;
    padding-left: 0 !important;
}

#checkout-payment-step .payment__option .form-check-input {
    position: static !important;
    margin-top: 0 !important;
    margin-left: 0 !important;
    margin-right: 0.5rem !important;
    flex-shrink: 0;
}

#checkout-payment-step #conditions-to-approve .my-3 {
    margin-top: 30px !important;
}

/* PAGINA ACCESSORI AUTO */
.cms-id-8 #wrapper,
.cms-id-8 #wrapper > .container,
.cms-id-8 #content-wrapper,
.cms-id-8 .wrapper__content,
.cms-id-8 #content,
.cms-id-8 .page-accessori,
.cms-id-8 .page-content,
.cms-id-8 #main {
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
}

.cms-id-8 .page-header,
.cms-id-8 .page-footer {
    display: none !important;
}

.page-accessori .fullwidth-image {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.page-accessori .fullwidth-image img {
    width: 100%;
    height: auto;
    display: block;
}

.page-accessori .accessori-title-wrapper {
    position: absolute;
    top: 219px;
    left: 228px;
}

.page-accessori .accessori-title {
    background: #041E41;
    border: 1px solid #000000;
    border-bottom: none;
    border-radius: 16px 16px 0 0;
    padding: 16px 16px;
}

.page-accessori .accessori-title span {
    font-family: 'Oswald', sans-serif;
    font-weight: 500;
    font-size: 70.87px;
    line-height: 100%;
    letter-spacing: 0;
    color: #EEAF00;
}

.page-accessori .accessori-subtitle {
    background: transparent;
    border: 1px solid #000000;
    border-radius: 0 0 16px 16px;
    padding: 28px 16px;
}

.page-accessori .accessori-subtitle span {
    font-family: 'Oswald', sans-serif;
    font-weight: 500;
    font-size: 47.84px;
    line-height: 100%;
    letter-spacing: 0;
    color: #041E41;
}

/* Accessori - Mobile */
@media (max-width: 991px) {
    .page-accessori .accessori-title-wrapper {
        top: 50%;
        right: auto;
        left: 29%;
        transform: translate(-50%, -50%);
        text-align: center;
    }

    .page-accessori .accessori-title {
        padding: 10px 15px;
    }

    .page-accessori .accessori-title span {
        font-size: 32px;
    }

    .page-accessori .accessori-subtitle {
        padding: 14px 15px;
    }

    .page-accessori .accessori-subtitle span {
        font-size: 20px;
    }
}

@media (max-width: 576px) {
    .page-accessori .accessori-title {
        padding: 8px 12px;
        border-radius: 10px 10px 0 0;
    }

    .page-accessori .accessori-title span {
        font-size: 24px;
    }

    .page-accessori .accessori-subtitle {
        padding: 10px 12px;
        border-radius: 0 0 10px 10px;
    }

    .page-accessori .accessori-subtitle span {
        font-size: 16px;
    }
}

/* NAVBAR */
#navbar-fix{
    background: #EEAF00;
    padding: 5px 15px;
}
.top-bar-text {
    font-family: 'Oswald', sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0;
    text-transform: uppercase;
    color: #212121;
}
.orange-fix{
    /*color:#EEAF00;*/
    color:#EEAF00;
}
.black-fix{
    color: #030302;
}
.white-fix{
    color:#fff;
}

/* HEADER */
.header {
    max-width: 100%;
    overflow: visible;
}
.header-top{
    background: #041E41;
    padding:15px 0px;
    --header-top-border-bottom: none;
    border-bottom: none;
}
#search_widget form input{
    border-radius: 20px;
}
.header-top a{
    color:#fff!important;
}
.dropdown-menu[aria-labelledby="userMenuButton"] .dropdown-item{
    color:#000!important;
}
.dropdown-menu[aria-labelledby="userMenuButton"] .dropdown-item:hover{
    color:#EEAF00!important;
}
.header a:not(.dropdown-item):not(.btn):hover, .header a:not(.dropdown-item):not(.btn):hover i {
    color: #EEAF00;
}
.header-block--active .header-block, .header-block--active .header-block__icon{
    color: #EEAF00;
}
#_desktop_cart{
    order:9;
    width: initial;
    color: #ffffff;
    display: flex;
    align-items: center;
}
.header-block__action-btn{
    color:#ffffff;
    padding:0 6px;
}

.header-block__action-btn i {
    font-size: 24px;
    width: 22px;
    height: 22px;
}

.header-block__action-btn:hover {
    color: #EEAF00;
}

#userMenuButton.dropdown-toggle::after {
    margin-left: 12px;
}

#_desktop_cart .header-block__action-btn {
    display: flex;
    align-items: center;
    position: relative;
}
.header-block__badge {
    background: #EEAF00;
    text-align: center;
    font-family: 'Onest', sans-serif;
    font-weight: 400;
    font-size: 11.73px;
    line-height: 100%;
    letter-spacing: 0;
    color: #FFFFFF;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: -4px;
    right: 0;
    padding: 0;
}
#_desktop_user_info, #_desktop_cart{
    flex: 1;
    padding: 0;
}
h1, h2{
    font-weight: 700;
    font-family: 'Oswald',sans-serif;
}
h3, h4, h5, h6{
    font-weight: 500;
    font-family: 'Oswald', sans-serif;
}

/*  MENU */
/* Megamenu layout */
.custom-mainmenu {
    position: static;
}
.custom-mainmenu .navbar-nav {
    position: static;
}
.custom-mainmenu .nav-item.dropdown {
    position: static;
}
.header-top {
    position: relative;
    overflow: visible;
}
.custom-mainmenu {
    overflow: visible;
}
.dropdown-menu.megamenu-content {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) scaleY(0);
    transform-origin: top center;
    width: 100%;
    max-width: 100vw;
    display: block;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    z-index: 1000;
    transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
    box-sizing: border-box;
}
.navbar .nav-item.dropdown:hover .dropdown-menu,
.dropdown-menu.megamenu-content:hover {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) scaleY(1);
}
.navbar .nav-item.dropdown:hover {
    z-index: 1001;
}
.nav-item.has-legend .nav-link {
    position: relative;
}
.menu-legend {
    position: absolute;
    top: -9px;
    right: -17px;
    background: #c03f3f;
    border-radius: 10px 10px 10px 0px;
    color: #ffffff;
    font-weight: 700;
    font-size: .8rem;
    padding: 2px 4px;
    white-space: nowrap;
}
/* Megamenu submenu styling */
.dropdown-menu.megamenu-content,
.dropdown-menu.megamenu-content.show,
.navbar .nav-item.dropdown:hover .dropdown-menu.megamenu-content {
    background: #041E41;
    border: none !important;
    padding: 15px 0;
    margin-top: 0;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    border-radius: 0 0 10px 10px;
}
.header-top:has(.nav-item.dropdown:hover) {
    box-shadow: none !important;
}
.dropdown-menu.megamenu-content::before {
    content: '';
    position: absolute;
    top: -30px;
    left: 0;
    right: 0;
    height: 30px;
    pointer-events: auto;
}
.dropdown-menu.megamenu-content .row {
    max-width: 1320px;
    margin: 0 auto;
}
.dropdown-menu.megamenu-content ul.list-unstyled {
    display: flex;
    flex-direction: row;
    gap: 12px;
    margin: 0;
    width: 100%;
    max-width: 1320px;
}
.dropdown-menu.megamenu-content ul.list-unstyled li {
    flex: 1;
}
.megamenu-content a {
    font-family: 'Oswald', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 100%;
    color: #ffffff !important;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.3s ease;
}
.megamenu-content a:hover {
    color: #EEAF00 !important;
    text-decoration: underline;
}
.custom-mainmenu .nav-link {
    font-family: 'Oswald', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 100%;
    color: #ffffff;
    text-transform: uppercase;
}
.custom-mainmenu .nav-link:hover,
.custom-mainmenu .nav-item.dropdown:hover > .nav-link {
    color: #EEAF00 !important;
    text-decoration: underline;
}
.custom-mainmenu .nav-item.active .nav-link,
.custom-mainmenu .nav-link.active {
    color: #EEAF00;
    text-decoration: underline !important;
}
.navbar-expand-lg .navbar-nav {
    gap: 8px;
}

/* Submenu links and boxes */
.submenu-link {
    display: flex;
    flex-direction: column;
    text-decoration: none !important;
}
.submenu-link .submenu-text {
    font-family: 'Oswald', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 100%;
    color: #ffffff !important;
    text-transform: uppercase;
    transition: color 0.3s ease;
}
.submenu-link:hover .submenu-text {
    color: #EEAF00 !important;
    text-decoration: underline;
}
.submenu-box {
    width: 100%;
    min-height: 140px;
    background: #D9D9D9;
    border-radius: 10px;
    margin-top: 10px;
    cursor: pointer;
    overflow: hidden;
}
.submenu-box img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}






/* HOMEPAGE */
#hp-hero-navtab{
    justify-content: center;
    align-items: center;
}
#hp-hero-navtab .nav-link{
    color: #030302;
    background: #eeeeee;
    border-bottom: 2px solid #1a1a1a;
}
#hp-hero-navtab .nav-link:hover{
    color: #EEAF00;
    background: #eeeeee;
    border-bottom: 2px solid #1a1a1a;
}
#hp-hero-navtab .nav-link.active{
    color: #EEAF00;
    background: #f4dfd7;
    border-bottom: 2px solid #EEAF00;
}
#tab-hero-section{
    border-radius: 10px;
    background: #fff;
    padding: 15px;
}
.title-section{
    margin-bottom: 20px;
    font-size: 42px;
    line-height: 48px;
}
.title-section-white{
    color:#fff;
}
.tlt-blue{
    color: #0539ce;
}
#section-category, #section-pneumatici{
    padding: 60px 15px;
}

#Questions-accordion{
    background-color: #267cf014;
    border: 1px solid #B7B7B7BA;
    border-radius: 16px;
    padding: 16px 32px;
}
#Questions-accordion .accordion-item, .bg-qst-accordion{
    background: transparent;
}
#Questions-accordion .accordion-button{
    background: #eef5fe;
}
.box-category{
    border-radius: 14px;
    overflow: hidden;
    border: 2px solid #2125292e;
}
.box-category img{
    opacity: 0.7;
}
.box-category:hover img{
    opacity: 1;
}
.box-category .box-category-title{
    padding: 10px 5px;
    font-size: 20px;
    line-height: 24px;
    font-weight: 600;
    font-family: 'Oswald';
    color: #ffffff;
    background: #033470;
}
#scelta-per-misura{
    background: url(/img/cms/homepage/bg-scelta-misura.webp);
    padding: 60px 15px;
}
#scelta-per-misura > div > div.row > div{
    background: #ffffff0a;
    border-radius: 100%;
    padding: 12px 15px;
}
#scelta-per-brand{
    background-image: url(/img/cms/product-page/background-product.webp);
    padding: 60px 15px;
}
#scelta-per-brand .title-section{
  color: #fff;
}
#scelta-per-brand > div > div.row > div{
    border-radius: 100%;
    padding: 12px 15px;
}
#scelta-per-brand ul > a {
    border: 1px solid #4f4f4f;
    border-radius: 4px;
    text-align: center;
    margin-bottom: 15px;
    display: block;
    color: #fff;
    background: #5c5c5ce6;
    padding: 10px 2px;
    font-weight: 600;
    font-size: 16px;
    line-height: 20px;
    text-transform: uppercase;
}
#scelta-per-brand ul > a:hover{
    background: #EEAF00;
    color:#212121;
}
.tlt-clm-evidenza{
    margin-bottom: 10px;
    border-bottom: 1px solid #eeeeee9e;
    padding-bottom: 10px;
}
.tlt-clm-brand{
    margin-bottom: 10px;
    border-bottom: 1px solid #2125299e;
    padding-bottom: 10px;
    color:#fff;
}
#scelta-per-misura ul > a {
    border: 1px solid #4f4f4f;
    border-radius: 4px;
    text-align: center;
    margin-bottom: 15px;
    display: block;
    color: #fff;
    background: #4645457a;
    padding: 10px 2px;
    font-weight: 600;
    font-size: 16px;
    line-height: 20px;
}
#scelta-per-misura ul > a:hover{
    background: #EEAF00;
    color:#212121;
}

.hp-box-category{
    border: 1px solid #c1c1c1;
    border-radius: 10px;
}
.hp-box-category:hover{
    border: 1px solid #EEAF00;
}

.hp-category-title{
    font-size: 16px;
    line-height: 22px;
    font-weight: 600;
    color: #1a1a1a;
    padding: 10px 5px;
    background: #0f0f0f05;
    border-radius: 0px 0px 8px 8px;
}
.hp-box-category:hover .hp-category-title{
    color:#EEAF00;
    text-decoration: underline;
}
.hp-category-icon{
    object-fit: contain;
    border-radius: 8px 8px 0px 0px;
}
#featured-sizes{
    background: radial-gradient(circle,rgba(37, 37, 37, 1) 0%, rgba(0, 0, 0, 1) 99%);
    padding-top: 40px;
    padding-bottom: 40px;
}
#featured-sizes a{
    color:#ffffff;
}
#featured-sizes a:hover{
    color:#EEAF00;
    text-decoration: underline;
}
#featured-sizes .icon-misura,
#scelta-per-misura .icon-misura,
#scelta-per-brand .icon-misura {
    width: 13px;
    height: 13px;
    vertical-align: middle;
    filter: invert(1);
    position: relative;
    margin-right: 3px;
}
#featured-sizes li,
#scelta-per-misura li,
#scelta-per-brand li {
    display: flex;
    align-items: center;
    justify-content: center;
}
#about-us{
    padding-top: 40px;
    padding-bottom: 40px;
}
#faq-domande{
    padding-top: 40px;
    padding-bottom: 40px;
}
#section-newsletter{
    padding-top: 40px;
    padding-bottom: 40px;
}
#features-section{
    padding-top: 40px;
    padding-bottom: 40px;
}
#contact-section{
    padding-top: 40px;
    padding-bottom: 40px;
}
.hp-pneumatici-banner{
    height: 500px!important;
    background-repeat: no-repeat!important;
    background-size: cover!important;
    padding: 15px;
}
.hp-pneumatici-banner > div{
    height: 100%;
}
.hp-pneumatici-banner{
    background-position: center;
}
.hp-pneumatici-banner:hover{
    background-size: 130% linear !important;
    -webkit-transition: all 0.3s ease-in;
    background-position: center;
}
.hp-pneumatici-invernali{
    background: url(/img/cms/homepage/pneumatici-invernali.webp);
}
.hp-pneumatici-allseason{
    background: url(/img/cms/homepage/pneumatici-allseason.webp);
}
.hp-pneumatici-estivi{
    background: url(/img/cms/homepage/pneumatici-estivi.webp);
}

.category-section{
    padding-top: 30px;
    padding-bottom: 30px;
}
.tlt-white, .txt-white{
    color:#fff;
}
.btn-white{
    background: #fff;
    color: #333;
}

@media (max-width: 576px) {
    .carousel-item > div {
        height: 500px !important;
    }
}
@media (min-width: 577px) and (max-width: 991px) {
    .carousel-item > div {
        height: 400px !important;
    }
}


/* HEADING SHADOW TITLE*/
.shadow-hofferte:before{
    content: 'OFFERTE DEL MESE';
    position: absolute;
    bottom: -18px;
    font-size: 65px;
    line-height: 80px;
    opacity: .05;
    text-transform: uppercase;
    font-weight: 700;
    white-space: nowrap;
}
.shadow-hfaq:before{
    content: 'DOMANDE FREQUENTI';
    position: absolute;
    bottom: -18px;
    font-size: 65px;
    line-height: 80px;
    opacity: .05;
    text-transform: uppercase;
    font-weight: 700;
    white-space: nowrap;
    transform: translateX(-50%);
    left: 50%;
}
.shadow-hbrand:before{
    content: 'BRAND';
    position: absolute;
    bottom: -18px;
    font-size: 65px;
    line-height: 80px;
    opacity: .05;
    text-transform: uppercase;
    font-weight: 700;
    white-space: nowrap;
}
.shadow-hscelta:before{
    content: 'PERCHÈ SCEGLIERCI';
    position: absolute;
    bottom: -18px;
    font-size: 65px;
    line-height: 80px;
    opacity: .05;
    text-transform: uppercase;
    font-weight: 700;
    white-space: nowrap;
    transform: translateX(-50%);
    left: 50%;
}



/******* FOOTER ********/
#copyright{
    font-family: 'Manrope';
    font-weight: 400;
    font-size: 12px;
    line-height: 28px;
    color: #F8F8F8;
    padding-top: 0 !important;
}
.footer .footer__main{
    background: #041E41;
}
.footer .footer__block__title{
    border-bottom: 1px solid;
}
.footer .copyright{
    font-size: 12px;
    color:#e8e8e8!important;
}
.footer .footer__block__content-contact a{
    text-decoration: underline;
}
/* Footer email link */
#ps-footer .footer-email-link {
    font-family: 'Manrope';
    font-weight: 500;
    font-size: 16px;
    line-height: 28px;
    color: #F8F8F8 !important;
    text-decoration: underline;
    text-decoration-style: solid;
}
#ps-footer .footer-email-link:hover {
    color: #EEAF00 !important;
}
#ps-footer .footer-email-icon {
    color: #F8F8F8;
    font-size: 18px;
    min-width: 17px;
    flex-shrink: 0;
    position: relative;
    top: 3px;
}
#ps-footer .footer-email-item {
    margin-top: 20px;
    display: flex;
    align-items: center;
}
/* Footer recycle item */
#ps-footer .footer-recycle-item {
    display: flex;
    align-items: flex-start;
}
#ps-footer .footer-recycle-icon {
    color: #F8F8F8;
    width: 18px;
    height: 20px;
    font-size: 18px;
    flex-shrink: 0;
    line-height: 28px;
}
#ps-footer .footer-recycle-text {
    font-family: 'Manrope';
    font-weight: 400;
    font-size: 16px;
    line-height: 28px;
    color: #F8F8F8;
}
.footer .footer__block__content-list a:hover, .footer .footer__block__content-contact a:hover{
    color:#EEAF00;
}
.tlt-footer{
    font-family: 'Oswald', sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 28px;
    color: #F8F8F8;
    text-transform: uppercase;
}
/****FOOOTER*/
:root {
    --orange: #EEAF00;
    --dark-bg: #041E41;
}

#ps-footer {
    font-size: 0.9rem;
    line-height: 1.6;
    box-shadow: #00000024 0px -1px 4px;
    padding-top: 30px;
    border-top: 1px solid #cccccc;
    background: #041E41;
}
#ps-footer > .container > .row {
    --bs-gutter-x: 3rem;
}
#ps-footer .footer-payment-row {
    border-top: 1px solid #FFFFFF5C;
    padding-top: 30px;
    padding-bottom: 20px;
    text-align: center;
}
#ps-footer .footer-payment-img {
    max-width: 100%;
    height: auto;
}

#ps-footer h5 {
    color: #fff;
    margin-bottom: 1rem;
}

#ps-footer h6 {
    color: #fff;
    margin-bottom: 1rem;
}

#ps-footer a {
    font-family: 'Manrope';
    font-weight: 400;
    font-size: 16px;
    line-height: 28px;
    color: #F8F8F8;
    text-decoration: none;
}

#ps-footer a:hover {
    color:#EEAF00;
    text-decoration: underline;
}

#ps-footer .social-icons a {
    font-size: 1.2rem;
    margin-right: 0.75rem;
}

.btn-orange {
    background: #EEAF00;
    color: #fff;
    border: none;
    padding: 0.5rem 1rem;
}

.btn-orange:hover {
    text-decoration: underline;
}
.btn-blue{
    background: #023470!important;
    color: #fff!important;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
}
#ps-footer .form-control {
    max-width: 250px;
}

#ps-footer .border-top {
    border-color: #e0e0e0 !important;
}

#ps-footer .bg-dark {
    background-color: var(--dark-bg) !important;
}

@media (max-width: 767px) {
    #ps-footer {
        padding-top: 0;
    }
    #ps-footer .form-control {
        max-width: 100%;
    }
}







/* CATEGORY-PAGE */
#subcategories{
    display: none;
}

#category .category-widget-container{
    margin-bottom: 64px;
}




/* FILTER */
#search_filters_wrapper{
    background: #f4f4f4;
    padding: 20px 10px;
    border-radius: 20px;
}
#search_filters_wrapper .accordion-item, #search_filters_wrapper .accordion-button{
    background-color: #f4f4f4;
}
.search-filters .search-filters-title{
    font-size: 16px;
    text-transform: uppercase;
    border-bottom: 1px solid;
    width: 100%;
}
#amazzing_filter{
    background: #f4f4f4;
    padding: 20px 10px;
    border-radius: 10px;
}
.selectedFilters.inline .cf{
    border-radius: 20px;
    background: #EEAF004a;
    border: 1px solid #EEAF00;
    color: #1d1d1d;
}
.selectedFilters .cf a{
    opacity: 1;
    color:#1d1d1d;
}
.selectedFilters.inline .clearAll{
    color: red;
    background: #f4f4f4;
}
.selectedFilters .clearAll a{
    color: #be3636;
}
.selectedFilters .clearAll .txt:hover{
    text-decoration: underline;
}
.qsInput{
    background: #fff;
    border: 1px solid #c1c1c1;
    border-radius: 20px;
}
.toggle-cut-off span{
    padding: 0px 10px;
    background: #f4f4f4;
    color: #212121;
    font-weight: 700;
    text-transform: uppercase;
}





/* QUANTITY BUTTONS */

/* ADD TO CART BUTTON */
.product-add-to-cart button.add-to-cart,
.product-miniature button.btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 10px 12px;
    border-radius: 5px;
    background: #298D2B;
    border: 1px solid #298D2B;
    cursor: pointer;
    max-height: 44px;
    box-shadow: 1px 2px 4px 0px #00000021;
}
.product-add-to-cart button.add-to-cart:hover,
.product-miniature button.btn-primary:hover {
    background: #20ad23 !important;
    border-color: #20ad23;
}
.product-add-to-cart button.add-to-cart:hover i.material-icons,
.product-miniature button.btn-primary:hover i.material-icons,
.product-add-to-cart button.add-to-cart:hover i.fa-solid,
.product-miniature button.btn-primary:hover i.fa-solid {
    color: #fff;
}
.product-add-to-cart button.add-to-cart:hover span,
.product-miniature button.btn-primary:hover span {
    color: #fff;
}
.product-add-to-cart button.add-to-cart i.material-icons,
.product-miniature button.btn-primary i.material-icons,
.product-add-to-cart button.add-to-cart i.fa-solid,
.product-miniature button.btn-primary i.fa-solid {
    width: 21px;
    height: 21px;
    font-size: 18px;
    color: #fff;
    margin: 0;
}

.product-add-to-cart button.add-to-cart span,
.product-miniature button.btn-primary span {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 18px;
    text-align: center;
    text-transform: uppercase;
    color: #fff;
}

/* Bottoni categoria - sfondo blu e testo bianco */
.product-miniature button.btn-primary {
    background: #023470;
    border-color: #023470;
    padding: 10px 12px;
    flex-grow: 1 !important;
}

.product-miniature .quantity-button {
    flex: 0 0 auto;
}
.product-miniature .quantity-button .input-group {
    width: auto;
    height: 2.375rem;
    align-items: center;
}
.product-miniature .quantity-button button {
    width: 1.5rem !important;
    min-width: 1.5rem !important;
    height: 2.375rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-miniature .quantity-button input {
    max-width: 2rem !important;
    height: 2.375rem;
    padding: 0 !important;
}
.product-miniature form button[data-button-action="add-to-cart"] {
    flex: 1 !important;
    height: 2.375rem;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.product-actions__quantity .input-group {
    width: auto;
    height: 2.75rem;
    align-items: center;
}
.product-actions__quantity button {
    width: 1.5rem !important;
    min-width: 1.5rem !important;
    height: 2.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-actions__quantity input {
    max-width: 2.5rem !important;
    height: 2.75rem;
    padding: 0 !important;
    text-align: center;
}
.product-add-to-cart .add-to-cart {
    height: 2.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-miniature form {
    flex-wrap: nowrap !important;
}
.product-miniature button.btn-primary i.material-icons,
.product-miniature button.btn-primary i.fa-solid {
    color: #FFFFFF;
}
.product-miniature button.btn-primary span {
    color: #FFFFFF;
}

/* PRODUCT - LIST */
.product-miniature .card{
    border: 1px solid #e4e4e4;
    border-radius: 20px;
}
.product-miniature .card:hover{
    box-shadow: 0px 1px 3px #00000025;
}
.product-miniature .product-miniature__image-container{
    border-radius: 20px 20px 0px 0px;
}
.product-miniature .product-miniature__title{
    font-family: 'Manrope';
    font-weight: 600;

    font-size: 18px;
    line-height: 24px;
    color: #030302;
    min-height: 72px;
}
.product-miniature .product-miniature__price{
    font-family: 'Roboto', sans-serif;
    font-weight: 800;
    font-style: normal;
    font-size: 20px;
    line-height: 100%;
    text-align: center;
    margin-top: 4px;
}
.badge.new{
    background: #023470;
    color: #cacaca;
}
#hos-feature-container-right{
    position: relative;
    border-bottom: none !important;
    align-items: center;
    padding: 0 !important;
    margin-bottom: 19px;
}
#hos-feature-container-right .hos-feature-product-container {
    border-radius: 0px 5px 5px 0px;
    max-width: 60px;
}
#hos-feature-container-right .hos-feature-product-container > span {
    padding: 2px 4px;
    display: flex;
    align-items: center;
    width: 100%;
    text-align: left;
}
#hos-feature-container-right .hos-feature-product-container i {
    display: inline-block;
    width: 22px;
    height: 22px;
    font-size: 20px;
    margin-right: 8px;
}
.hos-feature-product-container span {
    color: #030302;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 4px;
    border-radius: 5px;
    padding: 0px;
}
#hos-feature-container-right .hos-decibel > span {
    display: flex;
    align-items: center;
}
#hos-feature-container-right .hos-stagione i {
    margin-right: 0;
}
#hos-feature-container-right .hos-consumo i {
    margin-right: 1px;
}
#hos-feature-container-right .hos-aderenza i {
    margin-right: 0;
}
#hos-feature-container-right .hos-decibel-unit {
    font-size: 11px;
    margin-left: 2px;
    margin-bottom: -5px;
}
#hos-feature-container-right .hos-consumo span.consumo-value {
    padding: 2px 8px 2px 6px;
    border-radius: 0 3px 3px 0;
    font-weight: 600;
    display: inline-block;
    margin-left: 8px;
    position: relative;
}
#hos-feature-container-right .hos-consumo span.consumo-value::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 12px 6px 12px 0;
}
#hos-feature-container-right .hos-consumo span.consumo-A {
    background: #00a652;
    color: #ffffff;
}
#hos-feature-container-right .hos-consumo span.consumo-A::before {
    border-color: transparent #00a652 transparent transparent;
}
#hos-feature-container-right .hos-consumo span.consumo-B {
    background: #9ac93c;
    color: #ffffff;
}
#hos-feature-container-right .hos-consumo span.consumo-B::before {
    border-color: transparent #9ac93c transparent transparent;
}
#hos-feature-container-right .hos-consumo span.consumo-C {
    background: #fef100;
    color: #000000;
}
#hos-feature-container-right .hos-consumo span.consumo-C::before {
    border-color: transparent #fef100 transparent transparent;
}
#hos-feature-container-right .hos-consumo span.consumo-D {
    background: #fcb914;
    color: #000000;
}
#hos-feature-container-right .hos-consumo span.consumo-D::before {
    border-color: transparent #fcb914 transparent transparent;
}
#hos-feature-container-right .hos-consumo span.consumo-E {
    background: #ed1b24;
    color: #000000;
}
#hos-feature-container-right .hos-consumo span.consumo-E::before {
    border-color: transparent #ed1b24 transparent transparent;
}

/* Aderenza styling with arrow */
#hos-feature-container-right .hos-aderenza span.aderenza-value {
    padding: 2px 8px 2px 6px;
    border-radius: 0 3px 3px 0;
    font-weight: 600;
    display: inline-block;
    margin-left: 1px;
    position: relative;
    text-transform: uppercase;
}
#hos-feature-container-right .hos-aderenza span.aderenza-value::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 12px 6px 12px 0;
}
#hos-feature-container-right .hos-aderenza span.aderenza-A {
    background: #0066b3;
    color: #ffffff;
}
#hos-feature-container-right .hos-aderenza span.aderenza-A::before {
    border-color: transparent #0066b3 transparent transparent;
}
#hos-feature-container-right .hos-aderenza span.aderenza-B {
    background: #0081c5;
    color: #ffffff;
}
#hos-feature-container-right .hos-aderenza span.aderenza-B::before {
    border-color: transparent #0081c5 transparent transparent;
}
#hos-feature-container-right .hos-aderenza span.aderenza-C {
    background: #4ba6dd;
    color: #ffffff;
}
#hos-feature-container-right .hos-aderenza span.aderenza-C::before {
    border-color: transparent #4ba6dd transparent transparent;
}
#hos-feature-container-right .hos-aderenza span.aderenza-D {
    background: #75bee9;
    color: #000000;
}
#hos-feature-container-right .hos-aderenza span.aderenza-D::before {
    border-color: transparent #75bee9 transparent transparent;
}
#hos-feature-container-right .hos-aderenza span.aderenza-E {
    background: #abe1fb;
    color: #000000;
}
#hos-feature-container-right .hos-aderenza span.aderenza-E::before {
    border-color: transparent #abe1fb transparent transparent;
}


/* PRODUCT-PAGE */
.page-product .breadcrumb {
    margin-bottom: 44px;
}
.page-product .breadcrumb-item,
.page-product .breadcrumb-item a,
.page-product .breadcrumb-item span {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0;
    color: #2D2D2D;
}
.thumbnails__container .thumbnail.active img{
    border: 1px solid #858383;
}
.thumbnails__container .thumbnail img{
    border: 1px solid #c1c1c1;
}
.page-product .product__name{
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    font-size: 28px;
    line-height: 34px;
    letter-spacing: 0;
    margin-bottom: 17px;
}
.hos-product-info-code{
    margin-bottom: 15px;
    column-gap: 15px;
}
.hos-feature-product-container.hos-infostagione span{
    font-weight: 400;
}
#hos-feature-container .hos-label-info{
    margin-left: auto;
    font-size: 16px;
    font-weight: 300;
    text-decoration: underline;
}
#hos-feature-container{
    display: flex;
    gap: 12px;
    margin-top: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}
.hos-ean-code span:nth-child(1), .hos-dot-code span:nth-child(1) {
    font-weight: 600;
}
.wishlist-button-add{
    box-shadow: initial!important;
}
.product-feature-txt{
    padding: 0px 6px;
    border-radius: 2px;
    font-size: 12px;
    line-height: 24px;
    font-weight: 500;
    color: #fff;
    margin-left: 2px;
}
.product-feature-txt.class-vol{
    color:#222020;
}
.div-feature i{
    font-size: 19px;
    color: #1a1a1a;
}
.div-feature .class-a{
    background:#1d8736;
}
.div-feature .class-b{
    background:#58a731;
}
.div-feature .class-c{
    background:#d3d100;
}
.div-feature .class-d{
    background:#fee902;
}
.div-feature .class-e{
    background:#f6ba00;
}
.div-feature .class-f{
    background:#e5630d;
}
.div-feature .class-at{
    background:#1466b3;
}
.div-feature .class-bt{
    background:#1c80c6;
}
.div-feature .class-ct{
    background:#4ba6dd;
}
.div-feature .class-dt{
    background:#75bee9;
}
.div-feature .class-et{
    background:#abe1fa;
}
.div-feature .class-ft{
    background:#d1e7f3;
}



/* BUTTON */
.btn-link{
    color: #030302;
}
.btn-link:hover{
    color: #EEAF00;
}
.btn-primary{
    background: linear-gradient(90deg,rgba(0, 0, 0, 1) 0%, rgba(37, 37, 37, 1) 50%);
    border: 1px solid #030302;
}
.btn-primary:hover{
    background: #252525;
}



/*FONT*/
body{
    font-family: 'Manrope'!Important;
}



/*15-07-25*/
/* Container background */
.features-section {
    background-color: #f8f9fa;
}

/* Icon wrapper */
.features-section .icon {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #e9f2ff;
    border-radius: 0.75rem;
}

/* Different color variants */
.features-section .icon-green {
    background-color: #e6ffed;
}
.features-section .icon-yellow {
    background-color: #fff8e1;
}
.features-section .icon-purple {
    background-color: #f3e8ff;
}
.features-section .icon-blue {
    background-color: #e8ecff;
}
.features-section .icon-red {
    background-color: #ffe8e8;
}

/* Icon styling */
.features-section .icon i {
    font-size: 1.5rem;
    color: #EEAF00;
}

/* Card adjustments */
.features-section .card {
    border-radius: 1rem;
    transition: transform 0.2s ease;
    border: 1px solid #d5d5d5 !important;
}
.features-section .card:hover {
    transform: translateY(-4px);
}

/* Sezione call-to-action */
.cta-section {
    background-color: #023470;
    border-radius: 1rem;
    max-width: 1290px;
    margin: 40px auto;
}

/* Titolo e testo */
.cta-section h2 {
    font-size: 2rem;
    font-weight: 700;
}
.cta-section p {
    font-size: 1rem;
}

/* Pulsanti */
.cta-section .btn-primary {
    background: #EEAF00;
    border-color: #EEAF00;
    border-radius: 30px;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}
.cta-section .btn-primary:hover {
    background-color: #EEAF00;
    border-color: #EEAF00;
}
.cta-section .btn-outline-light {
    border-width: 2px;
    border-radius: 30px;
}
.cta-section .btn-outline-light:hover {
    background: #fff;
    color:#1d1d1d;
}

/* Sezione Marchi Partner */
.partners-section {
    background-color: #023470;
}
.partners-section h2,
.partners-section p,
.partners-section p {
    color: #ffffff;
}

/* Carousel */
#partnersCarousel .carousel-item {
    transition: transform 0.5s ease-in-out;
}
#partnersCarousel .card {
    border-radius: 1rem;
    padding: 1rem;
}
#partnersCarousel .card img {
    max-height: 60px;
    object-fit: contain;
}
#partnersCarousel .card hr {
    border-color: #e0e0e0;
    opacity: 0.5;
}

/* Controlli carousel */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(1);
}

/* Statistiche */
.partners-section .display-6 {
    font-weight: 700;
}
.partners-section p {
    color: #cccccc;
    font-size: 0.9rem;
}

/* Hero section */
.hero-section {
    height: 80vh;
    overflow: hidden;
}
/* Left pattern background */
.hero-section .hero-content {
    flex: 0 0 50%;
    background: url('../img/pattern-grid.svg') repeat;
    border-top-right-radius: 2rem;
    border-bottom-right-radius: 2rem;
}
/* Logo styling */
.hero-section .logo i {
    font-size: 1.5rem;
    color: #EEAF00;
}
.hero-section .logo span {
    font-weight: 700;
    color: #EEAF00;
}
/* Titles */
.hero-section h1 {
    font-weight: 700;
}
/* Image half */
.hero-section .hero-image {
    flex: 0 0 50%;
}
.hero-section .hero-image img {
    object-fit: cover;
}
/* Carousel controls */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: brightness(0) invert(1);
}
/* Indicators */
.carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    background-color: #888;
}
.carousel-indicators .active {
    background-color: #EEAF00;
}

/*--------------------------HOMEPAGE--------------------------*/
.container-sceltagomme{
    max-width: 1140px;
}
#index #faq-domande div.nav-pills{
    background: #f1f1f1;
    padding: 15px;
    border-radius: 15px;
}
#index #faq-domande div.nav-pills button.nav-link{
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    font-weight: 500;
}
#index #faq-domande div.nav-pills button.nav-link:hover{
    color: #EEAF00;
}
#index #faq-domande div.nav-pills button.nav-link.active{
    color: #EEAF00;
    background: #EEAF0021;
}
#index #faq-domande h4.title-faq{
    font-size: 18px;
    line-height: 20px;
}

#index #herosection > div{
    background-image: url('/img/cms/homepage/main-slide.webp');
    background-size: cover;
    background-position: center;
    height: 500px;
}

@media (max-width: 960px) {
    #index #herosection > div {
        min-height: 680px;
    }
    #index #herosection .container-sceltagomme{
        padding-top: 20px;
        padding-bottom: 20px;
    }
}


/*--------------------------PRODUCT LIST--------------------------*/
#hos-feature-container-right .hos-stagione .estivi{
    background:#feeaac;
}
#hos-feature-container-right .hos-stagione .invernali{
    background:#d4f4f7;
}
#hos-feature-container-right .hos-stagione .allseason{
    background:#dcf7d4;
}


/*--------------------------PRODUCT PAGE--------------------------*/
#product #product-images .carousel-item img{
    border: 1px solid #c1c1c1;
    border-radius: 8px;
}
#product .nav-tabs .nav-link, .nav-pills .nav-link {
    font-family: 'Manrope';
    font-weight: 500;
    font-style: normal;
    font-size: 16px;
    line-height: 20.5px;
    letter-spacing: 0;
    color: #000000;
    background: #FFFFFFB5;
    margin-right: 7px;
    text-transform: uppercase;
    padding: 10px 15px;
    transition: all 0.2s ease;
    border: none;
    border-radius: 20px 20px 0 0;
}
#product .nav-tabs .nav-link:last-child {
    margin-right: 0;
}
#product .nav-tabs .nav-link:hover, .nav-pills .show>.nav-link:hover{
    color: #EEAF00;
    text-decoration: underline;
    text-decoration-style: solid;
}
#product .nav-tabs .nav-link.active, .nav-pills .show>.nav-link.active{
    font-weight: 700;
    color: #EEAF00;
    text-decoration: underline;
    text-decoration-style: solid;
    background: #FFFFFF;
    border: none;
    border-radius: 20px 20px 0 0;
}
#product #nav-tabContent .tab-content>.tab-pane{
    background: #f8f8f8;
    font-size: 16px;
    line-height: 20px;
    font-weight: 500;
    color:#1d1d1d;
}
.container-strech{
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding-top: 20px;
    padding-bottom: 20px;
    box-sizing: border-box;
}
.strech-product{
    /*background-image: url(/img/cms/product-page/background-product.webp);*/
    background: #E2E9F1;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    margin-top: 10px;
    padding-top: 60px!important;
    padding-bottom: 60px!important;
}
.action-product-section{
    background: #f8f8f8;
    border-radius: 10px;
    padding: 16px 20px;
    border: 2px solid #ededed;
}

.ecofriendly-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 16px;
    margin: -16px -21px 16px -21px;
    font-family: 'Manrope';
    font-weight: 500;
    font-size: 16px;
    line-height: 100%;
    color: #FFFFFF;
    text-align: center;
    background-color: #041e41;
    border-radius: 10px 10px 0 0;
}
.ecofriendly-banner i {
    width: 17.76px;
    height: 20.1px;
    font-size: 18px;
    color: #FFFFFF;
}
.ecofriendly-banner span {
    color: #FFFFFF;
}
.ecofriendly-banner h4 {
    font-family: 'Manrope';
    font-weight: 500;
    font-size: 16px;
    line-height: 100%;
    color: #FFFFFF;
    text-align: center;
    margin-bottom: 0;
}

.page-product .product__current-price {
    font-family: 'Manrope';
    font-weight: 700;
    font-size: 38px;
    line-height: 100%;
    letter-spacing: 0;
    color: #C82929;
}
.page-product .product__tax-label-inline {
    font-family: 'Manrope';
    font-weight: 400;
    font-size: 12px;
    line-height: 100%;
    letter-spacing: 0;
    color: #000000;
    margin-left: 8px;
}
.page-product .product__prices .prz-unit{
    font-weight: 400;
    font-size: 12px;
    color: #000000;
    margin-left: 8px;
}
.prz-unit-card{
    font-weight: 400;
    font-size: 12px;
    color: #000000;
    margin-left: 8px;
}
.page-product .product__discount {
    display: flex;
    align-items: center;
}
.page-product .product__discount-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    color: #C82929;
    border: 1px solid #C82929;
    font-family: 'Manrope';
    font-weight: 400;
    font-size: 17px;
    padding: 4px 8px;
    border-radius: 4px;
    margin-left: 8px;
}
.page-product .product__prices .d-flex.align-items-baseline {
    margin-bottom: 15px;
}
.page-product .product__tax-info {
    margin-bottom: 0;
}
.page-product .product-add-to-cart .row.g-2 {
    margin-bottom: 22px;
}

/* Product benefits list */
.product-benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}
.product-benefit-item {
    display: flex;
    align-items: center;
    gap: 7px;
}
.product-benefit-item i {
    width: 18.1px;
    height: 16.95px;
    font-size: 17px;
    color: #6BC26F;
}
.product-benefit-item span {
    font-family: 'Manrope';
    font-weight: 400;
    font-size: 17px;
    line-height: 100%;
    letter-spacing: 0;
    color: #000000;
}
.page-product .product__ecotax-price {
    font-family: 'Manrope';
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0;
    color: rgba(0, 0, 0, 0.52);
}

.product-payment-methods {
    margin-bottom: 20px;
}
.page-product .product__add-to-cart {
    margin-bottom: 0 !important;
}
.product-payment-methods .product-payment-img {
    display: block;
}
#product .tab-content>.active{
    background: #fff;
    padding: 15px;
    border-radius: 0px 20px 20px 20px;
    min-height: 80px;
}
.tipo-veicolo{
    margin-left: 10px;
}
.features-top{
    margin-top:20px;
}
.features-top li.detail{
    padding: 7px 15px;
}

<!-- -->

/* Grid responsive */
.macrogrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(12px, 2vw, 24px);
}

@media (max-width: 992px) {
    .macrogrid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
    .macrogrid { grid-template-columns: 1fr; }
}

/* Card */
.macrocard {
    position: relative;
    display: block;
    overflow: hidden;            /* evita che l’immagine “esca” */
    aspect-ratio: 1 / 1;        /* mantiene il box stabile */
    border-radius: 12px;
    text-decoration: none;
    isolation: isolate;
}
.hp-pneumatici-title{
    font-family: 'Oswald';
    text-transform: uppercase;
}
/* Immagine */
.macrocard img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);         /* base */
    transition: transform 0.45s ease;
    will-change: transform;
}

/* Overlay nero + testo sopra */
.macrocard__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);   /* overlay visibile di default */
    transition: opacity 0.35s ease;
    z-index: 1;
}

.macrocard__title {
    position: absolute;
    inset-inline: 16px;
    bottom: 30px;
    text-align: center;
    z-index: 2;
    margin: 0;
    color: #fff;
    letter-spacing: 0.2px;
    text-shadow: 0 2px 10px rgba(0,0,0,.35);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Hover: togli overlay e testo, mostra la foto “pulita” + zoom */
.macrocard:hover .macrocard__overlay { opacity: 0; }
.macrocard:hover .macrocard__title   { opacity: 0; transform: translateY(6px); }
.macrocard:hover img                 { transform: scale(1.08); }

/* Accessibilità: riduci animazioni se preferito dall'utente */
@media (prefers-reduced-motion: reduce) {
    .macrocard img,
    .macrocard__overlay,
    .macrocard__title {
        transition: none;
    }
}

/* PAGINATION */
.pagination--custom {
    gap: 10px;
}
.pagination--custom .page-item {
    margin: 0;
}
.pagination--custom .page-link {
    font-family: 'Hind', sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 18px;
    color: #C3C3C3;
    border: 1px solid #E7E7E7;
    border-radius: 3px !important;
    padding: 10px;
    min-width: 40px;
    text-align: center;
    background: transparent;
}
.pagination--custom .page-link:hover {
    background: #fff7f2;
    border-color: #EEAF00;
}
.pagination--custom .page-item.active .page-link {
    border: 1px solid #EEAF00;
    background: transparent;
    color: #EEAF00;
}
.pagination--custom .page-item.disabled .page-link {
    color: #9C9C9C;
    border-color: transparent;
}
/* Override Bootstrap pagination styles */
.pagination--custom .page-item:first-child .page-link,
.pagination--custom .page-item:last-child .page-link {
    border-radius: 3px !important;
}
.pagination--custom .page-item + .page-item .page-link {
    margin-left: 0;
}

/* DESCRIPTION */
.description-container {
    margin-top: 20px;
    padding: 20px 0;
}
.description-content p {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    line-height: 100%;
    color: #030302;
    margin-bottom: 0;
}

/* PAGE TITLE */
.page-title-section {
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 28px;
    line-height: 100%;
    color: #2D2D2D;
    text-transform: uppercase;
}

.product-features-title {
    font-family: 'Manrope';
    font-weight: 700;
    font-style: normal;
    font-size: 16px;
    line-height: 20.5px;
    letter-spacing: 0;
    color: #000000;
    text-transform: uppercase;
    margin-bottom: 0;
    padding-bottom: 10px;
}

.product-tech-features {
    list-style: none;
    padding: 0;
    margin: 0;
}
.product-tech-features .tech-feature-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #E7E7E7;
}
.product-tech-features .tech-feature-item:last-child {
    border-bottom: none;
}
.product-tech-features .tech-feature-name {
    font-family: 'Manrope';
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    line-height: 20.5px;
    letter-spacing: 0;
    color: #000000;
}
.product-tech-features .tech-feature-value {
    font-family: 'Manrope';
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    line-height: 20.5px;
    letter-spacing: 0;
    color: #000000;
    text-align: right;
}

.tech-features-view-all {
    text-align: center;
    margin-top: 18px;
}
.tech-features-view-all .view-all-link {
    font-family: 'Manrope';
    font-weight: 600;
    font-style: normal;
    font-size: 14px;
    line-height: 20.5px;
    letter-spacing: 0;
    color: #000000;
    text-decoration: underline;
    text-decoration-style: solid;
}
.tech-features-view-all .view-all-link:hover {
    color: #EEAF00;
}

.product-tabs-row {
    display: flex;
    flex-wrap: nowrap;
    gap: 21px;
}
.product-tabs-col {
    flex: 1;
    min-width: 0;
}
.energy-label-col {
    flex: 0 0 451px;
    width: 451px;
}

.energy-label-box {
    background: #061d41;
    border-radius: 20px;
    padding: 0 46px 0 46px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
}
.energy-label-box .energy-label-img {
    max-width: 359px;
    max-height: 526px;
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}
.energy-label-box .energy-label-placeholder {
    background: #808080;
    max-width: 359px;
    max-height: 526px;
    width: 100%;
    height: 526px;
    border-radius: 10px;
}

.energy-label-title {
    font-family: 'Manrope';
    font-weight: 700;
    font-style: normal;
    font-size: 20px;
    line-height: 20.5px;
    letter-spacing: 0;
    color: #FFFFFF;
    margin-top: 17px;
    margin-bottom: 21px;
    text-align: center;
    text-transform: uppercase;
    white-space: nowrap;
}

.energy-label-info-link {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    margin-bottom: 18px;
    align-self: flex-start;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}
.energy-label-info-link i {
    color: #FFFFFF;
    width: 18px;
    height: 18px;
    font-size: 18px;
}
.energy-label-info-link span {
    font-family: 'Manrope';
    font-weight: 600;
    font-style: normal;
    font-size: 14px;
    line-height: 21px;
    letter-spacing: 0;
    color: #FFFFFF;
    text-decoration: underline;
    text-decoration-style: solid;
}
.energy-label-info-link:hover span {
    color: #EEAF00;
}

.product-same-spec-carousel h2 {
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    font-size: 28px;
    line-height: 100%;
    letter-spacing: 0;
    text-transform: uppercase;
    color: #2D2D2D;
}
.product-same-spec-carousel h3 {
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    font-size: 28px;
    line-height: 100%;
    letter-spacing: 0;
    text-transform: uppercase;
    color: #2D2D2D;
}
#same-spec-swiper .swiper-wrapper {
    align-items: stretch;
}
#same-spec-swiper .swiper-slide {
    height: auto;
}
#same-spec-swiper .swiper-slide .product-miniature {
    height: 100%;
    margin-bottom: 0;
}
#same-spec-swiper .swiper-slide .product-miniature .card {
    height: 100%;
    display: flex;
    flex-direction: column;
}
#same-spec-swiper .swiper-slide .product-miniature .card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}
#same-spec-swiper .swiper-slide .product-miniature .product-miniature__infos__bottom {
    margin-top: auto;
}
#same-spec-swiper .swiper-pagination {
    margin-top: 20px;
    position: relative;
}

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

@media (max-width: 767px) {
    .header-top {
        padding: 15px;
    }
    .header-top #desktop-header-container {
        padding-left: 0;
        padding-right: 0;
    }
    .header-top #desktop-header-container > .row {
        display: flex;
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: center;
        margin: 0;
    }

    .header-top .col-header-menu {
        order: 1;
        flex: 0 0 auto;
        width: auto;
    }
    .header-top .navbar-toggler {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        padding: 0;
        border: none;
        background: transparent;
    }
    .header-top .navbar-toggler-icon {
        width: 22.32px;
        height: 22.32px;
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23FFFFFF' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
        background-size: 100% 100%;
    }
    .header-top .navbar-toggler-text {
        font-family: 'Manrope';
        font-weight: 400;
        font-size: 16px;
        line-height: 100%;
        letter-spacing: 0;
        text-transform: uppercase;
        color: #FFFFFF;
    }

    .header-top .col-header-left {
        order: 2;
        flex: 1 1 auto;
        text-align: center;
    }
    .header-top .col-header-left #desktop_logo {
        display: inline-block;
    }
    .header-top .col-header-left .logo {
        max-width: 123.1px;
        max-height: 26.44px;
        height: auto;
    }

    .header-top .col-header-left,
    .header-top .col-header-menu,
    .header-top .col-header-right {
        padding-left: 0;
        padding-right: 0;
    }
    .header-top .col-header-right {
        order: 3;
        flex: 0 0 auto;
        width: auto;
    }
    .header-top .col-header-right > .row {
        gap: 6px;
        margin: 0;
        flex-wrap: nowrap;
    }
    .header-top .col-header-right > .row > [class*="col"] {
        padding: 0;
    }
    .header-top #_desktop_user_info .fa-user,
    .header-top #_desktop_user_info .fa-regular {
        width: 20px;
        height: 20px;
        font-size: 20px;
    }
    .header-top #_desktop_cart .fa-cart-shopping,
    .header-top #_desktop_cart .fa-light {
        width: 20px;
        height: 20px;
        font-size: 20px;
    }

    .header-block__badge {
        width: 17px;
        height: 19px;
        top: 1px;
        right: -10px;
    }

    .header-top .navbar-collapse {
        display: none !important;
    }

    .top-bar-text {
        font-weight: 400;
        font-size: 14px;
        color: #212121;
    }

    .box-category {
        margin-bottom: 15px;
    }

    #ps-footer .footer-email-item {
        display: flex;
        align-items: baseline;
    }
    #ps-footer .footer-email-icon {
        width: 21px;
        height: 15px;
        font-size: 20px;
        margin-right: 8px;
    }
    #ps-footer .footer-email-link {
        font-family: 'Manrope';
        font-weight: 500;
        font-size: 16px;
        line-height: 28px;
        letter-spacing: 0;
        color: #F8F8F8 !important;
        text-decoration: underline;
        text-decoration-style: solid;
    }

    #ps-footer .footer-recycle-item {
        display: flex;
        align-items: flex-start;
    }
    #ps-footer .footer-recycle-icon {
        width: 21px;
        height: 15px;
        font-size: 20px;
        margin-right: 8px;
        flex-shrink: 0;
    }
    #ps-footer .footer-recycle-text {
        font-family: 'Manrope';
        font-weight: 400;
        font-size: 16px;
        line-height: 28px;
        letter-spacing: 0;
        color: #F8F8F8;
    }

    #ps-footer > .container > .row > .col-12.col-md-3:first-child {
        margin-bottom: 15px !important;
    }

    #ps-footer h6 {
        margin-bottom: 0 !important;
    }

    #footerAccordion .accordion-button {
        font-family: 'Hind', sans-serif;
        font-weight: 600;
        font-size: 18px;
        line-height: 100%;
        letter-spacing: 0;
    }

    #footerAccordion .accordion-button::after {
        width: 18px;
        height: 15px;
        background-size: 18px 15px;
    }

    #footerAccordion .accordion-body ul li a {
        font-family: 'Manrope';
        font-weight: 300;
        font-size: 16px;
        line-height: 34px;
        letter-spacing: 0;
        color: #F8F8F8;
        text-decoration: underline;
        text-decoration-style: solid;
        margin-left: 5px;
    }
    #footerAccordion .accordion-body ul li a::before {
        content: '> ';
    }
    #footerAccordion .accordion-body ul li a:active {
        color: #EEAF00;
    }

    #footerAccordion .accordion-item:last-child {
        border-bottom: none;
    }

    #ps-footer .footer-payment-row {
        border-top: none;
        padding: 31px;
    }

    #footer #copyright .container {
        padding: 0 !important;
    }

    #copyright .text-center {
        font-family: 'Manrope';
        font-weight: 400;
        font-size: 12px;
        line-height: 16px;
        letter-spacing: 0;
        text-align: center;
        color: #F8F8F8;
        padding-bottom: 8px !important;
    }

    #faq-domande .col-md-5 h2.pb-4 {
        padding-bottom: 0 !important;
        margin-top: 5px;
    }
    #faq-domande .col-md-5 {
        text-align: center;
    }
    #faq-domande .col-md-5 p {
        margin-bottom: 5px;
    }
    #faq-domande .col-md-5 a.btn {
        margin-top: 5px !important;
        margin-bottom: 20px;
        font-size: 16px;
    }

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

    #faq-domande {
        padding-bottom: 0 !important;
    }

    .products.row .product-miniature {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
    }

    .product-miniature .card {
        display: grid;
        grid-template-columns: 30%;
        grid-template-rows: auto auto;
        grid-template-areas:
            "image info-top"
            "bottom bottom";
        border: 1px solid #e0e0e0;
        border-radius: 8px;
        overflow: hidden;
        padding: 10px;
    }

    .product-miniature .product-miniature__link {
        grid-area: image;
    }

    .product-miniature .product-miniature__image-container {
        width: 100%;
        height: auto;
    }

    .product-miniature .product-miniature__image {
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    .product-miniature .product-miniature__infos {
        display: contents;
    }

    .product-miniature .product-miniature__infos__top {
        grid-area: info-top;
        display: flex;
        flex-direction: column;
        padding: 0 !important;
    }

    .product-miniature .product-miniature__infos__top > a {
        order: -1;
    }

    .product-miniature .product-miniature__title {
        font-family: 'Manrope';
        font-size: 18px;
        font-weight: 600;
        line-height: 24px;
        letter-spacing: 0;
        color: #000000;
        margin-bottom: 8px;
    }

    .product-miniature #hos-feature-container-right {
        flex-wrap: nowrap !important;
        gap: 8px !important;
        padding: 5px 0 !important;
        margin-bottom: 0;
        font-size: 12px;
        order: 0;
        border-bottom: none !important;
    }

    .product-miniature .hos-feature-product-container {
        font-size: 11px;
    }

    .product-miniature .hos-feature-product-container i {
        font-size: 12px;
    }

    .product-miniature .product-miniature__infos__bottom {
        grid-area: bottom;
        padding-top: 5px;
    }

    .product-miniature .product-miniature__prices {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 8px;
        margin-bottom: 10px;
    }

    .product-miniature .product-miniature__price {
        font-family: Roboto;
        font-weight: 800;
        font-size: 20px;
        line-height: 100%;
        text-align: center;
        margin-top: 0;
        color: #242424;
    }

    .product-miniature .product-miniature__discount-price {
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .product-miniature .product-miniature__regular-price {
        font-size: 14px;
        color: #999;
        text-decoration: line-through;
    }

    .product-miniature .product-miniature__discount-badge,
    .product-miniature .badge.discount {
        background-color: #ff4444;
        color: #fff;
        font-size: 11px;
        font-weight: 600;
        padding: 2px 6px;
        border-radius: 4px;
    }

    .product-miniature form {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        gap: 8px !important;
        margin-top: auto;
        align-items: center !important;
    }

    .product-miniature .quantity-button {
        width: auto !important;
        flex: 0 0 auto;
    }

    .product-miniature form button[data-button-action="add-to-cart"] {
        flex: 1;
        padding: 10px 15px;
        font-size: 13px;
        border-radius: 6px;
        white-space: nowrap;
    }

    .product-miniature form button[data-button-action="add-to-cart"] span {
        display: inline;
    }

    .product-miniature .product-flags {
        position: absolute;
        top: 5px;
        left: 5px;
        z-index: 2;
    }

    .product-miniature .product-flags .badge {
        font-size: 10px;
        padding: 2px 5px;
    }

    .product-miniature .product-miniature__variants {
        display: none;
    }

    .page-product .breadcrumb-item,
    .page-product .breadcrumb-item a,
    .page-product .breadcrumb-item span {
        font-size: 12px;
    }

    .page-product .product.js-product-container {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0;
    }

    .page-product .product__col {
        display: contents;
    }

    .page-product .product__col .product__name {
        order: 1;
        font-size: 22px;
        line-height: 26px;
        margin: 0 0 10px 0;
        padding: 0 15px;
    }

    .page-product .product__left {
        order: 2;
        margin: 0 0 10px 0;
        padding: 0 15px;
    }

    .page-product .product__col .div-feature {
        order: 3;
        padding: 0 15px;
        margin: 0 0 20px 0;
    }

    .page-product .product__col #hos-feature-container-right {
        padding: 0 !important;
        margin: 0;
    }

    .page-product .product__col #product-features {
        order: 5;
        padding: 0 15px;
        margin: 24px 0 24px 0;
    }

    .page-product .product__col .product__description-short {
        order: 5;
        padding: 0 15px;
        margin: 0;
    }
    .page-product .product__col .product__description-short:empty {
        display: none;
    }

    .page-product #right-column {
        display: none;
    }

    .page-product .container-strech.strech-product {
        width: 100%;
        left: 0;
        right: 0;
        margin-left: 0;
        margin-right: 0;
        padding: 0;
        padding-top: 60px!important;
        padding-bottom: 60px!important;
        background: #E2E9F1!important;
    }

    .page-product .container-strech.strech-product > .container {
        padding: 0;
        max-width: 100%;
        display: flex;
        flex-direction: column;
    }

    .page-product .container-strech.strech-product .product-tabs-row {
        display: contents;
    }

    .page-product .energy-label-col {
        order: 1;
        width: 100%;
        padding: 0;
        margin-bottom: 20px;
    }

    .page-product .energy-label-box {
        padding: 15px 20px;
        border-radius: 15px;
        margin-left: 0px;
        width: 100%;
    }

    .page-product .energy-label-img {
        width: 100%;
        max-width: 100%;
    }

    .page-product .product-tabs-col {
        order: 2;
        width: 100%;
        padding: 0;
        margin-top: 20px;
    }

    .mobile-accordion .accordion-item {
        border: none;
    }

    .mobile-accordion .accordion-header {
        display: block;
        width: 100%;
        border: none;
        background: transparent;
        text-align: left;
        padding: 10px 40px 10px 15px;
        font-size: 18px;
        line-height: 18px;
        font-family: 'Manrope';
        font-weight: 500;
        color: #000000;
        cursor: pointer;
        position: relative;
        text-transform: uppercase;
    }

    .mobile-accordion .accordion-header::before {
        content: '';
        position: absolute;
        bottom: 0;
        left: 15px;
        right: 15px;
        height: 1px;
        background: #000000;
    }

    .mobile-accordion .accordion-item:first-child .accordion-header::after {
        content: '';
        position: absolute;
        top: 0;
        left: 15px;
        right: 15px;
        height: 1px;
        background: #000000;
    }

    .mobile-accordion .accordion-header .accordion-icon {
        position: absolute;
        right: 30px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 16px;
        color: #000000;
    }

    .mobile-accordion .accordion-header::marker,
    .mobile-accordion .accordion-header::-webkit-details-marker {
        display: none;
    }

    .mobile-accordion .accordion-header .arrow-icon {
        position: absolute;
        right: 30px;
        top: 50%;
        transform: translateY(-50%);
        width: 16px;
        height: 9px;
        font-size: 16px;
        line-height: 9px;
        color: #000000;
    }

    .mobile-accordion .accordion-header .arrow-icon::before {
        content: '\f106';
        font-family: 'Font Awesome 6 Pro', 'Font Awesome 6 Free', 'FontAwesome';
        font-weight: 300;
    }

    .mobile-accordion .accordion-header.active .arrow-icon::before {
        content: '\f107';
    }

    .mobile-accordion .accordion-content {
        display: none;
        padding: 15px;
    }

    .mobile-accordion .accordion-content.show {
        display: block;
    }

    .mobile-accordion .accordion-body {
        background: transparent;
        padding: 15px;
    }

    .mobile-accordion .product__features {
        list-style: none;
        padding: 0;
        margin: 0;
        background: transparent;
    }

    .mobile-accordion .product__features .detail {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 8px 0;
        border: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.15);
        background: transparent;
    }


    .mobile-accordion .product__features .detail__left {
        flex: 1;
    }

    .mobile-accordion .product__features .detail__right {
        text-align: right;
    }

    .mobile-accordion .product__features .detail__title {
        font-weight: 500;
        color: #000000;
    }

    .page-product .product-same-spec-carousel {
        padding: 0;
    }

    .page-product .row > [class*="col-"].col-xl-12 {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .page-product #same-spec-swiper .swiper-pagination {
        position: relative !important;
        width: auto !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        margin-top: 10px;
        margin-bottom: 20px;
    }

    .page-product #same-spec-swiper .swiper-pagination-bullet {
        position: static !important;
        left: auto !important;
        margin: 0 4px !important;
    }

    .page-product .product__additional-info #right-column,
    .page-product .js-product-additional-info + #right-column {
        display: block;
        padding: 0 15px;
    }
}

#mobileMenuOffcanvas {
    max-width: 300px;
    background: #041E41;
}
#mobileMenuOffcanvas .offcanvas-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 20px;
}
#mobileMenuOffcanvas .offcanvas-title {
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    font-size: 18px;
    color: #FFFFFF;
    text-transform: uppercase;
}
#mobileMenuOffcanvas .btn-close {
    filter: invert(1);
    opacity: 0.8;
}
#mobileMenuOffcanvas .btn-close:hover {
    opacity: 1;
}
#mobileMenuOffcanvas .offcanvas-body {
    padding: 20px;
}

.mobile-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.mobile-menu-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.mobile-menu-item:last-child {
    border-bottom: none;
}
.mobile-menu-link {
    display: block;
    padding: 12px 0;
    font-family: 'Oswald', sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #FFFFFF;
    text-transform: uppercase;
    text-decoration: none;
}

.mobile-menu-link.disabled {
    color: rgba(255, 255, 255, 0.5);
    cursor: default;
}
.menu-legend-mobile {
    background: #c03f3f;
    border-radius: 10px;
    color: #FFFFFF;
    font-weight: 700;
    font-size: 10px;
    padding: 2px 6px;
    margin-left: 8px;
    text-transform: none;
}

.mobile-submenu {
    list-style: none;
    padding: 0 0 10px 15px;
    margin: 0;
}
.mobile-submenu li {
    padding: 6px 0;
}
.mobile-submenu a {
    font-family: 'Manrope';
    font-weight: 400;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

#footer .container{
    padding: 39px 15px 0 15px !important;
}
#footerAccordion .accordion-item {
    background: transparent;
    border: none;
    border-top: 1px solid #FFFFFF;
    border-radius: 0;
}
#footerAccordion .accordion-item:last-child {
    border-bottom: 1px solid #FFFFFF;
}
#footerAccordion .accordion-button {
    background: transparent;
    color: #FFFFFF;
    box-shadow: none;
    padding: 10px 0;
}
#footerAccordion .accordion-button:not(.collapsed) {
    background: transparent;
    color: #FFFFFF;
}
#footerAccordion .accordion-button::after {
    filter: invert(1);
}
#footerAccordion .accordion-body {
    background: transparent;
    padding: 0 0 15px 0;
}

/* Cart modal buttons */
.modal-footer .cart-footer-actions .btn.btn-primary {
    background: #041E41 !important;
    border: 1px solid #041E41 !important;
    color: #fff !important;
    box-shadow: 1px 2px 4px 0px #00000021;
}
.modal-footer .cart-footer-actions .btn.btn-primary:hover {
    background: #FFFFFF !important;
    border-color: #1d1d1d !important;
    color: #1d1d1d !important;
}
.modal-footer .cart-footer-actions .btn.btn-outline-primary {
    background: #FFFFFF !important;
    border: 1px solid #1d1d1d !important;
    color: #1d1d1d !important;
    box-shadow: 1px 2px 4px 0px #00000021;
}
.modal-footer .cart-footer-actions .btn.btn-outline-primary:hover {
    background: #041E41 !important;
    border-color: #041E41 !important;
    color: #fff !important;
}

@media (max-width: 767px) {
    .page-product #notifications {
        position: fixed;
        bottom: 140px;
        left: 0;
        right: 0;
        z-index: 1001;
    }
    .page-product #notifications .container {
        padding-left: 0 !important;
        padding-right: 0 !important;
        max-width: 100%;
    }
    .page-product #notifications .alert {
        margin-bottom: 0;
        padding: 8px 15px;
        font-size: 13px;
        border-radius: 0;
        box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
    }
    .page-product #notifications .alert ul {
        margin-bottom: 0 !important;
    }
}

.page-cart .cart-detailed__actions .btn.btn-primary {
    background: #041E41 !important;
    border: 1px solid #041E41 !important;
    color: #fff !important;
    box-shadow: 1px 2px 4px 0px #00000021;
}
.page-cart .cart-detailed__actions .btn.btn-primary:hover {
    background: #FFFFFF !important;
    border-color: #1d1d1d !important;
    color: #1d1d1d !important;
}
.page-cart .cart-detailed__actions .btn.btn-primary.btn-primary-green {
    background: #298D2B!important;
    border-color: #298D2B!important;
    border: 1px solid #298D2B !important;
    text-transform: uppercase!important;
    font-weight: 600!Important;
}
.page-cart .cart-detailed__actions .btn.btn-primary.btn-primary-green:hover {
    background: #20ad23!important;
    border-color: #20ad23!important;
    color:#fff!important;

}


.page-cart .cart-grid__body .btn.btn-outline-primary {
    background: #FFFFFF !important;
    border: 1px solid #1d1d1d !important;
    color: #1d1d1d !important;
    box-shadow: 1px 2px 4px 0px #00000021;
}
.page-cart .cart-grid__body .btn.btn-outline-primary:hover {
    background: #041E41 !important;
    border-color: #041E41 !important;
    color: #fff !important;
}

#checkout .ps_checkout-mark{
  display: none !important;
}

#checkout .ps_checkout-payment-option > label > span{
  line-height: 25px;
}

#checkout .payment__option{
  margin-bottom:16px;
}

#checkout .btn.btn-primary,
.page-order .btn.btn-primary {
    background: #298D2B !important;
    border-color: #298D2B !important;
    border: 1px solid #298D2B !important;
    text-transform: uppercase !important;
    font-weight: 600!Important;
}

#checkout .btn.btn-primary:hover,
.page-order .btn.btn-primary:hover {
    background: #20ad23 !important;
    border-color: #20ad23 !important;
    color: #fff !important;
}

#checkout .btn.btn-outline-primary,
.page-order .btn.btn-outline-primary {
    background: #FFFFFF !important;
    border: 1px solid #1d1d1d !important;
    color: #1d1d1d !important;
    box-shadow: 1px 2px 4px 0px #00000021;
}

#checkout .btn.btn-outline-primary:hover,
.page-order .btn.btn-outline-primary:hover {
    background: #041E41 !important;
    border-color: #041E41 !important;
    color: #fff !important;
}

/* ========================================
   Checkout Steps Customization
   ======================================== */

.checkout__steps--current .checkout__steps__number {
    background: #EEAF00 !important;
    color: #fff !important;
}
.checkout__steps--current .checkout__steps__text {
    color: #041E41 !important;
}
.checkout__steps--current::before {
    background: var(--bs-success) !important;
}

.checkout__steps .nav-tabs .checkout__steps--current .nav-link.active {
    color: #041E41 !important;
}

.checkout__steps--success .checkout__steps__number {
    background: var(--bs-success) !important;
    transition: background 0.2s ease;
}
.checkout__steps--success .checkout__steps__text {
    color: var(--bs-success) !important;
    transition: color 0.2s ease;
}
.checkout__steps--success:hover .checkout__steps__number {
    background: #EEAF00 !important;
}
.checkout__steps--success:hover .checkout__steps__text {
    color: #EEAF00 !important;
}

.checkout__steps__mobile .progress-circle__ring--progress {
    stroke: #041E41 !important;
}
.checkout__steps__mobile .progress-circle__text {
    fill: #041E41 !important;
}

/* ========================================
   Form Controls - Colori personalizzati
   ======================================== */

.form-check-input:checked {
    background-color: #041E41 !important;
    border-color: #041E41 !important;
}

.form-check-input:focus {
    border-color: #041E41 !important;
    box-shadow: 0 0 0 0.25rem rgba(4, 30, 65, 0.25) !important;
}

.form-control:focus,
.form-select:focus {
    border-color: #041E41 !important;
    box-shadow: 0 0 0 0.25rem rgba(4, 30, 65, 0.25) !important;
}

a.text-primary,
.text-primary {
    color: #041E41 !important;
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-select:focus ~ label {
    color: #041E41 !important;
}

#checkout .form-check-input:checked,
.page-order .form-check-input:checked {
    background-color: #041E41 !important;
    border-color: #041E41 !important;
}

.delivery-option input:checked + label,
.payment-option input:checked + label {
    border-color: #041E41 !important;
}

.address.card.selected,
.js-address-item.selected {
    border-color: #041E41 !important;
    border-width: 2px !important;
}

.progress-bar {
    background-color: #041E41 !important;
}

.page-product .rifarticolo {
    display: none !important;
}

#myTab.nav-tabs {
    gap: 10px !important;
    border-bottom: none !important;
    display: flex !important;
}
#myTab.nav-tabs .nav-item {
    margin-bottom: 0;
}
#myTab.nav-tabs .nav-link {
    border-radius: 8px !important;
    padding: 10px 20px !important;
}

#myTab.nav-tabs .nav-link[data-bs-target="#checkout-guest-form"],
#myTab.nav-tabs .nav-link.active[data-bs-target="#checkout-guest-form"] {
    background: #EEAF00 !important;
    border: 1px solid #EEAF00 !important;
    color: #1d1d1d !important;
}

#myTab.nav-tabs .nav-link[data-bs-target="#checkout-guest-form"]:hover {
    background: #FFFFFF !important;
    border: 1px solid #1d1d1d !important;
    color: #1d1d1d !important;
}

#myTab.nav-tabs .nav-link[data-bs-target="#checkout-login-form"] {
    background: #FFFFFF !important;
    border: 1px solid #1d1d1d !important;
    color: #1d1d1d !important;
}

#myTab.nav-tabs .nav-link[data-bs-target="#checkout-login-form"]:hover {
    background: #041E41 !important;
    border: 1px solid #041E41 !important;
    color: #FFFFFF !important;
}

#myTab.nav-tabs .nav-link.active[data-bs-target="#checkout-login-form"] {
    background: #041E41 !important;
    border-color: #041E41 !important;
    color: #fff !important;
}


#js-checkout-summary.cart-summary {
    background: #EEF5FE !important;
    border: 1px solid #B7B7B7BA !important;
    border-radius: 16px !important;
}

@media (min-width: 768px) {
    #checkout-guest-form #customer-form section {
        display: flex;
        flex-wrap: wrap;
        gap: 0 15px;
    }
    #checkout-guest-form #customer-form section > .mb-3:has(input[name="id_gender"]) {
        flex: 0 0 50%;
        width: 50%;
    }
    #checkout-guest-form #customer-form section > .mb-3:has(input[name="firstname"]),
    #checkout-guest-form #customer-form section > .mb-3:has(input[name="lastname"]) {
        flex: 0 0 calc(50% - 7.5px);
        width: calc(50% - 7.5px);
    }
    #checkout-guest-form #customer-form section > .mb-3:has(input[name="email"]) {
        flex: 0 0 calc(50% - 7.5px);
        width: calc(50% - 7.5px);
    }
}

@media (min-width: 992px) {
    #checkout,
    #checkout .container,
    #checkout .container > .row,
    #checkout .cart-grid-right,
    #checkout .cart-grid-right .accordion,
    #checkout .cart-grid-right .accordion-item {
        overflow: visible !important;
    }
    #checkout .container > .row {
        align-items: flex-start !important;
    }
    #checkout .cart-grid-right {
        position: -webkit-sticky;
        position: sticky;
        top: 140px;
        align-self: flex-start;
        height: fit-content;
    }
}

/* CHECKOUT */
#checkout #desktop-header-container div.col-header-right > div,
#checkout .custom-mainmenu, #checkout #navbar-fix,
#checkout #ps-footer{
    display: none;
}
#checkout-payment-step .payment__option .form-check-input {
    border: 2px solid #858585;
}

#checkout .btn.js-back{
    border:0px solid #000!important;
    box-shadow: none!important;
}
#checkout .btn.js-back:hover{
    background:none!important;
    box-shadow: none!important;
    color:#1d1d1d!important;
}

#checkout-payment-step .payment__option .form-check-label {
    font-size: 20px;
}
#checkout #conditions-to-approve{
    margin-top:40px!important;
}

#checkout #checkout-addresses-step .step__content > .js-address-form > .mt-4.d-flex {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 10px;
}
#checkout #checkout-addresses-step .step__content > .js-address-form > .mt-4.d-flex .js-back {
    order: 1;
}
#checkout #checkout-addresses-step .step__content > .js-address-form > .mt-4.d-flex .continue {
    order: 2;
}

/* Checkout Mobile - Carrello sticky e stili pulsanti */
@media (max-width: 991.98px) {
    #checkout .cart-grid-right {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        background: #fff;
        padding: 15px;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.15);
        margin: 0;
        width: 100%;
    }
    #checkout .cart-grid-right.is-at-footer {
        position: static;
        box-shadow: none;
        width: 100%;
        background: #eef5fe;
        border-radius: 20px 20px 0px 0px!important;
        border: 1px solid #041e41!important;
        border-bottom: 0px!important;
    }
    #checkout .cart-grid-right .accordion {
        margin-bottom: 0;
    }
    #checkout .cart-grid-right .accordion-item {
        background: transparent;
    }
    #checkout .cart-grid-right .accordion-button {
        margin-bottom: 0 !important;
        padding: 0;
    }
    #checkout .cart-grid-right .accordion-button[aria-expanded="true"] {
        margin-bottom: 15px !important;
    }
    #checkout .cart-grid-right hr {
        display: none;
    }
    #checkout .cart-grid-body {
        padding-bottom: 80px;
    }
    /* Stili specifici pulsanti mobile */
    #checkout #checkout-addresses-step .step__content > .js-address-form > .mt-4.d-flex .js-back {
        margin-bottom: 0 !important;
        width: auto !important;
        font-size: 14px;
        padding: 12px 16px;
        height: 44px;
        display: inline-flex;
        align-items: center;
    }
    #checkout #checkout-addresses-step .step__content > .js-address-form > .mt-4.d-flex .continue {
        height: 44px;
        padding: 12px 20px;
        font-size: 14px;
    }
}

/* Checkout Desktop - Form campi due per riga */
@media (min-width: 992px) {
    #checkout .js-address-form .form-fields {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0 20px;
    }
    /* customer_type: prima riga da solo, meta' larghezza */
    #checkout .js-address-form .form-fields > .mb-3:has([name="customer_type"]) {
        grid-column: 1 / -1;
        max-width: calc(50% - 10px);
    }
    /* address1: riga intera */
    #checkout .js-address-form .form-fields > .mb-3:has(#field-address1) {
        grid-column: 1 / -1;
    }
}

/* Tablet - Container max-width 800px */
@media (min-width: 768px) and (max-width: 1200px) {
    .container, .container-md, .container-sm {
        max-width: 800px;
    }
    #hos-feature-container-right {
        gap: 20px;
    }

    /* Header mobile style on tablet */
    .header-top {
        padding: 15px;
    }
    .header-top #desktop-header-container {
        padding-left: 0;
        padding-right: 0;
    }
    .header-top #desktop-header-container > .row {
        display: flex;
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: center;
        margin: 0;
    }
    .header-top .col-header-menu {
        order: 1;
        flex: 0 0 auto;
        width: auto;
    }
    .header-top .navbar-toggler {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        padding: 0;
        border: none;
        background: transparent;
    }
    .header-top .navbar-toggler-icon {
        width: 22.32px;
        height: 22.32px;
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23FFFFFF' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
        background-size: 100% 100%;
    }
    .header-top .navbar-toggler-text {
        font-family: 'Manrope';
        font-weight: 400;
        font-size: 16px;
        line-height: 100%;
        letter-spacing: 0;
        text-transform: uppercase;
        color: #FFFFFF;
    }
    .header-top .col-header-left {
        order: 2;
        flex: 1 1 auto;
        text-align: center;
    }
    .header-top .col-header-left #desktop_logo {
        display: inline-block;
    }
    .header-top .col-header-left .logo {
        max-width: 123.1px;
        max-height: 26.44px;
        height: auto;
    }
    .header-top .col-header-left,
    .header-top .col-header-menu,
    .header-top .col-header-right {
        padding-left: 0;
        padding-right: 0;
    }
    .header-top .col-header-right {
        order: 3;
        flex: 0 0 auto;
        width: auto;
    }
    .header-top .col-header-right > .row {
        gap: 5px;
        margin: 0;
        flex-wrap: nowrap;
    }
    .header-top .col-header-right > .row > [class*="col"] {
        padding: 0;
    }
    .header-top #_desktop_user_info .fa-user,
    .header-top #_desktop_user_info .fa-regular {
        width: 20px;
        height: 20px;
        font-size: 20px;
    }
    .header-top #_desktop_cart .fa-cart-shopping,
    .header-top #_desktop_cart .fa-light {
        width: 20px;
        height: 20px;
        font-size: 20px;
    }
    .header-block__badge {
        width: 17px;
        height: 19px;
        top: -5px;
        right: 0px;
    }
    .header-top .navbar-collapse {
        display: none !important;
    }

    #scelta-per-misura > .container > .row > .col-md-6 {
        flex: 0 0 33.333%;
        max-width: 33.333%;
    }

    .macrogrid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.mobile-sticky-cart__add-to-cart.btn.btn-primary{
    background: #298D2B!important;
    border-color: #298D2B!important;
}

.mobile-sticky-cart__add-to-cart.btn.btn-primary:hover{
    background: #20ad23;
    border-color: #20ad23;
}

.btn-primary.btn-primary-green{
    background: #298D2B!important;
    border-color: #298D2B!important;
    border: 1px solid #298D2B!important;
}

.btn-primary.btn-primary-green:hover{
    background: #20ad23!important;
    border-color: #20ad23!important;
    color:#fff!important;
}


#checkout .alert-warning.alert-spedizione{
    font-weight: 600!important;
    padding: 12px 12px!important;
    background: #eeaf008f!important;
    color: #2f2f2f!important;
}

.product-miniature .product__ecotax-price{
    text-align: center;
    font-family: 'Manrope';
    font-weight: 400;
    font-size: 14px !important;
    line-height: 100%;
    color: rgba(0, 0, 0, 0.52);
}

.product-miniature .product-miniature__prices{
    flex-direction: column;
}

/* Custom CSS per il bottone arancione nel checkout */
.btn-orange-custom {
    background-color: #ff8c00; /* Arancione scuro */
    border-color: #ff8c00;
    color: #fff;
}

.btn-orange-custom:hover,
.btn-orange-custom:focus,
.btn-orange-custom:active {
    background-color: #e07b00; /* Arancione leggermente più scuro al passaggio del mouse/focus */
    border-color: #e07b00;
    color: #fff;
}

/* Custom CSS per l'icona di ricerca bianca nell'header */
#_desktop_search .material-icons.search {
    color: #fff; /* Colore bianco per l'icona di ricerca */
}

/* Custom CSS per l'icona di ricerca bianca nell'header */
#_desktop_search .material-icons.search {
    color: #fff; /* Colore bianco per l'icona di ricerca */
}

/* Checkout Forms Toggle */
#checkout-personal-info-forms .collapse {
    transition: none !important;
}

#checkout-personal-info-forms .collapse.show {
    display: block;
}

.js-show-login, .js-show-register {
    transition: opacity 0.2s ease;
    cursor: pointer;
    color: rgb(13,110,253);
    font-weight: 500;
}

.js-show-login.d-none, .js-show-register.d-none {
    display: none !important;
    opacity: 0;
}

#checkout .login-form-title, #checkout .register-form-title{
  font-weight: 700;
  font-family: Oswald, sans-serif;
  font-size: 1.5rem;
}

/* Mobile Search Bar */
@media (max-width: 1399px) {
    .ps-searchbar__offcanvas .offcanvas-header {
        display: flex !important;
        align-items: center !important;
        gap: 15px !important;
    }

    #_mobile_ps_searchbar.ps-searchbar__container {
        flex-grow: 1 !important;
        width: auto !important;
    }
    #_mobile_ps_searchbar #ps_searchbar {
        min-width: stretch;
    }

    #_mobile_ps_searchbar .ps-searchbar__form {
        width: 100% !important;
    }

    #_mobile_ps_searchbar .ps-searchbar__input {
        width: 100% !important;
        border-radius: 8px !important;
    }
}

/* Mobile Sticky Cart & Notification Styles - FixGarage */
@media (max-width: 991px) {
    .page-product .breadcrumb {
        margin-bottom: 1.5rem !important;
    }
    .page-product #notifications {
        margin-top: 5px;
        margin-bottom: 10px;
    }

    .page-product #notifications .container {
        padding: 0 !important;
        max-width: none !important;
    }

    .page-product #notifications .alert {
        font-size: 15px !important;
        border: none;
        box-shadow: 0 2px 8px rgba(0,0,0,0.05);
        padding: 12px 15px;
    }

    .mobile-sticky-cart__purchasable {
        display: flex;
        flex-direction: column;
        gap: 0.55rem;
        width: 100%;
    }

    .mobile-sticky-cart__product-price {
        color: #d43f3a !important;
        font-size: 1.6rem !important;
    }

    .mobile-sticky-cart__ecotax {
        margin-top: -8px !important;
        margin-bottom: 5px !important;
        font-size: 0.85rem !important;
    }

    .mobile-sticky-cart__qty {
        background: #fff !important;
        border: 1px solid #041E41 !important;
        border-radius: 6px !important;
        height: 40px;
    }

    .mobile-sticky-cart__qty-btn {
        width: 42px !important;
        height: 100% !important;
        color: #041E41 !important;
        font-size: 1.1rem !important;
    }
    .js-sticky-qty-down {
        border-right: 1px solid rgba(4, 30, 65, 0.2) !important;
    }
    .js-sticky-qty-up {
        border-left: 1px solid rgba(4, 30, 65, 0.2) !important;
    }
    /* .mobile-sticky-cart__qty-btn:hover {
        background: rgba(4, 30, 65, 0.05) !important;
    } */

    .mobile-sticky-cart__qty-value {
        font-size: 1.2rem !important;
        min-width: 35px !important;
        font-weight: 700 !important;
    }

    /* Proportions and layout alignment */
    .mobile-sticky-cart__inner--product {
        padding: 0.75rem !important;
        border-top: 1px solid #eee;
    }
}
