/* store.css */
.store-page {
    padding-top: var(--nav-height);
    min-height: 100vh;
    background: var(--bg-color);
}

.store-header {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--gradient-2);
}

.store-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.store-header p {
    color: var(--text-muted);
    font-size: 1.2rem;
}

.store-categories {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 2rem;
    flex-wrap: wrap;
}

.category-btn {
    background: var(--bg-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-btn:hover,
.category-btn.active {
    background: var(--gradient-1);
    transform: translateY(-2px);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.product-card {
    background: var(--bg-light);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 15px;
    font-size: 0.9rem;
    z-index: 1;
}

.product-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-actions {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.8);
    transition: bottom 0.3s ease;
    display: flex;
    justify-content: center;
}

.product-card:hover .product-actions {
    bottom: 0;
}

.quick-view-btn {
    background: transparent;
    border: 1px solid white;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quick-view-btn:hover {
    background: white;
    color: var(--bg-color);
}

.product-content {
    padding: 1.5rem;
}

.product-content h3 {
    color: var(--primary-light);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.product-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    min-height: 40px;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-price {
    color: var(--text-color);
    font-size: 1.2rem;
    font-weight: 600;
}

.add-to-cart-btn {
    background: var(--gradient-1);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.add-to-cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(157, 92, 237, 0.3);
}

/* Shopping Cart Sidebar */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: var(--bg-light);
    padding: 2rem;
    transition: right 0.3s ease;
    z-index: 1000;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.cart-sidebar.active {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.close-cart {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.5rem;
    cursor: pointer;
}

.cart-items {
    max-height: calc(100vh - 200px);
    overflow-y: auto;
}

.cart-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: var(--bg-light);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.checkout-btn {
    width: 100%;
    background: var(--gradient-1);
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.checkout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(157, 92, 237, 0.3);
}

@media (max-width: 768px) {
    .store-header h1 {
        font-size: 2rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
        padding: 1rem;
    }

    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
}

/* Add these styles to store.css */
.cart-toggle {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-1);
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    z-index: 999;
}

.cart-toggle:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.cart-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    gap: 1rem;
}

.cart-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 10px;
}

.cart-item-details {
    flex: 1;
}

.cart-item-details h4 {
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quantity-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--text-color);
    width: 25px;
    height: 25px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quantity-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.remove-item {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.2rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.remove-item:hover {
    color: #ff4444;
}

.notification {
    position: fixed;
    top: 2rem;
    right: -300px;
    background: var(--gradient-1);
    color: white;
    padding: 1rem 2rem;
    border-radius: 10px;
    transition: right 0.3s ease;
    z-index: 1000;
}

.notification.show {
    right: 2rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Add to store.css */
.quick-view-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1100;
    overflow-y: auto;
    padding: 2rem;
}

.quick-view-modal.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.quick-view-content {
    background: var(--bg-light);
    border-radius: 20px;
    max-width: 1000px;
    margin: auto;
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.quick-view-image {
    position: relative;
    height: 100%;
    min-height: 400px;
}

.quick-view-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.quick-view-details {
    padding: 2rem;
}

.quick-view-title {
    color: var(--primary-light);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.quick-view-price {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.quick-view-description {
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.product-features {
    margin-bottom: 2rem;
}

.product-features h4 {
    color: var(--primary-light);
    margin-bottom: 1rem;
}

.product-features ul {
    list-style: none;
    padding: 0;
}

.product-features li {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.product-features li::before {
    content: '•';
    color: var(--primary-color);
}

.quick-view-actions {
    display: flex;
    gap: 1rem;
    margin-top: auto;
}

.quick-view-actions .add-to-cart-btn {
    flex: 1;
}

.close-quick-view {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.close-quick-view:hover {
    background: var(--primary-color);
    transform: rotate(90deg);
}

@media (max-width: 768px) {
    .quick-view-content {
        grid-template-columns: 1fr;
    }

    .quick-view-image {
        min-height: 300px;
    }
}

