:root {
    --primary-gradient: linear-gradient(135deg, #f97316, #fb923c);
    --secondary-gradient: linear-gradient(135deg, #1e293b, #0f172a);
    --accent-glow: 0 0 20px rgba(249, 115, 22, 0.3);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
}

body {
    background-color: #0f172a;
    color: var(--text-primary);
    font-family: 'Cairo', 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

.store-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 20px 60px;
}

.store-header {
    text-align: center;
    margin-bottom: 60px;
}

.store-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.store-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Sections */
.section-title {
    font-size: 1.8rem;
    margin: 40px 0 30px;
    padding-right: 15px;
    border-right: 4px solid #f97316;
}

/* Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

/* Product Card */
.product-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(10px);
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: rgba(249, 115, 22, 0.4);
    box-shadow: var(--accent-glow);
}

.product-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    padding: 15px;
    background: rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid var(--glass-border);
    transition: transform 0.5s ease;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    background: rgba(249, 115, 22, 0.1);
    color: #fb923c;
    margin-bottom: 12px;
    width: fit-content;
}

.product-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.product-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price-box {
    display: flex;
    flex-direction: column;
}

.current-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: #f97316;
}

.old-price {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-decoration: line-through;
    opacity: 0.6;
}

.buy-btn {
    padding: 8px 15px;
    border-radius: 12px;
    background: var(--primary-gradient);
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.buy-btn:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* Primary Section Specifics */
.primary-items .product-card {
    border-width: 2px;
    background: rgba(249, 115, 22, 0.05);
}

/* Navbar Style (Matching landing) */
.store-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-back {
    color: var(--text-secondary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s;
}

.nav-back:hover {
    color: #f97316;
}

/* Search Bar */
.search-container {
    max-width: 600px;
    margin: 0 auto 40px;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 15px 45px 15px 20px;
    border-radius: 15px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: white;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
}

.search-input:focus {
    border-color: #f97316;
}

.search-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    .product-card {
        padding: 15px;
    }
    .product-card h3 {
        font-size: 1rem;
    }
    .product-image {
        height: 120px;
    }
    .store-header h1 {
        font-size: 2rem;
    }
}
