/*
 * 0.6.0 — Boutique 77 look over bee1-checkout-vanilla (native WooCommerce checkout).
 * The engine ships the mechanism; this file ships only this shop's values: the site's own tokens
 * (style.css :root, --bt77-*) and font. Loaded only with the engine, on cart and checkout.
 */

body.bee1-ckv-checkout,
body.bee1-ckv-checkout button,
body.bee1-ckv-checkout input,
body.bee1-ckv-checkout select,
body.bee1-ckv-checkout textarea,
body.bee1-ckv-checkout label,
body.bee1-ckv-checkout a,
body.bee1-ckv-checkout h1,
body.bee1-ckv-checkout h2,
body.bee1-ckv-checkout h3,
body.bee1-ckv-checkout p,
body.bee1-ckv-checkout td,
body.bee1-ckv-checkout th,
body.bee1-ckv-checkout #order_review_heading {
	font-family: var(--bt77-font, "Open Sans", Arial, sans-serif) !important;
}

body.bee1-ckv-checkout {
	--ink: var(--bt77-ink, #111111);
	--paper: #ffffff;
	--paper-2: var(--bt77-surface, #f7f7f7);
	--paper-3: #efefef;
	--rule: var(--bt77-line, #e5e5e5);
	--mut: #6e6e6e;
	--brand: #111111;
	--brand-deep: #000000;
	--brand-soft: #f2f2f2;
	--danger: var(--bt77-red, #af2638);
}

/* Section headings: the site's quiet uppercase-free Hebrew titles, not the engine's tracked caps. */
body.bee1-ckv-checkout h3,
body.bee1-ckv-checkout #order_review_heading,
body.bee1-ckv-checkout .bt77-ck-heading {
	font-size: 20px;
	font-weight: 600;
	letter-spacing: 0;
	text-transform: none;
	padding: 0;
	margin: 0 0 18px;
}

body.bee1-ckv-checkout #order_review_heading {
	padding: 0 22px;
}

/* "Ship to a different address?" — always on here, so the toggle is not shown. */
body.bee1-ckv-checkout #ship-to-different-address {
	display: none !important;
}

body.bee1-ckv-checkout .woocommerce-shipping-fields {
	margin-top: 28px;
	padding-top: 26px;
	border-top: 1px solid var(--rule);
}

body.bee1-ckv-checkout .form-row.bt77-ck-hidden {
	display: none !important;
}

/* Pay button: black, as every buy button on the site. */
body.bee1-ckv-checkout #place_order {
	background: var(--ink) !important;
	color: #ffffff !important;
	font-size: 17px;
	font-weight: 600;
	letter-spacing: .02em;
}

body.bee1-ckv-checkout #place_order:hover {
	background: #000000 !important;
}

body.bee1-ckv-checkout #place_order[disabled] {
	background: #c4c4c4 !important;
	opacity: 1;
	cursor: not-allowed;
}

/* Terms links in the site's ink, underlined (the old checkout showed them in orange). */
body.bee1-ckv-checkout .woocommerce-terms-and-conditions-checkbox-text a {
	color: var(--ink);
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* Field labels as written (the engine tracks them in capitals: "EMAIL"). */
body.bee1-ckv-checkout .form-row label {
	text-transform: none;
	letter-spacing: 0;
	font-size: 14px;
	font-weight: 600;
}

/* Login / coupon notices in the site's ink, not WooCommerce blue. */
body.bee1-ckv-checkout .woocommerce-info {
	border-top-color: var(--ink);
}

body.bee1-ckv-checkout .woocommerce-info::before {
	color: var(--ink);
}

body.bee1-ckv-checkout .woocommerce-info a {
	color: var(--ink);
	text-decoration: underline;
}

/* Phones: the chat bubble (Chaty, fixed 25px from the bottom) sat on the pay bar (71px). */
@media (max-width: 767px) {
	body.bee1-ckv-checkout .chaty-widget {
		bottom: calc(96px + env(safe-area-inset-bottom)) !important;
	}
}

/* Radios and checkboxes in the site's ink, not the browser's blue. */
body.bee1-ckv-checkout input[type="radio"],
body.bee1-ckv-checkout input[type="checkbox"] {
	accent-color: var(--ink);
}
