:root {
    /* PURE HOMES Brand Colors */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --primary-color: #1C4B32;
    /* Deep Green */
    --accent-color: #F3A712;
    /* Warm Golden */
    --accent-mint: #E5F4EC;
    /* Soft Mint for cards/sections */
    --glass-bg: rgba(255, 255, 255, 0.9);
    --glass-border: rgba(28, 75, 50, 0.1);
    --shadow-soft: 0 4px 16px 0 rgba(28, 75, 50, 0.08);
    --text-main: #111827;
    /* Near-black */
    --text-secondary: #4B5563;
    --bg-body: #FAFBFC;
    /* Very light gray */
    --card-bg: #FFFFFF;
}

[data-bs-theme="dark"] {
    /* Dark Mode - PURE HOMES */
    --primary-color: #4ADE80;
    /* Bright Green */
    --accent-color: #FCD34D;
    /* Bright Golden */
    --accent-mint: #1F3A2E;
    /* Dark Mint */
    --glass-bg: rgba(20, 20, 25, 0.7);
    --glass-border: rgba(74, 222, 128, 0.2);
    --shadow-soft: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
    --text-main: #F3F4F6;
    --text-secondary: #D1D5DB;
    --bg-body: #0F1419;
    --bs-body-bg: #0F1419;
    --bs-body-color: #F3F4F6;
    --bs-card-bg: #1A1F2E;
    --card-bg: #1A1F2E;
    --bs-border-color: #2D3748;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-body);
    transition: background-color 0.3s ease, color 0.3s ease;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.5px;
}

/* Glassmorphism Utilities */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
}

/* Navigation */
.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

[data-bs-theme="dark"] .navbar {
    background: rgba(5, 5, 5, 0.85);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar-brand {
    font-size: 1.5rem;
    color: var(--primary-color) !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-link {
    font-weight: 500;
    color: var(--text-main);
    margin: 0 10px;
    position: relative;
}

.nav-link::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width .3s;
}

.nav-link:hover::after {
    width: 100%;
}

/* Gradient Text for Dark Mode Pop */
.gradient-text {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: var(--primary-color);
    /* Fallback */
    transition: 0.3s;
}

[data-bs-theme="dark"] .gradient-text {
    color: transparent;
}

/* Hero Section */
.hero-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(28, 75, 50, 0.05) 0%, rgba(243, 167, 18, 0.08) 100%);
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
    margin-bottom: 3rem;
    overflow: hidden;
    /* Prevent animation overflow */
}

[data-bs-theme="dark"] .hero-section {
    background: linear-gradient(135deg, #0F1419 0%, #1A1F2E 100%);
    border-bottom: 1px solid rgba(74, 222, 128, 0.2);
}

/* Hero Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-section h1 {
    animation: fadeInUp 0.8s ease-out forwards;
}

.hero-section p {
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
    opacity: 0;
    /* Start hidden */
}

.hero-section .d-flex {
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
    opacity: 0;
    /* Start hidden */
}

.hero-section img {
    animation: fadeInUp 1s ease-out 0.3s forwards;
    opacity: 0;
    /* Start hidden */
    transition: transform 0.5s ease;
}

.hero-section img:hover {
    transform: scale(1.02);
}

/* Responsive Hero Styles */
@media (max-width: 991.98px) {
    .hero-section {
        padding: 3rem 0;
        text-align: center;
    }

    .hero-section h1 {
        font-size: 2.75rem;
    }

    .hero-section .lead {
        font-size: 1.1rem;
        margin-left: auto;
        margin-right: auto;
        max-width: 600px;
        /* Readability on tablet */
    }

    .hero-section .d-flex {
        justify-content: center;
    }

    .hero-section .col-lg-5 {
        margin-top: 3rem !important;
        /* More space for stacked image */
    }
}

@media (max-width: 575.98px) {
    .hero-section {
        padding: 2.5rem 0;
        border-bottom-left-radius: 20px;
        border-bottom-right-radius: 20px;
    }

    .hero-section h1 {
        font-size: 2.2rem;
    }

    .hero-section .d-flex {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem !important;
    }

    .hero-section .btn {
        width: 100%;
        display: block;
    }
}

/* Card Styles */
.card {
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    background: var(--card-bg);
    border-radius: 12px;
}

.article-card {
    border-radius: 12px;
    border: 1px solid rgba(28, 75, 50, 0.08);
    background: var(--card-bg);
}

[data-bs-theme="dark"] .article-card {
    background: var(--card-bg);
    border: 1px solid rgba(74, 222, 128, 0.15);
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(28, 75, 50, 0.12);
}

[data-bs-theme="dark"] .article-card:hover {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
}

.card-img-top {
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.article-card:hover .card-img-top {
    transform: scale(1.05);
}

.category-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--accent-color);
    color: var(--text-main);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

[data-bs-theme="dark"] .category-badge {
    background: var(--accent-color);
    color: #111827;
}

/* Sidebar */
.sidebar-widget {
    margin-bottom: 2rem;
    padding: 1.5rem;
}

.sidebar-title {
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid rgba(0, 0, 0, 0.05);
}

[data-bs-theme="dark"] .sidebar-title {
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.sidebar-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--primary-color);
}

/* Affiliate Button */
.btn-affiliate {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 600;
    width: 100%;
    transition: all 0.3s;
}

.btn-affiliate:hover {
    filter: brightness(1.1);
    color: white;
    transform: translateY(-2px);
}

[data-bs-theme="dark"] .btn-affiliate {
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    color: #111827;
    font-weight: 700;
}

/* Ribbon for Best Sellers */
.ribbon {
    position: absolute;
    top: 12px;
    right: 0px;
    background: var(--accent-color);
    color: var(--text-main);
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: bold;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    animation: ribbonPulse 2s ease-in-out infinite;
}

@keyframes ribbonPulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 4px 12px rgba(243, 167, 18, 0.5);
    }
}

[data-bs-theme="dark"] .ribbon {
    background: var(--accent-color);
    color: #111827;
}

/* Footer */
footer {
    background-color: #E5F4EC;
    padding: 3rem 0;
    margin-top: 4rem;
}

[data-bs-theme="dark"] footer {
    background-color: #0F1419;
    border-top: 1px solid rgba(74, 222, 128, 0.2);
}

/* Theme Toggle Switch */
.theme-toggle {
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: background 0.3s;
    color: var(--text-main);
}

.theme-toggle:hover {
    background: rgba(128, 128, 128, 0.1);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

[data-bs-theme="dark"] ::-webkit-scrollbar-thumb {
    background: #333;
}

/* AdSense Ad Containers */
.ad-container {
    max-width: 100%;
    margin: 2rem auto;
    padding: 0 15px;
}

.adsense-placeholder {
    transition: all 0.3s ease;
}

.adsense-placeholder:hover {
    opacity: 0.9;
}

/* Responsive Ad Sizes */
@media (max-width: 768px) {
    .ad-container {
        margin: 1.5rem auto;
    }

    .adsense-placeholder {
        min-height: 100px !important;
    }
}

/* Ad Spacing */
.ad-container+section,
section+.ad-container {
    margin-top: 3rem;
}


/* Categories Row */
.categories-row {
    margin-top: 2rem;
}

.categories-scroll {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding: 1rem 0;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    justify-content: center;
    /* Center align categories */
    flex-wrap: wrap;
    /* Allow wrapping on smaller screens */
}

.categories-scroll::-webkit-scrollbar {
    height: 6px;
}

.categories-scroll::-webkit-scrollbar-track {
    background: var(--accent-mint);
    border-radius: 10px;
}

.categories-scroll::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 100px;
    padding: 1.25rem 1rem;
    background: var(--accent-mint);
    border: 2px solid transparent;
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-main);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.category-item i {
    font-size: 1.75rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    transition: transform 0.3s ease;
}

.category-item span {
    font-size: 0.875rem;
    font-weight: 600;
    text-align: center;
}

.category-item:hover {
    background: white;
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(28, 75, 50, 0.15);
}

.category-item:hover i {
    transform: scale(1.1);
}

[data-bs-theme="dark"] .category-item {
    background: rgba(74, 222, 128, 0.1);
    color: var(--text-main);
}

[data-bs-theme="dark"] .category-item:hover {
    background: rgba(74, 222, 128, 0.2);
    border-color: var(--primary-color);
}

[data-bs-theme="dark"] .category-item i {
    color: var(--primary-color);
}

/* Mobile Optimization */
@media (max-width: 768px) {
    .category-item {
        min-width: 90px;
        padding: 1rem 0.75rem;
    }

    .category-item i {
        font-size: 1.5rem;
    }

    .category-item span {
        font-size: 0.75rem;
    }
}


/* Additional PURE HOMES Components */

/* Top Bar */
.top-bar {
    background-color: var(--primary-color);
    color: white;
    padding: 0.5rem 0;
    font-size: 0.85rem;
}

.top-bar a {
    color: white;
    text-decoration: none;
    margin: 0 0.75rem;
    transition: opacity 0.3s;
}

.top-bar a:hover {
    opacity: 0.8;
}

[data-bs-theme="dark"] .top-bar {
    background-color: #0A0F14;
    border-bottom: 1px solid rgba(74, 222, 128, 0.2);
}

/* Search Bar */
.search-wrapper {
    position: relative;
}

.search-input {
    border: 1px solid rgba(28, 75, 50, 0.2);
    border-radius: 24px;
    padding: 0.5rem 1rem 0.5rem 2.5rem;
    width: 250px;
    transition: all 0.3s;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(28, 75, 50, 0.1);
    width: 300px;
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
}

/* Room Cards */
.room-card {
    background: var(--card-bg);
    border: 1px solid rgba(28, 75, 50, 0.08);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.room-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(28, 75, 50, 0.15);
    border-color: var(--primary-color);
}

.room-card-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.room-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.room-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

[data-bs-theme="dark"] .room-card {
    background: var(--card-bg);
    border: 1px solid rgba(74, 222, 128, 0.15);
}

[data-bs-theme="dark"] .room-card:hover {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
}

/* Section Headers */
.section-header {
    margin-bottom: 2.5rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* Deals Strip */
.deals-strip {
    background: var(--accent-mint);
    padding: 1.5rem;
    border-radius: 12px;
    margin: 3rem 0;
}

[data-bs-theme="dark"] .deals-strip {
    background: var(--accent-mint);
}

.deal-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-main);
    text-decoration: none;
    transition: transform 0.3s;
}

.deal-item:hover {
    transform: translateX(5px);
}

.deal-icon {
    color: var(--accent-color);
    font-size: 1.5rem;
}

/* Email Capture */
.email-capture {
    background: linear-gradient(135deg, var(--primary-color), #2A6B4A);
    color: white;
    padding: 3rem;
    border-radius: 16px;
    text-align: center;
}

[data-bs-theme="dark"] .email-capture {
    background: linear-gradient(135deg, #1A3A2E, #2A6B4A);
}

.email-capture h3 {
    color: white;
    margin-bottom: 1rem;
}

.email-capture p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

.email-form {
    max-width: 500px;
    margin: 0 auto;
}

.email-input {
    border: none;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    width: 100%;
    margin-bottom: 0.75rem;
}

.btn-subscribe {
    background-color: var(--accent-color);
    color: var(--text-main);
    border: none;
    border-radius: 8px;
    padding: 0.75rem 2rem;
    font-weight: 700;
    width: 100%;
    transition: all 0.3s;
}

.btn-subscribe:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
}

/* Trust Section */
.trust-section {
    background: var(--accent-mint);
    padding: 2.5rem;
    border-radius: 16px;
    margin: 3rem 0;
}

[data-bs-theme="dark"] .trust-section {
    background: var(--accent-mint);
}

.trust-item {
    display: flex;
    align-items: start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.trust-item:last-child {
    margin-bottom: 0;
}

.trust-icon {
    color: var(--primary-color);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.trust-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: var(--text-main);
}

.trust-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* Guide Card */
.guide-card {
    background: var(--card-bg);
    border: 1px solid rgba(28, 75, 50, 0.08);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.guide-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(28, 75, 50, 0.12);
}

.guide-card-img {
    height: 200px;
    background: var(--accent-mint);
    display: flex;
    align-items: center;
    justify-content: center;
}

.guide-card-body {
    padding: 1.5rem;
}

.guide-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.75rem;
}

.guide-card-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.btn-read-guide {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s;
}

.btn-read-guide:hover {
    gap: 0.75rem;
}

[data-bs-theme="dark"] .guide-card {
    background: var(--card-bg);
    border: 1px solid rgba(74, 222, 128, 0.15);
}

/* Dropdown Menu Styles */
.dropdown-menu {
    border: 1px solid rgba(28, 75, 50, 0.1);
    box-shadow: 0 8px 16px rgba(28, 75, 50, 0.1);
    border-radius: 8px;
}

.dropdown-item {
    color: var(--text-main);
    padding: 0.5rem 1rem;
    transition: background-color 0.2s;
}

.dropdown-item:hover {
    background-color: var(--accent-mint);
    color: var(--text-main);
}

[data-bs-theme="dark"] .dropdown-menu {
    background-color: var(--card-bg);
    border-color: rgba(74, 222, 128, 0.2);
}

[data-bs-theme="dark"] .dropdown-item:hover {
    background-color: var(--accent-mint);
}

/* Utility Classes */
.text-primary-custom {
    color: var(--primary-color) !important;
}

.text-accent {
    color: var(--accent-color) !important;
}

.bg-mint {
    background-color: var(--accent-mint) !important;
}

.btn-primary-custom {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary-custom:hover {
    background-color: #2A6B4A;
    color: white;
    transform: translateY(-2px);
}

.btn-accent {
    background-color: var(--accent-color);
    color: var(--text-main);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-accent:hover {
    filter: brightness(1.1);
    color: var(--text-main);
    transform: translateY(-2px);
}

/* ========================================
   BLOG DETAIL PAGE STYLES
   ======================================== */

/* Breadcrumb */
.breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 0;
}

.breadcrumb-item a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb-item a:hover {
    color: var(--primary-color);
}

.breadcrumb-item.active {
    color: var(--text-main);
}

.breadcrumb-item+.breadcrumb-item::before {
    color: var(--text-secondary);
}

/* Blog Post Article */
.blog-post {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
}

[data-bs-theme="dark"] .blog-post {
    background: var(--card-bg);
    border: 1px solid rgba(74, 222, 128, 0.1);
}

/* Article Content Typography */
.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
}

.article-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.article-content ul,
.article-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.article-content li {
    margin-bottom: 0.75rem;
    color: var(--text-main);
}

.article-content strong {
    color: var(--primary-color);
    font-weight: 600;
}

.article-content .lead {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* Featured Image */
.featured-image {
    overflow: hidden;
    border-radius: 12px;
}

.featured-image img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.featured-image:hover img {
    transform: scale(1.02);
}

/* Social Share Buttons */
.social-share .btn {
    width: 40px;
    height: 40px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}

.social-share .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Plant Feature Boxes */
.plant-feature {
    border-left: 4px solid var(--primary-color);
    padding-left: 1.5rem;
}

/* CTA Box */
.cta-box {
    border: 2px solid var(--primary-color);
}

/* Post Tags */
.post-tags .badge {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s;
}

.post-tags .badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Author Bio */
.author-bio {
    border: 2px solid var(--primary-color);
}

/* Related Posts */
.related-posts .article-card {
    transition: all 0.3s ease;
}

.related-posts .article-card:hover {
    transform: translateY(-3px);
}

/* ========================================
   SIDEBAR STYLES
   ======================================== */

/* Sidebar Widgets */
.sidebar-widget {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

[data-bs-theme="dark"] .sidebar-widget {
    background: var(--card-bg);
    border: 1px solid rgba(74, 222, 128, 0.1);
}

.sidebar-widget:hover {
    box-shadow: 0 8px 24px rgba(28, 75, 50, 0.12);
}

[data-bs-theme="dark"] .sidebar-widget:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

/* Sidebar Title */
.sidebar-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--accent-mint);
    position: relative;
}

.sidebar-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--primary-color);
}

/* Search Form */
.search-form .input-group {
    box-shadow: 0 2px 8px rgba(28, 75, 50, 0.08);
    border-radius: 8px;
    overflow: hidden;
}

.search-form .form-control {
    border: 1px solid rgba(28, 75, 50, 0.2);
    border-right: none;
    padding: 0.75rem 1rem;
}

.search-form .form-control:focus {
    box-shadow: none;
    border-color: var(--primary-color);
}

.search-form .btn {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

/* Popular Posts */
.popular-post-item {
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 8px;
}

.popular-post-item:hover {
    background: var(--accent-mint);
    transform: translateX(5px);
}

.popular-post-item h4 {
    font-size: 0.95rem;
    line-height: 1.4;
    transition: color 0.3s;
}

.popular-post-item:hover h4 {
    color: var(--primary-color);
}

/* Categories List */
.sidebar-widget ul li a {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    transition: all 0.3s;
    border-radius: 6px;
    padding: 0.5rem;
}

.sidebar-widget ul li a:hover {
    background: var(--accent-mint);
    color: var(--primary-color) !important;
    padding-left: 1rem;
}

.sidebar-widget ul li a:hover i {
    transform: scale(1.2);
}

/* Tags Cloud */
.sidebar-widget .badge {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s;
    cursor: pointer;
}

.sidebar-widget .badge:hover {
    background: var(--primary-color) !important;
    color: white !important;
    transform: translateY(-2px);
}

/* Recommended Products */
.recommended-product {
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--accent-mint);
}

.recommended-product:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.recommended-product h4 {
    font-size: 1rem;
    line-height: 1.4;
}

.recommended-product .btn {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
}

/* Newsletter Widget Specific Styles */
.sidebar-widget form input[type="email"] {
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-main);
}

.sidebar-widget form input[type="email"]:focus {
    outline: none;
    border-color: white;
    background: white;
}

/* ========================================
   RESPONSIVE STYLES FOR BLOG
   ======================================== */

@media (max-width: 991.98px) {
    .blog-post {
        padding: 1.5rem;
    }

    .article-content {
        font-size: 1rem;
    }

    .article-content h2 {
        font-size: 1.5rem;
    }

    .article-content h3 {
        font-size: 1.25rem;
    }

    .featured-image {
        margin-bottom: 2rem;
    }

    /* Stack sidebar below content on tablets */
    aside {
        margin-top: 3rem;
    }
}

@media (max-width: 767.98px) {
    .blog-post {
        padding: 1.25rem;
        border-radius: 12px;
    }

    .article-content {
        font-size: 0.95rem;
    }

    .article-content .lead {
        font-size: 1.1rem;
    }

    .social-share {
        justify-content: center;
    }

    .author-bio {
        padding: 1.25rem !important;
    }

    .author-bio .d-flex {
        flex-direction: column;
        text-align: center;
    }

    .sidebar-widget {
        padding: 1.25rem;
    }

    .plant-feature {
        border-left: none;
        border-top: 4px solid var(--primary-color);
        padding-left: 0;
        padding-top: 1rem;
    }
}

@media (max-width: 575.98px) {
    .breadcrumb {
        font-size: 0.85rem;
    }

    .breadcrumb-item.active {
        max-width: 200px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .blog-post h1 {
        font-size: 1.75rem;
    }

    .featured-image div {
        min-height: 250px !important;
    }

    .social-share .btn {
        width: 36px;
        height: 36px;
    }

    .related-posts .col-md-6 {
        margin-bottom: 1rem;
    }
}

/* ========================================
   PRINT STYLES FOR BLOG POSTS
   ======================================== */

@media print {

    .navbar,
    .breadcrumb,
    .social-share,
    .sidebar-widget,
    .ad-container,
    .adsense-placeholder,
    .related-posts,
    footer,
    .top-bar {
        display: none !important;
    }

    .blog-post {
        box-shadow: none;
        padding: 0;
    }

    .article-content {
        color: #000;
    }

    .article-content a {
        color: #000;
        text-decoration: underline;
    }
}

/* ========================================
   PRODUCT LISTING PAGE STYLES
   ======================================== */

/* Product Listing Hero */
.product-listing-hero {
    padding: 4rem 0 3rem;
    background: linear-gradient(135deg, rgba(28, 75, 50, 0.05) 0%, rgba(243, 167, 18, 0.08) 100%);
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
    margin-bottom: 2rem;
}

[data-bs-theme="dark"] .product-listing-hero {
    background: linear-gradient(135deg, #0F1419 0%, #1A1F2E 100%);
    border-bottom: 1px solid rgba(74, 222, 128, 0.2);
}

.hero-badge {
    display: inline-block;
    background: var(--accent-color);
    color: var(--text-main);
    padding: 8px 20px;
    border-radius: 24px;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s ease-out;
}

[data-bs-theme="dark"] .hero-badge {
    background: var(--accent-color);
    color: #111827;
}

.hero-stats {
    margin-top: 2rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.stat-item i {
    color: var(--primary-color);
    font-size: 1.25rem;
}

/* Filter Bar */
.filter-bar {
    background: var(--card-bg);
    padding: 1.5rem 0;
    margin-bottom: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
}

[data-bs-theme="dark"] .filter-bar {
    background: var(--card-bg);
    border: 1px solid rgba(74, 222, 128, 0.15);
}

.filter-group {
    display: flex;
    align-items: center;
}

.filter-select {
    padding: 0.5rem 1rem;
    border: 1px solid rgba(28, 75, 50, 0.2);
    border-radius: 8px;
    background: var(--card-bg);
    color: var(--text-main);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(28, 75, 50, 0.1);
}

[data-bs-theme="dark"] .filter-select {
    background: var(--card-bg);
    border-color: rgba(74, 222, 128, 0.2);
}

/* Product Listing */
.product-listing {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Product Card - COMPACT */
.product-card {
    background: var(--card-bg);
    border: 1px solid rgba(28, 75, 50, 0.08);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 2px 8px rgba(28, 75, 50, 0.06);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(28, 75, 50, 0.02) 0%,
            rgba(243, 167, 18, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

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

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(28, 75, 50, 0.12),
        0 0 0 1px var(--primary-color);
    border-color: var(--primary-color);
}

[data-bs-theme="dark"] .product-card {
    background: var(--card-bg);
    border: 1px solid rgba(74, 222, 128, 0.15);
}

[data-bs-theme="dark"] .product-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4),
        0 0 15px rgba(74, 222, 128, 0.2);
}

/* Product Rank Badge - COMPACT */
.product-rank {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
}

.rank-number {
    background: var(--primary-color);
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(28, 75, 50, 0.25);
}

.rank-label {
    background: white;
    color: var(--primary-color);
    padding: 2px 8px;
    border-radius: 8px;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

[data-bs-theme="dark"] .rank-number {
    background: var(--primary-color);
    color: #111827;
}

[data-bs-theme="dark"] .rank-label {
    background: var(--card-bg);
    color: var(--primary-color);
}

/* Product Image - COMPACT & CLEAN */
.product-image-wrapper {
    position: relative;
    height: 100%;
    overflow: hidden;
}

.product-image {
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    position: relative;
    overflow: hidden;
    padding: 1.5rem;
}

[data-bs-theme="dark"] .product-image {
    background: #1A1F2E;
}

.product-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.08));
}

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

.product-badges {
    position: absolute;
    bottom: 15px;
    left: 15px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 5;
}

.badge-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    animation: slideInLeft 0.6s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.badge-bestseller {
    background: linear-gradient(135deg, #FF6B6B, #FF8E53);
    color: white;
}

.badge-value {
    background: linear-gradient(135deg, #4CAF50, #8BC34A);
    color: white;
}

.badge-budget {
    background: linear-gradient(135deg, #2196F3, #03A9F4);
    color: white;
}

.badge-eco {
    background: linear-gradient(135deg, #66BB6A, #81C784);
    color: white;
}

/* Product Content - COMPACT */
.product-content {
    padding: 0.875rem 1rem;
}

.product-header {
    margin-bottom: 0.5rem;
}

.product-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.5rem;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.product-card:hover .product-title {
    color: var(--primary-color);
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.stars {
    display: flex;
    gap: 0.15rem;
    color: var(--accent-color);
    font-size: 0.85rem;
}

.rating-text {
    color: var(--text-secondary);
    font-size: 0.75rem;
    font-weight: 500;
}

/* Rating Bar - COMPACT */
.rating-bar {
    width: 100%;
    height: 4px;
    background: rgba(28, 75, 50, 0.1);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

[data-bs-theme="dark"] .rating-bar {
    background: rgba(74, 222, 128, 0.15);
}

.rating-fill {
    height: 100%;
    background: linear-gradient(90deg, #EF4444, #F59E0B, #22C55E);
    border-radius: 10px;
    transition: width 1s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.rating-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.3),
            transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.product-description {
    color: var(--text-secondary);
    font-size: 0.8rem;
    line-height: 1.4;
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
}

/* Product Features - COMPACT */
.product-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-main);
    font-size: 0.8rem;
}

.feature-item i {
    color: var(--primary-color);
    font-size: 0.85rem;
    flex-shrink: 0;
}

/* Product Footer - COMPACT HORIZONTAL LAYOUT */
.product-footer {
    border-top: 1px solid rgba(28, 75, 50, 0.1);
    padding-top: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
}

[data-bs-theme="dark"] .product-footer {
    border-top-color: rgba(74, 222, 128, 0.2);
}

.product-price {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
    margin-bottom: 0;
}

.price-label {
    display: none;
}

.price-current {
    color: var(--primary-color);
    font-size: 1.15rem;
    font-weight: 700;
}

.price-original {
    color: var(--text-secondary);
    font-size: 0.8rem;
    text-decoration: line-through;
}

.price-discount {
    background: linear-gradient(135deg, #FF6B6B, #FF8E53);
    color: white;
    padding: 2px 6px;
    border-radius: 8px;
    font-size: 0.65rem;
    font-weight: 700;
}

.product-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: nowrap;
    flex-shrink: 0;
}

/* Hide Compare Button */
.btn-compare {
    display: none;
}

.btn-primary-custom {
    background: linear-gradient(135deg, #F86003, #FF8534);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.8rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn-primary-custom::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary-custom:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary-custom:hover {
    background: linear-gradient(135deg, #FF8534, #F86003);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(248, 96, 3, 0.4);
}

[data-bs-theme="dark"] .btn-primary-custom {
    background: linear-gradient(135deg, #F86003, #FF8534);
    color: white;
}

[data-bs-theme="dark"] .btn-primary-custom:hover {
    background: linear-gradient(135deg, #FF8534, #F86003);
    color: white;
}

/* Comparison Table */
.comparison-section {
    background: var(--accent-mint);
    padding: 2.5rem;
    border-radius: 16px;
    margin-top: 3rem;
}

[data-bs-theme="dark"] .comparison-section {
    background: var(--accent-mint);
}

.comparison-table {
    width: 100%;
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.comparison-table thead {
    background: var(--primary-color);
    color: white;
}

[data-bs-theme="dark"] .comparison-table thead {
    background: var(--primary-color);
    color: #111827;
}

.comparison-table th,
.comparison-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(28, 75, 50, 0.1);
}

[data-bs-theme="dark"] .comparison-table th,
[data-bs-theme="dark"] .comparison-table td {
    border-bottom-color: rgba(74, 222, 128, 0.2);
}

.comparison-table tbody tr:hover {
    background: var(--accent-mint);
}

.rank-badge {
    background: var(--primary-color);
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

[data-bs-theme="dark"] .rank-badge {
    background: var(--primary-color);
    color: #111827;
}

/* Table Buy Now Button */
.btn-table-buy {
    background: linear-gradient(135deg, #F86003, #FF8534);
    color: white;
    padding: 0.4rem 0.85rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-table-buy:hover {
    background: linear-gradient(135deg, #FF8534, #F86003);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(248, 96, 3, 0.4);
}

[data-bs-theme="dark"] .btn-table-buy {
    background: linear-gradient(135deg, #F86003, #FF8534);
    color: white;
}

[data-bs-theme="dark"] .btn-table-buy:hover {
    background: linear-gradient(135deg, #FF8534, #F86003);
    color: white;
}

/* FAQ Section */
.faq-section {
    margin-top: 3rem;
}

.accordion-item {
    background: var(--card-bg);
    border: 1px solid rgba(28, 75, 50, 0.08);
    border-radius: 12px !important;
    margin-bottom: 1rem;
    overflow: hidden;
}

[data-bs-theme="dark"] .accordion-item {
    background: var(--card-bg);
    border-color: rgba(74, 222, 128, 0.15);
}

.accordion-button {
    background: var(--card-bg);
    color: var(--text-main);
    font-weight: 600;
    padding: 1.25rem 1.5rem;
    border: none;
}

.accordion-button:not(.collapsed) {
    background: var(--accent-mint);
    color: var(--primary-color);
}

[data-bs-theme="dark"] .accordion-button:not(.collapsed) {
    background: var(--accent-mint);
}

.accordion-button:focus {
    box-shadow: none;
    border: none;
}

.accordion-body {
    padding: 1.5rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Responsive Design - COMPACT */
@media (max-width: 991.98px) {
    .product-listing-hero {
        padding: 2.5rem 0 2rem;
    }

    .product-card .row {
        flex-direction: column;
    }

    .product-image {
        height: 220px;
    }

    .product-rank {
        top: 10px;
        left: 10px;
    }

    .rank-number {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }

    .rank-label {
        font-size: 0.55rem;
        padding: 2px 6px;
    }

    .product-content {
        padding: 0.75rem;
    }

    .product-title {
        font-size: 1.05rem;
    }

    .product-features {
        grid-template-columns: 1fr;
        gap: 0.35rem;
    }

    .comparison-table {
        font-size: 0.8rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 0.6rem;
    }
}

@media (max-width: 767.98px) {
    .filter-bar .d-flex {
        flex-direction: column;
        align-items: stretch !important;
    }

    .filter-group {
        width: 100%;
        justify-content: space-between;
    }

    .filter-select {
        flex: 1;
    }

    .hero-stats {
        flex-direction: column;
        gap: 0.75rem !important;
    }

    .product-actions {
        flex-wrap: wrap;
        width: 100%;
    }

    .product-actions .btn {
        flex: 1;
        min-width: 120px;
    }

    .product-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .price-current {
        font-size: 1.25rem;
    }

    .comparison-section {
        padding: 1.25rem;
    }

    .comparison-table {
        display: block;
        overflow-x: auto;
    }
}

@media (max-width: 575.98px) {
    .product-listing-hero {
        padding: 2rem 0 1.5rem;
    }

    .product-listing-hero h1 {
        font-size: 1.75rem;
    }

    .product-image {
        height: 160px;
        padding: 0.75rem;
    }

    .product-rank {
        top: 8px;
        left: 8px;
    }

    .rank-number {
        width: 28px;
        height: 28px;
        font-size: 0.9rem;
    }

    .rank-label {
        font-size: 0.5rem;
        padding: 2px 6px;
    }

    .product-content {
        padding: 0.875rem;
    }

    .product-title {
        font-size: 1rem;
    }

    .product-footer {
        padding-top: 0.75rem;
    }

    .product-price {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.35rem;
    }

    .btn-primary-custom,
    .btn-compare {
        padding: 0.55rem 1rem;
        font-size: 0.8rem;
    }
}

/* Print Styles */
@media print {

    .filter-bar,
    .product-actions,
    .btn-compare,
    .hero-stats,
    .cta-section {
        display: none;
    }

    .product-card {
        page-break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), #2A6B4A);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 4px 12px rgba(28, 75, 50, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 1000;
}

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

.back-to-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 20px rgba(28, 75, 50, 0.5);
}

.back-to-top:active {
    transform: translateY(-2px) scale(1.05);
}

[data-bs-theme="dark"] .back-to-top {
    background: linear-gradient(135deg, var(--primary-color), #66D19E);
    color: #111827;
}

[data-bs-theme="dark"] .back-to-top:hover {
    box-shadow: 0 8px 20px rgba(74, 222, 128, 0.5);
}

@media (max-width: 767.98px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

/* ============================================
   AI OVERVIEW OPTIMIZED COMPONENTS
   These styles create scannable, extractable 
   content boxes that Google AI can feature
   ============================================ */

/* Key Takeaways Box - AI Overview Optimized */
.key-takeaways {
    margin: 2rem 0;
}

.takeaways-box {
    background: linear-gradient(135deg, rgba(28, 75, 50, 0.03) 0%, rgba(243, 167, 18, 0.05) 100%);
    border: 2px solid var(--primary-color);
    border-radius: 16px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(28, 75, 50, 0.08);
}

.takeaways-header {
    background: var(--primary-color);
    color: white;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.takeaways-header i {
    font-size: 1.5rem;
    color: var(--accent-color);
}

.takeaways-header h2 {
    font-size: 1.25rem;
    margin: 0;
    font-weight: 700;
    color: white;
}

.takeaways-list {
    list-style: none;
    padding: 1.5rem;
    margin: 0;
}

.takeaways-list li {
    position: relative;
    padding: 0.75rem 0 0.75rem 2rem;
    border-bottom: 1px solid rgba(28, 75, 50, 0.1);
    line-height: 1.6;
    color: var(--text-main);
}

.takeaways-list li:last-child {
    border-bottom: none;
}

.takeaways-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0.75rem;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.1rem;
}

.takeaways-list li strong {
    color: var(--primary-color);
}

[data-bs-theme="dark"] .takeaways-box {
    background: linear-gradient(135deg, rgba(74, 222, 128, 0.05) 0%, rgba(252, 211, 77, 0.03) 100%);
    border-color: var(--primary-color);
}

[data-bs-theme="dark"] .takeaways-header {
    background: linear-gradient(90deg, #1A3A2E, #2A5540);
}

[data-bs-theme="dark"] .takeaways-list li {
    border-bottom-color: rgba(74, 222, 128, 0.15);
}

/* FAQ Section - AI Overview Optimized */
.faq-section {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(28, 75, 50, 0.06);
    border: 1px solid rgba(28, 75, 50, 0.08);
}

.faq-header {
    text-align: center;
    margin-bottom: 2rem;
}

.faq-header i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: block;
}

.faq-header h2 {
    font-size: 1.75rem;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.faq-header p {
    color: var(--text-secondary);
    margin: 0;
}

.faq-section .accordion-item {
    background: transparent;
    border: 1px solid rgba(28, 75, 50, 0.12);
    border-radius: 12px !important;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-section .accordion-item:last-child {
    margin-bottom: 0;
}

.faq-section .accordion-button {
    background: var(--accent-mint);
    color: var(--text-main);
    font-weight: 600;
    font-size: 1.05rem;
    padding: 1.25rem 1.5rem;
    border-radius: 12px !important;
}

.faq-section .accordion-button:not(.collapsed) {
    background: var(--primary-color);
    color: white;
    box-shadow: none;
}

.faq-section .accordion-button:focus {
    box-shadow: 0 0 0 3px rgba(28, 75, 50, 0.15);
}

.faq-section .accordion-button::after {
    filter: none;
}

.faq-section .accordion-button:not(.collapsed)::after {
    filter: brightness(0) invert(1);
}

.faq-answer {
    padding: 0.5rem 0;
    color: var(--text-main);
    line-height: 1.8;
}

.faq-answer p {
    margin-bottom: 1rem;
}

.faq-answer ol,
.faq-answer ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.faq-answer li {
    margin-bottom: 0.5rem;
}

.faq-answer li strong {
    color: var(--primary-color);
}

[data-bs-theme="dark"] .faq-section {
    background: var(--card-bg);
    border-color: rgba(74, 222, 128, 0.15);
}

[data-bs-theme="dark"] .faq-section .accordion-item {
    border-color: rgba(74, 222, 128, 0.2);
}

[data-bs-theme="dark"] .faq-section .accordion-button {
    background: rgba(74, 222, 128, 0.1);
    color: var(--text-main);
}

[data-bs-theme="dark"] .faq-section .accordion-button:not(.collapsed) {
    background: linear-gradient(90deg, #1A3A2E, #2A5540);
    color: white;
}

/* Quick Answer Box - For article pages */
.quick-answer {
    background: linear-gradient(135deg, #F0FDF4 0%, #ECFDF5 100%);
    border-left: 4px solid var(--primary-color);
    border-radius: 0 12px 12px 0;
    padding: 1.5rem;
    margin: 2rem 0;
}

.quick-answer-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
}

.quick-answer p {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-main);
}

[data-bs-theme="dark"] .quick-answer {
    background: linear-gradient(135deg, rgba(74, 222, 128, 0.1) 0%, rgba(74, 222, 128, 0.05) 100%);
}

/* Comparison Table - AI Scannable */
.comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(28, 75, 50, 0.06);
    margin: 2rem 0;
}

.comparison-table thead th {
    background: var(--primary-color);
    color: white;
    padding: 1rem;
    font-weight: 600;
    text-align: left;
}

.comparison-table tbody td {
    padding: 1rem;
    border-bottom: 1px solid rgba(28, 75, 50, 0.1);
    background: var(--card-bg);
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.comparison-table tbody tr:hover td {
    background: var(--accent-mint);
}

/* Pros/Cons Box */
.pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 2rem 0;
}

.pros-box,
.cons-box {
    padding: 1.5rem;
    border-radius: 12px;
}

.pros-box {
    background: linear-gradient(135deg, #F0FDF4 0%, #DCFCE7 100%);
    border: 1px solid #86EFAC;
}

.cons-box {
    background: linear-gradient(135deg, #FEF2F2 0%, #FEE2E2 100%);
    border: 1px solid #FCA5A5;
}

.pros-box h4,
.cons-box h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.pros-box h4 {
    color: #16A34A;
}

.cons-box h4 {
    color: #DC2626;
}

.pros-box ul,
.cons-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pros-box li,
.cons-box li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.pros-box li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #16A34A;
    font-weight: bold;
}

.cons-box li::before {
    content: "✕";
    position: absolute;
    left: 0;
    color: #DC2626;
    font-weight: bold;
}

[data-bs-theme="dark"] .pros-box {
    background: linear-gradient(135deg, rgba(22, 163, 74, 0.15) 0%, rgba(22, 163, 74, 0.05) 100%);
    border-color: rgba(22, 163, 74, 0.3);
}

[data-bs-theme="dark"] .cons-box {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.15) 0%, rgba(220, 38, 38, 0.05) 100%);
    border-color: rgba(220, 38, 38, 0.3);
}

@media (max-width: 767.98px) {
    .pros-cons {
        grid-template-columns: 1fr;
    }

    .takeaways-header h2 {
        font-size: 1.1rem;
    }

    .faq-section {
        padding: 1.5rem;
    }

    .faq-section .accordion-button {
        font-size: 0.95rem;
        padding: 1rem;
    }
}

/* Compact Product Cards for Slider */
.compact-product-card {
    background: var(--card-bg);
    border: 1px solid rgba(28, 75, 50, 0.08);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.compact-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(28, 75, 50, 0.15);
    border-color: var(--primary-color);
}

[data-bs-theme="dark"] .compact-product-card {
    background: var(--card-bg);
    border: 1px solid rgba(74, 222, 128, 0.15);
}

[data-bs-theme="dark"] .compact-product-card:hover {
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5);
}

.compact-product-image {
    position: relative;
    width: 100%;
    height: 220px;
    background: var(--accent-mint);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

[data-bs-theme="dark"] .compact-product-image {
    background: rgba(74, 222, 128, 0.05);
}

.compact-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.compact-product-card:hover .compact-product-image img {
    transform: scale(1.1);
}

.compact-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--accent-color);
    color: var(--text-main);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.compact-badge.badge-value {
    background: #10B981;
    color: white;
}

.compact-badge.badge-budget {
    background: #3B82F6;
    color: white;
}

[data-bs-theme="dark"] .compact-badge {
    background: var(--accent-color);
    color: #111827;
}

.compact-product-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.compact-product-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 0.75rem;
    line-height: 1.4;
    min-height: 2.8rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.compact-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.compact-rating .stars {
    display: flex;
    gap: 2px;
}

.compact-rating .stars i {
    color: var(--accent-color);
    font-size: 0.85rem;
}

.compact-rating .rating-count {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.compact-price {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.compact-price .current-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.compact-price .original-price {
    font-size: 1rem;
    color: var(--text-secondary);
    text-decoration: line-through;
}

[data-bs-theme="dark"] .compact-price .current-price {
    color: var(--primary-color);
}

.compact-product-body .btn {
    margin-top: auto;
    font-size: 0.9rem;
    padding: 0.65rem 1rem;
    font-weight: 600;
}

/* Carousel Arrow Styling */
#productsCarousel .carousel-control-prev,
#productsCarousel .carousel-control-next {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
    transition: all 0.3s ease;
}

#productsCarousel .carousel-control-prev {
    left: -25px;
}

#productsCarousel .carousel-control-next {
    right: -25px;
}

#productsCarousel .carousel-control-prev:hover,
#productsCarousel .carousel-control-next:hover {
    background: var(--accent-color);
    transform: translateY(-50%) scale(1.1);
}

[data-bs-theme="dark"] #productsCarousel .carousel-control-prev,
[data-bs-theme="dark"] #productsCarousel .carousel-control-next {
    background: var(--primary-color);
}

/* Responsive Product Slider */
@media (max-width: 991.98px) {
    .compact-product-image {
        height: 200px;
    }

    #productsCarousel .carousel-control-prev {
        left: -15px;
    }

    #productsCarousel .carousel-control-next {
        right: -15px;
    }
}

@media (max-width: 767.98px) {
    .compact-product-card {
        margin-bottom: 1rem;
    }

    .compact-product-image {
        height: 180px;
    }

    .compact-product-title {
        font-size: 0.95rem;
        min-height: 2.6rem;
    }

    .compact-price .current-price {
        font-size: 1.3rem;
    }

    #productsCarousel .carousel-control-prev,
    #productsCarousel .carousel-control-next {
        width: 40px;
        height: 40px;
    }

    #productsCarousel .carousel-control-prev {
        left: -10px;
    }

    #productsCarousel .carousel-control-next {
        right: -10px;
    }
}

@media (max-width: 575.98px) {
    .compact-product-image {
        height: 160px;
    }

    .compact-product-body {
        padding: 1rem;
    }

    #productsCarousel .carousel-control-prev,
    #productsCarousel .carousel-control-next {
        width: 35px;
        height: 35px;
    }
}