.sold-out-tag {
	background-color: #050a30;
	border-color: #050a30;
	padding: 4px 10px;
	line-height: 20.4px;
	cursor: pointer;
	border-radius: 11px;
	border: 1px solid var(--rgba-dark-3);
	color: #ffffff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	max-width: 180px;
}


.filter-size-box .size-item.active {
    background-color: #518e38;
    border-color: #518e38;
}


.wg-pagination {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    justify-content: center;
    gap: 10px;
}

/* modal cookies */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}
.cc-td-90 {
    padding: 10px;
}



.tf-mini-cart-item .remove {
    margin-top: 6px;
}

h3, .display-lg {
    font-size: 2vw !important;
}

.sbar {
    text-decoration: line-through;
    text-decoration-thickness: 2px;
    color: var(--dark);
    opacity: 0.6;
    display: block;
}

.card-product .box-icon.in-wishlist,
.card-product .box-icon.in-cart {
    background-color: var(--dark) !important;
    color: var(--white);
    border-color: var(--dark);
}

.hover-tooltip.in-wishlist .tooltip,
.hover-tooltip.in-cart .tooltip {
    opacity: 1;
    visibility: visible;
}

.hover-tooltip.in-wishlist.tooltip-left .tooltip,
.hover-tooltip.in-cart.tooltip-left .tooltip {
    transform: translateX(-8px);
}

.delicon-cart-smaller {
    font-size: 16px;
    line-height: 1.6;
}

/* menu lingue */
.nav-language {
    position: relative;
}

.lang-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 8px;
    border-radius: 30px;
    background: #f7f7f7;
    transition: all .25s ease;
    text-decoration: none;
    border: 1px solid transparent;
    min-width: 60px;
}

.lang-selector:hover {
    background: #efefef;
    border-color: #e2e2e2;
}

.lang-selector::after {
    margin-left: 2px;
    font-size: 11px;
}

.lang-flag {
    width: 20px;
    height: 20px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .12);
}

.lang-label {
    font-size: 13px;
    font-weight: 600;
    color: #222;
    letter-spacing: .3px;
}

/* DROPDOWN */

.lang-dropdown {
    min-width: 170px;
    border: 0;
    border-radius: 18px;
    padding: 10px;
    margin-top: 12px;
    box-shadow:
        0 10px 40px rgba(0, 0, 0, .08),
        0 2px 10px rgba(0, 0, 0, .04);
    animation: fadeLang .18s ease;
}

.lang-dropdown .dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 12px;
    padding: 10px 12px;
    font-size: 14px;
    transition: all .2s ease;
    color: #222;
}

.lang-dropdown .dropdown-item:hover {
    background: #f5f5f5;
}

.lang-dropdown .dropdown-item.active {
    background: #f1f3f5;
    font-weight: 600;
}

.lang-dropdown .fa-check {
    font-size: 12px;
    color: #198754;
}

@keyframes fadeLang {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.lang-selector.dropdown-toggle::after {
    display: none !important;
}



/* MODAL PESO SUPERATO */
.custom-online-modal{
    border-radius: 24px;
    background: linear-gradient(145deg, #FFC107, #FF9800);
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
    overflow: hidden;
}

.icon-wrapper{
    width: 80px;
    height: 80px;
    margin: auto;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.15);

    backdrop-filter: blur(6px);
    animation: pulseGlow 2s infinite;
}

.icon-wrapper i{
    font-size: 42px;
    color: #fff;
}

.modal-title-custom{
    font-size: 34px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.modal-text{
    font-size: 20px;
    line-height: 1.5;
    font-weight: 500;
    opacity: .95;
}

.btn-confirm-sync{
    width: 40px;
    height: 40px;
    border-radius: 5px;
    border: 2px solid rgba(255,255,255,0.35);
    background: rgba(255,255,255,0.12);

    color: #fff;
    font-size: 18px;
}

.btn-confirm-sync:hover{

    background: #fff;
    color: #72bc49;
}

.btn-confirm-sync:active{
    transform: scale(.96);
}

@keyframes pulseGlow{
    0%{
        box-shadow: 0 0 0 rgba(255,255,255,0.2);
    }
    50%{
        box-shadow: 0 0 30px rgba(255,255,255,0.35);
    }
    100%{
        box-shadow: 0 0 0 rgba(255,255,255,0.2);
    }
}




/* Gestione alert */
.alertareamaindiv {
    position: fixed;
    left: 0px;
    right: 0px;
    top: 35px;
    z-index: 100000;
}

#alertnas .alert .alert-close {
    position: absolute;
    top: 38%;
    right: 12px;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    font-size: 12px;
    color: #555;
    opacity: 0.7;
    transition: opacity .2s ease, transform .2s ease;
}

#alertnas .alert .alert-close:hover {
    opacity: 1;
    transform: scale(1.1);
}

#alertnas .alert .alert-close i {
    pointer-events: none;
}

#alertnas .alert {
    border: none !important;
    border-radius: 0px 3px 3px 0px !important;
    padding: 15px 20px;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 10px;
}

#alertnas .alert-danger {
    background: #f8d7da;
    border-left: 6px solid #b60000 !important;
}

#alertnas .alert-success {
    background: #d1e7dd;
    border-left: 6px solid #0f6848 !important;
}

#alertnas .alert-warning {
    border-left: 6px solid #b88b00 !important;
}

#alertnas .alert-info {
    background: #cff4fc;
    border-left: 6px solid #05647a !important;
}

.box-nav-menu .mega-product .wrapper-sub-menu {
    width: 100%;
}

.tf-page-title h4,
.breadcrumb-list .breadcrumb-item,
.breadcrumb-list .current {
    color: #ffffff;
}

.breadcrumb-list .dot span {
    background-color: #ffffff;
}

.product-border {
    border: 1px solid #eeeeee;
    border-radius: 8px;
}

.bg-wrapper {
    background: #EEEEEE;
}

.card-product .card-product-wrapper img {
    object-fit: contain;
}

.card-product .price-wrap .price-new,
.tf-product-info-wrap .product-price .price-new {
    color: #050a30 !important;
}

table.tf-sizeguide-table {
    border-collapse: separate;
    border-spacing: 0;
    empty-cells: hide;
}

table.tf-sizeguide-table th,
table.tf-sizeguide-table td {
    border: 1px solid #ccc;
}

#macchinaSelect+.select2-container .select2-selection--single,
#macchinaSelect+.select2-container--default .select2-selection--single .select2-selection__arrow,
input[type=search] {
    height: 40px;
}

#macchinaSelect+.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 40px;
}

.box-nav-menu .mega-product .wrapper-sub-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.box-nav-menu .mega-product .wrapper-sub-menu>* {
    min-width: 180px;
}

.box-nav-menu .mega-menu {
    left: 24px;
    width: max-content;
}

.meta-filter-shop .remove-all-filters {
    border-color: var(--dark);
}

.canvas-mb .mb-bottom .bottom-bar-language {
    display: block;
}

.icon-logout {
    display: inline-flex;
    align-items: center;
}

.box-check-reg {
    border-radius: 16px;
    border: 1px solid var(--line);
    padding: 45px 15px;
    height: 100%;
    display: block;
    min-width: 100px;
}

.registrazione {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.registrazione.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.box-check-reg.active {
    border: 2px solid #62994cad;
}

select {
    border: 1px solid var(--line);
    outline: 0;
    box-shadow: none;
    font-size: 14px;
    line-height: 20px;
    border-radius: 6px;
    padding: 14px 40px 14px 20px;
    width: 100%;
    background: var(--white);
    color: var(--rgba-dark-2);
    height: 50px;
    font-weight: 400;
    @include transition3;

    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    &:hover,
    &:focus {
        border-color: var(--rgba-dark-2);
    }
}

#provincia_conosciuta,
#provincia_sped_conosciuta,
#spedDataForm {
    display: none;
}

#prefix,
#prefix_sped {
    max-width: 100px;
    border-right: none;
    border-radius: 6px 0px 0px 6px;
}

#cellulare,
#cellulare_sped {
    border-radius: 0px 6px 6px 0px;
}

.card-product .name-product,
.name-purchased {
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    overflow: hidden;
}

.name-product {
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    overflow: hidden;
}

#compl_risp_div {
    max-height: 0px;
    overflow: hidden;
    transition: 0.8s;
}

#compl_risp_div.active {
    max-height: 500px;
}

#toggle_pwd,
#toggle_pwd_conf {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

#reg_password,
#conf_passord_reg {
    padding-right: 40px;
}

fieldset {
    position: relative;
}

.tf-page-cart-sidebar .order-box .order-item .img-product img {
    object-fit: contain;
}

.paypal-payment .payment-header .card-logo {
    min-height: 10px;
    max-height: 20px;
    width: auto;
}

.ritiro_magazzino {
    display: none;
    border: 1px solid #ebebeb;
    border-radius: 6px;
    padding: 1.5rem;
}

.cart-empty-wrap {
    text-align: center;
    padding: 0 15px;
}

.new-price.text-primary {
    color: #050a30 !important;
}

.discount-ip {
    display: flex;
    gap: 6px;
}

.tag-coupon {
    background: #d1ecf1;
    border-radius: 3px 0 0 3px;
    color: #0c5460;
    display: inline-block;
    height: 26px;
    line-height: 26px;
    padding: 0 18px 0 7px;
    position: relative;
    text-decoration: none;
    -webkit-transition: color 0.2s;
    margin-top: 15px;
    margin-bottom: 0px;
    font-size: 14px;
}

.tag-coupon::after {
    background: #fff;
    border-bottom: 13px solid transparent;
    border-left: 10px solid #d1ecf1;
    border-top: 13px solid transparent;
    content: '';
    position: absolute;
    right: 0;
    top: 0;
}

.testimonial-cart-box {
    border-color: transparent;
    background: linear-gradient(113.78deg, #fff6d4 0%, #ffe3e3 100%);
    padding: 21px;
    border-radius: 16px;
    padding-bottom: 24px;
    margin-bottom: 24px;
}

.text-sm.text-sm-product {
    font-size: 12px;
    line-height: 18px;
}

.search-inline {
    display: flex;
    align-items: center;
}

.search-inline input {
    flex: 1 1 60%;
    min-width: 200px;
    border-right: none;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
}

.search-inline select {
    border-color: rgba(0, 0, 0, 0.2);
}

.search-inline select[name="brand"] {
    border-color: rgba(0, 0, 0, 0.2);
    border-radius: 0px;
}

.search-inline select[name="macchine-compatibili"] {
    border-color: rgba(0, 0, 0, 0.2);
    border-left: none;
    border-radius: 0px;
    border-right: none;
}

.search-select {
    flex: 0 0 150px;
}

.form-search button {
    position: relative;
    right: unset;
    top: unset;
    transform: none;
    padding: 0;
    color: var(--dark);
    background-color: #dbd8d8e6;
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
    border: 1px solid #bebebe;
    width: 45px;
    height: 50px;
}

.pop-up-warning {
    color: #664d03;
    background-color: #fff3cd;
    border-color: #ffecb5;
}

#verifycode {
    width: 30%;
}

@media (max-width: 767px) {

    .card-product .list-product-btn li.wishlist,
    .card-product .list-product-btn li.compare {
        display: inline;
    }
    
	h3, .display-lg {
	    font-size: 36px !important;
	}
}

@media (min-width: 768px) {
    .cart-empty-wrap {
        padding: 27px 15px;
    }
}

@media (max-width: 576px) {
    .search-select {
        flex: 0;
    }

    .search-inline input {
        border-right: 1px solid #ebebeb;
        border-top-right-radius: 6px;
        border-bottom-right-radius: 6px;
    }

    .search-inline select[name="macchine-compatibili"] {
        border-radius: 6px;
        border-left: 1px solid rgba(0, 0, 0, 0.2);
        border-right: 1px solid rgba(0, 0, 0, 0.2);
    }

    .search-inline select[name="brand"] {
        border-radius: 6px;
    }
}