/* PAP TEAM — tipografia unificada con la tienda (estilo DJI: Inter en toda la web) */
/* ===== Inter: COPIA de fonts/inter.css (rutas a fonts/) ===== velocidad (17-11-2026): antes con @import, que
   encadenaba HTML -> pap-type.css -> inter.css (una vuelta más de red antes del primer pintado). Igual que en
   shop/pap-shop.css. Si cambia fonts/inter.css, cambiar también esto (lo comprueba tests/unit/saltos.test.ts) */
/* Inter (variable 400-800), autoalojada: sin peticiones a Google Fonts */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('fonts/inter-latin.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;
}

/* Reserva con las medidas de Inter (05-11-2026, saltos al cargar): mientras llega inter-latin.woff2 el texto se pinta
   con Arial (o Liberation Sans/Arimo, que miden igual) ajustada a lo que ocupa Inter: mismo ancho medio por peso
   (size-adjust, medido en Chrome con un texto EN/ES/FR) y la misma altura de línea (ascent/descent de Inter,
   1984/494 de 2048, divididos por el size-adjust). Así, cuando cambia a Inter, las líneas no se parten distinto
   y lo de debajo no se mueve. Va DETRÁS de 'Inter' en las pilas (pap-type.css, pap-shop.css): con Inter cargada
   no pinta nada. Solo latín básico y los signos que Inter tiene seguro: el resto sigue cayendo donde caía. */
@font-face { font-family: 'Inter Fallback'; font-style: normal; font-weight: 100 449; src: local('Arial'), local('ArialMT'), local('Liberation Sans'), local('Arimo'); size-adjust: 105.24%; ascent-override: 92.05%; descent-override: 22.92%; line-gap-override: 0%; unicode-range: U+0000-017F, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+2030, U+2039-203A, U+20AC, U+2122; }
@font-face { font-family: 'Inter Fallback'; font-style: normal; font-weight: 450 549; src: local('Arial'), local('ArialMT'), local('Liberation Sans'), local('Arimo'); size-adjust: 106.16%; ascent-override: 91.25%; descent-override: 22.72%; line-gap-override: 0%; unicode-range: U+0000-017F, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+2030, U+2039-203A, U+20AC, U+2122; }
@font-face { font-family: 'Inter Fallback'; font-style: normal; font-weight: 550 649; src: local('Arial Bold'), local('Arial-BoldMT'), local('Liberation Sans Bold'), local('Arimo Bold'); size-adjust: 100.93%; ascent-override: 95.98%; descent-override: 23.90%; line-gap-override: 0%; unicode-range: U+0000-017F, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+2030, U+2039-203A, U+20AC, U+2122; }
@font-face { font-family: 'Inter Fallback'; font-style: normal; font-weight: 650 749; src: local('Arial Bold'), local('Arial-BoldMT'), local('Liberation Sans Bold'), local('Arimo Bold'); size-adjust: 101.78%; ascent-override: 95.18%; descent-override: 23.70%; line-gap-override: 0%; unicode-range: U+0000-017F, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+2030, U+2039-203A, U+20AC, U+2122; }
@font-face { font-family: 'Inter Fallback'; font-style: normal; font-weight: 750 900; src: local('Arial Bold'), local('Arial-BoldMT'), local('Liberation Sans Bold'), local('Arimo Bold'); size-adjust: 102.84%; ascent-override: 94.20%; descent-override: 23.45%; line-gap-override: 0%; unicode-range: U+0000-017F, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+2030, U+2039-203A, U+20AC, U+2122; }
/* ===== fin de la copia de fonts/inter.css ===== */

/* Safari de iPhone pinta en azul los botones y desplegables sin color propio; Chrome y el ordenador, en negro.
   :where() no pesa nada: cualquier color puesto en la hoja gana, y lo que no tiene color queda negro en todos. */
:where(button, select) { color: #000; }

/* Todo con la misma sans, tambien lo que declara la fuente en linea */
body, body * {
  font-family: 'Inter', 'Inter Fallback', -apple-system, 'Segoe UI', Roboto, Helvetica, sans-serif !important;
}

/* Titulares: Inter en negrita ocupa el lugar de Archivo Black */
h1, h2, h3, h4, h5, h6,
[style*="Archivo Black"] {
  font-weight: 700 !important;
  letter-spacing: -0.01em !important;
}

/* Etiquetas tecnicas: menos tracking del que pedia la mono, para que se lean */
[style*="JetBrains Mono"] {
  letter-spacing: 0.08em !important;
}

/* Texto corrido un punto mas alto de interlineado */
p { line-height: 1.65; }

/* Puntos interactivos sobre foto: halo que respira y ficha al pasar el raton */
.pap-hotspot {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 17px;
  height: 17px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  z-index: 4;
}
.pap-hotspot .halo {
  position: absolute;
  inset: -11px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  animation: pap-breathe 2.8s ease-in-out infinite;
  pointer-events: none;
}
.pap-hotspot .core {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #141412;
  box-shadow: 0 3px 10px rgba(20, 20, 18, 0.28);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.pap-hotspot:hover .core,
.pap-hotspot.on .core { transform: scale(1.15); border-color: #E30613; }
.pap-hotspot.on .halo { animation-play-state: paused; }

@keyframes pap-breathe {
  0%, 100% { transform: scale(0.8); opacity: 0.5; }
  50% { transform: scale(1.15); opacity: 0.14; }
}

.pap-hotspot-pop {
  position: absolute;
  z-index: 6;
  width: min(250px, 62vw);
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(20, 20, 18, 0.22);
  animation: pap-pop-in 0.18s ease-out;
}
.pap-hotspot-pop .pic { aspect-ratio: 3 / 4; background-size: cover; background-position: center; }
.pap-hotspot-pop .pic.wide { aspect-ratio: 4 / 3; }
.pap-hotspot-pop .txt { padding: 14px 16px 16px; }
.pap-hotspot-pop .tt { font-size: 12.5px; font-weight: 700; line-height: 1.25; text-transform: uppercase; margin-bottom: 6px; }
.pap-hotspot-pop p { margin: 0; font-size: 12.5px; line-height: 1.6; color: #6B6B66; }

@keyframes pap-pop-in { from { opacity: 0; } }

/* Relieve suave en los marcos claros: la tarjeta se despega del fondo gris.
   El runtime normaliza el style inline (background: rgb(...)), asi que se cubren ambas formas. */
[style*="border-radius: 22px"][style*="background: rgb(255, 255, 255)"],
[style*="border-radius: 18px"][style*="background: rgb(255, 255, 255)"],
[style*="border-radius: 22px"][style*="background: rgb(245, 245, 247)"],
[style*="border-radius: 22px"][style*="background: rgb(228, 228, 233)"],
[style*="border-radius:22px"][style*="background:#fff"],
[style*="border-radius:18px"][style*="background:#fff"],
[style*="border-radius:22px"][style*="background:#F5F5F7"],
[style*="border-radius:22px"][style*="background:#E4E4E9"] {
  box-shadow: 0 2px 4px rgba(20, 20, 18, 0.04), 0 14px 32px rgba(20, 20, 18, 0.07);
}

/* nunca desplazamiento lateral de la pagina (algun carrusel ancho la movia de lado) */
html, body { overflow-x: clip; }

/* boletin del pie: el placeholder del navegador (#757575) no se lee sobre el fondo oscuro */
input[aria-label="Email for the newsletter"]::placeholder { color: rgba(242,241,237,0.7); opacity: 1; }

/* Movil y tablet: letra un punto mas pequena, como el resto de webs.
   Los textos llevan el tamano en linea; se cubren las dos formas (con y sin espacio) */
@media (max-width:1024px), (max-width:1366px) and (hover:none) and (pointer:coarse) {
  [style*="font-size:16px"],
  [style*="font-size: 16px"] { font-size: 15px !important; }
  [style*="font-size:15.5px"],
  [style*="font-size: 15.5px"] { font-size: 14.5px !important; }
  [style*="font-size:15px"],
  [style*="font-size: 15px"] { font-size: 14px !important; }
  [style*="font-size:14.5px"],
  [style*="font-size: 14.5px"] { font-size: 13.5px !important; }
  [style*="font-size:14px"],
  [style*="font-size: 14px"] { font-size: 13.5px !important; }
  [style*="font-size:13.5px"],
  [style*="font-size: 13.5px"] { font-size: 13px !important; }
}
