/* Brand treatment for Cart and Checkout Block actions. */
.woocommerce-cart .wc-block-cart__submit-button,
.woocommerce-checkout .wc-block-components-checkout-place-order-button,
.woocommerce-checkout #place_order {
	border-color:var(--orange)!important;
	background:var(--orange)!important;
	color:#fff!important;
	text-decoration:none!important;
	font-weight:900;
}
.woocommerce-cart .wc-block-cart__submit-button .wc-block-components-button__text,
.woocommerce-checkout .wc-block-components-checkout-place-order-button .wc-block-components-button__text {
	color:#fff!important;
}
.woocommerce-cart .wc-block-cart__submit-button:hover,
.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover,
.woocommerce-checkout #place_order:hover {
	border-color:var(--orange-dark)!important;
	background:var(--orange-dark)!important;
	color:#fff!important;
}

/* Empty-cart product recommendations use a separate WooCommerce button. */
.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-add-to-cart .wp-block-button__link {
	display:inline-flex;
	align-items:center;
	justify-content:center;
	min-height:48px;
	padding:12px 24px;
	border:2px solid var(--orange)!important;
	border-radius:4px;
	background:var(--orange)!important;
	color:#fff!important;
	font-weight:900;
	line-height:1.2;
	text-decoration:none!important;
}
.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-add-to-cart .wp-block-button__link:hover,
.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-add-to-cart .wp-block-button__link:focus-visible {
	border-color:var(--orange-dark)!important;
	background:var(--orange-dark)!important;
	color:#fff!important;
}

/* Checkout Block address order: county/city before township/district. */
.woocommerce-checkout .wc-block-components-address-form__first_name { order:10; }
.woocommerce-checkout .wc-block-components-address-form__last_name { order:20; }
.woocommerce-checkout .wc-block-components-address-form__company { order:30; }
.woocommerce-checkout .wc-block-components-address-form__country { order:40; }
.woocommerce-checkout .wc-block-components-address-form__address_1 { order:50; }
.woocommerce-checkout .wc-block-components-address-form__address_2 { order:60; }
.woocommerce-checkout .wc-block-components-address-form__state { order:70; }
.woocommerce-checkout .wc-block-components-address-form__city { order:80; }
.woocommerce-checkout .wc-block-components-address-form__postcode { order:90; }
.woocommerce-checkout .wc-block-components-address-form__phone { order:100; }

.zs-checkout-privacy-gate {
	margin:28px 0 18px;
	padding:22px;
	border:1px solid #d7e0e5;
	border-radius:10px;
	background:#fffaf3;
}
.zs-checkout-privacy-gate__header {
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:16px;
}
.zs-checkout-privacy-gate__header h3 {
	margin:0;
	color:var(--navy);
	font-size:20px;
}
.zs-checkout-privacy-gate__header a {
	color:var(--orange-dark);
	font-weight:800;
}
.zs-checkout-privacy-gate > p { margin:10px 0 14px; line-height:1.7; }
.zs-checkout-privacy-gate__document {
	height:260px;
	overflow-y:auto;
	padding:18px 20px;
	border:1px solid #c9d4da;
	border-radius:7px;
	background:#fff;
	color:#263b4a;
	scrollbar-gutter:stable;
}
.zs-checkout-privacy-gate__document h2 { margin:24px 0 10px; color:var(--navy); font-size:18px; }
.zs-checkout-privacy-gate__document h2:first-child { margin-top:0; }
.zs-checkout-privacy-gate__document p,
.zs-checkout-privacy-gate__document li { font-size:14px; line-height:1.8; }
.zs-checkout-privacy-gate__status {
	margin-bottom:0!important;
	color:#a44316;
	font-weight:800;
}
.zs-checkout-privacy-gate.is-read {
	border-color:#7ab48a;
	background:#f1faf3;
}
.zs-checkout-privacy-gate.is-read .zs-checkout-privacy-gate__status { color:#28723d; }

@media (max-width:640px) {
	.zs-checkout-privacy-gate { padding:16px; }
	.zs-checkout-privacy-gate__header { align-items:flex-start; flex-direction:column; gap:6px; }
	.zs-checkout-privacy-gate__document { height:230px; padding:14px; }
}
