
.add-to-cart-mod {

}

.add-to-cart-mod.loading::after {
    /* position: absolute!important;
    top: 50%!important;
    right: 10px!important;
    transform: translateY(-50%)!important; */
}

.add-to-cart-mod.process {
    position: relative;
    z-index: 0;
}

.add-to-cart-mod.loading {
    opacity: 0.7;
    cursor: wait;
    pointer-events: none;
}

.add-to-cart-mod.process:after {
    content: '';
    background: linear-gradient(45deg, #FFB716, #FF8A00, #FF5E3A, #FF2D95, #8B5CF6, #3B82F6, #00C2FF, #22C55E, #FFE066, #FFB716);
    position: absolute;
    top: -2px;
    left:-2px;
    background-size: 400%;
    z-index: -1;
    filter: blur(7px);
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    animation: glowing 10s linear infinite;
    transition: opacity .3s ease-in-out;
    border-radius: 10px;
}

/* .add-to-cart-mod.process:after {
    z-index: -1;
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: #FFB716;
    left: 0;
    top: 0;
    border-radius: 4px;
} */

.woocommerce .cart-collaterals .cart_totals, .woocommerce-page .cart-collaterals .cart_totals {
    width: 100%;
}

.modal-sun-overlay[data-id="order"] form.wpcf7-form {
    box-shadow: none!important;
}

.modal-sun-overlay[data-id="order"] .actions {
    margin-top: 30px;
}

.modal-sun-overlay[data-id="order"] .field-cart-items {
    display: none;
}

.modal-sun-overlay[data-id="order"] .header_thanks .icon {
    width: 85px;
    height: 85px;
    margin: 0 auto 15px;
}

.modal-sun-overlay[data-id="order"] .modal-in-thanks {
    text-align: center;
    font-size: 16px;
}

.modal-sun-overlay[data-id="order"] .modal-in-thanks .header_thanks {
    margin-bottom: 15px;
}

.header-mini-cart,
.header-cart-count {
    display: none !important;
}

a.cart-mini {
    text-decoration: none;
    color: inherit;
}

a.cart-mini.is-empty {
    opacity: 0.72;
}

a.cart-mini.has-items .cart-mini-count-number {
    font-weight: 600;
}

@keyframes glowing {
    0% { background-position: 0 0; }
    50% { background-position: 400% 0; }
    100% { background-position: 0 0; }
}

.theme-cart {
    padding: 0px 0 48px;
}

.theme-cart__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 400px;
    gap: 24px;
}

.theme-cart-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.theme-cart-item {
    position: relative;
    display: flex;
    gap: 40px;
    align-items: center;
    padding: 24px;
    border: 1px solid #0000001A;
    border-radius: 8px;
    background: #fff;
}

.theme-cart-item__info-wrap {
    display: flex;
    align-items: center;
    gap: 24px;
    flex:1;
}

.theme-cart-item__price-wrap {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-shrink: 0;
}

.theme-cart-item__remove {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
}

.theme-cart-item__remove .remove {
    display: flex!important;
    align-items: center;
    justify-content: center;
    width: 16px!important;
    height: 16px!important;
}

.theme-cart-item__remove .remove::before {
    content: '';
    width: 12px;
    height: 12px;
    background-image: url(../../../assets/images/close.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.theme-cart-item__remove .remove:hover {
    color: #222;
    background-color: transparent!important;
}

.theme-cart-item__thumb {
    flex-shrink: 0;
    width: 130px;
    height: 130px;
}

.theme-cart-item__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.theme-cart-item__title {
    margin: 0 0 8px;
    font-size: 18px;
    line-height: 1.3;
    font-weight: 600;
}

.theme-cart-item__title a {
    color: inherit;
    text-decoration: none;
}

.theme-cart-item__meta-wrap {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 4px;
}

.theme-cart-item__meta-row {
    display: flex;
    gap: 4px;
    font-size: 14px;
}

.theme-cart-item__meta-row-label {
    color: #24242BB2;
}

.theme-cart-item__meta-row-value {

}

.theme-cart-item__warehouse {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    font-weight: 600;
}

.theme-cart-item__warehouse-icon {
    width: 16px;
    height: 16px;
    background-image: url(../../../assets/images/pin-red.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.theme-cart-item__price-ton {
    font-size: 16px;
    text-align: center;
}

.theme-cart-item__qty .akron-quantity__stepper {
    display: flex;
    align-items: center;
    border: 1px solid #0000001A;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    width: 150px;
    height: 48px;
    position: relative;
}

.theme-cart-item__qty .akron-quantity__btn {
    position: absolute;
    top: 0;
    width: 44px;
    height: 100%;
    border: 0;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}

.theme-cart-item__qty .akron-quantity__btn span {
    display: block;
    width: 12px;
    height: 12px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.2s ease;
}

.theme-cart-item__qty .akron-quantity__btn--plus {
    right: 0;
}

.theme-cart-item__qty .akron-quantity__btn--plus span {
    background-image: url(../../../assets/images/plus.svg);
}

.theme-cart-item__qty .akron-quantity__btn--minus {
    left: 0;
}

.theme-cart-item__qty .akron-quantity__btn--minus span {
    background-image: url(../../../assets/images/minus.svg);
}

.theme-cart-item__qty .akron-quantity__btn:hover {
    background-color: rgba(36, 36, 43, 0.04);
}

.theme-cart-item__qty .qty {
    width: 100%!important;
    min-width: 0;
    height: 100%;
    border: 0;
    text-align: center;
    font-size: 14px;
    background: #fff;
    box-shadow: none;
}

.theme-cart-item__qty .qty:focus {
    outline: 0;
}

.theme-cart-item__qty .qty:focus-visible {
    outline: 0;
}

.theme-cart-item__total-wrap {
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.theme-cart-item__total {
    font-size: 18px;
    font-weight: 600;
}

.theme-cart-item__stock {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    font-size: 14px;
}

.theme-cart-item__stock.is-in-stock {

}

.theme-cart-item__stock-icon {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-image: url(../../../assets/images/available.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.theme-cart-item__stock.is-in-stock .theme-cart-item__stock-icon {
    background-image: url(../../../assets/images/available.svg);
}

.theme-cart__summary .theme-cart-collaterals {
    position: sticky;
    top: 10px;
    z-index: 1;
}

.theme-cart-totals {
    padding: 32px;
    border-radius: 8px;
    background: #F2F2F3;
}

.theme-cart-totals__title {
    margin: 0 0 8px;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.theme-cart-totals__rows {
    margin: 0 0 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.theme-cart-totals__row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    font-size: 16px;
    line-height: 1.4;
}

.theme-cart-totals__row-title {
    
}

.theme-cart-totals__row-value {
    font-size: 16px;
}

.theme-cart-totals__row--total .theme-cart-totals__row-value strong {
    font-size: 22px;
    font-weight: 600;
}

.theme-cart-totals__row-line {
    flex: 1;
    height: 1px;
    border-bottom: 1px dashed #0000001A;
}

.theme-cart-totals__checkout {
    padding: 0!important;
}

.theme-cart-checkout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 56px;
    padding: 0px 20px;
    border: 0;
    border-radius: 6px;
    background: #DE0000;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.theme-cart-checkout-btn:hover {
    background: #DE0000;
    color: #fff;
}

.theme-cart-checkout-btn__arrow {
    background-image: url(../../../assets/images/arrow-right-white.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.theme-cart-checkout-btn:hover .theme-cart-checkout-btn__arrow {
    transform: translateX(4px);
}

.theme-cart-form__actions {
    display: none;
}

.woocommerce .theme-cart-collaterals .cart_totals {
    width: 100%;
    float: none;
}

@media (max-width: 1300px) {
    .theme-cart-item__price-wrap {
        flex-shrink: 1;
        text-wrap: nowrap;
        flex-wrap: wrap;
        justify-content: flex-end;
        gap: 8px 16px;
    }

    .theme-cart-item__price-ton {
        flex:1 0 100%;
        text-align: left;
        font-weight: 600;
    }

    .theme-cart-item__info-wrap {
        flex: 1 1 auto;
    }

    .theme-cart-item__total-wrap {
        flex: 1;
    }

    .theme-cart-item__qty {
        flex-grow: 1;
    }
}

@media (max-width: 1199px) {
    .theme-cart-item {
        flex-direction: column;
        align-items: normal;
        gap: 16px;
    }
}

@media (max-width: 1100px) {
    .theme-cart-item {

    }
}

@media (max-width: 900px) {
    .theme-cart__layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575px) {
    .theme-cart-item__info-wrap {
        flex-direction: column;
        align-items: normal;
        gap: 16px;
    }

    .theme-cart-item__thumb {
        width: 80px;
        height: 80px;
    }
}

@media (max-width: 480px) {
    .theme-cart-item__qty .akron-quantity__stepper {
        width: 100%;
    }
}