:root {
    --bg-main: #0F0F10;
    --bg-card: #18181A;
    --bg-nav: rgba(15, 15, 16, 0.9);
    --gold: #C9A14A;
    --gold-rgb: 201, 161, 74;
    --text-main: #FFFFFF;
    --text-muted: #8e8e93;
    --border: rgba(255, 255, 255, 0.05);
    --border-gold: rgba(201, 161, 74, 0.2);
    --border-hover: rgba(201, 161, 74, 0.4);
    --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;
}

* {
    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-size: 0.95rem;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.3;
}

.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: 200px;
    position: relative;
    border-bottom: 1px solid var(--border);
    background: #1f1f1f;
}

.detail-img-container img {
    width: 100%;
    height: 100%;
    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);
}

.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: #0F0F10;
    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;
}


