/* ================= SHOP PAGE STYLES ================= */

/* Shop Hero */
.shop-hero {
    background: linear-gradient(135deg, #fefcf7 0%, #fff9f0 100%);
    padding: 100px 0 60px;
    position: relative;
    overflow: hidden;
}

.shop-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.shop-hero-bg .bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    transform: translate(-50%, -50%);
}

.shop-hero-bg .bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23d4af37' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.3;
}

.shop-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.shop-hero-content {
    animation: fadeInUp 0.8s ease;
}

.shop-hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.shop-hero-title .title-line {
    display: block;
}

.shop-hero-title .accent {
    color: #d4af37;
    position: relative;
    display: inline-block;
}

.shop-hero-title .accent::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #d4af37, transparent);
}

.shop-hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 30px;
    max-width: 500px;
}

.shop-hero-stats {
    display: flex;
    gap: 30px;
    margin-top: 40px;
}

.shop-hero-stats .stat {
    text-align: center;
}

.shop-hero-stats .stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 600;
    color: #d4af37;
    font-family: 'Playfair Display', serif;
}

.shop-hero-stats .stat-label {
    font-size: 0.9rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.shop-hero-visual {
    position: relative;
    height: 400px;
}

.floating-products {
    position: relative;
    height: 100%;
}

.product-float {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    animation: float 6s ease-in-out infinite;
    border: 2px solid rgba(212, 175, 55, 0.3);
}

.product-float:nth-child(1) {
    top: 0;
    left: 0;
    animation-delay: 0s;
}

.product-float:nth-child(2) {
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    animation-delay: 2s;
    width: 180px;
    height: 180px;
}

.product-float:nth-child(3) {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 4s;
    width: 160px;
    height: 160px;
}

.product-float img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-float:hover img {
    transform: scale(1.1);
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
}

/* Breadcrumb */
.breadcrumb {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
    margin-top: 40px;
}

.breadcrumb ol {
    display: flex;
    align-items: center;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.breadcrumb li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: #666;
}

.breadcrumb li:not(:last-child)::after {
    content: '›';
    color: #999;
}

.breadcrumb a {
    color: #666;
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: #d4af37;
}

.breadcrumb li[aria-current="page"] {
    color: #d4af37;
    font-weight: 500;
}

/* Shop Container Layout */
.shop-container {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
    min-height: 800px;
}

/* Sidebar Styles */
.shop-sidebar {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
    height: fit-content;
    position: sticky;
    top: 100px;
    overflow: hidden;
}

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
}

.sidebar-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
    font-family: 'Playfair Display', serif;
}

.clear-filters {
    background: none;
    border: none;
    color: #d4af37;
    font-size: 0.9rem;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background 0.2s;
}

.clear-filters:hover {
    background: rgba(212, 175, 55, 0.1);
}

.sidebar-close {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: #666;
}

.sidebar-scroll {
    max-height: calc(100vh - 200px);
    overflow-y: auto;
    padding-right: 10px;
}

.sidebar-scroll::-webkit-scrollbar {
    width: 4px;
}

.sidebar-scroll::-webkit-scrollbar-track {
    background: #f5f5f5;
    border-radius: 2px;
}

.sidebar-scroll::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 2px;
}

/* Active Filters in Sidebar */
.active-filters {
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.active-filter-chip {
    background: rgba(212, 175, 55, 0.1);
    color: #d4af37;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.active-filter-chip .remove-filter {
    background: none;
    border: none;
    color: #d4af37;
    cursor: pointer;
    padding: 0;
    font-size: 1.2rem;
    line-height: 1;
}

/* Filter Groups */
.filter-group {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #f5f5f5;
}

.filter-group:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.filter-title {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 16px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-icon {
    font-size: 1.2rem;
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Filter Checkboxes */
.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 4px 0;
    position: relative;
}

.filter-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid #ddd;
    border-radius: 4px;
    position: relative;
    flex-shrink: 0;
    transition: all 0.2s;
}

.filter-checkbox:hover .checkmark {
    border-color: #d4af37;
}

.filter-checkbox input:checked ~ .checkmark {
    background-color: #d4af37;
    border-color: #d4af37;
}

.filter-checkbox input:checked ~ .checkmark::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.filter-label {
    font-size: 0.95rem;
    color: #555;
    flex: 1;
}

.filter-count {
    font-size: 0.85rem;
    color: #999;
}

.view-more-categories {
    background: none;
    border: none;
    color: #d4af37;
    font-size: 0.9rem;
    cursor: pointer;
    padding: 8px 0;
    text-align: left;
    margin-top: 8px;
    font-weight: 500;
}

.view-more-categories:hover {
    text-decoration: underline;
}

/* Price Range Filter */
.price-filter {
    padding: 10px 0;
}

.price-range-slider {
    position: relative;
    height: 4px;
    background: #eee;
    border-radius: 2px;
    margin: 20px 0;
}

.price-range-slider input[type="range"] {
    position: absolute;
    width: 100%;
    height: 4px;
    background: none;
    pointer-events: none;
    -webkit-appearance: none;
    appearance: none;
}

.price-range-slider input[type="range"]::-webkit-slider-thumb {
    pointer-events: all;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #d4af37;
    border: 2px solid white;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}

.price-range-slider input[type="range"]::-moz-range-thumb {
    pointer-events: all;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #d4af37;
    border: 2px solid white;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    cursor: pointer;
}

.price-slider-track {
    position: absolute;
    height: 4px;
    background: #d4af37;
    border-radius: 2px;
}

.price-inputs {
    display: flex;
    gap: 16px;
    margin-top: 20px;
}

.price-input {
    flex: 1;
}

.price-input span {
    display: block;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 6px;
}

.price-input input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.95rem;
    color: #333;
    transition: border 0.2s;
}

.price-input input:focus {
    outline: none;
    border-color: #d4af37;
}

/* Weight Filter Chips */
.weight-filter {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-chip {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: #f8f8f8;
    border: 1px solid #eee;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.9rem;
    color: #666;
}

.filter-chip:hover {
    background: #f0f0f0;
}

.filter-chip input {
    display: none;
}

.filter-chip input:checked + span {
    color: #d4af37;
    font-weight: 500;
}

.filter-chip input:checked ~ span {
    color: #d4af37;
    font-weight: 500;
}

/* Color Filter */
.color-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.color-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.color-swatch {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid transparent;
    transition: all 0.2s;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.color-option:hover .color-swatch {
    transform: scale(1.1);
    border-color: #ddd;
}

.color-option input:checked ~ .color-swatch {
    border-color: #d4af37;
    transform: scale(1.1);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
}

.color-label {
    font-size: 0.8rem;
    color: #666;
}

.color-option input:checked ~ .color-label {
    color: #d4af37;
    font-weight: 500;
}

/* Sidebar Footer */
.sidebar-footer {
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
    margin-top: 20px;
}

.apply-filters {
    width: 100%;
    padding: 14px;
    background: #d4af37;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.apply-filters:hover {
    background: #c19b2e;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
}

/* Shop Main Content */
.shop-main {
    min-width: 0; /* Prevents overflow */
}

/* Mobile Filter Bar */
.mobile-filter-bar {
    display: none;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.filter-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    transition: all 0.2s;
}

.filter-toggle:hover {
    border-color: #d4af37;
    color: #d4af37;
}

.filter-count-badge {
    background: #d4af37;
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
}

.sort-options-mobile select {
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #333;
    background: white;
    cursor: pointer;
    min-width: 140px;
}

/* Results Header */
.results-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
}

.results-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 8px 0;
    font-family: 'Playfair Display', serif;
}

.results-count {
    font-size: 0.95rem;
    color: #666;
    margin: 0;
}

.results-count span {
    color: #d4af37;
    font-weight: 600;
}

.results-controls {
    display: flex;
    align-items: center;
    gap: 20px;
}

.view-toggle {
    display: flex;
    gap: 4px;
    background: #f8f8f8;
    padding: 4px;
    border-radius: 8px;
}

.view-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    color: #999;
    transition: all 0.2s;
}

.view-btn.active {
    background: white;
    color: #d4af37;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.view-btn:hover:not(.active) {
    color: #666;
}

.sort-options {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sort-options label {
    font-size: 0.95rem;
    color: #666;
    white-space: nowrap;
}

.sort-options select {
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #333;
    background: white;
    cursor: pointer;
    min-width: 160px;
}

/* Active Filters Bar */
.active-filters-bar {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
    padding: 16px;
    background: #fcfaf6;
    border-radius: 12px;
    border: 1px solid #f0e6d6;
}

.active-filters-list {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    min-height: 32px;
}

.active-filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    font-size: 0.85rem;
    color: #555;
}

.active-filter-tag .remove-tag {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    padding: 0;
    font-size: 1.2rem;
    line-height: 1;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.active-filter-tag .remove-tag:hover {
    color: #ff4444;
}

.clear-active-filters {
    background: none;
    border: none;
    color: #d4af37;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    padding: 6px 12px;
    white-space: nowrap;
}

.clear-active-filters:hover {
    text-decoration: underline;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.products-grid[data-view="list"] {
    grid-template-columns: 1fr;
}

.products-grid[data-view="list"] .product-card {
    display: grid;
    grid-template-columns: 200px 1fr auto;
    gap: 24px;
    align-items: center;
}

/* Product Card */
.product-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    position: relative;
    animation: fadeIn 0.5s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-color: rgba(212, 175, 55, 0.3);
}

.product-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 2;
}

.product-badge {
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 12px;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-badge.new {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.product-badge.sale {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.product-badge.best {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.product-image {
    position: relative;
    padding-top: 100%; /* 1:1 Aspect Ratio */
    overflow: hidden;
    background: #f9f9f9;
}

.product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;

}



.product-card:hover .product-image img {
    transform: scale(1.05);
}

.quick-actions {
    position: absolute;
    bottom: 16px;
    right: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.product-card:hover .quick-actions {
    opacity: 1;
    transform: translateY(0);
}

.quick-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.2s;
    color: #333;
}

.quick-btn:hover {
    background: #d4af37;
    color: white;
    transform: scale(1.1);
}

.product-info {
    padding: 20px;
}

.product-category {
    display: inline-block;
    font-size: 0.8rem;
    color: #d4af37;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
    font-weight: 500;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.product-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.product-title a:hover {
    color: #d4af37;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 12px;
}

.stars {
    color: #ffc107;
    display: flex;
    gap: 2px;
}

.rating-count {
    font-size: 0.85rem;
    color: #999;
}

.product-description {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 16px;
    display: none;
}

.products-grid[data-view="list"] .product-description {
    display: block;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.current-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a1a;
}

.original-price {
    font-size: 1rem;
    color: #999;
    text-decoration: line-through;
}

.discount-badge {
    background: #ffeaea;
    color: #ff4444;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
}

.product-actions {
    display: flex;
    gap: 8px;
}

.add-to-cart-btn {
    flex: 1;
    padding: 12px 16px;
    background: #1a1a1a;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.add-to-cart-btn:hover {
    background: #d4af37;
    transform: translateY(-2px);
}

.wishlist-btn {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: #f8f8f8;
    border: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    color: #666;
}

.wishlist-btn:hover, .wishlist-btn.active {
    background: #ffeded;
    border-color: #ffcccc;
    color: #ff4444;
}

/* Loading State */
.products-loading {
    text-align: center;
    padding: 60px 20px;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #d4af37;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Empty State */
.products-empty {
    text-align: center;
    padding: 80px 20px;
    animation: fadeIn 0.5s ease;
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.3;
}

.products-empty h3 {
    font-size: 1.5rem;
    color: #333;
    margin: 0 0 12px 0;
}

.products-empty p {
    color: #666;
    margin-bottom: 24px;
}

.reset-filters {
    padding: 12px 24px;
    background: #d4af37;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.reset-filters:hover {
    background: #c19b2e;
    transform: translateY(-2px);
}

/* Pagination */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 40px 0;
}

.page-btn {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: 1px solid #ddd;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    color: #666;
}

.page-btn:hover:not(:disabled) {
    border-color: #d4af37;
    color: #d4af37;
}

.page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.page-numbers {
    display: flex;
    gap: 4px;
}

.page-number {
    min-width: 40px;
    height: 40px;
    border-radius: 8px;
    border: 1px solid #ddd;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    color: #666;
    font-size: 0.95rem;
}

.page-number:hover {
    border-color: #d4af37;
    color: #d4af37;
}

.page-number.active {
    background: #d4af37;
    border-color: #d4af37;
    color: white;
}

.page-dots {
    display: flex;
    align-items: center;
    padding: 0 8px;
    color: #999;
}

/* Load More Button */
.load-more {
    display: none;
    width: 100%;
    padding: 16px;
    background: white;
    border: 2px solid #d4af37;
    border-radius: 12px;
    color: #d4af37;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin: 20px 0 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.load-more:hover {
    background: #d4af37;
    color: white;
    transform: translateY(-2px);
}

/* Mobile Filter Overlay */
.mobile-filter-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-filter-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Premium Features Banner */
.premium-features-banner {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 60px 0;
    margin-top: 80px;
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.feature {
    text-align: center;
    color: white;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 16px;
    opacity: 0.9;
}

.feature h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: #d4af37;
}

.feature p {
    font-size: 0.95rem;
    color: #bbb;
    margin: 0;
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .shop-container {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .shop-sidebar {
        position: fixed;
        top: 0;
        left: -100%;
        width: 90%;
        max-width: 400px;
        height: 100vh;
        z-index: 1000;
        border-radius: 0;
        margin: 0;
        transition: left 0.3s ease;
        overflow-y: auto;
    }
    
    .shop-sidebar.active {
        left: 0;
    }
    
    .sidebar-header {
        position: sticky;
        top: 0;
        background: white;
        z-index: 2;
    }
    
    .sidebar-close {
        display: block;
    }
    
    .mobile-filter-bar {
        display: flex;
    }
    
    .mobile-filter-overlay {
        display: block;
    }
    
    .shop-main {
        padding-top: 20px;
    }
    
    .results-header {
        flex-direction: column;
        gap: 16px;
    }
    
    .results-controls {
        width: 100%;
        justify-content: space-between;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .products-grid[data-view="list"] .product-card {
        grid-template-columns: 150px 1fr;
    }
}

@media (max-width: 768px) {
    .shop-hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .shop-hero-title {
        font-size: 2.8rem;
    }
    
    .shop-hero-subtitle {
        max-width: 100%;
    }
    
    .shop-hero-stats {
        justify-content: center;
    }
    
    .floating-products {
        height: 300px;
    }
    
    .product-float {
        width: 150px;
        height: 150px;
    }
    
    .results-controls {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 16px;
    }
    
    .products-grid[data-view="list"] .product-card {
        grid-template-columns: 1fr;
    }
    
    .features-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .shop-hero-title {
        font-size: 2.2rem;
    }
    
    .shop-hero-stats {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    
    .product-float {
        width: 120px;
        height: 120px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .product-info {
        padding: 16px;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .add-to-cart-btn, .wishlist-btn {
        width: 100%;
        justify-content: center;
    }
    
    .pagination .page-numbers {
        display: none;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .product-card,
    .product-float,
    .quick-actions {
        transition: none;
    }
    
    .loading-spinner {
        animation: none;
    }
    
    @keyframes float {
        0%, 100% { transform: none; }
        50% { transform: none; }
    }
    
    @keyframes fadeInUp {
        from {
            opacity: 1;
            transform: none;
        }
    }
    
    @keyframes fadeIn {
        from {
            opacity: 1;
        }
    }
}

/* Focus styles for accessibility */
button:focus,
input:focus,
select:focus {
    outline: 2px solid #d4af37;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .product-card {
        border: 2px solid currentColor;
    }
    
    .quick-btn {
        border: 2px solid currentColor;
    }
}

/* Dark mode support (optional) */
@media (prefers-color-scheme: dark) {
    .shop-hero {
        background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    }
    
    .shop-hero-title {
        color: white;
    }
    
    .shop-hero-subtitle {
        color: #bbb;
    }
    
    .shop-sidebar {
        background: #2d2d2d;
        border-color: #444;
    }
    
    .sidebar-title {
        color: white;
    }
    
    .filter-title {
        color: #ddd;
    }
    
    .filter-label {
        color: #ccc;
    }
    
    .price-input input {
        background: #333;
        border-color: #444;
        color: white;
    }
    
    .filter-chip {
        background: #333;
        border-color: #444;
        color: #ccc;
    }
    
    .product-card {
        background: #2d2d2d;
        border-color: #444;
    }
    
    .product-title {
        color: white;
    }
    
    .product-description {
        color: #bbb;
    }
    
    .current-price {
        color: white;
    }
    
    .add-to-cart-btn {
        background: #444;
    }
    
    .wishlist-btn {
        background: #333;
        border-color: #444;
        color: #ccc;
    }
}

/* Update your existing .view-details-btn with this */
.view-details-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    background: transparent;
    color: #1a1a1a;
    border: 1px solid #1a1a1a;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.view-details-btn:hover {
    color: #ffffff;
    background: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Optional: Add a small arrow that appears on hover */
.view-details-btn::after {
    content: '→';
    margin-left: 8px;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.view-details-btn:hover::after {
    opacity: 1;
    transform: translateX(0);
}

/* ================= PREMIUM FEATURES BANNER (Ultimate Luxury Edition) ================= */
.premium-features-banner {
    background: radial-gradient(ellipse at center, 
        #1a1a1a 0%, 
        #0f0f0f 40%, 
        #000000 100%);
    padding: 100px 0;
    margin-top: 120px;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(212, 175, 55, 0.4);
    border-bottom: 1px solid rgba(212, 175, 55, 0.4);
}

/* Luxury gradient overlay */
.premium-features-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
        rgba(212, 175, 55, 0.08) 0%,
        transparent 30%,
        rgba(212, 175, 55, 0.05) 70%,
        rgba(212, 175, 55, 0.1) 100%);
    z-index: 1;
    pointer-events: none;
}

/* Animated geometric luxury pattern */
.premium-features-banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    background-image: 
        repeating-linear-gradient(45deg, 
            transparent 0px, 
            transparent 40px, 
            rgba(212, 175, 55, 0.03) 40px, 
            rgba(212, 175, 55, 0.03) 80px),
        repeating-linear-gradient(-45deg, 
            transparent 0px, 
            transparent 40px, 
            rgba(212, 175, 55, 0.02) 40px, 
            rgba(212, 175, 55, 0.02) 80px);
    animation: patternSlide 30s linear infinite;
    z-index: 1;
    opacity: 0.3;
    pointer-events: none;
}

@keyframes patternSlide {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-40px, -40px); }
}

/* Floating gold particles */
.premium-features-banner .gold-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.premium-features-banner .gold-particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #d4af37;
    border-radius: 50%;
    animation: floatParticle 8s linear infinite;
    opacity: 0.6;
}

@keyframes floatParticle {
    0%, 100% {
        transform: translate(0, 0);
        opacity: 0;
    }
    10%, 90% {
        opacity: 0.6;
    }
    50% {
        transform: translate(20px, -20px);
        opacity: 0.8;
    }
}

/* Container with max-width constraint */
.features-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    position: relative;
    z-index: 3;
}

/* Luxury Feature Card */
.feature {
    text-align: center;
    padding: 50px 30px;
    background: linear-gradient(145deg,
        rgba(255, 255, 255, 0.03) 0%,
        rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 24px;
    backdrop-filter: blur(10px);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
}

/* Gold border glow effect */
.feature::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 25px;
    padding: 2px;
    background: linear-gradient(135deg,
        rgba(212, 175, 55, 0.5),
        rgba(212, 175, 55, 0.2),
        transparent 50%);
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask: 
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: 0;
}

/* Inner glow effect */
.feature::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle,
        rgba(212, 175, 55, 0.15) 0%,
        transparent 70%);
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: 1;
}

.feature:hover {
    transform: translateY(-12px) scale(1.02);
    background: linear-gradient(145deg,
        rgba(255, 255, 255, 0.06) 0%,
        rgba(255, 255, 255, 0.02) 100%);
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(212, 175, 55, 0.2),
        inset 0 0 30px rgba(212, 175, 55, 0.05);
}

.feature:hover::before {
    opacity: 1;
}

.feature:hover::after {
    opacity: 0.4;
}

/* Icon with luxury shine */
.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 25px;
    display: inline-block;
    color: #d4af37;
    position: relative;
    z-index: 2;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.feature-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle,
        rgba(212, 175, 55, 0.3) 0%,
        transparent 70%);
    transform: translate(-50%, -50%);
    filter: blur(10px);
    opacity: 0;
    transition: opacity 0.6s ease;
}

.feature:hover .feature-icon {
    transform: scale(1.2) rotate(5deg);
    filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.6));
}

.feature:hover .feature-icon::after {
    opacity: 0.5;
}

/* Luxury typography */
.feature h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0 0 15px 0;
    color: #ffffff;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    z-index: 2;
}

.feature h3::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #d4af37, transparent);
    margin: 10px auto 0;
    opacity: 0.6;
    transition: width 0.4s ease;
}

.feature:hover h3::after {
    width: 60px;
    background: linear-gradient(90deg, #d4af37, #ffd95e, transparent);
}

.feature p {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    line-height: 1.7;
    font-weight: 300;
    position: relative;
    z-index: 2;
}

/* Premium decorative elements */
.feature .decorative-dots {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 4px;
    opacity: 0.3;
    z-index: 2;
}

.feature .decorative-dot {
    width: 4px;
    height: 4px;
    background: #d4af37;
    border-radius: 50%;
}

/* ================= RESPONSIVE ADJUSTMENTS ================= */

/* Large Desktop */
@media (min-width: 1401px) {
    .features-container {
        grid-template-columns: repeat(4, 1fr);
        max-width: 1600px;
    }
    .feature {
        padding: 60px 40px;
    }
    .feature-icon {
        font-size: 4rem;
    }
}

/* Tablet (2x2 Grid) */
@media (max-width: 1024px) {
    .premium-features-banner {
        padding: 80px 0;
        margin-top: 100px;
    }
    
    .features-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        padding: 0 30px;
    }
    
    .feature {
        padding: 40px 25px;
    }
    
    .feature-icon {
        font-size: 3rem;
    }
    
    .feature h3 {
        font-size: 1.3rem;
    }
}

/* Large Mobile */
@media (max-width: 768px) {
    .premium-features-banner {
        padding: 60px 0;
        margin-top: 80px;
    }
    
    .features-container {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0 20px;
        max-width: 500px;
    }
    
    .feature {
        padding: 35px 20px;
    }
    
    .feature-icon {
        font-size: 2.8rem;
    }
    
    .feature:hover {
        transform: translateY(-8px) scale(1.01);
    }
}

/* Small Mobile */
@media (max-width: 576px) {
    .premium-features-banner {
        padding: 50px 0;
        margin-top: 60px;
    }
    
    .features-container {
        gap: 20px;
        padding: 0 15px;
    }
    
    .feature {
        padding: 30px 15px;
    }
    
    .feature-icon {
        font-size: 2.5rem;
        margin-bottom: 20px;
    }
    
    .feature h3 {
        font-size: 1.2rem;
        letter-spacing: 0.8px;
    }
    
    .feature p {
        font-size: 0.9rem;
        line-height: 1.6;
    }
}

/* Extra Small Devices */
@media (max-width: 380px) {
    .premium-features-banner {
        padding: 40px 0;
    }
    
    .feature {
        padding: 25px 15px;
    }
    
    .feature-icon {
        font-size: 2.2rem;
    }
    
    .feature h3 {
        font-size: 1.1rem;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .feature {
        border: 2px solid #d4af37;
        background: #1a1a1a;
    }
    
    .feature-icon {
        color: #ffd95e;
        text-shadow: 0 0 10px #ffd95e;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .premium-features-banner::after {
        animation: none;
    }
    
    .feature,
    .feature-icon {
        transition: none;
    }
    
    .feature:hover {
        transform: none;
    }
}

/* Dark mode optimization */
@media (prefers-color-scheme: dark) {
    .premium-features-banner {
        background: radial-gradient(ellipse at center, 
            #0a0a0a 0%, 
            #000000 40%, 
            #050505 100%);
    }
    
    .feature {
        background: linear-gradient(145deg,
            rgba(255, 255, 255, 0.04) 0%,
            rgba(255, 255, 255, 0.015) 100%);
    }
    
    .feature:hover {
        background: linear-gradient(145deg,
            rgba(255, 255, 255, 0.07) 0%,
            rgba(255, 255, 255, 0.025) 100%);
    }
}
/* ================= SIMPLIFIED FILTER STYLES ================= */

/* Gender Toggle */
.gender-toggle {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.gender-btn {
    flex: 1;
    padding: 16px;
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.gender-btn:hover {
    border-color: #d4af37;
    transform: translateY(-2px);
}

.gender-btn.active {
    background: linear-gradient(135deg, #fef8e8 0%, #fff9f0 100%);
    border-color: #d4af37;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.15);
}

.gender-icon {
    font-size: 1.8rem;
    display: block;
}

.gender-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
}

.gender-count {
    font-size: 0.85rem;
    color: #999;
    background: #f8f8f8;
    padding: 2px 8px;
    border-radius: 12px;
}

.gender-btn.active .gender-label {
    color: #d4af37;
}

.gender-btn.active .gender-count {
    background: rgba(212, 175, 55, 0.1);
    color: #d4af37;
}

/* Category Options */
.category-options {
    position: relative;
}

.category-section {
    display: none;
    animation: fadeIn 0.3s ease;
}

.category-section.active {
    display: block;
}

.category-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    margin-bottom: 8px;
    border: 2px solid transparent;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.category-item:hover {
    background: #f9f9f9;
    transform: translateX(4px);
    border-color: #f0f0f0;
}

.category-item.active {
    background: linear-gradient(135deg, #fef8e8 0%, #fff9f0 100%);
    border-color: #d4af37;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.1);
}

.category-icon {
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

.category-label {
    flex: 1;
    font-size: 0.95rem;
    color: #333;
    font-weight: 500;
}

.category-count {
    font-size: 0.85rem;
    color: #999;
    background: #f8f8f8;
    padding: 4px 8px;
    border-radius: 8px;
    min-width: 32px;
    text-align: center;
}

.category-item.active .category-label {
    color: #d4af37;
    font-weight: 600;
}

.category-item.active .category-count {
    background: rgba(212, 175, 55, 0.1);
    color: #d4af37;
}

/* Active Filter Tags */
.active-filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(212, 175, 55, 0.1);
    color: #d4af37;
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.active-filter-tag::before {
    content: '✓';
    font-size: 0.9rem;
}

/* Responsive Adjustments for Simplified Filters */
@media (max-width: 768px) {
    .gender-toggle {
        gap: 8px;
    }
    
    .gender-btn {
        padding: 12px;
    }
    
    .gender-icon {
        font-size: 1.5rem;
    }
    
    .gender-label {
        font-size: 0.9rem;
    }
    
    .category-item {
        padding: 12px;
        margin-bottom: 6px;
    }
    
    .category-icon {
        font-size: 1.1rem;
    }
    
    .category-label {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .gender-toggle {
        flex-direction: column;
    }
    
    .gender-btn {
        flex-direction: row;
        justify-content: flex-start;
        text-align: left;
        padding: 14px 16px;
    }
    
    .gender-icon {
        margin-right: 8px;
    }
}

/* Simple Highlight Solution */
.filter-toggle {
    position: relative;
    border: 2px solid #928bf1;
    background: rgba(146, 139, 241, 0.1);
    font-weight: 600;
}

.filter-toggle::after {
    content: '⬇';
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 20px;
    color: #928bf1;
    animation: floatArrow 2s infinite;
    text-shadow: 0 2px 10px rgba(146, 139, 241, 0.3);
}

@keyframes floatArrow {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

/* Add a subtle glow effect */
.filter-toggle {
    box-shadow: 0 0 15px rgba(146, 139, 241, 0.3);
    transition: all 0.3s ease;
}

.filter-toggle:hover {
    box-shadow: 0 0 25px rgba(146, 139, 241, 0.5);
    transform: translateY(-2px);
}

/* Make the filter icon more prominent */
.filter-toggle svg {
    animation: spinSlow 4s linear infinite;
}

@keyframes spinSlow {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* ================= MOBILE GRID FIX ================= */
@media (max-width: 768px) {
    /* Show 2 products per row on mobile */
    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    
    /* Adjust product card for 2-column layout */
    .product-card {
        margin-bottom: 0 !important;
    }
    
    .product-image {
        height: 180px !important;
    }
    
    .product-name {
        font-size: 14px !important;
        line-height: 1.3 !important;
        margin-bottom: 4px !important;
    }
    
    .product-price {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 2px !important;
    }
    
    .current-price {
        font-size: 16px !important;
    }
    
    .original-price {
        font-size: 12px !important;
    }
    
    .product-actions {
        flex-direction: column !important;
        gap: 6px !important;
    }
    
    .add-to-cart-btn, 
    .view-details-btn {
        padding: 8px 12px !important;
        font-size: 13px !important;
        text-align: center !important;
    }
}

/* ================= REMOVE FILTER BUTTON - SHOW ALL OPTIONS ================= */
@media (max-width: 768px) {
    /* Hide the filter button and move options to main page */
    .mobile-filter-bar {
        display: none !important; /* Hide filter button bar */
    }
    
    /* Make filter sidebar always visible on mobile */
    .shop-sidebar {
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: auto !important;
        max-width: 100% !important;
        margin-bottom: 20px !important;
        border-radius: 12px !important;
        box-shadow: 0 4px 12px rgba(0,0,0,0.05) !important;
        z-index: 1 !important;
        display: block !important;
        animation: none !important;
        transform: none !important;
    }
    
    /* Remove sidebar close button since it's always visible */
    .sidebar-close {
        display: none !important;
    }
    
    /* Remove mobile overlay since no button */
    .mobile-filter-overlay {
        display: none !important;
    }
    
    /* Make filter groups horizontal on mobile */
    .filter-group {
        margin-bottom: 16px !important;
        padding-bottom: 16px !important;
        border-bottom: 1px solid #f0f0f0 !important;
    }
    
    /* Make gender toggle horizontal */
    .gender-toggle {
        display: flex !important;
        gap: 8px !important;
    }
    
    .gender-btn {
        flex: 1 !important;
        padding: 12px 8px !important;
    }
    
    /* Make categories scrollable horizontally */
    .category-options {
        display: flex !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        padding: 8px 0 !important;
        margin: 0 -10px !important;
        scrollbar-width: thin !important;
        gap: 8px !important;
    }
    
    .category-options::-webkit-scrollbar {
        height: 4px !important;
    }
    
    .category-section {
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 8px !important;
        padding: 0 10px !important;
    }
    
    .category-item {
        flex: 0 0 auto !important;
        white-space: nowrap !important;
        padding: 10px 16px !important;
        margin-bottom: 0 !important;
    }
    
    /* Adjust sidebar header */
    .sidebar-header {
        padding: 16px 16px 12px !important;
        margin-bottom: 12px !important;
    }
    
    .sidebar-title {
        font-size: 18px !important;
    }
    
    /* Hide filter count badges */
    .filter-count-badge {
        display: none !important;
    }
}

/* For very small screens */
@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
    
    .product-image {
        height: 160px !important;
    }
    
    .product-info {
        padding: 12px !important;
    }
    
    .gender-btn {
        padding: 10px 6px !important;
        font-size: 13px !important;
    }
    
    .gender-icon {
        font-size: 20px !important;
    }
}

/* ================= SIMPLIFIED FILTERS - EASY TO UNDERSTAND ================= */
/* Clean up filters for better UX */
.filter-title {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #333 !important;
    margin-bottom: 10px !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.filter-icon {
    font-size: 16px !important;
    opacity: 0.8 !important;
}

/* Make it obvious what's selected */
.gender-btn.active {
    background: linear-gradient(135deg, #f59e0b, #d97706) !important;
    color: white !important;
    border-color: #d97706 !important;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3) !important;
}

.category-item.active {
    background: linear-gradient(135deg, #f59e0b, #d97706) !important;
    color: white !important;
    border-color: #d97706 !important;
}

.category-item.active .category-icon,
.category-item.active .category-label,
.category-item.active .category-count {
    color: white !important;
}

/* Clear button styling */
.clear-filters {
    background: #f3f4f6 !important;
    color: #6b7280 !important;
    padding: 6px 12px !important;
    border-radius: 8px !important;
    border: 1px solid #e5e7eb !important;
    font-size: 13px !important;
}

.clear-filters:hover {
    background: #e5e7eb !important;
    color: #4b5563 !important;
}

/* Apply filters button */
.apply-filters {
    background: linear-gradient(135deg, #10b981, #059669) !important;
    color: white !important;
    border: none !important;
    border-radius: 10px !important;
    font-weight: 600 !important;
    margin-top: 10px !important;
}

.apply-filters:hover {
    background: linear-gradient(135deg, #059669, #047857) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3) !important;
}

/* Active filters bar on top */
.active-filters-bar {
    background: #fef3c7 !important;
    border: 1px solid #fcd34d !important;
    border-radius: 10px !important;
    padding: 12px 16px !important;
    margin-bottom: 20px !important;
}

.active-filter-tag {
    background: white !important;
    border: 1px solid #d97706 !important;
    color: #d97706 !important;
    font-weight: 500 !important;
    padding: 6px 12px !important;
    border-radius: 20px !important;
}

/* ================= ANIMATIONS FOR BETTER UX ================= */
@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card {
    animation: fadeInSlide 0.3s ease forwards;
    animation-delay: calc(var(--card-index, 0) * 0.05s);
}

/* ================= SIMPLE FILTER SYSTEM ================= */
.shop-simple-filters {
  background: white;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  border: 1px solid #f0f0f0;
}

.filter-step {
  display: none;
}

.filter-step.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

.step-title {
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 25px;
}

/* Gender Choice Buttons */
.gender-choice {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 10px;
}

@media (max-width: 480px) {
  .gender-choice {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.gender-choice-btn {
  background: white;
  border: 2px solid #f0f0f0;
  border-radius: 14px;
  padding: 25px 15px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.gender-choice-btn:hover {
  transform: translateY(-3px);
  border-color: #d4af37;
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.15);
}

.gender-choice-btn.active {
  background: linear-gradient(135deg, #fef8e8 0%, #fff9f0 100%);
  border-color: #d4af37;
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.2);
}

.choice-icon {
  font-size: 32px;
  margin-bottom: 10px;
  display: block;
}

.choice-label {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 6px;
  display: block;
}

.choice-desc {
  font-size: 13px;
  color: #666;
  line-height: 1.4;
}

.mens-choice .choice-icon {
  color: #1e40af;
}

.womens-choice .choice-icon {
  color: #be185d;
}

/* Category Grid */
.step-header {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  position: relative;
}

.back-to-gender {
  position: absolute;
  left: 0;
  background: none;
  border: none;
  color: #666;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 8px;
  transition: all 0.2s;
}

.back-to-gender:hover {
  background: #f9fafb;
  color: #333;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

@media (max-width: 480px) {
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.category-choice {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 20px 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 90px;
}

.category-choice:hover {
  background: white;
  border-color: #d4af37;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.category-choice.active {
  background: linear-gradient(135deg, #d4af37, #c19b2e);
  border-color: #c19b2e;
  color: white;
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.3);
}

.cat-icon {
  font-size: 20px;
  margin-bottom: 8px;
  display: block;
}

.cat-label {
  font-size: 13px;
  font-weight: 500;
  display: block;
  line-height: 1.2;
}

/* Active Filters Display */
.active-filters-simple {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 12px;
  margin-bottom: 20px;
  min-height: 56px;
}

.active-filter-item {
  background: white;
  border: 1px solid #d4af37;
  color: #d4af37;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

.active-filter-item::before {
  content: "✓";
  font-size: 12px;
}

.clear-filters-simple {
  margin-left: auto;
  background: none;
  border: 1px solid #dc2626;
  color: #dc2626;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.clear-filters-simple:hover {
  background: #fee2e2;
}

/* Hide old filter sidebar on mobile */
@media (max-width: 768px) {
  .shop-sidebar {
    display: none !important;
  }
  
  .mobile-filter-bar {
    display: none !important;
  }
  
  .shop-container {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }
}

/* ================= FINAL MENS DEFAULT FIXES ================= */

/* Ensure MENS is always selected by default */
.gender-choice-card[data-gender="him"] {
    border-color: #1e40af;
    position: relative;
}

.gender-choice-card[data-gender="him"]::after {
    content: "✓ Default";
    position: absolute;
    top: 15px;
    right: 15px;
    background: #1e40af;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 10;
}

/* Active states */
.gender-choice-card.active[data-gender="him"] {
    border-color: #1e40af;
    box-shadow: 0 10px 30px rgba(30, 64, 175, 0.2);
}

.gender-choice-card.active[data-gender="her"] {
    border-color: #be185d;
    box-shadow: 0 10px 30px rgba(190, 24, 93, 0.2);
}

/* Better empty state */
.products-empty {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border: 2px solid #e2e8f0;
    border-radius: 20px;
    padding: 50px 30px;
    text-align: center;
    margin: 40px 0;
}

.products-empty h3 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    color: #1e293b;
    margin-bottom: 15px;
}

.products-empty p {
    color: #64748b;
    font-size: 16px;
    line-height: 1.6;
    max-width: 400px;
    margin: 0 auto 25px;
}

/* Clear all message special styling */
#productsEmpty .empty-icon {
    color: #3b82f6;
    font-size: 56px;
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .gender-choice-card[data-gender="him"]::after {
        content: "✓";
        padding: 4px 8px;
        font-size: 11px;
    }
    
    .products-empty {
        padding: 40px 20px;
        margin: 30px 15px;
    }
    
    .products-empty h3 {
        font-size: 24px;
    }
    
    .view-mens-btn, .action-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        margin: 5px 0;
    }
}

/* Ensure products grid always visible when there are products */
.products-grid:not(:empty) {
    display: grid !important;
    opacity: 1 !important;
}

/* Hide old sidebar on mobile */
@media (max-width: 768px) {
    .shop-sidebar {
        display: none !important;
    }
    
    .mobile-filter-bar {
        display: none !important;
    }
    
    .shop-container {
        display: block !important;
    }
    
    .shop-main {
        padding: 0 15px;
    }
}

/* Animation for filter changes */
.filter-step {
    transition: opacity 0.3s ease;
}

.gender-choice-card, .category-choice {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Fix for button hover states */
.gender-select-btn:hover {
    transform: translateY(-2px) !important;
}