/* Filtros listado — estilo Americe (shop-default) */
.fantasia-listado-filters .sidebar-filters-amerce {
	position: static;
	width: 100%;
	max-width: none;
	box-shadow: none;
	padding: 0;
	margin: 0;
	background: transparent;
}

.fantasia-listado-filters .br-line {
	margin-top: 1.5rem;
}

.fantasia-listado-filters .facet-title h6 {
	margin: 1.5rem 0 0;
	font-size: 0.95em;
	font-weight: 600;
	font-family: "DM Sans", sans-serif;
	text-transform: none;
	letter-spacing: 0;
}

.fantasia-listado-filters .facet-title.collapsed-static {
	cursor: default;
	margin-bottom: 12px;
}

.fantasia-listado-filters .facet-title.collapsed-static .icon {
	display: none;
}

.fantasia-listado-filters .filter-group-size a.label-size {
	text-decoration: none;
	color: inherit;
	width: 44px;
	height: 44px;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--line, #e5e5e5);
	font-size: 14px;
	font-weight: 400;
	font-family: "DM Sans", sans-serif;
	transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.fantasia-listado-filters .filter-group-size a.label-size:hover {
	border-color: var(--text, #101010);
}

.fantasia-listado-filters .filter-group-size a.label-size.active {
	border-color: var(--text, #101010);
	background: var(--text, #101010);
	color: var(--white, #fff);
}

.fantasia-listado-filters .facet-size-subtitle {
	margin: 12px 0 8px;
	font-size: 14px;
	font-weight: 400;
	font-family: "DM Sans", sans-serif;
	color: var(--secondary, #666);
}

.fantasia-listado-filters .filter-group-check .list-item.active .label,
.fantasia-listado-filters .filter-group-check .list-item.active > .label {
	font-weight: 400;
}

.fantasia-listado-filters .filter-group-check .label {
	text-decoration: none;
	color: inherit;
	width: 100%;
	font-size: 14px;
	font-weight: 400;
	font-family: "DM Sans", sans-serif;
}

.fantasia-listado-filters .filter-group-check.group-category .list-item.active .cate-text {
	font-weight: 400;
}

.fantasia-listado-filters .group-check-color.group-check-color-grid,
.fantasia-listado-filters .filter-group-check.group-check-text-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px 16px;
}

.fantasia-listado-filters .group-check-color-grid .list-item,
.fantasia-listado-filters .group-check-text-grid .list-item {
	margin-bottom: 0;
	min-width: 0;
}

.fantasia-listado-filters .group-check-text-grid .list-item .label {
	min-width: 0;
}

.fantasia-listado-filters .group-check-color .field-color {
	width: 24px;
	height: 24px;
	flex-shrink: 0;
	position: relative;
}

.fantasia-listado-filters .group-check-color .field-color .color,
.fantasia-listado-filters .group-check-color .field-color .fk-filter-swatch {
	display: block;
	position: static;
	left: auto;
	top: auto;
	transform: none;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	border: 1px solid rgba(0, 0, 0, 0.12);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.fantasia-listado-filters .group-check-color .fk-filter-swatch-code {
	display: flex;
	align-items: center;
	justify-content: center;
	background: #f5f5f5;
}

.fantasia-listado-filters .group-check-color .fk-filter-swatch-code span {
	font-size: 8px;
	font-weight: 600;
	line-height: 1;
	color: var(--text, #333);
	text-transform: uppercase;
}

.fantasia-listado-filters .group-check-color .fk-filter-swatch-light {
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
}

.fantasia-listado-filters .group-check-color .list-item.active .field-color .color,
.fantasia-listado-filters .group-check-color .list-item.active .field-color .fk-filter-swatch {
	box-shadow: 0 0 0 2px var(--white, #fff), 0 0 0 3px var(--text, #101010);
}

.fantasia-listado-filters .group-check-color .color-text,
.fantasia-listado-filters .filter-group-check .cate-text,
.fantasia-listado-filters .filter-group-check .brand-text,
.fantasia-listado-filters .filter-group-check .size-text,
.fantasia-listado-filters .filter-group-size .size-text,
.fantasia-listado-filters .filter-chip strong {
	text-transform: none;
	font-size: 14px;
	font-weight: 400;
	font-family: "DM Sans", sans-serif;
}

.fantasia-listado-filters .fantasia-filter-chips {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.fantasia-listado-filters .filter-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 10px;
	border: 1px solid var(--line, #e5e5e5);
	border-radius: 1000px;
	font-size: 13px;
	line-height: 1.3;
	background: var(--white, #fff);
}

.fantasia-listado-filters .filter-chip-remove {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: inherit;
	text-decoration: none;
	line-height: 1;
}

.fantasia-listado-filters .filter-chip-remove .icon {
	font-size: 12px;
}

.fantasia-listado-filters .filter-chip-reset {
	border: 0;
	padding: 0;
	background: transparent;
}

.fantasia-listado-filters .fantasia-cat-group + .fantasia-cat-group {
	margin-top: 12px;
}

.fantasia-listado-filters .fantasia-cat-group-title {
	display: block;
	width: 100%;
	text-align: left;
	padding: 0;
	margin: 0 0 8px;
	border: 0;
	background: transparent;
	color: inherit;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
}

.fantasia-listado-filters .fantasia-cat-group-title.collapsed::after {
	content: "+";
	float: right;
	font-weight: 400;
}

.fantasia-listado-filters .fantasia-cat-group-title:not(.collapsed)::after {
	content: "−";
	float: right;
	font-weight: 400;
}

.fantasia-page-title .shape-indicator {
	display: inline-block;
	width: 12px;
	height: 12px;
	margin-right: 6px;
	vertical-align: middle;
}

.fantasia-page-title .triangle.pink {
	border-left: 6px solid transparent;
	border-right: 6px solid transparent;
	border-bottom: 10px solid #e91e8c;
}

.fantasia-page-title .triangle.blue {
	border-left: 6px solid transparent;
	border-right: 6px solid transparent;
	border-bottom: 10px solid #2196f3;
}

.fantasia-page-title .square.yellow {
	background: #ffc107;
}

.listado-amerce .fantasia-page-title .box-seo-search-intro {
	margin-top: 1rem;
	max-width: 48rem;
	color: color-mix(in srgb, #111013 98%, white);
	font-size: 1.025rem;
	letter-spacing: initial;
	line-height: 1.6;
}

.listado-amerce .fantasia-page-title .box-seo-search-intro .text-caption-01 {
	color: inherit;
	font-size: inherit;
	letter-spacing: inherit;
	line-height: inherit;
}
.listado-amerce .fantasia-page-title {
	padding-top: 2rem;
	padding-bottom: 0;
}

.listado-amerce .section-listado-shop {
	padding-top: 2rem;
	padding-bottom: 3.75rem;
}

@media (max-width: 425px) {
	.listado-amerce .fantasia-page-title {
		padding-top: 1.5rem;
	}

	.listado-amerce .section-listado-shop {
		padding-top: 1.5rem;
		padding-bottom: 2.5rem;
	}
}

/* Barra de control — filtros izq, layout centro, contador der (shop-default) */
.listado-amerce .tf-shop-control {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	align-items: center;
	gap: 1rem;
	width: 100%;
}

.listado-amerce .tf-shop-control .tf-btn-filter {
	justify-self: start;
}

.listado-amerce .tf-shop-control .tf-control-layout {
	justify-self: center;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.listado-amerce .tf-shop-control .meta-filter-shop {
	justify-self: end;
	text-align: right;
}

@media (max-width: 575px) {
	.listado-amerce .tf-shop-control {
		grid-template-columns: 1fr 1fr;
		grid-template-rows: auto auto;
	}

	.listado-amerce .tf-shop-control .tf-btn-filter {
		grid-column: 1;
		grid-row: 1;
	}

	.listado-amerce .tf-shop-control .meta-filter-shop {
		grid-column: 2;
		grid-row: 1;
	}

	.listado-amerce .tf-shop-control .tf-control-layout {
		grid-column: 1 / -1;
		grid-row: 2;
		justify-self: center;
		margin-top: 0.25rem;
	}
}

/* Vista lista: tarjetas clonadas desde grid */
#listLayout .card-product.product-style_list {
	margin-bottom: 1.5rem;
}

.listado-amerce .card-product_info .product-color_list {
	margin-top: 0.5rem;
	margin-bottom: 0;
}

.listado-amerce .product-color_list a {
	display: block;
	line-height: 0;
}

/* Swatches ERP en listado: mismo tamaño que hex (24px tema Americe) */
.listado-amerce .product-color_list--swatches .product-color-item .swatch-value-image {
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	border: 1px solid rgba(0, 0, 0, 0.08);
}

.listado-amerce .product-color_list--swatches .product-color-item .swatch-value-text {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--line, #ddd);
	border-radius: 50%;
	font-size: 8px;
	line-height: 1;
	padding: 1px;
	text-align: center;
	color: var(--text, #333);
	background: #fff;
	overflow: hidden;
}

.listado-amerce .product-color_list--swatches .product-color-item.color-swatch-more {
	cursor: default;
}

.listado-amerce .product-color_list--swatches .product-color-item .swatch-value-more {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--line, #ddd);
	border-radius: 50%;
	font-size: 9px;
	font-weight: 600;
	line-height: 1;
	color: var(--text, #333);
	background: #f5f5f5;
}

.listado-amerce .product-color_list--swatches .product-color-item .swatch-value[style*="background-color"] {
	border: 1px solid rgba(0, 0, 0, 0.08);
}

.listado-amerce .product-color_list--swatches .product-color-item.active .swatch-value-image,
.listado-amerce .product-color_list--swatches .product-color-item:hover .swatch-value-image,
.listado-amerce .product-color_list--swatches .product-color-item.active .swatch-value[style*="background-color"],
.listado-amerce .product-color_list--swatches .product-color-item:hover .swatch-value[style*="background-color"],
.listado-amerce .product-color_list--swatches .product-color-item.active .swatch-value-text,
.listado-amerce .product-color_list--swatches .product-color-item:hover .swatch-value-text {
	inset: 3px;
}

/* Imagen producto 1:1 (fotos square_small del ERP) */
.listado-amerce .card-product_wrapper {
	aspect-ratio: 1 / 1;
}

.listado-amerce .card-product_wrapper .product-img {
	display: block;
	width: 100%;
	height: 100%;
}

.listado-amerce .card-product_wrapper .product-img .img-product {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.listado-amerce .box-seo-search-intro h2 {
	line-height: 1.35;
}

.listado-amerce .box-seo-search-intro,
.listado-amerce .brand-long-description {
	color: color-mix(in srgb, #111013 98%, white);
	font-size: 1.025rem;
	letter-spacing: initial;
	line-height: 1.6;
}

.listado-amerce .box-seo-search-intro p,
.listado-amerce .brand-long-description p {
	margin-top: 0;
	margin-bottom: 0;
}

.listado-amerce .box-seo-search-intro p + p,
.listado-amerce .brand-long-description p + p {
	margin-top: 0.75rem;
}

.listado-amerce .brand-long-description h2,
.listado-amerce .brand-long-description h3,
.listado-amerce .brand-long-description h4 {
	color: color-mix(in srgb, #111013 98%, white);
	margin-top: 1.25rem;
	margin-bottom: 0.75rem;
}

.listado-amerce .wrapper-control-shop {
	overflow: hidden;
}

.listado-amerce #listLayout .card-product.product-style_list {
	max-width: 100%;
	min-width: 0;
}
