/* Home Americe — hero, destacados y categorías */

.home-amerce .fantasia-home-hero {
	position: relative;
	z-index: 1;
}

.home-amerce .fantasia-home-hero .tf-swiper,
.home-amerce .fantasia-home-hero .swiper {
	overflow: hidden;
	max-width: 100%;
}

.home-amerce .fantasia-home-categories__slider {
	overflow: hidden;
	max-width: 100%;
}

.home-amerce .fantasia-home-categories__slider .swiper {
	overflow: hidden;
}

.home-amerce .fantasia-home-featured .tf-grid-layout.tf-col-4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 991px) {
	.home-amerce .fantasia-home-featured .tf-grid-layout.tf-col-4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 575px) {
	.home-amerce .fantasia-home-featured .tf-grid-layout.tf-col-4 {
		grid-template-columns: minmax(0, 1fr);
	}
}

.home-amerce .fantasia-home-hero .title_sld {
	font-family: "Bellota", cursive;
	font-weight: 400;
}

.home-amerce .fantasia-home-featured .s-title,
.home-amerce .fantasia-home-categories .s-title,
.home-amerce .fantasia-home-brands .s-title {
	font-family: "Bellota", cursive;
	font-weight: 400;
}

.home-amerce .fantasia-home-hero .content-sld_wrap,
.home-amerce .fantasia-home-hero .fantasia-slide-caption {
	max-width: 520px;
}

.home-amerce .fantasia-home-hero .fantasia-slide-caption {
	padding: 0;
	border-radius: 0;
	background: transparent !important;
}

.home-amerce .fantasia-home-hero .fantasia-slide-caption--light .fantasia-slide-subtitle,
.home-amerce .fantasia-home-hero .fantasia-slide-caption--light .fantasia-slide-title {
	color: var(--text, #101010);
}

.home-amerce .fantasia-home-hero .fantasia-slide-caption:not(.fantasia-slide-caption--light) .fantasia-slide-subtitle,
.home-amerce .fantasia-home-hero .fantasia-slide-caption:not(.fantasia-slide-caption--light) .fantasia-slide-title {
	color: #fff;
}

.home-amerce .fantasia-home-hero .fantasia-slide-subtitle {
	font-family: "DM Sans", sans-serif;
	font-size: 0.95rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	text-transform: none;
}

/* Panel de texto: color del backend, misma altura que la imagen */
.home-amerce .fantasia-home-hero .slider-wrap_2 {
	align-items: stretch;
	overflow: hidden;
	max-width: 100%;
}

.home-amerce .fantasia-home-hero .slider-wrap_2 .scale-item {
	will-change: transform;
}

.home-amerce .fantasia-home-hero .slider-wrap_2 > * {
	min-height: 0;
}

/* Anula el #2c2762 fijo del tema Americe; el color viene del backend (inline) */
.home-amerce .fantasia-home-hero .slider-wrap_2 .sld-content {
	background: transparent;
}

.home-amerce .fantasia-home-hero .slider-wrap_2 .sld-content.fantasia-slide-panel--transparent {
	background: transparent !important;
}

.home-amerce .fantasia-home-hero .sw-slide-show.slideshow-2 .slider-wrap_2 .sld-content::after {
	display: none;
}

.home-amerce .fantasia-home-hero .slider-wrap_2 .sld-image img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 3 / 2;
	object-fit: cover;
}

.home-amerce .fantasia-home-hero .slider-wrap_2 .sld-content {
	align-self: stretch;
	min-height: 0;
}

/* Hero móvil y tablet: imagen arriba, textos debajo; enlace en la imagen */
@media (max-width: 1199.98px) {
	.home-amerce .fantasia-home-hero .fantasia-home-slide.slider-wrap_2 {
		flex-direction: column;
		min-height: 0;
	}

	.home-amerce .fantasia-home-hero .fantasia-home-slide.slider-wrap_2 > * {
		min-height: 0;
		width: 100% !important;
	}

	.home-amerce .fantasia-home-hero .fantasia-slide-media {
		display: block;
		flex-shrink: 0;
		overflow: hidden;
		border-radius: 16px 16px 0 0;
	}

	.home-amerce .fantasia-home-hero .fantasia-slide-media__link {
		display: block;
	}

	.home-amerce .fantasia-home-hero .fantasia-slide-media__img {
		display: block;
		width: 100%;
		height: auto;
		aspect-ratio: 3 / 2;
		object-fit: cover;
	}

	.home-amerce .fantasia-home-hero .fantasia-home-slide .sld-content {
		order: 2;
		position: relative;
		display: block;
		padding: 20px 16px 24px;
		border-radius: 0 0 16px 16px;
	}

	.home-amerce .fantasia-home-hero .sw-slide-show.slideshow-2 .fantasia-home-slide .sld-content::after {
		display: none;
	}

	.home-amerce .fantasia-home-hero .fantasia-home-slide .fantasia-slide-caption {
		max-width: none;
	}

	/* Panel transparente → fondo blanco y texto negro */
	.home-amerce .fantasia-home-hero .fantasia-home-slide .fantasia-slide-panel--transparent {
		background: #fff !important;
	}

	.home-amerce .fantasia-home-hero .fantasia-home-slide .fantasia-slide-panel--transparent .fantasia-slide-subtitle,
	.home-amerce .fantasia-home-hero .fantasia-home-slide .fantasia-slide-panel--transparent .fantasia-slide-title {
		color: #111013 !important;
	}

	/* Panel con color (p. ej. rojo): texto blanco — prevalece sobre text_light */
	.home-amerce .fantasia-home-hero .fantasia-home-slide .sld-content:not(.fantasia-slide-panel--transparent) .fantasia-slide-subtitle,
	.home-amerce .fantasia-home-hero .fantasia-home-slide .sld-content:not(.fantasia-slide-panel--transparent) .fantasia-slide-title {
		color: #fff !important;
	}
}

@media (min-width: 1200px) {
	.home-amerce .fantasia-home-hero .slider-wrap_2 .sld-image {
		display: flex;
		flex-direction: column;
	}

	.home-amerce .fantasia-home-hero .slider-wrap_2 .sld-image img {
		flex: 1 1 auto;
		height: 100%;
	}
}

.home-amerce .fantasia-home-categories .cate_name {
	text-transform: none;
}

.home-amerce .fantasia-home-featured .wrapper-shop {
	margin-top: 8px;
}

/* Calzado respetuoso — réplica Ohio / fantasiakids.es */
.home-amerce .fantasia-home-respetuoso {
	background-color: #dfdfd8;
}

.home-amerce .fantasia-home-respetuoso .container {
	max-width: 1320px;
}

.home-amerce .fantasia-home-respetuoso__spacer--top,
.home-amerce .fantasia-home-respetuoso__spacer--bottom {
	height: 3em;
}

.home-amerce .fantasia-home-respetuoso__spacer--banner {
	height: 5em;
}

.home-amerce .fantasia-home-respetuoso__title,
.home-amerce .fantasia-home-respetuoso__col-title {
	margin: 0;
	font-family: "DM Sans", sans-serif;
	font-size: clamp(2rem, 3.4vw, 3.06rem);
	font-weight: 600;
	line-height: 1.05;
	color: #111013;
}

.home-amerce .fantasia-home-respetuoso__lead,
.home-amerce .fantasia-home-respetuoso__col-text {
	margin: 0;
	font-family: "DM Sans", sans-serif;
	font-size: 0.9225rem;
	line-height: 1.6;
	color: #111013;
}

.home-amerce .fantasia-home-respetuoso__banner {
	margin: 0 auto;
}

.home-amerce .fantasia-home-respetuoso__banner-img {
	display: inline-block;
	width: 100%;
	max-width: 1131px;
	height: auto;
}

.home-amerce .fantasia-home-respetuoso__cols {
	margin-top: 0;
}

.home-amerce .fantasia-home-respetuoso__col {
	padding: 0 15px;
}

@media (max-width: 767.98px) {
	.home-amerce .fantasia-home-respetuoso__spacer--banner {
		height: 3em;
	}

	.home-amerce .fantasia-home-respetuoso__col + .fantasia-home-respetuoso__col {
		margin-top: 2rem;
	}
}

/* Guía de marcas — rejilla 6×2, imágenes 1:1 */
.home-amerce .fantasia-home-brands__grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 16px;
	margin-top: 8px;
}

.home-amerce .fantasia-home-brands__item {
	display: block;
	border-radius: 12px;
	background: var(--bg-2, #f6f6f6);
	overflow: hidden;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.home-amerce .fantasia-home-brands__item:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.home-amerce .fantasia-home-brands__media {
	display: block;
	aspect-ratio: 1 / 1;
	padding: 18px;
}

.home-amerce .fantasia-home-brands__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

@media (max-width: 1199px) {
	.home-amerce .fantasia-home-brands__grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.home-amerce .fantasia-home-brands__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 12px;
	}

	.home-amerce .fantasia-home-brands__media {
		padding: 12px;
	}
}

@media (max-width: 575px) {
	.home-amerce .fantasia-home-brands__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
