/**
 * BlankItems.com Premium Niche Design
 * Design System: Modern, Premium, Glassmorphism, Micro-animations
 */

:root {
    /* Color Palette */
    --primary-color: #ff8a00;
    /* Standard Orange */
    --primary-hover: #e67e00;
    --bg-color: #f8f9fc;
    --text-color: #333333;
    --text-muted: #666666;
    --white: #ffffff;
    --border-color: rgba(0, 0, 0, 0.08);

    /* Spacing System */
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 40px;
    --space-xl: 80px;

    /* Design Tokens */
    --border-radius: 12px;
    --button-radius: 8px;
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.05);
    --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    --card-shadow-hover: 0 12px 30px rgba(0, 0, 0, 0.1);
    --transition-fast: 0.2s ease-in-out;
    --transition-smooth: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

    /* Backgrounds & Gradients */
    --gradient-primary: linear-gradient(135deg, #ff8a00 0%, #ff5e3a 100%);
    --gradient-hero: linear-gradient(180deg, #ffffff 0%, #f0f4f8 100%);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);
    --bg-neutral: #f1f3f6;
}

/* Reset & Basics */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Accessibility */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: var(--white);
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: var(--primary-color);
    display: block;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

a:hover {
    color: #357abd;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Utilities */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: var(--glass-shadow);
    padding: 24px;
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

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

.button {
    display: inline-block;
    padding: 12px 30px;
    border-radius: var(--button-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: 2px solid transparent;
    font-size: 1rem;
    box-sizing: border-box;
    line-height: 1.2;
}

.button-primary {
    background: var(--primary-color);
    color: var(--white);
}

.button-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 138, 0, 0.2);
}

.button-neutral {
    background: #2f3e46;
    color: var(--white);
}

.button-neutral:hover {
    background: #232f35;
    transform: translateY(-2px);
    color: var(--white);
}

.button-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.button-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.button-block {
    display: block;
    width: 100%;
}

/* Enforce centered, auto-width buttons in cards */
.product-card .button,
.category-card .button {
    width: 100%;
    /* Force uniform width */
    max-width: 280px;
    /* Safe cap for very wide cards */
    white-space: nowrap;
    /* Prevent awkward wrapping */
    margin-left: auto;
    margin-right: auto;
}

/* Base button-block inherits color strictly from the appended primary/secondary rules */

/* Layout Utilities */
.flex-column {
    display: flex;
    flex-direction: column;
}

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

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

.align-start {
    align-self: flex-start;
}

.mt-0 {
    margin-top: 0;
}

.mt-20 {
    margin-top: 20px;
}

.mb-10 {
    margin-bottom: 10px;
}

.mb-15 {
    margin-bottom: 15px;
}

.mb-20 {
    margin-bottom: 20px;
}

.p-0 {
    padding: 0;
}

.p-25 {
    padding: 25px;
}

/* Icon Utilities */
.icon-lg {
    font-size: 3rem;
}

/* Specific Block Wrappers */
.overflow-hidden {
    overflow: hidden;
}

.guide-thumbnail-wrapper {
    width: 100%;
    height: 200px;
    background: #f5f5f5;
    overflow: hidden;
}

.w-100 {
    width: 100%;
}

.h-100 {
    height: 100%;
}

.text-decoration-none {
    text-decoration: none;
}

.color-dark {
    color: #1a1a24;
}

.color-muted {
    color: #555;
}

.line-height-1-6 {
    line-height: 1.6;
}

.font-size-lg {
    font-size: 1.25rem;
}

/* Header & Navigation */
.site-header {
    background-color: var(--white);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.site-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 4%;
    /* Responsive edge-to-edge padding */
    max-width: 100%;
}

.site-branding {
    display: flex;
    align-items: center;
    padding: 0;
}

.custom-logo-link {
    display: block;
    transition: transform var(--transition-fast);
}

.site-logo-img {
    height: 45px;
    /* Standard height for the header */
    width: auto;
    display: block;
}

.site-title a {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.main-navigation {
    display: flex;
    align-items: center;
}

.menu-toggle {
    display: none;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 25px;
    /* Slightly widened gap for cleanly balanced look */
    align-items: center;
    margin: 0;
    /* Removed default margin */
}

.main-navigation a {
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 5px 0;
    position: relative;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: width var(--transition-fast);
}

.main-navigation a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    padding-top: 80px;
    padding-bottom: 80px;
    padding-left: 20px;
    padding-right: 20px;
    text-align: center;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* Sections */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 50px;
    font-weight: 700;
}

/* Grids */
.category-grid,
.product-grid,
.guides-grid,
.blog-grid {
    display: grid;
    gap: var(--space-md);
    justify-content: center;
    /* Center-aligned pick globally */
}

.category-grid {
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100%;
}

/* Ensure 3 items stay balanced on large screens for related products */
.related-products .product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    margin: 0 auto;
}

.guides-grid {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.blog-grid {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

/* Category Cards & Subcategory Nav */
.subcategory-nav {
    background: #fbfcfd;
    padding: var(--space-xl) 0;
    border-bottom: 1px solid var(--border-color);
}

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-sm);
    padding: var(--space-lg);
    background: var(--white);
    border-radius: var(--border-radius);
    color: var(--text-color);
    text-decoration: none;
    width: 100%;
    max-width: 100%;
    box-shadow: var(--card-shadow);
    transition: all var(--transition-smooth);
    border: 1px solid var(--border-color);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow-hover);
    border-color: var(--primary-color);
}

.card-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.category-info {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.category-info h3 {
    font-size: 1.4rem;
    margin: 0 0 10px 0;
    color: #1a1a24;
}

.category-count {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0 0 15px 0;
}

/* SEO Article Section */
.seo-article-section {
    padding: 80px 0;
    background: var(--bg-neutral);
    border-top: 1px solid var(--border-color);
}

.seo-article {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
}

.seo-article h2 {
    font-size: 2.2rem;
    margin: 60px 0 30px;
    color: var(--text-heading);
}

.seo-article h3 {
    font-size: 1.6rem;
    margin: 40px 0 20px;
}

.seo-article p {
    margin-bottom: 25px;
    font-size: 1.1rem;
    color: var(--text-body);
}

.seo-article ul {
    margin-bottom: 30px;
    padding-left: 20px;
}

.seo-article li {
    margin-bottom: 12px;
}

.seo-article .intro {
    font-size: 1.3rem;
    font-weight: 500;
    line-height: 1.6;
    color: var(--text-heading);
    margin-bottom: 40px;
}

/* Top Pick Conversion Box */
.top-pick-box {
    margin: 50px 0;
    padding: 40px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--border-color);
    border-left: 6px solid var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.top-pick-box .badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.top-pick-box h3 {
    margin-top: 0;
    font-size: 1.8rem;
    color: var(--text-heading);
}

.top-pick-box .button {
    display: inline-block;
    margin-top: 15px;
}

/* Product Cards */
.product-card-link-wrapper {
    display: block;
    border-radius: 12px;
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.product-card-link-wrapper {
    display: block;
    text-decoration: none !important;
    color: inherit !important;
    transition: transform var(--transition-smooth);
    height: 100%;
}

.product-card-link-wrapper:hover {
    transform: translateY(-5px);
}

.product-card-link-wrapper:hover .product-card,
.product-card-link-wrapper:hover .post-card,
.product-card-link-wrapper:hover .category-card {
    box-shadow: var(--card-shadow-hover) !important;
    border-color: var(--primary-color) !important;
}

.product-card {
    display: flex;
    flex-direction: column;
    position: relative;
    background: var(--white);
    border-radius: var(--border-radius);
    padding: var(--space-md);
    height: 100%;
    width: 100%;
    max-width: 100%;
    box-shadow: var(--card-shadow);
    transition: all var(--transition-smooth);
    border: 1px solid var(--border-color);
    text-align: center;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow-hover);
}

.product-thumbnail {
    background: #fff;
    border-radius: var(--button-radius);
    overflow: hidden;
    margin-bottom: var(--space-sm);
    aspect-ratio: 4 / 3;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
    line-height: 1.3;
}

.product-title a {
    color: #333333;
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

/* Product Badges */
.product-badge {
    position: absolute;
    top: -12px;
    left: 20px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--white);
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    letter-spacing: 0.5px;
}

.badge-bestseller {
    background: #e74c3c;
    /* Red */
}

.badge-popular {
    background: #f39c12;
    /* Orange */
}

.badge-toppick {
    background: #3498db;
    /* Blue */
}

/* (Affiliate CTA Button removed to enforce primary/secondary system) */

/* Affiliate Features */
.affiliate-block {
    margin: 40px 0;
}

.pros-cons {
    display: flex;
    gap: 30px;
    margin: 20px 0;
}

.pros,
.cons {
    flex: 1;
    background: rgba(255, 255, 255, 0.5);
    padding: 20px;
    border-radius: 12px;
}

.pros h3 {
    color: #2ecc71;
    margin-bottom: 10px;
}

.cons h3 {
    color: #e74c3c;
    margin-bottom: 10px;
}

.pros ul,
.cons ul {
    padding-left: 20px;
}

.affiliate-cta {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

/* Advanced Affiliate Features */
.affiliate-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.pros-cons-mini {
    display: flex;
    gap: 10px;
    margin: 15px 0;
    font-size: 0.85rem;
}

.pros-mini,
.cons-mini {
    flex: 1;
    background: rgba(255, 255, 255, 0.6);
    padding: 10px;
    border-radius: 8px;
}

.pros-mini strong {
    color: #2ecc71;
    display: block;
    margin-bottom: 5px;
}

.cons-mini strong {
    color: #e74c3c;
    display: block;
    margin-bottom: 5px;
}

.pros-mini ul,
.cons-mini ul {
    padding-left: 15px;
    margin: 0;
}

.affiliate-action-block {
    margin-top: auto;
    padding-top: 15px;
}

.read-review-link {
    display: block;
    text-align: center;
    margin-top: 10px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Comparison Table */
.comparison-table-wrapper {
    overflow-x: auto;
    margin: 40px 0;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.comparison-table th,
.comparison-table td {
    padding: 15px;
    border-bottom: 1px solid var(--glass-border);
}

.comparison-table th {
    background: var(--gradient-primary);
    color: var(--white);
    font-weight: 600;
}

.comparison-table th:first-child {
    border-top-left-radius: 8px;
}

.comparison-table th:last-child {
    border-top-right-radius: 8px;
}

/* Single Product Styles */
.single-product {
    padding: 60px 0;
    max-width: 1100px;
    margin: 0 auto;
}

.product-hero {
    display: flex;
    gap: 60px;
    margin-bottom: 80px;
    align-items: flex-start;
    /* Align content to top of image */
}

.product-hero-image {
    flex: 0 0 500px;
    max-width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Contain to ensure the product is fully visible */
}

@media (max-width: 992px) {
    .product-hero {
        flex-direction: column;
        gap: 30px;
    }

    .product-hero-image {
        flex: 0 0 auto;
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }
}

.product-hero-info {
    flex: 1;
}

.product-hero-info .product-title {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: #1a1a24;
}

.product-hero-info .product-excerpt {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.product-overview {
    max-width: 800px;
    margin-bottom: 60px;
}

.product-overview h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.product-features {
    padding: 40px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid var(--border-color);
    margin-bottom: 60px;
}

.product-features h2 {
    font-size: 2rem;
    margin-bottom: 30px;
}

.product-features ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    list-style: none;
    padding: 0;
}

.product-features li {
    padding: 15px;
    border-radius: 12px;
}

.product-features strong {
    color: var(--primary-color);
}

.pros-cons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 60px;
}

.pros-panel,
.cons-panel {
    padding: 30px;
    border-radius: 20px;
}

.pros-panel {
    background: rgba(46, 204, 113, 0.05);
    border: 1px solid rgba(46, 204, 113, 0.2);
}

.cons-panel {
    background: rgba(231, 76, 60, 0.05);
    border: 1px solid rgba(231, 76, 60, 0.2);
}

.pros-panel h3,
.cons-panel h3 {
    margin-top: 0;
    margin-bottom: 20px;
}

.pros-panel h3 {
    color: #27ae60;
}

.cons-panel h3 {
    color: #c0392b;
}

.pros-panel ul,
.cons-panel ul {
    padding-left: 20px;
}

.pros-panel li,
.cons-panel li {
    margin-bottom: 10px;
}

.related-products {
    padding: 60px 0;
    border-top: 1px solid var(--border-color);
}

.related-products .container {
    padding: 20px 0;
}

.faq {
    margin-top: 80px;
    padding: 60px;
    border-radius: 30px;
    background: #fff;
}

.faq-item {
    margin-bottom: 20px;
    padding: 25px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
}

/* Horizontal FAQ Grid for desktop */
@media (min-width: 992px) {
    .faq-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

/* Site Footer */
.site-footer {
    background: #0f172a;
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 30px;
    text-align: center;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
    text-align: center;
}

.footer-widget h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 25px;
    font-weight: 700;
}

.footer-widget ul {
    list-style: none;
    padding: 0;
}

.footer-widget li {
    margin-bottom: 12px;
}

.footer-widget a {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-fast);
}

.footer-widget a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    font-size: 0.9rem;
}

/* Content Width & Alignment */
.site-main {
    width: 100%;
}

.single-article {
    max-width: 900px;
    /* Improved reading width */
    margin: 0 auto;
    padding: var(--space-lg) 0;
}

.entry-content {
    line-height: 1.8;
}

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

/* Mobile Adjustments for Single Layouts */
@media (max-width: 768px) {
    .site-header {
        padding: 10px 0;
    }

    .site-header-inner {
        padding: 0 20px;
        align-items: center;
    }

    .site-logo-img {
        height: 38px;
    }

    .menu-toggle {
        display: block;
        background: transparent;
        border: none;
        font-size: 1.3rem;
        cursor: pointer;
        padding: 8px 12px;
        color: var(--primary-color);
        font-weight: bold;
        line-height: 1;
        margin: 0;
    }

    .main-navigation {
        width: 100%;
        display: flex;
        justify-content: flex-end;
    }

    .main-navigation ul {
        display: none;
        width: 100%;
    }

    .main-navigation.toggled {
        flex-direction: column;
    }

    .main-navigation.toggled ul {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        padding: 20px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        gap: 15px;
        text-align: center;
        border-top: 1px solid #f0f0f0;
    }

    .main-navigation.toggled a {
        display: block;
        padding: 15px;
        font-size: 1.2rem;
    }

    .single-product.glass-panel {
        padding: 25px;
    }

    .single-product .product-overview,
    .single-product .product-features,
    .single-product .pros-cons,
    .single-product .faq {
        max-width: 100%;
        margin-bottom: 40px;
    }

    .product-hero {
        flex-direction: column;
        gap: 30px;
    }

    .product-hero-image {
        flex: 1;
        width: 100%;
    }

    .product-hero .product-title {
        font-size: 2.2rem;
    }

    .pros-cons-grid {
        grid-template-columns: 1fr;
    }

    .product-features {
        padding: 25px;
    }

    .product-features strong {
        display: block;
        margin-bottom: 5px;
    }

    /* Global Mobile Layout Adjustments */
    .hero-section {
        padding: 60px 20px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }

    .hero-cta {
        flex-direction: column;
        gap: 15px;
    }

    .hero-cta .button {
        width: 100%;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .category-grid,
    .product-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .category-card,
    .product-card {
        padding: 20px;
    }

    .cta-section {
        padding: 60px 20px;
    }

    .cta-section h2 {
        font-size: 1.8rem;
    }

    .newsletter-form {
        flex-direction: column;
        gap: 15px;
    }

    .newsletter-form input[type="email"],
    .newsletter-form .button {
        width: 100%;
    }

    .footer-widgets {
        padding: 0 20px;
    }

    .footer-widget-area {
        margin-bottom: 30px;
    }

    .site-footer {
        padding: 40px 0 20px;
    }
}

/* Tablet Optimizations */
@media (min-width: 769px) and (max-width: 1024px) {
    .category-grid,
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Call To Action Section */
.cta-section {
    padding: var(--space-xl) 0;
    text-align: center;
    background: var(--gradient-primary);
    color: var(--white);
    margin-top: var(--space-xl);
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--white);
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    color: var(--white);
}

.newsletter-form {
    display: flex;
    justify-content: center;
    gap: 15px;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-form input[type="email"] {
    padding: 12px 20px;
    border-radius: var(--button-radius);
    border: none;
    flex-grow: 1;
    font-size: 1rem;
}

.newsletter-form .button {
    border: 2px solid var(--white);
}

.newsletter-form .button:hover {
    background: var(--white);
    color: var(--primary-color);
}

/* Breadcrumbs */
.breadcrumbs {
    margin-bottom: 25px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.breadcrumb-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.breadcrumb-item a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

.breadcrumb-separator {
    margin: 0 10px;
    color: #ccc;
    font-weight: 300;
}

.breadcrumb-current {
    font-weight: 500;
    color: var(--text-color);
}

/* SEO Landing Page Structural Enhancements */
.container-narrow {
    max-width: 900px !important;
    margin: 0 auto !important; /* Force block centering */
    text-align: left;
}

.hero-intro-seo {
    max-width: 800px;
    margin: 0 auto; /* Ensure block is centered */
    font-size: 1.15rem;
    line-height: 1.6;
    color: var(--text-muted);
}

.hero-intro-seo p {
    margin-bottom: 20px;
}

.seo-article-section {
    padding: 60px 0;
    border-top: 1px solid var(--border-color);
}

.seo-article-content h3 {
    margin-top: 40px;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.seo-article-content p {
    margin-bottom: 20px;
    line-height: 1.6;
}

.seo-article-content ul {
    margin-bottom: 25px;
    padding-left: 20px;
}

.seo-article-content li {
    margin-bottom: 10px;
}

.faq-section {
    border-top: 1px solid var(--border-color);
}

.faq-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
}