﻿/* 
  A MAIS TOP PIZZARIA — CSS v6500 
  INTERACTIVITY & PREMIUM MODALS
*/

:root {
    --brand-red: #c0392b;
    --brand-red-dark: #a93226;
    --brand-yellow: #f5a623;
    --brand-brown: #2b1d16;
    --brand-dark: #1a1a1a;
    --bg-light: #faf9f7;
    --text-dark: #1a1a1a;
    --text-gray: #666;
    --radius-lg: 20px;
    --radius-md: 12px;
    --status-open: #00ff41;
    --status-closed: #ff0000;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Lato', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    overflow-x: hidden;
    line-height: 1.5;
    scroll-behavior: smooth;
    padding-top: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 1. NAVBAR GLOBAL - BRAND BROWN */
.navbar {
    border: none !important;
    box-shadow: none !important;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(43, 29, 22, 0.98);
    backdrop-filter: blur(15px);
    padding: 10px 0;
    transition: 0.3s;
}

/* NAVBAR CLARA EXCLUSIVA PARA O CADASTRO (Pedido do cliente) */
.cadastro-page .navbar {
    background: #ffffff !important;
    border-bottom: 2px solid #f5f5f5 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05) !important;
    padding: 15px 0 !important;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-brand-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.nav-logo-img {
    height: 48px;
    /* Aumentado levemente */
    display: block;
    /* Evita gap de baseline */
}

.status-badge {
    display: flex;
    flex-direction: column;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    padding-left: 10px;
}

.status-row {
    color: #fff;
    font-size: 0.7rem;
    font-weight: 950;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Cores escuras para a navbar do cadastro */
.cadastro-page .status-row,
.cadastro-page .nav-icon-btn,
.cadastro-page .nav-brand span {
    color: #2b1d16 !important;
}

.cadastro-page .status-badge {
    border-left: 1px solid rgba(43, 29, 22, 0.1) !important;
}

.nav-hours-label {
    color: #666;
    font-size: 0.6rem;
    font-weight: 700;
}

.status-badge {
    display: flex;
    flex-direction: column;
    border-left: 1px solid rgba(43, 29, 22, 0.1);
    padding-left: 10px;
}

.nav-icon-btn {
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}

.nav-icon-btn:hover {
    color: var(--brand-red);
    transform: scale(1.1);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.status-dot.aberto {
    background: var(--status-open);
    box-shadow: 0 0 12px var(--status-open);
    animation: pulse-green 2s infinite;
}

.status-dot.fechado {
    background: var(--status-closed);
    box-shadow: 0 0 12px var(--status-closed);
    animation: pulse-red 2s infinite;
}

@keyframes pulse-green {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 255, 65, 0.7);
    }

    70% {
        transform: scale(1.2);
        box-shadow: 0 0 0 10px rgba(0, 255, 65, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 255, 65, 0);
    }
}

@keyframes pulse-red {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7);
    }

    70% {
        transform: scale(1.2);
        box-shadow: 0 0 0 10px rgba(255, 0, 0, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
    }
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    border: none !important;
    outline: none !important;
}

.nav-hours-label {
    color: var(--brand-yellow);
    font-size: 0.6rem;
    font-weight: 700;
}

.nav-center-scroll {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    flex: 1;
    padding: 0 15px;
}

.nav-center-scroll::-webkit-scrollbar {
    display: none;
}

.cat-link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    white-space: nowrap;
    padding: 10px 22px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    background: rgba(255, 255, 255, 0.02);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.5px;
}

.cat-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.2);
}

.cat-link.active {
    background: linear-gradient(135deg, #FFB800, #FFD700);
    /* Novo Ouro Profundo */
    color: #000 !important;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(255, 184, 0, 0.3);
    transform: scale(1.04);
    /* Escala mais sutil para não embaçar */
    font-weight: 900;
    z-index: 2;
}

.cat-link.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 5px;
    height: 5px;
    background: #FFB800;
    border-radius: 50%;
    box-shadow: 0 0 10px #FFB800, 0 0 2px #fff;
    opacity: 1;
    animation: dot-pulse 2s infinite;
}

@keyframes dot-pulse {

    0%,
    100% {
        transform: translateX(-50%) scale(1);
        opacity: 1;
    }

    50% {
        transform: translateX(-50%) scale(1.4);
        opacity: 0.7;
    }
}

.nav-right {
    display: flex;
    gap: 8px;
}

.nav-icon-btn {
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
}

.nav-icon-btn span {
    font-size: 18px;
}

.cart-count {
    position: absolute;
    top: -2px;
    right: -2px;
    background: var(--brand-red);
    color: #fff;
    font-size: 0.6rem;
    font-weight: 950;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--brand-brown);
}

@media (max-width: 768px) {
    .nav-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 5px 15px;
    }

    .nav-brand {
        width: 100%;
        justify-content: space-between;
    }

    .nav-center-scroll {
        position: fixed;
        top: 60px;
        /* Ajustado */
        left: 0;
        width: 100%;
        background: rgba(43, 29, 22, 0.98);
        backdrop-filter: blur(10px);
        padding: 8px 15px;
        border-bottom: none;
        /* Removida linha */
        border-top: none;
        z-index: 999;
    }

    .nav-brand,
    .nav-container,
    .nav-logo-img {
        border: none !important;
        outline: none !important;
        box-shadow: none !important;
    }

    body {
        padding-top: 0;
        padding-bottom: 0;
    }
}

/* 2. HERO SLIDER */
.hero-slider {
    height: 75vh;
    position: relative;
    overflow: hidden;
    background: #000;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.slide.active {
    opacity: 1;
}

.slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    animation: kenBurns 15s infinite alternate linear;
}

@keyframes kenBurns {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.15) rotate(0.2deg);
    }
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.slide-content {
    position: relative;
    z-index: 10;
    padding: 120px 20px 0;
    /* Adicionado padding-top para mobile não cortar */
    max-width: 800px;
}

@media (min-width: 769px) {
    .slide-content {
        padding: 0 20px;
    }
}

.slide-eyebrow {
    color: var(--brand-yellow);
    font-weight: 900;
    letter-spacing: 3px;
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: block;
}

.slide-headline {
    font-family: 'Anton', sans-serif;
    font-size: clamp(2rem, 8vw, 3.5rem);
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 2px 2px 15px rgba(0, 0, 0, 0.5);
}

.slide-author {
    color: var(--brand-yellow);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 30px;
    display: block;
}

.slide-cta {
    display: inline-block;
    padding: 15px 40px;
    background: #fff;
    color: #000;
    text-decoration: none;
    font-weight: 950;
    border-radius: 50px;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: 0.3s;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* 3. MENU STYLES */
.menu-section {
    padding: 40px 0;
}

.section-title {
    font-size: 20px;
    font-weight: 900;
    color: var(--brand-brown);
    border-bottom: 3px solid var(--brand-red);
    display: inline-block;
    margin-bottom: 25px;
    padding-bottom: 5px;
    text-transform: uppercase;
}

.pizza-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

@media (min-width: 1024px) {
    .pizza-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.pizza-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    transition: 0.3s;
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.pizza-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.card-img-wrap {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    position: relative;
}

.pizza-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--brand-red);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 950;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
}

.pizza-info {
    padding: 12px;
    flex: 1;
}

.pizza-name {
    font-size: 0.95rem;
    font-weight: 800;
    margin-bottom: 5px;
}

.pizza-desc {
    font-size: 0.8rem;
    color: var(--text-gray);
    height: 35px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-bottom: 10px;
}

.pizza-price {
    font-size: 1.1rem;
    font-weight: 900;
    color: var(--brand-red);
    display: block;
}

.btn-add {
    background: var(--brand-red);
    color: #fff;
    border: none;
    width: 100%;
    padding: 12px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    border-radius: 0 0 12px 12px;
}

/* 4. PROFESSIONAL MODAL v6600 — COMPACT & ELEGANT */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-pro {
    background: #fff;
    width: 100%;
    max-width: 440px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    animation: modalUp 0.3s ease-out;
    max-height: 92vh;
    display: flex;
    flex-direction: column;
}

@keyframes modalUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header-img {
    width: 100%;
    height: 140px;
    position: relative;
    flex-shrink: 0;
}

.modal-header-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.close-modal-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
}

.modal-body {
    padding: 18px;
    overflow-y: auto;
    flex: 1;
    scrollbar-width: none;
}

.modal-body::-webkit-scrollbar {
    display: none;
}

.modal-title {
    font-size: 1.3rem;
    font-weight: 900;
    margin-bottom: 5px;
    color: var(--brand-brown);
}

.modal-desc {
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-bottom: 15px;
    line-height: 1.3;
}

.modal-section-title {
    font-size: 0.75rem;
    font-weight: 950;
    text-transform: uppercase;
    color: var(--brand-brown);
    margin-bottom: 10px;
    display: block;
    border-left: 3px solid var(--brand-yellow);
    padding-left: 8px;
}

.size-selector {
    display: flex;
    gap: 6px;
    margin-bottom: 15px;
}

.size-btn {
    flex: 1;
    padding: 8px;
    border: 1.5px solid #eee;
    border-radius: 10px;
    background: none;
    cursor: pointer;
    transition: 0.2s;
    text-align: center;
}

.size-btn span {
    display: block;
    font-size: 0.6rem;
    color: var(--text-gray);
    font-weight: 700;
}

.size-btn strong {
    display: block;
    font-size: 0.9rem;
}

.size-btn.active {
    border-color: var(--brand-yellow);
    background: rgba(245, 166, 35, 0.05);
}

.obs-box {
    width: 100%;
    padding: 10px;
    border: 1.5px solid #eee;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.85rem;
    resize: none;
    height: 70px;
    margin-bottom: 15px;
}

.modal-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 18px;
    border-top: 1px solid #f0f0f0;
    background: #fff;
    flex-shrink: 0;
    position: sticky;
    bottom: 0;
    z-index: 20;
}

.qty-btn-group {
    display: flex;
    align-items: center;
    background: #f5f5f5;
    border-radius: 30px;
    padding: 4px;
}

.qty-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    background: #fff;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.qty-val {
    width: 30px;
    text-align: center;
    font-weight: 900;
    font-size: 0.95rem;
}

.btn-add-modal {
    flex: 1;
    background: var(--brand-brown);
    color: #fff;
    border: none;
    padding: 14px;
    border-radius: 30px;
    font-weight: 950;
    font-size: 0.9rem;
    cursor: pointer;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.15);
}

/* 5. SEARCH OVERLAY */
.search-overlay {
    position: fixed;
    inset: 0;
    background: #fff;
    z-index: 3000;
    transform: translateY(-100%);
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-overlay.active {
    transform: translateY(0);
}

.search-box {
    display: flex;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
    gap: 15px;
}

.search-input {
    flex: 1;
    border: none;
    font-size: 1.2rem;
    font-weight: 700;
}

.close-search {
    background: none;
    border: none;
    cursor: pointer;
}

/* 6. CART SIDEBAR */
.cart-sidebar {
    position: fixed;
    right: -450px;
    top: 0;
    width: 100%;
    max-width: 440px;
    height: 100%;
    background: #fff;
    z-index: 4000;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
    transition: 0.4s;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.active {
    right: 0;
}

.cart-overlay-bg {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 3900;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}

.cart-overlay-bg.active {
    opacity: 1;
    visibility: visible;
}

.cart-header {
    padding: 25px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--brand-brown);
    color: #fff;
}

.cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-footer {
    padding: 25px;
    border-top: 1px solid #eee;
    background: #fdfdfd;
}

.btn-finish {
    width: 100%;
    background: #25d366;
    color: #fff;
    border: none;
    padding: 18px;
    border-radius: 12px;
    font-weight: 950;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.2);
}

/* 7. DELIVERY CARD v7200 */
#delivery-banner-premium {
    margin: 80px auto;
}

#premium-card {
    background: #000 !important;
    border-radius: 30px;
    padding: 60px;
    overflow: hidden;
    position: relative;
    min-height: 250px;
    display: flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

#premium-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.5;
    filter: brightness(0.4) saturate(1.5);
    z-index: 1;
}

#premium-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 2;
}

#premium-content {
    position: relative;
    z-index: 10;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.delivery-eyebrow {
    color: #ffffff !important;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.delivery-headline {
    font-family: 'Anton', sans-serif !important;
    color: #FFB800 !important;
    font-size: 3.5rem;
    text-transform: uppercase;
    line-height: 0.95;
    margin-bottom: 15px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.delivery-subtext {
    color: #ffffff !important;
    font-size: 1.1rem;
    margin-bottom: 30px;
    font-weight: 500;
    max-width: 400px;
}

.delivery-btn {
    background: #FFB800 !important;
    color: #000 !important;
    border: none !important;
    padding: 16px 32px !important;
    border-radius: 50px;
    font-weight: 950;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(255, 184, 0, 0.4);
    transition: 0.4s;
}

.delivery-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 30px rgba(255, 184, 0, 0.5);
}

.delivery-price-badge {
    background: rgba(0, 0, 0, 0.6) !important;
    padding: 25px 40px;
    border-radius: 25px;
    border: 2px solid #FFB800;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    backdrop-filter: blur(15px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.delivery-price-info {
    color: #ffffff !important;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 5px;
    font-weight: 800;
}

.delivery-price-label {
    font-family: 'Anton', sans-serif !important;
    color: #FFB800 !important;
    font-size: 4rem;
    line-height: 1;
}

@media (max-width: 768px) {
    #premium-card {
        padding: 50px 30px;
        margin: 40px 0;
        text-align: center;
    }

    #premium-overlay {
        background: rgba(0, 0, 0, 0.8);
    }

    #premium-content {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .delivery-subtext {
        margin-left: auto;
        margin-right: auto;
    }

    .delivery-btn {
        margin: 0 auto;
    }

    .delivery-headline {
        font-size: 2.8rem;
    }

    .delivery-price-label {
        font-size: 3.5rem;
    }

    .delivery-price-badge {
        width: 100%;
    }
}


/* 8. CHECKOUT & CRUST v6800 */
.rule-alert-banner {
    background: #fff;
    border-radius: 12px;
    padding: 15px 20px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid #eee;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.rule-alert-banner span {
    color: var(--brand-red);
    font-size: 24px;
}

.rule-alert-banner p {
    font-size: 0.85rem;
    color: #444;
}

.rule-alert-banner strong {
    color: var(--brand-red);
}

/* PROMO LOCK STYLES */
.promo-locked {
    filter: grayscale(0.8) opacity(0.7);
    cursor: not-allowed !important;
}

.promo-locked:hover {
    transform: none !important;
}

.badge-locked {
    background: #666 !important;
    color: #fff !important;
}

.pizza-card.promo-locked .btn-add {
    background: #999 !important;
}

.checkout-toggle {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.toggle-btn {
    flex: 1;
    padding: 10px;
    border: 1.5px solid #ddd;
    background: #fff;
    border-radius: 8px;
    font-weight: 800;
    font-size: 0.8rem;
    cursor: pointer;
    transition: 0.2s;
}

.toggle-btn.active {
    background: var(--brand-yellow);
    border-color: var(--brand-yellow);
    color: #000;
}

.meio-meio-btn {
    width: 100%;
    padding: 12px;
    border: 1.5px dashed #ccc;
    border-radius: 12px;
    background: #fdfdfd;
    color: var(--brand-brown);
    font-weight: 800;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    transition: 0.3s;
}

.meio-meio-btn.active {
    background: var(--brand-yellow);
    border-color: var(--brand-yellow);
    border-style: solid;
    box-shadow: 0 5px 15px rgba(245, 166, 35, 0.2);
}

.flavor-list {
    max-height: 250px;
    overflow-y: auto;
    padding: 10px;
    background: #f9f9f9;
    border-radius: 15px;
    margin-bottom: 20px;
    border: 1px solid #eee;
}

.flavor-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.2s;
    background: #fff;
    margin-bottom: 8px;
    border: 1.5px solid transparent;
}

.flavor-card:hover {
    background: #f5f5f5;
}

.flavor-card.active {
    border-color: var(--brand-red);
    background: rgba(192, 57, 43, 0.03);
}

.flavor-card img {
    width: 45px;
    height: 45px;
    border-radius: 8px;
    object-fit: cover;
}

.flavor-card-info {
    flex: 1;
}

.flavor-card-info strong {
    display: block;
    font-size: 0.85rem;
}

.flavor-card-info span {
    font-size: 0.7rem;
    color: var(--text-gray);
}

.note-box {
    background: rgba(245, 166, 35, 0.1);
    border-left: 4px solid var(--brand-yellow);
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 15px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.note-box span {
    font-size: 1.2rem;
    color: var(--brand-yellow);
}

.note-box p {
    font-size: 0.75rem;
    font-weight: 700;
    color: #444;
    line-height: 1.2;
}

.crust-container {
    margin-bottom: 20px;
}

.crust-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border: 1.5px solid #eee;
    border-radius: 10px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: 0.2s;
    background: #fff;
}

.crust-item.active {
    border-color: var(--brand-red);
    background: rgba(192, 57, 43, 0.03);
}

.crust-name {
    font-size: 0.85rem;
    font-weight: 700;
}

.crust-price {
    font-size: 0.85rem;
    font-weight: 900;
    color: var(--brand-red);
}

/* FOOTER PREMIUM v8500 — ULTRA COMPACTO */
.footer-premium {
    background: var(--brand-brown);
    color: #fff;
    padding: 30px 0 0 0;
    /* Padding reduzido */
    margin-top: 40px;
    /* Margem reduzida */
    border-top: 3px solid var(--brand-yellow);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 20px;
    margin-bottom: 25px;
}

.brand-col .footer-logo {
    height: 40px;
    /* Logo menor */
    margin-bottom: 12px;
}

.brand-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    line-height: 1.4;
    max-width: 250px;
}

.footer-title {
    font-family: 'Oswald', sans-serif;
    color: #FFB800;
    font-size: 0.95rem;
    /* Título menor */
    text-transform: uppercase;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.8rem;
    margin-bottom: 8px;
}

.footer-links li span {
    color: #FFB800;
    font-size: 16px;
}

.payment-info {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
    margin-bottom: 12px;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-icon {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.2s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon:hover {
    background: #FFB800;
    color: #000;
    transform: translateY(-2px);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    padding: 15px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0;
}

.footer-bottom .developer span {
    color: #FFB800;
    font-weight: 700;
}

@media (max-width: 768px) {
    .footer-premium {
        padding: 30px 0 0 0;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 25px;
        margin-bottom: 30px;
    }

    .brand-col,
    .footer-links,
    .social-links {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .social-links {
        flex-direction: row;
        justify-content: center;
    }
}

/* 9. CADASTRO PAGE STYLES v6900 */
.cadastro-page {
    background-color: #fdfdfd;
}

.cadastro-header {
    text-align: center;
    margin-bottom: 40px;
}

.cadastro-title {
    font-family: 'Anton', sans-serif;
    font-size: 2.2rem;
    color: var(--brand-brown);
    text-transform: uppercase;
    margin-bottom: 5px;
}

.cadastro-subtitle {
    font-size: 1rem;
    color: var(--text-gray);
    font-weight: 400;
}

.cadastro-section-card {
    background: #fff;
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid #f0f0f0;
}

.section-title-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
    color: var(--brand-brown);
}

.section-title-wrap span {
    color: var(--brand-red);
    font-size: 1.4rem;
}

.section-title-wrap h3 {
    font-size: 0.85rem;
    font-weight: 950;
    letter-spacing: 1px;
}

.input-row {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.input-group {
    flex: 1;
    min-width: 140px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-group.full {
    flex: 1 1 100%;
}

.input-group.flex-3 {
    flex: 3;
}

.input-group.flex-1 {
    flex: 1;
}

.input-group label {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--brand-brown);
}

.input-group input {
    padding: 14px 18px;
    border: 1.5px solid #eee;
    border-radius: 12px;
    font-size: 0.9rem;
    background: #fcfcfc;
    transition: 0.3s;
}

.input-group input:focus {
    border-color: var(--brand-yellow);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(245, 166, 35, 0.1);
}

.btn-save-cadastro {
    width: 100%;
}

/* FLOATING CART BAR v7700 */
.floating-cart-bar {
    position: fixed;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: 92%;
    max-width: 480px;
    background: var(--brand-brown);
    color: #fff;
    padding: 16px 24px;
    border-radius: 50px;
    display: none;
    justify-content: space-between;
    align-items: center;
    z-index: 99999;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.7);
    cursor: pointer;
    border: 2.5px solid var(--brand-yellow);
    animation: barSlideIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-cart-bar.active {
    display: flex;
}

.cart-bar-info {
    display: flex;
    align-items: center;
    gap: 14px;
}

.cart-bar-info span {
    font-size: 28px;
    color: var(--brand-yellow);
}

#cart-bar-qty {
    font-weight: 850;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
}

.cart-bar-action {
    display: flex;
    align-items: center;
    gap: 18px;
}

.btn-label-ver {
    background: rgba(255, 255, 255, 0.12);
    padding: 7px 16px;
    border-radius: 25px;
    font-weight: 950;
    text-transform: uppercase;
    font-size: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: 0.3s;
}

#cart-bar-total {
    font-weight: 950;
    font-size: 1.15rem;
    color: var(--brand-yellow);
}

@keyframes barSlideIn {
    from {
        transform: translate(-50%, 120px);
        opacity: 0;
    }

    to {
        transform: translate(-50%, 0);
        opacity: 1;
    }
}

/* EspaÃ§amento extra no moblie v7700 */
body {
    padding-bottom: 120px;
}

@media (max-width: 600px) {
    .floating-cart-bar {
        bottom: 15px;
        width: 95%;
        padding: 14px 20px;
    }
}

/* ==========================================================
   PREMIUM DYNAMIC COMPONENTS v7800
   Restored & Polished Sections
   ========================================================== */

/* 1. DYNAMIC BUTTONS (MEIO-MEIO & CRUST) */
.meio-meio-btn,
.crust-toggle-btn {
    width: 100%;
    padding: 18px;
    background: #fff;
    border: 2px dashed #ddd;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-weight: 800;
    color: var(--brand-brown);
    cursor: pointer;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 10px;
}

.meio-meio-btn.active,
.crust-toggle-btn.active {
    border-color: var(--brand-yellow);
    background: #fffdf5;
    color: var(--brand-brown);
    box-shadow: 0 4px 15px rgba(245, 166, 35, 0.15);
}

.meio-meio-btn span.material-symbols-outlined,
.crust-toggle-btn span.material-symbols-outlined {
    font-size: 24px;
    color: var(--brand-yellow);
}

/* 2. FLAVOR & CRUST LISTS */
.flavor-list,
.crust-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 15px;
    max-height: 400px;
    overflow-y: auto;
    padding-right: 5px;
    scrollbar-width: thin;
}

.flavor-card,
.crust-item {
    display: flex;
    align-items: center;
    padding: 12px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    cursor: pointer;
    transition: 0.2s;
}

.flavor-card img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.flavor-card-info {
    flex: 1;
}

.flavor-card-info strong {
    display: block;
    font-size: 0.9rem;
    color: var(--brand-brown);
}

.flavor-card-info span {
    font-size: 0.75rem;
    color: #999;
}

.flavor-card.active,
.crust-item.active {
    background: #fff9ed;
    border-color: var(--brand-yellow);
}

.crust-item {
    justify-content: space-between;
    padding: 15px 20px;
}

.crust-name {
    font-weight: 700;
    color: var(--brand-brown);
}

.crust-price {
    font-weight: 800;
    color: var(--brand-red);
    font-size: 0.9rem;
}

/* 3. DRINK VARIANTS UI */
.variant-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
    max-height: 300px;
    overflow-y: auto;
    padding-right: 5px;
}

.variant-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: 0.3s;
}

.variant-card.active {
    background: #fff9eb;
    border-color: var(--brand-yellow);
    box-shadow: 0 4px 10px rgba(184, 134, 11, 0.1);
}

.variant-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--brand-brown);
}

.variant-check {
    font-size: 20px;
    color: #ccc;
}

.variant-card.active .variant-check {
    color: var(--brand-yellow);
}

/* 4. ORDER HISTORY UI */
.order-card-history {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 15px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.order-h-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 10px;
    border-bottom: 1px solid #f9f9f9;
    padding-bottom: 8px;
}

.order-h-items {
    font-size: 0.85rem;
    color: var(--brand-brown);
    font-weight: 700;
    margin-bottom: 12px;
}

.order-h-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    border-top: 1px solid #f9f9f9;
}

.btn-reorder {
    background: var(--brand-brown);
    color: #fff;
    border: none;
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

/* 5. SEARCH & UI TWEAKS */
.search-results-container {
    max-height: calc(100vh - 140px);
    overflow-y: auto;
    padding: 20px 0;
}

.cart-qty-controls {
    display: flex;
    align-items: center;
    background: #f8f8f8;
    border-radius: 30px;
    padding: 6px 12px;
    gap: 12px;
}

.cart-qty-btn {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.cart-qty-val {
    font-weight: 950;
    font-size: 0.9rem;
}

/* ==========================================================
   OPTIMIZATION UTILITIES v8100
   ========================================================== */
.delivery-taxa {
    font-size: 2rem;
    font-weight: 900;
    color: var(--brand-yellow);
}

.btn-close-cart {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
}

.cart-footer-total {
    display: flex;
    justify-content: space-between;
    font-weight: 950;
    margin-bottom: 10px;
}

.footer-copy {
    margin-top: 20px;
    opacity: 0.5;
    font-size: 0.7rem;
}

/* =============================================
   CADASTRO PAGE PREMIUM v3.0 (Light Mode)
   ============================================= */
.cadastro-page {
    background: #fdfdfd !important;
    min-height: 100vh;
    color: #333;
    font-family: 'Lato', sans-serif;
}

.cadastro-header {
    text-align: center;
    margin-bottom: 30px;
}

.cadastro-title {
    font-family: 'Anton', sans-serif !important;
    font-size: 2.8rem;
    color: #2b1d16 !important;
    /* Marrom da marca nos títulos */
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 5px;
}

.cadastro-subtitle {
    font-family: 'Oswald', sans-serif !important;
    color: #666;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.cadastro-section-card {
    background: #ffffff !important;
    border: 1px solid #eee !important;
    border-radius: 20px !important;
    padding: 30px !important;
    margin-bottom: 25px !important;
    box-shadow: 0 10px 30px rgba(43, 29, 22, 0.05) !important;
    transition: all 0.3s ease;
}

.cadastro-section-card:hover {
    box-shadow: 0 15px 40px rgba(43, 29, 22, 0.08) !important;
    border-color: #ddd !important;
}

.section-title-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    color: #2b1d16 !important;
    border-bottom: 2px solid #f5f5f5 !important;
    padding-bottom: 8px;
}

.section-title-wrap h3 {
    font-family: 'Oswald', sans-serif !important;
    font-size: 1.2rem;
    margin: 0;
}

.input-group label {
    font-size: 0.8rem;
    font-weight: 700;
    color: #2b1d16 !important;
    opacity: 0.8;
}

.input-group input {
    background: #fff !important;
    border: 1.5px solid #eee !important;
    border-radius: 10px !important;
    padding: 12px 16px !important;
    color: #333 !important;
}

.input-group input:focus {
    border-color: #2b1d16 !important;
    background: #fff !important;
    box-shadow: 0 4px 12px rgba(43, 29, 22, 0.08) !important;
}

.btn-save-cadastro {
    background: linear-gradient(135deg, #2b1d16 0%, #452f24 100%) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 50px !important;
    /* Totalmente arredondado */
    font-family: 'Oswald', sans-serif !important;
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 18px 40px !important;
    width: 100%;
    max-width: 400px;
    margin: 30px auto 15px auto !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(43, 29, 22, 0.2) !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.btn-save-cadastro:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 30px rgba(43, 29, 22, 0.3) !important;
    background: linear-gradient(135deg, #1a110d 0%, #2b1d16 100%) !important;
}

.btn-save-cadastro span {
    font-size: 1.5rem;
}

.cadastro-note {
    background: #fcfcfc !important;
    border: 1px solid #f0f0f0 !important;
    border-radius: 12px !important;
    padding: 15px 20px !important;
    margin: 20px auto !important;
    max-width: 450px;
    display: flex !important;
    align-items: center;
    gap: 15px;
    text-align: left !important;
}

.cadastro-note span {
    background: rgba(43, 29, 22, 0.05);
    color: #2b1d16;
    padding: 10px;
    border-radius: 50%;
    font-size: 1.2rem;
}

.cadastro-note p {
    margin: 0 !important;
    font-size: 0.85rem !important;
    color: #777 !important;
    line-height: 1.4 !important;
}

.cadastro-note strong {
    color: #2b1d16;
}

.beneficios-card {
    background: #fff !important;
    border: 1px dashed #ddd !important;
    border-radius: 20px !important;
    padding: 25px !important;
}

.beneficio-item {
    background: #f9f9f9;
    border: 1px solid #eee;
}

.beneficio-item p {
    color: #444;
}

.nav-back-link {
    background: transparent !important;
    border: none !important;
    color: #2b1d16 !important;
    padding: 0 !important;
    box-shadow: none !important;
    font-family: 'Oswald', sans-serif !important;
    font-size: 0.95rem !important;
    text-decoration: none !important;
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
}

.nav-back-link:hover {
    color: var(--brand-red) !important;
    text-decoration: underline !important;
}

.cadastro-page .navbar {
    background: #ffffff !important;
    border-bottom: 2px solid #f5f5f5 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05) !important;
    padding: 15px 0 !important;
}

.cadastro-page .nav-logo-img {
    filter: none !important;
    /* Garante que a logo apareça normal no fundo branco */
}

.cadastro-main-container {
    padding-top: 100px !important;
    /* Aumentado para garantir que não fique sob a navbar */
    padding-bottom: 60px;
    max-width: 600px !important;
    margin: 0 auto;
}

.input-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .cadastro-main-container {
        padding-top: 20px;
        padding-bottom: 40px;
    }

    .cadastro-section-card {
        padding: 20px 15px !important;
        border-radius: 15px !important;
    }

    .btn-save-cadastro {
        padding: 15px !important;
        font-size: 1.3rem !important;
    }
}

/* 10. PREMIUM DELIVERY BANNER v8400 */
#premium-card {
    background: #000;
    border-radius: 30px;
    padding: 60px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    color: #fff;
    min-height: 250px;
    width: 100%;
    margin-top: 60px;
    margin-bottom: 60px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

#premium-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.6;
    filter: brightness(0.7) saturate(1.2);
    z-index: 1;
}

#premium-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 2;
}

#premium-content {
    position: relative;
    z-index: 10;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.delivery-eyebrow {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
}

.delivery-headline {
    font-family: 'Anton', sans-serif;
    color: #FFB800;
    font-size: 3.5rem;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 15px;
}

.delivery-subtext {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 30px;
    font-weight: 500;
}

.delivery-btn {
    background: #FFB800;
    color: #000;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 900;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
}

.delivery-price-badge {
    background: rgba(0, 0, 0, 0.7);
    padding: 25px 40px;
    border-radius: 20px;
    border: 2px solid #FFB800;
    text-align: center;
    backdrop-filter: blur(10px);
}

.delivery-price-info {
    color: #ffffff;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 5px;
    display: block;
}

.delivery-price-label {
    font-family: 'Anton', sans-serif;
    color: #FFB800;
    font-size: 3.8rem;
    line-height: 1;
}

@media (max-width: 768px) {
    #premium-card {
        padding: 40px 25px;
        text-align: center;
    }

    #premium-content {
        flex-direction: column;
        gap: 40px;
    }

    .delivery-headline {
        font-size: 2.5rem;
    }

    .delivery-subtext {
        font-size: 1rem;
    }

    .delivery-price-label {
        font-size: 3rem;
    }

    .delivery-price-badge {
        width: 100%;
    }
}