Загрузка данных


/* СБРОС СТИЛЕЙ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #f8f9fa;
    color: #111;
}

/* ШАПКА САЙТА */
header {
    background-color: #222;
    color: white;
    text-align: center;
    padding: 15px;
    font-size: 20px;
    letter-spacing: 2px;
}

/* НАВИГАЦИЯ */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: white;
    padding: 10px 20px;
    font-size: 13px;
    color: #555;
    border-bottom: 1px solid #eee;
}

nav a {
    text-decoration: none;
    color: #555;
    margin-right: 15px;
}

.nav-btn {
    background-color: #00b8d4;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    text-decoration: none;
    margin-right: 0;
}

/* БАННЕР (HERO) */
.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #e8f0f5;
    padding: 30px 20px;
    flex-wrap: wrap;
}

.hero-text {
    max-width: 50%;
}

.hero-text h1 {
    font-size: 22px;
    margin-bottom: 10px;
}

.hero-text ul {
    font-size: 12px;
    color: #555;
    margin-left: 15px;
    line-height: 1.6;
}

.hero-img {
    width: 200px;
    height: 150px;
    background-color: #00b8d4;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 12px;
}

/* СЕКЦИИ С ТОВАРАМИ */
.products-section {
    padding: 30px 20px;
    text-align: center;
}

.products-section h2 {
    font-size: 18px;
    margin-bottom: 20px;
}

.products-grid {
    display: flex;
    justify-content: space-around;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.card {
    width: 22%;
    min-width: 120px;
    text-align: center;
}

.card-img {
    width: 100%;
    height: 100px;
    background-color: #ddd;
    border-radius: 8px;
    margin-bottom: 10px;
}

.card h3 {
    font-size: 12px;
    font-weight: normal;
    margin-bottom: 5px;
    height: 30px;
    overflow: hidden;
}

.card p {
    font-size: 11px;
    color: #777;
    margin-bottom: 5px;
}

.card .price {
    font-weight: bold;
    color: #000;
}

/* ПАГИНАЦИЯ И КНОПКИ */
.pagination {
    font-size: 12px;
    color: #555;
    margin-bottom: 15px;
}

.btn-dark {
    background-color: #222;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
}

/* ПОДВАЛ (ПАНЕЛЬ АВТОРИЗАЦИИ) */
footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: white;
    padding: 20px;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -5px 15px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

footer button {
    width: 100%;
    padding: 15px;
    border-radius: 8px;
    font-size: 16px;
    border: none;
    cursor: pointer;
}

.btn-signup {
    background-color: #1a8cff;
    color: white;
}

.btn-login {
    background-color: white;
    color: black;
    border: 1px solid #ccc;
}

/* АДАПТАЦИЯ ДЛЯ ТЕЛЕФОНОВ */
@media (max-width: 600px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }
    .hero-text {
        max-width: 100%;
        margin-bottom: 20px;
    }
    .hero-text ul {
        text-align: left;
        display: inline-block;
    }
    .card {
        width: 45%;
        margin-bottom: 15px;
    }
    body {
        padding-bottom: 120px;
    }
}