@charset "UTF-8";

/* my css */

/* Блок подбора смартфона */

.home-task-picker {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.75fr);
    min-height: 330px;
    margin: 24px 0 38px;
    overflow: hidden;

    background: linear-gradient(
        110deg,
        #f7f7fb 0%,
        #f7f7fb 65%,
        #e9eaf4 100%
    );

    border-left: 4px solid #50549a;
    border-radius: 3px;
    box-sizing: border-box;
}

/* Текстовая часть */

.home-task-picker__content {
    position: relative;
    z-index: 2;
    padding: 27px 12px 27px 28px;
}

.home-task-picker__title {
    margin: 0;
    color: #333;
    font-size: 24px;
    line-height: 1.3;
    font-weight: 600;
}

.home-task-picker__intro {
    margin: 7px 0 19px;
    color: #686871;
    font-size: 15px;
    line-height: 1.5;
}

/* Плитки серий */

.home-task-picker__links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
}

.home-task-picker__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 9px;

    min-width: 0;
    min-height: 52px;
    padding: 9px 12px;

    color: #333;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid #dddde8;
    border-radius: 3px;
    box-sizing: border-box;

    text-decoration: none !important;
    box-shadow: 0 4px 12px rgba(59, 59, 91, 0.06);

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.home-task-picker__link:hover,
.home-task-picker__link:focus-visible {
    color: #333;
    border-color: #777bb0;
    box-shadow: 0 7px 16px rgba(53, 53, 104, 0.12);
    transform: translateY(-1px);
}

.home-task-picker__copy {
    display: block;
    min-width: 0;
}

.home-task-picker__name {
    display: block;
    margin-bottom: 3px;
    color: #333;
    font-size: 14px;
    line-height: 1.25;
    font-weight: 600;
}

.home-task-picker__series {
    display: block;
    color: #666a9a;
    font-size: 16px;
    line-height: 1.2;
}

.home-task-picker__arrow {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;

    width: 26px;
    height: 26px;

    color: #fff;
    background: #50549a;
    border-radius: 50%;

    font-size: 16px;
    line-height: 1;

    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}

.home-task-picker__link:hover .home-task-picker__arrow,
.home-task-picker__link:focus-visible .home-task-picker__arrow {
    background: #414681;
    transform: translateX(2px);
}


/* Область со смартфоном */

.home-task-picker__visual {
    position: relative;
    z-index: 1;
    display: block;
    min-width: 0;

    color: inherit;
    text-decoration: none !important;
}

/* Убираем старый декоративный круг */

.home-task-picker__visual::before {
    display: none;
}


/* Изображение смартфона */

.home-task-picker__image {
    position: absolute;
    right: -76px;
    bottom: -2px;

    width: 430px;
    max-width: none;
    height: auto;

    pointer-events: none;

    transform: translate3d(0, 0, 0) scale(1);
    transform-origin: 34% 24%;

    filter: drop-shadow(
        0 12px 14px rgba(36, 38, 54, 0.14)
    );

    transition:
        transform 0.9s cubic-bezier(0.16, 1, 0.3, 1),
        filter 0.7s ease;

    will-change: transform;
    backface-visibility: hidden;
}


/* Вертикальное название модели */

.home-task-picker__model {
    position: absolute;
    left: calc(50% - 120px);
    bottom: 90px;
    z-index: 2;

    color: #4f579f;
    font-size: 25px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.12em;
    white-space: nowrap;

    writing-mode: vertical-rl;
    transform: rotate(180deg);

    opacity: 0.78;
    pointer-events: none;

    transition:
        color 0.7s ease,
        opacity 0.7s ease;
}


/* Анимация только на компьютерах */

@media
    (hover: hover)
    and (pointer: fine)
    and (min-width: 768px)
    and (prefers-reduced-motion: no-preference) {

    .home-task-picker__visual:hover .home-task-picker__image,
    .home-task-picker__visual:focus-visible .home-task-picker__image {
        transform: translate3d(38px, 38px, 0) scale(1.28);

        filter: drop-shadow(
            0 22px 26px rgba(36, 38, 54, 0.24)
        );
    }

    .home-task-picker__visual:hover .home-task-picker__model,
    .home-task-picker__visual:focus-visible .home-task-picker__model {
        color: #353d91;
        opacity: 1;
    }
}


/* Планшеты и небольшие компьютеры */

@media (max-width: 991px) {
    .home-task-picker {
        grid-template-columns:
            minmax(0, 1.5fr)
            minmax(230px, 0.7fr);
    }

    .home-task-picker__image {
        right: -63px;
        bottom: 9px;
        width: 390px;
    }

    .home-task-picker__model {
        left: calc(50% - 135px);
        bottom: 98px;
        font-size: 23px;
    }
}


/* Мобильная версия */

@media (max-width: 767px) {
    .home-task-picker {
        display: block;
        min-height: 0;
        margin: 24px 0 32px;

        background: linear-gradient(
            180deg,
            #f7f7fb 0%,
            #f7f7fb 70%,
            #e9eaf4 100%
        );
    }

    .home-task-picker__content {
        padding: 22px 14px 10px;
    }

    .home-task-picker__title {
        font-size: 21px;
    }

    .home-task-picker__intro {
        font-size: 14px;
    }

    .home-task-picker__visual {
        height: 220px;
    }

    .home-task-picker__image {
        right: 50%;
        bottom: -70px;
        width: 350px;

        transform: translateX(50%) scale(1);
    }

    .home-task-picker__model {
        left: calc(50% - 155px);
        bottom: 40px;

        font-size: 20px;
        letter-spacing: 0.1em;
    }
}


/* Узкие мобильные экраны */

@media (max-width: 430px) {
    .home-task-picker__links {
        grid-template-columns: 1fr;
    }

    .home-task-picker__visual {
        height: 195px;
    }

    .home-task-picker__image {
        bottom: -55px;
        width: 310px;
    }

    .home-task-picker__model {
        left: calc(50% - 145px);
        bottom: 32px;

        font-size: 18px;
        letter-spacing: 0.08em;
    }
}


/* Отключение анимации по настройкам устройства */

@media (prefers-reduced-motion: reduce) {
    .home-task-picker__link,
    .home-task-picker__arrow,
    .home-task-picker__image,
    .home-task-picker__model {
        transition: none;
    }

    .home-task-picker__link:hover,
    .home-task-picker__link:focus-visible,
    .home-task-picker__link:hover .home-task-picker__arrow,
    .home-task-picker__link:focus-visible .home-task-picker__arrow {
        transform: none;
    }
}

.home-consult {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin: 42px 0;
    padding: 28px 32px;
    background: #f7f7fb;
    border-left: 4px solid #50549a;
    border-radius: 3px;
    box-sizing: border-box;
}

.home-consult__content {
    max-width: 760px;
}

.home-consult__title {
    margin: 0 0 8px;
    color: #333;
    font-size: 25px;
    line-height: 1.3;
    font-weight: 600;
}

.home-consult__text {
    margin: 0;
    color: #666;
    font-size: 16px;
    line-height: 1.55;
}

.home-consult .home-consult__button {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 24px;
    color: #fff !important;
    background: #50549a;
    border: 1px solid #50549a;
    border-radius: 3px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    text-decoration: none !important;
    box-sizing: border-box;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.home-consult .home-consult__button:hover {
    color: #fff !important;
    background: #414681;
    border-color: #414681;
}

.home-consult__phone {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    margin-right: 9px;
    color: #fff;
}

.home-consult__phone {
    transform-origin: 50% 50%;
    animation: home-consult-phone-ring 6s ease-in-out infinite;
}

.home-consult__button:hover .home-consult__phone {
    animation: home-consult-phone-hover 0.6s ease-in-out;
}

@keyframes home-consult-phone-ring {
    0%,
    84%,
    100% {
        transform: rotate(0);
    }

    87% {
        transform: rotate(-14deg);
    }

    90% {
        transform: rotate(14deg);
    }

    93% {
        transform: rotate(-10deg);
    }

    96% {
        transform: rotate(10deg);
    }

    98% {
        transform: rotate(0);
    }
}

@keyframes home-consult-phone-hover {
    0%,
    100% {
        transform: rotate(0);
    }

    25% {
        transform: rotate(-14deg);
    }

    50% {
        transform: rotate(14deg);
    }

    75% {
        transform: rotate(-8deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-consult__phone,
    .home-consult__button:hover .home-consult__phone {
        animation: none;
    }
}

@media (max-width: 767px) {
    .home-consult {
        display: block;
        margin: 30px 0;
        padding: 22px 18px;
    }

    .home-consult__title {
        font-size: 21px;
    }

    .home-consult__text {
        font-size: 15px;
    }

    .home-consult .home-consult__button {
        width: 100%;
        margin-top: 18px;
    }
}

.home-series-title {
    position: relative;
    margin: 42px 0 22px;
    padding: 14px 18px 14px 22px;
    border-left: 4px solid #50549a;
    background: #f7f7fb;
    color: #333;
    font-size: 24px;
    line-height: 1.3;
    font-weight: 600;
}

@media (max-width: 767px) {
    .home-series-title {
        margin: 30px 0 16px;
        padding: 12px 14px 12px 17px;
        border-left-width: 3px;
        font-size: 20px;
    }
}

/* Только блок электростанций с плиткой каталога */
.product-list.home-power-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

.product-list.home-power-grid::before,
.product-list.home-power-grid::after {
    display: none;
}

.product-list.home-power-grid > .product {
    display: flex;
    float: none;
    clear: none;
    width: 33.333333%;
    min-width: 0;
    box-sizing: border-box;
}

.product-list.home-power-grid > .product > .in {
    width: 100%;
}

/* Плитка перехода в категорию */
.home-power-grid .home-power-tile__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 360px;
    box-sizing: border-box;
    padding: 32px 20px;
    border: 1px solid #dedeea;
    background: #f5f5fa;
    color: #50549a;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.2s, border-color 0.2s;
}

.home-power-tile__arrow {
    display: block;
    font-size: 100px;
    line-height: 1;
    margin-bottom: 24px;
}

.home-power-tile__title {
    font-size: 26px;
    font-weight: 600;
    line-height: 1.25;
    overflow-wrap: break-word;
}

.home-power-tile__text {
    margin-top: 14px;
    color: #666;
    font-size: 16px;
    line-height: 1.5;
}

.home-power-tile__button {
    margin-top: 28px;
    padding: 12px 18px;
    border-radius: 3px;
    background: #50549a;
    color: #fff;
    font-size: 15px;
    line-height: 1.4;
}

.home-power-grid .home-power-tile__link:hover {
    background: #ededf7;
    border-color: #50549a;
    color: #50549a;
    text-decoration: none;
}

.home-power-grid .home-power-tile__link:focus-visible {
    outline: 3px solid #50549a;
    outline-offset: -4px;
}

@media (max-width: 767px) {
    .product-list.home-power-grid > .product {
        width: 50%;
    }

    .home-power-grid .home-power-tile__link {
        min-height: 300px;
        padding: 24px 10px;
    }

    .home-power-tile__arrow {
        font-size: 72px;
        margin-bottom: 18px;
    }

    .home-power-tile__title {
        font-size: 20px;
    }

    .home-power-tile__text {
        font-size: 14px;
    }

    .home-power-tile__button {
        padding: 10px;
        font-size: 13px;
        margin-top: 20px;
    }
}

/* Более лёгкое оформление плитки каталога */
.home-power-grid .home-power-tile__link {
    background: #fafafd;
    border-color: #e9e9f0;
}

.home-power-grid .home-power-tile__button {
    padding: 0 0 4px;
    border: 0;
    border-bottom: 1px solid #c5c7df;
    border-radius: 0;
    background: transparent;
    color: #50549a;
    font-size: 15px;
    font-weight: 400;
    box-shadow: none;
}

.home-power-grid .home-power-tile__link:hover {
    background: #f5f5fa;
    border-color: #c5c7df;
}

.home-power-grid .home-power-tile__link:hover .home-power-tile__button {
    border-bottom-color: #50549a;
}

.home-power-grid .home-power-tile__link:focus-visible {
    outline: 2px solid #50549a;
    outline-offset: -3px;
}

.home-power-grid .home-power-tile__link {
    width: calc(100% - 14px);
    margin: 0 7px;
}

.home-category-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 20px;
    margin: 25px 0 15px;
}

.home-category-heading h2 {
    margin: 0;
}

.home-category-heading__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 0;
    font-size: 16px;
    white-space: nowrap;
}

.home-category-heading__link:hover,
.home-category-heading__link:focus {
    text-decoration: underline;
}

/* Карта и получение заказа */

.contact-pickup {
    margin: 28px 0;
}

.contact-pickup__lead {
    margin-bottom: 18px;
    font-size: 16px;
    line-height: 1.65;
}

.contact-pickup__notice {
    margin: 20px 0 24px;
    padding: 16px 18px;
    color: #344054;
    line-height: 1.6;
    background: #f5f9fc;
    border-left: 4px solid #168bd2;
    border-radius: 8px;
}

.contact-map__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 20px 22px;
    background: #f5f9fc;
    border: 1px solid #dce8f1;
    border-bottom: 0;
    border-radius: 14px 14px 0 0;
}

.contact-map__header h3 {
    margin: 0 0 6px;
    color: #222;
    font-size: 20px;
    line-height: 1.3;
}

.contact-map__header p {
    margin: 0;
    color: #687482;
    line-height: 1.5;
}

.contact-map__button {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 20px;
    color: #fff !important;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    white-space: nowrap;
    background: #168bd2;
    border-radius: 8px;
    transition: background-color 0.25s ease, transform 0.25s ease;
}

.contact-map__button:hover {
    color: #fff !important;
    background: #0876ba;
    transform: translateY(-1px);
}

.contact-map__frame {
    height: 390px;
    overflow: hidden;
    background: #eef3f7;
    border: 1px solid #dce8f1;
    border-radius: 0 0 14px 14px;
}

.contact-map__frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 767px) {
    .contact-pickup {
        margin: 22px 0;
    }

    .contact-map__header {
        display: block;
        padding: 17px 16px;
    }

    .contact-map__header h3 {
        font-size: 18px;
    }

    .contact-map__button {
        width: 100%;
        box-sizing: border-box;
        margin-top: 15px;
    }

    .contact-map__frame {
        height: 330px;
    }

    .contact-pickup__notice {
        padding: 14px 15px;
    }
}

/* Отзывы покупателей на главной */
.home-reviews-section {
    position: relative;
    margin: 48px 0 0;
    padding: 30px;
    overflow: hidden;
    background:
        radial-gradient(circle at 100% 0, rgba(80, 84, 154, 0.10), transparent 340px),
        #f7f7fb;
    border: 1px solid #e5e6f0;
    border-radius: 3px;
}

.home-reviews-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 30px;
    width: 76px;
    height: 3px;
    background: #50549a;
}

.home-reviews-section .customer-reviews {
    margin: 0;
}

.home-reviews-section .customer-reviews-homepage-title {
    margin: 0 0 24px;
    color: #252636;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.25;
}

.home-reviews-section .s-reviews-list {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin: 0 !important;
}

.home-reviews-section .s-review-item {
    position: relative;
    display: grid !important;
    grid-template-columns: 76px minmax(0, 1fr);
    grid-template-areas:
        "image header"
        "description description";
    column-gap: 16px;
    row-gap: 15px;
    width: auto !important;
    min-width: 0;
    margin: 0 !important;
    padding: 20px !important;
    float: none !important;
    box-sizing: border-box;
    background: #fff !important;
    border: 1px solid #e5e6ef;
    border-radius: 3px !important;
    box-shadow: 0 5px 18px rgba(31, 35, 72, 0.05);
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.home-reviews-section .s-review-item:hover {
    transform: translateY(-3px);
    border-color: rgba(80, 84, 154, 0.35);
    box-shadow: 0 10px 26px rgba(31, 35, 72, 0.10);
}

.home-reviews-section .summary-wrapper {
    grid-area: header;
    min-width: 0;
}

.home-reviews-section .s-review-header {
    display: block;
}

.home-reviews-section .s-review-name {
    display: block !important;
    margin: 0 0 7px !important;
    padding: 0;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
}

.home-reviews-section .customer-reviews-link {
    color: #34376d;
    text-decoration: none;
}

.home-reviews-section .customer-reviews-link:hover {
    color: #50549a;
    text-decoration: underline;
}

.home-reviews-section .s-rates-wrapper {
    display: block;
    min-height: 16px;
    margin: 0 0 9px;
}

.home-reviews-section .username-wrapper {
    display: inline;
    color: #333;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
}

.home-reviews-section .username-wrapper::after {
    content: " • ";
    color: #a3a4b1;
    font-weight: 400;
}

.home-reviews-section .date-wrapper {
    display: inline;
    color: #858794;
    font-size: 13px;
    line-height: 1.4;
}

.home-reviews-section .s-review-item > a {
    grid-area: image;
    display: block;
    align-self: start;
    width: 76px;
    height: 76px;
    padding: 6px;
    box-sizing: border-box;
    overflow: hidden;
    background: #fff;
    border: 1px solid #ececf2;
    border-radius: 3px;
}

.home-reviews-section .customer-reviews-image {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    float: none !important;
    object-fit: contain;
}

.home-reviews-section .description-wrapper {
    grid-area: description;
    display: -webkit-box;
    min-width: 0;
    overflow: hidden;
    color: #4c4d58;
    font-size: 14px;
    line-height: 1.65;
    white-space: normal;
    overflow-wrap: break-word;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
}

.home-reviews-section .customer-reviews-clear {
    display: none;
}

/* Планшеты */
@media (max-width: 900px) {
    .home-reviews-section .s-reviews-list {
        grid-template-columns: 1fr;
    }
}

/* Телефоны */
@media (max-width: 600px) {
    .home-reviews-section {
        margin-top: 34px;
        padding: 22px 14px 14px;
    }

    .home-reviews-section::before {
        left: 14px;
        width: 60px;
    }

    .home-reviews-section .customer-reviews-homepage-title {
        margin-bottom: 18px;
        font-size: 23px;
    }

    .home-reviews-section .s-reviews-list {
        gap: 12px;
    }

    .home-reviews-section .s-review-item {
        grid-template-columns: 64px minmax(0, 1fr);
        column-gap: 13px;
        row-gap: 13px;
        padding: 15px !important;
    }

    .home-reviews-section .s-review-item > a {
        width: 64px;
        height: 64px;
        padding: 5px;
    }

    .home-reviews-section .s-review-name {
        margin-bottom: 5px !important;
        font-size: 16px;
    }

    .home-reviews-section .username-wrapper,
    .home-reviews-section .date-wrapper {
        font-size: 12px;
    }

    .home-reviews-section .description-wrapper {
        font-size: 14px;
        line-height: 1.55;
        -webkit-line-clamp: 6;
    }

    .home-reviews-section .s-review-item:hover {
        transform: none;
    }
}

/* START: доверие, перелинковка и FAQ */

.home-info-hub,
.home-info-hub * {
    box-sizing: border-box;
}

.home-info-hub {
    margin: 48px 0 42px;
    color: #333;
}

.home-info-kicker {
    display: block;
    margin-bottom: 8px;
    color: #50549a;
    font-size: 12px;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.home-info-title {
    margin: 0;
    color: #333;
    font-size: 26px;
    line-height: 1.3;
    font-weight: 600;
}

.home-info-intro {
    max-width: 650px;
    margin: 9px 0 0;
    color: #686871;
    font-size: 15px;
    line-height: 1.6;
}


/* Блок доверия */

.home-trust-section {
    padding: 29px 30px 30px;
    overflow: hidden;
    background: linear-gradient(
        120deg,
        #f8f8fb 0%,
        #f8f8fb 68%,
        #ededf6 100%
    );
    border-left: 4px solid #50549a;
    border-radius: 3px;
}

.home-trust-section__header {
    margin-bottom: 22px;
}

.home-trust-section__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.home-trust-card {
    position: relative;
    display: flex;
    align-items: center;
    min-width: 0;
    min-height: 106px;
    padding: 17px 38px 17px 16px;

    color: #333 !important;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid #e2e2eb;
    border-radius: 3px;

    text-decoration: none !important;
    box-shadow: 0 5px 16px rgba(45, 47, 91, 0.05);

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.home-trust-card:hover,
.home-trust-card:focus-visible {
    color: #333 !important;
    border-color: #b9bbd8;
    box-shadow: 0 9px 22px rgba(45, 47, 91, 0.11);
    transform: translateY(-2px);
}

.home-trust-card__icon {
    display: inline-flex;
    flex: 0 0 43px;
    align-items: center;
    justify-content: center;

    width: 43px;
    height: 43px;
    margin-right: 13px;

    color: #50549a;
    background: #efeff7;
    border-radius: 50%;
    font-size: 19px;
}

.home-trust-card__content {
    display: block;
    min-width: 0;
}

.home-trust-card__title {
    display: block;
    margin-bottom: 5px;

    color: #353535;
    font-size: 15px;
    line-height: 1.3;
    font-weight: 600;
}

.home-trust-card__text {
    display: block;
    color: #73737b;
    font-size: 13px;
    line-height: 1.45;
}

.home-trust-card__arrow {
    position: absolute;
    top: 50%;
    right: 15px;

    color: #8588b9;
    font-size: 19px;
    line-height: 1;

    transform: translateY(-50%);

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.home-trust-card:hover .home-trust-card__arrow,
.home-trust-card:focus-visible .home-trust-card__arrow {
    color: #50549a;
    transform: translate(3px, -50%);
}



/* FAQ */

.home-faq {
    display: grid;
    grid-template-columns:
        minmax(260px, 0.72fr)
        minmax(0, 1.55fr);

    margin-top: 46px;
    overflow: hidden;

    background: #fff;
    border: 1px solid #e1e1ea;
    border-radius: 3px;
}

.home-faq__intro {
    padding: 31px 29px;
    color: #fff;
    background: linear-gradient(
        145deg,
        #565ba2 0%,
        #444987 100%
    );
}

.home-faq__kicker {
    display: block;
    margin-bottom: 9px;

    color: #d9daf0;
    font-size: 12px;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.home-faq__title {
    margin: 0;
    color: #fff;
    font-size: 25px;
    line-height: 1.3;
    font-weight: 600;
}

.home-faq__text {
    margin: 12px 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 15px;
    line-height: 1.6;
}

.home-faq__button {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    min-height: 42px;
    margin-top: 23px;
    padding: 0 16px;

    color: #50549a !important;
    background: #fff;
    border: 1px solid #fff;
    border-radius: 3px;

    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;

    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}

.home-faq__button:hover,
.home-faq__button:focus-visible {
    color: #414681 !important;
    background: #f4f4fa;
    transform: translateY(-1px);
}

.home-faq__questions {
    padding: 13px 25px;
}

.home-faq-item {
    border-bottom: 1px solid #e8e8ef;
}

.home-faq-item:last-child {
    border-bottom: 0;
}

.home-faq-item__question {
    position: relative;
    padding: 18px 42px 18px 0;

    color: #3d3d42;
    font-size: 15px;
    line-height: 1.45;
    font-weight: 600;

    cursor: pointer;
    list-style: none;

    transition: color 0.2s ease;
}

.home-faq-item__question::-webkit-details-marker {
    display: none;
}

.home-faq-item__question::marker {
    content: "";
}

.home-faq-item__question:hover,
.home-faq-item__question:focus-visible {
    color: #50549a;
}

.home-faq-item__plus {
    position: absolute;
    top: 50%;
    right: 2px;

    width: 26px;
    height: 26px;

    background: #f0f0f7;
    border-radius: 50%;
    transform: translateY(-50%);
}

.home-faq-item__plus::before,
.home-faq-item__plus::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;

    width: 10px;
    height: 2px;

    background: #50549a;
    transform: translate(-50%, -50%);

    transition: transform 0.2s ease;
}

.home-faq-item__plus::after {
    transform:
        translate(-50%, -50%)
        rotate(90deg);
}

.home-faq-item[open] .home-faq-item__plus::after {
    transform:
        translate(-50%, -50%)
        rotate(0);
}

.home-faq-item__answer {
    max-width: 740px;
    padding: 0 42px 18px 0;

    color: #707078;
    font-size: 14px;
    line-height: 1.65;
}

.home-faq-item__answer a {
    color: #50549a;
    text-decoration: underline;
    text-decoration-color: #c3c5dd;
    text-underline-offset: 3px;
}

.home-faq-item__answer a:hover,
.home-faq-item__answer a:focus {
    color: #414681;
    text-decoration-color: #50549a;
}


/* Планшеты */

@media (max-width: 991px) and (min-width: 768px) {
    .home-trust-section__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-catalog-map__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-catalog-card--featured {
        grid-column: 1 / -1;
        min-height: 170px;
    }

    .home-faq {
        grid-template-columns:
            minmax(230px, 0.75fr)
            minmax(0, 1.35fr);
    }
}


/* Мобильная версия */

@media (max-width: 767px) {
    .home-info-hub {
        margin: 34px 0;
    }

    .home-info-title {
        font-size: 22px;
    }

    .home-info-intro {
        font-size: 14px;
        line-height: 1.55;
    }

    .home-trust-section {
        padding: 22px 15px 16px;
        border-left-width: 3px;
    }

    .home-trust-section__header {
        margin-bottom: 17px;
    }

    .home-trust-section__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .home-trust-card {
        display: block;
        min-height: 148px;
        padding: 13px 25px 13px 12px;
    }

    .home-trust-card__icon {
        width: 36px;
        height: 36px;
        margin: 0 0 10px;
        font-size: 16px;
    }

    .home-trust-card__title {
        font-size: 13px;
    }

    .home-trust-card__text {
        display: -webkit-box;
        overflow: hidden;

        font-size: 11px;
        line-height: 1.45;

        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
    }

    .home-trust-card__arrow {
        top: 17px;
        right: 10px;
        font-size: 16px;
        transform: none;
    }

    .home-trust-card:hover .home-trust-card__arrow,
    .home-trust-card:focus-visible .home-trust-card__arrow {
        transform: translateX(2px);
    }

    .home-catalog-map,
    .home-faq {
        margin-top: 34px;
    }

    .home-catalog-map__header {
        margin-bottom: 16px;
    }

    .home-catalog-map__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .home-catalog-card {
        min-height: 178px;
        padding: 14px 11px 13px;
        box-shadow: 0 3px 12px rgba(45, 47, 91, 0.04);
    }

    .home-catalog-card--featured {
        grid-column: 1 / -1;
        min-height: 142px;
        padding: 18px 43% 17px 17px;
        border-left-width: 3px;
    }

    .home-catalog-card--featured::after {
        right: -10px;
        bottom: 16px;
        font-size: 39px;

        transform:
            rotate(-90deg)
            translateX(30%);

        transform-origin: center;
    }

    .home-catalog-card__number {
        top: 9px;
        right: 9px;
        font-size: 24px;
    }

    .home-catalog-card__type {
        max-width: calc(100% - 31px);
        margin-bottom: 11px;

        font-size: 9px;
        line-height: 1.25;
        letter-spacing: 0.07em;
    }

    .home-catalog-card__title {
        margin-bottom: 6px;

        font-size: 15px;
        line-height: 1.3;
        overflow-wrap: anywhere;
    }

    .home-catalog-card__text {
        display: -webkit-box;
        overflow: hidden;

        font-size: 11px;
        line-height: 1.45;

        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .home-catalog-card__link {
        gap: 5px;
        padding-top: 11px;

        font-size: 11px;
        line-height: 1.3;
    }

    .home-catalog-card__link span {
        font-size: 16px;
    }

    .home-catalog-card--featured .home-catalog-card__title {
        font-size: 18px;
    }

    .home-catalog-card--featured .home-catalog-card__text {
        font-size: 12px;
    }

    .home-catalog-card--featured .home-catalog-card__link {
        justify-content: flex-start;
        font-size: 12px;
    }

    .home-faq {
        grid-template-columns: 1fr;
    }

    .home-faq__intro {
        padding: 24px 18px;
    }

    .home-faq__title {
        font-size: 22px;
    }

    .home-faq__text {
        font-size: 14px;
    }

    .home-faq__button {
        min-height: 40px;
        margin-top: 18px;
        font-size: 13px;
    }

    .home-faq__questions {
        padding: 5px 17px;
    }

    .home-faq-item__question {
        padding: 17px 39px 17px 0;
        font-size: 14px;
    }

    .home-faq-item__answer {
        padding-right: 28px;
        font-size: 13px;
    }
}


/* Очень узкие телефоны */

@media (max-width: 340px) {
    .home-trust-section__grid,
    .home-catalog-map__grid {
        gap: 6px;
    }

    .home-trust-card {
        min-height: 153px;
        padding-right: 21px;
        padding-left: 9px;
    }

    .home-catalog-card {
        min-height: 184px;
        padding-right: 9px;
        padding-left: 9px;
    }

    .home-catalog-card--featured {
        min-height: 145px;
        padding-right: 38%;
        padding-left: 14px;
    }

    .home-catalog-card__title {
        font-size: 14px;
    }
}


/* Отключение анимации по настройкам устройства */

@media (prefers-reduced-motion: reduce) {
    .home-trust-card,
    .home-trust-card__arrow,
    .home-catalog-card,
    .home-catalog-card__link span,
    .home-faq__button,
    .home-faq-item__plus::after {
        transition: none;
    }
}

/* END: доверие, перелинковка и FAQ */

/* Страница гарантии */

.warranty-page {
    max-width: 980px;
    margin: 0 auto;
    color: #2b3440;
    line-height: 1.65;
}

.warranty-page h2 {
    margin: 0 0 16px;
    color: #202832;
    font-size: 25px;
    line-height: 1.3;
}

.warranty-page p {
    margin: 0 0 14px;
}

.warranty-page a {
    color: #168bd2;
}

.warranty-intro {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 26px;
    padding: 28px 30px;
    background: linear-gradient(135deg, #eef8fe 0%, #f8fbfd 100%);
    border: 1px solid #d7eaf6;
    border-radius: 16px;
}

.warranty-intro__content {
    flex: 1 1 auto;
}

.warranty-intro__content p:last-child {
    margin-bottom: 0;
}

.warranty-intro__badge {
    flex: 0 0 170px;
    padding: 22px 16px;
    color: #fff;
    text-align: center;
    background: #168bd2;
    border-radius: 14px;
}

.warranty-intro__badge strong {
    display: block;
    font-size: 25px;
    line-height: 1.2;
}

.warranty-intro__badge span {
    display: block;
    margin-top: 5px;
    font-size: 13px;
}

.warranty-section {
    margin: 24px 0;
    padding: 26px 28px;
    background: #fff;
    border: 1px solid #e2e8ed;
    border-radius: 14px;
}

.warranty-section--check {
    border-top: 4px solid #168bd2;
}

.warranty-section--water {
    background: #f5fbff;
    border-color: #cfe8f7;
}

.warranty-list {
    margin: 15px 0 18px;
    padding: 0;
    list-style: none;
}

.warranty-list li {
    position: relative;
    margin: 10px 0;
    padding-left: 27px;
}

.warranty-list li::before {
    position: absolute;
    top: 0;
    left: 0;
    color: #168bd2;
    font-weight: 700;
    content: "✓";
}

.warranty-list--cross li::before {
    color: #dc5b5b;
    content: "×";
}

.warranty-check-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin: 20px 0;
}

.warranty-check-item {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding: 16px;
    background: #f5f8fa;
    border-radius: 10px;
}

.warranty-check-item span {
    display: flex;
    flex: 0 0 30px;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    color: #fff;
    font-weight: 700;
    background: #168bd2;
    border-radius: 50%;
}

.warranty-check-item p {
    margin: 2px 0 0;
}

.warranty-warning,
.warranty-note {
    margin-top: 18px;
    padding: 15px 17px;
    background: #fff8e7;
    border-left: 4px solid #f1b434;
    border-radius: 7px;
}

.warranty-note {
    background: #f4f8fb;
    border-left-color: #168bd2;
}

.warranty-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 22px;
    padding: 19px 20px;
    background: #f4f9fc;
    border-radius: 11px;
}

.warranty-action strong {
    display: block;
    margin-bottom: 4px;
    color: #202832;
}

.warranty-action p {
    margin: 0;
}

.warranty-button {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    color: #fff !important;
    font-weight: 600;
    text-decoration: none !important;
    white-space: nowrap;
    background: #168bd2;
    border-radius: 8px;
    transition: background-color 0.25s ease, transform 0.25s ease;
}

.warranty-button:hover {
    color: #fff !important;
    background: #0876ba;
    transform: translateY(-1px);
}

.warranty-faq details {
    margin-top: 10px;
    border: 1px solid #e0e7ec;
    border-radius: 9px;
}

.warranty-faq summary {
    position: relative;
    padding: 16px 48px 16px 18px;
    color: #25303b;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}

.warranty-faq summary::-webkit-details-marker {
    display: none;
}

.warranty-faq summary::after {
    position: absolute;
    top: 50%;
    right: 18px;
    color: #168bd2;
    font-size: 22px;
    line-height: 1;
    content: "+";
    transform: translateY(-50%);
}

.warranty-faq details[open] summary::after {
    content: "−";
}

.warranty-faq details p {
    margin: 0;
    padding: 0 18px 17px;
}

@media (max-width: 767px) {
    .warranty-page h2 {
        font-size: 21px;
    }

    .warranty-intro {
        display: block;
        padding: 21px 18px;
    }

    .warranty-intro__badge {
        margin-top: 20px;
        padding: 17px 15px;
    }

    .warranty-section {
        margin: 16px 0;
        padding: 21px 17px;
        border-radius: 11px;
    }

    .warranty-check-grid {
        grid-template-columns: 1fr;
    }

    .warranty-action {
        display: block;
        padding: 17px;
    }

    .warranty-button {
        width: 100%;
        box-sizing: border-box;
        margin-top: 16px;
    }
}

/* Страница оплаты доставки */

.delivery-pay {
    --delivery-blue: #168bd2;
    --delivery-blue-dark: #0871b3;
    --delivery-light: #eef8fe;
    --delivery-text: #222;
    --delivery-muted: #66717b;
    --delivery-border: #dce6ed;
    color: var(--delivery-text);
}

.delivery-pay *,
.delivery-pay *::before,
.delivery-pay *::after {
    box-sizing: border-box;
}

.delivery-pay__hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 250px;
    margin: 0 0 38px;
    padding: 42px 44px;
    overflow: hidden;
    border-radius: 18px;
    background:
        radial-gradient(circle at 88% 20%, rgba(255, 255, 255, 0.25), transparent 35%),
        linear-gradient(135deg, #0871b3 0%, #168bd2 55%, #42afe9 100%);
    color: #fff;
}

.delivery-pay__hero-content {
    position: relative;
    z-index: 2;
    max-width: 690px;
}

.delivery-pay__label {
    display: inline-flex;
    margin-bottom: 18px;
    padding: 7px 13px;
    border: 1px solid rgba(255, 255, 255, 0.38);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.14);
    font-size: 13px;
    font-weight: 600;
}

.delivery-pay__hero h2 {
    margin: 0 0 15px;
    color: #fff;
    font-size: 34px;
    line-height: 1.18;
}

.delivery-pay__hero p {
    max-width: 650px;
    margin: 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: 17px;
    line-height: 1.55;
}

.delivery-pay__status {
    display: inline-flex;
    margin-top: 22px;
    padding: 10px 16px;
    border-radius: 8px;
    background: #fff;
    color: var(--delivery-blue-dark);
    font-size: 14px;
    font-weight: 700;
}

.delivery-pay__hero-icon {
    position: relative;
    z-index: 1;
    flex: 0 0 150px;
    margin-left: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.delivery-pay__hero-icon svg {
    display: block;
    width: 150px;
    height: 150px;
}

.delivery-pay__section {
    margin-bottom: 32px;
}

.delivery-pay__title,
.delivery-pay__after h2,
.delivery-pay__faq h2 {
    margin: 0 0 22px;
    font-size: 26px;
    line-height: 1.25;
}

.delivery-pay__steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.delivery-pay__step {
    display: flex;
    min-width: 0;
    padding: 22px;
    border: 1px solid var(--delivery-border);
    border-radius: 14px;
    background: #fff;
}

.delivery-pay__number {
    display: flex;
    flex: 0 0 38px;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin-right: 14px;
    border-radius: 50%;
    background: var(--delivery-light);
    color: var(--delivery-blue);
    font-size: 17px;
    font-weight: 700;
}

.delivery-pay__step h3 {
    margin: 1px 0 7px;
    font-size: 17px;
}

.delivery-pay__step p {
    margin: 0;
    color: var(--delivery-muted);
    font-size: 14px;
    line-height: 1.5;
}

.delivery-pay__notice {
    display: flex;
    align-items: flex-start;
    margin: 0 0 30px;
    padding: 18px 20px;
    border: 1px solid #f1d38d;
    border-radius: 12px;
    background: #fff9e9;
}

.delivery-pay__notice-icon {
    display: flex;
    flex: 0 0 30px;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    margin-right: 13px;
    border-radius: 50%;
    background: #f2ad22;
    color: #fff;
    font-weight: 700;
}

.delivery-pay__notice strong {
    display: block;
    margin: 2px 0 5px;
    font-size: 15px;
}

.delivery-pay__notice p {
    margin: 0;
    color: #695b3f;
    line-height: 1.5;
}

.delivery-pay__payment {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(270px, 0.75fr);
    align-items: start;
    gap: 22px;
    margin-bottom: 42px;
}

.delivery-pay__form-card,
.delivery-pay__summary {
    min-width: 0;
    border: 1px solid var(--delivery-border);
    border-radius: 16px;
    background: #fff;
}

.delivery-pay__form-card {
    padding: 28px;
}

.delivery-pay__form-heading {
    margin-bottom: 22px;
}

.delivery-pay__form-heading h2 {
    margin: 0 0 8px;
    font-size: 24px;
}

.delivery-pay__form-heading p {
    margin: 0;
    color: var(--delivery-muted);
    line-height: 1.5;
}

.delivery-pay__form {
    min-width: 0;
    overflow: visible;
    padding-bottom: 22px;
}

.delivery-pay__form .ym-sum-input {
    color: #222 !important;
    background: #fff !important;
}

.delivery-pay__form .ym-btn-pay {
    position: relative;
    z-index: 2;
    background: #168bd2 !important;
    color: #fff !important;
    opacity: 1 !important;
}

.delivery-pay__secure {
    position: relative;
    z-index: 1;
    clear: both;
}

.delivery-pay__form .yoomoney-payment-form {
    width: 100% !important;
    max-width: 100% !important;
    margin-right: auto !important;
    margin-left: auto !important;
}

.delivery-pay__secure {
    margin-top: 20px;
    padding: 14px 16px;
    border-radius: 9px;
    background: #f5f8fa;
    color: var(--delivery-muted);
    font-size: 13px;
    line-height: 1.55;
}

.delivery-pay__summary {
    padding: 26px;
}

.delivery-pay__summary h3 {
    margin: 0 0 20px;
    font-size: 21px;
}

.delivery-pay__summary ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.delivery-pay__summary li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 16px;
    line-height: 1.45;
}

.delivery-pay__check {
    display: flex;
    flex: 0 0 24px;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin-right: 10px;
    border-radius: 50%;
    background: var(--delivery-light);
    color: var(--delivery-blue);
    font-weight: 700;
}

.delivery-pay__help {
    margin-top: 24px;
    padding-top: 22px;
    border-top: 1px solid var(--delivery-border);
}

.delivery-pay__help strong {
    font-size: 17px;
}

.delivery-pay__help p {
    margin: 6px 0 14px;
    color: var(--delivery-muted);
}

.delivery-pay__phone {
    display: block;
    margin-bottom: 9px;
    color: var(--delivery-blue);
    font-size: 19px;
    font-weight: 700;
    text-decoration: none;
}

.delivery-pay__contact {
    display: inline-block;
    color: var(--delivery-blue-dark);
    text-decoration: underline;
}

.delivery-pay__after {
    margin-bottom: 40px;
    padding: 28px;
    border-radius: 16px;
    background: #f5f9fc;
}

.delivery-pay__after > p {
    max-width: 830px;
    margin: -8px 0 22px;
    color: var(--delivery-muted);
    line-height: 1.55;
}

.delivery-pay__after-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
}

.delivery-pay__after-grid > div {
    padding: 18px;
    border-radius: 11px;
    background: #fff;
}

.delivery-pay__after-grid strong {
    display: block;
    margin-bottom: 7px;
    font-size: 15px;
}

.delivery-pay__after-grid p {
    margin: 0;
    color: var(--delivery-muted);
    font-size: 14px;
    line-height: 1.5;
}

.delivery-pay__faq {
    margin-bottom: 25px;
}

.delivery-pay__faq details {
    margin-bottom: 10px;
    border: 1px solid var(--delivery-border);
    border-radius: 11px;
    background: #fff;
}

.delivery-pay__faq summary {
    position: relative;
    padding: 18px 48px 18px 19px;
    cursor: pointer;
    font-weight: 600;
    list-style: none;
}

.delivery-pay__faq summary::-webkit-details-marker {
    display: none;
}

.delivery-pay__faq summary::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 19px;
    color: var(--delivery-blue);
    font-size: 24px;
    font-weight: 400;
    transform: translateY(-50%);
}

.delivery-pay__faq details[open] summary::after {
    content: "−";
}

.delivery-pay__faq details p {
    margin: 0;
    padding: 0 50px 18px 19px;
    color: var(--delivery-muted);
    line-height: 1.55;
}

.delivery-pay__faq a {
    color: var(--delivery-blue);
}

@media (max-width: 850px) {
    .delivery-pay__hero {
        min-height: 0;
        padding: 32px;
    }

    .delivery-pay__hero-icon {
        flex-basis: 110px;
    }

    .delivery-pay__hero-icon svg {
        width: 110px;
        height: 110px;
    }

    .delivery-pay__steps,
    .delivery-pay__after-grid {
        grid-template-columns: 1fr;
    }

    .delivery-pay__payment {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .delivery-pay__hero {
        display: block;
        margin-bottom: 28px;
        padding: 26px 20px;
        border-radius: 14px;
    }

    .delivery-pay__hero h2 {
        font-size: 27px;
    }

    .delivery-pay__hero p {
        font-size: 15px;
    }

    .delivery-pay__hero-icon {
        position: absolute;
        right: -20px;
        bottom: -24px;
        margin: 0;
        opacity: 0.2;
    }

    .delivery-pay__status {
        margin-top: 18px;
        padding: 9px 12px;
        font-size: 13px;
    }

    .delivery-pay__title,
    .delivery-pay__after h2,
    .delivery-pay__faq h2 {
        font-size: 22px;
    }

    .delivery-pay__step {
        padding: 18px;
    }

    .delivery-pay__notice {
        padding: 16px;
    }

    .delivery-pay__form-card,
    .delivery-pay__summary,
    .delivery-pay__after {
        padding: 20px 16px;
        border-radius: 13px;
    }

    .delivery-pay__form-heading h2 {
        font-size: 21px;
    }

    .delivery-pay__payment {
        gap: 16px;
        margin-bottom: 32px;
    }

    .delivery-pay__faq summary {
        padding: 16px 44px 16px 16px;
    }

    .delivery-pay__faq details p {
        padding: 0 44px 16px 16px;
    }
}

@media (max-width: 600px) {
    .delivery-pay__form {
        padding-bottom: 30px;
    }

    .delivery-pay__form .ym-payment-btn-block {
        position: relative;
        z-index: 3;
    }

    .delivery-pay__form .ym-input-icon-rub {
        min-width: 0;
    }

    .delivery-pay__form .ym-btn-pay {
        min-width: 92px;
    }
}