/* Cart page (includes/cart-page.php, templates/cart/). Step bar styles come from checkout.css. */
.woocommerce-cart .gc-cart-head, .woocommerce-cart .gc-cart { max-width: 1120px; margin-left: auto; margin-right: auto; }
.gc-cart-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.gc-cart-head h1 { font-size: 36px; font-weight: 800; letter-spacing: -1px; line-height: 1.1; margin: 0 0 4px; color: #2A1D17; }
.gc-cart-head h1 em { font-style: normal; color: #FF7A1A; }
.gc-cart-count { font-size: 14px; color: #6F625B; }
.woocommerce-cart a.gc-cart-continue { font-size: 14px; font-weight: 700; color: #2A1D17; text-decoration: none; border-bottom: 2px solid #FF7A1A; padding-bottom: 2px; margin-bottom: 6px; white-space: nowrap; }

.gc-cart { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.woocommerce-cart .gc-cart .cart-collaterals { width: auto; float: none; margin: 0; }
.woocommerce-cart .gc-cart .cart-collaterals .cart_totals { width: auto; float: none; }
.woocommerce-cart .gc-cart::before, .woocommerce-cart .gc-cart::after, .woocommerce-cart .gc-cart .cart-collaterals::before, .woocommerce-cart .gc-cart .cart-collaterals::after { display: none; }

/* Theme defaults inside page content: no underlines, no list indent, no Kadence "Cart Summary" heading. */
.woocommerce-cart .entry-content .gc-cart a, .woocommerce-cart .entry-content .gc-cart-head a { text-decoration: none !important; }
.woocommerce-cart .gc-cart-form .cart-summary { display: none; }
body.woocommerce-cart .content-area { margin-top: 32px; }
.woocommerce-cart .woocommerce-notices-wrapper { max-width: 1120px; margin: 0 auto; }
.woocommerce-cart .woocommerce-notices-wrapper .woocommerce-message, .woocommerce-cart .woocommerce-notices-wrapper .woocommerce-info { background: #F7F7F7; border: 0; border-radius: 14px; padding: 12px 18px; font-size: 14px; color: #2A1D17; margin: 0 0 16px; }
.woocommerce-cart .woocommerce-notices-wrapper .woocommerce-message::before, .woocommerce-cart .woocommerce-notices-wrapper .woocommerce-info::before { display: none; }
.woocommerce-cart .woocommerce-notices-wrapper .woocommerce-message a { color: #2A1D17; font-weight: 700; text-decoration: none; border-bottom: 1px solid #FF7A1A; }

/* Free-delivery progress */
.gc-cart-free { background: #F7F7F7; border-radius: 16px; padding: 14px 18px; margin-bottom: 14px; }
.woocommerce-cart .gc-cart-free p { margin: 0; font-size: 14px; color: #2A1D17; }
.gc-cart-free strong { font-weight: 800; }
.gc-cart-bar { height: 6px; border-radius: 6px; background: #ECECEC; margin-top: 10px; overflow: hidden; }
.gc-cart-bar span { display: block; height: 100%; background: #FF7A1A; border-radius: 6px; transition: width .3s ease; }

/* Items */
.gc-cart-item { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid #ECECEC; }
.gc-cart-item:first-child { border-top: 1px solid #ECECEC; }
.gc-cart-thumb { width: 88px; height: 88px; border-radius: 14px; background: #F5F5F5; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.gc-cart-thumb img { width: 92%; height: 92%; object-fit: contain; mix-blend-mode: multiply; margin: 0; }
.gc-cart-info { display: flex; flex-direction: column; min-width: 0; }
.woocommerce-cart .gc-cart-name { font-size: 16px; font-weight: 700; line-height: 1.3; color: #2A1D17; text-decoration: none; }
.woocommerce-cart a.gc-cart-name:hover { color: #FF7A1A; }
.gc-cart-meta, .gc-cart-unit { font-size: 13px; color: #6F625B; margin-top: 3px; line-height: 1.4; }
.gc-cart-unit .amount { font-weight: 500; }
.gc-cart-info dl.variation { display: none; }
.gc-cart-row { display: flex; align-items: center; gap: 14px; margin-top: 10px; }
.gc-cart-line { font-size: 17px; font-weight: 800; color: #2A1D17; white-space: nowrap; align-self: start; padding-top: 2px; }

/* Quantity: − input + */
.gc-cart .gc-qty { display: inline-flex; align-items: center; height: 36px; border: 1px solid #ECECEC; border-radius: 999px; background: #FFFFFF; }
.gc-cart .gc-qty-btn { width: 34px; height: 34px; padding: 0; border: 0; background: none; color: #2A1D17; font-size: 18px; line-height: 1; cursor: pointer; border-radius: 50%; }
.gc-cart .gc-qty-btn:hover { background: #F5F5F5; }
.gc-cart .gc-qty .quantity { margin: 0; }
.gc-cart .gc-qty input.qty { width: 30px; height: 34px; padding: 0; border: 0; background: none; box-shadow: none; text-align: center; font-size: 14px; font-weight: 700; color: #2A1D17; -moz-appearance: textfield; }
.gc-cart .gc-qty input.qty::-webkit-outer-spin-button, .gc-cart .gc-qty input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.woocommerce-cart .gc-cart .product-remove a.remove.gc-cart-rm { display: inline-flex; align-items: center; gap: 6px; width: auto; height: auto; font-size: 13px; font-weight: 500; line-height: 1; color: #6F625B !important; background: none !important; border-radius: 0; text-decoration: none; }
.woocommerce-cart .gc-cart .product-remove a.remove.gc-cart-rm:hover { color: #E8432E !important; }

/* Coupon (collapsed) and the hidden update button */
.gc-cart-actions { margin-top: 16px; }
.gc-cart-coupon summary { list-style: none; cursor: pointer; font-size: 14px; color: #6F625B; display: inline-block; }
.gc-cart-coupon summary::-webkit-details-marker { display: none; }
.gc-cart-coupon summary span { color: #2A1D17; font-weight: 700; border-bottom: 1px dashed #2A1D17; }
.gc-cart-coupon .coupon { display: flex; gap: 8px; margin-top: 10px; max-width: 360px; }
.gc-cart-coupon .coupon input { flex: 1; height: 42px; border: 1px solid #ECECEC; border-radius: 999px; padding: 0 16px; font-size: 14px; }
.woocommerce-cart .gc-cart-coupon .coupon .button { height: 42px; padding: 0 20px; border-radius: 999px; background: #2A1D17; color: #FFFFFF; font-size: 14px; font-weight: 700; }
.woocommerce-cart .gc-cart-actions .gc-cart-update { display: none; }

/* Order summary */
.gc-sum { background: #F7F7F7; border-radius: 20px; padding: 24px; }
.gc-sum h2 { font-size: 20px; font-weight: 800; margin: 0 0 12px; color: #2A1D17; }
.gc-sum-line { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; font-size: 15px; color: #2A1D17; }
.gc-sum-line small { display: block; font-size: 12px; color: #6F625B; margin-top: 2px; }
.gc-sum-line b { font-weight: 700; white-space: nowrap; }
.gc-sum-total { border-top: 1px solid #E4E4E4; margin-top: 6px; padding-top: 14px; font-size: 20px; font-weight: 800; }
.gc-sum-total strong { font-weight: 800; }
.woocommerce-cart .gc-sum .wc-proceed-to-checkout { padding: 16px 0 0; }
.woocommerce-cart .gc-sum .wc-proceed-to-checkout a.checkout-button { display: block; margin: 0; padding: 15px; border-radius: 999px; background: #FF7A1A; color: #2A1D17; font-size: 16px; font-weight: 800; text-align: center; text-decoration: none; }
.woocommerce-cart .gc-sum .wc-proceed-to-checkout a.checkout-button::after { content: " →"; }
.woocommerce-cart .gc-sum .wc-proceed-to-checkout a.checkout-button:hover { background: #F26B0C; }
.woocommerce-cart a.gc-sum-wa { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 12px; font-size: 14px; font-weight: 700; color: #2A1D17; text-decoration: none; }
.gc-sum-wa .gc-wa-icon { width: 16px; height: 16px; color: #1A9E4B; }

/* Empty cart */
.woocommerce-cart .cart-empty.woocommerce-info { background: #F7F7F7; border: 0; border-radius: 16px; color: #2A1D17; max-width: 1120px; margin: 0 auto 16px; }
.woocommerce-cart .return-to-shop { max-width: 1120px; margin: 0 auto; }
.woocommerce-cart .return-to-shop .button { border-radius: 999px; background: #FF7A1A; color: #2A1D17; font-weight: 800; padding: 14px 26px; }

@media (max-width: 767px) {
	body.woocommerce-cart .content-area { margin-top: 20px; }
	.gc-cart-head h1 { font-size: 28px; }
	.woocommerce-cart a.gc-cart-continue { display: none; }
	.gc-cart { grid-template-columns: 1fr; gap: 20px; }
	.gc-cart-item { grid-template-columns: 72px minmax(0, 1fr) auto; gap: 12px; }
	.gc-cart-thumb { width: 72px; height: 72px; }
	.woocommerce-cart .gc-cart-name { font-size: 15px; }
	.gc-cart-line { font-size: 16px; }
	.woocommerce-cart .gc-cart .product-remove a.remove.gc-cart-rm { width: 36px; height: 36px; justify-content: center; border: 1px solid #ECECEC; border-radius: 50%; }
	.woocommerce-cart .gc-cart .product-remove a.remove.gc-cart-rm span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.gc-sum { padding: 20px; }
}
