* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Inter', sans-serif;
    background: #f5f7fc;
    color: #1a2c3e;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
header {
    background: rgba(206, 253, 225, 0.96);
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    border-bottom: 1px solid #e9edf2;
    position: sticky;
    top: 0;
    z-index: 100;
}
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}
.nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 16px 0;
}
.logo {
    font-size: 1.7rem;
    font-weight: 700;
    background: linear-gradient(135deg, #1e6f5c, #289672);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.logo span { color: #289672; background: none; }
.nav-links { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.nav-links a {
    text-decoration: none;
    font-weight: 500;
    color: #2c3e50;
    transition: 0.2s;
}
.nav-links a:hover { color: #1e6f5c; }
main { flex: 1; padding: 40px 0 60px; }
.page-title { font-size: 2.2rem; font-weight: 600; margin-bottom: 32px; color: #0f2b38; }
.grid-catalog {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}
.product-card {
    background: white;
    border-radius: 24px;
    padding: 20px 16px 24px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.03);
    border: 1px solid #eef2f8;
    transition: 0.25s;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.product-card:hover { transform: translateY(-6px); box-shadow: 0 20px 30px -12px rgba(0,0,0,0.1); }
.product-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 16px;
    background: #eef2f8;
}
.price { font-weight: 700; color: #1e6f5c; font-size: 1.4rem; margin: 12px 0; }
.btn-buy, .btn-primary {
    background: #1e6f5c;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 40px;
    font-weight: 500;
    cursor: pointer;
    transition: 0.2s;
    text-decoration: none;
    display: inline-block;
}
.btn-buy:hover, .btn-primary:hover { background: #0e5545; }
.btn-primary { width: 100%; padding: 12px; font-size: 1rem; }
.hero-block {
    background: linear-gradient(105deg, #ffffff, #f8fbfe);
    border-radius: 36px;
    padding: 32px;
    margin-bottom: 40px;
    border: 1px solid #e2edf2;
}
.hero-block h2 { font-size: 1.8rem; margin-bottom: 16px; }
.hero-block p { font-size: 1.1rem; margin-bottom: 24px; }
.form-container {
    max-width: 480px;
    margin: 20px auto;
    background: white;
    padding: 32px 28px;
    border-radius: 32px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.05);
}
.form-group { margin-bottom: 20px; }
.form-group label { font-weight: 500; display: block; margin-bottom: 8px; }
.form-group input {
    width: 100%;
    padding: 12px 16px;
    border-radius: 60px;
    border: 1px solid #cfdfe9;
    font-size: 1rem;
}
.form-group input:focus {
    outline: none;
    border-color: #289672;
    box-shadow: 0 0 0 3px rgba(30,111,92,0.2);
}
.auth-switch { text-align: center; margin-top: 20px; }
.auth-switch a { color: #1e6f5c; text-decoration: none; }
.about-text {
    background: white;
    padding: 32px;
    border-radius: 28px;
    line-height: 1.6;
}
.error-404 { text-align: center; padding: 60px 20px; }
.error-404 h1 { font-size: 7rem; color: #cbd5e1; font-weight: 800; }
.info-banner {
    margin-top: 32px;
    background: #eaf7f2;
    border-radius: 28px;
    padding: 24px;
    text-align: center;
}
footer {
    background: #f0f4f9;
    text-align: center;
    padding: 24px;
    font-size: 0.85rem;
    color: #5c6f87;
}
@media (max-width: 720px) {
    .nav-bar { flex-direction: column; gap: 12px; }
    .nav-links { gap: 18px; justify-content: center; }
    .grid-catalog { grid-template-columns: 1fr; }
}