/* Product-form presentation only: retain native WooCommerce/Blocksy quantity logic. */
/* Decorative status marker: keep the stock paragraph's position and spacing intact. */
.hc-theme.single-product .summary p.stock.in-stock::before {
	content: "";
	display: inline-block;
	width: 10px;
	height: 10px;
	margin-inline-end: 8px;
	border-radius: 50%;
	background: #65a30d;
	vertical-align: middle;
}

.hc-theme.single-product form.cart .ct-cart-actions {
	width: 100%;
	min-width: 0;
	align-items: center;
	gap: 12px;
}

/* Keep the input and both native steppers in one coordinated 156 x 48px box.
 * Do not set display: hidden/sold-individually quantities must stay hidden. */
.hc-theme.single-product form.cart .quantity[data-type="type-2"] {
	--quantity-width: 156px;
	--quantity-height: 48px;
	--theme-form-field-border-radius: 9px;
	width: 156px;
	max-width: 100%;
	min-width: 0;
	height: 48px;
	flex: 0 0 156px;
	align-self: flex-start;
	margin: 0;
}

.hc-theme.single-product form.cart .quantity[data-type="type-2"] input.qty:not([type="hidden"]) {
	box-sizing: border-box;
	width: 100%;
	min-width: 0;
	max-width: 100%;
	height: 48px;
	margin: 0;
	padding: 0 48px;
	border: 1px solid var(--hc-line);
	background: #fff;
	color: var(--hc-navy);
	font-size: 16px;
	font-weight: 800;
	line-height: normal;
	text-align: center;
	text-indent: 0;
	font-variant-numeric: tabular-nums;
}

.hc-theme.single-product form.cart .quantity[data-type="type-2"] .ct-increase,
.hc-theme.single-product form.cart .quantity[data-type="type-2"] .ct-decrease {
	top: 2px;
	bottom: auto;
	width: 44px;
	max-width: none;
	height: 44px;
	border-radius: 7px;
	background: #eef3f5;
	color: var(--hc-navy);
}

.hc-theme.single-product form.cart .quantity[data-type="type-2"] .ct-increase {
	inset-inline-end: 2px;
}

.hc-theme.single-product form.cart .quantity[data-type="type-2"] .ct-decrease {
	inset-inline-start: 2px;
}

.hc-theme.single-product form.cart .quantity[data-type="type-2"] .ct-increase::before,
.hc-theme.single-product form.cart .quantity[data-type="type-2"] .ct-decrease::before {
	margin-top: 0;
	color: inherit;
	font-size: 12px;
}

.hc-theme.single-product form.cart .quantity[data-type="type-2"] .ct-increase:hover,
.hc-theme.single-product form.cart .quantity[data-type="type-2"] .ct-decrease:hover,
.hc-theme.single-product form.cart .quantity[data-type="type-2"] .ct-increase:focus-visible,
.hc-theme.single-product form.cart .quantity[data-type="type-2"] .ct-decrease:focus-visible {
	background: var(--hc-navy);
	color: #fff;
}

/* Outrank the parent .woocommerce button.button rule and its default blue palette. */
.hc-theme.single-product form.cart .single_add_to_cart_button {
	--theme-button-background-initial-color: var(--hc-signal);
	--theme-button-background-hover-color: var(--hc-navy);
	--theme-button-text-initial-color: var(--hc-navy);
	--theme-button-text-hover-color: #fff;
	flex: 1 1 150px;
	width: auto;
	min-width: 0;
	max-width: 100%;
	min-height: 48px;
	border: 0;
	border-radius: 9px;
	padding: 12px 18px;
	background: var(--hc-signal);
	color: var(--hc-navy);
	font-size: 14px;
	font-weight: 800;
	line-height: 1.4;
}

.hc-theme.single-product form.cart .single_add_to_cart_button:hover,
.hc-theme.single-product form.cart .single_add_to_cart_button:focus-visible {
	background: var(--hc-navy);
	color: #fff;
}

.hc-theme.single-product form.cart .single_add_to_cart_button:disabled,
.hc-theme.single-product form.cart .single_add_to_cart_button.disabled,
.hc-theme.single-product form.cart .single_add_to_cart_button[aria-disabled="true"] {
	background: #e4e9ed;
	color: #465b6b;
	cursor: not-allowed;
}

.hc-theme.single-product form.cart .quantity input.qty:focus-visible,
.hc-theme.single-product form.cart .quantity .ct-increase:focus-visible,
.hc-theme.single-product form.cart .quantity .ct-decrease:focus-visible,
.hc-theme.single-product form.cart .single_add_to_cart_button:focus-visible {
	outline: 2px solid var(--hc-navy);
	outline-offset: 3px;
}

@media (max-width: 680px) {
	.hc-theme.single-product form.cart .ct-cart-actions .single_add_to_cart_button {
		flex-basis: 100%;
		width: 100%;
	}
}
