/* Shop Page Styles */

/* Animated Background */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes floatParticle {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
    25% {
        transform: translate(100px, -100px) scale(1.2);
        opacity: 0.5;
    }
    50% {
        transform: translate(-50px, -200px) scale(0.8);
        opacity: 0.7;
    }
    75% {
        transform: translate(150px, -150px) scale(1.1);
        opacity: 0.4;
    }
}

/* Full page animated background for Shop */
.home-page {
    background: linear-gradient(-45deg, #0a0a0a, #111111, #0f0f0f, #0a0a0a);
    background-size: 400% 400%;
    animation: gradientShift 25s ease infinite;
}

/* Floating Particles */
.floating-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #00ff88;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.8);
    animation: floatParticle 20s infinite ease-in-out;
}

.particle:nth-child(1) {
    left: 10%;
    top: 20%;
    animation-delay: 0s;
    animation-duration: 15s;
}

.particle:nth-child(2) {
    left: 70%;
    top: 10%;
    animation-delay: 2s;
    animation-duration: 18s;
}

.particle:nth-child(3) {
    left: 30%;
    top: 70%;
    animation-delay: 4s;
    animation-duration: 22s;
}

.particle:nth-child(4) {
    left: 85%;
    top: 60%;
    animation-delay: 1s;
    animation-duration: 20s;
}

.particle:nth-child(5) {
    left: 50%;
    top: 40%;
    animation-delay: 3s;
    animation-duration: 16s;
}

.shop-hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #0d0d0d 50%, #0a0a0a 100%);
    position: relative;
}

.shop-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(0, 255, 136, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(0, 255, 136, 0.03) 0%, transparent 40%);
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h2 {
    color: #e0e0e0;
}

.hero-text p {
    color: #b0b0b0;
}

.hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-image {
    width: 100%;
    height: 300px;
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00ff88;
    font-size: 4rem;
}

/* Shop Categories */
.shop-categories {
    padding: 80px 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #0d0d0d 50%, #0a0a0a 100%);
    position: relative;
}

.shop-categories::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 60% 40%, rgba(0, 255, 136, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 20% 70%, rgba(0, 255, 136, 0.03) 0%, transparent 40%);
    pointer-events: none;
    z-index: 0;
}

.shop-categories .container {
    position: relative;
    z-index: 1;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.category-card {
    background: #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid #2a2a2a;
    transition: all 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    border-color: #00ff88;
    box-shadow: 0 10px 40px rgba(0, 255, 136, 0.2);
}

.category-image {
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.category-content {
    padding: 1.5rem;
    text-align: center;
}

.category-content h3 {
    margin-bottom: 0.5rem;
    color: #e0e0e0;
}

.category-content p {
    margin-bottom: 1rem;
    color: #b0b0b0;
}

/* Featured Products */
.featured-products {
    padding: 4rem 0 5rem 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #0d0d0d 50%, #0a0a0a 100%);
    position: relative;
}

.featured-products::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 30%, rgba(0, 255, 136, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 60%, rgba(0, 255, 136, 0.03) 0%, transparent 40%);
    pointer-events: none;
    z-index: 0;
}

.featured-products .container {
    position: relative;
    z-index: 1;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.product-card {
    background: #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid #2a2a2a;
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: #00ff88;
    box-shadow: 0 10px 40px rgba(0, 255, 136, 0.2);
}

.product-image {
    position: relative;
    height: 250px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #667eea;
    font-size: 3rem;
}

.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #00ff88;
    color: #0a0a0a;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 700;
    z-index: 10;
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-image:hover .product-overlay {
    opacity: 1;
}

.quick-view-btn,
.add-to-cart-btn {
    width: 40px;
    height: 40px;
    background: #00ff88;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0a0a0a;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quick-view-btn:hover,
.add-to-cart-btn:hover {
    transform: scale(1.1);
    background: #00cc6f;
    box-shadow: 0 4px 15px rgba(0, 255, 136, 0.4);
}

.product-content {
    padding: 1.5rem;
}

.product-content h3 {
    margin-bottom: 0.5rem;
    color: #e0e0e0;
}

.product-description {
    margin-bottom: 1rem;
    color: #b0b0b0;
    font-size: 0.875rem;
}

.product-price {
    margin-bottom: 1rem;
}

.current-price {
    font-size: 1.25rem;
    font-weight: 600;
    color: #00ff88;
}

.original-price {
    font-size: 1rem;
    color: #666;
    text-decoration: line-through;
    margin-left: 0.5rem;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.stars {
    display: flex;
    gap: 0.25rem;
}

.stars i {
    color: #ffc107;
}

.rating-count {
    font-size: 0.875rem;
    color: #999;
}

.add-to-cart {
    width: 100%;
}

/* Product Filters */
.product-filters {
    padding: 3rem 0 2rem 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #0d0d0d 50%, #0a0a0a 100%);
    border-bottom: 1px solid #2a2a2a;
    position: relative;
}

.product-filters::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 40% 60%, rgba(0, 255, 136, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 90% 30%, rgba(0, 255, 136, 0.03) 0%, transparent 40%);
    pointer-events: none;
    z-index: 0;
}

.product-filters .container {
    position: relative;
    z-index: 1;
}

.filters-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.filter-section h3 {
    margin-bottom: 1rem;
    font-size: 1rem;
    color: #e0e0e0;
}

.filter-options {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-option {
    padding: 0.5rem 1rem;
    border: 2px solid #2a2a2a;
    background: #1a1a1a;
    color: #e0e0e0;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.875rem;
}

.filter-option.active,
.filter-option:hover {
    background: #00ff88;
    color: #0a0a0a;
    border-color: #00ff88;
}

.sort-select {
    padding: 0.5rem 1rem;
    border: 2px solid #2a2a2a;
    border-radius: 8px;
    background: #1a1a1a;
    color: #e0e0e0;
    cursor: pointer;
}

/* Shopping Cart Sidebar */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: #1a1a1a;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.5);
    border-left: 1px solid #2a2a2a;
    z-index: 1001;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.open {
    right: 0;
}

.cart-header {
    padding: 1.5rem;
    border-bottom: 1px solid #2a2a2a;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h3 {
    margin: 0;
    color: #e0e0e0;
}

.close-cart {
    width: 30px;
    height: 30px;
    border: none;
    background: none;
    cursor: pointer;
    color: #b0b0b0;
    font-size: 1.25rem;
}

.close-cart:hover {
    color: #00ff88;
}

.cart-items {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
}

.cart-footer {
    padding: 1.5rem;
    border-top: 1px solid #2a2a2a;
}

.cart-total {
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: #e0e0e0;
}

.checkout-btn {
    width: 100%;
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cart-overlay.open {
    opacity: 1;
    visibility: visible;
}

/* All Products Section */
.all-products {
    padding: 80px 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #0d0d0d 50%, #0a0a0a 100%);
    position: relative;
}

.all-products::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 50%, rgba(0, 255, 136, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 30% 80%, rgba(0, 255, 136, 0.03) 0%, transparent 40%);
    pointer-events: none;
    z-index: 0;
}

.all-products .container {
    position: relative;
    z-index: 1;
}

/* Section Header */
.section-header h2 {
    color: #e0e0e0;
}

.section-header p {
    color: #b0b0b0;
}

/* Newsletter Signup */
.newsletter-signup {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.newsletter-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.newsletter-text h2 {
    margin-bottom: 0.5rem;
    color: white;
}

.newsletter-text p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    min-width: 400px;
    max-width: 100%;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
}

.newsletter-form button {
    padding: 0.75rem 1.5rem;
    background: white;
    color: #667eea;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.newsletter-form button:hover {
    transform: translateY(-2px);
}

/* Responsive Design for Shop Page */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
    }

    .cart-sidebar {
        width: 100%;
        right: -100%;
    }

    .newsletter-content {
        flex-direction: column;
        text-align: center;
    }

    .newsletter-form {
        min-width: auto;
        width: 100%;
        flex-direction: column;
    }

    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
    }
}

@media (max-width: 968px) {
    .products-grid,
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .products-grid,
    .categories-grid {
        grid-template-columns: 1fr;
    }
}

