/* Wadood cart redesign */

.wd-cart {
    padding-bottom: 2rem;
}

.wd-cart__title {
    font-size: 1.25rem !important;
    font-weight: 800 !important;
    color: #12141a !important;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem !important;
    text-align: start !important;
}

.wd-cart__head-table {
    margin-bottom: 0.5rem !important;
}

.wd-cart__head-table thead th {
    background: transparent !important;
    border: 0 !important;
    color: #6b7280 !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    text-transform: none !important;
    padding-block: 0.35rem !important;
}

.wd-cart__shop-card {
    border: 1px solid rgba(18, 20, 26, 0.07) !important;
    border-radius: 16px !important;
    box-shadow: 0 1px 2px rgba(18, 20, 26, 0.04) !important;
    overflow: hidden;
    background: #fff !important;
}

.wd-cart__shop-card .card-header {
    background: #f8f9fb !important;
    border-bottom: 1px solid rgba(18, 20, 26, 0.06) !important;
    padding: 0.85rem 1rem !important;
}

.wd-cart__shop-card .card-header a {
    font-weight: 700 !important;
    color: #12141a !important;
    font-size: 0.92rem !important;
}

.wd-cart__shop-card .__cart-table td {
    padding: 1rem 0.75rem !important;
    vertical-align: middle !important;
    border-top: 1px solid rgba(18, 20, 26, 0.05) !important;
}

.wd-cart__shop-card .__cart-table tr:first-child td {
    border-top: 0 !important;
}

.wd-cart__shop-card img.__img-62 {
    width: 68px !important;
    height: 68px !important;
    object-fit: cover;
    border-radius: 12px !important;
    background: #f4f5f7;
}

.wd-cart__shop-card a {
    color: #12141a;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 0.9rem;
}

.wd-cart__shop-card .__text-12px {
    color: #9ca3af !important;
}

.wd-cart__price {
    font-size: 0.92rem;
    font-weight: 700;
    color: #12141a;
    white-space: nowrap;
}

.wd-cart__price--total {
    font-size: 0.98rem;
}

.wd-cart__price .wd-amount {
    font-size: 1.1em;
}

.wd-cart__price .wd-currency {
    font-size: 0.8em;
}

.wd-cart__qty {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    gap: 0 !important;
    min-width: 110px;
    height: 40px;
}

.wd-cart__qty .qty_minus,
.wd-cart__qty .qty_plus {
    width: 36px;
    height: 100%;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
    cursor: pointer;
    color: #12141a;
}

.wd-cart__qty .qty_input {
    border: 0 !important;
    width: 40px !important;
    text-align: center;
    font-weight: 700;
    font-size: 0.9rem;
    background: transparent;
}

.wd-cart .free-delivery-area {
    background: color-mix(in srgb, var(--web-primary) 6%, #fff);
    border-radius: 12px;
    margin-inline: 0.75rem;
    padding: 0.75rem 0.85rem !important;
}

.wd-cart .free-delivery-progress {
    height: 6px;
    border-radius: 999px;
    background: #e5e7eb;
    margin-top: 0.45rem;
}

.wd-cart .free-delivery-progress .progress-bar {
    border-radius: 999px;
    background: var(--web-primary);
}

/* Order summary */
.wd-cart-summary__card {
    border: 1px solid rgba(18, 20, 26, 0.07) !important;
    border-radius: 16px !important;
    background: #fff !important;
    box-shadow: 0 1px 2px rgba(18, 20, 26, 0.04);
    padding: 1.15rem 1.2rem 1.25rem !important;
}

.wd-cart-summary__title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #12141a;
    margin: 0 0 1rem;
    letter-spacing: -0.01em;
}

.wd-cart-summary .cart_title {
    color: #6b7280 !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
}

.wd-cart-summary .cart_value {
    color: #12141a !important;
    font-size: 0.92rem !important;
    font-weight: 700 !important;
}

.wd-cart-summary .cart_value .wd-amount {
    font-size: 1.1em;
}

.wd-cart-summary .cart_value .wd-currency {
    font-size: 0.8em;
}

.wd-cart-summary__total {
    font-size: 1.1rem !important;
    font-weight: 800 !important;
    color: var(--web-primary) !important;
}

.wd-cart-summary hr {
    border-color: rgba(18, 20, 26, 0.08) !important;
}

.wd-cart-summary .coupon-code-form .form-control,
.wd-cart-summary #coupon-code-ajax .form-control {
    border-radius: 12px !important;
    border-color: #e5e7eb !important;
}

.wd-cart-summary__checkout {
    border-radius: 12px !important;
    min-height: 48px;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    box-shadow: none !important;
}

.wd-cart-summary__continue {
    font-size: 0.88rem !important;
}

.wd-cart-sticky {
    border-top: 1px solid #eceef2 !important;
    box-shadow: 0 -10px 30px rgba(18, 20, 26, 0.08) !important;
}

.wd-cart-sticky .btn--primary {
    border-radius: 12px !important;
    min-height: 46px;
    font-weight: 700 !important;
}

/* Hide legacy reliability leftovers if any */
.wd-cart .light-box,
.wd-cart-summary .light-box,
.order-summery-aside .light-box,
.footer-sliders {
    display: none !important;
}

@media (max-width: 991.98px) {
    .wd-cart {
        padding-inline: 0.75rem;
    }

    .wd-cart__title {
        font-size: 1.1rem !important;
        margin-top: 0.75rem !important;
    }

    .wd-cart__shop-card {
        border-radius: 14px !important;
        padding-bottom: 0.5rem;
    }

    .wd-cart__shop-card .card-header {
        border-radius: 14px 14px 0 0 !important;
    }
}
