/* Cart + checkout UX (dazzlot-core/inc/checkout-ux.php). Brand: #C2185B primary, #2B1630 ink, #F6F3F8 tint. */

.dz-item-weight { margin-top: 4px; font-size: 13px; color: #6b6470; }
.dz-weight-row td, .dz-ship-later td { color: #2B1630; }
.dz-ship-later td { font-size: 13px; color: #6b6470; }

.dz-we-accept { margin-top: 18px; padding-top: 16px; border-top: 1px solid #eee7ef; }
.dz-we-accept-title { margin: 0 0 8px; text-align: left; font-weight: 600; color: #2B1630; }
.dz-pay-strip { display: block; max-width: 100%; height: auto; }

/* Shipping method step */
.dz-co-section { margin-top: 28px; }
.dz-co-title { margin: 0 0 14px; font-size: 22px; color: #2B1630; }
.dz-ship-methods { display: grid; gap: 12px; }
.dz-ship-card { display: block; position: relative; padding: 14px 16px 14px 44px; border: 1.5px solid #e6e0e8; border-radius: 8px; cursor: pointer; background: #fff; transition: border-color .15s; }
.dz-ship-card.is-selected { border-color: #C2185B; box-shadow: 0 0 0 1px #C2185B inset; }
.dz-ship-card input { position: absolute; left: 16px; top: 18px; margin: 0; accent-color: #C2185B; }
.dz-ship-head { display: flex; justify-content: space-between; gap: 12px; font-weight: 600; color: #2B1630; }
.dz-ship-price { color: #C2185B; white-space: nowrap; }
.dz-ship-facts { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 6px; font-size: 13px; color: #6b6470; }
.dz-ship-facts strong { color: #2B1630; }
.dz-ship-empty { margin: 0; padding: 14px 16px; border: 1px dashed #d9cfdc; border-radius: 8px; color: #6b6470; }

/* Payment methods as cards */
.woocommerce-checkout #payment ul.payment_methods { border: 0; padding: 0; }
.woocommerce-checkout #payment ul.payment_methods > li.wc_payment_method { margin: 0 0 12px; padding: 14px 16px; border: 1.5px solid #e6e0e8; border-radius: 8px; background: #fff; list-style: none; }
.woocommerce-checkout #payment ul.payment_methods > li.wc_payment_method:has(> input:checked) { border-color: #C2185B; box-shadow: 0 0 0 1px #C2185B inset; }
.woocommerce-checkout #payment ul.payment_methods > li > label { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; font-weight: 600; color: #2B1630; }
/* Payment tiles (checkout-ux.js adds .dz-has-tiles; without JS the radio list above stays as is) */
.dz-pay-tiles { display: grid; grid-template-columns: repeat(var(--dz-tiles, 4), minmax(0, 1fr)); gap: 10px; margin: 0 0 16px; }
.dz-pay-tiles .dz-pay-tile { display: flex; align-items: center; justify-content: center; gap: 8px; height: 58px; margin: 0; padding: 0 8px; border: 1.5px solid #e6e0e8; border-radius: 8px; background: #fff !important; color: #2B1630 !important; font-size: 15px; font-weight: 700; text-transform: none; box-shadow: none; cursor: pointer; }
.dz-pay-tiles .dz-pay-tile[hidden] { display: none; }
.dz-pay-tiles .dz-pay-tile:hover { border-color: #C2185B; }
.dz-pay-tiles .dz-pay-tile.is-selected { border-color: #C2185B; box-shadow: 0 0 0 1px #C2185B inset; }
.dz-pay-tile img { width: auto; max-width: 100%; max-height: 30px; }
.dz-has-tiles #payment ul.payment_methods > li.wc_payment_method { margin: 0; padding: 0; border: 0; box-shadow: none; background: none; }
.dz-has-tiles #payment ul.payment_methods > li > input.input-radio,
.dz-has-tiles #payment ul.payment_methods > li > label,
.dz-has-tiles #payment .payment_box.payment_method_ppcp-gateway,
.dz-has-tiles #wc-stripe-express-checkout-button-separator { display: none !important; }
.dz-has-tiles #payment .payment_box { margin: 0 0 12px; }
.dz-has-tiles #payment .payment_box::before { display: none; }
.dz-pay-wallet #payment .payment_box,
.dz-pay-wallet #place_order,
.dz-pay-wallet .ppc-button-wrapper { display: none !important; }
#wc-stripe-express-checkout-element.dz-ece-parked { position: absolute !important; left: -10000px; top: 0; width: 360px; }
#wc-stripe-express-checkout-element[data-dz-show="applepay"] #wc-stripe-express-checkout-element-googlePay,
#wc-stripe-express-checkout-element[data-dz-show="googlepay"] #wc-stripe-express-checkout-element-applePay { display: none !important; }
#wc-stripe-express-checkout-element:not(.dz-ece-parked) { margin: 0 0 14px !important; }
@media (max-width: 767px) {
	.dz-pay-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.dz-gw-icons { display: inline-flex; flex-wrap: wrap; gap: 4px; }
.dz-gw-icons .dz-pay-strip { max-height: 22px; width: auto; }
.dz-duty-badge { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 10px; background: #e6f4ea; color: #1e7b3a; font-size: 12px; font-weight: 700; vertical-align: middle; }
.woocommerce-shipping-totals .dz-duty-badge { margin: 4px 0 0; }

/* Order summary */
.woocommerce-checkout-review-order-table .dz-coupon-row td { padding-top: 14px; padding-bottom: 14px; }
.dz-coupon-box { display: flex; gap: 8px; }
.dz-coupon-box .dz-coupon-input { flex: 1; min-width: 0; height: 42px; }
.dz-coupon-box .dz-coupon-apply { height: 42px; padding: 0 18px; border: 1.5px solid #C2185B; background: #fff; color: #C2185B; }
.dz-coupon-box .dz-coupon-apply:hover { background: #C2185B; color: #fff; }
.woocommerce-checkout-review-order-table .woocommerce-shipping-methods { margin: 0; }
.dz-summary-extra td { padding-top: 16px !important; text-align: left !important; }
.woocommerce-checkout .woocommerce-form-coupon-toggle, .woocommerce-checkout form.checkout_coupon { display: none !important; }
.dz-saved-note { margin: 0 0 12px; padding: 10px 12px; background: #F6F3F8; color: #C2185B; border-radius: 6px; font-weight: 600; }
.dz-place-proxy { width: 100%; height: 50px; border-radius: 6px; background: #C2185B !important; color: #fff !important; font-size: 16px; }
.dz-place-proxy:hover { background: #9C1048 !important; }
.dz-summary-trust { margin: 18px 0 0; padding: 0; list-style: none; font-size: 13px; line-height: 1.5; color: #6b6470; }
.dz-summary-trust li { margin: 0 0 10px; padding-left: 22px; position: relative; }
.dz-summary-trust li::before { content: "\2713"; position: absolute; left: 0; color: #1f9d55; font-weight: 700; }
.dz-summary-trust strong { display: block; color: #2B1630; }

/* Exit-intent offer */
.dz-exit-overlay { position: fixed; inset: 0; z-index: 99999; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(43, 22, 48, .55); }
.dz-exit-box { position: relative; width: 100%; max-width: 480px; padding: 32px 28px 26px; border-radius: 12px; background: #fff; text-align: center; box-shadow: 0 20px 60px rgba(0, 0, 0, .25); }
.dz-exit-box h3 { margin: 0 0 8px; font-size: 22px; color: #2B1630; }
.dz-exit-offer { margin: 0 0 18px; color: #C2185B; font-weight: 600; font-size: 17px; }
.dz-exit-ticket { display: flex; flex-direction: column; gap: 4px; margin: 0 auto 22px; padding: 16px; border: 2px dashed #C2185B; border-radius: 10px; background: #F6F3F8; }
.dz-exit-pct { font-size: 30px; font-weight: 800; color: #C2185B; letter-spacing: .5px; }
.dz-exit-note { font-size: 13px; color: #6b6470; }
.dz-exit-actions { display: flex; gap: 12px; }
.dz-exit-overlay .dz-exit-actions button { flex: 1; height: 46px; padding: 0 12px; border-radius: 23px !important; font-weight: 600; font-size: 15px; text-transform: none; cursor: pointer; box-shadow: none; }
.dz-exit-overlay .dz-exit-leave { border: 1.5px solid #C2185B !important; background: #fff !important; color: #C2185B !important; }
.dz-exit-overlay .dz-exit-keep { border: 0 !important; background: #C2185B !important; color: #fff !important; }
.dz-exit-overlay .dz-exit-keep:hover { background: #9C1048 !important; }
.dz-exit-overlay .dz-exit-close { position: absolute; top: 8px; right: 10px; width: 36px; height: 36px; padding: 0; border: 0 !important; background: none !important; font-size: 26px; line-height: 1; color: #9a909e !important; cursor: pointer; box-shadow: none; }

@media (max-width: 767px) {
	.dz-ship-head { flex-direction: column; gap: 2px; }
	.dz-exit-box { padding: 26px 18px 20px; }
}
