/* ==========================================================================
   WooCommerce Checkout + Cart — lomina
   פריסה/מבנה 1:1 מ-עולם היין, צבעים: lomina (שחור/אפור), RTL.
   נטען ב-is_checkout() / is_cart().
   ========================================================================== */

.nzm-co {
	max-width: 1340px;
	margin: 0 auto;
	padding: 28px 24px 60px;
	direction: rtl;
	font-family: var(--nzm-header-font, "Heebo", sans-serif);
}
.nzm-co__cols { display: flex; align-items: flex-start; gap: clamp(40px, 7vw, 90px); }
.nzm-co__main { flex: 1 1 auto; min-width: 0; }
.nzm-co__aside { flex: 0 0 410px; }

/* ── steps ── */
.nzm-co__steps { display: flex; align-items: flex-start; justify-content: flex-start; margin-bottom: 28px; }
.nzm-co__step { display: flex; align-items: center; gap: 14px; }
.nzm-co__step-circle {
	width: 42px; height: 42px; border-radius: 50%;
	display: grid; place-items: center; border: 1px solid #c7c7c7; color: #000; background: #fff;
}
.nzm-co__step.is-active .nzm-co__step-circle { background: #000; border-color: #000; color: #fff; }
.nzm-co__step-label { font-size: 18px; color: #000; white-space: nowrap; }
.nzm-co__steps-dots { flex: 0 0 44px; align-self: flex-start; margin-top: 19px; margin-inline: 22px; border-top: 3px dotted #bbb; }

/* ── section heading (numbered) ── */
.nzm-co__sec-head { display: flex; align-items: center; gap: 12px; margin: 0 0 20px; }
.nzm-co__sec-num { width: 28px; height: 28px; border-radius: 50%; background: #000; color: #fff; display: grid; place-items: center; font-size: 17px; font-weight: 600; flex: 0 0 auto; }
.nzm-co__sec-title { font-weight: 600; font-size: clamp(22px, 2vw, 26px); color: #000; margin: 0; }

/* hide WC default headings (we use our own) */
.nzm-co .woocommerce-billing-fields > h3,
.nzm-co .woocommerce-additional-fields > h3 { display: none; }
.nzm-co #ship-to-different-address { font-size: 17px; font-weight: 600; color: #000; margin: 22px 0 12px; }

/* ── fields grid ── */
.nzm-co .woocommerce-billing-fields__field-wrapper,
.nzm-co .woocommerce-shipping-fields__field-wrapper,
.nzm-co .woocommerce-additional-fields__field-wrapper {
	display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px;
}
.nzm-co .form-row { margin: 0; padding: 0; min-width: 0; }
.nzm-co .form-row-wide,
.nzm-co .notes,
.nzm-co #order_comments_field { grid-column: 1 / -1; }
.nzm-co .form-row-first,
.nzm-co .form-row-last { grid-column: span 1; }
.nzm-co label { display: block; font-size: 15px; color: #000; margin-bottom: 6px; font-weight: 500; }
.nzm-co .required { color: #000; text-decoration: none; border: none; }
.nzm-co .input-text,
.nzm-co select,
.nzm-co textarea,
.nzm-co .select2-selection {
	width: 100%; height: 48px; border: 1px solid #cfcfcf !important; border-radius: 4px;
	padding: 0 14px; font-size: 17px; color: #222; background: #fff; box-sizing: border-box;
}
.nzm-co textarea { height: 84px; padding: 12px 14px; line-height: 1.4; }
.nzm-co .input-text:focus,
.nzm-co select:focus,
.nzm-co textarea:focus { outline: none; border-color: #000 !important; }
/* select2 (country) alignment */
.nzm-co .select2-container .select2-selection--single { display: flex; align-items: center; }
.nzm-co .select2-container--default .select2-selection--single .select2-selection__arrow { height: 46px; inset-inline-start: 6px; inset-inline-end: auto; }

/* ── order summary card (aside) ── */
.nzm-co__summary { border: 1px solid #e0e0e0; border-top: 4px solid #000; border-radius: 10px; overflow: hidden; }
.nzm-co__summary-title { text-align: center; font-weight: 600; font-size: clamp(22px, 2vw, 28px); color: #000; margin: 0 20px; padding: 20px 0 14px; border-bottom: 1px solid #eee; }
.nzm-co #order_review { padding: 6px 20px 20px; }

.woocommerce-checkout-review-order-table { width: 100%; border-collapse: collapse; margin: 0 0 10px; }
.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td { padding: 12px 0; font-size: 16px; text-align: right; border-bottom: 1px solid #f0f0f0; color: #000; }
.woocommerce-checkout-review-order-table .product-name { font-weight: 500; }
.woocommerce-checkout-review-order-table .product-total { text-align: left; white-space: nowrap; font-weight: 700; }
.woocommerce-checkout-review-order-table tfoot th { font-weight: 500; }
.woocommerce-checkout-review-order-table .order-total th,
.woocommerce-checkout-review-order-table .order-total td { font-size: 22px; font-weight: 800; border-bottom: none; padding-top: 16px; }

/* payment box */
#payment { background: transparent !important; border-radius: 0; }
#payment ul.payment_methods { border: none !important; padding: 10px 0 !important; margin: 0 !important; }
#payment .payment_box { background: #f7f7f7 !important; border-radius: 8px; }
#payment .payment_box::before { display: none; }
.woocommerce-privacy-policy-text { font-size: 13px; color: #666; }

/* place order button — black pill */
.nzm-co #place_order,
.woocommerce #payment #place_order {
	width: 100%; height: 56px; background: #000 !important; color: #fff !important;
	border: none !important; border-radius: 60px !important; font-weight: 700; font-size: 22px;
	cursor: pointer; margin-top: 12px; transition: opacity 0.2s ease; float: none;
}
.nzm-co #place_order:hover { opacity: 0.86; }

.nzm-co__secure { text-align: center; font-size: 16px; color: #000; margin: 18px 0 0; }

/* coupon (checkout toggle) */
.checkout_coupon { border: 1px solid #e0e0e0 !important; border-radius: 8px; }
.checkout_coupon .button,
.woocommerce-form-coupon .button { background: #000 !important; color: #fff !important; border-radius: 30px !important; }

/* ===================== CART ===================== */
.woocommerce-cart .woocommerce { max-width: 1340px; margin: 0 auto; padding: 28px 24px 60px; direction: rtl; }
.woocommerce-cart table.cart { border: 1px solid #e6e6e6; border-radius: 10px; border-collapse: separate; overflow: hidden; }
.woocommerce-cart table.cart th { background: #fafafa; color: #000; font-size: 15px; padding: 14px; text-align: right; }
.woocommerce-cart table.cart td { padding: 16px 14px; vertical-align: middle; border-top: 1px solid #f0f0f0; }
.woocommerce-cart table.cart img { width: 72px; border-radius: 6px; }
.woocommerce-cart .product-name a { color: #000; text-decoration: none; font-weight: 500; }
.woocommerce-cart .quantity .qty { height: 44px; border: 1px solid #cfcfcf; border-radius: 30px; text-align: center; width: 70px; }
.woocommerce-cart .coupon .input-text { height: 44px; border: 1px solid #cfcfcf; border-radius: 30px; padding: 0 14px; }
.woocommerce-cart .actions .button,
.woocommerce-cart .coupon .button { background: #000 !important; color: #fff !important; border-radius: 30px !important; height: 44px; }
.cart_totals { border: 1px solid #e0e0e0; border-top: 4px solid #000; border-radius: 10px; padding: 18px 20px; }
.cart_totals h2 { font-size: 24px; color: #000; margin: 0 0 12px; }
.cart_totals table { width: 100%; }
.cart_totals th, .cart_totals td { padding: 10px 0; font-size: 16px; text-align: right; color: #000; }
.cart_totals .order-total th, .cart_totals .order-total td { font-size: 22px; font-weight: 800; }
.wc-proceed-to-checkout .checkout-button {
	background: #000 !important; color: #fff !important; border-radius: 60px !important;
	height: 56px; display: flex !important; align-items: center; justify-content: center;
	font-size: 20px !important; font-weight: 700;
}

/* ===================== MOBILE ===================== */
@media (max-width: 980px) {
	.nzm-co__cols { flex-direction: column; gap: 30px; }
	.nzm-co__aside { flex: 1 1 auto; width: 100%; order: 3; }
	.nzm-co__steps { justify-content: center; flex-wrap: wrap; }
	.nzm-co__step { flex-direction: column; gap: 8px; width: 84px; text-align: center; }
	.nzm-co__step-label { font-size: 14px; }
	.nzm-co__steps-dots { flex-basis: 30px; margin-inline: 6px; margin-top: 20px; }
	.nzm-co .woocommerce-billing-fields__field-wrapper,
	.nzm-co .woocommerce-shipping-fields__field-wrapper { grid-template-columns: 1fr; }
	.nzm-co .form-row-first, .nzm-co .form-row-last { grid-column: 1 / -1; }
}
