﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

body {
    background: #f8faf8;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.corporate-bar {
    background: #1a3b2e;
    color: rgba(255,255,255,0.85);
    padding: 8px 5%;
    font-size: 0.8rem;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #2d5a47;
    flex-wrap: wrap;
    gap: 10px;
}

    .corporate-bar a {
        color: #8ec9a8;
        text-decoration: none;
        margin-left: 12px;
    }

#app {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
    width: 100%;
    flex: 1;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 2px solid #e2eee6;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.logo h1 {
    font-weight: 700;
    font-size: clamp(1.8rem, 5vw, 2.2rem);
    color: #1a3b2e;
}

.logo span {
    color: #2e8b57;
    font-weight: 400;
}

.logo small {
    font-size: 0.75rem;
    color: #6b8a7a;
    display: block;
    letter-spacing: 2px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.location-selector {
    background: white;
    padding: 8px 16px;
    border-radius: 40px;
    border: 1px solid #d0e0d8;
    font-size: 0.9rem;
    cursor: pointer;
}

.cart-icon {
    background: #1a3b2e;
    color: white;
    padding: 12px 20px;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

nav {
    display: flex;
    gap: 10px;
    margin: 15px 0 20px;
    flex-wrap: wrap;
}

    nav a {
        text-decoration: none;
        color: #4a6b5d;
        font-weight: 500;
        padding: 8px 16px;
        border-radius: 30px;
        transition: all 0.2s;
        white-space: nowrap;
    }

        nav a.active {
            background: #1a3b2e;
            color: white;
        }

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 15px;
    margin: 25px 0;
}

.category-card {
    background: white;
    padding: 18px 10px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid #e2eee6;
    cursor: pointer;
    transition: all 0.2s;
}

    .category-card:hover {
        border-color: #2e8b57;
        box-shadow: 0 8px 20px rgba(46, 139, 87, 0.1);
        transform: translateY(-3px);
    }

    .category-card i {
        font-size: 2rem;
        color: #2e8b57;
        margin-bottom: 8px;
    }

    .category-card span {
        display: block;
        font-size: 0.85rem;
        font-weight: 500;
    }

.hero-banner {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    padding: clamp(25px, 5vw, 40px);
    border-radius: 24px;
    margin: 25px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

    .hero-banner h2 {
        font-size: clamp(1.8rem, 5vw, 2.5rem);
        color: #1a3b2e;
    }

.search-bar {
    display: flex;
    background: white;
    padding: 5px;
    border-radius: 60px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
    width: 100%;
    max-width: 450px;
}

    .search-bar input {
        border: none;
        padding: 14px 20px;
        flex: 1;
        border-radius: 40px;
        outline: none;
        font-size: 1rem;
    }

    .search-bar button {
        background: #1a3b2e;
        border: none;
        color: white;
        padding: 12px 28px;
        border-radius: 40px;
        font-weight: 600;
        cursor: pointer;
    }

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 35px 0 20px;
    flex-wrap: wrap;
    gap: 10px;
}

    .section-header h3 {
        font-size: clamp(1.3rem, 4vw, 1.6rem);
        color: #1a3b2e;
    }

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
}

.product-card {
    background: white;
    border-radius: 20px;
    padding: 18px 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    border: 1px solid #eaf1ec;
    transition: all 0.2s;
    text-align: center;
    position: relative;
}

    .product-card:hover {
        box-shadow: 0 15px 30px rgba(46, 139, 87, 0.1);
        border-color: #c8e6c9;
    }

.discount-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ff6b35;
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
}

.product-image {
    aspect-ratio: 1;
    border-radius: 16px;
    margin-bottom: 15px;
    overflow: hidden;
}

    .product-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.product-card h4 {
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 0.95rem;
    color: #1a3b2e;
}

.product-category {
    font-size: 0.7rem;
    color: #6b8a7a;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.price-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 12px;
}

.current-price {
    font-weight: 700;
    color: #1a3b2e;
    font-size: 1.2rem;
}

.old-price {
    color: #a0b8ac;
    text-decoration: line-through;
    font-size: 0.85rem;
}

.btn-add {
    background: #e8f5e9;
    border: none;
    color: #1a3b2e;
    font-weight: 600;
    padding: 10px 0;
    border-radius: 30px;
    width: 100%;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.85rem;
}

    .btn-add:hover {
        background: #1a3b2e;
        color: white;
    }

.footer-portfolio {
    margin-top: 60px;
    background: white;
    border-radius: 24px;
    padding: clamp(20px, 5vw, 30px);
    border: 1px solid #e2eee6;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.company-details i {
    width: 25px;
    color: #2e8b57;
}

@media (max-width: 768px) {
    .corporate-bar {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    header {
        flex-direction: column;
        text-align: center;
    }

    .header-actions {
        justify-content: center;
    }

    nav {
        justify-content: center;
    }

    .hero-banner {
        flex-direction: column;
        text-align: center;
    }

    .search-bar {
        max-width: 100%;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .category-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .footer-portfolio {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: 1fr;
    }

    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
