/**
 * Alma Bonsái · Fichas de producto
 * Estilos de front-end. Todo queda dentro del ámbito .abf-ficha para no
 * interferir con el tema, y las variables de color/tipografía se inyectan
 * desde los ajustes del plugin.
 *//* -------------------------------------------------------------------------
 * 1. Base y reset defensivo
 * ---------------------------------------------------------------------- */

.abf-ficha {
	--abf-gap: 52px;
	--abf-panel-line: var(--abf-line);

	box-sizing: border-box;
	max-width: var(--abf-max, 1180px);
	margin: 0 auto;
	padding: 0 20px 8px;
	font-family: var(--abf-font-body);
	color: var(--abf-ink);
	font-size: 16px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

.abf-ficha *,
.abf-ficha *::before,
.abf-ficha *::after {
	box-sizing: border-box;
}

.abf-ficha p,
.abf-ficha h1,
.abf-ficha h2,
.abf-ficha h3,
.abf-ficha figure,
.abf-ficha ul {
	margin: 0;
	padding: 0;
}

.abf-ficha ul {
	list-style: none;
}

.abf-ficha img {
	max-width: 100%;
	height: auto;
	display: block;
}

.abf-ficha button {
	font: inherit;
	color: inherit;
	background: none;
	border: 0;
	margin: 0;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}

.abf-ficha a {
	color: inherit;
	text-decoration: none;
}

.abf-ficha :focus-visible {
	outline: 2px solid var(--abf-green-600);
	outline-offset: 2px;
	border-radius: 4px;
}

.abf-ficha .abf-icon {
	flex: 0 0 auto;
	display: block;
}/* Ancho completo: se escapa del contenedor del tema cuando este es más
 * estrecho que el ancho máximo configurado. Se apoya en márgenes negativos
 * calculados, sin transform, para no romper los elementos fijos internos. */

.abf-ficha--breakout {
	--abf-breakout: min(var(--abf-max, 1180px), 100vw - 40px);

	width: var(--abf-breakout);
	max-width: var(--abf-breakout);
	margin-left: calc(50% - var(--abf-breakout) / 2);
	margin-right: calc(50% - var(--abf-breakout) / 2);
}/* -------------------------------------------------------------------------
 * 2. Rejilla principal
 * ---------------------------------------------------------------------- */

.abf-ficha__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.24fr) minmax(0, 1fr);
	gap: var(--abf-gap);
	align-items: start;
}

.abf-ficha__panel {
	padding-top: 4px;
}/* -------------------------------------------------------------------------
 * 3. Galería
 * ---------------------------------------------------------------------- */

.abf-ficha .abf-gallery__stage {
	position: relative;
	border-radius: var(--abf-radius);
	overflow: hidden;
	aspect-ratio: 1 / 1.1;
}

.abf-ficha--alambre .abf-gallery__stage {
	aspect-ratio: 4 / 5;
}

.abf-ficha .abf-gallery__viewport {
	position: absolute;
	inset: 0;
}

.abf-ficha .abf-gallery__slide {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 26px;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.35s ease;
}

.abf-ficha .abf-gallery__slide.is-active {
	opacity: 1;
	visibility: visible;
}

.abf-ficha .abf-gallery__slide img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	mix-blend-mode: multiply;
}

.abf-ficha .abf-round-btn.abf-round-btn {
	position: absolute;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: #fff;
	color: var(--abf-ink);
	box-shadow: 0 2px 10px rgba(15, 30, 20, 0.12);
	transition: transform 0.18s ease, box-shadow 0.18s ease;
	z-index: 2;
}

.abf-ficha .abf-round-btn.abf-round-btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 4px 14px rgba(15, 30, 20, 0.18);
}

.abf-ficha .abf-round-btn--prev.abf-round-btn--prev,
.abf-ficha .abf-round-btn--next.abf-round-btn--next {
	top: 50%;
	transform: translateY(-50%);
}

.abf-ficha .abf-round-btn--prev.abf-round-btn--prev:hover,
.abf-ficha .abf-round-btn--next.abf-round-btn--next:hover {
	transform: translateY(calc(-50% - 1px));
}

.abf-ficha .abf-round-btn--prev.abf-round-btn--prev {
	left: 14px;
}

.abf-ficha .abf-round-btn--next.abf-round-btn--next {
	right: 14px;
}

.abf-ficha .abf-round-btn--wish.abf-round-btn--wish {
	top: 16px;
	right: 16px;
}

.abf-ficha .abf-round-btn--wish.abf-round-btn--wish[aria-pressed="true"] {
	color: #b3261e;
}

.abf-ficha .abf-round-btn--wish.abf-round-btn--wish[aria-pressed="true"] .abf-icon {
	fill: currentColor;
}

.abf-ficha .abf-round-btn--zoom.abf-round-btn--zoom {
	right: 16px;
	bottom: 16px;
}

.abf-ficha .abf-badge.abf-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 7px 15px;
	border-radius: 999px;
	background: var(--abf-green-900);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.09em;
	line-height: 1;
	text-transform: uppercase;
}

.abf-ficha .abf-badge--corner.abf-badge--corner {
	position: absolute;
	top: 16px;
	left: 16px;
	z-index: 2;
}

.abf-ficha .abf-gallery__thumbs {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 10px;
	margin-top: 14px;
}

.abf-ficha .abf-thumb.abf-thumb {
	position: relative;
	aspect-ratio: 1 / 1;
	border-radius: 10px;
	overflow: hidden;
	border: 1px solid transparent;
	padding: 0;
	transition: border-color 0.18s ease;
}

.abf-ficha .abf-thumb.abf-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.abf-ficha .abf-thumb.abf-thumb.is-active {
	border-color: var(--abf-green-800);
}/* Lightbox */

.abf-ficha .abf-lightbox {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 32px;
	background: rgba(8, 18, 12, 0.86);
}

.abf-ficha .abf-lightbox[hidden] {
	display: none;
}

.abf-ficha .abf-lightbox__img {
	max-width: min(92vw, 1100px);
	max-height: 88vh;
	object-fit: contain;
	border-radius: 8px;
	background: #fff;
}

.abf-ficha .abf-lightbox__close {
	position: absolute;
	top: 18px;
	right: 24px;
	font-size: 38px;
	line-height: 1;
	color: #fff;
}/* -------------------------------------------------------------------------
 * 4. Cabecera del panel
 * ---------------------------------------------------------------------- */

.abf-ficha .abf-title {
	font-family: var(--abf-font-head);
	font-weight: 700;
	font-size: clamp(32px, 3.6vw, 46px);
	line-height: 1.1;
	letter-spacing: -0.005em;
	margin-bottom: 18px;

	/* Muchos temas ponen los H1 en versalitas: aquí el título va capitalizado. */

	text-transform: none;
	font-variant: normal;
}

.abf-ficha .abf-title--ink {
	color: var(--abf-ink);
}

.abf-ficha .abf-title--green {
	color: var(--abf-green-800);
}

.abf-ficha--alambre .abf-title {
	font-size: clamp(30px, 3.1vw, 40px);
	line-height: 1.16;
	margin-bottom: 18px;
}

.abf-ficha .abf-subtitle {
	font-size: 17px;
	color: #2c302e;
	margin-bottom: 30px;
}

.abf-ficha .abf-lead {
	font-size: 15.5px;
	line-height: 1.62;
	color: #4d4c4e;
	margin-bottom: 26px;
	max-width: 42ch;
}

.abf-ficha .abf-price {
	display: flex;
	align-items: baseline;
	gap: 10px;
	margin-bottom: 28px;
}

.abf-ficha .abf-price__amount {
	font-size: 34px;
	font-weight: 800;
	letter-spacing: -0.015em;
	line-height: 1;
	color: var(--abf-ink);
}

.abf-ficha .abf-price--green .abf-price__amount {
	color: var(--abf-green-800);
	font-size: 30px;
}

.abf-ficha .abf-price__currency {
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0.02em;
	color: #55605a;
}

.abf-ficha .abf-claim {
	display: flex;
	align-items: center;
	gap: 11px;
	font-size: 14.5px;
	color: #33403a;
	margin-bottom: 32px;
}

.abf-ficha .abf-claim__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	border: 1px solid var(--abf-green-600);
	color: var(--abf-green-800);
}

.abf-ficha .abf-claim__icon .abf-icon {
	width: 15px;
	height: 15px;
}/* -------------------------------------------------------------------------
 * 5. Caja de compra (Akadamix)
 * ---------------------------------------------------------------------- */

.abf-ficha .abf-buybox {
	border: 1px solid var(--abf-panel-line);
	border-radius: var(--abf-radius);
	padding: 24px 22px 22px;
}

.abf-ficha .abf-buybox__title {
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.055em;
	text-transform: uppercase;
	color: var(--abf-ink);
	margin-bottom: 6px;
}

.abf-ficha .abf-buybox__sub {
	font-size: 14px;
	color: #4d4c4e;
	margin-bottom: 26px;
}

.abf-ficha .abf-tiers {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin-bottom: 22px;
}

.abf-ficha .abf-tier.abf-tier {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 9px;
	padding: 22px 8px 18px;
	border: 1px solid #e7e7e5;
	border-radius: 10px;
	background: #fff;
	text-align: center;
	cursor: pointer;
	transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.abf-ficha .abf-tier.abf-tier.has-badge {
	border-color: var(--abf-green-800);
	margin-top: 10px;
	padding-top: 24px;
}

.abf-ficha .abf-tier__input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
	pointer-events: none;
}

.abf-ficha .abf-tier.abf-tier:hover {
	border-color: var(--abf-green-600);
}

.abf-ficha .abf-tier.abf-tier.is-selected {
	border-color: var(--abf-green-900);
	box-shadow: inset 0 0 0 1px var(--abf-green-900);
}

.abf-ficha .abf-tier__badge {
	position: absolute;
	top: 0;
	left: 50%;
	transform: translate(-50%, -50%);
	white-space: nowrap;
	padding: 6px 12px;
	border-radius: 999px;
	background: var(--abf-green-900);
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.07em;
	line-height: 1;
	text-transform: uppercase;
}

.abf-ficha .abf-tier__title {
	font-size: 15px;
	font-weight: 600;
	color: var(--abf-ink);
}

.abf-ficha .abf-tier__price {
	font-size: 19px;
	font-weight: 800;
	letter-spacing: -0.01em;
	color: var(--abf-ink);
}

.abf-ficha .abf-tier__note {
	font-size: 12.5px;
	color: #55605a;
}

.abf-ficha .abf-tier__save {
	font-size: 13px;
	font-weight: 600;
	color: var(--abf-green-600);
}/* -------------------------------------------------------------------------
 * 6. Botones
 * ---------------------------------------------------------------------- */

.abf-ficha .abf-btn.abf-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	width: 100%;
	min-height: 54px;
	padding: 15px 20px;
	border: 0;
	border-radius: 8px;
	box-shadow: none;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	text-decoration: none;
	transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, opacity 0.18s ease;
}

.abf-ficha .abf-btn.abf-btn + .abf-btn.abf-btn {
	margin-top: 12px;
}

.abf-ficha .abf-btn--primary.abf-btn--primary {
	background: var(--abf-green-900);
	color: #fff;
}

.abf-ficha .abf-btn--primary.abf-btn--primary:hover {
	background: #013c17;
}

.abf-ficha .abf-btn--ghost.abf-btn--ghost {
	background: #fff;
	color: var(--abf-ink);
	border: 1px solid #cbd6cf;
}

.abf-ficha .abf-btn--ghost.abf-btn--ghost:hover {
	border-color: var(--abf-green-800);
	color: var(--abf-green-800);
}

.abf-ficha .abf-btn.abf-btn[disabled],
.abf-ficha .abf-btn.abf-btn[aria-disabled="true"] {
	cursor: not-allowed;
}

.abf-ficha .abf-btn--primary.abf-btn--primary[disabled] {
	background: #b7b7b7;
	color: #fff;
}

.abf-ficha .abf-btn--ghost.abf-btn--ghost[disabled] {
	color: #8d918e;
	border-color: #d8ded9;
}

.abf-ficha .abf-btn.abf-btn.is-loading {
	opacity: 0.75;
	pointer-events: none;
}

.abf-ficha .abf-feedback {
	margin-top: 12px;
	font-size: 13.5px;
	color: var(--abf-green-800);
	min-height: 0;
}

.abf-ficha .abf-feedback:empty {
	margin-top: 0;
}

.abf-ficha .abf-feedback.is-error {
	color: #b3261e;
}

.abf-ficha .abf-feedback a {
	text-decoration: underline;
	font-weight: 600;
}/* -------------------------------------------------------------------------
 * 7. Medios de pago
 * ---------------------------------------------------------------------- */

.abf-ficha .abf-payment {
	margin-top: 24px;
}

.abf-ficha .abf-payment__label {
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--abf-ink);
	margin-bottom: 12px;
}

.abf-ficha .abf-payment__row {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
}

.abf-ficha .abf-payment__img {
	width: 100%;
	max-width: min(100%, var(--abf-payment-w, 300px));
	height: auto;
}

.abf-ficha .abf-payment__note {
	font-size: 13px;
	color: #55605a;
}/* -------------------------------------------------------------------------
 * 8. Acordeones
 * ---------------------------------------------------------------------- */

.abf-ficha .abf-accordions {
	margin-top: 22px;
	border: 1px solid var(--abf-panel-line);
	border-radius: var(--abf-radius);
	overflow: hidden;
}

.abf-ficha .abf-accordion + .abf-accordion {
	border-top: 1px solid var(--abf-panel-line);
}

.abf-ficha .abf-accordion__heading {
	margin: 0;
	font-size: inherit;
	font-weight: inherit;
}

.abf-ficha .abf-accordion__trigger.abf-accordion__trigger {
	display: flex;
	align-items: center;
	gap: 14px;
	width: 100%;
	padding: 17px 20px;
	text-align: left;
}

.abf-ficha .abf-accordion__icon {
	display: inline-flex;
	color: var(--abf-ink);
}

.abf-ficha .abf-accordion__title {
	flex: 1 1 auto;
	font-size: 13.5px;
	font-weight: 700;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: var(--abf-ink);
}

.abf-ficha .abf-accordion__sign {
	position: relative;
	width: 16px;
	height: 16px;
	flex: 0 0 auto;
}

.abf-ficha .abf-accordion__sign::before,
.abf-ficha .abf-accordion__sign::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 0;
	width: 16px;
	height: 1.6px;
	background: var(--abf-ink);
	transform: translateY(-50%);
	transition: transform 0.22s ease, opacity 0.22s ease;
}

.abf-ficha .abf-accordion__sign::after {
	transform: translateY(-50%) rotate(90deg);
}

.abf-ficha .abf-accordion__trigger.abf-accordion__trigger[aria-expanded="true"] .abf-accordion__sign::after {
	transform: translateY(-50%) rotate(0deg);
	opacity: 0;
}

.abf-ficha .abf-accordion__panel[hidden] {
	display: none;
}

.abf-ficha .abf-accordion__content {
	padding: 0 20px 20px;
	font-size: 14.5px;
	line-height: 1.68;
	color: #4a4f4c;
}

.abf-ficha .abf-accordion__content p {
	margin: 0 0 12px;
}

.abf-ficha .abf-accordion__content p:last-child {
	margin-bottom: 0;
}

.abf-ficha .abf-accordion__content ul,
.abf-ficha .abf-accordion__content ol {
	margin: 0 0 12px 18px;
	padding-left: 8px;
	list-style: disc;
}

.abf-ficha .abf-accordion__content ol {
	list-style: decimal;
}/* -------------------------------------------------------------------------
 * 9. Configurador del pack (alambre)
 * ---------------------------------------------------------------------- */

.abf-ficha .abf-step {
	padding: 22px 0;
	border-top: 1px solid var(--abf-panel-line);
}

.abf-ficha .abf-step:first-child {
	padding-top: 20px;
}

.abf-ficha .abf-step__title {
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.055em;
	text-transform: uppercase;
	color: var(--abf-ink);
	margin-bottom: 8px;
}

.abf-ficha .abf-step__note {
	font-size: 14px;
	color: #4d4c4e;
	margin-bottom: 4px;
}

.abf-ficha .abf-swatches {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 16px;
}

.abf-ficha .abf-swatch.abf-swatch {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 11px;
	padding: 11px 20px 11px 14px;
	border: 1px solid #e2e2e0;
	border-radius: 8px;
	background: #fff;
	cursor: pointer;
	transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.abf-ficha .abf-swatch__input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
	pointer-events: none;
}

.abf-ficha .abf-swatch.abf-swatch:hover {
	border-color: var(--abf-green-600);
}

.abf-ficha .abf-swatch.abf-swatch.is-selected {
	border-color: var(--abf-green-800);
	box-shadow: inset 0 0 0 1px var(--abf-green-800);
}

.abf-ficha .abf-swatch__dot {
	width: 19px;
	height: 19px;
	border-radius: 50%;
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
}

.abf-ficha .abf-swatch__name {
	font-size: 14.5px;
	font-weight: 600;
	color: var(--abf-ink);
}

.abf-ficha .abf-sizes {
	margin-top: 20px;
}

.abf-ficha .abf-sizes__head {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 34px;
	margin-bottom: 12px;
}

.abf-ficha .abf-sizes__group {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.abf-ficha .abf-sizes__col {
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: #3f4744;
}

.abf-ficha .abf-sizes__col--qty {
	width: 132px;
	text-align: center;
}

.abf-ficha .abf-sizes__body {
	columns: 2;
	column-gap: 34px;
}

.abf-ficha .abf-sizes__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 6px 0;
	margin-bottom: 8px;
	break-inside: avoid;
	-webkit-column-break-inside: avoid;
}

.abf-ficha .abf-sizes__label {
	font-size: 14.5px;
	font-weight: 700;
	color: var(--abf-ink);
	cursor: pointer;
}

.abf-ficha .abf-stepper {
	display: grid;
	grid-template-columns: 40px 1fr 40px;
	align-items: center;
	width: 132px;
	height: 40px;
	border: 1px solid #ececea;
	border-radius: 8px;
	background: #fafafa;
	overflow: hidden;
}

.abf-ficha .abf-stepper__btn.abf-stepper__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	color: #2a2f2c;
	transition: background-color 0.15s ease;
}

.abf-ficha .abf-stepper__btn.abf-stepper__btn:hover {
	background: #efefed;
}

.abf-ficha .abf-stepper__btn.abf-stepper__btn[disabled] {
	opacity: 0.35;
	cursor: not-allowed;
	background: none;
}

.abf-ficha .abf-stepper__input.abf-stepper__input {
	width: 100%;
	height: 100%;
	border: 0;
	border-left: 1px solid #ececea;
	border-right: 1px solid #ececea;
	background: #fff;
	text-align: center;
	font-size: 15px;
	font-weight: 700;
	color: var(--abf-ink);
	-moz-appearance: textfield;
	appearance: textfield;
}

.abf-ficha .abf-stepper__input.abf-stepper__input::-webkit-outer-spin-button,
.abf-ficha .abf-stepper__input.abf-stepper__input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.abf-ficha .abf-stepper__input.abf-stepper__input:focus {
	outline: none;
	box-shadow: inset 0 0 0 2px var(--abf-green-050);
}/* Contador del pack */

.abf-ficha .abf-counter.abf-counter {
	display: flex;
	align-items: center;
	gap: 20px;
	padding: 18px 22px;
	margin: 8px 0 22px;
	border: 1px solid var(--abf-panel-line);
	border-radius: var(--abf-radius);
	background: #fbfbfa;
	transition: border-color 0.2s ease, background-color 0.2s ease;
}

.abf-ficha .abf-counter__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 62px;
	height: 62px;
	flex: 0 0 auto;
	border-radius: 50%;
	background: var(--abf-green-050);
	color: var(--abf-green-800);
}

.abf-ficha .abf-counter__body {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	flex: 1 1 auto;
	text-align: center;
}

.abf-ficha .abf-counter__value {
	font-size: 25px;
	font-weight: 800;
	letter-spacing: -0.01em;
	color: var(--abf-green-800);
	line-height: 1.1;
}

.abf-ficha .abf-counter__note {
	font-size: 13.5px;
	color: #4d5651;
}

.abf-ficha .abf-counter.abf-counter.is-complete {
	border-color: var(--abf-green-600);
	background: #f4f8f1;
}

.abf-ficha .abf-counter.abf-counter.is-over .abf-counter__value {
	color: #b3261e;
}/* -------------------------------------------------------------------------
 * 10. Carrusel de productos
 * ---------------------------------------------------------------------- */

.abf-ficha .abf-related {
	margin-top: 56px;
	padding: 34px 26px 30px;
	border-radius: var(--abf-radius);
}

.abf-ficha .abf-related--full {
	background: var(--abf-cream);
}

.abf-ficha .abf-related--compact {
	border: 1px solid var(--abf-panel-line);
	background: #fff;
}

.abf-ficha .abf-related__title {
	font-size: 18px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-align: center;
	color: var(--abf-ink);
}

.abf-ficha .abf-related__subtitle {
	margin-top: 8px;
	font-size: 14px;
	color: #4d4c4e;
	text-align: center;
}

.abf-ficha .abf-carousel {
	position: relative;
	margin-top: 24px;
}

.abf-ficha .abf-carousel__track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(0, calc((100% - 4 * 16px) / 5));
	gap: 16px;
	overflow-x: auto;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	padding: 4px;
	margin: -4px;
}

.abf-ficha .abf-carousel__track::-webkit-scrollbar {
	display: none;
}

.abf-ficha .abf-carousel__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 38px;
	height: 38px;
	z-index: 3;
}

.abf-ficha .abf-carousel__nav:hover {
	transform: translateY(calc(-50% - 1px));
}

.abf-ficha .abf-carousel__nav--prev {
	left: -19px;
}

.abf-ficha .abf-carousel__nav--next {
	right: -19px;
}

.abf-ficha .abf-carousel__nav[hidden] {
	display: none;
}

.abf-ficha .abf-card {
	display: flex;
	flex-direction: column;
	padding: 16px 16px 18px;
	border-radius: 10px;
	background: #fff;
	scroll-snap-align: start;
}

.abf-ficha .abf-related--compact .abf-card {
	border: 1px solid #ededeb;
}

.abf-ficha .abf-card__media {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 1 / 0.86;
	margin-bottom: 12px;
}

.abf-ficha .abf-card__media img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	object-fit: contain;
	mix-blend-mode: multiply;
}

.abf-ficha .abf-card__name {
	font-size: 14.5px;
	font-weight: 700;
	line-height: 1.34;
	color: var(--abf-ink);
	margin-bottom: 4px;
	text-transform: none;
}

.abf-ficha .abf-card__meta {
	font-size: 13px;
	color: #5b5f5c;
	margin-bottom: 6px;
}

.abf-ficha .abf-card__rating {
	display: flex;
	align-items: center;
	gap: 7px;
	margin-bottom: 6px;
}

.abf-ficha .abf-card__reviews {
	font-size: 12.5px;
	color: #5b5f5c;
}

.abf-ficha .abf-card__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-top: auto;
	padding-top: 6px;
}

.abf-ficha .abf-related--full .abf-card__foot {
	display: block;
}

.abf-ficha .abf-card__price {
	display: block;
	font-size: 16px;
	font-weight: 700;
	color: var(--abf-ink);
}

.abf-ficha .abf-card__price del {
	font-weight: 400;
	color: #8b908d;
	margin-right: 6px;
}

.abf-ficha .abf-card__price ins {
	text-decoration: none;
}

.abf-ficha .abf-card__btn.abf-card__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	border: 0;
	border-radius: 7px;
	box-shadow: none;
	font-size: 13.5px;
	font-weight: 600;
	text-decoration: none;
	transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.abf-ficha .abf-related--full .abf-card__btn.abf-card__btn {
	width: 100%;
	margin-top: 12px;
	padding: 11px 14px;
	background: var(--abf-green-900);
	color: #fff;
}

.abf-ficha .abf-related--full .abf-card__btn.abf-card__btn:hover {
	background: #013c17;
}

.abf-ficha .abf-related--compact .abf-card__btn.abf-card__btn {
	width: 40px;
	height: 40px;
	flex: 0 0 auto;
	border: 1px solid #d6ded8;
	color: var(--abf-green-800);
}

.abf-ficha .abf-related--compact .abf-card__btn.abf-card__btn:hover {
	border-color: var(--abf-green-800);
	background: #f4f7f4;
}

.abf-ficha .abf-card__btn.abf-card__btn.loading {
	opacity: 0.6;
	pointer-events: none;
}

.abf-ficha .abf-card__btn.abf-card__btn.added::after {
	content: "";
}

.abf-ficha .abf-card .added_to_cart {
	display: none !important;
}/* Estrellas */

.abf-ficha .abf-stars {
	display: inline-flex;
	gap: 2px;
}

.abf-ficha .abf-star {
	position: relative;
	display: inline-block;
	width: 13px;
	height: 13px;
	background: #dcdcd8;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 2 3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/%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'%3E%3Cpath d='m12 2 3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.abf-ficha .abf-star i {
	position: absolute;
	inset: 0;
	display: block;
	background: var(--abf-star);
}/* -------------------------------------------------------------------------
 * 11. Responsive
 * ---------------------------------------------------------------------- */

@media (max-width: 1100px) {
	.abf-ficha {
		--abf-gap: 36px;
	}

	.abf-ficha .abf-carousel__track {
		grid-auto-columns: minmax(0, calc((100% - 3 * 16px) / 4));
	}

	.abf-ficha .abf-carousel__nav--prev {
		left: -12px;
	}

	.abf-ficha .abf-carousel__nav--next {
		right: -12px;
	}
}

@media (max-width: 900px) {
	.abf-ficha__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 32px;
	}

	.abf-ficha--alambre .abf-gallery__stage,
.abf-ficha .abf-gallery__stage {
		aspect-ratio: 1 / 1;
	}

	.abf-ficha .abf-carousel__track {
		grid-auto-columns: minmax(0, calc((100% - 2 * 16px) / 3));
	}
}

@media (max-width: 720px) {
	.abf-ficha {
		padding: 0 16px 8px;
	}

	.abf-ficha .abf-tiers {
		grid-template-columns: minmax(0, 1fr);
		gap: 18px;
	}

	.abf-ficha .abf-tier.abf-tier.has-badge {
		margin-top: 12px;
	}

	.abf-ficha .abf-sizes__body {
		columns: 1;
	}

	.abf-ficha .abf-sizes__head .abf-sizes__group:last-child {
		display: none;
	}

	.abf-ficha .abf-sizes__head {
		grid-template-columns: minmax(0, 1fr);
	}

	.abf-ficha .abf-counter.abf-counter {
		gap: 14px;
		padding: 16px;
	}

	.abf-ficha .abf-counter__icon {
		width: 52px;
		height: 52px;
	}

	.abf-ficha .abf-counter__value {
		font-size: 22px;
	}

	.abf-ficha .abf-carousel__track {
		grid-auto-columns: minmax(0, calc((100% - 16px) / 2));
	}

	.abf-ficha .abf-carousel__nav {
		display: none;
	}

	.abf-ficha .abf-related {
		padding: 26px 16px 22px;
	}

	.abf-ficha .abf-gallery__thumbs {
		grid-template-columns: repeat(5, minmax(0, 1fr));
		gap: 8px;
	}
}

@media (max-width: 480px) {
	.abf-ficha .abf-carousel__track {
		grid-auto-columns: minmax(0, 78%);
	}
}

@media (prefers-reduced-motion: reduce) {
	.abf-ficha *,
.abf-ficha *::before,
.abf-ficha *::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}
