.tv2-todos-pie { margin: 24px 0 0; display: flex; justify-content: center; }
.tv2-reb-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); grid-template-rows: repeat(2, minmax(0,1fr)) auto; gap: 12px; }
.tv2-reb-todas { grid-column: 1 / -1; justify-self: end; align-self: center; padding: 2px 4px; color: #d81f26; font-size: 15px; font-weight: 800; text-decoration: none; }
.tv2-reb-todas:hover { color: #a3141a; }
.tv2-rc { position: relative; min-width: 0; background: #ffffff; border: 1px solid #f3d3d4; border-radius: 14px 14px 14px 5px; overflow: hidden; transition: box-shadow 160ms ease, transform 160ms ease; }
.tv2-rc:hover { transform: translateY(-2px); box-shadow: rgba(120,0,0,0.12) 0 10px 22px; }
.tv2-rc-enlace { height: 100%; padding: 8px; display: flex; flex-direction: column; gap: 4px; color: #1a1a1a; text-decoration: none; }
.tv2-rc-enlace:hover { color: #1a1a1a; }
.tv2-rc-foto { position: relative; display: block; flex: 1 1 auto; min-height: 84px; max-height: 150px; aspect-ratio: 4 / 3; border-radius: 10px 10px 10px 4px; overflow: hidden; background: #f4f4f6; }
.tv2-rc-foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tv2-rc-pct { position: absolute; top: 14px; left: 14px; padding: 4px 7px; border-radius: 7px 7px 7px 3px; background: #e0251b; color: #ffffff; font-size: 12px; font-weight: 800; line-height: 1; }
.tv2-rc-n { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tv2-rc-precios { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 6px; }
.tv2-rc-precios del { font-size: 12px; color: #8a8a94; }
.tv2-rc-precios strong { font-size: 17px; font-weight: 800; color: #d81f17; }
.tv2-rc > form[data-guardar], .tv2-rc > a.tv2-fav { position: absolute; z-index: 1; top: 12px; right: 12px; margin: 0; }
.tv2-rc .tv2-fav { width: 32px; height: 32px; }
.tv2-rc .tv2-fav svg { width: 17px; height: 17px; }
.tv2-reb-tit.tv-t-mediano { font-size: clamp(22px,2.2vw,30px); } .tv2-reb-tit.tv-t-muy-grande { font-size: clamp(30px,3.2vw,46px); }
.tv2-reb-tit .tv-promo-clave { color: var(--pc,#ffea41); line-height: .95; }
.tv2-reb-panel p.tv2-reb-dest { color: var(--pd,#ffffff); font-size: 18px; line-height: 1.35; }
.tv2-reb-dest.tv-t-grande { font-size: 22px; } .tv2-reb-panel p.tv2-reb-dest.tv-t-muy-grande { font-size: 26px; }
.tv-k-grande { font-size: 1.2em; } .tv-k-muy-grande { font-size: 1.45em; } .tv-k-enorme { font-size: 1.75em; } .tv-m-si { text-transform: uppercase; }
.tv-l-clasica { font-family: Georgia, "Times New Roman", serif; letter-spacing: 0; }
.tv2-reb-tit.tv-t-grande { font-size: clamp(26px,2.6vw,38px); } .tv2-reb-tit.tv-g-normal { font-weight: 500; } .tv2-reb-tit.tv-g-gruesa { font-weight: 700; } .tv2-reb-tit.tv-g-muy-gruesa { font-weight: 800; }
#tv2-todos { padding-bottom: clamp(48px,6vw,88px); }
.tv-g-normal { font-weight: 500; } .tv-g-gruesa { font-weight: 700; } .tv-g-muy-gruesa { font-weight: 800; } .tv-e-sombra { filter: drop-shadow(0 4px 10px rgba(0,0,0,.4)); } .tv-e-brillo { filter: drop-shadow(0 0 14px rgba(255,255,255,.45)); } .tv-e-inclinada { font-style: italic; }
@media (max-width: 760px) {
  .tv2-reb-grid { grid-template-columns: repeat(2, minmax(0,1fr)); grid-template-rows: none; gap: 10px; }
  .tv2-reb-todas { justify-self: center; padding: 8px; }
}
/* El bloque de rebajas con imagen (JC, 16 nov 2026): la imagen llena el panel sin deformarse; el botón, si lo hay, abajo. */
.tv2-reb-panel.tv2-reb-img { padding: 0; background: #f1f2f6; background-image: none; }
.tv2-reb-img picture, .tv2-reb-img-enlace { display: block; position: absolute; inset: 0; }
.tv2-reb-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tv2-reb-img-btn { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 1; white-space: nowrap; box-shadow: rgba(0,0,0,0.18) 0 6px 16px; }
/* En una columna (celular y tableta), entera y con su forma (17 nov 2026): recortada a una franja perdía arriba y abajo, y en tableta el panel quedaba sin alto. Sin pasar del 80 % de la pantalla. */
@media (max-width: 1100px) {
  .tv2-reb-panel.tv2-reb-img { display: block; min-height: 0; }
  .tv2-reb-img picture, .tv2-reb-img-enlace { position: static; }
  .tv2-reb-img img { height: auto; max-height: 80vh; object-fit: contain; }
}
