/* Homepage hero carousel fallback -- built from real product data, used only
   while no banners are configured in Admin (see tpl_home_hero_fallback.php) */
.hero-fallback-carousel {
    margin-bottom: 12px;
}
.hero-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    min-height: 260px;
    padding: 28px 24px;
    border-radius: 12px;
    text-decoration: none !important;
}
.hero-slide-image {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 10px;
    padding: 10px;
}
.hero-slide-image img {
    max-width: 200px;
    max-height: 200px;
    width: auto;
    height: auto;
    object-fit: contain;
}
.hero-slide-text {
    flex: 0 1 380px;
    text-align: left;
}
.hero-slide-tagline {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 6px;
    opacity: 0.85;
}
.hero-slide-name {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 8px;
}
.hero-slide-price {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 14px;
}
.hero-slide-cta {
    display: inline-block;
    background: #fff;
    color: #111 !important;
    font-weight: 700;
    padding: 8px 22px;
    border-radius: 30px;
}
.hero-slide-cta:hover {
    background: #f0f0f0;
}

/* Alternating backgrounds/text colors per slide */
.hero-bg-dark {
    background: #14231a;
    color: #fff;
}
.hero-bg-dark .hero-slide-name,
.hero-bg-dark .hero-slide-price,
.hero-bg-dark .hero-slide-tagline {
    color: #fff;
}
.hero-bg-green {
    background: #036811;
    color: #fff;
}
.hero-bg-green .hero-slide-name,
.hero-bg-green .hero-slide-price,
.hero-bg-green .hero-slide-tagline {
    color: #fff;
}
.hero-bg-light {
    background: #eef3ef;
    color: #14231a;
}
.hero-bg-light .hero-slide-name,
.hero-bg-light .hero-slide-price {
    color: #14231a;
}
.hero-bg-light .hero-slide-tagline {
    color: #036811;
}
.hero-bg-light .hero-slide-cta {
    background: #036811;
    color: #fff !important;
}
.hero-bg-light .hero-slide-cta:hover {
    background: #024d0c;
}

@media (max-width: 600px) {
    .hero-slide {
        flex-direction: column;
        text-align: center;
        min-height: 0;
        padding: 20px 16px;
    }
    .hero-slide-text {
        text-align: center;
    }
    .hero-slide-image img {
        max-width: 140px;
        max-height: 140px;
    }
    .hero-slide-name {
        font-size: 1.2rem;
    }
}
