/* ==========================================================================
   Tema Verde · Brasa en clave fresca, vegetal y saludable
   Verdes, lima y terracota; la misma estructura editorial de Brasa.
   ========================================================================== */

.theme-verde {
    --bg: #F4F9EC;
    --surface: #FFFFFF;
    --surface-2: #E9F3D9;
    --ink: #1F2D1B;
    --muted: #64745C;
    --line: #CFE0C3;
    --accent: #D97A4A;
    --brand: #3E8E4E;
    --radius: 20px;
    --radius-s: 14px;
    --radius-l: 26px;
    --font-display: 'DM Serif Display', Georgia, 'Times New Roman', serif;
    --font-body: 'Manrope', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --shadow-s: 0 4px 14px rgba(31, 45, 27, .06);
    --shadow: 0 14px 34px rgba(31, 45, 27, .10);

    --verde-leaf: #3E8E4E;
    --verde-lime: #CDEB8B;
    --verde-avocado: #7BAE5A;
    --verde-lemon: #F4D35E;
    --verde-terracotta: #D97A4A;
    --verde-cream: #F4F9EC;
}

body.theme-verde {
    background-color: var(--verde-cream);
    background-image:
        radial-gradient(circle at 12% 8%, rgba(205, 235, 139, .34), transparent 28%),
        radial-gradient(circle at 88% 92%, rgba(123, 174, 90, .14), transparent 30%);
}

.theme-verde .pwa-shell {
    background: var(--verde-cream);
}

/* ── Portada ─────────────────────────────────────────────────────────────── */

.theme-verde .hero-media {
    height: 250px;
    background: linear-gradient(145deg, #2F6F42, #8FBE6A);
}

.theme-verde .hero-media::after {
    background: linear-gradient(180deg, rgba(20, 34, 18, .42) 0%, rgba(20, 34, 18, .04) 44%, rgba(20, 34, 18, .42) 100%);
}

.theme-verde .topbar .icon-btn {
    border-color: rgba(255, 255, 255, .34);
    background: rgba(31, 45, 27, .42);
}

.theme-verde .table-chip {
    background: var(--verde-lime);
    color: var(--ink);
    border: 1.5px solid var(--ink);
    box-shadow: 0 3px 0 var(--ink);
}

.theme-verde .table-chip::before {
    background: var(--verde-leaf);
}

.theme-verde .hero-id {
    align-items: flex-end;
    margin: -48px 14px 0;
    padding: 12px 14px;
    border: 1.5px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, .94);
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.theme-verde .hero-logo {
    width: 77px;
    height: 77px;
    border: 3px solid var(--surface);
    border-radius: 50%;
    background: var(--verde-leaf);
    color: var(--verde-lime);
    box-shadow: 0 0 0 2px var(--verde-leaf);
}

.theme-verde .hero-name h1 {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 400;
    letter-spacing: -.015em;
}

.theme-verde .hero-meta {
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.theme-verde .hero-status {
    color: var(--verde-leaf);
}

/* ── Herramientas y categorías ───────────────────────────────────────────── */

.theme-verde .tools {
    padding-top: 20px;
}

.theme-verde .search-box {
    border-color: var(--line);
    border-radius: 999px;
    background: var(--surface);
    box-shadow: var(--shadow-s);
}

.theme-verde .search-box:focus-within {
    border-color: var(--verde-leaf);
    box-shadow: 0 0 0 3px rgba(62, 142, 78, .12);
}

.theme-verde .tools .icon-btn.solid {
    border-radius: 999px;
    background: var(--verde-leaf);
    color: #fff;
}

.theme-verde .lang-select {
    border-radius: 999px;
    border-color: var(--line);
    background: var(--surface);
}

.theme-verde .cats {
    background: linear-gradient(180deg, var(--verde-cream) 78%, transparent);
    padding-bottom: 14px;
}

.theme-verde .chip {
    border-color: var(--line);
    border-radius: 999px;
    background: var(--surface);
    color: var(--ink);
    padding: 9px 15px;
    font-size: 11.5px;
    font-weight: 700;
    box-shadow: var(--shadow-s);
}

.theme-verde .chip.active {
    border-color: var(--verde-leaf);
    background: var(--verde-leaf);
    color: #fff;
    box-shadow: 0 4px 12px rgba(62, 142, 78, .24);
}

/* ── Destacados ──────────────────────────────────────────────────────────── */

.theme-verde .feat {
    border-color: var(--line);
    border-radius: 18px;
    background: var(--surface);
    box-shadow: var(--shadow-s);
}

.theme-verde .feat-img {
    height: 108px;
    background: var(--surface-2);
}

.theme-verde .feat-tag {
    border: 1px solid var(--verde-leaf);
    border-radius: 999px;
    background: var(--verde-lime);
    color: var(--ink);
    font-size: 8px;
    font-weight: 800;
}

.theme-verde .feat-body {
    padding: 10px 12px 12px;
}

.theme-verde .feat-body h3 {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.2;
}

.theme-verde .feat-body p {
    color: var(--muted);
    font-size: 10px;
}

.theme-verde .feat-foot {
    color: var(--verde-leaf);
    font-size: 12.5px;
}

/* ── Menú ────────────────────────────────────────────────────────────────── */

.theme-verde .cat-title {
    color: var(--verde-leaf);
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 400;
    letter-spacing: -.01em;
}

.theme-verde .cat-title small {
    padding: 3px 8px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    color: var(--verde-leaf);
    font-family: var(--font-body);
    font-size: 9px;
    font-weight: 700;
}

.theme-verde .sub-title {
    color: var(--verde-leaf);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .14em;
}

.theme-verde .dish {
    gap: 12px;
    padding: 11px;
    border: 1.5px solid var(--line);
    border-radius: 18px;
    background: var(--surface);
    box-shadow: var(--shadow-s);
}

.theme-verde .dish:hover {
    border-color: var(--verde-avocado);
    box-shadow: var(--shadow);
}

.theme-verde .dish-media {
    width: 88px;
    height: 88px;
    border-radius: 13px;
    background: var(--surface-2);
}

.theme-verde .dish-head h3 {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.3;
}

.theme-verde .dish-price {
    padding: 3px 8px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--verde-lime);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 11.5px;
    font-weight: 800;
}

.theme-verde .dish-desc {
    color: var(--muted);
    font-size: 10.5px;
}

.theme-verde .tag {
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--verde-cream);
    color: var(--muted);
    font-size: 8px;
    font-weight: 700;
}

.theme-verde .tag.veg {
    border-color: #B8D99C;
    background: #E4F4D7;
    color: #2F6F42;
}

.theme-verde .tag.nonveg {
    border-color: #EBCBB8;
    background: #FBEDE4;
    color: #9A4D2C;
}

.theme-verde .add {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--verde-leaf);
    color: #fff;
    box-shadow: 0 6px 14px rgba(62, 142, 78, .26);
}

.theme-verde .dish-foot .hint {
    color: var(--muted);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

/* ── Carrito y hojas ─────────────────────────────────────────────────────── */

.theme-verde .cartbar {
    border: 0;
    border-radius: 999px;
    background: var(--verde-leaf);
    color: #fff;
    box-shadow: 0 16px 34px rgba(31, 45, 27, .28);
}

.theme-verde .cartbar-count {
    border-radius: 50%;
    background: var(--verde-lime);
    color: var(--ink);
}

.theme-verde .cartbar-text {
    color: rgba(255, 255, 255, .78);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.theme-verde .cartbar-text b {
    color: #fff;
    font-size: 13px;
    text-transform: none;
}

.theme-verde .cartbar-go {
    border-radius: 999px;
    background: var(--verde-lime);
    color: var(--ink);
    font-weight: 800;
}

.theme-verde .panel {
    border-top: 3px solid var(--verde-leaf);
    background: var(--verde-cream);
    box-shadow: 0 -18px 44px rgba(31, 45, 27, .22);
}

.theme-verde .panel-head {
    background: var(--verde-cream);
    border-bottom: 1px solid var(--line);
}

.theme-verde .panel-head h2 {
    color: var(--verde-leaf);
    font-family: var(--font-display);
    font-size: 21px;
    font-weight: 400;
}

.theme-verde .panel-head .icon-btn {
    background: var(--surface);
    border-color: var(--line);
    color: var(--ink);
}

.theme-verde .btn {
    border-radius: 999px;
    font-weight: 800;
    letter-spacing: .02em;
}

.theme-verde .btn-primary {
    background: var(--verde-leaf);
    color: #fff;
    box-shadow: 0 10px 24px rgba(62, 142, 78, .26);
}

.theme-verde .btn-ghost {
    background: var(--surface-2);
    color: var(--ink);
}

.theme-verde .btn-dark {
    background: var(--ink);
    color: var(--verde-cream);
}

.theme-verde .field label {
    color: var(--ink);
    font-weight: 800;
}

.theme-verde .field input,
.theme-verde .field select,
.theme-verde .field textarea {
    border-color: var(--line);
    border-radius: 12px;
    background: var(--surface);
}

.theme-verde .field input:focus,
.theme-verde .field select:focus,
.theme-verde .field textarea:focus {
    border-color: var(--verde-leaf);
    box-shadow: 0 0 0 3px rgba(62, 142, 78, .12);
}

.theme-verde .segmented label {
    border-color: var(--line);
    border-radius: 999px;
    background: var(--surface);
    color: var(--ink);
    font-weight: 700;
}

.theme-verde .segmented label:has(input:checked) {
    border-color: var(--verde-leaf);
    background: var(--verde-lime);
    color: var(--ink);
}

.theme-verde .pay-option {
    border-color: var(--line);
    border-radius: 13px;
    background: var(--surface);
}

.theme-verde .pay-option:has(input:checked) {
    border-color: var(--verde-leaf);
    background: #EEF8E5;
}

.theme-verde .pay-option input {
    accent-color: var(--verde-leaf);
}

.theme-verde .site-foot {
    margin-top: 18px;
    border-top: 1px solid var(--line);
    background: linear-gradient(180deg, transparent, rgba(123, 174, 90, .08));
    color: var(--muted);
}

@media (min-width: 620px) {
    .theme-verde .pwa-shell {
        border: 1px solid var(--line);
        border-radius: 26px;
        box-shadow: 0 18px 50px rgba(31, 45, 27, .12);
        margin: 24px auto;
        min-height: calc(100dvh - 48px);
    }
}
