/* Recomendaciones con enlace de afiliado (equipate.html y cajas dentro de guías y noticias). Paleta de css/marca.css. */
.af-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; margin: 0 0 26px; }
.af-prod { display: flex; gap: 14px; padding: 18px; border-radius: 14px; background: var(--tinta-2); border: 1px solid var(--linea); }
.af-prod h3 { margin: 0 0 6px; font-size: 18px; }
.af-prod p { margin: 0 0 12px; color: #cfc8dd; font-size: 14.5px; }
.af-ico { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: rgba(255, 92, 168, .12); color: var(--flamingo); }
.af-ico-s { width: 40px; height: 40px; border-radius: 11px; }
.af-btn { display: inline-block; padding: 9px 16px; border-radius: 999px; background: var(--flamingo); color: #1a0d18 !important; font-weight: 700; font-size: 14px; text-decoration: none; white-space: nowrap; }
.af-btn:hover { filter: brightness(1.08); }
.af-aviso { font-size: 12.5px; color: var(--bruma); }
.af-caja { margin: 30px 0 0; padding: 16px 18px; border-radius: 14px; background: var(--tinta-2); border: 1px solid rgba(255, 92, 168, .3); }
.af-titulo { margin: 0 0 10px; font-weight: 700; font-size: 14px; letter-spacing: .03em; text-transform: uppercase; color: var(--flamingo); }
.af-caja ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.af-caja li { display: flex; align-items: center; gap: 12px; }
.af-txt { flex: 1; min-width: 0; font-size: 14px; }
.af-txt strong { display: block; color: var(--arena); }
.af-txt span { color: #cfc8dd; }
.af-caja .af-aviso { margin: 12px 0 0; }
@media (max-width: 640px) { .af-caja li { flex-wrap: wrap; } .af-caja .af-btn { margin-left: 52px; } }
.af-foto { margin: 0 0 14px; }
.af-foto img { display: block; width: 100%; height: auto; max-height: 260px; object-fit: cover; border-radius: 14px; }
/* banner de la oferta destacada (arriba de la página de ofertas) */
.af-hero { position: relative; display: block; margin: 8px 0 26px; border-radius: 18px; overflow: hidden; text-decoration: none; color: #fff; border: 1px solid rgba(255, 154, 60, .45); }
.af-hero img { display: block; width: 100%; height: 300px; object-fit: cover; transition: transform .4s; }
.af-hero:hover img { transform: scale(1.03); }
.af-hero-txt { position: absolute; inset: auto 0 0 0; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; padding: 22px; background: linear-gradient(to top, rgba(10, 5, 18, .92), rgba(10, 5, 18, 0)); }
.af-hero-chip { padding: 3px 10px; border-radius: 99px; background: #ff9a3c; color: #1a0d18; font-weight: 800; font-size: 12.5px; }
.af-hero-txt strong { font-family: var(--titulos); font-size: clamp(24px, 4vw, 34px); line-height: 1.1; }
.af-hero-txt > span:not(.af-hero-chip):not(.af-btn) { max-width: 60ch; font-size: 14.5px; color: #ece6f5; }
@media (max-width: 640px) { .af-hero img { height: 340px; } }
.af-dto { display: inline-block; margin-right: 8px; padding: 1px 8px; border-radius: 99px; background: #ff9a3c; color: #1a0d18; font-family: var(--texto); font-size: 13px; font-weight: 800; vertical-align: 2px; }
