/* =========================================================
   RV Affiliate — Component Styles
   Visual Direction: Crimson Depth + Soft Pearl + Obsidian Black
   Section Rhythm: Dark → Light → Dark → Light (alternating)
   ========================================================= */

/* ─────────────────────────────────────────────────────────
   HEADER — DARK #161616
───────────────────────────────────────────────────────── */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition-fast);
    background: transparent;
    color: var(--clr-ivory);
}

.site-header.scrolled {
    background: rgba(22, 22, 22, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(113, 0, 20, 0.14);
    padding: 15px 0;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    display: block;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    /* Soft premium drop shadow to highlight crimson edges on dark backdrop */
    filter: drop-shadow(0 0 8px rgba(113, 0, 20, 0.35));
    transition: transform var(--transition-fast), filter var(--transition-fast);
}

.logo-img:hover {
    transform: scale(1.02);
    filter: drop-shadow(0 0 12px rgba(113, 0, 20, 0.50));
}

.logo-text {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--clr-pearl);
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.desktop-nav ul {
    display: flex;
    gap: 32px;
}

.desktop-nav a {
    font-size: var(--fs-nav);
    font-weight: 500;
    color: var(--clr-gray);
    transition: color var(--transition-fast);
    position: relative;
}

.desktop-nav a:hover {
    color: var(--clr-ivory);
}

.desktop-nav a.active {
    color: var(--clr-ivory);
}

.desktop-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--clr-crimson);
    opacity: 0.8;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    border-radius: 4px;
}

.mobile-menu-btn:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
}

.mobile-menu-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--header-text);
    transition: transform 0.25s ease, opacity 0.25s ease, background-color 0.25s ease;
    transform-origin: center;
}

.mobile-menu-btn.is-active span:nth-child(1) {
    transform: translateY(3.5px) rotate(45deg);
}

.mobile-menu-btn.is-active span:nth-child(2) {
    transform: translateY(-3.5px) rotate(-45deg);
}

.mobile-nav-drawer {
    display: none;
}

@media (max-width: 992px) {

    .desktop-nav,
    .header-actions > .text-link,
    .header-actions > .btn {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .mobile-nav-drawer {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
        background: var(--surface);
        border-bottom: 1px solid var(--border);
        box-shadow: 0 12px 28px var(--shadow);
        padding: 20px 24px 24px;
        gap: 16px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
        z-index: 999;
        overflow-x: hidden;
    }

    .mobile-nav-drawer.is-active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .mobile-nav-links {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .mobile-nav-item {
        display: flex;
        align-items: center;
        padding: 12px 16px;
        font-family: 'Manrope', sans-serif;
        font-size: 1rem;
        font-weight: 600;
        color: var(--text-primary);
        text-decoration: none;
        border-radius: 6px;
        transition: background-color 0.2s ease, color 0.2s ease;
    }

    .mobile-nav-item:hover,
    .mobile-nav-item.active {
        background-color: var(--surface-soft);
        color: var(--brand);
    }

    .mobile-nav-actions {
        padding-top: 8px;
        border-top: 1px solid var(--border);
    }

    .mobile-nav-actions .btn-full {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding: 12px 20px;
        font-size: 0.95rem;
    }
}


/* ─────────────────────────────────────────────────────────
   HERO SECTION — DARK #161616
───────────────────────────────────────────────────────── */
.hero {
    position: relative;
    background: var(--hero-bg);
    color: var(--text-primary);
    padding: calc(var(--space-section) + 80px) 0 var(--space-section);
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Atmosphere glow */
.hero-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90vw;
    height: 90vw;
    background: var(--hero-glow);
    z-index: 0;
    pointer-events: none;
    filter: blur(40px);
}

.hero-container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 64px;
}

.hero-content {
    max-width: 900px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Crimson highlight class */
.text-orange,
.text-gold,
.text-crimson {
    color: var(--clr-crimson);
}

.hero h1 {
    margin-bottom: 24px;
    letter-spacing: -0.025em;
    color: var(--text-primary);
}

/* Editorial serif on highlighted hero word — Cormorant Garamond italic */
.hero h1 .text-gold,
.hero h1 .text-crimson,
.hero h1 .text-orange {
    font-family: var(--font-editorial);
    font-style: italic;
    font-weight: 500;
    letter-spacing: -0.01em;
    color: var(--clr-crimson);
}

/* Subtle Typewriter Animation */
.typewriter-text {
    display: inline-block;
    color: var(--text-primary);
    transition: color 0.3s ease;
    min-height: 1em;
    vertical-align: top;
}

.typewriter-cursor {
    display: inline-block;
    width: 2.5px;
    height: 0.85em;
    background-color: var(--clr-crimson);
    margin-left: 3px;
    vertical-align: 0.05em;
    border-radius: 1px;
    animation: typewriterBlink 0.9s infinite;
}

@keyframes typewriterBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .typewriter-cursor {
        display: none !important;
    }
}

.hero-subtitle {
    color: var(--text-secondary);
    font-size: var(--fs-body);
    margin-bottom: 40px;
    max-width: 580px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 14px;
    margin-bottom: 32px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Secondary hero button — theme adaptive */
.hero .btn-secondary {
    background-color: var(--surface);
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.hero .btn-secondary:hover {
    background-color: var(--surface-soft);
    border-color: var(--brand);
    color: var(--brand);
    transform: translateY(-2px);
}

.hero-trust {
    font-size: 12px;
    color: var(--text-muted);
    opacity: 0.85;
    letter-spacing: 0.03em;
}

/* ─── Hero Visual / Floating Cards ─── */
.hero-visual {
    position: relative;
    height: 300px;
    width: 100%;
    max-width: 1000px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-card {
    background: var(--dark-section-surface);
    border: 1px solid rgba(113, 0, 20, 0.22);
    border-radius: var(--br-card);
    padding: 24px;
    position: absolute;
    width: 280px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.50);
    transition: transform var(--transition-slow);
    animation: float 6s ease-in-out infinite;
    color: var(--dark-section-text);
}

.floating-card:hover {
    transform: translateY(-8px) scale(1.01);
    border-color: rgba(113, 0, 20, 0.40);
}

.card-1 {
    top: 10%;
    left: 0;
    z-index: 3;
    animation-delay: 0s;
}

.card-2 {
    top: 40%;
    right: 0;
    z-index: 2;
    animation-delay: -2s;
}

.card-3 {
    bottom: 5%;
    left: 28%;
    z-index: 1;
    animation-delay: -4s;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.card-icon {
    width: 38px;
    height: 38px;
    background: rgba(113, 0, 20, 0.09);
    border-radius: 10px;
    border: 1px solid rgba(113, 0, 20, 0.20);
}

/* ─── Badge System ─── */
.badge {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: var(--br-pill);
    letter-spacing: 0.07em;
}

.badge-primary {
    background: rgba(113, 0, 20, 0.16);
    color: #E0607A;
}

.badge-secondary {
    background: rgba(255, 255, 255, 0.07);
    color: var(--clr-ivory);
}

.badge-tertiary {
    background: rgba(113, 0, 20, 0.14);
    color: #A20D2A;
}

.floating-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--dark-section-text);
    max-width: 95%;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    font-size: var(--fs-small);
    color: var(--dark-section-muted);
}

/* Star rating → crimson */
.rating {
    color: var(--clr-crimson);
    font-weight: 600;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-14px);
    }

    100% {
        transform: translateY(0px);
    }
}

@media (max-width: 992px) {
    .hero-container {
        gap: 40px;
    }

    .hero-content {
        text-align: center;
        margin: 0 auto;
    }

    .hero-subtitle {
        margin: 0 auto 32px;
    }

    .hero-cta {
        justify-content: center;
        flex-direction: column;
    }

    .hero-visual {
        flex-direction: column;
        height: auto;
    }

    .floating-card {
        width: 100%;
        max-width: 320px;
        position: relative;
        margin: 0 auto 16px;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        animation: none;
    }
}


/* ─────────────────────────────────────────────────────────
   TRUST STRIP — ADAPTIVE SURFACE
───────────────────────────────────────────────────────── */
.trust-strip {
    background-color: var(--surface);
    padding: 40px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

[data-theme="dark"] .trust-strip {
    background-color: var(--surface-soft);
}

.trust-container {
    text-align: center;
}

.trust-container p {
    color: var(--text-secondary);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.10em;
    font-weight: 600;
    margin-bottom: 20px;
    opacity: 0.85;
}

.trust-logos {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
    opacity: 0.70;
    font-weight: 700;
    font-size: 16px;
    color: var(--text-primary);
    letter-spacing: 0.02em;
}


/* ─────────────────────────────────────────────────────────
   COMMON SECTION STYLES
───────────────────────────────────────────────────────── */
.section-container {
    padding-block: 96px;
    padding-inline: var(--container-padding);
}

/* Legacy bg utility overrides — both now respected per section */
.bg-warm-light {
    background-color: var(--clr-pearl);
}

.bg-light {
    background-color: var(--clr-pearl);
}

.bg-white {
    background-color: var(--clr-white);
}

.text-center {
    text-align: center;
}

.section-header {
    margin-bottom: 60px;
}

.section-header h2 {
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    color: var(--clr-gray);
    max-width: 580px;
    margin: 0 auto;
    font-size: var(--fs-body);
    line-height: 1.7;
}


/* ─────────────────────────────────────────────────────────
   CATEGORY CARDS — THEMED
───────────────────────────────────────────────────────── */
.categories {
    background-color: var(--page-bg);
}

/* Headings/subtitles adapt with active theme */
.categories h2,
.categories .section-header h2 {
    color: var(--text-primary);
}

.categories .section-subtitle {
    color: var(--text-secondary);
}

.categories .eyebrow {
    color: var(--brand);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.category-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--br-card);
    padding: 32px;
    transition: all var(--transition-fast);
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow);
}

.category-icon {
    width: 44px;
    height: 44px;
    background: rgba(113, 0, 20, 0.08);
    border: 1px solid rgba(113, 0, 20, 0.16);
    border-radius: 12px;
    margin-bottom: 24px;
}

.category-card h3 {
    font-size: var(--fs-card-title);
    margin-bottom: 8px;
    color: var(--text-primary);
}

.category-card p {
    color: var(--text-secondary);
    font-size: var(--fs-small);
    margin-bottom: 24px;
    flex-grow: 1;
    line-height: 1.65;
}

.category-arrow {
    font-weight: 700;
    color: var(--brand);
    transition: all var(--transition-fast);
    font-size: 18px;
    opacity: 0.75;
}

.category-card:hover {
    transform: translateY(-3px);
    border-color: var(--brand);
    box-shadow: 0 12px 32px var(--shadow);
}

.category-card:hover .category-arrow {
    transform: translateX(4px);
    opacity: 1;
}


/* ─────────────────────────────────────────────────────────
   FEATURED PRODUCTS — THEMED
───────────────────────────────────────────────────────── */
.featured-products {
    background-color: var(--page-bg);
}

.featured-products h2,
.featured-products .section-header h2 {
    color: var(--text-primary);
}

.featured-products .section-subtitle {
    color: var(--text-secondary);
}

.featured-products .eyebrow {
    color: var(--brand);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.product-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--br-card);
    overflow: hidden;
    transition: all var(--transition-base);
    box-shadow: var(--shadow);
}

.product-card:hover {
    transform: translateY(-4px);
    border-color: var(--brand);
    box-shadow: 0 20px 48px var(--shadow);
}

/* Product image placeholder — adaptive soft surface */
.product-image-placeholder {
    height: 180px;
    background: var(--surface-soft);
    position: relative;
    padding: 20px;
    border-bottom: 1px solid var(--border);
}

.product-image-placeholder .badge {
    position: absolute;
    top: 20px;
    left: 20px;
}

/* Badges on sections */
.product-card .badge-primary {
    background: rgba(113, 0, 20, 0.14);
    color: #E0607A;
}

.product-card .badge-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

.product-card .badge-tertiary {
    background: rgba(113, 0, 20, 0.14);
    color: #A20D2A;
}

.product-content {
    padding: 28px;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    font-size: var(--fs-small);
    color: var(--text-secondary);
    margin-bottom: 12px;
    font-weight: 600;
}

/* Override rating on cards */
.product-card .rating {
    color: var(--brand);
}

.product-card h3 {
    font-size: var(--fs-card-title);
    margin-bottom: 10px;
    color: var(--text-primary);
}

.product-card p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.65;
}

.product-pricing {
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
    color: var(--text-primary);
}

.product-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.btn-full {
    width: 100%;
}

/* Category label used across cards */
.category {
    font-size: var(--fs-small);
    color: var(--clr-crimson);
    font-weight: 600;
    letter-spacing: 0.03em;
}

/* Text links on light cards */
.product-card .text-link {
    color: var(--clr-text-mid);
}

.product-card .text-link:hover {
    color: var(--clr-crimson);
}


/* ─────────────────────────────────────────────────────────
   DARK FEATURE — WHY RV AFFILIATE — PERMANENT DARK
───────────────────────────────────────────────────────── */
.dark-feature {
    background-color: var(--page-bg);
    color: var(--text-primary);
    position: relative;
    overflow: hidden;
    padding: var(--space-section) 0;
}

/* Very subtle warm crimson atmospheric tone */
.dark-feature-glow {
    position: absolute;
    top: 0;
    right: 0;
    width: 60vw;
    height: 100%;
    background: radial-gradient(circle at right center,
            rgba(113, 0, 20, 0.04) 0%,
            rgba(113, 0, 20, 0.0) 70%);
    z-index: 0;
    pointer-events: none;
}

.dark-feature-content {
    position: relative;
    z-index: 1;
}

.text-left {
    text-align: left;
    margin: 0;
}

.dark-feature .section-header {
    max-width: 580px;
}

.dark-feature h2 {
    color: var(--text-primary);
}

.dark-feature .section-subtitle {
    color: var(--text-secondary);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 60px;
}

.benefit-item {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 32px;
    border-radius: var(--br-card);
    transition: all var(--transition-fast);
    box-shadow: var(--shadow);
}

.benefit-item:hover {
    transform: translateY(-3px);
    border-color: var(--brand);
}

.benefit-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1.5px solid rgba(113, 0, 20, 0.30);
    margin-bottom: 24px;
    background: rgba(113, 0, 20, 0.07);
}

.benefit-item h3 {
    font-size: var(--fs-card-title);
    margin-bottom: 12px;
    color: var(--text-primary);
}

.benefit-item p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.65;
}


/* ─────────────────────────────────────────────────────────
   LATEST REVIEWS — THEMED
───────────────────────────────────────────────────────── */
.latest-reviews {
    background-color: var(--page-bg);
}

.latest-reviews h2,
.latest-reviews .section-header h2 {
    color: var(--text-primary);
}

.latest-reviews .eyebrow {
    color: var(--brand);
}

.reviews-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 40px;
}

.review-card {
    display: flex;
    flex-direction: column;
    transition: all var(--transition-fast);
}

.review-card:hover h3 {
    color: var(--brand);
}

/* Editorial image placeholders — adaptive neutral */
.review-image {
    background-color: var(--surface-soft);
    border-radius: var(--br-card);
    margin-bottom: 24px;
    height: 340px;
    border: 1px solid var(--border);
}

.small-img {
    height: 180px;
}

.review-content .category {
    display: block;
    margin-bottom: 10px;
    color: var(--brand);
}

.review-content h3 {
    color: var(--text-primary);
    transition: color var(--transition-fast);
    line-height: 1.25;
    margin-bottom: 10px;
}

.review-content p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.65;
    margin-bottom: 16px;
}

.review-meta {
    display: flex;
    gap: 8px;
    color: var(--text-muted);
    font-size: var(--fs-small);
    margin-top: 8px;
    opacity: 0.85;
}

.review-sidebar {
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.review-sidebar .review-card h3 {
    font-size: 18px;
}


/* ─────────────────────────────────────────────────────────
   POPULAR RIGHT NOW (Ranking) — THEMED
───────────────────────────────────────────────────────── */
.popular-products {
    background-color: var(--page-bg);
}

.popular-products h2 {
    color: var(--text-primary);
}

.popular-products .eyebrow {
    color: var(--brand);
}

.ranking-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.ranking-item {
    display: flex;
    align-items: center;
    padding: 20px 16px;
    border-bottom: 1px solid var(--border);
    transition: all var(--transition-fast);
    border-radius: 8px;
    background: var(--surface);
    margin-bottom: 8px;
}

.ranking-item:hover {
    background-color: rgba(113, 0, 20, 0.06);
    transform: translateX(6px);
}

.rank-num {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-muted);
    opacity: 0.50;
    margin-right: 24px;
    width: 32px;
    font-variant-numeric: tabular-nums;
}

/* Logo placeholder — adaptive surface with subtle crimson border */
.rank-logo {
    width: 44px;
    height: 44px;
    background: var(--surface-soft);
    border: 1px solid var(--border);
    border-radius: 10px;
    margin-right: 20px;
    flex-shrink: 0;
}

.rank-info {
    flex-grow: 1;
}

.rank-info h3 {
    font-size: var(--fs-card-title);
    margin-bottom: 4px;
    color: var(--text-primary);
}

.rank-info .category {
    font-size: var(--fs-small);
    color: var(--brand);
}

.ranking-item .rating {
    margin: 0 28px;
    color: var(--brand);
}

.rank-arrow {
    color: var(--text-muted);
    font-weight: 700;
    transition: all var(--transition-fast);
    opacity: 0.60;
    font-size: 16px;
}

.ranking-item:hover .rank-arrow {
    color: var(--brand);
    opacity: 1;
    transform: translateX(3px);
}


/* ─────────────────────────────────────────────────────────
   PRODUCT OF THE WEEK — PERMANENT DARK
───────────────────────────────────────────────────────── */
/* ─────────────────────────────────────────────────────────
   PRODUCT OF THE WEEK — THEMED
───────────────────────────────────────────────────────── */
.potw-section {
    background-color: var(--page-bg);
}

.potw-card {
    background: var(--surface);
    border-radius: var(--br-feature);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
    color: var(--text-primary);
    box-shadow: var(--shadow);
}

/* Product of the Week deep crimson glow behind card */
.potw-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%,
            rgba(162, 13, 42, 0.02) 0%,
            rgba(113, 0, 20, 0.08) 30%,
            rgba(113, 0, 20, 0.0) 70%);
    z-index: 0;
    filter: blur(20px);
}

.potw-content {
    position: relative;
    z-index: 1;
    padding: 60px;
    display: flex;
    flex-direction: column;
}

.potw-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 32px;
}

/* POTW badge override */
.potw-content .badge-primary {
    background: rgba(113, 0, 20, 0.12);
    color: var(--brand);
}

/* Editorial serif for the feature product name */
.potw-info h3 {
    font-family: var(--font-editorial);
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.potw-info p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.7;
}

.potw-benefits {
    margin-bottom: 32px;
}

.potw-benefits li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 14px;
    font-weight: 500;
    color: var(--text-primary);
    font-size: 15px;
}

.potw-benefits li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--brand);
    font-weight: 700;
}

.potw-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 36px;
    font-size: var(--fs-nav);
    align-items: center;
}

.potw-meta .category {
    color: var(--brand);
}

.potw-meta .rating {
    color: var(--brand);
}

.potw-actions {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.potw-actions .text-link {
    color: var(--text-secondary);
}

.potw-actions .text-link:hover {
    color: var(--brand);
}

/* Visual placeholder */
.potw-visual {
    background: var(--surface-soft);
    border-radius: 20px;
    border: 1px solid var(--border);
    min-height: 280px;
}


/* ─────────────────────────────────────────────────────────
   LATEST DEALS — THEMED
───────────────────────────────────────────────────────── */
.latest-deals {
    background-color: var(--page-bg);
}

.latest-deals h2,
.latest-deals .section-header h2 {
    color: var(--text-primary);
}

.latest-deals .eyebrow {
    color: var(--brand);
}

.deals-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

/* Deal cards on adaptive background */
.deal-card {
    background: var(--surface);
    padding: 32px;
    border-radius: var(--br-card);
    border: 1px solid var(--border);
    transition: all var(--transition-fast);
    box-shadow: var(--shadow);
}

.deal-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px var(--shadow);
    border-color: var(--brand);
}

.deal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.deal-header .category {
    color: var(--text-secondary);
    font-size: var(--fs-small);
    font-weight: 600;
}

/* Sophisticated deal badge — crimson tint, restrained */
.deal-badge {
    background: rgba(113, 0, 20, 0.12);
    color: var(--brand);
    padding: 3px 10px;
    border-radius: var(--br-pill);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.deal-card h3 {
    margin-bottom: 10px;
    font-size: var(--fs-card-title);
    color: var(--text-primary);
    line-height: 1.2;
}

.deal-card p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.65;
}

.deal-price {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 24px;
}

.current-price {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
}

.old-price {
    color: var(--text-muted);
    text-decoration: line-through;
    font-size: 14px;
    opacity: 0.70;
}

/* Deal buttons — adaptive outline */
.deal-card .btn-secondary {
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text-primary) !important;
}

.deal-card .btn-secondary:hover {
    border-color: var(--brand);
    color: var(--brand) !important;
    background: rgba(113, 0, 20, 0.06);
    transform: translateY(-2px);
}


/* ─────────────────────────────────────────────────────────
   NEWSLETTER — THEMED
───────────────────────────────────────────────────────── */
.newsletter {
    background-color: var(--page-bg);
    color: var(--text-primary);
    text-align: center;
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--border);
}

/* Newsletter subtle glow */
.newsletter-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 100vw;
    background: radial-gradient(circle,
            rgba(113, 0, 20, 0.05) 0%,
            rgba(113, 0, 20, 0.0) 70%);
    z-index: 0;
    pointer-events: none;
    filter: blur(30px);
}

.newsletter-content {
    position: relative;
    z-index: 1;
    max-width: 580px;
    margin: 0 auto;
    padding: 64px 0;
}

.newsletter-content h2 {
    margin-bottom: 16px;
    color: var(--text-primary);
}

.newsletter-content p {
    color: var(--text-secondary);
    margin-bottom: 36px;
    font-size: var(--fs-body);
}

.newsletter-form {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.newsletter-form input {
    flex-grow: 1;
    padding: 14px 20px;
    border-radius: var(--br-btn);
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text-primary);
    font-size: 15px;
    font-family: inherit;
    transition: border-color var(--transition-fast);
}

.newsletter-form input::placeholder {
    color: var(--text-muted);
    opacity: 0.85;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--brand);
}

.spam-notice {
    font-size: 12px !important;
    opacity: 0.85;
    margin-bottom: 0 !important;
    color: var(--text-muted);
}


/* ─────────────────────────────────────────────────────────
   FOOTER — THEMED
───────────────────────────────────────────────────────── */
.site-footer {
    background-color: var(--footer-bg);
    color: var(--footer-muted);
    padding: 80px 0 40px;
    border-top: 1px solid var(--footer-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 72px;
}

.footer-brand .logo a {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.footer-brand .logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
    display: block;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    filter: drop-shadow(0 0 10px rgba(113, 0, 20, 0.35));
}

.footer-brand .logo-text {
    font-size: 21px;
    font-weight: 600;
    color: var(--footer-text);
}

.footer-brand p {
    color: var(--footer-muted);
    margin: 0 0 20px 0;
    max-width: 280px;
    font-size: 14px;
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-soft);
    border: 1px solid var(--border);
    border-radius: 50%;
    font-size: 14px;
    color: var(--footer-muted);
    transition: all var(--transition-fast);
}

.social-links a:hover {
    background: rgba(113, 0, 20, 0.14);
    border-color: var(--brand);
    color: var(--brand);
}

.footer-links h3 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--footer-text);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-links a {
    font-size: 14px;
    color: var(--footer-muted);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--brand);
}

.footer-bottom {
    border-top: 1px solid var(--footer-border);
    padding-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 13px;
    color: var(--footer-muted);
    opacity: 0.90;
}

.affiliate-disclosure {
    opacity: 0.90;
    line-height: 1.6;
}


/* ─────────────────────────────────────────────────────────
   RESPONSIVE BREAKPOINTS
───────────────────────────────────────────────────────── */
@media (max-width: 992px) {

    .category-grid,
    .product-grid,
    .benefits-grid,
    .deals-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .potw-split {
        grid-template-columns: 1fr;
    }

    .potw-content {
        padding: 40px 28px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .section-container {
        padding-block: 64px;
    }

    .category-grid,
    .product-grid,
    .benefits-grid,
    .deals-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .ranking-item {
        flex-wrap: wrap;
    }

    .ranking-item .rating {
        margin: 12px 0 0 0;
        width: 100%;
    }
}

/* Header Monogram adjustment on mobile/tablet */
@media (max-width: 576px) {
    .site-header .logo-img {
        height: 34px;
    }

    .site-header .logo-text {
        font-size: 17px;
        gap: 2px;
    }
}


/* ─────────────────────────────────────────────────────────
   GLOBAL ANIMATIONS
───────────────────────────────────────────────────────── */
.fade-in-up {
    opacity: 1 !important;
    transform: translateY(0) !important;
}