/**
 * ZAI COFFEE — Cart, checkout and notices
 * -----------------------------------------------------------------------------
 * Scoped to the cart, checkout, order-received and order-pay views (see
 * zai_is_commerce_page() in inc/assets.php).
 *
 * Layout approach: WooCommerce renders its own markup, and the two-column
 * compositions are built from the siblings it already emits.
 *
 *   Cart:     .woocommerce > form.woocommerce-cart-form + .cart-collaterals
 *   Checkout: form.woocommerce-checkout > #customer_details + #order_review
 *
 * No template override is involved. All values resolve through 01-tokens.css.
 *
 * @package zaicoffeetheme
 * @since   1.4.0
 */

/* ==========================================================================
   1. Page shell
   -----------------------------------------------------------------------------
   .zai-commerce is a BODY class (added in inc/theme-supports.php), so selectors
   below are scoped as `body.zai-commerce <descendant>` or `.zai-commerce .x`.
   The page container itself comes from page.php (.zai-container.zai-section).
   ========================================================================== */

.zai-commerce .entry-content--commerce {
	min-width: 0;
}

/* WooCommerce's shortcode wrapper is the flex/grid context. */
.zai-commerce .woocommerce {
	min-width: 0;
}

/*
 * ROOT CAUSE (Phase 8) — the BİLGİ label overlapped the message text.
 *
 * WooCommerce's own woocommerce.css sets:
 *   .woocommerce-info::before { position:absolute; top:1em; left:1.5em;
 *                               font-family:WooCommerce; content:"\e028" }
 * and reserves space for that absolutely positioned glyph with
 *   padding: 1em 2em 1em 3.5em.
 *
 * The theme previously overrode only `display` and `margin-block-end` on the
 * pseudo-element, leaving `position:absolute` in force. The label was therefore
 * painted ON TOP of the notice text at WooCommerce's hard-coded offset, which is
 * exactly what the owner's screenshots showed on the My Account orders page.
 *
 * FIX — the label is moved into normal document flow and the notice becomes a
 * flex column with an explicit gap:
 *   - `position: static` plus offset resets, so the label can never float.
 *   - Stacked flow (label, then message, then any action button) means no two
 *     elements can share a coordinate and nothing can overlap.
 *   - `min-width: 0` and `overflow-wrap` let long text/emails wrap instead of
 *     overflowing, and buttons wrap onto their own row at narrow widths.
 *
 * A flex column is used rather than a two-column grid on purpose: WooCommerce's
 * notice bodies are bare TEXT NODES with an optional inline <a class="button">,
 * and anonymous text nodes make grid column placement unpredictable. Column flow
 * is deterministic for the success/notice/error shapes alike.
 *
 * No negative margins and no magic offsets. Colour is never the only signal:
 * the text label is retained, now sitting in its own flow row.
 */

.zai-commerce .woocommerce-message,
.zai-commerce .woocommerce-info,
.zai-commerce .woocommerce-error {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--zai-space-2);
	margin: 0 0 var(--zai-space-5);
	/* Reset WooCommerce's icon-driven 3.5em start indent. */
	padding: var(--zai-space-4) var(--zai-space-5);
	border: var(--zai-border-width) solid var(--zai-border-color);
	border-inline-start-width: 3px;
	border-radius: var(--zai-radius);
	background-color: var(--zai-bg-soft);
	width: auto;
	min-width: 0;
	font-family: var(--zai-font-body);
	font-size: var(--zai-fs-sm);
	line-height: var(--zai-lh-normal);
	color: var(--zai-text);
	/* Removes the error-list bullets. */
	list-style: none;
	overflow-wrap: anywhere;
}

/* The message text itself must be able to shrink and wrap. */
.zai-commerce .woocommerce-message > *,
.zai-commerce .woocommerce-info > * {
	min-width: 0;
	max-width: 100%;
}

.zai-commerce .woocommerce-message {
	border-inline-start-color: var(--zai-success);
	background-color: var(--zai-success-bg);
}

.zai-commerce .woocommerce-info {
	border-inline-start-color: var(--zai-notice);
	background-color: var(--zai-notice-bg);
}

.zai-commerce .woocommerce-error {
	border-inline-start-color: var(--zai-error);
	background-color: var(--zai-error-bg);
}

/*
 * Text label per type — redundant with colour on purpose.
 *
 * `position: static` and the offset resets ARE the bug fix: they stop
 * WooCommerce's absolute positioning from painting the label over the message.
 * The label is now a normal first child in the flow.
 */
.zai-commerce .woocommerce-error::before,
.zai-commerce .woocommerce-message::before,
.zai-commerce .woocommerce-info::before {
	position: static;
	inset: auto;
	top: auto;
	right: auto;
	bottom: auto;
	left: auto;
	display: block;
	float: none;
	flex: 0 0 auto;
	width: auto;
	height: auto;
	margin: 0;
	padding: 0;
	font-family: var(--zai-font-body);
	font-size: var(--zai-fs-eyebrow);
	font-weight: var(--zai-fw-semibold);
	line-height: var(--zai-lh-normal);
	letter-spacing: var(--zai-ls-caps);
	text-transform: uppercase;
	content: "";
}

.zai-commerce .woocommerce-error::before {
	content: "Hata";
	color: var(--zai-error);
}

.zai-commerce .woocommerce-message::before {
	content: "Tamam";
	color: var(--zai-success);
}

.zai-commerce .woocommerce-info::before {
	content: "Bilgi";
	color: var(--zai-notice);
}

/* Each error item is its own wrapping row. */
.zai-commerce .woocommerce-error li {
	width: 100%;
	min-width: 0;
	margin-block-end: 0;
	overflow-wrap: anywhere;
}

/*
 * Action buttons must never sit on top of the message text, so they occupy
 * their own flow row, are never squeezed, and wrap their label.
 */
.zai-commerce .woocommerce-message .button,
.zai-commerce .woocommerce-info .button,
.zai-commerce .woocommerce-error .button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	max-width: 100%;
	margin-inline-start: 0;
	margin-block-start: var(--zai-space-1);
	white-space: normal;
	text-align: center;
}


/* ==========================================================================
   3. Empty cart
   ========================================================================== */

.zai-cart-empty {
	max-width: 44rem;
	padding-block: var(--zai-space-6);
}

.zai-cart-empty__title {
	margin: 0 0 var(--zai-space-3);
	font-family: var(--zai-font-display);
	font-size: var(--zai-fs-h2);
	font-weight: var(--zai-fw-light);
	line-height: var(--zai-lh-tight);
	letter-spacing: var(--zai-ls-tighter);
	color: var(--zai-ink);
}

.zai-cart-empty__text {
	margin: 0 0 var(--zai-space-6);
	font-family: var(--zai-font-body);
	font-size: var(--zai-fs-md);
	line-height: var(--zai-lh-relaxed);
	color: var(--zai-text-muted);
}

.zai-cart-empty__actions {
	margin: 0;
}

/* The native "return to shop" paragraph is emptied by a filter; hide the shell. */
.zai-commerce .return-to-shop {
	display: none;
}

/* ==========================================================================
   4. Cart — two-column composition (classic shortcode cart only)
   --------------------------------------------------------------------------
   The classic cart is `.woocommerce-cart` and its shortcode output is wrapped in
   `form.woocommerce-cart-form` + `.cart-collaterals`.

   IMPORTANT: WooCommerce's cart BLOCK also renders a root element carrying the
   `.woocommerce` class. A bare `.zai-commerce .woocommerce` selector therefore
   matched the block cart too and forced it into this two-column grid, which
   split the block's own layout into fragments (the empty state and the
   cross-sell heading ended up in separate columns).

   These rules are now scoped to the classic markup so both implementations can
   coexist while the page content remains whatever the owner configured.
   ========================================================================== */

.zai-commerce .woocommerce-cart-form,
.zai-commerce .cart-collaterals,
.zai-commerce .woocommerce > form.woocommerce-cart-form,
.zai-commerce .woocommerce > .cart-collaterals {
	min-width: 0;
}

.zai-commerce form.woocommerce-cart-form {
	display: block;
}

/* Two columns only when the classic cart is actually in use. */
.zai-commerce .woocommerce:has(> form.woocommerce-cart-form) {
	display: grid;
	gap: var(--zai-space-8);
	grid-template-columns: minmax(0, 1fr);
	align-items: start;
}

/*
 * PHASE 8.2 ROOT CAUSE — the cart table and the totals were misaligned because
 * the shortcode wrapper has THREE children, not two:
 *
 *   <div class="woocommerce">
 *     <div class="woocommerce-notices-wrapper"></div>   <-- printed first
 *     <form class="woocommerce-cart-form"> … </form>
 *     <div class="cart-collaterals"> … </div>
 *   </div>
 *
 * With a two-track grid the notices wrapper claimed column 1, the product table
 * was pushed into column 2, and `.cart-collaterals` wrapped onto a second row —
 * exactly the owner's "product table incorrectly positioned / cart totals appear
 * detached / large empty spaces" screenshot.
 *
 * The wrapper is empty on a normal page load and exists only so WooCommerce can
 * inject notices, so collapsing it when it has no content removes the phantom
 * grid item entirely. When WooCommerce DOES print a notice the wrapper is
 * non-empty, stays in flow, and is told to span both tracks below so it can
 * never displace the columns again.
 *
 * NOTE: 10-shop.css already has `.woocommerce-notices-wrapper:empty{display:none}`
 * but that sheet is only enqueued on product archives, so it never applied here.
 */
.zai-commerce .woocommerce > .woocommerce-notices-wrapper:empty {
	display: none;
}

.zai-commerce .woocommerce > .woocommerce-notices-wrapper {
	grid-column: 1 / -1;
	grid-row: 1;
	min-width: 0;
}

/*
 * Explicit placement for the two real columns. Declaring the tracks by name is
 * what makes the layout immune to WooCommerce inserting an extra sibling.
 *
 * PHASE 8.2 NOTE — below 1024px the grid has a SINGLE track, so the cart table
 * and the totals must BOTH sit in column 1 and simply stack. Assigning
 * `grid-column: 2` unconditionally created an implicit second track at narrow
 * widths and forced a cramped two-column cart down to 390px. The side-by-side
 * placement is therefore declared only inside the 1024px breakpoint below.
 */
.zai-commerce .woocommerce:has(> form.woocommerce-cart-form) > form.woocommerce-cart-form {
	grid-column: 1;
	grid-row: 2;
	min-width: 0;
}

.zai-commerce .woocommerce:has(> form.woocommerce-cart-form) > .cart-collaterals {
	grid-column: 1;
	grid-row: 3;
	min-width: 0;
}

/*
 * Never impose the classic grid on the block cart, or on any page where the
 * block markup is present.
 */
.zai-commerce .woocommerce:has(.wp-block-woocommerce-cart) {
	display: block;
}

@media (min-width: 1024px) {
	/*
	 * 1.7fr table / 0.85fr summary, with a 300px floor on the summary so the
	 * totals table and the checkout CTA stay readable instead of collapsing.
	 */
	.zai-commerce .woocommerce:has(> form.woocommerce-cart-form) {
		grid-template-columns: minmax(0, 1.7fr) minmax(300px, 0.85fr);
		gap: var(--zai-space-8);
	}

	/*
	 * Side-by-side placement applies ONLY from 1024px, where the second track
	 * actually exists. Both columns start on the same row so their tops align.
	 */
	.zai-commerce .woocommerce:has(> form.woocommerce-cart-form) > form.woocommerce-cart-form {
		grid-column: 1;
		grid-row: 2;
	}

	.zai-commerce .woocommerce:has(> form.woocommerce-cart-form) > .cart-collaterals {
		grid-column: 2;
		grid-row: 2;
	}

	/* The summary is visually anchored to the right of its column. */
	.zai-commerce .woocommerce:has(> form.woocommerce-cart-form) > .cart-collaterals {
		position: sticky;
		top: calc(var(--zai-header-height-scrolled) + var(--zai-space-4));
		justify-self: stretch;
		align-self: start;
		min-width: 0;
	}

	/*
	 * PHASE 8.2 — release WooCommerce's float on the totals table.
	 *
	 * woocommerce-layout.css declares
	 *   .woocommerce .cart-collaterals .cart_totals,
	 *   .woocommerce-page .cart-collaterals .cart_totals { float:right; width:48% }
	 * (specificity 0,3,0). A rule on the wrapper alone cannot override it, so the
	 * totals box stayed floated at 48% of a ~300px column and rendered as a thin
	 * strip with its table crushed to a few characters per line.
	 *
	 * Targeting `.cart_totals` itself at 0,4,0 wins on specificity, so no
	 * !important is required.
	 */
	.zai-commerce .woocommerce:has(> form.woocommerce-cart-form) .cart-collaterals .cart_totals,
	.zai-commerce .woocommerce:has(> form.woocommerce-cart-form) .cart-collaterals .cart_totals table.shop_table {
		float: none;
		width: 100%;
		max-width: none;
		margin-inline: 0;
	}
}

/* Cart container: same 1440px measure the shop archive uses. */
.zai-commerce .entry-content--commerce > .woocommerce {
	max-width: 100%;
}

/* ==========================================================================
   5. Cart table
   ========================================================================== */

.zai-commerce table.shop_table {
	width: 100%;
	margin: 0;
	border: var(--zai-border-width) solid var(--zai-border-color);
	border-radius: var(--zai-radius);
	border-collapse: separate;
	border-spacing: 0;
	font-family: var(--zai-font-body);
	font-size: var(--zai-fs-sm);
	color: var(--zai-text);
}

.zai-commerce table.shop_table th {
	padding: var(--zai-space-3) var(--zai-space-4);
	border: 0;
	border-block-end: var(--zai-border-width) solid var(--zai-border-color);
	background-color: var(--zai-bg-soft);
	font-size: var(--zai-fs-eyebrow);
	font-weight: var(--zai-fw-semibold);
	letter-spacing: var(--zai-ls-caps);
	text-transform: uppercase;
	text-align: start;
	color: var(--zai-text-subtle);
}

.zai-commerce table.shop_table td {
	padding: var(--zai-space-4);
	border: 0;
	border-block-end: var(--zai-border-width) solid var(--zai-border-color);
	vertical-align: middle;
}

.zai-commerce table.shop_table tbody tr:last-child td {
	border-block-end: 0;
}

/* --- Product cell --------------------------------------------------------- */

.zai-commerce .cart_item .product-thumbnail img {
	width: 4.5rem;
	height: 5.625rem;
	object-fit: cover;
	border-radius: var(--zai-radius);
	background-color: var(--zai-surface);
}

.zai-commerce .cart_item .product-name a {
	font-family: var(--zai-font-display);
	font-size: var(--zai-fs-h6);
	font-weight: var(--zai-fw-medium);
	line-height: var(--zai-lh-snug);
	color: var(--zai-ink);
	text-decoration: none;
}

.zai-commerce .cart_item .product-name a:hover {
	color: var(--zai-green);
}

/* Variation / meta data under the product name. */
.zai-commerce .cart_item .variation {
	display: flex;
	flex-wrap: wrap;
	gap: var(--zai-space-1) var(--zai-space-2);
	margin: var(--zai-space-2) 0 0;
	font-size: var(--zai-fs-xs);
	color: var(--zai-text-muted);
}

.zai-commerce .cart_item .variation dt,
.zai-commerce .cart_item .variation dd {
	margin: 0;
	float: none;
}

.zai-commerce .cart_item .variation dt {
	font-weight: var(--zai-fw-semibold);
}

.zai-commerce .cart_item .variation p {
	margin: 0;
}

/* --- Quantity ------------------------------------------------------------- */

.zai-commerce .quantity .qty {
	width: 4rem;
	min-height: var(--zai-control-height-sm);
	padding: var(--zai-space-2);
	border: var(--zai-border-width) solid var(--zai-border-color-strong);
	border-radius: var(--zai-radius);
	font-family: var(--zai-font-body);
	font-size: var(--zai-fs-base);
	text-align: center;
	font-variant-numeric: tabular-nums;
	color: var(--zai-text);
}

.zai-commerce .quantity .qty:focus-visible {
	outline: var(--zai-focus-width) solid var(--zai-focus-color);
	outline-offset: var(--zai-focus-offset);
}

/* --- Remove link ---------------------------------------------------------- */

.zai-commerce .cart_item .product-remove a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: var(--zai-touch-target);
	height: var(--zai-touch-target);
	color: var(--zai-text-subtle);
	font-size: 1.25rem;
	line-height: 1;
	text-decoration: none;
	border-radius: var(--zai-radius);
	transition: color var(--zai-dur-fast) var(--zai-ease), background-color var(--zai-dur-fast) var(--zai-ease);
}

.zai-commerce .cart_item .product-remove a:hover {
	color: var(--zai-error);
	background-color: var(--zai-error-bg);
}

.zai-commerce .cart_item .product-remove a:focus-visible {
	outline: var(--zai-focus-width) solid var(--zai-focus-color);
	outline-offset: var(--zai-focus-offset);
}

/* --- Actions row (coupon + update) --------------------------------------- */

/*
 * The coupon/last row of the cart table.
 *
 * PHASE 8.2 — two real defects were fixed here:
 *
 * 1. The previous selector was `.cart_item td.actions`, but the actions cell is
 *    emitted in its OWN `<tr>` as `<td colspan="6" class="actions">`, so it has
 *    no `.cart_item` ancestor and none of those rules ever applied. That is the
 *    "coupon controls look disconnected" report.
 *
 * 2. The cell must keep `display: table-cell`. Making a <td> a flex container
 *    removes it from the table layout, and its `colspan="6"` is then ignored —
 *    the cell collapsed to the width of the first column and the controls
 *    stacked in that narrow strip. Alignment is therefore achieved with the
 *    children (inline-flex coupon + floated Update Cart) instead of by changing
 *    the cell's own display type.
 */
.zai-commerce table.shop_table td.actions {
	padding: var(--zai-space-5);
	border-block-start: var(--zai-border-width) solid var(--zai-border-color);
	background-color: var(--zai-bg-soft);
	text-align: start;
	vertical-align: middle;
}

.zai-commerce table.shop_table td.actions .coupon {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--zai-space-2);
	margin: 0;
	vertical-align: middle;
}

.zai-commerce table.shop_table td.actions .coupon .input-text {
	flex: 0 1 14rem;
	max-width: 20rem;
	min-height: var(--zai-control-height-sm);
	margin: 0;
}

.zai-commerce table.shop_table td.actions > .button,
.zai-commerce table.shop_table td.actions .coupon .button {
	min-height: var(--zai-control-height-sm);
}

/*
 * Update Cart is pinned to the inline end of the row so it reads as the row's
 * final action rather than trailing the coupon block.
 */
.zai-commerce table.shop_table td.actions > button.button[name="update_cart"] {
	float: inline-end;
	margin-inline-start: var(--zai-space-3);
}

/*
 * "Sepeti Boşalt" (clear cart).
 *
 * A quiet, outlined control rather than a second filled button: it is a
 * destructive action, so it must be findable without competing with the two
 * primary actions in this row (apply coupon, update cart).
 *
 * Both it and Update Cart are floated to the inline end. Floats stack from the
 * inline end inwards, so Update Cart — printed first by WooCommerce's template —
 * keeps the outermost position and this control sits immediately inside it,
 * separated by Update Cart's own `margin-inline-start`.
 */
.zai-commerce table.shop_table td.actions > .zai-cart-clear {
	float: inline-end;
	padding-inline: var(--zai-space-4);
	background-color: transparent;
	border-color: var(--zai-border-color-strong);
	color: var(--zai-text-muted);
	font-size: var(--zai-fs-xs);
	letter-spacing: var(--zai-ls-wide);
}

.zai-commerce table.shop_table td.actions > .zai-cart-clear:hover {
	background-color: var(--zai-error-bg);
	border-color: var(--zai-error);
	color: var(--zai-error);
}

.zai-commerce table.shop_table td.actions > .zai-cart-clear:focus-visible {
	outline: var(--zai-focus-width) solid var(--zai-focus-color);
	outline-offset: var(--zai-focus-offset);
}

.zai-commerce table.shop_table td.actions > .zai-cart-clear:disabled,
.zai-commerce table.shop_table td.actions > .zai-cart-clear[aria-busy="true"] {
	opacity: 0.5;
	pointer-events: none;
}


/* ==========================================================================
   6. Cart totals
   ========================================================================== */

.zai-commerce .cart-collaterals {
	min-width: 0;
}

.zai-commerce .cart_totals {
	padding: var(--zai-space-5);
	border: var(--zai-border-width) solid var(--zai-border-color);
	border-radius: var(--zai-radius);
	background-color: var(--zai-surface);
}

.zai-commerce .cart_totals > h2 {
	margin: 0 0 var(--zai-space-4);
	font-family: var(--zai-font-body);
	font-size: var(--zai-fs-eyebrow);
	font-weight: var(--zai-fw-semibold);
	letter-spacing: var(--zai-ls-caps);
	text-transform: uppercase;
	color: var(--zai-text-subtle);
}

.zai-commerce .cart_totals table.shop_table {
	border: 0;
	background: none;
}

.zai-commerce .cart_totals table.shop_table th,
.zai-commerce .cart_totals table.shop_table td {
	padding: var(--zai-space-3) 0;
	border: 0;
	border-block-end: var(--zai-border-width) solid var(--zai-border-color);
	background: none;
	font-size: var(--zai-fs-sm);
	letter-spacing: var(--zai-ls-normal);
	text-transform: none;
	color: var(--zai-text);
}

.zai-commerce .cart_totals table.shop_table th {
	font-weight: var(--zai-fw-regular);
	color: var(--zai-text-muted);
}

.zai-commerce .cart_totals table.shop_table td {
	text-align: end;
	font-variant-numeric: tabular-nums;
}

.zai-commerce .cart_totals .order-total th,
.zai-commerce .cart_totals .order-total td {
	border-block-end: 0;
	padding-block-start: var(--zai-space-4);
	font-family: var(--zai-font-body);
	font-size: var(--zai-fs-md);
	font-weight: var(--zai-fw-semibold);
	color: var(--zai-ink);
}

.zai-commerce .cart_totals .order-total .amount {
	color: var(--zai-green);
}

/* --- Checkout CTA --------------------------------------------------------- */

.zai-commerce .wc-proceed-to-checkout {
	margin-block-start: var(--zai-space-5);
}

.zai-commerce .wc-proceed-to-checkout a.checkout-button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: var(--zai-control-height);
	padding: var(--zai-space-3) var(--zai-space-5);
	background-color: var(--zai-green);
	border: var(--zai-border-width) solid var(--zai-green);
	border-radius: var(--zai-radius);
	font-family: var(--zai-font-body);
	font-size: var(--zai-fs-sm);
	font-weight: var(--zai-fw-semibold);
	letter-spacing: var(--zai-ls-wide);
	color: var(--zai-text-inverse);
	text-decoration: none;
	transition: background-color var(--zai-dur-fast) var(--zai-ease);
}

.zai-commerce .wc-proceed-to-checkout a.checkout-button:hover {
	background-color: var(--zai-green-hover);
	border-color: var(--zai-green-hover);
	color: var(--zai-text-inverse);
}

.zai-commerce .wc-proceed-to-checkout a.checkout-button:focus-visible {
	outline: var(--zai-focus-width) solid var(--zai-focus-color);
	outline-offset: var(--zai-focus-offset);
}

/* ==========================================================================
   7. Checkout
   ========================================================================== */

.zai-checkout__header {
	margin-block-end: var(--zai-space-6);
	padding-block-end: var(--zai-space-5);
	border-block-end: var(--zai-border-width) solid var(--zai-border-color);
}

.zai-checkout__title {
	margin: 0;
	font-family: var(--zai-font-display);
	font-size: var(--zai-fs-h1);
	font-weight: var(--zai-fw-light);
	line-height: var(--zai-lh-tight);
	letter-spacing: var(--zai-ls-tighter);
	color: var(--zai-ink);
}

/* The form holds both columns as siblings, so it becomes the grid. */
.zai-commerce form.woocommerce-checkout {
	display: grid;
	gap: var(--zai-space-8);
	grid-template-columns: minmax(0, 1fr);
	align-items: start;
}

@media (min-width: 1024px) {
	/*
	 * PHASE 8.3 ROOT CAUSE — the heading and the order summary were separated by
	 * a large empty gap even though both carried `grid-column: 2`.
	 *
	 * The form only declared COLUMNS. Rows were implicit `auto` tracks, and
	 * #customer_details is forced to `grid-row: 1 / span 2`. Because the left
	 * column is much taller than the right-hand items, Grid distributed that
	 * spanning item's height across BOTH auto rows: row 1 grew to roughly half
	 * the form's height, so the heading sat alone at the top of the right column
	 * and #order_review (row 2) began far below it.
	 *
	 * FIX — size row 1 to its content (the heading only) and let row 2 absorb
	 * the remaining height with a flexible track: a `minmax(0, 1fr)` track has
	 * an infinite growth limit, so it, and not row 1, receives the space
	 * required by the spanning left column. The heading and the box therefore
	 * stay stacked directly on top of each other in the same right-hand column,
	 * aligned with the top of #customer_details.
	 *
	 * Only the ROW rhythm changes. column-gap keeps the 64px separation between
	 * the two columns, and row-gap reuses the same heading-to-content step the
	 * billing/shipping headings already use (--zai-space-4).
	 */
	.zai-commerce form.woocommerce-checkout {
		grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
		grid-template-rows: auto minmax(0, 1fr);
		column-gap: var(--zai-space-9);
		row-gap: var(--zai-space-4);
	}

	/*
	 * Explicit rows (same technique as the cart columns) keep the heading and
	 * the summary as ONE right-column section, immune to a sibling being
	 * inserted between them.
	 */
	.zai-commerce #order_review_heading {
		grid-column: 2;
		grid-row: 1;
	}

	/* Order summary stays visible while the customer fills the form. */
	.zai-commerce #order_review {
		grid-column: 2;
		grid-row: 2;
		position: sticky;
		top: calc(var(--zai-header-height-scrolled) + var(--zai-space-4));
	}

	.zai-commerce #customer_details {
		grid-column: 1;
		grid-row: 1 / span 2;
	}
}

/* Collapse WooCommerce's internal two-column set on narrow screens. */
.zai-commerce .col2-set {
	display: grid;
	gap: var(--zai-space-6);
	grid-template-columns: minmax(0, 1fr);
	width: auto;
}

.zai-commerce .col2-set .col-1,
.zai-commerce .col2-set .col-2 {
	float: none;
	width: auto;
}

.zai-commerce #order_review_heading {
	margin: 0;
	font-family: var(--zai-font-body);
	font-size: var(--zai-fs-eyebrow);
	font-weight: var(--zai-fw-semibold);
	letter-spacing: var(--zai-ls-caps);
	text-transform: uppercase;
	color: var(--zai-text-subtle);
}


/* ==========================================================================
   8. Checkout fields
   -----------------------------------------------------------------------------
   Native WooCommerce fields. Only presentation is touched: spacing, sizing,
   focus, required markers and error state. Field keys and validation are
   untouched.
   ========================================================================== */

.zai-commerce form.woocommerce-checkout .woocommerce-billing-fields > h3,
.zai-commerce form.woocommerce-checkout .woocommerce-shipping-fields > h3,
.zai-commerce form.woocommerce-checkout .woocommerce-additional-fields > h3 {
	margin: 0 0 var(--zai-space-4);
	font-family: var(--zai-font-body);
	font-size: var(--zai-fs-eyebrow);
	font-weight: var(--zai-fw-semibold);
	letter-spacing: var(--zai-ls-caps);
	text-transform: uppercase;
	color: var(--zai-text-subtle);
}

.zai-commerce .woocommerce-billing-fields,
.zai-commerce .woocommerce-shipping-fields,
.zai-commerce .woocommerce-additional-fields {
	padding: var(--zai-space-5);
	border: var(--zai-border-width) solid var(--zai-border-color);
	border-radius: var(--zai-radius);
	background-color: var(--zai-bg);
}

.zai-commerce form.checkout .form-row {
	float: none;
	width: auto;
	margin: 0 0 var(--zai-space-4);
	padding: 0;
}

.zai-commerce form.checkout .form-row label {
	display: block;
	margin-block-end: var(--zai-space-2);
	font-family: var(--zai-font-body);
	font-size: var(--zai-fs-sm);
	font-weight: var(--zai-fw-medium);
	color: var(--zai-ink);
}

/* Required marker: glyph and text, never colour alone. */
.zai-commerce form.checkout .required {
	color: var(--zai-error);
	text-decoration: none;
	font-weight: var(--zai-fw-semibold);
}

.zai-commerce form.checkout .form-row input.input-text,
.zai-commerce form.checkout .form-row textarea,
.zai-commerce form.checkout .form-row select {
	width: 100%;
	min-height: var(--zai-control-height);
	padding: var(--zai-space-3) var(--zai-space-4);
	background-color: var(--zai-bg);
	border: var(--zai-border-width) solid var(--zai-border-color-strong);
	border-radius: var(--zai-radius);
	font-family: var(--zai-font-body);
	font-size: var(--zai-fs-base);
	line-height: var(--zai-lh-snug);
	color: var(--zai-text);
	transition: border-color var(--zai-dur-fast) var(--zai-ease);
}

.zai-commerce form.checkout .form-row input.input-text:focus-visible,
.zai-commerce form.checkout .form-row textarea:focus-visible,
.zai-commerce form.checkout .form-row select:focus-visible {
	border-color: var(--zai-focus-color);
	outline: var(--zai-focus-width) solid var(--zai-focus-color);
	outline-offset: 1px;
}

/* Invalid state carries a border colour plus WooCommerce's own message. */
.zai-commerce form.checkout .form-row.woocommerce-invalid input.input-text,
.zai-commerce form.checkout .form-row.woocommerce-invalid select {
	border-color: var(--zai-error);
}

.zai-commerce form.checkout .form-row.woocommerce-invalid label {
	color: var(--zai-error);
}

/* Checkbox rows (ship to a different address, terms). */
.zai-commerce form.checkout .form-row.checkbox,
.zai-commerce form.checkout .woocommerce-form__label-for-checkbox {
	display: flex;
	align-items: flex-start;
	gap: var(--zai-space-3);
}

.zai-commerce form.checkout .form-row.checkbox input[type="checkbox"],
.zai-commerce form.checkout .woocommerce-form__label-for-checkbox input[type="checkbox"] {
	width: 1.125rem;
	height: 1.125rem;
	min-height: 0;
	margin-block-start: 0.2em;
	flex-shrink: 0;
}

.zai-commerce form.checkout .form-row.checkbox label {
	margin-block-end: 0;
	font-weight: var(--zai-fw-regular);
}


/* ==========================================================================
   9. Checkout order review and payment
   ========================================================================== */

.zai-commerce #order_review {
	padding: var(--zai-space-5);
	border: var(--zai-border-width) solid var(--zai-border-color);
	border-radius: var(--zai-radius);
	background-color: var(--zai-surface);
}

.zai-commerce .woocommerce-checkout-review-order-table {
	width: 100%;
	margin: 0 0 var(--zai-space-5);
	border: 0;
	font-family: var(--zai-font-body);
	font-size: var(--zai-fs-sm);
}

.zai-commerce .woocommerce-checkout-review-order-table th,
.zai-commerce .woocommerce-checkout-review-order-table td {
	padding: var(--zai-space-3) 0;
	border: 0;
	border-block-end: var(--zai-border-width) solid var(--zai-border-color);
	background: none;
	text-align: start;
	vertical-align: top;
}

.zai-commerce .woocommerce-checkout-review-order-table td {
	text-align: end;
	font-variant-numeric: tabular-nums;
}

.zai-commerce .woocommerce-checkout-review-order-table .order-total th,
.zai-commerce .woocommerce-checkout-review-order-table .order-total td {
	padding-block-start: var(--zai-space-4);
	border-block-end: 0;
	font-size: var(--zai-fs-md);
	font-weight: var(--zai-fw-semibold);
	color: var(--zai-ink);
}

.zai-commerce .woocommerce-checkout-review-order-table .order-total .amount {
	color: var(--zai-green);
}

/* --- Payment methods ------------------------------------------------------ */

.zai-commerce #payment {
	background: none;
	border: 0;
	border-radius: 0;
}

.zai-commerce #payment ul.payment_methods {
	margin: 0 0 var(--zai-space-4);
	padding: 0;
	border: 0;
	list-style: none;
}

.zai-commerce #payment ul.payment_methods li {
	padding: var(--zai-space-3) 0;
	border-block-end: var(--zai-border-width) solid var(--zai-border-color);
}

.zai-commerce #payment ul.payment_methods li label {
	display: inline;
	font-weight: var(--zai-fw-medium);
}

/* Gateway description and hosted-field area. */
.zai-commerce #payment .payment_box {
	margin-block-start: var(--zai-space-3);
	padding: var(--zai-space-4);
	background-color: var(--zai-bg);
	border: var(--zai-border-width) solid var(--zai-border-color);
	border-radius: var(--zai-radius);
	font-size: var(--zai-fs-sm);
	color: var(--zai-text-muted);
}

/* WooCommerce draws a CSS triangle here; it fights the bordered box. */
.zai-commerce #payment .payment_box::before {
	display: none;
}

.zai-commerce .place-order {
	margin: 0;
	padding: 0;
}

.zai-commerce .zai-checkout__note {
	margin: 0 0 var(--zai-space-4);
	font-family: var(--zai-font-body);
	font-size: var(--zai-fs-xs);
	line-height: var(--zai-lh-normal);
	color: var(--zai-text-subtle);
}

.zai-commerce #place_order {
	width: 100%;
	min-height: var(--zai-control-height);
	padding: var(--zai-space-3) var(--zai-space-5);
	background-color: var(--zai-green);
	border: var(--zai-border-width) solid var(--zai-green);
	border-radius: var(--zai-radius);
	font-family: var(--zai-font-body);
	font-size: var(--zai-fs-sm);
	font-weight: var(--zai-fw-semibold);
	letter-spacing: var(--zai-ls-wide);
	color: var(--zai-text-inverse);
	cursor: pointer;
	transition: background-color var(--zai-dur-fast) var(--zai-ease);
}

.zai-commerce #place_order:hover {
	background-color: var(--zai-green-hover);
	border-color: var(--zai-green-hover);
}

.zai-commerce #place_order:focus-visible {
	outline: var(--zai-focus-width) solid var(--zai-focus-color);
	outline-offset: var(--zai-focus-offset);
}

/* The coupon toggle reads as a quiet secondary affordance. */
.zai-commerce .woocommerce-form-coupon-toggle .woocommerce-info {
	margin-block-end: var(--zai-space-4);
	background-color: var(--zai-bg-soft);
	border-inline-start-color: var(--zai-border-color-strong);
	font-size: var(--zai-fs-sm);
}

/* ==========================================================================
   10. Order received
   ========================================================================== */

.zai-commerce .woocommerce-order {
	max-width: 60rem;
}

.zai-commerce .woocommerce-order > p:first-child {
	padding: var(--zai-space-4) var(--zai-space-5);
	border-inline-start: 3px solid var(--zai-success);
	background-color: var(--zai-success-bg);
	font-size: var(--zai-fs-sm);
}

.zai-commerce .woocommerce-order-overview {
	display: flex;
	flex-wrap: wrap;
	gap: var(--zai-space-5);
	margin: 0 0 var(--zai-space-7);
	padding: var(--zai-space-5);
	border: var(--zai-border-width) solid var(--zai-border-color);
	border-radius: var(--zai-radius);
	background-color: var(--zai-surface);
	list-style: none;
}

.zai-commerce .woocommerce-order-overview li {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: var(--zai-fs-xs);
	color: var(--zai-text-muted);
}

.zai-commerce .woocommerce-order-overview li strong {
	display: block;
	margin-block-start: var(--zai-space-1);
	font-size: var(--zai-fs-sm);
	color: var(--zai-ink);
	font-variant-numeric: tabular-nums;
}


/* ==========================================================================
   11. Mobile cart — stacked product rows
   -----------------------------------------------------------------------------
   Desktop (>=768px) is untouched: it keeps the table layout defined in
   sections 5 and 6.

   Below 768px WooCommerce's own woocommerce-smallscreen.css (media
   `max-width: 768px`, set through the `woocommerce_style_smallscreen_breakpoint`
   filter) already stacks the table by turning `tr` and `td` into blocks. That is
   what produced the cramped, label-beside-value rows: every cell became a
   full-width line with a floated `data-title` label, so name, price, quantity
   and subtotal each took a separate ragged line at right-aligned text, and the
   thumbnail was hidden outright by `table.cart .product-thumbnail{display:none}`.

   The breakpoint below matches core's exactly, so the custom layout and core's
   own stacking rules switch at the same width and never fight each other.

   This section replaces that presentation with an explicit grid per product:

       ┌──────────┬──────────────────────────┬────┐
       │          │ Name                     │ ×  │
       │  image   │ Package size             │    │
       │          │ Unit price               │    │
       ├──────────┴──────────────────────────┼────┤
       │ Quantity                            │ ∑  │
       └─────────────────────────────────────┴────┘

   Selectors stay anchored to WooCommerce's real markup
   (`tr.cart_item > td.product-*`); no template override, no invented classes.
   ========================================================================== */

@media (max-width: 768px) {

	/* Visually hidden, still announced: the column headings are meaningless
	   once each row states its own labels. */
	.zai-commerce table.shop_table.cart thead {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip-path: inset(50%);
		white-space: nowrap;
	}

	/* The stacked rows own the layout, so the table itself must not impose a
	   table-layout min-width. */
	.zai-commerce table.shop_table.cart,
	.zai-commerce table.shop_table.cart > tbody {
		display: block;
		width: 100%;
		border: 0;
	}

	.zai-commerce table.shop_table.cart tbody tr.cart_item {
		display: grid;
		grid-template-columns: 5.5rem minmax(0, 1fr) auto;
		column-gap: var(--zai-space-4);
		row-gap: var(--zai-space-3);
		align-items: start;
		padding: var(--zai-space-5) 0;
		border: 0;
		border-block-end: var(--zai-border-width) solid var(--zai-border-color);
	}

	/*
	 * WooCommerce's zebra tint and right-aligned cell text both fight the new
	 * grid. `!important` matches core's own `text-align:right!important` in
	 * woocommerce-smallscreen.css; the scope is one product row, nothing else.
	 *
	 * NOTE: `display` is deliberately NOT set here. Core already makes these
	 * cells blocks, and leaving the property free lets the per-cell rules below
	 * switch price, quantity and subtotal to flex without a specificity fight.
	 */
	.zai-commerce table.shop_table.cart tbody tr.cart_item > td {
		min-width: 0;
		padding: 0;
		border: 0;
		background-color: transparent;
		text-align: start !important;
		overflow-wrap: anywhere;
	}

	/*
	 * WooCommerce floats a "Label: " prefix (from `data-title`) before every
	 * cell's value, which duplicated information the new layout already conveys.
	 * The float is reset here, and the prefixes are removed only on the cells
	 * that no longer need one (see the explicit `content: none` rules below).
	 * `product-price` and `product-quantity` keep a ::before, but with their own
	 * typography, so they are deliberately NOT cleared here.
	 */
	.zai-commerce table.shop_table.cart tbody tr.cart_item > td::before {
		float: none;
		font-weight: inherit;
	}

	/* Covered by the image, the linked name and the line total respectively. */
	.zai-commerce .cart_item .product-thumbnail::before,
	.zai-commerce .cart_item .product-name::before,
	.zai-commerce .cart_item .product-subtotal::before {
		content: none;
	}

	/*
	 * --- Product image ----------------------------------------------------
	 * Core hides this cell below 768px
	 * (`table.cart .product-thumbnail{display:none}`). Restoring it is the
	 * point of the redesign: the customer needs to recognise what they bought.
	 */
	.zai-commerce .cart_item .product-thumbnail {
		display: block !important;
		grid-column: 1;
		/* Spans the identity row and the unit-price row, so the image sits beside
		   the whole description block instead of only its first line. */
		grid-row: 1 / span 2;
	}

	.zai-commerce .cart_item .product-thumbnail img {
		width: 5.5rem;
		height: 6.875rem;
		object-fit: cover;
		border-radius: var(--zai-radius);
		background-color: var(--zai-surface);
	}

	/* Without a usable image WooCommerce prints an empty anchor. Keep the slot
	   occupied so the text column never shifts out of alignment. */
	.zai-commerce .cart_item .product-thumbnail a:empty {
		display: block;
		width: 5.5rem;
		height: 6.875rem;
		border-radius: var(--zai-radius);
		background-color: var(--zai-surface);
	}

	/* --- Name, package size, unit price ---------------------------------- */

	.zai-commerce .cart_item .product-name {
		grid-column: 2;
		grid-row: 1;
		padding-block-start: var(--zai-space-1);
	}

	.zai-commerce .cart_item .product-name a {
		display: block;
		font-size: var(--zai-fs-md);
		line-height: var(--zai-lh-snug);
	}

	/* The package size WooCommerce renders from the real variation data. */
	.zai-commerce .cart_item .variation {
		display: flex;
		flex-wrap: wrap;
		gap: var(--zai-space-1) var(--zai-space-2);
		margin-block-start: var(--zai-space-2);
		font-size: var(--zai-fs-sm);
		line-height: var(--zai-lh-snug);
		color: var(--zai-text-muted);
	}

	/* "Paket: 250 g" reads as a size badge, not as a form field. */
	.zai-commerce .cart_item .variation dt {
		color: var(--zai-text-subtle);
		font-weight: var(--zai-fw-regular);
	}

	.zai-commerce .cart_item .variation dd {
		color: var(--zai-ink);
		font-weight: var(--zai-fw-medium);
	}

	/*
	 * Unit price. WooCommerce prints it as a bare amount in this cell, so a label
	 * is supplied. The generic `td::before` rule above only resets the float, so
	 * `content` is free to be redefined here.
	 */
	.zai-commerce .cart_item .product-price {
		grid-column: 2;
		grid-row: 2;
		display: flex;
		flex-wrap: wrap;
		align-items: baseline;
		gap: var(--zai-space-1) var(--zai-space-2);
		margin-block-start: var(--zai-space-2);
		font-size: var(--zai-fs-sm);
		color: var(--zai-text-muted);
		font-variant-numeric: tabular-nums;
	}

	.zai-commerce .cart_item .product-price::before {
		content: "Birim fiyat";
		font-size: var(--zai-fs-xs);
		letter-spacing: var(--zai-ls-wide);
		text-transform: uppercase;
		color: var(--zai-text-subtle);
	}

	/* --- Remove ---------------------------------------------------------- */

	.zai-commerce .cart_item .product-remove {
		grid-column: 3;
		grid-row: 1;
		align-self: start;
		justify-self: end;
	}

	/*
	 * Restrained by design: a small, quiet cross that only turns red on hover or
	 * focus. The hit area stays at the full 44px touch target, so the icon can be
	 * discreet without becoming hard to tap.
	 */
	.zai-commerce .cart_item .product-remove a {
		width: var(--zai-touch-target);
		height: var(--zai-touch-target);
		margin-block-start: calc(var(--zai-space-1) * -1);
		margin-inline-end: calc(var(--zai-space-1) * -1);
		font-size: 1.125rem;
		font-weight: var(--zai-fw-regular);
		color: var(--zai-text-subtle);
	}

	/* --- Quantity and line total ----------------------------------------- */

	/*
	 * Quantity sits under the image, line total under the remove control: both
	 * are secondary to the product identity, and pairing them on one row keeps
	 * the "how many / how much" decision together.
	 */
	.zai-commerce .cart_item .product-quantity {
		grid-column: 1 / span 2;
		grid-row: 3;
		display: flex;
		align-items: center;
		gap: var(--zai-space-3);
		margin-block-start: var(--zai-space-1);
	}

	.zai-commerce .cart_item .product-quantity::before {
		content: "Adet";
		font-size: var(--zai-fs-xs);
		letter-spacing: var(--zai-ls-wide);
		text-transform: uppercase;
		color: var(--zai-text-subtle);
	}

	/*
	 * Comfortable tap target. 3rem tall and 4.5rem wide is well above the 44px
	 * minimum and stops the number from sitting in a cramped box.
	 */
	.zai-commerce .cart_item .quantity .qty {
		width: 4.5rem;
		min-height: var(--zai-control-height);
		padding: var(--zai-space-2) var(--zai-space-3);
		font-size: var(--zai-fs-base);
	}

	.zai-commerce .cart_item .product-subtotal {
		grid-column: 3;
		grid-row: 3;
		display: flex;
		flex-direction: column;
		align-items: flex-end;
		gap: var(--zai-space-1);
		text-align: end !important;
		font-family: var(--zai-font-body);
		font-size: var(--zai-fs-md);
		font-weight: var(--zai-fw-semibold);
		color: var(--zai-ink);
		font-variant-numeric: tabular-nums;
	}

	/* Misleading on a stacked row: the value above is already the line total. */
	.zai-commerce .cart_item .product-subtotal::before {
		content: none;
	}

	/* --- Coupon, update and clear-cart row ------------------------------- */

	/*
	 * The actions cell is `<td colspan="6" class="actions">` in its own row.
	 * With the table displayed as blocks it becomes a plain block, so the
	 * controls can finally be laid out as a column without fighting table
	 * layout.
	 */
	.zai-commerce table.shop_table.cart td.actions {
		display: block;
		padding-block: var(--zai-space-5) var(--zai-space-6);
		padding-inline: 0;
		border: 0;
		background-color: transparent;
		text-align: start !important;
	}

	.zai-commerce table.shop_table td.actions .coupon {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		align-items: stretch;
		gap: var(--zai-space-2);
		width: 100%;
		margin: 0;
	}

	.zai-commerce table.shop_table td.actions .coupon .input-text {
		grid-column: 1;
		flex: none;
		width: 100%;
		max-width: none;
		min-height: var(--zai-control-height);
		margin: 0;
	}

	.zai-commerce table.shop_table td.actions .coupon .button {
		grid-column: 2;
		width: auto;
		min-height: var(--zai-control-height);
		margin: 0;
		float: none;
		white-space: nowrap;
	}

	/*
	 * Update Cart and clear-cart are full width and stacked, so both are
	 * unmissable and neither can collide with the coupon controls.
	 */
	.zai-commerce table.shop_table td.actions > button.button[name="update_cart"],
	.zai-commerce table.shop_table td.actions > .zai-cart-clear {
		float: none;
		display: flex;
		align-items: center;
		justify-content: center;
		width: 100%;
		min-height: var(--zai-control-height);
		margin: 0;
		margin-block-start: var(--zai-space-3);
	}

	/* Clearing the cart is the last, quietest action in the column. */
	.zai-commerce table.shop_table td.actions > .zai-cart-clear {
		margin-block-start: var(--zai-space-2);
		font-size: var(--zai-fs-sm);
		letter-spacing: var(--zai-ls-wide);
	}

	/* --- Cart totals ------------------------------------------------------ */

	/*
	 * Visually separated from the product list: the totals box keeps its own
	 * surface and gains a clear gap above it, so the summary never reads as one
	 * more row of the cart.
	 */
	.zai-commerce .woocommerce:has(> form.woocommerce-cart-form) > .cart-collaterals {
		margin-block-start: var(--zai-space-6);
	}

	.zai-commerce .cart_totals {
		padding: var(--zai-space-5);
	}

	.zai-commerce .cart_totals table.shop_table {
		font-size: var(--zai-fs-base);
	}

	.zai-commerce .cart_totals .order-total th,
	.zai-commerce .cart_totals .order-total td {
		font-size: var(--zai-fs-md);
	}

	/* Full-width, easy-to-tap checkout CTA. */
	.zai-commerce .wc-proceed-to-checkout {
		margin-block-start: var(--zai-space-5);
	}

	.zai-commerce .wc-proceed-to-checkout a.checkout-button {
		min-height: calc(var(--zai-control-height) + var(--zai-space-2));
		font-size: var(--zai-fs-base);
		letter-spacing: var(--zai-ls-normal);
	}

	/* --- Empty state ------------------------------------------------------ */

	.zai-commerce .zai-cart-empty {
		padding-block: var(--zai-space-5) var(--zai-space-8);
	}

	.zai-commerce .zai-cart-empty__actions .zai-btn {
		width: 100%;
	}

	/* --- No horizontal overflow ------------------------------------------ */

	/*
	 * Containment is applied to the page column only.
	 *
	 * The rows themselves cannot overflow: they are grid tracks with
	 * `minmax(0, 1fr)` plus `overflow-wrap: anywhere`. This rule is the outer
	 * safety net for long unbroken strings (a coupon code, an e-mail).
	 *
	 * It is deliberately NOT applied to `.woocommerce`, the form or
	 * `.cart_totals`: those are BlockUI targets, and the coffee cup overlay is
	 * injected inside whichever element is blocked.
	 */
	.zai-commerce .entry-content--commerce {
		max-width: 100%;
		overflow-x: clip;
	}

} /* end @media (max-width: 768px) */


/* ==========================================================================
   12. Reduced motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
	.zai-commerce .quantity .qty,
	.zai-commerce .cart_item .product-remove a,
	.zai-commerce .wc-proceed-to-checkout a.checkout-button,
	.zai-commerce #place_order,
	.zai-commerce form.checkout .form-row input.input-text {
		transition: none;
	}
}

