/* =========================================================
   APP DE COMPRAS - estilos de la sección y anuncios
   ========================================================= */

/* Anuncio en la portada */
.pill--link { color: #fff; text-decoration: none; transition: background .2s, transform .2s; }
.pill--link:hover { background: rgba(255,255,255,.22); transform: translateY(-1px); }
.pill--link .i { width: 1em; height: 1em; }
.pill__new {
  background: var(--rosa); color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .06em;
  text-transform: uppercase; padding: .15rem .55rem; border-radius: 999px;
}

/* Enlace "App" en el menú */
.nav .nav__app { display: inline-flex; align-items: center; gap: .35rem; }
.nav__badge {
  background: var(--rosa); color: #fff; font-size: .62rem; font-weight: 700; letter-spacing: .05em;
  text-transform: uppercase; padding: .1rem .45rem; border-radius: 999px; line-height: 1.4;
}

/* Sección */
.app {
  position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 90% 10%, rgba(230, 38, 140, .10) 0, transparent 40%),
    radial-gradient(circle at 5% 90%, rgba(0, 177, 217, .16) 0, transparent 45%),
    linear-gradient(180deg, #fff 0%, var(--celeste-claro) 100%);
}
.app__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 4rem; align-items: center; }
.app__tag {
  display: inline-block; background: linear-gradient(90deg, var(--rosa), var(--violeta)); color: #fff;
  font-weight: 800; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
  padding: .35rem 1rem; border-radius: 999px; margin-bottom: 1rem;
  box-shadow: 0 8px 18px rgba(230, 38, 140, .3);
}
.app__lead { color: var(--texto-suave); font-size: 1.12rem; max-width: 560px; }
.app__lead strong { color: var(--texto); }
.app__features { list-style: none; display: grid; gap: 1.1rem; margin: 2rem 0; }
.app__features li { display: flex; gap: 1rem; align-items: flex-start; }
.app__features strong { display: block; font-family: "Poppins", sans-serif; font-weight: 600; }
.app__features span { color: var(--texto-suave); font-size: .97rem; }
.app__ficon {
  width: 48px; height: 48px; border-radius: 14px; flex-shrink: 0; display: grid; place-items: center;
  background: #fff; color: var(--rosa); box-shadow: var(--sombra);
}
.app__ficon .i { width: 22px; height: 22px; }

/* Botones de tiendas */
.stores { display: flex; flex-wrap: wrap; gap: .8rem; }
.store {
  display: inline-flex; align-items: center; gap: .7rem;
  background: #111; color: #fff; text-decoration: none; border-radius: 14px;
  padding: .6rem 1.2rem .6rem 1rem; min-width: 190px; transition: transform .2s, box-shadow .2s;
}
.store:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(0,0,0,.2); }
.store svg { width: 28px; height: 28px; flex-shrink: 0; }
.store span { display: flex; flex-direction: column; font-family: "Poppins", sans-serif; font-weight: 600; font-size: 1.1rem; line-height: 1.15; }
.store small { font-family: "Nunito Sans", sans-serif; font-weight: 600; font-size: .72rem; opacity: .8; }
.store--soon { cursor: default; }
.store--soon:hover { transform: none; box-shadow: none; }

.app__notify {
  display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.4rem;
  color: var(--azul); font-weight: 700; text-decoration: none; border-bottom: 2px solid transparent;
}
.app__notify:hover { border-bottom-color: currentColor; }

/* Celular ilustrativo */
.app__visual { position: relative; display: flex; justify-content: center; padding: 1rem 0; }
.app__glow {
  position: absolute; width: 340px; height: 340px; border-radius: 50%; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(0,177,217,.45), rgba(142,91,216,.25) 55%, transparent 70%);
  filter: blur(10px);
}
.phone {
  position: relative; width: 290px; height: 590px; border-radius: 46px; padding: 12px;
  background: linear-gradient(145deg, #1f2937, #0b1220);
  box-shadow: 0 40px 80px rgba(7, 42, 87, .35), inset 0 0 0 2px #374151;
  animation: float 7s ease-in-out infinite;
}
.phone__notch { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 90px; height: 22px; border-radius: 999px; background: #0b1220; z-index: 2; }
.phone__screen {
  height: 100%; border-radius: 36px; overflow: hidden; background: #f4f9fc;
  display: flex; flex-direction: column; gap: .7rem; padding: 46px 14px 14px; font-size: 12px; line-height: 1.3;
}
.ui-top { display: flex; align-items: center; gap: .55rem; }
.ui-top img { width: 34px; height: 34px; border-radius: 10px; }
.ui-top small { display: block; color: var(--texto-suave); font-size: 10px; }
.ui-top strong { font-family: "Poppins", sans-serif; font-size: 14px; color: var(--azul-noche); }
.ui-cart { margin-left: auto; position: relative; width: 34px; height: 34px; border-radius: 10px; background: #fff; display: grid; place-items: center; color: var(--azul); box-shadow: 0 4px 10px rgba(0,0,0,.06); }
.ui-cart .i { width: 17px; height: 17px; }
.ui-cart b { position: absolute; top: -5px; right: -5px; background: var(--rosa); color: #fff; font-size: 9px; width: 16px; height: 16px; border-radius: 50%; display: grid; place-items: center; }
.ui-search { display: flex; align-items: center; gap: .45rem; background: #fff; border-radius: 12px; padding: .6rem .7rem; color: #94a3b8; box-shadow: 0 4px 10px rgba(0,0,0,.04); }
.ui-search .i { width: 14px; height: 14px; }
.ui-banner {
  display: flex; align-items: center; justify-content: space-between; gap: .5rem;
  background: linear-gradient(120deg, var(--celeste), var(--azul)); color: #fff; border-radius: 16px; padding: .9rem;
}
.ui-banner small { display: block; opacity: .85; font-size: 10px; }
.ui-banner strong { font-family: "Poppins", sans-serif; font-size: 13px; line-height: 1.2; display: block; color: #fff; }
.ui-banner svg { width: 44px; height: 44px; fill: rgba(255,255,255,.9); flex-shrink: 0; }
.ui-chips { display: flex; gap: .35rem; }
.ui-chips span { background: #fff; border-radius: 999px; padding: .3rem .6rem; font-size: 10px; font-weight: 700; color: var(--texto-suave); }
.ui-chips .on { background: var(--rosa); color: #fff; }
.ui-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; }
.ui-prod { position: relative; background: #fff; border-radius: 14px; padding: .65rem; box-shadow: 0 4px 10px rgba(0,0,0,.04); }
.ui-img { display: grid; place-items: center; height: 58px; border-radius: 10px; margin-bottom: .45rem; }
.ui-img .i { width: 24px; height: 24px; }
.ui-prod b { font-size: 10.5px; color: var(--azul-noche); display: block; padding-right: 18px; }
.ui-prod em { position: absolute; right: 8px; bottom: 8px; width: 18px; height: 18px; border-radius: 6px; background: var(--rosa); color: #fff; font-style: normal; font-weight: 700; display: grid; place-items: center; font-size: 12px; }
.ui-nav { margin-top: auto; display: flex; justify-content: space-around; background: #fff; border-radius: 16px; padding: .75rem; }
.ui-nav span { width: 18px; height: 18px; border-radius: 6px; background: #dbe4ee; }
.ui-nav .on { background: var(--celeste); }
.app__badge {
  position: absolute; left: 0; bottom: 160px; display: flex; align-items: center; gap: .6rem;
  background: #fff; border-radius: 16px; padding: .7rem 1rem; box-shadow: var(--sombra-fuerte);
  animation: float 6s ease-in-out infinite; animation-delay: -3s;
}
.app__badge > .i { width: 32px; height: 32px; padding: 7px; border-radius: 50%; background: var(--whatsapp); color: #fff; stroke-width: 3; }
.app__badge strong { display: block; font-family: "Poppins", sans-serif; font-size: .9rem; }
.app__badge small { color: var(--texto-suave); font-size: .78rem; }

/* Captura real de la App dentro del celular
   (se recorta la barra de estado del teléfono: ~11% del ancho) */
.phone__screen--shot { padding: 0; gap: 0; display: block; background: #fff; }
.phone__screen--shot img { width: 100%; height: auto; margin-top: -11.2%; }

@media (max-width: 960px) {
  .app__inner { grid-template-columns: 1fr; gap: 3rem; }
  .app__badge { left: calc(50% - 230px); }
}
@media (max-width: 640px) {
  .phone { width: 250px; height: 510px; }
  .app__glow { width: 260px; height: 260px; }
  .app__badge { left: 0; bottom: 130px; }
  .stores { flex-direction: column; }
  .store { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .phone, .app__badge { animation: none; }
}
