/* Base Variables & Reset */
:root {
    --primary: #175cd3;
    --primary-hover: #1449b8;
    --bg-color: #f8fafc;
    --white: #ffffff;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --bg-badge: #eef3ff;
    --border-light: #e2e8f0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

body,
html {
    width: 100%;
    height: 100%;
    background-color: var(--white);
    color: var(--text-main);
    overflow-x: hidden;
}

/* Landing Page Container */
#landing-page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    transition: opacity 0.5s ease-out;
    background-color: var(--bg-color);
}

/* Header & Footer */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 5%;
    background: var(--bg-color);
    width: 100%;
    margin: 0 auto;
    border-bottom: 1px solid var(--border-light);
}

footer {
    border-top: 1px solid var(--border-light);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-container img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.logo-container h1 {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--primary);
}

.nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 85px;
    right: 5%;
    width: 200px;
    background: var(--white);
    padding: 16px 0;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    text-align: center;
    gap: 8px;
    font-size: 1rem;
    font-weight: 600;
    border: 1px solid var(--border-light);
}

.nav-links span,
.nav-links a {
    display: block;
    padding: 8px 16px;
    cursor: pointer;
    text-decoration: none !important;
    color: var(--text-main) !important;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-links span:hover,
.nav-links a:hover {
    color: var(--primary) !important;
    background-color: var(--bg-badge);
}

.nav-links.active {
    display: flex;
}

.mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: none;
    border: none;
    color: var(--text-main);
    padding: 8px;
    margin-left: 8px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.login-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    border: none;
    padding: 12px 24px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-light);
    padding: 12px 24px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-secondary:hover {
    background-color: #f1f5f9;
}

.badge {
    background-color: var(--bg-badge);
    color: var(--primary);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 24px;
}

/* Hero Section */
.hero-wrapper {
    background: var(--bg-color);
    padding-bottom: 60px;
}

.hero {
    max-width: 1280px;
    margin: 0 auto;
    padding: 60px 5%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

.hero-content {
    max-width: 600px;
}

.hero h2 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 24px;
    line-height: 1.1;
    letter-spacing: -1px;
}

.hero h2 .highlight {
    color: var(--primary);
}

.hero p {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 32px;
    line-height: 1.6;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.social-proof {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.avatar-group {
    display: flex;
}

.avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--bg-color);
    background-color: #cbd5e1;
    margin-left: -10px;
}

.avatar:first-child {
    margin-left: 0;
}

.avatar.a1 {
    background: #fca5a5;
}

.avatar.a2 {
    background: #93c5fd;
}

.avatar.a3 {
    background: #fde047;
}

.social-proof b {
    color: var(--text-main);
}

/* Hero Image Mockup */
.hero-image {
    display: none;
    /* hidden on very small mobile by default */
}

/* Stats Section */
.stats {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 5%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-top: -30px;
    position: relative;
    z-index: 10;
}

.stat-card {
    background: var(--white);
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.stat-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 8px;
}

.stat-trend {
    font-size: 0.875rem;
    color: #10b981;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.stat-trend.neutral {
    color: var(--text-muted);
}

/* Features Section */
.features-section {
    background: var(--white);
    padding: 100px 5%;
}

.features-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.features-header h2 {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.features-header p {
    font-size: 1.125rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.features-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.feature-card {
    background: var(--bg-color);
    padding: 32px;
    border-radius: 16px;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.icon-wrapper {
    width: 48px;
    height: 48px;
    background: var(--bg-badge);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--primary);
    font-size: 1.5rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* CTA Block */
.cta-block-wrapper {
    background: var(--white);
    padding: 0 5% 100px;
}

.cta-block {
    max-width: 1280px;
    margin: 0 auto;
    background: var(--primary);
    border-radius: 24px;
    padding: 60px 5%;
    text-align: center;
    color: var(--white);
}

.cta-block h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.cta-block p {
    font-size: 1.125rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-white {
    background: var(--white);
    color: var(--primary);
    border: none;
    padding: 12px 32px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s;
}

.btn-white:hover {
    transform: translateY(-2px);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 12px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
}

.spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: currentColor;
    animation: spin 1s linear infinite;
}

.btn-primary.loading .spinner,
.btn-white.loading .spinner {
    display: block;
}

.btn-primary.loading span,
.btn-white.loading span {
    display: none;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Desktop Adjustments */
@media (min-width: 1024px) {
    .mobile-menu-btn {
        display: none;
    }

    .nav-links {
        display: flex !important;
        position: static;
        width: auto;
        flex-direction: row;
        background: transparent;
        padding: 0;
        border: none;
        box-shadow: none;
        gap: 32px;
        font-size: 0.95rem;
        font-weight: 600;
    }

    .nav-links span,
    .nav-links a {
        display: inline;
        padding: 0;
        cursor: pointer;
        text-decoration: none !important;
        color: var(--text-muted) !important;
    }

    .nav-links span:hover,
    .nav-links a:hover {
        color: var(--text-main) !important;
        background-color: transparent;
    }

    .hero {
        grid-template-columns: 1fr 1fr;
        padding: 80px 5%;
    }

    .hero h2 {
        font-size: 4rem;
    }

    .hero-image {
        display: flex;
        justify-content: center;
        position: relative;
    }

    /* Mockup illustration */
    .mockup-bg {
        width: 100%;
        max-width: 450px;
        height: 550px;
        border-radius: 24px;
        position: relative;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
        background-color: var(--white);
    }

    .student-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 24px;
        display: block;
    }

    .mockup-card {
        position: absolute;
        bottom: 24px;
        left: 24px;
        right: 24px;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        padding: 24px;
        border-radius: 20px;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
        z-index: 2;
    }

    .mc-header {
        display: flex;
        justify-content: space-between;
        font-size: 0.75rem;
        font-weight: 700;
        color: var(--primary);
        margin-bottom: 8px;
    }

    .mc-title {
        font-size: 1.125rem;
        font-weight: 700;
        color: var(--text-main);
        margin-bottom: 16px;
    }

    .mc-progress {
        height: 6px;
        background: var(--bg-color);
        border-radius: 3px;
        overflow: hidden;
        margin-bottom: 8px;
    }

    .mc-bar {
        width: 65%;
        height: 100%;
        background: var(--primary);
        border-radius: 3px;
    }

    .mc-footer {
        font-size: 0.75rem;
        color: var(--text-muted);
        font-style: italic;
    }
}

@media (max-width: 768px) {
    .hero h2 {
        font-size: 2.5rem;
    }

    .cta-block h2 {
        font-size: 2rem;
    }
}

/* =========================================
   STORE PAGE SPECIFIC STYLES
   ========================================= */

.store-page-body {
    background-color: var(--white);
}

.store-layout {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.store-header {
    border-bottom: 1px solid var(--border-light);
    padding: 16px 5%;
}

.store-header .nav-links a {
    color: var(--text-muted);
}

.store-header .nav-links a.active {
    color: var(--primary);
    font-weight: 700;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 4px;
}

.store-container {
    display: flex;
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding: 32px 5%;
    gap: 32px;
    flex: 1;
}

/* Sidebar */
.store-sidebar {
    width: 250px;
    flex-shrink: 0;
}

.sidebar-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-main);
}

.category-list {
    list-style: none;
    margin-bottom: 32px;
}

.category-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    margin-bottom: 4px;
    border-radius: 8px;
    color: var(--text-muted);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.category-item:hover {
    background-color: var(--bg-badge);
    color: var(--primary);
}

.category-item.active {
    background-color: var(--primary);
    color: var(--white);
}

.promo-card {
    background-color: var(--bg-badge);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
}

.promo-card h4 {
    color: var(--primary);
    font-size: 1rem;
    margin-bottom: 8px;
}

.promo-card p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 16px;
}

.btn-promo {
    background-color: var(--primary);
    color: var(--white);
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.85rem;
    width: 100%;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-promo:hover {
    background-color: var(--primary-hover);
}

/* Main Content */
.store-main {
    flex: 1;
}

.store-main-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.store-titles h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 4px;
}

.store-titles p {
    color: var(--text-muted);
    font-size: 1rem;
}

.store-sort {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.store-sort select {
    padding: 8px 12px;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    outline: none;
    font-family: inherit;
    color: var(--text-main);
    font-weight: 500;
    cursor: pointer;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.product-card {
    background: var(--bg-color);
    /* Light gray background like design */
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    padding: 16px;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
}

.product-image-container {
    width: 100%;
    height: 200px;
    position: relative;
    margin-bottom: 16px;
    border-radius: 12px;
    overflow: hidden;
    background-color: var(--white);
    /* Added background */
    display: flex;
    /* Added to center image */
    align-items: center;
    /* Added to center image */
    justify-content: center;
    /* Added to center image */
    padding: 16px;
    /* Added padding to prevent touching edges */
}

.product-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    /* Changed from cover to contain */
    mix-blend-mode: multiply;
    /* Helps blend with the light background */
}

.product-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 12px;
    z-index: 2;
    letter-spacing: 0.5px;
}

.product-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-info h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 6px;
}

.product-info p {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
    margin-bottom: 16px;
    flex: 1;
    /* Pushes footer to bottom */
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.product-price {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-main);
}

.add-cart-btn {
    background: var(--primary);
    color: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}

.add-cart-btn:hover {
    background: var(--primary-hover);
    transform: scale(1.05);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.page-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-light);
    background: var(--white);
    border-radius: 8px;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s;
}

.page-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.page-btn.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* Store responsive */
@media (max-width: 900px) {
    .store-container {
        flex-direction: column;
    }

    .store-sidebar {
        width: 100%;
        display: flex;
        flex-direction: column;
    }

    .category-list {
        display: flex;
        overflow-x: auto;
        gap: 8px;
        padding-bottom: 8px;
    }

    .category-item {
        white-space: nowrap;
        margin-bottom: 0;
    }
}

/* ==========================================================================
   BLOG PAGE STYLES
   ========================================================================== */

.blog-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px;
}

/* Blog Header */
.blog-header-section {
    margin-bottom: 40px;
}

.breadcrumbs {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.breadcrumbs a {
    color: var(--primary);
    text-decoration: none;
}

.breadcrumbs .current {
    color: var(--text-main);
    font-weight: 500;
}

.blog-header-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.blog-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 32px;
    line-height: 1.6;
}

/* Blog Navigation */
.blog-nav-categories {
    display: flex;
    gap: 24px;
    list-style: none;
    padding: 0;
    margin: 0;
    border-bottom: 2px solid #e2e8f0;
    overflow-x: auto;
    scrollbar-width: none;
    /* Firefox */
}

.blog-nav-categories::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.blog-nav-categories li {
    padding: 12px 4px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    position: relative;
    white-space: nowrap;
}

.blog-nav-categories li:hover {
    color: var(--text-main);
}

.blog-nav-categories li.active {
    color: var(--primary);
}

.blog-nav-categories li.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary);
}

/* Layout */
.blog-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
    margin-top: 40px;
}

@media (max-width: 992px) {
    .blog-layout {
        grid-template-columns: 1fr;
    }
}

/* Post Cards */
.blog-post-card {
    display: flex;
    background: var(--white);
    border-radius: 16px;
    border: 1px solid var(--border);
    overflow: hidden;
    margin-bottom: 24px;
    transition: transform 0.2s, box-shadow 0.2s;
    height: 240px;
}

.blog-post-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.bpc-image {
    flex: 0 0 40%;
    background: var(--blue-light);
    overflow: hidden;
}

.bpc-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.blog-post-card:hover .bpc-image img {
    transform: scale(1.05);
}

.bpc-content {
    flex: 1;
    padding: 24px;
    display: flex;
    flex-direction: column;
}

.bpc-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.85rem;
}

.bpc-tag {
    background: var(--blue-light);
    color: var(--primary);
    padding: 4px 8px;
    border-radius: 6px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.bpc-date {
    color: var(--text-muted);
}

.bpc-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 12px;
    line-height: 1.3;
}

.bpc-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: auto;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bpc-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.read-more {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: gap 0.2s;
}

.read-more:hover {
    gap: 10px;
}

.bpc-comments {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .blog-post-card {
        flex-direction: column;
        height: auto;
    }

    .bpc-image {
        height: 200px;
    }
}

/* Sidebar Widgets */
.sidebar-widget {
    background: var(--white);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid var(--border);
    margin-bottom: 24px;
}

.sidebar-widget h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

/* Categories Widget */
.cat-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cat-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    color: var(--text-muted);
}

.cat-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.cat-name {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    color: var(--text-main);
}

.cat-count {
    font-size: 0.85rem;
    background: #f1f5f9;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 600;
}

/* Shop Promo Widget */
.shop-promo-widget {
    background: var(--primary);
    border: none;
    color: var(--white);
}

.shop-promo-widget h4 {
    color: var(--white);
    margin-bottom: 8px;
}

.shop-promo-widget p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 20px;
    line-height: 1.4;
}

.mini-product-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.mini-product-card img {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    object-fit: contain;
    background: var(--white);
    padding: 4px;
}

.mpc-info h5 {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.mpc-price {
    font-size: 0.8rem;
    font-weight: 700;
}

.mpc-price del {
    opacity: 0.7;
    font-weight: 400;
    margin-right: 4px;
}

.btn-goto-store {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: var(--white);
    color: var(--primary);
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    margin-top: 20px;
    transition: background-color 0.2s;
}

.btn-goto-store:hover {
    background: #f8fafc;
}

/* Newsletter Widget */
.newsletter-widget p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.5;
}

.newsletter-widget form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.newsletter-widget input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
}

.newsletter-widget input:focus {
    border-color: var(--primary);
}

.btn-subscribe {
    width: 100%;
    padding: 12px;
    background: var(--text-main);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-subscribe:hover {
    background: #0f172a;
}

/* Specific pagination adjustments for blog */
.blog-pagination {
    margin-top: 40px;
    margin-bottom: 20px;
}

/* ==========================================================================
   BLOG ARTICLE STYLES
   ========================================================================== */

.article-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px;
}

.article-header {
    margin-bottom: 32px;
}

.article-title {
    font-size: 3rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 24px;
    line-height: 1.1;
    letter-spacing: -1px;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.author-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.author-info img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.author-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-main);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.article-hero-img {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 40px;
    background: var(--blue-light);
    max-height: 500px;
    display: flex;
    align-items: center;
}

.article-hero-img img {
    width: 100%;
    height: 100%;
    max-height: 500px;
    object-fit: cover;
    display: block;
}

.article-intro {
    font-size: 1.15rem;
    font-style: italic;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 40px;
    padding-left: 16px;
    border-left: 4px solid var(--primary);
}

/* Product Review Item */
.product-review-item {
    display: flex;
    background: var(--white);
    border-radius: 16px;
    border: 1px solid var(--border);
    overflow: hidden;
    margin-bottom: 40px;
}

.review-image {
    flex: 0 0 35%;
    flex-shrink: 0;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.review-image img {
    width: 100%;
    max-height: 250px;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.review-details {
    flex: 1;
    padding: 32px;
    display: flex;
    flex-direction: column;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.review-number {
    width: 32px;
    height: 32px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.review-header h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    margin: 0;
}

.review-details p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 24px;
}

.pros-cons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.pros-box,
.cons-box {
    background: #f8fafc;
    padding: 16px;
    border-radius: 8px;
}

.pros-box {
    background: #f0fdf4;
    /* faint green */
}

.cons-box {
    background: #fef2f2;
    /* faint red */
}

.pros-box h4 {
    color: #16a34a;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.cons-box h4 {
    color: #dc2626;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.pros-box ul,
.cons-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pros-box li,
.cons-box li {
    font-size: 0.85rem;
    color: var(--text-main);
    margin-bottom: 8px;
    position: relative;
    padding-left: 12px;
}

.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;
}

.btn-view-store {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--primary);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    width: fit-content;
    transition: background-color 0.2s;
}

.btn-view-store:hover {
    background: #1d4ed8;
}

@media (max-width: 768px) {
    .product-review-item {
        flex-direction: column;
    }

    .review-image {
        padding: 32px;
    }

    .pros-cons-grid {
        grid-template-columns: 1fr;
    }

    .article-title {
        font-size: 2rem;
    }
}