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

body {
    font-family: 'Inter', Arial, sans-serif;
    background: #fff;
    color: #222;
    line-height: 1.6;
    padding-top: 80px;
    /* Space for fixed header */
}

/* Apply gradient background to blog post pages */
.blog-post-wrapper {
    min-height: calc(100vh - 80px);
}

body:has(.blog-post-wrapper) {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8f5e9 100%);
    min-height: 100vh;
}

/* === 2. VARIABLES === */
:root {
    --color-primary: #2d6df6;
    /* logo blue */
    --color-accent: #36c46f;
    /* logo green */
    --color-bg: #ffffff;
    --color-text: #222;
    --radius: 12px;
    --shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    --transition: all 0.2s ease;
}

/* === 3. LAYOUT HELPERS === */
.container {
    /* width: 90%; */
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1rem;
}

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

/* Blog Post Image */
.post-image-container {
    margin: 2rem 0;
    position: relative;
    max-width: 100%;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.post-featured-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.photo-credit {
    position: absolute;
    bottom: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.6);
    color: rgba(255, 255, 255, 0.8);
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    border-top-left-radius: var(--radius);
}

.photo-credit a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.2s ease;
}

.photo-credit a:hover {
    color: white;
    text-decoration: underline;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    padding: 0 1rem;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    /* font-weight: 700; */
    font-size: 1.5rem;
    flex-shrink: 0;
}

.logo img {
    height: 40px;
    margin-right: 10px;
    vertical-align: middle;
}

/* Navigation */
.main-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    /* align-items: center; */
}

.main-nav li {
    margin: 0;
    padding: 0;
}

.main-nav a {
    color: #333;
    text-decoration: none;
    padding: 0.5rem 1rem;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    border-radius: 4px;
}

.main-nav a:hover,
.main-nav a:focus,
.main-nav a.active {
    color: #2d6df6;
    background-color: rgba(45, 109, 246, 0.1);
}

/* Mobile menu button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: 2px solid #f0f0f0;
    border-radius: 8px;
    font-size: 1.5rem;
    cursor: pointer;
    color: #333;
    padding: 0.5rem 0.75rem;
    z-index: 1001;
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.mobile-menu-btn:active {
    background-color: rgba(0, 0, 0, 0.05);
    transform: scale(0.96);
}

/* Mobile menu */
.mobile-menu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    max-height: calc(100vh - 70px);
    background: #fff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transform: translateY(-20px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    padding: 0.5rem 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

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

.mobile-menu-item {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    color: #333;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 1rem;
    font-weight: 500;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    -webkit-tap-highlight-color: rgba(45, 109, 246, 0.1);
}

.mobile-menu-item:active {
    background-color: rgba(0, 0, 0, 0.02);
}

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

.mobile-menu-item:hover,
.mobile-menu-item:focus {
    background-color: rgba(45, 109, 246, 0.05);
    color: #2d6df6;
    padding-left: 1.75rem;
}

/* Active state for mobile menu */
.mobile-menu-item.active {
    color: #2d6df6;
    font-weight: 600;
    background-color: rgba(45, 109, 246, 0.1);
    border-left: 4px solid #2d6df6;
}

/* Add a subtle animation for menu items */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }

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

.mobile-menu-item {
    animation: slideIn 0.2s ease-out forwards;
    opacity: 0;
}

.mobile-menu-item:nth-child(1) {
    animation-delay: 0.05s;
}

.mobile-menu-item:nth-child(2) {
    animation-delay: 0.1s;
}

.mobile-menu-item:nth-child(3) {
    animation-delay: 0.15s;
}

.mobile-menu-item:nth-child(4) {
    animation-delay: 0.2s;
}

/* Mobile menu backdrop */
.mobile-menu-backdrop {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-backdrop.active {
    opacity: 1;
    visibility: visible;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .main-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .header-container {
        height: 70px;
        padding: 0.75rem 1rem;
    }

    .logo {
        font-size: 1.25rem;
    }

    .logo img {
        height: 32px;
    }

    /* Improve touch targets */
    .mobile-menu-item {
        min-height: 56px;
        padding: 1rem 1.5rem;
    }
}

/* Product Grid */
.products, .product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 2rem 0;
}

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

.product-card:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* Image Container */
.product-card .product-image-container {
    position: relative;
    width: 100%;
    padding-bottom: 100%; /* 1:1 aspect ratio */
    background-color: #f3f4f6;
    overflow: hidden;
}

.product-card img, .product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

/* Discount Badge */
.discount-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background-color: #22c55e;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 14px;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.3);
    display: flex;
    align-items: center;
    gap: 4px;
    z-index: 2;
}

/* Card Content */
.product-info {
    padding: 20px;
}

/* Brand */
.product-brand {
    color: #2563eb;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

/* Product Name */
.product-card h2, .product-card h3 {
    font-size: 18px;
    font-weight: bold;
    color: #111827;
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-decoration: none;
}

.product-info a {
    text-decoration: none;
}

/* Shop Name */
.product-advertiser {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 16px;
}

.shop-icon {
    width: 16px;
    height: 16px;
}

/* Price Section */
.price-container {
    margin-bottom: 16px;
}

.old-price, .price .old {
    color: #9ca3af;
    text-decoration: line-through;
    font-size: 14px;
    margin-bottom: 4px;
    display: block;
}

.current-price {
    font-size: 32px;
    font-weight: bold;
}

/* Discounted price in green */
.current-price.special {
    color: #16a34a;
    font-size: 1.875rem;
    line-height: 2.25rem;
    font-weight: 700;
}

/* Normal price in dark gray */
.current-price:not(.special) {
    color: #111827;
        font-size: 1.875rem;
    line-height: 2.25rem;
    font-weight: 700;
}

.currency {
    font-size: 18px;
}

/* Buy Button */
.product-card-btn {
    width: 100%;
    background-color: #2563eb;
    color: white;
    border: none;
    padding: 14px 24px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

.product-card-btn:hover {
    background-color: #1d4ed8;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.cart-icon {
    width: 20px;
    height: 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    margin-top: .5rem;
    padding: 0.6rem 1.25rem;
    border-radius: var(--radius);
    background: var(--color-accent);
    color: #fff;
    text-align: center;
    text-decoration: none;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn:hover,
.btn:focus {
    background: #2fa35e;
    transform: translateY(-1px);
}

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

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

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

.footer-section h3 {
    color: var(--color-text);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: #555;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--color-primary);
    padding-left: 5px;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #eee;
    font-size: 0.9rem;
}

/* === RESPONSIVE === */


@media (min-width: 769px) {
    .mobile-menu-btn {
        display: none;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-1 {
    margin-top: 0.5rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}


/* Product grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

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

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

.price {
    padding: 0 1rem 1rem;
}

.old-price {
    text-decoration: line-through;
    color: #999;
    margin-right: 0.5rem;
}

.current-price {
    color: #e74c3c;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Footer styles */
footer {
    background-color: #333;
    color: #fff;
    padding: 2rem 0;
    margin-top: 3rem;
}

footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 2rem 0 1.5rem;
    margin-top: 3rem;
    font-size: 0.9rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
    padding: 0 1rem 1rem;
}

.footer-nav {
    display: flex;
    gap: 2rem;
    margin: 0 0 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-nav a {
    color: #ecf0f1;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: var(--transition);
}

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

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

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

footer p {
    margin: 0;
    line-height: 1.6;
}

.copyright {
    font-size: 0.85rem;
    opacity: 0.9;
}

.disclaimer {
    font-size: 0.8rem;
    opacity: 0.8;
    max-width: 800px;
    margin: 0 auto;
}

@media (max-width: 480px) {
    .footer-nav {
        gap: 1.25rem;
    }
    
    .footer-nav a {
        font-size: 0.9rem;
    }
}

.copyright {
    color: #ecf0f1;
    font-weight: 500;
}

.disclaimer {
    font-size: 0.8rem;
    color: #bdc3c7;
    max-width: 800px;
    line-height: 1.4;
}



/* === HERO SECTION === */
.hero {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    color: white;
    padding: 4rem 0;
    margin-bottom: 3rem;
    text-align: center;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* === SECTIONS === */
.section-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--color-text);
}

.featured-products,
.latest-posts {
    margin-bottom: 4rem;
}

/* === PRODUCT IMPROVEMENTS === */
.product-card {
    position: relative;
    overflow: hidden;
}

.discount-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #22c55e;
    color: white;
    padding: 0.375rem 0.75rem;
    border-radius: 999px;
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 700;
}

.no-products {
    text-align: center;
    padding: 3rem 0;
    color: #666;
}

/* === BLOG POSTS === */
.posts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-bottom: 2rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.post-content ul {
    margin: 0 0 1.5rem 2rem;
}

.post-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: row;
    overflow: hidden;
    border: 1px solid #f0f0f0;
    max-height: none;
    min-height: 200px;
}

.post-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.post-featured-image {
    position: relative;
    overflow: hidden;
    background: #f8f9fa;
    height: 100%;
    flex: 0 0 300px;
    min-height: 100%;
}

.post-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.post-card:hover .post-featured-image img {
    transform: scale(1.03);
}

.post-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-width: 0; /* Fixes flexbox overflow issues */
}

.post-meta {
    font-size: 0.8rem;
    color: #6c757d;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.post-meta .icon-calendar {
    color: var(--color-primary);
    font-size: 0.9rem;
}

.post-title {
    margin: 0 0 0.75rem 0;
    font-size: 1.25rem;
    line-height: 1.4;
    font-weight: 600;
}

.post-title a {
    color: #2d3748;
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.post-excerpt {
    color: #4a5568;
    margin: 0.75rem 0 1.25rem 0;
    line-height: 1.5;
    font-size: 0.95rem;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4; /* Limit to 4 lines */
    -webkit-box-orient: vertical;
    max-height: 6rem; /* 4 lines * 1.5 line-height */
}

.post-footer {
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px solid #f0f0f0;
}

.read-more {
    display: inline-flex;
    align-items: center;
    color: var(--color-primary);
    font-weight: 500;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.read-more .arrow {
    margin-left: 0.4rem;
    transition: transform 0.2s ease;
    font-size: 1.1em;
    line-height: 1;
}

.read-more:hover .arrow {
    transform: translateX(3px);
}

@media (max-width: 768px) {
    .post-card {
        flex-direction: column;
        max-height: none;
    }
    
    .post-featured-image {
        flex: 0 0 200px;
        width: 100%;
        min-height: 200px;
    }
    
    .post-featured-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .post-content {
        padding: 1.25rem;
    }
    
    .post-title {
        font-size: 1.25rem;
    }
    
    .post-excerpt {
        -webkit-line-clamp: 3;
        max-height: 4.5rem;
    }
    
    .post-title {
        font-size: 1.15rem;
    }
    
    .post-excerpt {
        font-size: 0.9rem;
    }
}

.blog-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 0 1rem;
}

.blog-header .section-title {
    font-size: 2.25rem;
    color: #2d3748;
    margin-bottom: 0.75rem;
}

.blog-description {
    color: #6b7280;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.post-meta {
    color: #666;
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* === PRODUCT DETAIL PAGE === */
.product-detail {
    max-width: 1200px;
    margin: 0 auto;
}

.product-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.product-image-container {
    text-align: center;
}

/* Product page specific image styles */
.product-detail .product-image-large {
    width: 100%;
    max-width: 500px;
    height: auto;
    display: block;
    margin: 0;
    padding: 0;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

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

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


.discount {
    background: #e74c3c;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
}

.availability-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.availability-badge.in_stock {
    background: #d4edda;
    color: #155724;
}

.availability-badge.out_of_stock {
    background: #f8d7da;
    color: #721c24;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    margin-top: 1rem;
}

.product-description {
    margin-bottom: 3rem;
}

.product-description h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.description-content {
    line-height: 1.8;
    color: #555;
}

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

.product-availability {
    margin: 1rem 0;
}

/* === BLOG POST PAGE === */
.blog-post-wrapper {
    max-width: 900px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.blog-post-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    margin-bottom: 4rem;
}

.post-header-content {
    padding: 3rem 3rem 2rem;
}

.post-category-badge {
    margin-bottom: 1.5rem;
    display: none;
}

.category-label {
    display: inline-block;
    background: #e8f5e9;
    color: #4CAF50;
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.post-title {
    margin: 0 0 1.5rem 0;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.3;
    color: #1a1a1a;
}

.post-meta-info {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #f0f0f0;
    color: #666;
    font-size: 0.95rem;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.meta-icon {
    font-size: 1.2rem;
}

.post-featured-image-wrapper {
    position: relative;
    height: 500px;
    overflow: hidden;
    width: 100%;
}

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

.photo-credit-overlay {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: rgba(0,0,0,0.6);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.75rem;
    backdrop-filter: blur(10px);
}

.photo-credit-overlay a {
    color: white;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.photo-credit-overlay a:hover {
    opacity: 0.9;
    text-decoration: underline;
}

.post-content-wrapper {
    padding: 3rem;
}

.post-content {
    line-height: 1.8;
    font-size: 1.1rem;
    color: #333;
}

.post-content p {
    margin: 0 0 1.5rem 0;
}

.post-content p:first-child {
    font-size: 1.25rem;
    font-weight: 500;
    color: #2c3e50;
    padding: 1.5rem;
    background: #f8fdf9;
    border-left: 4px solid #4CAF50;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.post-content h2 {
    margin: 2.5rem 0 1.2rem 0;
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a1a1a;
}

.post-content h3 {
    margin: 2rem 0 1rem 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
}

.post-content ul,
.post-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.post-content li {
    margin-bottom: 0.75rem;
}

/* Inline Product Cards */
.inline-products-section {
    margin: 3rem 0;
    padding: 0rem;
    background: #f8f9fa;
    border-radius: 12px;
}

/* Product Grid */
.inline-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.inline-product-card-wrapper {
    width: 100%;
}

.hide-on-mobile {
    display: block;
}

.inline-product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.inline-product-card:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.inline-product-card .product-image-container {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    background-color: #f3f4f6;
    overflow: hidden;
}

.inline-product-card .product-image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.inline-product-card .product-info {
    padding: 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.inline-product-card .product-brand {
    color: #2563eb;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.inline-product-card h3 {
    font-size: 14px;
    font-weight: bold;
    color: #111827;
    margin-bottom: 6px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.inline-product-card .product-info a {
    text-decoration: none;
}

.inline-product-card .product-advertiser {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #6b7280;
    font-size: 11px;
    margin-bottom: 10px;
}

.inline-product-card .product-advertiser .shop-icon {
    width: 12px;
    height: 12px;
}

.inline-product-card .price-container {
    margin-bottom: 10px;
    margin-top: auto;
}

.inline-product-card .old-price {
    color: #9ca3af;
    text-decoration: line-through;
    font-size: 11px;
    margin-bottom: 2px;
    display: block;
}

.inline-product-card .current-price {
    font-size: 1.25rem;
    line-height: 1.5rem;
    font-weight: 700;
    color: #111827;
}

.inline-product-card .current-price.special {
    color: #16a34a;
}

.inline-product-card .currency {
    font-size: 14px;
}

.inline-product-card .product-card-btn {
    width: 100%;
    background-color: #2563eb;
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none;
    margin-top: auto;
}

.inline-product-card .product-card-btn .cart-icon {
    width: 16px;
    height: 16px;
}

.inline-product-card .product-card-btn:hover {
    background-color: #1d4ed8;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.inline-product-card .discount-badge {
    padding: 4px 8px;
    font-size: 11px;
    top: 8px;
    right: 8px;
}

.inline-product-card .discount-badge .cart-icon {
    width: 12px;
    height: 12px;
}

.post-share-section {
    padding: 2rem 3rem;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.share-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.share-label {
    font-weight: 600;
    color: #666;
}

.share-buttons {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.share-btn {
    padding: 0.5rem 1.2rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
    color: white;
}

.share-facebook {
    background: #3b5998;
}

.share-facebook:hover {
    background: #2d4373;
}

.share-twitter {
    background: #1DA1F2;
}

.share-twitter:hover {
    background: #0d8bd9;
}

.share-whatsapp {
    background: #25D366;
}

.share-whatsapp:hover {
    background: #1da851;
}

/* Related Posts Section */
.related-posts-section {
    margin: 4rem 0;
}

.related-posts-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #1a1a1a;
}

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

.related-post-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.related-post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.related-post-image {
    height: 180px;
    background-size: cover;
    background-position: center;
    background-color: #f0f0f0;
}

.related-post-image-placeholder {
    background: linear-gradient(135deg, #81C784 0%, #4CAF50 100%);
}

.related-post-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.related-post-category {
    font-size: 0.8rem;
    color: #4CAF50;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.related-post-title {
    margin: 0.8rem 0;
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.4;
}

.related-post-title {
    color: inherit;
    transition: color 0.2s ease;
}

.related-post-card:hover .related-post-title {
    color: #4CAF50;
}

.related-post-excerpt {
    margin: 0;
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    flex: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .blog-post-wrapper {
        padding: 0 0.75rem;
        margin: 1rem auto;
    }

    .post-header-content {
        padding: 1.5rem 1rem 1rem;
    }

    .post-title {
        font-size: 2rem;
    }

    .post-meta-info {
        gap: 1rem;
        font-size: 0.85rem;
    }

    .post-featured-image-wrapper {
        height: 300px;
    }

    .post-content-wrapper {
        padding: 1.5rem 1rem;
    }

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

    .post-content p:first-child {
        font-size: 1.1rem;
        padding: 0.75rem;
    }

    .post-share-section {
        padding: 1rem;
    }

    .share-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .inline-products-section {
        padding: 0rem;
    }

    .inline-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }

    .hide-on-mobile {
        display: none;
    }

    .inline-product-card .product-info {
        padding: 10px;
    }

    .inline-product-card h3 {
        font-size: 13px;
    }

    .inline-product-card .current-price {
        font-size: 1.1rem;
        line-height: 1.3rem;
    }

    .inline-product-card .currency {
        font-size: 12px;
    }

    .inline-product-card .product-card-btn {
        padding: 8px 12px;
        font-size: 12px;
    }

    .inline-product-card .product-brand {
        font-size: 10px;
    }

    .inline-product-card .product-advertiser {
        font-size: 10px;
    }

    .related-posts-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .related-posts-title {
        font-size: 1.75rem;
    }
}

/* === ERROR PAGE === */
.error-page {
    text-align: center;
    padding: 4rem 0;
}

.error-title {
    font-size: 6rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.error-subtitle {
    font-size: 2rem;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.error-message {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.error-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}

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

.suggested-products h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--color-text);
}

/* === BUTTON IMPROVEMENTS === */
.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #5a6268;
}

/* === RESPONSIVE IMPROVEMENTS === */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .product-header {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .product-price .current-price {
        font-size: 1.5rem;
    }

    .post-title {
        font-size: 2rem;
    }

    .error-title {
        font-size: 4rem;
    }

    .error-actions {
        flex-direction: column;
        align-items: center;
    }

    .posts-grid {
        grid-template-columns: 1fr;
    }
}

/* === ACCESSIBILITY IMPROVEMENTS === */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for better accessibility */
a:focus,
button:focus,
.btn:focus {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    }
}

/* === PA
GE STYLES === */
.page {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 2rem;
    text-align: center;
}

.page-content {
    line-height: 1.8;
    color: #444;
}

.page-content h2,
.page-content h3 {
    margin: 2rem 0 1rem;
    color: var(--color-text);
}

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

.page-content a {
    color: var(--color-primary);
    text-decoration: none;
}

.page-content a:hover {
    text-decoration: underline;
}

/* === CATEGORY PAGE === */
.category-page {
    margin-bottom: 4rem;
}

.category-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.category-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.category-description {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.all-categories {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid #eee;
}

.all-categories h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--color-text);
}

.categories-grid {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: 600px;
    margin: 0 auto;
}

.category-link {
    display: block;
    padding: 0.75rem 1.5rem;
    background: #f8f9fa;
    color: var(--color-text);
    text-decoration: none;
    border-radius: 8px;
    transition: var(--transition);
    font-weight: 500;
    text-align: center;
}

.category-link:hover,
.category-link.active {
    background: var(--color-primary);
    color: white;
    transform: translateY(-2px);
}
.categories-list {
    margin: 2rem 0;
}

/* === CATEGORY SECTION === */
.category-section {
    margin: 3rem 0;
    padding: 2rem 0;
}

.category-section .section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 2rem;
}

.categories-grid-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.category-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--color-text);
    transition: var(--transition);
    border: 2px solid transparent;
    box-shadow: var(--shadow);
}

.category-card:hover {
    background: white;
    border-color: var(--color-primary);
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.category-card-content {
    flex: 1;
}

.category-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.category-card-count {
    font-size: 0.9rem;
    color: #666;
}

.category-card-arrow {
    color: var(--color-primary);
    margin-left: 1rem;
    transition: transform 0.2s ease;
}

.category-card:hover .category-card-arrow {
    transform: translateX(4px);
}

/* === RESPONSIVE IMPROVEMENTS === */
@media (max-width: 768px) {

    .page-title,
    .category-title {
        font-size: 2rem;
    }

    .category-description {
        font-size: 1rem;
    }

    .categories-grid {
        gap: 0.5rem;
    }

    .category-link {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .category-section .section-title {
        font-size: 1.75rem;
    }

    .categories-grid-section {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .category-card {
        padding: 1.25rem;
    }

    .category-card-title {
        font-size: 1.1rem;
    }
}

/* === PAGINATION === */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
    flex-wrap: wrap;
}

.pagination-numbers {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.pagination-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.75rem;
    min-width: 40px;
    height: 40px;
    background: #f8f9fa;
    color: var(--color-text);
    text-decoration: none;
    border-radius: 8px;
    transition: var(--transition);
    font-weight: 500;
    font-size: 0.95rem;
    gap: 0.5rem;
}

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

.pagination-link.pagination-current {
    background: var(--color-primary);
    color: white;
    cursor: default;
}

.pagination-link.pagination-current:hover {
    transform: none;
}

.pagination-ellipsis {
    padding: 0.5rem 0.25rem;
    color: #666;
}

.pagination-prev,
.pagination-next {
    padding: 0.5rem 1rem;
}

@media (max-width: 768px) {
    .pagination {
        gap: 0.25rem;
    }
    
    .pagination-link {
        min-width: 36px;
        height: 36px;
        padding: 0.5rem;
        font-size: 0.85rem;
    }
    
    .pagination-prev,
    .pagination-next {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
    }
}

/* 
=== DROPDOWN MENU === */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: var(--radius);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    list-style: none;
    padding: 0.5rem 0;
    flex-direction: column;
}

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

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--color-text);
    text-decoration: none;
    transition: var(--transition);
    margin: 0;
}

.dropdown-menu a:hover {
    background: rgba(45, 109, 246, 0.1);
    color: var(--color-primary);
}

/* === BLOG PAGE === */
.blog-page {
    margin-bottom: 4rem;
}

.blog-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.blog-description {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 1rem auto 0;
}

.post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.read-more {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.read-more:hover {
    text-decoration: underline;
}

.no-posts {
    text-align: center;
    padding: 4rem 0;
}

.no-posts p {
    color: #666;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* === MOBILE DROPDOWN === */
@media (max-width: 768px) {
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(45, 109, 246, 0.05);
        margin-top: 0.5rem;
        border-radius: var(--radius);
    }

    .dropdown:hover .dropdown-menu {
        display: block;
    }

    .blog-header {
        padding: 1rem 0;
    }

    .blog-description {
        font-size: 1rem;
    }

    .post-meta {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
}

/* === 
HEADER SEARCH === */
.header-search {
    flex: 1;
    max-width: 400px;
    margin: 0 2rem;
}

.search-form-header {
    display: flex;
    background: #f8f9fa;
    border-radius: 25px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: var(--transition);
}

.search-form-header:focus-within {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(45, 109, 246, 0.1);
}

.search-input-header {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    background: transparent;
    font-size: 0.9rem;
    outline: none;
}

.search-input-header::placeholder {
    color: #999;
}

.search-btn-header {
    padding: 0.75rem 1rem;
    background: var(--color-primary);
    color: white;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.search-btn-header:hover {
    background: #1e5ae6;
}

/* === SEARCH PAGE === */
.search-page {
    margin-bottom: 4rem;
}

.search-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.search-header h1 {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 2rem;
}

.search-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.search-input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    font-size: 1rem;
    outline: none;
}

.search-button {
    padding: 1rem 2rem;
    background: var(--color-primary);
    color: white;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.search-button:hover {
    background: #1e5ae6;
}

.search-results h2 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--color-text);
}

.no-results {
    text-align: center;
    padding: 4rem 0;
}

.no-results h2 {
    color: var(--color-text);
    margin-bottom: 1rem;
}

.no-results p {
    color: #666;
    font-size: 1.1rem;
}

/* === RESPONSIVE SEARCH === */
@media (max-width: 768px) {
    .header-container {
        height: auto;
        min-height: 70px;
        padding: 1rem;
    }

    .header-search {
        display: none;
        /* Hide search in mobile header, show in mobile menu instead */
    }

    .search-form {
        flex-direction: column;
    }

    .search-input,
    .search-button {
        padding: 1rem;
    }

    .search-header h1 {
        font-size: 2rem;
    }
}

/ *===MOBILE SEARCH===*/ .mobile-search {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #f0f0f0;
}

.search-form-mobile {
    display: flex;
    background: #f8f9fa;
    border-radius: 25px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: var(--transition);
}

.search-form-mobile:focus-within {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(45, 109, 246, 0.1);
}

.search-input-mobile {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    background: transparent;
    font-size: 0.9rem;
    outline: none;
}

.search-input-mobile::placeholder {
    color: #999;
}

.search-btn-mobile {
    padding: 0.75rem 1rem;
    background: var(--color-primary);
    color: white;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
}

.search-btn-mobile:hover {
    background: #1e5ae6;
}

/* === MOBILE CATEGORIES === */
.mobile-categories {
    border-bottom: 1px solid #f0f0f0;
}

.mobile-menu-label {
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    color: #666;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: #f8f9fa;
}

.mobile-category-item {
    padding-left: 2rem !important;
    font-size: 0.9rem;
    color: #666 !important;
}

.mobile-category-item:hover {
    color: var(--color-primary) !important;
    background-color: rgba(45, 109, 246, 0.05);
}

/* === DESKTOP HEADER SEARCH === */
@media (min-width: 769px) {
    .header-search {
        flex: 1;
        max-width: 400px;
        margin: 0 1rem;
    }

    .search-form-header {
        display: flex;
        background: #f8f9fa;
        border-radius: 25px;
        overflow: hidden;
        border: 2px solid transparent;
        transition: var(--transition);
    }

    .search-form-header:focus-within {
        border-color: var(--color-primary);
        box-shadow: 0 0 0 3px rgba(45, 109, 246, 0.1);
    }

    .search-input-header {
        flex: 1;
        padding: 0.75rem 1rem;
        border: none;
        background: transparent;
        font-size: 0.9rem;
        outline: none;
    }

    .search-input-header::placeholder {
        color: #999;
    }

    .search-btn-header {
        padding: 0.75rem 1rem;
        background: var(--color-primary);
        color: white;
        border: none;
        cursor: pointer;
        transition: var(--transition);
        font-size: 0.9rem;
    }

    .search-btn-header:hover {
        background: #1e5ae6;
    }
}

/* === MOBILE HEADER FIXES === */
@media (max-width: 768px) {
    .header-search {
        display: none;
    }

    .mobile-menu {
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }
}

/* ===
 BREADCRUMBS === */
.breadcrumb {
    background: #f8f9fa;
    padding: 1rem 0;
    margin-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-item a {
    color: #204fb1;
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb-item a:hover {
    text-decoration: underline;
}

.breadcrumb-item:not(:last-child)::after {
    content: '›';
    margin-left: 0.5rem;
    color: #666;
    font-weight: 500;
}

.breadcrumb-current {
    color: #666;
    font-weight: 500;
}

/* Mobile breadcrumb adjustments */
@media (max-width: 768px) {
    .breadcrumb-nav {
        font-size: 0.8rem;
    }

    .breadcrumb-item:not(:last-child)::after {
        margin-left: 0.25rem;
        margin-right: 0.25rem;/* 
=== MODERN PRODUCT CARDS === */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.product-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid #f0f0f0;
}

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

.product-card a {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Product page image container */
.product-detail .product-image-container {
    position: relative;
    overflow: hidden;
    background: #f8f9fa;
    line-height: 0;
    display: inline-block;
    max-width: 100%;
    padding-bottom: 0 !important; /* Remove any bottom padding */
}

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

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

.discount-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
    z-index: 2;
}

.product-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-brand {
    font-size: 0.85rem;
    color: #7f8c8d;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.product-description {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.price-container {
    margin-top: auto;
    margin-bottom: 1rem;
}

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

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

.current-price.special {
    color: #e74c3c;
}

.old-price {
    font-size: 1rem;
    color: #95a5a6;
    text-decoration: line-through;
    font-weight: 500;
}

.availability-badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.availability-badge.in_stock {
    background: #d4edda;
    color: #155724;
}

.availability-badge.out_of_stock {
    background: #f8d7da;
    color: #721c24;
}

.product-card-btn {
    background: linear-gradient(135deg, var(--color-primary), #1e5ae6);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(45, 109, 246, 0.3);
    margin-top: auto;
}

.product-card-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45, 109, 246, 0.4);
    background: linear-gradient(135deg, #1e5ae6, var(--color-primary));
}

.product-card-btn:active {
    transform: translateY(0);
}

.product-card-btn.out-of-stock {
    background: #95a5a6;
    cursor: not-allowed;
    box-shadow: none;
}

.product-card-btn.out-of-stock:hover {
    transform: none;
    box-shadow: none;
}

/* === RESPONSIVE PRODUCT CARDS === */
@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .product-card img {
        height: 180px;
    }
    
    .product-info {
        padding: 1.25rem;
    }
    
    .product-card h3 {
        font-size: 1rem;
    }
    
    .current-price {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .product-card img {
        height: 200px;
    }
}
}/* =
== RESPONSIVE PRODUCT CARDS === */
@media (max-width: 768px) {
    .products, .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 1.25rem;
    }
    
    .product-info {
        padding: 0.875rem;
    }
    
    .product-card h2, .product-card h3 {
        font-size: 0.95rem;
    }
    
    .current-price {
        font-size: 1.2rem;
    }
    
    .product-brand {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .products, .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1rem;
    }
       
    .product-info {
        padding: 0.75rem;
    }
    
    .product-card h2, .product-card h3 {
        font-size: 0.9rem;
        min-height: 2.4rem;
    }
    
    .current-price {
        font-size: 1.1rem;
    }
}/* =
== RESPONSIVE PRODUCT CARDS === */
@media (max-width: 768px) {
    .products, .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }
    
    .product-info {
        padding: 16px;
    }
    
    .product-card h2, .product-card h3 {
        font-size: 16px;
    }
    
    .current-price {
        font-size: 28px;
    }
    
    .currency {
        font-size: 16px;
    }
    
    .product-card-btn {
        padding: 12px 20px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .products, .product-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .product-info {
        padding: 14px;
    }
    
    .product-card h2, .product-card h3 {
        font-size: 15px;
    }
    
    .current-price {
        font-size: 24px;
    }
    
    .currency {
        font-size: 14px;
    }
    
    .product-advertiser {
        font-size: 14px;
    }
}

