
/* Shop-specific styles */
.shop-hero {
    position: relative;
    padding: 8rem 0;
    color: white;
    text-align: center;
    margin-top: 90px; /* Account for fixed header */
    overflow: hidden;
}

.shop-video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.shop-bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    filter: brightness(0.7);
}

.shop-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.shop-hero .container {
    position: relative;
    z-index: 3;
}

.shop-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    animation: shopFadeInUp 1.2s ease-out;
}

/* Shop Animation Keyframes */
@keyframes shopFadeInUp {
    0% {
        opacity: 0;
        transform: translateY(60px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Floating particles effect */
.shop-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 60% 60%, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 50px 50px, 80px 80px, 120px 120px, 100px 100px;
    animation: shopParticles 25s linear infinite;
    z-index: 2;
    pointer-events: none;
}

@keyframes shopParticles {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
    }
}

.shop-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.shop-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.shop-content-wrapper {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    margin-top: 2rem;
}

.shop-filters {
    width: 320px;
    flex-shrink: 0;
    background: white;
    border-radius: 20px;
    padding: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    top: 120px;
}

.shop-filters::-webkit-scrollbar {
    width: 6px;
}

.shop-filters::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 3px;
}

.shop-filters::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 3px;
}

.shop-filters::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b5b95 100%);
}

.filters-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 20px 20px 0 0;
    position: relative;
    overflow: hidden;
}

.filters-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: filterHeaderFloat 10s ease-in-out infinite;
}

@keyframes filterHeaderFloat {
    0%, 100% { transform: translate(-50%, -50%) rotate(0deg); }
    50% { transform: translate(-50%, -50%) rotate(180deg); }
}

.filters-header-content {
    position: relative;
    z-index: 2;
}

.filters-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filters-subtitle {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0.5rem 0 0 0;
}

.filters-body {
    padding: 0;
}

.filter-section {
    border-bottom: 1px solid #e5e7eb;
    padding: 1.5rem;
}

.filter-section:last-child {
    border-bottom: none;
}

.filter-section-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-section-title i {
    color: #667eea;
    font-size: 1rem;
}

.shop-main-content {
    flex: 1;
    min-width: 0;
}

/* Price Filter Styles */
.price-filter-container {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    margin: 0;
    box-shadow: none;
    transition: none;
}

.price-filter-container:hover {
    border-color: transparent;
    transform: none;
    box-shadow: none;
}

.price-filter-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.price-filter-header i {
    color: #667eea;
    font-size: 1.1rem;
}

.price-filter-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-range-container {
    position: relative;
    margin: 1.5rem 0;
}

.price-range-slider {
    position: relative;
    width: 100%;
    height: 6px;
    background: linear-gradient(to right, #e5e7eb 0%, #e5e7eb 100%);
    border-radius: 3px;
    margin: 1rem 0;
}

.price-range-track {
    position: absolute;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.range-input-container {
    position: relative;
    width: 100%;
}

.range-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    -webkit-appearance: none;
    appearance: none;
    pointer-events: none;
    outline: none;
}

.range-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

.range-input::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.range-input::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    cursor: pointer;
    pointer-events: auto;
    border: none;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

.range-input::-moz-range-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.price-values {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

.price-value {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    min-width: 80px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.price-range-dash {
    color: #6b7280;
    font-weight: 500;
    margin: 0 0.5rem;
}

.price-filter-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.price-apply-btn {
    flex: 1;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.price-apply-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.price-clear-btn {
    background: white;
    color: #6b7280;
    border: 2px solid #e5e7eb;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.price-clear-btn:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
}

.filter-categories {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.filter-btn {
    padding: 1rem 1.25rem;
    border: 2px solid #e5e7eb;
    background: white;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #374151;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.filter-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.filter-btn:hover {
    border-color: #667eea;
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
}

.filter-btn-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-btn-icon {
    font-size: 1rem;
    opacity: 0.7;
}

.filter-btn.active .filter-btn-icon {
    opacity: 1;
}

.filter-badge {
    background: #f3f4f6;
    color: #6b7280;
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-weight: 600;
    min-width: 30px;
    text-align: center;
}

.filter-btn.active .filter-badge {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.shop-search {
    position: relative;
    margin-bottom: 1rem;
}

.shop-search input {
    padding: 1rem 1rem 1rem 3rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    width: 100%;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.shop-search input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    outline: none;
}

.shop-search .search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6b7280;
    transition: color 0.3s ease;
}

.shop-search input:focus + .search-icon {
    color: #667eea;
}

.sort-dropdown {
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    background: white;
    cursor: pointer;
    width: 100%;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.sort-dropdown:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    outline: none;
}

.shop-products {
    padding: 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.results-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #6b7280;
    font-size: 0.9rem;
    padding: 1rem 0;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 1rem;
}

.shop-product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #f1f5f9;
}

.shop-product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.results-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #6b7280;
    font-size: 0.9rem;
}

.no-results {
    text-align: center;
    padding: 6rem 2rem;
    color: #6b7280;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 20px;
    margin: 2rem 0;
    position: relative;
    overflow: hidden;
}

.no-results::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.05) 0%, transparent 70%);
    animation: noResultsFloat 8s ease-in-out infinite;
}

@keyframes noResultsFloat {
    0%, 100% { transform: translate(-50%, -50%) rotate(0deg); }
    50% { transform: translate(-50%, -50%) rotate(180deg); }
}

.no-results-content {
    position: relative;
    z-index: 2;
    max-width: 500px;
    margin: 0 auto;
}

.no-results-icon {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

.no-results-icon i {
    font-size: 5rem;
    color: #667eea;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: noResultsPulse 2s ease-in-out infinite;
}

@keyframes noResultsPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.no-results-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.no-results-description {
    font-size: 1.1rem;
    color: #6b7280;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.no-results-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.suggestion-btn {
    background: white;
    border: 2px solid #e5e7eb;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    color: #6b7280;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.suggestion-btn:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.suggestion-btn i {
    font-size: 0.9rem;
}

.no-results-primary-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.no-results-primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.no-results-primary-btn i {
    transition: transform 0.3s ease;
}

.no-results-primary-btn:hover i {
    transform: translateX(3px);
}

/* Mobile Filter Toggle */
.mobile-filter-toggle {
    display: none;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 1rem;
    width: 100%;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.mobile-filter-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.mobile-filter-toggle i {
    margin-right: 0.5rem;
}

@media (max-width: 1024px) {
    .shop-content-wrapper {
        gap: 1.5rem;
    }
    
    .shop-filters {
        width: 280px;
    }
}

@media (max-width: 768px) {
    .shop-title {
        font-size: 2rem;
    }
    
    .shop-hero {
        margin-top: 70px;
        padding: 2rem 0;
    }
    
    .shop-bg-video {
        filter: brightness(0.6);
    }
    
    .shop-content {
        padding: 1rem;
    }
    
    .shop-content-wrapper {
        flex-direction: column;
        gap: 1rem;
    }
    
    .mobile-filter-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 40px 0px 40px;
    }
    
    .shop-filters {
        width: 100%;
        position: relative;
        top: auto;
        max-height: none;
        order: -1;
        display: none;
        border-radius: 12px;
        margin-bottom: 1rem;
    }
    
    .shop-filters.show {
        display: block;
        animation: slideDown 0.3s ease-out;
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .filters-title {
        font-size: 1.2rem;
    }
    
    .filters-subtitle {
        font-size: 0.8rem;
    }
    
    .filter-section {
        padding: 1rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .no-results {
        padding: 3rem 1rem;
        margin: 1rem 0;
    }
    
    .no-results-title {
        font-size: 2rem;
    }
    
    .no-results-icon i {
        font-size: 4rem;
    }
    
    .no-results-suggestions {
        flex-direction: column;
        align-items: center;
    }
    
    .suggestion-btn {
        width: 100%;
        max-width: 200px;
        justify-content: center;
    }
    
    .no-results-primary-btn {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
    
    .price-values {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .price-range-dash {
        display: none;
    }
    
    .price-filter-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .price-apply-btn,
    .price-clear-btn {
        width: 100%;
        text-align: center;
    }
}

/* Pagination Styles */
.pagination-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 3rem;
    margin-bottom: 2rem;
}

.pagination {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.pagination-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1rem;
    min-width: 44px;
    height: 44px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    background: white;
    color: #6b7280;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    gap: 0.5rem;
}

.pagination-btn:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: transparent;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.pagination-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: transparent;
    color: white;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.pagination-btn.prev-btn,
.pagination-btn.next-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border: 2px solid #e5e7eb;
}

.pagination-btn.prev-btn:hover,
.pagination-btn.next-btn:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: transparent;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.pagination-dots {
    color: #9ca3af;
    font-weight: 500;
    padding: 0 0.5rem;
    display: flex;
    align-items: center;
    user-select: none;
}

.pagination-info {
    color: #6b7280;
    font-size: 0.9rem;
    text-align: center;
    padding: 0.5rem 1rem;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

@media (max-width: 768px) {
    .pagination {
        gap: 0.25rem;
    }
    
    .pagination-btn {
        padding: 0.5rem 0.75rem;
        min-width: 40px;
        height: 40px;
        font-size: 0.8rem;
    }
    
    .pagination-btn.prev-btn,
    .pagination-btn.next-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .pagination-info {
        font-size: 0.8rem;
        padding: 0.5rem;
    }
}
