:root {
  --fondo: #f4eee3;
  --papel: #fffdf8;
  --tinta: #1d2621;
  --suave: #69665c;
  --linea: #e4dac8;
  --verde: #1f4d33;
  --verde-2: #2b6a45;
  --verde-claro: #e5eee6;
  --mostaza: #f2c14e;
  --mostaza-claro: #fbefd2;
  --mostaza-osc: #855b00;
  --teja: #b0502b;
  --teja-claro: #f8e3d8;
  --wa: #1b9a51;
  --wa-osc: #147a3f;
  --rojo: #b3261e;
  --radio: 18px;
  --sombra: 0 1px 0 rgba(29, 38, 33, .04), 0 10px 24px -14px rgba(29, 38, 33, .35);
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Figtree', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--fondo);
  color: var(--tinta);
  font: 400 17px/1.45 var(--sans);
  padding-bottom: 108px;
  -webkit-font-smoothing: antialiased;
}
body.bloqueado { overflow: hidden; }
h1, h2, h3, p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
svg {
  width: 24px;
  height: 24px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.marco { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 16px; }
.oculto { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

:where(button, a, input, .chip):focus-visible { outline: 3px solid var(--mostaza); outline-offset: 2px; }

/* ---------------------------------------------------------------- cabecera */
/* Foto: estación de Atalaya, Marcelo Raidan, CC BY-SA 3.0 (crédito en el pie). */
.cabecera {
  --foto: url("https://upload.wikimedia.org/wikipedia/commons/thumb/2/28/Antigua_Estacion_de_trenes_-_panoramio.jpg/960px-Antigua_Estacion_de_trenes_-_panoramio.jpg");
  color: #fff;
  background-color: var(--verde);
  /* Oscuro a la izquierda (donde va el texto) y más claro a la derecha, donde se ve el cartel de la estación. */
  background-image:
    linear-gradient(90deg, rgba(12, 32, 21, .94) 0%, rgba(12, 32, 21, .82) 42%, rgba(12, 32, 21, .38) 78%, rgba(12, 32, 21, .2) 100%),
    linear-gradient(0deg, rgba(12, 32, 21, .55) 0%, rgba(12, 32, 21, 0) 50%),
    var(--foto);
  background-size: cover;
  background-position: center 42%;
}
.cabecera-in { display: flex; align-items: center; gap: 12px; min-height: 150px; padding-top: 30px; padding-bottom: 44px; }
.logo {
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 14px;
  background: var(--mostaza);
  color: var(--verde);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 20px -6px rgba(0, 0, 0, .45);
}
.logo svg { width: 28px; height: 28px; stroke-width: 2; }
.cabecera h1 { font: 700 30px/1 var(--serif); white-space: nowrap; letter-spacing: -.01em; text-shadow: 0 2px 4px rgba(0, 0, 0, .35), 0 4px 22px rgba(0, 0, 0, .5); }
.lema { margin-top: 7px; font-size: 14.5px; font-weight: 700; letter-spacing: .01em; color: #fff; text-shadow: 0 1px 3px rgba(0, 0, 0, .55), 0 2px 12px rgba(0, 0, 0, .5); }
@media (min-width: 720px) {
  .cabecera { --foto: url("https://upload.wikimedia.org/wikipedia/commons/thumb/2/28/Antigua_Estacion_de_trenes_-_panoramio.jpg/1280px-Antigua_Estacion_de_trenes_-_panoramio.jpg"); background-position: center 46%; }
  .cabecera-in { min-height: 200px; padding-bottom: 54px; gap: 18px; }
  .logo { width: 66px; height: 66px; border-radius: 19px; }
  .logo svg { width: 38px; height: 38px; }
  .cabecera h1 { font-size: 48px; }
  .lema { font-size: 18px; }
}

/* -------------------------------------------------------- franja de info */
.info-banda {
  position: relative;
  margin-top: -28px;
  background: var(--papel);
  border: 1px solid var(--linea);
  border-radius: 16px;
  box-shadow: var(--sombra);
  padding: 12px 14px;
}
.info-banda:empty { display: none; }
.info-fila { display: flex; align-items: center; gap: 12px; }
.info-ico { width: 40px; height: 40px; flex: none; border-radius: 12px; background: var(--verde-claro); color: var(--verde); display: grid; place-items: center; }
.info-titulo { font: 700 18px/1.2 var(--serif); }
.info-texto { font-size: 14.5px; line-height: 1.35; color: var(--suave); margin-top: 2px; }
.info-precios {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 10px;
  padding: 6px 10px;
  border-radius: 10px;
  background: var(--mostaza-claro);
  color: var(--mostaza-osc);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.35;
}
.info-precios svg { width: 17px; height: 17px; margin-top: 1px; stroke-width: 2; }
.aviso-info { margin-top: 10px; font-size: 15px; background: var(--verde-claro); border-radius: 10px; padding: 8px 12px; }
.demo { margin-top: 10px; font-size: 14px; background: var(--mostaza-claro); color: var(--mostaza-osc); border-radius: 10px; padding: 6px 12px; }
@media (min-width: 720px) {
  .info-banda { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px; padding: 14px 20px; }
  .info-titulo { font-size: 20px; }
  .info-precios { margin-top: 0; max-width: 420px; }
  .aviso-info, .demo { flex-basis: 100%; margin-top: 0; }
}

/* ------------------------------------------------------------------ pasos */
.pasos {
  list-style: none;
  margin: 12px 0 0;
  padding: 0 2px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
  color: var(--suave);
}
.pasos li { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.solo-ancho { display: none; }
@media (min-width: 720px) {
  .pasos { justify-content: flex-start; gap: 28px; font-size: 14.5px; }
  .solo-ancho { display: inline; }
}
.pasos .num {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--verde);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  display: grid;
  place-items: center;
}
.pasos b { color: var(--tinta); font-weight: 700; }

/* --------------------------------------------------------- columnas (compu) */
.lateral { display: none; }
@media (min-width: 960px) {
  body { padding-bottom: 24px; }
  .filtros { margin: 18px 0 0; padding: 10px 0 4px; }
  .rubros { margin: 0; padding: 10px 0 6px; }
  .layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 28px; align-items: start; }
  /* Columna en flex: la lista crece con el pedido y solo hace scroll si no entra en la pantalla. */
  .lateral {
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 32px);
    position: sticky;
    top: 16px;
    margin-top: 18px;
    padding: 16px;
    background: var(--papel);
    border: 1px solid var(--linea);
    border-radius: var(--radio);
    box-shadow: var(--sombra);
  }
  .barra { display: none; }
}
.lateral h2 { flex: none; display: flex; align-items: center; gap: 8px; margin-bottom: 6px; font: 700 22px/1.2 var(--serif); }
.lateral h2 .cant { font: 800 13px/1 var(--sans); background: var(--mostaza); color: var(--tinta); border-radius: 999px; padding: 4px 9px; }
.lat-vacio { display: grid; justify-items: center; gap: 8px; padding: 14px 0 6px; text-align: center; color: var(--suave); font-size: 15px; }
.lat-vacio svg { width: 42px; height: 42px; color: #cdbf9f; }
/* La barra de desplazamiento va en el margen de la columna: en Windows se superpone al contenido y tapaba los precios. */
.lat-lineas {
  list-style: none;
  margin: 0 -14px 0 0;
  padding: 0 14px 0 0;
  flex: 0 1 auto;
  min-height: 0;
  font-size: 14.5px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #cdbf9f transparent;
}
/* Una fila por producto: nombre, cantidad y precio. */
.lat-lineas li { display: grid; grid-template-columns: minmax(0, 1fr) auto 72px; gap: 8px; align-items: center; padding: 7px 0; border-bottom: 1px solid var(--linea); }
.lat-lineas li:last-child { border-bottom: 0; }
.lat-nom { font-weight: 600; line-height: 1.2; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.lat-nom small { color: var(--suave); font-size: 13px; font-weight: 400; }
.lat-lineas b { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.lat-lineas .paso { height: 30px; padding: 0 2px; }
.lat-lineas .paso button { width: 26px; height: 26px; }
.lat-lineas .paso button svg { width: 13px; height: 13px; }
.lat-lineas .paso output { min-width: 18px; font-size: 14px; }
.lat-total { flex: none; display: flex; justify-content: space-between; margin-top: 4px; padding-top: 10px; border-top: 1px solid var(--linea); font: 700 21px/1.2 var(--serif); }
.lateral .nota { flex: none; margin: 4px 0 0; }
.lateral .info-precios, .totales .info-precios { flex: none; margin-top: 8px; max-width: none; }
.lateral .boton { flex: none; margin-top: 12px; min-height: 54px; }
.lat-vacio { flex: none; }

/* ---------------------------------------------------------------- filtros */
.filtros {
  position: sticky;
  top: 0;
  z-index: 6;
  margin: 14px -16px 0;
  padding: 10px 16px 4px;
  background: rgba(244, 238, 227, .94);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  backdrop-filter: saturate(1.2) blur(10px);
}
.buscador { position: relative; }
.buscador svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--suave); pointer-events: none; }
.buscador input {
  width: 100%;
  height: 50px;
  padding: 0 14px 0 44px;
  border: 1.5px solid var(--linea);
  border-radius: 14px;
  background: var(--papel);
}
.buscador input:focus { outline: none; border-color: var(--verde-2); box-shadow: 0 0 0 3px var(--verde-claro); }
.rubros { display: flex; gap: 8px; overflow-x: auto; padding: 10px 16px 6px; margin: 0 -16px; scrollbar-width: none; }
.rubros::-webkit-scrollbar { display: none; }
.chip {
  flex: none;
  height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1.5px solid var(--linea);
  background: var(--papel);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
.chip:hover { border-color: var(--verde-2); }
.chip[aria-pressed="true"] { background: var(--verde); border-color: var(--verde); color: #fff; }

/* -------------------------------------------------------------- productos */
.productos { min-height: 120px; }
.estado { color: var(--suave); padding: 28px 0; text-align: center; display: grid; gap: 14px; justify-items: center; }
.grupo { margin-top: 18px; }
.grupo h2 { display: flex; align-items: baseline; gap: 8px; font: 700 25px/1.1 var(--serif); margin-bottom: 12px; }
.grupo h2 .cant { font: 600 14px var(--sans); color: var(--suave); }
.lista { display: grid; gap: 10px; }
@media (min-width: 720px) { .lista { grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; } }
@media (min-width: 1400px) { .lista { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) {
  /* Con la columna del pedido al costado la tarjeta es angosta: ícono y selector más chicos para que entre el nombre. */
  .prod { grid-template-columns: 52px 1fr auto; column-gap: 10px; }
  .prod .tile { width: 52px; height: 52px; border-radius: 13px; }
  .prod .tile svg { width: 25px; height: 25px; }
  .prod .info h3 { font-size: 15.5px; }
  .prod .paso { height: 40px; padding: 0 3px; }
  .prod .paso button { width: 31px; height: 31px; }
  .prod .paso output { min-width: 18px; }
  .prod .mas { width: 42px; height: 42px; }
}

.prod {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  column-gap: 12px;
  align-items: center;
  height: 112px;
  background: var(--papel);
  border: 1px solid var(--linea);
  border-radius: var(--radio);
  padding: 12px;
  transition: border-color .15s, box-shadow .15s;
}
.prod.en-pedido { border-color: var(--verde-2); box-shadow: 0 0 0 1px var(--verde-2); }
.tile {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: var(--tinte, var(--verde-claro));
  color: var(--tono, var(--verde));
  display: grid;
  place-items: center;
  overflow: hidden;
  flex: none;
}
.tile svg { width: 28px; height: 28px; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.info { min-width: 0; display: grid; gap: 1px; }
.info h3 { font-size: 16.5px; font-weight: 600; line-height: 1.25; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.det { font-size: 14px; color: var(--suave); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.precio { font-size: 17px; font-weight: 800; font-variant-numeric: tabular-nums; margin-top: 3px; }
.precio.cotizar { font-size: 14px; font-weight: 600; color: var(--suave); }

.mas {
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--verde);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 6px 14px -6px rgba(31, 77, 51, .7);
  transition: background .15s, transform .1s;
}
.mas:hover { background: var(--verde-2); }
.mas:active { transform: scale(.94); }
.mas svg { stroke-width: 2.4; }
.mas { position: relative; }
.mas-n {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  border: 2px solid var(--papel);
  background: var(--mostaza);
  color: var(--tinta);
  font-size: 12px;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.paso { display: inline-flex; align-items: center; height: 46px; padding: 0 4px; border-radius: 999px; background: var(--verde); color: #fff; }
.paso button {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.paso button:hover { background: rgba(255, 255, 255, .16); }
.paso button svg { width: 18px; height: 18px; stroke-width: 2.6; }
.paso output { min-width: 22px; text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; }

/* ------------------------------------------------- elegir talle / color */
.hoja { position: fixed; inset: 0; z-index: 25; display: flex; align-items: flex-end; justify-content: center; }
.hoja-fondo { position: absolute; inset: 0; background: rgba(20, 28, 23, .45); }
.hoja-caja {
  position: relative;
  width: 100%;
  max-width: 440px;
  max-height: 85vh;
  overflow-y: auto;
  background: var(--papel);
  border-radius: 22px 22px 0 0;
  padding: 18px 18px calc(18px + env(safe-area-inset-bottom));
  box-shadow: 0 -10px 40px rgba(0, 0, 0, .25);
  animation: subir .2s ease-out;
}
@media (min-width: 720px) {
  .hoja { align-items: center; }
  .hoja-caja { border-radius: 22px; }
}
.hoja-cab { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.hoja-cab h2 { font: 700 21px/1.2 var(--serif); }
.hoja-cab p { font-size: 14px; color: var(--suave); margin-top: 2px; }
.hoja-opciones { display: grid; gap: 8px; margin-bottom: 14px; }
.hoja-op {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 58px;
  padding: 6px 6px 6px 16px;
  border: 1.5px solid var(--linea);
  border-radius: 14px;
  font-size: 17px;
  font-weight: 600;
}
.hoja-op.activa { border-color: var(--verde-2); background: var(--verde-claro); }
.hoja-op .mas { width: 44px; height: 44px; box-shadow: none; }

/* ---------------------------------------------------------------- encargo */
.encargo {
  margin-top: 28px;
  background: var(--papel);
  border: 1.5px dashed #cdbf9f;
  border-radius: var(--radio);
  padding: 16px;
  display: grid;
  gap: 14px;
}
.encargo-cab { display: flex; gap: 14px; align-items: flex-start; }
.encargo-cab .tile { width: 48px; height: 48px; border-radius: 13px; }
.encargo-cab .tile svg { width: 24px; height: 24px; }
.encargo h2 { font: 700 22px/1.15 var(--serif); }
.encargo p { color: var(--suave); font-size: 15px; margin-top: 4px; }
.encargo-form { display: grid; gap: 8px; }
@media (min-width: 560px) { .encargo-form { grid-template-columns: 1fr auto; } }
.encargo-form input {
  width: 100%;
  height: 50px;
  padding: 0 14px;
  border: 1.5px solid var(--linea);
  border-radius: 14px;
  background: #fff;
}
.encargo-form input:focus { outline: none; border-color: var(--verde-2); box-shadow: 0 0 0 3px var(--verde-claro); }

.pie { color: var(--suave); font-size: 14px; text-align: center; padding: 30px 0 8px; display: grid; gap: 6px; }
.legal { font-size: 13px; line-height: 1.45; max-width: 62ch; margin: 0 auto; }
.credito { font-size: 12.5px; }
.credito a { color: inherit; }

/* ---------------------------------------------------------------- botones */
.boton {
  border: 0;
  border-radius: 14px;
  padding: 0 18px;
  min-height: 50px;
  font-size: 16px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  cursor: pointer;
  transition: background .15s;
}
.boton.principal { background: var(--verde); color: #fff; }
.boton.principal:hover { background: var(--verde-2); }
.boton.secundario { background: var(--verde-claro); color: var(--verde); }
.boton.borde { background: var(--papel); border: 1.5px solid var(--linea); color: var(--tinta); }
.boton.whatsapp { background: var(--wa); color: #fff; }
.boton.whatsapp:hover { background: var(--wa-osc); }
.boton.grande { min-height: 60px; font-size: 18px; border-radius: 16px; }
.boton.ancho { width: 100%; }

/* ------------------------------------------------------------ barra pedido */
.barra { position: fixed; left: 0; right: 0; bottom: 0; z-index: 10; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); pointer-events: none; }
.barra-in { display: flex; gap: 8px; max-width: 560px; margin: 0 auto; pointer-events: auto; animation: aparecer .25s ease-out; }
.barra-enviar {
  flex: none;
  height: 62px;
  padding: 0 18px;
  border: 0;
  border-radius: 18px;
  background: var(--wa);
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 14px 30px -12px rgba(27, 154, 81, .75);
}
.barra-enviar:hover { background: var(--wa-osc); }
.barra-boton {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 62px;
  padding: 0 16px 0 11px;
  border: 0;
  border-radius: 18px;
  background: var(--verde);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 14px 30px -12px rgba(31, 77, 51, .75);
}
.barra-boton:hover { background: var(--verde-2); }
.badge {
  min-width: 40px;
  height: 40px;
  padding: 0 8px;
  border-radius: 12px;
  background: var(--mostaza);
  color: var(--tinta);
  font-weight: 800;
  display: grid;
  place-items: center;
}
.barra-textos { flex: 1; min-width: 0; display: grid; text-align: left; line-height: 1.15; }
.barra-txt { font-size: 13px; font-weight: 600; opacity: .85; white-space: nowrap; }
.barra-total { font-size: 18px; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@keyframes aparecer { from { transform: translateY(18px); opacity: 0; } }
.barra.vacia .barra-boton { background: var(--papel); color: var(--tinta); border: 1px solid var(--linea); box-shadow: var(--sombra); }
.barra.vacia .badge { background: var(--verde-claro); color: var(--verde); }
.barra.vacia .barra-total { font-size: 15px; font-weight: 600; color: var(--suave); }

/* ------------------------------------------------------------------ panel */
.panel {
  position: fixed;
  inset: 0;
  z-index: 20;
  background: var(--fondo);
  overflow-y: auto;
  overscroll-behavior: contain;
  animation: subir .22s ease-out;
}
@keyframes subir { from { transform: translateY(24px); opacity: 0; } }
.panel-cabecera {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  background: var(--verde);
  color: #fff;
}
.panel-cabecera h2 { font: 700 22px/1 var(--serif); }
.icono { width: 44px; height: 44px; border: 0; border-radius: 12px; background: transparent; color: inherit; display: grid; place-items: center; cursor: pointer; }
.icono:hover { background: rgba(255, 255, 255, .14); }
.panel-cuerpo { max-width: 640px; padding-top: 16px; padding-bottom: 40px; display: grid; gap: 14px; }

.tarjeta { background: var(--papel); border: 1px solid var(--linea); border-radius: var(--radio); padding: 14px 16px; }
.tarjeta h3 { font: 700 19px/1.2 var(--serif); margin-bottom: 8px; }

.linea {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 6px 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--linea);
}
.linea:first-child { padding-top: 2px; }
.linea:last-child { border-bottom: 0; padding-bottom: 2px; }
.linea .tile { width: 44px; height: 44px; border-radius: 12px; }
.linea .tile svg { width: 22px; height: 22px; }
.linea .nom { font-weight: 600; line-height: 1.25; }
.linea .sub { display: block; font-size: 14px; color: var(--suave); }
.linea .importe { font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; }
.linea .controles { grid-column: 2 / -1; display: flex; align-items: center; gap: 12px; }
.linea .paso { height: 40px; }
.linea .paso button { width: 34px; height: 34px; }
.quitar { border: 0; background: none; color: var(--rojo); font-size: 15px; font-weight: 600; cursor: pointer; padding: 8px 4px; }

.totales { display: grid; gap: 6px; }
.totales .fila { display: flex; justify-content: space-between; gap: 12px; }
.totales .fila.grande { font: 700 25px/1.2 var(--serif); }
.totales .fila.sena { color: var(--verde); font-weight: 700; }
.nota, .ayuda { font-size: 14px; color: var(--suave); }

.con-icono { display: flex; gap: 12px; align-items: flex-start; }
.con-icono .ico { width: 40px; height: 40px; border-radius: 12px; background: var(--verde-claro); color: var(--verde); display: grid; place-items: center; flex: none; }
.con-icono .ico svg { width: 22px; height: 22px; }
.con-icono h3 { margin-bottom: 2px; }

.enviar { display: grid; gap: 8px; text-align: center; }
.vacio { text-align: center; color: var(--suave); padding: 30px 0; display: grid; gap: 14px; justify-items: center; }

/* ----------------------------------------------------------- pedido listo */
.listo { text-align: center; display: grid; justify-items: center; gap: 10px; padding: 6px 0 2px; }
.listo .tilde { width: 64px; height: 64px; border-radius: 50%; background: var(--verde); color: #fff; display: grid; place-items: center; }
.listo .tilde svg { width: 32px; height: 32px; stroke-width: 2.6; }
.listo h3 { font: 700 27px/1.15 var(--serif); }
.listo p { color: var(--suave); max-width: 34ch; }
.listo .listo-nota { font-size: 14px; font-weight: 600; color: var(--mostaza-osc); background: var(--mostaza-claro); border-radius: 10px; padding: 6px 12px; }
.codigo {
  font: 700 24px/1 ui-monospace, Consolas, monospace;
  letter-spacing: .2em;
  padding: 10px 12px 10px 16px;
  background: var(--papel);
  border: 1.5px dashed #cdbf9f;
  border-radius: 12px;
}
.dato-copiable { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--fondo); border-radius: 12px; padding: 8px 8px 8px 14px; margin-top: 8px; }
.dato-copiable code { font: 700 17px/1.3 ui-monospace, Consolas, monospace; word-break: break-all; }
.dato-copiable .boton { min-height: 40px; padding: 0 14px; font-size: 15px; }
.resumen summary { cursor: pointer; font-weight: 700; }
.resumen ul { margin: 10px 0 6px; padding-left: 20px; font-size: 15px; }
.resumen li { margin: 3px 0; }

/* ------------------------------------------------------------------ aviso */
.aviso {
  position: fixed;
  left: 50%;
  bottom: 100px;
  transform: translateX(-50%);
  z-index: 30;
  width: max-content;
  max-width: calc(100% - 32px);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 10px 10px 16px;
  border-radius: 14px;
  background: var(--tinta);
  color: #fff;
  font-size: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
}
.aviso button { border: 0; border-radius: 9px; padding: 8px 12px; background: rgba(255, 255, 255, .15); color: #fff; font-weight: 700; cursor: pointer; }

@media (prefers-reduced-motion: reduce) {
  .panel, .barra-in, .hoja-caja { animation: none; }
  .mas, .boton, .prod { transition: none; }
}
