/* Estilos para o Layout Premium (Estilo Delivery) */

:root {
    --primary-color: #4a207a;
    --secondary-color: #37a5d4;
    --bg-light: #f8f9fa;
    --text-dark: #250f55;
    --text-muted: #6c757d;
    --font-main: 'Outfit', sans-serif;
}

body {
    font-family: var(--font-main);
}

/* Banner e Header */
.premium-header {
    position: relative;
    width: 100%;
    margin-bottom: 20px;
}

.premium-banner {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-bottom-left-radius: 40px;
    border-bottom-right-radius: 40px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.premium-info-card {
    background: white;
    margin-top: -60px;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    z-index: 2;
    text-align: center;
}

.premium-logo {
    width: 100px;
    height: 100px;
    border-radius: 20px;
    background: white;
    padding: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-top: -70px;
    margin-bottom: 15px;
}

.store-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.store-meta {
    display: flex;
    justify-content: center;
    gap: 15px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.store-meta span i {
    color: var(--secondary-color);
    margin-right: 5px;
}

/* Seção de Ofertas (Horizontal) */
.premium-section-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 30px 0 20px;
}

.horizontal-scroll {
    display: flex;
    overflow-x: auto;
    padding-bottom: 20px;
    gap: 20px;
    scrollbar-width: none; /* Firefox */
}

.horizontal-scroll::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.premium-card-h {
    min-width: 200px;
    background: white;
    border-radius: 15px;
    padding: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.2s;
}

.premium-card-h:hover {
    transform: translateY(-5px);
}

.card-h-img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 10px;
}

.card-h-price {
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 10px;
}

/* Preferidos (Mais Vendidos) */
.preferidos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.preferido-item {
    display: flex;
    background: white;
    border-radius: 15px;
    padding: 15px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.ranking-badge {
    position: absolute;
    top: -10px;
    left: -10px;
    background: var(--primary-color);
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    box-shadow: 0 3px 6px rgba(0,0,0,0.2);
}

.preferido-img {
    width: 100px;
    height: 100px;
    border-radius: 10px;
    object-fit: cover;
    margin-right: 15px;
}

.preferido-info {
    flex: 1;
}

.preferido-name {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
    line-height: 1.2;
}

.preferido-price {
    font-weight: 700;
    color: var(--primary-color);
}

/* Categorias / Abas */
.category-tabs {
    display: flex;
    overflow-x: auto;
    padding: 10px 0;
    margin-bottom: 20px;
    gap: 10px;
    position: sticky;
    top: 60px;
    background: var(--bg-light);
    z-index: 10;
}

.category-tab {
    padding: 8px 20px;
    background: white;
    border-radius: 50px;
    color: var(--text-dark);
    font-weight: 500;
    white-space: nowrap;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    border: 1px solid transparent;
}

.category-tab.active {
    background: var(--primary-color);
    color: white;
}

/* Responsividade Mobile */
@media (max-width: 576px) {
    .premium-banner {
        height: 180px;
    }
    
    .premium-logo {
        width: 80px;
        height: 80px;
    }
    
    .store-name {
        font-size: 1.5rem;
    }
    
    .store-meta {
        font-size: 0.8rem;
    }
}
