/* Cart layout and product-image lightbox; isolated from variation and gift controls. */
@media(min-width:768px){
 body.woocommerce-cart .tc-cart-bottom-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;align-items:start;margin-top:22px}
 body.woocommerce-cart .tc-cart-bottom-grid>.tc-loyalty-cart{grid-column:1;margin:0!important;min-width:0}
 body.woocommerce-cart .tc-cart-bottom-grid>.cart-collaterals{grid-column:2;width:100%!important;float:none!important;min-width:0;margin:0!important}
 body.woocommerce-cart .tc-cart-bottom-grid .cart_totals{width:100%!important;float:none!important}
 body.woocommerce-cart .tc-cart-block-layout{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;align-items:start}
 body.woocommerce-cart .tc-cart-block-layout>.wc-block-cart__main{grid-column:1/-1;width:100%!important;max-width:none!important}
 body.woocommerce-cart .tc-cart-block-layout>.tc-loyalty-cart{grid-column:1;margin:0!important;min-width:0}
 body.woocommerce-cart .tc-cart-block-layout>.wc-block-cart__sidebar{grid-column:2;width:100%!important;max-width:none!important;margin:0!important}
 body.woocommerce-cart .woocommerce-cart-form td.product-thumbnail a{width:118px!important;max-width:118px!important;display:inline-block!important}
 body.woocommerce-cart .woocommerce-cart-form td.product-thumbnail img{width:118px!important;height:144px!important;max-width:none!important;object-fit:contain!important;border-radius:10px!important;cursor:zoom-in}
 body.woocommerce-cart .wc-block-cart-items__row .wc-block-cart-item__image img{width:112px!important;max-width:112px!important;height:auto!important;cursor:zoom-in}
}
@media(max-width:767px){body.woocommerce-cart .tc-cart-bottom-grid{display:flex;flex-direction:column;gap:16px}body.woocommerce-cart .tc-cart-bottom-grid>.tc-loyalty-cart,body.woocommerce-cart .tc-cart-bottom-grid>.cart-collaterals{width:100%!important;margin:0!important}body.woocommerce-cart .tc-cart-block-layout>.tc-loyalty-cart{margin:16px 0!important}body.woocommerce-cart .woocommerce-cart-form td.product-thumbnail img,body.woocommerce-cart .wc-block-cart-items__row .wc-block-cart-item__image img{cursor:zoom-in}}
.tc-cart-image-modal[hidden]{display:none!important}.tc-cart-image-modal{position:fixed;inset:0;z-index:999999;background:rgba(17,27,34,.82);display:flex;align-items:center;justify-content:center;padding:25px}.tc-cart-image-dialog{position:relative;max-width:min(92vw,820px);max-height:90vh;background:white;border-radius:16px;padding:28px 18px 18px;box-shadow:0 20px 65px rgba(0,0,0,.3)}.tc-cart-image-dialog img{display:block;max-width:100%;max-height:calc(90vh - 60px);width:auto;height:auto;object-fit:contain;margin:auto}.tc-cart-image-close{position:absolute;top:-16px;right:-14px;width:40px;height:40px;border:0;border-radius:50%;background:#fff;color:#1e343a;font-size:28px;line-height:1;box-shadow:0 2px 12px #0003;cursor:pointer}.tc-cart-image-open{overflow:hidden}
/* v1.6.109: loyalty and shipping left; summary and checkout right. */
body.woocommerce-cart .tc-cart-left{display:flex;flex-direction:column;gap:14px;min-width:0}
body.woocommerce-cart .tc-cart-shipping{border:1px solid #c9dddd;border-radius:16px;padding:17px;background:#f8fbfb;min-width:0}
body.woocommerce-cart .tc-cart-shipping h3{font-size:18px;margin:0 0 12px;color:#264d53}
body.woocommerce-cart .tc-cart-shipping .shop_table{margin:0!important;width:100%;background:transparent!important;border:0!important}
body.woocommerce-cart .tc-cart-shipping .shop_table th,body.woocommerce-cart .tc-cart-shipping .shop_table td{display:block!important;width:100%!important;padding:5px 0!important;border:0!important;text-align:left!important}
body.woocommerce-cart .tc-cart-shipping .woocommerce-shipping-methods{margin:0;padding:0;list-style:none}
body.woocommerce-cart .tc-cart-shipping .woocommerce-shipping-methods li{margin:7px 0}
@media(min-width:768px){body.woocommerce-cart .tc-cart-bottom-grid>.tc-cart-left{grid-column:1;grid-row:1}body.woocommerce-cart .tc-cart-bottom-grid>.cart-collaterals{grid-column:2;grid-row:1}body.woocommerce-cart .tc-cart-block-layout>.tc-cart-left{grid-column:1;grid-row:2}body.woocommerce-cart .tc-cart-block-layout>.wc-block-cart__sidebar{grid-column:2;grid-row:2}}
@media(max-width:767px){body.woocommerce-cart .tc-cart-bottom-grid>.tc-cart-left{width:100%;order:0}body.woocommerce-cart .tc-cart-bottom-grid>.cart-collaterals{order:1}body.woocommerce-cart .tc-cart-shipping{padding:13px}}

/* v1.6.110: keep the loyalty selector accessible and left column at the top. */
body.woocommerce-cart .tc-cart-left>.tc-loyalty-cart{display:block!important;position:relative;z-index:1;width:100%!important;pointer-events:auto!important}
body.woocommerce-cart .tc-cart-left>.tc-loyalty-cart select{pointer-events:auto!important;opacity:1!important;visibility:visible!important}
@media(max-width:767px){body.woocommerce-cart .tc-cart-bottom-grid>.tc-cart-left{display:flex!important;flex-direction:column!important;order:0!important}}

/* v1.6.120: native express payment between shipping and the totals heading. */
body.woocommerce-cart .tc-cart-wallets-before-total{clear:both;width:100%;margin:0 0 16px;box-sizing:border-box}
body.woocommerce-cart .tc-cart-wallets-before-total:empty{display:none}
