﻿/* ==== CAROUSEL HIDE NAVIGATION ==== */
#template-mo-zay-hero-carousel .carousel-control-prev,
#template-mo-zay-hero-carousel .carousel-control-next {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* HORIZONTAL SLIDE CAROUSEL */
#template-mo-zay-hero-carousel {
    overflow: hidden;
    position: relative;
}

    #template-mo-zay-hero-carousel .carousel-item {
        height: 55vh;
        min-height: 320px;
        max-height: 480px;
        position: relative;
    }

    #template-mo-zay-hero-carousel picture,
    #template-mo-zay-hero-carousel img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    #template-mo-zay-hero-carousel .carousel-item {
        transition: transform 0.6s ease-in-out;
    }

    #template-mo-zay-hero-carousel .carousel-item-next.carousel-item-left,
    #template-mo-zay-hero-carousel .carousel-item-prev.carousel-item-right {
        transform: translateX(0);
    }

    #template-mo-zay-hero-carousel .carousel-item-next,
    #template-mo-zay-hero-carousel .active.carousel-item-right {
        transform: translateX(100%);
    }

    #template-mo-zay-hero-carousel .carousel-item-prev,
    #template-mo-zay-hero-carousel .active.carousel-item-left {
        transform: translateX(-100%);
    }

    #template-mo-zay-hero-carousel .carousel-caption {
        background: rgba(0,0,0,0.45);
        border-radius: 15px;
        padding: 30px 40px;
        text-align: center;
        transition: opacity 0.8s ease-in-out;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        bottom: 5%;
        max-width: 85%;
    }

        #template-mo-zay-hero-carousel .carousel-caption h2,
        #template-mo-zay-hero-carousel .carousel-caption p {
            text-shadow: 1px 1px 3px rgba(0,0,0,0.6);
        }

.carousel-control-prev, .carousel-control-next {
    width: 5%;
}

.carousel-indicators {
    height: 20px;
}


/* ==== SEO HERO TEXT (Google friendly H1) ==== */
.hero-seo-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
    text-align: center;
    padding: 12px;
    background: linear-gradient(to top, rgba(0,0,0,0.65), transparent);
}

    .hero-seo-text h1 {
        color: #fff;
        font-size: clamp(22px,4vw,36px);
        font-weight: 600;
        text-shadow: 0 2px 4px rgba(0,0,0,.8);
        margin-bottom: 5px;
    }

    .hero-seo-text p {
        color: #fff;
        font-size: clamp(14px,2vw,18px);
        text-shadow: 0 1px 2px rgba(0,0,0,.7);
    }

/* ==== PRODUCT CARDS ==== */
.product-wap + .card-body h3.h3, .product-wap + .card-body .h3 {
    font-size: 18px !important;
    font-weight: 500 !important;
    margin-bottom: 0.3rem !important;
}

.product-wap + .card-body .price {
    font-size: 15.5px !important;
    font-weight: 600 !important;
    color: #111827 !important;
    margin: 0.2rem 0 0.5rem 0 !important;
}

.product-wap + .card-body p, .product-wap + .card-body .desc {
    font-size: 14px !important;
    line-height: 1.45 !important;
    margin-bottom: 0 !important;
}

.product-wap + .card-body {
    padding-bottom: 0 !important;
}

.card-body h3.h3, .card-body h3 {
    text-align: center;
    display: inline-block;
    margin: 0 auto 0.5rem;
    line-height: 1.3;
    max-width: 95%;
    word-wrap: break-word;
}

/* INFO BOX */
.home-info-box {
    background-color: #fff !important;
    color: #333 !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 8px !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1) !important;
    font-family: inherit !important;
}

    .home-info-box h2.h3 {
        color: #333 !important;
        font-size: 1.75rem !important;
        font-weight: 600 !important;
        font-family: inherit !important;
    }

    .home-info-box p {
        color: #333 !important;
        font-size: 1rem !important;
        line-height: 1.5 !important;
        font-family: inherit !important;
        margin-bottom: 0 !important;
    }

/* ==== MOBILE ==== */
@media (max-width: 767px) {
    #template-mo-zay-hero-carousel .carousel-caption {
        position: static !important;
        bottom: auto !important;
        left: auto !important;
        transform: none !important;
        background: transparent !important;
        padding: 12px 10px !important;
        margin-top: 0.25rem !important;
        width: 100% !important;
        box-shadow: none !important;
    }

        #template-mo-zay-hero-carousel .carousel-caption h2 {
            font-size: 1.15rem !important;
            line-height: 1.15 !important;
            margin-bottom: .25rem !important;
            color: #07321f !important;
            text-shadow: none !important;
        }

        #template-mo-zay-hero-carousel .carousel-caption p {
            font-size: 0.95rem !important;
            color: #07321f !important;
            text-shadow: none !important;
        }

    .hero-seo-text {
        position: static;
        background: #07321f;
    }
}

body {
}
