/* KickBox.BG — V7.45 cart refinement */
.kbg-cart-page{padding:46px 0 80px;background:var(--kbg-bg,#101010);min-height:60vh}
.kbg-cart-shell{max-width:1320px!important}
.kbg-cart-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:28px;padding-bottom:22px;border-bottom:1px solid #242b34}
.kbg-cart-head .section-kicker{margin-bottom:8px}
.kbg-cart-head h1{margin:0;color:#fff;font-size:clamp(34px,4vw,56px);line-height:.98;letter-spacing:-.045em;font-weight:950}
.kbg-cart-head p{margin:10px 0 0;color:#98a4b4;font-size:14px;line-height:1.6;max-width:620px}
.kbg-cart-head-badge{display:inline-flex;align-items:center;gap:8px;padding:10px 14px;border:1px solid #303945;border-radius:999px;background:#121820;color:#cbd4df;font-size:11px;font-weight:850;white-space:nowrap}
.kbg-cart-content>.woocommerce{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(330px,.75fr);gap:28px 32px;align-items:start}
.kbg-cart-content>.woocommerce>.woocommerce-notices-wrapper,.kbg-cart-content>.woocommerce>.woocommerce-message,.kbg-cart-content>.woocommerce>.woocommerce-info,.kbg-cart-content>.woocommerce>.woocommerce-error{grid-column:1/-1}
.kbg-cart-content .woocommerce-cart-form{min-width:0;margin:0!important}
.kbg-cart-content .cart-collaterals{min-width:0;width:100%!important;margin:0!important}
.kbg-cart-content .cart-collaterals .cart_totals{float:none!important;width:100%!important;margin:0!important;padding:22px!important;border:1px solid #2a3440!important;border-radius:20px!important;background:linear-gradient(180deg,#171d25 0%,#12171e 100%)!important;box-shadow:0 16px 40px rgba(0,0,0,.18)}
.kbg-cart-content .cart-collaterals .cart_totals h2{margin:0 0 18px!important;color:#fff!important;font-size:26px!important;line-height:1.1!important;letter-spacing:-.03em!important;font-weight:900!important}
.kbg-cart-content table.shop_table{width:100%!important;margin:0!important;border:1px solid #2a3440!important;border-radius:18px!important;background:#11161d!important;overflow:hidden!important;border-collapse:separate!important;border-spacing:0!important}
.kbg-cart-content table.shop_table thead th{padding:15px 14px!important;background:#171d25!important;color:#dfe6ef!important;border-bottom:1px solid #2a3440!important;font-size:11px!important;font-weight:900!important;letter-spacing:.03em!important;text-transform:uppercase!important}
.kbg-cart-content table.shop_table td{padding:14px!important;border-color:#27313d!important;color:#dce4ee!important;vertical-align:middle!important;font-size:13px!important}
.kbg-cart-content table.shop_table tr:last-child td{border-bottom:0!important}
.kbg-cart-content td.product-remove{width:42px;text-align:center}
.kbg-cart-content td.product-remove a.remove{display:inline-grid!important;place-items:center!important;width:28px!important;height:28px!important;line-height:1!important;border-radius:9px!important;background:#241316!important;color:#ff3942!important;font-size:18px!important;font-weight:900!important;transition:.2s ease}
.kbg-cart-content td.product-remove a.remove:hover{background:#ff2636!important;color:#fff!important}
.kbg-cart-content td.product-thumbnail{width:74px}
.kbg-cart-content td.product-thumbnail img{display:block!important;width:58px!important;height:58px!important;object-fit:contain!important;padding:5px!important;background:#fff!important;border:1px solid #e8ebef!important;border-radius:12px!important}
.kbg-cart-content td.product-name a{color:#fff!important;font-weight:800!important;line-height:1.35!important;text-decoration:none!important}
.kbg-cart-content td.product-name a:hover{color:#ff343d!important}
.kbg-cart-content td.product-price,.kbg-cart-content td.product-subtotal{font-weight:850!important;white-space:nowrap}
.kbg-cart-content .quantity .qty{width:58px!important;min-width:58px!important;height:40px!important;padding:0 8px!important;border:1px solid #34404e!important;border-radius:10px!important;background:#0d1218!important;color:#fff!important;text-align:center!important;font-weight:850!important}
.kbg-cart-content table.shop_table td.actions{padding:14px!important;background:#151b23!important}
.kbg-cart-content td.actions .coupon{display:flex!important;align-items:center!important;gap:9px!important;float:left!important}
.kbg-cart-content td.actions .coupon .input-text{width:190px!important;height:42px!important;margin:0!important;padding:0 13px!important;border:1px solid #34404e!important;border-radius:11px!important;background:#0d1218!important;color:#fff!important;font-size:12px!important}
.kbg-cart-content td.actions button.button{min-height:42px!important;padding:0 16px!important;border:0!important;border-radius:11px!important;background:#ff2636!important;color:#fff!important;font-size:10px!important;font-weight:950!important;letter-spacing:.02em!important;display:inline-flex!important;align-items:center!important;justify-content:center!important}
.kbg-cart-content td.actions button.button:hover{background:#e71928!important}
.kbg-cart-content td.actions button[name="update_cart"]{float:right!important;background:#242d38!important;color:#dfe6ef!important}
.kbg-cart-content td.actions button[name="update_cart"]:disabled{opacity:.45!important}
.kbg-cart-content .cart_totals table.shop_table{border-radius:14px!important;background:#0e141b!important;margin-bottom:16px!important}
.kbg-cart-content .cart_totals table.shop_table th{width:42%!important;padding:13px 12px!important;background:#151b23!important;color:#bfc9d6!important;font-size:11px!important;font-weight:850!important;border-color:#29333f!important}
.kbg-cart-content .cart_totals table.shop_table td{padding:13px 12px!important;color:#fff!important;font-size:12px!important;border-color:#29333f!important}
.kbg-cart-content .cart_totals .woocommerce-shipping-destination{margin:10px 0 0!important;color:#aeb9c7!important;font-size:11px!important;line-height:1.5!important}
.kbg-cart-content .cart_totals .shipping-calculator-button{display:inline-flex!important;align-items:center!important;gap:6px!important;margin-top:10px!important;color:#ff3a43!important;font-size:11px!important;font-weight:850!important;text-decoration:none!important}
.kbg-cart-content .wc-proceed-to-checkout{padding:0!important;margin:18px 0 0!important}
.kbg-cart-content .wc-proceed-to-checkout a.checkout-button{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;min-height:52px!important;margin:0!important;padding:0 18px!important;border-radius:13px!important;background:#ff2636!important;color:#fff!important;font-size:12px!important;font-weight:950!important;letter-spacing:.03em!important;text-transform:uppercase!important;box-shadow:0 12px 28px rgba(255,38,54,.18)!important}
.kbg-cart-content .wc-proceed-to-checkout a.checkout-button:hover{background:#e71928!important;transform:translateY(-1px)}
.kbg-cart-content .woocommerce-shipping-methods{margin:0!important;padding:0!important;list-style:none!important}
.kbg-cart-content .woocommerce-shipping-methods li{margin:0 0 8px!important;color:#e9eef4!important}

html[data-kbg-theme="light"] .kbg-cart-page{background:#f4f7fa}
html[data-kbg-theme="light"] .kbg-cart-head{border-color:#d9e0e8}
html[data-kbg-theme="light"] .kbg-cart-head h1{color:#0d1117!important}
html[data-kbg-theme="light"] .kbg-cart-head p{color:#667385!important}
html[data-kbg-theme="light"] .kbg-cart-head-badge{background:#fff;color:#465263;border-color:#d7dee7}
html[data-kbg-theme="light"] .kbg-cart-content table.shop_table{background:#fff!important;border-color:#d8e0e9!important}
html[data-kbg-theme="light"] .kbg-cart-content table.shop_table thead th{background:#f6f8fb!important;color:#202834!important;border-color:#d8e0e9!important}
html[data-kbg-theme="light"] .kbg-cart-content table.shop_table td{color:#202834!important;border-color:#e1e7ee!important}
html[data-kbg-theme="light"] .kbg-cart-content td.product-name a{color:#111820!important}
html[data-kbg-theme="light"] .kbg-cart-content table.shop_table td.actions{background:#f8fafc!important}
html[data-kbg-theme="light"] .kbg-cart-content td.actions .coupon .input-text,html[data-kbg-theme="light"] .kbg-cart-content .quantity .qty{background:#fff!important;color:#111820!important;border-color:#ccd5df!important}
html[data-kbg-theme="light"] .kbg-cart-content td.actions button[name="update_cart"]{background:#e9eef4!important;color:#202834!important}
html[data-kbg-theme="light"] .kbg-cart-content .cart-collaterals .cart_totals{background:#fff!important;border-color:#d8e0e9!important;box-shadow:0 18px 45px rgba(15,23,42,.07)}
html[data-kbg-theme="light"] .kbg-cart-content .cart-collaterals .cart_totals h2{color:#111820!important}
html[data-kbg-theme="light"] .kbg-cart-content .cart_totals table.shop_table{background:#fff!important;border-color:#d8e0e9!important}
html[data-kbg-theme="light"] .kbg-cart-content .cart_totals table.shop_table th{background:#f6f8fb!important;color:#3e4957!important;border-color:#d8e0e9!important}
html[data-kbg-theme="light"] .kbg-cart-content .cart_totals table.shop_table td{color:#111820!important;border-color:#d8e0e9!important}
html[data-kbg-theme="light"] .kbg-cart-content .cart_totals .woocommerce-shipping-destination{color:#667385!important}

@media(max-width:1050px){
  .kbg-cart-content>.woocommerce{grid-template-columns:1fr!important}
  .kbg-cart-content .cart-collaterals .cart_totals{max-width:none!important}
}
@media(max-width:760px){
  .kbg-cart-page{padding:28px 0 54px}
  .kbg-cart-head{align-items:flex-start;flex-direction:column;margin-bottom:20px;padding-bottom:18px}
  .kbg-cart-head-badge{display:none}
  .kbg-cart-content table.shop_table thead{display:none}
  .kbg-cart-content table.shop_table,.kbg-cart-content table.shop_table tbody,.kbg-cart-content table.shop_table tr,.kbg-cart-content table.shop_table td{display:block!important;width:100%!important}
  .kbg-cart-content table.shop_table tr.cart_item{position:relative;padding:16px 14px 14px 84px;border-bottom:1px solid #29333f}
  .kbg-cart-content td.product-remove{position:absolute;right:10px;top:10px;width:auto!important;padding:0!important}
  .kbg-cart-content td.product-thumbnail{position:absolute;left:14px;top:16px;width:58px!important;padding:0!important}
  .kbg-cart-content td.product-name,.kbg-cart-content td.product-price,.kbg-cart-content td.product-quantity,.kbg-cart-content td.product-subtotal{padding:4px 38px 4px 0!important;text-align:left!important;border:0!important}
  .kbg-cart-content td.product-price:before{content:'Цена: ';color:#8794a5;font-weight:700}
  .kbg-cart-content td.product-subtotal:before{content:'Общо: ';color:#8794a5;font-weight:700}
  .kbg-cart-content table.shop_table td.actions{padding:14px!important}
  .kbg-cart-content td.actions .coupon{float:none!important;width:100%!important;display:grid!important;grid-template-columns:1fr auto!important}
  .kbg-cart-content td.actions .coupon .input-text{width:100%!important}
  .kbg-cart-content td.actions button[name="update_cart"]{float:none!important;width:100%!important;margin-top:10px!important}
}

/* =========================================================
   V7.46 — mobile cart reset: compact cards, no horizontal table
   ========================================================= */
@media(max-width:760px){
  .kbg-cart-page{padding:22px 0 44px!important}
  .kbg-cart-shell{width:calc(100% - 20px)!important;max-width:none!important}
  .kbg-cart-head{margin-bottom:14px!important;padding-bottom:14px!important;gap:8px!important}
  .kbg-cart-head h1{font-size:38px!important;line-height:1!important}
  .kbg-cart-head p{font-size:12px!important;line-height:1.5!important;margin-top:8px!important}
  .kbg-cart-content>.woocommerce{display:block!important;width:100%!important}
  .kbg-cart-content .woocommerce-cart-form{width:100%!important;overflow:visible!important}
  .kbg-cart-content table.shop_table.cart{display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;overflow:hidden!important;border-radius:16px!important}
  .kbg-cart-content table.shop_table.cart thead{display:none!important}
  .kbg-cart-content table.shop_table.cart tbody{display:block!important;width:100%!important}
  .kbg-cart-content table.shop_table.cart tr.cart_item{display:grid!important;grid-template-columns:74px minmax(0,1fr) auto!important;grid-template-areas:"image name remove" "image price price" "image qty subtotal"!important;gap:8px 12px!important;width:100%!important;min-width:0!important;padding:14px!important;border-bottom:1px solid #29333f!important}
  .kbg-cart-content table.shop_table.cart tr.cart_item td{display:flex!important;width:auto!important;min-width:0!important;padding:0!important;border:0!important;text-align:left!important;align-items:center!important}
  .kbg-cart-content table.shop_table.cart tr.cart_item td:before{display:none!important;content:none!important}
  .kbg-cart-content td.product-remove{grid-area:remove!important;position:static!important;justify-content:flex-end!important;align-self:start!important}
  .kbg-cart-content td.product-thumbnail{grid-area:image!important;position:static!important;width:74px!important;align-self:start!important}
  .kbg-cart-content td.product-thumbnail img{width:70px!important;height:70px!important;border-radius:12px!important;padding:5px!important}
  .kbg-cart-content td.product-name{grid-area:name!important;padding-right:4px!important;align-self:start!important}
  .kbg-cart-content td.product-name a{font-size:13px!important;line-height:1.32!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important}
  .kbg-cart-content td.product-price{grid-area:price!important;font-size:13px!important;gap:6px!important;color:#fff!important}
  .kbg-cart-content td.product-price:before{display:inline!important;content:'Цена:'!important;color:#8794a5!important;font-size:11px!important;font-weight:800!important}
  .kbg-cart-content td.product-quantity{grid-area:qty!important;gap:6px!important}
  .kbg-cart-content td.product-quantity:before{display:inline!important;content:'Брой:'!important;color:#8794a5!important;font-size:11px!important;font-weight:800!important}
  .kbg-cart-content .quantity .qty{width:54px!important;min-width:54px!important;height:38px!important}
  .kbg-cart-content td.product-subtotal{grid-area:subtotal!important;justify-content:flex-end!important;gap:6px!important;font-size:13px!important;color:#fff!important}
  .kbg-cart-content td.product-subtotal:before{display:inline!important;content:'Общо:'!important;color:#8794a5!important;font-size:11px!important;font-weight:800!important}
  .kbg-cart-content table.shop_table.cart tr:not(.cart_item){display:block!important;width:100%!important}
  .kbg-cart-content table.shop_table.cart td.actions{display:block!important;width:100%!important;padding:12px!important;background:#151b23!important}
  .kbg-cart-content td.actions .coupon{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:8px!important;width:100%!important;float:none!important}
  .kbg-cart-content td.actions .coupon .input-text{width:100%!important;min-width:0!important;height:44px!important}
  .kbg-cart-content td.actions .coupon button.button{min-width:116px!important;height:44px!important;padding:0 13px!important}
  .kbg-cart-content td.actions button[name="update_cart"]{float:none!important;width:100%!important;height:42px!important;margin:9px 0 0!important}
  .kbg-cart-content .cart-collaterals{width:100%!important;margin:12px 0 0!important}
  .kbg-cart-content .cart-collaterals .cart_totals{width:100%!important;padding:16px!important;border-radius:16px!important}
  .kbg-cart-content .cart-collaterals .cart_totals h2{font-size:24px!important;margin:0 0 12px!important}
  .kbg-cart-content .cart_totals table.shop_table{display:table!important;width:100%!important;min-width:0!important;border-radius:12px!important}
  .kbg-cart-content .cart_totals table.shop_table tbody{display:table-row-group!important}
  .kbg-cart-content .cart_totals table.shop_table tr{display:table-row!important;width:auto!important}
  .kbg-cart-content .cart_totals table.shop_table th,.kbg-cart-content .cart_totals table.shop_table td{display:table-cell!important;width:auto!important;padding:11px 10px!important;vertical-align:middle!important;text-align:left!important;font-size:12px!important}
  .kbg-cart-content .cart_totals table.shop_table th{width:44%!important}
  .kbg-cart-content .cart_totals table.shop_table td{text-align:right!important}
  .kbg-cart-content .cart_totals table.shop_table td:before{display:none!important;content:none!important}
  .kbg-cart-content .woocommerce-shipping-methods{text-align:right!important}
  .kbg-cart-content .wc-proceed-to-checkout{margin-top:14px!important}
  .kbg-cart-content .wc-proceed-to-checkout a.checkout-button{min-height:50px!important;border-radius:999px!important;font-size:12px!important;padding:0 16px!important}
}
@media(max-width:420px){
  .kbg-cart-shell{width:calc(100% - 16px)!important}
  .kbg-cart-head h1{font-size:34px!important}
  .kbg-cart-content table.shop_table.cart tr.cart_item{grid-template-columns:66px minmax(0,1fr) auto!important;gap:7px 10px!important;padding:12px!important}
  .kbg-cart-content td.product-thumbnail{width:66px!important}
  .kbg-cart-content td.product-thumbnail img{width:62px!important;height:62px!important}
  .kbg-cart-content td.product-name a{font-size:12px!important}
  .kbg-cart-content td.actions .coupon{grid-template-columns:1fr!important}
  .kbg-cart-content td.actions .coupon button.button{width:100%!important}
  .kbg-cart-content .cart-collaterals .cart_totals{padding:14px!important}
}

/* V7.47 — light cart shipping text contrast */
html[data-kbg-theme="light"] .kbg-cart-content .woocommerce-shipping-methods,
html[data-kbg-theme="light"] .kbg-cart-content .woocommerce-shipping-methods li,
html[data-kbg-theme="light"] .kbg-cart-content .woocommerce-shipping-methods label,
html[data-kbg-theme="light"] .kbg-cart-content .woocommerce-shipping-methods .amount,
html[data-kbg-theme="light"] .kbg-cart-content .cart_totals td[data-title="Доставка"],
html[data-kbg-theme="light"] .kbg-cart-content .cart_totals td[data-title="Shipping"]{
  color:#111820!important;
}

/* V8.10 — tighter, cleaner cart density */
.kbg-cart-page{padding:28px 0 48px!important}
.kbg-cart-shell{max-width:1180px!important}
.kbg-cart-head{margin-bottom:16px!important;padding-bottom:14px!important;gap:14px!important}
.kbg-cart-head .section-kicker{margin-bottom:5px!important}
.kbg-cart-head h1{font-size:clamp(28px,3vw,40px)!important;line-height:1!important}
.kbg-cart-head p{margin-top:6px!important;font-size:12px!important;line-height:1.45!important}
.kbg-cart-head-badge{padding:7px 10px!important;font-size:10px!important}
.kbg-cart-content>.woocommerce{grid-template-columns:minmax(0,1.75fr) minmax(300px,.7fr)!important;gap:18px 20px!important}
.kbg-cart-content table.shop_table thead th{padding:10px 11px!important;font-size:10px!important}
.kbg-cart-content table.shop_table td{padding:10px 11px!important;font-size:12px!important}
.kbg-cart-content td.product-thumbnail{width:62px!important}
.kbg-cart-content td.product-thumbnail img{width:50px!important;height:50px!important;border-radius:10px!important;padding:4px!important}
.kbg-cart-content td.product-remove{width:36px!important}
.kbg-cart-content td.product-remove a.remove{width:25px!important;height:25px!important;border-radius:8px!important;font-size:16px!important}
.kbg-cart-content .quantity .qty{width:52px!important;min-width:52px!important;height:36px!important;border-radius:9px!important;font-size:12px!important}
.kbg-cart-content table.shop_table td.actions{padding:10px!important}
.kbg-cart-content td.actions .coupon{gap:7px!important}
.kbg-cart-content td.actions .coupon .input-text{width:170px!important;height:38px!important;border-radius:9px!important;font-size:11px!important}
.kbg-cart-content td.actions button.button{min-height:38px!important;padding:0 13px!important;border-radius:9px!important;font-size:10px!important}
.kbg-cart-content .cart-collaterals .cart_totals{padding:15px!important;border-radius:14px!important}
.kbg-cart-content .cart-collaterals .cart_totals h2{font-size:20px!important;margin-bottom:10px!important}
.kbg-cart-content .cart_totals table.shop_table{margin-bottom:10px!important}
.kbg-cart-content .cart_totals table.shop_table th,
.kbg-cart-content .cart_totals table.shop_table td{padding:9px 9px!important;font-size:11px!important}
.kbg-cart-content .cart_totals .woocommerce-shipping-destination{margin-top:6px!important;font-size:10px!important}
.kbg-cart-content .cart_totals .shipping-calculator-button{margin-top:6px!important;font-size:10px!important}
.kbg-cart-content .wc-proceed-to-checkout{margin-top:11px!important}
.kbg-cart-content .wc-proceed-to-checkout a.checkout-button{min-height:44px!important;border-radius:11px!important;font-size:11px!important;padding:0 14px!important}

@media(max-width:1050px){
  .kbg-cart-content>.woocommerce{grid-template-columns:1fr!important;gap:14px!important}
}

@media(max-width:760px){
  .kbg-cart-page{padding:14px 0 28px!important}
  .kbg-cart-shell{width:calc(100% - 14px)!important}
  .kbg-cart-head{margin-bottom:10px!important;padding-bottom:10px!important}
  .kbg-cart-head h1{font-size:28px!important}
  .kbg-cart-head p{font-size:11px!important;margin-top:5px!important}
  .kbg-cart-content table.shop_table.cart{border-radius:12px!important}
  .kbg-cart-content table.shop_table.cart tr.cart_item{grid-template-columns:58px minmax(0,1fr) auto!important;gap:5px 8px!important;padding:10px!important}
  .kbg-cart-content td.product-thumbnail{width:58px!important}
  .kbg-cart-content td.product-thumbnail img{width:54px!important;height:54px!important;border-radius:9px!important;padding:4px!important}
  .kbg-cart-content td.product-name a{font-size:12px!important;line-height:1.25!important}
  .kbg-cart-content td.product-price,
  .kbg-cart-content td.product-subtotal{font-size:12px!important}
  .kbg-cart-content td.product-price:before,
  .kbg-cart-content td.product-quantity:before,
  .kbg-cart-content td.product-subtotal:before{font-size:10px!important}
  .kbg-cart-content .quantity .qty{width:48px!important;min-width:48px!important;height:34px!important}
  .kbg-cart-content table.shop_table.cart td.actions{padding:9px!important}
  .kbg-cart-content td.actions .coupon .input-text{height:40px!important}
  .kbg-cart-content td.actions .coupon button.button{height:40px!important;min-width:104px!important}
  .kbg-cart-content td.actions button[name="update_cart"]{height:38px!important;margin-top:7px!important}
  .kbg-cart-content .cart-collaterals{margin-top:8px!important}
  .kbg-cart-content .cart-collaterals .cart_totals{padding:11px!important;border-radius:12px!important}
  .kbg-cart-content .cart-collaterals .cart_totals h2{font-size:18px!important;margin-bottom:8px!important}
  .kbg-cart-content .cart_totals table.shop_table th,
  .kbg-cart-content .cart_totals table.shop_table td{padding:8px 8px!important;font-size:11px!important}
  .kbg-cart-content .wc-proceed-to-checkout{margin-top:9px!important}
  .kbg-cart-content .wc-proceed-to-checkout a.checkout-button{min-height:42px!important;border-radius:10px!important;font-size:11px!important}
}

@media(max-width:420px){
  .kbg-cart-shell{width:calc(100% - 12px)!important}
  .kbg-cart-content table.shop_table.cart tr.cart_item{grid-template-columns:54px minmax(0,1fr) auto!important;padding:9px!important}
  .kbg-cart-content td.product-thumbnail{width:54px!important}
  .kbg-cart-content td.product-thumbnail img{width:50px!important;height:50px!important}
  .kbg-cart-content td.actions .coupon{grid-template-columns:1fr auto!important}
  .kbg-cart-content td.actions .coupon button.button{width:auto!important;min-width:96px!important}
}

/* V9.14 — compact quantity row on mobile cart only. */
@media(max-width:760px){
  .kbg-cart-content table.shop_table.cart tr.cart_item{
    grid-template-areas:"image name remove" "image price price" "image qty subtotal"!important;
    align-items:center!important;
  }
  .kbg-cart-content td.product-quantity{
    grid-area:qty!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:7px!important;
    min-height:36px!important;
  }
  .kbg-cart-content td.product-quantity .quantity{
    display:inline-flex!important;
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    margin:0!important;
    padding:0!important;
    flex:0 0 auto!important;
  }
  .kbg-cart-content td.product-quantity .quantity .qty{
    width:46px!important;
    min-width:46px!important;
    max-width:46px!important;
    height:36px!important;
    min-height:36px!important;
    padding:0 6px!important;
    margin:0!important;
    text-align:center!important;
    font-size:13px!important;
    line-height:36px!important;
    border-radius:9px!important;
    box-sizing:border-box!important;
  }
  .kbg-cart-content td.product-subtotal{
    grid-area:subtotal!important;
    min-height:36px!important;
    align-items:center!important;
    justify-content:flex-end!important;
    white-space:nowrap!important;
  }
}

/* V9.21 — polished empty-cart state only. */
.kbg-cart-content .cart-empty.woocommerce-info{
  position:relative!important;display:flex!important;align-items:center!important;justify-content:center!important;
  min-height:210px!important;margin:0!important;padding:82px 24px 26px!important;
  border:1px solid #303b49!important;border-top:3px solid #ff2636!important;border-radius:22px!important;
  background:linear-gradient(180deg,#151c24 0%,#11171e 100%)!important;color:#fff!important;
  text-align:center!important;font-size:20px!important;font-weight:850!important;line-height:1.35!important;
  box-shadow:0 18px 44px rgba(0,0,0,.18)!important;
}
.kbg-cart-content .cart-empty.woocommerce-info:before{
  content:''!important;position:absolute!important;top:26px!important;left:50%!important;transform:translateX(-50%)!important;
  width:46px!important;height:46px!important;border:1px solid rgba(255,38,54,.5)!important;border-radius:50%!important;
  background:rgba(255,38,54,.08)!important;box-shadow:0 0 0 7px rgba(255,38,54,.04)!important;
}
.kbg-cart-content .cart-empty.woocommerce-info:after{
  content:''!important;position:absolute!important;top:40px!important;left:50%!important;transform:translateX(-50%) rotate(45deg)!important;
  width:13px!important;height:13px!important;border-right:2px solid #ff3441!important;border-bottom:2px solid #ff3441!important;
}
.kbg-cart-content .return-to-shop{grid-column:1/-1!important;margin:18px 0 0!important;text-align:center!important;}
.kbg-cart-content .return-to-shop a.wc-backward{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:250px!important;min-height:52px!important;
  padding:0 24px!important;border:0!important;border-radius:14px!important;background:#ff2636!important;color:#fff!important;
  font-size:12px!important;font-weight:950!important;letter-spacing:.03em!important;text-transform:uppercase!important;text-decoration:none!important;
  box-shadow:0 12px 26px rgba(255,38,54,.18)!important;
}
.kbg-cart-content .return-to-shop a.wc-backward:hover{background:#e71928!important;color:#fff!important;transform:translateY(-1px)!important;}
@media(max-width:760px){
  .kbg-cart-content .cart-empty.woocommerce-info{min-height:180px!important;padding:72px 18px 22px!important;border-radius:18px!important;font-size:17px!important;}
  .kbg-cart-content .cart-empty.woocommerce-info:before{top:22px!important;width:42px!important;height:42px!important;}
  .kbg-cart-content .cart-empty.woocommerce-info:after{top:35px!important;}
  .kbg-cart-content .return-to-shop{margin-top:14px!important;}
  .kbg-cart-content .return-to-shop a.wc-backward{width:100%!important;min-width:0!important;min-height:50px!important;border-radius:13px!important;font-size:11px!important;}
}

/* V9.22 — premium mobile cart totals */
@media(max-width:760px){
  .kbg-cart-content .cart_totals{
    padding:16px!important;border:1px solid #2b3745!important;border-radius:20px!important;
    background:linear-gradient(180deg,#151c24 0%,#10161d 100%)!important;
    box-shadow:0 14px 34px rgba(0,0,0,.18)!important;overflow:hidden!important;
  }
  .kbg-cart-content .cart_totals>h2{
    margin:0 0 14px!important;font-size:24px!important;line-height:1.1!important;
    letter-spacing:-.025em!important;color:#fff!important;
  }
  .kbg-cart-content .cart_totals table.shop_table{
    display:block!important;width:100%!important;margin:0!important;border:0!important;
    border-radius:0!important;background:transparent!important;overflow:visible!important;
  }
  .kbg-cart-content .cart_totals table.shop_table tbody,
  .kbg-cart-content .cart_totals table.shop_table tr,
  .kbg-cart-content .cart_totals table.shop_table th,
  .kbg-cart-content .cart_totals table.shop_table td{
    display:block!important;width:100%!important;box-sizing:border-box!important;
  }
  .kbg-cart-content .cart_totals table.shop_table tr{
    margin:0 0 10px!important;padding:13px 14px!important;border:1px solid #2a3644!important;
    border-radius:15px!important;background:#0f151c!important;
  }
  .kbg-cart-content .cart_totals table.shop_table tr:last-child{margin-bottom:0!important;}
  .kbg-cart-content .cart_totals table.shop_table th{
    margin:0 0 8px!important;padding:0!important;border:0!important;background:transparent!important;
    color:#aeb9c7!important;font-size:11px!important;font-weight:900!important;letter-spacing:.06em!important;
    text-transform:uppercase!important;text-align:left!important;
  }
  .kbg-cart-content .cart_totals table.shop_table td{
    padding:0!important;border:0!important;background:transparent!important;color:#fff!important;
    font-size:15px!important;line-height:1.4!important;text-align:left!important;
  }
  .kbg-cart-content .cart_totals .cart-subtotal td,
  .kbg-cart-content .cart_totals .order-total td{
    font-size:19px!important;font-weight:950!important;color:#fff!important;
  }
  .kbg-cart-content .cart_totals .order-total th{color:#fff!important;}
  .kbg-cart-content .cart_totals .order-total td{font-size:21px!important;}
  .kbg-cart-content .cart_totals tr.shipping td{font-size:13px!important;color:#dce4ee!important;}
  .kbg-cart-content .cart_totals .woocommerce-shipping-methods{
    margin:0!important;padding:0!important;text-align:left!important;
  }
  .kbg-cart-content .cart_totals .woocommerce-shipping-methods li{
    margin:0!important;padding:0!important;line-height:1.4!important;
  }
  .kbg-cart-content .cart_totals .kbg-shipping-rate-label{
    display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:3px!important;width:100%!important;
  }
  .kbg-cart-content .cart_totals .kbg-shipping-rate-label strong{
    color:#fff!important;font-size:15px!important;font-weight:950!important;white-space:normal!important;
  }
  .kbg-cart-content .cart_totals .kbg-shipping-rate-label small{
    max-width:none!important;color:#91a0b1!important;font-size:11px!important;font-weight:650!important;line-height:1.45!important;text-align:left!important;
  }
  .kbg-cart-content .cart_totals .woocommerce-shipping-destination{
    margin:10px 0 0!important;color:#c9d2dd!important;font-size:12px!important;line-height:1.5!important;text-align:left!important;
  }
  .kbg-cart-content .cart_totals .shipping-calculator-button{
    display:inline-flex!important;align-items:center!important;justify-content:center!important;
    min-height:36px!important;margin:10px 0 0!important;padding:0 12px!important;border:1px solid rgba(255,38,54,.34)!important;
    border-radius:10px!important;background:rgba(255,38,54,.08)!important;color:#ff4a55!important;
    font-size:11px!important;font-weight:900!important;text-decoration:none!important;
  }
  .kbg-cart-content .wc-proceed-to-checkout{padding:14px 0 0!important;}
  .kbg-cart-content .wc-proceed-to-checkout .checkout-button{
    display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;
    min-height:58px!important;margin:0!important;padding:0 18px!important;border-radius:15px!important;
    background:#ff2636!important;color:#fff!important;font-size:15px!important;font-weight:950!important;
    letter-spacing:.035em!important;text-align:center!important;box-shadow:0 12px 28px rgba(255,38,54,.22)!important;
  }
  .kbg-cart-content .wc-proceed-to-checkout .checkout-button:active{transform:scale(.99)!important;}
}

/* V9.23 — premium compact mobile cart items */
@media(max-width:760px){
  .kbg-cart-content table.shop_table.cart{display:block!important;width:100%!important;border:0!important;background:transparent!important;overflow:visible!important}
  .kbg-cart-content table.shop_table.cart tbody{display:block!important;width:100%!important}
  .kbg-cart-content table.shop_table.cart tr.cart_item{position:relative!important;display:grid!important;grid-template-columns:78px minmax(0,1fr) auto!important;grid-template-areas:"image name remove" "image price subtotal" "image qty subtotal"!important;gap:5px 12px!important;margin:0 0 10px!important;padding:12px!important;border:1px solid #2b3746!important;border-radius:16px!important;background:linear-gradient(180deg,#121922 0%,#0e151d 100%)!important;box-shadow:0 10px 28px rgba(0,0,0,.14)!important;overflow:hidden!important}
  .kbg-cart-content table.shop_table.cart tr.cart_item td{display:flex!important;width:auto!important;min-width:0!important;padding:0!important;border:0!important;background:transparent!important;text-align:left!important}
  .kbg-cart-content table.shop_table.cart tr.cart_item td:before{display:none!important;content:none!important}
  .kbg-cart-content td.product-thumbnail{grid-area:image!important;width:78px!important;align-items:flex-start!important}
  .kbg-cart-content td.product-thumbnail a,.kbg-cart-content td.product-thumbnail img{display:block!important;width:78px!important;height:78px!important;max-width:78px!important;border-radius:14px!important;object-fit:contain!important;background:#fff!important}
  .kbg-cart-content td.product-name{grid-area:name!important;display:block!important;padding-right:4px!important;align-self:start!important}
  .kbg-cart-content td.product-name a{display:block!important;color:#fff!important;font-size:13px!important;font-weight:850!important;line-height:1.28!important;text-decoration:none!important}
  .kbg-cart-content td.product-name .variation,.kbg-cart-content td.product-name .wc-item-meta{margin:4px 0 0!important;font-size:10px!important;line-height:1.3!important;color:#9aa8b8!important}
  .kbg-cart-content td.product-remove{grid-area:remove!important;align-self:start!important;justify-content:flex-end!important;width:34px!important}
  .kbg-cart-content td.product-remove a.remove{display:flex!important;align-items:center!important;justify-content:center!important;width:34px!important;height:34px!important;border-radius:10px!important;background:rgba(255,38,54,.1)!important;border:1px solid rgba(255,38,54,.16)!important;color:#ff4350!important;font-size:22px!important;line-height:1!important;text-decoration:none!important}
  .kbg-cart-content td.product-price{grid-area:price!important;display:flex!important;align-items:center!important;color:#fff!important;font-size:12px!important;font-weight:800!important;white-space:nowrap!important}
  .kbg-cart-content td.product-price .amount{font-size:12px!important;font-weight:850!important;color:#fff!important}
  .kbg-cart-content td.product-quantity{grid-area:qty!important;display:flex!important;align-items:center!important;margin-top:3px!important}
  .kbg-cart-content td.product-quantity .quantity{display:flex!important;align-items:center!important;justify-content:center!important;width:76px!important;height:38px!important;margin:0!important;padding:0!important;border:1px solid #344255!important;border-radius:11px!important;background:#091018!important;overflow:hidden!important}
  .kbg-cart-content td.product-quantity .quantity .qty{width:100%!important;min-width:0!important;max-width:none!important;height:36px!important;min-height:36px!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;color:#fff!important;font-size:15px!important;font-weight:900!important;line-height:36px!important;text-align:center!important;box-shadow:none!important}
  .kbg-cart-content td.product-subtotal{grid-area:subtotal!important;display:flex!important;align-items:flex-end!important;justify-content:flex-end!important;align-self:end!important;min-width:82px!important;padding-bottom:2px!important;white-space:nowrap!important}
  .kbg-cart-content td.product-subtotal .amount{color:#fff!important;font-size:15px!important;font-weight:950!important;white-space:nowrap!important}
  .kbg-cart-content table.shop_table.cart tr:not(.cart_item){display:block!important;width:100%!important;margin-top:8px!important}
  .kbg-cart-content table.shop_table.cart td.actions{display:block!important;width:100%!important;padding:12px!important;border:1px solid #2b3746!important;border-radius:16px!important;background:linear-gradient(180deg,#121922 0%,#0e151d 100%)!important}
  .kbg-cart-content table.shop_table.cart td.actions .coupon{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:8px!important;width:100%!important;margin:0!important}
  .kbg-cart-content table.shop_table.cart td.actions .coupon .input-text{width:100%!important;min-width:0!important;height:46px!important;min-height:46px!important;margin:0!important;padding:0 13px!important;border:1px solid #344255!important;border-radius:12px!important;background:#091018!important;color:#fff!important;font-size:13px!important}
  .kbg-cart-content table.shop_table.cart td.actions .coupon .button{height:46px!important;min-height:46px!important;margin:0!important;padding:0 16px!important;border-radius:12px!important;background:#ff2636!important;color:#fff!important;font-size:10px!important;font-weight:950!important;white-space:nowrap!important}
  .kbg-cart-content table.shop_table.cart td.actions>button[name="update_cart"]{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;min-height:44px!important;margin:9px 0 0!important;padding:0 14px!important;border:1px solid #303d4d!important;border-radius:12px!important;background:#18212c!important;color:#d9e1eb!important;font-size:10px!important;font-weight:900!important;letter-spacing:.025em!important;opacity:1!important}
  .kbg-cart-content table.shop_table.cart td.actions>button[name="update_cart"]:disabled{opacity:.48!important}
  @media(max-width:430px){
    .kbg-cart-content table.shop_table.cart tr.cart_item{grid-template-columns:68px minmax(0,1fr) auto!important;grid-template-areas:"image name remove" "image price subtotal" "image qty subtotal"!important;gap:5px 10px!important;padding:10px!important;border-radius:14px!important}
    .kbg-cart-content td.product-thumbnail{width:68px!important}
    .kbg-cart-content td.product-thumbnail a,.kbg-cart-content td.product-thumbnail img{width:68px!important;height:68px!important;max-width:68px!important;border-radius:12px!important}
    .kbg-cart-content td.product-name a{font-size:12px!important;line-height:1.25!important}
    .kbg-cart-content td.product-subtotal{min-width:72px!important}
    .kbg-cart-content td.product-subtotal .amount{font-size:14px!important}
    .kbg-cart-content table.shop_table.cart td.actions .coupon{grid-template-columns:1fr!important}
    .kbg-cart-content table.shop_table.cart td.actions .coupon .button{width:100%!important}
  }
}

/* V9.27 — desktop cart totals: readable premium shipping summary */
@media(min-width:761px){
  .kbg-cart-content .cart-collaterals .cart_totals{padding:20px!important;border-radius:18px!important;}
  .kbg-cart-content .cart-collaterals .cart_totals h2{margin-bottom:14px!important;font-size:24px!important;}
  .kbg-cart-content .cart_totals table.shop_table{margin-bottom:14px!important;border-radius:14px!important;overflow:hidden!important;}
  .kbg-cart-content .cart_totals table.shop_table th{width:34%!important;padding:12px 14px!important;font-size:11px!important;}
  .kbg-cart-content .cart_totals table.shop_table td{padding:12px 14px!important;font-size:13px!important;line-height:1.4!important;}
  .kbg-cart-content .cart_totals tr.shipping{display:grid!important;grid-template-columns:1fr!important;background:#0f151c!important;}
  .kbg-cart-content .cart_totals tr.shipping>th,
  .kbg-cart-content .cart_totals tr.shipping>td{display:block!important;width:100%!important;box-sizing:border-box!important;text-align:left!important;}
  .kbg-cart-content .cart_totals tr.shipping>th{padding:13px 15px 7px!important;border:0!important;background:#151b23!important;color:#d5dde7!important;font-size:11px!important;letter-spacing:.035em!important;text-transform:uppercase!important;}
  .kbg-cart-content .cart_totals tr.shipping>td{padding:10px 15px 15px!important;border:0!important;background:#0f151c!important;}
  .kbg-cart-content .cart_totals .woocommerce-shipping-methods{margin:0!important;padding:0!important;text-align:left!important;}
  .kbg-cart-content .cart_totals .woocommerce-shipping-methods li{margin:0!important;padding:0!important;}
  .kbg-cart-content .cart_totals .kbg-shipping-rate-label{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:4px!important;width:100%!important;}
  .kbg-cart-content .cart_totals .kbg-shipping-rate-label strong{color:#fff!important;font-size:15px!important;line-height:1.25!important;font-weight:950!important;white-space:normal!important;}
  .kbg-cart-content .cart_totals .kbg-shipping-rate-label small{display:block!important;max-width:100%!important;color:#8f9cad!important;font-size:11px!important;line-height:1.45!important;font-weight:650!important;text-align:left!important;}
  .kbg-cart-content .cart_totals .woocommerce-shipping-destination{margin:12px 0 0!important;padding:11px 0 0!important;border-top:1px solid #27313d!important;color:#cbd5e1!important;font-size:12px!important;line-height:1.5!important;text-align:left!important;}
  .kbg-cart-content .cart_totals .woocommerce-shipping-destination strong{color:#fff!important;font-weight:850!important;}
  .kbg-cart-content .cart_totals .shipping-calculator-button{display:inline-flex!important;align-items:center!important;gap:6px!important;min-height:31px!important;margin:9px 0 0!important;padding:0 10px!important;border:1px solid rgba(255,38,54,.26)!important;border-radius:9px!important;background:rgba(255,38,54,.08)!important;color:#ff4651!important;font-size:10.5px!important;font-weight:900!important;text-decoration:none!important;}
  .kbg-cart-content .cart_totals .shipping-calculator-button:hover{background:rgba(255,38,54,.15)!important;border-color:rgba(255,38,54,.45)!important;color:#fff!important;}
  .kbg-cart-content .wc-proceed-to-checkout{margin-top:14px!important;}
  .kbg-cart-content .wc-proceed-to-checkout a.checkout-button{min-height:48px!important;border-radius:12px!important;font-size:11.5px!important;}
}
@media(min-width:1051px){
  .kbg-cart-content>.woocommerce{grid-template-columns:minmax(0,1.55fr) minmax(390px,.85fr)!important;gap:22px 24px!important;}
}

/* V9.28 — desktop cart totals compact reset */
@media(min-width:761px){
  .kbg-cart-content .cart-collaterals .cart_totals{padding:16px!important;border-radius:16px!important;}
  .kbg-cart-content .cart-collaterals .cart_totals h2{margin:0 0 12px!important;font-size:22px!important;line-height:1.05!important;}
  .kbg-cart-content .cart_totals table.shop_table{display:table!important;width:100%!important;table-layout:fixed!important;margin:0 0 12px!important;border-radius:12px!important;}
  .kbg-cart-content .cart_totals table.shop_table tbody{display:table-row-group!important;}
  .kbg-cart-content .cart_totals table.shop_table tr,
  .kbg-cart-content .cart_totals tr.shipping{display:table-row!important;background:transparent!important;}
  .kbg-cart-content .cart_totals table.shop_table th,
  .kbg-cart-content .cart_totals tr.shipping>th{display:table-cell!important;width:31%!important;padding:10px 12px!important;vertical-align:top!important;background:#151b23!important;border-color:#29333f!important;text-align:left!important;font-size:10.5px!important;line-height:1.25!important;}
  .kbg-cart-content .cart_totals table.shop_table td,
  .kbg-cart-content .cart_totals tr.shipping>td{display:table-cell!important;width:69%!important;padding:10px 12px!important;vertical-align:top!important;background:#0f151c!important;border-color:#29333f!important;text-align:left!important;font-size:12px!important;line-height:1.35!important;}
  .kbg-cart-content .cart_totals .woocommerce-shipping-methods{margin:0!important;padding:0!important;text-align:left!important;}
  .kbg-cart-content .cart_totals .woocommerce-shipping-methods li{margin:0!important;padding:0!important;line-height:1.3!important;}
  .kbg-cart-content .cart_totals .kbg-shipping-rate-label{display:block!important;width:100%!important;}
  .kbg-cart-content .cart_totals .kbg-shipping-rate-label strong{display:block!important;margin:0 0 3px!important;color:#fff!important;font-size:13.5px!important;line-height:1.2!important;font-weight:950!important;white-space:normal!important;}
  .kbg-cart-content .cart_totals .kbg-shipping-rate-label small{display:block!important;margin:0!important;color:#8f9cad!important;font-size:9.5px!important;line-height:1.35!important;font-weight:650!important;text-align:left!important;}
  .kbg-cart-content .cart_totals .woocommerce-shipping-destination{margin:8px 0 0!important;padding:8px 0 0!important;border-top:1px solid #27313d!important;color:#cbd5e1!important;font-size:10.5px!important;line-height:1.4!important;text-align:left!important;}
  .kbg-cart-content .cart_totals .woocommerce-shipping-destination strong{color:#fff!important;font-weight:850!important;}
  .kbg-cart-content .cart_totals .shipping-calculator-button{min-height:28px!important;margin:7px 0 0!important;padding:0 9px!important;border-radius:8px!important;font-size:9.5px!important;line-height:1!important;}
  .kbg-cart-content .cart_totals .order-total th,
  .kbg-cart-content .cart_totals .order-total td,
  .kbg-cart-content .cart_totals .cart-subtotal th,
  .kbg-cart-content .cart_totals .cart-subtotal td{vertical-align:middle!important;}
  .kbg-cart-content .wc-proceed-to-checkout{margin-top:12px!important;}
  .kbg-cart-content .wc-proceed-to-checkout a.checkout-button{min-height:46px!important;border-radius:11px!important;font-size:11px!important;}
}

/* V8.11 — stronger light-theme cart contrast */
html[data-kbg-theme="light"] .kbg-cart-content .cart-collaterals .cart_totals{
  background:#ffffff!important;
  border:1px solid #c7d1dc!important;
  box-shadow:0 14px 34px rgba(15,23,42,.10),0 2px 8px rgba(15,23,42,.05)!important;
}
html[data-kbg-theme="light"] .kbg-cart-content .cart_totals table.shop_table{
  border:1px solid #c8d2dd!important;
  box-shadow:inset 0 0 0 1px rgba(15,23,42,.02)!important;
}
html[data-kbg-theme="light"] .kbg-cart-content .cart_totals table.shop_table th{
  background:#eef3f8!important;
  color:#273241!important;
  border-color:#cfd8e3!important;
}
html[data-kbg-theme="light"] .kbg-cart-content .cart_totals table.shop_table td{
  background:#ffffff!important;
  color:#0f1720!important;
  border-color:#cfd8e3!important;
}
html[data-kbg-theme="light"] .kbg-cart-content .woocommerce-cart-form table.shop_table{
  border-color:#c7d1dc!important;
  box-shadow:0 8px 24px rgba(15,23,42,.045)!important;
}

/* V9.40 — premium mobile LIGHT cart polish */
@media(max-width:760px){
  html[data-kbg-theme="light"] body.woocommerce-cart .kbg-cart-page{background:#eef1f4!important}
  html[data-kbg-theme="light"] body.woocommerce-cart .kbg-cart-head{border-bottom-color:#d4dbe3!important}
  html[data-kbg-theme="light"] body.woocommerce-cart .kbg-cart-head h1{color:#111827!important}
  html[data-kbg-theme="light"] body.woocommerce-cart .kbg-cart-head p{color:#667386!important}

  html[data-kbg-theme="light"] body.woocommerce-cart .kbg-cart-content table.shop_table.cart tr.cart_item{
    background:#f8fafb!important;border:1px solid #d6dee7!important;
    box-shadow:0 10px 24px rgba(15,23,42,.07)!important;border-radius:18px!important;
  }
  html[data-kbg-theme="light"] body.woocommerce-cart .kbg-cart-content td.product-name a{
    color:#253142!important;-webkit-text-fill-color:#253142!important;font-weight:900!important;
  }
  html[data-kbg-theme="light"] body.woocommerce-cart .kbg-cart-content td.product-price,
  html[data-kbg-theme="light"] body.woocommerce-cart .kbg-cart-content td.product-price .amount,
  html[data-kbg-theme="light"] body.woocommerce-cart .kbg-cart-content td.product-subtotal,
  html[data-kbg-theme="light"] body.woocommerce-cart .kbg-cart-content td.product-subtotal .amount{
    color:#111827!important;-webkit-text-fill-color:#111827!important;
  }
  html[data-kbg-theme="light"] body.woocommerce-cart .kbg-cart-content td.product-price:before,
  html[data-kbg-theme="light"] body.woocommerce-cart .kbg-cart-content td.product-quantity:before,
  html[data-kbg-theme="light"] body.woocommerce-cart .kbg-cart-content td.product-subtotal:before{color:#738094!important}
  html[data-kbg-theme="light"] body.woocommerce-cart .kbg-cart-content td.product-quantity .quantity{
    background:#f1f4f7!important;border:1px solid #cbd5e1!important;box-shadow:inset 0 1px 2px rgba(15,23,42,.03)!important;
  }
  html[data-kbg-theme="light"] body.woocommerce-cart .kbg-cart-content td.product-quantity .quantity .qty{
    background:transparent!important;color:#111827!important;-webkit-text-fill-color:#111827!important;
  }
  html[data-kbg-theme="light"] body.woocommerce-cart .kbg-cart-content td.product-remove a.remove{
    background:#fff1f2!important;border:1px solid #fecdd3!important;color:#e11d2e!important;
  }

  html[data-kbg-theme="light"] body.woocommerce-cart .kbg-cart-content table.shop_table.cart td.actions{
    position:relative!important;background:#f8fafb!important;border:1px solid #d6dee7!important;
    border-radius:18px!important;box-shadow:0 10px 24px rgba(15,23,42,.055)!important;padding:16px!important;
  }
  html[data-kbg-theme="light"] body.woocommerce-cart .kbg-cart-content table.shop_table.cart td.actions:before{
    content:"Код за отстъпка"!important;display:block!important;margin:0 0 11px!important;
    color:#111827!important;font-size:15px!important;font-weight:950!important;line-height:1.2!important;
  }
  html[data-kbg-theme="light"] body.woocommerce-cart .kbg-cart-content table.shop_table.cart td.actions .coupon{
    display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:9px!important;
  }
  html[data-kbg-theme="light"] body.woocommerce-cart .kbg-cart-content table.shop_table.cart td.actions .coupon .input-text{
    height:48px!important;min-height:48px!important;background:#fff!important;border:1px solid #cbd5e1!important;
    color:#111827!important;-webkit-text-fill-color:#111827!important;border-radius:13px!important;font-size:13px!important;
    box-shadow:inset 0 1px 2px rgba(15,23,42,.03)!important;
  }
  html[data-kbg-theme="light"] body.woocommerce-cart .kbg-cart-content table.shop_table.cart td.actions .coupon .input-text::placeholder{
    color:#94a0b1!important;-webkit-text-fill-color:#94a0b1!important;opacity:1!important;
  }
  html[data-kbg-theme="light"] body.woocommerce-cart .kbg-cart-content table.shop_table.cart td.actions .coupon .button{
    height:48px!important;min-height:48px!important;background:#f32f3a!important;color:#fff!important;border-radius:13px!important;
    box-shadow:0 8px 18px rgba(243,47,58,.18)!important;
  }
  html[data-kbg-theme="light"] body.woocommerce-cart .kbg-cart-content table.shop_table.cart td.actions>button[name="update_cart"]{
    min-height:46px!important;background:#e3e8ee!important;border:1px solid #d1d8e0!important;color:#6f7b8a!important;
    border-radius:13px!important;
  }

  html[data-kbg-theme="light"] body.woocommerce-cart .kbg-cart-content .cart-collaterals .cart_totals{
    background:#f8fafb!important;border:1px solid #d6dee7!important;border-radius:18px!important;
    box-shadow:0 12px 28px rgba(15,23,42,.07)!important;padding:16px!important;
  }
  html[data-kbg-theme="light"] body.woocommerce-cart .kbg-cart-content .cart-collaterals .cart_totals h2{
    color:#111827!important;-webkit-text-fill-color:#111827!important;font-size:22px!important;margin:0 0 13px!important;
  }
  html[data-kbg-theme="light"] body.woocommerce-cart .kbg-cart-content .cart_totals table.shop_table{
    display:block!important;background:#fff!important;border:1px solid #d8e0e8!important;border-radius:14px!important;
    overflow:hidden!important;box-shadow:none!important;margin:0!important;
  }
  html[data-kbg-theme="light"] body.woocommerce-cart .kbg-cart-content .cart_totals table.shop_table tbody{display:block!important}
  html[data-kbg-theme="light"] body.woocommerce-cart .kbg-cart-content .cart_totals table.shop_table tr{
    display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;column-gap:12px!important;
    margin:0!important;padding:13px 14px!important;border:0!important;border-bottom:1px solid #e0e6ed!important;
    border-radius:0!important;background:#fff!important;
  }
  html[data-kbg-theme="light"] body.woocommerce-cart .kbg-cart-content .cart_totals table.shop_table tr:last-child{border-bottom:0!important}
  html[data-kbg-theme="light"] body.woocommerce-cart .kbg-cart-content .cart_totals table.shop_table th,
  html[data-kbg-theme="light"] body.woocommerce-cart .kbg-cart-content .cart_totals table.shop_table td{
    display:block!important;width:auto!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;
    color:#111827!important;-webkit-text-fill-color:#111827!important;text-align:left!important;text-transform:none!important;
  }
  html[data-kbg-theme="light"] body.woocommerce-cart .kbg-cart-content .cart_totals table.shop_table th{
    font-size:13px!important;font-weight:800!important;letter-spacing:0!important;
  }
  html[data-kbg-theme="light"] body.woocommerce-cart .kbg-cart-content .cart_totals table.shop_table td{
    font-size:14px!important;font-weight:850!important;text-align:right!important;
  }
  html[data-kbg-theme="light"] body.woocommerce-cart .kbg-cart-content .cart_totals table.shop_table tr.shipping{
    grid-template-columns:110px minmax(0,1fr)!important;align-items:start!important;
  }
  html[data-kbg-theme="light"] body.woocommerce-cart .kbg-cart-content .cart_totals tr.shipping td,
  html[data-kbg-theme="light"] body.woocommerce-cart .kbg-cart-content .cart_totals .woocommerce-shipping-methods,
  html[data-kbg-theme="light"] body.woocommerce-cart .kbg-cart-content .cart_totals .woocommerce-shipping-methods li{
    color:#5f6f82!important;-webkit-text-fill-color:#5f6f82!important;text-align:right!important;
  }
  html[data-kbg-theme="light"] body.woocommerce-cart .kbg-cart-content .cart_totals .kbg-shipping-rate-label{align-items:flex-end!important}
  html[data-kbg-theme="light"] body.woocommerce-cart .kbg-cart-content .cart_totals .kbg-shipping-rate-label strong{
    color:#111827!important;-webkit-text-fill-color:#111827!important;font-size:13px!important;
  }
  html[data-kbg-theme="light"] body.woocommerce-cart .kbg-cart-content .cart_totals .kbg-shipping-rate-label small{
    color:#718096!important;-webkit-text-fill-color:#718096!important;text-align:right!important;font-size:10.5px!important;
  }
  html[data-kbg-theme="light"] body.woocommerce-cart .kbg-cart-content .cart_totals table.shop_table tr.order-total{
    background:#eef2f6!important;padding-top:15px!important;padding-bottom:15px!important;
  }
  html[data-kbg-theme="light"] body.woocommerce-cart .kbg-cart-content .cart_totals .order-total th,
  html[data-kbg-theme="light"] body.woocommerce-cart .kbg-cart-content .cart_totals .order-total td,
  html[data-kbg-theme="light"] body.woocommerce-cart .kbg-cart-content .cart_totals .order-total .amount{
    color:#0f1720!important;-webkit-text-fill-color:#0f1720!important;font-weight:950!important;font-size:19px!important;
  }
  html[data-kbg-theme="light"] body.woocommerce-cart .kbg-cart-content .wc-proceed-to-checkout{padding-top:14px!important}
  html[data-kbg-theme="light"] body.woocommerce-cart .kbg-cart-content .wc-proceed-to-checkout .checkout-button{
    min-height:56px!important;background:#ff2636!important;color:#fff!important;border-radius:14px!important;
    box-shadow:0 12px 24px rgba(255,38,54,.20)!important;font-size:14px!important;
  }
}

@media(max-width:430px){
  html[data-kbg-theme="light"] body.woocommerce-cart .kbg-cart-content table.shop_table.cart td.actions .coupon{
    grid-template-columns:minmax(0,1fr) 132px!important;
  }
  html[data-kbg-theme="light"] body.woocommerce-cart .kbg-cart-content table.shop_table.cart td.actions .coupon .button{
    width:132px!important;padding:0 10px!important;font-size:9.5px!important;
  }
}

/* V9.41 — light mobile cart: premium stacked coupon panel */
@media(max-width:760px){
  html[data-kbg-theme="light"] body.woocommerce-cart .kbg-cart-content table.shop_table.cart td.actions{
    padding:18px!important;
    border-radius:20px!important;
    background:#f8fafb!important;
    border:1px solid #d6dee7!important;
    box-shadow:0 12px 28px rgba(15,23,42,.065)!important;
  }
  html[data-kbg-theme="light"] body.woocommerce-cart .kbg-cart-content table.shop_table.cart td.actions:before{
    margin:0 0 14px!important;
    color:#111827!important;
    font-size:18px!important;
    line-height:1.15!important;
    font-weight:950!important;
  }
  html[data-kbg-theme="light"] body.woocommerce-cart .kbg-cart-content table.shop_table.cart td.actions .coupon{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:10px!important;
    width:100%!important;
  }
  html[data-kbg-theme="light"] body.woocommerce-cart .kbg-cart-content table.shop_table.cart td.actions .coupon .input-text{
    width:100%!important;
    min-width:0!important;
    height:54px!important;
    min-height:54px!important;
    padding:0 16px!important;
    border-radius:15px!important;
    background:#fff!important;
    border:1px solid #cbd5e1!important;
    color:#111827!important;
    -webkit-text-fill-color:#111827!important;
    font-size:15px!important;
    box-shadow:inset 0 1px 2px rgba(15,23,42,.035)!important;
  }
  html[data-kbg-theme="light"] body.woocommerce-cart .kbg-cart-content table.shop_table.cart td.actions .coupon .button{
    width:100%!important;
    min-width:0!important;
    height:54px!important;
    min-height:54px!important;
    margin:0!important;
    padding:0 16px!important;
    border-radius:15px!important;
    background:#f32f3a!important;
    color:#fff!important;
    font-size:12px!important;
    font-weight:950!important;
    letter-spacing:.025em!important;
    box-shadow:0 10px 22px rgba(243,47,58,.18)!important;
  }
  html[data-kbg-theme="light"] body.woocommerce-cart .kbg-cart-content table.shop_table.cart td.actions>button[name="update_cart"]{
    width:100%!important;
    min-height:50px!important;
    margin:12px 0 0!important;
    border-radius:15px!important;
    background:#e8edf2!important;
    border:1px solid #d5dce4!important;
    color:#818b99!important;
    font-size:11px!important;
    font-weight:900!important;
    box-shadow:none!important;
  }
  html[data-kbg-theme="light"] body.woocommerce-cart .kbg-cart-content table.shop_table.cart td.actions>button[name="update_cart"]:disabled{
    opacity:1!important;
    color:#aab2bd!important;
    background:#edf1f5!important;
  }
}

/* Light cart: shipping tariff label contrast only. */
html[data-kbg-theme="light"] body.woocommerce-cart .kbg-cart-content .cart_totals .kbg-shipping-rate-label strong{
  color:#111827!important;
  -webkit-text-fill-color:#111827!important;
}
html[data-kbg-theme="light"] body.woocommerce-cart .kbg-cart-content .cart_totals .kbg-shipping-rate-label small{
  color:#526173!important;
  -webkit-text-fill-color:#526173!important;
}
