/* V11 cart: native forms, totals, hooks and notices remain present. */
body.rp-cart-preview #content .rp-cart-content{--rp-green:#092d24;--rp-leaf:#397f3a;--rp-cream:#f6f3ec;--rp-line:#d6ded8;--rp-grey:#56625b;font:17px/1.5 RPV11Source,Arial,sans-serif;color:var(--rp-green);box-sizing:border-box;width:100%;max-width:100%;min-width:0;padding:16px clamp(12px,2vw,20px)}
body.rp-cart-preview #content .rp-cart-content *{box-sizing:border-box}
body.rp-cart-preview #content .rp-cart-content a{color:var(--rp-green);text-underline-offset:3px}
body.rp-cart-preview #content .rp-cart-content :is(a,button,input,select):focus-visible{outline:3px solid #1555a2;outline-offset:3px}
body.rp-cart-preview #content .rp-cart-content .rp-cart-layout{display:block;min-width:0;max-width:100%}
body.rp-cart-preview #content .rp-cart-content .woocommerce-cart-form{float:none;width:100%;min-width:0;max-width:100%;margin:0 0 16px;border:1px solid var(--rp-line);border-radius:10px;padding:0 16px;background:#fff}
body.rp-cart-preview #content .rp-cart-content .cart-collaterals{float:none;width:100%;min-width:0;max-width:100%;margin:0}
body.rp-cart-preview #content .rp-cart-content .cart-collaterals .cart_totals{float:none;width:100%;padding:24px;border:1px solid #e4e5dc;border-radius:10px;background:var(--rp-cream)}
body.rp-cart-preview #content .rp-cart-content .cart_totals h2{font:600 20px/1.3 RPV11Montserrat,Arial,sans-serif;color:var(--rp-green);margin:0 0 20px;padding:0;border:0;background:none;text-align:left}
body.rp-cart-preview #content .rp-cart-content table.shop_table{border:0;border-collapse:collapse;margin:0;width:100%;background:none}
body.rp-cart-preview #content .rp-cart-content .woocommerce-cart-form table,body.rp-cart-preview #content .rp-cart-content .woocommerce-cart-form tbody{display:block;width:100%}
body.rp-cart-preview #content .rp-cart-content .woocommerce-cart-form thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
body.rp-cart-preview #content .rp-cart-content .woocommerce-cart-form tr.cart_item{display:grid;grid-template-columns:72px minmax(0,1fr) auto;gap:4px 12px;position:relative;padding:18px 0;border-bottom:1px solid var(--rp-line);background:none}
body.rp-cart-preview #content .rp-cart-content .woocommerce-cart-form tr.cart_item td{display:block;padding:0;border:0;text-align:left!important;background:none!important;min-width:0;min-height:0;width:auto;max-width:100%}
body.rp-cart-preview #content .rp-cart-content .woocommerce-cart-form tr.cart_item td::before{display:none!important}
body.rp-cart-preview #content .rp-cart-content tr.cart_item .product-thumbnail{grid-column:1;grid-row:1/3;align-self:center}
body.rp-cart-preview #content .rp-cart-content tr.cart_item .product-thumbnail img{display:block;width:72px;height:72px;max-width:72px;object-fit:contain;border:1px solid var(--rp-line);border-radius:4px;background:#fff}
body.rp-cart-preview #content .rp-cart-content tr.cart_item .product-name{grid-column:2;grid-row:1;font-weight:600;line-height:1.35;overflow-wrap:anywhere}
body.rp-cart-preview #content .rp-cart-content tr.cart_item .product-name a{text-decoration:none}
body.rp-cart-preview #content .rp-cart-content tr.cart_item .product-name dl{display:flex;flex-wrap:wrap;gap:2px 4px;font-size:13px;font-weight:400;line-height:1.4;color:var(--rp-grey);margin:4px 0 0}
body.rp-cart-preview #content .rp-cart-content tr.cart_item .product-name dl p{margin:0}
body.rp-cart-preview #content .rp-cart-content tr.cart_item .product-price{grid-column:2;grid-row:2;font-size:14px;color:var(--rp-grey)}
body.rp-cart-preview #content .rp-cart-content tr.cart_item .product-quantity{grid-column:3;grid-row:1/3;align-self:center;margin-top:0}
body.rp-cart-preview #content .rp-cart-content tr.cart_item .product-subtotal{grid-column:4;grid-row:1;align-self:center;margin-top:0;font-size:17px;font-weight:600;white-space:normal;overflow-wrap:anywhere;text-align:right!important}
body.rp-cart-preview #content .rp-cart-content tr.cart_item .product-remove{position:absolute;right:0;top:12px}
body.rp-cart-preview #content .rp-cart-content tr.cart_item .product-remove a.remove{display:flex;align-items:center;justify-content:center;width:36px;height:36px;font-size:24px;font-weight:400;color:var(--rp-grey)!important;border:0;border-radius:6px;background:none;text-decoration:none;opacity:1}
body.rp-cart-preview #content .rp-cart-content tr.cart_item .product-remove a.remove::before{content:none}
body.rp-cart-preview #content .rp-cart-content tr.cart_item .product-remove a.remove:hover{background:var(--rp-cream);color:var(--rp-green)!important}
body.rp-cart-preview #content .rp-cart-content .rp-quantity{display:inline-flex!important;align-items:stretch;float:none;border:1px solid var(--rp-line);border-radius:6px;overflow:hidden;max-width:132px;height:44px;margin:0}
body.rp-cart-preview #content .rp-cart-content .rp-quantity button{font:600 20px/1 RPV11Source,Arial,sans-serif;flex:0 0 36px;width:36px;min-height:42px;padding:0;border:0;border-radius:0;background:#fff;color:var(--rp-green);cursor:pointer}
body.rp-cart-preview #content .rp-cart-content .rp-quantity button:hover{background:var(--rp-cream)}
body.rp-cart-preview #content .rp-cart-content .rp-quantity button:disabled{opacity:.4;cursor:default}
body.rp-cart-preview #content .rp-cart-content .rp-quantity input.qty{flex:1;min-width:0;width:54px;max-width:none;height:42px;padding:4px;border:0;border-inline:1px solid var(--rp-line);border-radius:0;background:#fff;color:var(--rp-green);text-align:center;font:600 16px RPV11Source,Arial,sans-serif;appearance:textfield;box-shadow:none}
body.rp-cart-preview #content .rp-cart-content .rp-quantity input::-webkit-inner-spin-button,body.rp-cart-preview #content .rp-cart-content .rp-quantity input::-webkit-outer-spin-button{appearance:none;margin:0}
body.rp-cart-preview #content .rp-cart-content .woocommerce-cart-form tbody>tr:not(.cart_item){display:block}
body.rp-cart-preview #content .rp-cart-content .woocommerce-cart-form .actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:flex-end;width:100%;border:0;padding:16px 0!important;background:none}
body.rp-cart-preview #content .rp-cart-content .actions .coupon{display:flex;gap:8px;flex-wrap:wrap;margin-right:auto;float:none}
body.rp-cart-preview #content .rp-cart-content .actions .coupon input{width:180px!important;min-height:44px;border:1px solid var(--rp-line);border-radius:6px;font:inherit}
body.rp-cart-preview #content .rp-cart-content .button,body.rp-cart-preview #content .rp-cart-content button.button{font:600 16px/1.3 RPV11Source,Arial,sans-serif;text-transform:none;letter-spacing:normal;border-radius:6px;min-height:44px;padding:12px 16px;border:1px solid var(--rp-green);background:var(--rp-green);color:#fff;box-shadow:none}
body.rp-cart-preview #content .rp-cart-content .button:hover{background:#12453a;color:#fff}
body.rp-cart-preview #content .rp-cart-content .actions button.button{background:#fff;color:var(--rp-green)}
body.rp-cart-preview #content .rp-cart-content .button:disabled{opacity:.5}
body.rp-cart-preview #content .rp-cart-content .cart_totals table th,body.rp-cart-preview #content .rp-cart-content .cart_totals table td{padding:10px 0;border:0;background:none;vertical-align:top}
body.rp-cart-preview #content .rp-cart-content .cart_totals table th{font-weight:400}
body.rp-cart-preview #content .rp-cart-content .cart_totals table td{text-align:right}
body.rp-cart-preview #content .rp-cart-content .cart_totals .order-total th,body.rp-cart-preview #content .rp-cart-content .cart_totals .order-total td{font-size:20px;font-weight:600;border-top:1px solid #c9d1cb;padding-top:14px}
body.rp-cart-preview #content .rp-cart-content .cart_totals .wc-proceed-to-checkout{padding:16px 0 0}
body.rp-cart-preview #content .rp-cart-content .wc-proceed-to-checkout .checkout-button{display:block;width:100%;margin:0;text-align:center}
body.rp-cart-preview #content .rp-cart-content .rp-cart-continue{display:block;margin-top:16px;text-decoration:none;font-weight:600}
body.rp-cart-preview #content .rp-cart-content .cart_totals .rp-cart-continue{text-align:center;font-size:15px}
body.rp-cart-preview #content .rp-cart-content .rp-v11-cart-minimum{background:#fff;border:1px solid #c9a46d;color:#5c421e;font-size:15px;border-radius:6px}
body.rp-cart-preview #content .rp-cart-content .cart-empty{border-radius:10px;padding:24px;background:var(--rp-cream);color:var(--rp-green)}
body.rp-cart-preview>.rp-cart-action{position:fixed;box-sizing:border-box;width:100%;max-width:100vw;bottom:max(var(--rp-cart-nav-height,64px),env(safe-area-inset-bottom));left:0;right:0;z-index:100;background:#fff;border-top:1px solid var(--rp-line);box-shadow:0 -4px 16px #092d2414;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 16px 10px;min-height:76px}
body.rp-cart-preview>.rp-cart-action[hidden]{display:none!important}
.rp-cart-action>div{display:flex;flex-direction:column;min-width:0;line-height:1.3}
.rp-cart-action small{font-size:12px;color:var(--rp-grey)}
.rp-cart-action strong{font-size:18px}
.rp-cart-action .rp-cart-next,.rp-cart-action>button{display:flex;align-items:center;justify-content:center;flex:1;max-width:230px;min-height:48px;padding:10px 12px;border-radius:6px;background:var(--rp-green);color:#fff;font:600 15px/1.3 RPV11Source,Arial,sans-serif;text-align:center;text-decoration:none}
.rp-cart-action>button:disabled{opacity:.5;cursor:not-allowed}
body.rp-cart-preview.rp-cart-has-lines{padding-bottom:calc(96px + var(--rp-cart-nav-height,64px) + env(safe-area-inset-bottom))}
@media(min-width:768px){body.rp-cart-preview>.rp-cart-action{display:none}body.rp-cart-preview.rp-cart-has-lines{padding-bottom:calc(64px + env(safe-area-inset-bottom))}}
@media(min-width:1024px){
 body.rp-cart-preview #content .rp-cart-content .rp-cart-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,32%);gap:24px;align-items:start}
 body.rp-cart-preview #content .rp-cart-content .cart-collaterals{position:sticky;top:var(--rp-cart-sticky-top,104px);max-height:calc(100dvh - var(--rp-cart-sticky-top,104px) - 16px);overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
 body.rp-cart-preview.rp-cart-has-lines{padding-bottom:0}
}
@media print{body.rp-cart-preview>.rp-cart-action{display:none!important}body.rp-cart-preview{padding-bottom:0!important}}

/* Keep the native totals table legible when Astra switches tables to blocks. */
body.rp-cart-preview #content .rp-cart-content .cart_totals table{display:table;width:100%;table-layout:fixed}
body.rp-cart-preview #content .rp-cart-content .cart_totals tbody{display:table-row-group}
body.rp-cart-preview #content .rp-cart-content .cart_totals tr{display:table-row}
body.rp-cart-preview #content .rp-cart-content .cart_totals :is(th,td){display:table-cell;overflow-wrap:anywhere}
body.rp-cart-preview #content .rp-cart-content .cart_totals td::before{display:none!important}
body.rp-cart-preview #content .rp-cart-content .cart_totals td{text-align:right!important}
body.rp-cart-preview #content .rp-cart-content .cart_totals th{text-align:left!important}
body.rp-cart-preview #content .rp-cart-content .actions .coupon{min-width:0;max-width:100%}
@media(max-width:767px){
 body.rp-cart-preview #content .rp-cart-content .woocommerce-cart-form tr.cart_item{grid-template-columns:56px minmax(0,1fr) minmax(0,max-content);gap:4px 8px}
 body.rp-cart-preview #content .rp-cart-content tr.cart_item .product-thumbnail{grid-column:1;grid-row:1/4}
 body.rp-cart-preview #content .rp-cart-content tr.cart_item .product-thumbnail img{width:56px;height:56px;max-width:56px}
 body.rp-cart-preview #content .rp-cart-content .actions{justify-content:flex-start}
 body.rp-cart-preview #content .rp-cart-content .actions .coupon{width:100%;margin:0}
 body.rp-cart-preview #content .rp-cart-content .actions .coupon .button{width:auto;max-width:100%;white-space:normal}
}
@media(max-width:380px){
 body.rp-cart-preview #content .rp-cart-content .rp-quantity{max-width:116px}
 body.rp-cart-preview #content .rp-cart-content .rp-quantity button{flex-basis:32px;width:32px}
 body.rp-cart-preview #content .rp-cart-content .rp-quantity input.qty{width:48px}
}
/* Let the existing Elementor/Astra parents shrink with the cart. */
body.rp-cart-preview #content :is(.ast-container,#primary,.site-main,.entry-content,.elementor-widget-shortcode,.elementor-widget-container){min-width:0;max-width:100%}

/* Polish 2: local presentation only. Native DOM order, forms and gates are unchanged. */
body.rp-cart-preview #content .rp-cart-content .rp-cart-heading{margin:0 0 20px;min-width:0}
body.rp-cart-preview #content .rp-cart-content .rp-cart-heading h1{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:0;font:600 30px/1.3 RPV11Montserrat,Arial,sans-serif;color:var(--rp-green)}
body.rp-cart-preview #content .rp-cart-content .rp-cart-heading small{display:inline-flex;align-items:center;padding:5px 10px;border:1px solid var(--rp-line);border-radius:6px;background:var(--rp-cream);font:400 15px/1.4 RPV11Source,Arial,sans-serif;color:var(--rp-green);white-space:nowrap}
body.rp-cart-preview #content .rp-cart-content .rp-cart-information{margin:16px 0 12px;padding:12px 16px;border:1px solid var(--rp-line);border-radius:6px;background:#f9faf8;color:var(--rp-grey);font-size:15px;line-height:1.5}
body.rp-cart-preview #content .rp-cart-content .rp-cart-continue{display:inline-flex;align-items:center;justify-content:center;min-height:44px;max-width:100%;margin-top:0;padding:9px 14px;border:1px solid var(--rp-line);border-radius:6px;text-decoration:none;background:#fff}
body.rp-cart-preview #content .rp-cart-content .rp-cart-continue:hover{border-color:var(--rp-leaf);background:var(--rp-cream)}
body.rp-cart-preview #content .rp-cart-content .woocommerce-cart-form tr.cart_item{padding:16px 0;gap:6px 12px;grid-template-columns:64px minmax(0,1fr) 144px minmax(64px,max-content)}
body.rp-cart-preview #content .rp-cart-content tr.cart_item .product-thumbnail img{width:64px;height:64px;max-width:64px}
body.rp-cart-preview #content .rp-cart-content tr.cart_item .product-name{font:600 17px/1.35 RPV11Source,Arial,sans-serif;word-break:normal;overflow-wrap:break-word}
body.rp-cart-preview #content .rp-cart-content tr.cart_item .variation :is(dt,dd){float:none;margin:0;font:inherit;max-width:100%}
body.rp-cart-preview #content .rp-cart-content tr.cart_item .product-remove{position:static;grid-column:4;grid-row:2;justify-self:end;align-self:center}
body.rp-cart-preview #content .rp-cart-content tr.cart_item .product-remove a.remove{display:inline-flex;gap:4px;align-items:center;justify-content:center;width:auto;min-width:72px;height:44px;padding:8px 0;border:0;border-radius:4px;background:none;font:400 14px/1.3 RPV11Source,Arial,sans-serif;text-decoration:none;white-space:nowrap}
body.rp-cart-preview #content .rp-cart-content tr.cart_item .product-remove a.remove:hover{color:var(--rp-leaf)!important;background:none;text-decoration:underline}
body.rp-cart-preview #content .rp-cart-content .cart_totals{display:flex;flex-direction:column}
body.rp-cart-preview #content .rp-cart-content .cart_totals h2{order:-2;margin-bottom:16px}
body.rp-cart-preview #content .rp-cart-content .rp-cart-products-subtotal{order:-1;display:flex;justify-content:space-between;gap:12px;margin:0;padding:8px 0;font-size:17px}
body.rp-cart-preview #content .rp-cart-content .cart_totals:has(.cart-subtotal) .rp-cart-products-subtotal{display:none}
body.rp-cart-preview #content .rp-cart-content #rp-cart-mode{max-width:100%;width:100%;min-height:44px;font:inherit;background:#fff;border:1px solid var(--rp-line);border-radius:6px;padding:8px}
body.rp-cart-preview #content .rp-cart-content .rp-v11-cart-gate>p:has(#rp-cart-mode){font-size:14px;color:var(--rp-grey)}
body.rp-cart-preview #content .rp-cart-content .actions .coupon{align-items:center;gap:8px;flex:1 1 100%;margin:0}
body.rp-cart-preview #content .rp-cart-content .actions .coupon input{margin:0;padding:9px 12px;color:var(--rp-green);background:#fff}
body.rp-cart-preview #content .rp-cart-content .actions :is([name=apply_coupon],[name=update_cart]){display:inline-flex;align-items:center;justify-content:center;max-width:100%;min-height:44px;white-space:normal;font:600 16px/1.4 RPV11Source,Arial,sans-serif;padding:10px 14px;border:1px solid var(--rp-green);border-radius:6px;letter-spacing:normal;text-transform:none;text-decoration:none}
body.rp-cart-preview #content .rp-cart-content .actions [name=apply_coupon]:enabled{background:var(--rp-green);color:#fff;opacity:1}
body.rp-cart-preview #content .rp-cart-content .actions [name=update_cart]:enabled{background:#fff;color:var(--rp-green);opacity:1}
body.rp-cart-preview #content .rp-cart-content .actions :disabled{cursor:not-allowed;opacity:.7}
body.rp-cart-preview #content .rp-cart-content .quantity:not(.rp-quantity) input.qty{width:96px;max-width:100%;min-height:44px;border:1px solid var(--rp-line);border-radius:6px;background:#fff;color:var(--rp-green);text-align:center;font:600 16px RPV11Source,Arial,sans-serif}
body.rp-cart-preview #content .rp-cart-content .rp-quantity{width:144px;max-width:100%;height:46px}
body.rp-cart-preview #content .rp-cart-content .rp-quantity button{flex-basis:44px;width:44px;min-height:44px}
body.rp-cart-preview #content .rp-cart-content .rp-quantity input.qty{height:44px;min-width:44px}
@media(min-width:1024px){
 body.rp-cart-preview #content .rp-cart-content>.woocommerce{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,32%);gap:0 24px;align-items:start}
 body.rp-cart-preview #content .rp-cart-content>.woocommerce>*{grid-column:1/-1;min-width:0}
 body.rp-cart-preview #content .rp-cart-content>.woocommerce>.woocommerce-cart-form{grid-column:1}
 body.rp-cart-preview #content .rp-cart-content>.woocommerce>.cart-collaterals{grid-column:2}
}
@media(max-width:767px){
 body.rp-cart-preview #content .rp-cart-content .rp-cart-heading h1{font-size:26px}
 body.rp-cart-preview #content .rp-cart-content .woocommerce-cart-form{padding:0 12px}
 body.rp-cart-preview #content .rp-cart-content .woocommerce-cart-form tr.cart_item{grid-template-columns:64px minmax(0,1fr);gap:6px 12px;padding:14px 0}
 body.rp-cart-preview #content .rp-cart-content tr.cart_item .product-thumbnail{grid-column:1;grid-row:1/3;align-self:start}
 body.rp-cart-preview #content .rp-cart-content tr.cart_item .product-name{grid-column:2;grid-row:1;font-size:16px}
 body.rp-cart-preview #content .rp-cart-content tr.cart_item .product-price{grid-column:2;grid-row:2}
 body.rp-cart-preview #content .rp-cart-content tr.cart_item .product-quantity{grid-column:1/3;grid-row:3;margin:4px 0 0}
 body.rp-cart-preview #content .rp-cart-content tr.cart_item .product-subtotal{grid-column:1/3;grid-row:4;justify-self:end;align-self:center;margin:0;text-align:right!important}
 body.rp-cart-preview #content .rp-cart-content tr.cart_item .product-remove{grid-column:1/3;grid-row:4;justify-self:start}
 body.rp-cart-preview #content .rp-cart-content .actions{justify-content:stretch}
 body.rp-cart-preview #content .rp-cart-content .actions .coupon{display:grid;grid-template-columns:minmax(0,1fr);width:100%;min-width:0}
 body.rp-cart-preview #content .rp-cart-content .actions .coupon input{width:100%!important;min-width:0}
 body.rp-cart-preview #content .rp-cart-content .actions :is([name=apply_coupon],[name=update_cart]){width:100%}
 body.rp-cart-preview #content .rp-cart-content .cart-collaterals .cart_totals{padding:20px}
}
/* The native hidden state governs the two mutually exclusive mobile actions. */
body.rp-cart-preview>.rp-cart-action>[hidden]{display:none}
/* Preserve a complete focus outline around each progressive quantity control. */
body.rp-cart-preview #content .rp-cart-content .rp-quantity{overflow:visible}
body.rp-cart-preview #content .rp-cart-content .rp-quantity>:first-child{border-radius:5px 0 0 5px}
body.rp-cart-preview #content .rp-cart-content .rp-quantity>:last-child{border-radius:0 5px 5px 0}
body.rp-cart-preview #content .rp-cart-content .rp-quantity :is(button,input):focus-visible{position:relative;z-index:1}

body.rp-cart-preview #content .rp-cart-content .rp-cart-trash{flex:none;width:15px;height:15px}
body.rp-cart-preview>.rp-cart-action[data-keyboard="open"]{display:none}
@media print{body.rp-cart-preview #content .rp-cart-content .cart-collaterals{position:static;max-height:none;overflow:visible}}

/* Alignments: only desktop lines. The accepted mobile/tablet geometry is unchanged. */
body.rp-cart-preview #content .rp-cart-content .cart_totals :is(.rp-cart-products-subtotal,.cart-subtotal){display:none}
body.rp-cart-preview #content .rp-cart-content .product-remove a.remove[data-rp-cart-remove]::before,
body.rp-cart-preview #content .rp-cart-content .product-remove a.remove[data-rp-cart-remove]::after{content:none;display:none}
body.rp-cart-preview #content .rp-cart-content .product-remove .rp-cart-original-icon{display:none}
@media(min-width:1024px){
 body.rp-cart-preview #content .rp-cart-content .woocommerce-cart-form{container-type:inline-size;container-name:rp-cart-lines;border:0;border-radius:0;padding:0;background:none}
 body.rp-cart-preview #content .rp-cart-content .woocommerce-cart-form tr.cart_item{grid-template-columns:88px minmax(0,1fr) 144px minmax(88px,max-content) 72px;gap:4px 12px;padding:18px 0;align-items:center}
 body.rp-cart-preview #content .rp-cart-content tr.cart_item .product-thumbnail{grid-column:1;grid-row:1/3;align-self:center}
 body.rp-cart-preview #content .rp-cart-content tr.cart_item .product-thumbnail img{width:88px;height:88px;max-width:88px;object-fit:contain}
 body.rp-cart-preview #content .rp-cart-content tr.cart_item .product-name{grid-column:2;grid-row:1;align-self:end}
 body.rp-cart-preview #content .rp-cart-content tr.cart_item .product-price{grid-column:2;grid-row:2;align-self:start}
 body.rp-cart-preview #content .rp-cart-content tr.cart_item .product-quantity{grid-column:3;grid-row:1/3;align-self:center}
 body.rp-cart-preview #content .rp-cart-content tr.cart_item .product-subtotal{grid-column:4;grid-row:1/3;align-self:center;white-space:normal}
 body.rp-cart-preview #content .rp-cart-content .woocommerce-cart-form tr.cart_item td.product-subtotal{text-align:right!important}
 body.rp-cart-preview #content .rp-cart-content tr.cart_item .product-remove{grid-column:5;grid-row:1/3;align-self:center}
 body.rp-cart-preview #content .rp-cart-content .rp-quantity{width:144px;border-color:var(--rp-green)}
 body.rp-cart-preview #content .rp-cart-content .rp-quantity input.qty{flex:1 1 0;width:0;border-inline:0}
 body.rp-cart-preview #content .rp-cart-content .rp-quantity button{flex:0 0 44px;width:44px;min-width:44px;background:transparent}
 body.rp-cart-preview #content .rp-cart-content .rp-quantity>.rp-qty-minus{border-radius:5px 0 0 5px}
 @container rp-cart-lines (max-width:679px){
  body.rp-cart-preview #content .rp-cart-content .woocommerce-cart-form tr.cart_item{grid-template-columns:88px minmax(134px,1fr) minmax(88px,max-content) 72px;gap:6px 10px}
  body.rp-cart-preview #content .rp-cart-content tr.cart_item .product-thumbnail{grid-row:1/4}
  body.rp-cart-preview #content .rp-cart-content tr.cart_item .product-name{grid-column:2/-1;grid-row:1}
  body.rp-cart-preview #content .rp-cart-content tr.cart_item .product-price{grid-column:2/-1;grid-row:2}
  body.rp-cart-preview #content .rp-cart-content tr.cart_item .product-quantity{grid-column:2;grid-row:3;justify-self:start}
  body.rp-cart-preview #content .rp-cart-content tr.cart_item .product-subtotal{grid-column:3;grid-row:3}
  body.rp-cart-preview #content .rp-cart-content tr.cart_item .product-remove{grid-column:4;grid-row:3}
 }
 @container rp-cart-lines (max-width:439px){
  body.rp-cart-preview #content .rp-cart-content .woocommerce-cart-form tr.cart_item{grid-template-columns:minmax(134px,1fr) minmax(88px,max-content) 72px;gap:6px 8px}
  body.rp-cart-preview #content .rp-cart-content tr.cart_item .product-thumbnail{grid-column:1;grid-row:1/3}
  body.rp-cart-preview #content .rp-cart-content tr.cart_item .product-name{grid-column:2/-1;grid-row:1}
  body.rp-cart-preview #content .rp-cart-content tr.cart_item .product-price{grid-column:2/-1;grid-row:2}
  body.rp-cart-preview #content .rp-cart-content tr.cart_item .product-quantity{grid-column:1;grid-row:3}
  body.rp-cart-preview #content .rp-cart-content tr.cart_item .product-subtotal{grid-column:2;grid-row:3}
  body.rp-cart-preview #content .rp-cart-content tr.cart_item .product-remove{grid-column:3;grid-row:3}
  body.rp-cart-preview #content .rp-cart-content .rp-quantity{width:134px}
 }
}

/* Keep the native submit in the DOM: Calendar still calls button.click(). */
body.rp-cart-preview #content .rp-cart-content .woocommerce-cart-form[data-rp-cart-auto-update="ready"] [name="update_cart"]{display:none}

/* The empty-cart notice alone: keep useful error/info notices and their icons. */
body.rp-cart-preview #content .rp-cart-content .cart-empty.woocommerce-info::before{content:none;display:none}
body.rp-cart-preview>.rp-cart-action .rp-cart-minimum-summary{font-size:12px;line-height:1.3;max-width:190px;overflow-wrap:break-word;margin-top:3px}
body.rp-cart-preview>.rp-cart-action:has(.rp-cart-minimum-summary:not(:empty)){min-height:96px}
body.rp-cart-preview.rp-cart-has-lines:has(.rp-cart-minimum-summary:not(:empty)){padding-bottom:calc(var(--rp-cart-action-height,96px) + 32px + var(--rp-cart-nav-height,64px) + env(safe-area-inset-bottom))}
@media(min-width:768px){body.rp-cart-preview.rp-cart-has-lines:has(.rp-cart-minimum-summary:not(:empty)){padding-bottom:calc(64px + env(safe-area-inset-bottom))}}
@media(min-width:1024px){body.rp-cart-preview.rp-cart-has-lines:has(.rp-cart-minimum-summary:not(:empty)){padding-bottom:0}}

body.rp-cart-preview>.rp-cart-action .rp-cart-next:hover{background:#12453a;color:#fff}

/* Cart preview alone keeps the existing native navigation, including the empty cart. */
@media(max-width:1023px){
 body.woocommerce-cart.rp-cart-preview.rp-v11-preview .rp-bottom{display:grid}
 body.woocommerce-cart.rp-cart-preview.rp-v11-preview:not(.rp-cart-has-lines){padding-bottom:calc(var(--rp-cart-nav-height,64px) + 16px + env(safe-area-inset-bottom))}
}

body.rp-cart-preview #content .rp-cart-content [data-rp-empty-container],body.rp-cart-preview #content .rp-cart-content :is(h2,h3)[hidden]{display:none}
body.rp-cart-preview #content .rp-cart-content .return-to-shop{margin:16px 0 0}
body.rp-cart-preview #content .rp-cart-content .return-to-shop a.button.wc-backward{display:inline-flex;align-items:center;justify-content:center;min-height:44px;background:#092d24;color:#fff;text-decoration:none}
body.rp-cart-preview #content .rp-cart-content .return-to-shop a.button.wc-backward:focus-visible{outline:3px solid #1555a2;outline-offset:3px}

body.rp-cart-preview #content [data-rp-legacy-heading][hidden]{display:none}
