
/* ==============================
   Quantity
   ============================== */

.cl-qty {
	--cl-qty-button-width: 42px;
	--cl-qty-divider: #eeeae6;
	display: grid;
	grid-template-columns: var(--cl-qty-button-width) minmax(0, 1fr) var(--cl-qty-button-width);
	align-items: stretch;
	width: 132px;
	height: 56px;
	background: #fff;
	border: 1px solid #e7e2de;
	border-radius: 11px;
	overflow: hidden;
	box-sizing: border-box;
}

.cl-qty *,
.cl-qty *::before,
.cl-qty *::after {
	box-sizing: border-box;
}

.cl-qty__button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	padding: 0;
	margin: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	color: #342f2b;
	font-family: Arial, sans-serif;
	font-size: 24px;
	font-weight: 300;
	line-height: 1;
	cursor: pointer;
	transition: color .18s ease, background-color .18s ease;
}

.cl-qty__minus {
	border-right: 1px solid var(--cl-qty-divider);
}

.cl-qty__plus {
	border-left: 1px solid var(--cl-qty-divider);
}

.cl-qty__button:hover {
	color: #b95432;
	background: #faf7f4;
}

.cl-qty__button:disabled {
	opacity: .35;
	cursor: not-allowed;
}

.cl-qty__value {
	width: 100%;
	min-width: 0;
	height: 100%;
	padding: 0 4px;
	margin: 0;
	border: 0 !important;
	border-radius: 0 !important;
	outline: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	text-align: center;
	color: #292522;
	font-family: "Be Vietnam Pro", Arial, sans-serif;
	font-size: 18px;
	font-weight: 500;
	line-height: 1;
	appearance: textfield;
}

.cl-qty__value:focus {
	outline: 0;
	box-shadow: none;
}

/* Keep native WC quantity present for form submission, but visually hidden. */
.cl-qty-native-hidden {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	clip-path: inset(50%) !important;
	white-space: nowrap !important;
	border: 0 !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

/* ==============================
   Buy Now
   ============================== */

.cl-buy-now {
	width: 100%;
	min-height: 56px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 0 22px;
	margin: 0;
	border: 1px solid #b95432;
	border-radius: 10px;
	background: #b95432;
	color: #fff;
	box-shadow: none;
	cursor: pointer;
	font-family: "Be Vietnam Pro", Arial, sans-serif;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	text-transform: uppercase;
	transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}

.cl-buy-now:hover {
	background: #8e3f29;
	border-color: #8e3f29;
	color: #fff;
}

.cl-buy-now:disabled,
.cl-buy-now.is-loading {
	opacity: .55;
	cursor: not-allowed;
}

.cl-buy-now__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 17px;
}

.cl-buy-now__icon svg {
	width: 17px;
	height: 17px;
	fill: currentColor;
}

@media (max-width: 767px) {
	.cl-qty {
		--cl-qty-button-width: 38px;
		width: 118px;
		height: 52px;
	}

	.cl-qty__button {
		font-size: 22px;
	}

	.cl-qty__value {
		font-size: 16px;
	}

	.cl-buy-now {
		min-height: 52px;
		padding: 0 16px;
		font-size: 13px;
	}
}
