/**
 * AnySell Enhanced Cart & Checkout — Flipkart Style
 *
 * Modern, clean UI with card-based layout.
 * Uses CSS custom properties (--anysell-*) for dynamic brand colors.
 * All selectors scoped to avoid conflicts.
 */

/* ============ GLOBAL OVERRIDES (Cart & Checkout pages only) ============ */

/* Page background */
body.woocommerce-cart,
body.woocommerce-checkout {
    background-color: var(--anysell-secondary, #F5F7FA);
}

/* ============ CART PAGE ============ */

/* Cart container — card style */
body.woocommerce-cart .woocommerce {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 15px;
}

/* Cart table wrapper */
body.woocommerce-cart .woocommerce-cart-form {
    background: #fff;
    border-radius: 8px;
    box-shadow: var(--anysell-shadow);
    padding: 0;
    overflow: hidden;
    margin-bottom: 20px;
}

/* Cart table */
body.woocommerce-cart table.shop_table {
    border: none;
    border-radius: 8px;
    margin: 0;
}

body.woocommerce-cart table.shop_table thead {
    background: var(--anysell-secondary, #F5F7FA);
}

body.woocommerce-cart table.shop_table thead th {
    padding: 14px 16px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--anysell-text-light, #666);
    border: none;
}

body.woocommerce-cart table.shop_table td {
    padding: 16px;
    border-bottom: 1px solid var(--anysell-border, #e0e0e0);
    vertical-align: middle;
}

body.woocommerce-cart table.shop_table tr:last-child td {
    border-bottom: none;
}

/* Product image in cart */
body.woocommerce-cart table.shop_table .product-thumbnail img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--anysell-border, #e0e0e0);
}

/* Product name */
body.woocommerce-cart table.shop_table .product-name a {
    color: var(--anysell-text, #212121);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
}

body.woocommerce-cart table.shop_table .product-name a:hover {
    color: var(--anysell-primary, #5CC1B1);
}

/* Variation data in cart */
body.woocommerce-cart table.shop_table .product-name .variation,
body.woocommerce-cart table.shop_table .product-name dl.variation {
    font-size: 12px;
    color: var(--anysell-text-light, #666);
    margin-top: 4px;
}

body.woocommerce-cart table.shop_table .product-name dl.variation dt,
body.woocommerce-cart table.shop_table .product-name dl.variation dd {
    display: inline;
    margin: 0;
    font-size: 12px;
}

/* Price */
body.woocommerce-cart table.shop_table .product-price .amount,
body.woocommerce-cart table.shop_table .product-subtotal .amount {
    font-weight: 700;
    font-size: 15px;
    color: var(--anysell-text, #212121);
}

/* Quantity input */
body.woocommerce-cart table.shop_table .quantity .qty {
    width: 50px;
    height: 36px;
    text-align: center;
    border: 1px solid var(--anysell-border, #e0e0e0);
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
}

/* Remove button */
body.woocommerce-cart table.shop_table .product-remove a.remove {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fafafa;
    color: #999;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.2s;
    border: 1px solid var(--anysell-border, #e0e0e0);
}

body.woocommerce-cart table.shop_table .product-remove a.remove:hover {
    background: #ff4444;
    color: #fff;
    border-color: #ff4444;
}

/* AnySell bundle qty display */
body.woocommerce-cart .anysell-cart-qty {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--anysell-secondary, #F5F7FA);
    border-radius: 4px;
    font-weight: 700;
    font-size: 14px;
    color: var(--anysell-text, #212121);
}

/* Coupon section */
body.woocommerce-cart .coupon {
    display: flex;
    gap: 8px;
    align-items: center;
    padding: 16px;
}

body.woocommerce-cart .coupon #coupon_code {
    border: 1px solid var(--anysell-border, #e0e0e0);
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 14px;
    max-width: 200px;
    outline: none;
    transition: border-color 0.2s;
}

body.woocommerce-cart .coupon #coupon_code:focus {
    border-color: var(--anysell-primary, #5CC1B1);
}

/* Buttons */
body.woocommerce-cart .coupon .button,
body.woocommerce-cart .actions .button {
    background: var(--anysell-primary, #5CC1B1);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

body.woocommerce-cart .coupon .button:hover,
body.woocommerce-cart .actions .button:hover {
    background: var(--anysell-primary-hover, #4aaa9a);
}

body.woocommerce-cart .actions .button[name="update_cart"] {
    background: #fff;
    color: var(--anysell-primary, #5CC1B1);
    border: 2px solid var(--anysell-primary, #5CC1B1);
}

body.woocommerce-cart .actions .button[name="update_cart"]:hover {
    background: var(--anysell-primary-light, #e0f5f1);
}

body.woocommerce-cart .actions .button[name="update_cart"]:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Cart Totals — Card */
body.woocommerce-cart .cart_totals {
    background: #fff;
    border-radius: 8px;
    box-shadow: var(--anysell-shadow);
    padding: 24px;
    width: 100%;
    min-width: 380px;
}

body.woocommerce-cart .cart_totals h2 {
    font-size: 16px;
    font-weight: 700;
    color: var(--anysell-text, #212121);
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--anysell-border, #e0e0e0);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

body.woocommerce-cart .cart_totals table {
    border: none;
    width: 100%;
    border-collapse: collapse;
}

body.woocommerce-cart .cart_totals table tr {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--anysell-border, #e0e0e0);
}

body.woocommerce-cart .cart_totals table tr:last-child {
    border-bottom: none;
}

body.woocommerce-cart .cart_totals table th {
    padding: 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--anysell-text-light, #666);
    border: none;
    white-space: nowrap;
    vertical-align: top;
    text-align: left;
    width: auto;
}

body.woocommerce-cart .cart_totals table td {
    padding: 0;
    font-size: 14px;
    color: var(--anysell-text, #212121);
    border: none;
    text-align: right;
    word-break: normal;
    white-space: normal;
    width: auto;
}

/* Shipping row — align top and let content flow right */
body.woocommerce-cart .cart_totals .woocommerce-shipping-totals {
    align-items: flex-start;
}

body.woocommerce-cart .cart_totals .woocommerce-shipping-totals td {
    text-align: right;
}

body.woocommerce-cart .cart_totals .woocommerce-shipping-totals td ul#shipping_method {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: right;
}

body.woocommerce-cart .cart_totals .woocommerce-shipping-totals td ul#shipping_method li {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    white-space: nowrap;
    margin-bottom: 8px;
    font-size: 14px;
}

body.woocommerce-cart .cart_totals .woocommerce-shipping-totals td ul#shipping_method li:last-child {
    margin-bottom: 0;
}

body.woocommerce-cart .cart_totals .woocommerce-shipping-totals td ul#shipping_method li label {
    white-space: nowrap;
    display: inline;
}

body.woocommerce-cart .cart_totals .woocommerce-shipping-totals td ul#shipping_method li .amount {
    white-space: nowrap;
}

/* Shipping destination address */
body.woocommerce-cart .cart_totals .woocommerce-shipping-destination {
    margin-top: 10px;
    font-size: 13px;
    color: var(--anysell-text-light, #666);
    white-space: normal;
    word-break: normal;
    line-height: 1.5;
    text-align: right;
}

body.woocommerce-cart .cart_totals .shipping-calculator-button {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    margin-top: 6px;
}

body.woocommerce-cart .cart_totals .order-total th,
body.woocommerce-cart .cart_totals .order-total td {
    padding-top: 4px;
    font-size: 18px;
    font-weight: 700;
}

body.woocommerce-cart .cart_totals .order-total {
    padding-top: 16px;
    border-top: 2px solid var(--anysell-border, #e0e0e0);
    border-bottom: none;
}

body.woocommerce-cart .cart_totals .order-total .amount {
    color: var(--anysell-text, #212121);
    font-size: 18px;
}

/* Proceed to checkout button */
body.woocommerce-cart .cart_totals .wc-proceed-to-checkout a.checkout-button {
    display: block;
    width: 100%;
    padding: 14px 24px;
    background: var(--anysell-primary, #5CC1B1);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background 0.2s, box-shadow 0.2s;
    margin-top: 16px;
}

body.woocommerce-cart .cart_totals .wc-proceed-to-checkout a.checkout-button:hover {
    background: var(--anysell-primary-hover, #4aaa9a);
    box-shadow: 0 4px 12px rgba(92, 193, 177, 0.3);
}

/* Shipping calculator link color */
body.woocommerce-cart .cart_totals .shipping-calculator-button {
    font-size: 12px;
    color: var(--anysell-primary, #5CC1B1);
    white-space: nowrap;
}

/* ============ CHECKOUT PAGE ============ */

body.woocommerce-checkout .woocommerce {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 15px;
}

/* Checkout columns */
body.woocommerce-checkout .col2-set {
    background: #fff;
    border-radius: 8px;
    box-shadow: var(--anysell-shadow);
    padding: 30px;
    margin-bottom: 20px;
}

body.woocommerce-checkout .col2-set .col-1,
body.woocommerce-checkout .col2-set .col-2 {
    padding: 0 15px;
}

/* Checkout headings */
body.woocommerce-checkout h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--anysell-text, #212121);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--anysell-primary, #5CC1B1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Form fields */
body.woocommerce-checkout .woocommerce-input-wrapper input,
body.woocommerce-checkout .woocommerce-input-wrapper textarea,
body.woocommerce-checkout .woocommerce-input-wrapper select,
body.woocommerce-checkout .form-row input.input-text,
body.woocommerce-checkout .form-row textarea,
body.woocommerce-checkout .form-row select {
    border: 1px solid var(--anysell-border, #e0e0e0);
    border-radius: 6px;
    padding: 12px 14px;
    font-size: 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    width: 100%;
}

body.woocommerce-checkout .form-row input.input-text:focus,
body.woocommerce-checkout .form-row textarea:focus,
body.woocommerce-checkout .form-row select:focus {
    border-color: var(--anysell-primary, #5CC1B1);
    box-shadow: 0 0 0 3px var(--anysell-primary-light, rgba(92,193,177,0.15));
}

/* Labels */
body.woocommerce-checkout .form-row label {
    font-size: 13px;
    font-weight: 600;
    color: var(--anysell-text-light, #666);
    margin-bottom: 6px;
}

/* Order Review */
body.woocommerce-checkout #order_review_heading {
    font-size: 16px;
    font-weight: 700;
    color: var(--anysell-text, #212121);
    text-transform: uppercase;
    margin-bottom: 16px;
}

body.woocommerce-checkout #order_review {
    background: #fff;
    border-radius: 8px;
    box-shadow: var(--anysell-shadow);
    padding: 24px;
}

body.woocommerce-checkout #order_review table.shop_table {
    border: none;
    margin-bottom: 20px;
}

body.woocommerce-checkout #order_review table.shop_table thead {
    background: var(--anysell-secondary, #F5F7FA);
    border-radius: 6px;
}

body.woocommerce-checkout #order_review table.shop_table thead th {
    padding: 12px 14px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--anysell-text-light, #666);
    border: none;
}

body.woocommerce-checkout #order_review table.shop_table td {
    padding: 14px;
    border-bottom: 1px solid var(--anysell-border, #e0e0e0);
    font-size: 14px;
}

body.woocommerce-checkout #order_review table.shop_table tr:last-child td {
    border-bottom: none;
}

body.woocommerce-checkout #order_review table.shop_table .order-total th,
body.woocommerce-checkout #order_review table.shop_table .order-total td {
    font-size: 18px;
    font-weight: 700;
    padding-top: 16px;
    border-top: 2px solid var(--anysell-border, #e0e0e0);
}

/* Payment methods */
body.woocommerce-checkout #payment {
    background: #fff;
    border-radius: 8px;
    box-shadow: var(--anysell-shadow);
    padding: 24px;
    margin-top: 20px;
}

body.woocommerce-checkout #payment ul.payment_methods {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    border: none;
}

body.woocommerce-checkout #payment ul.payment_methods li {
    padding: 14px 16px;
    border: 1px solid var(--anysell-border, #e0e0e0);
    border-radius: 6px;
    margin-bottom: 8px;
    transition: border-color 0.2s, background 0.2s;
}

body.woocommerce-checkout #payment ul.payment_methods li:hover {
    border-color: var(--anysell-primary, #5CC1B1);
    background: var(--anysell-primary-light, rgba(92,193,177,0.05));
}

body.woocommerce-checkout #payment ul.payment_methods li label {
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
}

body.woocommerce-checkout #payment .payment_box {
    background: var(--anysell-secondary, #F5F7FA);
    border-radius: 6px;
    padding: 14px;
    margin-top: 10px;
    font-size: 13px;
    color: var(--anysell-text-light, #666);
}

body.woocommerce-checkout #payment .payment_box::before {
    display: none;
}

/* Place Order button */
body.woocommerce-checkout #payment #place_order {
    display: block;
    width: 100%;
    padding: 16px 24px;
    background: var(--anysell-primary, #5CC1B1);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
}

body.woocommerce-checkout #payment #place_order:hover {
    background: var(--anysell-primary-hover, #4aaa9a);
    box-shadow: 0 4px 12px rgba(92, 193, 177, 0.3);
}

/* Notices */
body.woocommerce-cart .woocommerce-info,
body.woocommerce-cart .woocommerce-message,
body.woocommerce-checkout .woocommerce-info,
body.woocommerce-checkout .woocommerce-message {
    background: #fff;
    border: none;
    border-left: 4px solid var(--anysell-primary, #5CC1B1);
    border-radius: 6px;
    box-shadow: var(--anysell-shadow);
    padding: 14px 18px;
    font-size: 14px;
    margin-bottom: 16px;
}

body.woocommerce-cart .woocommerce-error,
body.woocommerce-checkout .woocommerce-error {
    background: #fff;
    border: none;
    border-left: 4px solid #ff4444;
    border-radius: 6px;
    box-shadow: var(--anysell-shadow);
    padding: 14px 18px;
}

/* ============ ZONE / SHIPPING NOTICE FIXES ============ */

/* Zone match message — tick icon inline with text */
body.woocommerce-cart .woocommerce-shipping-destination,
body.woocommerce-cart .shipping-zone-notice,
body.woocommerce-cart .woocommerce-info,
body.woocommerce-cart .woocommerce-message,
body.woocommerce-checkout .woocommerce-info,
body.woocommerce-checkout .woocommerce-message {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    flex-wrap: nowrap;
    position: relative;
    padding-left: 44px !important;
}

/* Move the tick/checkmark icon to sit beside the text (not below) */
body.woocommerce-cart .woocommerce-info::before,
body.woocommerce-cart .woocommerce-message::before,
body.woocommerce-checkout .woocommerce-info::before,
body.woocommerce-checkout .woocommerce-message::before {
    position: absolute !important;
    left: 14px !important;
    top: 50% !important;
    transform: translateY(-50%);
    flex-shrink: 0;
    margin: 0 !important;
    font-size: 18px;
    line-height: 1;
}

/* Remove item (cross) button — inside the box, not on the border */
body.woocommerce-cart table.shop_table .product-remove a.remove {
    position: relative;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f5f5f5;
    color: #999;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.2s;
    border: none;
    box-shadow: none;
    margin: 0 auto;
}

body.woocommerce-cart table.shop_table .product-remove a.remove:hover {
    background: #ff4444;
    color: #fff;
}

/* Ensure remove button cell is properly aligned */
body.woocommerce-cart table.shop_table td.product-remove {
    text-align: center;
    padding: 16px 8px;
}

/* ============ RESPONSIVE ============ */

@media screen and (max-width: 768px) {
    body.woocommerce-cart .woocommerce,
    body.woocommerce-checkout .woocommerce {
        padding: 10px;
    }

    /* Notice boxes — organized layout on mobile */
    body.woocommerce-cart .woocommerce-info,
    body.woocommerce-cart .woocommerce-message,
    body.woocommerce-checkout .woocommerce-info,
    body.woocommerce-checkout .woocommerce-message {
        padding: 12px 14px 12px 42px !important;
        font-size: 13px;
        line-height: 1.5;
        margin-bottom: 10px;
        word-break: break-word;
        overflow-wrap: break-word;
    }

    body.woocommerce-cart .woocommerce-info::before,
    body.woocommerce-cart .woocommerce-message::before,
    body.woocommerce-checkout .woocommerce-info::before,
    body.woocommerce-checkout .woocommerce-message::before {
        left: 12px !important;
        font-size: 16px;
    }

    body.woocommerce-cart .woocommerce-error,
    body.woocommerce-checkout .woocommerce-error {
        padding: 12px 14px !important;
        font-size: 13px;
        margin-bottom: 10px;
    }

    body.woocommerce-cart .woocommerce-cart-form {
        border-radius: 6px;
    }

    /* Make cart responsive — stack items */
    body.woocommerce-cart table.shop_table thead {
        display: none;
    }

    body.woocommerce-cart table.shop_table tr {
        display: flex;
        flex-wrap: wrap;
        padding: 16px;
        border-bottom: 1px solid var(--anysell-border, #e0e0e0);
        align-items: center;
        gap: 10px;
    }

    body.woocommerce-cart table.shop_table tr:last-child {
        border-bottom: none;
    }

    body.woocommerce-cart table.shop_table td {
        border: none;
        padding: 0;
    }

    body.woocommerce-cart table.shop_table .product-remove {
        order: -1;
    }

    body.woocommerce-cart table.shop_table .product-thumbnail {
        width: 72px;
    }

    body.woocommerce-cart table.shop_table .product-name {
        flex: 1;
        min-width: 60%;
    }

    body.woocommerce-cart table.shop_table .product-price {
        width: 100%;
        font-size: 14px;
    }

    body.woocommerce-cart table.shop_table .product-price::before {
        content: "Price: ";
        font-weight: 600;
        color: var(--anysell-text-light, #666);
    }

    body.woocommerce-cart table.shop_table .product-quantity {
        width: auto;
    }

    body.woocommerce-cart table.shop_table .product-subtotal {
        width: auto;
        margin-left: auto;
        font-weight: 700;
    }

    /* Cart totals full width on mobile */
    body.woocommerce-cart .cart_totals {
        margin-top: 16px;
        border-radius: 6px;
        min-width: unset;
        padding: 16px;
    }

    /* Cart totals rows — keep horizontal but adjust spacing */
    body.woocommerce-cart .cart_totals table tr {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: flex-start;
        padding: 14px 0;
    }

    body.woocommerce-cart .cart_totals table th {
        font-size: 13px;
        font-weight: 700;
        color: var(--anysell-text, #212121);
        flex-shrink: 0;
        width: auto;
    }

    body.woocommerce-cart .cart_totals table td {
        text-align: right;
        flex: 1;
    }

    /* Shipping row — full width content below the label */
    body.woocommerce-cart .cart_totals .woocommerce-shipping-totals {
        flex-direction: column;
        align-items: stretch;
    }

    body.woocommerce-cart .cart_totals .woocommerce-shipping-totals th {
        margin-bottom: 10px;
    }

    body.woocommerce-cart .cart_totals .woocommerce-shipping-totals td {
        text-align: left;
        width: 100%;
    }

    body.woocommerce-cart .cart_totals .woocommerce-shipping-totals td ul#shipping_method {
        text-align: left;
        padding: 0;
        margin: 0;
    }

    body.woocommerce-cart .cart_totals .woocommerce-shipping-totals td ul#shipping_method li {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        flex-wrap: nowrap;
        gap: 8px;
        margin-bottom: 12px;
        font-size: 14px;
        padding: 8px 10px;
        background: var(--anysell-secondary, #F5F7FA);
        border-radius: 6px;
    }

    body.woocommerce-cart .cart_totals .woocommerce-shipping-totals td ul#shipping_method li:last-child {
        margin-bottom: 0;
    }

    body.woocommerce-cart .cart_totals .woocommerce-shipping-totals td ul#shipping_method li input[type="radio"] {
        flex-shrink: 0;
        margin: 0;
        width: 16px;
        height: 16px;
    }

    body.woocommerce-cart .cart_totals .woocommerce-shipping-totals td ul#shipping_method li label {
        flex: 1;
        white-space: normal;
        word-break: break-word;
        display: inline;
        line-height: 1.4;
    }

    /* Shipping destination address — clean layout */
    body.woocommerce-cart .cart_totals .woocommerce-shipping-destination {
        text-align: left;
        font-size: 12px;
        line-height: 1.6;
        margin-top: 12px;
        padding: 10px 12px;
        background: var(--anysell-secondary, #F5F7FA);
        border-radius: 6px;
        display: block;
    }

    /* Shipping calculator link */
    body.woocommerce-cart .cart_totals .shipping-calculator-button {
        display: inline-flex;
        margin-top: 8px;
        justify-content: flex-start;
    }

    /* Order total row — keep side by side */
    body.woocommerce-cart .cart_totals .order-total {
        flex-direction: row;
        align-items: center;
    }

    /* Checkout */
    body.woocommerce-checkout .col2-set {
        padding: 20px 15px;
        border-radius: 6px;
    }

    body.woocommerce-checkout .col2-set .col-1,
    body.woocommerce-checkout .col2-set .col-2 {
        padding: 0;
        width: 100%;
        float: none;
    }

    body.woocommerce-checkout #order_review {
        padding: 16px;
        border-radius: 6px;
    }

    body.woocommerce-checkout #payment {
        padding: 16px;
        border-radius: 6px;
    }

    /* Coupon on mobile */
    body.woocommerce-cart .coupon {
        flex-wrap: wrap;
    }

    body.woocommerce-cart .coupon #coupon_code {
        max-width: 100%;
        width: 100%;
    }
}

@media screen and (max-width: 480px) {
    body.woocommerce-cart table.shop_table .product-thumbnail img {
        width: 56px;
        height: 56px;
    }

    body.woocommerce-cart .cart_totals .wc-proceed-to-checkout a.checkout-button,
    body.woocommerce-checkout #payment #place_order {
        font-size: 14px;
        padding: 14px 20px;
    }

    /* Notices — compact on small screens */
    body.woocommerce-cart .woocommerce-info,
    body.woocommerce-cart .woocommerce-message,
    body.woocommerce-checkout .woocommerce-info,
    body.woocommerce-checkout .woocommerce-message {
        padding: 10px 10px 10px 38px !important;
        font-size: 12px;
        border-radius: 4px;
        margin-bottom: 8px;
    }

    body.woocommerce-cart .woocommerce-info::before,
    body.woocommerce-cart .woocommerce-message::before,
    body.woocommerce-checkout .woocommerce-info::before,
    body.woocommerce-checkout .woocommerce-message::before {
        left: 10px !important;
        font-size: 14px;
    }
}
