/* Баннер */
.banner {
    background-image: url('../img/banner-image.png');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    color: var(--text-color);
    text-align: left;
}

.banner__content {
    max-width: 600px;
}

.banner__title {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: bold;
}

.banner__text {
    font-size: 18px;
    margin-bottom: 30px;
    line-height: 1.6;
}

.banner__text-gradient {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Секции */
.section {
    padding: 80px 0;
}

.section__title {
    font-size: 36px;
    text-align: center;
    margin-bottom: 50px;
    font-weight: bold;
}

/* Популярные товары */
.popular__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.popular-card {
    background-color: var(--card-background);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    padding: 20px;
}

.popular-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.popular-card__image {
    margin-bottom: 15px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popular-card__title {
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: 600;
}

.popular-card__count {
    color: #666;
}

/* Хиты продаж */
.hits__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.product-card {
    background-color: var(--card-background);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.product-card__favourite {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    cursor: pointer;
}

.product-card__image {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 20px;
}

.product-card__image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-card__content {
    padding: 20px;
}

.product-card__title {
    font-size: 16px;
    margin-bottom: 5px;
    font-weight: 600;
    height: 50px;
    overflow: hidden;
    padding-bottom: 10px;
}

.product-card__rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 15px;
}

.stars {
    display: flex;
    gap: 2px;
}

.rating-count {
    font-size: 14px;
    color: #666;
}

.product-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-card__price {
    font-size: 18px;
    font-weight: bold;
    color: var(--primary-color);
}

/* Секция регистрации */
.registration {
    padding: 80px 0;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: white;
    text-align: center;
}

.registration__title {
    font-size: 36px;
    margin-bottom: 20px;
    font-weight: bold;
}

.registration__text {
    font-size: 18px;
    margin-bottom: 30px;
}
#register-btn{
    font-size: 16px;
}
/* Адаптивность */
@media (max-width: 1024px) {
    .popular__grid,
    .hits__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .banner__title {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }
    
    .section__title {
        font-size: 28px;
    }
    
    .banner {
        padding: 80px 0;
    }
    
    .banner__title {
        font-size: 28px;
    }
    
    .banner__text {
        font-size: 16px;
    }
    
    .registration__title {
        font-size: 28px;
    }
    
    .registration__text {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .popular__grid,
    .hits__grid {
        grid-template-columns: 1fr;
    }
    
    .banner__title {
        font-size: 24px;
    }
}