/* Tema moderno — Pizzaria do Vovô */
:root {
    --pv-red: #c0392b;
    --pv-red-dark: #962d22;
    --pv-gold: #d4a017;
    --pv-brown: #2c1810;
    --pv-cream: #faf7f2;
    --pv-warm-gray: #5a4a42;
    --pv-light: #f0ebe4;
    --pv-shadow: 0 4px 20px rgba(44, 24, 16, 0.1);
}

body {
    background: var(--pv-cream);
    color: var(--pv-warm-gray);
}

.header {
    background: rgba(44, 24, 16, 0.95) !important;
    backdrop-filter: blur(8px);
}

.logo a div {
    color: var(--pv-gold) !important;
}

.main_nav ul li a {
    color: rgba(255,255,255,0.85) !important;
    transition: color 0.2s;
}

.main_nav ul li a:hover {
    color: var(--pv-gold) !important;
}

.reservations_phone {
    color: var(--pv-gold) !important;
}

/* Menu page hero */
.menu-hero {
    position: relative;
    min-height: 45vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(44,24,16,0.6), rgba(44,24,16,0.7)),
                url('../images/menu.jpg') center/cover no-repeat;
    color: #fff;
    text-align: center;
}

.menu-hero h1 {
    font-family: 'Great Vibes', cursive;
    font-size: 4rem;
    color: var(--pv-gold);
    margin-bottom: 0.5rem;
}

.menu-hero p {
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
}

/* Sticky price bar */
.sticky-prices {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--pv-brown);
    color: #fff;
    padding: 0.75rem 1rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    z-index: 1000;
    transform: translateY(-100%);
    transition: transform 0.3s;
    font-size: 0.9rem;
}

.sticky-prices.visible {
    transform: translateY(0);
}

.sticky-prices strong {
    color: var(--pv-gold);
}

/* Search bar */
.menu-toolbar {
    background: #fff;
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: var(--pv-shadow);
    margin: -2rem auto 2rem;
    max-width: 900px;
    position: relative;
    z-index: 10;
}

.search-box {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.search-box input {
    flex: 1;
    padding: 0.85rem 1.25rem;
    border: 2px solid var(--pv-light);
    border-radius: 50px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s;
}

.search-box input:focus {
    border-color: var(--pv-red);
}

.category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    position: relative;
    z-index: 2;
}

.filter-btn {
    padding: 0.4rem 1rem;
    border: 1px solid var(--pv-light);
    background: var(--pv-cream);
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.2s;
    color: var(--pv-warm-gray);
    position: relative;
    z-index: 2;
    pointer-events: auto;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--pv-red);
    color: #fff;
    border-color: var(--pv-red);
}

.search-results {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    background: var(--pv-cream);
    border-radius: 8px;
    border-left: 4px solid var(--pv-gold);
}

.search-results.hidden {
    display: none;
}

.search-results-count {
    color: var(--pv-brown);
    font-weight: 600;
    margin: 0;
}

.search-results-empty {
    color: var(--pv-red);
    margin: 0;
}

.search-highlight {
    background: #fff3cd;
    padding: 0 2px;
    border-radius: 2px;
}

.section-hidden {
    display: none !important;
}

/* Size cards */
.sizes-section {
    padding: 4rem 0 2rem;
}

.sizes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1rem;
}

.size-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--pv-shadow);
    transition: transform 0.2s;
}

.size-card:hover {
    transform: translateY(-4px);
}

.size-card-img img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.size-card-body {
    padding: 1.5rem;
    text-align: center;
}

.size-card-body h3 {
    font-size: 1.5rem;
    color: var(--pv-brown);
    margin-bottom: 0.5rem;
}

.size-price {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--pv-red);
    margin-bottom: 0.75rem;
}

.size-details {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: #888;
    font-size: 0.9rem;
}

.btn-card {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    background: var(--pv-red);
    color: #fff !important;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s;
}

.btn-card:hover {
    background: var(--pv-red-dark);
}

/* Pizza grid */
.pizzas-section {
    padding: 3rem 0;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2rem;
    color: var(--pv-brown);
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--pv-gold);
    margin: 0.75rem auto 0;
}

.category-block {
    margin-bottom: 3rem;
    padding: 0 1rem;
}

.category-title {
    font-size: 1.1rem;
    color: var(--pv-red);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--pv-gold);
}

.pizza-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
}

.pizza-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.25rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: box-shadow 0.2s;
    border-left: 4px solid var(--pv-gold);
}

.pizza-card:hover {
    box-shadow: var(--pv-shadow);
}

.pizza-card-header {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.pizza-number {
    background: var(--pv-brown);
    color: var(--pv-gold);
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
}

.pizza-name {
    font-size: 1rem;
    color: var(--pv-brown);
    font-weight: 700;
}

.pizza-desc {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #666;
    margin-bottom: 1rem;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    background: #25d366;
    color: #fff !important;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: background 0.2s;
}

.btn-whatsapp:hover {
    background: #1da851;
}

.btn-whatsapp::before {
    content: '💬';
}

.no-results {
    text-align: center;
    color: #999;
    padding: 2rem;
}

/* Priced sections */
.priced-section {
    padding: 3rem 1rem;
    max-width: 1100px;
    margin: 0 auto;
}

.priced-grid {
    display: grid;
    gap: 1rem;
}

.priced-card {
    background: #fff;
    border-radius: 12px;
    display: flex;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.priced-card-body {
    flex: 1;
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1rem;
}

.priced-card-body h3 {
    color: var(--pv-brown);
    font-size: 1.1rem;
    flex: 1;
    min-width: 150px;
}

.priced-note {
    width: 100%;
    font-size: 0.85rem;
    color: #888;
}

.priced-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--pv-red);
    white-space: nowrap;
}

.priced-card-img {
    width: 120px;
    flex-shrink: 0;
}

.priced-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Drinks */
.drinks-section {
    padding: 3rem 1rem;
    max-width: 1100px;
    margin: 0 auto;
}

.drinks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.drink-cat-title {
    color: var(--pv-red);
    margin-bottom: 1rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.drink-list {
    list-style: none;
    background: #fff;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.drink-item {
    display: flex;
    align-items: baseline;
    padding: 0.6rem 0;
    border-bottom: 1px dashed var(--pv-light);
}

.drink-item:last-child { border-bottom: none; }

.drink-name { flex-shrink: 0; }

.drink-dots {
    flex: 1;
    border-bottom: 1px dotted #ccc;
    margin: 0 0.5rem;
    min-width: 20px;
}

.drink-price {
    font-weight: 700;
    color: var(--pv-red);
    white-space: nowrap;
}

/* Wines */
.wines-section {
    padding: 3rem 1rem 5rem;
    max-width: 1200px;
    margin: 0 auto;
    background: var(--pv-brown);
    border-radius: 24px 24px 0 0;
    margin-top: 2rem;
}

.wines-section .section-title {
    color: var(--pv-gold);
}

.wines-section .section-title::after {
    background: var(--pv-red);
}

.wine-category {
    margin-bottom: 2rem;
    padding: 0 1rem;
}

.wine-cat-title {
    color: var(--pv-gold);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.wine-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1rem;
}

.wine-card {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    padding: 1.25rem;
    color: rgba(255,255,255,0.9);
}

.wine-card h4 {
    color: var(--pv-gold);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.wine-details {
    font-size: 0.85rem;
}

.wine-details div {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.wine-details dt {
    color: rgba(255,255,255,0.5);
    min-width: 70px;
}

.wine-price {
    margin-top: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--pv-gold);
}

/* Footer override */
.footer {
    background: var(--pv-brown) !important;
}

@media (max-width: 768px) {
    .menu-hero h1 { font-size: 2.5rem; }
    .sticky-prices { gap: 0.75rem; font-size: 0.8rem; }
    .priced-card { flex-direction: column; }
    .priced-card-img { width: 100%; height: 100px; }
}
