@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;0,800;1,600&display=swap');

:root {
    /* PALETA OFICIAL CRAVO & CANELA - PRETO & DOURADO LUXUOSO (IGUAL À LOGO) */
    --bg-main: #0A0A0C;
    --bg-card: #141416;
    --bg-card-hover: #1D1D20;
    --bg-nav: rgba(10, 10, 12, 0.96);
    --gold: #D4AF37;
    --gold-bright: #E5C158;
    --gold-rgb: 212, 175, 55;
    --text-main: #FFFFFF;
    --text-muted: #CBD5E1;
    --border: rgba(212, 175, 55, 0.2);
    --border-gold: rgba(212, 175, 55, 0.4);
    --border-hover: rgba(212, 175, 55, 0.7);
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --glass-blur: blur(20px);
    --font-sans: 'Outfit', sans-serif;
    --font-serif: 'Playfair Display', serif;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-sans);
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-main);
}

p, span, div, strong, label, input, button {
    color: var(--text-main);
}

/* ==========================================================================
   ESTILOS DA PANELINHA DOURADA INTERATIVA DO CARRINHO & INGREDIENTES DA BUSCA
   ========================================================================== */

/* PANETINHA DOURADA */
.golden-pot-cart-btn {
    position: relative;
    background: rgba(212, 175, 55, 0.14) !important;
    border: 1.5px solid #D4AF37 !important;
    border-radius: 50% !important;
    width: 46px !important;
    height: 46px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.2s ease !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4), inset 0 1px 2px rgba(255, 255, 255, 0.2);
}

.golden-pot-cart-btn:hover {
    background: rgba(212, 175, 55, 0.25) !important;
    border-color: #E5C158 !important;
    transform: scale(1.08) !important;
}

.golden-pot-wrapper {
    position: relative;
    width: 30px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.golden-pot-wrapper.pot-pulse {
    transform: scale(1.3) rotate(-5deg);
}

.pot-lid {
    transform-origin: 32px 20px;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.pot-lid.pot-lid-open {
    transform: translateY(-10px) rotate(-18deg);
}

/* ITEM VOANDO PARA A PANELA */
.flying-item-to-pot {
    position: fixed;
    z-index: 99999;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #D4AF37;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6), 0 0 10px rgba(212, 175, 55, 0.8);
    pointer-events: none;
    animation: flyToPotAnim 0.65s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes flyToPotAnim {
    0% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
    50% {
        transform: scale(1.3) rotate(180deg);
        opacity: 0.9;
    }
    100% {
        transform: scale(0.2) rotate(360deg);
        opacity: 0;
    }
}

/* ANIMAÇÃO DA COLHER DE PAU RÚSTICA NA BARRA DE BUSCA (INDO E VOLTANDO SUAVEMENTE) */
.wooden-spoon-animator {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    border-radius: 12px;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.search-box input:focus ~ .wooden-spoon-animator,
.search-box input:not(:placeholder-shown) ~ .wooden-spoon-animator {
    opacity: 0.12;
}

.wooden-spoon-icon {
    position: absolute;
    top: 50%;
    animation: floatWoodenSpoon 24s ease-in-out infinite;
    opacity: 0.9;
}

@keyframes floatWoodenSpoon {
    0% {
        left: calc(100% - 44px);
        transform: translateY(-50%) rotate(0deg) scale(0.95);
        opacity: 0.9;
    }
    50% {
        left: 44px;
        transform: translateY(calc(-50% - 3px)) rotate(-20deg) scale(1.1);
        opacity: 0.9;
    }
    100% {
        left: calc(100% - 44px);
        transform: translateY(-50%) rotate(0deg) scale(0.95);
        opacity: 0.9;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ingr-item {
        animation: none !important;
        right: 10px !important;
        opacity: 0.7 !important;
    }
}

@media (max-width: 768px) {
    .app-header {
        height: 92px !important;
        padding: 8px 14px !important;
    }
    #app-logo {
        height: 80px !important;
        max-height: 80px !important;
    }
}

.fish-cart-btn:hover {
    background: rgba(212, 175, 55, 0.15);
    border-color: var(--gold, #C8A96A);
    transform: scale(1.05);
}

.cart-count-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #e74c3c;
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 900;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #1c1412;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
    line-height: 1;
    z-index: 10;
}

@keyframes fishBounce {
    0% { transform: scale(1) rotate(0deg); }
    25% { transform: scale(1.35) rotate(-15deg); color: #f39c12; }
    50% { transform: scale(0.9) rotate(12deg); }
    75% { transform: scale(1.15) rotate(-6deg); }
    100% { transform: scale(1) rotate(0deg); }
}

.fish-bounce {
    animation: fishBounce 0.45s ease-out !important;
}

.flying-item-clone {
    position: fixed;
    z-index: 99999;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    border: 2px solid var(--gold, #C8A96A);
    box-shadow: 0 4px 18px rgba(212, 175, 55, 0.5);
    pointer-events: none;
    transition: left 0.5s cubic-bezier(0.2, 0.8, 0.25, 1), top 0.5s cubic-bezier(0.2, 0.8, 0.25, 1), transform 0.5s cubic-bezier(0.2, 0.8, 0.25, 1), opacity 0.5s ease;
}

body.light-theme {
    --bg-main: #F4F4F6;
    --bg-card: #F5F0E8;
    --bg-nav: rgba(244, 244, 246, 0.9);
    --text-main: #1D1D1F;
    --text-muted: #6E6E73;
    --border: rgba(0, 0, 0, 0.08);
    --border-gold: rgba(201, 161, 74, 0.4);
    --border-hover: rgba(201, 161, 74, 0.7);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    background-color: #050506;
}

body {
    background-color: #050506;
    color: var(--text-main);
    font-family: var(--font-sans);
    line-height: 1.5;
    overflow-x: hidden;
}

.taikan-layout {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--bg-main);
    min-height: 100vh;
    border-left: 1px solid rgba(201, 161, 74, 0.1);
    border-right: 1px solid rgba(201, 161, 74, 0.1);
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.9);
    position: relative;
}

.container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Header Estilo Mockup */
.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: #0A0A0A;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.brand-title {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 900;
    letter-spacing: 2px;
    color: var(--gold);
    margin: 0;
}

.menu-btn {
    background: none;
    border: none;
    color: #FFF;
    font-size: 1.25rem;
    cursor: pointer;
}

/* Banner Promocional */
.promotional-banner-container {
    padding: 16px 16px 8px 16px;
    max-width: 600px;
    margin: 0 auto;
}

.promo-banner-carousel {
    position: relative;
    height: 160px;
    border-radius: 16px;
    border: 1px solid var(--border-gold);
    overflow: hidden;
}

.carousel-slides {
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    padding: 16px;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    pointer-events: none;
    z-index: 1;
}

.carousel-slide.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 2;
}

.promo-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #FFF;
    line-height: 1.3;
}

.carousel-dots {
    position: absolute;
    bottom: 12px;
    right: 16px;
    display: flex;
    gap: 6px;
    z-index: 3;
}

.carousel-dots .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition);
}

.carousel-dots .dot.active {
    background: var(--gold);
    transform: scale(1.2);
}

/* Navigation & Category pills */
.sticky-nav {
    position: sticky;
    top: 0;
    z-index: 10;
    background: var(--bg-nav);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
}

.search-box {
    position: relative;
    max-width: 600px;
    margin: 0 auto 12px auto;
    padding: 0 16px;
}

.search-box input {
    width: 100%;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: 12px;
    height: 44px;
    padding: 0 16px 0 44px;
    color: var(--text-main);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    transition: var(--transition);
}

.search-box input:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(255,255,255,0.06);
}

.search-icon {
    position: absolute;
    left: 32px;
    top: 14px;
    color: var(--text-muted);
}

.categories-wrapper {
    overflow-x: auto;
    white-space: nowrap;
    padding: 4px 16px;
}

.categories-wrapper::-webkit-scrollbar {
    display: none;
}

.categories-container {
    display: flex;
    gap: 8px;
    width: max-content;
}

.category-pill {
    background: transparent;
    border: 1px solid var(--border-gold);
    color: var(--text-muted);
    font-family: var(--font-sans);
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: var(--transition);
}

.category-pill.active {
    background: var(--gold);
    color: #000;
    border-color: var(--gold);
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.25);
}

/* Main list content & Product cards matching mockup */
.app-main {
    padding: 16px 0 100px 0;
}

.products-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.goomer-item-row {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-left: 3px solid var(--gold); /* Left golden accent line from mockup! */
    border-radius: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    gap: 16px;
    cursor: pointer;
    transition: var(--transition);
}

.goomer-item-row:hover {
    border-color: var(--border-hover);
    transform: translateY(-1px);
}

.item-details {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.item-name {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.2;
    letter-spacing: -0.2px;
}

.item-desc {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 4px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.item-price {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--gold);
    margin-top: 8px;
}

.item-img-box {
    width: 76px;
    height: 76px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    background: #1f1f1f;
}

.item-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Footer & signature */
.app-footer {
    text-align: center;
    padding: 40px 20px 60px 20px;
    border-top: 1px solid var(--border);
    margin-top: 40px;
}

.copyright {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.dev-sig {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.25);
    text-decoration: none;
    transition: var(--transition);
}

.dev-sig:hover {
    color: var(--gold);
}

/* Floating Cart Bar */
.bottom-cart-bar {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    max-width: 568px;
    background: var(--gold);
    color: #000;
    height: 52px;
    border-radius: 26px;
    display: flex;
    align-items: center;
    padding: 0 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5), 0 0 20px rgba(255, 193, 7, 0.3);
    cursor: pointer;
    z-index: 8;
    transition: var(--transition);
}

.bottom-cart-bar:hover {
    transform: translateX(-50%) translateY(-2px);
}

.cart-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    font-weight: 800;
}

.cart-bar-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-qty-badge {
    background: #000;
    color: var(--gold);
    font-size: 0.8rem;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-bar-text {
    font-size: 0.95rem;
}

.cart-bar-total {
    font-size: 1.05rem;
}

/* Form Controls */
.form-control {
    width: 100%;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: 10px;
    height: 40px;
    padding: 0 12px;
    color: var(--text-main);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(255,255,255,0.06);
}

textarea.form-control {
    height: auto;
    padding: 10px 12px;
}

.form-group {
    margin-bottom: 14px;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 6px;
}

/* Overlay Modais */
.cart-overlay, .modal-overlay, .admin-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.cart-overlay.open, .modal-overlay.open, .admin-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

/* Cart Sidebar */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 440px;
    height: 100%;
    background: #0A0A0A;
    border-left: 1px solid var(--border-gold);
    display: flex;
    flex-direction: column;
    transition: right 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.cart-overlay.open .cart-sidebar {
    right: 0;
}

.cart-header, .admin-header {
    padding: 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close-cart, .close-admin, .close-detail {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.8rem;
    cursor: pointer;
    transition: var(--transition);
}

.close-cart:hover, .close-admin:hover, .close-detail:hover {
    color: var(--gold);
}

.cart-body {
    flex-grow: 1;
    overflow-y: auto;
    padding: 20px;
}

/* Delivery options inside cart */
.delivery-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 15px;
}

.delivery-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border);
    border-radius: 12px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.delivery-card.active {
    border-color: var(--gold);
    background: rgba(255, 193, 7, 0.05);
    color: var(--gold);
}

.btn-checkout {
    width: 100%;
    height: 48px;
    background: #2ed573;
    border: none;
    border-radius: 12px;
    color: #fff;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(46, 213, 115, 0.3);
    margin-top: 20px;
    transition: var(--transition);
}

.btn-checkout:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(46, 213, 115, 0.4);
}

/* Customization Modal */
.detail-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -40%);
    width: calc(100% - 32px);
    max-width: 440px;
    max-height: 90vh;
    overflow-y: auto;
    background: #101010;
    border: 1px solid var(--border-gold);
    border-radius: 20px;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 20px 50px rgba(0,0,0,0.8);
}

.modal-overlay.open .detail-modal {
    opacity: 1;
    transform: translate(-50%, -50%);
}

.detail-img-container {
    height: auto; /* Altura dinâmica para preservar a proporção do prato inteiro */
    position: relative;
    border-bottom: 1px solid var(--border);
    background: #101010;
    border-radius: 19px 19px 0 0;
    overflow: hidden;
}

.detail-img-container img {
    width: 100%;
    height: auto; /* Ajuste proporcional automático */
    display: block;
    object-fit: cover;
}

.close-detail {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 2;
    width: 36px;
    height: 36px;
    background: rgba(0,0,0,0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.detail-body {
    padding: 20px;
}

.detail-body h2 {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 800;
}

.detail-body p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 6px;
}

.detail-price {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--gold);
    margin-top: 12px;
}

.quantity-control-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid var(--border);
}

.qty-label {
    font-size: 0.9rem;
    font-weight: 600;
}

.qty-btns {
    display: flex;
    align-items: center;
    gap: 15px;
}

.qty-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: rgba(255,255,255,0.02);
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.qty-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.btn-add-to-cart {
    width: 100%;
    height: 48px;
    background: var(--gold);
    border: none;
    border-radius: 12px;
    color: #000;
    font-weight: 800;
    font-size: 0.95rem;
    cursor: pointer;
    margin-top: 20px;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.2);
    transition: var(--transition);
    
    /* Posição fixa no rodapé do modal scrollável */
    position: sticky;
    bottom: -20px;
    z-index: 10;
}

.btn-add-to-cart:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.3);
}


/* Secret Admin Modal */
.admin-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -40%);
    width: calc(100% - 32px);
    max-width: 440px;
    max-height: 85vh;
    overflow-y: auto;
    background: #1c1412;
    border: 1px solid var(--border-gold);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.8);
    padding: 0;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.admin-overlay.open .admin-modal {
    opacity: 1;
    transform: translate(-50%, -50%);
}

.btn-primary {
    background: var(--gold);
    color: #000;
    border: none;
    border-radius: 10px;
    height: 40px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.btn-success {
    background: #2ed573;
    color: #fff;
    border: none;
    border-radius: 10px;
    height: 40px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

/* Peixinho nadando na barra de busca */
.search-box {
    position: relative;
    max-width: 600px;
    margin: 0 auto 12px auto;
    padding: 0 16px;
    overflow: hidden;
}

.fish-swimming {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 193, 7, 0.25);
    font-size: 0.85rem;
    pointer-events: none;
    animation: fishSwim 12s linear infinite;
    z-index: 2;
}

@keyframes fishSwim {
    0% {
        left: -20px;
        opacity: 0;
        transform: translateY(-50%) rotate(0deg);
    }
    5% {
        opacity: 0.6;
        transform: translateY(-50%) rotate(0deg);
    }
    10% {
        transform: translateY(-80%) rotate(-12deg);
    }
    20% {
        transform: translateY(-20%) rotate(12deg);
    }
    30% {
        transform: translateY(-80%) rotate(-12deg);
    }
    40% {
        transform: translateY(-20%) rotate(12deg);
    }
    45% {
        opacity: 0.6;
    }
    50% {
        left: calc(100% - 30px);
        opacity: 0;
        transform: translateY(-50%) rotate(0deg);
    }
    51% {
        transform: translateY(-50%) rotate(180deg);
    }
    55% {
        opacity: 0.6;
        transform: translateY(-50%) rotate(180deg);
    }
    60% {
        transform: translateY(-80%) rotate(168deg);
    }
    70% {
        transform: translateY(-20%) rotate(192deg);
    }
    80% {
        transform: translateY(-80%) rotate(168deg);
    }
    90% {
        transform: translateY(-20%) rotate(192deg);
    }
    95% {
        opacity: 0.6;
    }
    100% {
        left: -20px;
        opacity: 0;
        transform: translateY(-50%) rotate(180deg);
    }
}

/* Ficha Técnica Badges */
.badge-tech {
    font-size: 0.65rem;
    background: rgba(255, 255, 255, 0.04);
    color: #cccccc;
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 2px 6px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
}

.badge-tech i {
    font-size: 0.6rem;
    color: var(--gold);
}

.badge-tech.raw {
    border-color: rgba(201, 161, 74, 0.3);
    color: var(--gold);
    background: rgba(201, 161, 74, 0.05);
}

.badge-tech.spicy {
    border-color: rgba(255, 75, 75, 0.3);
    color: #ff4b4b;
    background: rgba(255, 75, 75, 0.05);
}

.badge-tech.spicy i {
    color: #ff4b4b;
}

/* Hover Zoom em Cards */
.goomer-item-row:hover .item-img-box img {
    transform: scale(1.06);
}

/* Customização de Prato (Adicionais e Remoções) */
.option-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    cursor: pointer;
    font-size: 0.75rem;
    color: var(--text-main);
    transition: var(--transition);
    user-select: none;
}

.option-row:hover {
    border-color: rgba(201, 161, 74, 0.3);
    background: rgba(255, 255, 255, 0.04);
}

.option-row.active {
    background: rgba(201, 161, 74, 0.08);
    border-color: var(--gold);
}

.option-row input[type="checkbox"],
.option-row input[type="radio"] {
    width: 14px;
    height: 14px;
    accent-color: var(--gold);
    cursor: pointer;
    margin: 0;
}

.option-name {
    flex-grow: 1;
    font-weight: 500;
}

.option-price {
    font-weight: bold;
    color: var(--gold);
    font-size: 0.7rem;
}

/* Otimização de Impressão do Relatório ERP */
@media print {
    body * {
        visibility: hidden;
    }
    #admin-report-modal, #admin-report-modal * {
        visibility: visible;
    }
    #admin-report-modal {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: auto !important;
        background: #fff !important;
        color: #000 !important;
        padding: 0;
        backdrop-filter: none !important;
        overflow: visible !important;
    }
    #admin-report-modal > div {
        background: #fff !important;
        color: #000 !important;
        border: none !important;
        box-shadow: none !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 10px !important;
    }
    #admin-report-modal select, 
    #admin-report-modal input, 
    #admin-report-modal button,
    #admin-report-modal span[onclick] {
        display: none !important;
    }
    #admin-report-modal th {
        color: #000 !important;
        border-bottom: 2px solid #333 !important;
    }
    #admin-report-modal td {
        color: #000 !important;
        border-bottom: 1px solid #eee !important;
    }
    #report-payment-breakdown > div {
        border: 1px solid #ccc !important;
        color: #000 !important;
        background: #f9f9f9 !important;
    }
    #admin-report-modal strong {
        color: #000 !important;
    }
}

/* Estilos de Painel ERP / BI Administrativo */
.admin-sidebar-btn {
    width: 100%;
    text-align: left;
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: bold;
    padding: 8px 10px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    outline: none;
}
.admin-sidebar-btn:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.03);
}
body.light-theme .admin-sidebar-btn:hover {
    background: rgba(0, 0, 0, 0.03);
}
.admin-sidebar-btn.active {
    background: rgba(201, 161, 74, 0.12) !important;
    border-color: var(--gold-rgb) !important;
    color: var(--gold) !important;
}

/* Redimensionar modal para experiência ERP */
.admin-modal {
    max-width: 1050px !important;
    width: 95% !important;
    max-height: 95vh !important;
    height: 85vh !important;
    display: flex;
    flex-direction: column;
}
.admin-body {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

/* Responsividade do Painel ERP para Celulares (Telas Menores) */
@media (max-width: 768px) {
    #admin-main-layout {
        flex-direction: column !important;
    }
    #admin-sidebar-menu {
        width: 100% !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        border-right: none !important;
        border-bottom: 1px solid rgba(255,255,255,0.08) !important;
        padding-right: 0 !important;
        padding-bottom: 12px !important;
        margin-bottom: 10px !important;
    }
    .admin-sidebar-btn {
        width: auto !important;
        flex: 1 1 auto !important;
        justify-content: center !important;
        font-size: 0.75rem !important;
        padding: 8px 12px !important;
    }
}

/* Customização dos Gráficos e Tabelas */
.chart-container-erp {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    padding: 10px;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
body.light-theme .chart-container-erp {
    background: rgba(0, 0, 0, 0.01);
    border-color: rgba(0, 0, 0, 0.05);
}
.erp-kpi-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    transition: var(--transition);
}
body.light-theme .erp-kpi-card {
    background: #fff;
    border-color: rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.erp-kpi-card:hover {
    border-color: var(--gold);
}




/* Animação para Novo Pedido na Cozinha */
@keyframes pulse-border-new {
    0% { border-color: rgba(243, 156, 18, 0.4); box-shadow: 0 0 5px rgba(243, 156, 18, 0.2); }
    50% { border-color: #f39c12; box-shadow: 0 0 15px rgba(243, 156, 18, 0.6); }
    100% { border-color: rgba(243, 156, 18, 0.4); box-shadow: 0 0 5px rgba(243, 156, 18, 0.2); }
}

.card-novo-pedido-anim {
    animation: pulse-border-new 1.5s infinite ease-in-out;
    border: 1px solid #f39c12 !important;
}

.badge-novo-pedido {
    background: #f39c12;
    color: #000;
    font-size: 0.62rem;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    text-transform: uppercase;
}

/* ==========================================================================
   NOVO LAYOUT ULTRA PREMIUM CRAVO & CANELA (FIDELIDADE 100% AOS MOCKUPS)
   ========================================================================== */

/* Fundo Geral */
body.taikan-layout {
    background-color: #050505 !important;
    color: #FFFFFF !important;
}

/* Header Bar Topo */
.header-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #050505;
    position: sticky;
    top: 0;
    z-index: 100;
}

.btn-round-menu {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.2s;
}
.btn-round-menu:hover {
    border-color: var(--gold);
    background: rgba(212, 175, 55, 0.12);
}

.header-logo-img {
    height: 62px;
    width: auto;
    object-fit: contain;
}

/* Seletor de Idiomas Pill */
.lang-selector-pill {
    display: flex;
    align-items: center;
    gap: 4px;
    background: #121214;
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 24px;
    padding: 4px 8px;
}
.lang-pill {
    background: transparent;
    border: none;
    color: #ccc;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s;
}
.lang-pill.active {
    background: #D4AF37 !important;
    color: #000 !important;
    font-weight: 900 !important;
}

/* Botão Flutuante de Sacola */
.floating-pot-badge-btn {
    position: relative;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.12);
    border: 1.5px solid #D4AF37;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.25);
    transition: all 0.25s;
}
.floating-pot-badge-btn:hover {
    transform: scale(1.08);
    background: rgba(212, 175, 55, 0.25);
}
.cart-header-count-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #D4AF37;
    color: #000;
    font-weight: 900;
    font-size: 0.7rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #050505;
}

/* Card Banner Hero */
.hero-banner-card {
    background: linear-gradient(135deg, #0e0e11 0%, #16161a 100%);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 20px;
    padding: 20px;
    margin: 12px 16px 20px 16px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.hero-content-left {
    flex: 1.2;
    z-index: 2;
}
.hero-image-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.hero-dish-img {
    max-width: 220px;
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.6);
    object-fit: cover;
}
.hero-status-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #10B981;
    font-weight: 800;
    font-size: 0.85rem;
    margin-bottom: 4px;
}
.hero-hours-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 14px 0;
}
.hero-info-grid {
    display: flex;
    gap: 14px;
    margin-bottom: 18px;
    font-size: 0.75rem;
    color: #ccc;
}
.hero-info-item {
    display: flex;
    align-items: center;
    gap: 5px;
}
.btn-hero-action {
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    color: #000;
    font-weight: 900;
    font-size: 0.85rem;
    border-radius: 28px;
    padding: 12px 24px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.35);
    transition: all 0.25s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.btn-hero-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(245, 158, 11, 0.5);
}

/* Buscador & Filtro */
.search-filter-container {
    display: flex;
    gap: 10px;
    padding: 0 16px;
    margin-bottom: 20px;
}
.search-input-wrapper {
    flex: 1;
    position: relative;
}
.search-input-wrapper input {
    width: 100%;
    height: 48px;
    background: #121214;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 0 16px 0 44px;
    color: #fff;
    font-size: 0.85rem;
    box-sizing: border-box;
}
.search-input-wrapper i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
    font-size: 0.95rem;
}
.btn-filter-icon {
    width: 48px;
    height: 48px;
    background: #121214;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    color: #D4AF37;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
}

/* Carrossel de Categorias */
.categories-cards-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    padding: 0 16px;
    margin-bottom: 24px;
}
@media (max-width: 768px) {
    .categories-cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
.category-card-box {
    background: #121214;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 14px 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}
.category-card-box.active {
    border: 1px solid #D4AF37;
    background: rgba(212, 175, 55, 0.08);
}
.category-card-box.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    width: 24px;
    height: 3px;
    background: #D4AF37;
    border-radius: 2px;
}
.category-card-icon {
    font-size: 1.6rem;
    margin-bottom: 6px;
}
.category-card-title {
    font-size: 0.76rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

/* Banner Buffet de Hoje */
.buffet-featured-card {
    background: linear-gradient(135deg, #0e0e11 0%, #18181c 100%);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 20px;
    padding: 20px;
    margin: 0 16px 24px 16px;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.buffet-tag-time {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid #D4AF37;
    color: #D4AF37;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: bold;
    margin-bottom: 8px;
}
.buffet-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 6px 0;
}
.buffet-subtext {
    font-size: 0.78rem;
    color: #aaa;
    margin-bottom: 16px;
    max-width: 320px;
}
.btn-buffet-action {
    background: transparent;
    border: 1px solid #D4AF37;
    color: #fff;
    font-weight: 700;
    font-size: 0.78rem;
    padding: 10px 18px;
    border-radius: 20px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}
.btn-buffet-action:hover {
    background: #D4AF37;
    color: #000;
}

/* Badges de Confiança */
.trust-badges-card {
    background: #0c0c0e;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 14px 16px;
    margin: 0 16px 24px 16px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    text-align: center;
}
@media (max-width: 600px) {
    .trust-badges-card {
        grid-template-columns: repeat(2, 1fr);
    }
}
.trust-badge-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.74rem;
    color: #ccc;
    font-weight: 600;
}
.trust-badge-item i {
    color: #D4AF37;
    font-size: 0.9rem;
}

/* Rodapé Oficial */
.official-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.75rem;
    color: #888;
    background: #050505;
}
.footer-social-icons {
    display: flex;
    gap: 10px;
}
.footer-social-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: #D4AF37;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
.footer-social-icon:hover {
    background: #D4AF37;
    color: #000;
}

/* STEP TRACKER DO CHECKOUT DO MOCKUP */
.checkout-step-tracker {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    margin: 16px 0 24px 0;
    padding: 0 10px;
}
.checkout-step-tracker::before {
    content: '';
    position: absolute;
    top: 14px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1;
}
.checkout-step-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
    gap: 4px;
}
.checkout-step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #18181c;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #aaa;
    font-weight: 800;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.checkout-step-node.active .checkout-step-num {
    background: #D4AF37;
    color: #000;
    border-color: #D4AF37;
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.4);
}
.checkout-step-label {
    font-size: 0.68rem;
    color: #777;
    font-weight: bold;
}
.checkout-step-node.active .checkout-step-label {
    color: #D4AF37;
}

/* BOTÃO VERDE ESMERALDA GIANT DO WHATSAPP */
.btn-whatsapp-emerald-giant {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: #ffffff;
    border-radius: 28px;
    padding: 16px 20px;
    font-weight: 900;
    font-size: 0.95rem;
    text-align: center;
    width: 100%;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
    transition: all 0.25s ease;
    margin-top: 14px;
}
.btn-whatsapp-emerald-giant:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(16, 185, 129, 0.6);
}
.btn-whatsapp-sub {
    font-size: 0.68rem;
    font-weight: 500;
    opacity: 0.9;
    margin-top: 2px;
}
