/* index-desktop.css — стили главной страницы (ПК версия) */

.main-page {
    max-width: 1328px;
    margin: 0 auto;
    padding: 24px;
}

.main-page__top {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.main-page__catalog-btn {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    background: var(--primary);
    color: #FFFFFF;
    border: none;
    font-size: 14px;
    font-family: inherit;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none;
    border-radius: var(--border-radius);
}
.main-page__catalog-btn:hover { background: var(--primary-hover); }

.main-page__top .search-bar { flex: 1; margin-bottom: 0; }

.search-bar__btn svg { display: none; }

/* Слайдер */
.carousel {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    margin-bottom: calc(12 / 825 * 100%);
}
.carousel__track { display: flex; transition: transform 0.5s ease; }
.carousel__slide {
    min-width: 100%;
   /* height: 400px;*/
    width: 1280px;
    height: 400px;
    flex-shrink: 0;
}
.carousel__slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.carousel__btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(0,0,0,0.4); border: none; width: 48px; height: 48px;
    cursor: pointer; font-size: 24px; z-index: 2; color: #fff;
}
.carousel__btn:hover { background: rgba(0,0,0,0.7); }
.carousel__btn--prev { left: 0; }
.carousel__btn--next { right: 0; }

/* Инфо-баннер */
.info-banner {
    display: flex;
    background: #014DA1;
    color: #EDFFFF;
    aspect-ratio: 825/85;
    margin-bottom: calc(12 / 825 * 100%);
    border-radius: var(--border-radius);
    overflow: hidden;
    font-size: calc(10 / 825 * 100vw);
}
.info-banner__col {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.8em;
    padding: 0.8em;
    padding-left: calc(40 / 825 * 100%);
}
.info-banner__icon {
    width: 2.4em;
    height: 2.4em;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.info-banner__icon svg {
    width: 100%;
    height: 100%;
    fill: #EDFFFF;
}
.info-banner__text {
    line-height: 1.3;
    text-align: left;
    text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}
.info-banner__title {
    font-weight: 700;
    text-transform: uppercase;
}
.info-banner__sub {
    font-weight: 400;
    opacity: 0.85;
    font-size: 0.9em;
}

/* Производители */
.manufacturers {
    overflow: hidden;
    position: relative;
    margin-bottom: calc(12 / 825 * 100%);
}
.manufacturers__track { display: flex; gap: 12px; width: max-content; }
.manufacturers__item { flex-shrink: 0; width: 120px; height: 80px; }
.manufacturers__item img { width: 100%; height: 100%; object-fit: contain; }

/* Яндекс.Карта */
.ya-map {
    aspect-ratio: 825/230;
    background: #f0f0f0;
    border-radius: var(--border-radius);
    overflow: hidden;
}
.ya-map iframe { width: 100%; height: 100%; border: 0; }
