/* East Coast E-Bikes Storefront Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #1a1a1a;
    --secondary: #4a5568;
    --accent: #2b6cb0;
    --text-primary: #1a202c;
    --text-secondary: #4a5568;
    --text-muted: #718096;
    --white: #ffffff;
    --gray-50: #f7fafc;
    --gray-100: #edf2f7;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e0;
    --border: #e2e8f0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: rgb(240, 240, 240);
}

/* Typography */
.h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 300; line-height: 1.1; letter-spacing: -0.02em; }
.h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 300; line-height: 1.2; letter-spacing: -0.01em; }
.h3 { font-size: 1.5rem; font-weight: 400; line-height: 1.3; }
.text-lg { font-size: 1.25rem; line-height: 1.7; font-weight: 300; }
.text-base { font-size: 1rem; line-height: 1.6; }
.text-sm { font-size: 0.875rem; line-height: 1.5; }

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--gray-200);
    z-index: 1000;
    transition: all 0.3s ease;
    margin: 0;
}

.header.scrolled {
    background: rgba(0, 0, 0, 0.95);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.nav {
    max-width: 1400px;
    margin: 0 auto;
    margin-top: 10px;
    margin-bottom: 3px;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo {
    
    padding: 10px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-item a {
    text-decoration: none;
    color: white;
    font-weight: 400;
    font-size: 0.95rem;
    transition: color 0.2s ease;
    letter-spacing: 0.01em;
}

.nav-item a:hover { color: var(--primary); }

.nav-item.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);  /* Keep the centering */
}

.dropdown-content {
    position: absolute;
    top: calc(100%);
    left: 50%;                        /* Change this */
    transform: translateX(-50%) translateY(-8px);  /* Change this */
    background: white;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    padding: 8px 0;
    z-index: 1001;
}

.dropdown-content a {
    display: block;
    padding: 12px 20px;
    color: var(--text-primary);
    font-weight: 400;
    font-size: 0.9rem;
    transition: background-color 0.15s ease;
    text-decoration: none;  /* Ensure no underline */
    white-space: nowrap;    /* Prevent text wrapping */
}

.dropdown-content a:hover {
    background: var(--gray-50);
    color: var(--primary);  /* Add color change on hover */
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: none;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.nav-btn:hover {
    background: var(--gray-50);
    color: var(--primary);
}

/* Mobile Menu */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 3px;
    cursor: pointer;
    padding: 6px;
}

.mobile-toggle span {
    width: 18px;
    height: 2px;
    background: white;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    max-height: 900px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.4) 0%, rgba(26, 26, 26, 0.6) 100%),
                url('maui_bikes.png') center/cover;
    z-index: 1;
}

@media (max-width: 768px) {
    .hero-bg {
        background-image: url('mobile_background.png');
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 2rem;
    color: white;
}

.hero-content h1 {
    margin-bottom: 1.5rem;
    font-weight: 300;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    font-weight: 300;
    line-height: 1.6;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border: none;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    letter-spacing: 0.01em;
}

.btn-primary {
    background: var(--gray-50);
    color: var(--primary);
    border: 2px solid var(--border);
}

.btn-primary:hover {
    background: var(--gray-100);
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

/* Categories Section */
.categories {
    padding: 8rem 0;
    background: white;
    
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header h2 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.section-header p {
    color: varwhite;
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 300;
}

.section-header-f {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header-f h2 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.section-header-f p {
    color: var(--primary);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 300;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.category-card {
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
}

.category-card:hover {
    transform: translateY(-4px);
}

.category-image {
    width: 100%;
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    position: relative;
    
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Placeholder images with realistic e-bike scenarios */
.category-image.folding {
    background-image: url('folding_bike.jpg');
    background-size: contain;   /* ensures the full image fits inside */
    background-repeat: no-repeat; /* prevents tiling */
    background-position: center; /* keeps it centered */
}

.category-image.city {
    background-image: url('city_bike.jpg');
    background-size: contain;   /* ensures the full image fits inside */
    background-repeat: no-repeat; /* prevents tiling */
    background-position: center; /* keeps it centered */
}
.category-image.fat {
    background-image: url('fat_bike.jpg');
    background-size: contain;   /* ensures the full image fits inside */
    background-repeat: no-repeat; /* prevents tiling */
    background-position: center; /* keeps it centered */
}

.category-content {
    text-align: center;  
}

.category-content h3 {
    margin-bottom: 0.5rem;
    color: var(--primary);
    font-weight: 400;
    text-align: center;  
}

.category-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    font-weight: 300;
    text-align: center;  
}

/* Featured Products */
.featured {
    padding: 8rem 0;
    background: rgba(85, 85, 85, 0.308);
    color: rgb(255, 255, 255);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.product-card {
    background: rgb(255, 255, 255);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.product-image {
    width: 100%;
    height: 280px;
    position: relative;
    background: rgb(255, 0, 0);
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--primary);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* Product placeholder images */
.product-image.urban-pro {
    background: linear-gradient(135deg, rgba(43, 108, 176, 0.05) 0%, rgba(43, 108, 176, 0.1) 100%),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 280"><rect width="320" height="280" fill="%23f8fafc"/><rect x="40" y="180" width="240" height="60" fill="%23e2e8f0" rx="6"/><circle cx="90" cy="200" r="30" fill="%232d3748"/><circle cx="270" cy="200" r="30" fill="%232d3748"/><rect x="85" y="170" width="100" height="15" fill="%234a5568" rx="7"/><rect x="160" y="150" width="30" height="50" fill="%234a5568" rx="3"/><rect x="250" y="160" width="40" height="20" fill="%232b6cb0" rx="4"/></svg>') center/cover;
}

.product-image.mountain-elite {
    background: linear-gradient(135deg, rgba(72, 187, 120, 0.05) 0%, rgba(72, 187, 120, 0.1) 100%),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 280"><rect width="320" height="280" fill="%23f0fff4"/><rect x="40" y="180" width="240" height="60" fill="%23c6f6d5" rx="6"/><circle cx="90" cy="200" r="32" fill="%232d3748"/><circle cx="270" cy="200" r="32" fill="%232d3748"/><rect x="85" y="165" width="105" height="18" fill="%234a5568" rx="9"/><rect x="160" y="145" width="35" height="55" fill="%234a5568" rx="4"/><rect x="245" y="155" width="45" height="25" fill="%2348bb78" rx="5"/></svg>') center/cover;
}

.product-image.cargo-master {
    background: linear-gradient(135deg, rgba(237, 137, 54, 0.05) 0%, rgba(237, 137, 54, 0.1) 100%),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 280"><rect width="320" height="280" fill="%23fffaf0"/><rect x="30" y="180" width="260" height="60" fill="%23fed7aa" rx="8"/><circle cx="80" cy="200" r="30" fill="%232d3748"/><circle cx="270" cy="200" r="30" fill="%232d3748"/><rect x="20" y="140" width="60" height="50" fill="%23ed8936" rx="6"/><rect x="75" y="165" width="120" height="12" fill="%234a5568" rx="6"/></svg>') center/cover;
}

.product-image.folding-compact {
    background: linear-gradient(135deg, rgba(128, 90, 213, 0.05) 0%, rgba(128, 90, 213, 0.1) 100%),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 280"><rect width="320" height="280" fill="%23faf5ff"/><rect x="60" y="190" width="200" height="50" fill="%23e9d5ff" rx="5"/><circle cx="100" cy="205" r="25" fill="%232d3748"/><circle cx="240" cy="205" r="25" fill="%232d3748"/><rect x="95" y="180" width="80" height="12" fill="%234a5568" rx="6"/><rect x="150" y="165" width="25" height="40" fill="%234a5568" rx="3"/><rect x="215" y="175" width="35" height="15" fill="%23805ad5" rx="3"/></svg>') center/cover;
}

.product-content {
    padding: 2rem;
}

.product-brand {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.product-name {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--primary);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.product-category {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.product-price {
    font-size: 1.75rem;
    font-weight: 300;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.product-financing {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Stats Bar */
.stats-bar {
    padding: 4rem 0;
    background: var(--primary);
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 0.95rem;
    opacity: 0.9;
    font-weight: 300;
}

/* Newsletter */
.newsletter {
    padding: 6rem 0;
    background: var(--white);
    text-align: center;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
}

.newsletter h2 {
    margin-bottom: 1rem;
    color: var(--primary);
}

.newsletter p {
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    font-size: 1.125rem;
    font-weight: 300;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto;
}

.newsletter-input {
    flex: 1;
    padding: 14px 16px;
    border: 2px solid var(--border);
    border-radius: 6px;
    background: var(--gray-50);
    font-size: 0.95rem;
    transition: border-color 0.2s ease;
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--accent);
}

/* Footer */
.footer {
    background: var(--primary);
    color: rgba(255, 255, 255, 0.9);
    padding: 5rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    color: white;
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: block;
    margin-bottom: 0.75rem;
    transition: color 0.2s ease;
    font-size: 0.95rem;
    font-weight: 300;
}

.footer-section a:hover {
    color: white;
}

.footer-section ul {
    list-style: none;
}

.store-info {
    font-size: 0.95rem;
    line-height: 1.7;
    font-weight: 300;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 1.1rem;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 300;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .categories-grid { grid-template-columns: 1fr 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem 3rem; }
    .footer-content { grid-template-columns: 1fr 1fr; gap: 3rem; }
}

@media (max-width: 768px) {
    .nav-menu { display: none; }
    .mobile-toggle { display: flex; }
    
    .hero {
        min-height: 70vh;
        max-height: 100vh;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .categories-grid { grid-template-columns: 1fr; gap: 2rem; }
    .stats-grid { grid-template-columns: 1fr; text-align: center; }
    .newsletter-form { flex-direction: column; }
    .footer-content { grid-template-columns: 1fr; gap: 2rem; }
    
    .categories, .featured {
        padding: 4rem 0;
    }
}

/* Mobile Menu Styles */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 2rem;
        transition: left 0.3s ease;
        z-index: 999;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
        display: flex;
    }
    
    .nav-item {
        width: 90%;
        text-align: center;
        margin: 0.25rem 0;
    }
    
    /* Main menu items (headings) */
    .nav-item > a {
        font-size: 1.2rem;
        font-weight: 600;
        color: var(--primary);
        display: block;
        padding: 0.1rem 1rem;
        text-transform: uppercase;
        letter-spacing: 0.05em;
    }

    .nav-item.dropdown {
        position: relative;
        margin-bottom: 0.5rem;
    }
    
    /* Dropdown heading */
    .nav-item.dropdown > a {
        font-size: 1.2rem;
        font-weight: 600;
        color: var(--primary);
        border-bottom: 2px solid var(--gray-300);
        padding-bottom: 0.5rem;
        margin-bottom: 0.5rem;
    }
    
    .dropdown-content {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: transparent;
        border-radius: 0;
        margin-top: 0;
        width: 100%;
        padding: 0;
    }
    
    /* Sub-menu items */
    .dropdown-content a {
        padding: 0.6rem 1rem;
        font-size: 0.95rem;
        font-weight: 400;
        background: var(--gray-50);
        margin: 0.25rem 0;
        border-radius: 6px;
        color: var(--text-secondary);
    }
    
    .dropdown-content a:hover {
        background: var(--gray-100);
        color: var(--primary);
    }
}

/* Additional styles for dynamic featured products loading */

.loading-message, 
.error-message, 
.no-products-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.loading-message {
    color: var(--text-secondary);
    font-size: 1.125rem;
    font-weight: 300;
}

.error-message h3,
.no-products-message h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 400;
}

.error-message p,
.no-products-message p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1rem;
    line-height: 1.6;
}

.error-message .btn {
    margin-top: 1rem;
}

/* Enhanced product image styles for database images */
.product-image {
    position: relative;
    overflow: hidden;
    background-color: white;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.3s ease;
    width: 100%;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-card:hover .product-image img {
    transform: scale(1.02);
}

/* Alternative styling for bikes that need full container coverage */
.product-image.cover-style {
    background-size: cover;
}

.product-image.cover-style img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Fallback for missing images */
.placeholder-bike {
    font-size: 4rem;
    color: var(--gray-400);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

/* Image loading and error states */
.product-image img[style*="display: none"] + .placeholder-bike,
.product-image:not(:has(img)) .placeholder-bike {
    display: flex;
}

/* Loading animation */
.loading-message::after {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid var(--gray-300);
    border-top: 2px solid var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 10px;
    vertical-align: middle;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Product badge enhancements */
.product-badge.low-stock {
    background: #ed8936;
    color: white;
}

.product-badge.last-one {
    background: #e53e3e;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Carousel Styles */
.products-carousel-container {
    position: relative;
    overflow: hidden;
}

.products-grid.carousel {
    display: flex;
    transition: transform 0.5s ease;
    gap: 2.5rem;
}

.products-grid.carousel .product-card {
    flex: 0 0 calc(33.333% - 1.67rem);
    max-width: calc(33.333% - 1.67rem);
}

.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.carousel-btn {
    width: 48px;
    height: 48px;
    border: 2px solid var(--border);
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.carousel-btn:hover {
    background: var(--gray-50);
    border-color: var(--accent);
    color: var(--accent);
}

.carousel-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.carousel-btn:disabled:hover {
    background: var(--white);
    border-color: var(--border);
    color: var(--text-secondary);
}

.carousel-indicators {
    display: flex;
    gap: 0.5rem;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gray-300);
    cursor: pointer;
    transition: all 0.2s ease;
}

.carousel-dot.active {
    background: var(--accent);
    transform: scale(1.2);
}

.nav-item.dropdown {
    position: relative;  /* Ensure dropdown positions relative to parent */
}

/* Responsive adjustments for loading states and carousel */
@media (max-width: 1024px) {
    .products-grid.carousel .product-card {
        flex: 0 0 calc(50% - 1.25rem);
        max-width: calc(50% - 1.25rem);
    }
}

@media (max-width: 768px) {
    .loading-message, 
    .error-message, 
    .no-products-message {
        padding: 2rem 1rem;
        margin: 1rem 0;
    }
    
    .error-message h3,
    .no-products-message h3 {
        font-size: 1.25rem;
    }
    
    .products-grid.carousel .product-card {
        flex: 0 0 calc(100% - 0rem);
        max-width: calc(100% - 0rem);
    }
    
    .carousel-controls {
        margin-top: 1.5rem;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}