/* =========================================
   SHOPPING / DEALS PAGE — extends the news.css design system
   (.nx-card, .nx-grid, .nx-section, .nx-container)
========================================= */

.shopping-page {
    background: var(--nx-bg);
    padding-bottom: 20px;
}

.shopping-page .nx-hero {
    padding: 36px 0 4px;
    text-align: center;
}
.shopping-page .nx-hero__title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--nx-text);
    margin-bottom: 8px;
}
.shopping-page .nx-hero__subtitle {
    color: var(--nx-muted);
    max-width: 720px;
    margin: 0 auto;
}

.shopping-page .nx-ad-banner {
    display: flex;
    justify-content: center;
    margin: 28px 0;
}

/* Deal card — logo on a light contain background instead of cropped cover */
.nx-card--deal .nx-card__media--contain {
    background: #fff;
    aspect-ratio: 16 / 10;
}
.nx-card--deal .nx-card__media--contain img {
    object-fit: contain;
    padding: 18px;
}
.nx-card--deal .nx-card__body { padding-bottom: 8px; }
.nx-card--deal .nx-card__title {
    font-size: .95rem;
    text-align: center;
    -webkit-line-clamp: 2;
}
.nx-card--deal .nx-card__link { text-align: center; }

.nx-deal__badge {
    display: block;
    color: #d92d20;
    font-weight: 700;
    font-size: .9rem;
    margin-top: 6px;
}
.nx-deal__was {
    display: block;
    color: var(--nx-muted);
    font-size: .78rem;
}
.nx-deal__cta {
    display: block;
    margin: 12px 14px 16px;
    padding: 9px 0;
    text-align: center;
    background: var(--nx-primary);
    color: #fff;
    font-weight: 600;
    font-size: .85rem;
    border-radius: 999px;
    transition: background .2s ease;
}
.nx-card--deal:hover .nx-deal__cta { background: var(--nx-primary-dark); }

/* Deal grids run a little denser than the news grid — logos are small */
.shopping-page .nx-grid--deals {
    grid-template-columns: repeat(6, 1fr);
}
@media (max-width: 1199px) { .shopping-page .nx-grid--deals { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 767px) { .shopping-page .nx-grid--deals { grid-template-columns: repeat(3, 1fr); gap: 12px; } }
@media (max-width: 480px) { .shopping-page .nx-grid--deals { grid-template-columns: repeat(2, 1fr); } }

.shopping-page .nx-section__more {
    text-align: center;
    margin-top: 20px;
}
