@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

:root {
    --primary: #2563eb;
    --bg: #f8fafc;
    --border: #e2e8f0;
    --text: #1e293b;
}

body { 
    font-family: 'Inter', sans-serif; 
    background: var(--bg); 
    color: var(--text); 
    margin: 0; 
    line-height: 1.5;
}

header { 
    background: #fff; 
    border-bottom: 1px solid var(--border); 
    padding: 1rem 10%; 
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo { font-weight: 700; font-size: 1.25rem; color: var(--primary); text-decoration: none; }

.container { width: 80%; max-width: 1200px; margin: 2rem auto; }

.btn { 
    background: var(--primary); 
    color: white; 
    padding: 0.6rem 1.2rem; 
    border-radius: 6px; 
    text-decoration: none; 
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

.btn:hover { opacity: 0.9; }

.card { 
    background: #fff; 
    border: 1px solid var(--border); 
    border-radius: 8px; 
    padding: 1.5rem; 
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

/* Сетка товаров */
.product-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); 
    gap: 1.5rem; 
    margin-top: 2rem;
}

.product-card { 
    background: #fff; 
    border: 1px solid var(--border); 
    border-radius: 8px; 
    overflow: hidden;
    transition: transform 0.2s;
}

.product-card:hover { transform: translateY(-4px); }

.product-img { width: 100%; height: 200px; object-fit: cover; border-bottom: 1px solid var(--border); }

.product-info { padding: 1rem; }

.price { font-weight: 700; color: var(--primary); font-size: 1.2rem; }

form input, form textarea { 
    width: 100%; 
    padding: 0.8rem; 
    margin: 0.5rem 0 1rem 0; 
    border: 1px solid var(--border); 
    border-radius: 6px;
    box-sizing: border-box;
}