/* --- Theme Variables --- */
:root {
    --theme-pink: #FF4F81;
    --text-dark: #333;
    --bg-light: #f9f9f9;
}
/* fashion.css */

/* Target the brand name text specifically on the Fashion page */
.brand-name {
    color: var(--theme-pink) !important;

    background: none !important;
    -webkit-background-clip: initial !important; 
    background-clip: initial !important;
    -webkit-text-fill-color: var(--theme-pink) !important;
}

/* --- Fashion Hero Section --- */
.fashion-hero {
    height: 60vh;
    /* Using a high-quality fashion image from Unsplash */
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('https://images.unsplash.com/photo-1483985988355-763728e1935b?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 0; /* Removes gap if header is sticky/fixed */
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-family: 'Poppins', sans-serif;
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* --- Filter Bar --- */
.filters {
    padding: 2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    border-bottom: 1px solid #eee;
    background: white;
}

.filter-tags button {
    background: none;
    border: 1px solid #ddd;
    padding: 8px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    margin-right: 10px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.filter-tags button.active, 
.filter-tags button:hover {
    background-color: var(--theme-pink);
    color: white;
    border-color: var(--theme-pink);
    box-shadow: 0 4px 10px rgba(255, 79, 129, 0.3);
}

.sort-option select {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    outline: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
}

/* --- Products Grid Layout --- */
.products-section {
    padding: 4rem 5%;
    background-color: #fcfcfc;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

/* --- Product Card Styling --- */
.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    border: 1px solid #f0f0f0;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.product-image {
    height: 320px;
    width: 100%;
    object-fit: cover;
    display: block;
}

/* Wishlist Heart Icon */
.wishlist-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    color: #555;
    transition: 0.3s;
    z-index: 2;
}

.wishlist-btn:hover {
    color: var(--theme-pink);
    transform: scale(1.1);
}

/* Card Content */
.product-info {
    padding: 1.2rem;
}

.product-category {
    font-size: 0.75rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 5px;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rating {
    color: #FFD700;
    font-size: 0.85rem;
    margin-bottom: 12px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #eee;
}

.price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--theme-pink);
}

/* Add to Cart Button */
.add-cart-btn {
    background-color: var(--text-dark);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.add-cart-btn:hover {
    background-color: var(--theme-pink);
}

/* --- Active Nav Link Helper --- */
.nav-active {
    color: var(--theme-pink) !important;
    font-weight: 600;
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    .filters {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .sort-option {
        width: 100%;
    }
    
    .sort-option select {
        width: 100%;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
}