/* ===== SHOP PAGE STYLES - GOLD/BLACK/SILVER THEME ===== */

/* Shop Container */
.shop-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

/* Page Header */
.shop-header {
    text-align: center;
    margin-bottom: 3rem;
    animation: fadeInDown 0.6s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.shop-badge {
    display: inline-block;
    margin-bottom: 1rem;
}

.badge-gold {
    background: rgba(255, 215, 0, 0.12);
    border: 1px solid rgba(255, 215, 0, 0.3);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #FFD700;
    font-family: 'Poppins', sans-serif;
    backdrop-filter: blur(8px);
    display: inline-block;
}

.shop-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-family: 'Playfair Display', serif;
}

.title-gradient {
    background: linear-gradient(135deg, #FFD700, #FFA500, #c0c0c0);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.title-divider {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #FFD700, #c0c0c0);
    margin: 1rem auto;
    border-radius: 2px;
}

.shop-desc {
    font-size: 1rem;
    color: #c0c0c0;
    max-width: 600px;
    margin: 0 auto;
    font-family: 'Poppins', sans-serif;
}

/* Shop Layout */
.shop-layout {
    display: flex;
    gap: 2.5rem;
    margin-top: 2rem;
}

/* Sidebar */
.shop-sidebar {
    width: 280px;
    flex-shrink: 0;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    padding: 1.5rem;
    position: sticky;
    top: 100px;
    height: fit-content;
    animation: fadeInLeft 0.6s ease-out;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.sidebar-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.sidebar-header i {
    font-size: 1.2rem;
    color: #FFD700;
}

.sidebar-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    margin: 0;
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    margin-bottom: 0.5rem;
}

.category-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 1rem;
    color: #e0e0e0;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
}

.category-list a i {
    color: #FFD700;
    width: 24px;
    font-size: 0.9rem;
}

.category-list a span:first-of-type {
    flex: 1;
    margin-left: 0.5rem;
}

.category-list a .count {
    color: #c0c0c0;
    font-size: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.2rem 0.5rem;
    border-radius: 20px;
}

.category-list a:hover {
    background: rgba(255, 215, 0, 0.1);
    color: #FFD700;
    transform: translateX(5px);
}

.category-list a.active {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 215, 0, 0.05));
    border: 1px solid rgba(255, 215, 0, 0.3);
    color: #FFD700;
}

.sidebar-footer {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
}

.filter-info {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #c0c0c0;
    font-size: 0.85rem;
}

.filter-info i {
    color: #FFD700;
}

/* Products Main */
.shop-main {
    flex: 1;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.8rem;
}

/* Product Card */
.product-card {
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 215, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 215, 0, 0.5);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 215, 0, 0.15);
}

/* Sale Badge */
.product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 10;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Poppins', sans-serif;
}

.product-badge.sale {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #0a0a0a;
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Product Image */
.product-image-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product-card:hover .product-image {
    transform: scale(1.08);
}

/* Product Actions */
.product-actions {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.3s ease;
    z-index: 10;
}

.product-card:hover .product-actions {
    opacity: 1;
    transform: translateX(0);
}

.action-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 215, 0, 0.3);
    color: #FFD700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.action-btn:hover {
    background: #FFD700;
    color: #0a0a0a;
    transform: scale(1.1);
    border-color: #FFD700;
}

.action-btn.wishlist.active {
    background: #FFD700;
    color: #0a0a0a;
}

/* Product Info */
.product-info {
    padding: 1.2rem;
    text-align: center;
}

.product-title {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-family: 'Poppins', sans-serif;
}

.product-title a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-title a:hover {
    color: #FFD700;
}

.product-price {
    margin-bottom: 1rem;
}

.current-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #FFD700;
    font-family: 'Poppins', sans-serif;
}

.old-price {
    font-size: 0.8rem;
    color: #c0c0c0;
    text-decoration: line-through;
    margin-left: 0.5rem;
}

/* Add to Cart Button */
.add-to-cart-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.7rem;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 215, 0, 0.05));
    border: 1.5px solid rgba(255, 215, 0, 0.3);
    border-radius: 12px;
    color: #FFD700;
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.add-to-cart-btn:hover {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #0a0a0a;
    border-color: #FFD700;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.add-to-cart-btn i {
    transition: transform 0.3s ease;
}

.add-to-cart-btn:hover i {
    transform: translateX(3px);
}

/* Empty Products */
.empty-products {
    text-align: center;
    padding: 4rem 2rem;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.empty-products i {
    font-size: 4rem;
    color: #FFD700;
    opacity: 0.5;
    margin-bottom: 1rem;
}

.empty-products h3 {
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-family: 'Playfair Display', serif;
}

.empty-products p {
    color: #c0c0c0;
    margin-bottom: 1.5rem;
}

.reset-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.8rem 1.8rem;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 215, 0, 0.05));
    border: 1.5px solid rgba(255, 215, 0, 0.3);
    border-radius: 50px;
    color: #FFD700;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.reset-btn:hover {
    background: rgba(255, 215, 0, 0.2);
    transform: translateY(-2px);
    gap: 0.8rem;
}

/* Toast Notification */
.shop-toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(12px);
    color: #FFD700;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    border-left: 3px solid #FFD700;
    z-index: 10000;
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.shop-toast.show {
    opacity: 1;
    transform: translateX(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .shop-container {
        padding: 1.5rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 900px) {
    .shop-layout {
        flex-direction: column;
    }
    
    .shop-sidebar {
        width: 100%;
        position: static;
        margin-bottom: 1.5rem;
    }
    
    .category-list {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .category-list li {
        margin-bottom: 0;
    }
    
    .category-list a {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
    
    .sidebar-header {
        margin-bottom: 1rem;
    }
    
    .sidebar-footer {
        display: none;
    }
}

@media (max-width: 768px) {
    .shop-container {
        padding: 1rem;
    }
    
    .shop-title {
        font-size: 2rem;
    }
    
    .shop-desc {
        font-size: 0.9rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1rem;
    }
    
    .product-info {
        padding: 1rem;
    }
    
    .product-title {
        font-size: 0.9rem;
    }
    
    .current-price {
        font-size: 1rem;
    }
    
    .add-to-cart-btn {
        padding: 0.6rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 550px) {
    .shop-title {
        font-size: 1.6rem;
    }
    
    .badge-gold {
        font-size: 0.7rem;
        padding: 0.3rem 1rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .category-list a {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .action-btn {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .product-card,
    .product-image,
    .product-actions,
    .add-to-cart-btn,
    .category-list a {
        transition: none;
        animation: none;
    }
    
    .product-card {
        opacity: 1;
        transform: none;
    }
}