/* product-plan.css — house-plan single product styles.
 * Approved by Kemar as close-to-perfect; migrate verbatim from current mu-plugins. */
.chn-product--plan .chn-plan-hero { padding: var(--chn-space-6) 0; }

/* ---------------------------------------------------------------------------
 * Phase B4 — bespoke button palette for plan-product canvas.
 *
 * The Elementor product-template (24691) renders the WooCommerce add-to-cart
 * widget unstyled (purple default) and pairs it with three CHN-specific CTAs
 * (Modify / Manage / Add to Cart). Prior to this rule set the buttons used
 * mixed off-palette greys + Woo's default purple, breaking brand consistency.
 *
 * Brand mapping:
 *   - Add to cart           -> primary navy filled (matches /product/{regular}/
 *                              and /product/{subscription}/ buttons for site-wide
 *                              consistency on the buy-action)
 *   - Modify this design    -> accent orange filled (the primary "value" action
 *                              on a plan page; should pull eye the same way the
 *                              accent CTA does on /house-plans/ tiles)
 *   - Manage this Project   -> unchanged (intentional coming-soon disabled state)
 *   - Quantity +/-          -> bordered + brand-text on hover
 * --------------------------------------------------------------------------- */

/* Add to cart — primary brand button */
body.chn-product--plan form.cart .single_add_to_cart_button,
body.chn-product--plan .elementor-widget-woocommerce-product-add-to-cart .button {
	background: var(--chn-color-primary) !important;
	color: #fff !important;
	border: 0 !important;
	font-family: var(--chn-font-sans) !important;
	font-weight: 700 !important;
	font-size: 13px !important;
	letter-spacing: .06em !important;
	text-transform: uppercase !important;
	padding: 13px 28px !important;
	border-radius: 2px !important;
	transition: background .15s ease, transform .12s ease;
}
body.chn-product--plan form.cart .single_add_to_cart_button:hover,
body.chn-product--plan .elementor-widget-woocommerce-product-add-to-cart .button:hover {
	background: var(--chn-color-primary-700, #082766) !important;
	transform: translateY(-1px);
}
body.chn-product--plan form.cart .single_add_to_cart_button:focus-visible,
body.chn-product--plan .elementor-widget-woocommerce-product-add-to-cart .button:focus-visible {
	outline: 2px solid var(--chn-color-accent);
	outline-offset: 2px;
}

/* Modify this design — accent CTA. .chn-plan-detail-cta--customize is the
 * canonical [chn_bid_cta] render. */
body.chn-product--plan .chn-plan-detail-cta--customize,
body.chn-product--plan a.chn-plan-detail-cta--customize.button {
	background: var(--chn-color-accent) !important;
	color: #fff !important;
	border: 0 !important;
	font-family: var(--chn-font-sans) !important;
	font-weight: 700 !important;
	font-size: 13px !important;
	letter-spacing: .06em !important;
	text-transform: uppercase !important;
	padding: 13px 28px !important;
	border-radius: 2px !important;
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
	transition: background .15s ease, transform .12s ease, box-shadow .15s ease;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
}
body.chn-product--plan .chn-plan-detail-cta--customize:hover,
body.chn-product--plan a.chn-plan-detail-cta--customize.button:hover {
	background: var(--chn-color-accent-700, #cf5a0a) !important;
	color: #fff !important;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
body.chn-product--plan .chn-plan-detail-cta--customize:focus-visible {
	outline: 2px solid var(--chn-color-primary);
	outline-offset: 2px;
}

/* Quantity +/- buttons — qib plugin renders .qib-button.minus / .qib-button.plus
 * inside form.cart. Default WC is grey; brand to surface-alt + bordered with
 * navy hover. */
body.chn-product--plan form.cart .qib-button,
body.chn-product--plan form.cart .quantity .qib-button {
	background: var(--chn-color-surface-alt, #f5f6f8) !important;
	color: var(--chn-color-text) !important;
	border: 1px solid var(--chn-color-border) !important;
	font-family: var(--chn-font-sans) !important;
	font-weight: 600 !important;
	transition: background .15s ease, color .15s ease, border-color .15s ease;
}
body.chn-product--plan form.cart .qib-button:hover,
body.chn-product--plan form.cart .quantity .qib-button:hover {
	background: var(--chn-color-primary) !important;
	color: #fff !important;
	border-color: var(--chn-color-primary) !important;
}
body.chn-product--plan form.cart .quantity .qty {
	border: 1px solid var(--chn-color-border);
	font-family: var(--chn-font-mono);
	font-feature-settings: "tnum";
}

/* Price weight + token color (Elementor's product-price widget had its own
 * inline color, but we lock the family to chn-mono numerals for the editorial
 * feel that matches plan-cards). */
body.chn-product--plan .elementor-widget-woocommerce-product-price .price,
body.chn-product--plan .elementor-widget-woocommerce-product-price .price .woocommerce-Price-amount {
	color: var(--chn-color-primary);
	font-family: var(--chn-font-mono);
	font-feature-settings: "tnum", "lnum";
}
