
/* Força a visualização em lista não depender de cache */
.product-grid.list-view {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
}
.product-grid.list-view .product-card {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    min-height: 120px !important;
    border-radius: 18px !important;
}
.product-grid.list-view .product-image-container {
    width: 130px !important;
    min-width: 130px !important;
    max-width: 130px !important;
    height: auto !important;
    aspect-ratio: auto !important;
    border-radius: 18px 0 0 18px !important;
}
.product-grid.list-view .product-info {
    padding: 12px 16px !important;
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
}
.product-grid.list-view .product-title {
    font-size: 1rem !important;
    margin: 0 0 4px 0 !important;
}
.product-grid.list-view .product-desc {
    font-size: 0.82rem !important;
    margin: 0 0 8px 0 !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2 !important;
}
.product-grid.list-view .product-bottom-row {
    padding-top: 6px !important;
    margin-top: auto !important;
}
.product-grid.list-view .badge-top-left {
    top: 8px !important;
    left: 8px !important;
    padding: 2px 7px !important;
    font-size: 0.65rem !important;
}
.product-grid.list-view .badge-top-right {
    top: 8px !important;
    right: 8px !important;
    padding: 2px 6px !important;
    font-size: 0.68rem !important;
}
.product-grid.list-view .product-category-icon-tag {
    bottom: 8px !important;
    left: 8px !important;
    width: 26px !important;
    height: 26px !important;
    font-size: 0.75rem !important;
}

/* Garante que a divisória ocupe todas as colunas independente de cache do lista.css */
.products-grid-divider {
    grid-column: 1 / -1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 16px !important;
    margin: 30px 0 15px !important;
    width: 100% !important;
}
.divider-line {
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}
.divider-text {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
}
/* Carrossel Dinâmico de Destaques */
.promo-banner-container {
    position: relative;
    margin-bottom: 30px;
}
.btn-edit-banner-badge {
    position: absolute;
    top: -12px;
    right: 18px;
    z-index: 30;
    background: linear-gradient(135deg, var(--accent-color, #e91e63), #ff4081);
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
    color: white !important;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.25s ease;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.4);
}
.btn-edit-banner-badge:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 6px 20px rgba(233, 30, 99, 0.6);
    filter: brightness(1.1);
}
.promo-carousel-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 24px;
}
.promo-carousel-track {
    display: flex;
    width: 100%;
    transition: transform 0.55s cubic-bezier(0.25, 1, 0.5, 1);
    align-items: stretch;
}
.promo-banner-card {
    flex: 0 0 100%;
    min-width: 100%;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    padding: 22px 24px !important;
    gap: 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    border-radius: 24px;
}
.promo-slide {
    flex: 0 0 100%;
    min-width: 100%;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
}
.promo-banner-content {
    flex: 1 !important;
    max-width: none !important;
    min-width: 0 !important;
    padding-right: 8px !important;
}
.promo-banner-visual {
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.promo-heart-3d {
    width: 80px !important;
    height: 80px !important;
    border-radius: 22px !important;
}
.promo-heart-3d i {
    font-size: 2.2rem !important;
}
.promo-banner-img {
    width: 85px !important;
    height: 85px !important;
    max-width: 85px !important;
    max-height: 85px !important;
    border-radius: 18px !important;
    object-fit: cover !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    transition: transform 0.3s ease !important;
}
.btn-promo-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 20px;
    color: white !important;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
    transition: transform 0.2s, filter 0.2s;
}
.btn-promo-action:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}
.promo-banner-card:hover .promo-banner-img {
    transform: scale(1.05);
}
@media (max-width: 600px) {
    .promo-banner-card {
        padding: 18px 18px !important;
        gap: 12px !important;
    }
    .promo-heart-3d {
        width: 70px !important;
        height: 70px !important;
        border-radius: 18px !important;
    }
    .promo-heart-3d i {
        font-size: 1.9rem !important;
    }
    .promo-banner-img {
        width: 75px !important;
        height: 75px !important;
        max-width: 75px !important;
        max-height: 75px !important;
        border-radius: 14px !important;
    }
    .btn-edit-banner-badge {
        top: -10px;
        right: 14px;
        padding: 4px 11px;
        font-size: 0.7rem;
    }
}

/* ── MODO CLARO: CARD DE DESTAQUES COM ALTO CONTRASTE ── */
[data-theme="light"] .promo-banner-card {
    background: linear-gradient(135deg, #ffffff, #fff0f5) !important;
    border: 1px solid rgba(233, 30, 99, 0.18) !important;
    box-shadow: 0 10px 28px rgba(233, 30, 99, 0.08) !important;
}
[data-theme="light"] .promo-title {
    color: #1a1a1a !important;
}
[data-theme="light"] .promo-subtitle {
    color: #4a4a4a !important;
}
[data-theme="light"] .promo-heart-3d {
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08) !important;
}
[data-theme="light"] .promo-heart-3d i {
    filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.15)) !important;
}
[data-theme="light"] .promo-dots .promo-dot {
    background: rgba(0, 0, 0, 0.18) !important;
}
[data-theme="light"] .promo-dots .promo-dot.active {
    background: var(--accent-color, #e91e63) !important;
}
[data-theme="light"] .btn-edit-banner-badge {
    background: linear-gradient(135deg, #e91e63, #ff4081) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(233, 30, 99, 0.35) !important;
}
