/* =============================
   PRODUCTS PAGE MAIN STYLES
   ============================= */

/* Product Hero Section */
.product-hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 50vh;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: relative;
    z-index: 2;
}

.hero-model {
    position: relative;
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-model-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.hero-content {
    padding: 2rem 0;
    color: white;
}

.hero-breadcrumb {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.breadcrumb-separator {
    margin: 0 10px;
}

.hero-title {
    margin: 0;
    text-align: center;
}

.title-script {
    font-family: 'Dancing Script', cursive;
    font-size: 2rem;
    font-weight: 400;
    display: block;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.title-main {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: 3px;
    display: block;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, #52c4b8, #e7548a);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.title-brand {
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 2px;
    display: block;
    color: rgba(255, 255, 255, 0.8);
}

/* Products Section */
.products-section {
    padding: 60px 0;
    background: #f8f9fa;
}

/* Products Header */
.products-header {
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.results-info {
    color: #666;
    font-size: 0.95rem;
}

.results-count {
    font-weight: 500;
}

/* Sort Controls */
.sort-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sort-label {
    font-weight: 600;
    color: #333;
    margin: 0;
    white-space: nowrap;
}

.sort-select {
    border: 2px solid #e7548a;
    border-radius: 25px;
    padding: 8px 15px;
    font-weight: 500;
    min-width: 180px;
}

.sort-select:focus {
    border-color: #52c4b8;
    box-shadow: 0 0 0 0.2rem rgba(82, 196, 184, 0.25);
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

/* Filters Sidebar */
.filters-sidebar {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 25px;
    height: fit-content;
    position: sticky;
    top: 120px;
}

/* Pagination */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.pagination .page-link {
    border: none;
    color: #666;
    font-weight: 500;
    padding: 12px 16px;
    margin: 0 5px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.pagination .page-link:hover {
    background: var(--primary-color);
    color: white;
}

.pagination .page-item.active .page-link {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* Responsive */
@media (max-width: 991.98px) {
    .hero-model {
        height: 30vh;
    }
    
    .title-main {
        font-size: 2.5rem;
    }
    
    .filters-sidebar {
        margin-bottom: 30px;
        position: relative;
        top: auto;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 767.98px) {
    .title-main {
        font-size: 2rem;
    }
    
    .title-script {
        font-size: 1.5rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 15px;
    }
    
    .sort-controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    .sort-select {
        min-width: auto;
    }
}