/* Shop Hero */
.shop-hero {
    position: relative;
    height: 30vh;
    min-height: 200px;
    background: linear-gradient(rgba(44, 62, 80, 0.85), rgba(44, 62, 80, 0.85)), 
                url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?auto=format&fit=crop&w=1600&q=80') center/cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    margin-bottom: 0;
    padding: 1rem;
}

.shop-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #FFFFFF;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.shop-hero p {
    font-size: 1.1rem;
    opacity: 0.95;
    margin-top: 8px;
    font-weight: 300;
    text-shadow: 0 1px 5px rgba(0,0,0,0.5);
}

@media (max-width: 768px) {
    .shop-hero {
        height: 25vh;
        min-height: 180px;
    }
    
    .shop-hero h1 {
        font-size: 1.8rem;
        letter-spacing: 1px;
    }
    
    .shop-hero p {
        font-size: 0.95rem;
    }
}

/* Countries Section */
.countries-section {
    background-color: #F8F9FA;
    padding: 60px 20px;
    margin-top: 0;
}

.countries-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.country-card {
    background: #FFFFFF;
    padding: 2rem 1.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

.country-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.country-card:hover h3,
.country-card:hover p {
    color: white;
}

.country-flag {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.country-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2C3E50;
    margin-bottom: 0.5rem;
}

.country-card p {
    font-size: 0.9rem;
    color: #7F8C8D;
    margin: 0;
}

/* Search Section */
.search-section {
    padding: 3rem 2rem;
    background: #FFFFFF;
}

.search-box {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.search-box input {
    width: 100%;
    padding: 1.2rem 3.5rem 1.2rem 1.5rem;
    font-size: 1.1rem;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.search-box input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 6px 30px rgba(102, 126, 234, 0.2);
}

.search-icon {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    pointer-events: none;
}

.results-count {
    text-align: center;
    margin-top: 1rem;
    color: #7F8C8D;
    font-size: 0.95rem;
}

/* Products Section */
.products-section {
    padding: 3rem 2rem 5rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    background: #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

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

.product-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: #F8F9FA;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1rem;
    transition: transform 0.3s ease;
}

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

.product-info {
    padding: 1.5rem;
}

.product-info h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2C3E50;
    margin-bottom: 0.8rem;
    min-height: 2.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-btn {
    display: block;
    width: 100%;
    background: #E94560;
    color: #FFFFFF;
    text-align: center;
    padding: 0.9rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.product-btn:hover {
    background: #d63850;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(233, 69, 96, 0.3);
}

/* Load More Button */
.load-more-btn {
    display: block;
    margin: 3rem auto 0;
    padding: 1rem 3rem;
    background: #667eea;
    color: #FFFFFF;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.load-more-btn:hover {
    background: #764ba2;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
}

/* No Results */
.no-results {
    text-align: center;
    padding: 4rem 2rem;
    color: #7F8C8D;
}

.no-results p:first-child {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.no-results p:last-child {
    font-size: 1.1rem;
}

/* Hidden Class */
.hidden {
    display: none !important;
}

/* Responsive */
@media (max-width: 768px) {
    .countries-section {
        padding: 40px 15px;
    }

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

    .country-card {
        padding: 1.5rem 1rem;
    }

    .country-flag {
        font-size: 2.5rem;
    }

    .search-section {
        padding: 2rem 1rem;
    }

    .search-box input {
        font-size: 1rem;
        padding: 1rem 3rem 1rem 1.2rem;
    }

    .products-section {
        padding: 2rem 1rem 3rem;
    }

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