/* ==========================================================================
   Ay quetecomo – Widgets de producto
   Colores base: rosa #E5195E · verde oscuro #0F3B33 · crema #FBF5EE
   ========================================================================== */

/* ---------- Badges de alérgenos ---------- */
.aqc-badges {
	--aqc-badge-icon: 24px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.aqc-badge {
	display: inline-flex;
	align-items: center;
	column-gap: 8px;
	margin: 0;
	padding: 8px 16px 8px 12px;
	background: #fff;
	border: 1px solid #F1E7DC;
	border-radius: 999px;
	box-shadow: 0 2px 6px rgba(15, 59, 51, .06);
	line-height: 1.2;
	color: #0F3B33;
}

.aqc-badge__icon {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: var(--aqc-badge-icon);
	height: var(--aqc-badge-icon);
	color: #0F3B33;
	font-size: var(--aqc-badge-icon);
}

.aqc-badge__icon svg {
	display: block;
	width: 100%;
	height: 100%;
}

.aqc-badge__icon i {
	font-size: inherit;
	line-height: 1;
}

.aqc-badge__text {
	font-size: 15px;
	font-weight: 500;
	color: #0F3B33;
	text-underline-offset: 3px;
	text-decoration-thickness: 1px;
	white-space: nowrap;
}

/* Estilo "Simple" (tarjetas de Loop Grid) */
.aqc-badges-style-plain .aqc-badges {
	--aqc-badge-icon: 18px;
	gap: 10px;
}

.aqc-badges-style-plain .aqc-badge {
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	column-gap: 5px;
}

.aqc-badges-style-plain .aqc-badge__text {
	font-size: 12px;
}

.aqc-badges-empty {
	margin: 0;
}

/* ---------- Pestañas ---------- */
.aqc-tabs {
	--aqc-tabs-indicator: #E5195E;
	--aqc-tabs-indicator-h: 3px;
	color: #24302D;
}

.aqc-tabs__nav {
	display: flex;
	flex-wrap: nowrap;
	column-gap: 16px;
	overflow-x: auto;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.aqc-tabs__nav::-webkit-scrollbar {
	display: none;
}

.aqc-tabs .aqc-tabs__tab {
	position: relative;
	flex: var(--aqc-tab-grow, 0) 0 auto;
	margin: 0;
	padding: 6px 20px 12px;
	background: none;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	color: #24302D;
	font: inherit;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.3;
	text-transform: none;
	letter-spacing: normal;
	white-space: nowrap;
	cursor: pointer;
	transition: color .2s ease;
}

.aqc-tabs .aqc-tabs__tab:hover,
.aqc-tabs .aqc-tabs__tab:focus {
	background: none;
	color: #0F3B33;
}

.aqc-tabs .aqc-tabs__tab.is-active {
	color: #0F3B33;
	font-weight: 600;
}

.aqc-tabs__tab::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: var(--aqc-tabs-indicator-h);
	border-radius: var(--aqc-tabs-indicator-h);
	background: var(--aqc-tabs-indicator);
	transform: scaleX(0);
	transition: transform .25s ease;
}

.aqc-tabs__tab.is-active::after {
	transform: scaleX(1);
}

.aqc-tabs__tab:focus-visible {
	outline: 2px solid var(--aqc-tabs-indicator);
	outline-offset: 2px;
}

.aqc-tabs__panel {
	padding-top: 22px;
	font-size: 16px;
	line-height: 1.6;
}

.aqc-tabs__panel[hidden] {
	display: none;
}

.aqc-tabs__panel:focus {
	outline: none;
}

.aqc-tabs__panel > :first-child {
	margin-top: 0;
}

.aqc-tabs__panel > :last-child {
	margin-bottom: 0;
}

.aqc-tabs__panel p {
	margin: 0 0 .8em;
}

.aqc-tabs__subtitle {
	font-weight: 600;
	color: #0F3B33;
}

p.aqc-tabs__subtitle {
	margin: 0 0 .6em;
}

.aqc-tabs__panel .aqc-badges {
	margin: 0 0 1em;
	gap: 10px;
}

.aqc-tabs__panel .aqc-badge__text {
	text-decoration: none;
}

/* ---------- Galería ---------- */
.aqc-gallery {
	--aqc-thumb-w: 108px;
	--aqc-thumb-ratio: 6 / 5;
	--aqc-thumb-gap: 14px;
	--aqc-thumb-radius: 10px;
	--aqc-thumb-opacity: 1;
	--aqc-thumb-active: #E5195E;
	--aqc-thumb-active-w: 2px;
	--aqc-gap: 18px;
	--aqc-main-ratio: 4 / 3;
	--aqc-main-fit: cover;
	--aqc-main-radius: 14px;
	--aqc-zoom-size: 40px;
	--aqc-zoom-bg: #fff;
	--aqc-zoom-color: #0F3B33;
	--aqc-zoom-offset: 18px;
	--aqc-play-bg: rgba(255, 255, 255, .92);
	--aqc-play-color: #0F3B33;

	display: grid;
	min-width: 0;
	max-width: 100%;
	grid-template-columns: var(--aqc-thumb-w) minmax(0, 1fr);
	grid-template-areas: "thumbs stage";
	gap: var(--aqc-gap);
	align-items: stretch;
}

.aqc-thumbs-right .aqc-gallery {
	grid-template-columns: minmax(0, 1fr) var(--aqc-thumb-w);
	grid-template-areas: "stage thumbs";
}

.aqc-gallery.aqc-gallery--single,
.aqc-thumbs-bottom .aqc-gallery {
	grid-template-columns: minmax(0, 1fr);
	grid-template-areas: "stage" "thumbs";
}

/* Imagen principal */
.aqc-gallery__stage {
	grid-area: stage;
	position: relative;
	min-width: 0;
	overflow: hidden;
	aspect-ratio: var(--aqc-main-ratio);
	border-radius: var(--aqc-main-radius);
	background: #F3ECE3;
	touch-action: pan-y;
}

.aqc-gallery .aqc-gallery__main {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: var(--aqc-main-fit);
	border-radius: 0;
	transition: opacity .25s ease;
}

.aqc-gallery--lightbox .aqc-gallery__main {
	cursor: zoom-in;
}

.aqc-gallery__main.is-loading {
	opacity: .35;
}

.aqc-gallery__main[hidden] {
	display: none;
}

.aqc-gallery__video {
	position: absolute;
	inset: 0;
	background: #000;
}

.aqc-gallery__video[hidden] {
	display: none;
}

.aqc-gallery__video iframe,
.aqc-gallery__video video {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
	object-fit: contain;
}

.aqc-gallery .aqc-gallery__zoom {
	position: absolute;
	right: var(--aqc-zoom-offset);
	bottom: var(--aqc-zoom-offset);
	display: flex;
	align-items: center;
	justify-content: center;
	width: var(--aqc-zoom-size);
	height: var(--aqc-zoom-size);
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--aqc-zoom-bg);
	color: var(--aqc-zoom-color);
	box-shadow: 0 4px 14px rgba(0, 0, 0, .15);
	cursor: pointer;
	transition: transform .2s ease;
}

.aqc-gallery .aqc-gallery__zoom:hover,
.aqc-gallery .aqc-gallery__zoom:focus {
	background: var(--aqc-zoom-bg);
	color: var(--aqc-zoom-color);
	transform: scale(1.08);
}

.aqc-gallery__zoom svg {
	width: 55%;
	height: 55%;
}

.aqc-gallery__stage.is-video .aqc-gallery__zoom {
	display: none;
}

/* Miniaturas */
.aqc-gallery__thumbs {
	grid-area: thumbs;
	position: relative;
	min-width: 0;
	min-height: 0;
}

/* En lateral, la columna de miniaturas no estira la fila: hace scroll */
.aqc-gallery__track {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	gap: var(--aqc-thumb-gap);
	overflow-y: auto;
	overscroll-behavior: contain;
	scrollbar-width: none;
	padding: 2px;
	margin: -2px;
}

.aqc-gallery__track::-webkit-scrollbar {
	display: none;
}

.aqc-thumbs-bottom .aqc-gallery__track {
	position: static;
	flex-direction: row;
	overflow-x: auto;
	overflow-y: hidden;
}

.aqc-thumbs-bottom .aqc-gallery__thumb {
	width: var(--aqc-thumb-w);
}

.aqc-gallery .aqc-gallery__thumb {
	position: relative;
	flex: 0 0 auto;
	display: block;
	aspect-ratio: var(--aqc-thumb-ratio);
	margin: 0;
	padding: 0;
	overflow: hidden;
	border: 0;
	border-radius: var(--aqc-thumb-radius);
	background: #F3ECE3;
	opacity: var(--aqc-thumb-opacity);
	cursor: pointer;
	transition: opacity .2s ease, box-shadow .2s ease;
}

.aqc-gallery .aqc-gallery__thumb:hover,
.aqc-gallery .aqc-gallery__thumb:focus {
	background: #F3ECE3;
	opacity: 1;
}

.aqc-gallery .aqc-gallery__thumb.is-active {
	opacity: 1;
	box-shadow: 0 0 0 var(--aqc-thumb-active-w) var(--aqc-thumb-active);
}

.aqc-gallery__thumb:focus-visible {
	outline: 2px solid var(--aqc-thumb-active);
	outline-offset: 2px;
}

.aqc-gallery .aqc-gallery__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	border-radius: 0;
}

.aqc-gallery__play {
	position: absolute;
	top: 50%;
	left: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40%;
	max-width: 44px;
	aspect-ratio: 1;
	border-radius: 50%;
	background: var(--aqc-play-bg);
	color: var(--aqc-play-color);
	transform: translate(-50%, -50%);
	box-shadow: 0 2px 10px rgba(0, 0, 0, .2);
}

.aqc-gallery__play svg {
	width: 50%;
	height: 50%;
	margin-left: 8%;
}

/* Móvil: miniaturas debajo */
@media (max-width: 767px) {
	.aqc-thumbs-mobile-bottom-yes .aqc-gallery {
		--aqc-thumb-w: 72px;
		--aqc-thumb-gap: 10px;
		--aqc-gap: 12px;
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas: "stage" "thumbs";
	}

	.aqc-thumbs-mobile-bottom-yes .aqc-gallery__track {
		position: static;
		flex-direction: row;
		overflow-x: auto;
		overflow-y: hidden;
	}

	.aqc-thumbs-mobile-bottom-yes .aqc-gallery__thumb {
		width: var(--aqc-thumb-w);
	}

	.aqc-gallery {
		--aqc-zoom-offset: 12px;
	}
}

/* ---------- Lightbox ---------- */
.aqc-lightbox {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 56px 72px;
	background: rgba(12, 22, 20, .92);
	opacity: 0;
	transition: opacity .2s ease;
}

.aqc-lightbox[hidden] {
	display: none;
}

.aqc-lightbox.is-open {
	opacity: 1;
}

.aqc-lightbox__img {
	display: block;
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	border-radius: 10px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, .4);
	user-select: none;
}

.aqc-lightbox button {
	position: absolute;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .12);
	color: #fff;
	cursor: pointer;
	transition: background .2s ease;
}

.aqc-lightbox button:hover,
.aqc-lightbox button:focus {
	background: rgba(255, 255, 255, .25);
	color: #fff;
}

.aqc-lightbox button svg {
	width: 22px;
	height: 22px;
}

.aqc-lightbox__close {
	top: 14px;
	right: 14px;
}

.aqc-lightbox__prev {
	left: 14px;
	top: 50%;
	transform: translateY(-50%);
}

.aqc-lightbox__next {
	right: 14px;
	top: 50%;
	transform: translateY(-50%);
}

.aqc-lightbox--single .aqc-lightbox__prev,
.aqc-lightbox--single .aqc-lightbox__next,
.aqc-lightbox--single .aqc-lightbox__counter {
	display: none;
}

.aqc-lightbox__counter {
	position: absolute;
	bottom: 18px;
	left: 50%;
	transform: translateX(-50%);
	color: rgba(255, 255, 255, .8);
	font-size: 14px;
	letter-spacing: .05em;
}

body.aqc-lightbox-open {
	overflow: hidden;
}

@media (max-width: 767px) {
	.aqc-lightbox {
		padding: 60px 10px;
	}

	.aqc-lightbox__prev,
	.aqc-lightbox__next {
		top: auto;
		bottom: 10px;
		transform: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.aqc-tabs__tab::after,
	.aqc-gallery__main,
	.aqc-lightbox {
		transition: none;
	}
}

/* ==========================================================================
   Precio de producto
   ========================================================================== */
.aqc-price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	column-gap: 8px;
	row-gap: 2px;
	margin: 0;
	color: #0F3B33;
	line-height: 1.1;
}

.aqc-price__from[hidden] {
	display: none;
}

.aqc-price__from,
.aqc-price__suffix {
	color: #4E5A57;
	font-size: 16px;
	font-weight: 500;
}

.aqc-price .aqc-price__amount {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0 10px;
	color: #0F3B33;
	font-family: "DM Serif Display", "Playfair Display", Georgia, serif;
	font-size: 44px;
	font-weight: 700;
	transition: opacity .2s ease, transform .2s ease;
}

.aqc-price__amount.is-changing {
	opacity: 0;
	transform: translateY(4px);
}

.aqc-price__amount .amount,
.aqc-price__amount bdi {
	color: inherit;
	font: inherit;
}

.aqc-price__amount del {
	order: -1;
	color: #8A8F8C;
	font-size: .55em;
	font-weight: 400;
	opacity: 1;
}

.aqc-price__amount ins {
	background: none;
	color: #E5195E;
	text-decoration: none;
}

.aqc-price__amount small,
.aqc-price__amount .woocommerce-price-suffix {
	font-size: .4em;
	font-weight: 400;
}

.aqc-price-old-above .aqc-price__amount {
	flex-direction: column;
	align-items: flex-start;
}

/* ==========================================================================
   Añadir al carrito: variaciones en tarjetas, cantidad − / + y botón
   Selectores reforzados (.aqc-atc.aqc-atc) para ganar a los estilos de
   WooCommerce y del tema; los controles del widget usan {{WRAPPER}} delante.
   ========================================================================== */
.aqc-atc {
	--aqc-brand: #E5195E;
	--aqc-brand-hover: #C70F4F;
	--aqc-brand-soft: #FFF0F5;
	--aqc-ink: #0F3B33;
	--aqc-sw-min: 180px;
	--aqc-sw-bg: #fff;
	--aqc-sw-border: #EADFD3;
	--aqc-sw-bg-active: var(--aqc-brand-soft);
	--aqc-sw-radius: 16px;
	--aqc-btn-h: 54px;
	color: var(--aqc-ink);
}

.aqc-atc.aqc-atc form.cart {
	margin: 0;
	padding: 0;
	background: none;
	border: 0;
}

.aqc-atc.aqc-atc form.cart::before,
.aqc-atc.aqc-atc form.cart::after {
	display: none;
}

/* --- Tabla de variaciones → bloques --- */
.aqc-atc.aqc-atc table.variations,
.aqc-atc.aqc-atc table.variations tbody,
.aqc-atc.aqc-atc table.variations tr,
.aqc-atc.aqc-atc table.variations th,
.aqc-atc.aqc-atc table.variations td {
	display: block;
	width: auto;
	margin: 0;
	padding: 0;
	background: none;
	border: 0;
	text-align: left;
	line-height: 1.3;
}

.aqc-atc.aqc-atc table.variations {
	margin: 0 0 24px;
	table-layout: auto;
}

.aqc-atc.aqc-atc table.variations tr + tr {
	margin-top: 20px;
}

.aqc-atc.aqc-atc table.variations th.label {
	margin-bottom: 12px;
}

.aqc-atc.aqc-atc table.variations th.label label {
	display: block;
	margin: 0;
	color: var(--aqc-ink);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
}

/* El <select> sigue existiendo (WooCommerce lo necesita) pero no se ve */
.aqc-atc.aqc-atc select.aqc-atc__select {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden;
	clip: rect(0 0 0 0);
	opacity: 0;
	pointer-events: none;
}

.aqc-atc.aqc-atc .reset_variations {
	display: none !important;
}

.aqc-atc-reset-yes .aqc-atc.aqc-atc .reset_variations {
	display: inline-block !important;
	margin-top: 10px;
	color: var(--aqc-ink);
	font-size: 13px;
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* --- Tarjetas de opciones --- */
.aqc-atc .aqc-swatches {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(var(--aqc-sw-min), 100%), 1fr));
	gap: 12px;
}

.aqc-atc.aqc-atc button.aqc-swatch {
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	min-height: 64px;
	margin: 0;
	padding: 14px 42px 14px 16px;
	background: var(--aqc-sw-bg);
	border: 1.5px solid var(--aqc-sw-border);
	border-radius: var(--aqc-sw-radius);
	box-shadow: 0 2px 8px rgba(15, 59, 51, .05);
	color: var(--aqc-ink);
	font: inherit;
	line-height: 1.25;
	text-align: left;
	text-transform: none;
	letter-spacing: normal;
	white-space: normal;
	cursor: pointer;
	transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease, transform .15s ease;
}

.aqc-atc.aqc-atc button.aqc-swatch:hover {
	background: var(--aqc-sw-bg);
	border-color: var(--aqc-brand);
	color: var(--aqc-ink);
	box-shadow: 0 6px 16px rgba(15, 59, 51, .08);
	transform: translateY(-1px);
}

.aqc-atc.aqc-atc button.aqc-swatch:focus {
	color: var(--aqc-ink);
	outline: none;
}

.aqc-atc.aqc-atc button.aqc-swatch:focus-visible {
	outline: 2px solid var(--aqc-brand);
	outline-offset: 2px;
}

.aqc-atc.aqc-atc button.aqc-swatch.is-selected,
.aqc-atc.aqc-atc button.aqc-swatch.is-selected:hover {
	background: var(--aqc-sw-bg-active);
	border-color: var(--aqc-brand);
	box-shadow: 0 0 0 1px var(--aqc-brand), 0 6px 16px rgba(229, 25, 94, .12);
}

.aqc-atc.aqc-atc button.aqc-swatch.is-disabled,
.aqc-atc.aqc-atc button.aqc-swatch.is-disabled:hover {
	border-color: var(--aqc-sw-border);
	box-shadow: none;
	cursor: not-allowed;
	opacity: .5;
	transform: none;
}

.aqc-swatch__img {
	flex: 0 0 auto;
	width: 44px;
	height: 44px;
	border-radius: 10px;
	object-fit: cover;
}

.aqc-swatch__body {
	display: flex;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
}

.aqc-swatch__label {
	font-size: 15px;
	font-weight: 600;
}

.aqc-swatch__price {
	color: var(--aqc-brand);
	font-size: 14px;
	font-weight: 600;
}

.aqc-swatch__price:empty,
.aqc-swatch__tag:empty {
	display: none;
}

.aqc-swatch__price del {
	margin-right: 4px;
	color: #8A8F8C;
	font-weight: 400;
	opacity: 1;
}

.aqc-swatch__price ins {
	background: none;
	text-decoration: none;
}

.aqc-swatch__tag {
	color: #8A8F8C;
	font-size: 12px;
	font-weight: 500;
}

/* Círculo de selección */
.aqc-swatch__check {
	position: absolute;
	top: 50%;
	right: 14px;
	width: 20px;
	height: 20px;
	border: 1.5px solid var(--aqc-sw-border);
	border-radius: 50%;
	background: #fff;
	transform: translateY(-50%);
	transition: background-color .2s ease, border-color .2s ease;
}

.aqc-swatch.is-selected .aqc-swatch__check {
	border-color: var(--aqc-brand);
	background: var(--aqc-brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 13px no-repeat;
}

/* --- Info de la variación elegida --- */
.aqc-atc.aqc-atc .single_variation_wrap .woocommerce-variation {
	margin: 0 0 18px;
}

.aqc-atc.aqc-atc .woocommerce-variation-price .price {
	color: var(--aqc-ink);
	font-size: 24px;
	font-weight: 700;
}

.aqc-atc-varprice-no .aqc-atc.aqc-atc .woocommerce-variation-price {
	display: none;
}

.aqc-atc.aqc-atc .woocommerce-variation-availability p.stock {
	margin: 6px 0 0;
	font-size: 14px;
}

.aqc-atc.aqc-atc .woocommerce-variation-availability p.in-stock {
	color: #2E7D5B;
}

.aqc-atc.aqc-atc .woocommerce-variation-availability p.out-of-stock {
	color: var(--aqc-brand);
}

/* --- Fila cantidad + botón --- */
.aqc-atc.aqc-atc form.cart:not(.variations_form),
.aqc-atc.aqc-atc .woocommerce-variation-add-to-cart {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 18px;
}

/* --- Cantidad − / + --- */
.aqc-atc.aqc-atc div.quantity {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	float: none;
	margin: 0;
	padding: 5px;
	background: #fff;
	border-radius: 999px;
	box-shadow: 0 4px 14px rgba(15, 59, 51, .08);
}

.aqc-atc-qty-no .aqc-atc.aqc-atc div.quantity {
	display: none;
}

.aqc-atc.aqc-atc div.quantity .screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.aqc-atc.aqc-atc div.quantity input.qty {
	width: 42px;
	height: calc(var(--aqc-btn-h) - 10px);
	margin: 0;
	padding: 0;
	background: transparent;
	border: 0;
	box-shadow: none;
	color: var(--aqc-ink);
	font-size: 18px;
	font-weight: 600;
	text-align: center;
	-moz-appearance: textfield;
	appearance: textfield;
}

.aqc-atc.aqc-atc div.quantity input.qty::-webkit-inner-spin-button,
.aqc-atc.aqc-atc div.quantity input.qty::-webkit-outer-spin-button {
	margin: 0;
	-webkit-appearance: none;
}

.aqc-atc.aqc-atc div.quantity input.qty:focus {
	outline: none;
}

.aqc-atc.aqc-atc button.aqc-qty-btn {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: calc(var(--aqc-btn-h) - 10px);
	height: calc(var(--aqc-btn-h) - 10px);
	margin: 0;
	padding: 0;
	background: #fff;
	border: 1px solid #F1E7DC;
	border-radius: 50%;
	box-shadow: 0 2px 6px rgba(15, 59, 51, .08);
	color: var(--aqc-brand);
	cursor: pointer;
	transition: background-color .2s ease, transform .15s ease;
}

.aqc-atc.aqc-atc button.aqc-qty-btn:hover,
.aqc-atc.aqc-atc button.aqc-qty-btn:focus {
	background: var(--aqc-brand-soft);
	color: var(--aqc-brand);
	border-color: #F1E7DC;
}

.aqc-atc.aqc-atc button.aqc-qty-btn:active {
	transform: scale(.94);
}

.aqc-atc.aqc-atc button.aqc-qty-btn:disabled {
	cursor: default;
	opacity: .4;
	background: #fff;
}

.aqc-qty-btn svg {
	width: 18px;
	height: 18px;
}

/* --- Botón añadir al carrito --- */
.aqc-atc.aqc-atc form.cart button.single_add_to_cart_button.button {
	display: inline-flex;
	flex: 0 1 auto;
	align-items: center;
	justify-content: center;
	gap: 12px;
	float: none;
	min-width: 220px;
	height: var(--aqc-btn-h);
	margin: 0;
	padding: 0 36px;
	background: var(--aqc-brand);
	border: 0;
	border-radius: 999px;
	box-shadow: 0 8px 20px rgba(229, 25, 94, .25);
	color: #fff;
	font-family: inherit;
	font-size: 17px;
	font-weight: 600;
	letter-spacing: .02em;
	line-height: 1;
	text-transform: uppercase;
	cursor: pointer;
	opacity: 1;
	transition: background-color .2s ease, box-shadow .2s ease, transform .15s ease, opacity .2s ease;
}

.aqc-atc.aqc-atc form.cart button.single_add_to_cart_button.button:hover,
.aqc-atc.aqc-atc form.cart button.single_add_to_cart_button.button:focus {
	background: var(--aqc-brand-hover);
	color: #fff;
	box-shadow: 0 10px 24px rgba(229, 25, 94, .32);
}

.aqc-atc.aqc-atc form.cart button.single_add_to_cart_button.button:hover {
	transform: translateY(-1px);
}

.aqc-atc.aqc-atc form.cart button.single_add_to_cart_button.button:focus-visible {
	outline: 2px solid var(--aqc-brand);
	outline-offset: 3px;
}

/* Flecha → */
.aqc-atc.aqc-atc form.cart button.single_add_to_cart_button.button::after {
	content: "";
	position: static;
	display: block;
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	margin: 0;
	border: 0;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h15M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h15M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
	animation: none;
	transition: transform .2s ease;
}

.aqc-atc.aqc-atc form.cart button.single_add_to_cart_button.button:hover::after {
	transform: translateX(3px);
}

.aqc-atc-arrow-no .aqc-atc.aqc-atc form.cart button.single_add_to_cart_button.button::after {
	display: none;
}

/* "Elige una opción" / no disponible (WooCommerce lo pinta morado por defecto) */
.aqc-atc.aqc-atc form.cart button.single_add_to_cart_button.button.disabled,
.aqc-atc.aqc-atc form.cart button.single_add_to_cart_button.button:disabled,
.aqc-atc.aqc-atc form.cart button.single_add_to_cart_button.button.disabled:hover {
	background: var(--aqc-brand);
	color: #fff;
	box-shadow: none;
	cursor: not-allowed;
	opacity: .45;
	transform: none;
}

.aqc-atc.aqc-atc form.cart button.single_add_to_cart_button.button.loading {
	opacity: .75;
}

.aqc-atc-full-yes .aqc-atc.aqc-atc form.cart button.single_add_to_cart_button.button {
	flex: 1 1 auto;
}

@media (max-width: 767px) {
	.aqc-atc.aqc-atc form.cart button.single_add_to_cart_button.button {
		flex: 1 1 auto;
		min-width: 0;
		padding: 0 22px;
		font-size: 15px;
	}

	.aqc-atc.aqc-atc form.cart:not(.variations_form),
	.aqc-atc.aqc-atc .woocommerce-variation-add-to-cart {
		gap: 12px;
	}
}
