/* KGT V11: classic cart, block checkout and block mini-cart.
   Loaded after previous shop styles; restricted to cart/checkout contexts. */
:root { --kgt-commerce-ink:#0a2844; --kgt-commerce-muted:#566d80; --kgt-commerce-accent:#078fb1; --kgt-commerce-border:#e1eaf0; --kgt-commerce-pale:#eef8fc; }

/* Shared page structure */
body.woocommerce-cart .site-inner, body.woocommerce-checkout .site-inner {
 max-width:1200px; padding:38px 24px 74px; margin:0 auto;
}
body.woocommerce-cart .content, body.woocommerce-checkout .content,
body.woocommerce-cart .entry, body.woocommerce-checkout .entry {width:100%;max-width:none;}
body.woocommerce-cart .entry-title, body.woocommerce-checkout .entry-title {font-size:clamp(28px,3vw,38px);font-weight:750;letter-spacing:-.035em;color:var(--kgt-commerce-ink);margin:4px 0 28px;}
body.woocommerce-cart .entry-content, body.woocommerce-checkout .entry-content {color:var(--kgt-commerce-ink);}
body.woocommerce-cart .entry-content a, body.woocommerce-checkout .entry-content a {text-decoration:none;}

/* Classic cart: wide product list plus totals on desktop */
body.woocommerce-cart .entry-content > .woocommerce {display:grid;grid-template-columns:minmax(0,1fr) 350px;gap:24px 30px;align-items:start;}
body.woocommerce-cart .entry-content > .woocommerce > .woocommerce-notices-wrapper,
body.woocommerce-cart .entry-content > .woocommerce > .woocommerce-message,
body.woocommerce-cart .entry-content > .woocommerce > .woocommerce-error,
body.woocommerce-cart .entry-content > .woocommerce > .woocommerce-info {grid-column:1/-1;}
body.woocommerce-cart .woocommerce-cart-form, body.woocommerce-cart .cart-collaterals {min-width:0;width:100%;float:none!important;clear:none!important;margin:0;}
body.woocommerce-cart .woocommerce-cart-form {background:#fff;border:1px solid var(--kgt-commerce-border);border-radius:16px;overflow:hidden;box-shadow:0 9px 30px rgba(7,40,67,.035);}
body.woocommerce-cart .woocommerce table.shop_table {margin:0;border:0;border-collapse:collapse;border-radius:0;}
body.woocommerce-cart .woocommerce table.shop_table th {padding:16px 14px;background:var(--kgt-commerce-pale);font-size:12px;letter-spacing:.02em;font-weight:750;color:var(--kgt-commerce-ink);border:0;}
body.woocommerce-cart .woocommerce table.shop_table td {padding:20px 14px;border-color:var(--kgt-commerce-border);vertical-align:middle;}
body.woocommerce-cart table.shop_table td.product-thumbnail {width:100px;}
body.woocommerce-cart table.shop_table td.product-thumbnail img {width:76px;height:76px;object-fit:contain;background:#f6f9fb;border-radius:10px;padding:5px;}
body.woocommerce-cart table.shop_table td.product-name a {font-weight:650;color:var(--kgt-commerce-ink);font-size:14px;line-height:1.45;}
body.woocommerce-cart table.shop_table td.product-name a:hover {color:var(--kgt-commerce-accent);}
body.woocommerce-cart table.shop_table td.product-price,body.woocommerce-cart table.shop_table td.product-subtotal {font-size:14px;font-weight:700;color:var(--kgt-commerce-ink);}
body.woocommerce-cart .woocommerce a.remove {color:#8b98a6!important;font-size:23px!important;line-height:1;}
body.woocommerce-cart .woocommerce a.remove:hover {background:#fff1f1!important;color:#c64040!important;}
body.woocommerce-cart .woocommerce .quantity .qty {width:65px;height:42px;border:1px solid #d9e6ee;border-radius:9px;background:white;padding:7px;text-align:center;}
body.woocommerce-cart .woocommerce table.shop_table td.actions {padding:17px!important;background:#fbfdfe;}
body.woocommerce-cart .woocommerce .coupon {display:flex;gap:9px;align-items:center;max-width:100%;}
body.woocommerce-cart .woocommerce .coupon #coupon_code {float:none;min-width:115px;width:190px;max-width:100%;height:43px;border:1px solid var(--kgt-commerce-border);border-radius:9px;padding:10px 12px;font-size:13px;background:white;}
body.woocommerce-cart .woocommerce .coupon .button, body.woocommerce-cart .woocommerce button[name="update_cart"] {height:43px;border-radius:9px!important;padding:10px 15px!important;font-size:13px!important;font-weight:700!important;}
body.woocommerce-cart .woocommerce button[name="update_cart"] {background:#e9f3f8!important;color:#19617f!important;}
body.woocommerce-cart .woocommerce .cart-collaterals .cart_totals {width:100%;float:none;background:#f7fbfd;border:1px solid var(--kgt-commerce-border);border-radius:16px;padding:24px;box-shadow:0 9px 30px rgba(7,40,67,.035);}
body.woocommerce-cart .cart_totals h2 {color:var(--kgt-commerce-ink);font-size:20px;font-weight:750;letter-spacing:-.02em;margin:0 0 18px;}
body.woocommerce-cart .cart_totals table.shop_table {background:transparent;}
body.woocommerce-cart .cart_totals table.shop_table th,body.woocommerce-cart .cart_totals table.shop_table td {background:transparent!important;padding:12px 0!important;border-bottom:1px solid #e1eaf0!important;vertical-align:top;font-size:13px;}
body.woocommerce-cart .cart_totals .order-total th,body.woocommerce-cart .cart_totals .order-total td {font-size:16px!important;color:var(--kgt-commerce-ink);font-weight:800;}
body.woocommerce-cart .cart_totals .wc-proceed-to-checkout {padding:20px 0 0;}
body.woocommerce-cart .cart_totals .wc-proceed-to-checkout a.checkout-button {display:flex;justify-content:center;align-items:center;min-height:50px;width:100%;border-radius:11px!important;background:var(--kgt-commerce-accent)!important;color:white!important;font-size:15px!important;font-weight:750!important;margin:0;padding:12px 18px!important;}
body.woocommerce-cart .cart_totals .wc-proceed-to-checkout a.checkout-button:hover {background:#087b9b!important;}
body.woocommerce-cart .cart_totals .woocommerce-shipping-calculator a {font-size:12px;color:var(--kgt-commerce-accent);font-weight:700;}
body.woocommerce-cart .cart_totals #shipping_method li {line-height:1.6;margin-bottom:6px;}

/* WooCommerce Checkout block: never relocate DOM or override React state */
body.woocommerce-checkout .wc-block-checkout {font-family:inherit;max-width:none;margin-top:0;}
body.woocommerce-checkout .wc-block-components-main {min-width:0;}
body.woocommerce-checkout .wc-block-components-sidebar {min-width:0;}
body.woocommerce-checkout .wc-block-components-main .wc-block-components-checkout-step {background:#fff;border:1px solid var(--kgt-commerce-border);border-radius:15px;margin:0 0 18px;padding:22px 24px;}
body.woocommerce-checkout .wc-block-components-checkout-step__heading {margin:0 0 15px;}
body.woocommerce-checkout .wc-block-components-title, body.woocommerce-checkout .wc-block-components-checkout-step__title {color:var(--kgt-commerce-ink);font-size:19px;font-weight:750;line-height:1.3;}
body.woocommerce-checkout .wc-block-components-checkout-step__description, body.woocommerce-checkout .wc-block-components-checkbox__label {color:var(--kgt-commerce-muted);}
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-blocks-components-select .wc-blocks-components-select__select,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input,
body.woocommerce-checkout .wc-block-components-textarea {border-radius:9px!important;border-color:#d7e5ed!important;min-height:45px;background:white;box-shadow:none!important;}
body.woocommerce-checkout .wc-block-components-text-input input:focus,body.woocommerce-checkout .wc-blocks-components-select .wc-blocks-components-select__select:focus {outline:2px solid #a6e2f1;outline-offset:1px;}
body.woocommerce-checkout .wc-block-components-sidebar .wp-block-woocommerce-checkout-order-summary-block {background:#f3f9fc;border:1px solid var(--kgt-commerce-border);border-radius:16px;padding:20px;}
body.woocommerce-checkout .wc-block-components-order-summary__button-text {font-size:16px;color:var(--kgt-commerce-ink);font-weight:750;}
body.woocommerce-checkout .wc-block-components-order-summary-item__description .wc-block-components-product-name {font-weight:650;color:var(--kgt-commerce-ink);}
body.woocommerce-checkout .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {color:var(--kgt-commerce-ink);font-weight:800;font-size:20px;}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button {background:var(--kgt-commerce-accent)!important;color:white!important;border:0!important;border-radius:11px!important;min-height:53px;font-weight:750!important;box-shadow:none!important;}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover {background:#087b9b!important;}
body.woocommerce-checkout .wc-block-components-radio-control__option {border-radius:9px;}
body.woocommerce-checkout .wc-block-components-checkout-return-to-cart-button {color:var(--kgt-commerce-accent);}
body.woocommerce-checkout .wc-block-components-notice-banner {border-radius:10px;}

/* Header's WooCommerce block mini-cart drawer */
.wc-block-mini-cart__drawer {--drawer-width:min(480px,100vw);}
.wc-block-mini-cart__drawer .wc-block-mini-cart__title {display:flex!important;align-items:center;gap:8px;font-size:22px;font-weight:750;color:var(--kgt-commerce-ink);padding:19px 23px;margin:0;border-bottom:1px solid var(--kgt-commerce-border);}
.wc-block-mini-cart__drawer .wc-block-mini-cart__items {padding:0 17px;}
.wc-block-mini-cart__drawer .wc-block-cart-items__row {border-bottom:1px solid var(--kgt-commerce-border);}
.wc-block-mini-cart__drawer .wc-block-cart-item__image img {border-radius:9px;background:#f5f9fb;object-fit:contain;}
.wc-block-mini-cart__drawer .wc-block-components-product-name {color:var(--kgt-commerce-ink);font-size:13px;font-weight:700;line-height:1.5;}
.wc-block-mini-cart__drawer .wc-block-components-product-metadata__description {display:none;}
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer {background:#f7fbfd;border-top:1px solid var(--kgt-commerce-border);padding:19px 23px 25px;}
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer-subtotal {font-weight:750;font-size:17px;color:var(--kgt-commerce-ink);}
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer-actions {display:grid;grid-template-columns:1fr 1fr;gap:10px;}
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer-actions a {min-height:46px;border-radius:9px!important;padding:10px!important;font-size:13px!important;font-weight:750!important;text-align:center;text-decoration:none;}
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer-checkout {background:var(--kgt-commerce-accent)!important;color:#fff!important;border-color:var(--kgt-commerce-accent)!important;}
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer-cart {background:white!important;color:var(--kgt-commerce-ink)!important;border:1px solid #cddfe9!important;}
.wc-block-mini-cart__drawer .wc-block-components-quantity-selector {border-radius:9px;}
.wc-block-mini-cart__drawer .wc-block-components-drawer__close {border-radius:8px;}

@media(max-width:1050px) {
 body.woocommerce-cart .entry-content > .woocommerce {grid-template-columns:minmax(0,1fr) 310px;gap:20px;}
 body.woocommerce-cart .woocommerce .cart-collaterals .cart_totals {padding:19px;}
}
@media(max-width:800px) {
 body.woocommerce-cart .entry-content > .woocommerce {grid-template-columns:1fr;}
 body.woocommerce-cart .cart-collaterals {grid-column:1;}
 body.woocommerce-cart .site-inner, body.woocommerce-checkout .site-inner {padding:25px 15px 50px;}
 body.woocommerce-checkout .wc-block-components-main .wc-block-components-checkout-step {padding:16px;}
}
@media(max-width:600px) {
 body.woocommerce-cart .woocommerce-cart-form {border-radius:12px;}
 body.woocommerce-cart .woocommerce table.shop_table_responsive tr {border-bottom:1px solid var(--kgt-commerce-border);padding:10px 0;}
 body.woocommerce-cart .woocommerce table.shop_table_responsive tr td {padding:8px 12px;text-align:right!important;}
 body.woocommerce-cart .woocommerce table.shop_table_responsive tr td.product-name {text-align:left!important;}
 body.woocommerce-cart .woocommerce .coupon {width:100%;flex-wrap:wrap;}
 body.woocommerce-cart .woocommerce .coupon #coupon_code {flex:1;width:auto;}
 body.woocommerce-cart .woocommerce table.shop_table td.actions .button[name="update_cart"] {width:100%;margin-top:9px;}
 body.woocommerce-checkout .wc-block-components-sidebar .wp-block-woocommerce-checkout-order-summary-block {padding:14px;}
 .wc-block-mini-cart__drawer .wc-block-mini-cart__footer-actions {gap:7px;}
}
