/* Lanes Raceway — WooCommerce cart theme (classic cart shortcode) */
.lanes-cart { font-family: var(--lanes-body, Barlow, sans-serif); color: var(--lanes-ink, #0B0D12); }
.lanes-cart .woocommerce { display: block; }

/* Notices */
.lanes-cart .woocommerce-message,
.lanes-cart .woocommerce-info,
.lanes-cart .woocommerce-error {
	background: #fff; border: 1px solid var(--lanes-line, #DADDE5); border-left: 4px solid var(--lanes-blue, #0019FF);
	color: var(--lanes-ink, #0B0D12); padding: 14px 18px; margin: 0 0 20px; border-radius: 0; font-size: 15px;
}
.lanes-cart .woocommerce-error { border-left-color: #D7263D; }
.lanes-cart .woocommerce-message::before, .lanes-cart .woocommerce-info::before, .lanes-cart .woocommerce-error::before { display: none; }

/* Two-column layout */
.lanes-cart .ct-woocommerce-cart-form,
.lanes-cart .woocommerce > .woocommerce-cart-form + .cart_totals { display: block; }
@media (min-width: 1000px) {
	.lanes-cart .ct-woocommerce-cart-form { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; align-items: start; }
}

/* Items card */
.lanes-cart form.woocommerce-cart-form { background: #fff; border: 1px solid var(--lanes-line, #DADDE5); border-top: 4px solid var(--lanes-blue, #0019FF); padding: 0 24px 20px; }
.lanes-cart table.shop_table.cart { width: 100%; border: 0; border-collapse: collapse; margin: 0; }
.lanes-cart table.shop_table.cart th {
	font-family: var(--lanes-display, "Barlow Condensed", sans-serif); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: 14px;
	color: var(--lanes-muted, #5B6070); padding: 18px 10px 12px; border: 0; border-bottom: 2px solid var(--lanes-ink, #0B0D12); text-align: left;
}
.lanes-cart table.shop_table.cart td { padding: 18px 10px; border: 0; border-bottom: 1px solid var(--lanes-line, #DADDE5); vertical-align: middle; font-size: 16px; }
.lanes-cart table.shop_table.cart td.product-thumbnail { width: 96px; padding-left: 0; }
.lanes-cart table.shop_table.cart td.product-thumbnail img { width: 80px; height: 80px; object-fit: cover; border: 1px solid var(--lanes-line, #DADDE5); background: #fff; display: block; }
.lanes-cart table.shop_table.cart td.product-name a { color: var(--lanes-ink, #0B0D12); font-weight: 600; text-decoration: none; line-height: 1.35; }
.lanes-cart table.shop_table.cart td.product-name a:hover { color: var(--lanes-blue, #0019FF); }
.lanes-cart table.shop_table.cart td.product-name .price { margin: 6px 0 0; color: var(--lanes-muted, #5B6070); font-size: 14px; }
.lanes-cart table.shop_table.cart td.product-subtotal { font-family: var(--lanes-display, "Barlow Condensed", sans-serif); font-weight: 700; font-size: 20px; white-space: nowrap; }
.lanes-cart .woocommerce-Price-amount { color: var(--lanes-ink, #0B0D12); }

/* Quantity */
.lanes-cart .quantity { display: inline-flex; align-items: center; border: 1px solid var(--lanes-line, #DADDE5); background: #fff; height: 42px; }
.lanes-cart .quantity .qty { width: 54px; height: 100%; border: 0; text-align: center; font: 600 15px var(--lanes-body, Barlow, sans-serif); color: var(--lanes-ink, #0B0D12); background: transparent; -moz-appearance: textfield; }
.lanes-cart .quantity .qty::-webkit-outer-spin-button, .lanes-cart .quantity .qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.lanes-cart .quantity .ct-increase, .lanes-cart .quantity .ct-decrease { width: 34px; height: 100%; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: var(--lanes-ink, #0B0D12); user-select: none; }
.lanes-cart .quantity .ct-increase:hover, .lanes-cart .quantity .ct-decrease:hover { background: var(--lanes-paper, #F2F3F6); }
.lanes-cart .quantity .ct-decrease::before { content: "−"; font-size: 18px; }
.lanes-cart .quantity .ct-increase::before { content: "+"; font-size: 18px; }
.lanes-cart .quantity .ct-increase svg, .lanes-cart .quantity .ct-decrease svg { display: none; }

/* Remove */
.lanes-cart a.remove { display: inline-flex; width: 30px; height: 30px; align-items: center; justify-content: center; border-radius: 50%; color: var(--lanes-muted, #5B6070) !important; font-size: 20px; line-height: 1; text-decoration: none; border: 1px solid var(--lanes-line, #DADDE5); }
.lanes-cart a.remove::before { content: "×"; }
.lanes-cart a.remove svg { display: none; }
.lanes-cart a.remove:hover { background: #D7263D; border-color: #D7263D; color: #fff !important; }

/* Actions row: coupon + update */
.lanes-cart table.shop_table.cart td.actions { padding: 20px 0 0; border: 0; }
.lanes-cart .ct-cart-form-actions, .lanes-cart td.actions > .coupon { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.lanes-cart .ct-cart-form-actions { justify-content: space-between; }
.lanes-cart .coupon { display: flex; gap: 8px; flex-wrap: wrap; }
.lanes-cart .coupon input.input-text { height: 46px; padding: 0 14px; border: 1px solid var(--lanes-line, #DADDE5); font: 15px var(--lanes-body, Barlow, sans-serif); min-width: 180px; background: #fff; }
.lanes-cart .coupon input.input-text:focus { outline: 2px solid var(--lanes-blue, #0019FF); outline-offset: -1px; }

/* Buttons */
.lanes-cart .button, .lanes-cart button.button, .lanes-cart a.button, .lanes-cart .checkout-button {
	display: inline-flex; align-items: center; justify-content: center; height: 46px; padding: 0 22px; border: 2px solid var(--lanes-blue, #0019FF);
	background: var(--lanes-blue, #0019FF); color: #fff !important; font-family: var(--lanes-display, "Barlow Condensed", sans-serif); font-weight: 700; font-size: 16px;
	letter-spacing: .08em; text-transform: uppercase; text-decoration: none; border-radius: 0; cursor: pointer; box-sizing: border-box; transition: background .15s, color .15s, border-color .15s;
}
.lanes-cart .button:hover, .lanes-cart button.button:hover, .lanes-cart a.button:hover { background: var(--lanes-blue-deep, #0012B8); border-color: var(--lanes-blue-deep, #0012B8); }
.lanes-cart .button:disabled, .lanes-cart button.button:disabled { opacity: .45; cursor: not-allowed; background: var(--lanes-blue, #0019FF); }
.lanes-cart .coupon .button, .lanes-cart button[name="update_cart"] { background: transparent; color: var(--lanes-ink, #0B0D12) !important; border-color: var(--lanes-ink, #0B0D12); }
.lanes-cart .coupon .button:hover, .lanes-cart button[name="update_cart"]:hover:not(:disabled) { background: var(--lanes-ink, #0B0D12); color: #fff !important; }
.lanes-cart button[name="update_cart"]:disabled { background: transparent; color: var(--lanes-muted, #5B6070) !important; border-color: var(--lanes-line, #DADDE5); }

/* Totals card */
.lanes-cart .cart_totals { background: var(--lanes-ink, #0B0D12); color: #fff; padding: 24px 24px 28px; border-top: 4px solid var(--lanes-flag, #FFD400); margin-top: 24px; }
@media (min-width: 1000px) { .lanes-cart .cart_totals { margin-top: 0; position: sticky; top: 120px; } }
.lanes-cart .cart_totals h2 { font-family: var(--lanes-display, "Barlow Condensed", sans-serif); font-weight: 800; text-transform: uppercase; font-size: 28px; line-height: 1; margin: 0 0 16px; color: #fff; }
.lanes-cart .cart_totals table.shop_table { width: 100%; border: 0; border-collapse: collapse; margin: 0 0 18px; }
.lanes-cart .cart_totals th, .lanes-cart .cart_totals td { padding: 12px 0; border: 0; border-bottom: 1px solid rgba(255,255,255,.12); text-align: left; font-size: 15px; vertical-align: top; }
.lanes-cart .cart_totals th { font-weight: 600; color: rgba(255,255,255,.75); width: 40%; }
.lanes-cart .cart_totals td { text-align: right; }
.lanes-cart .cart_totals .woocommerce-Price-amount { color: #fff; }
.lanes-cart .cart_totals tr.order-total th, .lanes-cart .cart_totals tr.order-total td { border-bottom: 0; padding-top: 16px; font-family: var(--lanes-display, "Barlow Condensed", sans-serif); text-transform: uppercase; font-size: 22px; color: #fff; }
.lanes-cart .cart_totals tr.order-total .woocommerce-Price-amount { color: var(--lanes-flag, #FFD400); font-weight: 800; font-size: 26px; }
.lanes-cart .cart_totals tr.order-total small.includes_tax, .lanes-cart .cart_totals .tax-rate td { font-family: var(--lanes-body, Barlow, sans-serif); font-size: 13px; text-transform: none; color: rgba(255,255,255,.65); }

/* Shipping options inside totals */
.lanes-cart .cart_totals .woocommerce-shipping-totals td { text-align: left; }
.lanes-cart .ct-shipping-heading, .lanes-cart .cart_totals .woocommerce-shipping-totals > th { font-weight: 600; color: rgba(255,255,255,.75); margin-bottom: 8px; }
.lanes-cart ul#shipping_method { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.lanes-cart ul#shipping_method li { margin: 0; padding: 10px 12px; border: 1px solid rgba(255,255,255,.18); display: flex; align-items: center; gap: 10px; }
.lanes-cart ul#shipping_method li:has(input:checked) { border-color: var(--lanes-flag, #FFD400); background: rgba(255,212,0,.08); }
.lanes-cart ul#shipping_method input[type="radio"] { accent-color: var(--lanes-flag, #FFD400); margin: 0; width: 16px; height: 16px; flex: none; }
.lanes-cart ul#shipping_method label { margin: 0; font-size: 15px; color: #fff; cursor: pointer; }
.lanes-cart ul#shipping_method label .woocommerce-Price-amount { font-weight: 700; }
.lanes-cart .woocommerce-shipping-destination { font-size: 13px; color: rgba(255,255,255,.6); margin: 10px 0 0; }
.lanes-cart .woocommerce-shipping-calculator { margin-top: 10px; }
.lanes-cart .shipping-calculator-button { color: var(--lanes-flag, #FFD400); font-size: 13px; text-decoration: underline; }
.lanes-cart .shipping-calculator-form { margin-top: 12px; }
.lanes-cart .shipping-calculator-form .input-text, .lanes-cart .shipping-calculator-form select, .lanes-cart .shipping-calculator-form .select2-selection { height: 42px; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.06); color: #fff; padding: 0 12px; font: 14px var(--lanes-body, Barlow, sans-serif); width: 100%; }
.lanes-cart .shipping-calculator-form .form-row { margin: 0 0 10px; }

/* Checkout button */
.lanes-cart .wc-proceed-to-checkout { padding: 0; margin: 0; }
.lanes-cart .wc-proceed-to-checkout a.checkout-button { width: 100%; height: 54px; font-size: 18px; background: var(--lanes-flag, #FFD400); border-color: var(--lanes-flag, #FFD400); color: var(--lanes-ink, #0B0D12) !important; margin: 0; }
.lanes-cart .wc-proceed-to-checkout a.checkout-button:hover { background: #fff; border-color: #fff; color: var(--lanes-ink, #0B0D12) !important; }
.lanes-cart .lanes-cart__note { margin: 12px 0 0; font-size: 13px; color: rgba(255,255,255,.65); line-height: 1.5; }

/* Empty cart */
.lanes-cart .wc-empty-cart-message { margin: 0; }
.lanes-cart .cart-empty.woocommerce-info { background: #fff; border-left-color: var(--lanes-flag, #FFD400); font-family: var(--lanes-display, "Barlow Condensed", sans-serif); font-size: 22px; font-weight: 700; text-transform: uppercase; padding: 22px 24px; }
.lanes-cart .return-to-shop { margin: 16px 0 0; }

/* Cross-sells (hide — keep the cart focused) */
.lanes-cart .cross-sells { display: none; }

/* Mobile stacking (Blocksy adds .ct-hidden-* helpers; keep rows readable) */
@media (max-width: 999px) {
	.lanes-cart form.woocommerce-cart-form { padding: 0 16px 16px; }
	.lanes-cart table.shop_table.cart thead { display: none; }
	.lanes-cart table.shop_table.cart tr.cart_item { display: grid; grid-template-columns: 80px 1fr; gap: 4px 14px; padding: 16px 0; border-bottom: 1px solid var(--lanes-line, #DADDE5); }
	.lanes-cart table.shop_table.cart tr.cart_item td { display: block; border: 0; padding: 0; }
	.lanes-cart table.shop_table.cart tr.cart_item td.product-thumbnail { grid-row: 1 / span 3; width: auto; }
	.lanes-cart table.shop_table.cart tr.cart_item td.product-thumbnail img { width: 80px; height: 80px; }
	.lanes-cart table.shop_table.cart tr.cart_item td.product-quantity, .lanes-cart table.shop_table.cart tr.cart_item td.product-subtotal, .lanes-cart table.shop_table.cart tr.cart_item td.product-remove { display: none !important; }
	.lanes-cart .product-mobile-actions { display: flex; align-items: center; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
	.lanes-cart .ct-product-multiply-symbol { color: var(--lanes-muted, #5B6070); }
	.lanes-cart table.shop_table.cart tr:has(td.actions) { display: block; }
	.lanes-cart table.shop_table.cart td.actions { display: block; }
	.lanes-cart .coupon input.input-text { flex: 1 1 160px; }
}
@media (min-width: 1000px) {
	.lanes-cart .product-mobile-actions { display: none; }
}
