/* Store Specific Styles */

.store-hero {
    padding: 120px 20px 60px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.store-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 10px;
    background: linear-gradient(45deg, #5865F2, #8A2BE2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(88, 101, 242, 0.3);
}

.store-hero p {
    color: #ccc;
    font-size: 1.2rem;
}

.store-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 2;
}


/* Cart Icon in Nav */

.cart-icon {
    position: relative;
    cursor: pointer;
    margin-right: 10px;
    color: white;
    transition: transform 0.3s;
}

.cart-icon:hover {
    transform: scale(1.1);
    color: #5865F2;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ff4757;
    color: white;
    font-size: 0.7rem;
    font-weight: bold;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* Filter Buttons */

.category-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #aaa;
    padding: 8px 20px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.filter-btn:hover,
.filter-btn.active {
    background: rgba(88, 101, 242, 0.2);
    color: #fff;
    border-color: #5865F2;
    box-shadow: 0 0 15px rgba(88, 101, 242, 0.2);
}


/* Product Grid */

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}


/* Product Card */

.product-card {
    background: rgba(20, 20, 20, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
    border-color: rgba(88, 101, 242, 0.3);
}

.product-image {
    height: 250px;
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-icon {
    font-size: 5rem;
    transition: transform 0.3s;
}

.product-card:hover .product-icon {
    transform: scale(1.1);
}

.product-details {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #8A2BE2;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.product-card h3 {
    margin: 0 0 10px 0;
    font-size: 1.3rem;
    color: #fff;
}

.product-card p {
    color: #aaa;
    font-size: 0.9rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.price {
    font-size: 1.4rem;
    font-weight: bold;
    color: #fff;
}

.add-btn {
    background: linear-gradient(90deg, #5865F2, #8A2BE2);
    border: none;
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.add-btn:hover {
    box-shadow: 0 0 15px rgba(88, 101, 242, 0.5);
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .store-hero h1 {
        font-size: 2.5rem;
    }
}