/**
 * RDW Store Suite — Cart & Checkout skin.
 *
 * Implements rdw-responsive-mockups/basket.html + checkout.html verbatim on the
 * real WooCommerce markup the plugin renders. Mobile-first: the base rules are
 * the phone layout; the two `@media (min-width:…)` blocks only ADD to it, never
 * undo it. Tokens, sizes, radii and breakpoints are copied from the mockup spec
 * (PROMPT-basket-checkout.md appendix) — do not round them.
 *
 * Breakpoints: base · 768 · 1200. Nothing else.
 *
 * @package RDW_Store_Suite
 * @since   1.26.4
 */

/* ============================================================= *
 * Tokens (sampled from dev.resindriveway.shop — exact values)
 * ============================================================= */
.rdw-cart,
.rdw-checkout {
    --navy:     #0D3577;
    --navy-d:   #0A2757;
    --navy-l:   #436EAB;
    --yellow:   #FFCA00;
    --orange:   #FFCA00; /* the site's yellow (was #E96E20): shop in navy + yellow, 11 Nov 2026 */
    --orange2:  #FFCA00;
    --cardblue: #C0DBF0;
    --ink:      #34353C;
    --muted:    #5C6880;
    --line:     #E4E8F0;
    --soft:     #F5F7FB;

    /* Back-compat aliases: older rules / other files reference --rdw-*. */
    --rdw-accent: var(--orange);
    --rdw-accent-ink: var(--navy);
    --rdw-navy: var(--navy);
    --rdw-ink: var(--ink);
    --rdw-muted: var(--muted);
    --rdw-line: var(--line);
    --rdw-bg: #ffffff;
    --rdw-panel: var(--soft);
    --rdw-radius: 20px;
    --rdw-shadow: 0 6px 22px rgba(10, 39, 87, .10);

    color: var(--ink);
    font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
}
.rdw-cart *,
.rdw-checkout *,
.rdw-cart *::before,
.rdw-cart *::after,
.rdw-checkout *::before,
.rdw-checkout *::after { box-sizing: border-box; }

/* ============================================================= *
 * Buttons — 48px pill, 44px minimum tap target
 * ============================================================= */
.rdw-cart .woocommerce .button,
.rdw-cart .woocommerce a.button,
.rdw-cart .woocommerce button.button,
.rdw-cart .woocommerce a.button.alt,
.rdw-cart .woocommerce .checkout-button,
.rdw-checkout .woocommerce #place_order,
.rdw-checkout .woocommerce button#place_order {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border: 0;
    border-radius: 999px;
    background-color: var(--orange);
    color: var(--navy);
    font-weight: 700;
    font-size: 15px;
    line-height: 1.2;
    text-transform: none;
    letter-spacing: 0;
    cursor: pointer;
    transition: filter .15s ease;
}
.rdw-cart .woocommerce .button:hover,
.rdw-cart .woocommerce a.button:hover,
.rdw-cart .woocommerce button.button:hover,
.rdw-cart .woocommerce .checkout-button:hover,
.rdw-checkout .woocommerce #place_order:hover { filter: brightness(.94); color: var(--navy); }

/* ============================================================= *
 * Progress steps  (.rdw-steps rendered by the RDW Cart/Checkout widget)
 * spec: .steps / .step / .step__n / .step__l / .step__bar
 * ============================================================= */
.rdw-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0 0 26px;
    padding: 0;
    list-style: none;
}
.rdw-step { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; font-weight: 600; }
.rdw-step__num {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    background: #E4E6EB;
    color: var(--muted);
}
.rdw-step.is-active { color: var(--ink); }
.rdw-step.is-active .rdw-step__num { background: var(--orange); color: var(--navy); }
.rdw-step.is-done   .rdw-step__num { background: var(--navy);   color: #fff; }
.rdw-step__label { display: none; font-size: 14px; }
.rdw-step__bar { width: 26px; height: 1px; background: #D6DAE3; flex: 0 0 auto; }

/* ============================================================= *
 * BASKET
 * ============================================================= */

/* Two-rail layout: items, then summary. Single column until 1200. */
.rdw-cart .woocommerce {
    display: grid;
    gap: 20px;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
}
.rdw-cart .woocommerce > .woocommerce-notices-wrapper { grid-column: 1 / -1; }
.rdw-cart .woocommerce .cross-sells { grid-column: 1 / -1; }
.rdw-cart .rdw-cc-form { margin: 0; }
.rdw-cart .cart-collaterals { width: 100%; margin: 0; float: none; }
.rdw-cart .cart-collaterals .cart_totals { width: 100%; float: none; }

/* Items card — one white card holding the line items + coupon row. */
.rdw-cart .rdw-cc-items {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 0;
    overflow: hidden;
}

/* Line item — thumbnail | text; controls drop to their own row on phones. */
.rdw-cart .citem {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 8px 14px;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid var(--line);
}
.rdw-cart .citem__thumb { align-self: center; }
.rdw-cart .rdw-cc-thumb--img { width: 64px; height: 64px; border-radius: 8px; overflow: hidden; background: var(--soft); flex: 0 0 64px; }
.rdw-cart .rdw-cc-thumb--img img { width: 64px; height: 64px; object-fit: cover; display: block; }
.rdw-cart .rdw-cc-thumb--img a { display: block; line-height: 0; }

.rdw-cart .citem__txt { min-width: 0; }
.rdw-cart .citem__txt > a,
.rdw-cart .citem__txt > a:first-child {
    display: block;
    font-size: 16px;
    line-height: 1.35;
    font-weight: 700;
    color: var(--navy);
    text-decoration: none;
    margin: 0;
}
/* Variation line (the plugin's config sub-line). */
.rdw-cart .citem__txt .citem__var,
.rdw-cart .citem__txt .rdw-cart-item-config {
    display: block;
    margin: 5px 0 0;
    font-size: 15px;
    line-height: 1.45;
    color: #6C7686;
    font-weight: 400;
}
/* Meta — one comma-separated run. */
.rdw-cart .citem__txt .meta,
.rdw-cart .rdw-cc-meta {
    margin: 9px 0 0;
    font-size: 12.5px;
    line-height: 1.65;
    color: var(--muted);
    text-wrap: pretty;
}

/* Controls row: full width below the text on phones. */
.rdw-cart .citem__ctl {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: space-between;
    margin-top: 4px;
}
.rdw-cart .citem__ctl .rdw-cc-price {
    font-weight: 700;
    font-size: 17px;
    color: var(--ink);
    white-space: nowrap;
}

/* Quantity stepper — 44×44 −/+ on a #EDEFF4 pill, 52px value on white. */
.rdw-cart .rdw-cc-qty { display: inline-flex; align-items: center; }
.rdw-cart .rdw-cc-qty .quantity { display: inline-flex; align-items: center; margin: 0; }
.rdw-cart .rdw-cc-qty .quantity.rdw-cc-stepper {
    background: #EDEFF4;
    border-radius: 999px;
    padding: 4px;
    gap: 4px;
}
.rdw-cart .rdw-cc-qty .rdw-cc-step {
    width: 44px;
    height: 44px;
    min-width: 44px;
    flex: 0 0 44px;
    border: 0;
    border-radius: 50%;
    background: #D6DAE3;
    color: #3A4256;
    font-size: 19px;
    font-weight: 700;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    transition: background .12s ease;
}
.rdw-cart .rdw-cc-qty .rdw-cc-step:hover { background: #C7CCD8; }
.rdw-cart .rdw-cc-qty .quantity.rdw-cc-stepper input.qty {
    -moz-appearance: textfield;
    width: 52px;
    height: 44px;
    border: 0;
    border-radius: 999px;
    background: #fff;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    color: var(--navy);
    box-shadow: 0 1px 3px rgba(0, 0, 0, .06);
    padding: 0 4px;
}
.rdw-cart .rdw-cc-qty input.qty::-webkit-outer-spin-button,
.rdw-cart .rdw-cc-qty input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
/* No-JS fallback: the plain qty field before the stepper is built. */
.rdw-cart .rdw-cc-qty .quantity:not(.rdw-cc-stepper) input.qty {
    width: 64px; height: 44px; border: 1px solid var(--line); border-radius: 999px;
    text-align: center; font-weight: 700; color: var(--navy); background: #fff; padding: 0 6px;
}

/* Remove — 44×44, #C0392B glyph. */
.rdw-cart .rdw-cc-remove { flex: 0 0 auto; }
.rdw-cart .rdw-cc-remove a.remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    font-size: 20px;
    line-height: 1;
    font-weight: 400;
    color: #C0392B;
    text-decoration: none;
    border: 0;
    background: transparent;
    transition: color .15s ease, transform .12s ease;
}
.rdw-cart .rdw-cc-remove a.remove:hover { color: #A5281B; background: transparent; transform: scale(1.06); }

/* Coupon / actions row — stacks on phones, inline from 768. */
.rdw-cart .rdw-cc-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px;
    margin: 0;
    border: 0;
}
.rdw-cart .rdw-cc-actions .coupon { display: flex; flex-direction: column; gap: 10px; }
.rdw-cart .rdw-cc-actions #coupon_code,
.rdw-cart .rdw-cc-actions input#coupon_code.input-text {
    min-height: 48px;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0 18px;
    background: #fff;
    color: var(--ink);
    font-size: 15px;
    width: 100%;
}
.rdw-cart .rdw-cc-actions button[name="apply_coupon"] {
    background: var(--orange);
    color: var(--navy);
    border: 0;
    border-radius: 999px;
    min-height: 48px;
    padding: 0 22px;
    font-weight: 700;
    font-size: 15px;
    white-space: nowrap;
    cursor: pointer;
}
/* Clear basket — navy outline pill. */
.rdw-cart .rdw-cc-clear {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 48px;
    padding: 0 22px;
    background: transparent;
    color: var(--navy);
    border: 2px solid var(--navy);
    border-radius: 999px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: color .15s ease, border-color .15s ease, background-color .15s ease;
}
.rdw-cart .rdw-cc-clear__icon { flex: 0 0 auto; }
.rdw-cart .rdw-cc-clear:hover { color: #C0392B; border-color: #E6B8B2; background: rgba(192, 57, 43, .05); }
/* Update-cart button hidden once JS auto-update is active. */
.rdw-cc-auto .rdw-cc-actions button[name="update_cart"] { display: none; }

/* Summary card. */
.rdw-cart .rdw-cc-summary {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 20px;
}
.rdw-cart .rdw-cc-summary .rdw-cc-sumrow {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 8px 0;
    font-size: 14.5px;
    color: var(--ink);
}
.rdw-cart .rdw-cc-summary .rdw-cc-sumrow .rdw-cc-price { font-weight: 600; white-space: nowrap; }
.rdw-cart .rdw-cc-summary .rdw-cc-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    border-top: 1px solid var(--line);
    margin-top: 6px;
    padding-top: 14px;
    font-weight: 700;
    color: var(--navy);
}
.rdw-cart .rdw-cc-summary .rdw-cc-total .rdw-cc-price { color: var(--navy); font-size: 22px; font-weight: 800; }
.rdw-cart .rdw-cc-summary .wc-proceed-to-checkout { padding: 16px 0 0; }
.rdw-cart .rdw-cc-summary .wc-proceed-to-checkout .checkout-button { display: flex; width: 100%; }
/* Shipping block inside the summary (Woo outputs a <tr>). */
.rdw-cart .rdw-cc-summary .rdw-cc-shipping,
.rdw-cart .rdw-cc-summary .rdw-cc-shipping tr,
.rdw-cart .rdw-cc-summary .rdw-cc-shipping th,
.rdw-cart .rdw-cc-summary .rdw-cc-shipping td { display: block; padding: 0; text-align: left; }
.rdw-cart .rdw-cc-summary .rdw-cc-shipping th { font-weight: 600; padding: 8px 0 4px; }
.rdw-cart .rdw-cc-summary ul#shipping_method { list-style: none; margin: 4px 0 0; padding: 0; }
.rdw-cart .rdw-cc-summary ul#shipping_method li { padding: 2px 0; }

/* Saving state while the background basket update is in flight. */
.rdw-cc-updating .rdw-cc-items { opacity: .55; pointer-events: none; transition: opacity .15s ease; }
.rdw-cc-updating .cart_totals { opacity: .55; transition: opacity .15s ease; }

/* ============================================================= *
 * CHECKOUT
 * ============================================================= */

/* Form | order rail. Single column until 1200. */
.rdw-checkout-page .rdw-co {
    display: grid;
    gap: 24px;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
}
.rdw-checkout-page .rdw-co__main,
.rdw-checkout-page .rdw-co__side { min-width: 0; }
/* The .rdw-co grid owns the columns — keep the form itself a plain block. */
.rdw-checkout form.checkout.rdw-cc-checkout { display: block; }

/* Section headings ("Billing details", "Additional information"). */
.rdw-checkout-page #customer_details h3,
.rdw-checkout-page .woocommerce-billing-fields > h3 {
    color: var(--ink);
    font-size: 22px;
    line-height: 1.25;
    font-weight: 700;
    margin: 0 0 16px;
}
.rdw-checkout-page .woocommerce-additional-fields > h3 { font-size: 18px; margin: 12px 0; }

/* Billing / shipping / notes stack as ONE column (Woo floats them by default). */
.rdw-checkout .col2-set,
.rdw-checkout #customer_details.col2-set { display: block; }
.rdw-checkout .col2-set .col-1,
.rdw-checkout .col2-set .col-2 { float: none; width: 100%; max-width: 100%; padding: 0; margin: 0; }
.rdw-checkout .col2-set .col-2 { margin-top: 6px; }

/* Fields — label above, 52px input, single column on phones. */
.rdw-checkout .woocommerce-billing-fields__field-wrapper,
.rdw-checkout .woocommerce-shipping-fields__field-wrapper,
.rdw-checkout .woocommerce-additional-fields__field-wrapper {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
}
.rdw-checkout .form-row { margin: 0; padding: 0; }
.rdw-checkout .form-row label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #3A445C;
    margin: 0 0 6px;
}
.rdw-checkout .woocommerce-checkout .input-text,
.rdw-checkout .woocommerce-checkout select,
.rdw-checkout .woocommerce-checkout textarea,
.rdw-checkout .select2-container .select2-selection--single {
    width: 100%;
    min-height: 52px;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 12px 16px;
    background: #fff;
    color: var(--ink);
    font-size: 15px;
}
.rdw-checkout .woocommerce-checkout textarea { min-height: 96px; }
.rdw-checkout .woocommerce-checkout ::placeholder { color: #6B7280; opacity: 1; }
.rdw-checkout .woocommerce-checkout .input-text:focus,
.rdw-checkout .woocommerce-checkout select:focus,
.rdw-checkout .woocommerce-checkout textarea:focus {
    border-color: var(--navy);
    box-shadow: 0 0 0 3px rgba(13, 53, 119, .12);
    outline: 0;
}
/* select2 vertical centring to match the 52px inputs. */
.rdw-checkout .select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 50px; padding: 0; color: var(--ink); }
.rdw-checkout .select2-container--default .select2-selection--single .select2-selection__arrow { height: 50px; }

/* "Ship to a different address?" — a 56px toggle row, not a heading + checkbox. */
.rdw-checkout #ship-to-different-address {
    display: flex;
    align-items: center;
    min-height: 56px;
    padding: 6px 0;
    margin: 8px 0 0;
    border-top: 1px solid var(--line);
    font-size: 15px;
    font-weight: 600;
    color: var(--ink);
}
.rdw-checkout #ship-to-different-address label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--ink);
    cursor: pointer;
}
.rdw-checkout #ship-to-different-address input[type="checkbox"] {
    order: 2;
    -webkit-appearance: none;
    appearance: none;
    flex: 0 0 52px;
    width: 52px;
    height: 30px;
    margin: 0;
    border: 0;
    border-radius: 15px;
    background: #DDE1E9;
    position: relative;
    cursor: pointer;
    transition: background .15s ease;
}
.rdw-checkout #ship-to-different-address input[type="checkbox"]::before {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .25);
    transition: left .15s ease;
}
.rdw-checkout #ship-to-different-address input[type="checkbox"]:checked { background: var(--navy); }
.rdw-checkout #ship-to-different-address input[type="checkbox"]:checked::before { left: 25px; }

/* Order-review card ("Your order"). */
.rdw-checkout #order_review {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 22px;
}
.rdw-checkout #order_review_heading {
    color: var(--navy);
    font-size: 20px;
    font-weight: 800;
    margin: 0 0 14px;
}
/* Order review = list of rows, not a table. Nothing escapes the card. */
.rdw-checkout .rdw-orderrev { display: block; width: 100%; }
.rdw-checkout .orow {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    font-size: 14px;
    line-height: 1.5;
    padding: 10px 0;
}
.rdw-checkout .orow > span:last-child,
.rdw-checkout .orow .orow__val { white-space: nowrap; font-weight: 600; }
.rdw-checkout .orow--head {
    border-bottom: 1px solid var(--line);
    font-weight: 700;
    color: var(--navy);
}
.rdw-checkout .orow--item { align-items: flex-start; border-bottom: 1px solid var(--line); }
.rdw-checkout .orow__name { min-width: 0; color: var(--ink); }
.rdw-checkout .orow__name .product-quantity { color: var(--navy); }
.rdw-checkout .orow__name .rdw-cart-item-config,
.rdw-checkout .orow__name .citem__var { display: block; margin: 4px 0 0; font-size: 15px; line-height: 1.45; color: #6C7686; }
.rdw-checkout .orow__name .meta,
.rdw-checkout .orow__name .rdw-cc-meta { display: block; margin: 6px 0 0; font-size: 12.5px; line-height: 1.65; color: var(--muted); text-wrap: pretty; }
.rdw-checkout .orow--item .orow__val { font-weight: 700; color: var(--ink); }
/* Shipping inside the review (Woo outputs a <tr>) → flatten to a block row. */
.rdw-checkout .orow--shipping { display: block; }
.rdw-checkout .orow--shipping tr,
.rdw-checkout .orow--shipping th,
.rdw-checkout .orow--shipping td { display: block; padding: 0; text-align: left; border: 0; }
.rdw-checkout .orow--shipping th { font-weight: 600; padding-bottom: 4px; }
.rdw-checkout .orow--shipping ul#shipping_method { list-style: none; margin: 4px 0 0; padding: 0; }
.rdw-checkout .orow.order-total {
    border-top: 1px solid var(--line);
    margin-top: 4px;
    padding-top: 14px;
    font-size: 17px;
    font-weight: 700;
    color: var(--navy);
    align-items: center;
}
.rdw-checkout .orow.order-total .orow__val,
.rdw-checkout .orow.order-total .amount { color: var(--navy); font-size: 22px; font-weight: 800; }

/* Payment — soft box, ordinary look. */
.rdw-checkout #payment {
    background: var(--soft);
    border: 0;
    border-radius: 12px;
    padding: 16px;
    margin-top: 16px;
}
.rdw-checkout #payment ul.payment_methods { border: 0; padding: 0; margin: 0; }
.rdw-checkout #payment .payment_box { background: #fff; border-radius: 8px; }
.rdw-checkout #payment div.form-row.place-order { padding: 12px 0 0; margin: 0; }
.rdw-checkout #place_order { width: 100%; }

/* ============================================================= *
 * TABLET  ≥768
 * ============================================================= */
@media (min-width: 768px) {
    .rdw-step__label { display: inline; }
    .rdw-step__bar { width: 56px; }

    /* Line item: controls move inline to the right. */
    .rdw-cart .citem { grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; }
    .rdw-cart .citem__ctl { grid-column: auto; margin-top: 0; justify-content: flex-end; gap: 18px; }

    /* Coupon row goes inline. */
    .rdw-cart .rdw-cc-actions { flex-direction: row; align-items: center; }
    .rdw-cart .rdw-cc-actions .coupon { flex-direction: row; align-items: center; flex: 1 1 auto; }
    .rdw-cart .rdw-cc-actions #coupon_code { width: auto; min-width: 180px; flex: 1 1 auto; }

    /* Two-up form fields. */
    .rdw-checkout .woocommerce-billing-fields__field-wrapper,
    .rdw-checkout .woocommerce-shipping-fields__field-wrapper {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .rdw-checkout .form-row-wide,
    .rdw-checkout .form-row-blank,
    .rdw-checkout .woocommerce-additional-fields__field-wrapper .form-row { grid-column: 1 / -1; }
}

/* ============================================================= *
 * DESKTOP  ≥1200
 * ============================================================= */
@media (min-width: 1200px) {
    /* Basket: items | 400px summary rail. */
    .rdw-cart .woocommerce { grid-template-columns: minmax(0, 1fr) 400px; gap: 32px; }
    .rdw-cart .rdw-cc-form { grid-column: 1; }
    .rdw-cart .cart-collaterals { grid-column: 2; }
    .rdw-cart .cart-collaterals .cart_totals { position: sticky; top: var(--rdw-cc-top, 20px); }

    /* Checkout: form | 440px order rail. */
    .rdw-checkout-page .rdw-co { grid-template-columns: minmax(0, 1fr) 440px; gap: 48px; }
    .rdw-checkout-page .rdw-co__side #order_review { position: sticky; top: var(--rdw-cc-top, 20px); }
}

/* ============================================================= *
 * Theme-override hardening
 * Live themes style #place_order / #order_review / .input-text by ID or with
 * !important; force the brand look so the mockup wins the cascade.
 * ============================================================= */
.rdw-cart .woocommerce a.button.alt,
.rdw-cart .woocommerce button.button.alt,
.rdw-cart .woocommerce .wc-proceed-to-checkout .checkout-button,
.rdw-checkout .woocommerce #place_order,
.rdw-checkout .woocommerce button#place_order {
    background-color: var(--orange) !important;
    color: var(--navy) !important;
    border: 0 !important;
    border-radius: 999px !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    font-weight: 700 !important;
}
.rdw-cart .woocommerce .wc-proceed-to-checkout .checkout-button,
.rdw-checkout .woocommerce #place_order {
    display: flex !important;
    width: 100% !important;
    min-height: 48px !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    line-height: 1.2 !important;
}
.rdw-checkout #order_review {
    background: #fff !important;
    border: 1px solid var(--line) !important;
    border-radius: 20px !important;
    padding: 22px !important;
}
.rdw-checkout .woocommerce-checkout .input-text,
.rdw-checkout .woocommerce-checkout select,
.rdw-checkout .woocommerce-checkout textarea {
    border: 1px solid var(--line) !important;
    border-radius: 10px !important;
    background: #fff !important;
    color: var(--ink) !important;
}
/* The active theme pads every .input-text (27px 34px), clipping the small qty
   digit out of view — reset just the quantity input. */
.rdw-cart .woocommerce .quantity input.qty,
.woocommerce-cart-form .quantity input.qty {
    min-height: 0 !important;
    line-height: 1.2 !important;
    text-indent: 0 !important;
    overflow: visible !important;
}
/* Beat the theme's default a.remove colour so the glyph stays the mockup red. */
.rdw-cart .rdw-cc-remove a.remove { color: #C0392B !important; }
.rdw-cart .rdw-cc-remove a.remove:hover { color: #A5281B !important; }

/* ============================================================= *
 * Field-size hardening (v1.26.5)
 * The active theme applies padding:27px 34px + tall sizing to every input on
 * the live site, which inflated the checkout fields to ~79px and the ship-to
 * checkbox to 68x54 (verified live). The mockup wants 52px fields and a 52x30
 * toggle, so force the padding/size with !important. (Isolated CSS didn't need
 * this; the live theme does.)
 * ============================================================= */
.rdw-checkout .woocommerce-checkout .input-text,
.rdw-checkout .woocommerce-checkout select,
.rdw-checkout .woocommerce-checkout textarea {
    padding: 12px 16px !important;
    min-height: 52px !important;
    height: auto !important;
}
.rdw-checkout .woocommerce-checkout textarea { min-height: 96px !important; }

/* Ship-to toggle: force the 52x30 switch (theme padding was making it 68x54). */
.rdw-checkout #ship-to-different-address input[type="checkbox"] {
    width: 52px !important;
    height: 30px !important;
    min-height: 0 !important;
    padding: 0 !important;
}

/* Coupon field on the cart. */
.rdw-cart .rdw-cc-actions #coupon_code,
.rdw-cart .rdw-cc-actions input#coupon_code.input-text {
    padding: 0 18px !important;
    min-height: 48px !important;
    height: auto !important;
}

/* Quantity value chip in the stepper. */
.rdw-cart .rdw-cc-qty .quantity.rdw-cc-stepper input.qty {
    width: 52px !important;
    height: 44px !important;
    padding: 0 4px !important;
}

/* ============================================================= *
 * Checkout field pairing (v1.26.6) — match checkout.html's .fieldrow
 * WooCommerce's default classes float the paired rows at width:47% (so First/
 * Last only half-filled their grid columns) and mark Town/County/Postcode/Phone
 * as form-row-wide (full width, stacked). The mockup pairs First/Last,
 * Town + County, and Postcode + Phone two-up from 768. Neutralise the float and
 * let those four flow into the two-column grid.
 * ============================================================= */
.rdw-checkout .woocommerce-billing-fields .form-row,
.rdw-checkout .woocommerce-shipping-fields .form-row {
    float: none !important;
    width: auto !important;
}
@media (min-width: 768px) {
    .rdw-checkout #billing_city_field,
    .rdw-checkout #billing_state_field,
    .rdw-checkout #billing_postcode_field,
    .rdw-checkout #billing_phone_field,
    .rdw-checkout #shipping_city_field,
    .rdw-checkout #shipping_state_field,
    .rdw-checkout #shipping_postcode_field { grid-column: auto !important; }
}

/* ============================================================= *
 * Empty basket (v1.26.7) — matches basket-empty.html
 * Only the heading + dashed card. Mobile-first; 768 and 1200 add to it.
 * ============================================================= */

/* The empty state is one full-width block: reset the two-column cart grid and
   hide every element the RDW Cart widget renders around the cart (steps,
   delivery estimate, trust strip, payment chips, secure note). The mockup's
   empty basket is only the heading + card, so none of those belong on it. */
.rdw-cart .woocommerce > .rdw-ecart-wrap { grid-column: 1 / -1; }
.rdw-cart:has(.rdw-ecart-wrap) .rdw-steps,
.rdw-cart:has(.rdw-ecart-wrap) .rdw-delivery,
.rdw-cart:has(.rdw-ecart-wrap) .rdw-trust,
.rdw-cart:has(.rdw-ecart-wrap) .rdw-pay,
.rdw-cart:has(.rdw-ecart-wrap) .rdw-secure { display: none; }

/* v2.0.0 redesign: one centred block, no box, almost no text. */
.rdw-cart .ecart {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 420px;
    margin: 0 auto;
    padding: 40px 0 60px;
    text-align: center;
}
.rdw-cart .ecart__i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 96px;
    height: 96px;
    margin: 0 0 24px;
    border-radius: 50%;
    background: #EEF2F8;
    color: var(--navy);
}
.rdw-cart .ecart__i svg { width: 46px; height: 46px; fill: currentColor; }
.rdw-cart .ecart__h {
    margin: 0 0 28px;
    color: var(--navy);
    font-size: 30px;
    line-height: 1.2;
    font-weight: 700;
}
.rdw-cart .ecart__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 40px;
    border-radius: 999px;
    background: var(--orange);
    color: var(--navy);
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    transition: filter .15s ease;
}
.rdw-cart .ecart__btn:hover { filter: brightness(.94); color: var(--navy); }
.rdw-cart .ecart__link {
    margin: 18px 0 0;
    color: var(--navy);
    font-size: 15px;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.rdw-cart .ecart__link:hover { text-decoration: none; }
@media (max-width: 767px) {
    .rdw-cart .ecart { padding: 16px 0 40px; }
    .rdw-cart .ecart__i { width: 80px; height: 80px; }
    .rdw-cart .ecart__i svg { width: 38px; height: 38px; }
    .rdw-cart .ecart__h { font-size: 24px; margin-bottom: 22px; }
    .rdw-cart .ecart__btn { width: 100%; max-width: 320px; }
}

/* ============================================================= *
 * Checkout coupon (v2.0.0): the basket's coupon row instead of WooCommerce's
 * blue "Have a coupon? Click here" notice. The field is always shown (WooCommerce's
 * checkout script still applies it over AJAX); it lines up with the form column.
 * ============================================================= */
.rdw-checkout form.checkout_coupon.woocommerce-form-coupon {
    display: none;
    align-items: flex-start; /* the button stays level with the field when an error shows under it */
    gap: 12px;
    margin: 0 0 32px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
}
.rdw-checkout form.checkout_coupon .form-row { float: none; width: auto; margin: 0; padding: 0; }
.rdw-checkout form.checkout_coupon .form-row-first { flex: 1 1 auto; }
.rdw-checkout form.checkout_coupon .clear { display: none; }
.rdw-checkout form.checkout_coupon input#coupon_code.input-text {
    width: 100%;
    min-height: 48px;
    height: auto;
    padding: 0 18px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--ink);
    font-size: 15px;
}
.rdw-checkout form.checkout_coupon button[name="apply_coupon"] {
    min-height: 48px;
    padding: 0 22px;
    border: 0;
    border-radius: 999px;
    background: var(--orange);
    color: var(--navy);
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
}
.rdw-checkout form.checkout_coupon button[name="apply_coupon"]:hover { filter: brightness(.94); }
@media (min-width: 1200px) {
    .rdw-checkout form.checkout_coupon.woocommerce-form-coupon { max-width: calc(100% - 488px); }
}
@media (max-width: 479px) {
    .rdw-checkout form.checkout_coupon.woocommerce-form-coupon { flex-direction: column; align-items: stretch; }
    .rdw-checkout form.checkout_coupon button[name="apply_coupon"] { width: 100%; }
}


/* =============================================================
 * 12 Nov 2026 — basket + checkout refresh (Praise)
 * ============================================================= */

/* Heading row: H1 + back link. */
.rdw-cc-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px; margin: 0 0 22px; }
.rdw-cc-title { margin: 0; color: var(--navy); font-size: clamp(28px, 20px + 1.6vw, 40px); line-height: 1.15; font-weight: 800; }
.rdw-cc-title__sub { color: var(--muted); font-size: 16px; font-weight: 600; white-space: nowrap; }
.rdw-cc-back { display: inline-flex; align-items: center; gap: 6px; color: var(--navy); font-weight: 700; font-size: 15px; text-decoration: none; }
.rdw-cc-back:hover, .rdw-cc-back:focus-visible { text-decoration: underline; }
.rdw-steps { margin-bottom: 30px; }

/* Unit price under the item name. */
.rdw-cc-each { margin: 4px 0 0; color: var(--muted); font-size: 14px; }

/* Help / reassurance panel. */
.rdw-cc-help { margin: 20px 0 0; padding: 18px 20px; border: 1px solid var(--line); border-radius: 20px; background: var(--soft); display: grid; gap: 14px; }
.rdw-cc-help__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.rdw-cc-help__list li { display: flex; align-items: center; gap: 10px; color: var(--ink); font-size: 15px; font-weight: 600; }
.rdw-cc-help__list svg, .rdw-cc-help__call svg { width: 20px; height: 20px; flex: 0 0 20px; color: var(--navy); }
.rdw-cc-help__call { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-size: 15px; padding-top: 12px; border-top: 1px solid var(--line); }
.rdw-cc-help__call strong { color: var(--navy); white-space: nowrap; }
.rdw-cc-help__call:hover strong, .rdw-cc-help__call:focus-visible strong { text-decoration: underline; }
@media (min-width: 768px) {
    .rdw-cc-help--cart .rdw-cc-help__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .rdw-cc-help--cart .rdw-cc-help__list li { align-items: flex-start; font-size: 14px; }
}
.rdw-cc-help--checkout { margin-top: 14px; padding: 12px 14px; background: transparent; border: 0; gap: 10px; }
.rdw-cc-help--checkout .rdw-cc-help__list li { justify-content: center; font-size: 14px; color: var(--muted); }
.rdw-cc-help--checkout .rdw-cc-help__call { justify-content: center; text-align: center; font-size: 14px; border-top: 0; padding-top: 0; }

/* Delivery: the method is hidden (the fee row carries the charge); a short "Delivering to" line. */
.rdw-cart .rdw-cc-summary .rdw-cc-shipping, .rdw-checkout .orow--shipping { display: block; padding: 0; border: 0; margin: -4px 0 6px; }
.rdw-ship__single:empty, .rdw-ship__single:not(:has(.rdw-ship__row, :not(input))) { display: none; }
.rdw-ship__row { display: flex; justify-content: space-between; gap: 12px; }
.rdw-ship__label { margin: 0 0 4px; font-weight: 600; }
.rdw-ship__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.rdw-ship__list li { display: flex; align-items: center; gap: 8px; }
.rdw-ship__to { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.rdw-ship__to strong { color: var(--ink); }
.rdw-cart .rdw-ship .woocommerce-shipping-calculator { display: inline; margin: 0; }
.rdw-cart .rdw-ship .shipping-calculator-button { color: var(--navy); font-size: 14px; font-weight: 600; text-decoration: underline; }
.rdw-cart .rdw-ship .shipping-calculator-button::after { content: none; }
.rdw-cart .rdw-ship .shipping-calculator-form { margin-top: 10px; display: grid; gap: 10px; }
.rdw-cart .rdw-ship .shipping-calculator-form p { margin: 0; }
.rdw-cart .rdw-ship .shipping-calculator-form input, .rdw-cart .rdw-ship .shipping-calculator-form select { width: 100%; min-height: 44px; border: 1px solid var(--line); border-radius: 12px; padding: 0 14px; font: inherit; font-size: 15px; background: #fff; }
.rdw-cart .rdw-ship .shipping-calculator-form button { min-height: 44px; border: 0; border-radius: 999px; background: var(--orange); color: var(--navy); font-weight: 700; cursor: pointer; }

/* Checkout coupon: a quiet prompt that opens the field (WooCommerce's own toggle script). */
.rdw-checkout .woocommerce-form-coupon-toggle { margin: 0 0 18px; }
.rdw-checkout .woocommerce-form-coupon-toggle .woocommerce-info { display: block; margin: 0; padding: 0; border: 0; background: none; color: var(--muted); font-size: 15px; }
.rdw-checkout .woocommerce-form-coupon-toggle .woocommerce-info::before { content: none; }
.rdw-checkout .woocommerce-form-coupon-toggle .showcoupon { color: var(--navy); font-weight: 700; text-decoration: underline; }
.rdw-checkout form.checkout_coupon.woocommerce-form-coupon[style*="block"] { display: flex !important; }

/* Sticky summary only when it fits the screen (class set by the page script). */
.rdw-cart .cart-collaterals .cart_totals.rdw-cc-tall, .rdw-checkout-page .rdw-co__side #order_review.rdw-cc-tall { position: static !important; }

/* Contact fields side by side need the wrapper to clear. */
.rdw-checkout .woocommerce-billing-fields__field-wrapper::after { content: ""; display: table; clear: both; }
.rdw-ship__dest { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
.rdw-cart .rdw-ship__dest .woocommerce-shipping-calculator { flex: 0 0 auto; }
.rdw-cart .rdw-ship__dest .shipping-calculator-form { flex: 1 0 100%; }
.rdw-cart .rdw-ship__dest .woocommerce-shipping-calculator:has(.shipping-calculator-form:not([style*="none"])) { flex: 1 0 100%; }
.rdw-cart .rdw-ship .shipping-calculator-form .form-row { width: 100%; float: none; }
.rdw-cc-help--checkout .rdw-cc-help__call { display: block; }
.rdw-cc-help--checkout .rdw-cc-help__call svg { display: inline-block; width: 16px; height: 16px; vertical-align: -3px; margin-right: 6px; }

/* ==== Basket / checkout in the new design (12 Nov 2026): page head like My account, navy steppers,
   summary card with title, navy help card. ==== */
.rdw-cc-head { align-items: flex-end; }
.rdw-cc-crumb { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 6px; font-size: 14px; color: var(--muted, #5C6880); }
.rdw-cc-crumb a { color: var(--muted, #5C6880); text-decoration: none; }
.rdw-cc-crumb a:hover { color: var(--navy, #0D3577); text-decoration: underline; }
.rdw-cc-title { text-transform: uppercase; font-weight: 900; letter-spacing: -.01em; }
.rdw-cc-title__sub { text-transform: none; letter-spacing: 0; }
.rdw-cc-back { min-height: 44px; padding: 0 20px; border: 2px solid var(--navy, #0D3577); border-radius: 999px; }
.rdw-cc-back:hover, .rdw-cc-back:focus-visible { text-decoration: none; background: var(--navy, #0D3577); color: #fff; }
/* Navy round steppers, as on the product page and the mini basket */
.rdw-cart .rdw-cc-qty .rdw-cc-step { background: #0D3577 !important; color: #fff !important; }
.rdw-cart .rdw-cc-qty .rdw-cc-step:hover { background: #0A2757 !important; }
.rdw-cart .rdw-cc-qty .quantity.rdw-cc-stepper { background: #EEF1F6 !important; }
/* Summary card */
.rdw-cart .cart_totals { box-shadow: 0 12px 34px rgba(13,53,119,.08); border-radius: 20px; }
.rdw-cc-sumtitle { margin: 0 0 14px; padding-bottom: 12px; border-bottom: 1px solid #E4E8F0; font-size: 19px; font-weight: 800; color: #0D3577; }
.rdw-cc-incvat { font-size: 12px; font-weight: 600; color: #5C6880; }
/* Reassurance strip under the items: one compact row */
.rdw-cc-help--cart { padding: 14px 18px; }
.rdw-cc-help--cart .rdw-cc-help__list { margin: 0; }
/* Navy help card under the summary */
.rdw-cchelp { margin-top: 16px; padding: 18px; border-radius: 20px; background: #0D3577; color: #fff; }
.rdw-cchelp__t { margin: 0; font-size: 17px; font-weight: 800; color: #fff; }
.rdw-cchelp__s { margin: 4px 0 14px; font-size: 13.5px; line-height: 1.5; color: #C9D6EE; }
.rdw-cchelp__row { display: flex; align-items: center; gap: 12px; min-height: 50px; margin-top: 8px; padding: 6px 14px 6px 8px; border-radius: 12px; background: rgba(255,255,255,.08); color: #fff; font-weight: 700; font-size: 15px; text-decoration: none; transition: background-color .15s ease; }
.rdw-cchelp__row:hover { background: rgba(255,255,255,.15); color: #fff; }
.rdw-cchelp__row small { display: block; font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; opacity: .8; }
.rdw-cchelp__row--call { background: #FFCA00; color: #0A2757; font-size: 18px; font-weight: 900; }
.rdw-cchelp__row--call:hover { background: #F2C000; color: #0A2757; }
.rdw-cchelp__ic { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 10px; background: #fff; color: #0D3577; }
.rdw-cchelp__row--call .rdw-cchelp__ic { background: #0D3577; color: #FFCA00; }
.rdw-cchelp__row--wa .rdw-cchelp__ic { background: #25D366; color: #fff; }
.rdw-cchelp__ic svg { width: 18px; height: 18px; fill: currentColor; }
.rdw-cchelp__row--mail .rdw-cchelp__ic svg { fill: none; }

/* ==================== Basket rebuilt (12 Nov 2026) ==================== */
.rdw-cart .rdwb { display: flex; flex-direction: column; gap: 16px; }
.rdw-cart .rdwb-list { background: #fff; border: 1px solid #E4E8F0; border-radius: 20px; overflow: hidden; }
.rdw-cart .rdwb-list__head { display: none; }
.rdw-cart .rdwb-item { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 14px 16px; padding: 18px; border-bottom: 1px solid #EEF1F6; align-items: start; }
.rdw-cart .rdwb-item__img img { width: 84px; height: 84px; object-fit: cover; border-radius: 14px; display: block; border: 1px solid #E4E8F0; }
.rdw-cart .rdwb-item__name { margin: 0; font-size: 17px; line-height: 1.3; font-weight: 800; }
.rdw-cart .rdwb-item__name a { color: #0D3577; text-decoration: none; }
.rdw-cart .rdwb-item__name a:hover { text-decoration: underline; }
.rdw-cart .rdwb-item__name .rdw-cart-item-config { display: none !important; }
.rdw-cart .rdwb-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 0; padding: 0; list-style: none; }
.rdw-cart .rdwb-chips li { padding: 4px 10px; border-radius: 999px; background: #EEF1F6; color: #0D3577; font-size: 12.5px; font-weight: 700; }
.rdw-cart .rdwb-item__meta { margin: 6px 0 0; font-size: 13.5px; color: #5C6880; }
.rdw-cart .rdwb-item__each { margin: 8px 0 0; font-size: 14px; color: #34353C; font-weight: 600; }
.rdw-cart .rdwb-item__each span { color: #5C6880; font-weight: 500; }
.rdw-cart .rdwb-item__stock { margin: 4px 0 0; font-size: 13px; }
.rdw-cart .rdwb-item__stock .is-ok { color: #1E7A46; font-weight: 600; }
.rdw-cart .rdwb-item__stock .is-ok::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: #1E7A46; vertical-align: middle; }
.rdw-cart .rdwb-item__stock .is-wait { color: #7A5B00; font-weight: 600; }
.rdw-cart .rdwb-item__qty { grid-column: 1 / 2; grid-row: 2; }
.rdw-cart .rdwb-item__total { grid-column: 2; grid-row: 2; align-self: center; justify-self: end; font-size: 18px; font-weight: 900; color: #0D3577; white-space: nowrap; }
.rdw-cart .rdwb-item__rm { grid-column: 1 / -1; grid-row: 3; }
.rdw-cart .rdwb-item__rm a.remove { display: inline-flex !important; align-items: center; gap: 6px; width: auto !important; height: auto !important; padding: 0 !important; background: none !important; color: #8894AC !important; font-size: 13px !important; font-weight: 600; text-decoration: none; border-radius: 0 !important; }
.rdw-cart .rdwb-item__rm a.remove:hover { color: #C0392B !important; background: none !important; }
.rdw-cart .rdwb-tools { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 16px 18px; background: #FAFBFD; }
.rdw-cart .rdwb-update { display: none !important; }
.rdw-cart .rdwb-coupon { flex: 1 1 320px; }
.rdw-cart .rdwb-coupon summary { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; cursor: pointer; list-style: none; color: #0D3577; font-weight: 700; font-size: 15px; }
.rdw-cart .rdwb-coupon summary::-webkit-details-marker { display: none; }
.rdw-cart .rdwb-coupon summary::after { content: "+"; margin-left: 2px; font-size: 18px; line-height: 1; }
.rdw-cart .rdwb-coupon[open] summary::after { content: "–"; }
.rdw-cart .rdwb-coupon .coupon { display: flex !important; gap: 8px; margin-top: 8px; float: none !important; width: 100%; }
.rdw-cart .rdwb-coupon .coupon input.input-text { flex: 1 1 auto; min-width: 0; height: 48px !important; padding: 0 16px !important; border: 1px solid #CBD3E1 !important; border-radius: 999px !important; font-size: 15px !important; text-transform: uppercase; letter-spacing: .04em; }
.rdw-cart .rdwb-coupon .coupon .button { height: 48px; padding: 0 22px !important; }
.rdw-cart .rdwb-tools .rdw-cc-clear { margin-left: auto; }
/* Reassurance strip */
.rdw-cart .rdwb .rdw-cc-help--cart { margin: 0; border-radius: 16px; }
/* Summary column */
.rdw-cart .cart-collaterals { display: flex; flex-direction: column; gap: 14px; }
.rdw-cart .cart-collaterals .cart_totals { position: static !important; margin: 0; }
.rdw-cart .cart-collaterals .rdw-cchelp { margin-top: 0; }
.rdw-cart .rdw-cchelp__s { margin-bottom: 8px; }
.rdw-cart .rdw-cchelp__row { min-height: 44px; margin-top: 6px; }
/* You might also need */
.rdw-cart .rdwb-extras { grid-column: 1 / -1; margin-top: 18px; }
.rdw-cart .rdwb-extras__head h2 { margin: 0; color: #0D3577; font-size: clamp(22px, 18px + 1vw, 30px); font-weight: 900; }
.rdw-cart .rdwb-extras__head p { margin: 4px 0 16px; color: #5C6880; }
.rdw-cart .rdwb-extras__grid { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rdw-cart a.rdwb-x { display: flex; flex-direction: column; gap: 6px; padding: 12px; border: 1px solid #E4E8F0; border-radius: 18px; background: #fff; text-decoration: none; color: #34353C; transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease; }
.rdw-cart a.rdwb-x:hover { border-color: #0D3577; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(13,53,119,.10); }
.rdw-cart .rdwb-x__img img { width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; border-radius: 12px; display: block; }
.rdw-cart .rdwb-x__name { font-weight: 800; color: #0D3577; line-height: 1.3; font-size: 15px; }
.rdw-cart .rdwb-x__price { font-size: 14px; font-weight: 700; }
.rdw-cart .rdwb-x__price small { font-weight: 500; color: #5C6880; }
.rdw-cart .rdwb-x__cta { margin-top: auto; font-size: 13.5px; font-weight: 800; color: #0D3577; }

@media (min-width: 768px) {
    .rdw-cart .rdwb-list__head { display: grid; grid-template-columns: minmax(0, 1fr) 160px 130px; gap: 16px; padding: 14px 22px; background: #F5F7FB; border-bottom: 1px solid #E4E8F0; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #5C6880; }
    .rdw-cart .rdwb-list__head span:nth-child(2) { text-align: center; }
    .rdw-cart .rdwb-list__head span:last-child { text-align: right; }
    .rdw-cart .rdwb-item { grid-template-columns: 96px minmax(0, 1fr) 160px 130px; padding: 20px 22px; gap: 4px 18px; }
    .rdw-cart .rdwb-item__img { grid-row: 1 / span 2; }
    .rdw-cart .rdwb-item__img img { width: 96px; height: 96px; }
    .rdw-cart .rdwb-item__info { grid-column: 2; grid-row: 1; }
    .rdw-cart .rdwb-item__qty { grid-column: 3; grid-row: 1; justify-self: center; align-self: center; }
    .rdw-cart .rdwb-item__total { grid-column: 4; grid-row: 1; align-self: center; }
    .rdw-cart .rdwb-item__rm { grid-column: 2; grid-row: 2; }
    .rdw-cart .rdwb-extras__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
    .rdw-cart .woocommerce { grid-template-columns: minmax(0, 1fr) 380px !important; gap: 28px !important; }
    .rdw-cart .woocommerce > .rdw-cc-form { grid-column: 1; }
    .rdw-cart .woocommerce > .cart-collaterals { grid-column: 2; grid-row: span 1; position: sticky; top: var(--rdw-cc-top, 20px); align-self: start; transition: top .28s ease; }
    .rdw-cart .woocommerce > .cart-collaterals.rdw-cc-tall { position: static; }
}
.rdw-cart .rdwb-item__each { font-weight: 500; color: #5C6880; } .rdw-cart .rdwb-item__each .woocommerce-Price-amount { font-weight: 800; color: #34353C; }
.rdw-cart .rdwb-tools.rdw-cc-actions { flex-direction: row !important; flex-wrap: wrap !important; align-items: center !important; }
.rdw-cart .rdwb-tools .rdwb-coupon { flex: 1 1 auto !important; min-width: 0; }
@media (max-width: 767px) {
    .rdw-cart .rdwb-tools .rdwb-coupon[open] { flex-basis: 100% !important; }
    .rdw-cart .rdwb-tools .rdw-cc-clear { margin-left: 0; }
    .rdw-cart .rdwb .rdw-cc-help--cart .rdw-cc-help__list { gap: 8px; }
}

/* ==================== Checkout rebuilt (12 Nov 2026) ==================== */
.rdwc .rdw-co { display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr); align-items: start; }
.rdwc .rdwc-steps { display: flex; flex-direction: column; gap: 18px; float: none !important; width: 100% !important; }
.rdwc .rdwc-steps > .rdwc-sec .col-1, .rdwc .rdwc-steps > .rdwc-sec .col-2 { float: none !important; width: 100% !important; max-width: none !important; padding: 0 !important; }
.rdwc .rdwc-sec { padding: 22px; background: #fff; border: 1px solid #E4E8F0; border-radius: 20px; }
.rdwc .rdwc-sec__head { display: flex; align-items: flex-start; gap: 14px; margin: 0 0 18px; padding-bottom: 16px; border-bottom: 1px solid #EEF1F6; }
.rdwc .rdwc-sec__n { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: #FFCA00; color: #0D3577; font-weight: 900; font-size: 16px; }
.rdwc .rdwc-sec__head h2 { margin: 0; font-size: 21px; line-height: 1.25; font-weight: 800; color: #0D3577; }
.rdwc .rdwc-sec__head p { margin: 4px 0 0; font-size: 14px; line-height: 1.5; color: #5C6880; }
.rdwc .woocommerce-billing-fields > h3 { display: none !important; }
.rdwc .woocommerce-additional-fields > h3 { margin: 18px 0 10px !important; font-size: 16px !important; font-weight: 800 !important; color: #0D3577 !important; }
.rdwc #ship-to-different-address { margin: 0 0 6px !important; font-size: 15px !important; font-weight: 700 !important; color: #0D3577 !important; }
/* Summary column */
.rdwc .rdwc-side { display: flex; flex-direction: column; gap: 14px; }
.rdwc #order_review.rdwc-sum { position: static !important; padding: 22px; background: #fff; border: 1px solid #E4E8F0; border-radius: 20px; box-shadow: 0 12px 34px rgba(13,53,119,.08); }
.rdwc .rdwc-sum__head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 0 0 12px; padding-bottom: 12px; border-bottom: 1px solid #E4E8F0; }
.rdwc .rdwc-sum__head h2 { margin: 0; font-size: 19px; font-weight: 800; color: #0D3577; }
.rdwc .rdwc-sum__head a { font-size: 13.5px; font-weight: 700; color: #0D3577; }
.rdwc .orow--item { display: grid !important; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 0 !important; }
.rdwc .orow__img { position: relative; display: block; width: 56px; height: 56px; }
.rdwc .orow__img img { width: 56px; height: 56px; object-fit: cover; border-radius: 12px; border: 1px solid #E4E8F0; display: block; }
.rdwc .orow__qty { position: absolute; top: -7px; right: -7px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: #0D3577; color: #fff; font-size: 12px; line-height: 22px; text-align: center; font-weight: 800; }
.rdwc .orow__name strong { display: block; font-size: 14.5px; line-height: 1.3; color: #0D3577; }
.rdwc .orow__name .meta { display: block; margin-top: 2px; font-size: 12.5px; color: #5C6880; }
.rdwc .orow--item .orow__val { font-weight: 800; color: #0D3577; white-space: nowrap; }
.rdwc .orow.order-total { padding-top: 14px !important; margin-top: 4px; border-top: 1px solid #E4E8F0; }
.rdwc .orow.order-total .orow__val, .rdwc .orow.order-total .orow__val .woocommerce-Price-amount { font-size: 22px; font-weight: 900; color: #0D3577; }
.rdwc .rdw-cchelp { margin-top: 0; }
@media (min-width: 1024px) {
    .rdwc .rdw-co { grid-template-columns: minmax(0, 1fr) 400px; gap: 28px; }
    .rdwc .rdw-co__side { align-self: stretch; }
    .rdwc .rdwc-side { position: sticky; top: var(--rdw-cc-top, 20px); transition: top .28s ease; }
    .rdwc .rdwc-side.rdw-cc-tall { position: static; }
    .rdwc .rdwc-sec { padding: 26px 28px; }
}

/* ==================== Empty basket rebuilt (12 Nov 2026) ==================== */
.rdwe .rdw-cc-head { margin-bottom: 18px; }
.rdwe__grid { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); align-items: start; }
.rdwe__hero { padding: 34px 24px; border-radius: 24px; background: #0D3577; color: #fff; text-align: center; position: relative; overflow: hidden; }
.rdwe__hero::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(255,202,0,.22), rgba(255,202,0,0) 70%); }
.rdwe__ic { display: inline-flex; align-items: center; justify-content: center; width: 84px; height: 84px; border-radius: 50%; background: rgba(255,255,255,.1); color: #FFCA00; }
.rdwe__ic svg { width: 40px; height: 40px; }
.rdwe__hero h2 { margin: 16px 0 8px; font-size: clamp(24px, 20px + 1.4vw, 34px); font-weight: 900; color: #fff; text-transform: uppercase; }
.rdwe__hero p { max-width: 520px; margin: 0 auto 20px; color: #C9D6EE; font-size: 16px; line-height: 1.6; }
.rdwe__acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; position: relative; z-index: 1; }
.rdwe__btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 26px; border-radius: 999px; border: 2px solid rgba(255,255,255,.7); color: #fff; font-weight: 800; text-decoration: none; }
.rdwe__btn:hover { background: #fff; color: #0D3577; }
.rdwe__btn--y { background: #FFCA00; border-color: #FFCA00; color: #0A2757; }
.rdwe__btn--y:hover { background: #fff; border-color: #fff; color: #0A2757; }
.rdwe__note { margin: 18px 0 0 !important; font-size: 14px !important; position: relative; z-index: 1; }
.rdwe__note a { color: #FFCA00; font-weight: 700; }
.rdwe__side .rdw-cchelp { margin: 0; height: 100%; }
.rdwe__cats { margin-top: 30px; }
.rdwe__cats h2 { margin: 0 0 14px; color: #0D3577; font-size: clamp(22px, 18px + 1vw, 30px); font-weight: 900; }
.rdwe__catgrid { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
a.rdwe__cat { display: flex; flex-direction: column; gap: 6px; padding: 12px; border: 1px solid #E4E8F0; border-radius: 18px; background: #fff; text-decoration: none; transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease; }
a.rdwe__cat:hover { border-color: #0D3577; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(13,53,119,.10); }
.rdwe__catimg img { width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; border-radius: 12px; display: block; }
.rdwe__catname { font-weight: 800; color: #0D3577; line-height: 1.3; }
.rdwe__catn { font-size: 13px; font-weight: 700; color: #5C6880; }
@media (min-width: 768px) { .rdwe__catgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .rdwe__grid { grid-template-columns: minmax(0, 1fr) 360px; } .rdwe__hero { padding: 48px 40px; } }
.rdwc #payment { background: #F5F7FB !important; border-radius: 14px !important; padding: 14px !important; margin-top: 14px; }
.rdwc #payment, .rdwc #payment p, .rdwc #payment li, .rdwc .woocommerce-privacy-policy-text p, .rdwc .woocommerce-info, .rdwc .woocommerce-notice { font-size: 13.5px !important; line-height: 1.55 !important; }
.rdwc #payment .woocommerce-info, .rdwc #payment .woocommerce-notice { padding: 10px 12px !important; margin: 0 0 10px !important; }
.rdwc #place_order { width: 100%; min-height: 54px; font-size: 16px !important; font-weight: 900 !important; text-transform: none !important; letter-spacing: 0 !important; }
.rdwc .woocommerce-form-coupon-toggle .woocommerce-info { display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px !important; border-radius: 999px !important; background: #F5F7FB !important; border: 1px solid #E4E8F0 !important; font-size: 14.5px !important; }
.rdw-checkout .woocommerce-form-coupon-toggle .woocommerce-info { display: inline-flex; padding: 10px 16px !important; border-radius: 999px !important; background: #F5F7FB !important; border: 1px solid #E4E8F0 !important; font-size: 14.5px !important; }
.rdw-cart .woocommerce > .rdwe, .rdw-cart .rdwe { grid-column: 1 / -1 !important; width: 100%; }

/* Basket, desktop (12 Nov 2026): the summary rail runs down the right of both rows and "You might also need" sits
   under the basket on the left. Fixes the empty gap above the suggestions and the sticky rail sliding over them. */
@media (min-width: 1024px) {
    .rdw-cart .woocommerce > .rdw-cc-form { grid-row: 1; }
    .rdw-cart .woocommerce > .cart-collaterals { grid-row: 1 / span 2; }
    .rdw-cart .woocommerce > .rdwb-extras { grid-column: 1; grid-row: 2; margin-top: 10px; }
    .rdw-cart .rdwb-extras__grid { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
}

/* Savings (12 Nov 2026): sale lines, coupon percentage and "You save" above the total. */
.rdw-cart .rdwb-item__save { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 2px 0 0; font-size: 13.5px; color: #5C6880; }
.rdw-was del { color: #8A93A6; }
.rdw-save-tag { display: inline-block; padding: 2px 9px; border-radius: 999px; background: #E2F3E8; color: #1E7A46; font-size: 12.5px; font-weight: 800; line-height: 1.5; }
.rdw-save-tag--sm { display: table; margin-top: 4px; font-size: 11.5px; }
.rdw-save-pct { color: #1E7A46; font-weight: 700; }
.rdw-save-row, .rdw-save-row .rdw-cc-price, .rdw-save-row .orow__val { color: #1E7A46 !important; font-weight: 800; }
.rdw-save-row small { font-weight: 700; }
.rdw-cc-sumrow.rdw-save-row { margin: 4px 0; padding: 8px 12px; border-radius: 10px; background: #EAF6EE; }
.orow.rdw-save-row { padding: 8px 12px; border-radius: 10px; background: #EAF6EE; }

/* Coupon messages (12 Nov 2026): on their own line under the field, not squeezed beside the button. */
.rdw-cart .rdwb-coupon .coupon { flex-wrap: wrap !important; align-items: center; }
.rdw-cart .rdwb-coupon .coupon .coupon-error-notice,
.rdw-checkout form.checkout_coupon .coupon-error-notice {
    flex: 1 1 100%; order: 10; display: flex; align-items: flex-start; gap: 8px; margin: 2px 0 0; padding: 10px 14px;
    border-radius: 12px; background: #FDECEA; color: #8F1D14; font-size: 14px; font-weight: 600; line-height: 1.45;
}
.rdw-cart .rdwb-coupon .coupon .coupon-error-notice::before,
.rdw-checkout form.checkout_coupon .coupon-error-notice::before {
    content: "!"; flex: 0 0 20px; display: grid; place-items: center; width: 20px; height: 20px; margin-top: 1px;
    border-radius: 50%; background: #B42318; color: #fff; font-size: 13px; font-weight: 900; line-height: 1;
}
.rdw-cart .rdwb-coupon .coupon input#coupon_code.has-error,
.rdw-checkout form.checkout_coupon input#coupon_code.has-error { border-color: #B42318 !important; box-shadow: 0 0 0 3px rgba(180, 35, 24, .12) !important; }
.rdw-checkout form.checkout_coupon { flex-wrap: wrap; }
.rdw-cart .rdwb-tools.rdw-cc-actions { align-items: flex-start !important; }
.rdw-cart .rdwb-tools .rdw-cc-clear { align-self: flex-start; margin-top: 0; }
.rdw-cart .rdwb-coupon .coupon input#coupon_code.input-text { flex: 1 1 200px !important; width: auto !important; min-width: 0 !important; }
.rdw-cart .rdwb-coupon .coupon button[name="apply_coupon"] { flex: 0 0 auto !important; width: auto !important; }
/* "Have a coupon code?" and Clear basket share one 48px line, open or closed. */
.rdw-cart .rdwb-coupon summary { min-height: 48px !important; }
.rdw-cart .rdwb-tools .rdw-cc-clear { min-height: 48px; height: 48px; display: inline-flex; align-items: center; }

/* ==================== Coupon + basket tools v3 (12 Nov 2026) ==================== */
.rdw-cart .rdwb-tools.rdw-cc-actions { display: grid !important; grid-template-columns: minmax(0, 1fr) auto; gap: 0 16px; align-items: start !important; padding: 14px 20px 16px !important; }
.rdw-cart .rdwb-promo { grid-column: 1 / -1; grid-row: 1; min-width: 0; }
.rdw-cart .rdwb-tools .rdw-cc-clear { grid-column: 2; grid-row: 1; justify-self: end; z-index: 1; }
.rdw-cart .rdwb-coupon { display: block; }
.rdw-cart .rdwb-coupon summary { display: inline-flex !important; align-items: center; gap: 8px; min-height: 44px !important; padding-right: 4px; border-radius: 10px; }
.rdw-cart .rdwb-coupon summary::after { content: none !important; }
.rdw-cart .rdwb-coupon summary:focus-visible { outline: 2px solid #0D3577; outline-offset: 2px; }
.rdw-cart .rdwb-coupon__chev { transition: transform .2s ease; color: #5C6880; }
.rdw-cart .rdwb-coupon[open] .rdwb-coupon__chev { transform: rotate(180deg); }
.rdw-cart .rdwb-coupon .coupon { display: flex !important; flex-direction: column !important; gap: 8px !important; margin-top: 8px !important; }
/* One pill: field with the Apply button inside it. */
.rdw-cart .rdwb-coupon__field { display: flex; align-items: center; gap: 6px; padding: 5px; border: 1px solid #CBD3E1; border-radius: 999px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.rdw-cart .rdwb-coupon__field:focus-within { border-color: #0D3577; box-shadow: 0 0 0 3px rgba(13,53,119,.12); }
.rdw-cart .rdwb-coupon__field:has(input.has-error) { border-color: #B42318; box-shadow: 0 0 0 3px rgba(180,35,24,.12); }
.rdw-cart .rdwb-coupon .rdwb-coupon__field input#coupon_code.input-text { flex: 1 1 auto !important; width: auto !important; min-width: 0 !important; height: 42px !important; padding: 0 14px !important; border: 0 !important; box-shadow: none !important; background: transparent !important; font-size: 15px !important; outline: 0; }
.rdw-cart .rdwb-coupon .rdwb-coupon__field input#coupon_code::placeholder { color: #8A93A6; text-transform: none; letter-spacing: 0; }
.rdw-cart .rdwb-coupon .rdwb-coupon__field button[name="apply_coupon"] { flex: 0 0 auto !important; height: 42px !important; min-height: 0 !important; margin: 0 !important; padding: 0 24px !important; border-radius: 999px !important; }
.rdw-cart .rdwb-coupon .coupon .coupon-error-notice { margin: 0 !important; }
/* Applied codes: always visible. */
.rdw-cart .rdwb-applied { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 0; padding: 0; list-style: none; }
.rdw-cart .rdwb-applied li { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 6px 8px 6px 10px; border: 1px solid #BFE3CB; border-radius: 999px; background: #EAF6EE; color: #14532D; font-size: 14px; }
.rdw-cart .rdwb-applied__ic { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #1E7A46; color: #fff; font-size: 12px; font-weight: 900; }
.rdw-cart .rdwb-applied b { letter-spacing: .04em; color: #14532D; }
.rdw-cart .rdwb-applied__amt { font-weight: 700; color: #1E7A46; }
.rdw-cart .rdwb-applied__amt small { font-weight: 600; }
.rdw-cart a.rdwb-applied__rm { padding: 3px 10px; border-radius: 999px; background: #fff; color: #5C6880; font-size: 12.5px; font-weight: 700; text-decoration: none; }
.rdw-cart a.rdwb-applied__rm:hover, .rdw-cart a.rdwb-applied__rm:focus { color: #B42318; box-shadow: 0 0 0 1px #F3B8B2; }
.rdw-cart .rdwb-promo__msg { margin: 0; font-size: 14px; }
.rdw-cart .rdwb-promo__msg:not(:empty) { margin-top: 8px; padding: 8px 12px; border-radius: 10px; }
.rdw-cart .rdwb-promo__msg.is-ok { background: #EAF6EE; color: #14532D; }
.rdw-cart .rdwb-promo__msg.is-info { background: #F2F5FA; color: #2B2F38; }
/* Clear basket: a quiet text button (it is a destructive action), confirm in place. */
.rdw-cart .rdwb-tools .rdw-cc-clear { height: 44px !important; min-height: 44px !important; padding: 0 12px !important; border: 0 !important; border-radius: 10px !important; background: transparent !important; color: #5C6880 !important; font-size: 14px !important; font-weight: 700 !important; box-shadow: none !important; display: inline-flex !important; align-items: center; gap: 6px; }
.rdw-cart .rdwb-tools .rdw-cc-clear:hover, .rdw-cart .rdwb-tools .rdw-cc-clear:focus-visible { background: #FDECEA !important; color: #B42318 !important; }
.rdw-cart .rdwb-tools .rdw-cc-clear.is-armed { background: #B42318 !important; color: #fff !important; }
.rdw-cart .rdw-cc-clearbox { grid-column: 2; grid-row: 1; justify-self: end; display: inline-flex; align-items: center; gap: 4px; z-index: 1; }
.rdw-cart .rdw-cc-clear-keep { padding: 4px 10px; border: 0; background: none; color: #0D3577; font-size: 13px; font-weight: 700; text-decoration: underline; cursor: pointer; }
/* Undo after removing an item. */
.rdwb-undo { position: fixed; left: 50%; bottom: 24px; z-index: 99999; transform: translateX(-50%); display: flex; align-items: center; justify-content: space-between; gap: 16px; width: max-content; max-width: calc(100vw - 32px); padding: 10px 10px 10px 18px; border-radius: 999px; background: #0D3577; color: #fff; font: 600 14px/1.3 Poppins, system-ui, sans-serif; box-shadow: 0 14px 34px rgba(10,39,87,.35); transition: opacity .35s; animation: rdwUndoIn .25s ease; }
@keyframes rdwUndoIn { from { opacity: 0; transform: translate(-50%, 10px); } to { opacity: 1; transform: translate(-50%, 0); } }
@media (max-width: 767px) { .rdwb-undo { bottom: 84px; } }
.rdwb-undo.is-out { opacity: 0; }
.rdwb-undo b { color: #FFCA00; }
.rdwb-undo a.rdwb-undo__btn { padding: 6px 14px; border-radius: 999px; background: #FFCA00; color: #0D3577; font-weight: 800; text-decoration: none; }
@media (max-width: 600px) {
    .rdw-cart .rdwb-tools.rdw-cc-actions { padding: 12px 14px 14px !important; }
    .rdw-cart .rdwb-coupon summary span { font-size: 14.5px; }
    .rdw-cart .rdwb-tools .rdw-cc-clear span { font-size: 13px; }
    .rdw-cart .rdwb-coupon .rdwb-coupon__field button[name="apply_coupon"] { padding: 0 16px !important; }
}
.rdw-cart .rdwb-coupon .coupon { align-items: stretch !important; width: 100% !important; max-width: none !important; }
.rdw-cart .rdwb-coupon__field { width: 100%; box-sizing: border-box; }

/* Sticky summary (12 Nov 2026): top is set by the page script; glide with the header (same .28s), never switch off. */
@media (min-width: 1024px) {
    .rdw-cart .woocommerce > .cart-collaterals, .rdw-cart .woocommerce > .cart-collaterals.rdw-cc-tall { position: sticky !important; align-self: start; transition: top .28s ease; will-change: top; }
}
@media (min-width: 1024px) {
    .rdwc .rdwc-side, .rdwc .rdwc-side.rdw-cc-tall { position: sticky !important; align-self: start; transition: top .28s ease; }
}
@media (prefers-reduced-motion: reduce) { .rdw-cart .woocommerce > .cart-collaterals, .rdwc .rdwc-side { transition: none !important; } }

/* ==================== Readability pass (12 Nov 2026): 14px minimum for anything a customer reads, AA contrast ==================== */
/* Basket */
.rdw-cart .rdwb-chips li { font-size: 13.5px !important; }
.rdw-cart .rdwb-item__each, .rdw-cart .rdwb-item__save, .rdw-cart .rdw-was { font-size: 14.5px !important; }
.rdw-cart .rdwb-item__stock, .rdw-cart .rdwb-item__stock .is-ok, .rdw-cart .rdwb-item__stock .is-wait { font-size: 14px !important; }
.rdw-cart .rdwb-item__rm a, .rdw-cart .rdwb-item__rm a span, .rdw-cart .rdw-cc-remove a.remove { font-size: 14px !important; color: #5C6880 !important; }
.rdw-cart .rdwb-item__rm a:hover, .rdw-cart .rdwb-item__rm a:focus-visible { color: #B42318 !important; }
.rdw-cart .rdwb-x__price small, .rdw-cart .rdwb-x__price { font-size: 14.5px !important; }
.rdw-cart .rdwb-x__price small { font-size: 13px !important; }
.rdw-cart .rdwb-x__cta { font-size: 14.5px !important; }
.rdw-save-tag { font-size: 13px !important; }
.rdw-save-tag--sm { font-size: 12.5px !important; }
.rdw-step__num { color: #4A5670 !important; }
/* Summary cards (basket + checkout) */
.rdw-cc-incvat, .rdw-save-row small, .rdw-save-pct, .cart-discount small { font-size: 13px !important; }
.rdw-cchelp .rdw-cchelp__s { font-size: 14.5px !important; line-height: 1.5 !important; }
.rdw-cchelp__row small { font-size: 12px !important; letter-spacing: .06em; }
/* Checkout */
.rdwc .rdwc-sum__head a { font-size: 14.5px !important; }
.rdwc .rdw-orderrev .meta, .rdwc .rdw-orderrev .rdw-cc-meta { font-size: 13.5px !important; line-height: 1.45; }
.rdwc .rdw-orderrev .orow, .rdwc .rdw-orderrev .orow__val { font-size: 15px; }
.rdwc .woocommerce-privacy-policy-text p, .rdwc .woocommerce-privacy-policy-text a { font-size: 14px !important; line-height: 1.55 !important; }
.rdwc .rdw-cc-help--checkout li, .rdwc .rdw-cc-help--checkout li span { font-size: 14.5px !important; }
.rdwc #payment .woocommerce-info, .rdwc #payment .woocommerce-notice { font-size: 14.5px !important; line-height: 1.5; }
.rdw-checkout form.checkout label, .rdwc form.checkout label { font-size: 15px !important; }
.rdw-checkout form.checkout .description, .rdwc form.checkout .description, .rdwc .rdwc-sec__head p { font-size: 14.5px !important; }
@media (max-width: 600px) {
    .rdw-cart .rdwb-tools.rdw-cc-actions { grid-template-columns: 1fr !important; }
    .rdw-cart .rdwb-tools .rdw-cc-clear, .rdw-cart .rdw-cc-clearbox { grid-column: 1 !important; grid-row: 2 !important; justify-self: start !important; margin: 6px 0 0 -12px !important; }
    .rdw-cart .rdw-cc-clearbox .rdw-cc-clear { margin: 0 !important; }
}

/* ==================== Order received page (13 Nov 2026) ==================== */
.rdwty { display: grid; gap: 22px; }
.rdwty-hero { position: relative; overflow: hidden; padding: 32px 22px 26px; border-radius: 24px; background: #0D3577; color: #fff; text-align: center; }
.rdwty-hero::after { content: ""; position: absolute; right: -90px; top: -90px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, rgba(255,202,0,.22), rgba(255,202,0,0) 70%); pointer-events: none; }
.rdwty-hero > * { position: relative; z-index: 1; }
.rdwty-hero__ic { display: inline-flex; align-items: center; justify-content: center; width: 68px; height: 68px; border-radius: 50%; background: #FFCA00; color: #0D3577; font-size: 34px; font-weight: 900; }
.rdwty-hero__ic svg { width: 34px; height: 34px; }
.rdwty-hero__k { margin: 14px 0 2px !important; color: #FFCA00; font-size: 14px !important; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.rdwty-hero__t { margin: 6px 0 8px !important; color: #fff !important; font-size: clamp(26px, 20px + 1.6vw, 38px) !important; line-height: 1.15 !important; font-weight: 900 !important; }
.rdwty-hero__s { max-width: 600px; margin: 0 auto !important; color: #D5E0F2; font-size: 16px; line-height: 1.6; }
.rdwty-hero__s strong { color: #fff; overflow-wrap: anywhere; }
.rdwty-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 22px auto 0; max-width: 760px; border-radius: 16px; overflow: hidden; background: rgba(255,255,255,.14); text-align: left; }
.rdwty-facts > div { padding: 12px 16px; background: #0A2C66; }
.rdwty-facts dt { margin: 0; color: #AFC2E3; font-size: 13px; font-weight: 600; }
.rdwty-facts dd { margin: 2px 0 0; color: #fff; font-size: 16px; font-weight: 800; overflow-wrap: anywhere; }
.rdwty-facts dd .woocommerce-Price-amount { color: #fff; }
.rdwty-hero__acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 22px; }
.rdwty-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 24px; border-radius: 999px; border: 2px solid rgba(255,255,255,.7); color: #fff !important; font-size: 16px; font-weight: 800; text-decoration: none !important; }
.rdwty-btn svg { width: 18px; height: 18px; }
.rdwty-btn:hover, .rdwty-btn:focus-visible { background: #fff; color: #0D3577 !important; }
.rdwty-btn--y { background: #FFCA00; border-color: #FFCA00; color: #0A2757 !important; }
.rdwty-btn--y:hover, .rdwty-btn--y:focus-visible { background: #fff; border-color: #fff; }
.rdwty-hero--failed { background: #fff; color: #34353C; border: 2px solid #F3C7C7; }
.rdwty-hero--failed::after { display: none; }
.rdwty-hero--failed .rdwty-hero__ic { background: #FDECEC; color: #B42318; }
.rdwty-hero--failed .rdwty-hero__t { color: #0D3577 !important; }
.rdwty-hero--failed .rdwty-hero__s { color: #5C6880; }
.rdwty-hero--failed .rdwty-btn:not(.rdwty-btn--y) { border-color: #0D3577; color: #0D3577 !important; }
.rdwty-hooked:empty { display: none; }
.rdwty-hooked { padding: 20px 22px; border: 1px solid #E4E8F0; border-radius: 20px; background: #fff; }
.rdwty-hooked h2 { margin: 0 0 10px; font-size: 19px; color: #0D3577; }

.rdwty-grid { display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr); align-items: start; }
.rdwty-main, .rdwty-side { display: grid; gap: 18px; min-width: 0; }
.rdwty-card { padding: 22px; background: #fff; border: 1px solid #E4E8F0; border-radius: 20px; }
.rdwty-card__t { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 0 0 14px !important; font-size: 20px !important; font-weight: 800 !important; color: #0D3577 !important; line-height: 1.25 !important; }
.rdwty-card__t span { font-size: 14px; font-weight: 600; color: #5C6880; }
.rdwty-card__t--sub { margin-top: 18px !important; padding-top: 16px; border-top: 1px solid #EEF1F6; font-size: 16px !important; }
.rdwty-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.rdwty-steps li { position: relative; display: flex; gap: 14px; padding: 0 0 18px; }
.rdwty-steps li:last-child { padding-bottom: 0; }
.rdwty-steps li:not(:last-child)::before { content: ""; position: absolute; left: 15px; top: 34px; bottom: 2px; width: 2px; background: #E4E8F0; }
.rdwty-steps li.is-done:not(:last-child)::before { background: #0D3577; }
.rdwty-steps__dot { flex: 0 0 32px; display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; border: 2px solid #C9D3E3; background: #fff; color: #5C6880; font-size: 14px; font-weight: 800; }
.rdwty-steps__dot svg { width: 16px; height: 16px; }
.rdwty-steps li.is-done .rdwty-steps__dot { background: #0D3577; border-color: #0D3577; color: #FFCA00; }
.rdwty-steps__txt { display: grid; gap: 2px; padding-top: 4px; }
.rdwty-steps__txt strong { color: #0D3577; font-size: 16px; }
.rdwty-steps__txt span { color: #5C6880; font-size: 15px; line-height: 1.5; }

.rdwty-items { display: grid; }
.rdwty-item { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 0; border-top: 1px solid #EEF1F6; }
.rdwty-item:first-child { border-top: 0; padding-top: 0; }
.rdwty-item__img { position: relative; display: block; width: 64px; height: 64px; }
.rdwty-item__img img { display: block; width: 64px !important; height: 64px !important; object-fit: cover; border-radius: 12px; border: 1px solid #E4E8F0; }
.rdwty-item__qty { position: absolute; top: -7px; right: -7px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: #0D3577; color: #fff; font-size: 12px; line-height: 22px; text-align: center; font-weight: 800; }
.rdwty-item__name { display: grid; gap: 2px; min-width: 0; }
.rdwty-item__name > a, .rdwty-item__name > strong { color: #0D3577; font-size: 16px; font-weight: 800; line-height: 1.3; text-decoration: none; }
.rdwty-item__name > a:hover { text-decoration: underline; }
.rdwty-item__meta { color: #5C6880; font-size: 14px; }
.rdwty-item__save { color: #1E7B3A; font-size: 14px; font-weight: 700; }
.rdwty-item__save del { color: #5C6880; font-weight: 500; }
.rdwty-item__p { font-weight: 800; color: #0D3577; white-space: nowrap; }
.rdwty-totals { margin-top: 6px; padding-top: 12px; border-top: 1px solid #E4E8F0; display: grid; gap: 8px; }
.rdwty-trow { display: flex; justify-content: space-between; gap: 14px; font-size: 15px; color: #34353C; }
.rdwty-trow > span:last-child { font-weight: 700; text-align: right; }
.rdwty-trow small { font-size: 14px; }
.rdwty-trow--save { color: #1E7B3A; font-weight: 700; }
.rdwty-trow--order_total { margin-top: 4px; padding-top: 12px; border-top: 1px solid #E4E8F0; font-size: 18px; font-weight: 800; color: #0D3577; }
.rdwty-trow--order_total > span:last-child, .rdwty-trow--order_total .woocommerce-Price-amount { font-size: 22px; font-weight: 900; color: #0D3577; }
.rdwty-trow--order_total small { font-size: 14px; font-weight: 500; color: #5C6880; }
.rdwty-note { margin-top: 16px; padding: 14px 16px; border-radius: 14px; background: #F5F7FB; font-size: 15px; }
.rdwty-note strong { color: #0D3577; }
.rdwty-note p { margin: 4px 0 0; }
.rdwty-addr { margin: 0; font-style: normal; font-size: 16px; line-height: 1.6; color: #34353C; overflow-wrap: anywhere; }
.rdwty-small { margin: 16px 0 0 !important; font-size: 14px; line-height: 1.5; color: #5C6880; }
.rdwty-link { display: inline-block; margin-top: 12px; color: #0D3577; font-weight: 800; }
.rdwty-side .rdw-cchelp { margin: 0; }
@media (min-width: 768px) {
    .rdwty-hero { padding: 40px 32px 32px; }
    .rdwty-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .rdwty-card { padding: 26px 28px; }
}
@media (min-width: 1024px) {
    .rdwty-grid { grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; }
}

/* Checkout: the "Returning customer?" and "Have a coupon code?" prompts as one quiet row (13 Nov 2026). */
.rdw-checkout .woocommerce-form-login-toggle { margin: 0 0 8px; }
.rdw-checkout .woocommerce-form-login-toggle .woocommerce-info { display: block; margin: 0; padding: 0; border: 0; background: none; color: var(--muted); font-size: 15px; }
.rdw-checkout .woocommerce-form-login-toggle .woocommerce-info::before { content: none; }
.rdw-checkout .woocommerce-form-login-toggle .showlogin { color: var(--navy); font-weight: 700; text-decoration: underline; }
@media (min-width: 768px) {
    .rdw-checkout .woocommerce-form-login-toggle { display: inline-block; margin: 0 28px 18px 0; vertical-align: top; }
    .rdw-checkout .woocommerce-form-coupon-toggle { display: inline-block; vertical-align: top; }
}
.rdw-checkout form.woocommerce-form-login { max-width: 560px; margin: 0 0 22px; padding: 20px 22px; border: 1px solid #E4E8F0; border-radius: 20px; background: #fff; }
.rdwty-hero--slim { padding-bottom: 30px; }
.rdwty-verify { max-width: 560px; width: 100%; margin: 0 auto; }
.rdwty-verify__lead { margin: 0 0 14px !important; color: #5C6880; font-size: 15px; line-height: 1.5; }
.rdwty-verify__err { margin: 0 0 14px !important; padding: 12px 14px; border-radius: 12px; background: #FDECEC; color: #8A1C12; font-size: 15px; font-weight: 600; }
.rdwty-verify__row { float: none !important; width: 100% !important; margin: 0 0 12px !important; padding: 0 !important; }
.rdwty-verify__row label { display: block; margin: 0 0 6px; font-size: 15px; font-weight: 700; color: #0D3577; }
.rdwty-verify__row input.input-text { width: 100%; min-height: 50px; padding: 0 16px; border: 1.5px solid #C9D3E3; border-radius: 12px; font-size: 16px; }
.rdwty-verify__row input.input-text:focus { outline: none; border-color: #0D3577; box-shadow: 0 0 0 3px rgba(13,53,119,.15); }
.rdwty-verify__row input[aria-invalid="true"] { border-color: #B42318; }
.rdw-checkout .rdwty-verify__btn { width: 100%; min-height: 52px; border: 0; border-radius: 999px; background: #FFCA00; color: #0A2757; font-size: 16px; font-weight: 800; cursor: pointer; }
.rdw-checkout .rdwty-verify__btn:hover { filter: brightness(.95); }
.rdw-checkout .woocommerce:has(> .rdwty-hero--slim), .rdw-checkout .woocommerce:has(> .rdwty-verify) { display: grid; gap: 22px; }
