/* 
 * ESTILOS GERAIS - Promoções Mensais (v14)
 */

body {
    background-color: #f4f7f6;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
}

/* Cards de Produto - Grid de 3 Colunas Mobile */
.product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05) !important;
    height: 100%;
}

.product-card .card-img-container {
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    padding: 10px;
    overflow: hidden;
}

.product-card .card-img-top {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

@media (max-width: 768px) {
    .product-card .card-img-container {
        height: 100px;
        padding: 5px;
    }
    .product-card .card-title {
        font-size: 0.75rem !important;
        margin-bottom: 2px !important;
        white-space: normal;
        overflow: visible;
        line-height: 1.2;
    }
    .product-card .card-text {
        font-size: 0.85rem !important;
    }
    .product-card .card-body {
        padding: 8px !important;
    }
}

/* BOTÕES FLUTUANTES (v14 - IDs Sincronizados) */
.pwa-float-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-end;
}

.pwa-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    text-decoration: none;
    background: none;
    border: none;
    padding: 0;
}

.pwa-btn-text {
    background-color: rgba(0, 0, 0, 0.75);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    white-space: nowrap;
}

.pwa-btn-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    color: white;
    font-size: 1.2rem;
    transition: transform 0.2s;
}

.pwa-btn:active .pwa-btn-icon {
    transform: scale(0.9);
}

/* Cores dos Botões */
.pwa-btn-install .pwa-btn-icon { background-color: #007bff; }
.pwa-btn-push .pwa-btn-icon { background-color: #28a745; }

@media (max-width: 480px) {
    .pwa-btn-text {
        font-size: 0.75rem;
        padding: 4px 10px;
    }
    .pwa-btn-icon {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    .pwa-float-buttons {
        bottom: 15px;
        right: 15px;
        gap: 10px;
    }
}

/* Utilitários */
.rounded-4 { border-radius: 1rem !important; }
.rounded-5 { border-radius: 2rem !important; }
.shadow-sm { box-shadow: 0 .125rem .25rem rgba(0,0,0,.075)!important; }
