:root{--rtc-line:#e3e9e5;--rtc-ink:#102734;--rtc-muted:#4c6370;--rtc-blue:#1551bd;--rtc-tint:#eef3f9;--rtc-green:#0f7a52}
/* ---------- Shared summary card ---------- */
.wc-block-cart .wc-block-cart__sidebar,.wc-block-checkout .wc-block-checkout__sidebar{background:#fff;border:1px solid var(--rtc-line)!important;border-radius:16px!important;padding:28px!important;box-shadow:0 1px 2px rgba(16,39,52,.04)}
.wc-block-cart__sidebar *,.wc-block-checkout__sidebar *{box-sizing:border-box}
.wc-block-cart__sidebar .wc-block-components-totals-wrapper,.wc-block-cart__sidebar .rt-order-subtotal,.wc-block-cart__sidebar .wc-block-components-panel,.wc-block-cart__sidebar .wp-block-woocommerce-cart-order-summary-block,
.wc-block-checkout__sidebar .wc-block-components-totals-wrapper,.wc-block-checkout__sidebar .wc-block-components-panel,.wc-block-checkout__sidebar .wp-block-woocommerce-checkout-order-summary-block,.wc-block-checkout__sidebar .wp-block-woocommerce-checkout-order-summary-block>div{border:0!important;border-radius:0!important;padding-left:0!important;padding-right:0!important;margin-left:0!important;margin-right:0!important;box-shadow:none!important}
.wc-block-cart__sidebar .wc-block-components-totals-wrapper:after,.wc-block-checkout__sidebar .wc-block-components-totals-wrapper:after{display:none!important}
.wc-block-cart__totals-title,.wc-block-checkout__sidebar .wc-block-components-checkout-order-summary__title{margin:0 0 12px!important;padding:0!important;font-size:20px!important;font-weight:600!important;color:var(--rtc-ink);text-transform:none!important;letter-spacing:0!important}
.wc-block-cart__sidebar .wc-block-components-totals-item,.wc-block-cart__sidebar .rt-order-subtotal,.wc-block-checkout__sidebar .wc-block-components-totals-item{display:flex;justify-content:space-between;align-items:baseline;padding:10px 0!important;margin:0!important;font-size:15px;color:var(--rtc-ink)}
.wc-block-cart__sidebar .wc-block-components-totals-wrapper,.wc-block-checkout__sidebar .wc-block-components-totals-wrapper{padding-top:0!important;padding-bottom:0!important}
.wc-block-components-totals-shipping .wc-block-components-totals-item__value,.wc-block-components-totals-shipping .wc-block-components-totals-item__value *{color:var(--rtc-green)!important;font-weight:600}
.wc-block-components-totals-shipping .wc-block-components-totals-item__description,.wc-block-components-totals-shipping .wc-block-components-shipping-address{font-size:13px;color:var(--rtc-muted)}
/* coupon = quiet link */
.wc-block-cart__sidebar .wc-block-components-totals-coupon .wc-block-components-panel__button,.wc-block-checkout__sidebar .wc-block-components-totals-coupon .wc-block-components-panel__button{padding:10px 0!important;margin:0!important;min-height:0!important;font-size:14px!important;font-weight:500;color:var(--rtc-blue)!important}
.wc-block-components-totals-coupon .wc-block-components-panel__button svg{fill:var(--rtc-blue)}
/* one rule above the total, total emphasised */
.wc-block-cart__sidebar .wc-block-components-totals-footer-item,.wc-block-checkout__sidebar .wc-block-components-totals-footer-item{border-top:1px solid var(--rtc-line)!important;margin-top:8px!important;padding:16px 0 4px!important}
.wc-block-components-totals-footer-item .wc-block-components-totals-item__label{font-size:17px!important;font-weight:600!important}
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value,.wc-block-components-totals-footer-item .wc-block-components-totals-item__value *{font-size:26px!important;font-weight:700!important;color:var(--rtc-ink)}
.wc-block-components-totals-footer-item-tax{font-size:12px;color:var(--rtc-muted)}
/* ---------- Cart: CTA first, express second ---------- */
.wc-block-cart .wc-block-cart__sidebar{display:flex;flex-direction:column}
.wc-block-cart__sidebar .wp-block-woocommerce-cart-order-summary-block{order:1}
.wc-block-cart__sidebar .wc-block-cart__submit{order:2;margin:18px 0 0!important;padding:0!important}
.wc-block-cart__sidebar .wp-block-woocommerce-cart-express-payment-block,.wc-block-cart__sidebar .wc-block-cart__payment-options{order:3;margin:0!important;display:flex;flex-direction:column}
.wc-block-cart__sidebar .wc-block-components-express-payment-continue-rule--cart{order:-1;margin:18px 0 14px!important;font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--rtc-muted)}
.wc-block-cart__sidebar .wc-block-cart__submit-button{min-height:56px;width:100%;border-radius:12px!important;background:var(--rtc-blue)!important;font-size:17px!important;font-weight:600!important;box-shadow:0 6px 18px rgba(21,81,189,.25)}
.wc-block-cart__sidebar .wc-block-cart__submit-container:after{content:var(--rt-cart-trust);display:block;margin-top:12px;text-align:center;font-size:13px;color:var(--rtc-muted)}
.wc-block-components-express-payment__event-buttons{gap:8px!important}
.wc-block-components-express-payment__event-buttons>li{margin:0!important}
/* ---------- Upsell card (cart: in the main column) ---------- */
.rt-cro-upsell{margin:20px 0 0;padding:20px;background:var(--rtc-tint);border:1px solid #d6e2f0;border-radius:16px}
.rt-cro-upsell .rt-offers-heading{margin:0 0 12px;font-size:18px;font-weight:600;color:var(--rtc-ink)}
.rt-cro-upsell>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.rt-cro-upsell>div>.rt-offers-heading{grid-column:1/-1;margin:0}
.rt-cro-upsell .rt-purchase-offer{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid var(--rtc-line)!important;border-radius:12px;padding:12px!important;margin:0!important}
.rt-cro-upsell .rt-purchase-offer img{width:64px;height:64px;object-fit:cover;border-radius:8px;flex:0 0 64px}
.rt-cro-upsell .rt-purchase-offer>div{flex:1;min-width:0}
.rt-cro-upsell .rt-purchase-offer h3{margin:0;font-size:15px;font-weight:600}
.rt-cro-upsell .rt-purchase-offer p{margin:2px 0 0;font-size:14px;color:var(--rtc-muted)}
.rt-cro-upsell .rt-purchase-offer button{background:var(--rtc-blue)!important;color:#fff!important;border:0!important;border-radius:10px!important;min-height:40px;padding:0 14px!important;font-weight:600;display:inline-flex;align-items:center;gap:6px}
.rt-cro-upsell .rt-purchase-offer button svg{stroke:#fff}
.rt-cro-save{display:inline-block;margin-top:4px;font-size:12px;font-weight:600;color:var(--rtc-green);background:#e3f4ec;border-radius:999px;padding:2px 8px}
.rt-purchase-recommendations p:has(a[href*="/contact"]){display:none}
/* ---------- Checkout ---------- */
.wc-block-checkout .wc-block-components-express-payment--checkout{border:0!important;padding:0!important;margin:0 0 8px!important;background:none!important}
.wc-block-checkout .wc-block-components-express-payment__title-container{display:block!important;margin:0 0 10px!important;padding:0!important;border:0!important}
.wc-block-checkout .wc-block-components-express-payment__title-container:before,.wc-block-checkout .wc-block-components-express-payment__title-container:after{display:none!important}
.wc-block-checkout .wc-block-components-express-payment__title{position:static!important;padding:0!important;margin:0!important;background:none!important;font-size:13px!important;line-height:1.2!important;font-weight:600!important;letter-spacing:.06em!important;text-transform:uppercase!important;color:var(--rtc-muted)!important}
.wc-block-checkout .wc-block-components-express-payment__content{border:0!important;padding:0!important}
.wc-block-checkout .wc-block-components-express-payment-continue-rule--checkout{margin:16px 0 24px!important;font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--rtc-muted)}
@media (min-width:782px){.wc-block-checkout .wc-block-checkout__sidebar{position:sticky;top:24px;align-self:flex-start}}
.wc-block-checkout__sidebar .wc-block-components-order-summary{padding:0!important}
.wc-block-checkout__sidebar .wc-block-components-order-summary-item{padding:0 0 14px!important;margin:0!important;border:0!important}
.wc-block-checkout__sidebar .wc-block-components-order-summary-item__description{padding:0 12px 0 16px!important}
.wc-block-checkout__sidebar .wc-block-components-order-summary-item__image img{border-radius:8px}
.wc-block-checkout__sidebar .wp-block-woocommerce-checkout-order-summary-cart-items-block{padding:4px 0 12px!important;border-bottom:1px solid var(--rtc-line)!important;margin-bottom:6px!important}
.wc-block-checkout__sidebar .wc-block-components-order-summary-item__total-price{font-weight:600}
.wc-block-checkout__sidebar:after{content:var(--rt-cart-trust);display:block;margin-top:14px;text-align:center;font-size:13px;color:var(--rtc-muted)}
.wc-block-checkout__actions_row .wc-block-components-checkout-place-order-button{min-height:56px;border-radius:12px!important;font-size:17px!important;font-weight:600!important;box-shadow:0 6px 18px rgba(21,81,189,.25)}
/* checkout upsell: collapsed bar that still sells */
details.rt-customize.rt-cro-checkout-upsell{background:var(--rtc-tint);border:1px solid #d6e2f0!important;border-radius:14px!important;margin:0 0 24px!important;overflow:hidden}
details.rt-cro-checkout-upsell>summary{display:flex;align-items:center;gap:12px;padding:14px 18px!important;cursor:pointer;font-weight:600;color:var(--rtc-ink);list-style:none}
details.rt-cro-checkout-upsell>summary::-webkit-details-marker{display:none}
details.rt-cro-checkout-upsell>summary .rt-cro-teaser{font-weight:400;font-size:14px;color:var(--rtc-muted);flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
details.rt-cro-checkout-upsell>summary .rt-cro-teaser b{color:var(--rtc-green);font-weight:600}
details.rt-cro-checkout-upsell>summary>span:not(.rt-cro-teaser){margin-left:auto;font-weight:500;font-size:13px;color:var(--rtc-blue)}
details.rt-cro-checkout-upsell .rt-customize-body{padding:0 18px 18px!important}
details.rt-cro-checkout-upsell .rt-purchase-recommendations{margin:0;padding:0;background:none;border:0}
/* ---------- Ask Joe FAB ---------- */
/* v2 fixes */
.wc-block-cart__sidebar [class*="order-summary-totals-block"],.wc-block-checkout__sidebar [class*="order-summary-totals-block"],.wc-block-cart__sidebar [class*="order-summary-subtotal-block"],.wc-block-checkout__sidebar [class*="order-summary-subtotal-block"],.wc-block-cart__sidebar [class*="order-summary-shipping-block"],.wc-block-checkout__sidebar [class*="order-summary-shipping-block"],.wc-block-cart__sidebar [class*="order-summary-coupon-form-block"],.wc-block-checkout__sidebar [class*="order-summary-coupon-form-block"]{border:0!important;padding-top:0!important;padding-bottom:0!important;margin-top:0!important;margin-bottom:0!important}
.wc-block-cart__sidebar .wc-block-components-express-payment__event-buttons,.wc-block-checkout .wc-block-components-express-payment__event-buttons{padding:0!important;margin:0!important;width:100%}
.wc-block-cart__sidebar .wc-block-components-express-payment__event-buttons>li{width:100%!important;padding:0!important}
.wc-block-cart__sidebar .wc-block-cart__payment-options,.wc-block-cart__sidebar .wc-block-components-express-payment,.wc-block-cart__sidebar .wc-block-components-express-payment__content{padding:0!important;margin:0!important;border:0!important;width:100%}
.wc-block-cart__sidebar .wc-block-cart__submit-container:after,.wc-block-checkout__sidebar:after{content:var(--rt-cart-trust)!important;font-size:12.5px!important}
.wc-block-cart__main .rt-purchase-recommendations.rt-cro-upsell{margin:20px 0 0!important;padding:20px!important;background:var(--rtc-tint)!important;border:1px solid #d6e2f0!important;border-radius:16px!important}
.rt-cro-save{white-space:nowrap}
.wc-block-checkout__sidebar .wc-block-components-checkout-order-summary__title-text{margin:0!important;padding:0!important}
.wc-block-checkout .wc-block-components-express-payment__title-container{position:static!important;transform:none!important;height:auto!important}
.wc-block-checkout .wc-block-components-express-payment__title{transform:none!important;top:auto!important;left:auto!important}
.wc-block-checkout .wc-block-components-express-payment{display:flex;flex-direction:column}
.rt-cro-checkout-upsell .rt-purchase-recommendations>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.rt-cro-checkout-upsell .rt-offers-heading{display:none}
.rt-cro-checkout-upsell .rt-customize-body{border-top:0!important}
.rt-cro-checkout-upsell .rt-purchase-offer{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid var(--rtc-line)!important;border-radius:12px;padding:12px!important;margin:0!important}
.rt-cro-checkout-upsell .rt-purchase-offer img{width:56px;height:56px;object-fit:cover;border-radius:8px;flex:0 0 56px}
.rt-cro-checkout-upsell .rt-purchase-offer>div{flex:1;min-width:0}
.rt-cro-checkout-upsell .rt-purchase-offer h3{margin:0;font-size:15px;font-weight:600}
.rt-cro-checkout-upsell .rt-purchase-offer p{margin:2px 0 0;font-size:14px;color:var(--rtc-muted)}
.rt-cro-checkout-upsell .rt-purchase-offer button{background:var(--rtc-blue)!important;color:#fff!important;border:0!important;border-radius:10px!important;min-height:40px;padding:0 14px!important;font-weight:600;display:inline-flex;align-items:center;gap:6px}
.rt-cro-checkout-upsell .rt-purchase-offer button svg{stroke:#fff}
@media (max-width:781px){.rt-cro-checkout-upsell .rt-purchase-recommendations>div{grid-template-columns:1fr}details.rt-cro-checkout-upsell>summary .rt-cro-teaser{display:none}}
@media (max-width:781px){.rt-cro-upsell>div{grid-template-columns:1fr}.wc-block-cart .wc-block-cart__sidebar,.wc-block-checkout .wc-block-checkout__sidebar{padding:20px!important}}
