/** GENERAL **/

#wrapper {
    background-color: #fff !important;
}

a {
    color: #1E5189;
}

/** HOME **/

.home-products-slider .elementor-swiper-button,
.home-latest-slider .elementor-swiper-button {
    bottom: -50px !important;
    color: #B9B9B9 !important;
    top: unset !important;
    transform: unset !important;
    z-index: 20 !important;
    padding: 7px !important;
    border: 1px solid #fff !important; 
    background-color: #fff !important;
    border-radius: 50% !important;
}
.ce-filters__clear a.js-search-link.elementor-button.elementor-size-xs {
    background: none;
    color: #000 !important;
    padding: 0;
}
.home-products-slider .elementor-swiper-button:hover, .home-products-slider .elementor-swiper-button:focus
.home-latest-slider .elementor-swiper-button:hover, .home-latest-slider .elementor-swiper-button:focus {
    color: #1E5189 !important;
}
.ce-filters__clear .elementor-button {
  font-size:14px;
    border-radius: 30px;
}
.ce-active-filters a.elementor-button {
	background:none;
	color:#000 !important;
border: 1px solid;
border-radius: 20px !important;
background-color:transparent !important;
}
.card.cart-summary button#clear-cart-btn {
    font-family: "Poppins", sans-serif !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    border-style: solid !important;
    border-width: 1px 1px 1px 1px !important;
    border-radius: 50px 50px 50px 50px !important;
    padding: 015px 30px 15px 030px !important;
    cursor: pointer !important;
    text-transform: uppercase;
    background-color: #D93026;
}
.home-products-slider .elementor-swiper-button-prev,
.home-latest-slider .elementor-swiper-button-prev {
    left: unset !important;
    right: 70px !important;
}

.home-products-slider .elementor-swiper-button-next,
.home-latest-slider .elementor-swiper-button-next {
    left: unset !important;
    right: 0px !important;
}

.home-latest-slider .swiper-pagination {
    bottom: -20px !important;
}

.home-latest-slider .swiper-pagination-bullet {
    background: #B9B9B9 !important;
    opacity: 1 !important;
    width: 10px !important;
    height: 10px !important;
    margin: 10px !important;
}


.home-latest-slider .swiper-pagination-bullet-active {
    background-color: #1E5189 !important;
    border: 1px solid #1E5189 !important;
    box-shadow: 0 0 0 4px #fff inset !important;
    box-sizing: border-box !important;
    opacity: 1 !important;
    width: 15px !important;
    height: 15px !important;
    margin: 7px !important;
}

.home-latest-slider .elementor-swiper-button:hover, .home-latest-slider .elementor-swiper-button:focus {
    border: 1px solid #fff !important;
    border-radius: 50% !important;
}

@media (max-width: 768px) {
    .home-products-slider .elementor-swiper-button-prev  {
        right: unset !important;
        left: -20px !important;
    }
    .home-latest-slider .elementor-swiper-button-prev {
        right: unset !important;
        left: 20px !important;
    }

    .home-products-slider .elementor-swiper-button-next {
        left: unset !important;
        right: 5px !important;
    }
    .home-latest-slider .elementor-swiper-button-next {
        left: unset !important;
        right: 20px !important;
    }

    .prefooter.elementor-section.elementor-section-items-middle>.elementor-container {
        align-items: flex-start !important;
    }
}

/** SHOP **/

.active-filters-sidebar .ce-active-filters {
    padding-bottom: 5px !important;
}

.active-filters-sidebar .ce-active-filters a.elementor-button:not(#e) {
    font-family: 'Poppins', sans-serif !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    color: #3C5999 !important;
    background-color: #F5F6FA !important;
}

.active-filters-sidebar .ce-active-filters a.ce-active-filters__clear:not(#e) {
    border: none !important;
    background-color: transparent !important;
}

.active-filters-sidebar .ce-active-filters__clear .elementor-button-text {
    font-family: 'Poppins', sans-serif !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    color: #8D8D8D !important;
}

.filters-sidebar .ce-filters .elementor-heading-title {
    font-family: 'Poppins', sans-serif !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    line-height: 27px !important;
    color: #282828 !important;
    padding-bottom: 15px !important;
}

.filters-sidebar .ce-filters__tab {
    padding: 0px !important;
    padding-top: 5px !important;
}

.filters-sidebar .ce-filters__title {
    font-size: 15px !important;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 500 !important;
    text-transform: none !important;
    line-height: 23px !important;
}

.filters-sidebar .ce-checkbox {
    font-size: 13px !important;
}

.filters-sidebar input:checked ~ .ce-checkbox {
    background-color: #1E5189 !important;
    border-color: #1E5189 !important;
}

.filters-sidebar .elementor-field-label {
    font-family: 'Poppins', sans-serif !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    color: #282828 !important;
}

.filters-sidebar .ce-scrollbar--auto {
    padding: 5px 0px !important;
    gap: 10px !important;
}

.filters-sidebar .ce-dual-range {
    margin-top: 16px !important;
    --ce-range-thumb-size: 12px !important;
    --ce-range-height: 1px !important;
    --ce-range-active-color: #1E5189 !important;
    --ce-range-thumb-color: #3C5999 !important;
    --ce-range-thumb-border-color: #3C5999 !important;
}

.filters-sidebar .ce-dual-range + .elementor-field-label::before {
    content: 'Prezzo: ' !important;
    color: #939393 !important;
}

/* 05/2025 */
.ce-products.ce-product-grid.products {
    grid-row-gap: 20px !important;
}
.ce-products.ce-product-grid.products article>section {
    margin-bottom: 0;
}

@media(max-width: 1024px) {

    .mobile-filter-button .elementor-button-link {
        padding: 0 !important;
    }

    #category-grid > .elementor-container > .elementor-row {
        flex-direction: row-reverse !important;
    }

    .ce-filters--sidebar-tablet .elementor-lightbox:not(.ce-filters--shown) .ce-filters {
        transform: translateX(100%) !important;
    }

    .mobile-filters-sidebar .ce-filters__container.ce-filters--shown .ce-filters {
        background: #FAFAFA !important;
        left: unset !important;
        right: 0 !important;
    }

    .mobile-filters-sidebar .ce-scrollbar--auto {
        padding-top: 0px !important;
        gap: 0px !important;
    }

    .mobile-filters-sidebar .elementor-field-subgroup.ce-scrollbar--auto {
        gap: 10px !important;
    }

    .mobile-filters-sidebar .ce-filters .elementor-heading-title {
        background: #fff !important;
        margin-bottom: 0px !important;
        padding-bottom: 25px !important;
        padding-top: 25px !important;
        text-align: center !important;
    }

    .mobile-filters-sidebar .ce-filters__container .dialog-lightbox-close-button {
        margin: 29px !important;
        right: unset !important;
        left: 0 !important;
        color: #1C2B4D !important;
    }

    .mobile-filters-sidebar .ce-filters__container .elementor-field-group {
        padding: 15px 25px !important;
    }

    .mobile-filters-sidebar .ce-filters__title {
        font-size: 18px !important;
        margin-bottom: 25px !important;
    }

    .mobile-filters-sidebar .ce-filters .ce-filters__tab {
        align-items: flex-start !important;
    }

    .mobile-filters-sidebar .ce-filters .ce-filters__tab .ce-filters__tab-icon {
        color: #1C2B4D !important;
    }

    .mobile-filters-sidebar .ce-checkbox {
        font-size: 24px !important;
    }

    .mobile-filters-sidebar .elementor-field-label {
        font-size: 14px !important;
    }

    .mobile-results-count .ce-listing-info {
        position: relative !important; /* fixed */
        bottom: 0 !important;
        top: unset !important;
        /*z-index: 99999 !important;*/
        width: 100% !important; /*100vw*/
        background-color: #1E5189 !important; 
        left: 0 !important;
        text-align: center !important;
        font-family: 'Poppins', sans-serif !important;
        color: #fff !important;
        font-size: 14px !important; 
        font-weight: 500 !important;
        padding: 5px !important;
        margin-bottom: 10px;
    }
    .modal-dialog i.material-icons.rtl-no-flip {
        display: block;
        margin: 0 auto;
    }

}
@media all and (max-width:767px){
    .psgdprinfo17 a.btn-primary {
        margin: 0 0 10px !important;
        display: block;
        width: 100%;
    }

    #category-grid > .elementor-container > .elementor-row {
        flex-direction: column-reverse !important;
    }

    div#delivery-addresses {
        flex-direction: column;
    }

    body#checkout section.checkout-step .address-item {
        width: 100%;
    }
}

/** MINIATURE **/

.product-card .product-body > div > .elementor-row {
    flex-direction: column !important;
}

.product-card .product-body .product-body-column {
    width: 100% !important;
}

.product-card .miniature-sticker {
    height: 30px !important;
}

.product-card .category-label {
    font-family: 'Poppins', sans-serif !important;
    font-size: 10px !important;
    font-weight: 400 !important;
    color: #5A5A5A !important;
    line-height: 38px !important;
    text-align: center !important;
    text-transform: uppercase !important;
}

.card-category-label {
    text-align: center !important;
}

.product-card .product-background-image {
    position: absolute !important;
    z-index: -1 !important;
}

.product-background-svg {
    opacity: 0.15 !important;
}

.product-page .ce-add-to-wishlist:hover .ceicon-heart-o::before, .product-card .ce-add-to-wishlist:hover .ceicon-heart-o::before {
    content: "\f004" !important;
}

.product-page .combination-title h1 {
    font-family: 'Poppins', sans-serif !important;
    font-size: 35px !important;
    font-weight: 600 !important;
    line-height: 38px !important;
}

.product-page .qty-block .alert {
    margin-top: 10px !important;
}

/*.product-card h4 {
    text-align: center !important;
    height: 50px !important;
}*/

.product-card .tax-label {
    font-family: 'Poppins', sans-serif !important;
    font-size: 11px !important;
    font-weight: 400 !important;
    color: #282828 !important;
    margin-left: 5px;
}
@media all and (max-width:767px){
    .product-card .tax-label {
        text-align: center;
        display: block;
        margin-left: 0;
    }
}

.product-card .elementor-widget-container:has(.login-to-order-label) {
    text-align: center !important;
}

.product-card .login-to-order-label {
    font-family: 'Poppins', sans-serif !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #282828 !important;
    line-height: 24px;
}

.product-card .miniature-stickers-container {
    position: absolute !important;
}

.total-products {
    font-family: 'Poppins', sans-serif !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    color: #808080 !important;
    line-height: 20px !important;
}

@media(min-width: 1025px) {

    .product-card .elementor-column-wrap:has(.tax-label) {
        align-items: flex-end !important;
        margin-bottom: 3px !important;
        margin-left: 5px !important;
    }

    .product-page .add-to-cart .elementor-button-icon, .product-card .add-to-cart .elementor-button-icon {
        opacity: 0 !important;
        transition: all 0.3s !important;
    }
    
    .product-page .add-to-cart .elementor-button-text, .product-card .add-to-cart .elementor-button-text {
        transition: all 0.3s !important;
    }
    
    .product-page .add-to-cart:hover .elementor-button-icon, .product-card .add-to-cart:hover .elementor-button-icon {
        opacity: 1 !important;
    }
    
    .product-page .add-to-cart:hover .elementor-button-text, .product-card .add-to-cart:hover .elementor-button-text {
        margin-left: 0px !important;
    }

}


@media(max-width: 768px) {

    .stock-col .elementor-widget-wrap {
        align-content: center !important;
    }

    .stock-label .elementor-icon-box-wrapper {
        flex-direction: row !important;
        gap: 5px !important;
    }
    
    .product-card-header .elementor-widget-product-add-to-wishlist {
        position: relative !important;
        right: unset !important;
    }

}

/** PRODUCT PAGE **/

.product-page .product-variants .ce-product-variants {
    display: grid !important;
    grid-template-columns: repeat(2, 50%) !important;
}

.product-page.mobile-cart-section {
    width: 100vw !important;
    position: fixed !important;
    left: 0 !important;
    bottom: 0 !important;
    z-index: 99 !important;
}

.eighteen-sticker {
    position: absolute;
    bottom: 20%;
    right: 20%;
    width: 50px;
}

.tax-sticker {
    width: 120px;
    position: absolute;
    bottom: 20%;
}

@media (max-width: 1024px) {

    .product-page .product-variants .ce-product-variants {
        grid-template-columns: 100% !important;
    }

}

.product-page .category-label {
    font-family: 'Poppins', sans-serif !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    text-transform: uppercase !important;
    line-height: 38px !important;
}

.product-page .elementor-widget-product-image {
    z-index: 10 !important;
}

.product-page .stickers-container {
    z-index: 10 !important;
}

.product-page .product-background-image {
    position: absolute !important;
    z-index: 0 !important;
    width: 100% !important;
    height: 100% !important;
}

.product-page .product-background-image > div,
.product-page .product-background-svg {
    width: 100% !important;
    height: 100% !important;
}

/** FORMS **/

.password-toggler {
    position: absolute;
    z-index: 10;
    right: 10px;
    top: 30%;
    cursor: pointer;
}

#field-vat_number ~ .help-block,
#field-codice_fiscale ~ .help-block,
#field-eic ~ .help-block,
#field-pec ~ .help-block {
    display: none !important;
}

.customer-registration-form .form-group.row.col-md-6,
.address-form .form-group.row.col-md-6,
#delivery-address .form-group.row.col-md-6 {
    padding-left: 0px !important;
    padding-right: 0px !important;
    margin: 0px !important;
    margin-bottom: 5px !important;
    width: 49% !important;
}

.customer-registration-form .form-group.row.col-md-12,
.address-form .form-group.row.col-md-12,
#delivery-address .form-group.row.col-md-12 {
    padding-left: 0px !important;
    padding-right: 0px !important;
    margin: 0px !important;
    margin-bottom: 5px !important;
}

.customer-registration-form input, .login-form input, .address-form input, #delivery-address input, #login-form input {
    padding-right: 43px !important;
    background-color: hsla(0,0%,100%,.8) !important;
    border-color: #86868b !important;
    color: #494949 !important;
    margin: 0 !important;
    text-overflow: ellipsis !important;
    border: 1px solid !important;
    border-radius: 12px !important;
    padding: 1rem 1rem 0 !important;
    text-align: left !important;
    appearance: none !important;
    font-size: 17px !important;
    line-height: 1.25 !important;
    font-weight: 400 !important;
    height: 60px !important;
}

.customer-registration-form input[type="checkbox"], .login-form input[type="checkbox"], .address-form input[type="checkbox"], #delivery-address input[type="checkbox"], #login-form input[type="checkbox"] {
    height: 10px !important;
}

.customer-registration-form input[type='date'], .login-form input[type='date'], .address-form input[type='date'], #delivery-address input[type='date'] {
    padding: 0 1rem !important;
} 

.customer-registration-form input:focus ~ .placeholder-span,
.login-form input:focus ~ .placeholder-span,
.address-form input:focus ~ .placeholder-span,
input.applike.filled ~ .placeholder-span,
#delivery-address input:focus ~ .placeholder-span,
#login-form input:focus ~ .placeholder-span {
    font-size: 12px;
    font-weight: 400;
    letter-spacing: -.01em;
    line-height: 1.4;
    top: .6rem;
}

.customer-registration-form select, .login-form select, .address-form select, #delivery-address select, #login-form select {
    font-family: 'Poppins', sans-serif !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    background-color: #fff !important;
    border: 1px solid #b9b9b9 !important;
    height: 60px !important;
    padding: 15px 20px !important;
    border-radius: 10px !important;
}

.customer-registration-form label, .login-form label, .address-form label, #delivery-address label, #login-form label {
    font-family: 'Poppins', sans-serif !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    text-align: left !important;
}

.customer-registration-form .form-check-label, .login-form .form-check-label, .address-form .form-check-label, #delivery-address .form-check-label, #login-form .form-check-label {
    padding-left: 0px !important;
}

.customer-registration-form .form-group > .js-input-column, .login-form .form-group > .js-input-column, .address-form .form-group > .js-input-column, #delivery-address .form-group > .js-input-column, #login-form .form-group > .js-input-column {
    padding: 0px !important;
}

.customer-registration-form .form-control-submit, .login-form #submit-login, .address-form button[type="submit"], #delivery-address button[type="submit"], #login-form button[type="submit"] {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    text-transform: initial !important;
    /*background-color: #1E5189 !important;*/
    padding: 10px 35px !important;
    border-radius: 10px !important;
}

.customer-registration-form > div, .login-form > div, .address-form form > section, #delivery-address section, #login-form > div {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: flex-end !important;
    justify-content: space-between !important;
}

.customer-registration-form .js-input-column, .login-form .js-input-column, .address-form .js-input-column, #delivery-address .js-input-column, #login-form .js-input-column {
    position: relative !important;
}

.address-form form > section {
    column-gap: 0px !important;
}

.login-form .form-group, #login-form .form-group {
    padding: 0 !important;
    margin: 0 !important;
}

.address-form .form-group.row:has([name="show_billing_fields"]) {
    display: none !important;
}

#checkout-addresses-step [data-link-action="different-invoice-address"] {
    display: none !important;
} 

#delivery-address .form-group.row:has([name="show_billing_fields"]) {
    display: none !important;
}

.address-form .form-group {
    padding: 10 !important;
    margin: 10px 0 !important;
} 

.address-form .form-control-label {
    padding-left: 0px !important;
}

.placeholder-span {
    z-index: 3;
    padding-right: 26px;
    text-overflow: ellipsis;
    color: #6e6e73;
    left: 1rem;
    transition-duration: .125s;
    transition-timing-function: ease-in;
    position: absolute;
    pointer-events: none;
    top: 1em;
    white-space: nowrap;
    overflow: hidden;
    max-width: calc(100% - 32px);
    font-size: 17px;
    line-height: 1.25;
    font-weight: 400;
}

.customer-registration-form hr,
.login-form hr,
.address-form hr {
    margin-top: 5px !important;
    margin-bottom: 5px !important;
}

.form-group.hidden-comment .form-control-comment {
    display: none !important;
}

.address-form .btn.float-xs-right {
    float: left !important;
}
@media all and (max-width:1024px){
    .ce-filters.ce-scrollbar--auto {
        padding: 0 15px !important;
    }
}
@media all and (max-width:767px){
    .customer-registration-form label, .login-form label, .address-form label, #delivery-address label, #login-form label {
        font-size: 14px !important;
    }
}
/** CART **/

#blockcart-modal .cart-content-btn a {
    font-family: 'Poppins', sans-serif !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    color: #fff !important;
    background-color: #1e5189 !important;
    border-radius: 15px !important;
}

#blockcart-modal .cart-content-btn a i {
    font-size: 20px !important;
}

#blockcart-modal .cart-content-btn button {
    font-family: 'Poppins', sans-serif !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    border-radius: 15px !important;
}

#blockcart-modal .modal-body .product-name {
    color: #1C2B4D !important;
}

/* Reset and Base Styles */
.ce-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 0;
    width: 100%;
  
    margin: 0 auto;
  }
  
  /* Fix for the elementor row */
  .ce-pagination .elementor-row {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 5px;
    margin: 0 5px;
  }
  
  /* Button styling */
  .ce-pagination .elementor-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 65px;
    height: 40px;
    padding: 0 10px;
    border-radius: 20px;
    border: 1px solid #e0e0e0;
    background-color: white;
    color: #333;
    text-decoration: none;
    font-weight: normal;
    transition: all 0.2s ease;
    margin: 0 2px;
  }
  
  /* Active state */
  .ce-pagination .elementor-button.elementor-active {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
    font-weight: bold;
  }
  
  /* Hover state */
  .ce-pagination .elementor-button:not(.ce-disabled):not(.elementor-active):hover {
    background-color: #f5f5f5;
    border-color: #ccc;
  }
  
  /* Disabled state */
  .ce-pagination .ce-disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
  }
  
  /* Arrow buttons */
  .ce-pagination__arrow {
    font-size: 14px;
    max-width: 40px;
    width: 40px;
    padding: 0;
  }
  
  .ce-pagination__arrow .elementor-button-content-wrapper {
    padding: 0;
    justify-content: center;
  }
  
  .ce-pagination__arrow .elementor-button-icon i {
    line-height: 1;
  }
  
  /* Fix for button content wrapper */
  .elementor-button-content-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
  }

  /* 05/2025 */
@media all and (max-width:767px){
    .page-cart .product-line-grid-right.product-line-actions.col-md-4.col-xs-8 {
        width: 100% !important;
    } 
    .page-cart .col-xs-4.hidden-md-up {
        display: none;
    }
    .page-cart .product-line-grid-right.product-line-actions.col-md-4.col-xs-8 .col-md-10.col-xs-6 {
        width: 80% !important;
    }
    body#checkout section.checkout-step .step-title {
        font-size: 1rem;
    }
    .form-group {
        width: 100%;
    }
}
  /* Responsive adjustments */
  @media (max-width: 480px) {
    .ce-pagination {
      gap: 5px;
    }
    
    .ce-pagination .elementor-button {
      min-width: 36px;
      height: 36px;
      padding: 0 8px;
      font-size: 14px;
    }
    
    .ce-pagination .elementor-row {
      gap: 3px;
    }
  }

/** ADDRESSES **/

#addresses #main .page-header h1 {
    display: flex !important;
    justify-content: space-between !important;
}

#addresses #main .page-header h1 a {
    font-size: 16px !important;
    font-weight: 400 !important;
    color: #232323 !important;
    line-height: 20px !important;

}

#addresses #main .page-header h1 i {
    color: #232323 !important;
}


/** ADD TO CART MODAL **/

#blockcart-modal .modal-body .divide-right .col-md-6 span {
    font-size: 10px !important;
    margin-bottom: 0.5px !important;
    line-height: 17px !important;
}

#blockcart-modal .modal-body .divide-right .product-price {
    margin-bottom: 1px !important;
}

#blockcart-modal .modal-body .divide-right .labels-tax-long.tax-label {
    margin-bottom: 20px !important;
}

#blockcart-modal .modal-body .cart-content span {
    font-weight: 400 !important;
}

#blockcart-modal .modal-body .cart-content .product-total span {
    font-weight: 600 !important;
}

#blockcart-modal .modal-body .product-tax {
    display: flex !important;
    font-size: inherit !important;
}

#blockcart-modal .modal-body .cart-content-btn .btn {
    font-family: "Poppins", sans-serif !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    border-style: solid !important;
    border-width: 1px 1px 1px 1px !important;
    border-radius: 50px 50px 50px 50px !important;
    padding: 015px 30px 15px 030px !important;
    cursor: pointer !important;
}

#blockcart-modal .modal-body .cart-content-btn a.btn-primary {
    background-color: #1E5189 !important;
    border-color: #1E5189 !important;
}

/** CART **/

#cart .cart-grid-body .cart-item .product-line-info a:hover {
    color: #1E5189 !important;
}

#cart .cart-grid-body .product-line-attribute {
    height: 15px !important;
}

#cart .cart-grid-body .product-line-info.product-price {
    display: flex !important;
    align-items: flex-start !important;
    gap: 5px !important;
    flex-direction: column;
}

#cart .cart-grid-body .cart-item .product-price {
    font-weight: 400 !important;
    color: #363a42 !important;
}

#cart .cart-grid-body .product-line-attribute span {
    font-size: 10px !important;
    line-height: 0px !important;
}

#cart .cart-grid-right .cart-detailed-subtotals {
    padding-bottom: 0px !important;
}

#cart .cart-grid-right .cart-detailed-subtotals > div {
    padding-left: .5rem !important;
    padding-right: .5rem !important;
}

#cart .cart-grid-right .cart-summary-totals {
    padding-top: 0px !important;
}

#cart .cart-grid-right .cart-tax {
    display: flex !important;
    justify-content: space-between !important;
    padding-top: 0px !important;
}

#cart .cart-grid-right .cart-summary-line.cart-tax::after {
    display: none !important;
}

#cart .cart-grid-right a.btn-primary {
    font-family: "Poppins", sans-serif !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    border-style: solid !important;
    border-width: 1px 1px 1px 1px !important;
    border-radius: 50px 50px 50px 50px !important;
    padding: 015px 30px 15px 030px !important;
    cursor: pointer !important;
    background-color: #1E5189 !important;
    border-color: #1E5189 !important;
}

#cart .cart-grid-right .cart-detailed-totals .label {
    font-family: 'Poppins', sans-serif !important;
    font-size: 14px !important;
    color: #232323 !important;
    font-weight: 400 !important;
}

#cart .cart-grid-right .cart-detailed-totals .value {
    font-family: 'Poppins', sans-serif !important;
    font-size: 15px !important;
    color: #232323 !important;
    font-weight: 400 !important;
}

#cart .cart-grid-right .cart-detailed-totals .cart-total span {
    font-weight: 600 !important;
}

#cart .cart-grid-right .cart-total {
    padding: .5rem !important;
    background-color: #f6f6f6 !important;
    border-top: 0px !important;
}

#cart .cart-grid-right .block-promo .promo-code-button {
    padding-top: 1rem !important;
    padding-bottom: 0px !important;
}

#cart .card-block.cart-summary-totals .cart-summary-line {
    padding-left: .5rem !important;
    padding-right: .5rem !important;
}

/** CHECKOUT **/
body#checkout section.checkout-step .address {
    line-height: 20px;
}
#checkout .btn-primary {
    font-family: "Poppins", sans-serif !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    border-style: solid !important;
    border-width: 1px 1px 1px 1px !important;
    border-radius: 50px 50px 50px 50px !important;
    padding: 015px 30px 15px 030px !important;
    cursor: pointer !important;
    background-color: #1E5189 !important;
    border-color: #1E5189 !important;
}

#checkout-login-form footer {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 20px !important;
    margin-top: 10px !important;
}

#checkout .cart-grid-right .cart-summary-products .product-price {
    font-weight: 400 !important;
    color: #363a42 !important;
}

#checkout .cart-grid-right .cart-summary-products .product-attributes {
    display: none !important;
}

#checkout .cart-grid-right .card .cart-summary-subtotals-container {
    border-top: 0px !important;
    border-bottom: 0px !important;
    padding-bottom: 0px !important;
    padding-left: .5rem !important;
    padding-right: .5rem !important;
}

#checkout .cart-grid-right .card-block::after {
    display: none !important;
}

#checkout .cart-summary-totals {
    padding-top: 0px !important;
}

#checkout .cart-grid-right .card-block {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
}

#checkout .cart-grid-right .card .cart-summary-subtotals-container .cart-summary-line {
    margin-bottom: 1rem !important;
}

#checkout .card-block.cart-summary-totals .cart-summary-line {
    padding-top: 0px !important;
    padding-left: .5rem !important;
    padding-right: .5rem !important;
} 

#checkout .cart-grid-right .cart-summary-line.cart-total {
    padding: .5rem !important;
    background-color: #f6f6f6 !important;
    border-top: 0px !important;
}

#checkout .cart-grid-right .label {
    font-family: 'Poppins', sans-serif !important;
    font-size: 14px !important;
    color: #232323 !important;
    font-weight: 400 !important;
}

#checkout .cart-grid-right .value {
    font-family: 'Poppins', sans-serif !important;
    font-size: 15px !important;
    color: #232323 !important;
    font-weight: 400 !important;
}

#checkout .cart-grid-right .cart-summary-line.cart-total span {
    font-weight: 600 !important;
}

#checkout .cart-grid-right .block-promo .promo-code-button {
    padding-top: 1rem !important;
    padding-bottom: 0px !important;
}

#checkout #cart-summary-product-list .product-name {
    display: block !important;
}

#checkout #cart-summary-product-list .product-name .product-quantity, 
#checkout #cart-summary-product-list .product-name a {
    display: inline-flex !important;
}

/** SEARCH **/

.elementor-widget-ajax-search .dialog-close-button {
    display: none !important;
}

#search #js-product-list-top {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

#search .total-products {
    padding-top: 0px !important;
}

#search .select-title {
    border: 0px !important;
    font-family: "Raleway", sans-serif !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 2em !important;
    color: #1C2B4D !important;
}

#search .total-products p {
    color: #808080 !important;
    font-family: "Poppins", sans-serif !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    margin-bottom: 0px !important;
}

#search .dropdown-menu {
    width: 90% !important;
    background-color: #fff !important;
    border: 1px solid black !important;
    border-radius: 4px !important;
    padding: 0px !important;
}

#search .dropdown-menu a {
    font-family: "Raleway", sans-serif !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 2em !important;
    color: #1C2B4D !important;
    padding: 0px 10px !important;
}

#search .dropdown-menu a:hover {
    background-color: #f2f2f2 !important;
}

#search .pagination .page-list {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    margin: 0 5px !important;
    gap: 5px !important;
    justify-content: center !important;
    width: 100% !important;
}

#search .pagination .page-list li:not(.next-prev) {
    border: 1px solid #E0E0E1 !important;
    border-radius: 50px !important;
    padding: 10px 55px !important;
}

#search .pagination .page-list li.next-prev {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 65px !important;
    height: 40px !important;
    font-family: "Inter", sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1em !important;
    background-color: rgba(255, 255, 255, 0) !important;
    border: 1px solid #E0E0E1 !important;
    border-radius: 51px !important;
    padding: 16px 16px 16px 16px !important;
}

#search .pagination .page-list li.current {
    border-color: #262D33 !important;
}

#search .pagination .page-list li a {
    color: #262D33 !important;
    font-family: "Inter", sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1em !important;
    letter-spacing: unset !important;
}

/** HISTORY **/

#history .thead-default th {
    background-color: #F0F4F8 !important;
    color: #282828 !important;
    font-weight: 500 !important;
}

#history .table-striped tbody tr:nth-of-type(2n+1) {
    background-color: transparent !important;
} 

#history .table-labeled .label {
    padding: 0px !important;
    margin: 0px !important;
    font-size: 12px !important;
    white-space: wrap !important;
    color: #000 !important;
}

#history .order-actions {
    display: flex !important;
    gap: 10px !important;
}

#history .order-actions a {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 500 !important;
    font-size: 12px !important;
    text-transform: initial !important;
    padding: 10px 35px !important;
    border-radius: 50px !important;
}

#history .order-actions .view-order-details-link {
    background-color: #1E5189 !important;
    color: #fff !important;
}

#history .order-actions .reorder-link {
    background-color: #F0F4F8 !important;
    color: #282828 !important;
}

/** ORDER DETAIL **/

#order-detail .page-header h1 {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-top: 20px !important;
}

#order-detail .box {
    padding: 1rem 0px !important;
    margin-bottom: 0px !important;
}

#order-detail #order-infos .order-infos-actions {
    display: flex !important;
    flex-direction: row !important;
    gap: 10px !important;
}

#order-detail #order-infos .button-primary {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    text-transform: initial !important;
    padding: 10px 35px !important;
    border-radius: 50px !important;
    background-color: #1E5189 !important;
    color: #fff !important;
}

#order-detail .thead-default th {
    background-color: #F0F4F8 !important;
    color: #282828 !important;
    font-weight: 500 !important;
}

#order-detail .table-striped tbody tr:nth-of-type(2n+1) {
    background-color: transparent !important;
}

#order-detail .table-labeled .label {
    padding: 0px !important;
    margin: 0px !important;
    font-size: 12px !important;
    white-space: wrap !important;
    color: #000 !important;
}

#order-detail .order-detail-attributes {
    display: flex !important;
    gap: 5px !important;
}

#order-detail .order-detail-attributes span,
#order-detail .order-detail-reference span {
    font-size: 12px !important;
}

/** ORDER CONFIRMATION **/

#order-confirmation .tax-label {
    display: block !important;
}

#order-confirmation .order-detail-attributes .attribute {
    height: 15px !important;
}

#order-confirmation .order-detail-attributes span, #order-confirmation .order-detail-reference span {
    font-size: 10px !important;
}

#order-confirmation .order-confirmation-values .label {
    font-family: 'Poppins', sans-serif !important;
    font-size: 14px !important;
    color: #232323 !important;
    font-weight: 400 !important;
    text-align: left !important;
}

#order-confirmation .order-confirmation-values .value {
    font-family: 'Poppins', sans-serif !important;
    font-size: 15px !important;
    color: #232323 !important;
    font-weight: 400 !important;
}

#order-confirmation .order-confirmation-values .total-value td {
    font-weight: 600 !important;
}

#order-confirmation .sub.taxes .value {
    text-align: right !important;
}

/***************************Modifiche HOS****************************/

/***************************Homepage****************************/

.hos-linee-carousel .elementor-image-carousel .swiper-slide-image{
    object-fit: contain;
    max-height: 82px;
}

.elementor-cart--items-indicator-bubble .elementor-cart__toggle .elementor-button-icon[data-counter]::before{
    background-color: #FFAB00;
    color: #000;
    font-size: 14px;
}

.swiper-pagination-bullet{
    width: 20px;
    height: 4px;
    border-radius: 10px;
    color: #0034953D;
}

.swiper-pagination-bullet-active{
    width: 40px;
    color: #003495;
}

/***************************Product****************************/

.hos-tabs-product .elementor-item-active{
    font-weight: 700;
}

#product #login-to-order-wrapper>div .login-to-order-label a{
    font-family: "Poppins", sans-serif;
}

#product #login-to-order-wrapper>div .login-to-order-label a:hover{
    background: #709fd4 !important;
    color: #1c4d85;
}

/***************************Category****************************/

.hos-breadcrumb .ce-breadcrumb{
    display: flex;
    padding: 5px 15px;
    align-items: center;
    gap: 10px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    white-space: nowrap;
}

@media(min-width: 767px){
    .hos-breadcrumb .ce-breadcrumb{
        width: max-content;
    }
}

/***************************Miniature product****************************/
div .login-to-order-label a{
    background-color: #1c4d85;
    border-radius: 20px;
    display: flex;
    color: #fff;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    font-size: 16px;
}

div .login-to-order-label a:hover{
    background: #709fd4!important;
    color: #1c4d85!important;
}

.hos_logged .hos-login-btn a{
    background-color: #1C4D85!important;
    color: #fff;
}

.hos_logged .hos-login-btn a:hover{
    background-color: #709fd4!important;
    color: #1c4d85!important;
}

.hos-btn-provider{
    display: flex;
    padding: 10px 20px;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
    color: #000;
    font-family: Poppins;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px;
    text-align: center;
}

#product .hos-container-btn-provider .hos-btn-provider{
    width: 300px;
    padding: 0;
    justify-content: normal;
}

/*****************GLOBAL********************/
[type=button].btn, button.btn{
    border-radius: 20px 20px 20px 20px;
    padding: 10px 20px 10px 20px;
}

.btn-primary{
    background-color: #1c4d85;
    text-transform: initial!important;
}
.btn-primary:hover, .btn-primary:focus{
    background-color: #709fd4 !important;
    color: #1c4d85 !important;
}

.form-control:focus, .input-group.focus{
    outline-color: #1c4d85;
    border-color: #1c4d85;
}

.input-group.focus:has(#field-password),
.input-group.focus:has(#field-new_password){
    border-radius: 12px;
}

/* Nasconde il tasto aggiungi al carrello per i gruppi ristretti */
body.hide-add-to-cart-restricted .product-add-to-cart .add,
body.hide-add-to-cart-restricted .product-actions .add-to-cart,
body.hide-add-to-cart-restricted .ajax_add_to_cart_button,
body.hide-add-to-cart-restricted #add-to-cart-or-refresh .add,
body.hide-add-to-cart-restricted .wishlist-product-addtocart{
    display: none !important;
}

/* Opzionale: nasconde anche i selettori di quantità se presenti */
body.hide-add-to-cart-restricted .product-quantity,
body.hide-add-to-cart-restricted .qty-block {
    display: none !important;
}

/****************************REGISTRATION***********************/
#registration:has(.form-column-left) .register-form .form-group:has([name=psgdpr]) {
    margin-top: 30px!important
}

#registration:has(.form-column-left) .register-form .custom-checkbox [type=checkbox]+span{
    border-radius: 3px;
    border: 1px solid #D9D9D9;
}

#registration .form-group .help-block{
    order: 100;
}

/****************************PASSWORD***********************/
#password #email{
    border: 1px solid #ccc !important;
    background-color: hsla(0, 0%, 100%, .8) !important;
    border-radius: 20px;
}

#password #send-reset-link{
    border-radius: 20px;
}

@media (min-width: 768px){
    #password #email{
        border-radius: 20px 0 0 20px;
    }
    #password #send-reset-link{
        border-radius: 0 20px 20px 0;
    }
}

#password .page-header, .send-renew-password-link{
    text-align: center;
}

/**********************WISHLIST**************************/

.wishlist-product-title{
    font-family: "Poppins", sans-serif;
    font-size: 18px!important;
    font-weight: 600;
    line-height: 27px!important;
    color: #000!important;
}

.wishlist-product-price{
    font-family: "Poppins", sans-serif;
    font-size: 16px!important;
    font-weight: 500!important;
    line-height: 28px!important;
    color: #282828!important;
}

.wishlist-product-addtocart{
    background: #1B7EE5;
    color: #fff;
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px;
    margin-top: 5px;
    pointer-events: none;
    display: none;
}
.wishlist-product-addtocart:hover{
    background: #1364b7;
}

.hos-link-product-wishlist{
    display: block;
    width: 100%;
    background: #1B7EE5;
    color: #fff;
    border: 1px solid #1B7EE5;
    text-align: center;
    padding: 10px 20px 10px 20px;
    border-radius: 20px;
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.hos-link-product-wishlist:hover{
    background: #1364b7;
    color: #fff;
    text-decoration: none;
}

.hos-link-product-wishlist:focus{
    color: #fff;
    text-decoration: none;
}

.wishlist-product-availability{
    display: none!important;
}

.wishlist-product-combinations{
    display: none!important;
}

.wishlist-products-item{
    border: 1px solid #eaeaea;
    border-radius: 12px;
    padding: 15px;
}

/** ORDER CONFIRMATION **/

.order-confirmation-table .hos-total-products{
    font-weight: 700;
    color: #1E518B;
}