

/* Start:/local/templates/main/components/bitrix/catalog.section/home_products_slider/style.css?17860029269777*/
.home-products-slider {
    --home-slider-dark: #101b29;
    --home-slider-yellow: #fde100;
    --home-slider-gray: #737373;
    --home-slider-blue-gray: #3e4f5f;
    --home-slider-border: #e4e8ec;
    --home-slider-gap: 20px;

    padding: 64px 0;
    background: #fff;
    color: var(--home-slider-dark);
}

.home-products-slider *,
.home-products-slider *::before,
.home-products-slider *::after {
    box-sizing: border-box;
}

.home-products-slider__container {
    width: 100%;
}

.home-products-slider__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}

.home-products-slider__title {
    font-size: clamp(26px, 3vw, 40px);
    line-height: 1.15;
    font-weight: 700;
    color: var(--home-slider-dark);
}

.home-products-slider__navigation {
    display: flex;
    flex: 0 0 auto;
    gap: 8px;
}

.home-products-slider__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    padding: 0;
    color: #fff;
    background: var(--home-slider-dark);
    border: 1px solid var(--home-slider-dark);
    border-radius: 0;
    cursor: pointer;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.home-products-slider__arrow:hover,
.home-products-slider__arrow:focus-visible {
    color: var(--home-slider-dark);
    background: var(--home-slider-yellow);
    border-color: var(--home-slider-yellow);
    outline: none;
}

.home-products-slider__arrow:disabled {
    opacity: 0.35;
    cursor: default;
}

.home-products-slider__viewport {
    width: 100%;
    overflow: hidden;
}

.home-products-slider__track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - (var(--home-slider-gap) * 3)) / 4);
    gap: var(--home-slider-gap);
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-behavior: smooth;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.home-products-slider__track::-webkit-scrollbar {
    display: none;
}

.home-product-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 100%;
    padding: 20px;
    background: #fff;
    border: 1px solid var(--home-slider-border);
    scroll-snap-align: start;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.home-product-card:hover {
    border-color: #cbd2d9;
    box-shadow: 0 14px 34px rgba(16, 27, 41, 0.1);
    transform: translateY(-2px);
}

.home-product-card__image-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 250px;
    margin-bottom: 18px;
    overflow: hidden;
    background: #fff;
    text-decoration: none;
}

.home-product-card__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.25s ease;
}

.home-product-card:hover .home-product-card__image {
    transform: scale(1.035);
}

.home-product-card__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #a7b0b9;
    background: #f6f7f8;
}

.home-product-card__body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
}

.home-product-card__name {
    display: -webkit-box;
    min-height: 48px;
    margin-bottom: 14px;
    overflow: hidden;
    color: var(--home-slider-dark);
    font-size: 17px;
    line-height: 24px;
    font-weight: 600;
    text-decoration: none;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.home-product-card__name:hover,
.home-product-card__name:focus-visible {
    color: var(--home-slider-blue-gray);
    text-decoration: underline;
    text-decoration-color: var(--home-slider-yellow);
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
    outline: none;
}

.home-product-card__stock {
    min-height: 44px;
    margin: 0 0 16px;
}

.home-product-card__availability {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 14px;
    line-height: 20px;
}

.home-product-card__availability svg {
    flex: 0 0 auto;
    margin-top: 1px;
}

.home-product-card__availability--in-stock {
    color: #2d8400;
}

.home-product-card__availability--in-stock span {
    color: var(--home-slider-dark);
}

.home-product-card__availability--order {
    color: #999;
    font-weight: 600;
}

.home-product-card__stock-link {
    color: #0066cc;
    font-weight: 400;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.home-product-card__price-row {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px 12px;
    min-height: 38px;
    margin-top: auto;
    margin-bottom: 18px;
}

.home-product-card__price {
    color: var(--home-slider-dark);
    font-size: 24px;
    line-height: 30px;
    font-weight: 700;
}

.home-product-card__price--request {
    font-size: 18px;
}

.home-product-card__old-price {
    color: var(--home-slider-gray);
    font-size: 14px;
    line-height: 20px;
    text-decoration: line-through;
}

.home-product-card__actions {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 10px;
    align-items: stretch;
}

.home-product-card__counter {
    display: grid;
    grid-template-columns: 34px minmax(40px, 1fr) 34px;
    width: 112px;
    height: 46px;
    border: 1px solid #cbd2d9;
}

.home-product-card__counter .btn-counter {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    min-width: 34px;
    height: 44px;
    min-height: 44px;
    padding: 0;
    background: #fff;
    border: 0;
    color: var(--home-slider-dark);
}

.home-product-card__counter .btn-counter::before,
.home-product-card__counter .btn-counter::after {
    position: absolute;
    top: 50%;
    right: auto;
    bottom: auto;
    left: 50%;
    z-index: 1;
    width: 10px;
    height: 2px;
    margin: -1px 0 0 -5px;
    content: '';
    background: currentColor;
    border-radius: 0;
    transform: none;
    transition: none;
}

.home-product-card__counter .plus::after {
    transform: rotate(90deg);
}

.home-product-card__counter .item-quantity-value {
    width: 100%;
    height: 44px;
    min-height: 44px;
    padding: 0 4px;
    color: var(--home-slider-dark);
    background: #fff;
    border: 0;
    border-right: 1px solid #e2e6ea;
    border-left: 1px solid #e2e6ea;
    border-radius: 0;
    font-size: 14px;
    line-height: 44px;
    text-align: center;
    outline: none;
    appearance: textfield;
}

.home-product-card__counter .item-quantity-value::-webkit-outer-spin-button,
.home-product-card__counter .item-quantity-value::-webkit-inner-spin-button {
    margin: 0;
    appearance: none;
}

.home-product-card .home-product-card__buy {
    position: relative;
    inset: auto;
    width: 100%;
    height: 46px;
    min-height: 46px;
    padding: 12px 16px;
    white-space: nowrap;
}

.home-product-card .home-product-card__buy:hover,
.home-product-card .home-product-card__buy:focus-visible {
    color: #fff;
    border-color: var(--home-slider-dark);
    outline: none;
}

@media (max-width: 1199px) {
    .home-products-slider__track {
        grid-auto-columns: calc((100% - (var(--home-slider-gap) * 2)) / 3);
    }
}

@media (max-width: 899px) {
    .home-products-slider {
        padding: 48px 0;
    }

    .home-products-slider__track {
        grid-auto-columns: calc((100% - var(--home-slider-gap)) / 2);
    }
}

@media (max-width: 599px) {
    .home-products-slider {
        --home-slider-gap: 14px;
        padding: 36px 0;
    }

    .home-products-slider__header {
        align-items: flex-end;
        margin-bottom: 20px;
    }

    .home-products-slider__navigation {
        gap: 6px;
    }

    .home-products-slider__arrow {
        width: 40px;
        height: 40px;
    }

    .home-products-slider__track {
        grid-auto-columns: minmax(272px, 88%);
    }

    .home-product-card {
        padding: 16px;
    }

    .home-product-card__image-link {
        height: 220px;
    }
}

@media (max-width: 379px) {
    .home-products-slider__title {
        font-size: 24px;
    }

    .home-products-slider__track {
        grid-auto-columns: 47%;
    }

    .home-product-card__actions {
        grid-template-columns: 1fr;
    }

    .home-product-card__counter {
        width: 100%;
        grid-template-columns: 44px minmax(40px, 1fr) 44px;
    }

    .home-product-card__counter .btn-counter {
        width: 44px;
        min-width: 44px;
    }
    .home-product-card__image-link{
        height:120px;
    }
    .home-product-card__name{
        font-size:16px;
    }
    .home-product-card__availability{
        font-size:12px;
    }
    .home-product-card__price {
        font-size:17px;
    }
}

.home-product-card__actions {
    display: block;
}

.product-counter.home-product-card__counter {
    display: none;
}

.home-product-card .home-product-card__buy {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;

    display: inline-flex;
    width: 100%;
    height: 46px;
}

.home-product-card__actions.is-counter-visible .home-product-card__buy {
    display: none;
}

.home-product-card__actions.is-counter-visible .home-product-card__counter {
    display: grid;
    grid-template-columns: 46px minmax(40px, 1fr) 46px;
    width: 100%;
    height: 46px;
}

.home-product-card__actions.is-counter-visible
.home-product-card__counter .btn-counter {
    width: 46px;
    min-width: 46px;
}

@media (max-width:480px) {
    .home-products-slider__header .section-title {
        font-size:24px;
    }
}

/* End */
/* /local/templates/main/components/bitrix/catalog.section/home_products_slider/style.css?17860029269777 */
