/* Merka — La tienda: fondo gris con tarjetas blancas y «Instalar esta tienda» (JC, 16 nov 2026).
   Aparte de tienda-vendedor.css para que esa no pase su techo de peso. */
/* ---------- Fondo gris (JC, 16 nov 2026; corregido el 17 nov) ----------
   Portada y producto: sin cajas por sección (quedaba caja dentro de caja y en el celular cada foto medía
   ~115 px). Secciones a todo el ancho útil y solo las tarjetas de producto como tarjetas. El carrito sí
   conserva sus bloques blancos sobre el gris. */

/* La ficha dentro de la tienda: amplia, sin cajas; las partes separadas con espacio y líneas finas. */
.tv .fi-caja { background: none; border-radius: 0; box-shadow: none; padding: 22px 0 0; border-top: 1px solid #e3e5ec; }
.tv .fi-vendedor { background: none; border-radius: 0; box-shadow: none; padding: 18px 0 0; border-top: 1px solid #e3e5ec; }
.tv .fi-info > * + * { padding-top: 14px; border-top: 1px solid #e3e5ec; }
.tv .fi-info > .fi-cabeza + *, .tv .fi-info > [hidden] + *, .tv .fi-info > :is(.fi-nota, .fi-carrito-ok, .fi-carrito-error) { padding-top: 0; border-top: 0; }
@media (max-width: 760px) {
  /* La foto principal a todo el ancho del celular. */
  .tv .tv2-pagina > .fi { padding-left: 0; padding-right: 0; }
  .tv .fi-galeria { margin: -24px calc(-1 * clamp(16px,2vw,32px)) 0; }
  .tv .fi-foto { border-radius: 0; box-shadow: none; }
  .tv .fi-miniaturas { padding: 0 clamp(16px,2vw,32px); }
}

/* El carrito: los bloques blancos se quedan; en el celular, 8 px a los lados y 14 de relleno. */
@media (max-width: 760px) {
  .tv .tc { padding-left: 8px; padding-right: 8px; }
  .tv .tc-caja, .tv .tc-agotados { padding: 14px; }
}
/* «Instalar esta tienda» (JC, 16 nov 2026): una línea discreta bajo la cabecera, y la ventanita del iPhone. */
.tv2-instalar { max-width: 1400px; margin: 10px auto 0; width: calc(100% - 2 * clamp(12px,2vw,32px)); box-sizing: border-box; display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 14px; background: #ffffff; border: 1px solid #e6e8f0; border-radius: 14px; font-size: 14px; color: #1b1f3b; }
.tv2-instalar[hidden] { display: none; }
.tv2-instalar-ico { flex: none; width: 32px; height: 32px; border-radius: 10px; background: var(--acs); color: var(--ac); display: flex; align-items: center; justify-content: center; }
.tv2-instalar-txt { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tv2-instalar-btn { flex: none; width: auto; min-height: 36px; margin: 0; padding: 0 14px; border: 0; border-radius: 10px; background: var(--ac); color: #ffffff; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.tv2-instalar-x { flex: none; width: 36px; height: 36px; margin: 0; padding: 0; border: 0; border-radius: 10px; background: none; color: #6b6f85; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.tv2-instalar-pedida { border-color: var(--ac); box-shadow: 0 0 0 3px var(--acs); }
.tv2-ios { width: min(420px, calc(100% - 24px)); margin: auto auto 12px; padding: 22px 20px 20px; border: 0; border-radius: 22px; box-shadow: 0 18px 40px rgba(10,12,30,0.3); color: #1b1f3b; }
.tv2-ios::backdrop { background: rgba(10,12,30,0.45); }
.tv2-ios h2 { margin: 0 0 4px; font-size: 19px; }
.tv2-ios p { margin: 0 0 6px; color: #6b6f85; font-size: 14.5px; }
.tv2-ios ol { margin: 10px 0 16px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.tv2-ios li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.4; }
.tv2-ios li svg { vertical-align: -3px; }
.tv2-ios-num { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--acs); color: var(--ac); font-weight: 700; display: flex; align-items: center; justify-content: center; }
.tv2-ios .tv2-boton { width: 100%; }
