/* Home: slider, banners, secciones, tarjeta de producto */
.fl-slider { position: relative; width: 100%; max-width: 910px; overflow: hidden; background: #f2f2f2; }
.fl-slider__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.fl-slider__track::-webkit-scrollbar { display: none; }
.fl-slider__slide { flex: 0 0 100%; scroll-snap-align: start; line-height: 0; }
.fl-slider__slide img { width: 100%; height: auto; aspect-ratio: 910 / 340; object-fit: cover; }
.fl-slider__nav {
	position: absolute; top: 50%; margin-top: -36px; width: 36px; height: 72px; border: 0; padding: 0;
	background: rgba(0, 0, 0, .18); color: #fff; font-size: 34px; line-height: 70px; text-align: center; opacity: .8;
}
button.fl-slider__nav:hover { background: rgba(0, 0, 0, .4); opacity: 1; }
.fl-slider__nav--prev { left: 4px; }
.fl-slider__nav--next { right: 4px; }
.fl-slider__dots { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 8px; }
.fl-slider__dot { width: 12px; height: 12px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .8); box-shadow: 0 0 2px rgba(0, 0, 0, .4); }
.fl-slider__dot.is-active { background: var(--fl-verde); }

.fl-banners { display: grid; grid-template-columns: repeat(2, minmax(0, 450px)); gap: 10px; margin: 10px 0; }
.fl-banners__item { line-height: 0; }
.fl-banners__item img { width: 100%; height: auto; aspect-ratio: 450 / 210; object-fit: cover; }

/* Secciones */
.fl-section { margin-top: 18px; }
.fl-section__head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.fl-section__title { font-size: 18px; font-weight: 400; color: #000; white-space: nowrap; }
.fl-section__title a { color: #000; }
.fl-section__line { flex: 1; border-top: 1px dotted #999; margin-top: 4px; }
.fl-section__arrows { display: flex; gap: 14px; color: var(--fl-verde-osc); font-size: 22px; line-height: 1; }

/* Rejilla de productos (home, archivo, relacionados). Más específico que el CSS de Woo */
html body .fl-layout ul.products,
html body ul.products.fl-products {
	display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 0 0 14px; padding: 0; list-style: none; clear: both;
}
html body ul.products::before, html body ul.products::after { display: none !important; content: none !important; }

html body ul.products li.product.fl-card {
	position: relative; display: flex; flex-direction: column; float: none; width: auto; margin: 0; padding: 10px;
	border: 1px solid transparent; background: transparent; text-align: center; transition: box-shadow .15s, background .15s, border-color .15s;
}
html body ul.products li.product.fl-card:hover { background: #fff; border-color: var(--fl-borde); box-shadow: 0 2px 8px rgba(0, 0, 0, .15); z-index: 2; }
.fl-card__img { position: relative; display: block; width: 100%; max-width: 200px; margin: 0 auto 8px; line-height: 0; }
html body ul.products li.product.fl-card .fl-card__img img { display: block; width: 200px; height: 200px; max-width: 100%; margin: 0 auto; object-fit: contain; box-shadow: none; }
.fl-badge {
	position: absolute; top: 0; right: 0; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
	border-radius: 50%; background: var(--fl-verde-badge); color: #fff; font-size: 12px; font-weight: 700; line-height: 1.15; text-align: center; padding-top: 1px;
}
html body ul.products li.product.fl-card .fl-card__title { margin: 0 0 4px; padding: 0; min-height: 34px; font-size: 12px; font-weight: 400; line-height: 17px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.fl-card__title a { color: var(--fl-texto); }
.fl-card:hover .fl-card__title a { color: var(--fl-verde-osc); }
.fl-card__rating { margin-bottom: 4px; font-size: 12px; color: var(--fl-texto-2); }
.fl-stars { position: relative; display: inline-block; vertical-align: middle; font-size: 13px; line-height: 1; letter-spacing: 1px; color: #f5b82e; }
.fl-stars::before { content: "\2606\2606\2606\2606\2606"; }
.fl-stars__fill { position: absolute; left: 0; top: 0; overflow: hidden; white-space: nowrap; }
.fl-stars__fill::before { content: "\2605\2605\2605\2605\2605"; }
html body ul.products li.product.fl-card .fl-card__price { display: block; margin: 0 0 8px; font-size: 12px; color: var(--fl-texto); }
.fl-card__price del { color: var(--fl-texto-2); font-size: 12px; opacity: 1; margin-right: 4px; }
.fl-card__price ins { background: transparent; text-decoration: none; font-weight: 700; color: var(--fl-verde-osc); }
.fl-card__price .screen-reader-text { display: none; }
html body ul.products li.product.fl-card a.fl-card__btn {
	display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; height: 26px; margin: auto 0 0; padding: 0 6px;
	border: 1px solid #ccc; border-radius: 0; background: #fff; color: var(--fl-texto); font-size: 12px; font-weight: 400; line-height: 1;
}
html body ul.products li.product.fl-card:hover a.fl-card__btn { color: var(--fl-verde-osc); border-color: var(--fl-verde-osc); }
html body ul.products li.product.fl-card a.fl-card__btn.loading { opacity: .6; }
html body ul.products li.product.fl-card a.fl-card__btn.added { display: none; }
html body ul.products li.product.fl-card a.added_to_cart { display: block; margin-top: 4px; font-size: 11px; color: var(--fl-verde-osc); }
html body ul.products li.product.fl-card a.fl-card__btn::after { content: none; }
