/* ===== UPDATED SHOP.CSS - ALL CLASSES MATCHING HTML ===== */

/* Shop Header - Now matches all shop pages */
.shop-header {
    padding: 120px 20px 60px;
    text-align: center;
    background-size: cover;
    background-position: center;
    margin-top: 80px;
    position: relative;
}

.shop-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0,0,0,0.85), rgba(0,0,0,0.85));
}

.shop-header .container {
    position: relative;
    z-index: 2;
}

.shop-header h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-family: 'Croissant One', serif;
    color: white;
}

.shop-header p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
    color: rgba(255,255,255,0.8);
}

/* Products Grid - MAIN CLASS USED EVERYWHERE */
.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Also support products-grid for backward compatibility */
#products-grid,
#perfumes-grid,
#clothes-grid,
#shoes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Premium Card - MAIN CARD STYLE */
.premium-card {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Also support product-card class */
.product-card {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.premium-card:hover,
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 71, 87, 0.3);
}

/* Image Container */
.product-image-container {
    position: relative;
    overflow: hidden;
    height: 100px;
}

.product-image {
            width: 100%;
            height: 220px;
            object-fit: cover;
        }

.premium-card:hover .product-image,
.product-card:hover .product-image {
    transform: scale(1.05);
}

/* Badge */
.premium-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #ff4757;
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

/* Product Info */
.product-info {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-header {
    margin-bottom: 12px;
}

.product-name {
    font-size: 1.1rem;
    color: white;
    margin-bottom: 5px;
    line-height: 1.3;
    font-weight: 600;
}

.product-category-tag {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(255, 71, 87, 0.1);
    color: #ff6b81;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.product-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 4px;
    flex-grow: 1;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.product-price {
    display: flex;
    flex-direction: column;
}

.current-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ff4757;
}

.old-price {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: line-through;
}

/* Button */
.add-to-cart {
    padding: 10px 20px;
    background: #ff4757;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.add-to-cart:hover {
    background: #ff6b81;
    transform: translateY(-2px);
}

/* Filters */
.filters {
    background: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 15px;
    margin: 40px auto;
    max-width: 1200px;
}

.filter-group {
    margin-bottom: 25px;
}

.filter-group h3 {
    margin-bottom: 15px;
    color: #ff4757;
    font-size: 1.1rem;
    font-weight: 600;
}
.price-range{
    width: 100%;
}
.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-btn {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.filter-btn:hover {
    background: rgba(255, 71, 87, 0.2);
    border-color: rgba(255, 71, 87, 0.4);
}

.filter-btn.active {
    background: #ff4757;
    border-color: #ff4757;
    color: white;
    box-shadow: 0 5px 15px rgba(255, 71, 87, 0.3);
}

/* Loading */
.loading {
    text-align: center;
    padding: 40px;
    grid-column: 1 / -1;
}

.loader {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top-color: #ff4757;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 768px) {
    .shop-header {
        padding: 100px 20px 40px;
    }
    
    .shop-header h1 {
        font-size: 2.2rem;
    }
    
    .shop-grid,
    #products-grid,
    #perfumes-grid,
    #clothes-grid,
    #shoes-grid {
        grid-template-columns: 1fr;
        padding: 20px;
        gap: 25px;
    }
    
    .filters {
        margin: 20px;
        padding: 20px;
    }
    
    .filter-options {
        gap: 8px;
    }
    
    .filter-btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}
/* ===== LUXURY PRICE RANGE SLIDER ===== */
.luxury-price-range {
    padding: 25px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.price-slider-container {
    position: relative;
    height: 30px;
    margin-bottom: 25px;
}

.price-slider-track {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    transform: translateY(-50%);
    overflow: hidden;
}

.price-slider-track::before {
    content: '';
    position: absolute;
    top: 0;
    left: var(--slider-min, 0%);
    right: calc(100% - var(--slider-max, 100%));
    height: 100%;
    background: linear-gradient(90deg, #ff4757, #ff6b81);
    border-radius: 2px;
}

.price-slider {
    position: absolute;
    width: 100%;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    pointer-events: none;
    z-index: 2;
    margin: 0;
}

.price-slider::-webkit-slider-thumb {
    pointer-events: all;
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: white;
    border: 3px solid #ff4757;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(255, 71, 87, 0.4),
                0 0 0 8px rgba(255, 71, 87, 0.1),
                inset 0 0 0 2px rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    position: relative;
}

.price-slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(255, 71, 87, 0.6),
                0 0 0 10px rgba(255, 71, 87, 0.15),
                inset 0 0 0 2px white;
}

.price-slider::-webkit-slider-thumb::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: #ff4757;
    border-radius: 50%;
}

.price-slider::-moz-range-thumb {
    pointer-events: all;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: white;
    border: 3px solid #ff4757;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(255, 71, 87, 0.4);
    transition: all 0.3s ease;
}

/* Price Inputs */
.price-inputs {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 15px;
}

.price-input-group {
    display: flex;
    align-items: center;
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 12px 16px;
    transition: all 0.3s ease;
}

.price-input-group:focus-within {
    border-color: #ff4757;
    background: rgba(255, 71, 87, 0.05);
    box-shadow: 0 0 0 3px rgba(255, 71, 87, 0.1);
}

.currency {
    color: #ff4757;
    font-weight: 600;
    font-size: 1.1rem;
    margin-right: 8px;
}

.price-input {
    background: transparent;
    border: none;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    width: 100%;
    outline: none;
    font-family: 'Poppins', sans-serif;
}

.price-input::-webkit-outer-spin-button,
.price-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.price-input[type=number] {
    -moz-appearance: textfield;
}

.separator {
    color: rgba(255, 255, 255, 0.3);
    font-size: 1.5rem;
    font-weight: 300;
}

/* Price Labels */
.price-labels {
    display: flex;
    justify-content: space-between;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.price-label-min,
.price-label-max {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    font-weight: 500;
}

/* Apply Button */
.apply-price-filter {
    margin-top: 20px;
    padding: 12px 30px;
    background: linear-gradient(135deg, #ff4757, #ff6b81);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.apply-price-filter:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 71, 87, 0.3);
}

.apply-price-filter i {
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .luxury-price-range {
        padding: 20px;
    }
    
    .price-inputs {
        flex-direction: column;
        gap: 15px;
    }
    
    .separator {
        transform: rotate(90deg);
        margin: 5px 0;
    }
}