@import url('https://fonts.googleapis.com/css2?family=Noto+Emoji:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    --primary: #4CAF50;
    --primary-soft: #E8F5E9;
    --secondary: #00A699;
    --dark: #222222;
    --gray-dark: #484848;
    --gray-light: #717171;
    --border: #DDDDDD;
    --bg-light: #F7F7F7;
    --white: #FFFFFF;
    --radius-lg: 16px;
    --radius-md: 12px;
    --shadow: 0 6px 16px rgba(0,0,0,0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* Fonte de emoji monocromática — a cor segue o CSS (preto, branco, etc.) */
.emoji {
    font-family: 'Noto Emoji', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-variant-emoji: text;
    color: currentColor;
    line-height: 1;
    display: inline-block;
    vertical-align: -0.08em;
}

body {
    background-color: var(--white);
    color: var(--dark);
    line-height: 1.4;
}

/* --- CLIENT LAYOUT --- */
.app-container {
    max-width: 480px;
    margin: 0 auto;
    min-height: 100vh;
    background: var(--white);
    position: relative;
}

.app-header {
    background: var(--white);
    position: relative;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.header-cover {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    height: clamp(120px, 36vw, 172px);
    padding: 22px 18px;
    overflow: hidden;
    background-image:
        linear-gradient(115deg, rgba(23, 28, 24, 0.34), rgba(56, 35, 29, 0.16) 58%, rgba(23, 21, 18, 0.28)),
        url("img2.png");
    background-color: #38231d;
    background-position: center;
    background-size: 100% 100%;
    color: var(--white);
}

.header-cover::after {
    position: absolute;
    right: -44px;
    bottom: -96px;
    width: 230px;
    height: 190px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 50%;
    content: "";
    transform: rotate(-24deg);
    pointer-events: none;
}

.header-cover-brand {
    display: grid;
    gap: 4px;
    padding-right: 44px;
}

.header-cover-name {
    font-size: 1.28rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.15;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.header-cover-tagline {
    color: #F7D6A4;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.header-details {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 65px;
    padding: 8px 78px 10px 116px;
}

.header-logo-wrap {
    position: absolute;
    top: -42px;
    left: 16px;
    width: 90px;
    height: 90px;
}

.header-logo {
    display: block;
    width: 100%;
    height: 100%;
    border: 4px solid var(--white);
    border-radius: 22px;
    background: var(--white);
    object-fit: cover;
    object-position: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.header-status-dot {
    position: absolute;
    right: -2px;
    bottom: -2px;
    width: 20px;
    height: 20px;
    border: 3px solid var(--white);
    border-radius: 50%;
    background: #16A36A;
}

.app-header.is-closed .header-status-dot {
    background: #E5484D;
}

.header-title-fallback {
    display: none;
}

.header-info {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
    width: 100%;
    min-width: 0;
}

.header-info-item {
    display: flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
}

.header-info-icon {
    flex: 0 0 auto;
    color: #7A5144;
    font-size: 1rem;
}

.hours-badge {
    display: inline-flex;
    align-items: center;
    color: var(--gray-dark);
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.3;
}

.hours-badge::before {
    display: none;
}

.delivery-time {
    color: var(--gray-dark);
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.35;
}

.header-closed-message {
    color: #C62828;
    font-size: 0.85rem;
    font-weight: 700;
}

#status-text {
    display: none;
}

.header-cart {
    position: absolute;
    z-index: 2;
    top: -28px;
    right: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    padding: 0;
    border: 4px solid var(--white);
    border-radius: 50%;
    background: var(--white);
    color: var(--dark);
    cursor: pointer;
    font-family: inherit;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.header-cart:hover {
    transform: translateY(-1px);
    background: #F1F3F1;
}

.header-cart.has-items {
    background: var(--white);
    color: var(--dark);
}

.header-cart.has-items .cart-icon {
    color: var(--dark);
}

.header-cart.has-items .cart-count {
    background: #fff;
    color: var(--primary);
    border-color: var(--white);
}

.cart-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    flex-shrink: 0;
}

.cart-icon {
    font-size: 1.3rem;
    transition: transform 0.3s ease;
    display: block;
    color: var(--dark);
}

.cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #FF385C;
    color: white;
    font-size: 0.65rem;
    font-weight: 800;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    box-shadow: 0 2px 8px rgba(255, 56, 92, 0.4);
    transition: all 0.3s ease;
}

.header-cart:not(.has-items) .cart-count {
    background: #BDBDBD;
    box-shadow: none;
}

/* Animações do Carrinho */
@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes cartBounce {
    0%, 100% {
        transform: scale(1);
    }
    25% {
        transform: scale(0.9) rotate(-5deg);
    }
    50% {
        transform: scale(1.1) rotate(5deg);
    }
    75% {
        transform: scale(0.95) rotate(-3deg);
    }
}

@keyframes countPop {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.3);
    }
    100% {
        transform: scale(1);
    }
}

/* Animação quando adiciona item */
.header-cart.item-added {
    animation: addItemShake 0.5s ease;
}

@keyframes addItemShake {
    0%, 100% {
        transform: translateX(0);
    }
    10% {
        transform: translateX(-5px) rotate(-2deg);
    }
    20% {
        transform: translateX(5px) rotate(2deg);
    }
    30% {
        transform: translateX(-5px) rotate(-2deg);
    }
    40% {
        transform: translateX(5px) rotate(2deg);
    }
    50% {
        transform: translateX(0);
    }
}

/* Categories */
.nav-categories {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 16px 16px;
    flex-wrap: nowrap;
}

.cat-item {
    flex: 1;
    text-align: center;
    padding: 12px 8px;
    background: var(--bg-light);
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
    transition: 0.2s;
    border: 1px solid transparent;
    min-width: 0;
}

.cat-item.active {
    background: var(--dark);
    color: var(--white);
}

/* Menu Items */
.menu-section {
    padding: 0 20px 24px;
}

.section-title {
    font-size: 1.25rem;
    font-weight: 800;
    margin: 24px 0 16px;
}

.item-card {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid #F0F0F0;
    cursor: pointer;
}

.item-content {
    flex: 1;
}

.item-content h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.item-content p {
    font-size: 0.8rem;
    color: var(--gray-light);
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.item-price {
    font-size: 0.95rem;
    font-weight: 700;
}

.item-image {
    width: 100px;
    height: 100px;
    background: #f0f0f0;
    border-radius: var(--radius-md);
    object-fit: cover;
}

/* Floating Cart (mobile) */
.floating-cart {
    display: none;
}

/* Modals & Steps */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    display: flex;
    align-items: flex-end;
}

.modal-sheet {
    background: var(--white);
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    border-radius: 24px 24px 0 0;
    padding: 32px 24px;
    max-height: 90vh;
    overflow-y: auto;
}

.delivery-sheet {
    padding: 24px;
}

.delivery-title {
    text-align:center;
    color:var(--gray-light);
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: 700;
}

.saved-address-card {
    overflow: hidden;
    margin: 0 0 18px;
    border: 1px solid #E1E5E1;
    border-radius: 10px;
    background: #FFFFFF;
    color: #333333;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.saved-address-card h3 {
    padding: 13px 15px;
    border-bottom: 1px solid #E7E7E7;
    color: #333333;
    font-size: 0.9rem;
    font-weight: 700;
}

.saved-address-content {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 112px;
    padding: 16px 15px;
}

.saved-address-icon {
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    fill: none;
    stroke: #555555;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.saved-address-lines {
    display: grid;
    flex: 1;
    gap: 4px;
    min-width: 0;
    color: #414141;
    font-size: 0.82rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.saved-address-lines span:first-child {
    font-weight: 600;
}

.saved-address-change,
.saved-address-use,
.saved-address-clear {
    padding: 7px 4px;
    border: 0;
    background: transparent;
    color: #2775C7;
    font: inherit;
    font-size: 0.86rem;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
}

.saved-address-change:hover,
.saved-address-use:hover {
    color: #155B9F;
    text-decoration: underline;
}

.saved-address-form-actions {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin: -4px 0 14px;
}

.saved-address-clear {
    color: #6C746C;
    font-size: 0.76rem;
}

.saved-address-clear:hover {
    color: #B3261E;
    text-decoration: underline;
}

.delivery-field {
    min-width: 0;
    margin-bottom: 16px;
}

.delivery-field-row {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 12px;
    margin-bottom: 16px;
}

.delivery-field-row .delivery-field {
    margin-bottom: 0;
}

.delivery-field-label {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 7px;
    color: var(--gray-dark);
    font-size: 0.86rem;
    font-weight: 700;
    line-height: 1.2;
}

.delivery-field-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 26px;
    width: 26px;
    height: 26px;
    border-radius: 7px;
    background: #F1F4F1;
    color: var(--dark);
    font-size: 0.95rem;
    filter: grayscale(1);
}

.delivery-optional {
    margin-left: 3px;
    color: var(--gray-light);
    font-size: 0.7rem;
    font-weight: 500;
}

.delivery-input {
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid #D9DED9;
    border-radius: 8px;
    background: var(--white);
    color: var(--dark);
    font: inherit;
    font-size: 0.88rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.delivery-input:hover {
    border-color: #AEB9AF;
}

.delivery-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.14);
}

.delivery-submit,
.delivery-back {
    padding: 13px 14px;
    border-radius: 8px;
    font-size: 0.9rem;
}

.delivery-submit {
    margin-bottom: 8px;
}

.delivery-back {
    margin-top: 0;
}

@media (max-width: 500px) {
    .delivery-sheet {
        padding: 22px 18px 18px;
    }
    
    .delivery-field-row {
        gap: 8px;
    }

    .delivery-field-label {
        gap: 7px;
        font-size: 0.8rem;
    }

    .delivery-field-icon {
        flex-basis: 24px;
        width: 24px;
        height: 24px;
        font-size: 0.88rem;
    }

    .delivery-input {
        min-height: 42px;
        padding: 9px 10px;
        font-size: 0.82rem;
    }
}

@media (max-width: 340px) {
    .delivery-field-row {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }

    .delivery-field-row .delivery-field {
        margin-bottom: 16px;
    }
}

.step-indicator {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
}

.dot {
    height: 4px;
    flex: 1;
    background: #EBEBEB;
    border-radius: 2px;
}

.dot.active { background: var(--primary); }

.option-pill {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    cursor: pointer;
    transition: 0.2s;
}

.option-pill.selected {
    border-color: var(--dark);
    background: #F9F9F9;
}

.btn-full {
    width: 100%;
    padding: 16px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    margin-top: 8px;
}

/* --- STATUS ABERTO/FECHADO --- */
.closed-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
}

.closed-message {
    background: white;
    border-radius: 24px;
    padding: 48px 32px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.5s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.closed-icon {
    font-size: 4rem;
    margin-bottom: 24px;
    animation: pulse 2s infinite;
    color: #FF385C;
}

.closed-message h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #FF385C;
    margin-bottom: 16px;
}

.closed-message p {
    font-size: 1rem;
    color: var(--gray-dark);
    line-height: 1.6;
}

/* Desabilitar interações quando fechado */
.app-container.closed .nav-categories,
.app-container.closed .menu-section,
.app-container.closed .header-cart {
    pointer-events: none;
    opacity: 0.5;
}

/* --- ABA DO CARRINHO --- */
.cart-sheet {
    padding: 16px 22px 24px;
}

.sheet-handle {
    width: 42px;
    height: 5px;
    background: #E0E0E0;
    border-radius: 99px;
    margin: 0 auto 16px;
}

.order-notepad {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

#order-items {
    max-height: 34vh;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.notepad-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 16px 18px;
    position: relative;
    z-index: 1;
    border: none;
    transition: background-color 0.2s ease;
}

.notepad-item-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.notepad-item-name {
    font-weight: 700;
    font-size: 0.94rem;
    color: var(--dark);
    line-height: 1.35;
}

.notepad-item-desc {
    font-size: 0.78rem;
    color: var(--gray-light);
    line-height: 1.45;
    margin-top: 5px;
}

.notepad-item-side {
    display: flex;
    flex-direction: column;
    align-items:center;
    gap: 6px;
    flex-shrink: 0;
}

.notepad-item-price {
    font-weight: 800;
    font-size: 0.9rem;
    color: var(--primary);
    white-space: nowrap;
}

.qty-stepper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 124px;
    height: 34px;
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
}

.qty-btn {
    display: flex;
    flex: 1 1 0;
    align-items: center;
    justify-content: center;
    width: auto;
    height: 34px;
    border: 1px solid #D9DDE2;
    border-radius: 10px;
    background: #FFFFFF;
    color: #333333;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    font-family: inherit;
    line-height: 1;
    transition: border-color 0.15s ease, background-color 0.15s ease, transform 0.15s ease;
}

.qty-btn:last-child {
    border-color: #E1E5E8;
    color: #73B993;
}

.qty-btn:hover {
    border-color: #AEB8C0;
    background: #FAFBFC;
}

.qty-btn:last-child:hover {
    border-color: #90C9A8;
    background: #F6FBF7;
}

.qty-btn:active {
    transform: scale(0.94);
}

.qty-btn:last-child:active {
    background: #EDF7F0;
}

.qty-btn:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.qty-value {
    display: flex;
    flex: 1.35 1 0;
    align-items: center;
    justify-content: center;
    height: 34px;
    border: 1px solid #D9DDE2;
    border-radius: 10px;
    background: #FFFFFF;
    color: #333333;
    font-size: 0.98rem;
    line-height: 1;
    text-align: center;
    font-weight: 600;
}

.notepad-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 17px 18px;
    background: #F2F8F2;
    border-top: 1px solid #DCE9DC;
    font-weight: 800;
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
}

.notepad-total span:first-child {
    color: var(--gray-dark);
    font-size: 1.3rem;
    font-weight: 700;
}

.notepad-total span:last-child {
    color: var(--primary);
    font-size: 1.25rem;
    font-weight: 800;
    text-align: right;
}

.notepad-empty {
    text-align: center;
    color: var(--gray-light);
    padding: 36px 16px;
    font-weight: 600;
}

.notepad-empty .emoji {
    display: block;
    font-size: 2.2rem;
    margin-bottom: 12px;
    color: var(--gray-light);
}

.order-notes-wrap {
    margin-top: 14px;
    padding: 0;
    background: #FFFFFF;
}

.order-notes-title {
    display: block;
    margin-bottom: 5px;
    color: #333333;
    font-size: 0.9rem;
    font-weight: 600;
}

.btn-ghost {
    background: transparent !important;
    color: var(--gray-light) !important;
    border: 1px solid #DDD !important;
}

.cart-next-btn {
    margin-top: 16px;
}

/* Animação ao remover item */
.notepad-item.removing {
    animation: slideOut 0.3s ease forwards;
}

@keyframes slideOut {
    to {
        opacity: 0;
        transform: translateX(30px);
    }
}

/* Estilo para o campo de observações */
#order-notes {
    display: block;
    width: 100%;
    min-height: 96px;
    padding: 13px 14px;
    border: 1px solid #E6E6E6;
    border-radius: 12px;
    color: var(--dark);
    font-size: 0.88rem;
    font-family: inherit;
    line-height: 1.5;
    resize: none;
    background: #FFFFFF;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

#order-notes:focus {
    outline: 2px solid rgba(76, 175, 80, 0.18);
    outline-offset: 1px;
    border-color: #B7CBB8;
    background: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.08);
}

#order-notes::placeholder {
    color: #788378;
    font-style: normal;
}

@media (max-width: 500px) {
    .order-notes-wrap {
        margin-top: 12px;
        padding: 0;
    }

    #order-notes {
        min-height: 86px;
        padding: 10px 11px;
        font-size: 0.84rem;
    }
}

/* --- ADMIN (DESKTOP) --- */
.admin-wrapper {
    display: flex;
    min-height: 100vh;
    background: #F3F5F3;
}

.sidebar {
    position: sticky;
    top: 0;
    display: flex;
    flex-direction: column;
    flex: 0 0 252px;
    width: 252px;
    height: 100vh;
    overflow-y: auto;
    background: #202A22;
    color: #F5F7F5;
    padding: 26px 16px;
}

.sidebar-brand {
    margin: 0 10px 30px;
    color: #E5F0E6;
    font-size: 1.12rem;
    font-weight: 800;
}

.admin-nav {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 8px;
}

.admin-section-link {
    width: 100%;
    padding: 12px 14px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #D7DED7;
    font: inherit;
    font-size: 0.88rem;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.18s ease, color 0.18s ease;
}

.admin-section-link:hover {
    background: #303B32;
    color: #FFFFFF;
}

.admin-section-link.active {
    background: #E5F0E6;
    color: var(--dark);
}

.admin-section-link.active:hover {
    background: #E5F0E6;
    color: var(--dark);
}

.admin-section-link:focus-visible,
.admin-back-link:focus-visible,
.admin-logout:focus-visible {
    outline: 2px solid #A9D7AE;
    outline-offset: 2px;
}

.admin-nav-footer {
    display: grid;
    gap: 9px;
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid #3B463D;
}

.admin-back-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid #465348;
    border-radius: 9px;
    background: #2A352C;
    color: #D7DED7;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.admin-footer-icon {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.admin-back-link:hover {
    color: #FFFFFF;
    border-color: #68796A;
    background: #354238;
    transform: translateY(-1px);
}

.main-content {
    flex: 1;
    min-width: 0;
    padding: 40px 44px;
}

.admin-page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 26px;
}

.admin-page-tabs {
    margin: -8px 0 22px;
}

.admin-page-tabs .orders-view-tabs {
    flex-wrap: wrap;
}

.admin-page-tabs .orders-view-tab:focus-visible {
    outline: 2px solid #4CAF50;
    outline-offset: 2px;
}

.admin-eyebrow {
    margin-bottom: 6px;
    color: var(--gray-light);
    font-size: 0.68rem;
    font-weight: 800;
}

#admin-title {
    color: var(--dark);
    font-size: 1.55rem;
    font-weight: 800;
    line-height: 1.2;
}

.admin-add-btn {
    width: auto;
    margin: 0;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.88rem;
    white-space: nowrap;
}

.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.admin-panel {
    border: 1px solid #E4E9E4;
    border-radius: 10px;
    padding: 22px;
    box-shadow: 0 4px 14px rgba(32, 42, 34, 0.04);
}

.table-ui {
    width: 100%;
    border-collapse: collapse;
}

#admin-table-container {
    overflow-x: auto;
}

.table-ui th {
    text-align: left;
    padding: 13px 14px;
    color: var(--gray-light);
    font-size: 0.76rem;
    font-weight: 700;
    border-bottom: 1px solid var(--border);
    background: #F8FAF8;
}

.table-ui td {
    padding: 13px 14px;
    border-bottom: 1px solid #F0F0F0;
    font-size: 0.88rem;
}

.admin-row-actions {
    white-space: nowrap;
}

.admin-action {
    padding: 7px 9px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--secondary);
    font: inherit;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
}

.admin-action-delete {
    color: #D32F2F;
}

.admin-config-title {
    margin-bottom: 20px;
    color: var(--dark);
    font-size: 1.08rem;
}

.schedule-settings-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.schedule-setting {
    padding: 18px;
    border: 1px solid #E3E8E3;
    border-radius: 12px;
    background: #FAFBFA;
}

.schedule-setting h4 {
    margin: 0 0 6px;
    color: var(--dark);
}

.schedule-setting p {
    margin: 0 0 16px;
    color: var(--gray-light);
    font-size: 0.82rem;
}

.schedule-time-range {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 12px;
    align-items: center;
}

.schedule-time-range label {
    color: var(--dark);
    font-size: 0.8rem;
    font-weight: 700;
}

.schedule-time-range input {
    width: 100%;
    min-width: 0;
    padding: 10px;
    border: 1px solid #D9DED9;
    background: var(--white);
}

.schedule-save-btn {
    max-width: 260px;
    margin-top: 20px;
}

.admin-config-panel input,
.admin-config-panel select,
.admin-config-panel textarea {
    border-radius: 8px !important;
    border-color: #D9DED9 !important;
    font: inherit;
    font-size: 0.88rem;
}

.admin-field-help {
    display: block;
    margin-top: 6px;
    color: var(--gray-light);
    font-size: 0.76rem;
}

.admin-product-thumbnail {
    display: block;
    width: 52px;
    height: 52px;
    border-radius: 8px;
    object-fit: cover;
}

.login-overlay {
    align-items: center;
    justify-content: center;
    padding: 24px;
    overflow-y: auto;
    background:
        radial-gradient(ellipse at 12% 12%, rgba(244, 196, 48, 0.18), transparent 34%),
        radial-gradient(ellipse at 90% 86%, rgba(76, 175, 80, 0.25), transparent 38%),
        linear-gradient(135deg, #10271B, #1B3827 55%, #29452D);
}

.login-card {
    width: min(100%, 440px);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 24px;
    background: #FFFFFF;
    box-shadow: 0 28px 80px rgba(5, 20, 10, 0.34);
    animation: login-card-enter 0.45s ease both;
}

.login-brand {
    position: relative;
    display: flex;
    min-height: 150px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    overflow: hidden;
    background:
        radial-gradient(circle at 18% 20%, rgba(244, 196, 48, 0.2), transparent 28%),
        linear-gradient(135deg, #1D5A36, #123D28);
}

.login-brand::before,
.login-brand::after {
    position: absolute;
    width: 180px;
    height: 180px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 50%;
    content: "";
}

.login-brand::before {
    top: -112px;
    right: -52px;
}

.login-brand::after {
    bottom: -145px;
    left: -60px;
    width: 220px;
    height: 220px;
}

.login-logo-wrap {
    z-index: 1;
    display: grid;
    width: 76px;
    height: 76px;
    place-items: center;
    border: 2px solid rgba(255, 255, 255, 0.72);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.17);
}

.login-logo {
    width: 56px;
    height: 56px;
    object-fit: contain;
}

.login-brand-label {
    z-index: 1;
    color: #F7E7A8;
    font-size: 0.67rem;
    font-weight: 800;
    letter-spacing: 0.2em;
}

.login-brand-accent {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, #D8A91B, #F5D75E, #D8A91B);
}

.login-content {
    padding: 30px 36px 26px;
}

.login-eyebrow {
    margin-bottom: 7px;
    color: #8A9B88;
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.14em;
}

#login-title {
    color: #1D3526;
    font-size: 1.65rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.2;
}

.login-description {
    margin: 8px 0 24px;
    color: #738074;
    font-size: 0.86rem;
    line-height: 1.55;
}

.login-field {
    margin-bottom: 17px;
}

.admin-login-label {
    display: block;
    margin: 0 0 7px 2px;
    color: #344B39;
    font-size: 0.77rem;
    font-weight: 700;
}

.login-input-wrap {
    position: relative;
}

.login-input-wrap > svg {
    position: absolute;
    top: 50%;
    left: 14px;
    width: 18px;
    height: 18px;
    transform: translateY(-50%);
    fill: none;
    stroke: #829580;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
    pointer-events: none;
}

.admin-login-input {
    display: block;
    width: 100%;
    min-height: 48px;
    margin: 0;
    padding: 12px 14px 12px 43px;
    border: 1px solid #DCE5DC;
    border-radius: 10px;
    outline: none;
    background: #FBFCFA;
    color: #213A29;
    font: inherit;
    font-size: 0.88rem;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.admin-login-input::placeholder {
    color: #A0AAA0;
}

.admin-login-input:focus {
    border-color: #4F9560;
    background: #FFFFFF;
    box-shadow: 0 0 0 4px rgba(79, 149, 96, 0.13);
}

.login-submit {
    display: flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 23px;
    padding: 13px 18px;
    border: 1px solid #E1B62E;
    border-radius: 10px;
    background: linear-gradient(110deg, #F2CC4B, #E9B92C);
    box-shadow: 0 7px 16px rgba(189, 145, 24, 0.2);
    color: #213A29;
    font-size: 0.9rem;
    font-weight: 800;
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.login-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(189, 145, 24, 0.27);
    filter: saturate(1.06);
}

.login-submit:focus-visible {
    outline: 3px solid rgba(45, 114, 66, 0.35);
    outline-offset: 3px;
}

.login-submit svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.login-security-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: 21px;
    color: #839083;
    font-size: 0.69rem;
    text-align: center;
}

.login-security-note svg {
    flex: 0 0 15px;
    width: 15px;
    height: 15px;
    fill: none;
    stroke: #4F9560;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

@keyframes login-card-enter {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.985);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 600px) {
    .login-overlay {
        padding: 16px;
    }

    .login-card {
        border-radius: 20px;
    }

    .login-brand {
        min-height: 132px;
    }

    .login-logo-wrap {
        width: 68px;
        height: 68px;
    }

    .login-logo {
        width: 50px;
        height: 50px;
    }

    .login-content {
        padding: 25px 22px 22px;
    }
}

@media (max-width: 360px) {
    .login-overlay {
        padding: 10px;
    }

    .login-content {
        padding-right: 18px;
        padding-left: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .login-card {
        animation: none;
    }

    .login-submit,
    .admin-login-input {
        transition: none;
    }
}

.admin-logout {
    width: 100%;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
}

.admin-logout:hover {
    border-color: #A95C58;
    background: #49312F;
}

.orders-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.orders-search {
    position: relative;
    display: flex;
    flex: 1 1 180px;
    align-items: center;
    max-width: 320px;
    min-width: 140px;
    margin-left: auto;
}

.orders-search svg {
    position: absolute;
    left: 11px;
    width: 17px;
    height: 17px;
    fill: none;
    stroke: #717B72;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
    pointer-events: none;
}

.orders-search input {
    width: 100%;
    min-width: 0;
    min-height: 38px;
    padding: 8px 10px 8px 36px;
    border: 1px solid #D9DED9;
    border-radius: 8px;
    background: var(--white);
    color: var(--dark);
    font: inherit;
    font-size: 0.82rem;
}

.orders-search input:focus {
    outline: none;
    border-color: #6A9270;
    box-shadow: 0 0 0 3px rgba(106, 146, 112, 0.14);
}

.orders-view-tabs {
    display: inline-flex;
    gap: 3px;
    padding: 4px;
    border-radius: 8px;
    background: #F1F4F1;
}

.orders-view-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 11px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--gray-dark);
    font: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
}

.orders-view-tab.active {
    background: var(--white);
    color: var(--dark);
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.orders-view-tab span {
    display: inline-grid;
    min-width: 20px;
    height: 20px;
    place-items: center;
    padding: 0 5px;
    border-radius: 10px;
    background: #E5EEE5;
    color: #355C3A;
    font-size: 0.72rem;
}

.orders-refresh {
    padding: 8px 10px;
}

.orders-list {
    display: grid;
    gap: 12px;
}

.orders-state {
    display: grid;
    justify-items: center;
    gap: 6px;
    padding: 34px 16px;
    color: var(--gray-light);
    text-align: center;
    font-size: 0.86rem;
}

.orders-state strong {
    color: var(--gray-dark);
    font-size: 0.94rem;
}

.orders-error {
    color: #A43131;
}

.admin-order-card {
    padding: 16px;
    border: 1px solid #E1E6E1;
    border-radius: 9px;
    background: var(--white);
}

.admin-order-header,
.admin-order-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.admin-order-header {
    padding-bottom: 12px;
    border-bottom: 1px solid #EDF0ED;
}

.admin-order-header h3 {
    margin-bottom: 3px;
    color: var(--dark);
    font-size: 0.92rem;
}

.admin-order-header time {
    color: var(--gray-light);
    font-size: 0.74rem;
}

.admin-order-status,
.admin-order-result {
    display: inline-flex;
    align-items: center;
    padding: 5px 8px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    white-space: nowrap;
}

.admin-order-status.pending {
    background: #FFF4D9;
    color: #805A11;
}

.admin-order-status.accepted,
.admin-order-result.accepted {
    background: #E8F4E9;
    color: #356A3B;
}

.admin-order-status.rejected,
.admin-order-result.rejected {
    background: #FCEAEA;
    color: #A43131;
}

.admin-order-details {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    padding: 13px 0;
}

.admin-order-details > div {
    display: grid;
    align-content: start;
    gap: 4px;
    min-width: 0;
}

.admin-order-details span {
    color: var(--gray-light);
    font-size: 0.7rem;
    font-weight: 700;
}

.admin-order-details strong,
.admin-order-details a {
    overflow-wrap: anywhere;
    color: var(--dark);
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
}

.admin-order-lines {
    padding: 10px 12px;
    border-radius: 7px;
    background: #F7F9F7;
}

.admin-order-line {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 5px 0;
    color: var(--dark);
    font-size: 0.8rem;
}

.admin-order-line > div {
    display: grid;
    gap: 3px;
}

.admin-order-line small {
    color: var(--gray-light);
    font-size: 0.72rem;
}

.admin-order-line > strong {
    white-space: nowrap;
}

.admin-order-notes {
    margin-top: 10px;
    color: var(--gray-dark);
    font-size: 0.8rem;
    line-height: 1.45;
}

.admin-order-footer {
    margin-top: 12px;
}

.admin-order-footer > strong {
    color: var(--dark);
    font-size: 0.94rem;
}

.admin-order-actions {
    display: flex;
    gap: 8px;
}

.management-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.management-heading p,
.management-settings p {
    color: var(--gray-light);
    font-size: 0.8rem;
    line-height: 1.45;
}

.management-heading .admin-config-title {
    margin-bottom: 4px;
}

.management-tabs {
    margin-bottom: 18px;
}

.management-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 10px;
}

.management-metric {
    display: grid;
    align-content: start;
    gap: 7px;
    min-height: 112px;
    padding: 14px;
    border: 1px solid #E2E8E2;
    border-radius: 8px;
    background: var(--white);
}

.management-metric > span {
    color: var(--gray-light);
    font-size: 0.74rem;
    font-weight: 700;
}

.management-metric > strong {
    color: var(--dark);
    font-size: 1.25rem;
    line-height: 1.2;
}

.management-metric > small {
    color: var(--gray-light);
    font-size: 0.7rem;
    line-height: 1.35;
}

.management-metric-sales {
    border-top: 3px solid #6A9270;
}

.management-metric-profit {
    border-color: #26332C;
    background: #26332C;
}

.management-metric-profit > span,
.management-metric-profit > small {
    color: #D0D9D1;
}

.management-metric-profit > strong {
    color: #B5E0BA;
}

.management-metric-unclassified {
    border-top: 3px solid #C39A54;
}

.management-settings {
    display: grid;
    gap: 14px;
    margin-top: 18px;
    padding: 16px;
    border: 1px solid #E2E8E2;
    border-radius: 8px;
    background: #F7F9F7;
}

.management-settings h3 {
    margin-bottom: 4px;
    color: var(--dark);
    font-size: 0.94rem;
}

.management-profit-fields {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(180px, 0.6fr);
    gap: 12px;
}

.management-size-profit-config {
    display: grid;
    align-content: start;
    gap: 7px;
    min-width: 0;
}

.management-field-title {
    color: var(--gray-dark);
    font-size: 0.78rem;
    font-weight: 700;
}

.management-size-profit-inputs {
    display: grid;
    gap: 7px;
}

.management-size-profit-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(84px, 110px);
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border: 1px solid #E1E6E1;
    border-radius: 7px;
    background: var(--white);
}

.management-size-profit-row > span {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.management-size-profit-row strong {
    overflow-wrap: anywhere;
    color: var(--dark);
    font-size: 0.8rem;
}

.management-size-profit-row small {
    color: var(--gray-light);
    font-size: 0.68rem;
}

.management-size-profit-row input {
    width: 100%;
    min-width: 0;
    padding: 8px;
    border: 1px solid #D9DED9;
    border-radius: 6px;
    color: var(--dark);
    font: inherit;
    font-size: 0.82rem;
}

.management-profit-fields label {
    display: grid;
    gap: 6px;
    color: var(--gray-dark);
    font-size: 0.78rem;
    font-weight: 700;
}

.management-profit-fields input {
    width: 100%;
    min-height: 42px;
    padding: 9px 11px;
    border: 1px solid #D9DED9;
    border-radius: 7px;
    background: var(--white);
    color: var(--dark);
    font: inherit;
    font-size: 0.88rem;
}

.management-beverage-profit {
    align-content: start;
}

.management-beverage-profit input {
    max-width: 110px;
    min-width: 0;
    padding: 8px;
    font-size: 0.82rem;
}

.management-save-btn {
    width: auto;
    justify-self: start;
    margin: 0;
    padding: 10px 14px;
    border-radius: 7px;
    font-size: 0.82rem;
}

.management-note {
    max-width: 720px;
}

.management-expenses-total {
    max-width: 360px;
    margin-bottom: 18px;
    border-top: 3px solid #6A9270;
}

.management-expense-form {
    margin: 0 0 18px;
}

.expense-fields {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(140px, 0.8fr) minmax(150px, 0.8fr);
    gap: 12px;
}

.expense-fields label {
    display: grid;
    align-content: start;
    gap: 6px;
    color: var(--gray-dark);
    font-size: 0.78rem;
    font-weight: 700;
}

.expense-fields input {
    width: 100%;
    min-width: 0;
    min-height: 42px;
    padding: 9px 11px;
    border: 1px solid #D9DED9;
    border-radius: 7px;
    background: var(--white);
    color: var(--dark);
    font: inherit;
    font-size: 0.88rem;
}

.expenses-table-wrap {
    overflow-x: auto;
}

.expenses-table {
    min-width: 560px;
}

.order-action {
    padding: 8px 12px;
    border: 0;
    border-radius: 6px;
    font: inherit;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
}

.order-action-accept {
    background: #E7F2E8;
    color: #356A3B;
}

.order-action-reject {
    background: #FCEAEA;
    color: #A43131;
}

.order-action-print {
    background: #F1F4F1;
    color: #344238;
}

.order-action-delete {
    background: #FCEAEA;
    color: #A43131;
}

.order-action:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.admin-action:hover {
    text-decoration: underline;
}

.hidden { display: none !important; }

/* --- ESTILOS PIZZA MAIS PEDIDA (AMARELO) --- */
.featured-badge {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 800;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 7px;
    box-shadow: 0 4px 12px rgba(255, 165, 0, 0.3);
}

.featured-card {
    background: linear-gradient(135deg, #FFF9E6, #FFF3D6);
    border-radius: 16px;
    padding: 20px !important;
    margin-bottom: 2px;
    border: 2px solid #FFD700;
}

.featured-btn {
    background: linear-gradient(135deg, #FFD700, #FFA500) !important;
    font-size: 1.1rem !important;
    margin-bottom: 30px;
    box-shadow: 0 6px 20px rgba(255, 165, 0, 0.3);
}

/* --- ESTILOS MONTE SUA PIZZA (VERDE) --- */
.build-badge {
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 800;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 7px;
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.3);
}

.build-card {
    background: linear-gradient(135deg, #E8F5E9, #C8E6C9);
    border-radius: 16px;
    padding: 20px !important;
    margin-bottom: 2px;
    border: 2px solid #4CAF50;
}

.build-btn {
    background: linear-gradient(135deg, #4CAF50, #2E7D32) !important;
    font-size: 1.1rem !important;
    margin-bottom: 24px;
    box-shadow: 0 6px 20px rgba(46, 125, 50, 0.3);
}

/* --- ESTILOS BEBIDAS --- */
#bebidas-list .item-card {
    background: linear-gradient(135deg, #F5F5F5, #E5E5E5);
    border-radius: 16px;
    padding: 20px !important;
    margin-bottom: 12px;
    border: 2px solid #BDBDBD;
    display: flex;
    align-items: center;
}

#bebidas-list .item-card .item-content h3 {
    color: #4A4A4A;
}

#bebidas-list .beverage-image {
    flex: 0 0 76px;
    width: 76px;
    height: 76px;
    border-radius: 10px;
    object-fit: cover;
}

#bebidas-list .add-btn {
    background: #8A8A8A !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    color: white !important;
    border: 2px solid #707070 !important;
    font-size: 1.2rem !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: 0.2s !important;
    box-shadow: 0 4px 12px rgba(70, 70, 70, 0.22) !important;
    padding: 0 !important;
    line-height: 1 !important;
}

#bebidas-list .add-btn:hover {
    background: #666666 !important;
    transform: scale(1.1);
}

#bebidas-list .add-btn.added {
    background: #4CAF50 !important;
    border-color: #2E7D32 !important;
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.3) !important;
    animation: addedPulse 0.3s ease;
}

@keyframes addedPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* --- ESTILOS PROMOÇÃO DO DIA (VERDE) --- */
.promo-badge {
    background: linear-gradient(135deg, #43A047, #1B5E20);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 800;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 12px;
    animation: pulse 2s infinite;
    box-shadow: 0 4px 12px rgba(27, 94, 32, 0.3);
}

.promo-card {
    background: linear-gradient(135deg, #E8F5E9, #C8E6C9);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 12px;
    border: 2px solid #43A047;
    position: relative;
}

.promo-content h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: #2E7D32;
    margin-bottom: 8px;
    padding-right: 58px;
}

.promo-prices {
    margin-top: 16px;
}

.original-price {
    text-decoration: line-through;
    color: var(--gray-light);
    font-size: 0.9rem;
    display: block;
}

.promo-price {
    font-size: 1.8rem;
    font-weight: 800;
    color: #00A699;
}

.promo-discount-badge {
    position: absolute;
    bottom: 8px;
    right: 8px;
    top: auto;
    background: #43A047;
    color: white;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.82rem;
    transform: rotate(15deg);
    box-shadow: 0 4px 12px rgba(27, 94, 32, 0.3);
}

.promo-btn {
    background: linear-gradient(135deg, #43A047, #1B5E20) !important;
    font-size: 1.1rem !important;
    animation: pulse 2s infinite;
}

/* ============================================
   NOTIFICAÇÕES ESTILIZADAS (TOAST)
   ============================================ */
.toast-container {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
    width: 90%;
    max-width: 450px;
}

.toast {
    pointer-events: auto;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 16px;
    background: white;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    font-family: 'Plus Jakarta Sans', sans-serif;
    animation: toastSlideIn 0.4s cubic-bezier(0.21, 1.02, 0.73, 1);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.toast::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    border-radius: 4px 0 0 4px;
}

.toast.error::before {
    background: #FF385C;
}

.toast.success::before {
    background: #4CAF50;
}

.toast.info::before {
    background: #2196F3;
}

.toast-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    padding:10px;
}

.toast.warning .toast-icon {
    background: #FFF3E0;
    color: #F57C00;
}

.toast.error .toast-icon {
    background: #FFEBEE;
    color: #FF385C;
}

.toast.success .toast-icon {
    background: #E8F5E9;
    color: #4CAF50;
}

.toast.info .toast-icon {
    background: #E3F2FD;
    color: #2196F3;
}

.toast-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.toast-title {
    font-weight: 700;
    font-size: 0.9rem;
    color: #333;
}

.toast-message {
    font-size: 0.8rem;
    color: #777;
    line-height: 1.4;
}

/* Botão X removido */
.toast-close {
    display: none !important;
}

.toast.removing {
    animation: toastSlideOut 0.3s ease forwards;
    opacity: 0;
    transform: translateY(-20px);
}

@keyframes toastSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes toastSlideOut {
    from {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    to {
        opacity: 0;
        transform: translateY(-20px) scale(0.9);
    }
}

/* Responsivo */
@media (max-width: 500px) {
    .app-container {
        min-height: 100vh;
    }

    .header-cover {
        min-height: 0;
        padding: 18px 14px;
    }

    .header-details {
        min-height: 60px;
        padding: 8px 68px 10px 108px;
    }

    .header-logo-wrap {
        left: 12px;
        width: 84px;
        height: 84px;
        top: -38px;
    }

    .header-info {
        gap: 6px;
    }

    .header-info-item {
        gap: 5px;
    }

    .header-info-icon {
        font-size: 0.88rem;
    }

    .hours-badge,
    .delivery-time {
        font-size: 0.64rem;
    }

    .cart-icon-wrapper {
        width: 30px;
        height: 30px;
    }

    .nav-categories {
        gap: 6px;
        padding: 12px;
    }

    .cat-item {
        padding: 10px 5px;
        font-size: 0.76rem;
    }

    .menu-section {
        padding: 0 16px 18px;
    }

    .section-title {
        margin: 18px 0 12px;
        font-size: 1.08rem;
    }

    .item-card {
        align-items: center;
        gap: 12px;
        padding: 12px 0;
    }

    .item-content h3 {
        font-size: 0.92rem;
        margin-bottom: 3px;
    }

    .item-content p {
        font-size: 0.74rem;
        margin-bottom: 6px;
    }

    .item-price {
        font-size: 0.88rem;
    }

    .item-image {
        width: 76px;
        height: 76px;
        flex-shrink: 0;
        border-radius: 10px;
    }

    .featured-card,
    .build-card {
        padding: 14px !important;
        border-width: 1px;
        border-radius: 12px;
    }

    .featured-badge,
    .build-badge,
    .promo-badge {
        margin-bottom: 8px;
        padding: 6px 12px;
        border-radius: 12px;
        font-size: 0.74rem;
        box-shadow: none;
        animation: none;
    }

    .featured-btn,
    .build-btn,
    .promo-btn {
        margin-bottom: 14px;
        padding: 13px 14px !important;
        font-size: 0.9rem !important;
        box-shadow: none;
        animation: none;
    }

    #bebidas-list .item-card {
        padding: 14px !important;
        margin-bottom: 8px;
        border-width: 1px;
        border-radius: 12px;
    }

    #bebidas-list .beverage-image {
        flex-basis: 60px;
        width: 60px;
        height: 60px;
    }

    #bebidas-list .add-btn {
        width: 32px !important;
        height: 32px !important;
        flex-shrink: 0;
    }

    .promo-card {
        padding: 16px;
        margin-bottom: 8px;
        border-width: 1px;
        border-radius: 12px;
    }

    .promo-content h3 {
        padding-right: 48px;
        margin-bottom: 6px;
        font-size: 1.04rem;
    }

    .promo-prices {
        margin-top: 10px;
    }

    .original-price {
        font-size: 0.78rem;
    }

    .promo-price {
        font-size: 1.3rem;
    }

    .promo-discount-badge {
        bottom: 6px;
        right: 6px;
        top: auto;
        width: 40px;
        height: 40px;
        font-size: 0.7rem;
        box-shadow: none;
    }
    
    .notepad-item-name {
        font-size: 0.9rem;
    }
    
    .notepad-item-price {
        font-size: 0.9rem;
    }
    
    .toast-container {
        width: 95%;
        top: 10px;
        gap: 8px;
    }
    
    .toast {
        padding: 12px 14px;
        border-radius: 14px;
    }
    
    .toast-icon {
        width: 36px;
        height: 36px;
        font-size: 1.2rem;
    }
    
    .toast-title {
        font-size: 0.85rem;
    }
    
    .toast-message {
        font-size: 0.75rem;
    }
}

@media (max-width: 450px) {
    .header-details {
        padding-right: 60px;
        padding-left: 100px;
    }

    .header-cart {
        right: 10px;
    }

    .header-logo-wrap {
        left: 10px;
        width: 78px;
        height: 78px;
    }

}

@media (max-width: 420px) {
    .header-cart {
        padding: 5px;
    }

    .cat-item {
        padding: 9px 2px;
        font-size: 0.68rem;
    }

    .nav-categories {
        gap: 4px;
        padding: 10px;
    }

    .menu-section {
        padding-right: 12px;
        padding-left: 12px;
    }

    .item-image {
        width: 64px;
        height: 64px;
    }

    .item-content h3 {
        font-size: 0.84rem;
    }

    .item-content p {
        font-size: 0.7rem;
    }

    .notepad-item {
        gap: 8px;
        padding: 12px;
    }

    .notepad-item-side {
        gap: 6px;
    }

    .qty-stepper {
        width: 112px;
        height: 32px;
    }

    .notepad-item-price {
        font-size: 0.85rem;
    }

    .qty-btn {
        height: 32px;
        border-radius: 9px;
    }

    .qty-value {
        height: 32px;
        border-radius: 9px;
    }
    
}

@media (max-width: 900px) {
    .admin-wrapper {
        flex-direction: column;
    }

    .sidebar {
        position: relative;
        display: block;
        flex-basis: auto;
        width: 100%;
        height: auto;
        padding: 14px 16px;
    }

    .sidebar-brand {
        margin: 0 6px 12px;
        font-size: 1rem;
    }

    .admin-nav {
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 6px;
    }

    .admin-section-link {
        padding: 10px 6px;
        font-size: 0.78rem;
        text-align: center;
    }

    .admin-back-link {
        min-height: 42px;
        padding: 9px 8px;
        font-size: 0.88rem;
    }

    .admin-logout {
        font-size: 0.88rem;
    }

    .admin-nav-footer {
        grid-column: 1 / -1;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: 6px;
        padding-top: 12px;
    }

    .main-content {
        padding: 28px 22px;
    }
}

@media (max-width: 600px) {
    .sidebar {
        padding: 12px;
    }

    .sidebar-brand {
        margin-bottom: 10px;
    }

    .admin-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-section-link {
        padding: 9px 5px;
        font-size: 0.74rem;
    }

    .main-content {
        padding: 20px 14px;
    }

    .admin-page-header {
        align-items: flex-start;
        gap: 10px;
        margin-bottom: 18px;
    }

    .admin-page-tabs {
        margin: -4px 0 16px;
    }

    #admin-title {
        font-size: 1.15rem;
    }

    .admin-eyebrow {
        font-size: 0.6rem;
    }

    .admin-add-btn {
        padding: 10px 11px;
        font-size: 0.76rem;
    }

    .admin-panel {
        padding: 12px;
        border-radius: 8px;
    }

    .schedule-settings-grid {
        grid-template-columns: 1fr;
    }

    .orders-toolbar {
        flex-wrap: wrap;
        align-items: flex-start;
    }

    .orders-search {
        order: 3;
        flex: 1 1 100%;
        max-width: none;
        margin-left: 0;
    }

    .orders-view-tab {
        padding: 8px;
        font-size: 0.76rem;
    }

    .admin-order-card {
        padding: 12px;
    }

    .admin-order-details {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .management-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .management-metric {
        min-height: 102px;
        padding: 11px;
    }

    .management-metric > strong {
        font-size: 1.05rem;
    }

    .management-profit-fields {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }

    .expense-fields {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }

    .admin-order-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .table-ui {
        min-width: 560px;
    }

    .table-ui th,
    .table-ui td {
        padding: 11px 10px;
    }

    .admin-action {
        padding: 6px;
        font-size: 0.78rem;
    }
}