﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background: linear-gradient(145deg, #fdf2f8 0%, #fce7f3 50%, #f8fafc 100%);
    min-height: 100vh;
    color: #1a1a2e;
    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, #ec4899, #be185d);
    border-radius: 10px;
}

.app {
    max-width: 1440px;
    margin: 0 auto;
    padding: 1.5rem 2rem 3rem;
}

/* ----- Modern Header ----- */
.fashion-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.75);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 32px;
    border: 1px solid rgba(236, 72, 153, 0.15);
    box-shadow: 0 20px 40px rgba(236, 72, 153, 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, #ec4899, #be185d);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.6rem;
    box-shadow: 0 10px 25px rgba(236, 72, 153, 0.25);
}

.brand-text h1 {
    font-size: 1.9rem;
    font-weight: 700;
    background: linear-gradient(135deg, #831843, #9d174d);
    -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(236, 72, 153, 0.06);
    border-radius: 40px;
    border: 1px solid rgba(236, 72, 153, 0.2);
    font-size: 0.9rem;
    color: #1e293b;
    font-weight: 500;
    transition: all 0.2s;
}

    .info-chip i {
        color: #ec4899;
        font-size: 1rem;
    }

    .info-chip a {
        text-decoration: none;
        color: inherit;
    }

    .info-chip:hover {
        background: rgba(236, 72, 153, 0.12);
        transform: translateY(-2px);
    }

/* ----- Hero Banner ----- */
.hero-banner {
    margin-bottom: 2.5rem;
    position: relative;
}

.banner-content {
    background: linear-gradient(135deg, #831843 0%, #9d174d 50%, #be185d 100%);
    border-radius: 40px;
    padding: 2.5rem 3rem;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 50px rgba(236, 72, 153, 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-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;
}

/* ----- Category Navigation ----- */
.category-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 2.5rem;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 60px;
    border: 1px solid rgba(236, 72, 153, 0.1);
}

.cat-btn {
    flex: 0 1 auto;
    padding: 0.8rem 1.5rem;
    font-size: 0.95rem;
    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.5rem;
    white-space: nowrap;
}

    .cat-btn i {
        font-size: 1rem;
        color: #ec4899;
        transition: transform 0.2s;
    }

    .cat-btn:hover {
        background: rgba(236, 72, 153, 0.08);
        color: #831843;
    }

        .cat-btn:hover i {
            transform: scale(1.1);
        }

    .cat-btn.active {
        background: linear-gradient(135deg, #ec4899, #be185d);
        color: white;
        box-shadow: 0 10px 25px rgba(236, 72, 153, 0.3);
    }

        .cat-btn.active i {
            color: white;
        }

    .cat-btn.all-btn.active {
        background: linear-gradient(135deg, #8b5cf6, #6d28d9);
        box-shadow: 0 10px 25px rgba(139, 92, 246, 0.3);
    }

/* ----- Filter Bar ----- */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.8rem;
}

.search-box {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    padding: 0.6rem 1.2rem;
    border-radius: 40px;
    border: 1px solid rgba(236, 72, 153, 0.15);
    min-width: 280px;
}

    .search-box i {
        color: #ec4899;
        margin-right: 0.8rem;
    }

    .search-box input {
        border: none;
        background: transparent;
        outline: none;
        font-family: 'Outfit', sans-serif;
        font-size: 0.95rem;
        width: 100%;
    }

        .search-box input::placeholder {
            color: #94a3b8;
        }

.sort-select {
    padding: 0.6rem 1.5rem;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(236, 72, 153, 0.15);
    border-radius: 40px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    color: #1e293b;
    outline: none;
    cursor: pointer;
}

/* ----- 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: 1.8rem;
}

    .section-header h3 {
        font-size: 2rem;
        font-weight: 700;
        letter-spacing: -0.02em;
        color: #831843;
    }

.item-count {
    background: rgba(236, 72, 153, 0.1);
    padding: 0.4rem 1.2rem;
    border-radius: 40px;
    color: #be185d;
    font-weight: 600;
    font-size: 0.95rem;
}

/* ----- Products Grid ----- */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

.product-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 1.2rem 1rem 1.2rem;
    border: 1px solid rgba(236, 72, 153, 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(-6px);
        box-shadow: 0 30px 50px rgba(236, 72, 153, 0.12);
        border-color: #ec4899;
        background: white;
    }

.wishlist-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 32px;
    height: 32px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ec4899;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    z-index: 2;
    border: 1px solid rgba(236, 72, 153, 0.2);
}

    .wishlist-btn:hover {
        background: #ec4899;
        color: white;
        transform: scale(1.1);
    }

    .wishlist-btn.active {
        background: #ec4899;
        color: white;
    }

.product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 0.2rem 0.7rem;
    border-radius: 40px;
    font-size: 0.7rem;
    font-weight: 700;
    z-index: 2;
}

    .product-badge.sale {
        background: linear-gradient(135deg, #ef4444, #dc2626);
    }

    .product-badge.new {
        background: linear-gradient(135deg, #8b5cf6, #6d28d9);
    }

.product-image {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 1rem;
    background: linear-gradient(145deg, #fce7f3, #fbcfe8);
    transition: transform 0.3s;
}

.product-card:hover .product-image {
    transform: scale(1.02);
}

.product-brand {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #ec4899;
    margin-bottom: 0.25rem;
}

.product-name {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
    color: #1e293b;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-category {
    font-size: 0.75rem;
    color: #64748b;
    margin-bottom: 0.5rem;
}

.rating {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    margin-bottom: 0.75rem;
}

.stars {
    display: flex;
    gap: 2px;
}

    .stars i {
        font-size: 0.7rem;
        color: #fbbf24;
    }

.rating-count {
    font-size: 0.7rem;
    color: #94a3b8;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.price-section {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.current-price {
    font-weight: 700;
    font-size: 1.2rem;
    color: #831843;
}

.old-price {
    font-size: 0.8rem;
    color: #94a3b8;
    text-decoration: line-through;
}

.add-cart-btn {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: linear-gradient(135deg, #ec4899, #be185d);
    border: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 5px 15px rgba(236, 72, 153, 0.3);
    font-size: 0.9rem;
}

    .add-cart-btn:hover {
        transform: scale(1.1);
        box-shadow: 0 8px 20px rgba(236, 72, 153, 0.4);
    }

/* ----- Size Guide ----- */
.size-options {
    display: flex;
    gap: 0.3rem;
    margin-bottom: 0.75rem;
}

.size-badge {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: rgba(236, 72, 153, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 600;
    color: #64748b;
    border: 1px solid rgba(236, 72, 153, 0.15);
}

/* ----- Cart Sidebar ----- */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 380px;
    height: 100vh;
    background: white;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 1000;
    padding: 1.5rem;
    overflow-y: auto;
}

    .cart-sidebar.open {
        right: 0;
    }

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(4px);
    z-index: 999;
    display: none;
}

    .cart-overlay.open {
        display: block;
    }

.cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

    .cart-header h4 {
        font-size: 1.3rem;
        font-weight: 600;
        color: #831843;
    }

.close-cart {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #f1f5f9;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #64748b;
}

.cart-items {
    margin-bottom: 1.5rem;
}

.cart-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #f1f5f9;
}

.cart-item-img {
    width: 60px;
    height: 80px;
    border-radius: 10px;
    object-fit: cover;
}

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: #1e293b;
}

.cart-item-price {
    color: #ec4899;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

.cart-item-remove {
    color: #ef4444;
    cursor: pointer;
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

.cart-footer {
    border-top: 1px solid #e2e8f0;
    padding-top: 1rem;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    margin-bottom: 1rem;
}

.checkout-btn-full {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #ec4899, #be185d);
    border: none;
    border-radius: 14px;
    color: white;
    font-weight: 600;
    cursor: pointer;
}

/* ----- Cart Toggle Button ----- */
.cart-toggle {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    border-radius: 20px;
    background: linear-gradient(135deg, #ec4899, #be185d);
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(236, 72, 153, 0.4);
    z-index: 998;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ef4444;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ----- Footer ----- */
.shop-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(236, 72, 153, 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: 1rem;
}

.footer-link {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ec4899;
    font-size: 1.1rem;
    transition: all 0.2s;
    border: 1px solid rgba(236, 72, 153, 0.1);
}

    .footer-link:hover {
        background: #ec4899;
        color: white;
        transform: translateY(-3px);
    }

/* ----- Responsive ----- */
@media (max-width: 768px) {
    .app {
        padding: 1rem 1rem 2rem;
    }

    .fashion-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .banner-content {
        padding: 1.5rem;
    }

    .banner-text h2 {
        font-size: 2rem;
    }

    .banner-badge {
        position: static;
        margin-top: 1rem;
        display: inline-block;
    }

    .filter-bar {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

    .search-box {
        min-width: auto;
    }

    .category-nav {
        border-radius: 30px;
    }

    .cat-btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }

    .cat-btn span {
        display: none;
    }

    .cat-btn i {
        font-size: 1.2rem;
    }

    .cat-btn {
        padding: 0.7rem;
        justify-content: center;
    }
}

/* No Results */
.no-results {
    text-align: center;
    padding: 3rem;
    color: #64748b;
    font-size: 1.1rem;
    grid-column: 1 / -1;
}
