/* ============================================
   AffloTheme — Amazon Affiliate Blog
   Main Stylesheet
   Amazon Color Palette: #FF9900, #232F3E, #FEBD69
   ============================================ */

/* ===== CSS VARIABLES ===== */
:root {
    /* Amazon Colors */
    --amazon-orange: #FF9900;
    --amazon-orange-light: #FEBD69;
    --amazon-dark: #232F3E;
    --amazon-darker: #131921;
    --amazon-blue: #146EB4;
    --amazon-light-blue: #49A4D4;
    --amazon-green: #067D62;
    --amazon-red: #CC0C39;

    /* Theme Colors */
    --primary: #FF9900;
    --primary-light: #FEBD69;
    --primary-dark: #E68900;
    --secondary: #232F3E;
    --accent: #146EB4;

    /* Background */
    --bg-primary: #FFFFFF;
    --bg-secondary: #F7F8FA;
    --bg-tertiary: #EEF0F3;
    --bg-card: #FFFFFF;

    /* Text */
    --text-primary: #1A1A2E;
    --text-secondary: #4A4A6A;
    --text-muted: #8A8AA0;
    --text-light: #FFFFFF;

    /* Borders */
    --border: #E5E7EB;
    --border-light: #F3F4F6;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.05);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.12), 0 4px 16px rgba(0,0,0,0.06);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.16);
    --shadow-card: 0 4px 20px rgba(35,47,62,0.08);
    --shadow-hover: 0 12px 40px rgba(var(--primary-rgb),0.2);

    /* Accent colour — RGB components for rgba() usage */
    --primary-rgb:        255, 153, 0;
    --primary-dark-hex:   #E68900;
    --primary-light-hex:  #FEBD69;
    --scrollbar-thumb:    #FEA016;
    --scrollbar-thumb-mid:#FED47A;
    --scrollbar-thumb-drk:#e8900d;

    /* Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --radius-full: 9999px;

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    /* Typography */
    --font-body: 'Inter', sans-serif;
    --font-heading: 'Playfair Display', serif;
}

/* Dark Mode */
[data-theme="dark"] {
    --bg-primary: #0F1117;
    --bg-secondary: #1A1E27;
    --bg-tertiary: #242A36;
    --bg-card: #1E2330;
    --text-primary: #F0F4FF;
    --text-secondary: #A8B3C8;
    --text-muted: #6B7A95;
    --border: #2E3648;
    --border-light: #252D3E;
    --shadow-card: 0 4px 20px rgba(0,0,0,0.3);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    transition: background-color 0.3s, color 0.3s;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img { max-width: 100%; height: auto; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* Global heading font — Playfair Display for all h1–h6 */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
}

/* ===== CONTAINER ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Announcement bar removed */

/* ===== HEADER ===== */
.header {
    background: var(--amazon-dark);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(35,47,62,0.97);
    backdrop-filter: blur(10px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    gap: 20px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--amazon-orange), var(--amazon-orange-light));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 1.1rem;
    font-weight: 700;
    box-shadow: 0 3px 12px rgba(var(--primary-rgb),0.3);
    transition: var(--transition);
}

.logo:hover .logo-icon {
    transform: rotate(-5deg) scale(1.05);
    box-shadow: 0 5px 20px rgba(var(--primary-rgb),0.5);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-main {
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.5px;
}

.logo-sub {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--amazon-orange);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Navigation */
.nav-list {
    display: flex;
    align-items: center;
    gap: 2px;
}

.nav-link {
    color: #E8ECF2;
    font-family: 'Playfair Display', serif;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    padding: 9px 16px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
    white-space: nowrap;
    position: relative;
    text-transform: capitalize;
    font-style: normal;
}

/* Animated underline bar on hover */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: calc(100% - 24px);
    height: 2px;
    background: var(--amazon-orange);
    border-radius: 2px;
    transition: transform 0.25s cubic-bezier(0.34,1.56,0.64,1);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
}

.nav-link:hover, .nav-link.active {
    color: var(--amazon-orange);
    background: rgba(var(--primary-rgb),0.08);
}

.nav-link.active {
    color: var(--amazon-orange);
    font-weight: 700;
    font-style: normal;
}

/* Dropdown */
.dropdown { position: relative; }

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: var(--bg-card);
    min-width: 220px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: var(--transition);
    z-index: 100;
    overflow: hidden;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 18px;
    color: var(--text-primary);
    font-family: 'Playfair Display', serif;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    transition: var(--transition-fast);
    border-bottom: 1px solid var(--border-light);
}

.dropdown-menu li:last-child a { border-bottom: none; }

.dropdown-menu li a:hover {
    background: rgba(var(--primary-rgb),0.08);
    color: var(--amazon-orange);
    padding-left: 24px;
}

.dropdown-menu li a i {
    width: 18px;
    color: var(--amazon-orange);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-btn, .theme-toggle {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #E0E4EA;
    font-size: 1rem;
    background: rgba(255,255,255,0.07);
    transition: var(--transition);
}

.search-btn:hover, .theme-toggle:hover {
    background: rgba(var(--primary-rgb),0.2);
    color: var(--amazon-orange);
    transform: scale(1.05);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: rgba(255,255,255,0.07);
    transition: var(--transition);
}

.mobile-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #E0E4EA;
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Search Bar */
.search-bar {
    background: var(--amazon-darker);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition-slow);
}

.search-bar.open {
    max-height: 80px;
    padding: 12px 0;
}

.search-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 700px;
    margin: 0 auto;
}

.search-inner input {
    flex: 1;
    padding: 10px 18px;
    border-radius: var(--radius-full);
    border: 2px solid transparent;
    background: rgba(255,255,255,0.1);
    color: #fff;
    font-size: 0.9rem;
    font-family: inherit;
    outline: none;
    transition: var(--transition);
}

.search-inner input::placeholder { color: rgba(255,255,255,0.45); }
.search-inner input:focus {
    border-color: var(--amazon-orange);
    background: rgba(255,255,255,0.15);
}

.search-submit {
    background: var(--amazon-orange);
    color: #000;
    padding: 10px 22px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.875rem;
    transition: var(--transition);
}

.search-submit:hover {
    background: var(--amazon-orange-light);
    transform: scale(1.03);
}

.search-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.search-close:hover {
    background: rgba(255,100,100,0.3);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 26px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.9rem;
    font-family: inherit;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--amazon-orange) 0%, var(--primary-dark) 100%);
    color: #000;
    box-shadow: 0 4px 15px rgba(var(--primary-rgb),0.35);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--amazon-orange-light) 0%, var(--amazon-orange) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(var(--primary-rgb),0.45);
    color: #000;
}

.btn-outline {
    background: transparent;
    border-color: rgba(var(--primary-rgb),0.5);
    color: var(--amazon-orange);
}

.btn-outline:hover {
    background: rgba(var(--primary-rgb),0.1);
    border-color: var(--amazon-orange);
    transform: translateY(-2px);
}

.btn-amazon {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #000 !important;
    font-weight: 700;
    box-shadow: 0 3px 12px rgba(var(--primary-rgb),0.25);
}

.btn-amazon:hover {
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(var(--primary-rgb),0.4);
}

.btn-full { width: 100%; justify-content: center; }

.btn-sm {
    padding: 8px 18px;
    font-size: 0.8rem;
}

/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(135deg, var(--amazon-darker) 0%, #1a2533 50%, var(--amazon-dark) 100%);
    padding: 90px 0 50px;
    position: relative;
    /* overflow-x: hidden removed — it breaks position:fixed (reading progress bar)
       by creating a new containing block; clip-path below handles overflow instead */
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(var(--primary-rgb),0.12) 0%, transparent 60%),
                radial-gradient(ellipse at 20% 20%, rgba(20,110,180,0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(var(--primary-rgb),0.15);
    border: 1px solid rgba(var(--primary-rgb),0.3);
    color: var(--amazon-orange-light);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 20px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--amazon-orange), var(--amazon-orange-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    color: #A8B8CC;
    font-size: 1.05rem;
    line-height: 1.75;
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 18px 24px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    width: fit-content;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.stat-num {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--amazon-orange);
}

.stat-label {
    font-size: 0.72rem;
    color: #8A9AB0;
    white-space: nowrap;
}

.stat-divider {
    width: 1px;
    height: 36px;
    background: rgba(255,255,255,0.15);
}

/* Hero Visual */
.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.hero-card-stack {
    position: relative;
    width: 420px;
    height: 420px;
}

/* ── Hero glow halo layers (ছবির মতো বড় diffused orange glow) ── */
.hero-glow-halo {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 1;
}

/* outermost soft halo */
.hero-glow-halo.halo-outer {
    width: 340px;
    height: 340px;
    background: radial-gradient(circle, rgba(var(--primary-rgb),0.13) 0%, rgba(var(--primary-rgb),0.06) 50%, transparent 75%);
    animation: haloBreathe 3.5s ease-in-out infinite;
}

/* mid halo */
.hero-glow-halo.halo-mid {
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(var(--primary-rgb),0.22) 0%, rgba(var(--primary-rgb),0.10) 50%, transparent 75%);
    animation: haloBreathe 3.5s ease-in-out 0.4s infinite;
}

/* inner tight halo */
.hero-glow-halo.halo-inner {
    width: 230px;
    height: 230px;
    background: radial-gradient(circle, rgba(var(--primary-rgb),0.35) 0%, rgba(var(--primary-rgb),0.18) 45%, transparent 70%);
    animation: haloBreathe 3.5s ease-in-out 0.8s infinite;
}

@keyframes haloBreathe {
    0%, 100% { opacity: 0.8; transform: translate(-50%, -50%) scale(1); }
    50%       { opacity: 1;   transform: translate(-50%, -50%) scale(1.07); }
}

.hero-main-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 260px;
    height: 260px;
    background: radial-gradient(circle at 40% 40%, var(--primary-light), var(--primary) 45%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow:
        0 0 0 6px  rgba(var(--primary-rgb),0.18),
        0 0 0 14px rgba(var(--primary-rgb),0.10),
        0 0 50px   rgba(var(--primary-rgb),0.55),
        0 0 100px  rgba(var(--primary-rgb),0.25);
    z-index: 2;
    overflow: hidden;
    animation: heroImgEntrance 0.8s cubic-bezier(0.34,1.56,0.64,1) forwards, heroGlow 3.5s ease-in-out 0.8s infinite;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hero-main-image:hover {
    transform: translate(-50%, -50%) scale(1.05);
    box-shadow:
        0 0 0 8px  rgba(var(--primary-rgb),0.25),
        0 0 0 18px rgba(var(--primary-rgb),0.13),
        0 0 70px   rgba(var(--primary-rgb),0.65),
        0 0 130px  rgba(var(--primary-rgb),0.30);
}

.hero-main-image i {
    font-size: 3rem;
    color: #000;
}

.hero-main-image span {
    font-size: 0.8rem;
    font-weight: 800;
    color: #000;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* ── Featured Image inside hero circle ── */
.hero-img-content--photo {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.hero-featured-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    border-radius: 0;
    display: block;
}

/* pulse ring — subtle ripple, ছবির মতো */
.pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid rgba(var(--primary-rgb),0.45);
    animation: pulsing 2.8s ease-out infinite;
    pointer-events: none;
}

.pulse-ring:nth-child(2) {
    animation-delay: 0.9s;
    border-color: rgba(var(--primary-rgb),0.28);
}

@keyframes pulsing {
    0%   { transform: scale(1);   opacity: 1; }
    100% { transform: scale(1.65); opacity: 0; }
}

@keyframes heroImgEntrance {
    0%   { opacity: 0; transform: translate(-50%, -50%) scale(0.7); }
    70%  { opacity: 1; transform: translate(-50%, -50%) scale(1.04); }
    100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

@keyframes heroGlow {
    0%,100% {
        box-shadow:
            0 0 0 6px  rgba(var(--primary-rgb),0.18),
            0 0 0 14px rgba(var(--primary-rgb),0.10),
            0 0 50px   rgba(var(--primary-rgb),0.55),
            0 0 100px  rgba(var(--primary-rgb),0.25);
    }
    50% {
        box-shadow:
            0 0 0 8px  rgba(var(--primary-rgb),0.25),
            0 0 0 18px rgba(var(--primary-rgb),0.12),
            0 0 70px   rgba(var(--primary-rgb),0.65),
            0 0 130px  rgba(var(--primary-rgb),0.32);
    }
}

.floating-card {
    position: absolute;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    z-index: 3;
    animation: float 4s ease-in-out infinite;
}

.card-1 { top: 10px; left: 0; animation-delay: 0s; }
.card-2 { bottom: 20px; right: 5px; animation-delay: 1s; }
.card-3 { top: 60px; right: 5px; animation-delay: 2s; }

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25%       { transform: translateY(-6px) rotate(0.5deg); }
    75%       { transform: translateY(-4px) rotate(-0.5deg); }
    50%       { transform: translateY(-12px) rotate(0deg); }
}

.fc-icon {
    width: 36px;
    height: 36px;
    background: rgba(var(--primary-rgb),0.15);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--amazon-orange);
    font-size: 1rem;
    flex-shrink: 0;
}

.fc-icon.green { background: rgba(6,125,98,0.15); color: var(--amazon-green); }
.fc-icon.orange { background: rgba(var(--primary-rgb),0.15); color: var(--amazon-orange); }

.fc-text span {
    display: block;
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.fc-text strong {
    display: block;
    font-size: 0.82rem;
    color: var(--text-primary);
    font-weight: 700;
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
}

.hero-wave svg { display: block; width: 100%; }

/* ===== SECTION HEADERS ===== */
.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(var(--primary-rgb),0.1);
    border: 1px solid rgba(var(--primary-rgb),0.25);
    color: var(--amazon-orange);
    padding: 5px 14px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
    line-height: 1.2;
}

.section-sub {
    color: var(--text-secondary);
    font-size: 1rem;
    max-width: 550px;
    margin: 0 auto;
}

/* Category pills section removed */

/* ===== FEATURED POST ===== */
/* Featured section removed */

/* ===== CATEGORY SECTION HEADER ===== */
.at-cat-section-header {
    padding: 48px 0 40px;
    background: var(--bg-primary);
    text-align: center;
}

.at-cat-section-title {
    font-family: 'Playfair Display', serif !important;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 12px;
    line-height: 1.25;
}

.at-cat-section-desc {
    font-size: 1rem;
    color: var(--amazon-orange);
    margin: 0;
    line-height: 1.5;
}

/* ===== BLOG SECTION ===== */
.blog-section {
    padding: 80px 0;
    background: var(--bg-primary);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 48px;
}

.blog-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(var(--primary-rgb),0.25);
}

.card-image {
    position: relative;
    height: auto;
    min-height: 200px;
    overflow: hidden;
    padding-top: 16px;
    background: var(--bg-card);
}

.card-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    transition: var(--transition);
}

.blog-card:hover .card-img-placeholder {
    transform: scale(1.05);
}

/* Real product image support */
.card-img-real {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    transition: transform 0.4s ease;
    margin-top: 0;
}

.blog-card:hover .card-img-real {
    transform: scale(1.06);
}

/* Category backgrounds */
.tech-bg { background: linear-gradient(135deg, #1a2533, #2d3e52); color: #49A4D4; }
.tech2-bg { background: linear-gradient(135deg, #1a1a2e, #16213e); color: #a78bfa; }
.home-bg { background: linear-gradient(135deg, #1f2d1e, #2d3e2d); color: #4CAF50; }
.fitness-bg { background: linear-gradient(135deg, #2d1a1a, #3e2d2d); color: #FF5722; }
.beauty-bg { background: linear-gradient(135deg, #2d1a2d, #3e2d3e); color: #E91E63; }
.books-bg { background: linear-gradient(135deg, #1a1f2d, #2d2d3e); color: #FF9800; }

.card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.blog-card:hover .card-overlay { opacity: 1; }

.read-more-overlay {
    background: var(--amazon-orange);
    color: #000;
    padding: 10px 22px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.85rem;
    transform: translateY(10px);
    transition: var(--transition);
}

.blog-card:hover .read-more-overlay { transform: translateY(0); }

.card-category {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(var(--primary-rgb),0.9);
    color: #000;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-rating {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0,0,0,0.6);
    color: var(--amazon-orange);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    gap: 4px;
}

.card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-meta {
    display: flex;
    gap: 14px;
    color: var(--text-muted);
    font-size: 0.78rem;
    margin-bottom: 10px;
}

.card-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.card-meta i { color: var(--amazon-orange); }

.card-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.45;
}

.card-title a {
    color: var(--text-primary);
    transition: var(--transition);
}

.card-title a:hover { color: var(--amazon-orange); }

.card-excerpt {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.65;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 4.2em;
    flex-grow: 1;
}

/* Price row — always rendered, price slot may be empty */
.card-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--border-light);
    padding-top: 14px;
    margin-top: auto;
    gap: 10px;
}

.card-price {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.cp-new {
    color: var(--amazon-orange);
    font-size: 1.1rem;
    font-weight: 800;
}

.btn-sm-amazon {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--amazon-orange);
    color: #000 !important;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 700;
    transition: var(--transition);
    white-space: nowrap;
    flex-shrink: 0;
    text-decoration: none;
}

.btn-sm-amazon:hover {
    background: var(--amazon-orange-light);
    transform: scale(1.05);
    color: #000 !important;
}

.load-more-wrapper {
    text-align: center;
}

.btn-load-more {
    padding: 13px 40px;
    font-size: 0.95rem;
}

/* Comparison table section removed */

/* ===== NEWSLETTER ===== */
.newsletter-section {
    padding: 80px 0;
    background: var(--bg-primary);
}

.newsletter-box {
    background: linear-gradient(135deg, var(--amazon-darker) 0%, var(--amazon-dark) 100%);
    border-radius: var(--radius-xl);
    padding: 60px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 40px;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.newsletter-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(var(--primary-rgb),0.12) 0%, transparent 60%);
    pointer-events: none;
}

.newsletter-icon {
    width: 80px;
    height: 80px;
    background: rgba(var(--primary-rgb),0.15);
    border: 2px solid rgba(var(--primary-rgb),0.3);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--amazon-orange);
    flex-shrink: 0;
}

.newsletter-content h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.newsletter-content p {
    color: #A8B8CC;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

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

.newsletter-form input {
    flex: 1;
    padding: 12px 20px;
    border-radius: var(--radius-full);
    border: 2px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.08);
    color: #fff;
    font-size: 0.9rem;
    font-family: inherit;
    outline: none;
    transition: var(--transition);
}

.newsletter-form input::placeholder { color: rgba(255,255,255,0.4); }

.newsletter-form input:focus {
    border-color: var(--amazon-orange);
    background: rgba(255,255,255,0.12);
}

.newsletter-note {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.35);
    font-size: 0.78rem;
    margin-top: 10px;
}

.newsletter-stats {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex-shrink: 0;
}

.ns-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.ns-item strong {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--amazon-orange);
}

.ns-item span {
    font-size: 0.72rem;
    color: #8A9AB0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--amazon-darker);
    color: #A8B8CC;
}

.footer-top {
    padding: 64px 0 40px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

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

.footer-brand p {
    margin-top: 14px;
    font-size: 0.875rem;
    line-height: 1.75;
    color: #8A9AB0;
    max-width: 280px;
    text-align: justify;
}

.footer-brand .logo { margin-bottom: 10px; }

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.social-btn {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
    background: rgba(255,255,255,0.07);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8A9AB0;
    font-size: 0.875rem;
    transition: var(--transition);
    flex-shrink: 0;
}

.social-btn:hover {
    background: var(--at-social-color, var(--amazon-orange));
    color: #fff;
    transform: translateY(-3px);
}

/* social-links wraps when there are more than 5 icons */
.social-links {
    flex-wrap: wrap;
}

.footer-col h4 {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 2px;
    background: var(--amazon-orange);
    border-radius: var(--radius-full);
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links li a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #8A9AB0;
    font-size: 0.875rem;
    transition: var(--transition);
}

.footer-links li a:hover {
    color: var(--amazon-orange);
    padding-left: 4px;
}

.footer-links li a i {
    font-size: 0.65rem;
    color: var(--amazon-orange);
    opacity: 0.6;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #8A9AB0;
    font-size: 0.875rem;
    margin-bottom: 12px;
}

.footer-contact li i {
    color: var(--amazon-orange);
    width: 16px;
    flex-shrink: 0;
}

.footer-trust {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(var(--primary-rgb),0.1);
    border: 1px solid rgba(var(--primary-rgb),0.2);
    color: var(--amazon-orange-light);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: var(--radius-sm);
}

.footer-bottom {
    padding: 24px 0;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.footer-bottom-inner p {
    font-size: 0.875rem;
    color: #6A7A8E;
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    color: #6A7A8E;
    font-size: 0.8rem;
    transition: var(--transition);
}

.footer-legal a:hover { color: var(--amazon-orange); }

.amazon-disclosure {
    font-size: 0.78rem;
    color: #4A5A6A;
    line-height: 1.65;
    padding: 14px;
    background: rgba(255,255,255,0.03);
    border-radius: var(--radius-md);
    border-left: 3px solid rgba(var(--primary-rgb),0.3);
}

.amazon-disclosure i { color: var(--amazon-orange); margin-right: 5px; }

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 46px;
    height: 46px;
    background: linear-gradient(135deg, var(--amazon-orange), var(--primary-dark));
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 4px 20px rgba(var(--primary-rgb),0.35);
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(var(--primary-rgb),0.5);
}

/* ===== NOTIFICATION TOAST ===== */
.toast {
    position: fixed;
    top: 90px;
    right: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-left: 4px solid var(--amazon-orange);
    border-radius: var(--radius-md);
    padding: 14px 20px;
    min-width: 280px;
    box-shadow: var(--shadow-lg);
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateX(120%);
    transition: var(--transition);
}

.toast.show { transform: translateX(0); }

.toast i { color: var(--amazon-orange); font-size: 1.2rem; flex-shrink: 0; }

.toast-text h4 {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 3px;
}

.toast-text p {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* ===== SCROLLBAR — Orange #FEA016 → #FED47A  (all browsers) ===== */
/*
 * Applied to <html> — NOT <body> — so it does NOT create a new
 * containing block that would break position:fixed elements
 * (e.g. the reading progress bar).
 *
 * Firefox  : scrollbar-color + scrollbar-width (W3C standard)
 * Chrome / Edge / Safari : ::-webkit-scrollbar-* pseudo-elements
 */

/* ── Firefox (standard W3C) ── */
html {
    scrollbar-color: var(--scrollbar-thumb) var(--bg-secondary);   /* thumb  track */
    scrollbar-width: thin;                           /* 6-8 px narrow bar */
}

/* ── Chrome / Edge / Safari (WebKit) ── */
html::-webkit-scrollbar {
    width: 7px;
}
html::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}
html::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--scrollbar-thumb) 0%, var(--scrollbar-thumb-mid) 100%);
    border-radius: var(--radius-full);
}
html::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--scrollbar-thumb-drk) 0%, var(--scrollbar-thumb) 100%);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
    .deals-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
    .hero .container { gap: 40px; }
    .newsletter-box { padding: 40px 32px; }
}

@media (max-width: 900px) {
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .featured-post { grid-template-columns: 1fr; }
    .featured-content { padding: 30px; }
    .featured-img-placeholder { min-height: 280px; }
    .newsletter-box {
        grid-template-columns: 1fr;
        padding: 36px 28px;
        text-align: center;
    }
    .newsletter-icon { margin: 0 auto; }
    .newsletter-form { flex-direction: column; }
    .newsletter-stats { flex-direction: row; justify-content: center; flex-wrap: wrap; gap: 16px; }
    .hero .container { grid-template-columns: 1fr; }
    .hero-visual { display: none; }
    .hero { padding: 70px 0 40px; }
    .hero-stats { width: 100%; }
}

@media (max-width: 768px) {
    /* ── Mobile navigation ── */
    .nav { display: none; }
    .nav.open {
        display: block;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        bottom: 0;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        background: var(--amazon-darker);
        padding: 16px;
        border-top: 1px solid rgba(255,255,255,0.08);
        box-shadow: var(--shadow-lg);
        z-index: 999;
        animation: fadeIn 0.2s ease;
    }
    .nav.open .nav-list {
        flex-direction: column;
        gap: 4px;
    }
    .nav.open .nav-link {
        font-family: 'Playfair Display', serif;
        font-size: 1rem;
        font-weight: 700;
        letter-spacing: 0.01em;
        padding: 12px 16px;
        border-radius: var(--radius-md);
        width: 100%;
        display: flex;
    }
    .nav.open .nav-link::after { display: none; }

    /* Mobile dropdown — always visible, indented */
    .dropdown-menu {
        position: static;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: rgba(255,255,255,0.04);
        border: none;
        border-radius: var(--radius-md);
        margin-top: 4px;
        margin-left: 16px;
    }
    .dropdown-menu li a {
        padding: 9px 14px;
        font-size: 0.88rem;
    }

    /* Hide desktop dropdown hover on mobile — use JS .mobile-open instead */
    .dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: none;
    }
    /* Default hide sub-menus in mobile nav; JS adds mobile-open to reveal */
    .nav.open .dropdown .dropdown-menu {
        display: none;
    }
    .nav.open .dropdown.mobile-open .dropdown-menu {
        display: block !important;
    }
    /* Add chevron rotation cue */
    .nav.open .dropdown .nav-link .fa-chevron-down {
        transition: transform 0.25s ease;
    }
    .nav.open .dropdown.mobile-open .nav-link .fa-chevron-down {
        transform: rotate(180deg);
    }

    .mobile-toggle { display: flex; }

    /* ── Blog / Cards ── */
    .blog-grid { grid-template-columns: 1fr; }
    .deals-grid { grid-template-columns: 1fr 1fr; }
    .pros-cons { grid-template-columns: 1fr; }

    /* ── Hero ── */
    .hero { padding: 60px 0 36px; }
    .hero-stats {
        flex-wrap: wrap;
        gap: 10px;
        width: 100%;
        justify-content: flex-start;
    }
    .hero-actions { gap: 10px; }

    /* ── Search bar ── */
    .search-inner { gap: 8px; }
    .search-submit { padding: 10px 14px; font-size: 0.8rem; }

    /* ── Section ── */
    .section-title { font-size: 1.6rem; }
    .section-header { margin-bottom: 32px; }

    /* ── Footer — mobile center alignment ── */
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-top { padding: 48px 0 32px; }

    /* Every footer column: center everything */
    .footer-col { text-align: center; }

    /* Brand column */
    .footer-brand .logo { justify-content: center; }
    .footer-brand p { max-width: 100%; margin-left: auto; margin-right: auto; }
    .social-links { justify-content: center; }

    /* Column headings — center the underline bar */
    .footer-col h4 { text-align: center; }
    .footer-col h4::after { left: 50%; transform: translateX(-50%); }

    /* Quick Links & Categories — center list items */
    .footer-links li { text-align: center; }
    .footer-links li a { justify-content: center; }
    .footer-links li a:hover { padding-left: 0; }

    /* Contact list */
    .footer-contact li { justify-content: center; text-align: center; }

    /* Trust badges */
    .footer-trust { justify-content: center; }

    /* Footer bottom */
    .footer-bottom-inner {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        text-align: center;
    }
    .footer-bottom-inner p { text-align: center; }
    .footer-legal { justify-content: center; flex-wrap: wrap; gap: 12px; }

    /* Amazon disclosure */
    .amazon-disclosure { font-size: 0.75rem; text-align: center; border-left: none; border-top: 3px solid rgba(var(--primary-rgb),0.3); }

    /* ── Newsletter ── */
    .newsletter-box { padding: 28px 20px; }
    .newsletter-content h2 { font-size: 1.5rem; }
    .ns-item { min-width: 80px; }

    /* ── Announcement ── */
    .announcement-content { font-size: 0.78rem; gap: 8px; }
    .featured-actions { flex-direction: column; }
}

@media (max-width: 480px) {
    /* ── Container ── */
    .container { padding: 0 14px; }

    /* ── Hero ── */
    .hero { padding: 50px 0 30px; }
    .hero-title { font-size: 1.75rem; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-actions .btn { justify-content: center; width: 100%; }
    .hero-stats { gap: 8px; padding: 14px 16px; }
    .stat-num { font-size: 1.15rem; }
    .stat-divider { height: 28px; }
    .hero-badge { font-size: 0.75rem; padding: 5px 12px; }

    /* ── Buttons ── */
    .btn { padding: 10px 18px; font-size: 0.85rem; }

    /* ── Blog ── */
    .deals-grid { grid-template-columns: 1fr; }
    .blog-grid { grid-template-columns: 1fr; }

    /* ── Newsletter ── */
    .newsletter-box { padding: 24px 16px; }
    .newsletter-content h2 { font-size: 1.3rem; }
    .newsletter-stats { flex-wrap: wrap; justify-content: center; gap: 14px; }
    .newsletter-icon { width: 60px; height: 60px; font-size: 1.5rem; }

    /* ── Footer ── */
    .footer-bottom-inner { flex-direction: column; align-items: center; gap: 12px; text-align: center; }
    .footer-legal { justify-content: center; gap: 10px; }
    .social-links { justify-content: center; flex-wrap: wrap; }

    /* ── Header ── */
    .logo-main { font-size: 1.05rem; }
    .logo-sub { font-size: 0.65rem; }
    .header-inner { height: 60px; gap: 10px; }
    .search-btn, .theme-toggle { width: 34px; height: 34px; font-size: 0.875rem; }
    .mobile-toggle { width: 34px; height: 34px; }
    /* nav top must match header height */
    .nav.open { top: 60px; }

    /* ── Search bar ── */
    .search-inner { flex-wrap: wrap; }
    .search-inner input { min-width: 0; }
    .search-submit { padding: 9px 12px; font-size: 0.78rem; }
    .search-bar.open { max-height: 120px; }

    /* ── Section ── */
    .section-title { font-size: 1.4rem; }
    .blog-section { padding: 50px 0; }
    .newsletter-section { padding: 50px 0; }

    /* ── Misc ── */
    .comparison-table thead th,
    .comparison-table tbody td { padding: 10px 12px; font-size: 0.82rem; }
    .deals-timer { flex-wrap: wrap; justify-content: center; font-size: 0.82rem; }
    .toast { min-width: auto; max-width: calc(100vw - 32px); right: 16px; }
}

/* ===== READING PROGRESS BAR (global — all pages & posts) ===== */
#readingProgress,
.reading-progress {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    height: 4px !important;
    /* width is controlled by reading-progress.js via inline style */
    z-index: 999999 !important;
    pointer-events: none !important;
    display: block !important;
    background: linear-gradient(90deg, var(--scrollbar-thumb) 0%, var(--scrollbar-thumb-mid) 100%) !important;
    transition: width 0.08s linear !important;
    border-radius: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* ===== WORDPRESS CORE STYLES RESET ===== */
.wp-block-image img { max-width: 100%; height: auto; border-radius: 8px; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.82rem; color: var(--text-muted); text-align: center; margin-top: 6px; }
.alignleft { float: left; margin: 0 20px 16px 0; }
.alignright { float: right; margin: 0 0 16px 20px; }
.aligncenter { display: block; margin: 0 auto 16px; }
.wp-block-separator { border: none; border-top: 2px solid var(--border); margin: 32px 0; }

/* ===== COMMENTS ===== */
.comments-area { padding: 40px; border-top: 1px solid var(--border-light); }
.comments-area h2 { font-family: var(--font-heading); font-size: 1.4rem; margin-bottom: 24px; color: var(--text-primary); }
.comment-list { list-style: none; margin: 0; padding: 0; }
.comment { padding: 20px 0; border-bottom: 1px solid var(--border-light); }
.comment-author .fn { font-weight: 700; color: var(--text-primary); font-size: 0.95rem; }
.comment-metadata { font-size: 0.78rem; color: var(--text-muted); margin: 4px 0 10px; }
.comment-content p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.75; margin-bottom: 10px; }
.reply a { font-size: 0.8rem; color: var(--amazon-orange); font-weight: 600; }
.comment-reply-title { font-size: 1.1rem; font-weight: 700; color: var(--text-primary); margin-bottom: 20px; }
.comment-form label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--text-primary); margin-bottom: 5px; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%; padding: 10px 14px;
    border: 1.5px solid var(--border); border-radius: 8px;
    background: var(--bg-secondary); color: var(--text-primary);
    font-family: inherit; font-size: 0.9rem;
    outline: none; transition: border-color 0.3s; margin-bottom: 14px;
}
.comment-form input:focus,
.comment-form textarea:focus { border-color: var(--amazon-orange); }
.comment-form textarea { min-height: 120px; resize: vertical; }
.comment-form .submit {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #000; font-weight: 700; padding: 11px 28px;
    border-radius: 100px; border: none; cursor: pointer;
    font-family: inherit; font-size: 0.9rem;
    transition: all 0.3s;
}
.comment-form .submit:hover { background: var(--primary-light); }

/* ===== PAGINATION (archive pages) ===== */
.nav-links { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin: 10px 0; }
.page-numbers {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 40px; height: 40px; padding: 0 10px;
    border-radius: 50%; border: 2px solid var(--border);
    color: var(--text-secondary); font-weight: 600; font-size: 0.875rem;
    transition: all 0.3s;
}
.page-numbers:hover, .page-numbers.current {
    background: var(--amazon-orange); border-color: var(--amazon-orange); color: #000;
}
.page-numbers.dots { border: none; }

/* ===== FOOTER WIDGET AREA (dynamic widgets via Appearance → Widgets) ===== */
.footer-widgets-row {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    padding: 32px 0 8px;
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-top: 32px;
}
.footer-widgets-row .at-footer-widget {
    flex: 1 1 220px;
    min-width: 200px;
}
.footer-widgets-row .at-footer-widget h4 {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 12px;
    padding-bottom: 10px;
    position: relative;
}
.footer-widgets-row .at-footer-widget h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 28px;
    height: 2px;
    background: var(--amazon-orange);
    border-radius: 2px;
}
.footer-widgets-row .at-footer-widget a {
    color: #8A9AB0;
    font-size: 0.875rem;
    transition: color 0.2s;
}
.footer-widgets-row .at-footer-widget a:hover {
    color: var(--amazon-orange);
}
.footer-widgets-row .at-footer-widget p,
.footer-widgets-row .at-footer-widget li {
    color: #8A9AB0;
    font-size: 0.875rem;
    line-height: 1.7;
}

/* ============================================================
   FEATURED CATEGORIES / SHOP BY CATEGORY SECTION
   Placement: Between Hero and Blog Posts Grid
   ============================================================ */

/* ===== SECTION WRAPPER ===== */
.featured-categories-section {
    padding: 80px 0 72px;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

/* Subtle decorative background pattern */
.featured-categories-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 10% 50%, rgba(var(--primary-rgb),0.05) 0%, transparent 55%),
        radial-gradient(ellipse at 90% 20%, rgba(20,110,180,0.04) 0%, transparent 50%);
    pointer-events: none;
}

/* ===== SECTION HEADER ===== */
.fcs-header {
    text-align: center;
    margin-bottom: 52px;
    position: relative;
    z-index: 1;
}

.fcs-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(var(--primary-rgb),0.1);
    border: 1px solid rgba(var(--primary-rgb),0.28);
    color: var(--amazon-orange);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.fcs-badge i {
    font-size: 0.75rem;
}

.fcs-title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 3.2vw, 2.5rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 14px;
    line-height: 1.2;
}

.fcs-subtitle {
    color: var(--text-secondary);
    font-size: 1.02rem;
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto;
}

/* ===== CATEGORY GRID ===== */
.fcs-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    position: relative;
    z-index: 1;
}

.fcs-grid .fcs-card {
    width: calc(25% - 15px);
    min-width: 200px;
}

/* ===== CATEGORY CARD ===== */
.fcs-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1.5px solid var(--border);
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    overflow: hidden;
    position: relative;
}

/* Hover state — card lifts + orange border highlight */
.fcs-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(var(--primary-rgb),0.40);
    color: inherit;
    text-decoration: none;
}

/* Subtle left accent bar on hover */
.fcs-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, var(--amazon-orange) 0%, var(--amazon-orange-light) 100%);
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
    opacity: 0;
    transition: opacity 0.28s ease;
}

.fcs-card:hover::before {
    opacity: 1;
}

/* ===== CARD INNER LAYOUT ===== */
.fcs-card-inner {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px 22px;
}

/* ===== ICON WRAPPER ===== */
.fcs-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fcs-card:hover .fcs-icon-wrap {
    transform: scale(1.1) rotate(-4deg);
}

/* Icon color variants — matching theme palette */
.fcs-icon--blue   { background: rgba(73,164,212,0.15);  color: var(--amazon-light-blue); }
.fcs-icon--orange { background: rgba(var(--primary-rgb),0.15);   color: var(--amazon-orange); }
.fcs-icon--pink   { background: rgba(233,30,99,0.13);   color: #E91E63; }
.fcs-icon--green  { background: rgba(6,125,98,0.15);    color: var(--amazon-green); }
.fcs-icon--indigo { background: rgba(99,102,241,0.13);  color: #6366F1; }
.fcs-icon--red    { background: rgba(204,12,57,0.13);   color: var(--amazon-red); }
.fcs-icon--amber  { background: rgba(255,179,0,0.15);   color: #FFB300; }
.fcs-icon--gold   { background: rgba(var(--primary-rgb),0.18);   color: var(--primary-dark); }

/* ===== CARD BODY ===== */
.fcs-card-body {
    flex: 1;
    min-width: 0;
}

.fcs-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 7px;
}

.fcs-card-name {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.25s ease;
}

.fcs-card:hover .fcs-card-name {
    color: var(--amazon-orange);
}

.fcs-card-desc {
    font-size: 0.83rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ===== META BADGES ===== */
.fcs-meta {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: var(--radius-full);
    white-space: nowrap;
    flex-shrink: 0;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

/* Hot / Trending — red-orange */
.fcs-meta--hot {
    background: rgba(255,87,34,0.12);
    color: #FF5722;
    border: 1px solid rgba(255,87,34,0.22);
}

/* Count — neutral muted */
.fcs-meta--count {
    background: rgba(74,74,106,0.1);
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

/* Popular — amazon blue */
.fcs-meta--popular {
    background: rgba(20,110,180,0.12);
    color: var(--amazon-blue);
    border: 1px solid rgba(20,110,180,0.2);
}

/* Top Picks — amazon orange */
.fcs-meta--top {
    background: rgba(var(--primary-rgb),0.12);
    color: var(--amazon-orange);
    border: 1px solid rgba(var(--primary-rgb),0.25);
}

/* ===== ARROW INDICATOR ===== */
.fcs-arrow {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: var(--text-muted);
    flex-shrink: 0;
    align-self: center;
    transition: background 0.28s ease, color 0.28s ease, transform 0.28s ease;
}

.fcs-card:hover .fcs-arrow {
    background: var(--amazon-orange);
    color: #000;
    transform: translateX(3px);
}

/* ===== CTA BUTTON ROW ===== */
.fcs-cta-wrap {
    text-align: center;
    margin-top: 44px;
    position: relative;
    z-index: 1;
}

.fcs-cta-btn {
    font-size: 0.92rem;
    padding: 13px 32px;
    gap: 10px;
}

.fcs-cta-arrow {
    font-size: 0.8rem;
    transition: transform 0.25s ease;
}

.fcs-cta-btn:hover .fcs-cta-arrow {
    transform: translateX(4px);
}

/* ===== DARK MODE OVERRIDES ===== */
[data-theme="dark"] .featured-categories-section {
    background: var(--bg-secondary);
}

[data-theme="dark"] .fcs-icon--blue   { background: rgba(73,164,212,0.18);  }
[data-theme="dark"] .fcs-icon--orange { background: rgba(var(--primary-rgb),0.18);   }
[data-theme="dark"] .fcs-icon--pink   { background: rgba(233,30,99,0.17);   }
[data-theme="dark"] .fcs-icon--green  { background: rgba(6,125,98,0.18);    }
[data-theme="dark"] .fcs-icon--indigo { background: rgba(99,102,241,0.17);  }
[data-theme="dark"] .fcs-icon--red    { background: rgba(204,12,57,0.17);   }
[data-theme="dark"] .fcs-icon--amber  { background: rgba(255,179,0,0.18);   }
[data-theme="dark"] .fcs-icon--gold   { background: rgba(var(--primary-rgb),0.2);    }

[data-theme="dark"] .fcs-arrow {
    background: var(--bg-tertiary);
}

/* ===== RESPONSIVE — FEATURED CATEGORIES ===== */

/* 1100px — 3 columns */
@media (max-width: 1100px) {
    .fcs-grid {
        gap: 18px;
    }
    .fcs-grid .fcs-card {
        width: calc(33.333% - 13px);
    }
}

/* 900px — 2 columns */
@media (max-width: 900px) {
    .fcs-grid {
        gap: 16px;
    }
    .fcs-grid .fcs-card {
        width: calc(50% - 8px);
    }
    .featured-categories-section {
        padding: 64px 0 56px;
    }
    .fcs-header {
        margin-bottom: 40px;
    }
}

/* 768px — 2 columns (compact) */
@media (max-width: 768px) {
    .featured-categories-section {
        padding: 56px 0 48px;
    }
    .fcs-grid {
        gap: 14px;
    }
    .fcs-grid .fcs-card {
        width: calc(50% - 7px);
    }
    .fcs-card-inner {
        padding: 18px 16px;
        gap: 12px;
    }
    .fcs-icon-wrap {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
    }
    .fcs-card-name {
        font-size: 0.97rem;
    }
    .fcs-card-desc {
        font-size: 0.8rem;
    }
    .fcs-title {
        font-size: 1.7rem;
    }
    .fcs-subtitle {
        font-size: 0.95rem;
    }
    .fcs-header {
        margin-bottom: 32px;
    }
    .fcs-cta-wrap {
        margin-top: 32px;
    }
}

/* 540px — 1 column, full width cards */
@media (max-width: 540px) {
    .featured-categories-section {
        padding: 48px 0 40px;
    }
    .fcs-grid {
        gap: 12px;
    }
    .fcs-grid .fcs-card {
        width: 100%;
    }
    .fcs-card-inner {
        padding: 16px 14px;
        gap: 14px;
        align-items: center;
    }
    .fcs-icon-wrap {
        width: 46px;
        height: 46px;
        font-size: 1.15rem;
    }
    .fcs-card-name {
        font-size: 1rem;
    }
    .fcs-card-desc {
        font-size: 0.82rem;
        -webkit-line-clamp: 1;
    }
    .fcs-meta {
        font-size: 0.68rem;
        padding: 2px 7px;
    }
    .fcs-title {
        font-size: 1.5rem;
    }
    .fcs-cta-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ===== END FEATURED CATEGORIES ===== */

/* ============================================================
   TOP PICKS THIS MONTH SECTION
   ============================================================ */

/* ── Section Wrapper ─────────────────────────────────────── */
.tpm-section {
    padding: 80px 0;
    background: #F8FAFC;
    position: relative;
    overflow: hidden;
    border-top: 1px solid #E2E8F0;
    border-bottom: 1px solid #E2E8F0;
}

.tpm-section::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -120px;
    width: 400px;
    height: 400px;
    background: radial-gradient( circle, rgba(var(--primary-rgb),0.06) 0%, transparent 70% );
    pointer-events: none;
}

[data-theme="dark"] .tpm-section {
    background: var(--bg-secondary);
    border-color: var(--border);
}

/* ── Section Header ─────────────────────────────────────── */
.tpm-header {
    text-align: center;
    margin-bottom: 40px;
}

.tpm-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(var(--primary-rgb),0.10);
    border: 1px solid rgba(var(--primary-rgb),0.28);
    color: var(--amazon-orange);
    padding: 5px 16px;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.tpm-updated-tag {
    background: rgba(var(--primary-rgb),0.18);
    color: #92400E;
    font-size: 0.68rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    letter-spacing: 0.03em;
    text-transform: none;
}

[data-theme="dark"] .tpm-updated-tag {
    background: rgba(var(--primary-rgb),0.25);
    color: var(--amazon-orange-light);
}

.tpm-heading {
    font-family: var(--font-heading);
    font-size: clamp(1.9rem, 3.5vw, 2.75rem);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.15;
    margin-bottom: 14px;
}

.tpm-subheading {
    font-size: 1.0rem;
    color: var(--text-secondary);
    line-height: 1.65;
    max-width: 640px;
    margin: 0 auto 24px;
}

.tpm-divider {
    width: 56px;
    height: 3px;
    background: linear-gradient(90deg, var(--amazon-orange), var(--amazon-orange-light));
    border-radius: var(--radius-full);
    margin: 0 auto;
}

/* ── Card Grid ──────────────────────────────────────────── */
.tpm-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    margin-bottom: 44px;
}

.tpm-card {
    background: #FFFFFF;
    border-radius: 18px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 4px 20px rgba(15,23,42,0.07);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    width: calc(33.333% - 16px);
    min-width: 240px;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
    position: relative;
}

.tpm-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 44px rgba(15,23,42,0.13);
    border-color: rgba(var(--primary-rgb),0.35);
}

[data-theme="dark"] .tpm-card {
    background: var(--bg-card);
    border-color: var(--border);
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}

[data-theme="dark"] .tpm-card:hover {
    box-shadow: 0 16px 44px rgba(0,0,0,0.4);
    border-color: rgba(var(--primary-rgb),0.35);
}

/* Featured card highlight */
.tpm-card--featured {
    border-color: rgba(var(--primary-rgb),0.45);
    box-shadow: 0 6px 28px rgba(var(--primary-rgb),0.16);
}

/* ── Product Image ──────────────────────────────────────── */
.tpm-card-img-wrap {
    display: block;
    position: relative;
    overflow: hidden;
    background: var(--bg-card);
    height: auto;
    min-height: 200px;
    flex-shrink: 0;
    padding-top: 16px;
}

.tpm-card-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    transition: transform 0.4s ease;
}

.tpm-card:hover .tpm-card-img {
    transform: scale(1.04);
}

/* Hover overlay – Read Review button */
.tpm-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
}

.tpm-card-img-wrap:hover .tpm-card-overlay {
    opacity: 1;
    pointer-events: auto;
}

.tpm-read-more-overlay {
    background: var(--amazon-orange);
    color: #000;
    padding: 10px 22px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.85rem;
    transform: translateY(10px);
    transition: var(--transition);
    pointer-events: none;
}

.tpm-card-img-wrap:hover .tpm-read-more-overlay {
    transform: translateY(0);
}

.tpm-card-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #F1F5F9 0%, #E8EDF5 100%);
    color: #94A3B8;
    font-size: 2.8rem;
}

[data-theme="dark"] .tpm-card-img-wrap {
    background: var(--bg-tertiary);
}

[data-theme="dark"] .tpm-card-img-placeholder {
    background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-secondary) 100%);
    color: var(--text-muted);
}

/* Featured badge on image */
.tpm-featured-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, var(--amazon-orange), var(--primary-dark));
    color: #000;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    letter-spacing: 0.03em;
    box-shadow: 0 2px 8px rgba(var(--primary-rgb),0.35);
}

/* ── Card Body ──────────────────────────────────────────── */
.tpm-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0;
}

/* ── Category Tag ───────────────────────────────────────── */
.tpm-tag {
    display: inline-block;
    background: #FFF7ED;
    color: #C2410C;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    margin-bottom: 10px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    width: fit-content;
}

[data-theme="dark"] .tpm-tag {
    background: rgba(194,65,12,0.18);
    color: #FCA474;
}

/* ── Product Title ──────────────────────────────────────── */
.tpm-card-title {
    font-family: var(--font-heading);
    font-size: 1.0rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.35;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tpm-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.tpm-card:hover .tpm-card-title a {
    color: var(--amazon-orange);
}

/* ── Rating Row ─────────────────────────────────────────── */
.tpm-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
}

.tpm-stars {
    display: inline-flex;
    gap: 2px;
    color: #FBBF24;
    font-size: 0.8rem;
}

.tpm-rating-num {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
}

/* ── Summary ────────────────────────────────────────────── */
.tpm-card-summary {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-shrink: 0;
}

/* ── Price Range ────────────────────────────────────────── */
.tpm-price {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.83rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 14px;
}

.tpm-price i {
    color: var(--amazon-orange);
    font-size: 0.75rem;
}

/* ── Why We Picked It ───────────────────────────────────── */
.tpm-why-picked {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    background: #FEF3C7;
    border-left: 3px solid #F59E0B;
    border-radius: 0 8px 8px 0;
    padding: 8px 12px;
    margin-bottom: 16px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #92400E;
    line-height: 1.45;
}

.tpm-why-picked i {
    color: #F59E0B;
    margin-top: 1px;
    flex-shrink: 0;
    font-size: 0.82rem;
}

[data-theme="dark"] .tpm-why-picked {
    background: rgba(254,243,199,0.10);
    border-left-color: var(--amazon-orange);
    color: var(--amazon-orange-light);
}

[data-theme="dark"] .tpm-why-picked i {
    color: var(--amazon-orange);
}

/* ── CTA Row ────────────────────────────────────────────── */
.tpm-cta-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    padding-top: 4px;
    flex-wrap: wrap;
    justify-content: space-between;
}

/* Primary CTA */
.tpm-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: linear-gradient(135deg, var(--amazon-orange) 0%, var(--primary-dark) 100%);
    color: #000;
    font-size: 0.83rem;
    font-weight: 700;
    padding: 10px 18px;
    border-radius: 12px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.18s ease, box-shadow 0.18s ease;
    box-shadow: 0 3px 10px rgba(var(--primary-rgb),0.28);
    white-space: nowrap;
    flex-shrink: 0;
}

.tpm-btn-primary:hover {
    background: linear-gradient(135deg, var(--amazon-orange-light) 0%, var(--amazon-orange) 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(var(--primary-rgb),0.38);
    color: #000;
    text-decoration: none;
}

/* Secondary CTA */
.tpm-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--amazon-orange);
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    border: 2px solid var(--amazon-orange);
    border-radius: 10px;
    padding: 8px 14px;
    transition: background 0.2s ease, color 0.2s ease, transform 0.18s ease, box-shadow 0.18s ease;
    white-space: nowrap;
    letter-spacing: 0.3px;
}

.tpm-btn-secondary:hover {
    background: var(--amazon-orange);
    color: #000;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(var(--primary-rgb),0.35);
}

.tpm-btn-secondary i {
    font-size: 0.78rem;
    transition: transform 0.18s ease;
}

.tpm-btn-secondary:hover i {
    transform: translateX(2px);
}

/* ── Section CTA ────────────────────────────────────────── */
.tpm-section-cta {
    text-align: center;
    margin-top: 8px;
}

.tpm-section-cta-btn {
    font-size: 0.92rem;
    padding: 13px 32px;
    gap: 10px;
}

.tpm-cta-arrow {
    font-size: 0.8rem;
    transition: transform 0.22s ease;
}

.tpm-section-cta-btn:hover .tpm-cta-arrow {
    transform: translateX(4px);
}

/* ── Responsive: Tablet 2 columns @ 900px ──────────────── */
@media (max-width: 900px) {
    .tpm-section {
        padding: 60px 0;
    }
    .tpm-grid {
        gap: 20px;
    }
    .tpm-card {
        width: calc(50% - 10px);
    }
    .tpm-heading {
        font-size: 1.9rem;
    }
}

/* ── Responsive: Tablet small @ 768px ──────────────────── */
@media (max-width: 768px) {
    .tpm-section {
        padding: 56px 0;
    }
    .tpm-card {
        width: calc(50% - 8px);
    }
    .tpm-card-body {
        padding: 16px;
    }
    .tpm-heading {
        font-size: 1.7rem;
    }
    .tpm-subheading {
        font-size: 0.95rem;
    }
    .tpm-header {
        margin-bottom: 32px;
    }
}

/* ── Responsive: Mobile 1 column @ 560px ───────────────── */
@media (max-width: 560px) {
    .tpm-section {
        padding: 40px 0;
    }
    .tpm-grid {
        gap: 16px;
    }
    .tpm-card {
        width: 100%;
        min-width: unset;
    }
    .tpm-heading {
        font-size: 1.5rem;
    }
    .tpm-subheading {
        font-size: 0.9rem;
    }
    .tpm-btn-primary {
        width: 100%;
        justify-content: center;
    }
    .tpm-cta-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .tpm-section-cta-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ===== END TOP PICKS THIS MONTH ===== */

/* ===== FOOTER — MORE CATEGORIES TOGGLE ===== */
/* Hidden extra-categories list */
.at-more-cats-list {
    display: none;
    margin-top: 0;
}
.at-more-cats-list.at-open {
    display: block;
}

/* "More Categories" toggle link — inherits .footer-links li a styling */
.at-more-cats-toggle-item {
    margin-top: 2px;
}
.at-more-cats-toggle {
    color: var(--amazon-orange) !important;
    font-weight: 600;
    cursor: pointer;
}
.at-more-cats-toggle i {
    font-size: 0.65rem;
    color: var(--amazon-orange) !important;
    opacity: 1 !important;
    transition: transform 0.25s ease;
}
.at-more-cats-toggle[aria-expanded="true"] i {
    transform: rotate(180deg);
}
.at-more-cats-toggle:hover {
    color: var(--amazon-orange-light, #FFB347) !important;
    padding-left: 4px;
}
