/* =========================================================
   BIG4 Product Add to Cart — base styles
   Colors/sizes here are defaults only; Elementor's {{WRAPPER}}
   rules from the panel override them.
   ========================================================= */

.big4-atc,
.big4-atc * {
	box-sizing: border-box;
}

.big4-atc__form,
.big4-atc__body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	row-gap: 45px;
	width: 100%;
	margin: 0;
}

/* ---------- Quantity ---------- */
.big4-atc .big4-atc__qty.quantity {
	display: flex;
	align-items: center;
	gap: 15px;
	float: none;
	margin: 0;
}

.big4-atc button.big4-atc__qty-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	padding: 0;
	margin: 0;
	border: 1px solid transparent;
	border-radius: 50%;
	background-color: transparent;
	box-shadow: none;
	cursor: pointer;
	line-height: 1;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, opacity 0.2s ease, transform 0.15s ease;
}

.big4-atc button.big4-atc__qty-btn--minus {
	background-color: #fff;
	border-color: #ebebeb;
	color: #808080;
}

.big4-atc button.big4-atc__qty-btn--plus {
	background-color: #00c9fe;
	border-color: #00c9fe;
	color: #fff;
}

.big4-atc button.big4-atc__qty-btn:hover:not(:disabled) {
	transform: scale(1.06);
}

.big4-atc button.big4-atc__qty-btn:disabled {
	opacity: 0.4;
	cursor: not-allowed;
}

.big4-atc button.big4-atc__qty-btn:focus-visible {
	outline: 2px solid #00c9fe;
	outline-offset: 2px;
}

.big4-atc .big4-atc__qty-btn svg {
	width: 100%;
	height: 100%;
	display: block;
	pointer-events: none;
}

.big4-atc .big4-atc__qty.quantity .big4-atc__qty-input {
	width: 1ch;
	min-width: 1ch;
	padding: 0;
	margin: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	color: #1f1f1f;
	font-family: Roboto, sans-serif;
	font-size: 30px;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	-moz-appearance: textfield;
	appearance: textfield;
}

.big4-atc .big4-atc__qty-input::-webkit-outer-spin-button,
.big4-atc .big4-atc__qty-input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.big4-atc .big4-atc__qty.quantity .big4-atc__qty-input:focus {
	outline: none;
	box-shadow: 0 2px 0 0 #00c9fe;
}

/* ---------- Buttons ---------- */
.big4-atc__buttons {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	width: 100%;
}

.big4-atc .big4-atc__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 79%;
	max-width: 100%;
	margin: 0;
	padding: 13px 20px;
	border: 0;
	border-radius: 1000px;
	box-shadow: none;
	font-family: Roboto, sans-serif;
	font-size: 18px;
	font-weight: 400;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	text-transform: none;
	cursor: pointer;
	transition: background-color 0.3s, color 0.3s, border-color 0.3s, opacity 0.3s;
}

.big4-atc .big4-atc__button--cart {
	background-color: #00c9fe;
	color: #fff;
}

.big4-atc .big4-atc__button--buy {
	padding: 12px 20px;
	background-color: transparent;
	border: 1px solid #00c9fe;
	color: #00c9fe;
}

.big4-atc .big4-atc__button:hover,
.big4-atc .big4-atc__button:focus-visible {
	background-color: #0202fe;
	color: #f2fcff;
}

.big4-atc .big4-atc__button:focus-visible {
	outline: 2px solid #0202fe;
	outline-offset: 2px;
}

.big4-atc .big4-atc__button.disabled,
.big4-atc .big4-atc__button:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.big4-atc .big4-atc__button.loading {
	opacity: 0.7;
	cursor: progress;
}

.big4-atc .big4-atc__button.loading .big4-atc__button-text::after {
	content: "";
	display: inline-block;
	width: 0.9em;
	height: 0.9em;
	margin-left: 0.5em;
	vertical-align: -0.1em;
	border: 2px solid currentColor;
	border-right-color: transparent;
	border-radius: 50%;
	animation: big4-atc-spin 0.7s linear infinite;
}

@keyframes big4-atc-spin {
	to {
		transform: rotate(360deg);
	}
}

/* ---------- Messages ---------- */
.big4-atc .big4-atc__notice {
	margin: 0;
	color: #d63638;
	font-size: 14px;
	line-height: 1.4;
}

.big4-atc .big4-atc__notice[hidden] {
	display: none;
}

/* WooCommerce notices shown here when the page has no WooCommerce Notices widget. */
.big4-atc .big4-atc__wc-notices {
	width: 100%;
	margin-bottom: 20px;
}

.big4-atc .big4-atc__wc-notices:empty {
	display: none;
}

.big4-atc .big4-atc__wc-notices > :last-child {
	margin-bottom: 0;
}

/* ---------- Variable products ---------- */
.big4-atc .big4-atc__variations {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 15px;
	width: 100%;
	margin: 0;
}

.big4-atc .big4-atc__variation {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 160px;
}

.big4-atc .big4-atc__variation label {
	margin: 0;
	color: #1f1f1f;
	font-size: 16px;
	font-weight: 500;
}

.big4-atc .big4-atc__variation select {
	width: 100%;
	min-height: 44px;
	padding: 8px 36px 8px 14px;
	border: 1px solid #ebebeb;
	border-radius: 8px;
	background-color: #fff;
	color: #1f1f1f;
	font-size: 16px;
}

.big4-atc .big4-atc__reset {
	align-self: center;
	font-size: 14px;
	text-decoration: underline;
}

.big4-atc .big4-atc__variation-wrap {
	display: flex;
	flex-direction: column;
	align-items: inherit;
	gap: 15px;
	width: 100%;
}

.big4-atc .big4-atc__variation-wrap .variations_button {
	width: 100%;
}

.big4-atc .single_variation:empty {
	display: none;
}

.big4-atc .single_variation .price {
	font-size: 20px;
	font-weight: 700;
}

.big4-atc .single_variation p {
	margin: 0;
}

@media (max-width: 767px) {
	.big4-atc .big4-atc__button {
		width: 100%;
	}

	.big4-atc button.big4-atc__qty-btn {
		width: 30px;
		height: 30px;
	}
}
