/* Reset and Base Styles */
/* Color Palette - Based on Logo Theme */
:root {
    /* Primary Brand Colors (from logo gradient) */
    --primary-light: #667eea;
    --primary-dark: #764ba2;
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    
    /* Secondary Colors (Complementary) */
    --secondary-light: #f093fb;
    --secondary-dark: #f5576c;
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    
    /* Accent Colors */
    --accent-blue: #4285f4;
    --accent-purple: #9c27b0;
    --accent-teal: #26a69a;
    --accent-orange: #ff6f00;
    
    /* Pros/Cons Colors */
    --pros-primary: #10b981;    /* Emerald green */
    --pros-light: #6ee7b7;     /* Light emerald */
    --pros-bg: #ecfdf5;        /* Very light green background */
    --cons-primary: #ef4444;   /* Red */
    --cons-light: #fca5a5;     /* Light red */
    --cons-bg: #fef2f2;        /* Very light red background */
    
    /* Neutral Colors */
    --text-primary: #1f2937;   /* Dark gray */
    --text-secondary: #6b7280; /* Medium gray */
    --text-light: #9ca3af;     /* Light gray */
    --background: #ffffff;     /* White */
    --background-light: #f9fafb; /* Light gray background */
    --border: #e5e7eb;         /* Light border */
    
    /* Button Colors */
    --button-primary: var(--primary-gradient);
    --button-secondary: var(--secondary-gradient);
    --button-success: #10b981;
    --button-warning: #f59e0b;
    --button-danger: #ef4444;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background);
}

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

/* Header Styles */
.site-header {
    background: #295595;
    box-shadow: 0 2px 10px rgba(41, 85, 149, 0.3);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 2px solid rgba(41, 85, 149, 0.5);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #ffffff;
    gap: 12px;
}

.logo-img {
    height: 90px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-link:hover .logo-img {
    transform: scale(1.05);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffffff;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
}

.nav-link:hover,
.nav-link:focus {
    color: #ffffff;
    border-bottom-color: rgba(255, 255, 255, 0.5);
}

.nav-link.active {
    color: #ffffff;
    border-bottom-color: #ffffff;
}

.header-search {
    flex: 1;
    max-width: 400px;
    margin: 0 2rem;
}

.search-form {
    display: flex;
    border: 2px solid #e5e5e5;
    border-radius: 25px;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.search-form:focus-within {
    border-color: #667eea;
}

.search-input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    outline: none;
    font-size: 14px;
}

.search-button {
    background: #667eea;
    color: white;
    border: none;
    padding: 12px 20px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.search-button:hover {
    background: #5a67d8;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: #6fc2e2ff;
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-search .search-form {
    max-width: 500px;
    margin: 0 auto;
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Section Styles */
.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #333;
}

.featured-categories,
.featured-products,
.why-choose-us {
    padding: 4rem 0;
}

/* Categories Grid */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.category-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.category-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.category-title {
    font-size: 1.5rem;
    margin: 1rem;
    color: #333;
}

.category-count {
    margin: 0 1rem 1rem;
    color: #666;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.product-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-info {
    padding: 1.5rem;
}

.product-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.product-brand {
    color: #666;
    margin-bottom: 1rem;
}

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

.stars {
    color: #ffc107;
}

.star.filled {
    color: #ffc107;
}

.star {
    color: #e5e5e5;
}

.rating-text {
    font-size: 0.9rem;
    color: #666;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.current-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2ecc71;
}

.original-price {
    text-decoration: line-through;
    color: #999;
}

.discount {
    background: #e74c3c;
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
}

/* Products Table Styles */
.products-section {
    padding: 2rem 0;
    background: var(--background);
}

.products-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
    background: var(--background-light);
    border-radius: 1rem;
}

.products-header .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.category-section {
    margin-bottom: 4rem;
}

.category-section > .category-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 2rem 0;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border);
}

.category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border);
}

.category-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.category-count {
    background: var(--primary-gradient);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.products-table-container {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border);
    overflow-x: auto;
}

.products-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.products-table thead {
    background: var(--background-light);
}

.products-table th {
    padding: 1rem 1.5rem;
    text-align: left;
    font-weight: 600;
    color: var(--text-primary);
    border-bottom: 2px solid var(--border);
    white-space: nowrap;
}

.products-table td {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
}

.product-row {
    transition: background-color 0.2s ease;
}

.product-row:hover {
    background-color: var(--background-light);
}

.table-product {
    min-width: 300px;
    max-width: 400px;
}

.product-info {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.product-thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 0.5rem;
    flex-shrink: 0;
}

.product-details {
    flex: 1;
    min-width: 0;
}

.product-title-link {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-primary);
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.product-title-link:hover {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.product-tag {
    background: var(--background-light);
    color: var(--text-secondary);
    padding: 0.25rem 0.5rem;
    border-radius: 0.5rem;
    font-size: 0.75rem;
    border: 1px solid var(--border);
}

.table-brand {
    min-width: 120px;
}

.brand-name {
    font-weight: 600;
    color: var(--text-primary);
}

.model-name {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.table-rating {
    min-width: 140px;
}

.rating-display {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.rating-display .stars {
    font-size: 1rem;
}

.rating-score {
    font-weight: 600;
    color: var(--text-primary);
}

.review-count {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.no-rating {
    color: var(--text-light);
    font-style: italic;
}

.table-price {
    min-width: 120px;
}

.price-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

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

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

.discount-badge {
    background: var(--cons-primary);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 600;
    align-self: flex-start;
}

.table-availability {
    min-width: 120px;
    text-align: center;
}

.availability-status {
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: capitalize;
}

.availability-status.in-stock {
    background: var(--pros-bg);
    color: var(--pros-primary);
}

.availability-status.out-of-stock {
    background: var(--cons-bg);
    color: var(--cons-primary);
}

.availability-status.unknown {
    background: var(--background-light);
    color: var(--text-secondary);
}

.products-empty {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-secondary);
}

.products-empty h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

/* Responsive Products Table Styles */
@media (max-width: 768px) {
    .products-table-container {
        margin: 0 -1rem;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }

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

    .products-table th,
    .products-table td {
        padding: 1rem;
    }

    .category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .category-title {
        font-size: 1.5rem;
    }

    .table-product {
        min-width: 250px;
        max-width: 300px;
    }

    .product-info {
        flex-direction: column;
        gap: 0.75rem;
    }

    .product-thumbnail {
        width: 60px;
        height: 60px;
        align-self: center;
    }

    .product-description {
        display: none;
    }

    .product-tags {
        display: none;
    }

    .table-brand,
    .table-rating,
    .table-price {
        min-width: 100px;
    }

    .table-availability {
        min-width: 100px;
    }
}

/* Category Single Styles */
.category-single {
    background: #fff;
    min-height: 80vh;
}

.category-single .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Category Header Styles */
.category-header {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3rem;
    align-items: start;
    padding: 2rem 0;
    border-bottom: 1px solid #e5e5e5;
    margin-bottom: 3rem;
}

.category-info {
    max-width: 600px;
}

.category-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 1rem 0;
    line-height: 1.2;
}

.category-description {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin: 0 0 1.5rem 0;
    line-height: 1.6;
}

.category-stats {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.product-count {
    background: var(--primary-light);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.category-icon {
    font-size: 1.5rem;
}

.category-image {
    width: 300px;
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.category-featured-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Enhanced Category Page Styles */
.category-hero {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 4rem 0;
    margin-bottom: 3rem;
}

.category-hero-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3rem;
    align-items: center;
}

.category-info {
    max-width: 600px;
}

.category-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: white;
}

.category-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.category-stats {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.product-count {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 600;
}

.category-icon {
    font-size: 2rem;
}

.category-image {
    max-width: 300px;
}

.category-featured-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.category-highlights {
    margin-bottom: 3rem;
}

.category-highlights h2 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: var(--text-dark);
    font-weight: 600;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--background-light);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-light);
    transition: transform 0.2s ease;
}

.highlight-item:hover {
    transform: translateY(-2px);
}

.highlight-item:hover {
    transform: translateY(-2px);
}

.highlight-icon {
    background: var(--pros-primary);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.highlight-text {
    font-weight: 500;
    color: var(--text-primary);
}

/* Enhanced Product Cards */
.products-grid.enhanced {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.product-card.enhanced {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}

.product-card.enhanced:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.15);
    border-color: var(--primary-light);
}

.product-image-container {
    position: relative;
    overflow: hidden;
}

.product-card.enhanced .product-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.discount-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--cons-primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.product-card.enhanced .product-info {
    padding: 2rem;
}

.product-card.enhanced .product-brand {
    color: var(--primary-light);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.product-card.enhanced .product-title {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: var(--text-primary);
    line-height: 1.4;
}

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

.product-card.enhanced .rating-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.product-card.enhanced .product-price {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.product-card.enhanced .current-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--pros-primary);
}

.product-card.enhanced .original-price {
    text-decoration: line-through;
    color: var(--text-light);
    font-size: 1.1rem;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.feature-tag {
    background: var(--background-light);
    color: var(--text-secondary);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.category-guide {
    background: var(--background-light);
    padding: 4rem 0;
    margin-top: 2rem;
}

.guide-content {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.guide-content h1 {
    color: var(--primary-dark);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: bold;
}

.guide-content h2 {
    color: var(--primary-light);
    font-size: 1.8rem;
    margin: 2.5rem 0 1rem 0;
    border-bottom: 2px solid var(--primary-light);
    padding-bottom: 0.5rem;
}

.guide-content h3 {
    color: var(--text-primary);
    font-size: 1.3rem;
    margin: 2rem 0 1rem 0;
    font-weight: 600;
}

.guide-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.guide-content ul {
    margin: 1.5rem 0;
    padding-left: 0;
}

.guide-content li {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0.75rem;
    padding-left: 2rem;
    position: relative;
    font-size: 1.05rem;
}

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

.guide-content ol {
    margin: 1.5rem 0;
    padding-left: 0;
    counter-reset: guide-counter;
}

.guide-content ol li {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0.75rem;
    padding-left: 2.5rem;
    position: relative;
    counter-increment: guide-counter;
    font-size: 1.05rem;
}

.guide-content ol li::before {
    content: counter(guide-counter);
    position: absolute;
    left: 0;
    top: 0;
    background: var(--primary-light);
    color: white;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}

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

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature {
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.feature p {
    color: #666;
    line-height: 1.6;
}

/* Product Single Page */
.product-single {
    padding: 2rem 0;
    background: #fafafa;
}

.product-single .container {
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    overflow: hidden;
}

.product-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding: 3rem;
    background: white;
}

.product-images {
    position: relative;
}

.featured-image {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    transition: opacity 0.3s ease;
}

/* Product Gallery Component Styles */
.product-gallery {
    width: 100%;
}

.featured-image-container {
    margin-bottom: 1.5rem;
}

.featured-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    max-height: 600px;
    object-fit: contain;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    transition: opacity 0.3s ease;
}

.product-gallery .gallery-thumbnails {
    display: grid !important;
    grid-template-columns: repeat(5, 90px) !important;
    gap: 0.75rem !important;
    max-width: 500px !important;
    justify-content: start !important;
}

.thumbnail-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.thumbnail-image {
    width: 100%;
    height: 90px;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.thumbnail-item:hover {
    border-color: var(--primary-light);
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
}

.thumbnail-item.active {
    border-color: var(--pros-primary);
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

/* Legacy gallery styles for backward compatibility */
.image-gallery {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding: 0.5rem;
    flex-wrap: wrap;
}

.gallery-image {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 12px;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.gallery-image:hover {
    border-color: #667eea;
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
}

.gallery-image.active {
    border-color: #28a745;
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

.product-details {
    padding: 1rem 0;
}

.product-details h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: #2c3e50;
    font-weight: 700;
    line-height: 1.2;
}

.product-brand {
    font-size: 1.3rem;
    color: #667eea;
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid #ffc107;
}

.stars {
    display: flex;
    gap: 0.2rem;
}

.star {
    font-size: 1.2rem;
    color: #e5e5e5;
    transition: color 0.2s ease;
}

.star.filled {
    color: #ffc107;
}

.rating-text {
    font-size: 1rem;
    color: #6c757d;
    font-weight: 500;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 16px;
    border: 1px solid #dee2e6;
}

.current-price {
    font-size: 2.2rem;
    font-weight: 800;
    color: #28a745;
}

.original-price {
    font-size: 1.4rem;
    text-decoration: line-through;
    color: #6c757d;
}

.discount {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
}

.product-highlights {
    margin-bottom: 2rem;
}

.product-highlights h3 {
    font-size: 1.4rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 600;
}

.product-highlights ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-highlights li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #e9ecef;
    position: relative;
    padding-left: 2rem;
    color: #495057;
    font-weight: 500;
}

.product-highlights li:before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0.75rem;
    width: 1.5rem;
    height: 1.5rem;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}

.product-highlights li:last-child {
    border-bottom: none;
}

.buy-buttons {
    margin-top: 2rem;
}

.buy-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.5rem;
    text-decoration: none;
    border-radius: 12px;
    margin: 0.5rem 0;
    width: 100%;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

/* When prices are shown, use space-between */
.buy-button:has(.price) {
    justify-content: space-between;
}

.buy-button:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.buy-button:hover:before {
    left: 100%;
}

.buy-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.buy-button.amazon {
    background: linear-gradient(135deg, #ff9500 0%, #ff6b00 100%);
    color: white;
}

.buy-button.walmart {
    background: linear-gradient(135deg, #004c91 0%, #0071ce 100%);
    color: white;
}

.buy-button.target {
    background: linear-gradient(135deg, #cc0000 0%, #ff0000 100%);
    color: white;
}

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

.product-content {
    padding: 0 3rem 3rem;
    background: white;
}

.main-content {
    max-width: none;
}

.main-content h1,
.main-content h2,
.main-content h3,
.main-content h4 {
    color: #2c3e50;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.main-content h1 {
    font-size: 2.5rem;
    border-bottom: 3px solid #667eea;
    padding-bottom: 0.5rem;
}

.main-content h2 {
    font-size: 2rem;
    color: #34495e;
}

.main-content h3 {
    font-size: 1.5rem;
    color: #495057;
}

.main-content p {
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #495057;
    font-size: 1.1rem;
}

.main-content ul,
.main-content ol {
    margin: 1.5rem 0;
    padding-left: 0;
    list-style: none;
}

.main-content li {
    margin-bottom: 0.75rem;
    padding-left: 2rem;
    position: relative;
    line-height: 1.6;
    color: #495057;
    font-size: 1.05rem;
}

.main-content ul li:before {
    content: '●';
    position: absolute;
    left: 0.5rem;
    color: #667eea;
    font-weight: bold;
    font-size: 1rem;
}

.main-content ol {
    counter-reset: item;
}

.main-content ol li {
    counter-increment: item;
}

.main-content ol li:before {
    content: counter(item);
    position: absolute;
    left: 0;
    top: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}

.specifications {
    margin: 3rem 0;
    background: #f8f9fa;
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid #e9ecef;
}

.specifications h2 {
    margin-top: 0 !important;
    margin-bottom: 2rem;
    color: #2c3e50;
    font-size: 1.8rem;
    text-align: center;
    position: relative;
}

.specifications h2:after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.specs-table tr:nth-child(even) {
    background: #f8f9fa;
}

.spec-name {
    font-weight: 600;
    color: #495057;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e9ecef;
    width: 40%;
    text-transform: capitalize;
}

.spec-value {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e9ecef;
    color: #6c757d;
    font-weight: 500;
}

.pros-cons {
    margin: 3rem 0;
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.05);
}

.pros-cons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

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

.pros {
    background: var(--pros-bg);
    border-left: 4px solid var(--pros-primary);
}

.cons {
    background: var(--cons-bg);
    border-left: 4px solid var(--cons-primary);
}

.pros h3,
.cons h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.pros h3 {
    color: var(--pros-primary);
}

.cons h3 {
    color: var(--cons-primary);
}

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

.pros li,
.cons li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
    font-weight: 500;
}

.pros li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--pros-primary);
    font-weight: bold;
    font-size: 1.1rem;
}

.cons li:before {
    content: '✗';
    position: absolute;
    left: 0;
    color: var(--cons-primary);
    font-weight: bold;
    font-size: 1.1rem;
}

/* Responsive Design */
/* Medium screens (tablets) */
@media (max-width: 1024px) {
    .product-gallery .gallery-thumbnails {
        grid-template-columns: repeat(4, 80px) !important;
        gap: 0.6rem !important;
    }
    
    .thumbnail-image {
        height: 80px;
    }
}

/* Small screens (phones) */
@media (max-width: 768px) {
    /* Category header responsive styles */
    .category-header {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
        padding: 1.5rem 0;
    }
    
    .category-title {
        font-size: 2rem;
    }
    
    .category-description {
        font-size: 1rem;
    }
    
    .category-image {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .highlights-grid {
        grid-template-columns: 1fr;
    }
    
    .products-grid.enhanced {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .product-card.enhanced .product-info {
        padding: 1.5rem;
    }
    
    /* Guide content responsive */
    .guide-content {
        padding: 2rem;
        margin: 0 1rem;
    }
    
    .guide-content h1 {
        font-size: 2rem;
    }
    
    .guide-content h2 {
        font-size: 1.5rem;
    }
    
    /* Existing responsive styles */
    .product-header {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }
    
    .product-content {
        padding: 0 2rem 2rem;
    }
    
    .pros-cons-grid {
        grid-template-columns: 1fr;
    }
    
    .product-details h1 {
        font-size: 2.2rem;
    }
    
    /* Gallery responsive styles */
    .product-gallery .gallery-thumbnails {
        grid-template-columns: repeat(4, 70px) !important;
        gap: 0.5rem !important;
        max-width: 100% !important;
        justify-content: start !important;
    }
    
    .thumbnail-image {
        height: 70px;
    }
    
    .featured-image {
        height: 300px;
    }
    
    /* Legacy gallery styles */
    .image-gallery {
        justify-content: center;
    }
    
    .gallery-image {
        width: 70px;
        height: 70px;
    }
}

/* Footer */
.site-footer {
    background: #333;
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    color: #ccc;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 1rem;
    text-align: center;
    color: #ccc;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-wrap: wrap;
    }
    
    .main-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .header-search {
        order: 3;
        flex-basis: 100%;
        margin: 1rem 0 0;
        max-width: none;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .categories-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .product-header {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* Utility Classes */
.section-footer {
    text-align: center;
    margin-top: 2rem;
}

.view-all-btn {
    display: inline-block;
    background: #667eea;
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    transition: background 0.3s ease;
}

.view-all-btn:hover {
    background: #5a67d8;
}

/* Featured Products - Improved Layout */
.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-top: -1rem;
    margin-bottom: 2.5rem;
}

.featured-products-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.featured-product-item {
    background: white;
    border-radius: 0.75rem;
    border: 1px solid var(--border);
    overflow: hidden;
    transition: all 0.3s ease;
}

.featured-product-item:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
    border-color: var(--primary);
}

.featured-product-link {
    display: flex;
    gap: 1.25rem;
    padding: 1.25rem;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.featured-product-image {
    flex-shrink: 0;
    width: 140px;
    height: 140px;
    border-radius: 0.5rem;
    overflow: hidden;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e5e7eb;
}

.featured-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0.5rem;
}

.featured-product-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-width: 0;
}

.featured-product-header {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.featured-product-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.3;
}

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

.featured-product-brand {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.featured-product-description {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
    flex: 1;
}

.featured-product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: auto;
}

.featured-product-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

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

.stars-inline .star {
    font-size: 1rem;
    color: #e5e5e5;
}

.stars-inline .star.filled {
    color: #fbbf24;
}

.featured-product-rating .rating-value {
    font-weight: 600;
    color: var(--text-primary);
}

.featured-product-rating .review-count {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.featured-product-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.featured-product-tags .tag {
    font-size: 0.75rem;
    padding: 0.25rem 0.6rem;
    background: var(--background-light);
    color: var(--text-secondary);
    border-radius: 1rem;
    font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .featured-products-list {
        grid-template-columns: 1fr;
    }
    
    .featured-product-link {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .featured-product-image {
        width: 180px;
        height: 180px;
    }
    
    .featured-product-footer {
        justify-content: center;
    }
}

/* Page Layout Styles */
.page-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 3rem 0 2rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid #e5e5e5;
}

.page-title {
    font-size: 3rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 1rem;
    text-align: center;
}

.page-description {
    font-size: 1.2rem;
    color: #666;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.page-content {
    padding: 2rem 0 4rem;
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* About Page Specific Styles */
.content-wrapper h1 {
    display: none; /* Hide duplicate heading */
}

.content-wrapper h2 {
    font-size: 2rem;
    color: #333;
    margin: 2.5rem 0 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #667eea;
}

.content-wrapper h3 {
    font-size: 1.5rem;
    color: #444;
    margin: 2rem 0 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.content-wrapper h4 {
    font-size: 1.2rem;
    color: #555;
    margin: 1.5rem 0 0.75rem;
    font-weight: 600;
}

.content-wrapper p {
    margin-bottom: 1.5rem;
    color: #555;
}

.content-wrapper ul {
    margin: 1rem 0 1.5rem 1.5rem;
    color: #555;
}

.content-wrapper li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.content-wrapper strong {
    color: #333;
    font-weight: 600;
}

/* Feature Grid Styling for About Page */
.content-wrapper ul li strong {
    color: #667eea;
    font-weight: bold;
}

/* Contact Information Styling */
.content-wrapper p:has(strong):has([href^="mailto"]) {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #667eea;
    margin: 2rem 0;
}

/* Responsive Design for Pages */
@media (max-width: 768px) {
    .page-title {
        font-size: 2.5rem;
    }
    
    .page-description {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
    
    .content-wrapper {
        padding: 0 1rem;
    }
    
    .content-wrapper h2 {
        font-size: 1.75rem;
    }
    
    .content-wrapper h3 {
        font-size: 1.3rem;
    }
}

/* Blog Styles */
.blog-section {
    padding: 2rem 0;
    background: var(--background);
}

.blog-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
    background: var(--background-light);
    border-radius: 1rem;
}

.blog-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.blog-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.blog-posts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.blog-post-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    height: fit-content;
}

.blog-post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
}

.blog-post-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

.blog-post-date {
    color: var(--text-secondary);
}

.blog-post-reading-time {
    padding: 0.25rem 0.75rem;
    background: var(--background-light);
    border-radius: 1rem;
    color: var(--text-secondary);
}

.blog-post-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.blog-post-link {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-post-link:hover {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.blog-post-summary {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.blog-post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.blog-tag {
    background: var(--background-light);
    color: var(--text-secondary);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    border: 1px solid var(--border);
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    color: var(--primary-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.blog-read-more:hover {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transform: translateX(4px);
}

.blog-empty {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-secondary);
}

.blog-empty h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

/* Featured Posts Section */
.featured-posts-section {
    margin-bottom: 4rem;
}

.featured-posts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* All Posts Table Section */
.all-posts-section {
    margin-top: 4rem;
}

.blog-posts-table-container {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border);
    overflow-x: auto;
}

.blog-posts-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.blog-posts-table thead {
    background: var(--background-light);
}

.blog-posts-table th {
    padding: 1rem 1.5rem;
    text-align: left;
    font-weight: 600;
    color: var(--text-primary);
    border-bottom: 2px solid var(--border);
    white-space: nowrap;
}

.blog-posts-table td {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
}

.blog-post-row {
    transition: background-color 0.2s ease;
}

.blog-post-row:hover {
    background-color: var(--background-light);
}

.table-title {
    min-width: 300px;
    max-width: 400px;
}

.table-title .blog-post-link {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-primary);
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.table-title .blog-post-link:hover {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.table-summary {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.4;
    margin-top: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.table-date {
    min-width: 100px;
    white-space: nowrap;
}

.table-date time {
    color: var(--text-secondary);
    font-weight: 500;
}

.table-tags {
    min-width: 150px;
}

.table-tag {
    background: var(--background-light);
    color: var(--text-secondary);
    padding: 0.25rem 0.5rem;
    border-radius: 0.5rem;
    font-size: 0.75rem;
    border: 1px solid var(--border);
    display: inline-block;
    margin: 0.125rem 0.125rem 0.125rem 0;
}

.no-tags {
    color: var(--text-light);
    font-style: italic;
}

/* Responsive Table Styles */
@media (max-width: 768px) {
    .blog-posts-table-container {
        margin: 0 -1rem;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
    
    .blog-posts-table {
        font-size: 0.8rem;
    }
    
    .blog-posts-table th,
    .blog-posts-table td {
        padding: 0.75rem 1rem;
    }
    
    .table-title {
        min-width: 200px;
        max-width: 250px;
    }
    
    .table-summary {
        display: none;
    }
    
    .table-tags {
        min-width: 120px;
    }
    
    .table-tag {
        font-size: 0.7rem;
        padding: 0.2rem 0.4rem;
    }
}

/* Single Blog Post Styles */
.blog-post-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.blog-post-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

.blog-post-header .blog-post-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.blog-post-header .blog-post-meta {
    justify-content: center;
    margin-bottom: 1rem;
}

/* Responsive Blog Styles */
@media (max-width: 768px) {
    .blog-posts {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .blog-post-card {
        padding: 1.5rem;
    }
    
    .blog-title {
        font-size: 2rem;
    }
    
    .blog-post-header .blog-post-title {
        font-size: 2rem;
    }
    
    .blog-post-content {
        padding: 1rem;
    }
}

/* Recipe Styles */
.recipe-container {
    background: var(--background);
    min-height: 100vh;
}

.recipe-header {
    background: var(--background-light);
    padding: 3rem 0;
    margin-bottom: 3rem;
}

.recipe-header-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.recipe-header-content > div:last-child {
    display: flex;
    justify-content: center;
    align-items: center;
}

.recipe-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.recipe-category {
    background: var(--primary-gradient);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}

.recipe-date {
    color: var(--text-secondary);
}

.recipe-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.recipe-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.recipe-quick-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.quick-info-item {
    text-align: center;
    padding: 1rem;
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.info-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.info-value {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.difficulty-easy { color: var(--pros-primary); }
.difficulty-medium { color: var(--accent-orange); }
.difficulty-hard { color: var(--cons-primary); }

.recipe-rating {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stars {
    display: flex;
    gap: 0.25rem;
}

.star {
    font-size: 1.5rem;
    color: var(--border);
}

.star.filled {
    color: #fbbf24;
}

.rating-text {
    color: var(--text-secondary);
    font-weight: 600;
}

.recipe-hero-image {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    max-height: 1000px;
    display: inline-block;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto;
    background: #f8f9fa;
    border: 2px solid var(--border);
}

.recipe-hero-image picture {
    display: block;
    line-height: 0;
}

.hero-img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 650px;
    object-fit: contain;
    display: block;
}

.recipe-content {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Recipe Card Sidebar */
.recipe-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border);
    height: fit-content;
    position: sticky;
    top: 2rem;
}

.recipe-card-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.recipe-card-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.calories {
    background: var(--pros-bg);
    color: var(--pros-primary);
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    font-weight: 600;
    font-size: 0.875rem;
}

.recipe-section {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.recipe-section:last-child {
    border-bottom: none;
}

.recipe-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

/* Ingredients */
.ingredients-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ingredient {
    margin-bottom: 0.75rem;
}

.ingredient-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    position: relative;
}

.ingredient-checkbox input[type="checkbox"] {
    opacity: 0;
    position: absolute;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid var(--border);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
    transition: all 0.2s ease;
}

.ingredient-checkbox input[type="checkbox"]:checked + .checkmark {
    background: var(--primary-gradient);
    border-color: var(--primary-dark);
}

.ingredient-checkbox input[type="checkbox"]:checked + .checkmark::after {
    content: "✓";
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.ingredient-checkbox input[type="checkbox"]:checked ~ .ingredient-text {
    text-decoration: line-through;
    color: var(--text-light);
}

.ingredient-text {
    line-height: 1.4;
    transition: all 0.2s ease;
}

/* Equipment */
.equipment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.equipment-item {
    margin-bottom: 0.5rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--background-light);
}

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

.equipment-link {
    color: var(--primary-dark);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.equipment-link:hover {
    color: var(--accent-blue);
}

.optional {
    color: var(--text-light);
    font-size: 0.875rem;
    font-style: italic;
}

/* Nutrition */
.nutrition-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.nutrition-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--background-light);
}

.nutrition-label {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.nutrition-value {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.875rem;
}

/* Main Recipe Content */
.recipe-main {
    min-width: 0; /* Prevent grid overflow */
}

/* Instructions */
.recipe-instructions {
    margin-bottom: 3rem;
}

.recipe-instructions h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

.instructions-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.instruction-step {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 1rem;
    border: 1px solid var(--border);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.step-number {
    width: 2.5rem;
    height: 2.5rem;
    background: var(--primary-gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.step-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.step-time,
.step-temp {
    background: var(--background-light);
    padding: 0.25rem 0.5rem;
    border-radius: 0.5rem;
}

/* Recipe Article Content */
.recipe-article {
    margin-bottom: 3rem;
}

.recipe-article h2,
.recipe-article h3,
.recipe-article h4 {
    color: var(--text-primary);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.recipe-article p {
    line-height: 1.7;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

/* Tips & Notes */
.recipe-extras {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.tips-section,
.notes-section {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    border: 1px solid var(--border);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.tips-section h3,
.notes-section h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.tips-list,
.notes-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tips-list li,
.notes-list li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.5;
}

.tips-list li::before {
    content: "💡";
    position: absolute;
    left: 0;
}

.notes-list li::before {
    content: "📝";
    position: absolute;
    left: 0;
}

/* Related Products */
.related-products {
    background: var(--background-light);
    border-radius: 1rem;
    padding: 2rem;
}

.related-products h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.product-card {
    background: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    border: 1px solid var(--border);
    transition: transform 0.2s ease;
}

.product-card:hover {
    transform: translateY(-2px);
}

.product-link {
    text-decoration: none;
    color: inherit;
}

.product-card h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.product-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-dark);
}

/* Responsive Recipe Styles */
@media (max-width: 1024px) {
    .recipe-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .recipe-card {
        position: static;
        order: -1;
    }
    
    .recipe-header-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .recipe-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .recipe-header {
        padding: 2rem 0;
    }
    
    .recipe-title {
        font-size: 2rem;
    }
    
    .recipe-quick-info {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .instruction-step {
        flex-direction: column;
        gap: 1rem;
    }
    
    .step-number {
        align-self: flex-start;
    }
    
    .recipe-extras {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
}
/* ============================================
   Categories Page Styles
   ============================================ */

/* Categories Index Page */
.categories-section {
    padding: 4rem 0;
    background: var(--background-light);
}

.categories-header {
    text-align: center;
    margin-bottom: 4rem;
}

.categories-header .section-title {
    font-size: 3rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.categories-header .section-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.category-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.category-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.category-card-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: var(--background-light);
}

.category-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.category-card-content {
    padding: 1.5rem;
}

.category-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.category-card .category-icon {
    font-size: 2rem;
}

.category-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.category-card-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.category-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.category-card-footer .product-count {
    color: var(--text-light);
    font-size: 0.875rem;
}

.view-category {
    color: var(--primary-dark);
    font-weight: 600;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.category-card:hover .view-category {
    color: var(--primary-light);
}

/* Individual Category Page */
.category-page {
    padding: 4rem 0;
}

.category-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
    padding: 3rem;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.category-hero-content {
    padding-right: 2rem;
}

.category-page-title {
    font-size: 3rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.category-page-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.category-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    color: var(--text-secondary);
    font-size: 1rem;
}

.stat-item strong {
    color: var(--primary-dark);
    font-size: 1.5rem;
    font-weight: 700;
}

.category-hero-image {
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.category-hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

.category-highlights {
    background: var(--background-light);
    padding: 3rem;
    border-radius: 1rem;
    margin-bottom: 4rem;
}

.category-highlights h2 {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 0.5rem;
}

.highlight-icon {
    color: var(--pros-primary);
    font-weight: 700;
    font-size: 1.25rem;
}

.highlight-text {
    color: var(--text-primary);
    font-size: 0.875rem;
}

.category-products {
    margin-top: 4rem;
}

.products-heading {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border);
}

.no-products {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--background-light);
    border-radius: 1rem;
}

.no-products p {
    color: var(--text-secondary);
    font-size: 1.125rem;
}

.category-content {
    margin-top: 4rem;
    padding-top: 4rem;
    border-top: 2px solid var(--border);
}

.category-content h2 {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.category-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* Responsive Design for Categories */
@media (max-width: 768px) {
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .category-hero {
        grid-template-columns: 1fr;
        padding: 2rem;
    }
    
    .category-hero-content {
        padding-right: 0;
    }
    
    .category-page-title {
        font-size: 2rem;
    }
    
    .highlights-grid {
        grid-template-columns: 1fr;
    }
    
    .categories-header .section-title {
        font-size: 2rem;
    }
}
