/* ============================================================
   Club Qué Mango Biche — estilos
   ============================================================ */

:root {
  --mango: #ffd23f;
  --mango-deep: #f2c200;
  --orange: #1b8f50;
  --deep: #0b6b3a;
  --green: #157a45;
  --green-soft: #e6f5ec;
  --ink: #10281b;
  --muted: #5f7367;
  --line: #dfede3;
  --cream: #f7fbf8;
  --card: #ffffff;
  --shadow: 0 10px 30px rgba(16, 80, 48, 0.09);
  --shadow-sm: 0 4px 14px rgba(16, 80, 48, 0.08);
  --radius: 18px;
  --radius-sm: 12px;
  --nav-h: 68px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.client {
  background:
    radial-gradient(1000px 500px at 100% -10%, rgba(255, 210, 63, 0.35), transparent 60%),
    radial-gradient(800px 400px at -10% 10%, rgba(27, 143, 80, 0.12), transparent 60%),
    url("/assets/fondo-tropical.svg") repeat,
    var(--cream);
  background-size: auto, auto, 260px 260px, auto;
}

h1, h2, h3, h4, p {
  margin: 0;
}

button {
  font: inherit;
  cursor: pointer;
}

a {
  color: var(--deep);
  font-weight: 600;
  text-decoration: none;
}

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

.hidden {
  display: none !important;
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 13px;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

.spread {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

/* ---------------------------- Botones ---------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 13px 20px;
  font-weight: 700;
  font-size: 15px;
  background: #e9f4ed;
  color: var(--ink);
  transition: transform 0.08s ease, box-shadow 0.15s ease, filter 0.15s ease;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: linear-gradient(135deg, #157a45, #0b6b3a);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(11, 61, 35, 0.28);
}

.btn-primary:hover {
  filter: brightness(1.04);
}

.btn-dark {
  background: #0b3d23;
  color: #ffffff;
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--line);
  color: var(--ink);
}

.btn-green {
  background: var(--green);
  color: #fff;
}

.btn-danger {
  background: #fdeceb;
  color: #b3261e;
}

.btn-sm {
  padding: 8px 14px;
  font-size: 13px;
}

.btn-block {
  width: 100%;
}

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

.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 0;
  background: #e9f4ed;
  color: var(--ink);
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.icon-btn:hover {
  background: #dcefe4;
}

/* ---------------------------- Inputs ---------------------------- */

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
}

.field > span {
  color: #3f574a;
}

.field input,
.field select,
.field textarea,
input.control,
select.control,
textarea.control {
  width: 100%;
  border: 1.5px solid var(--line);
  background: #fbfefc;
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  font-weight: 500;
  color: var(--ink);
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus,
input.control:focus,
select.control:focus,
textarea.control:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(27, 143, 80, 0.18);
}

.field textarea {
  resize: vertical;
  min-height: 72px;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hint {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.5;
  font-weight: 500;
}

.hint b {
  color: var(--ink);
}

/* ---------------------------- Tarjetas ---------------------------- */

.card {
  background: var(--card);
  border: 1px solid #e6f2ea;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 18px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: #e9f4ed;
  color: #4b6255;
  white-space: nowrap;
}

.badge.green {
  background: var(--green-soft);
  color: var(--green);
}

.badge.amber {
  background: #fff6cc;
  color: #7a6000;
}

.badge.red {
  background: #fdeceb;
  color: #b3261e;
}

.badge.blue {
  background: #e8f1fb;
  color: #1c5d99;
}

/* ---------------------------- Auth ---------------------------- */

.auth-screen {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 26px 18px 36px;
  gap: 18px;
  color: #ffffff;
  background:
    linear-gradient(180deg, rgba(11, 61, 35, 0.86) 0%, rgba(11, 61, 35, 0.62) 40%, rgba(11, 61, 35, 0.92) 100%),
    url("/assets/productos/chamoyada.jpg") center 35%/cover no-repeat;
}

.auth-hero {
  text-align: center;
  max-width: 420px;
}

.auth-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 210, 63, 0.55);
  background: rgba(11, 61, 35, 0.4);
  color: var(--mango);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.auth-logo {
  width: 116px;
  height: 116px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin: 0 auto 10px;
  border: 3px solid #ffffff;
  box-shadow: 0 16px 34px rgba(11, 61, 35, 0.22);
}

.auth-hero h1 {
  font-size: 28px;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.4);
}

.auth-hero h1 span {
  color: var(--mango);
}

.auth-hero p {
  color: rgba(255, 255, 255, 0.92);
  margin-top: 6px;
  font-size: 15px;
  line-height: 1.5;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.auth-card {
  width: 100%;
  max-width: 420px;
  padding: 22px;
  color: var(--ink);
}

.tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  background: #e9f4ed;
  border-radius: 999px;
  padding: 5px;
  margin-bottom: 18px;
}

.tab {
  border: 0;
  background: transparent;
  border-radius: 999px;
  padding: 10px;
  font-weight: 700;
  color: #5f7367;
}

.tab.active {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 3px 10px rgba(16, 80, 48, 0.09);
}

.auth-foot {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.78);
}

.auth-foot a {
  color: var(--mango);
}

/* ---------------------------- App ---------------------------- */

.app {
  max-width: 560px;
  margin: 0 auto;
  min-height: 100vh;
  padding-bottom: calc(var(--nav-h) + 26px);
  position: relative;
}

.app-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px 12px;
  background: rgba(247, 251, 248, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(223, 237, 227, 0.75);
}

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

.brand-logo {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 50%;
  object-fit: cover;
  background: #0b3d23;
  border: 2px solid #ffffff;
  box-shadow: 0 6px 14px rgba(11, 61, 35, 0.28);
}

.admin-login .brand-logo {
  width: 56px;
  height: 56px;
  flex-basis: 56px;
}

.sidebar .brand-logo {
  width: 40px;
  height: 40px;
  flex-basis: 40px;
}

.brand strong {
  display: block;
  font-size: 16px;
  line-height: 1.1;
}

.brand small {
  font-size: 11.5px;
  color: var(--muted);
  font-weight: 600;
}

.points-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 800;
  font-size: 15px;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.points-pill span {
  font-size: 14px;
}

main {
  padding: 18px 18px 0;
}

.view-head {
  margin-bottom: 14px;
}

.view-head h2 {
  font-size: 24px;
  letter-spacing: -0.4px;
}

.view-head p {
  color: var(--muted);
  font-size: 14px;
  margin-top: 2px;
}

.section-title {
  font-size: 16px;
  margin: 24px 0 10px;
  letter-spacing: -0.2px;
}

/* ------------------------- Hero puntos ------------------------- */

.points-hero {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  padding: 22px;
  background:
    linear-gradient(120deg, rgba(11, 61, 35, 0.94) 0%, rgba(11, 61, 35, 0.72) 48%, rgba(11, 61, 35, 0.42) 100%),
    url("/assets/productos/mango-loco.jpg") right center/cover no-repeat;
  color: #ffffff;
  box-shadow: 0 16px 34px rgba(11, 61, 35, 0.28);
}

.points-hero::before,
.points-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.points-hero::before {
  width: 190px;
  height: 190px;
  right: -60px;
  top: -80px;
}

.points-hero::after {
  width: 120px;
  height: 120px;
  right: 40px;
  bottom: -70px;
  background: rgba(255, 255, 255, 0.12);
}

.points-hero .label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  opacity: 0.75;
}

.points-hero .big {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 4px 0 2px;
}

.points-hero .big b {
  font-size: 52px;
  line-height: 1;
  letter-spacing: -2px;
}

.points-hero .big span {
  font-size: 15px;
  font-weight: 700;
}

.points-hero .sub {
  font-size: 13.5px;
  font-weight: 600;
  opacity: 0.85;
  max-width: 78%;
}

.progress {
  margin-top: 16px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  overflow: hidden;
  position: relative;
}

.progress > i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--mango);
  transition: width 0.6s ease;
}

.progress-text {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  margin-top: 8px;
  opacity: 0.8;
}

/* --------------------------- Accesos --------------------------- */

.quick-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
}

.quick-card {
  border: 0;
  text-align: left;
  border-radius: var(--radius);
  padding: 16px;
  background: #fff;
  border: 1px solid #e6f2ea;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform 0.1s ease;
}

.quick-card:active {
  transform: scale(0.98);
}

.quick-card .emoji {
  font-size: 26px;
}

.quick-card strong {
  font-size: 15px;
  line-height: 1.25;
}

.quick-card small {
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
}

.quick-card .gain {
  color: var(--green);
  font-weight: 800;
  font-size: 13px;
}

.quick-card.quick-photo {
  position: relative;
  overflow: hidden;
  padding: 0;
  min-height: 168px;
  color: #ffffff;
  background: #0b3d23;
  border: 0;
  box-shadow: 0 12px 26px rgba(11, 61, 35, 0.2);
}

.quick-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  transition: transform 0.5s ease;
}

.quick-card.quick-photo:hover .quick-bg {
  transform: scale(1.05);
}

.quick-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 61, 35, 0.05) 0%, rgba(11, 61, 35, 0.55) 42%, rgba(11, 61, 35, 0.95) 100%);
}

.quick-veil.warm {
  background: linear-gradient(180deg, rgba(80, 30, 0, 0.05) 0%, rgba(11, 61, 35, 0.5) 42%, rgba(11, 61, 35, 0.95) 100%);
}

.quick-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
  justify-content: flex-end;
  min-height: 168px;
  padding: 15px;
  text-align: left;
}

.quick-photo .emoji {
  font-size: 22px;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
}

.quick-photo strong {
  color: #ffffff;
  font-size: 15.5px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.quick-photo small {
  color: rgba(255, 255, 255, 0.84);
  font-size: 11.5px;
  line-height: 1.35;
}

.quick-photo .gain {
  color: var(--mango);
  font-size: 12.5px;
  margin-top: 2px;
}

/* ---------------------- Antojo del día ---------------------- */

.crave-banner {
  position: relative;
  display: grid;
  grid-template-columns: 124px minmax(0, 1fr);
  gap: 13px;
  margin-top: 14px;
  padding: 12px;
  border-radius: 22px;
  border: 1px solid #f2d265;
  background:
    radial-gradient(280px 160px at 100% 0%, rgba(255, 255, 255, 0.75), transparent 65%),
    linear-gradient(135deg, #fff7d4 0%, #ffe27a 55%, #ffc93c 100%);
  box-shadow: 0 14px 30px rgba(180, 120, 0, 0.18);
  overflow: hidden;
}

.crave-media {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 18px rgba(120, 75, 0, 0.2);
}

.crave-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.crave-badge {
  position: absolute;
  top: 7px;
  left: 7px;
  background: linear-gradient(135deg, #f0642d, #d94a12);
  color: #ffffff;
  font-size: 8.5px;
  font-weight: 900;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  padding: 4px 7px;
  border-radius: 999px;
  box-shadow: 0 5px 12px rgba(160, 52, 8, 0.35);
  white-space: nowrap;
}

.crave-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  min-width: 0;
  padding: 4px 2px 2px;
}

.crave-copy > small {
  color: #8a4b00;
  font-size: 9.5px;
  font-weight: 900;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}

.crave-copy > strong {
  color: #0b3d23;
  font-size: 21px;
  letter-spacing: -0.4px;
  line-height: 1.05;
}

.crave-copy > p {
  color: #6b4a12;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.crave-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 2px;
}

.crave-meta b {
  color: #0b3d23;
  font-size: 18px;
  line-height: 1;
}

.crave-meta span {
  background: #0b3d23;
  color: #ffffff;
  font-size: 9.5px;
  font-weight: 800;
  padding: 3px 7px;
  border-radius: 999px;
}

.crave-btn {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 0;
  border-radius: 999px;
  padding: 8px 12px;
  background: #0b3d23;
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 800;
  box-shadow: 0 7px 16px rgba(11, 61, 35, 0.25);
  transition: transform 0.1s ease;
}

.crave-btn:active {
  transform: scale(0.97);
}

/* ------------------------- Más pedidos ------------------------- */

.fav-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 2px 2px 8px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.fav-scroll::-webkit-scrollbar {
  display: none;
}

.fav-card {
  flex: 0 0 122px;
  scroll-snap-align: start;
  border: 1px solid #e6f2ea;
  background: #fff;
  border-radius: 16px;
  padding: 8px;
  text-align: left;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: transform 0.1s ease;
}

.fav-card:active {
  transform: scale(0.97);
}

.fav-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #fff6cc, #d9f2e3);
  font-size: 34px;
}

.fav-cta {
  position: absolute;
  right: 6px;
  bottom: 6px;
  background: rgba(255, 255, 255, 0.94);
  color: #0b3d23;
  font-size: 9.5px;
  font-weight: 900;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 4px 7px;
  border-radius: 999px;
  box-shadow: 0 4px 10px rgba(11, 61, 35, 0.2);
}

.fav-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fav-card strong {
  font-size: 12.5px;
  line-height: 1.2;
  padding: 0 2px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.fav-card small {
  font-size: 12px;
  font-weight: 800;
  color: var(--green);
  padding: 0 2px 2px;
}

/* -------------------------- Movimientos -------------------------- */

.tx {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px dashed #e4f1e9;
}

.tx:last-child {
  border-bottom: 0;
}

.tx-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  font-size: 20px;
  background: #f0faf4;
}

.tx-main {
  flex: 1;
  min-width: 0;
}

.tx-main strong {
  display: block;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tx-main small {
  color: var(--muted);
  font-size: 12px;
}

.tx-points {
  font-weight: 800;
  font-size: 14.5px;
  white-space: nowrap;
}

.tx-points.plus {
  color: var(--green);
}

.tx-points.minus {
  color: #b3261e;
}

.banner {
  display: block;
  padding: 13px 15px;
  border-radius: 14px;
  background: #fff9dd;
  border: 1px solid #ffe89a;
  font-size: 13.5px;
  line-height: 1.45;
  font-weight: 600;
  color: #4a5c10;
  margin-bottom: 12px;
}

.banner.green {
  background: var(--green-soft);
  border-color: #b9e3c9;
  color: #0b6b3a;
}

.banner.blue {
  background: #eaf3fd;
  border-color: #cfe3f8;
  color: #1c5d99;
}

/* ---------------------------- Menú ---------------------------- */

.chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 0 12px;
  scrollbar-width: none;
}

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

.chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1.5px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
  color: #4b6255;
  white-space: nowrap;
}

.chip-emoji {
  font-size: 14px;
  line-height: 1;
}

.chip.active {
  background: #0b3d23;
  color: #ffffff;
  border-color: #0b3d23;
  box-shadow: 0 6px 16px rgba(11, 61, 35, 0.22);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(136px, 1fr));
  gap: 12px;
}

.menu-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e6f2ea;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  min-width: 0;
}

.menu-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #fff6cc, #d9f2e3);
  font-size: 44px;
}

.menu-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.menu-card:hover .menu-photo img {
  transform: scale(1.04);
}

.photo-emoji {
  font-size: 44px;
  line-height: 1;
}

.menu-cat {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(255, 255, 255, 0.92);
  color: #0b3d23;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 8px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
  max-width: calc(100% - 70px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.menu-top {
  position: absolute;
  top: 8px;
  right: 8px;
  background: linear-gradient(135deg, #f0642d, #d94a12);
  color: #ffffff;
  font-size: 9.5px;
  font-weight: 900;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 999px;
  box-shadow: 0 5px 12px rgba(160, 52, 8, 0.35);
}

.menu-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 10px 11px 11px;
  gap: 3px;
}

.menu-body strong {
  font-size: 14px;
  line-height: 1.2;
}

.menu-body p {
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 31px;
}

.menu-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-top: auto;
  padding-top: 6px;
}

.menu-price {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.menu-price b {
  font-size: 15px;
  line-height: 1;
}

.menu-price .badge {
  align-self: flex-start;
  font-size: 10px;
  padding: 3px 7px;
}

.menu-card .add-btn {
  width: 34px;
  height: 34px;
  font-size: 18px;
  flex: 0 0 34px;
}

.menu-card .stepper {
  padding: 2px;
}

.menu-card .stepper button {
  width: 26px;
  height: 26px;
  font-size: 14px;
}

.menu-card .stepper b {
  min-width: 20px;
  font-size: 13px;
}

.price-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.price-line b {
  font-size: 15px;
}

.stepper {
  display: flex;
  align-items: center;
  gap: 2px;
  background: #e9f4ed;
  border-radius: 999px;
  padding: 3px;
}

.stepper button {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 0;
  background: #fff;
  font-weight: 800;
  font-size: 16px;
  color: var(--ink);
  display: grid;
  place-items: center;
  box-shadow: 0 2px 6px rgba(16, 80, 48, 0.09);
}

.stepper b {
  min-width: 26px;
  text-align: center;
  font-size: 14px;
}

.add-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 0;
  background: linear-gradient(135deg, #1b8f50, #0b6b3a);
  color: #ffffff;
  font-size: 20px;
  font-weight: 800;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 14px rgba(27, 143, 80, 0.28);
}

.cart-bar {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(var(--nav-h) + 12px);
  width: min(524px, calc(100% - 32px));
  background: #0b3d23;
  color: #ffffff;
  border-radius: 999px;
  padding: 9px 9px 9px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 16px 34px rgba(10, 40, 26, 0.32);
  z-index: 35;
  animation: rise 0.2s ease;
}

.cart-bar b {
  font-size: 14px;
}

.cart-bar .btn {
  padding: 11px 18px;
}

@keyframes rise {
  from { transform: translate(-50%, 12px); opacity: 0; }
  to { transform: translate(-50%, 0); opacity: 1; }
}

/* -------------------------- Historias -------------------------- */

.challenge {
  border-radius: 16px;
  padding: 16px;
  background: linear-gradient(135deg, #fff8d6, #e6f5ec);
  border: 1px solid #ffe08f;
}

.challenge h3 {
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.challenge p {
  font-size: 13px;
  color: #4a5c10;
  margin-top: 4px;
  line-height: 1.45;
  font-weight: 600;
}

.challenge .reward {
  display: inline-flex;
  margin-top: 8px;
  background: #0b3d23;
  color: var(--mango);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 12.5px;
  font-weight: 800;
}

.dropzone {
  position: relative;
  border: 2px dashed #cfe6d9;
  background: #fbfefc;
  border-radius: 16px;
  min-height: 130px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 18px;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.dropzone:hover {
  border-color: var(--green);
  background: #f4fbf7;
}

.dropzone .dz-inner {
  color: #5f7367;
  font-size: 13.5px;
  font-weight: 700;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
}

.dropzone .dz-inner span {
  font-size: 30px;
}

.dropzone img.preview {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
}

.thumb-sm {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  border-radius: 12px;
  object-fit: cover;
  background: #e9f4ed;
}

.story-item {
  display: flex;
  gap: 12px;
  align-items: center;
  background: #fff;
  border: 1px solid #e6f2ea;
  border-radius: 14px;
  padding: 10px;
}

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

.story-item strong {
  font-size: 13.5px;
}

.story-item small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 2px;
}

/* --------------------------- Premios --------------------------- */

.reward {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid #e6f2ea;
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: var(--shadow-sm);
}

.reward .emoji {
  position: relative;
  width: 68px;
  height: 68px;
  flex: 0 0 68px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 30px;
  background: linear-gradient(135deg, #fff6cc, #d9f2e3);
  overflow: hidden;
}

.reward .emoji img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.reward-stamp {
  position: absolute;
  left: 50%;
  bottom: 5px;
  transform: translateX(-50%);
  background: var(--mango);
  color: #0b3d23;
  font-size: 8.5px;
  font-weight: 900;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 999px;
  box-shadow: 0 3px 8px rgba(11, 61, 35, 0.25);
}

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

.reward .info strong {
  display: block;
  font-size: 15px;
}

.reward .info small {
  color: var(--muted);
  font-size: 12.5px;
  display: block;
  margin: 2px 0 4px;
}

.reward .cost {
  font-weight: 800;
  font-size: 13px;
  color: var(--green);
}

.code-box {
  font-family: "Consolas", "SFMono-Regular", monospace;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 3px;
  background: #fff9dd;
  border: 1.5px dashed #9ed3b5;
  border-radius: 14px;
  padding: 14px;
  text-align: center;
  color: var(--green);
  margin: 12px 0;
}

/* -------------------------- Navegación -------------------------- */

.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(560px, 100%);
  height: calc(var(--nav-h) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
  z-index: 40;
}

.nav-btn {
  border: 0;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--muted);
  padding: 6px 2px 8px;
  position: relative;
}

.nav-btn .ico {
  font-size: 21px;
  line-height: 1;
  filter: grayscale(0.35);
  opacity: 0.8;
  transition: transform 0.12s ease;
}

.nav-btn.active {
  color: var(--ink);
}

.nav-btn.active .ico {
  filter: none;
  opacity: 1;
  transform: translateY(-1px);
}

.nav-btn.active::after {
  content: "";
  position: absolute;
  top: 0;
  width: 22px;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, var(--mango), var(--mango-deep));
}

/* ---------------------------- Perfil ---------------------------- */

.profile-card {
  background: #fff;
  border: 1px solid #e6f2ea;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.profile-cover {
  position: relative;
  height: 132px;
  background:
    linear-gradient(120deg, rgba(11, 61, 35, 0.82) 0%, rgba(11, 61, 35, 0.3) 100%),
    url("/assets/hero/fachada.jpg") center 45%/cover no-repeat;
}

.profile-cover .avatar {
  position: absolute;
  left: 18px;
  bottom: -30px;
  width: 78px;
  height: 78px;
  flex-basis: 78px;
  font-size: 26px;
  border: 4px solid #ffffff;
  box-shadow: 0 8px 20px rgba(11, 61, 35, 0.24);
}

.profile-info {
  padding: 40px 18px 18px;
}

.profile-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  background: #fff;
  border: 1px solid #e6f2ea;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.social-links {
  display: grid;
  gap: 8px;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--green-soft);
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 600;
  transition: background 0.15s ease;
}

.social-link:hover {
  background: #d9f0e2;
}

.social-link .social-ico {
  font-size: 18px;
  line-height: 1;
}

.social-link .social-name {
  color: var(--muted);
  font-weight: 600;
}

.social-link b {
  margin-left: auto;
  color: var(--green);
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.avatar {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 20px;
  color: #ffffff;
  background: linear-gradient(135deg, #1b8f50, #0b6b3a);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 12px 0;
}

.stat {
  background: #fff;
  border: 1px solid #e6f2ea;
  border-radius: 14px;
  padding: 12px 10px;
  text-align: center;
}

.stat b {
  display: block;
  font-size: 20px;
  letter-spacing: -0.5px;
}

.stat small {
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 600;
}

/* ---------------------------- Toast ---------------------------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(var(--nav-h) + 22px);
  transform: translate(-50%, 20px);
  background: #0b3d23;
  color: #ffffff;
  padding: 13px 18px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 18px 40px rgba(10, 40, 26, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s ease;
  z-index: 90;
  max-width: min(460px, calc(100% - 36px));
  text-align: center;
  line-height: 1.4;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.toast.error {
  background: #8f1d18;
}

/* ---------------------------- Sheet ---------------------------- */

.sheet-wrap {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.sheet-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 40, 26, 0.45);
  backdrop-filter: blur(2px);
}

.sheet {
  position: relative;
  width: min(560px, 100%);
  max-height: 88vh;
  overflow-y: auto;
  background: #fbfefc;
  border-radius: 24px 24px 0 0;
  padding: 18px 18px calc(22px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -20px 50px rgba(10, 40, 26, 0.25);
  animation: sheetUp 0.22s ease;
}

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

.sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.sheet-head h3 {
  font-size: 19px;
}

.order-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  font-size: 14px;
  border-bottom: 1px dashed #e4f1e9;
}

.order-line:last-of-type {
  border-bottom: 0;
}

/* Controles del carrito: más, menos y quitar producto */
.cart-line {
  align-items: center;
  flex-wrap: wrap;
}

.cart-line-info {
  display: flex;
  flex: 1;
  min-width: 120px;
  flex-direction: column;
  gap: 2px;
}

.cart-line-info small {
  color: #64748b;
  font-size: 12px;
}

.cart-line-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-line-actions .stepper {
  padding: 2px;
}

.cart-line-actions .stepper button {
  width: 28px;
  height: 28px;
  font-size: 14px;
}

.cart-line-total {
  min-width: 64px;
  text-align: right;
  font-size: 14px;
}

.cart-remove {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: #fee2e2;
  color: #b91c1c;
  font-weight: 800;
  font-size: 13px;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.cart-actions {
  display: flex;
  justify-content: flex-end;
  padding: 8px 0 2px;
}

/* Observación por producto para cocina */
.cart-item {
  padding: 4px 0 10px;
  border-bottom: 1px solid #f1f5f9;
}

.cart-item:last-of-type {
  border-bottom: 0;
}

.cart-note {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 8px;
}

.cart-note span {
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
}

.cart-note input {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font-size: 13px;
  background: #fff;
}

.cart-note input:focus {
  outline: 2px solid #f59e0b;
  outline-offset: 1px;
}

.totals {
  background: #f1fbf5;
  border-radius: 14px;
  padding: 12px 14px;
  margin: 12px 0;
}

.totals div {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  padding: 3px 0;
}

.totals .grand {
  font-weight: 800;
  font-size: 17px;
  border-top: 1px dashed #cfe6d9;
  margin-top: 6px;
  padding-top: 8px;
}

/* --------------------------- Admin --------------------------- */

body.admin {
  background: #f2f8f4;
}

.admin-login {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(600px 400px at 20% 0%, rgba(255, 210, 63, 0.35), transparent 60%),
    #f2f8f4;
}

.admin-login .card {
  width: 100%;
  max-width: 380px;
  padding: 28px;
}

.admin-login h1 {
  font-size: 24px;
  margin-bottom: 4px;
}

.admin-shell {
  display: grid;
  grid-template-columns: 250px 1fr;
  min-height: 100vh;
}

.sidebar {
  background: #0b3d23;
  color: #eaf7ee;
  padding: 22px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: sticky;
  top: 0;
  height: 100vh;
}

.sidebar .brand {
  margin-bottom: 18px;
  padding: 0 6px;
}

.sidebar .brand strong {
  color: #fff8d6;
}

.sidebar .brand small {
  color: #9dbfa9;
}

.side-link {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 0;
  background: transparent;
  color: #c8e6d3;
  text-align: left;
  padding: 11px 12px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
}

.side-link:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff8d6;
}

.side-link.active {
  background: linear-gradient(135deg, rgba(255, 210, 63, 0.22), rgba(27, 143, 80, 0.16));
  color: var(--mango);
}

.side-link .ico {
  width: 22px;
  text-align: center;
}

.sidebar-foot {
  margin-top: auto;
  font-size: 11.5px;
  color: #8fb7a0;
  line-height: 1.5;
  padding: 10px 8px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-main {
  min-width: 0;
  padding: 24px 28px 60px;
}

.admin-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.admin-top h1 {
  font-size: 26px;
  letter-spacing: -0.6px;
}

.admin-top p {
  color: var(--muted);
  font-size: 13.5px;
  margin-top: 2px;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
}

.kpi {
  background: #fff;
  border: 1px solid #e2f0e8;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 4px 14px rgba(16, 80, 48, 0.06);
}

.kpi .label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.kpi b {
  display: block;
  font-size: 28px;
  letter-spacing: -1px;
  margin-top: 6px;
}

.kpi small {
  font-size: 12px;
  color: var(--muted);
}

.admin-cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 16px;
  margin-top: 18px;
}

.panel {
  background: #fff;
  border: 1px solid #e2f0e8;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 4px 14px rgba(16, 80, 48, 0.06);
  min-width: 0;
}

.panel h2 {
  font-size: 15px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.admin-form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
}

.admin-list-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px dashed #e4f1e9;
}

.admin-list-row:last-child {
  border-bottom: 0;
}

.admin-list-row .grow {
  flex: 1;
  min-width: 0;
}

.admin-list-row strong {
  font-size: 13.5px;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-list-row small {
  color: var(--muted);
  font-size: 12px;
}

.tx-icon.photo {
  overflow: hidden;
  padding: 0;
  background: #eef8f2;
}

.tx-icon.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-preview {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 4px 0 10px;
  padding: 8px;
  border: 1px dashed #cfe6d9;
  border-radius: 14px;
  background: #fbfefc;
}

.image-preview img {
  width: 86px;
  height: 86px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid #e6f2ea;
  background: #fff;
}

/* Búsqueda rápida de cliente en ventas */
.sale-results {
  display: grid;
  gap: 6px;
  margin-top: -4px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  max-height: 280px;
  overflow-y: auto;
}

.sale-result {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  border: 0;
  background: var(--cream);
  border-radius: 10px;
  padding: 8px 10px;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: var(--ink);
  transition: background 0.15s ease;
}

.sale-result:hover {
  background: var(--green-soft);
}

.sale-result-avatar {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.sale-result-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.sale-result-main strong {
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sale-result-main small {
  color: var(--muted);
  font-size: 12px;
}

.sale-result-go {
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.sale-empty {
  padding: 10px;
  color: var(--muted);
  font-size: 12.5px;
}

.sale-picked {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--green-soft);
  border: 1px solid #cfe9da;
}

.sale-picked-avatar {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  font-size: 13px;
}

.sale-picked-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.sale-picked-main strong {
  font-size: 13.5px;
}

.sale-picked-main small {
  color: var(--muted);
  font-size: 12px;
}

.sale-warning {
  color: #8a4b00;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.45;
}

.sale-points {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff8d9;
  border: 1px solid #f3e3a0;
}

.sale-points div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sale-points span {
  color: #6b5a10;
  font-size: 12px;
  font-weight: 600;
}

.sale-points b {
  color: var(--deep);
  font-size: 18px;
}

.sale-points small {
  color: #6b5a10;
  font-size: 12px;
  text-align: right;
}

.money {
  font-weight: 800;
  white-space: nowrap;
}

.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

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

.story-admin {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 14px;
  background: #fff;
  border: 1px solid #e2f0e8;
  border-radius: 16px;
  padding: 12px;
}

.story-admin img {
  width: 86px;
  height: 120px;
  object-fit: cover;
  border-radius: 10px;
  background: #e9f4ed;
  cursor: zoom-in;
}

.story-admin .meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.story-admin .actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
  flex-wrap: wrap;
}

.order-admin {
  background: #fff;
  border: 1px solid #e2f0e8;
  border-radius: 16px;
  padding: 14px;
}

.order-admin .head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 8px;
}

.order-admin .items {
  font-size: 13px;
  color: #2f4a3a;
  line-height: 1.6;
}

.order-admin .foot {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed #e4f1e9;
}

.modal-img {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(5, 25, 15, 0.88);
  display: grid;
  place-items: center;
  padding: 24px;
}

.modal-img img {
  max-width: min(520px, 100%);
  max-height: 88vh;
  border-radius: 12px;
  object-fit: contain;
}

.modal-img .close {
  position: absolute;
  top: 18px;
  right: 18px;
}

.code-input {
  font-family: "Consolas", monospace;
  letter-spacing: 4px;
  font-weight: 800;
  text-transform: uppercase;
}

.empty {
  text-align: center;
  padding: 30px 14px;
  color: var(--muted);
  font-size: 14px;
}

.empty .emoji {
  font-size: 34px;
  display: block;
  margin-bottom: 8px;
}

/* -------------------------- Responsive -------------------------- */

@media (min-width: 900px) {
  body.client .app {
    max-width: 600px;
    margin: 24px auto;
    background: #fbfefc;
    border-radius: 30px;
    box-shadow: 0 30px 70px rgba(16, 80, 48, 0.14);
    border: 1px solid #e3f0e8;
    min-height: calc(100vh - 48px);
    overflow: hidden;
  }

  body.client .app-header {
    border-radius: 30px 30px 0 0;
  }

  .bottom-nav {
    position: sticky;
    bottom: 0;
    transform: none;
    left: auto;
    width: 100%;
    border-radius: 0 0 30px 30px;
    height: var(--nav-h);
    margin-top: 20px;
  }

  .cart-bar {
    position: sticky;
    bottom: 12px;
    transform: none;
    left: auto;
    width: 100%;
  }

  .toast {
    bottom: 90px;
  }
}

@media (max-width: 899px) {
  .admin-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: sticky;
    top: 0;
    z-index: 50;
    height: auto;
    flex-direction: row;
    overflow-x: auto;
    padding: 10px 12px;
    gap: 4px;
    align-items: center;
  }

  .sidebar .brand,
  .sidebar-foot {
    display: none;
  }

  .side-link {
    flex-direction: column;
    gap: 3px;
    font-size: 10.5px;
    padding: 8px 10px;
    min-width: 64px;
    text-align: center;
  }

  .side-link .ico {
    font-size: 18px;
  }

  .admin-main {
    padding: 18px 14px 60px;
  }

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

  .admin-top h1 {
    font-size: 21px;
  }
}

/* [CAMBIO app] tarjeta para instalar la app */
.install-card{display:flex;align-items:center;gap:12px;justify-content:space-between;background:linear-gradient(135deg,#1B8F50,#146c3c);color:#fff;border-radius:18px;padding:14px 16px;margin:12px 0;box-shadow:0 6px 18px rgba(20,108,60,.25)}
.install-card strong{display:block;font-size:14px}
.install-card p{margin:2px 0 0;font-size:12px;opacity:.92;line-height:1.35}
.install-card .btn{white-space:nowrap;background:#fff;color:#146c3c;border:0;font-weight:800}
