/* ======================== VARIABLES ======================== */
:root {
    --productos-accent: #ff4081;
    --productos-card-bg: rgba(255, 255, 255, 0.96);
    --productos-card-text: #3b3b3b;
    --productos-muted: #6b6b6b;
}

/* ======================== ANIMACIÓN SCROLL ======================== */
.scroll-fade {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .6s ease, transform .6s cubic-bezier(.2, .8, .2, 1);
    will-change: opacity, transform;
}
.scroll-fade.visible {
    opacity: 1;
    transform: none;
}

/* ======================== CONTENEDOR PRINCIPAL ======================== */
.productos-page {
    padding: 40px 18px;
}

/* ======================== TITULOS ======================== */
.productos-title,
.productos-page .productos-title {
    color: #fff !important;
    font-size: 2.8em;
    font-family: 'Comic Sans MS', cursive;
    letter-spacing: 1px;
    margin-bottom: .6rem;
    text-shadow: 0 2px 6px rgba(0,0,0,.45);
}

.productos-subtitle,
.productos-page .productos-subtitle {
    color: rgba(255, 255, 255, .9) !important;
    font-size: 1.12rem;
}

/* ======================== CARDS ======================== */
.cards {
    justify-content: center;
    gap: 18px;
    margin-bottom: 12px;
}

.cards > .card-gn {
    max-width: 360px !important;
    max-height: 300px !important;
}

.productos-page .card-gn {
    background: var(--productos-card-bg);
    color: var(--productos-card-text);
    border: 1px solid rgba(255, 64, 129, .12);
}

.productos-page .card-gn .card-title {
    color: var(--productos-accent);
    font-weight: 600;
    font-size: 1.22rem;
}

.productos-page .card-gn .card-text,
.productos-page .card-gn .muted {
    color: var(--productos-muted);
    font-size: 1.03rem;
    line-height: 1.35;
}

.productos-page .card-gn img {
    border: 3px solid var(--productos-accent);
    box-shadow: 0 2px 8px rgba(230, 0, 126, .08);
}

.productos-page .card-gn .badge {
    background: #fff0f7;
    color: var(--productos-accent);
    border: 1px solid rgba(255, 64, 129, .12);
    font-weight: 700;
}

.productos-page .card-gn .btn {
    background: var(--productos-accent);
    color: #fff;
}

/* ======================== PAGINADOR ======================== */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 28px;
}

.animated-paginator,
.productos-page .animated-paginator {
    display: flex !important;
    gap: 10px !important;
    align-items: center !important;
    justify-content: center !important;
}

/* --- ESTILO GENERAL (SIEMPRE NEGRO) --- */
.animated-paginator .page-link,
.productos-page .animated-paginator .page-link {
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    background: #fff !important;
    color: #222 !important;
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    border: none !important;
    box-shadow: 0 6px 14px rgba(0,0,0,.16) !important;
    transition: transform .22s cubic-bezier(.2,.9,.3,1) !important;
}

/* --- TODOS LOS ESTADOS (PARA QUE NUNCA SE PONGA BLANCO) --- */
.animated-paginator .page-link:hover,
.animated-paginator .page-link:visited,
.animated-paginator .page-link:focus,
.animated-paginator .page-link:active,
.productos-page .animated-paginator .page-link:hover,
.productos-page .animated-paginator .page-link:visited,
.productos-page .animated-paginator .page-link:focus,
.productos-page .animated-paginator .page-link:active {
    color: #222 !important;
    background: #fff !important;
}

/* --- HOVER (solo efecto de movimiento, NO de color) --- */
.animated-paginator .page-link:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 30px rgba(0,0,0,.22) !important;
}

/* --- PÁGINA ACTIVA (único que va blanco) --- */
.animated-paginator .page-item.active .page-link,
.productos-page .animated-paginator .page-item.active .page-link {
    background: var(--productos-accent) !important;
    color: #fff !important; /* este sí va blanco */
    transform: scale(1.06) !important;
    box-shadow: 0 20px 40px rgba(255, 64, 129, .14) !important;
}

/* Animación pulse */
.animated-paginator .page-link.pulse {
    animation: paginator-pulse .38s cubic-bezier(.2, .9, .3, 1) !important;
}

@keyframes paginator-pulse {
    0% { transform: scale(1); }
    40% { transform: scale(1.18); }
    100% { transform: scale(1); }
}

body.pag-navigating .productos-page {
    opacity: 0;
    transition: opacity .28s ease;
}

/* ======================== SECCIONES ======================== */
.productos-section-title {
    color: #fff;
    font-size: 1.75rem;
    text-align: center;
    margin: 20px 0 8px;
}

/* ======================== LISTAS HORIZONTALES ======================== */
.recomendados-cards,
.en-uso-cards {
    display: flex;
    gap: 14px;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 10px 6px;
    margin-bottom: 16px;
}

.recomendados-cards .card-gn,
.en-uso-cards .card-gn {
    min-width: 220px;
    max-width: 240px;
}

/* ======================== INFO-LIST GENERICO ======================== */
.info-list {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    padding: 8px 6px;
    justify-content: center;
}

.info-item {
    display: flex;
    gap: 12px;
    background: rgba(0,0,0,.18);
    border-radius: 10px;
    padding: 10px 12px;
    max-width: 520px;
    color: #fff;
    border: 1px solid rgba(255,255,255,.04);
}

.info-img {
    width: 56px;
    height: 56px;
    border-radius: 999px;
    object-fit: cover;
    border: 2px solid rgba(255, 64, 129, .14);
}

.info-desc {
    color: #fff;
    font-size: 1.02rem;
    line-height: 1.3;
}

/* ======================== EN USO EN EL ESTUDIO ======================== */
.en-uso-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    padding: 18px 12px;
    margin-bottom: 22px;
}

.en-uso-list .info-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: linear-gradient(180deg, rgba(0,0,0,.18), rgba(0,0,0,.12));
    min-height: 220px;
    padding: 18px;
    border-radius: 12px;
}

.en-uso-list .info-img {
    width: 88px;
    height: 88px;
    border: 3px solid rgba(255, 64, 129,.15);
    box-shadow: 0 6px 18px rgba(0,0,0,.24);
}

.en-uso-list .info-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
}

.en-uso-list .info-desc {
    display: none !important;
}

/* ======================== OBJETIVO ======================== */
.objetivo-section {
    padding: 28px 20px;
    margin: 0 auto 18px;
    max-width: 1200px;
    text-align: center;
}

.objetivo-section .productos-section-title {
    color: #fff;
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.objetivo-section .productos-subtitle {
    color: rgba(255,255,255,.94);
    font-size: 1.08rem;
    line-height: 1.55;
    max-width: 980px;
    margin: 0 auto;
}

.objetivo-section .productos-subtitle span {
    color: var(--productos-accent);
    font-weight: 700;
}

/* ======================== RESPONSIVE ======================== */
@media (max-width: 991px) {
    .productos-page { padding: 30px 12px; }
    .productos-title { font-size: 2.1em; }
    .en-uso-list .info-item { min-height: 200px; }
}

@media (max-width: 768px) {
    .info-list { flex-direction: column; align-items: center; }
    .info-item { width: 95%; }
}

@media (max-width: 600px) {
    .en-uso-list { grid-template-columns: 1fr; }
    .objetivo-section { padding: 18px 12px; }
    .objetivo-section .productos-section-title { font-size: 1.25rem; }
}

/* Forzar fuentes del proyecto (definidas en base.css) */
body {
  font-family: var(--fuente-textos) !important;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--fuente-titulos) !important;
}
