* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #2196F3;
    --secondary: #4CAF50;
    --accent: #FF9800;
    --dark: #1a1a2e;
    --light: #f5f5f5;
    --text: #333;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--light);
    color: var(--text);
    line-height: 1.6;
}

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

/* Header */
.header {
    background: linear-gradient(135deg, var(--dark) 0%, #16213e 100%);
    color: white;
    padding: 20px 0;
    text-align: center;
}

.header h1 {
    font-size: 2.5em;
    margin-bottom: 5px;
}

.back-link {
    color: white;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 10px;
}

/* Store Cards */
.stores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 30px 0;
}

.store-card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.store-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

.store-card h3 {
    color: var(--primary);
    margin-bottom: 10px;
}

.stars {
    color: #FFD700;
    font-size: 1.2em;
    margin: 10px 0;
}

.stars span {
    color: #666;
    font-size: 0.9em;
    margin-right: 5px;
}

.description {
    color: #666;
    margin: 10px 0;
}

/* Products */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.product-card {
    background: white;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

.product-card h4 {
    margin: 10px 0 5px;
    color: var(--dark);
}

.price {
    color: var(--secondary);
    font-size: 1.3em;
    font-weight: bold;
}

/* Categories */
.category-tag {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    margin: 5px 5px 5px 0;
    font-size: 0.9em;
}

/* Buttons */
.btn {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 10px 25px;
    border-radius: 25px;
    text-decoration: none;
    transition: background 0.3s;
    margin-top: 15px;
}

.btn:hover {
    background: #1976D2;
}

.btn-primary {
    background: var(--secondary);
}

.btn-primary:hover {
    background: #388E3C;
}

/* Store Header */
.store-header {
    background: white;
    padding: 30px;
    border-radius: 15px;
    margin: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.store-header h2 {
    color: var(--primary);
    margin-bottom: 10px;
}

/* Ratings */
.ratings-section {
    background: white;
    padding: 30px;
    border-radius: 15px;
    margin: 20px 0;
}

.rating-item {
    border-bottom: 1px solid #eee;
    padding: 15px 0;
}

.rating-item:last-child {
    border-bottom: none;
}

/* Bot Section */
.bot-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    margin: 20px 0;
}

.bot-section p {
    margin-bottom: 20px;
    font-size: 1.1em;
}

/* Footer */
.footer {
    background: var(--dark);
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}

/* Responsive */
@media (max-width: 768px) {
    .header h1 {
        font-size: 1.8em;
    }

    .stores-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }
}
