/* Las Flautas · pedidos: lo que v3.css no trae (horario, cupón en la comanda, seguimiento, página del cupón) */

.cabecera .boton-ordenar { padding: 8px 14px; border-radius: 3px; background: #fff6e8; color: var(--rojo); }
.cabecera nav { align-items: center; gap: 22px; }
.pie-dir { font-size: 15px; opacity: .9; margin-top: 4px; }
.cargando { padding: 40px 0; text-align: center; color: var(--tinta-2); }

.aviso-tienda { margin: 0; padding: 12px 16px; background: #fff3c4; color: #5a4300; text-align: center; font-weight: 700; font-size: 14px; }

/* Producto agotado */
.st-p.agotado { cursor: default; }
.st-p.agotado .ft img { filter: grayscale(1); opacity: .45; }
.st-p.agotado .precio { color: var(--tinta-2); text-decoration: line-through; }
.st-p.agotado .comprar { box-shadow: inset 0 0 0 1.5px rgba(31, 42, 34, .25) !important; background: none !important; color: var(--tinta-2) !important; }
.st-promo-acc button:disabled { background: #b9b3aa; cursor: not-allowed; }

/* Ficha: varios grupos de opciones */
.chips-grupo { display: flex; flex-wrap: wrap; gap: 6px; width: 100%; }
.chips-grupo + .chips-grupo { margin-top: 10px; }

/* Comanda: correo opcional, cupón y cuentas */
.pedido-form label em { font-style: normal; font-weight: 500; text-transform: none; letter-spacing: 0; }
.cupon-campo { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 8px; }
.cupon-campo input { text-transform: uppercase; letter-spacing: .08em; }
.cupon-campo button { min-height: 46px; padding: 0 16px; border-radius: 4px; background: var(--verde); color: #fff; font-family: var(--letra); font-weight: 900; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.cupon-estado { margin-top: -4px; font-size: 13px; font-weight: 700; color: var(--rojo); }
.cupon-estado.bien { color: var(--verde); }
.cuentas { display: grid; gap: 2px; padding-top: 8px; border-top: 1px dotted rgba(31, 26, 20, .45); }
.cuentas > div:not(.carrito-total) { display: flex; justify-content: space-between; font-size: 14px; }
.cuentas-desc { color: var(--verde); font-weight: 700; }
.cuentas-desc small { font-size: 12px; letter-spacing: .06em; }
.pedido-error { padding: 10px 12px; border-radius: 4px; background: #fde4e7; color: #8f0b21; font-family: var(--letra); font-weight: 700; font-size: 14px; }
.pedido-enviar.cargando { opacity: .7; cursor: progress; }
.pedido-enviar.cargando::after { content: ""; width: 16px; height: 16px; border: 2.5px solid rgba(255, 255, 255, .4); border-top-color: #fff; border-radius: 50%; animation: gira .8s linear infinite; }
@keyframes gira { to { rotate: 1turn; } }
@media (min-width: 560px) { .pedido-form .dos { grid-template-columns: 1fr 1fr; } }

/* ---------- Seguimiento del pedido ---------- */
.seguimiento { padding: 100px 0 80px; min-height: 80svh; background: #efe3cf url(../img/pared-beige-movil.webp) center / cover; }
.seg-cabeza { text-align: center; }
.seg-cabeza h1 { color: var(--rojo); font-size: clamp(32px, 8vw, 52px); }
.seg-intro { margin-top: 10px; font-family: 'Futura', 'Futura PT', 'Jost', sans-serif; font-weight: 500; font-size: 17px; }
.seg-rej { display: grid; gap: 18px; max-width: 980px; margin: 28px auto 0; }
.seg-tarjeta { padding: 22px; background: #fffdf8; border-radius: 8px; box-shadow: 0 10px 24px rgba(59, 24, 4, .15); }
.seg-folio { font-size: 15px; color: var(--tinta-2); }
.seg-folio b { color: var(--rojo); font-size: 22px; letter-spacing: .04em; }
.seg-pasos { list-style: none; display: grid; gap: 0; margin: 18px 0 6px; }
.seg-pasos li { position: relative; display: grid; grid-template-columns: 28px 1fr; gap: 12px; padding-bottom: 18px; color: var(--tinta-2); }
.seg-pasos li:last-child { padding-bottom: 0; }
.seg-pasos li::before { content: ""; position: absolute; left: 13px; top: 26px; bottom: 0; width: 2px; background: rgba(31, 42, 34, .15); }
.seg-pasos li:last-child::before { display: none; }
.seg-pasos i { width: 28px; height: 28px; border-radius: 50%; box-shadow: inset 0 0 0 2px rgba(31, 42, 34, .2); background: #fff; }
.seg-pasos b { display: block; font-size: 16px; font-weight: 800; }
.seg-pasos small { display: block; font-size: 14px; }
.seg-pasos .hecho { color: var(--tinta); }
.seg-pasos .hecho i { background: var(--verde) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; box-shadow: none; }
.seg-pasos .hecho::before { background: var(--verde); }
.seg-pasos .ahora { color: var(--tinta); }
.seg-pasos .ahora i { background: var(--rojo); box-shadow: 0 0 0 6px rgba(200, 16, 46, .18); animation: late-paso 1.6s ease-in-out infinite; }
.seg-pasos .ahora b { color: var(--rojo); }
@keyframes late-paso { 50% { box-shadow: 0 0 0 10px rgba(200, 16, 46, .08); } }
@media (prefers-reduced-motion: reduce) { .seg-pasos .ahora i { animation: none; } }
.seg-recoge { display: grid; gap: 2px; margin-top: 18px; padding: 16px; border-radius: 6px; background: var(--fuerte-tinte); }
.seg-recoge span { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--verde); }
.seg-recoge b { font-size: 22px; font-weight: 900; }
.seg-recoge p { font-size: 14px; color: var(--tinta-2); }
.seg-llegar { margin-top: 10px; background: var(--verde); box-shadow: 0 3px 0 #0a3a2a; }
.seg-llegar:hover { background: #0c4532; }
.seg-cuenta h2 { font-size: 22px; color: var(--rojo); }
.seg-notas { margin-top: 12px; font-size: 14px; }
.seg-ayuda { margin-top: 14px; font-size: 13px; color: var(--tinta-2); }
@media (min-width: 900px) {
  .seguimiento { padding: 140px 0 110px; background-image: url(../img/pared-beige.webp); }
  .seg-rej { grid-template-columns: 1.1fr 1fr; align-items: start; gap: 26px; }
  .seg-tarjeta { padding: 30px; }
}

/* ---------- Página del cupón (lo que abre el QR) ---------- */
.cupon-pagina { padding: 96px 0 72px; min-height: 80svh; background: #efe3cf url(../img/pared-beige-movil.webp) center / cover; }
.cupon-hoja { width: min(480px, 100%); margin: 0 auto; padding: 26px 20px 24px; border-radius: 8px; background: #fffaf2 url(../img/papel.svg); box-shadow: 0 24px 60px rgba(0, 0, 0, .25); text-align: center; }
.cupon-hoja h1 { margin-top: 6px; font-size: clamp(28px, 7vw, 36px); color: var(--rojo); }
.cupon-hoja .cupon { text-align: left; }
.cupon-qr-img { width: 100%; max-width: 170px; line-height: 0; }
.cupon-qr-img svg { width: 100%; height: auto; }
.cupon-usado { filter: grayscale(.85); opacity: .7; }
.cupon-aviso { margin-top: 16px; padding: 12px; border-radius: 4px; background: #fde4e7; color: #8f0b21; font-weight: 700; }
.cupon-acciones { display: grid; gap: 10px; margin-top: 18px; }
.boton-linea { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; border-radius: 4px; box-shadow: inset 0 0 0 2px var(--verde); color: var(--verde); font-weight: 900; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; }
.cupon-como { margin-top: 12px; font-size: 14px; color: var(--tinta-2); }
.cupon-personal { display: grid; gap: 10px; margin-top: 22px; padding-top: 18px; border-top: 2px dashed rgba(31, 26, 20, .3); text-align: left; font-size: 14px; }
.cupon-personal .pedido-enviar { width: 100%; background: var(--verde); box-shadow: 0 3px 0 #0a3a2a; }
.aviso-ok { padding: 10px 12px; border-radius: 4px; background: var(--fuerte-tinte); color: var(--verde); font-weight: 800; }
.aviso-mal { padding: 10px 12px; border-radius: 4px; background: #fde4e7; color: #8f0b21; font-weight: 800; }
@media (min-width: 900px) { .cupon-pagina { padding: 130px 0 100px; background-image: url(../img/pared-beige.webp); } }

/* ---------- Sugerencias en la comanda ---------- */
.sugerencias { margin: 14px -18px 4px; padding: 14px 0 6px 18px; border-bottom: 1px dotted rgba(31, 26, 20, .45); }
.sugerencias-tit { font-family: var(--letra); font-weight: 900; font-size: 15px; color: var(--rojo); }
.sugerencias-rej { display: flex; gap: 10px; margin-top: 10px; padding: 0 18px 10px 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.sugerencias-rej::-webkit-scrollbar { display: none; }
.sug { flex: 0 0 128px; display: flex; flex-direction: column; gap: 6px; padding: 8px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px rgba(31, 42, 34, .12); text-align: left; scroll-snap-align: start; font-family: var(--letra); transition: box-shadow .2s, translate .2s; }
.sug:hover { box-shadow: inset 0 0 0 1px rgba(31, 42, 34, .2), 0 8px 18px rgba(0, 0, 0, .08); translate: 0 -2px; }
.sug-ft { position: relative; display: block; height: 84px; border-radius: 10px; background: var(--t, var(--fuerte-tinte)); overflow: hidden; }
.sug-ft img { position: absolute; inset: 8%; width: 84%; height: 84%; object-fit: contain; }
.sug b { font-size: 13px; font-weight: 800; line-height: 1.2; color: var(--tinta); }
.sug-pie { display: flex; align-items: center; justify-content: space-between; margin-top: auto; font-weight: 900; font-size: 14px; color: var(--rojo); }
.sug-pie i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--verde); color: #fff; font-style: normal; font-size: 18px; line-height: 1; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .sug { transition: none; } }
.aviso-prueba { background: #115740; color: #fff; }

/* Ficha: precio y cantidad en la misma fila */
.ficha-fila { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 10px 0 8px; }
.ficha-fila .pr { margin: 0 !important; }
.ficha-cant { display: inline-flex; align-items: center; gap: 4px; padding: 4px; border-radius: 12px; background: #f3e7d4; }
.ficha-cant button { width: 44px; height: 44px; border-radius: 9px; background: #fff; font-family: var(--letra); font-weight: 900; font-size: 22px; line-height: 1; color: var(--verde); box-shadow: 0 1px 0 rgba(0, 0, 0, .08); }
.ficha-cant button:disabled { opacity: .35; cursor: default; }
.ficha-cant output { min-width: 34px; text-align: center; font-family: var(--letra); font-weight: 900; font-size: 20px; color: var(--tinta); }

/* Pago con Stripe Elements: el campo de tarjeta vive dentro de la comanda */
.pago-elemento { min-height: 120px; padding: 12px; border-radius: 6px; background: #fff; }
.pago-cargando { font-family: var(--letra); font-size: 14px; color: var(--tinta-2); }
.pago-caja[hidden] { display: none; }
.pago-minimo { padding: 10px 12px; border-radius: 4px; background: #fff3c4; color: #5a4300; font-family: var(--letra); font-weight: 700; font-size: 14px; }
.cuentas > .cuentas-desc[hidden] { display: none; }

/* Vales con diseño: el arte tal cual y el canje con contraseña */
.vale-arte { width: 100%; margin: 14px auto 0; border-radius: 8px; box-shadow: 0 6px 20px rgba(0, 0, 0, .15); }
.vale-arte.vale-imagen { max-width: 300px; }
.cupon-usado.vale-arte { filter: grayscale(1); opacity: .55; }
.vale-canjeado { margin-top: 16px; padding: 14px; border-radius: 6px; background: #fde4e7; color: #8f0b21; font-weight: 800; font-size: 18px; }
.vale-canjeado small { display: block; font-size: 14px; font-weight: 600; }
.vale-ok { margin-top: 16px; padding: 18px 14px; border-radius: 6px; background: var(--verde); color: #fff; font-weight: 900; font-size: 22px; text-transform: uppercase; }
.vale-ok small { display: block; font-size: 14px; font-weight: 600; text-transform: none; }
.vale-clave { display: grid; gap: 10px; }
.vale-clave label { display: grid; gap: 6px; font-weight: 800; }
.vale-clave input { min-height: 50px; padding: 0 12px; border: 2px solid rgba(31, 26, 20, .25); border-radius: 4px; font: inherit; font-size: 18px; }

/* Pago de un pedido armado por WhatsApp */
.pago-pedido #pago-form { display: grid; gap: 14px; align-content: start; }
.pago-pedido #pago-elemento { min-height: 120px; }

/* Promo sin código en Xetux: se ve, pero dice que no está disponible */
.st-promo-pie small { display: block; margin-top: 4px; font-size: 12.5px; font-weight: 700; color: var(--tinta-2); }
