/* Scoped entirely to .softexponent-basket-page wrapper */
.softexponent-basket-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 20px 80px;
    font-family: 'Inter', sans-serif;
    color: #101114;
}

.softexponent-basket-page .woocommerce::after {
    content: "";
    display: table;
    clear: both;
}

/* Main Form Area */
.softexponent-basket-page .woocommerce-cart-form {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(16, 17, 20, 0.04);
    border: 1px solid #E6E9EE;
    margin-bottom: 40px;
}

.softexponent-basket-page .woocommerce table.shop_table {
    border: none;
    border-collapse: collapse;
    width: 100%;
    margin: 0;
    border-radius: 0;
}

.softexponent-basket-page .woocommerce table.shop_table th {
    border: none;
    border-bottom: 2px solid #E6E9EE;
    padding: 12px 10px;
    font-weight: 600;
    color: #6B7280;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.05em;
}

.softexponent-basket-page .woocommerce table.shop_table td {
    border: none;
    border-bottom: 1px solid #E6E9EE;
    padding: 24px 10px;
    vertical-align: middle;
}

.softexponent-basket-page .woocommerce table.shop_table tbody tr:last-child td {
    border-bottom: none;
}

/* Product links and text */
.softexponent-basket-page .woocommerce table.shop_table td.product-name a {
    color: #101114;
    font-weight: 600;
    text-decoration: none;
    font-size: 16px;
}

.softexponent-basket-page .woocommerce table.shop_table td.product-name a:hover {
    color: #9E1B1B;
}

.softexponent-basket-page .woocommerce table.shop_table td.product-price,
.softexponent-basket-page .woocommerce table.shop_table td.product-subtotal {
    color: #101114;
    font-weight: 500;
}

/* Inputs and Buttons */
.softexponent-basket-page .woocommerce .quantity input.qty {
    border: 1px solid #E6E9EE;
    border-radius: 6px;
    padding: 8px;
    text-align: center;
    color: #101114;
}

.softexponent-basket-page .woocommerce-cart-form__contents .actions {
    padding: 24px 10px 0;
}

.softexponent-basket-page .woocommerce .coupon input.input-text {
    border: 1px solid #E6E9EE;
    border-radius: 6px;
    padding: 12px 16px;
    font-size: 14px;
    color: #101114;
    box-shadow: none;
}

.softexponent-basket-page .woocommerce button.button {
    background: #101114 !important;
    color: #FFFFFF !important;
    border-radius: 8px;
    padding: 12px 24px;
    font-weight: 600;
    border: none;
    transition: all 0.2s ease;
    text-transform: none;
}

.softexponent-basket-page .woocommerce button.button:hover {
    background: #4A4F57 !important;
    transform: translateY(-1px);
}

.softexponent-basket-page .woocommerce .coupon button.button {
    background: #F7F8FA !important;
    color: #4A4F57 !important;
    border: 1px solid #E6E9EE !important;
}

.softexponent-basket-page .woocommerce .coupon button.button:hover {
    background: #E6E9EE !important;
    color: #101114 !important;
}

/* Cart Totals */
.softexponent-basket-page .cart-collaterals .cart_totals {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 10px 30px rgba(16, 17, 20, 0.04);
    border: 1px solid #E6E9EE;
    width: 100%;
}

@media (min-width: 768px) {
    .softexponent-basket-page .cart-collaterals .cart_totals {
        width: 45%;
        float: right;
    }
}

.softexponent-basket-page .cart-collaterals h2 {
    font-size: 20px;
    margin-bottom: 24px;
    color: #101114;
    font-weight: 600;
}

.softexponent-basket-page .cart_totals table.shop_table {
    border: none;
    margin-bottom: 24px;
}

.softexponent-basket-page .cart_totals table.shop_table th {
    color: #4A4F57;
    font-weight: 500;
    border-top: none;
    padding: 16px 0;
}

.softexponent-basket-page .cart_totals table.shop_table td {
    color: #101114;
    font-weight: 600;
    text-align: right;
    padding: 16px 0;
}

.softexponent-basket-page .cart_totals table.shop_table tr.order-total th,
.softexponent-basket-page .cart_totals table.shop_table tr.order-total td {
    font-size: 20px;
    border-top: 2px solid #E6E9EE;
    color: #101114;
    padding-top: 24px;
}

/* Primary Checkout Button */
.softexponent-basket-page .woocommerce .cart-collaterals .checkout-button {
    background: #9E1B1B !important;
    color: #FFFFFF !important;
    font-size: 16px;
    padding: 16px 24px;
    border-radius: 8px;
    display: block;
    text-align: center;
    width: 100%;
    margin-top: 24px;
}

.softexponent-basket-page .woocommerce .cart-collaterals .checkout-button:hover {
    background: #761515 !important;
}

/* Remove item cross */
.softexponent-basket-page .woocommerce table.shop_table a.remove {
    color: #9E1B1B !important;
    font-size: 24px;
    font-weight: 400;
}

.softexponent-basket-page .woocommerce table.shop_table a.remove:hover {
    background: #9E1B1B !important;
    color: #FFFFFF !important;
}

/* Notice area */
.softexponent-basket-page .woocommerce-message, 
.softexponent-basket-page .woocommerce-info, 
.softexponent-basket-page .woocommerce-error {
    background: #F7F8FA;
    border-radius: 8px;
    border-top-color: #C6A23A;
    color: #101114;
    box-shadow: none;
    border-left: none;
    border-right: none;
    border-bottom: none;
    border-top-width: 3px;
    padding: 16px 24px;
}
/* Plan term — compact single-line basket metadata */
.softexponent-basket-page .softexponent-cart-item__meta dl.variation {
    display: flex !important;
    align-items: baseline !important;
    flex-wrap: nowrap !important;
    gap: 6px !important;
    width: 100% !important;
    margin: 8px 0 0 !important;
    padding: 0 !important;
    white-space: nowrap !important;
}

.softexponent-basket-page .softexponent-cart-item__meta dt.variation-Planterm,
.softexponent-basket-page .softexponent-cart-item__meta dd.variation-Planterm,
.softexponent-basket-page .softexponent-cart-item__meta dd.variation-Planterm p {
    float: none !important;
    clear: none !important;
    display: inline !important;
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 15px !important;
    line-height: 1.5 !important;
    font-weight: 450 !important;
    letter-spacing: 0 !important;
    white-space: nowrap !important;
}

.softexponent-basket-page .softexponent-cart-item__meta dt.variation-Planterm {
    font-weight: 600 !important;
}

@media (max-width: 767px) {
    .softexponent-basket-page .softexponent-cart-item__meta dl.variation {
        flex-wrap: wrap !important;
        white-space: normal !important;
    }

    .softexponent-basket-page .softexponent-cart-item__meta dt.variation-Planterm,
    .softexponent-basket-page .softexponent-cart-item__meta dd.variation-Planterm,
    .softexponent-basket-page .softexponent-cart-item__meta dd.variation-Planterm p {
        white-space: normal !important;
    }
}
@media (min-width: 768px) {
    .softexponent-basket-page .softexponent-cart-item__meta dt.variation-Planterm {
        margin-right: 8px !important;
    }
}