.carousel-item img {
    max-height: 400px;
    object-fit: contain;
}

.carousel-caption {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 20px;
    border-radius: 10px;
}

.card-img-top {
    max-height: 200px;
    object-fit: contain;
}

/* Filtro de Categorias */
.category-filter {
    position: sticky;
    top: 20px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    background: #343a40;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.category-filter h5 {
    color: #fff;
    font-weight: 600;
    margin-bottom: 15px;
    text-align: center;
    border-bottom: 2px solid #ffc107;
    padding-bottom: 10px;
}

.list-group-item {
    background-color: transparent;
    border: 1px solid #495057;
    color: #fff;
    transition: all 0.3s ease;
    margin-bottom: 5px;
    border-radius: 5px;
}

.list-group-item:hover {
    background-color: #495057;
    border-color: #ffc107;
    color: #ffc107;
    transform: translateX(5px);
}

.list-group-item.active {
    background-color: #212529;
    border-color: #ffc107;
    color: #ffc107;
    font-weight: 600;
}

@media (max-width: 768px) {
    .category-filter {
        position: static;
        max-height: none;
        margin-bottom: 20px;
        padding: 15px;
    }
}

/* Estilos para Campanhas Promocionais */
.promo-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
    color: white;
    padding: 8px 12px;
    border-radius: 50%;
    font-weight: bold;
    font-size: 0.85rem;
    box-shadow: 0 4px 8px rgba(255, 0, 0, 0.4);
    z-index: 10;
    animation: pulse 2s infinite;
    min-width: 50px;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.promo-ribbon {
    position: absolute;
    top: 15px;
    left: -5px;
    background: #ff0000;
    color: white;
    padding: 5px 15px;
    font-weight: bold;
    font-size: 0.75rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

.promo-ribbon:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    border-left: 5px solid #cc0000;
    border-bottom: 5px solid transparent;
}

.promo-price {
    color: #ff0000;
    font-weight: bold;
    font-size: 1.2rem;
}

.original-price {
    text-decoration: line-through;
    color: #999;
    font-size: 0.9rem;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.card {
    position: relative;
    overflow: visible;
}
