:root {
  --wine: #350707;       /* fondo del menú */
  --wine-2: #4a0c0c;
  --berry: #7a1016;      /* círculos de precio */
  --strawberry: #e8354a;
  --pink: #ff7a93;
  --cream: #f6efe9;
  --cream-2: #ece3da;
  --ink: #2a0606;
  --muted: #7d5c5c;
  --wa: #25d366;
  --maps: #4285f4;
  --radius: 22px;
  --shadow: 0 18px 40px -18px rgba(53, 7, 7, .55);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-tap-highlight-color: transparent; }
body {
  font-family: "Poppins", system-ui, sans-serif;
  background: var(--wine);
  color: #fff;
  line-height: 1.5;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
h1, h2, h3 { line-height: 1.15; }

/* Fresitas cayendo de fondo */
.berries { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.berries i {
  position: absolute; top: -40px; font-style: normal; opacity: .22;
  animation: fall linear infinite;
}
@keyframes fall {
  to { transform: translateY(110vh) rotate(360deg); }
}

/* Barra superior */
.top {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: .6rem;
  padding: .55rem 16px; padding-top: max(.55rem, env(safe-area-inset-top));
  background: rgba(53, 7, 7, .88); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.top__left { display: flex; align-items: center; gap: .5rem; min-width: 0; }
.top__logo img { height: 40px; width: auto; flex: none; max-width: none; }
.top__logo { flex: none; }
.admin-btn {
  display: inline-flex; align-items: center; gap: .3rem; flex: none;
  padding: .4rem .65rem; border-radius: 999px; text-decoration: none;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  color: #fff; font-size: .72rem; font-weight: 600;
}
.admin-btn:active { transform: scale(.95); }
/* En celular el botón de admin queda solo con el candado para que quepa todo */
@media (max-width: 480px) { .admin-btn span { display: none; } .admin-btn { padding: .45rem; } }
.status { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.status { font-size: .75rem; font-weight: 600; padding: .25rem .7rem; border-radius: 999px; background: rgba(255,255,255,.1); white-space: nowrap; }
.status.is-open { background: rgba(37, 211, 102, .18); color: #7ef0a8; }
.status.is-open::before { content: "●"; margin-right: .35rem; animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .3; } }
.cart-btn {
  position: relative; border: 0; width: 46px; height: 46px; border-radius: 50%;
  background: var(--strawberry); color: #fff; display: grid; place-items: center;
  box-shadow: 0 8px 20px -8px var(--strawberry);
}
.cart-btn b {
  position: absolute; top: -4px; right: -4px; min-width: 22px; height: 22px; padding: 0 5px;
  border-radius: 999px; background: #fff; color: var(--wine); font-size: .75rem; display: grid; place-items: center;
}
.cart-btn.bump { animation: bump .5s; }
@keyframes bump { 30% { transform: scale(1.25) rotate(-8deg); } 60% { transform: scale(.92); } }

main, .foot { position: relative; z-index: 1; }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.4rem; border-radius: 999px; border: 0;
  font-weight: 700; font-size: .95rem; text-decoration: none; transition: transform .2s, box-shadow .2s;
}
.btn:active { transform: scale(.96); }
.btn--pink { background: linear-gradient(135deg, var(--pink), var(--strawberry)); color: #fff; box-shadow: 0 12px 26px -10px var(--strawberry); }
.btn--ghost { background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.25); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--maps { background: #fff; color: var(--ink); border: 2px solid var(--maps); }
.btn--maps svg { color: var(--maps); }
.btn--grow { flex: 1; }
.btn:disabled { opacity: .55; }

/* Portada */
.hero {
  min-height: calc(100svh - 62px);
  display: grid; align-content: center; gap: 1rem;
  padding: 2rem 16px 3rem; text-align: center;
  background: radial-gradient(circle at 50% 22%, #5a1010 0%, var(--wine) 45%);
}
.hero__logo { width: min(260px, 70vw); margin: 0 auto .6rem; animation: pop .9s cubic-bezier(.2,1.4,.4,1) both; }
.hero h1 { font-size: clamp(2rem, 9vw, 3.4rem); font-weight: 800; animation: rise .8s .15s both; }
.hero h1 span { display: block; font-family: "Great Vibes", cursive; font-weight: 400; color: var(--pink); font-size: 1.25em; }
.hero p { color: #f0d9d9; max-width: 30ch; margin: .6rem auto 0; animation: rise .8s .3s both; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .7rem; justify-content: center; margin-top: 1.4rem; animation: rise .8s .45s both; }
.hero__cups { position: relative; height: 250px; margin-top: 1rem; }
.cup {
  position: absolute; bottom: 0; width: 132px; border-radius: 18px;
  -webkit-mask-image: radial-gradient(ellipse 60% 66% at 50% 50%, #000 55%, transparent 100%);
  mask-image: radial-gradient(ellipse 60% 66% at 50% 50%, #000 55%, transparent 100%);
}
.cup--1 { left: 50%; margin-left: -66px; z-index: 2; width: 150px; margin-left: -75px; animation: float 3.4s ease-in-out infinite; }
.cup--2 { left: calc(50% - 175px); bottom: 20px; transform: rotate(-10deg); animation: float2 4s ease-in-out .4s infinite; }
.cup--3 { left: calc(50% + 43px); bottom: 20px; transform: rotate(10deg); animation: float3 3.8s ease-in-out .8s infinite; }
@keyframes float { 50% { transform: translateY(-16px); } }
@keyframes float2 { 0%, 100% { transform: rotate(-10deg); } 50% { transform: translateY(-12px) rotate(-5deg); } }
@keyframes float3 { 0%, 100% { transform: rotate(10deg); } 50% { transform: translateY(-12px) rotate(5deg); } }
@keyframes pop { from { opacity: 0; transform: scale(.6); } }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }

/* Gourmet */
.gourmet { padding: 3rem 0 2.5rem; text-align: center; }
.gourmet__title { font-family: "Poppins"; font-weight: 800; font-size: clamp(2.2rem, 11vw, 3.6rem); letter-spacing: .06em; }
.gourmet__title em { display: block; margin-top: -.5em; font-family: "Great Vibes", cursive; font-style: normal; font-weight: 400; letter-spacing: 0; color: var(--pink); font-size: .8em; }
.gourmet__sub { color: #e9caca; font-size: .9rem; margin-top: .3rem; }
.marquee { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; touch-action: pan-x pan-y; margin-top: 1.4rem; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee::-webkit-scrollbar { display: none; }
.marquee__track { display: flex; gap: 14px; width: max-content; padding: 10px 16px 18px; }
@keyframes scroll { to { transform: translateX(-50%); } }
.g-card {
  flex: none; width: 150px; border: 0; background: var(--wine); color: #fff; border-radius: 20px; padding: 0 0 .8rem;
  transition: transform .25s;
}
.g-card:nth-child(odd) img { animation: bob 3s ease-in-out infinite; }
.g-card:nth-child(even) img { animation: bob 3s ease-in-out 1.5s infinite; }
@keyframes bob { 50% { transform: translateY(-8px) rotate(-2deg); } }
.g-card img { width: 150px; height: 220px; object-fit: cover; border-radius: 18px; }
.g-card span { display: inline-block; margin-top: .3rem; font-size: .8rem; font-weight: 600; background: var(--berry); padding: .25rem .8rem; border-radius: 999px; }
.g-card:active { transform: scale(.95); }

/* Promociones del mes (mismo carrusel que gourmet) */
.promos { padding: 2.6rem 0 1.6rem; text-align: center; }
.promo-card { width: 212px; text-align: center; align-items: center; }
.promo-card img { width: 212px; height: 190px; object-fit: cover; border-radius: 18px; }
.promo-card__noimg { width: 212px; height: 190px; border-radius: 18px; display: grid; place-items: center; font-size: 4rem; background: var(--berry); }
.promo-card b { display: block; margin-top: .55rem; padding: 0 .7rem; font-size: .95rem; color: #fff; }
.promo-card small { display: block; margin-top: .2rem; padding: 0 .8rem; font-size: .76rem; color: #e9caca; line-height: 1.3; }
.promo-card__price { display: inline-block; margin-top: .5rem; font-weight: 800; background: var(--pink); color: #fff; padding: .25rem .9rem; border-radius: 999px; font-size: .9rem; }

/* Menú */
.menu { background: var(--cream); color: var(--ink); border-radius: 32px 32px 0 0; padding: 2.4rem 16px 3rem; }
.menu__head { text-align: center; }
.menu__head h2 { font-size: 2rem; font-weight: 800; color: var(--wine); }
.menu__head p { color: var(--muted); }
.chips {
  position: sticky; top: 62px; z-index: 20; display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none;
  margin: 1.2rem -16px 1rem; padding: .6rem 16px; background: var(--cream);
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; border: 2px solid var(--wine); background: transparent; color: var(--wine);
  padding: .45rem 1rem; border-radius: 999px; font-weight: 600; font-size: .88rem; transition: .2s;
}
.chip.is-active { background: var(--wine); color: #fff; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.card {
  position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--radius);
  padding: .8rem .8rem .9rem; box-shadow: var(--shadow); overflow: hidden;
  animation: cardIn .5s both;
}
@keyframes cardIn { from { opacity: 0; transform: translateY(20px) scale(.96); } }
.card__img { height: 120px; display: grid; place-items: center; margin-bottom: .5rem; }
.card__img img { max-height: 120px; width: auto; object-fit: contain; filter: drop-shadow(0 10px 12px rgba(53,7,7,.25)); animation: bob 3.2s ease-in-out infinite; }
.card:nth-child(3n+2) .card__img img { animation-delay: .8s; }
.card:nth-child(3n) .card__img img { animation-delay: 1.6s; }
.card__img--photo img { height: 120px; width: 100%; object-fit: cover; border-radius: 14px; filter: none; }
.card h3 { font-size: .98rem; font-weight: 700; color: var(--wine); }
.card p { font-size: .76rem; color: var(--muted); margin-top: .15rem; flex: 1; }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: .4rem; margin-top: .6rem; }
.price { font-weight: 800; color: var(--berry); font-size: 1rem; white-space: nowrap; }
.price small { font-weight: 500; font-size: .7rem; color: var(--muted); }
.add {
  border: 0; width: 38px; height: 38px; border-radius: 50%; flex: none;
  background: var(--strawberry); color: #fff; font-size: 1.4rem; line-height: 1; display: grid; place-items: center;
  box-shadow: 0 8px 16px -8px var(--strawberry); transition: transform .2s;
}
.add:active { transform: scale(.85) rotate(90deg); }
.tag { position: absolute; top: .6rem; left: .6rem; background: var(--pink); color: #fff; font-size: .65rem; font-weight: 700; padding: .15rem .55rem; border-radius: 999px; }
.menu__note { text-align: center; color: var(--muted); font-size: .85rem; margin-top: 1.6rem; }
.menu__note a { color: var(--berry); font-weight: 600; }

/* Pasos */
.steps { background: var(--cream); color: var(--ink); padding: 0 16px 3rem; }
.steps h2, .visit h2 { font-size: 1.8rem; font-weight: 800; text-align: center; margin-bottom: 1.2rem; }
.steps h2 { color: var(--wine); }
.steps ol { list-style: none; display: grid; gap: .8rem; max-width: 560px; margin: 0 auto; }
.steps li { display: flex; gap: .9rem; background: #fff; border-radius: 18px; padding: 1rem; box-shadow: var(--shadow); }
.steps li span { flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--wine); color: #fff; font-weight: 800; display: grid; place-items: center; }
.steps b { color: var(--wine); }
.steps p { font-size: .85rem; color: var(--muted); }

/* Visítanos */
.visit { padding: 3rem 16px; }
.visit__card { max-width: 560px; margin: 0 auto; background: var(--wine-2); border-radius: var(--radius); padding: 1.2rem; display: grid; gap: 1rem; border: 1px solid rgba(255,255,255,.08); }
.visit__row { display: flex; gap: .8rem; align-items: flex-start; }
.visit__row svg { flex: none; color: var(--pink); margin-top: 2px; }
.visit__row p { color: #efd6d6; font-size: .9rem; }
.map { border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 3; background: #2a0505; }
.map iframe { width: 100%; height: 100%; border: 0; }
.visit__btns { display: grid; gap: .6rem; }

/* Pie */
.foot { text-align: center; padding: 2rem 16px 7rem; border-top: 1px solid rgba(255,255,255,.08); }
.foot img { width: 150px; margin: 0 auto .8rem; }
.foot p { font-size: .9rem; }
.foot a { color: var(--pink); font-weight: 600; }
.foot small { display: block; color: #c9a9a9; margin-top: .4rem; }

/* Botones flotantes */
.fab {
  position: fixed; right: 16px; z-index: 30; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; box-shadow: 0 10px 26px -8px rgba(0,0,0,.5);
}
.fab--wa { bottom: max(16px, env(safe-area-inset-bottom)); background: var(--wa); animation: pulse 2.2s infinite; }
.fab--maps { bottom: calc(max(16px, env(safe-area-inset-bottom)) + 70px); background: #fff; color: var(--maps); width: 50px; height: 50px; right: 20px; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.6); } 70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }

/* Hojas (personalizar y carrito) */
.sheet { position: fixed; inset: 0; z-index: 60; }
.sheet[hidden] { display: none; }
.sheet__backdrop { position: absolute; inset: 0; background: rgba(20, 2, 2, .6); animation: fade .25s; }
.sheet__panel {
  position: absolute; left: 0; right: 0; bottom: 0; max-height: 92svh; overflow-y: auto; overscroll-behavior: contain;
  background: var(--cream); color: var(--ink); border-radius: 26px 26px 0 0;
  padding: 1.2rem 16px calc(1rem + env(safe-area-inset-bottom)); animation: up .35s cubic-bezier(.2,.9,.3,1);
}
@media (min-width: 640px) { .sheet__panel { left: 50%; width: 560px; margin-left: -280px; } }
/* Carrito: cajón que sale del lado derecho */
#cart .sheet__panel {
  left: auto; right: 0; top: 0; bottom: 0; margin-left: 0;
  width: min(430px, 90vw); max-height: 100svh; height: 100svh;
  border-radius: 26px 0 0 26px; animation: cartIn .42s cubic-bezier(.2,.9,.3,1);
}
#cart[hidden] .sheet__panel { animation: none; }
@keyframes cartIn { from { transform: translateX(105%); opacity: .4; } }
@keyframes up { from { transform: translateY(100%); } }
@keyframes fade { from { opacity: 0; } }
.sheet__x { position: absolute; top: .7rem; right: .9rem; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #fff; font-size: 1.5rem; line-height: 1; color: var(--wine); z-index: 2; }
.sheet__hero { height: 150px; display: grid; place-items: center; margin-bottom: .4rem; }
.sheet__hero img { max-height: 150px; width: auto; animation: float 3s ease-in-out infinite; filter: drop-shadow(0 12px 14px rgba(53,7,7,.3)); }
.sheet__hero.is-photo img { border-radius: 18px; }
.sheet h3 { font-size: 1.4rem; font-weight: 800; color: var(--wine); padding-right: 2.5rem; }
.sheet__desc { color: var(--muted); font-size: .88rem; }

.group { margin-top: 1.1rem; border: 0; padding: 0; min-width: 0; }
.group__head { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; margin-bottom: .5rem; }
.group__head b { color: var(--wine); }
.group__head small { color: var(--muted); font-size: .75rem; text-align: right; }
.opts { display: flex; flex-wrap: wrap; gap: .45rem; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt span {
  display: inline-flex; align-items: center; gap: .3rem; padding: .45rem .8rem; border-radius: 999px;
  background: #fff; border: 2px solid var(--cream-2); font-size: .84rem; font-weight: 500; transition: .15s;
}
.opt span em { font-style: normal; font-size: .72rem; color: var(--muted); }
.opt input:checked + span { background: var(--wine); color: #fff; border-color: var(--wine); transform: scale(1.04); }
.opt input:checked + span em { color: #ffd2da; }
.opt input:focus-visible + span { outline: 3px solid var(--pink); outline-offset: 2px; }
.notes { width: 100%; margin-top: .4rem; border: 2px solid var(--cream-2); border-radius: 14px; padding: .6rem .8rem; font: inherit; font-size: 16px; resize: vertical; }

.sheet__bar { position: sticky; bottom: calc(-1rem - env(safe-area-inset-bottom)); display: flex; gap: .7rem; align-items: center; margin: 1.2rem -16px 0; padding: .8rem 16px; background: var(--cream); border-top: 1px solid var(--cream-2); }
.qty { display: flex; align-items: center; gap: .5rem; background: #fff; border-radius: 999px; padding: .25rem; }
.qty button { width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--cream); color: var(--wine); font-size: 1.2rem; font-weight: 700; }
.qty b { min-width: 1.4rem; text-align: center; }

/* Carrito */
.line { display: flex; gap: .7rem; padding: .8rem 0; border-bottom: 1px solid var(--cream-2); }
.line img { width: 56px; height: 56px; object-fit: contain; flex: none; border-radius: 12px; background: #fff; }
.line div { flex: 1; min-width: 0; }
.line b { color: var(--wine); font-size: .95rem; }
.line p { font-size: .76rem; color: var(--muted); }
.line__side { display: flex; flex-direction: column; align-items: flex-end; gap: .3rem; }
.line__side button { border: 0; background: none; color: var(--strawberry); font-size: .78rem; font-weight: 600; }
.empty { text-align: center; color: var(--muted); padding: 1.5rem 0; }
.order { display: grid; gap: .8rem; margin-top: 1rem; }
.order label { display: grid; gap: .3rem; font-size: .85rem; font-weight: 600; color: var(--wine); }
.order label[hidden] { display: none; }
.order input, .order textarea, .order select { font: inherit; font-size: 16px; font-weight: 400; border: 2px solid var(--cream-2); border-radius: 14px; padding: .65rem .8rem; background: #fff; color: var(--ink); width: 100%; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; }
.seg label { display: block; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: block; text-align: center; padding: .6rem; border-radius: 14px; border: 2px solid var(--cream-2); background: #fff; font-weight: 600; }
.seg input:checked + span { background: var(--wine); color: #fff; border-color: var(--wine); }
.order__total { font-size: 1.1rem; text-align: right; }
.order__total b { color: var(--berry); font-size: 1.4rem; }
.order__hint { font-size: .78rem; color: var(--muted); text-align: right; margin-top: -.6rem; }
.order__hint:empty { display: none; }

.toast {
  position: fixed; left: 50%; bottom: 96px; z-index: 80; transform: translate(-50%, 20px); opacity: 0;
  background: #fff; color: var(--wine); font-weight: 600; padding: .7rem 1.2rem; border-radius: 999px;
  box-shadow: var(--shadow); transition: .3s; pointer-events: none; white-space: nowrap;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.fly { position: fixed; z-index: 90; width: 54px; height: 54px; object-fit: contain; pointer-events: none; transition: transform .7s cubic-bezier(.5,-.3,.7,1), opacity .7s; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s, transform .7s; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (min-width: 720px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 960px; margin: 0 auto; }
  .hero__cups { height: 300px; }
}
@media (min-width: 1000px) {
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .chips { justify-content: center; }
}

/* Con "reducir movimiento" solo se quitan las fresitas que caen; los vasos siguen flotando */
@media (prefers-reduced-motion: reduce) {
  .berries { display: none; }
}

/* Productos sin foto: emoji grande */
.emoji { font-size: 4.2rem; line-height: 1; animation: bob 3.2s ease-in-out infinite; filter: drop-shadow(0 10px 10px rgba(53,7,7,.25)); }
.sheet__hero .emoji { font-size: 6rem; }
.line__emoji { width: 56px; height: 56px; flex: none; display: grid; place-items: center; font-size: 2rem; background: #fff; border-radius: 12px; }

/* Pago aprobado */
.paid { text-align: center; display: grid; gap: .8rem; padding-top: 2rem; }
.paid h3 { padding: 0; }
.paid p { color: var(--muted); }
.paid__icon { font-size: 4rem; animation: pop .7s cubic-bezier(.2,1.4,.4,1) both, float 3s ease-in-out .7s infinite; }

/* Mapa de entrega (pin fijo al centro, se mueve el mapa) */
.order__dir { display: grid; gap: .5rem; }
.order__dir[hidden] { display: none; }
.order__lbl { color: var(--wine); font-size: .85rem; }
.order label small { font-weight: 400; color: var(--muted); }
.pick { position: relative; height: 230px; border-radius: 18px; overflow: hidden; border: 2px solid var(--cream-2); background: #eee; }
.pick__map { position: absolute; inset: 0; }
.pick__pin {
  position: absolute; left: 50%; top: 50%; z-index: 500; font-size: 2.4rem; line-height: 1;
  transform: translate(-50%, -100%); pointer-events: none; filter: drop-shadow(0 6px 4px rgba(0,0,0,.35)); transition: transform .2s;
}
.pick.is-moving .pick__pin { transform: translate(-50%, -125%); }
.pick__me {
  position: absolute; right: 10px; bottom: 10px; z-index: 500; border: 0; border-radius: 999px;
  background: #fff; color: var(--wine); font-weight: 700; font-size: .8rem; padding: .5rem .8rem; box-shadow: 0 6px 16px -6px rgba(0,0,0,.4);
}
.pick__tip { color: var(--muted); font-size: .75rem; margin-top: -.2rem; }

/* Seguimiento */
.track { text-align: center; display: grid; gap: .7rem; padding-top: 1.8rem; }
.track h3 { padding: 0; }
.track__icon { font-size: 3.6rem; animation: pop .6s cubic-bezier(.2,1.4,.4,1) both, float 3s ease-in-out .6s infinite; }
.track__sub { color: var(--muted); }
.track__pay { font-weight: 600; color: var(--wine); background: #fff; border-radius: 12px; padding: .5rem; }
.track__steps { list-style: none; text-align: left; display: grid; gap: 0; margin: .4rem 0; }
.track__steps li { position: relative; display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: .6rem; padding: .45rem 0; color: #b9a5a5; }
.track__steps li::before { content: ""; position: absolute; left: 19px; top: -50%; height: 100%; width: 2px; background: var(--cream-2); z-index: 0; }
.track__steps li:first-child::before { display: none; }
.track__steps li span { position: relative; z-index: 1; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--cream-2); font-size: 1.1rem; filter: grayscale(1); opacity: .6; }
.track__steps li small { font-size: .75rem; }
.track__steps li.done { color: var(--ink); }
.track__steps li.done::before, .track__steps li.now::before { background: var(--strawberry); }
.track__steps li.done span { filter: none; opacity: 1; border-color: var(--strawberry); }
.track__steps li.now { color: var(--wine); }
.track__steps li.now b { font-weight: 800; }
.track__steps li.now span { filter: none; opacity: 1; background: var(--strawberry); border-color: var(--strawberry); animation: ring 1.6s infinite; }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(232,53,74,.5); } 70% { box-shadow: 0 0 0 12px rgba(232,53,74,0); } 100% { box-shadow: 0 0 0 0 rgba(232,53,74,0); } }
.track__detail { text-align: left; background: #fff; border-radius: 14px; padding: .6rem .9rem; }
.track__detail summary { font-weight: 600; color: var(--wine); cursor: pointer; }
.track__detail p { font-size: .85rem; margin-top: .5rem; }
.track__detail small { color: var(--muted); }
.track__total { text-align: right; border-top: 1px solid var(--cream-2); padding-top: .5rem; }
.track__folio { color: var(--muted); font-size: .75rem; }

.my-order {
  position: fixed; left: 16px; bottom: max(16px, env(safe-area-inset-bottom)); z-index: 30; border: 0; border-radius: 999px;
  background: #fff; color: var(--wine); font-weight: 700; padding: .8rem 1.1rem; box-shadow: 0 10px 26px -8px rgba(0,0,0,.5);
  animation: pop .5s both, float 3s ease-in-out .5s infinite;
}
.my-order[hidden] { display: none; }

/* Permiso de ubicación */
.geo { text-align: center; display: grid; gap: .8rem; padding-top: 1.8rem; }
.geo h3 { padding: 0; }
.geo p { color: var(--muted); }
.geo__icon { font-size: 3.4rem; animation: pop .6s cubic-bezier(.2,1.4,.4,1) both, float 2.6s ease-in-out .6s infinite; }
.btn--ghost-dark { background: #fff; color: var(--wine); border: 2px solid var(--cream-2); }
.pick__ok { color: #15803d; font-weight: 600; }

.live { color: #15803d; font-weight: 700; animation: blink 1.6s infinite; }

/* Código de entrega */
.track__code { display: grid; gap: .2rem; background: var(--wine); color: #fff; border-radius: 18px; padding: 1rem; animation: pop .5s both; }
.track__code[hidden] { display: none; }
.track__code small { color: #f3cfcf; font-weight: 600; letter-spacing: .03em; }
.track__code b { font-size: 2.8rem; letter-spacing: .35em; padding-left: .35em; font-weight: 800; }
.track__code span { font-size: .8rem; color: #f3cfcf; }

/* Redes sociales */
.social { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; }
.social a { display: inline-flex; align-items: center; gap: .45rem; padding: .55rem 1rem; border-radius: 999px; font-weight: 600; font-size: .88rem; text-decoration: none; color: #fff; transition: transform .2s; }
.social a:active { transform: scale(.95); }
.social__tt { background: #000; box-shadow: -2px -2px 0 #25f4ee, 2px 2px 0 #fe2c55; }
.social__fb { background: #1877f2; }
.social--hero { margin-top: 1rem; animation: rise .8s .6s both; }
.visit__row--social .social { justify-content: flex-start; margin-top: .5rem; }
.social--foot { margin: .9rem 0 .4rem; }

/* Anuncio de ANWI */
.promo { position: relative; z-index: 1; padding: 1rem 16px 2.5rem; }
.promo__card {
  position: relative; isolation: isolate; overflow: hidden; display: grid; justify-items: center; gap: .6rem; text-align: center;
  max-width: 560px; margin: 0 auto; padding: 2.2rem 1.4rem 1.8rem; border-radius: 28px; text-decoration: none; color: #fff;
  background: linear-gradient(120deg, #7c3aed, #0b0b12 50%, #f97316); background-size: 220% 220%;
  animation: promoShift 7s ease infinite; box-shadow: 0 24px 50px -20px rgba(124, 58, 237, .7);
}
.promo__card::before { /* borde brillante */
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 2px; z-index: -1;
  background: conic-gradient(from var(--ang, 0deg), #a78bfa, #f97316, #06b6d4, #a78bfa);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: promoSpin 4s linear infinite;
}
@property --ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes promoSpin { to { --ang: 360deg; } }
@keyframes promoShift { 50% { background-position: 100% 100%; } }
.promo__glow { position: absolute; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(167,139,250,.55), transparent 70%); top: -80px; right: -60px; z-index: -1; animation: float 5s ease-in-out infinite; }
.promo__sparks i { position: absolute; font-style: normal; color: #fde68a; opacity: 0; animation: spark 3.2s ease-in-out infinite; }
.promo__sparks i:nth-child(1) { top: 14%; left: 10%; }
.promo__sparks i:nth-child(2) { top: 22%; right: 12%; animation-delay: .6s; font-size: 1.3rem; }
.promo__sparks i:nth-child(3) { bottom: 26%; left: 8%; animation-delay: 1.2s; font-size: .8rem; }
.promo__sparks i:nth-child(4) { bottom: 14%; right: 9%; animation-delay: 1.8s; }
.promo__sparks i:nth-child(5) { top: 48%; left: 50%; animation-delay: 2.4s; font-size: .7rem; }
@keyframes spark { 0%, 100% { opacity: 0; transform: scale(.4) rotate(0); } 50% { opacity: 1; transform: scale(1.2) rotate(90deg); } }
.promo__brand { display: flex; align-items: center; gap: .5rem; background: rgba(255,255,255,.1); padding: .45rem 1rem .45rem .7rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); }
.promo__logo { width: 30px; height: 36px; overflow: visible; transform-origin: 50% 0; animation: anwiSwing 4.5s cubic-bezier(.45, 0, .55, 1) infinite; }
.anwi-logo__letter { fill: none; stroke: url(#gradAnwi); stroke-width: 4.2; stroke-linecap: round; stroke-linejoin: round; }
.anwi-logo__string { stroke: #fff; stroke-width: 1.4; stroke-linecap: round; opacity: .7; }
.anwi-logo__pivot { fill: #fff; }
@keyframes anwiSwing {
  0% { transform: rotate(0); } 6% { transform: rotate(7deg) scale(1.06, .92); } 15% { transform: rotate(-26deg) scale(.95, 1.06); }
  27% { transform: rotate(19deg); } 38% { transform: rotate(-12deg); } 48% { transform: rotate(7deg); } 57% { transform: rotate(-3.5deg); }
  65% { transform: rotate(1.5deg); } 72%, 100% { transform: rotate(0); }
}
.promo__name { font-weight: 800; letter-spacing: .12em; font-size: 1.05rem; }
.promo__title { font-size: clamp(1.7rem, 7vw, 2.3rem); font-weight: 800; line-height: 1.1; margin-top: .3rem; }
.promo__text { color: rgba(255,255,255,.85); font-size: .95rem; max-width: 34ch; }
.promo__text b { color: #fde68a; }
.promo__btn {
  margin-top: .5rem; display: inline-flex; align-items: center; gap: .5rem; padding: .9rem 1.6rem; border-radius: 999px;
  background: #fff; color: #0b0b12; font-weight: 800; box-shadow: 0 12px 26px -10px rgba(0,0,0,.6); transition: gap .25s, transform .25s;
  animation: promoPulse 2.4s ease-in-out infinite;
}
@keyframes promoPulse { 50% { transform: scale(1.05); } }
.promo__card:hover .promo__btn { gap: .9rem; }
.promo__card.reveal { transform: translateY(40px) scale(.94); }
.promo__card.reveal.is-visible { transform: none; }
.foot small a { color: var(--pink); font-weight: 600; }

/* Porción extra de una opción (ej. Doble durazno) */
.opts .mas { display: inline-flex; align-items: center; gap: 2px; margin-left: -.25rem; margin-right: .2rem; vertical-align: middle; }
.mas button { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--cream-2); background: #fff; color: var(--wine); font-weight: 800; font-size: 1rem; line-height: 1; cursor: pointer; }
.mas .mas-mas { border-color: var(--strawberry); color: var(--strawberry); }
.mas.on .mas-mas { background: var(--strawberry); color: #fff; }
.mas button:disabled { opacity: .35; cursor: default; }
.mas-tag { margin-left: .35rem; font-size: .65rem; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; background: var(--strawberry); color: #fff; padding: .1rem .4rem; border-radius: 999px; }
.opt input:checked + span .mas-tag { background: #fff; color: var(--wine); }
.optw { display: inline-flex; align-items: center; white-space: nowrap; }

/* Cuenta del cliente */
.me-btn { flex: none; width: 42px; height: 42px; border-radius: 50%; border: 2px solid rgba(255,255,255,.25); background: rgba(255,255,255,.1); color: #fff; display: grid; place-items: center; padding: 0; overflow: hidden; font-size: 1.1rem; }
.me-btn.on { border-color: var(--pink); }
.wallet-btn.on { background: var(--strawberry); border-color: var(--strawberry); box-shadow: 0 0 0 3px rgba(232, 53, 74, .25); }
.wallet-btn.on .ico { color: #fff; }
.me-img, .who-img, .big-img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: grid; place-items: center; }
.avatar-ini { background: linear-gradient(135deg, var(--pink), var(--strawberry)); color: #fff; font-weight: 800; }
.top { gap: .45rem; }
.top .status { flex: 1; text-align: center; }
.who-box { display: flex; align-items: center; gap: .7rem; background: #fff; border: 2px solid var(--cream-2); border-radius: 14px; padding: .55rem .8rem; }
.who-box[hidden] { display: none; }
.who-box .who-img { width: 38px; height: 38px; flex: none; }
.who-box small { display: block; color: var(--muted); font-size: .72rem; }
.who-box b { color: var(--wine); }
.acc { text-align: center; display: grid; gap: .8rem; padding-top: 1.8rem; }
.acc h3 { padding: 0; }
.acc p { color: var(--muted); }
.acc__icon { font-size: 3.2rem; animation: pop .6s cubic-bezier(.2,1.4,.4,1) both; }
.acc__note { font-size: .78rem; color: var(--muted); }
.g-btn { display: flex; justify-content: center; min-height: 46px; }
.err-txt { color: var(--strawberry) !important; font-weight: 600; min-height: 1em; }
.acc__avatar { width: 84px; height: 84px; margin: 0 auto; border-radius: 50%; overflow: hidden; box-shadow: 0 10px 24px -10px rgba(53,7,7,.6); font-size: 2rem; }
.acc__avatar .big-img { font-size: 2rem; }
.acc__orders { text-align: left; background: #fff; border-radius: 16px; padding: .8rem; display: grid; gap: .4rem; }
.acc__orders > b { color: var(--wine); }
.mine { display: flex; align-items: center; justify-content: space-between; gap: .6rem; width: 100%; text-align: left; border: 0; border-top: 1px solid var(--cream-2); background: none; padding: .6rem .1rem; cursor: pointer; color: var(--ink); }
.mine span { min-width: 0; }
.mine small { display: block; color: var(--muted); font-size: .75rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mine em { flex: none; font-style: normal; font-size: .75rem; font-weight: 700; color: var(--wine); }
.acc__orders { grid-template-columns: minmax(0, 1fr); }
.mine span { flex: 1; }

/* Íconos de línea e ilustraciones (reemplazan a los emojis) */
.ico { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }
.deco { width: 1em; height: 1em; display: block; }
.chip { display: inline-flex; align-items: center; gap: .35rem; }
.chip .ico { width: 18px; height: 18px; }
.me-btn .ico { width: 22px; height: 22px; }
.my-order { display: inline-flex; align-items: center; gap: .45rem; }
.my-order .ico { width: 20px; height: 20px; }
.btn .ico { width: 20px; height: 20px; }
.line__emoji { color: var(--berry); }
.line__emoji .ico { width: 30px; height: 30px; }
.pick__pin svg { width: 38px; height: 38px; display: block; }
.geo__icon svg { width: 60px; height: 60px; margin: 0 auto; display: block; }
.acc__icon img { height: 86px; width: auto; margin: 0 auto; }
.track__icon { color: var(--wine); display: grid; place-items: center; }
.track__icon .ico { width: 64px; height: 64px; }
.track__steps li span { color: var(--wine); }
.track__steps li span .ico { width: 20px; height: 20px; }
.track__steps li.now span { color: #fff; }

/* Datos para transferencia (en el carrito) */
.transfer { display: grid; gap: .5rem; background: var(--cream); border: 1px solid var(--cream-2); border-radius: 14px; padding: .8rem; margin-top: -.3rem; }
.transfer__title { font-weight: 800; color: var(--wine); font-size: .9rem; }
.transfer__row { display: flex; align-items: center; gap: .6rem; background: #fff; border: 1px solid var(--cream-2); border-radius: 10px; padding: .55rem .7rem; }
.transfer__data { flex: 1; min-width: 0; display: grid; gap: 1px; }
.transfer__k { font-size: .68rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; }
.transfer__v { font-size: .95rem; color: var(--ink); word-break: break-all; font-variant-numeric: tabular-nums; }
.transfer__copy { flex: none; border: 0; background: var(--wine); color: #fff; border-radius: 999px; padding: .4rem .9rem; font-weight: 700; font-size: .78rem; cursor: pointer; }
.transfer__copy:active { transform: scale(.95); }
.transfer__note { font-size: .74rem; color: var(--muted); }

/* Subir captura del pago (en el seguimiento) */
.proof { display: grid; gap: .5rem; background: var(--cream); border: 1px dashed var(--strawberry); border-radius: 14px; padding: .8rem; text-align: center; }
.proof__msg { font-size: .82rem; color: var(--ink); }
.proof__btn, .proof__again { display: inline-block; cursor: pointer; background: var(--strawberry); color: #fff; border-radius: 999px; padding: .6rem 1.1rem; font-weight: 700; font-size: .85rem; }
.proof__again { background: var(--wine); padding: .3rem .8rem; font-size: .75rem; }
.proof__ok { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .6rem; font-size: .85rem; font-weight: 700; color: var(--ok, #0b7a37); }
.proof__ok a { color: var(--berry); font-weight: 700; }

/* ===== Tarjeta de lealtad (estilo Wallet) ===== */
.loyalty { perspective: 1000px; max-height: 0; opacity: 0; overflow: hidden; padding: 0 16px;
  transition: max-height .5s cubic-bezier(.2, .8, .2, 1), opacity .4s ease, padding .4s ease; }
.loyalty.show { max-height: 680px; opacity: 1; padding: 14px 16px 0; }
.loy__hint { margin: 10px 0 0; text-align: center; font-size: .74rem; opacity: .85; letter-spacing: .01em; }
.loy {
  position: relative; max-width: 520px; margin: 0 auto; border-radius: 22px; padding: 18px 18px 16px;
  color: #fff; overflow: hidden; transform-style: preserve-3d; transition: transform .25s ease;
  background: linear-gradient(135deg, #7a1016 0%, var(--wine-2) 45%, var(--wine) 100%);
  box-shadow: 0 16px 34px -12px rgba(53, 7, 7, .8), inset 0 1px 0 rgba(255, 255, 255, .2);
  animation: loyIn .6s cubic-bezier(.2, 1, .3, 1) both;
}
@keyframes loyIn { from { opacity: 0; transform: translateY(-16px) scale(.96); } }
.loy__shine { position: absolute; top: 0; left: -60%; width: 38%; height: 100%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .4), transparent);
  transform: skewX(-18deg); animation: loyShine 4.5s ease-in-out infinite; }
@keyframes loyShine { 0%, 55% { left: -60%; } 100% { left: 135%; } }
.loy__top { display: flex; justify-content: space-between; align-items: baseline; font-size: .68rem;
  letter-spacing: .12em; text-transform: uppercase; opacity: .95; }
.loy__brand { font-weight: 800; letter-spacing: .02em; font-size: .82rem; }
.loy__who { display: flex; align-items: center; gap: 12px; margin: 12px 0 14px; }
.loy__img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; flex: none;
  border: 2px solid rgba(255, 255, 255, .85); box-shadow: 0 4px 10px rgba(0, 0, 0, .25); }
.loy__img.avatar-ini { display: grid; place-items: center; background: rgba(255,255,255,.25); font-weight: 800; }
.loy__id { min-width: 0; }
.loy__id b { display: block; font-size: 1.08rem; line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.loy__id small { opacity: .85; font-size: .72rem; letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.loy__stamps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin: 2px 0 12px; }
.stamp { aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .14); border: 1.6px dashed rgba(255, 255, 255, .55); }
.stamp svg { width: 62%; height: 62%; opacity: .4; color: #fff; }
.stamp.on { background: #fff; border: 1.6px solid #fff; box-shadow: 0 3px 8px rgba(0, 0, 0, .22); }
.stamp.on svg { opacity: 1; color: var(--strawberry); }
.stamp.pop { animation: stampPop .5s cubic-bezier(.2, 1.5, .3, 1) both; animation-delay: calc(var(--i) * .07s); }
@keyframes stampPop { 0% { transform: scale(0) rotate(-35deg); } 60% { transform: scale(1.22) rotate(10deg); } 100% { transform: scale(1); } }
.loy__foot { display: flex; justify-content: space-between; align-items: center; font-size: .82rem; opacity: .97; }
.loy__foot b { font-size: 1.05rem; }
.loy__promo { margin-top: 12px; background: #fff; color: #a8101f; font-weight: 800; text-align: center;
  border-radius: 12px; padding: .65em .8em; font-size: .9rem; animation: loyPromo 1.5s ease-in-out infinite; }
@keyframes loyPromo { 50% { transform: scale(1.03); box-shadow: 0 0 0 4px rgba(255, 255, 255, .35); } }

/* ===== Invitación lateral a crear cuenta (Google) — lado izquierdo ===== */
.join { position: fixed; top: 50%; left: 0; z-index: 70; pointer-events: none; }
.join__tab, .join__panel { pointer-events: auto; }
.join__tab { position: absolute; left: 0; top: 0; transform: translateY(-50%); cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 5px; width: 50px; padding: 12px 6px;
  border: none; border-radius: 0 16px 16px 0; color: #fff; font: inherit;
  background: linear-gradient(140deg, var(--pink), var(--strawberry));
  box-shadow: 5px 6px 18px -6px rgba(0, 0, 0, .45);
  transition: opacity .3s ease, transform .35s ease; animation: joinTabIn .6s .4s ease both; }
@keyframes joinTabIn { from { transform: translate(-60px, -50%); opacity: 0; } }
.join__tab:hover { transform: translateY(-50%) translateX(3px); }
.join__tabic { width: 23px; height: 23px; }
.join__tab span { font-size: .58rem; font-weight: 800; line-height: 1.12; text-transform: uppercase; letter-spacing: .04em; }
.join.open .join__tab { opacity: 0; pointer-events: none; transform: translate(-30px, -50%); }

.join__panel { position: absolute; left: 0; top: 0; width: min(300px, 84vw);
  transform: translate(calc(-100% - 14px), -50%); transition: transform .5s cubic-bezier(.2, .85, .25, 1);
  background: linear-gradient(135deg, #fff, #ffe9ef); border: 1.5px solid #ffc6d5; border-left: none;
  border-radius: 0 18px 18px 0; padding: 20px 18px 16px; text-align: center;
  box-shadow: 14px 14px 36px -14px var(--strawberry); }
.join.open .join__panel { transform: translate(0, -50%); }
.join__close { position: absolute; top: 8px; right: 10px; width: 30px; height: 30px; border: none; cursor: pointer;
  background: transparent; color: #a8101f; border-radius: 50%; display: grid; place-items: center; }
.join__close:hover { background: rgba(168, 16, 31, .1); }
.join__close svg { width: 18px; height: 18px; }
.join__ic { width: 46px; height: 46px; margin: 2px auto 10px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--pink), var(--strawberry)); color: #fff; }
.join__ic svg { width: 24px; height: 24px; }
.join__txt b { display: block; color: #a8101f; font-size: 1rem; line-height: 1.2; }
.join__txt span { color: #8a5461; font-size: .85rem; }
.join__g { margin-top: 14px; min-height: 40px; display: grid; place-items: center; }
