/* ═══════════════════════════════════════════════════════════════
   Tienda liordark.com — base «Mango Pro» (la misma identidad del
   panel admin y del panel mayorista).
   Fuentes propias (sin CDN externo), colores y movimiento tipo iPhone.
   La cargan todas las páginas de la tienda: index, renovar, codigo y
   cambiar-pin. El curso (curso/) tiene su propio estilo.
   ═══════════════════════════════════════════════════════════════ */

/* ─── Fuentes (subconjunto latino, en /fonts) ─── */
@font-face {
  font-family: "Outfit"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/outfit-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Outfit"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/outfit-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Outfit"; font-style: normal; font-weight: 800; font-display: swap;
  src: url("../fonts/outfit-800.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Nunito Sans"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/nunito-sans-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Nunito Sans"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/nunito-sans-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Nunito Sans"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/nunito-sans-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Nunito Sans"; font-style: normal; font-weight: 800; font-display: swap;
  src: url("../fonts/nunito-sans-800.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Solo para el banner «Arma tu combo», que se queda igual que en producción
   (Space Grotesk 700 + Manrope 400, también propias, sin Google Fonts). */
@font-face {
  font-family: "Space Grotesk"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/space-grotesk-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/manrope-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ─── Tokens (mismos valores que public-wholesale/css/style.css) ─── */
:root {
  --cream:       #FFF8EC;
  --ink:         #2B1B0E;
  --muted-2:     #6E5638;
  --soft:        #F6EFE4;
  --chip-ink:    #6B4A10;
  --icon-ink:    #A0702A;

  --mango:       #FFC93C;
  --mango-deep:  #FFB21A;
  --mango-light: #FFD866;

  --leaf:        #1F6B44;
  --leaf-hover:  #185A39;
  --leaf-soft:   #E3F3E9;
  --leaf-ink:    #2E5A41;

  --coral:       #E2552B;
  --coral-soft:  #FFE4D6;
  --coral-ink:   #7A3518;
  --danger-soft: #FDE3DC;
  --blue-soft:   #E1E9FF;
  --blue-ink:    #2D4FB3;

  --nav-bg:      #2B1B0E;
  --nav-ink:     #E8D6BC;

  --shadow-card: 0 10px 24px -20px rgba(43,27,14,.6);
  --shadow-pop:  0 16px 32px -20px rgba(43,27,14,.55);
  --shadow-float: 0 18px 36px -22px rgba(43,27,14,.55);

  --font-display: "Outfit", "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body:    "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Movimiento: curva de iOS, solo transform/opacity */
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --dur: 220ms;
  --dur-fast: 160ms;
  --dur-slow: 340ms;

  /* Nombres viejos de style.css → paleta nueva */
  --bg:        var(--cream);
  --card:      #FFFFFF;
  --text:      var(--ink);
  --muted:     #8A6E4B;
  --accent:    var(--leaf);
  --accent2:   var(--mango-deep);
  --btn:       var(--leaf);
  --border:    #F3E2C4;
  --chip-bg:   #FFF1D0;
  --danger:    #C2381F;
  --ok:        var(--leaf);

  color-scheme: light;
}

/* Fichas de plataforma (iniciales + color propio, sin logos oficiales) */
.plat {
  width: 46px; height: 46px; border-radius: 16px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: 14px; letter-spacing: -0.02em; line-height: 1;
  background: var(--pb, var(--chip-bg)); color: var(--pc, var(--chip-ink));
}
.plat-sm { width: 40px; height: 40px; border-radius: 13px; font-size: 13px; }
.plat-xs { width: 32px; height: 32px; border-radius: 11px; font-size: 11.5px; }
.plat-nf  { --pb: #FFE1E1; --pc: #B42318; }
.plat-dp  { --pb: #E1E9FF; --pc: #2D4FB3; }
.plat-hbo { --pb: #EDE4FF; --pc: #5B2DB3; }
.plat-pv  { --pb: #DDF3FA; --pc: #0F6E8C; }
.plat-cr  { --pb: #FFE6D2; --pc: #B4520F; }
.plat-sp  { --pb: #DDF7E6; --pc: #137A3A; }
.plat-yt  { --pb: #FFE3E3; --pc: #C4161C; }
.plat-ca  { --pb: #DDF5F4; --pc: #0B7A75; }
.plat-ge  { --pb: #E5E8FF; --pc: #3A43B5; }
.plat-ai  { --pb: #E2F2EC; --pc: #1F5E4A; }
.plat-pp  { --pb: #E0EBFF; --pc: #1D4ED8; }
.plat-vx  { --pb: #FFEBD6; --pc: #B45309; }
.plat-tv  { --pb: #ECECEC; --pc: #333333; }
.plat-st  { --pb: #E4E6FF; --pc: #3B3FA8; }

/* Íconos SVG de trazo */
.ic {
  width: 20px; height: 20px; flex-shrink: 0; display: block;
  fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round;
}

@keyframes mpFadeIn  { from { opacity: 0; } to { opacity: 1; } }
@keyframes mpRise    { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes mpPop     { from { opacity: 0; transform: translateY(8px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes mpSheetUp { from { transform: translateY(100%); } to { transform: none; } }
@keyframes mpSpin    { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
    scroll-behavior: auto !important;
  }
}
