/* ========== CAROUSEL ========== */
.carousel-caption {
    position: absolute;
    top: 20%;
    left: 10%;
    right: 10%;
    text-align: left;
    color: #fff;
    background: rgba(0, 0, 0, 0.4);
    padding: 1.5rem;
    border-radius: 0;
}

@media (min-width: 769px) {
    #heroCarousel .carousel-item img {
        height: 300px;
        object-fit: cover;
    }
}

@media (max-width: 768px) {
    .carousel-caption {
        top: 10%;
        padding: 1rem;
    }
    .carousel-caption h1 {
        font-size: 1.5rem;
    }
    .carousel-caption p {
        font-size: 0.9rem;
    }
    .carousel-caption .btn {
        font-size: 0.8rem;
        padding: 0.3rem 0.8rem;
    }
}

.product-discount-badge {
    position: absolute;
    top: 10px;
    left: 0;
    background-color: #ff4757;
    color: white;
    padding: 3px 10px 3px 8px;
    font-size: 0.7rem;
    font-weight: bold;
    clip-path: polygon(0 0, 100% 0, 90% 50%, 100% 100%, 0 100%);
}
