/* Mesa Empresa — demo corporativa (Opción A) */

:root {
    --primary: #c45c26;
    --primary-hover: #a84d1f;
    --primary-container: #fde8dc;
    --secondary: #2d5a4a;
    --secondary-container: #e4f0eb;
    --accent: #e8b923;
    --bg: #faf7f2;
    --surface: #ffffff;
    --text: #1f2933;
    --text-muted: #52606d;
    --outline: #d9e2ec;
    --font-display: "Fraunces", Georgia, serif;
    --font-body: "DM Sans", system-ui, sans-serif;
    --nav-h: 56px;
    --bottom-nav-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    padding-bottom: calc(var(--bottom-nav-h) + 1rem);
}

img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }

.demo-banner { display: none; }

.brand {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--secondary);
    text-decoration: none;
}
.icon-btn--cart { position: relative; text-decoration: none; }
.app-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(250, 247, 242, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--outline);
}
.app-header__inner {
    max-width: 32rem;
    margin: 0 auto;
    height: var(--nav-h);
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.icon-btn {
    width: 2.5rem;
    height: 2.5rem;
    border: none;
    background: transparent;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    cursor: pointer;
}
.icon-btn:hover { background: var(--outline); }

/* Header */
.cart-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 1rem;
    height: 1rem;
    padding: 0 3px;
    background: var(--primary);
    color: #fff;
    font-size: 0.6rem;
    font-weight: 700;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
}

main { max-width: 32rem; margin: 0 auto; }

/* Hero */
.hero {
    position: relative;
    margin: 1rem;
    border-radius: 1.5rem;
    overflow: hidden;
    min-height: 26rem;
    display: flex;
    align-items: flex-end;
    box-shadow: 0 12px 40px rgba(31, 41, 51, 0.12);
}
.hero img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(31, 41, 51, 0.82) 0%, rgba(31, 41, 51, 0.2) 55%, transparent 100%);
}
.hero__content {
    position: relative;
    z-index: 1;
    padding: 1.5rem;
    width: 100%;
}
.hero__eyebrow {
    color: var(--accent);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0 0 0.5rem;
}
.hero h1 {
    font-family: var(--font-display);
    font-size: 1.85rem;
    line-height: 1.15;
    color: #fff;
    margin: 0 0 0.75rem;
    font-weight: 600;
}
.hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0 0 1.25rem;
    max-width: 18rem;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 3rem;
    padding: 0 1.25rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.15s, background 0.2s, box-shadow 0.2s;
}
.btn:active { transform: scale(0.98); }
.btn--primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 14px rgba(196, 92, 38, 0.4);
    width: 100%;
}
.btn--primary:hover { background: var(--primary-hover); }
.btn--ghost {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.35);
    width: 100%;
    margin-top: 0.65rem;
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.2); }

/* Trust bar */
.trust {
    display: flex;
    text-align: center;
    padding: 1.25rem 1rem;
    font-size: 0.72rem;
    color: var(--text-muted);
}
.trust > div { flex: 1; }
.trust__num {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.15rem;
}
.trust__num--primary { color: var(--primary); }
.trust__num--secondary { color: var(--secondary); }
.trust__num--accent { color: #b8941a; }
.trust__sep { width: 1px; background: var(--outline); }

/* Sections */
.section {
    padding: 0 1rem 2rem;
    scroll-margin-top: calc(var(--nav-h) + 0.5rem);
}
.section-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 1rem;
}
.section-head h2 {
    font-family: var(--font-display);
    font-size: 1.45rem;
    margin: 0;
    font-weight: 600;
}
.section-head a {
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
}

/* Chips */
.chips {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.75rem;
    scrollbar-width: none;
}
.chips::-webkit-scrollbar { display: none; }
.chip {
    flex-shrink: 0;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    background: var(--secondary-container);
    color: var(--secondary);
    transition: background 0.2s, color 0.2s;
}
.chip.is-active {
    background: var(--primary);
    color: #fff;
}

/* Menu cards */
.menu-card {
    display: flex;
    gap: 0.85rem;
    background: var(--surface);
    border-radius: 1rem;
    padding: 0.75rem;
    margin-bottom: 0.85rem;
    border: 1px solid var(--outline);
    box-shadow: 0 4px 16px rgba(31, 41, 51, 0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}
.menu-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(196, 92, 38, 0.1);
}
.menu-card img {
    width: 6.5rem;
    height: 6.5rem;
    border-radius: 0.75rem;
    object-fit: cover;
    flex-shrink: 0;
}
.menu-card__cat {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--secondary);
}
.menu-card h3 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    margin: 0.15rem 0;
    line-height: 1.2;
}
.menu-card p {
    margin: 0;
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.menu-card__foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.65rem;
}
.menu-card__price {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.05rem;
}
.btn-sm {
    padding: 0.4rem 0.85rem;
    min-height: auto;
    font-size: 0.8rem;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 999px;
    font-weight: 600;
    cursor: pointer;
}
.btn-sm:hover { background: var(--primary-hover); }

/* Quiz card */
.quiz-card {
    background: linear-gradient(135deg, var(--secondary-container), #f5faf7);
    border: 1px solid #b8d4c8;
    border-radius: 1.25rem;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}
.quiz-card h3 {
    font-family: var(--font-display);
    margin: 0 0 0.35rem;
    font-size: 1.15rem;
}
.quiz-card p {
    margin: 0 0 1rem;
    font-size: 0.88rem;
    color: var(--text-muted);
}

/* Checkout */
.checkout-card {
    background: var(--surface);
    border-radius: 1.25rem;
    padding: 1.25rem;
    border: 1px solid var(--outline);
    box-shadow: 0 4px 20px rgba(31, 41, 51, 0.06);
}
.step-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    margin-right: 0.5rem;
}
.checkout-card h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    margin: 0 0 1rem;
    display: flex;
    align-items: center;
}
.field {
    margin-bottom: 0.85rem;
}
.field label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 0.3rem;
}
.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 0.65rem 0.75rem;
    border: 1px solid var(--outline);
    border-radius: 0.65rem;
    background: #fdfbf8;
    color: var(--text);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: 2px solid var(--primary);
    outline-offset: 1px;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.65rem; }

.cart-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--outline);
    font-size: 0.9rem;
}
.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
}
.cart-total span:last-child { color: var(--primary); }

/* Timeline */
.timeline-item {
    display: flex;
    gap: 0.85rem;
    margin-bottom: 1.25rem;
    position: relative;
}
.timeline-item:not(:last-child)::before {
    content: "";
    position: absolute;
    left: 1.15rem;
    top: 2.5rem;
    bottom: -0.5rem;
    width: 2px;
    background: var(--outline);
}
.timeline-icon {
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: var(--outline);
    color: var(--text-muted);
}
.timeline-item.is-active .timeline-icon {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 0 0 4px var(--primary-container);
}
.timeline-item.is-done .timeline-icon {
    background: var(--secondary);
    color: #fff;
}
.timeline-item h4 {
    font-family: var(--font-display);
    margin: 0 0 0.2rem;
    font-size: 1rem;
}
.timeline-item p {
    margin: 0;
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* Bottom nav */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--outline);
    box-shadow: 0 -4px 20px rgba(31, 41, 51, 0.06);
    padding-bottom: env(safe-area-inset-bottom, 0);
}
.bottom-nav__inner {
    max-width: 32rem;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    padding: 0.35rem 0.5rem;
}
.bottom-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
    padding: 0.35rem 0.5rem;
    min-width: 4rem;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.62rem;
    font-weight: 600;
    transition: color 0.2s;
}
.bottom-nav a.is-active { color: var(--primary); }
.bottom-nav .material-symbols-outlined { font-size: 1.35rem; }

/* Toast — arriba, no sobre la bottom nav */
.toast {
    position: fixed;
    top: calc(var(--nav-h) + 0.75rem);
    bottom: auto;
    left: 50%;
    transform: translateX(-50%) translateY(-120%);
    background: var(--text);
    color: #fff;
    padding: 0.75rem 1.25rem;
    border-radius: 0.65rem;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 120;
    box-shadow: 0 8px 24px rgba(31, 41, 51, 0.2);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    max-width: calc(100% - 2rem);
    overflow: hidden;
    text-overflow: ellipsis;
}
.toast.is-visible { transform: translateX(-50%) translateY(0); }
.toast:empty { display: none; }

/* Envío referencia */
.envio-ref {
    background: var(--secondary-container);
    border: 1px solid #b8d4c8;
    border-radius: 0.75rem;
    padding: 0.85rem 1rem;
    margin-bottom: 0.85rem;
}
.envio-ref__title {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--secondary);
    margin: 0 0 0.5rem;
}
.envio-ref__title span {
    font-weight: 500;
    color: var(--text-muted);
}
.envio-ref__list {
    margin: 0;
    padding-left: 1.1rem;
    font-size: 0.82rem;
    line-height: 1.55;
    color: var(--text);
}
.envio-ref__note {
    margin: 0.5rem 0 0;
    font-size: 0.72rem;
    color: var(--text-muted);
}
.cart-line--muted span:last-child {
    color: var(--text-muted);
    font-style: italic;
    font-weight: 500;
}

.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.footer-note {
    text-align: center;
    padding: 1rem;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.section-sub {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin: -0.5rem 0 1rem;
}

.section--home { padding-top: 0.5rem; }

/* Home — cobro pendiente (collapsible) */
.home-cobro {
    margin: 0 1rem 1rem;
    max-width: 40rem;
}
.home-cobro-card {
    background: var(--surface);
    border: 1px solid var(--outline);
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(45, 90, 74, 0.08);
    overflow: hidden;
}
.home-cobro-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1rem 1.15rem;
    cursor: pointer;
    list-style: none;
}
.home-cobro-summary::-webkit-details-marker { display: none; }
.home-cobro-summary__left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}
.home-cobro-icon {
    color: var(--primary);
    font-size: 1.5rem;
    flex-shrink: 0;
}
.home-cobro-label {
    display: block;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text);
}
.home-cobro-name {
    display: block;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 0.1rem;
}
.home-cobro-total {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--secondary);
    flex-shrink: 0;
}
.home-cobro-body {
    padding: 0 1.15rem 1rem;
    border-top: 1px solid var(--outline);
}
.home-cobro-period {
    margin: 0.85rem 0 0.5rem;
    font-size: 0.82rem;
    color: var(--text-muted);
}
.home-cobro-pedidos {
    list-style: none;
    margin: 0;
    padding: 0;
    background: var(--primary-container);
    border-radius: 0.65rem;
    border: 1px solid rgba(45, 90, 74, 0.1);
}
.home-cobro-pedidos li {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.55rem 0.85rem;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(45, 90, 74, 0.08);
}
.home-cobro-pedidos li:last-child { border-bottom: none; }
.home-cobro-pedidos strong { color: var(--secondary); }
.home-cobro-note {
    margin: 0.75rem 0 0;
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.45;
}

/* Entregas — ocultar historial */
.historial-hint {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin: 0 0 1rem;
    line-height: 1.45;
}

.menu-status-line,
#menu-status-line {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: -0.5rem 0 1rem;
}
.menu-status--open,
#menu-status-line.menu-status--open {
    color: var(--primary);
    font-weight: 600;
}

/* Drawer */
.drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(31, 41, 51, 0.45);
    z-index: 80;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}
.drawer-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}
.menu-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: min(18rem, 88vw);
    height: 100%;
    background: var(--surface);
    z-index: 90;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 4px 0 24px rgba(31, 41, 51, 0.12);
}
.menu-drawer.is-open { transform: translateX(0); }
body.drawer-open { overflow: hidden; }
.menu-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    border-bottom: 1px solid var(--outline);
}
.menu-drawer__brand {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--secondary);
}
.menu-drawer__nav {
    flex: 1;
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.menu-drawer__link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.9rem;
}
.menu-drawer__link.is-active,
.menu-drawer__link:hover {
    background: var(--primary-container);
    color: var(--primary);
}
.menu-drawer__foot {
    padding: 1rem;
    border-top: 1px solid var(--outline);
}
.menu-drawer__wa { width: 100%; }

/* Pick cards (segundo / jugo) */
.pick-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.pick-list--compact {
    flex-direction: row;
    flex-wrap: wrap;
}
.pick-list--compact .pick-card {
    flex: 1 1 auto;
    min-width: calc(50% - 0.25rem);
}
.pick-card {
    position: relative;
    display: block;
    padding: 0.85rem 1rem;
    border: 2px solid var(--outline);
    border-radius: 0.75rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: border-color 0.2s, background 0.2s;
}
.pick-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.pick-card:has(input:checked) {
    border-color: var(--primary);
    background: var(--primary-container);
    color: var(--primary);
}
.toggle-row {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    cursor: pointer;
    font-size: 0.9rem;
}
.toggle-input { position: absolute; opacity: 0; pointer-events: none; }
.toggle-switch {
    width: 2.5rem;
    height: 1.4rem;
    background: var(--outline);
    border-radius: 999px;
    position: relative;
    flex-shrink: 0;
    transition: background 0.2s;
}
.toggle-switch::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 1.1rem;
    height: 1.1rem;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.2s;
    box-shadow: 0 1px 3px rgba(0,0,0,.15);
}
.toggle-input:checked + .toggle-switch {
    background: var(--primary);
}
.toggle-input:checked + .toggle-switch::after {
    transform: translateX(1.1rem);
}

/* Status banner — removed from UI */
.status-banner { display: none !important; }

/* Trust bar — removed */
.trust { display: none !important; }

/* Cobro banner — only on entregas, not floating strip */
.cobro-banner { display: none !important; }


/* Week chips */
.week-chips {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.75rem;
    margin-bottom: 1rem;
    scrollbar-width: none;
}
.week-chips::-webkit-scrollbar { display: none; }
.week-chip {
    flex-shrink: 0;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    border: 1px solid var(--outline);
    background: var(--surface);
    color: var(--text-muted);
    cursor: pointer;
}
.week-chip.is-active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* Menu builder */
.builder-card {
    background: var(--surface);
    border-radius: 1.25rem;
    padding: 1.25rem;
    border: 1px solid var(--outline);
    box-shadow: 0 4px 20px rgba(31, 41, 51, 0.06);
}
.builder-block {
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--outline);
}
.builder-block:last-of-type { border-bottom: none; }
.builder-block__title {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-display);
    font-size: 1rem;
    margin: 0 0 0.5rem;
}
.builder-block__name {
    font-weight: 600;
    margin: 0 0 0.65rem;
}
.builder-hint, .builder-note {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin: 0.5rem 0 0;
}
.toggle-row, .option-row {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.55rem 0;
    cursor: pointer;
    font-size: 0.9rem;
}
.option-row input[type="radio"],
.option-row input[type="checkbox"] {
    display: none;
}
.option-list { display: flex; flex-direction: column; }
.builder-foot {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 0.5rem;
}
.builder-qty label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    display: block;
    margin-bottom: 0.35rem;
}
.qty-control {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid var(--outline);
    border-radius: 999px;
    padding: 0.25rem;
}
.qty-control input {
    width: 2.5rem;
    text-align: center;
    border: none;
    background: transparent;
    font-weight: 700;
}
.qty-btn {
    width: 2rem;
    height: 2rem;
    border: none;
    border-radius: 999px;
    background: var(--primary-container);
    color: var(--primary);
    font-weight: 700;
    cursor: pointer;
}
.builder-total {
    text-align: center;
}
.builder-total strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--primary);
}
.builder-total small {
    color: var(--text-muted);
    font-size: 0.78rem;
}
.builder-empty {
    text-align: center;
    padding: 2rem 1rem;
    color: var(--text-muted);
}
.builder-preview-list {
    margin: 0;
    padding-left: 1.1rem;
    font-size: 0.9rem;
    line-height: 1.6;
}
.builder-preview-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin: 0 0 0.75rem;
}

/* Cart */
.cart-empty, .pedidos-empty {
    font-size: 0.88rem;
    color: var(--text-muted);
    padding: 0.5rem 0;
}
.cart-line--item {
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
}
.cart-line__main {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
}
.cart-line__detail {
    margin: 0;
    font-size: 0.78rem;
    color: var(--text-muted);
}
.cart-line__actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
}
.cart-remove {
    margin-left: auto;
    border: none;
    background: none;
    color: var(--primary);
    font-weight: 600;
    cursor: pointer;
    font-size: 0.78rem;
}

/* GPS */
.field-with-gps {
    display: flex;
    gap: 0.5rem;
}
.field-with-gps input { flex: 1; }
.btn-gps {
    width: 2.75rem;
    height: 2.75rem;
    flex-shrink: 0;
    border: 1px solid var(--outline);
    border-radius: 0.65rem;
    background: var(--secondary-container);
    color: var(--secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.gps-badge {
    display: inline-block;
    margin-top: 0.35rem;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--secondary);
}

/* Cobro card on entregas page */
.cobro-card h3 {
    font-family: var(--font-display);
    margin: 0 0 0.5rem;
}
.cobro-list {
    margin: 0.75rem 0 0;
    padding-left: 1.1rem;
    font-size: 0.85rem;
}
.cobro-acumulado {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin: 0 0 1rem;
}

/* Pedidos list */
.pedidos-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-top: 1rem;
}
.pedido-card {
    background: var(--surface);
    border: 1px solid var(--outline);
    border-radius: 1rem;
    padding: 0.85rem 1rem;
}
.pedido-card__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.pedido-card__status {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--primary);
    background: var(--primary-container);
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
}
.pedido-card__meta {
    margin: 0.35rem 0;
    font-size: 0.82rem;
    color: var(--text-muted);
}
.pedido-card__hide {
    border: none;
    background: none;
    color: var(--text-muted);
    font-size: 0.75rem;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.pedido-card__hide:hover { color: var(--primary); }
