.hero-section {
    padding: 40px 5% 20px 5%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-card {
    position: relative;
    max-width: 1000px;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 43, 91, 0.15);
    border-top: 5px solid var(--dark-blue);
    border-bottom: 5px solid var(--bright-green);
    transition: transform 0.3s ease;
    background-image: url('bg-image.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--dark-blue);
}

.hero-card:hover {
    transform: translateY(-3px);
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(0, 43, 91, 0.95) 0%, rgba(0, 43, 91, 0.85) 40%, rgba(0, 43, 91, 0.3) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 60px 50px;
    max-width: 650px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.hero-content p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.8;
    margin-bottom: 30px;
    font-weight: 400;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.shop-btn {
    background-color: var(--bright-green);
    color: var(--white);
    border: none;
    padding: 14px 40px;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(0, 128, 0, 0.4);
    text-decoration: none;
}

.shop-btn:hover {
    background-color: var(--white);
    color: var(--dark-blue);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.products-section {
    padding: 40px 5% 60px 5%;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.section-title {
    color: var(--dark-blue);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
}

.section-title span {
    color: var(--bright-green);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    justify-content: center;
    justify-items: center;
}

.product-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    border: 1px solid #eaeaea;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 280px;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 43, 91, 0.15);
    border-color: var(--bright-green);
}

.product-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    background-color: var(--light-bg);
    flex-shrink: 0;
}

.product-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-category {
    font-size: 0.8rem;
    color: var(--bright-green);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

.product-name {
    font-size: 1.15rem;
    color: var(--dark-blue);
    font-weight: 600;
    margin-bottom: 10px;
}

.product-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
    flex-wrap: wrap;
    gap: 10px;
}

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

.product-unit {
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 400;
}

.add-to-cart-btn {
    background-color: var(--dark-blue);
    color: var(--white);
    border: none;
    padding: 8px 15px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    flex-shrink: 0;
}

.add-to-cart-btn:hover {
    background-color: var(--bright-green);
}

.loading-text, .empty-text {
    text-align: center;
    width: 100%;
    padding: 40px;
    color: var(--text-light);
    font-size: 1.1rem;
    grid-column: 1 / -1;
}

.empty-text i {
    display: block;
    font-size: 2rem;
    margin-bottom: 15px;
    color: #ccc;
}

@media (min-width: 1400px) {
    .product-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1100px) and (min-width: 851px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 850px) {
    .hero-overlay {
        background: linear-gradient(135deg, rgba(0, 43, 91, 0.95) 0%, rgba(0, 43, 91, 0.9) 100%);
    }
    .hero-content {
        padding: 40px 30px;
        max-width: 100%;
        align-items: center;
        text-align: center;
    }
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .hero-section { padding: 20px 15px; }
    .hero-content { padding: 30px 20px; }
    .hero-content p { font-size: 0.95rem; }
    .shop-btn { padding: 12px 30px; font-size: 0.95rem; }

    .products-section { padding: 20px 15px 40px 15px; }
    .section-title { font-size: 1.5rem; }
    .product-grid {
        grid-template-columns: 1fr;
    }
    .product-card {
        max-width: 100%;
    }
}