/* Keep withdrawal of consent reachable without a hover-only, offscreen tab. */
#cmplz-manage-consent button.cmplz-manage-consent.cmplz-show {
    animation: none !important;
    bottom: 12px !important;
    display: block !important;
    height: auto !important;
    min-height: 44px !important;
    padding: 10px 14px !important;
    right: 12px !important;
    transform: none !important;
}

@media (max-width: 768px) {
    #cmplz-manage-consent button.cmplz-manage-consent.cmplz-show {
        bottom: 12px !important;
        font-size: 12px !important;
    }
}

/* Keep bespoke quote checkout calm, legible and conversion-ready. */
body.woocommerce-checkout .woocommerce table.shop_table.cart {
    table-layout: auto;
    border: 1px solid #d8dfdc;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
}

body.woocommerce-checkout .woocommerce table.shop_table.cart th,
body.woocommerce-checkout .woocommerce table.shop_table.cart td {
    padding: 16px 18px;
    vertical-align: top;
}

body.woocommerce-checkout .woocommerce table.shop_table.cart th.product-remove,
body.woocommerce-checkout .woocommerce table.shop_table.cart td.product-remove {
    width: 54px;
    padding-inline: 12px;
}

body.woocommerce-checkout .woocommerce table.shop_table.cart th.product-thumbnail,
body.woocommerce-checkout .woocommerce table.shop_table.cart td.product-thumbnail {
    display: none;
}

body.woocommerce-checkout .woocommerce table.shop_table.cart th.product-quantity,
body.woocommerce-checkout .woocommerce table.shop_table.cart td.product-quantity {
    display: none;
}

body.woocommerce-checkout .woocommerce table.shop_table.cart th.product-price,
body.woocommerce-checkout .woocommerce table.shop_table.cart td.product-price,
body.woocommerce-checkout .woocommerce table.shop_table.cart th.product-quantity,
body.woocommerce-checkout .woocommerce table.shop_table.cart td.product-quantity,
body.woocommerce-checkout .woocommerce table.shop_table.cart th.product-subtotal,
body.woocommerce-checkout .woocommerce table.shop_table.cart td.product-subtotal {
    width: 140px;
    white-space: nowrap;
}

body.woocommerce-checkout .woocommerce table.shop_table.cart td.product-name {
    line-height: 1.5;
    overflow-wrap: anywhere;
}

body.woocommerce-checkout .woocommerce table.shop_table.cart dl.variation,
body.woocommerce-checkout #order_review table.shop_table dl.variation {
    display: block;
    margin: 9px 0 0;
    font-size: 12px;
    line-height: 1.4;
}

body.woocommerce-checkout .woocommerce table.shop_table.cart dl.variation dt,
body.woocommerce-checkout #order_review table.shop_table dl.variation dt {
    margin: 0;
    margin-top: 8px;
    display: block;
    float: none;
    clear: both;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    white-space: nowrap;
}

body.woocommerce-checkout .woocommerce table.shop_table.cart dl.variation dt:first-child,
body.woocommerce-checkout #order_review table.shop_table dl.variation dt:first-child {
    margin-top: 0;
}

body.woocommerce-checkout .woocommerce table.shop_table.cart dl.variation dd,
body.woocommerce-checkout #order_review table.shop_table dl.variation dd {
    margin: 0;
    display: block;
    float: none;
    clear: both;
    overflow-wrap: anywhere;
}

body.woocommerce-checkout .woocommerce table.shop_table.cart dl.variation p,
body.woocommerce-checkout #order_review table.shop_table dl.variation p {
    margin: 0;
}

body.woocommerce-checkout .woocommerce table.shop_table.cart dl.variation dt.variation-SmartyXquote + dd p,
body.woocommerce-checkout #order_review table.shop_table dl.variation dt.variation-SmartyXquote + dd p {
    white-space: nowrap;
}

body.woocommerce-checkout .woocommerce table.shop_table.cart td.actions {
    padding: 18px;
}

body.woocommerce-checkout .woocommerce table.shop_table.cart td.actions .coupon {
    display: flex;
    align-items: center;
    gap: 12px;
    width: auto;
    float: none;
}

body.woocommerce-checkout .woocommerce table.shop_table.cart td.actions .coupon input.input-text {
    width: 170px;
    height: 48px;
    min-height: 48px;
    box-sizing: border-box;
    padding: 10px 14px;
}

body.woocommerce-checkout .woocommerce table.shop_table.cart td.actions .coupon button.button,
body.woocommerce-checkout .woocommerce table.shop_table.cart td.actions button[name="update_cart"] {
    min-height: 48px;
}

body.woocommerce-checkout #order_review table.shop_table {
    table-layout: fixed;
    width: 100%;
}

body.woocommerce-checkout #order_review table.shop_table th,
body.woocommerce-checkout #order_review table.shop_table td {
    padding: 14px 0;
    vertical-align: top;
}

body.woocommerce-checkout #order_review table.shop_table th.product-name,
body.woocommerce-checkout #order_review table.shop_table td.product-name {
    width: 70%;
    padding-right: 16px;
}

body.woocommerce-checkout #order_review table.shop_table th.product-total,
body.woocommerce-checkout #order_review table.shop_table td.product-total {
    width: 30%;
    white-space: nowrap;
    text-align: right;
}

body.woocommerce-checkout #payment {
    padding: 22px;
    border-radius: 2px;
    background: #10211e;
    color: #fff;
}

body.woocommerce-checkout #payment ul.payment_methods {
    margin: 0;
    padding: 0 0 18px;
    border-bottom: 1px solid rgba(255,255,255,.18);
}

body.woocommerce-checkout #payment ul.payment_methods label {
    color: #fff;
    font-weight: 600;
}

body.woocommerce-checkout #payment div.payment_box {
    margin: 16px 0 0;
    padding: 14px 16px;
    border-radius: 2px;
    background: #f6f2ed;
    color: #10211e;
}

body.woocommerce-checkout #payment .place-order {
    margin: 0;
    padding: 18px 0 0;
}

body.woocommerce-checkout #payment .place-order #place_order {
    width: 100%;
    min-height: 54px;
    border: 1px solid #d6653b;
    border-radius: 2px;
    background: #d6653b;
    color: #fff;
    font-weight: 700;
}

@media (max-width: 767px) {
    body.woocommerce-checkout .woocommerce table.shop_table.cart {
        table-layout: auto;
    }

    body.woocommerce-checkout .woocommerce table.shop_table.cart th.product-price,
    body.woocommerce-checkout .woocommerce table.shop_table.cart td.product-price,
    body.woocommerce-checkout .woocommerce table.shop_table.cart th.product-quantity,
    body.woocommerce-checkout .woocommerce table.shop_table.cart td.product-quantity,
    body.woocommerce-checkout .woocommerce table.shop_table.cart th.product-subtotal,
    body.woocommerce-checkout .woocommerce table.shop_table.cart td.product-subtotal {
        width: auto;
    }

    body.woocommerce-checkout .woocommerce table.shop_table.cart td.actions {
        display: block;
    }

    body.woocommerce-checkout .woocommerce table.shop_table.cart td.actions .coupon {
        flex-wrap: wrap;
    }

    body.woocommerce-checkout .woocommerce table.shop_table.cart td.actions .coupon input.input-text {
        flex: 1 1 150px;
        width: auto;
    }

    body.woocommerce-checkout .woocommerce table.shop_table.cart td.actions button[name="update_cart"] {
        float: none;
        width: 100%;
        margin-top: 12px;
    }

    body.woocommerce-checkout #payment {
        padding: 18px;
    }
}
