/* =========================================================
   PROPERASPORT — POPULAR PRODUCTS
========================================================= */

.ps-popular-products {
    display: block;
    width: 100%;
    padding: 20px 20px;
    margin: 0;
	margin-bottom: 40px;
    box-sizing: border-box;
    background: #FFFFFF;
}

.ps-popular-products *,
.ps-popular-products *::before,
.ps-popular-products *::after {
    box-sizing: border-box;
}

.ps-popular-products__container {
    display: block;
    width: min(1280px, calc(100% - 40px));
    max-width: 100%;
    margin: 0 auto;
}

/* =========================================================
   HEADER
========================================================= */

.ps-popular-products__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
    margin: 0 0 32px;
}

.ps-popular-products__heading {
    min-width: 0;
}

.ps-popular-products .ps-popular-products__title {
    display: block;
    margin: 0 !important;
    padding: 0 !important;
    color: #063F63 !important;
    font-family: 'MULTIROUND', sans-serif !important;
    font-size: 34px !important;
    font-weight: 400 !important;
    line-height: 1.15 !important;
    letter-spacing: normal !important;
    text-transform: none !important;
}

.ps-popular-products .ps-popular-products__description {
    display: block;
    margin: 10px 0 0 !important;
    padding: 0 !important;
    color: rgba(6, 63, 99, 0.68) !important;
    font-family: 'Nunito', sans-serif !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
}

/* =========================================================
   NAVIGATION
========================================================= */

.ps-popular-products__navigation {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 10px;
}

.ps-popular-products .ps-popular-products__arrow {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 42px;
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid #8F2A91 !important;
    border-radius: 50% !important;
    background: #FFFFFF !important;
    color: #8F2A91 !important;
    font-family: Arial, sans-serif !important;
    font-size: 20px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    cursor: pointer;
    box-shadow: none !important;
    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        opacity 0.25s ease,
        transform 0.25s ease;
}

.ps-popular-products .ps-popular-products__arrow:hover:not(:disabled) {
    background: #8F2A91 !important;
    color: #FFFFFF !important;
    transform: translateY(-2px);
}

.ps-popular-products .ps-popular-products__arrow:disabled {
    opacity: 0.35;
    cursor: default;
}

/* =========================================================
   SLIDER
========================================================= */

.ps-popular-products__slider {
    display: block;
    width: 100%;
    min-width: 0;
    overflow: hidden;
}

.ps-popular-products__track {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch;
    gap: 16px;
    width: 100%;
    margin: 0;
    padding: 0;
    transition: transform 0.35s ease;
    will-change: transform;
}

.ps-popular-products__item {
    display: flex;
    flex: 0 0 calc((100% - 48px) / 4);
    min-width: 0;
    margin: 0;
    padding: 0;
}

.ps-popular-products__item > .ps-product-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    height: 100%;
}

/* Изображения */

.ps-popular-products .ps-product-card__image {
    background: #FFFFFF;
}

.ps-popular-products .ps-product-card__image img {
    object-fit: contain !important;
    background: #FFFFFF;
}

/* =========================================================
   FOOTER
========================================================= */

.ps-popular-products__footer {
    display: flex;
    justify-content: center;
    margin: 36px 0 0;
    padding: 0;
}

.ps-popular-products .ps-popular-products__catalog-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    color: #8F2A91 !important;
    font-family: 'Nunito', sans-serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.5;
    text-decoration: none !important;
    transition: color 0.25s ease, gap 0.25s ease;
}

.ps-popular-products .ps-popular-products__catalog-link:hover {
    color: #762078 !important;
    gap: 12px;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .ps-popular-products {
        padding: 64px 0;
    }

    .ps-popular-products__item {
        flex-basis: calc((100% - 16px) / 2);
    }

    .ps-popular-products .ps-popular-products__title {
        font-size: 30px !important;
    }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .ps-popular-products {
        padding: 20px 0;
		margin-bottom: 10px;
    }

    .ps-popular-products__container {
        width: calc(100% - 36px);
    }

    .ps-popular-products__header {
        align-items: flex-end;
        gap: 10px;
        margin-bottom: 24px;
    }

    .ps-popular-products .ps-popular-products__title {
        font-size: 25px !important;
    }

    .ps-popular-products .ps-popular-products__description {
        margin-top: 8px !important;
        font-size: 14px !important;
    }

    .ps-popular-products__navigation {
        gap: 6px;
    }

    .ps-popular-products .ps-popular-products__arrow {
        flex-basis: 34px;
        width: 34px !important;
        height: 34px !important;
        min-width: 34px !important;
        min-height: 34px !important;
        font-size: 17px !important;
    }

    .ps-popular-products__item {
        flex-basis: 100%;
    }

    .ps-popular-products__footer {
        margin-top: 28px;
    }
}

/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .ps-popular-products__track,
    .ps-popular-products__arrow,
    .ps-popular-products__catalog-link {
        transition: none !important;
    }
}