/* ===== SHOP PAGE STYLES ===== */

/* Shop Header */
.shop-header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
                url('https://images.unsplash.com/photo-1599643478518-a784e5dc4c8f?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    padding: clamp(80px, 10vw, 120px) 0;
    text-align: center;
    color: white;
    margin-bottom: clamp(40px, 6vw, 60px);
}

.shop-header h1 {
    font-family: 'Cinzel', serif;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 20px;
    color: white;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.shop-header p {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    color: #D4AF37;
    max-width: 600px;
    margin: 0 auto;
}

/* Shop Layout */
.shop-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: clamp(25px, 4vw, 40px);
    min-height: 100vh;
}

/* Filters Sidebar */
.filters-sidebar {
    background: white;
    border-radius: 12px;
    padding: clamp(20px, 3vw, 30px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.1);
    height: fit-content;
    position: sticky;
    top: 100px;
    overflow-y: auto;
    max-height: calc(100vh - 120px);
}

.filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(212, 175, 55, 0.2);
}

.filters-header h2 {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    color: #1a1a1a;
    margin: 0;
}

.filters-header h2 i {
    color: #D4AF37;
    margin-right: 10px;
}

.clear-filters {
    font-size: 0.9rem;
    color: #666;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s ease;
}

.clear-filters:hover {
    color: #D4AF37;
}

/* Filter Groups */
.filter-group {
    margin-bottom: 30px;
}

.filter-group h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-group h3 i {
    color: #D4AF37;
    font-size: 1rem;
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 8px 0;
    transition: all 0.3s ease;
}

.filter-option:hover {
    color: #D4AF37;
}

.filter-option input[type="radio"] {
    display: none;
}

.filter-option span {
    position: relative;
    padding-left: 30px;
    font-size: 0.95rem;
    color: #666;
    transition: color 0.3s ease;
}

.filter-option span::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    border: 2px solid #ddd;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.filter-option span::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%) scale(0);
    width: 8px;
    height: 8px;
    background: #D4AF37;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.filter-option input[type="radio"]:checked + span {
    color: #1a1a1a;
    font-weight: 500;
}

.filter-option input[type="radio"]:checked + span::before {
    border-color: #D4AF37;
}

.filter-option input[type="radio"]:checked + span::after {
    transform: translateY(-50%) scale(1);
}

/* Price Range */
.price-range {
    padding: 10px 0;
}

.price-inputs {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.price-inputs input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.price-inputs input:focus {
    outline: none;
    border-color: #D4AF37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.price-inputs span {
    color: #666;
    font-size: 0.9rem;
}

#priceSlider {
    width: 100%;
    height: 6px;
    -webkit-appearance: none;
    appearance: none;
    background: #ddd;
    border-radius: 3px;
    outline: none;
    margin: 20px 0;
}

#priceSlider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: #D4AF37;
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid white;
    box-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
}

#priceSlider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #D4AF37;
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid white;
    box-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
}

.price-range-values {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: #666;
}

/* Filter Buttons */
.filter-buttons {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.filter-buttons .btn-primary {
    width: 100%;
    padding: 14px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #D4AF37, #B8860B);
    border: none;
    color: white;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-buttons .btn-primary:hover {
    background: linear-gradient(135deg, #B8860B, #996515);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
}

/* Active Filters */
.active-filters {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.active-filters h4 {
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-tag {
    background: rgba(212, 175, 55, 0.1);
    color: #1a1a1a;
    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);
}

.filter-tag .remove-filter {
    color: #666;
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.3s ease;
}

.filter-tag .remove-filter:hover {
    color: #ff4757;
}

/* Products Grid Container */
.products-grid-container {
    background: white;
    border-radius: 12px;
    padding: clamp(20px, 3vw, 30px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.products-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.products-info h2 {
    font-family: 'Cinzel', serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: #1a1a1a;
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.count-badge {
    background: linear-gradient(135deg, #D4AF37, #B8860B);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.products-description {
    color: #666;
    font-size: 1rem;
    margin: 0;
}

.products-view-options {
    display: flex;
    align-items: center;
    gap: 15px;
}

.view-toggle {
    display: flex;
    gap: 5px;
    background: #f8f9fa;
    padding: 5px;
    border-radius: 6px;
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.view-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: 4px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.view-btn:hover {
    color: #D4AF37;
    background: rgba(212, 175, 55, 0.1);
}

.view-btn.active {
    color: white;
    background: linear-gradient(135deg, #D4AF37, #B8860B);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2);
}

.mobile-filter-toggle {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #D4AF37, #B8860B);
    color: white;
    border: none;
    border-radius: 6px;
    font-family: 'Cinzel', serif;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-filter-toggle:hover {
    background: linear-gradient(135deg, #B8860B, #996515);
    transform: translateY(-2px);
}

/* ===== PREMIUM PRODUCT CARD STYLES ===== */

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
    gap: clamp(25px, 4vw, 35px);
    margin-bottom: 40px;
}

.products-grid[data-view="list"] {
    grid-template-columns: 1fr;
}

/* Premium Product Card */
.product-card {
    position: relative;
    height: 100%;
}

.premium-card-wrapper {
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #f9f9f9 100%);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(212, 175, 55, 0.15);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover .premium-card-wrapper {
    transform: translateY(-12px);
    box-shadow: 0 25px 60px rgba(212, 175, 55, 0.15);
    border-color: rgba(212, 175, 55, 0.3);
}

/* Premium Corner Accent */
.premium-corner {
    position: absolute;
    top: 0;
    right: 0;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #D4AF37, #B8860B);
    clip-path: polygon(100% 0, 0 0, 100% 100%);
    opacity: 0.1;
    z-index: 1;
}

.product-card:hover .premium-corner {
    opacity: 0.2;
}

/* Square Image Container */
.product-image-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 100%; /* Creates perfect square */
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.image-container {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.image-link {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(0.98) contrast(1.05);
}

.product-card:hover .product-image {
    transform: scale(1.05);
    filter: brightness(1.05) contrast(1.1);
}

/* Premium Overlay */
.premium-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 40%, rgba(26, 26, 26, 0.9));
    opacity: 0;
    transition: all 0.4s ease;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 25px;
}

.product-card:hover .premium-overlay {
    opacity: 1;
}

.overlay-content {
    transform: translateY(20px);
    transition: transform 0.4s ease 0.1s;
}

.product-card:hover .overlay-content {
    transform: translateY(0);
}

.quick-view-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #D4AF37, #B8860B);
    color: white;
    border: none;
    border-radius: 30px;
    font-family: 'Cinzel', serif;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
}

.quick-view-link:hover {
    background: linear-gradient(135deg, #B8860B, #996515);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.4);
}

/* Premium Badges */
.premium-badge {
    position: absolute;
    top: 25px;
    z-index: 2;
    padding: 10px 20px;
    border-radius: 30px;
    font-family: 'Cinzel', serif;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.featured-badge {
    left: 25px;
    background: linear-gradient(135deg, #D4AF37, #B8860B);
    color: white;
}

.stock-badge {
    right: 25px;
    color: white;
}

.low-stock {
    background: linear-gradient(135deg, #ff9500, #ff6b00);
}

.out-of-stock {
    background: linear-gradient(135deg, #ff4757, #ff3838);
}

/* Content Wrapper */
.product-content-wrapper {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Meta Top */
.product-meta-top {
    display: flex;
    gap: 10px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.category-tag,
.metal-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(212, 175, 55, 0.08);
    color: #666;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(212, 175, 55, 0.15);
    transition: all 0.3s ease;
}

.product-card:hover .category-tag,
.product-card:hover .metal-tag {
    background: rgba(212, 175, 55, 0.12);
    border-color: rgba(212, 175, 55, 0.25);
}

.category-tag i,
.metal-tag i {
    color: #D4AF37;
    font-size: 0.85rem;
}

/* Product Title */
.product-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0 0 15px 0;
    line-height: 1.3;
    color: #1a1a1a;
}

.product-title a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-title a:hover {
    color: #D4AF37;
}

/* Product Description */
.product-description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Product Specifications */
.product-specs {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #666;
}

.spec-item i {
    color: #D4AF37;
    font-size: 1rem;
}

.spec-item span {
    font-weight: 500;
}

/* Product Footer */
.product-footer {
    margin-top: auto;
}

.price-section {
    margin-bottom: 20px;
}

.price-label {
    display: block;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 5px;
}

.price-value {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #D4AF37;
    background: linear-gradient(135deg, #D4AF37, #B8860B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Product Actions */
.product-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-cart-premium {
    flex: 1;
    padding: 14px 20px;
    background: linear-gradient(135deg, #D4AF37, #B8860B);
    color: white;
    border: none;
    border-radius: 10px;
    font-family: 'Cinzel', serif;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.2);
}

.btn-cart-premium:hover {
    background: linear-gradient(135deg, #B8860B, #996515);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
}

.btn-cart-premium:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-cart-premium:disabled:hover {
    background: #ccc;
    transform: none;
    box-shadow: none;
}

.btn-cart-premium.added {
    background: linear-gradient(135deg, #28a745, #20c997);
}

.btn-cart-premium .btn-icon {
    font-size: 1.1rem;
}

.secondary-actions {
    display: flex;
    gap: 8px;
}

.btn-wishlist-premium,
.btn-details-premium {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    color: #666;
    border: 1px solid #ddd;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    text-decoration: none;
}

.btn-wishlist-premium:hover {
    color: #ff4757;
    border-color: #ff4757;
    background: rgba(255, 71, 87, 0.1);
}

.btn-details-premium:hover {
    color: #D4AF37;
    border-color: #D4AF37;
    background: rgba(212, 175, 55, 0.1);
}

.btn-wishlist-premium.added {
    color: #ff4757;
    background: rgba(255, 71, 87, 0.1);
}

.btn-wishlist-premium.loading {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* List View Adjustments */
.products-grid[data-view="list"] .product-card {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 30px;
    align-items: start;
}

.products-grid[data-view="list"] .product-image-wrapper {
    padding-bottom: 0;
    height: 250px;
}

.products-grid[data-view="list"] .image-container {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.products-grid[data-view="list"] .product-description {
    -webkit-line-clamp: 4;
}

.products-grid[data-view="list"] .product-specs {
    flex-direction: column;
    gap: 10px;
}

/* No Products */
.no-products {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
}

.no-products-content {
    max-width: 450px;
    margin: 0 auto;
}

.no-products i {
    font-size: 5rem;
    color: #D4AF37;
    margin-bottom: 25px;
    opacity: 0.5;
}

.no-products h3 {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.no-products p {
    color: #666;
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    flex-wrap: wrap;
}

.page-btn {
    padding: 12px 28px;
    background: linear-gradient(135deg, #D4AF37, #B8860B);
    color: white;
    border: none;
    border-radius: 8px;
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.2);
}

.page-btn:hover {
    background: linear-gradient(135deg, #B8860B, #996515);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
}

.page-btn.disabled {
    background: #ccc;
    cursor: not-allowed;
    opacity: 0.6;
    box-shadow: none;
}

.page-btn.disabled:hover {
    background: #ccc;
    transform: none;
    box-shadow: none;
}

.page-numbers {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.page-number {
    min-width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    color: #666;
    border-radius: 8px;
    text-decoration: none;
    font-family: 'Cinzel', serif;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    padding: 0 15px;
}

.page-number:hover {
    color: #D4AF37;
    border-color: rgba(212, 175, 55, 0.3);
    background: rgba(212, 175, 55, 0.1);
}

.page-number.active {
    background: linear-gradient(135deg, #D4AF37, #B8860B);
    color: white;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2);
}

.page-dots {
    color: #999;
    font-weight: bold;
    padding: 0 5px;
}

/* Toast Notifications */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: white;
    color: #333;
    padding: 18px 24px;
    border-radius: 10px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 1001;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
    border-left: 5px solid #28a745;
    max-width: 380px;
    border: 1px solid #eee;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast.success {
    border-left-color: #28a745;
}

.toast.error {
    border-left-color: #dc3545;
}

.toast i {
    font-size: 1.4rem;
}

.toast.success i {
    color: #28a745;
}

.toast.error i {
    color: #dc3545;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Large Desktops */
@media (min-width: 1440px) {
    .shop-layout {
        grid-template-columns: 320px 1fr;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    }
}

/* Desktops */
@media (max-width: 1200px) {
    .shop-layout {
        grid-template-columns: 250px 1fr;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    
    .products-grid[data-view="list"] .product-card {
        grid-template-columns: 220px 1fr;
    }
}

/* Tablets */
@media (max-width: 992px) {
    .shop-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .filters-sidebar {
        position: fixed;
        top: 0;
        left: -100%;
        width: 380px;
        height: 100vh;
        z-index: 1000;
        margin: 0;
        border-radius: 0;
        border-right: 1px solid rgba(212, 175, 55, 0.1);
        transition: left 0.3s ease;
    }
    
    .filters-sidebar.active {
        left: 0;
    }
    
    .mobile-filter-toggle {
        display: flex;
    }
    
    .products-header {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }
    
    .products-view-options {
        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: 1fr;
        gap: 25px;
    }
    
    .products-grid[data-view="list"] .product-image-wrapper {
        height: 300px;
    }
}

/* Large Mobile */
@media (max-width: 768px) {
    .shop-header {
        padding: 60px 0;
    }
    
    .shop-header h1 {
        font-size: 2.2rem;
    }
    
    .shop-header p {
        font-size: 1.1rem;
    }
    
    .filters-sidebar {
        width: 100%;
        max-width: 400px;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 20px;
    }
    
    .product-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn-cart-premium {
        width: 100%;
        justify-content: center;
    }
    
    .secondary-actions {
        width: 100%;
        justify-content: center;
    }
    
    .pagination {
        flex-direction: column;
        gap: 15px;
    }
    
    .page-numbers {
        order: -1;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .shop-header {
        padding: 50px 0;
    }
    
    .shop-header h1 {
        font-size: 1.8rem;
    }
    
    .shop-header p {
        font-size: 1rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .image-container {
        top: 15px;
        left: 15px;
        right: 15px;
        bottom: 15px;
    }
    
    .premium-badge {
        top: 20px;
        padding: 8px 16px;
        font-size: 0.75rem;
    }
    
    .featured-badge {
        left: 20px;
    }
    
    .stock-badge {
        right: 20px;
    }
    
    .product-content-wrapper {
        padding: 20px;
    }
    
    .product-title {
        font-size: 1.3rem;
    }
    
    .price-value {
        font-size: 1.4rem;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .quick-view-modal {
        max-height: 80vh;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .shop-header {
        padding: 40px 20px;
    }
    
    .filters-sidebar {
        padding: 20px;
    }
    
    .products-grid-container {
        padding: 20px;
    }
    
    .product-meta-top {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .product-specs {
        flex-direction: column;
        gap: 12px;
    }
    
    .pagination {
        gap: 10px;
    }
    
    .page-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .page-number {
        min-width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .product-card:hover .premium-card-wrapper {
        transform: none;
    }
    
    .premium-overlay {
        opacity: 1;
        background: linear-gradient(to bottom, transparent 60%, rgba(26, 26, 26, 0.8));
    }
    
    .overlay-content {
        transform: translateY(0);
    }
    
    .view-btn:active,
    .btn-cart-premium:active,
    .btn-wishlist-premium:active,
    .btn-details-premium:active,
    .page-btn:active,
    .page-number:active {
        transform: scale(0.98);
    }
    
    .btn-cart-premium:active {
        transform: scale(0.98) translateY(0);
    }
}