/* ==========================================================================
   1.8.374 — Cart page card. 1.8.375 sizing + navy/yellow buttons at end of file.
   Pairs with woocommerce/cart/cart.php + cart-totals.php overrides.
   ========================================================================== */
.cart-page { --c-navy: #0f143a; --c-yellow: #f3c91a; --c-red: #8f1c2c; --c-red-dk: #6e1522; --c-blue: #9ccaf5; --c-line: #e3e6ef; --c-ink2: #4a5070; --c-bg: #f5f6fa; }
.cart-page .page-hero h1 { white-space: nowrap; }
.cart-page > .section { background: var(--c-bg); padding-top: clamp(1.75rem, 4vw, 3rem); padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.cart-page .container.entry-content.idxcart-wrap { max-width: var(--container, 1180px); }
.cart-page .idxcart-wrap > .woocommerce { width: 100%; }

/* Notices */
.cart-page .woocommerce-notices-wrapper:not(:empty) { margin-bottom: 1rem; }
.cart-page .woocommerce-message, .cart-page .woocommerce-info, .cart-page .woocommerce-error {
	border-radius: 12px; border: 1px solid var(--c-line); border-left: 4px solid var(--c-navy); background: #fff; color: var(--c-navy); box-shadow: 0 10px 30px -24px rgba(15,20,58,.5);
}
.cart-page .woocommerce-error { border-left-color: var(--c-red); }

/* Card */
.idxcart-card {
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); gap: 0 2rem;
	background: #fff; border-radius: 18px; padding: clamp(1.25rem, 3vw, 2.5rem);
	border: 1px solid rgba(15,20,58,.08);
	box-shadow: 0 30px 60px -40px rgba(15,20,58,.55), 0 2px 6px rgba(15,20,58,.04);
	color: var(--c-navy);
}
.idxcart-card__head { grid-column: 1 / -1; margin-bottom: 1.25rem; }
.idxcart-eyebrow { display: inline-flex; align-items: center; gap: .6rem; margin: 0 0 .35rem; font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--c-red); }
.idxcart-eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--c-yellow); }
.idxcart-title { margin: 0; font-family: var(--font-head); font-weight: 600; font-size: clamp(1.75rem, 3.2vw, 2.6rem); line-height: 1.1; letter-spacing: -.01em; color: var(--c-navy); }
.idxcart-form { display: contents; }

/* Table */
.cart-page table.idxcart-table { grid-column: 1 / -1; width: 100%; margin: 0; border: 0 !important; border-collapse: collapse; border-radius: 0; background: none; }
.cart-page table.idxcart-table thead th {
	padding: .8rem .75rem; border: 0; border-bottom: 2px solid var(--c-navy); background: none;
	font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--c-navy); text-align: center; white-space: nowrap;
}
.cart-page table.idxcart-table thead th.product-name { text-align: left; }
.cart-page table.idxcart-table tbody td {
	padding: 1.1rem .75rem; border: 0; border-bottom: 1px solid var(--c-line); background: none;
	vertical-align: top; text-align: center; font-size: .95rem; color: var(--c-navy);
}
.cart-page table.idxcart-table tbody td.product-name { text-align: left; width: 28%; }
.cart-page table.idxcart-table tbody td.idxcart-cell-options { text-align: left; width: 26%; }
.idxcart-product__name { font-weight: 800; font-size: 1.02rem; line-height: 1.25; }
.idxcart-product__name a { color: var(--c-navy); text-decoration: none; }
.idxcart-product__name a:hover { color: var(--c-red); }
.idxcart-art { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .75rem; }
.idxcart-art__item { margin: 0; width: 96px; padding: 6px 6px 5px; border: 1px solid var(--c-line); border-radius: 10px; background: #fff; box-shadow: 0 6px 16px -12px rgba(15,20,58,.6); text-align: center; }
.idxcart-art__img { display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 1; overflow: hidden; border-radius: 6px; background: repeating-conic-gradient(#f0f2f7 0 25%, #fff 0 50%) 0 0 / 12px 12px; }
.cart-page .idxcart-art__img img { width: 100% !important; height: 100% !important; max-width: none; object-fit: contain; display: block; margin: 0; }
.idxcart-art__item figcaption { margin-top: 4px; font-size: .75rem; font-weight: 700; color: var(--c-navy); }
.idxcart-tile { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; background: linear-gradient(145deg, #0f143a, #272c67); color: #fff; border-radius: 6px; }
.idxcart-tile__brand { font-size: .6rem; font-weight: 800; letter-spacing: .18em; color: var(--c-yellow); }
.idxcart-tile__txt { font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; letter-spacing: .04em; }
.idxcart-cell-size { font-weight: 700; white-space: nowrap; }
.idxcart-muted { color: #a3a8c0; }
.idxcart-opts { margin: 0; display: grid; gap: 3px; font-size: .86rem; line-height: 1.35; }
.idxcart-opts__row { display: flex; flex-wrap: wrap; gap: 0 .4rem; }
.idxcart-opts dt { margin: 0; font-weight: 700; color: var(--c-ink2); white-space: nowrap; }
.idxcart-opts dt::after { content: ":"; }
.idxcart-opts dd { margin: 0; color: var(--c-navy); font-weight: 600; }
.idxcart-pill { display: inline-block; white-space: nowrap; margin-top: .5rem; padding: .2rem .6rem; border-radius: 999px; background: var(--c-yellow); color: var(--c-navy); font-size: .74rem; font-weight: 800; }
.idxcart-note { margin: .45rem 0 0; font-size: .78rem; line-height: 1.4; color: var(--c-ink2); }
.idxcart-price { display: block; font-weight: 800; font-size: 1.05rem; color: var(--c-navy); font-variant-numeric: tabular-nums; }
.idxcart-each { display: block; margin-top: 2px; font-size: .78rem; color: var(--c-ink2); white-space: nowrap; }

/* Quantity stepper */
.cart-page .product-quantity .quantity { display: inline-flex; align-items: stretch; margin: 0; border: 1.5px solid #c9cde0; border-radius: 10px; overflow: hidden; background: #fff; }
.cart-page .product-quantity .quantity input.qty {
	width: 3.2rem; min-height: 40px; margin: 0; padding: 0 .25rem; border: 0; border-radius: 0; background: #fff;
	text-align: center; font-size: 1rem; font-weight: 800; color: var(--c-navy); -moz-appearance: textfield; box-shadow: none;
}
.cart-page .product-quantity .quantity input.qty::-webkit-outer-spin-button,
.cart-page .product-quantity .quantity input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.idxcart-step__btn { width: 36px; border: 0; background: #f1f3f8; color: var(--c-navy); font-size: 1.15rem; font-weight: 800; line-height: 1; cursor: pointer; transition: background .15s, color .15s; }
.idxcart-step__btn:hover { background: var(--c-navy); color: #fff; }
.idxcart-step__btn:focus-visible, .idxcart-btn:focus-visible, .cart-page input:focus-visible { outline: 3px solid var(--c-yellow); outline-offset: 2px; }

/* Buttons */
.idxcart-btn, .cart-page a.idxcart-btn, .cart-page button.idxcart-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
	min-height: 36px; padding: .45rem 1rem; border: 0; border-radius: 8px;
	font: 600 .82rem/1.1 var(--font-head); letter-spacing: .04em; text-transform: uppercase; text-decoration: none;
	cursor: pointer; transition: background .15s, color .15s, transform .15s, box-shadow .15s;
}
.idxcart-btn:hover { transform: translateY(-1px); }
.cart-page .idxcart-cell-actions { white-space: nowrap; }
.cart-page td.product-remove .idxcart-btn { width: 92px; margin: 0 auto; }
.cart-page td.product-remove .idxcart-btn + .idxcart-btn { margin-top: .45rem; }
.cart-page td.product-remove { display: table-cell; }
.cart-page td.product-remove .idxcart-cell-actions-wrap { display: grid; }
.cart-page a.idxcart-btn--edit { background: var(--c-yellow); color: var(--c-navy); }
.cart-page table.cart td.product-remove a.remove.idxcart-btn--remove,
.cart-page a.remove.idxcart-btn--remove { display: flex; width: 92px; height: auto; background: var(--c-navy); color: #fff !important; font-size: .82rem; border-radius: 8px; } /* 1.8.422: base was red (always overridden below by the navy outline style) */
.cart-page td.product-remove { vertical-align: top; }
.cart-page td.product-remove > a { margin-left: auto; margin-right: auto; }
.cart-page button.idxcart-btn--navy { background: var(--c-navy); color: #fff; }
.cart-page a.idxcart-btn--ghost { background: #fff; color: var(--c-navy); box-shadow: inset 0 0 0 2px var(--c-navy); }
.cart-page .wc-proceed-to-checkout a.checkout-button.idxcart-btn--primary,
.woocommerce-cart .cart-page .wc-proceed-to-checkout a.checkout-button.button.alt {
	display: inline-flex; margin: 0; padding: .8rem 1.8rem; min-height: 50px; font-size: .95rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
	border: 0 !important; border-radius: 10px !important;
}

/* Footer: coupon (left) | totals (right) */
.idxcart-actions { grid-column: 1; align-self: start; padding: 1.25rem 0 0; text-align: left; }
.cart-page .idxcart-update { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; }
.idxcart-coupon { display: inline-block; max-width: 100%; }
.idxcart-coupon summary { display: inline-flex; align-items: center; gap: .45rem; cursor: pointer; list-style: none; font-weight: 700; font-size: .9rem; color: var(--c-navy); text-decoration: underline; text-underline-offset: 3px; }
.idxcart-coupon summary::-webkit-details-marker { display: none; }
.idxcart-coupon summary::before { content: "+"; display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; background: var(--c-yellow); color: var(--c-navy); font-weight: 800; text-decoration: none; }
.idxcart-coupon[open] summary::before { content: "–"; }
.cart-page .idxcart-coupon .coupon { display: flex; gap: .5rem; margin-top: .7rem; float: none; }
.cart-page .idxcart-coupon .coupon input#coupon_code { width: 220px; max-width: 100%; min-height: 40px; padding: .4rem .75rem; border: 1.5px solid #c9cde0; border-radius: 8px; font-size: .95rem; color: var(--c-navy); background: #fff; }

.idxcart-collaterals { grid-column: 2; padding-top: 1.25rem; }
.cart-page .cart-collaterals .cart_totals { float: none; width: 100%; }
.cart-page table.idxcart-sum { width: 100%; margin: 0 0 1rem; border: 0; border-collapse: collapse; background: none; }
.cart-page table.idxcart-sum th, .cart-page table.idxcart-sum td { padding: .5rem 0; border: 0; background: none; font-size: .92rem; color: var(--c-navy); vertical-align: top; }
.cart-page table.idxcart-sum th { text-align: left; font-weight: 600; color: var(--c-ink2); padding-right: 1rem; }
.cart-page table.idxcart-sum td { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.cart-page table.idxcart-sum tr.order-total th, .cart-page table.idxcart-sum tr.order-total td { padding-top: .85rem; border-top: 2px solid var(--c-navy); font-size: 1.35rem; font-weight: 800; color: var(--c-navy); }
.cart-page table.idxcart-sum tr.order-total th { font-family: var(--font-display); }
.cart-page table.idxcart-sum .woocommerce-shipping-methods { margin: 0; padding: 0; list-style: none; }
.cart-page table.idxcart-sum .woocommerce-shipping-methods li { margin: 0 0 .25rem; }
.cart-page table.idxcart-sum .woocommerce-shipping-methods label { font-weight: 700; }
.cart-page table.idxcart-sum .woocommerce-shipping-destination, .cart-page table.idxcart-sum .woocommerce-shipping-contents { margin: .25rem 0 0; font-size: .78rem; font-weight: 500; color: var(--c-ink2); }
.cart-page table.idxcart-sum .shipping-calculator-button { font-size: .8rem; font-weight: 700; color: var(--c-navy); }
.cart-page table.idxcart-sum .shipping-calculator-form { text-align: left; margin-top: .5rem; }
.cart-page table.idxcart-sum .shipping-calculator-form input, .cart-page table.idxcart-sum .shipping-calculator-form select { width: 100%; min-height: 38px; border: 1.5px solid #c9cde0; border-radius: 8px; padding: .3rem .6rem; }
.cart-page table.idxcart-sum .woocommerce-remove-coupon { color: var(--c-red); font-weight: 700; font-size: .8rem; }
.idxcart-buttons { display: flex; gap: .6rem; justify-content: flex-end; flex-wrap: wrap; padding: 0 !important; }
.idxcart-buttons .idxcart-btn { min-height: 50px; padding: .8rem 1.25rem; font-size: .9rem; border-radius: 10px; }

/* Cross-sells + empty cart */
.cart-page .cross-sells { margin-top: 2rem; }
.cart-page .cart-empty.woocommerce-info { text-align: center; font-weight: 700; }
.cart-page .return-to-shop { text-align: center; }
.cart-page .return-to-shop .button { background: #f3c91a; color: #0f143a; /* 1.8.422: was red */ border-radius: 10px; padding: .85rem 1.6rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; box-shadow: inset 0 -4px 0 var(--c-navy); }
.cart-page .blockUI.blockOverlay { border-radius: 18px; }

/* Tablet */
@media (max-width: 1023px) {
	.idxcart-card { grid-template-columns: minmax(0, 1fr); }
	.idxcart-actions, .idxcart-collaterals { grid-column: 1; }
	.idxcart-collaterals { padding-top: 1rem; }
}

/* Mobile: each line becomes a card */
@media (max-width: 760px) {
	.cart-page .page-hero h1 { font-size: clamp(2rem, 10vw, 2.6rem); }
	.idxcart-card { padding: 1.1rem; border-radius: 14px; }
	.cart-page table.idxcart-table thead { display: none; }
	.cart-page table.idxcart-table, .cart-page table.idxcart-table tbody { display: block; }
	.cart-page table.idxcart-table tbody tr.idxcart-row {
		display: grid; grid-template-columns: 1fr auto; gap: .55rem 1rem;
		margin: 0 0 .9rem; padding: 1rem; border: 1px solid var(--c-line); border-radius: 14px; background: #fff;
		box-shadow: 0 12px 28px -24px rgba(15,20,58,.6);
	}
	.cart-page table.idxcart-table tbody td { display: block; padding: 0; border: 0; text-align: left; width: auto !important; }
	.cart-page table.idxcart-table tbody td::before { display: none; }
	.cart-page table.idxcart-table tbody td.product-name { grid-column: 1 / -1; }
	.cart-page table.idxcart-table tbody td[data-title]:not(.product-name):not(.product-remove)::before {
		content: attr(data-title); display: block; margin-bottom: 2px; float: none;
		font-size: .66rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--c-ink2);
	}
	.cart-page table.idxcart-table tbody td.idxcart-cell-size { grid-column: 1; }
	.cart-page table.idxcart-table tbody td.product-subtotal { grid-column: 2; grid-row: 2; text-align: right; }
	.cart-page table.idxcart-table tbody td.idxcart-cell-options { grid-column: 1 / -1; }
	.cart-page table.idxcart-table tbody td.product-quantity { grid-column: 1; align-self: end; }
	.cart-page table.idxcart-table tbody td.product-remove { grid-column: 2; align-self: end; display: flex; gap: .45rem; justify-content: flex-end; }
	.cart-page td.product-remove .idxcart-btn + .idxcart-btn { margin-top: 0; }
	.cart-page td.product-remove .idxcart-btn, .cart-page a.remove.idxcart-btn--remove { width: auto; min-width: 76px; min-height: 40px; margin: 0; }
	.idxcart-art__item { width: 84px; }
	.idxcart-buttons { flex-direction: column-reverse; }
	.idxcart-buttons .idxcart-btn, .cart-page .wc-proceed-to-checkout a.checkout-button.idxcart-btn--primary { width: 100%; }
}

/* ==========================================================================
   1.8.375 — Refined sizing (~25% smaller) + navy/yellow buttons with
   slide-fill hover. No red buttons. Overrides the 1.8.374 rules above.
   ========================================================================== */
.cart-page { --c-navy-2: #272c67; --c-yellow-2: #ffd83d; --idxcart-ease: cubic-bezier(.2,.7,.2,1); }

/* Options + production pill */
.idxcart-opts { font-size: .76rem; gap: 2px; }
.idxcart-pill { margin-top: .4rem; padding: .14rem .5rem; font-size: .64rem; letter-spacing: .01em; }
.idxcart-note { font-size: .72rem; }

/* Price */
.idxcart-price { font-size: .9rem; }
.idxcart-each { font-size: .7rem; }

/* Qty stepper */
.cart-page .product-quantity .quantity { border-width: 1px; border-radius: 8px; }
.cart-page .product-quantity .quantity input.qty { width: 2.5rem; min-height: 32px; font-size: .85rem; }
.idxcart-step__btn { width: 28px; font-size: .95rem; }

/* Shared button base: slide-fill layer via background-size */
.cart-page a.idxcart-btn--edit, .cart-page a.idxcart-btn--ghost, .cart-page button.idxcart-btn--navy { background-repeat: no-repeat !important; background-position: left center !important; }
.idxcart-btn, .cart-page a.idxcart-btn, .cart-page button.idxcart-btn {
	min-height: 30px; padding: .32rem .8rem; border-radius: 7px; font-size: .68rem; letter-spacing: .05em;
	background-repeat: no-repeat; background-position: left center; background-size: 0% 100%;
	transition: background-size .35s var(--idxcart-ease), color .25s ease, box-shadow .25s ease, transform .25s var(--idxcart-ease);
}
.idxcart-btn:hover { transform: translateY(-2px); }
.idxcart-btn:active { transform: translateY(0); }

/* Row actions */
.cart-page td.product-remove .idxcart-btn,
.cart-page table.cart td.product-remove a.remove.idxcart-btn--remove,
.cart-page a.remove.idxcart-btn--remove { width: 76px; font-size: .68rem; border-radius: 7px; }
.cart-page td.product-remove .idxcart-btn + .idxcart-btn { margin-top: .35rem; }
/* Edit: yellow -> navy slide, yellow text */
.cart-page a.idxcart-btn--edit { background-color: var(--c-yellow); background-image: linear-gradient(var(--c-navy), var(--c-navy)); color: var(--c-navy); }
.cart-page a.idxcart-btn--edit:hover { background-color: var(--c-yellow); background-size: 100% 100%; color: var(--c-yellow); box-shadow: 0 8px 18px -10px rgba(15,20,58,.6); }
/* Remove: navy outline -> navy fill, white text */
.cart-page table.cart td.product-remove a.remove.idxcart-btn--remove,
.cart-page a.remove.idxcart-btn--remove { background-color: #fff; background-image: linear-gradient(var(--c-navy), var(--c-navy)); color: var(--c-navy) !important; box-shadow: inset 0 0 0 1.5px var(--c-navy); background-repeat: no-repeat; background-position: left center; background-size: 0% 100%; }
.cart-page table.cart td.product-remove a.remove.idxcart-btn--remove:hover,
.cart-page a.remove.idxcart-btn--remove:hover { background-color: #fff; background-size: 100% 100%; color: #fff !important; box-shadow: inset 0 0 0 1.5px var(--c-navy), 0 8px 18px -10px rgba(15,20,58,.6); }

/* Coupon apply: navy -> yellow slide */
.cart-page button.idxcart-btn--navy { min-height: 34px; background-color: var(--c-navy); background-image: linear-gradient(var(--c-yellow), var(--c-yellow)); color: #fff; }
.cart-page button.idxcart-btn--navy:hover { background-color: var(--c-navy); background-size: 100% 100%; color: var(--c-navy); }
.cart-page .idxcart-coupon .coupon input#coupon_code { min-height: 34px; font-size: .82rem; }
.idxcart-coupon summary { font-size: .8rem; }

/* Totals */
.cart-page table.idxcart-sum th, .cart-page table.idxcart-sum td { padding: .38rem 0; font-size: .8rem; }
.cart-page table.idxcart-sum tr.order-total th, .cart-page table.idxcart-sum tr.order-total td { padding-top: .65rem; font-size: 1.08rem; }
.cart-page table.idxcart-sum .woocommerce-shipping-destination, .cart-page table.idxcart-sum .woocommerce-shipping-contents { font-size: .7rem; }
.cart-page table.idxcart-sum .shipping-calculator-button { font-size: .72rem; }

/* Bottom buttons */
.idxcart-buttons { gap: .5rem; }
.cart-page .idxcart-buttons .idxcart-btn, .cart-page .idxcart-buttons a.idxcart-btn { min-height: 40px; padding: .55rem 1rem; font-size: .74rem; border-radius: 8px; }
/* Continue shopping: navy outline -> navy fill */
.cart-page a.idxcart-btn--ghost { background-color: #fff; background-image: linear-gradient(var(--c-navy), var(--c-navy)); color: var(--c-navy); box-shadow: inset 0 0 0 1.5px var(--c-navy); }
.cart-page a.idxcart-btn--ghost:hover { background-color: #fff; background-size: 100% 100%; color: #fff; box-shadow: inset 0 0 0 1.5px var(--c-navy), 0 10px 22px -12px rgba(15,20,58,.6); }
/* Checkout: yellow, navy text -> navy slides in, yellow text, lift */
.cart-page .wc-proceed-to-checkout a.checkout-button.idxcart-btn--primary,
.woocommerce-cart .cart-page .wc-proceed-to-checkout a.checkout-button.button.alt {
	min-height: 40px; padding: .55rem 1.35rem; font-size: .76rem; letter-spacing: .06em; border-radius: 8px !important;
	background: var(--c-yellow) linear-gradient(var(--c-navy), var(--c-navy)) no-repeat left center / 0% 100% !important;
	color: var(--c-navy) !important; box-shadow: 0 6px 16px -10px rgba(15,20,58,.55) !important;
	transition: background-size .35s var(--idxcart-ease), color .25s ease, box-shadow .25s ease, transform .25s var(--idxcart-ease);
}
.cart-page .wc-proceed-to-checkout a.checkout-button.idxcart-btn--primary:hover,
.cart-page .wc-proceed-to-checkout a.checkout-button.idxcart-btn--primary:focus-visible,
.woocommerce-cart .cart-page .wc-proceed-to-checkout a.checkout-button.button.alt:hover {
	background-size: 100% 100% !important; color: var(--c-yellow) !important; transform: translateY(-2px);
	box-shadow: 0 14px 26px -12px rgba(15,20,58,.7) !important;
}
.cart-page .wc-proceed-to-checkout a.checkout-button::after { content: "→"; display: inline-block; margin-left: .15rem; transition: transform .3s var(--idxcart-ease); }
.cart-page .wc-proceed-to-checkout a.checkout-button:hover::after { transform: translateX(3px); }

/* Empty cart: no red */
.cart-page .return-to-shop .button { background: var(--c-yellow); color: var(--c-navy); box-shadow: none; padding: .6rem 1.3rem; font-size: .8rem; border-radius: 8px; }
.cart-page .return-to-shop .button:hover { background: var(--c-navy); color: var(--c-yellow); }

/* Mobile: keep tap targets comfortable */
@media (max-width: 760px) {
	.cart-page td.product-remove .idxcart-btn, .cart-page a.remove.idxcart-btn--remove,
	.cart-page table.cart td.product-remove a.remove.idxcart-btn--remove { width: auto; min-width: 72px; min-height: 40px; font-size: .7rem; }
	.cart-page .product-quantity .quantity input.qty { min-height: 40px; width: 2.6rem; }
	.idxcart-step__btn { width: 36px; }
	.cart-page .idxcart-buttons a.idxcart-btn, .cart-page .wc-proceed-to-checkout a.checkout-button.idxcart-btn--primary { min-height: 44px; font-size: .78rem; }
}

@media (prefers-reduced-motion: reduce) {
	.cart-page .idxcart-btn, .cart-page a.idxcart-btn, .cart-page button.idxcart-btn, .idxcart-step__btn,
	.cart-page .wc-proceed-to-checkout a.checkout-button, .cart-page .wc-proceed-to-checkout a.checkout-button::after { transition: none !important; }
	.cart-page .idxcart-btn:hover, .cart-page .wc-proceed-to-checkout a.checkout-button:hover,
	.cart-page .wc-proceed-to-checkout a.checkout-button:hover::after { transform: none !important; }
}

/* 1.8.388 — the banner hero rules (.lfh.idxcart-hero) moved to assets/css/page-banner.css,
   shared with the shop page and product archives. Steps stay here. */

/* Step indicator — pill styling borrowed from .lfh__types */
.idxcart-steps { display: flex; align-items: center; gap: .35rem; margin: 0; padding: 0; list-style: none; counter-reset: none; flex-shrink: 0; }
.idxcart-steps li { display: inline-flex; align-items: center; gap: .45rem; margin: 0; padding: .32rem .8rem .32rem .35rem; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; background: rgba(15,20,58,.45); color: rgba(255,255,255,.85); font-size: .76rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; backdrop-filter: blur(4px); }
.idxcart-steps li + li::before { content: ""; order: -1; display: none; }
.idxcart-steps li:not(:last-child)::after { content: ""; display: none; }
.idxcart-steps li + li { position: relative; margin-left: 1.1rem; }
.idxcart-steps li + li > .idxcart-steps__n::before { content: ""; position: absolute; left: -1.25rem; top: 50%; width: .95rem; height: 2px; background: rgba(255,255,255,.4); }
.idxcart-steps__n { display: inline-flex; align-items: center; justify-content: center; width: 1.45rem; height: 1.45rem; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; font-size: .7rem; font-weight: 800; }
.idxcart-steps li.is-current { background: #f3c91a; border-color: #f3c91a; color: #0f143a; box-shadow: 0 6px 16px rgba(0,0,0,.25); }
.idxcart-steps li.is-current .idxcart-steps__n { background: #0f143a; color: #f3c91a; }

/* Card ~40px under the hero */
.cart-page > .section { padding-top: 40px; }

@media (max-width: 760px) {
	.idxcart-steps li { padding: .25rem .6rem .25rem .28rem; font-size: .66rem; }
	.idxcart-steps li + li { margin-left: .8rem; }
	.idxcart-steps li + li > .idxcart-steps__n::before { left: -.92rem; width: .65rem; }
	.idxcart-steps__n { width: 1.25rem; height: 1.25rem; font-size: .62rem; }
	.cart-page > .section { padding-top: 28px; }
}
@media (max-width: 360px) {
	.idxcart-steps li { font-size: .6rem; padding-right: .5rem; }
}

/* ==========================================================================
   1.8.378 — Hover fix. The 1.8.374 hover rules used the `background:` shorthand, which reset
   background-image to none on hover, so the navy slide layer vanished while the text turned
   white/yellow (blank button). Those rules are removed above; these pin the fill layer on every
   state, and beat WooCommerce's `.woocommerce .button:hover { background … !important }`.
   ========================================================================== */
.cart-page a.idxcart-btn--edit, .cart-page a.idxcart-btn--edit:hover, .cart-page a.idxcart-btn--edit:focus-visible,
.cart-page a.idxcart-btn--ghost, .cart-page a.idxcart-btn--ghost:hover, .cart-page a.idxcart-btn--ghost:focus-visible,
.cart-page table.cart td.product-remove a.remove.idxcart-btn--remove, .cart-page table.cart td.product-remove a.remove.idxcart-btn--remove:hover,
.cart-page a.remove.idxcart-btn--remove, .cart-page a.remove.idxcart-btn--remove:hover {
	background-image: linear-gradient(#0f143a, #0f143a) !important; background-repeat: no-repeat !important; background-position: left center !important;
}
.cart-page a.idxcart-btn--edit:hover, .cart-page a.idxcart-btn--edit:focus-visible { background-color: #f3c91a !important; background-size: 100% 100% !important; color: #f3c91a !important; }
.cart-page a.idxcart-btn--ghost:hover, .cart-page a.idxcart-btn--ghost:focus-visible { background-color: #fff !important; background-size: 100% 100% !important; color: #fff !important; }
.cart-page table.cart td.product-remove a.remove.idxcart-btn--remove:hover,
.cart-page a.remove.idxcart-btn--remove:hover, .cart-page a.remove.idxcart-btn--remove:focus-visible { background-color: #fff !important; background-size: 100% 100% !important; color: #fff !important; }
/* Apply (also has Woo's .button class) */
.woocommerce .cart-page button.button.idxcart-btn--navy, .cart-page button.button.idxcart-btn--navy {
	background: #0f143a linear-gradient(#f3c91a, #f3c91a) no-repeat left center / 0% 100% !important; color: #fff !important; border-radius: 7px !important;
}
.woocommerce .cart-page button.button.idxcart-btn--navy:hover, .cart-page button.button.idxcart-btn--navy:hover,
.cart-page button.button.idxcart-btn--navy:focus-visible { background-size: 100% 100% !important; color: #0f143a !important; }
/* Return to shop (empty cart): same slide as Checkout */
.woocommerce .cart-page .return-to-shop a.button, .cart-page .return-to-shop .button {
	background: #f3c91a linear-gradient(#0f143a, #0f143a) no-repeat left center / 0% 100% !important; color: #0f143a !important; border-radius: 8px !important;
	transition: background-size .35s var(--idxcart-ease), color .25s ease, transform .25s var(--idxcart-ease), box-shadow .25s ease;
}
.woocommerce .cart-page .return-to-shop a.button:hover, .cart-page .return-to-shop .button:hover,
.cart-page .return-to-shop .button:focus-visible { background-size: 100% 100% !important; color: #f3c91a !important; transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(15,20,58,.7); }
@media (prefers-reduced-motion: reduce) { .cart-page .return-to-shop .button { transition: none !important; } .cart-page .return-to-shop .button:hover { transform: none !important; } }
/* Checkout: pin the slide layer on hover too (old 1.8.374 red hover removed) */
/* 1.8.450 — navy fill + white label (was yellow text). */
.woocommerce-cart .cart-page .wc-proceed-to-checkout a.checkout-button.button.alt.idxcart-btn--primary:hover,
.woocommerce-cart .cart-page .wc-proceed-to-checkout a.checkout-button.button.alt.idxcart-btn--primary:focus-visible {
	background: #f3c91a linear-gradient(#0f143a, #0f143a) no-repeat left center / 100% 100% !important; color: #ffffff !important;
}
