/* Native cart table + native Checkout Blocks. No totals or controls replaced. */
body.woocommerce-cart, body.woocommerce-checkout { background: linear-gradient(180deg,#fff8ef 0,#fff 640px); }
:is(.woocommerce-cart,.woocommerce-checkout) .kd-content { padding-top: 32px; padding-bottom: 64px; }
:is(.woocommerce-cart,.woocommerce-checkout) .kd-content h1 { font-size: clamp(32px,4vw,48px); letter-spacing: -.035em; line-height: 1.15; margin: 0 0 24px; }
.kd-basket-intro { margin-bottom: 32px; }
.kd-basket-steps { display: flex; flex-wrap: wrap; gap: 14px 32px; list-style: none; padding: 0; margin: 0 0 24px; }
.kd-basket-steps li { display: flex; align-items: center; gap: 9px; font-size: 14px; color: #526570; }
.kd-basket-steps li span { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid #8a9ca2; border-radius: 50%; }
.kd-basket-steps li[aria-current] { font-weight: 800; color: #153944; }
.kd-basket-steps li[aria-current] span { background: #153944; border-color: #153944; color: white; }
.kd-basket-steps a { text-decoration: underline; text-underline-offset: 3px; }
.kd-basket-intro > p { color: #435b65; margin: 12px 0; }
.kd-basket-intro .kd-basket-closed { padding: 16px 20px; border-left: 4px solid #f66b17; border-radius: 12px; background: #fff0dd; color: #153944; font-size: 14px; }
.kd-basket-closed strong { display: block; margin-bottom: 3px; }
.kd-basket-help { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 13px; }
.kd-basket-help a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: #254c58; text-decoration: underline; text-underline-offset: 3px; }
.kd-basket-help svg { width: 23px; height: 23px; flex-shrink: 0; }
.woocommerce-cart .woocommerce-cart-form, .woocommerce-cart .cart_totals, .woocommerce-checkout .wc-block-checkout__main, .woocommerce-checkout .wc-block-checkout__sidebar { border: 1px solid #dce6e7; border-radius: 24px; background: #fff; padding: 24px; box-shadow: 0 12px 36px #15394406; }
.woocommerce-cart .woocommerce-cart-form { margin-bottom: 28px; }
.woocommerce-cart .woocommerce table.shop_table { border: 0; margin-bottom: 0; border-collapse: collapse; }
.woocommerce-cart .woocommerce table.shop_table th { color: #395763; }
.woocommerce-cart .woocommerce table.shop_table td, .woocommerce-cart .woocommerce table.shop_table th { padding: 16px 10px; }
.woocommerce-cart .woocommerce table.cart img { width: 80px; border-radius: 12px; }
.woocommerce-cart .woocommerce a.remove { width: 44px; height: 44px; display: inline-grid; place-items: center; font-size: 27px; border: 1px solid #e2c7c5; border-radius: 12px; }
.woocommerce-cart .product-name { font-size: 16px; font-weight: 750; overflow-wrap: anywhere; }
.woocommerce-cart .quantity .qty { width: 80px; min-height: 48px; font-size: 16px; }
.woocommerce-cart .woocommerce table.cart td.actions .coupon .input-text { width: 180px; min-height: 48px; padding: 12px; border: 1px solid #71828b; border-radius: 10px; font-size: 16px; }
.woocommerce-cart .woocommerce button.button, .woocommerce-cart .woocommerce a.button { min-height: 48px; padding: 14px 20px; border-radius: 12px; line-height: 1.4; }
.woocommerce-cart .woocommerce button.button:disabled { background: #e5ecee; color: #526570; opacity: 1; }
.woocommerce-cart .cart-collaterals .cart_totals { width: min(100%,600px); }
.woocommerce-cart .cart_totals h2 { font-size: 26px; margin: 0 0 12px; letter-spacing: -.025em; }
.woocommerce-cart .cart_totals .order-total { background: #edf7f5; font-size: 20px; }
.woocommerce-cart .woocommerce ul#shipping_method li { display: flex; align-items: flex-start; gap: 9px; padding: 10px 0; line-height: 1.5; }
.woocommerce-cart .woocommerce ul#shipping_method input { flex: 0 0 20px; width: 20px; height: 20px; margin: 3px 0 0; }
.woocommerce-cart .woocommerce ul#shipping_method label { flex: 1; cursor: pointer; }
.woocommerce-cart .woocommerce-shipping-destination { font-size: 13px; color: #526570; }
.woocommerce-cart .shipping-calculator-button { display: inline-block; min-height: 44px; padding: 10px 0; text-decoration: underline; text-underline-offset: 3px; }
.woocommerce-cart .shipping-calculator-form .input-text, .woocommerce-cart .shipping-calculator-form select { width: 100%; min-height: 48px; padding: 12px; border-radius: 10px; background: white; font-size: 16px; }
.woocommerce-cart .shipping-calculator-form .select2-selection { min-height: 48px; padding: 8px; border-radius: 10px; }
.woocommerce-cart .wc-proceed-to-checkout { padding-bottom: 0; }
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button { margin: 0; }
.woocommerce-cart .cart-empty { padding-block: 32px; }
.woocommerce-cart .return-to-shop { padding: 8px 0 24px; }
.woocommerce-checkout .wc-block-components-sidebar-layout { gap: 28px; flex-wrap: nowrap; align-items: flex-start; }
.woocommerce-checkout .wc-block-components-sidebar-layout .wc-block-components-main { width: auto; flex: 1 1 60%; min-width: 0; padding: 24px; }
.woocommerce-checkout .wc-block-components-sidebar-layout .wc-block-components-sidebar { width: auto; flex: 0 1 38%; min-width: 0; margin: 0; padding: 24px; }
.woocommerce-checkout .wc-block-components-checkout-step__title { font-size: 23px; letter-spacing: -.02em; }
.woocommerce-checkout .wc-block-components-checkout-step { padding-bottom: 24px; }
.woocommerce-checkout .wc-block-components-text-input input, .woocommerce-checkout .wc-blocks-components-select__select { min-height: 54px; font-size: 16px; border-color: #71828b; }
.woocommerce-checkout .wc-block-components-text-input.has-error input { border-color: #a92e35; }
.woocommerce-checkout .wc-block-components-radio-control__option { min-height: 60px; padding-top: 16px; padding-bottom: 16px; }
.woocommerce-checkout .wc-block-components-order-summary-item__description { min-width: 0; overflow-wrap: anywhere; }
.woocommerce-checkout .wc-block-components-totals-footer-item { background: #edf7f5; border-radius: 12px; padding: 16px; }
.woocommerce-checkout .wc-block-components-checkout-place-order-button { width: 100%; min-height: 52px; }
.woocommerce-checkout .wc-block-components-checkout-place-order-button:disabled { background: #e5ecee; color: #526570; cursor: not-allowed; opacity: 1; }
.woocommerce-checkout .wc-block-components-address-card__edit { min-width: 48px; min-height: 44px; white-space: nowrap; }
.kd-checkout-unavailable { font-size: 13px; color: #526570; margin-bottom: 0; }
:is(.woocommerce-cart,.woocommerce-checkout) .woocommerce-error, :is(.woocommerce-cart,.woocommerce-checkout) .wc-block-components-notice-banner { overflow-wrap: anywhere; border-radius: 14px; line-height: 1.6; }
@media(max-width: 900px) {
 .woocommerce-checkout .wc-block-components-sidebar-layout { flex-direction: column; }
 .woocommerce-checkout .wc-block-components-sidebar-layout .wc-block-components-main, .woocommerce-checkout .wc-block-components-sidebar-layout .wc-block-components-sidebar { width: 100%; flex: auto; }
}
@media(max-width: 768px) {
 :is(.woocommerce-cart,.woocommerce-checkout) .kd-content { padding-inline: 16px; padding-top: 24px; }
 .kd-basket-steps { gap: 12px; justify-content: space-between; }
 .kd-basket-steps li { flex-direction: column; gap: 6px; text-align: center; font-size: 12px; flex: 1; }
 .woocommerce-cart .woocommerce-cart-form { padding: 12px; }
 .woocommerce-cart .cart_totals { padding: 18px; border-radius: 20px; }
 .woocommerce-cart .woocommerce table.cart tr.cart_item { position: relative; border-bottom: 1px solid #dce6e7; padding: 8px 0 16px; }
 .woocommerce-cart .woocommerce table.cart td { background: white!important; }
 .woocommerce-cart .woocommerce table.cart .product-remove { text-align: right!important; padding: 0; }
 .woocommerce-cart .woocommerce table.cart .product-name { display: block; padding: 12px 0; text-align: left!important; width: 100%; border: 0; }
 .woocommerce-cart .woocommerce table.cart .product-name::before { display: none; }
 .woocommerce-cart .woocommerce table.cart .product-thumbnail { display: block; border: 0; text-align: left!important; padding: 0; }
 .woocommerce-cart .woocommerce table.cart .product-thumbnail::before { display: none; }
 .woocommerce-cart .woocommerce table.cart td.actions { padding: 20px 0 0; }
 .woocommerce-cart .woocommerce table.cart td.actions .coupon { display: grid; grid-template-columns: 1fr; gap: 10px; }
 .woocommerce-cart .woocommerce table.cart td.actions .coupon .input-text, .woocommerce-cart .woocommerce table.cart td.actions .coupon .button { width: 100%!important; margin: 0; }
 .woocommerce-cart .woocommerce table.shop_table_responsive tr.shipping td { text-align: left!important; }
 .woocommerce-cart .woocommerce table.shop_table_responsive tr.shipping td::before { float: none; display: block; margin-bottom: 12px; }
 .woocommerce-cart .cart-collaterals .cart_totals { width: 100%; }
 .woocommerce-checkout .wc-block-components-sidebar-layout .wc-block-components-main, .woocommerce-checkout .wc-block-components-sidebar-layout .wc-block-components-sidebar { padding: 18px; border-radius: 20px; }
 .woocommerce-checkout .wc-block-components-address-form { gap: 16px; }
 .woocommerce-checkout .wc-block-components-address-form__first_name, .woocommerce-checkout .wc-block-components-address-form__last_name, .woocommerce-checkout .wc-block-components-address-form__postcode, .woocommerce-checkout .wc-block-components-address-form__city { width: 100%!important; flex-basis: 100%!important; margin-right: 0!important; }
 .woocommerce-checkout .wc-block-components-checkout-step__title { font-size: 21px; }
}
