/* Basket only: keep native WooCommerce and payment controls intact. */
body.woocommerce-cart #bt_main .bt-page--content > .woocommerce {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 380px);
    grid-template-areas: "notices notices" "cart summary" "gift summary" "related related";
    gap: 24px 40px;
    align-items: start;
}
body.woocommerce-cart #bt_main .woocommerce-notices-wrapper { grid-area: notices; }
body.woocommerce-cart #bt_main .woocommerce-notices-wrapper:empty { display: none; }
body.woocommerce-cart #bt_main .bt-cart-content { grid-area: cart; width: 100%; min-width: 0; float: none; margin: 0; }
body.woocommerce-cart #bt_main .wc-giftwrap { grid-area: gift; width: 100%; box-sizing: border-box; margin: 0; padding: 16px 20px; border: 1px solid #e0e7e6; border-radius: 8px; background: #f7f8f6; }
body.woocommerce-cart #bt_main .wcgwp-prompt-wrapper { margin: 0; }
body.woocommerce-cart #bt_main .cart-collaterals { grid-area: summary; width: 100%; min-width: 0; float: none; margin: 0; }
body.woocommerce-cart #bt_main .cart_totals { width: 100%; float: none; margin: 0; padding: 24px; border: 1px solid #e0e7e6; border-radius: 10px; background: #f7f8f6; box-sizing: border-box; }
body.woocommerce-cart #bt_main .cart_totals h2 { margin: 0 0 20px; font-size: 28px; line-height: 1.2; }
body.woocommerce-cart #bt_main .cross-sells { grid-area: related; width: 100%; float: none; margin: 24px 0 0; }
body.woocommerce-cart #bt_main .bt-time-promotion { padding: 14px 16px; border-radius: 6px; line-height: 1.5; }
body.woocommerce-cart #bt_main .bt-progress-content { margin-bottom: 28px; }
body.woocommerce-cart #bt_main :is(button.button, a.button, input.button) {
    color: #fff !important;
    background: #1f606c !important;
    border: 1px solid #1f606c !important;
    border-radius: 6px;
    min-height: 44px;
    padding: 12px 18px;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.3;
    text-decoration: none;
    text-transform: none;
    box-shadow: none;
}
body.woocommerce-cart #bt_main :is(button.button, a.button, input.button):hover { background: #184b55 !important; border-color: #184b55 !important; color: #fff !important; }
body.woocommerce-cart #bt_main :is(button.button, a.button, input.button):focus-visible { outline: 3px solid #1f606c; outline-offset: 3px; }
body.woocommerce-cart #bt_main :is(button.button, input.button):disabled { opacity: .55; cursor: not-allowed; }
body.woocommerce-cart #bt_main button.button.wcgwp-modal-toggle,
body.woocommerce-cart #bt_main button.button.wcgwp-cancel { color: #1f606c !important; background: #fff !important; }
body.woocommerce-cart #bt_main button.button.wcgwp-modal-toggle:hover,
body.woocommerce-cart #bt_main button.button.wcgwp-cancel:hover { color: #fff !important; background: #184b55 !important; }
body.woocommerce-cart #bt_main .bt-page--content > .woocommerce:not(:has(.bt-cart-content)) { display: block; }
body.woocommerce-cart #bt_main .cart_totals .checkout-button { display: flex; align-items: center; justify-content: center; width: 100%; box-sizing: border-box; min-height: 50px; margin: 18px 0 12px; }
body.woocommerce-cart #bt_main .woocommerce-cart-form .actions { padding: 20px 0 0; }
body.woocommerce-cart #bt_main .woocommerce-cart-form .coupon { display: flex; align-items: stretch; gap: 8px; width: 100%; border: 0; padding: 0; background: transparent; }
body.woocommerce-cart #bt_main .woocommerce-cart-form .coupon #coupon_code { flex: 1; width: auto; min-width: 0; border: 1px solid #d4dedd; border-radius: 6px; padding: 12px 14px; height: auto; }
body.woocommerce-cart #bt_main .woocommerce-cart-form .coupon .button { position: static; flex: 0 0 auto; width: auto; height: auto; margin: 0; }
body.woocommerce-cart #bt_main #pwgc-redeem-gift-card-container { display: flex; flex-wrap: wrap; gap: 8px; text-align: left; margin-bottom: 18px; }
body.woocommerce-cart #bt_main #pwgc-redeem-gift-card-container > label { flex-basis: 100%; color: #1f606c; margin: 0; }
body.woocommerce-cart #bt_main #pwgc-redeem-gift-card-container > br { display: none; }
body.woocommerce-cart #bt_main #pwgc-redeem-error:empty { display: none; }
body.woocommerce-cart #bt_main #pwgc-redeem-error:not(:empty) { flex-basis: 100%; }
body.woocommerce-cart #bt_main #pwgc-redeem-gift-card-number { flex: 1; min-width: 0; width: auto; height: auto; margin: 0; border: 1px solid #d4dedd; border-radius: 6px; padding: 12px; }
body.woocommerce-cart #bt_main #pwgc-redeem-button { margin: 0; }
body.woocommerce-cart #bt_main .product-remove a.remove { display: inline-flex; justify-content: center; align-items: center; width: 32px; height: 32px; }
body.woocommerce-cart #bt_main .cart_totals .wc-proceed-to-checkout { padding-bottom: 0; }
@media (max-width: 767px) {
    body.woocommerce-cart #bt_main .woocommerce-cart-form tr.cart_item { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 14px 16px; padding: 20px 0; border-bottom: 1px solid #e0e7e6; }
    body.woocommerce-cart #bt_main .woocommerce-cart-form tr.cart_item td { border: 0; padding: 0; width: auto !important; background: transparent; }
    body.woocommerce-cart #bt_main .woocommerce-cart-form tr.cart_item .product-thumbnail { display: block !important; grid-column: 1; grid-row: 1; }
    body.woocommerce-cart #bt_main .woocommerce-cart-form tr.cart_item .product-thumbnail img { display: block; width: 80px; height: 80px; object-fit: contain; }
    body.woocommerce-cart #bt_main .woocommerce-cart-form tr.cart_item .product-name { grid-column: 2; grid-row: 1; text-align: left !important; align-self: center; }
    body.woocommerce-cart #bt_main .woocommerce-cart-form tr.cart_item .product-name a { display: block; overflow: visible; text-overflow: clip; white-space: normal; -webkit-line-clamp: unset; max-height: none; }
    body.woocommerce-cart #bt_main .woocommerce-cart-form tr.cart_item :is(.product-name, .product-thumbnail)::before { display: none; }
    body.woocommerce-cart #bt_main .woocommerce-cart-form tr.cart_item :is(.product-price, .product-quantity, .product-subtotal, .product-remove) { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; }
    body.woocommerce-cart #bt_main .woocommerce-cart-form tr.cart_item td::before { float: none; }
    body.woocommerce-cart #bt_main .woocommerce-cart-form tr.cart_item .product-remove { justify-content: flex-end; }
    body.woocommerce-cart #bt_main .product-remove a.remove { width: 44px; height: 44px; }
}
@media (max-width: 1023px) {
    body.woocommerce-cart #bt_main .bt-page--content > .woocommerce { grid-template-columns: minmax(0, 1fr); grid-template-areas: "notices" "cart" "gift" "summary" "related"; gap: 20px; }
}
@media (max-width: 600px) {
    body.woocommerce-cart #bt_main .cart_totals { padding: 20px 16px; }
    body.woocommerce-cart #bt_main .woocommerce-cart-form .coupon { flex-wrap: wrap; }
    body.woocommerce-cart #bt_main .woocommerce-cart-form .coupon #coupon_code { flex-basis: 100%; box-sizing: border-box; }
    body.woocommerce-cart #bt_main .woocommerce-cart-form .coupon .button { width: 100%; }
    body.woocommerce-cart #bt_main .bt-time-promotion { font-size: 14px; }
}
