@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Shippori+Mincho:wght@600;700;800&family=Noto+Sans+JP:wght@400;500;700&display=swap');

:root {
    --primary: #c41e3a;
    --primary-hover: #9f1239;
    --primary-soft: #fff1f2;
    --primary-muted: #fecdd3;
    --accent-gold: #b8860b;
    --accent-gold-soft: #fef9e7;
    --ink: #1c1917;
    --bg: #faf6f0;
    --surface: #fffdf9;
    --surface-elevated: #ffffff;
    --text: #1c1917;
    --text-secondary: #57534e;
    --text-muted: #a8a29e;
    --border: #e7e0d5;
    --border-light: #f0ebe3;
    --success: #059669;
    --success-soft: #ecfdf5;
    --warning: #d97706;
    --warning-soft: #fffbeb;
    --danger: #dc2626;
    --danger-soft: #fef2f2;
    --info-soft: #eff6ff;
    --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 16px 40px rgba(15, 23, 42, 0.1);
    --radius-sm: 10px;
    --radius: 14px;
    --radius-lg: 20px;
    --radius-full: 999px;
    --header-height: 68px;
    --nav-base-height: 64px;
    --safe-bottom: env(safe-area-inset-bottom, 0px);
    --nav-height: calc(var(--nav-base-height) + var(--safe-bottom));
    --max-width: 1180px;
    --font-display: 'Shippori Mincho', 'Noto Sans JP', serif;
    --font-body: 'Inter', 'Noto Sans JP', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    background-image:
        radial-gradient(circle at 10% 20%, rgba(196, 30, 58, 0.04) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(184, 134, 11, 0.05) 0%, transparent 35%);
    color: var(--text);
    min-height: 100vh;
    min-height: 100dvh;
    padding-bottom: calc(var(--nav-height) + 20px);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

body.no-bottom-nav {
    padding-bottom: calc(24px + var(--safe-bottom));
}

a {
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
}

/* ========== SITE HEADER ========== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 200;
    background: rgba(255, 253, 249, 0.95);
    backdrop-filter: blur(16px);
    border-bottom: 2px solid var(--primary);
    box-shadow: var(--shadow-xs);
    overflow: hidden;
}

.site-header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

.brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.15rem;
    box-shadow: 0 4px 12px rgba(196, 30, 58, 0.3);
    border: 2px solid var(--accent-gold);
}

.brand-text {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text);
    line-height: 1.2;
}

.brand-text span {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.site-nav {
    display: none;
    align-items: center;
    gap: 4px;
}

.site-nav a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 10px 16px;
    border-radius: var(--radius-full);
    transition: all 0.2s ease;
}

.site-nav a:hover {
    color: var(--text);
    background: var(--border-light);
}

.site-nav a.active {
    color: var(--primary-hover);
    background: var(--primary-soft);
    font-weight: 600;
}

.header-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-left: auto;
}

.header-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 16px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    font-family: inherit;
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.header-btn-login {
    background: var(--primary);
    color: white;
}

.header-btn-login:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}

.header-btn-user {
    background: var(--primary-soft);
    color: var(--primary-hover);
    border: 1px solid var(--primary-muted);
}

.header-btn-user:hover {
    background: var(--primary-muted);
}

.header-btn-admin {
    background: var(--surface);
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

.header-btn-admin:hover {
    border-color: var(--text-muted);
    color: var(--text);
}

.header-user-cluster {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.header-btn-admin-compact {
    display: none;
    background: linear-gradient(135deg, #292524, #1c1917);
    color: #fef9e7;
    border: 1px solid rgba(184, 134, 11, 0.45);
    padding: 8px 10px;
    gap: 5px;
    box-shadow: 0 4px 12px rgba(28, 25, 23, 0.18);
}

.header-btn-admin-compact svg {
    width: 15px;
    height: 15px;
    fill: currentColor;
    flex-shrink: 0;
}

.header-btn-admin-compact:hover {
    border-color: var(--accent-gold);
    color: #fff;
}

/* Legacy header compat */
.header { display: none; }

/* ========== HERO ========== */
.hero {
    background: linear-gradient(160deg, #1c1917 0%, #450a0a 45%, #7f1d1d 100%);
    color: white;
    padding: 48px 20px 56px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -40px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(196, 30, 58, 0.55) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 24px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 24'%3E%3Cpath fill='%23faf6f0' d='M0 12 Q30 0 60 12 T120 12 T180 12 T240 12 T300 12 T360 12 T420 12 T480 12 T540 12 T600 12 T660 12 T720 12 T780 12 T840 12 T900 12 T960 12 T1020 12 T1080 12 T1140 12 T1200 12 V24 H0Z'/%3E%3C/svg%3E") repeat-x bottom;
    background-size: 600px 24px;
}

.hero-content {
    max-width: var(--max-width);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(184, 134, 11, 0.2);
    border: 1px solid rgba(184, 134, 11, 0.45);
    border-radius: 4px;
    font-size: 0.78rem;
    font-weight: 500;
    margin-bottom: 16px;
    color: #fde68a;
    letter-spacing: 0.06em;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.hero p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.75);
    max-width: 480px;
    line-height: 1.6;
}

/* ========== PAGE TITLE (inner pages) ========== */
.page-title {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 28px 20px 8px;
}

.page-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 12px;
    transition: color 0.2s;
}

.page-back:hover {
    color: var(--primary);
}

.page-title h1 {
    font-family: var(--font-display);
    font-size: 1.65rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 4px;
}

.page-title p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ========== CONTAINER ========== */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 24px 20px;
}

.container-narrow {
    max-width: 560px;
}

/* ========== CATEGORIAS ========== */
.categorias {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 20px 20px 8px;
    max-width: var(--max-width);
    margin: 0 auto;
    scrollbar-width: none;
}

.categorias::-webkit-scrollbar { display: none; }

.categoria-btn {
    flex-shrink: 0;
    padding: 10px 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    background: var(--surface);
    color: var(--text-secondary);
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-xs);
}

.categoria-btn:hover {
    border-color: var(--primary-muted);
    color: var(--primary-hover);
}

.categoria-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    box-shadow: var(--shadow-sm);
}

/* ========== PRODUTOS ========== */
.produtos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    padding: 12px 20px 32px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.produto-card {
    background: var(--surface);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    position: relative;
}

.produto-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent-gold));
    z-index: 2;
}

.produto-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-muted);
}

.produto-img-wrap {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: #292524;
}

.produto-img-wrap.produto-img-cartoon {
    background: radial-gradient(ellipse at 50% 30%, #ffffff 0%, #fff7ed 45%, #fef2f2 100%);
    border-bottom: 1px solid rgba(196, 30, 58, 0.08);
}

.produto-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: saturate(1.18) contrast(1.06) brightness(1.03);
    transition: transform 0.45s ease;
}

.produto-img-cartoon .produto-img {
    object-fit: contain;
    padding: 16px 20px;
    filter: drop-shadow(0 6px 12px rgba(28, 25, 23, 0.08));
    transform: scale(1);
}

.produto-card:hover .produto-img-cartoon .produto-img {
    transform: scale(1.06);
}

.produto-img-cartoon::after {
    display: none;
}

.produto-img-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(28, 25, 23, 0.25) 0%, transparent 50%);
    pointer-events: none;
}

.produto-info {
    padding: 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.produto-categoria {
    font-size: 0.7rem;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 6px;
}

.produto-nome {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}

.produto-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    flex: 1;
    line-height: 1.5;
}

.produto-card--combo::before {
    background: linear-gradient(90deg, var(--primary), #e11d48, var(--accent-gold));
}

.produto-badge-combo {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 3;
    background: var(--primary);
    color: white;
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 5px 10px;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(196, 30, 58, 0.35);
}

.produto-combo-hint {
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 600;
    margin: -8px 0 12px;
    line-height: 1.4;
}

.destaque-combo-hint {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.75);
    margin: 2px 0 6px;
    font-weight: 500;
}

.destaque-mini--combo {
    border-color: rgba(196, 30, 58, 0.35);
}

.produto-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 14px;
    border-top: 1px solid var(--border-light);
}

.produto-preco {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text);
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 22px;
    border: none;
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    width: 100%;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 14px rgba(196, 30, 58, 0.28);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(196, 30, 58, 0.35);
}

.btn-primary:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-secondary {
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
    background: var(--border-light);
    border-color: var(--text-muted);
}

.btn-sm {
    padding: 8px 14px;
    font-size: 0.82rem;
    width: auto;
}

.btn-lg {
    padding: 16px 24px;
    font-size: 1rem;
    border-radius: var(--radius);
}

.btn-add {
    padding: 10px 16px;
    font-size: 0.82rem;
    width: auto;
    border-radius: var(--radius-sm);
}

.btn-danger { background: var(--danger); color: white; }
.btn-success { background: var(--success); color: white; }
.btn-warning { background: var(--warning); color: white; }
.btn-whatsapp { background: #128c7e; color: white; }
.btn-whatsapp:hover { background: #0d7368; }

/* ========== BOTTOM NAV ========== */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    border-top: 1px solid var(--border-light);
    display: flex;
    align-items: flex-start;
    justify-content: space-around;
    z-index: 200;
    padding: 8px 8px var(--safe-bottom);
    box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.06);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.68rem;
    font-weight: 600;
    padding: 8px 20px;
    transition: color 0.2s;
    position: relative;
    letter-spacing: 0.01em;
}

.nav-item.active {
    color: var(--primary);
}

.nav-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-icon svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.nav-item.active .nav-icon svg {
    stroke-width: 2.5;
}

.nav-badge {
    position: absolute;
    top: 4px;
    right: 12px;
    background: var(--primary);
    color: white;
    font-size: 0.6rem;
    font-weight: 700;
    min-width: 17px;
    height: 17px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
}

.nav-item.logado .nav-icon {
    width: 26px;
    height: 26px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 700;
}

.nav-conta-group {
    display: flex;
    align-items: flex-end;
    gap: 0;
    flex-shrink: 0;
}

.nav-conta-group .nav-item {
    padding: 8px 9px;
    min-width: 0;
}

.nav-conta-group .nav-conta {
    border-radius: 12px 0 0 12px;
}

.nav-admin {
    border-radius: 0 12px 12px 0;
    position: relative;
}

.nav-admin::before {
    content: "";
    position: absolute;
    left: 0;
    top: 18%;
    bottom: 18%;
    width: 1px;
    background: var(--border);
}

.nav-icon-admin svg {
    fill: currentColor;
    stroke: none;
    width: 20px;
    height: 20px;
}

body.is-admin .nav-admin.active {
    color: var(--accent-gold);
}

body.is-admin .nav-conta-admin.logado .nav-icon {
    background: linear-gradient(135deg, #44403c, #1c1917);
    border: 1px solid rgba(184, 134, 11, 0.35);
}

body.is-admin .bottom-nav {
    background: rgba(255, 253, 249, 0.98);
    border-top-color: rgba(184, 134, 11, 0.25);
}

.desktop-nav { display: none; }

/* ========== CARRINHO ========== */
.carrinho-lista {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.carrinho-item {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 18px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-xs);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.carrinho-item-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.carrinho-item-info {
    flex: 1;
    min-width: 0;
}

.carrinho-item-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid var(--border-light);
}

.carrinho-subtotal-valor {
    font-size: 1rem;
    color: var(--text);
}

.btn-lixeira {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(220, 38, 38, 0.2);
    background: rgba(220, 38, 38, 0.06);
    color: var(--danger);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
}

.btn-lixeira:hover {
    background: var(--danger);
    color: white;
    border-color: var(--danger);
}

.carrinho-toolbar {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 12px;
}

.btn-limpar-carrinho {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 8px 14px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--danger);
    cursor: pointer;
    font-family: inherit;
    transition: all 0.15s ease;
}

.btn-limpar-carrinho:hover {
    background: rgba(220, 38, 38, 0.08);
    border-color: rgba(220, 38, 38, 0.3);
}

.modal-remover-qty {
    margin-bottom: 18px;
    padding: 14px;
    background: #fafaf9;
    border-radius: 10px;
    border: 1px solid var(--border);
    text-align: center;
}

.modal-remover-qty-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.modal-qty-stepper--center {
    justify-content: center;
    margin: 0 auto 10px;
    width: fit-content;
}

.modal-remover-hint {
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 600;
    margin: 0 0 8px;
}

.modal-remover-todas {
    background: none;
    border: none;
    color: var(--danger);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    text-decoration: underline;
    padding: 4px;
}

.modal-remover-todas:hover {
    opacity: 0.85;
}

.carrinho-item-info h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.carrinho-item-info .preco-unit {
    color: var(--text-muted);
    font-size: 0.82rem;
}

.carrinho-controles {
    display: flex;
    align-items: center;
    gap: 10px;
}

.qty-btn {
    width: 34px;
    height: 34px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
}

.qty-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-soft);
}

.qty-valor {
    font-weight: 700;
    min-width: 20px;
    text-align: center;
    font-size: 0.95rem;
}

.carrinho-vazio {
    text-align: center;
    padding: 64px 24px;
    background: var(--surface);
    border-radius: var(--radius-lg);
    border: 1px dashed var(--border);
}

.carrinho-vazio h2 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    margin: 16px 0 8px;
}

.carrinho-vazio p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.empty-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto;
    background: var(--border-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.carrinho-total-box {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 20px 22px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    margin-bottom: 12px;
}

.carrinho-total-box .total-label {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.carrinho-total-box .total-valor {
    font-family: var(--font-display);
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.02em;
}

.total-destaque {
    text-align: center;
}

/* ========== FORMS ========== */
.form-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    margin-bottom: 16px;
}

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

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

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 13px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: var(--surface);
    color: var(--text);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(196, 30, 58, 0.12);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.form-erro {
    background: linear-gradient(135deg, #fff1f2 0%, #ffffff 100%);
    border: 1px solid #fecaca;
    border-left: 4px solid var(--danger);
    color: var(--danger);
    padding: 13px 16px;
    border-radius: var(--radius);
    margin-bottom: 16px;
    font-size: 0.88rem;
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(127, 29, 29, 0.08);
}

.section-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 16px;
}

/* ========== PAGAMENTO ========== */
.pagamento-card {
    padding-bottom: 22px;
}

.pagamento-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 20px;
}

.pagamento-tabs--unica {
    grid-template-columns: 1fr;
}

.pagamento-tab {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 14px;
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    text-align: left;
    transition: all 0.2s ease;
    color: var(--text);
    font-family: inherit;
}

.pagamento-tab:hover {
    border-color: var(--primary-muted);
}

.pagamento-tab.active {
    border-color: var(--primary);
    background: var(--primary-soft);
    box-shadow: 0 0 0 3px rgba(196, 30, 58, 0.08);
}

.pagamento-tab-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--bg);
    color: var(--text-secondary);
    flex-shrink: 0;
}

.pagamento-tab.active .pagamento-tab-icon {
    background: rgba(196, 30, 58, 0.12);
    color: var(--primary);
}

.pagamento-tab-icon--pix {
    color: #009ee3;
}

.pagamento-tab.active .pagamento-tab-icon--pix {
    background: rgba(0, 158, 227, 0.12);
    color: #009ee3;
}

.pagamento-tab-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.pagamento-tab-text strong {
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.2;
}

.pagamento-tab-text small {
    font-size: 0.76rem;
    color: var(--text-secondary);
    line-height: 1.3;
}

.pagamento-panel {
    display: none;
}

.pagamento-panel.visible {
    display: block;
}

.pix-info-header {
    margin-bottom: 10px;
}

.pix-info-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #009ee3;
    background: rgba(0, 158, 227, 0.1);
    padding: 4px 10px;
    border-radius: 999px;
}

.pix-info-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.55;
    margin: 0;
}

.pagamento-opcoes {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pagamento-opcoes--entrega {
    margin-top: 4px;
}

.pagamento-opcoes--entrega .pagamento-opcao input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

@media (max-width: 380px) {
    .pagamento-tab {
        flex-direction: column;
        align-items: flex-start;
        padding: 12px;
    }

    .pagamento-tab-icon {
        width: 34px;
        height: 34px;
    }
}

.pagamento-opcao {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s ease;
}

.pagamento-opcao:hover {
    border-color: var(--primary-muted);
}

.pagamento-opcao.selected {
    border-color: var(--primary);
    background: var(--primary-soft);
    box-shadow: 0 0 0 3px rgba(196, 30, 58, 0.08);
}

.pagamento-opcao--mp.selected {
    border-color: #009ee3;
    background: rgba(0, 158, 227, 0.08);
    box-shadow: 0 0 0 3px rgba(0, 158, 227, 0.12);
}

.pagamento-opcao-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--bg);
    color: var(--text-secondary);
    flex-shrink: 0;
}

.pagamento-opcao.selected .pagamento-opcao-icon {
    background: rgba(196, 30, 58, 0.1);
    color: var(--primary);
}

.pagamento-opcao input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
    flex-shrink: 0;
}

.pagamento-opcao .opcao-titulo {
    font-weight: 600;
    font-size: 0.95rem;
}

.pagamento-opcao .opcao-desc {
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-top: 2px;
}

.presencial-section,
.troco-section,
.pix-info-box {
    display: none;
    margin-top: 16px;
    padding: 18px;
    background: var(--bg);
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
}

.presencial-section.visible,
.troco-section.visible,
.pix-info-box.visible {
    display: block;
}

.form-hint {
    margin-top: 8px;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.presencial-label {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-secondary);
}

.presencial-opcoes {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 4px;
}

.presencial-radio {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.15s;
}

.presencial-radio:has(input:checked) {
    border-color: var(--primary);
    background: var(--primary-soft);
}

.pix-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.pix-chave-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: var(--surface);
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    font-weight: 600;
    font-size: 0.9rem;
    word-break: break-all;
}

.total-detalhes {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 10px;
    font-size: 0.84rem;
    color: var(--text-secondary);
}

.entrega-resumo p {
    margin-bottom: 12px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.retirada-info {
    display: none;
    margin: 14px 0 18px;
    padding: 16px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    background: var(--bg);
    color: var(--text-secondary);
    line-height: 1.5;
}

.retirada-info.visible {
    display: block;
}

.retirada-info p {
    margin-bottom: 6px;
}

.troco-opcoes {
    display: flex;
    gap: 20px;
    margin-top: 8px;
}

.troco-radio {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-size: 0.9rem;
}

.confirmar-pagamento-box {
    padding: 18px 20px;
}

.confirmar-pagamento-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}

.confirmar-pagamento-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: var(--primary);
    flex-shrink: 0;
}

.confirmar-pagamento-label strong {
    display: block;
    font-size: 0.92rem;
    margin-bottom: 4px;
}

.confirmar-pagamento-label small {
    display: block;
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.45;
}

.pagamento-status {
    margin-top: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 6px 10px;
    border-radius: 6px;
    display: inline-block;
}

.pagamento-status.pago {
    background: var(--success-soft);
    color: #065f46;
}

.pagamento-status.pendente-pagamento {
    background: var(--warning-soft);
    color: #92400e;
}

/* ========== CHECKOUT STEPS ========== */
.checkout-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 16px 20px;
    background: var(--surface);
    border-bottom: 1px solid var(--border-light);
}

.step {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.step.active { color: var(--primary); }
.step.done { color: var(--success); }

.step-line {
    width: 24px;
    height: 2px;
    background: var(--border);
    margin: 0 10px;
    border-radius: 1px;
}

.step-line.done { background: var(--success); }

/* ========== PEDIDO CONFIRMACAO ========== */
.pedido-sucesso {
    text-align: center;
    padding: 32px 20px;
    background: var(--surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    margin-bottom: 16px;
}

.success-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: var(--success-soft);
    color: var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pedido-sucesso h2 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
}

.pedido-numero {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    margin: 12px 0;
}

.pedido-detalhes {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 22px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    margin-bottom: 16px;
}

.pedido-detalhes h3 {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-light);
}

.pedido-detalhes p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.pedido-acoes {
    margin-top: 4px;
}

.btn-acompanhar-pedido {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-acompanhar-pedido svg {
    flex-shrink: 0;
}

.status-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

.status-pendente { background: var(--warning-soft); color: #92400e; }
.status-preparando { background: #fce7f3; color: #9d174d; }
.status-entrega { background: var(--info-soft); color: #1e40af; }
.status-finalizado { background: var(--success-soft); color: #065f46; }

/* ========== ADMIN ========== */
body.admin-page {
    background:
        radial-gradient(circle at 0% 0%, rgba(184, 134, 11, 0.08) 0%, transparent 42%),
        radial-gradient(circle at 100% 0%, rgba(196, 30, 58, 0.05) 0%, transparent 36%),
        var(--bg);
}

.admin-hero {
    background: linear-gradient(135deg, #1c1917 0%, #292524 55%, #1c1917 100%);
    color: #fafaf9;
    border-bottom: 1px solid rgba(184, 134, 11, 0.35);
    padding: 28px 20px 32px;
}

.admin-hero-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.admin-hero-badge {
    display: inline-flex;
    padding: 5px 11px;
    border-radius: var(--radius-full);
    background: rgba(184, 134, 11, 0.2);
    color: #fde68a;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.admin-hero-copy h1 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 8px;
}

.admin-hero-data {
    color: #d6d3d1;
    font-size: 0.9rem;
    max-width: 520px;
}

.admin-hero-acoes {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.admin-hero-btn {
    width: auto;
    min-width: 120px;
}

.admin-shell {
    padding-top: 24px;
    padding-bottom: 40px;
}

.admin-panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.admin-panel-head h2 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
}

.admin-panel-btn {
    width: auto;
}

.admin-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    padding: 6px;
    background: rgba(255, 253, 249, 0.9);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.admin-tab {
    flex: 1;
    padding: 12px 14px;
    border: none;
    border-radius: calc(var(--radius-lg) - 4px);
    background: transparent;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, transform 0.15s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.admin-tab-icon {
    font-size: 1rem;
    line-height: 1;
}

.admin-tab:hover {
    color: var(--text);
    background: var(--bg);
}

.admin-tab.active {
    background: linear-gradient(135deg, #b8860b, #9a7209);
    color: #fff;
    box-shadow: 0 8px 20px rgba(184, 134, 11, 0.28);
}

.admin-tab-panel {
    display: none;
}

.admin-tab-panel.active {
    display: block;
}

.admin-subtitulo {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-top: 4px;
}

.pedido-admin-meta {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 4px;
}

.gaveta-pedido-detalhe {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.gaveta-pedido-detalhe:last-child {
    border-bottom: none;
}

.gaveta-pedido-topo {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}

.gaveta-pedido-data {
    font-size: 0.82rem;
    color: var(--text-secondary);
}

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

.admin-header-acoes {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.gaveta-section {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 2px dashed var(--border);
}

.gaveta-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-top: 4px;
}

.gaveta-card {
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    margin-bottom: 14px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s, transform 0.15s;
}

.gaveta-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.gaveta-card-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    background: linear-gradient(135deg, #fffdf9, #fff1f2);
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    transition: background 0.2s;
}

.gaveta-card-header:hover {
    background: var(--primary-soft);
}

.gaveta-data {
    display: block;
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 400;
    margin-top: 4px;
}

.gaveta-resumo {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.gaveta-total {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--primary);
    font-size: 1.05rem;
}

.gaveta-detalhe {
    padding: 16px 20px 20px;
    border-top: 1px solid var(--border-light);
    background: var(--bg);
}

.gaveta-pedido-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.88rem;
}

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

.gaveta-empty {
    padding: 40px 24px;
}

.gaveta-erro {
    color: var(--danger);
    font-size: 0.88rem;
}

.admin-header h2 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 22px;
}

.stat-card {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 16px 14px;
    text-align: left;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-xs);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--border);
}

.stat-card-icon {
    display: block;
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.stat-card .stat-num {
    font-family: var(--font-display);
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--text);
    line-height: 1;
}

.stat-card .stat-label {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-top: 6px;
}

.stat-card--pendente::before { background: #f59e0b; }
.stat-card--preparando::before { background: #db2777; }
.stat-card--entrega::before { background: #2563eb; }
.stat-card--finalizado::before { background: #059669; }

.stat-card--pendente { background: linear-gradient(180deg, #fffbeb 0%, #fffdf9 100%); }
.stat-card--preparando { background: linear-gradient(180deg, #fdf2f8 0%, #fffdf9 100%); }
.stat-card--entrega { background: linear-gradient(180deg, #eff6ff 0%, #fffdf9 100%); }
.stat-card--finalizado { background: linear-gradient(180deg, #ecfdf5 0%, #fffdf9 100%); }

.pedido-admin-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 0;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    margin-bottom: 16px;
    overflow: hidden;
}

.pedido-admin-card--pendente { border-left: 4px solid #f59e0b; }
.pedido-admin-card--preparando { border-left: 4px solid #db2777; }
.pedido-admin-card--entrega { border-left: 4px solid #2563eb; }
.pedido-admin-card--finalizado { border-left: 4px solid #059669; }

.pedido-admin-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 0;
    padding: 18px 20px 14px;
    border-bottom: 1px solid var(--border-light);
    background: linear-gradient(180deg, rgba(250, 246, 240, 0.7) 0%, transparent 100%);
}

.pedido-admin-ident h2 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    margin-top: 2px;
}

.pedido-admin-num {
    display: inline-flex;
    padding: 3px 9px;
    border-radius: var(--radius-full);
    background: var(--primary-soft);
    color: var(--primary);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.pedido-admin-header h2 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
}

.pedido-admin-body {
    display: grid;
    gap: 12px;
    margin-bottom: 0;
    padding: 16px 20px 18px;
}

.pedido-admin-section {
    background: #fffdf9;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
}

.pedido-admin-total {
    margin-top: 8px;
    font-weight: 700;
    color: var(--text);
}

.pedido-admin-acoes {
    padding: 0 20px 20px;
    display: grid;
    gap: 10px;
}

.pedido-admin-acoes .btn {
    width: 100%;
}

.pedido-admin-section h4 {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 6px;
}

.pedido-admin-section p,
.pedido-admin-section li {
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.pedido-admin-section ul {
    list-style: none;
}

.pedido-admin-section li {
    padding: 3px 0;
}

.admin-concluido {
    text-align: center;
    color: var(--success);
    font-weight: 600;
    padding: 14px;
    background: var(--success-soft);
    border-radius: var(--radius-sm);
    width: 100%;
    font-size: 0.9rem;
}

.maps-link {
    display: inline-block;
    margin-top: 6px;
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
}

.maps-link:hover { text-decoration: underline; }

.admin-empty {
    text-align: center;
    padding: 64px 24px;
    color: var(--text-secondary);
}

.admin-empty h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    margin-top: 16px;
    color: var(--text);
}

/* ========== LOGIN / CONTA ========== */
.login-container {
    max-width: 440px;
    margin: 32px auto;
    padding: 0 20px;
}

.login-logo {
    text-align: center;
    margin-bottom: 28px;
}

.login-brand-mark {
    width: 56px;
    height: 56px;
    font-size: 1.4rem;
    margin: 0 auto;
    border-radius: 16px;
}

.login-logo h2 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    margin-top: 16px;
}

.login-logo p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 6px;
}

.conta-card {
    text-align: center;
    border-top: 4px solid var(--primary);
    background: linear-gradient(180deg, #fffdf9 0%, #fff1f2 100%);
}

.conta-card--cliente {
    padding: 24px;
}

.conta-card--admin {
    text-align: left;
    border: 1px solid rgba(184, 134, 11, 0.28);
    border-top: 4px solid var(--accent-gold);
    background: linear-gradient(160deg, #1c1917 0%, #292524 48%, #1c1917 100%);
    color: #fafaf9;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(28, 25, 23, 0.22);
}

.conta-admin-hero {
    padding: 22px 20px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.conta-admin-topo {
    display: flex;
    align-items: center;
    gap: 14px;
}

.conta-admin-identidade {
    min-width: 0;
    flex: 1;
}

.conta-admin-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: var(--radius-full);
    background: rgba(184, 134, 11, 0.18);
    color: #fde68a;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.conta-card--admin h2 {
    color: #fff;
    font-size: 1.2rem;
    margin-top: 0;
    word-break: break-word;
}

.conta-email--admin {
    color: #d6d3d1 !important;
    font-size: 0.82rem !important;
    margin-top: 2px;
}

.conta-admin-desc {
    margin: 14px 0 0;
    font-size: 0.86rem;
    line-height: 1.5;
    color: #d6d3d1;
}

.conta-avatar--admin {
    width: 58px;
    height: 58px;
    font-size: 1.35rem;
    flex-shrink: 0;
    background: linear-gradient(135deg, #b8860b, #d4a017);
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.conta-admin-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 16px;
    background: rgba(0, 0, 0, 0.15);
}

.conta-admin-tile {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 12px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-decoration: none;
    color: #fafaf9;
    transition: background 0.2s, border-color 0.2s, transform 0.15s;
}

.conta-admin-tile:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(184, 134, 11, 0.35);
    transform: translateY(-1px);
}

.conta-admin-tile--primary {
    background: rgba(184, 134, 11, 0.16);
    border-color: rgba(184, 134, 11, 0.35);
}

.conta-admin-tile-icon {
    font-size: 1.25rem;
    line-height: 1;
}

.conta-admin-tile strong {
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.25;
}

.conta-admin-tile small {
    font-size: 0.7rem;
    color: #a8a29e;
    line-height: 1.3;
}

.btn-admin {
    background: linear-gradient(135deg, #b8860b, #9a7209);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 20px rgba(184, 134, 11, 0.28);
}

.btn-admin:hover {
    background: linear-gradient(135deg, #d4a017, #b8860b);
    color: #fff;
}

.btn-outline-admin {
    background: transparent;
    border: 1px solid rgba(220, 38, 38, 0.35);
}

.conta-actions--admin {
    margin-top: 4px;
}

.admin-mode-banner {
    background: linear-gradient(90deg, #1c1917, #292524);
    border-bottom: 1px solid rgba(184, 134, 11, 0.3);
    color: #fafaf9;
    padding: 10px 16px;
    position: sticky;
    top: var(--header-height);
    z-index: 190;
}

.admin-mode-banner-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 0.82rem;
}

.admin-mode-banner-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fbbf24;
    box-shadow: 0 0 0 4px rgba(251, 191, 36, 0.2);
    flex-shrink: 0;
    animation: admin-pulse 2s ease-in-out infinite;
}

@keyframes admin-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.55; }
}

.admin-mode-banner-text {
    flex: 1;
    min-width: 0;
    color: #e7e5e4;
    font-weight: 500;
}

.admin-mode-banner-link {
    color: #fde68a;
    font-weight: 700;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    background: rgba(184, 134, 11, 0.2);
    border: 1px solid rgba(184, 134, 11, 0.35);
    white-space: nowrap;
}

.admin-mode-banner-link:hover {
    background: rgba(184, 134, 11, 0.32);
    color: #fff;
}

body.is-admin .site-header {
    border-bottom-color: rgba(184, 134, 11, 0.55);
    background: linear-gradient(180deg, rgba(28, 25, 23, 0.04) 0%, rgba(255, 253, 249, 0.95) 100%);
}

body.is-admin .brand-mark {
    background: linear-gradient(135deg, #292524, #1c1917);
    border-color: var(--accent-gold);
    box-shadow: 0 4px 14px rgba(28, 25, 23, 0.28);
}

body.is-admin[data-page="admin"] .site-header,
body[data-page="admin"] .site-header {
    border-bottom-color: var(--accent-gold);
}

.conta-card h2 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    margin-top: 4px;
}

.conta-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #881337);
    color: white;
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    box-shadow: 0 4px 16px rgba(196, 30, 58, 0.25);
    border: 2px solid var(--accent-gold);
}

.conta-email, .conta-tel {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 4px;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.conta-acoes {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pedido-historico-card {
    margin-bottom: 16px;
}

.pedido-historico-topo {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 14px;
}

.pedido-historico-topo h2 {
    font-family: var(--font-display);
    font-size: 1.05rem;
}

.pedido-historico-topo p,
.pedido-historico-card p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    margin-top: 5px;
}

.pedido-historico-itens {
    margin: 0 0 12px;
    padding-left: 18px;
    color: var(--text);
    line-height: 1.6;
}

.login-card {
    padding: 22px 20px;
}

.ultima-conta-card {
    margin-bottom: 18px;
    padding: 16px;
    border-radius: var(--radius);
    background: linear-gradient(180deg, #fff7ed 0%, #fffdf9 100%);
    border: 1px solid rgba(184, 134, 11, 0.22);
}

.ultima-conta-label {
    margin: 0 0 12px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--accent-gold);
}

.ultima-conta-perfil {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.ultima-conta-card .btn-block {
    margin-top: 4px;
}

.ultima-conta-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #881337);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    flex-shrink: 0;
    border: 2px solid rgba(184, 134, 11, 0.35);
}

.ultima-conta-info {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ultima-conta-info strong {
    font-size: 0.95rem;
    color: var(--text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ultima-conta-info span {
    font-size: 0.8rem;
    color: var(--text-secondary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ultima-conta-hint {
    margin: 12px 0 0;
    font-size: 0.8rem;
    line-height: 1.45;
    color: var(--text-muted);
}

.google-btn-wrap {
    display: flex;
    justify-content: center;
    min-height: 50px;
}

.login-alert {
    background: linear-gradient(135deg, #fffbeb 0%, #ffffff 100%);
    border: 1px solid #fde68a;
    border-left: 4px solid #d97706;
    border-radius: var(--radius);
    padding: 18px;
    font-size: 0.88rem;
    line-height: 1.5;
    color: #92400e;
    box-shadow: 0 10px 24px rgba(146, 64, 14, 0.08);
}

/* ========== TOAST / LOADING ========== */
.toast {
    position: fixed;
    bottom: calc(var(--nav-height) + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(24px) scale(0.96);
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: min(360px, calc(100vw - 32px));
    max-width: calc(100vw - 32px);
    background: rgba(255, 255, 255, 0.96);
    color: var(--text);
    padding: 14px 16px;
    border: 1px solid var(--border-light);
    border-radius: 18px;
    font-size: 0.85rem;
    font-weight: 700;
    z-index: 700;
    opacity: 0;
    transition: transform 0.25s ease, opacity 0.25s ease;
    pointer-events: none;
    box-shadow: 0 18px 45px rgba(28, 25, 23, 0.18);
    backdrop-filter: blur(14px);
}

.toast-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: var(--primary-soft);
    color: var(--primary);
    font-size: 0.82rem;
}

.toast-sucesso .toast-icon {
    background: var(--success-soft);
    color: #047857;
}

.toast-erro .toast-icon {
    background: var(--danger-soft);
    color: var(--danger);
}

.toast.show {
    transform: translateX(-50%) translateY(0) scale(1);
    opacity: 1;
}

body.no-bottom-nav .toast {
    bottom: calc(20px + var(--safe-bottom));
}

body.no-bottom-nav .cart-fab {
    bottom: calc(20px + var(--safe-bottom));
}

.alert-overlay {
    position: fixed;
    inset: 0;
    z-index: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(28, 25, 23, 0.58);
    backdrop-filter: blur(8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease;
}

.alert-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.alert-card {
    width: 100%;
    max-width: 390px;
    background: linear-gradient(180deg, #ffffff 0%, #fffaf5 100%);
    border: 1px solid rgba(120, 53, 15, 0.12);
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 24px 70px rgba(28, 25, 23, 0.28);
    transform: translateY(18px) scale(0.96);
    transition: transform 0.22s ease;
}

.alert-overlay.open .alert-card {
    transform: translateY(0) scale(1);
}

.alert-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    background: var(--primary-soft);
    color: var(--primary);
    font-weight: 800;
    font-size: 1.1rem;
}

.alert-erro .alert-icon {
    background: var(--danger-soft);
    color: var(--danger);
}

.alert-sucesso .alert-icon {
    background: var(--success-soft);
    color: #047857;
}

.alert-aviso .alert-icon {
    background: var(--warning-soft);
    color: #b45309;
}

.alert-content h2 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--text);
}

.alert-content p {
    color: var(--text-secondary);
    line-height: 1.55;
    font-size: 0.94rem;
    white-space: pre-line;
}

.alert-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 22px;
}

.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.spinner {
    width: 28px;
    height: 28px;
    border: 2.5px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    margin-right: 12px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ========== MODAIS ========== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(28, 25, 23, 0.65);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 500;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

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

.modal-box {
    background: var(--surface);
    border-radius: 12px;
    width: 100%;
    max-width: 420px;
    overflow: hidden;
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(16px) scale(0.98);
    transition: transform 0.25s ease;
}

.modal-box--combo {
    max-width: 480px;
}

/* ========== MODAL PRODUTO (estilo restaurante) ========== */
#modalItem.modal-overlay--produto {
    align-items: flex-end;
    padding: 0;
    background: rgba(28, 25, 23, 0.55);
    backdrop-filter: blur(8px);
}

#modalItem .modal-produto-sheet {
    position: relative;
    max-width: 480px;
    max-height: 92vh;
    display: flex;
    flex-direction: column;
    border: none;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -8px 40px rgba(28, 25, 23, 0.25);
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
}

#modalItem.modal-overlay.open .modal-produto-sheet {
    transform: translateY(0);
}

.modal-close-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 10;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.95);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(28, 25, 23, 0.15);
    transition: transform 0.15s ease, background 0.15s ease;
}

.modal-close-btn:hover {
    transform: scale(1.05);
    background: white;
}

.modal-produto-hero {
    position: relative;
    height: 200px;
    background: radial-gradient(ellipse at 50% 30%, #ffffff 0%, #fff7ed 50%, #fef2f2 100%);
    flex-shrink: 0;
    overflow: hidden;
}

.modal-produto-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.9) 0%, transparent 40%);
    pointer-events: none;
}

.modal-produto-hero-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 24px 32px;
    filter: drop-shadow(0 8px 20px rgba(28, 25, 23, 0.1));
}

.modal-produto-kanji {
    position: absolute;
    bottom: 12px;
    left: 20px;
    font-family: var(--font-display);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    color: var(--primary);
    opacity: 0.7;
    font-weight: 600;
}

.modal-produto-scroll {
    flex: 1;
    overflow-y: auto;
    padding: 0 22px 16px;
    -webkit-overflow-scrolling: touch;
}

.modal-produto-head {
    padding: 18px 0 16px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 16px;
}

.modal-produto-cat {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary);
    background: rgba(196, 30, 58, 0.08);
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.modal-produto-nome {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.modal-produto-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.55;
    margin-bottom: 14px;
}

.modal-produto-preco-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.modal-produto-preco {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
}

.modal-carrinho-badge {
    display: none;
    align-items: center;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--primary);
    background: rgba(196, 30, 58, 0.1);
    padding: 5px 12px;
    border-radius: 20px;
}

.modal-produto-qty {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: #fafaf9;
    border-radius: 10px;
    border: 1px solid var(--border);
    margin-bottom: 8px;
}

.modal-produto-qty-label {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text);
}

.modal-qty-stepper {
    display: flex;
    align-items: center;
    gap: 4px;
    background: white;
    border-radius: 8px;
    border: 1px solid var(--border);
    padding: 2px;
}

.modal-qty-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--primary);
    cursor: pointer;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease;
}

.modal-qty-btn:hover {
    background: rgba(196, 30, 58, 0.08);
}

.modal-qty-valor {
    min-width: 32px;
    text-align: center;
    font-weight: 700;
    font-size: 1rem;
}

.modal-produto-footer {
    flex-shrink: 0;
    padding: 14px 22px calc(14px + env(safe-area-inset-bottom, 0px));
    background: white;
    border-top: 1px solid var(--border);
    box-shadow: 0 -4px 20px rgba(28, 25, 23, 0.06);
}

.modal-produto-footer--dual {
    display: flex;
    gap: 10px;
}

.modal-produto-footer--dual .btn {
    flex: 1;
}

.btn-modal-add {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    font-size: 1rem;
    border-radius: 12px;
}

.btn-modal-add-label {
    font-weight: 600;
}

.btn-modal-add-preco {
    font-weight: 700;
    opacity: 0.95;
}

.modal-produto-sucesso {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 16px;
    animation: modalSucessoIn 0.35s ease;
}

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

.modal-sucesso-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #16a34a, #15803d);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    box-shadow: 0 4px 16px rgba(22, 163, 74, 0.35);
}

.modal-sucesso-titulo {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.modal-sucesso-texto {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.modal-sucesso-mais {
    background: none;
    border: none;
    color: var(--primary);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 8px;
    transition: background 0.15s ease;
}

.modal-sucesso-mais:hover {
    background: rgba(196, 30, 58, 0.08);
}

.modal-produto-sheet--combo {
    max-width: 520px;
}

.modal-produto-sheet--combo .modal-produto-hero {
    height: 160px;
}

#modalItem .combo-form {
    margin-bottom: 0;
    border-radius: 10px;
}

.modal-overlay.open .modal-box {
    transform: translateY(0) scale(1);
}

.modal-header {
    background: linear-gradient(135deg, var(--primary), #881337);
    color: white;
    padding: 18px 22px;
    text-align: center;
}

.modal-header-kanji {
    font-family: var(--font-display);
    font-size: 0.75rem;
    opacity: 0.85;
    letter-spacing: 0.15em;
    margin-bottom: 4px;
}

.modal-header h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
}

.modal-body {
    padding: 22px;
}

.modal-produto {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 18px;
    border-bottom: 1px dashed var(--border);
}

.modal-produto img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid var(--border);
    filter: saturate(1.15) contrast(1.05);
}

.modal-produto-img-cartoon {
    object-fit: contain !important;
    background: radial-gradient(circle at 50% 40%, #fff 0%, #fff7ed 100%);
    padding: 8px;
    filter: drop-shadow(0 4px 8px rgba(28, 25, 23, 0.1)) !important;
    width: 88px !important;
    height: 88px !important;
}

.modal-produto-info h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.modal-produto-info p {
    font-size: 0.82rem;
    color: var(--text-secondary);
}

.modal-qty {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-top: 6px;
}

.modal-text {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.92rem;
    margin-bottom: 18px;
    line-height: 1.55;
}

.modal-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.modal-actions .btn { width: 100%; }

.combo-form {
    margin-bottom: 16px;
    padding: 14px;
    background: #fff7ed;
    border-radius: 8px;
    border: 1px solid rgba(196, 30, 58, 0.12);
}

.combo-form-intro {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 14px;
    line-height: 1.5;
    text-align: center;
}

.combo-form-section {
    margin-bottom: 12px;
}

.combo-form-section:last-child {
    margin-bottom: 0;
}

.combo-form-section h4 {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--primary);
    margin-bottom: 8px;
    font-weight: 700;
}

.combo-slots {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.combo-slot {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.combo-slot-label {
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.combo-select {
    width: 100%;
    padding: 8px 10px;
    border-radius: 6px;
    border: 1px solid var(--border);
    background: white;
    font-size: 0.82rem;
    color: var(--text);
    cursor: pointer;
}

.combo-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(196, 30, 58, 0.15);
}

.carrinho-item-detalhes {
    font-size: 0.78rem;
    color: var(--text-secondary);
    margin: 4px 0 6px;
    line-height: 1.45;
    max-width: 220px;
}

.pedido-observacao {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 8px 0;
    line-height: 1.5;
    padding: 8px 10px;
    background: #fff7ed;
    border-radius: 6px;
    border-left: 3px solid var(--primary);
}

.btn-ghost {
    background: transparent;
    border: none;
    box-shadow: none;
    color: var(--text-muted);
}

.btn-ghost:hover {
    color: var(--primary);
    background: var(--primary-soft);
}

.bebida-opcoes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 0;
}

.modal-box--bebidas {
    max-width: 520px;
}

.modal-header--bebidas {
    background: linear-gradient(180deg, #eff6ff 0%, #fffdf9 100%);
}

.modal-body--bebidas {
    padding-top: 12px;
}

.bebidas-intro {
    margin: 0 0 16px;
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--text-secondary);
    text-align: center;
    padding: 0 4px;
}

.bebidas-modal-footer {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
}

.btn-bebidas-pular {
    width: 100%;
}

.bebidas-mais-um-texto {
    margin-bottom: 14px;
    text-align: center;
}

.bebidas-mais-um-acoes {
    margin-top: 16px;
}

.bebida-opcao {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    cursor: pointer;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
    text-align: left;
    width: 100%;
    font-family: inherit;
    overflow: hidden;
    box-shadow: var(--shadow-xs);
}

.bebida-opcao:hover {
    border-color: var(--primary-muted);
    background: var(--surface);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.bebida-opcao:active {
    transform: translateY(0);
}

.bebida-opcao-media {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 108px;
    padding: 14px 12px 10px;
    background: linear-gradient(180deg, #f0f9ff 0%, #fff7ed 100%);
    border-bottom: 1px solid var(--border-light);
}

.bebida-opcao img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    border-radius: 10px;
    filter: saturate(1.1) drop-shadow(0 6px 10px rgba(15, 23, 42, 0.08));
}

.bebida-opcao-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px;
    flex: 1;
}

.bebida-opcao-body strong {
    display: block;
    font-size: 0.88rem;
    line-height: 1.25;
    color: var(--text);
}

.bebida-opcao-body span:not(.bebida-opcao-preco) {
    font-size: 0.76rem;
    color: var(--text-muted);
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bebida-opcao-preco {
    display: inline-flex;
    align-self: flex-start;
    margin-top: 6px;
    padding: 5px 10px;
    border-radius: var(--radius-full);
    background: var(--primary-soft);
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--primary);
    font-size: 0.82rem;
}

.bebida-opcao-info {
    flex: 1;
}

.bebida-opcao-info strong {
    display: block;
    font-size: 0.92rem;
}

.bebida-opcao-info span {
    font-size: 0.82rem;
    color: var(--text-secondary);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 767px) {
    .site-header-inner {
        padding: 0 12px;
        gap: 8px;
        min-width: 0;
    }

    .brand {
        min-width: 0;
        flex: 1;
        overflow: hidden;
    }

    .brand-text {
        font-size: 0.92rem;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .brand-text span {
        display: none;
    }

    .header-actions {
        flex-shrink: 0;
        gap: 6px;
        max-width: 52%;
        justify-content: flex-end;
    }

    .header-btn-pedidos,
    .header-btn-admin-desktop {
        display: none;
    }

    .header-user-cluster {
        display: flex;
    }

    .header-btn-admin-compact {
        display: inline-flex;
    }

    .header-btn {
        padding: 8px 11px;
        font-size: 0.78rem;
    }

    .header-btn-user {
        max-width: 68px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .container {
        padding-left: 16px;
        padding-right: 16px;
        padding-bottom: calc(28px + var(--safe-bottom));
    }

    .page-title {
        padding-left: 16px;
        padding-right: 16px;
    }

    .page-title h1 {
        font-size: 1.35rem;
    }

    .form-card {
        padding: 20px 16px;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 16px;
    }

    .conta-card h2 {
        font-size: 1.1rem;
        word-break: break-word;
    }

    .pedido-historico-topo {
        flex-direction: column;
        align-items: flex-start;
    }

    .page-actions {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-top: 4px;
        padding-bottom: var(--safe-bottom);
    }

    .page-actions .btn {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    main > .btn,
    main > .btn-lg,
    main > a.btn {
        margin-bottom: 0;
    }

    main > .btn + .btn,
    main > a.btn + .btn,
    main > .btn + a.btn {
        margin-top: 10px;
    }

    .conta-admin-grid {
        grid-template-columns: 1fr;
    }

    .conta-admin-topo {
        align-items: flex-start;
    }

    .admin-mode-banner-inner {
        justify-content: space-between;
    }

    .bottom-nav {
        padding-left: 4px;
        padding-right: 4px;
    }

    .nav-conta-group .nav-label {
        max-width: 52px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .admin-hero {
        padding: 22px 16px 26px;
    }

    .admin-hero-inner {
        align-items: flex-start;
    }

    .admin-hero-acoes {
        width: 100%;
    }

    .admin-hero-btn {
        flex: 1;
        min-width: 0;
    }

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

    .admin-tab {
        font-size: 0.8rem;
        padding: 11px 10px;
    }

    .admin-tab-icon {
        display: none;
    }
}

@media (min-width: 900px) {
    .pedido-admin-body {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 768px) {
    body { padding-bottom: 32px; }

    .site-nav { display: flex; }

    .bottom-nav { display: none; }

    .header-btn-admin-compact {
        display: none !important;
    }

    .header-user-cluster .header-btn-conta {
        max-width: none;
    }

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

    .conta-card--admin {
        border-radius: var(--radius-lg);
    }

    .hero { padding: 56px 20px 64px; }

    .produtos-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 22px;
    }

    .carrinho-lista,
    .carrinho-total-box,
    .page-actions {
        max-width: 680px;
        margin-left: auto;
        margin-right: auto;
    }

    .carrinho-lista { margin-bottom: 20px; }

    .login-container { margin: 48px auto; }
}

@media (max-width: 600px) {
    .produtos-grid {
        grid-template-columns: 1fr;
        padding: 8px 16px 24px;
    }

    .form-row { grid-template-columns: 1fr; }
    .carrinho-item { grid-template-columns: 1fr; }
    .hero { padding: 36px 20px 44px; }
}

@media (min-width: 1024px) {
    .produtos-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .home-destaques {
        padding: 80px 20px 88px;
    }
}

/* ========== CART FAB ========== */
.cart-fab {
    position: fixed;
    z-index: 250;
    right: 16px;
    bottom: calc(var(--nav-height) + 12px);
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--primary) 0%, var(--primary-hover) 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 28px rgba(196, 30, 58, 0.45);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 2px solid rgba(255, 255, 255, 0.25);
}

.cart-fab:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 12px 32px rgba(196, 30, 58, 0.5);
}

.cart-fab svg {
    width: 26px;
    height: 26px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.cart-fab .cart-fab-badge {
    top: -2px;
    right: -2px;
}

@media (min-width: 768px) {
    .cart-fab {
        bottom: 28px;
        right: 28px;
        width: 62px;
        height: 62px;
    }
}

body[data-fab="false"] .cart-fab {
    display: none;
}

/* ========== HOME PAGE ========== */
.hero-home {
    padding: 56px 20px 72px;
    min-height: 520px;
    display: flex;
    align-items: center;
    background: transparent;
}

.hero-home-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 85% 15%, rgba(184, 134, 11, 0.35) 0%, transparent 45%),
        radial-gradient(circle at 15% 85%, rgba(196, 30, 58, 0.4) 0%, transparent 50%),
        linear-gradient(160deg, #0c0a09 0%, #450a0a 40%, #991b1b 100%);
    z-index: 0;
}

.hero-home-content {
    max-width: 640px;
}

.hero-home h1 em {
    font-style: normal;
    color: #fde68a;
}

.hero-lead {
    font-size: 1.05rem !important;
    max-width: 520px !important;
    margin-bottom: 28px !important;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 36px;
}

.btn-hero-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 24px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    background: rgba(255, 255, 255, 0.08);
}

.btn-hero-ghost:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.55);
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hero-stat strong {
    font-family: var(--font-display);
    font-size: 1.35rem;
    color: #fde68a;
}

.hero-stat span {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.55);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.hero-compact {
    padding: 40px 20px 48px;
}

.hero-compact h1 {
    font-size: clamp(1.5rem, 4vw, 2rem);
}

.home-section {
    padding: 56px 20px;
}

.home-section--alt {
    background: var(--surface);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.home-section-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.section-kicker {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--primary);
    margin-bottom: 10px;
}

.section-head {
    margin-bottom: 32px;
}

.section-head--center {
    text-align: center;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 36px;
}

.section-head h2 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
}

.section-head p {
    color: var(--text-secondary);
    font-size: 1rem;
}

.section-cta {
    text-align: center;
    margin-top: 36px;
}

.home-about {
    display: grid;
    gap: 40px;
    align-items: center;
}

.home-about-text h2 {
    font-family: var(--font-display);
    font-size: clamp(1.45rem, 3vw, 1.85rem);
    margin-bottom: 16px;
    line-height: 1.25;
}

.home-about-text p {
    color: var(--text-secondary);
    margin-bottom: 14px;
    line-height: 1.7;
}

.home-about-list {
    list-style: none;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.home-about-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    color: var(--text);
}

.home-about-list li::before {
    content: "✓";
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--primary-soft);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.home-about-visual {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    position: relative;
}

.about-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 20px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: transform 0.25s ease;
}

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

.about-kanji {
    display: block;
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.about-card p {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.about-card--1 { grid-column: 1; }
.about-card--2 { grid-column: 2; margin-top: 24px; }
.about-card--3 {
    grid-column: 1 / -1;
    max-width: 220px;
    margin: 0 auto;
    background: linear-gradient(145deg, var(--primary-soft), var(--surface));
    border-color: var(--primary-muted);
}

.home-section--alt {
    background: var(--surface);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

/* ========== DESTAQUES — painel escuro com arte ========== */
.home-destaques {
    position: relative;
    padding: 64px 20px 72px;
    overflow: hidden;
    background: linear-gradient(165deg, #0c0a09 0%, #450a0a 35%, #7f1d1d 70%, #991b1b 100%);
}

.destaques-art-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.destaques-art-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
}

.destaques-lantern {
    position: absolute;
    width: 12px;
    height: 18px;
    border-radius: 50% 50% 45% 45%;
    background: radial-gradient(circle at 50% 30%, #fde68a, #c41e3a);
    box-shadow: 0 0 24px rgba(253, 230, 138, 0.5);
    animation: lantern-glow 3s ease-in-out infinite;
}

.destaques-lantern--left {
    top: 18%;
    left: 8%;
}

.destaques-lantern--right {
    top: 22%;
    right: 10%;
    animation-delay: 1.5s;
}

@keyframes lantern-glow {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.08); }
}

.destaques-inner {
    position: relative;
    z-index: 1;
}

.destaques-head {
    text-align: center;
    max-width: 560px;
    margin: 0 auto 40px;
}

.destaques-head h2 {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 4vw, 2.15rem);
    font-weight: 700;
    color: white;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.destaques-head p {
    color: rgba(255, 255, 255, 0.72);
    font-size: 1rem;
    line-height: 1.6;
}

.section-kicker--light {
    color: #fde68a;
    border: 1px solid rgba(253, 230, 138, 0.35);
    padding: 5px 12px;
    border-radius: 4px;
    background: rgba(253, 230, 138, 0.08);
}

.loading--light {
    color: rgba(255, 255, 255, 0.7);
}

.loading--light .spinner {
    border-color: rgba(255, 255, 255, 0.2);
    border-top-color: #fde68a;
}

.destaques-showcase {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Card principal — horizontal */
.destaque-feature {
    cursor: pointer;
    border-radius: var(--radius-lg);
    padding: 3px;
    background: linear-gradient(135deg, rgba(253, 230, 138, 0.55) 0%, rgba(196, 30, 58, 0.4) 50%, rgba(253, 230, 138, 0.25) 100%);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.destaque-feature:hover {
    transform: translateY(-4px);
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.45);
}

.destaque-feature-frame {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    background: linear-gradient(145deg, #1c1917 0%, #292524 100%);
    border-radius: calc(var(--radius-lg) - 2px);
    overflow: hidden;
}

.destaque-feature-img {
    position: relative;
    min-height: 200px;
    background:
        radial-gradient(circle at 30% 40%, rgba(196, 30, 58, 0.25) 0%, transparent 55%),
        radial-gradient(circle at 70% 60%, rgba(184, 134, 11, 0.15) 0%, transparent 50%),
        linear-gradient(180deg, #292524 0%, #1c1917 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
}

.destaque-feature-img::after {
    content: "";
    position: absolute;
    inset: 16px;
    border: 1px dashed rgba(253, 230, 138, 0.2);
    border-radius: var(--radius);
    pointer-events: none;
}

.destaque-feature-img img {
    max-height: 160px;
    width: auto;
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.4));
    transition: transform 0.35s ease;
    position: relative;
    z-index: 1;
}

.destaque-feature:hover .destaque-feature-img img {
    transform: scale(1.08) rotate(-2deg);
}

.destaque-feature-body {
    padding: 24px 24px 28px;
    color: white;
}

.destaque-rank {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #fde68a;
    margin-bottom: 8px;
}

.produto-categoria--light {
    color: rgba(253, 230, 138, 0.85) !important;
}

.destaque-feature-body h3 {
    font-family: var(--font-display);
    font-size: 1.45rem;
    margin: 6px 0 10px;
    color: white;
}

.destaque-feature-body p {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.55;
    margin-bottom: 18px;
}

.destaque-feature-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.destaque-preco {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: #fde68a;
}

.destaque-btn-add {
    padding: 10px 20px;
    background: var(--primary);
    color: white;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: background 0.2s, transform 0.2s;
}

.destaque-feature:hover .destaque-btn-add {
    background: var(--primary-hover);
    transform: scale(1.03);
}

/* Minis — 3 cards abaixo */
.destaques-minis {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.destaque-mini {
    position: relative;
    cursor: pointer;
    border-radius: var(--radius);
    background: rgba(28, 25, 23, 0.85);
    border: 1px solid rgba(253, 230, 138, 0.18);
    backdrop-filter: blur(8px);
    overflow: hidden;
    display: grid;
    grid-template-columns: 100px 1fr;
    align-items: center;
    gap: 0;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.destaque-mini:hover {
    transform: translateX(4px);
    border-color: rgba(253, 230, 138, 0.45);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.3);
}

.destaque-mini--combo {
    border-color: rgba(184, 134, 11, 0.45);
    background: linear-gradient(135deg, rgba(28, 25, 23, 0.95) 0%, rgba(69, 10, 10, 0.6) 100%);
}

.destaque-mini-glow {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(196, 30, 58, 0.3) 0%, transparent 70%);
    pointer-events: none;
}

.destaque-mini-rank {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 2;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #fde68a;
    background: rgba(0, 0, 0, 0.5);
    padding: 3px 8px;
    border-radius: var(--radius-full);
}

.destaque-mini-img {
    height: 100%;
    min-height: 100px;
    background: radial-gradient(circle, rgba(196, 30, 58, 0.2) 0%, transparent 70%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
}

.destaque-mini-img img {
    max-height: 72px;
    width: auto;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35));
    transition: transform 0.3s ease;
}

.destaque-mini:hover .destaque-mini-img img {
    transform: scale(1.1);
}

.destaque-mini-body {
    padding: 14px 16px 14px 4px;
    color: white;
}

.destaque-mini-body h4 {
    font-family: var(--font-display);
    font-size: 0.95rem;
    margin-bottom: 8px;
    line-height: 1.25;
}

.destaque-mini-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.destaque-mini-footer .destaque-preco {
    font-size: 1.05rem;
}

.destaque-mini-add {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.section-cta--destaques {
    margin-top: 40px;
}

.home-empty--light {
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    padding: 40px;
}

/* legacy destaques-grid — removido do layout */
.destaques-grid { display: none; }

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.feature-card {
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    text-align: center;
    box-shadow: var(--shadow-xs);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 14px;
}

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.55;
}

.home-cta-banner {
    background: linear-gradient(135deg, var(--primary) 0%, #7f1d1d 100%);
    padding: 56px 20px;
    text-align: center;
    color: white;
}

.home-cta-inner {
    max-width: 520px;
    margin: 0 auto;
}

.home-cta-inner h2 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 4vw, 2rem);
    margin-bottom: 10px;
}

.home-cta-inner p {
    opacity: 0.85;
    margin-bottom: 24px;
    line-height: 1.6;
}

.btn-light {
    background: white;
    color: var(--primary-hover);
    font-weight: 700;
}

.btn-light:hover {
    background: #fef2f2;
    transform: translateY(-2px);
}

.home-empty {
    text-align: center;
    color: var(--text-secondary);
    padding: 32px;
    grid-column: 1 / -1;
}

@media (min-width: 768px) {
    .hero-home {
        padding: 72px 20px 88px;
        min-height: 580px;
    }

    .home-about {
        grid-template-columns: 1.1fr 0.9fr;
        gap: 56px;
    }

    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .destaque-feature-frame {
        grid-template-columns: 1fr 1.1fr;
    }

    .destaque-feature-img {
        min-height: 280px;
    }

    .destaque-feature-img img {
        max-height: 200px;
    }

    .destaques-minis {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }

    .destaque-mini {
        grid-template-columns: 1fr;
        grid-template-rows: auto 1fr;
        text-align: center;
    }

    .destaque-mini-img {
        min-height: 130px;
        padding: 20px;
    }

    .destaque-mini-img img {
        max-height: 90px;
    }

    .destaque-mini-body {
        padding: 16px 18px 20px;
    }

    .destaque-mini-rank {
        top: 10px;
        left: 50%;
        transform: translateX(-50%);
    }

    .destaque-mini-footer {
        justify-content: center;
        gap: 12px;
    }

    .produto-card:hover {
        transform: translateY(-6px);
    }
}

@media (min-width: 640px) {
    #modalItem.modal-overlay--produto {
        align-items: center;
        padding: 20px;
    }

    #modalItem .modal-produto-sheet {
        border-radius: 16px;
        max-height: 88vh;
        transform: translateY(24px) scale(0.96);
    }

    #modalItem.modal-overlay.open .modal-produto-sheet {
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 480px) {
    .hero-stats {
        gap: 16px;
    }

    .home-destaques {
        padding: 48px 16px 56px;
    }

    .combo-slots {
        grid-template-columns: 1fr;
    }
}

/* Pix online */
.pix-sandbox-banner {
    background: #fef3c7;
    border: 1px solid #f59e0b;
    color: #92400e;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
    font-size: 0.9rem;
}

.pix-card {
    text-align: center;
}

.pix-qr-wrap {
    display: flex;
    justify-content: center;
    margin: 8px 0 16px;
}

.pix-qr {
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: #fff;
}

.pix-instrucao {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.pix-copia-cola {
    background: var(--surface);
    border: 1px dashed var(--border);
    border-radius: var(--radius-sm);
    padding: 12px;
    margin-top: 10px;
    text-align: left;
    max-height: 140px;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    cursor: pointer;
}

.pix-copia-cola:active {
    background: var(--primary-soft);
}

.pix-codigo-detalhes {
    margin-top: 14px;
    text-align: left;
}

.pix-codigo-detalhes summary {
    cursor: pointer;
    font-size: 0.88rem;
    color: var(--text-secondary);
    font-weight: 600;
    padding: 8px 0;
    list-style: none;
}

.pix-codigo-detalhes summary::-webkit-details-marker {
    display: none;
}

.pix-codigo-detalhes summary::before {
    content: "▸ ";
}

.pix-codigo-detalhes[open] summary::before {
    content: "▾ ";
}

.btn-copiar-pix {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    touch-action: manipulation;
}

.pix-copia-cola code {
    font-size: 0.72rem;
    word-break: break-all;
    color: var(--text);
    user-select: all;
    -webkit-user-select: all;
}

.pix-ajuda {
    margin-top: 12px;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.pix-aguardando p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.btn-block {
    width: 100%;
}

@media (max-width: 480px) {
    .pix-qr {
        width: min(280px, 88vw);
        height: auto;
        aspect-ratio: 1;
    }

    .btn-copiar-pix {
        position: sticky;
        bottom: calc(12px + env(safe-area-inset-bottom, 0px));
        z-index: 2;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    }

    .pix-card {
        padding-bottom: 8px;
    }
}

/* Pagamentos pendentes — meus pedidos */
.pedidos-pendentes-banner {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 18px;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    border: 1px solid #fdba74;
    border-radius: var(--radius);
    color: #9a3412;
}

.pedidos-pendentes-banner-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 50%;
    border: 1px solid #fdba74;
}

.pedidos-pendentes-banner-texto {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.9rem;
}

.pedidos-pendentes-banner-texto strong {
    font-size: 1rem;
}

.pedidos-pendentes-limpar {
    margin-top: 10px;
    padding: 0;
    border: none;
    background: none;
    color: #c2410c;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
}

.pedido-desistir-btn {
    margin-top: 10px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.pedido-cancelar-historico {
    margin-top: 14px;
    width: 100%;
    color: #b91c1c;
    border: 1px solid #fecaca;
    background: #fef2f2;
}

.pedido-cancelar-historico:hover {
    background: #fee2e2;
    color: #991b1b;
}

.btn-ghost {
    background: transparent;
    border: none;
    box-shadow: none;
}

.btn-ghost:hover {
    background: var(--bg);
    color: var(--text-secondary);
}

.pedido-pix-pendente-card {
    background: var(--surface);
    border: 2px solid #f97316;
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 8px 24px rgba(249, 115, 22, 0.12);
}

.pedido-pix-pendente-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.pedido-pix-pendente-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: #fff7ed;
    color: #c2410c;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.pedido-pix-pendente-valor {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
}

.pedido-pix-pendente-card h2 {
    margin: 0 0 8px;
    font-size: 1.2rem;
}

.pedido-pix-pendente-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 16px;
    line-height: 1.5;
}

.pedido-pix-cpf {
    margin-bottom: 14px;
    text-align: left;
}

.pedidos-historico-titulo {
    font-size: 1rem;
    color: var(--text-secondary);
    margin: 8px 0 14px;
    font-weight: 600;
}

.status-pagamento-pendente {
    background: #fff7ed;
    color: #c2410c;
    border: 1px solid #fdba74;
}

.status-cancelado {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.pedido-pago-online {
    margin-top: 8px;
    font-size: 0.88rem;
    color: var(--success, #16a34a);
    font-weight: 600;
}

.header-btn-pedidos {
    position: relative;
}

.header-pedidos-badge,
.conta-pedidos-badge,
.pedidos-pendentes-badge {
    display: none;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1;
}

.header-pedidos-badge {
    position: absolute;
    top: -6px;
    right: -8px;
    box-shadow: 0 0 0 2px var(--surface, #fff);
}

.conta-tile-pedidos {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.conta-tile-pedidos.tem-pendencia,
.header-btn-pedidos.tem-pendencia {
    box-shadow: 0 0 0 2px rgba(249, 115, 22, 0.35);
}

.nav-conta .pedidos-pendentes-badge {
    position: absolute;
    top: 2px;
    right: 8px;
}

.nav-conta {
    position: relative;
}

.admin-aguardando-pix {
    font-size: 0.88rem;
    color: var(--text-secondary);
    font-style: italic;
    margin: 0;
}
