/* Scoped presentation for WooCommerce's native cart form and totals. */
body.woocommerce-cart{--bb-cart-surface:var(--bb-surface);--bb-cart-story:var(--bb-surface);--bb-cart-gift:var(--bb-surface);--bb-cart-coloring:var(--bb-surface);--bb-cart-border:#e8c9b7}
body.woocommerce-cart,body.woocommerce-cart .bbs-header,body.woocommerce-cart .bbs-mobile nav{background:var(--bb-bg)}
body.woocommerce-cart .site-main{min-height:0}
body.woocommerce-cart .content-shell{width:min(100% - 32px,1100px);padding:30px 0 64px}
body.woocommerce-cart .content-shell>h1{font-size:clamp(31px,5vw,48px);margin:0 0 24px}
body.woocommerce-cart .bb-cart-empty{box-sizing:border-box;width:min(100%,620px);margin:8px auto 44px;padding:clamp(28px,5vw,48px) clamp(18px,4vw,40px);display:grid;justify-items:center;gap:14px;text-align:center;background:var(--bb-cart-surface);border:1px solid var(--bb-cart-border);border-radius:22px}
body.woocommerce-cart .bb-cart-empty h2{margin:0;color:var(--bb-heading-color);font:900 clamp(27px,4vw,38px)/1.15 var(--bb-font-display)}
body.woocommerce-cart .bb-cart-empty p{max-width:390px;margin:0;color:#625761;font:600 16px/1.5 var(--bb-font-body)}
body.woocommerce-cart .bb-cart-empty__primary{display:inline-flex;align-items:center;justify-content:center;min-height:52px;max-width:100%;margin-top:8px;padding:12px 26px;border-radius:14px;background:#d90e28;color:#fff;font:900 16px/1.25 var(--bb-font-body);text-align:center;text-decoration:none}
body.woocommerce-cart .bb-cart-empty__primary:hover{background:#b70920;color:#fff}
body.woocommerce-cart .bb-cart-empty__secondary{display:inline-flex;align-items:center;justify-content:center;min-height:44px;color:#625761;font:800 14px/1.3 var(--bb-font-body);text-underline-offset:3px}
body.woocommerce-cart .bb-cart-empty a:focus-visible{outline:3px solid #a60b21;outline-offset:4px}
body.woocommerce-cart .woocommerce,body.woocommerce-cart .woocommerce-cart-form{min-width:0;width:100%}
body.woocommerce-cart table.shop_table.cart{border:0;border-collapse:separate;border-spacing:0 12px;border-radius:0;background:transparent;width:100%;margin:0}
body.woocommerce-cart table.shop_table.cart th{border:0;border-bottom:1px solid #e9d5cb;background:transparent;color:#645459;font-size:12px;letter-spacing:.03em;padding:10px 8px;text-align:left}
body.woocommerce-cart table.shop_table.cart td{border:0;background:transparent;padding:18px 8px;vertical-align:middle}
body.woocommerce-cart table.shop_table.cart tr.bb-cart-line>td{background:var(--bb-cart-surface);border-top:1px solid var(--bb-cart-border);border-bottom:1px solid var(--bb-cart-border)}
body.woocommerce-cart table.shop_table.cart tr.bb-cart-line--story>td{background:var(--bb-cart-story)}
body.woocommerce-cart table.shop_table.cart tr.bb-cart-line--gift>td{background:var(--bb-cart-gift)}
body.woocommerce-cart table.shop_table.cart tr.bb-cart-line--coloring>td{background:var(--bb-cart-coloring)}
body.woocommerce-cart table.shop_table.cart tr.bb-cart-line>td:first-child{border-left:1px solid var(--bb-cart-border);border-radius:16px 0 0 16px}
body.woocommerce-cart table.shop_table.cart tr.bb-cart-line>td:last-child{border-right:1px solid var(--bb-cart-border);border-radius:0 16px 16px 0}
body.woocommerce-cart table.shop_table.cart .product-price{display:none}
body.woocommerce-cart table.shop_table.cart .product-thumbnail{width:116px}
body.woocommerce-cart table.shop_table.cart .product-thumbnail img,
body.woocommerce-cart .bb-cart-image-fallback{display:grid;place-items:center;width:96px;height:112px;object-fit:contain;border-radius:12px;background:#fff8f0}
body.woocommerce-cart .bb-cart-image-fallback .bbl-icon{width:44px;height:44px;color:#d90e28}
body.woocommerce-cart table.shop_table.cart .product-name{min-width:0;overflow-wrap:anywhere;font-weight:800;font-size:17px;line-height:1.3;color:var(--bb-color-text)}
body.woocommerce-cart table.shop_table.cart .product-name>a{color:inherit;text-decoration:none}
.bb-cart-gift-title{display:inline}
.bb-cart-gift-mark{display:inline-flex;vertical-align:middle;margin-right:6px;color:#cf1730}
.bb-cart-gift-mark .bbl-icon{width:19px;height:19px}
body.woocommerce-cart .bb-cart-item-details{font:700 13px/1.45 var(--bb-font-body);color:#625761;margin:7px 0 0}
body.woocommerce-cart .bb-cart-item-note{font:500 12px/1.45 var(--bb-font-body);color:#746971;margin:5px 0 0;overflow-wrap:anywhere}
body.woocommerce-cart table.shop_table.cart .product-subtotal{font-size:18px;font-weight:900;color:var(--bb-color-text);white-space:nowrap;text-align:right}
body.woocommerce-cart table.shop_table.cart .product-subtotal .amount{white-space:nowrap}
body.woocommerce-cart .bb-cart-line--gift .product-subtotal{color:#b80d26}
body.woocommerce-cart .bb-cart-gift-price{font-size:14px;font-weight:900;letter-spacing:.03em}
body.woocommerce-cart .bb-cart-quantity{display:inline-flex;align-items:center;gap:0;border:1px solid #e4c9c1;border-radius:12px;background:#fffaf5;min-height:44px;overflow:hidden}
body.woocommerce-cart .bb-cart-quantity>button{display:grid;place-items:center;width:40px;height:44px;flex:none;border:0;background:transparent;color:#a40a22;font:800 23px/1 var(--bb-font-body);cursor:pointer}
body.woocommerce-cart .bb-cart-quantity>button:hover{background:#fce6e4}
body.woocommerce-cart .bb-cart-quantity .quantity{float:none;margin:0;width:42px}
body.woocommerce-cart .bb-cart-quantity input.qty{width:42px;height:44px;min-height:44px;border:0;background:transparent;text-align:center;font:800 16px/1 var(--bb-font-body);padding:0;appearance:textfield;-moz-appearance:textfield}
body.woocommerce-cart .bb-cart-quantity input.qty::-webkit-outer-spin-button,
body.woocommerce-cart .bb-cart-quantity input.qty::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
body.woocommerce-cart .bb-cart-linked-qty{display:inline-block;font-size:12px;line-height:1.4;color:#71636b}
body.woocommerce-cart .bb-cart-remove{display:inline-block;width:auto;height:auto;min-width:44px;min-height:44px;padding:12px 0;border:0;border-radius:0;background:transparent!important;color:#856d73!important;font:700 12px/1.4 var(--bb-font-body);text-align:left;text-decoration:underline;text-underline-offset:3px}
body.woocommerce-cart .bb-cart-remove:hover{color:#ae0924!important}
body.woocommerce-cart table.shop_table.cart td.actions{padding:22px 0;border-bottom:0;text-align:left}
body.woocommerce-cart table.shop_table.cart td.actions .coupon{display:flex;align-items:center;gap:9px;float:none;margin-bottom:12px;max-width:440px}
body.woocommerce-cart table.shop_table.cart td.actions .coupon input{min-width:0;flex:1;min-height:44px;border:1px solid #e4c9c1;border-radius:10px;background:#fffaf5;padding:8px 12px}
body.woocommerce-cart table.shop_table.cart td.actions button.button{float:none;min-height:44px;border-radius:10px;background:#fff8f0;color:#9e1028;border:1px solid #e4c9c1;font-weight:800;padding:10px 14px}
body.woocommerce-cart table.shop_table.cart td.actions button.button:disabled{opacity:.5}
body.woocommerce-cart .cart-collaterals{width:100%;margin-top:14px}
body.woocommerce-cart .cart-collaterals .cart_totals{float:none;width:100%;max-width:510px;margin-left:auto;background:var(--bb-cart-surface);border:1px solid var(--bb-cart-border);border-radius:22px;padding:22px}
body.woocommerce-cart .cart_totals h2{font-size:25px;margin-bottom:12px}
body.woocommerce-cart .cart_totals table.shop_table{width:100%;border:0;border-collapse:collapse;margin:0}
body.woocommerce-cart .cart_totals table.shop_table th,
body.woocommerce-cart .cart_totals table.shop_table td{border:0;border-bottom:1px solid #eedcd3;padding:12px 0;background:transparent}
body.woocommerce-cart .cart_totals table.shop_table th{text-align:left;font-weight:700;min-width:105px}
body.woocommerce-cart .cart_totals table.shop_table td{text-align:right;overflow-wrap:anywhere}
body.woocommerce-cart .cart_totals .woocommerce-shipping-destination,
body.woocommerce-cart .cart_totals .woocommerce-shipping-calculator{display:none!important}
body.woocommerce-cart .cart_totals ul.woocommerce-shipping-methods{list-style:none;margin:0;padding:0}
body.woocommerce-cart .cart_totals ul.woocommerce-shipping-methods li{margin:0}
body.woocommerce-cart .cart_totals tr.fee td{color:#a30b25;font-weight:800}
body.woocommerce-cart .cart_totals tr.order-total th,
body.woocommerce-cart .cart_totals tr.order-total td{font-size:20px;font-weight:900;color:var(--bb-color-text);border-bottom:0}
body.woocommerce-cart .wc-proceed-to-checkout{padding:18px 0 0}
body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button{display:flex;align-items:center;justify-content:center;min-height:56px;width:100%;margin:0;border:0;border-radius:16px;background:#d90e28;color:#fff;font:900 17px/1.25 var(--bb-font-body);text-decoration:none;box-shadow:none}
body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover{background:#b70920;color:#fff}
@media(max-width:767px){
 body.woocommerce-cart .content-shell{padding:20px 0 48px}
 body.woocommerce-cart .content-shell>h1{margin-bottom:16px}
 body.woocommerce-cart .bb-cart-empty{margin:4px auto 24px;padding:30px 18px 24px;gap:12px}
 body.woocommerce-cart .bb-cart-empty__primary{width:100%}
 body.woocommerce-cart table.shop_table.cart thead{display:none}
 body.woocommerce-cart table.shop_table.cart tbody{display:block}
 body.woocommerce-cart table.shop_table.cart tr.cart_item{box-sizing:border-box;display:grid;grid-template-columns:88px minmax(0,1fr);grid-template-areas:'image name' 'image subtotal' '. quantity' '. remove';column-gap:14px;row-gap:5px;padding:17px 14px;margin-bottom:12px;border:1px solid var(--bb-cart-border);border-radius:16px;width:100%;min-width:0;background:var(--bb-cart-surface)}
 body.woocommerce-cart table.shop_table.cart tr.bb-cart-line--story{background:var(--bb-cart-story)}
 body.woocommerce-cart table.shop_table.cart tr.bb-cart-line--gift{background:var(--bb-cart-gift)}
 body.woocommerce-cart table.shop_table.cart tr.bb-cart-line--coloring{background:var(--bb-cart-coloring)}
 body.woocommerce-cart table.shop_table.cart tr.bb-cart-line>td{border:0;background:transparent}
 body.woocommerce-cart table.shop_table.cart tr.cart_item>td{display:block;float:none!important;width:auto!important;min-width:0;padding:0!important;border:0!important;text-align:left!important;background:transparent!important}
 body.woocommerce-cart table.shop_table.cart tr.cart_item>td.product-price{display:none!important}
 body.woocommerce-cart table.shop_table.cart tr.cart_item>td:before{display:none!important}
 body.woocommerce-cart table.shop_table.cart td.product-thumbnail{grid-area:image;align-self:start}
 body.woocommerce-cart table.shop_table.cart td.product-thumbnail img,
 body.woocommerce-cart .bb-cart-image-fallback{width:88px;height:108px}
 body.woocommerce-cart table.shop_table.cart tr.cart_item>td.product-name{grid-area:name;font-size:16px;align-self:end;padding-right:42px!important}
 body.woocommerce-cart table.shop_table.cart td.product-subtotal{grid-area:subtotal;font-size:19px;align-self:start;white-space:nowrap}
 body.woocommerce-cart table.shop_table.cart td.product-quantity{grid-area:quantity;margin-top:8px}
 body.woocommerce-cart table.shop_table.cart td.product-remove{grid-area:remove}
 body.woocommerce-cart table.shop_table.cart tr:not(.cart_item)>td.actions{display:block;width:100%!important}
 body.woocommerce-cart table.shop_table.cart td.actions .coupon{max-width:none}
 body.woocommerce-cart .cart-collaterals .cart_totals{max-width:none;padding:18px 16px}
}
@media(max-width:375px){
 body.woocommerce-cart .content-shell{width:min(100% - 24px,1100px)}
 body.woocommerce-cart table.shop_table.cart tr.cart_item{grid-template-columns:80px minmax(0,1fr);column-gap:11px;padding:15px 11px}
 body.woocommerce-cart table.shop_table.cart td.product-thumbnail img,
 body.woocommerce-cart .bb-cart-image-fallback{width:80px;height:100px}
}
/* Discounts are green; interactive cart accents use Bubook red. */
body.woocommerce-cart .bb-cart-quantity>button,body.woocommerce-cart table.shop_table.cart td.actions button.button,body.woocommerce-cart .bb-cart-remove:hover{color:var(--bb-color-red)!important}
body.woocommerce-cart .bb-cart-gift-mark,body.woocommerce-cart .bb-cart-line--gift .product-subtotal{color:var(--bb-color-red)}
body.woocommerce-cart .cart_totals .bb-discount-amount,body.woocommerce-cart .cart_totals .cart-discount th,body.woocommerce-cart .cart_totals .cart-discount td,body.woocommerce-cart .cart_totals tr.fee:has(.bb-discount-amount) th,body.woocommerce-cart .cart_totals tr.fee:has(.bb-discount-amount) td{color:#187b4b;font-weight:800}
@media(min-width:1024px){
 body.woocommerce-cart .cart-collaterals{margin-top:calc(14px - var(--bb-cart-summary-lift,0px))}
 body.woocommerce-cart .cart-collaterals .cart_totals{width:46%}
 body.woocommerce-cart table.shop_table.cart td.actions .coupon{max-width:min(440px,48%)}
}
