/* Carefree Theme + Menu Engine V31.0.49 - cart page and header mini cart in the new look (setting crf_cart_mode).
   Every rule starts html.crf-cart, which the header prints before the page draws only while the setting allows this
   visitor AND the new buttons (crf-btn) and the main bar (crf-restyle) are both live; otherwise this file is not even
   linked. Layout only: no text is changed, no element is moved in the page, nothing that holds a money figure is
   hidden. The page layout is a CSS grid over the cart's own blocks; it applies only when the page holds exactly the
   blocks it knows (html.crf-cart.crf-restyle body.checkout-cart #content:has(> form[action*="checkout/cart/edit"]):not(:has(> :not(h1, form, .ftr-offer, style, script, noscript, br, .top-totals-row, .cart-bottom-master, #hdo-cart-page-warnings, #multi-date-warning, #hdcs-banner, #ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended))):not(:has(> :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended))):not(:has(> form ~ form)):not(:has(> .cart-bottom-master > :not(h2, p, #accordion, br, .row, .buttons, script, style))):not(:has(> .cart-bottom-master > .buttons > :not(.pull-left, .pull-right))):not(:has(> .cart-bottom-master > .buttons > .pull-right ~ .pull-right)) below). Everything that moves or un-floats a block sits inside that gate, so an unknown block
   from another mod, or a browser without :has(), keeps today's layout; outside the gate only colours, borders, card
   shapes and type change.
   Buying controls (Checkout, the quantity Update, Apply Coupon / Voucher, Get Quotes, the free tray Add) get no
   display, visibility, opacity, position, transform or font rule here; only the quantity box and the Update button
   are sized (to 44px on phones), as ruled for this cut. Generated from cart.css.src by gen_cart_css.py.
   R3: a cart holding a hire item and a bought item gets crf-cart-hire from the server before the page draws (plus
   crf-cart-hnote once a delivery the Delivery / Pickup Note is shown for is saved): its layout is one column at every
   width and the note has its own row above the totals, kept open from the first paint when crf-cart-hnote is set, and
   growing if the note is taller (never on top of anything). Hire Delivery Manager's Delivery Saving strip (#hdcs-banner)
   is a known block.
   R4: the notices other mods put above the title (Cards & Accounts' secure hire booking note, Trade's account banner,
   Advanced Shipping Manager's free shipping banner, Bank Transfer Customers' price notes) are known blocks too, each in
   its own row of a notice band at the top; a block that is still unknown keeps Cart Master's layout. */

html.crf-cart {
  --crf-c-pink: #d81b60; --crf-c-pink-t: #fdf0f5; --crf-c-pink-l: #f6c9da;
  --crf-c-ink: #252525; --crf-c-text: #3d3530; --crf-c-mute: #6f665e; --crf-c-line: #ece3da; --crf-c-line-d: #ddd0c3;
  --crf-c-cream: #faf6f2; --crf-c-red: #b91c1c; --crf-c-red-l: #fdecec; --crf-c-red-line: #e5a3a3;
  --crf-c-shadow: 0 4px 14px rgba(60, 40, 20, .08); --crf-c-r: 14px;
}

/* ---------- 1. the page grid (gated) ---------- */
@supports (display: contents) and selector(:has(a)) {
  html.crf-cart.crf-restyle body.checkout-cart #content:has(> form[action*="checkout/cart/edit"]):not(:has(> :not(h1, form, .ftr-offer, style, script, noscript, br, .top-totals-row, .cart-bottom-master, #hdo-cart-page-warnings, #multi-date-warning, #hdcs-banner, #ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended))):not(:has(> :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended))):not(:has(> form ~ form)):not(:has(> .cart-bottom-master > :not(h2, p, #accordion, br, .row, .buttons, script, style))):not(:has(> .cart-bottom-master > .buttons > :not(.pull-left, .pull-right))):not(:has(> .cart-bottom-master > .buttons > .pull-right ~ .pull-right)) { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: 0; column-gap: 0;
    grid-template-areas: "." "." "." "." "." "." "." "." "bn" "h1" "warn" "warn2" "lines" "clear" "ftr" "tot" "chk" "cont" "h2" "acc";
    /* Clear Cart, Checkout and Continue Shopping come last in the page but sit above other blocks: their rows are kept
       at their final height from the first paint, so nothing below them moves when they arrive */
    grid-template-rows: auto auto auto auto auto auto auto auto auto auto auto auto auto minmax(58px, auto) auto auto minmax(59px, auto) minmax(76px, auto) auto auto; }
  @media (max-width: 767px) { html.crf-cart.crf-restyle body.checkout-cart #content:has(> form[action*="checkout/cart/edit"]):not(:has(> :not(h1, form, .ftr-offer, style, script, noscript, br, .top-totals-row, .cart-bottom-master, #hdo-cart-page-warnings, #multi-date-warning, #hdcs-banner, #ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended))):not(:has(> :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended))):not(:has(> form ~ form)):not(:has(> .cart-bottom-master > :not(h2, p, #accordion, br, .row, .buttons, script, style))):not(:has(> .cart-bottom-master > .buttons > :not(.pull-left, .pull-right))):not(:has(> .cart-bottom-master > .buttons > .pull-right ~ .pull-right)) { grid-template-rows: auto auto auto auto auto auto auto auto auto auto auto auto auto minmax(58px, auto) auto auto minmax(62px, auto) minmax(76px, auto) auto auto; } }
  html.crf-cart.crf-restyle body.checkout-cart #content:has(> form[action*="checkout/cart/edit"]):not(:has(> :not(h1, form, .ftr-offer, style, script, noscript, br, .top-totals-row, .cart-bottom-master, #hdo-cart-page-warnings, #multi-date-warning, #hdcs-banner, #ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended))):not(:has(> :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended))):not(:has(> form ~ form)):not(:has(> .cart-bottom-master > :not(h2, p, #accordion, br, .row, .buttons, script, style))):not(:has(> .cart-bottom-master > .buttons > :not(.pull-left, .pull-right))):not(:has(> .cart-bottom-master > .buttons > .pull-right ~ .pull-right)) > .cart-bottom-master { display: contents !important; }
  html.crf-cart.crf-restyle body.checkout-cart #content:has(> form[action*="checkout/cart/edit"]):not(:has(> :not(h1, form, .ftr-offer, style, script, noscript, br, .top-totals-row, .cart-bottom-master, #hdo-cart-page-warnings, #multi-date-warning, #hdcs-banner, #ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended))):not(:has(> :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended))):not(:has(> form ~ form)):not(:has(> .cart-bottom-master > :not(h2, p, #accordion, br, .row, .buttons, script, style))):not(:has(> .cart-bottom-master > .buttons > :not(.pull-left, .pull-right))):not(:has(> .cart-bottom-master > .buttons > .pull-right ~ .pull-right)) > .cart-bottom-master > .buttons { display: contents !important; }
  html.crf-cart.crf-restyle body.checkout-cart #content:has(> form[action*="checkout/cart/edit"]):not(:has(> :not(h1, form, .ftr-offer, style, script, noscript, br, .top-totals-row, .cart-bottom-master, #hdo-cart-page-warnings, #multi-date-warning, #hdcs-banner, #ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended))):not(:has(> :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended))):not(:has(> form ~ form)):not(:has(> .cart-bottom-master > :not(h2, p, #accordion, br, .row, .buttons, script, style))):not(:has(> .cart-bottom-master > .buttons > :not(.pull-left, .pull-right))):not(:has(> .cart-bottom-master > .buttons > .pull-right ~ .pull-right)):has(> .top-totals-row)::before { content: ""; display: block; grid-column: 1 / -1; grid-row: tot / cont; background: #fff;
    border: 1px solid var(--crf-c-line); border-radius: var(--crf-c-r); box-shadow: var(--crf-c-shadow); margin: 0; pointer-events: none; }
  @media (min-width: 1200px) {
    html.crf-cart.crf-restyle:not(.crf-cart-hire) body.checkout-cart #content:has(> form[action*="checkout/cart/edit"]):not(:has(> :not(h1, form, .ftr-offer, style, script, noscript, br, .top-totals-row, .cart-bottom-master, #hdo-cart-page-warnings, #multi-date-warning, #hdcs-banner, #ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended))):not(:has(> :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended))):not(:has(> form ~ form)):not(:has(> .cart-bottom-master > :not(h2, p, #accordion, br, .row, .buttons, script, style))):not(:has(> .cart-bottom-master > .buttons > :not(.pull-left, .pull-right))):not(:has(> .cart-bottom-master > .buttons > .pull-right ~ .pull-right)):not(:has(#cart-message-board > *)) { grid-template-columns: minmax(0, 1fr) 340px; column-gap: 28px;
      grid-template-rows: auto auto auto auto auto auto auto auto auto auto auto auto auto minmax(59px, auto) minmax(76px, auto) 1fr minmax(58px, auto) auto auto auto;
      grid-template-areas: ". ." ". ." ". ." ". ." ". ." ". ." ". ." ". ." "bn bn" "h1 h1" "warn warn" "warn2 warn2" "lines tot" "lines chk" "lines cont" "lines ." "clear ." "ftr ." "h2 ." "acc ."; }
    html.crf-cart.crf-restyle:not(.crf-cart-hire) body.checkout-cart #content:has(> form[action*="checkout/cart/edit"]):not(:has(> :not(h1, form, .ftr-offer, style, script, noscript, br, .top-totals-row, .cart-bottom-master, #hdo-cart-page-warnings, #multi-date-warning, #hdcs-banner, #ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended))):not(:has(> :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended))):not(:has(> form ~ form)):not(:has(> .cart-bottom-master > :not(h2, p, #accordion, br, .row, .buttons, script, style))):not(:has(> .cart-bottom-master > .buttons > :not(.pull-left, .pull-right))):not(:has(> .cart-bottom-master > .buttons > .pull-right ~ .pull-right)):not(:has(#cart-message-board > *)):has(> .top-totals-row)::before { grid-column: 2; margin: 34px 0 0; }
  }
}
/* placement: only takes effect while the gate above made #content a grid */
/* R4: other mods' notices above the title: full width, auto-placed into the empty notice band at the top, one row each
   in page order (two of one kind stack, never overlap); their own look is untouched */
html.crf-cart body.checkout-cart #content > :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) { grid-column: 1 / -1; }
html.crf-cart body.checkout-cart #content > #hdcs-banner { grid-area: bn; }
html.crf-cart body.checkout-cart #content > h1 { grid-area: h1; }
html.crf-cart body.checkout-cart #content > #hdo-cart-page-warnings { grid-area: warn; }
html.crf-cart body.checkout-cart #content > #multi-date-warning { grid-area: warn2; }
html.crf-cart body.checkout-cart #content > form { grid-area: lines; min-width: 0; }
html.crf-cart body.checkout-cart #content > .ftr-offer { grid-area: ftr; }
html.crf-cart body.checkout-cart #content > .top-totals-row { grid-area: tot; }
html.crf-cart body.checkout-cart #content > .cart-bottom-master > h2 { grid-area: h2; }
html.crf-cart body.checkout-cart #content > .cart-bottom-master > #accordion { grid-area: acc; }
html.crf-cart body.checkout-cart #content > .cart-bottom-master > br { display: none; }
html.crf-cart body.checkout-cart #content > .cart-bottom-master > .buttons > .pull-left:has(> .btn-clear-cart) { grid-area: clear; }
html.crf-cart body.checkout-cart #content > .cart-bottom-master > .buttons > .pull-left:not(:has(> .btn-clear-cart)) { grid-area: cont; }
html.crf-cart body.checkout-cart #content > .cart-bottom-master > .buttons > .pull-right { grid-area: chk; }

/* ---------- 2. title, blocks ---------- */
html.crf-cart body.checkout-cart #content > h1 { font-family: 'Comfortaa', 'Montserrat', Arial, sans-serif; font-weight: 400; font-size: 30px; line-height: 1.35;
  color: var(--crf-c-ink); text-align: center; margin: 10px 0 22px; padding: 0; }
html.crf-cart body.checkout-cart #content > h1::after { content: ""; display: block; width: 80px; height: 4px; border-radius: 2px; background: var(--crf-c-pink); margin: 12px auto 0; }
html.crf-cart body.checkout-cart #content > .ftr-offer { border: 1px solid var(--crf-c-pink-l); border-radius: var(--crf-c-r); background: var(--crf-c-pink-t);
  color: var(--crf-c-text); padding: 14px 18px; margin: 4px 0 18px; line-height: 1.45; }
html.crf-cart body.checkout-cart #content > .ftr-offer .ftr-offer__link { color: #ad1457; font-weight: 700; }
html.crf-cart body.checkout-cart #content > .cart-bottom-master > h2 { font-family: 'Comfortaa', 'Montserrat', Arial, sans-serif; font-weight: 400; font-size: 22px; line-height: 1.35;
  color: var(--crf-c-ink); text-align: left; width: auto; margin: 28px 0 12px; padding: 0; }
html.crf-cart body.checkout-cart #content > .cart-bottom-master > h2::after { content: none; }
html.crf-cart body.checkout-cart #content > .cart-bottom-master > #accordion { width: auto !important; margin: 0 0 24px !important; }
html.crf-cart body.checkout-cart #accordion > .panel { border: 1px solid var(--crf-c-line); border-radius: var(--crf-c-r); box-shadow: var(--crf-c-shadow); background: #fff; overflow: hidden; }
html.crf-cart body.checkout-cart #accordion > .panel + .panel { margin-top: 12px; }
html.crf-cart body.checkout-cart #accordion > .panel > .panel-heading { background: #fff; border: 0; }
html.crf-cart body.checkout-cart #accordion > .panel > .panel-heading .panel-title { font-size: 15px; line-height: 1.4; font-weight: 700; }
html.crf-cart body.checkout-cart #accordion > .panel > .panel-heading .panel-title a { color: var(--crf-c-ink); padding: 15px 18px !important; }
html.crf-cart body.checkout-cart #accordion > .panel > .panel-heading .panel-title a .fa-caret-down { float: right; margin-top: 2px; color: var(--crf-c-mute); }
html.crf-cart body.checkout-cart #accordion > .panel > .panel-collapse > .panel-body { border-top: 1px solid var(--crf-c-line) !important; padding: 16px 18px; }

/* ---------- 3. summary card (totals, Checkout, Continue Shopping) ---------- */
/* the summary card's own spacing and the un-floating of Cart Master's columns and buttons apply only inside the grid */
@supports (display: contents) and selector(:has(a)) {
  html.crf-cart.crf-restyle body.checkout-cart #content:has(> form[action*="checkout/cart/edit"]):not(:has(> :not(h1, form, .ftr-offer, style, script, noscript, br, .top-totals-row, .cart-bottom-master, #hdo-cart-page-warnings, #multi-date-warning, #hdcs-banner, #ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended))):not(:has(> :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended))):not(:has(> form ~ form)):not(:has(> .cart-bottom-master > :not(h2, p, #accordion, br, .row, .buttons, script, style))):not(:has(> .cart-bottom-master > .buttons > :not(.pull-left, .pull-right))):not(:has(> .cart-bottom-master > .buttons > .pull-right ~ .pull-right)) > .top-totals-row { margin: 0 !important; padding: 18px 22px 0; }
  html.crf-cart.crf-restyle body.checkout-cart #content:has(> form[action*="checkout/cart/edit"]):not(:has(> :not(h1, form, .ftr-offer, style, script, noscript, br, .top-totals-row, .cart-bottom-master, #hdo-cart-page-warnings, #multi-date-warning, #hdcs-banner, #ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended))):not(:has(> :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended))):not(:has(> form ~ form)):not(:has(> .cart-bottom-master > :not(h2, p, #accordion, br, .row, .buttons, script, style))):not(:has(> .cart-bottom-master > .buttons > :not(.pull-left, .pull-right))):not(:has(> .cart-bottom-master > .buttons > .pull-right ~ .pull-right)) > .top-totals-row > div { width: auto !important; margin-left: 0 !important; float: none !important; padding: 0 !important; }
  html.crf-cart.crf-restyle body.checkout-cart #content:has(> form[action*="checkout/cart/edit"]):not(:has(> :not(h1, form, .ftr-offer, style, script, noscript, br, .top-totals-row, .cart-bottom-master, #hdo-cart-page-warnings, #multi-date-warning, #hdcs-banner, #ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended))):not(:has(> :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended))):not(:has(> form ~ form)):not(:has(> .cart-bottom-master > :not(h2, p, #accordion, br, .row, .buttons, script, style))):not(:has(> .cart-bottom-master > .buttons > :not(.pull-left, .pull-right))):not(:has(> .cart-bottom-master > .buttons > .pull-right ~ .pull-right)) > .cart-bottom-master > .buttons > .pull-right { float: none !important; width: auto !important; padding: 14px 22px 0; margin: 0; }
  html.crf-cart.crf-restyle body.checkout-cart #content:has(> form[action*="checkout/cart/edit"]):not(:has(> :not(h1, form, .ftr-offer, style, script, noscript, br, .top-totals-row, .cart-bottom-master, #hdo-cart-page-warnings, #multi-date-warning, #hdcs-banner, #ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended))):not(:has(> :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended))):not(:has(> form ~ form)):not(:has(> .cart-bottom-master > :not(h2, p, #accordion, br, .row, .buttons, script, style))):not(:has(> .cart-bottom-master > .buttons > :not(.pull-left, .pull-right))):not(:has(> .cart-bottom-master > .buttons > .pull-right ~ .pull-right)) > .cart-bottom-master > .buttons > .pull-left:not(:has(> .btn-clear-cart)) { float: none !important; width: auto !important; padding: 8px 22px 24px; margin: 0; text-align: center; }
  html.crf-cart.crf-restyle body.checkout-cart #content:has(> form[action*="checkout/cart/edit"]):not(:has(> :not(h1, form, .ftr-offer, style, script, noscript, br, .top-totals-row, .cart-bottom-master, #hdo-cart-page-warnings, #multi-date-warning, #hdcs-banner, #ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended))):not(:has(> :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended))):not(:has(> form ~ form)):not(:has(> .cart-bottom-master > :not(h2, p, #accordion, br, .row, .buttons, script, style))):not(:has(> .cart-bottom-master > .buttons > :not(.pull-left, .pull-right))):not(:has(> .cart-bottom-master > .buttons > .pull-right ~ .pull-right)) > .cart-bottom-master > .buttons > .pull-left:has(> .btn-clear-cart) { float: none !important; width: auto !important; margin: 0 0 14px; text-align: right; }
  @media (max-width: 767px) {
    html.crf-cart.crf-restyle body.checkout-cart #content:has(> form[action*="checkout/cart/edit"]):not(:has(> :not(h1, form, .ftr-offer, style, script, noscript, br, .top-totals-row, .cart-bottom-master, #hdo-cart-page-warnings, #multi-date-warning, #hdcs-banner, #ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended))):not(:has(> :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended))):not(:has(> form ~ form)):not(:has(> .cart-bottom-master > :not(h2, p, #accordion, br, .row, .buttons, script, style))):not(:has(> .cart-bottom-master > .buttons > :not(.pull-left, .pull-right))):not(:has(> .cart-bottom-master > .buttons > .pull-right ~ .pull-right)) > .top-totals-row { padding: 16px 18px 0; }
    html.crf-cart.crf-restyle body.checkout-cart #content:has(> form[action*="checkout/cart/edit"]):not(:has(> :not(h1, form, .ftr-offer, style, script, noscript, br, .top-totals-row, .cart-bottom-master, #hdo-cart-page-warnings, #multi-date-warning, #hdcs-banner, #ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended))):not(:has(> :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended))):not(:has(> form ~ form)):not(:has(> .cart-bottom-master > :not(h2, p, #accordion, br, .row, .buttons, script, style))):not(:has(> .cart-bottom-master > .buttons > :not(.pull-left, .pull-right))):not(:has(> .cart-bottom-master > .buttons > .pull-right ~ .pull-right)) > .cart-bottom-master > .buttons > .pull-right { padding: 12px 18px 0; }
  }
}
html.crf-cart body.checkout-cart #content > .top-totals-row table.table-bordered { margin: 0 !important; border: 0 !important; background: transparent; }
html.crf-cart body.checkout-cart #content > .top-totals-row table.table-bordered > tbody > tr > td { border: 0 !important; border-top: 1px solid transparent !important; background: transparent;
  padding: 6px 0 !important; line-height: 22px; font-size: 15px; color: var(--crf-c-text); vertical-align: middle; }
html.crf-cart body.checkout-cart #content > .top-totals-row table.table-bordered > tbody > tr > td:not(.m-board-column) { width: auto !important; }
html.crf-cart body.checkout-cart #content > .top-totals-row table.table-bordered > tbody > tr > td:not(.m-board-column):first-child,
html.crf-cart body.checkout-cart #content > .top-totals-row table.table-bordered > tbody > tr > td.m-board-column + td { text-align: left !important; }
html.crf-cart body.checkout-cart #content > .top-totals-row table.table-bordered > tbody > tr > td > strong { font-weight: 500; }
html.crf-cart body.checkout-cart #content > .top-totals-row td.m-board-column:has(> #cart-message-board:empty) { display: none; }
html.crf-cart body.checkout-cart #content > .top-totals-row table.table-bordered > tbody > tr.crf-cart-total-row > td { border-top-color: var(--crf-c-line) !important;
  padding: 3px 0 !important; line-height: 26px; font-size: 22px; font-weight: 700; color: var(--crf-c-ink); }
html.crf-cart body.checkout-cart #content > .top-totals-row table.table-bordered > tbody > tr.crf-cart-total-row > td > strong { font-weight: 700; font-size: 16px; }
html.crf-cart body.checkout-cart #content > .cart-bottom-master > .buttons > .pull-right > a.btn-primary { border-radius: 10px; }
html.crf-cart body.checkout-cart #content > .cart-bottom-master > .buttons > .pull-left:not(:has(> .btn-clear-cart)) > a.btn-default { display: inline-block !important; width: auto !important; height: auto !important; min-height: 44px;
  background: transparent !important; border: 0 !important; box-shadow: none !important; color: var(--crf-c-ink) !important; font-weight: 700; font-size: 15px; line-height: 1.45;
  padding: 11px 6px !important; text-decoration: underline; text-underline-offset: 4px; }
html.crf-cart body.checkout-cart #content > .cart-bottom-master > .buttons > .pull-left > .btn-clear-cart.btn-danger { display: inline-flex !important; width: auto !important; height: 44px !important;
  padding: 0 16px !important; background: #fff !important; border: 1px solid var(--crf-c-red-line) !important; color: var(--crf-c-red) !important; border-radius: 10px; font-weight: 700; font-size: 15px; line-height: 1.4; }
html.crf-cart body.checkout-cart #content > .cart-bottom-master > .buttons > .pull-left > .btn-clear-cart.btn-danger:hover { background: var(--crf-c-red-l) !important; }
@media (min-width: 1200px) {
  @supports (display: contents) and selector(:has(a)) {
    html.crf-cart.crf-restyle:not(.crf-cart-hire) body.checkout-cart #content:has(> form[action*="checkout/cart/edit"]):not(:has(> :not(h1, form, .ftr-offer, style, script, noscript, br, .top-totals-row, .cart-bottom-master, #hdo-cart-page-warnings, #multi-date-warning, #hdcs-banner, #ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended))):not(:has(> :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended))):not(:has(> form ~ form)):not(:has(> .cart-bottom-master > :not(h2, p, #accordion, br, .row, .buttons, script, style))):not(:has(> .cart-bottom-master > .buttons > :not(.pull-left, .pull-right))):not(:has(> .cart-bottom-master > .buttons > .pull-right ~ .pull-right)):not(:has(#cart-message-board > *)) > .top-totals-row { margin-top: 34px !important; }
  }
}

/* ---------- 3b. hire cart with a bought item (R3) ---------- */
/* GT (gen_cart_css.py) = the page grid, on a crf-cart-hire page, while every totals row is a plain label + figure pair (with or
   without Hire Delivery Manager's board cell first). Row 1 of the totals block holds the Delivery / Pickup Note wherever
   Hire Delivery Manager puts it: above the table (below 768px, and while it has not yet moved it), or in its board cell
   (768px and up), which becomes the table's own first row. The table keeps its box (Hire Delivery Manager finds it by
   :visible), shown as a grid: one label + figure pair per row, every figure in the right-hand column. With crf-cart-hnote
   the note's row is kept open from the first paint (in the block until the board holds the note, then in the table) and
   grows if the note is taller, so it is never on top of anything. Any other totals shape keeps the table. */
@supports (display: contents) and selector(:has(a)) {
  html.crf-cart.crf-restyle.crf-cart-hire body.checkout-cart #content:has(> form[action*="checkout/cart/edit"]):not(:has(> :not(h1, form, .ftr-offer, style, script, noscript, br, .top-totals-row, .cart-bottom-master, #hdo-cart-page-warnings, #multi-date-warning, #hdcs-banner, #ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended))):not(:has(> :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended))):not(:has(> form ~ form)):not(:has(> .cart-bottom-master > :not(h2, p, #accordion, br, .row, .buttons, script, style))):not(:has(> .cart-bottom-master > .buttons > :not(.pull-left, .pull-right))):not(:has(> .cart-bottom-master > .buttons > .pull-right ~ .pull-right)):has(> .top-totals-row > div > table):not(:has(> .top-totals-row > div > table td:only-child)):not(:has(> .top-totals-row > div > table td:nth-child(4))):not(:has(> .top-totals-row > div > table td:not(.m-board-column):first-child + td + td)):not(:has(> .top-totals-row > div > table td.m-board-column:first-child:nth-last-child(2))):not(:has(> .top-totals-row > div > table td.m-board-column:not(:first-child))):not(:has(> .top-totals-row > div > table td[colspan])):not(:has(> .top-totals-row > div > table th)):not(:has(> .top-totals-row > div > table > :not(tbody))):not(:has(> .top-totals-row > div > table > tbody > :not(tr))):not(:has(> .top-totals-row > div > table > tbody > tr > :not(td))) > .top-totals-row > div { display: grid !important; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; row-gap: 0; }
  html.crf-cart.crf-restyle.crf-cart-hire body.checkout-cart #content:has(> form[action*="checkout/cart/edit"]):not(:has(> :not(h1, form, .ftr-offer, style, script, noscript, br, .top-totals-row, .cart-bottom-master, #hdo-cart-page-warnings, #multi-date-warning, #hdcs-banner, #ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended))):not(:has(> :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended))):not(:has(> form ~ form)):not(:has(> .cart-bottom-master > :not(h2, p, #accordion, br, .row, .buttons, script, style))):not(:has(> .cart-bottom-master > .buttons > :not(.pull-left, .pull-right))):not(:has(> .cart-bottom-master > .buttons > .pull-right ~ .pull-right)):has(> .top-totals-row > div > table):not(:has(> .top-totals-row > div > table td:only-child)):not(:has(> .top-totals-row > div > table td:nth-child(4))):not(:has(> .top-totals-row > div > table td:not(.m-board-column):first-child + td + td)):not(:has(> .top-totals-row > div > table td.m-board-column:first-child:nth-last-child(2))):not(:has(> .top-totals-row > div > table td.m-board-column:not(:first-child))):not(:has(> .top-totals-row > div > table td[colspan])):not(:has(> .top-totals-row > div > table th)):not(:has(> .top-totals-row > div > table > :not(tbody))):not(:has(> .top-totals-row > div > table > tbody > :not(tr))):not(:has(> .top-totals-row > div > table > tbody > tr > :not(td))) > .top-totals-row > div::before { content: ""; display: block; grid-column: 1; grid-row: 1; }
  html.crf-cart.crf-restyle.crf-cart-hire body.checkout-cart #content:has(> form[action*="checkout/cart/edit"]):not(:has(> :not(h1, form, .ftr-offer, style, script, noscript, br, .top-totals-row, .cart-bottom-master, #hdo-cart-page-warnings, #multi-date-warning, #hdcs-banner, #ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended))):not(:has(> :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended))):not(:has(> form ~ form)):not(:has(> .cart-bottom-master > :not(h2, p, #accordion, br, .row, .buttons, script, style))):not(:has(> .cart-bottom-master > .buttons > :not(.pull-left, .pull-right))):not(:has(> .cart-bottom-master > .buttons > .pull-right ~ .pull-right)):has(> .top-totals-row > div > table):not(:has(> .top-totals-row > div > table td:only-child)):not(:has(> .top-totals-row > div > table td:nth-child(4))):not(:has(> .top-totals-row > div > table td:not(.m-board-column):first-child + td + td)):not(:has(> .top-totals-row > div > table td.m-board-column:first-child:nth-last-child(2))):not(:has(> .top-totals-row > div > table td.m-board-column:not(:first-child))):not(:has(> .top-totals-row > div > table td[colspan])):not(:has(> .top-totals-row > div > table th)):not(:has(> .top-totals-row > div > table > :not(tbody))):not(:has(> .top-totals-row > div > table > tbody > :not(tr))):not(:has(> .top-totals-row > div > table > tbody > tr > :not(td))) > .top-totals-row > div > .hybrid-advisory { grid-column: 1; grid-row: 1; align-self: start; margin: 0 0 12px !important; text-align: left !important; }
  html.crf-cart.crf-restyle.crf-cart-hire body.checkout-cart #content:has(> form[action*="checkout/cart/edit"]):not(:has(> :not(h1, form, .ftr-offer, style, script, noscript, br, .top-totals-row, .cart-bottom-master, #hdo-cart-page-warnings, #multi-date-warning, #hdcs-banner, #ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended))):not(:has(> :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended))):not(:has(> form ~ form)):not(:has(> .cart-bottom-master > :not(h2, p, #accordion, br, .row, .buttons, script, style))):not(:has(> .cart-bottom-master > .buttons > :not(.pull-left, .pull-right))):not(:has(> .cart-bottom-master > .buttons > .pull-right ~ .pull-right)):has(> .top-totals-row > div > table):not(:has(> .top-totals-row > div > table td:only-child)):not(:has(> .top-totals-row > div > table td:nth-child(4))):not(:has(> .top-totals-row > div > table td:not(.m-board-column):first-child + td + td)):not(:has(> .top-totals-row > div > table td.m-board-column:first-child:nth-last-child(2))):not(:has(> .top-totals-row > div > table td.m-board-column:not(:first-child))):not(:has(> .top-totals-row > div > table td[colspan])):not(:has(> .top-totals-row > div > table th)):not(:has(> .top-totals-row > div > table > :not(tbody))):not(:has(> .top-totals-row > div > table > tbody > :not(tr))):not(:has(> .top-totals-row > div > table > tbody > tr > :not(td))) > .top-totals-row > div > table { grid-column: 1; grid-row: 2; display: grid !important; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto; column-gap: 16px; }
  html.crf-cart.crf-restyle.crf-cart-hire body.checkout-cart #content:has(> form[action*="checkout/cart/edit"]):not(:has(> :not(h1, form, .ftr-offer, style, script, noscript, br, .top-totals-row, .cart-bottom-master, #hdo-cart-page-warnings, #multi-date-warning, #hdcs-banner, #ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended))):not(:has(> :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended))):not(:has(> form ~ form)):not(:has(> .cart-bottom-master > :not(h2, p, #accordion, br, .row, .buttons, script, style))):not(:has(> .cart-bottom-master > .buttons > :not(.pull-left, .pull-right))):not(:has(> .cart-bottom-master > .buttons > .pull-right ~ .pull-right)):has(> .top-totals-row > div > table):not(:has(> .top-totals-row > div > table td:only-child)):not(:has(> .top-totals-row > div > table td:nth-child(4))):not(:has(> .top-totals-row > div > table td:not(.m-board-column):first-child + td + td)):not(:has(> .top-totals-row > div > table td.m-board-column:first-child:nth-last-child(2))):not(:has(> .top-totals-row > div > table td.m-board-column:not(:first-child))):not(:has(> .top-totals-row > div > table td[colspan])):not(:has(> .top-totals-row > div > table th)):not(:has(> .top-totals-row > div > table > :not(tbody))):not(:has(> .top-totals-row > div > table > tbody > :not(tr))):not(:has(> .top-totals-row > div > table > tbody > tr > :not(td))) > .top-totals-row > div > table > tbody, html.crf-cart.crf-restyle.crf-cart-hire body.checkout-cart #content:has(> form[action*="checkout/cart/edit"]):not(:has(> :not(h1, form, .ftr-offer, style, script, noscript, br, .top-totals-row, .cart-bottom-master, #hdo-cart-page-warnings, #multi-date-warning, #hdcs-banner, #ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended))):not(:has(> :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended))):not(:has(> form ~ form)):not(:has(> .cart-bottom-master > :not(h2, p, #accordion, br, .row, .buttons, script, style))):not(:has(> .cart-bottom-master > .buttons > :not(.pull-left, .pull-right))):not(:has(> .cart-bottom-master > .buttons > .pull-right ~ .pull-right)):has(> .top-totals-row > div > table):not(:has(> .top-totals-row > div > table td:only-child)):not(:has(> .top-totals-row > div > table td:nth-child(4))):not(:has(> .top-totals-row > div > table td:not(.m-board-column):first-child + td + td)):not(:has(> .top-totals-row > div > table td.m-board-column:first-child:nth-last-child(2))):not(:has(> .top-totals-row > div > table td.m-board-column:not(:first-child))):not(:has(> .top-totals-row > div > table td[colspan])):not(:has(> .top-totals-row > div > table th)):not(:has(> .top-totals-row > div > table > :not(tbody))):not(:has(> .top-totals-row > div > table > tbody > :not(tr))):not(:has(> .top-totals-row > div > table > tbody > tr > :not(td))) > .top-totals-row > div > table > tbody > tr { display: contents !important; }
  html.crf-cart.crf-restyle.crf-cart-hire body.checkout-cart #content:has(> form[action*="checkout/cart/edit"]):not(:has(> :not(h1, form, .ftr-offer, style, script, noscript, br, .top-totals-row, .cart-bottom-master, #hdo-cart-page-warnings, #multi-date-warning, #hdcs-banner, #ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended))):not(:has(> :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended))):not(:has(> form ~ form)):not(:has(> .cart-bottom-master > :not(h2, p, #accordion, br, .row, .buttons, script, style))):not(:has(> .cart-bottom-master > .buttons > :not(.pull-left, .pull-right))):not(:has(> .cart-bottom-master > .buttons > .pull-right ~ .pull-right)):has(> .top-totals-row > div > table):not(:has(> .top-totals-row > div > table td:only-child)):not(:has(> .top-totals-row > div > table td:nth-child(4))):not(:has(> .top-totals-row > div > table td:not(.m-board-column):first-child + td + td)):not(:has(> .top-totals-row > div > table td.m-board-column:first-child:nth-last-child(2))):not(:has(> .top-totals-row > div > table td.m-board-column:not(:first-child))):not(:has(> .top-totals-row > div > table td[colspan])):not(:has(> .top-totals-row > div > table th)):not(:has(> .top-totals-row > div > table > :not(tbody))):not(:has(> .top-totals-row > div > table > tbody > :not(tr))):not(:has(> .top-totals-row > div > table > tbody > tr > :not(td))) > .top-totals-row > div > table > tbody > tr > td.m-board-column { display: block !important; grid-column: 1 / -1; grid-row: 1; width: auto !important; padding: 0 !important; margin: 0; }
  html.crf-cart.crf-restyle.crf-cart-hire body.checkout-cart #content:has(> form[action*="checkout/cart/edit"]):not(:has(> :not(h1, form, .ftr-offer, style, script, noscript, br, .top-totals-row, .cart-bottom-master, #hdo-cart-page-warnings, #multi-date-warning, #hdcs-banner, #ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended))):not(:has(> :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended))):not(:has(> form ~ form)):not(:has(> .cart-bottom-master > :not(h2, p, #accordion, br, .row, .buttons, script, style))):not(:has(> .cart-bottom-master > .buttons > :not(.pull-left, .pull-right))):not(:has(> .cart-bottom-master > .buttons > .pull-right ~ .pull-right)):has(> .top-totals-row > div > table):not(:has(> .top-totals-row > div > table td:only-child)):not(:has(> .top-totals-row > div > table td:nth-child(4))):not(:has(> .top-totals-row > div > table td:not(.m-board-column):first-child + td + td)):not(:has(> .top-totals-row > div > table td.m-board-column:first-child:nth-last-child(2))):not(:has(> .top-totals-row > div > table td.m-board-column:not(:first-child))):not(:has(> .top-totals-row > div > table td[colspan])):not(:has(> .top-totals-row > div > table th)):not(:has(> .top-totals-row > div > table > :not(tbody))):not(:has(> .top-totals-row > div > table > tbody > :not(tr))):not(:has(> .top-totals-row > div > table > tbody > tr > :not(td))) > .top-totals-row > div > table > tbody > tr > td.m-board-column .hybrid-advisory { margin: 0 0 12px !important; text-align: left !important; }
  html.crf-cart.crf-restyle.crf-cart-hire body.checkout-cart #content:has(> form[action*="checkout/cart/edit"]):not(:has(> :not(h1, form, .ftr-offer, style, script, noscript, br, .top-totals-row, .cart-bottom-master, #hdo-cart-page-warnings, #multi-date-warning, #hdcs-banner, #ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended))):not(:has(> :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended))):not(:has(> form ~ form)):not(:has(> .cart-bottom-master > :not(h2, p, #accordion, br, .row, .buttons, script, style))):not(:has(> .cart-bottom-master > .buttons > :not(.pull-left, .pull-right))):not(:has(> .cart-bottom-master > .buttons > .pull-right ~ .pull-right)):has(> .top-totals-row > div > table):not(:has(> .top-totals-row > div > table td:only-child)):not(:has(> .top-totals-row > div > table td:nth-child(4))):not(:has(> .top-totals-row > div > table td:not(.m-board-column):first-child + td + td)):not(:has(> .top-totals-row > div > table td.m-board-column:first-child:nth-last-child(2))):not(:has(> .top-totals-row > div > table td.m-board-column:not(:first-child))):not(:has(> .top-totals-row > div > table td[colspan])):not(:has(> .top-totals-row > div > table th)):not(:has(> .top-totals-row > div > table > :not(tbody))):not(:has(> .top-totals-row > div > table > tbody > :not(tr))):not(:has(> .top-totals-row > div > table > tbody > tr > :not(td))) > .top-totals-row > div > table > tbody > tr > td:not(.m-board-column) + td { text-align: right !important; }
  html.crf-cart.crf-restyle.crf-cart-hire.crf-cart-hnote body.checkout-cart #content:has(> form[action*="checkout/cart/edit"]):not(:has(> :not(h1, form, .ftr-offer, style, script, noscript, br, .top-totals-row, .cart-bottom-master, #hdo-cart-page-warnings, #multi-date-warning, #hdcs-banner, #ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended))):not(:has(> :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended))):not(:has(> form ~ form)):not(:has(> .cart-bottom-master > :not(h2, p, #accordion, br, .row, .buttons, script, style))):not(:has(> .cart-bottom-master > .buttons > :not(.pull-left, .pull-right))):not(:has(> .cart-bottom-master > .buttons > .pull-right ~ .pull-right)):has(> .top-totals-row > div > table):not(:has(> .top-totals-row > div > table td:only-child)):not(:has(> .top-totals-row > div > table td:nth-child(4))):not(:has(> .top-totals-row > div > table td:not(.m-board-column):first-child + td + td)):not(:has(> .top-totals-row > div > table td.m-board-column:first-child:nth-last-child(2))):not(:has(> .top-totals-row > div > table td.m-board-column:not(:first-child))):not(:has(> .top-totals-row > div > table td[colspan])):not(:has(> .top-totals-row > div > table th)):not(:has(> .top-totals-row > div > table > :not(tbody))):not(:has(> .top-totals-row > div > table > tbody > :not(tr))):not(:has(> .top-totals-row > div > table > tbody > tr > :not(td))) > .top-totals-row > div:not(:has(#cart-message-board > *)) { grid-template-rows: minmax(var(--crf-hnote-h, 84px), auto); }
  html.crf-cart.crf-restyle.crf-cart-hire.crf-cart-hnote body.checkout-cart #content:has(> form[action*="checkout/cart/edit"]):not(:has(> :not(h1, form, .ftr-offer, style, script, noscript, br, .top-totals-row, .cart-bottom-master, #hdo-cart-page-warnings, #multi-date-warning, #hdcs-banner, #ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended))):not(:has(> :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended) ~ :is(#ffra-hcb, #opstrade-ib, #fs-cart-banner, .btc-pg-note, .btc-pg-ended))):not(:has(> form ~ form)):not(:has(> .cart-bottom-master > :not(h2, p, #accordion, br, .row, .buttons, script, style))):not(:has(> .cart-bottom-master > .buttons > :not(.pull-left, .pull-right))):not(:has(> .cart-bottom-master > .buttons > .pull-right ~ .pull-right)):has(> .top-totals-row > div > table):not(:has(> .top-totals-row > div > table td:only-child)):not(:has(> .top-totals-row > div > table td:nth-child(4))):not(:has(> .top-totals-row > div > table td:not(.m-board-column):first-child + td + td)):not(:has(> .top-totals-row > div > table td.m-board-column:first-child:nth-last-child(2))):not(:has(> .top-totals-row > div > table td.m-board-column:not(:first-child))):not(:has(> .top-totals-row > div > table td[colspan])):not(:has(> .top-totals-row > div > table th)):not(:has(> .top-totals-row > div > table > :not(tbody))):not(:has(> .top-totals-row > div > table > tbody > :not(tr))):not(:has(> .top-totals-row > div > table > tbody > tr > :not(td))) > .top-totals-row > div > table:has(#cart-message-board > *) { grid-template-rows: minmax(var(--crf-hnote-h, 84px), auto); }
}
html.crf-cart.crf-cart-hnote body.checkout-cart { --crf-hnote-h: 84px; }
@media (max-width: 767px) { html.crf-cart.crf-cart-hnote body.checkout-cart { --crf-hnote-h: 124px; } }
@media (max-width: 399px) { html.crf-cart.crf-cart-hnote body.checkout-cart { --crf-hnote-h: 162px; } }

/* ---------- 4. line cards, 768px and up (the cart table) ---------- */
html.crf-cart body.checkout-cart #shopping-cart.table-responsive { border: 0; margin: 0 0 6px; overflow-x: visible; }
html.crf-cart body.checkout-cart #shopping-cart > table.table-bordered { border: 0 !important; border-collapse: separate; border-spacing: 0 12px; margin: -12px 0 0; background: transparent; width: 100%; }
html.crf-cart body.checkout-cart #shopping-cart > table.table-bordered > thead > tr > td { border: 0 !important; background: transparent; padding: 14px 10px 0 !important; font-size: 11px; line-height: 1.4;
  font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--crf-c-mute); vertical-align: bottom; white-space: nowrap; }
html.crf-cart body.checkout-cart #shopping-cart > table.table-bordered > thead > tr > td:first-child { color: transparent; }
html.crf-cart body.checkout-cart #shopping-cart > table.table-bordered > tbody > tr > td { background: #fff; border: 0 !important; border-top: 1px solid var(--crf-c-line) !important;
  border-bottom: 1px solid var(--crf-c-line) !important; padding: 16px 10px !important; vertical-align: middle; line-height: 1.45; color: var(--crf-c-text); }
html.crf-cart body.checkout-cart #shopping-cart > table.table-bordered > tbody > tr > td:first-child { border-left: 1px solid var(--crf-c-line) !important; border-radius: var(--crf-c-r) 0 0 var(--crf-c-r); width: 88px; }
html.crf-cart body.checkout-cart #shopping-cart > table.table-bordered > tbody > tr > td:last-child { border-right: 1px solid var(--crf-c-line) !important; border-radius: 0 var(--crf-c-r) var(--crf-c-r) 0; }
html.crf-cart body.checkout-cart #shopping-cart > table.table-bordered > tbody > tr > td:first-child img { width: 64px; height: 64px !important; max-width: 64px !important; object-fit: contain;
  padding: 3px; border: 1px solid var(--crf-c-line); border-radius: 10px; background: #fff; }
html.crf-cart body.checkout-cart #shopping-cart > table.table-bordered > tbody > tr > td:nth-child(2) > a { color: var(--crf-c-ink) !important; font-weight: 700; font-size: 15px; }
html.crf-cart body.checkout-cart #shopping-cart > table.table-bordered > tbody > tr > td:nth-child(2) small { color: var(--crf-c-mute); font-size: 13px; }
html.crf-cart body.checkout-cart #shopping-cart > table.table-bordered > tbody > tr > td:last-child { font-weight: 700; font-size: 16px; color: var(--crf-c-ink); white-space: nowrap; }
html.crf-cart body.checkout-cart #shopping-cart > table.table-bordered > tbody > tr > td:nth-last-child(2) { white-space: nowrap; }
/* quantity group: room for the two step buttons is kept from the first paint, so nothing moves when they arrive */
html.crf-cart body.checkout-cart #shopping-cart td > .input-group.btn-block { max-width: 260px !important; width: 220px; }
html.crf-cart body.checkout-cart #shopping-cart td > .input-group.btn-block:not(.crf-qs-ready) { padding-left: 36px; }
html.crf-cart body.checkout-cart #shopping-cart td > .input-group.btn-block:not(.crf-qs-ready) > .input-group-btn:last-child { padding-left: 36px; }
html.crf-cart body.checkout-cart #shopping-cart td > .input-group.btn-block > input.d-qty-box { height: 44px; text-align: center; border-color: var(--crf-c-line-d); border-radius: 0; box-shadow: none; }
html.crf-cart body.checkout-cart #shopping-cart td > .input-group.btn-block > .input-group-btn:last-child > .btn { height: 44px; min-width: 44px; }
html.crf-cart body.checkout-cart #shopping-cart td > .input-group.btn-block > .input-group-btn:last-child > button[type="submit"] { margin-left: 6px; border-radius: 10px !important; }
html.crf-cart body.checkout-cart #shopping-cart td > .input-group.btn-block > .input-group-btn:last-child > .btn-danger { margin-left: 4px; border-radius: 10px !important; }
html.crf-cart .crf-qs > .crf-qty-dec, html.crf-cart .crf-qs > .crf-qty-inc { box-sizing: border-box; width: 36px; height: 44px; padding: 0; margin: 0; background: #fff; color: var(--crf-c-ink);
  border: 1px solid var(--crf-c-line-d); font: 400 20px/1 'Montserrat', Arial, sans-serif; cursor: pointer; }
html.crf-cart .crf-qs > .crf-qty-dec { border-radius: 10px 0 0 10px; border-right: 0; }
html.crf-cart .crf-qs > .crf-qty-inc { border-radius: 0 10px 10px 0; border-left: 0; }
html.crf-cart .crf-qs > button:hover { background: #f3efeb; }
html.crf-cart .crf-qs > button:focus-visible { outline: 2px solid var(--crf-c-ink); outline-offset: -2px; }
html.crf-cart .crf-qs > button:disabled { color: #b8aea6; background: #fff; cursor: default; }
html.crf-cart body.checkout-cart #shopping-cart td > .input-group.btn-block > .crf-qs { width: 36px; }

/* ---------- 5. line cards, phones (Cart Master's phone list) ---------- */
@media (max-width: 767px) {
  html.crf-cart body.checkout-cart .mobile-only-cart > table.mobile-table { display: block; border: 0 !important; margin: 0 0 6px; }
  html.crf-cart body.checkout-cart .mobile-only-cart > table.mobile-table > tbody.m-product-block { display: block; position: relative; background: #fff; border: 1px solid var(--crf-c-line) !important;
    border-radius: var(--crf-c-r); box-shadow: var(--crf-c-shadow); margin: 0 0 12px; padding: 14px 14px 12px; }
  html.crf-cart body.checkout-cart .mobile-only-cart > table.mobile-table > tbody.m-product-block > tr { display: flex; gap: 12px; align-items: flex-start; }
  html.crf-cart body.checkout-cart .mobile-only-cart > table.mobile-table > tbody.m-product-block > tr > td { display: block; padding: 0 !important; border: 0 !important; }
  html.crf-cart body.checkout-cart .mobile-only-cart > table.mobile-table > tbody.m-product-block > tr > td.col-img { width: 64px; flex: 0 0 64px; }
  html.crf-cart body.checkout-cart .mobile-only-cart > table.mobile-table > tbody.m-product-block > tr > td.col-img img { width: 64px; height: 64px; max-width: 64px; object-fit: contain; padding: 3px;
    border: 1px solid var(--crf-c-line); border-radius: 10px; background: #fff; }
  html.crf-cart body.checkout-cart .mobile-only-cart > table.mobile-table > tbody.m-product-block > tr > td.col-desc { flex: 1 1 auto; min-width: 0; padding-right: 36px !important; line-height: 1.45; }
  html.crf-cart body.checkout-cart .mobile-only-cart td.col-desc strong a { color: var(--crf-c-ink) !important; font-size: 15px; }
  html.crf-cart body.checkout-cart .mobile-only-cart td.col-desc .m-qty-summary { display: none; }
  html.crf-cart body.checkout-cart .mobile-only-cart td.col-desc .m-edit-cluster { display: block !important; height: auto !important; overflow: visible !important; opacity: 1 !important;
    margin: 10px 0 0 !important; padding: 0 !important; background: transparent !important; border: 0 !important; }
  html.crf-cart body.checkout-cart .mobile-only-cart td.col-desc .m-qty-row { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
  html.crf-cart body.checkout-cart .mobile-only-cart td.col-desc .m-qty-controls { width: auto; gap: 0; flex-wrap: nowrap; }
  html.crf-cart body.checkout-cart .mobile-only-cart td.col-desc .m-qty-controls > .m-qty-box { width: 52px !important; height: 44px !important; font-size: 16px; border-radius: 0; border-color: var(--crf-c-line-d); margin: 0; }
  html.crf-cart body.checkout-cart .mobile-only-cart td.col-desc .m-qty-controls:not(.crf-qs-ready) > .m-qty-box { margin: 0 40px; }
  html.crf-cart body.checkout-cart .mobile-only-cart td.col-desc .m-qty-controls > .m-btn-grp { flex-grow: 0; margin-left: 8px; }
  html.crf-cart body.checkout-cart .mobile-only-cart td.col-desc .m-qty-controls > .m-btn-grp > button[type="submit"] { width: 44px; height: 44px !important; flex: 0 0 44px; border-radius: 10px; }
  html.crf-cart body.checkout-cart .mobile-only-cart td.col-desc .m-qty-controls > .m-btn-grp > .btn-danger { position: absolute; top: 8px; right: 8px; width: 40px; height: 40px !important;
    background: transparent !important; border: 0 !important; color: var(--crf-c-red) !important; box-shadow: none !important; font-size: 17px; }
  html.crf-cart body.checkout-cart .mobile-only-cart td.col-desc .m-unit-price-label { background: transparent; border: 0; padding: 0; color: var(--crf-c-mute); font-weight: 500; font-size: 13px; line-height: 1.45; }
  html.crf-cart body.checkout-cart .mobile-only-cart .crf-qs > button { width: 40px; height: 44px; }
  html.crf-cart body.checkout-cart #content > h1 { font-size: 26px; margin: 4px 0 16px; }
}

/* ---------- 6. money text contrast (colour only, wording untouched) ---------- */
html.crf-cart body.checkout-cart #content > .top-totals-row table span[style*="999999"],
html.crf-cart.crf-restyle body:not(.mf-mobile) nav#top #cart > .dropdown-menu table span[style*="999999"] { color: var(--crf-c-mute) !important; }

/* ---------- 7. phone bar: Total + Checkout above the tab bar (cart.js builds it, removes it on any doubt) ---------- */
html.crf-cart #crf-cart-bar { position: fixed; left: 0; right: 0; bottom: var(--crf-cbar-b, 0px); z-index: 1020; box-sizing: border-box; display: flex; align-items: center; gap: 12px;
  padding: 10px 14px calc(10px + var(--crf-cbar-sa, 0px)); background: #fff; border-top: 1px solid var(--crf-c-line); box-shadow: 0 -6px 18px rgba(60, 40, 20, .10); }
html.crf-cart #crf-cart-bar .crf-cb-sum { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
html.crf-cart #crf-cart-bar .crf-cb-lbl { font-size: 12px; color: var(--crf-c-mute); }
html.crf-cart #crf-cart-bar .crf-cb-amt { font-size: 20px; font-weight: 700; color: var(--crf-c-ink); white-space: nowrap; }
html.crf-cart #crf-cart-bar .crf-cb-go { flex: 1 1 auto; display: flex; align-items: center; justify-content: center; min-height: 48px; border-radius: 10px; background: var(--crf-c-pink);
  color: #fff; font-weight: 700; font-size: 17px; line-height: 1.3; text-decoration: none; }
html.crf-cart #crf-cart-bar .crf-cb-go:hover, html.crf-cart #crf-cart-bar .crf-cb-go:focus { background: #c2185b; color: #fff; text-decoration: none; }
html.crf-cart.crf-cbar-on body.checkout-cart { padding-bottom: calc(var(--crf-cbar-h, 0px) + var(--crf-cbar-b, 0px)) !important; }
@media (min-width: 768px) { html.crf-cart #crf-cart-bar { display: none !important; } }

/* ---------- 8. header mini cart, 768px and up, never the phone float cart (body.mf-mobile) ---------- */
@media (min-width: 768px) {
  html.crf-cart.crf-restyle body:not(.mf-mobile) nav#top #cart > .dropdown-menu { min-width: 400px; width: 400px; padding: 12px 14px 14px; border-radius: var(--crf-c-r); border: 1px solid var(--crf-c-line); box-shadow: 0 12px 34px rgba(60, 40, 20, .18);
    max-height: calc(100vh - var(--crf-stack-top, 113px) - 8px); overflow-y: auto; overscroll-behavior: contain; }
  html.crf-cart.crf-restyle body:not(.mf-mobile) nav#top #cart > .dropdown-menu > li > div, html.crf-cart.crf-restyle body:not(.mf-mobile) nav#top #cart > .dropdown-menu > li > table { min-width: 0 !important; max-width: 100%; }
  html.crf-cart.crf-restyle body:not(.mf-mobile) nav#top #cart > .dropdown-menu > li > div > table.table-bordered { width: 100%; }
  html.crf-cart.crf-restyle body:not(.mf-mobile) nav#top #cart > .dropdown-menu > li > table.table-striped { display: block; margin: 0 0 8px; border: 0; }
  html.crf-cart.crf-restyle body:not(.mf-mobile) nav#top #cart > .dropdown-menu > li > table.table-striped > tbody { display: block; }
  html.crf-cart.crf-restyle body:not(.mf-mobile) nav#top #cart > .dropdown-menu > li > table.table-striped > tbody > tr { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto 40px; grid-template-areas: "img name tot rm" "img qty tot rm";
    column-gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--crf-c-line); background: transparent !important; }
  html.crf-cart.crf-restyle body:not(.mf-mobile) nav#top #cart > .dropdown-menu > li > table.table-striped > tbody > tr > td { display: block; padding: 0 !important; border: 0 !important; background: transparent !important; line-height: 1.4; }
  html.crf-cart.crf-restyle body:not(.mf-mobile) nav#top #cart > .dropdown-menu > li > table.table-striped > tbody > tr > td:nth-child(1) { grid-area: img; }
  html.crf-cart.crf-restyle body:not(.mf-mobile) nav#top #cart > .dropdown-menu > li > table.table-striped > tbody > tr > td:nth-child(2) { grid-area: name; text-align: left; }
  html.crf-cart.crf-restyle body:not(.mf-mobile) nav#top #cart > .dropdown-menu > li > table.table-striped > tbody > tr > td:nth-child(3) { grid-area: qty; text-align: left !important; color: var(--crf-c-mute); font-size: 13px; }
  html.crf-cart.crf-restyle body:not(.mf-mobile) nav#top #cart > .dropdown-menu > li > table.table-striped > tbody > tr > td:nth-child(4) { grid-area: tot; font-weight: 700; color: var(--crf-c-ink); white-space: nowrap; }
  html.crf-cart.crf-restyle body:not(.mf-mobile) nav#top #cart > .dropdown-menu > li > table.table-striped > tbody > tr > td:nth-child(5) { grid-area: rm; }
  html.crf-cart.crf-restyle body:not(.mf-mobile) nav#top #cart > .dropdown-menu > li > table.table-striped > tbody > tr > td:nth-child(1) img { width: 52px; height: 52px; max-width: 52px; object-fit: contain; padding: 2px; border: 1px solid var(--crf-c-line); border-radius: 8px; }
  html.crf-cart.crf-restyle body:not(.mf-mobile) nav#top #cart > .dropdown-menu > li > table.table-striped > tbody > tr > td:nth-child(2) a { color: var(--crf-c-ink); font-weight: 700; font-size: 14px; }
  html.crf-cart.crf-restyle body:not(.mf-mobile) nav#top #cart > .dropdown-menu > li > table.table-striped > tbody > tr > td:nth-child(2) small { color: var(--crf-c-mute); }
  html.crf-cart.crf-restyle body:not(.mf-mobile) nav#top #cart > .dropdown-menu > li > table.table-striped > tbody > tr > td:nth-child(5) > .btn-danger.btn-xs { width: 40px; height: 40px; padding: 0; background: transparent; border: 0; color: var(--crf-c-red); font-size: 16px; box-shadow: none; }
  html.crf-cart.crf-restyle body:not(.mf-mobile) nav#top #cart > .dropdown-menu > li > table.table-striped > tbody > tr > td:nth-child(5) > .btn-danger.btn-xs:hover { background: var(--crf-c-red-l); border-radius: 8px; }
  html.crf-cart.crf-restyle body:not(.mf-mobile) nav#top #cart > .dropdown-menu > li > table.table-striped > tbody > tr > td:nth-child(5) > .btn-danger.btn-xs > .fa-times::before { content: "\f014"; }
  html.crf-cart.crf-restyle body:not(.mf-mobile) nav#top #cart > .dropdown-menu > li > div > table.table-bordered { background: var(--crf-c-cream); border: 0 !important; border-radius: 10px; margin: 4px 0 12px; }
  html.crf-cart.crf-restyle body:not(.mf-mobile) nav#top #cart > .dropdown-menu > li > div > table.table-bordered > tbody > tr > td { border: 0 !important; padding: 5px 14px !important; line-height: 1.45; background: transparent; color: var(--crf-c-text); }
  html.crf-cart.crf-restyle body:not(.mf-mobile) nav#top #cart > .dropdown-menu > li > div > table.table-bordered > tbody > tr > td:first-child { text-align: left; }
  html.crf-cart.crf-restyle body:not(.mf-mobile) nav#top #cart > .dropdown-menu > li > div > table.table-bordered > tbody > tr > td > strong { font-weight: 500; }
  html.crf-cart.crf-restyle body:not(.mf-mobile) nav#top #cart > .dropdown-menu > li > div > p.ftr-mini { margin: 0 0 10px; padding: 8px 12px; border-radius: 10px; background: var(--crf-c-pink-t); font-size: 13px; line-height: 1.45; }
  html.crf-cart.crf-restyle body:not(.mf-mobile) nav#top #cart > .dropdown-menu > li > div > p.ftr-mini a { color: #ad1457; font-weight: 700; }
  html.crf-cart.crf-restyle body:not(.mf-mobile) nav#top #cart > .dropdown-menu > li > div > p.text-right:last-child { display: flex; gap: 10px; margin: 0; }
  html.crf-cart.crf-restyle body:not(.mf-mobile) nav#top #cart > .dropdown-menu > li > div > p.text-right:last-child > a { display: inline-flex; flex: 1 1 0; align-items: center; justify-content: center; min-height: 44px; padding: 0 12px; border-radius: 10px;
    font-size: 15px; line-height: 1.3; text-decoration: none; box-sizing: border-box; }
  html.crf-cart.crf-restyle body:not(.mf-mobile) nav#top #cart > .dropdown-menu > li > div > p.text-right:last-child > a:first-child { background: #fff; color: var(--crf-c-ink); border: 1.5px solid var(--crf-c-ink); }
  html.crf-cart.crf-restyle body:not(.mf-mobile) nav#top #cart > .dropdown-menu > li > div > p.text-right:last-child > a:first-child:hover { background: #f3efeb; }
  html.crf-cart.crf-restyle body:not(.mf-mobile) nav#top #cart > .dropdown-menu > li > div > p.text-right:last-child > a:last-child:not(:first-child) { background: var(--crf-c-pink); color: #fff; border: 1.5px solid var(--crf-c-pink); }
  html.crf-cart.crf-restyle body:not(.mf-mobile) nav#top #cart > .dropdown-menu > li > div > p.text-right:last-child > a:last-child:not(:first-child):hover { background: #c2185b; border-color: #c2185b; }
  html.crf-cart.crf-restyle body:not(.mf-mobile) nav#top #cart > .dropdown-menu > li > div > p.text-right:last-child > a .fa { margin-right: 6px; }
  html.crf-cart.crf-restyle body:not(.mf-mobile) nav#top #cart > .dropdown-menu > li > p.text-center { margin: 14px 0; color: var(--crf-c-mute); line-height: 1.45; }
}
