﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(145deg, #f0fdf4 0%, #dcfce7 50%, #f8fafc 100%);
    min-height: 100vh;
    color: #1a2e1f;
    line-height: 1.5;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 10px;
}

.app {
    max-width: 1440px;
    margin: 0 auto;
    padding: 1.5rem 2rem 3rem;
}

/* ----- Modern Header with Glass Effect ----- */
.shop-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 2rem;
    margin-bottom: 2rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 32px;
    border: 1px solid rgba(16, 185, 129, 0.15);
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.08), 0 5px 15px rgba(0, 0, 0, 0.03);
}

.brand-area {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.brand-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.6rem;
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.25);
}

.brand-text h1 {
    font-size: 1.9rem;
    font-weight: 700;
    background: linear-gradient(135deg, #064e3b, #047857);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.02em;
}

.brand-text span {
    font-size: 0.85rem;
    font-weight: 500;
    color: #64748b;
    display: block;
    margin-top: 2px;
}

.company-info {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem 2rem;
    align-items: center;
}

.info-chip {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.2rem;
    background: rgba(16, 185, 129, 0.06);
    border-radius: 40px;
    border: 1px solid rgba(16, 185, 129, 0.2);
    font-size: 0.9rem;
    color: #1e293b;
    font-weight: 500;
    transition: all 0.2s;
}

    .info-chip i {
        color: #10b981;
        font-size: 1rem;
    }

    .info-chip a {
        text-decoration: none;
        color: inherit;
    }

    .info-chip:hover {
        background: rgba(16, 185, 129, 0.12);
        transform: translateY(-2px);
    }

/* ----- Hero Banner ----- */
.hero-banner {
    margin-bottom: 2.5rem;
    position: relative;
}

.banner-content {
    background: linear-gradient(135deg, #064e3b 0%, #047857 50%, #10b981 100%);
    border-radius: 40px;
    padding: 2.5rem 3rem;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 50px rgba(16, 185, 129, 0.2);
}

    .banner-content::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -10%;
        width: 400px;
        height: 400px;
        background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
        border-radius: 50%;
    }

    .banner-content::after {
        content: '';
        position: absolute;
        bottom: -30%;
        left: -5%;
        width: 300px;
        height: 300px;
        background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
        border-radius: 50%;
    }

.banner-text {
    position: relative;
    z-index: 2;
}

    .banner-text h2 {
        font-size: 2.8rem;
        font-weight: 700;
        letter-spacing: -0.03em;
        margin-bottom: 0.5rem;
    }

    .banner-text p {
        font-size: 1.2rem;
        opacity: 0.9;
        max-width: 500px;
    }

.banner-badge {
    position: absolute;
    right: 3rem;
    bottom: 2rem;
    z-index: 2;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    border-radius: 60px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-weight: 600;
    font-size: 1.1rem;
}

    .banner-badge i {
        margin-right: 8px;
    }

/* ----- Quick Actions ----- */
.quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.action-card {
    flex: 1;
    min-width: 180px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1.2rem 1.5rem;
    border-radius: 24px;
    border: 1px solid rgba(16, 185, 129, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.2s;
    cursor: pointer;
}

    .action-card:hover {
        background: white;
        transform: translateY(-3px);
        box-shadow: 0 15px 30px rgba(16, 185, 129, 0.1);
        border-color: #10b981;
    }

.action-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
}

.action-text h4 {
    font-weight: 600;
    color: #064e3b;
}

.action-text p {
    font-size: 0.85rem;
    color: #64748b;
}

/* ----- Category Navigation ----- */
.category-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 2.5rem;
    padding: 0.6rem;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 60px;
    border: 1px solid rgba(16, 185, 129, 0.1);
}

.cat-btn {
    flex: 0 1 auto;
    padding: 0.9rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    background: transparent;
    color: #475569;
    border-radius: 40px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    white-space: nowrap;
}

    .cat-btn i {
        font-size: 1.1rem;
        color: #10b981;
        transition: transform 0.2s;
    }

    .cat-btn:hover {
        background: rgba(16, 185, 129, 0.08);
        color: #064e3b;
    }

        .cat-btn:hover i {
            transform: scale(1.1);
        }

    .cat-btn.active {
        background: linear-gradient(135deg, #10b981, #059669);
        color: white;
        box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
    }

        .cat-btn.active i {
            color: white;
        }

    .cat-btn.all-btn.active {
        background: linear-gradient(135deg, #f59e0b, #d97706);
        box-shadow: 0 10px 25px rgba(245, 158, 11, 0.3);
    }

/* ----- Category Sections ----- */
.category-section {
    display: none;
    animation: fadeUp 0.4s ease-out;
}

    .category-section.active {
        display: block;
    }

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
}

    .section-header h3 {
        font-size: 2rem;
        font-weight: 700;
        letter-spacing: -0.02em;
        color: #064e3b;
    }

.item-count {
    background: rgba(16, 185, 129, 0.1);
    padding: 0.4rem 1.2rem;
    border-radius: 40px;
    color: #059669;
    font-weight: 600;
    font-size: 0.95rem;
}

/* ----- Products Grid ----- */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.8rem;
}

.product-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 28px;
    padding: 1.5rem 1.2rem 1.5rem;
    border: 1px solid rgba(16, 185, 129, 0.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.03);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    position: relative;
}

    .product-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 30px 50px rgba(16, 185, 129, 0.12);
        border-color: #10b981;
        background: white;
    }

.discount-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    padding: 0.25rem 0.8rem;
    border-radius: 40px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 2;
}

.product-image {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 1.2rem;
    background: linear-gradient(145deg, #d1fae5, #a7f3d0);
    transition: transform 0.3s;
}

.product-card:hover .product-image {
    transform: scale(1.03);
}

.product-category-tag {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #059669;
    background: rgba(16, 185, 129, 0.1);
    padding: 0.25rem 0.8rem;
    border-radius: 40px;
    display: inline-block;
    align-self: flex-start;
    margin-bottom: 0.7rem;
}

.product-name {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: #064e3b;
    line-height: 1.4;
}

.product-weight {
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 0.75rem;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.price-section {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.current-price {
    font-weight: 700;
    font-size: 1.3rem;
    color: #064e3b;
}

.old-price {
    font-size: 0.85rem;
    color: #94a3b8;
    text-decoration: line-through;
}

.add-btn {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    background: linear-gradient(135deg, #10b981, #059669);
    border: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 5px 15px rgba(16, 185, 129, 0.3);
    font-size: 1rem;
}

    .add-btn:hover {
        transform: scale(1.1);
        box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
    }

/* ----- Cart Summary ----- */
.cart-summary {
    margin-top: 3rem;
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 28px;
    border: 1px solid rgba(16, 185, 129, 0.15);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.cart-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.cart-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    position: relative;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ef4444;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
}

.cart-details h4 {
    font-weight: 600;
    color: #064e3b;
    margin-bottom: 0.25rem;
}

.cart-details p {
    color: #64748b;
    font-size: 0.9rem;
}

.checkout-btn {
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #064e3b, #047857);
    border: none;
    border-radius: 40px;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 10px 25px rgba(6, 78, 59, 0.25);
}

    .checkout-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 15px 30px rgba(6, 78, 59, 0.35);
    }

/* ----- Footer ----- */
.shop-footer {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(16, 185, 129, 0.15);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.footer-text {
    color: #64748b;
    font-weight: 500;
}

.footer-links {
    display: flex;
    gap: 1.2rem;
}

.footer-link {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #10b981;
    font-size: 1.2rem;
    transition: all 0.2s;
    border: 1px solid rgba(16, 185, 129, 0.1);
}

    .footer-link:hover {
        background: #10b981;
        color: white;
        transform: translateY(-3px);
    }

/* ----- Responsive ----- */
@media (max-width: 768px) {
    .app {
        padding: 1rem 1.2rem 2rem;
    }

    .shop-header {
        flex-direction: column;
        gap: 1.2rem;
        align-items: flex-start;
    }

    .banner-content {
        padding: 2rem 1.5rem;
    }

    .banner-text h2 {
        font-size: 2rem;
    }

    .banner-badge {
        position: static;
        margin-top: 1.5rem;
        display: inline-block;
    }

    .category-nav {
        border-radius: 30px;
    }

    .cat-btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
    }

    .section-header h3 {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }

    .quick-actions {
        flex-direction: column;
    }

    .cat-btn span {
        display: none;
    }

    .cat-btn i {
        font-size: 1.3rem;
    }

    .cat-btn {
        padding: 0.8rem;
        justify-content: center;
    }

    .cart-summary {
        flex-direction: column;
        align-items: stretch;
    }

    .checkout-btn {
        width: 100%;
    }
}
