/* =========================================================
   TOUCHMEDICAL — WARRANTY PAGE
========================================================= */

.tm-warranty-page {
    width: 100%;
    overflow: hidden;
    background: #fff;
}

.tm-warranty-content {
    width: 100%;
    font-family: var(--tm-font, 'Manrope', sans-serif);
    color: var(--tm-color-text, #111111);
}


/* =========================================================
   HERO
========================================================= */

.tm-warranty-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;

    background: #F4F5F2;
}

.tm-warranty-hero-background {
    position: absolute;
    inset: 0;
    z-index: -1 !important;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;
}

.tm-warranty-hero-container {
    position: relative;
    padding-top: 40px;
    padding-bottom: 40px;
}

.tm-warranty-breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;

    margin-bottom: 40px;

    font-size: 13px;
    line-height: 1.5;

    color: #66706A;
}

.tm-warranty-breadcrumbs a {
    color: inherit !important;
    text-decoration: none !important;
}

.tm-warranty-breadcrumbs a:hover {
    color: var(--tm-color-button) !important;
}

.tm-warranty-breadcrumbs > span[aria-hidden="true"] {
    color: #9BA39D;
}

.tm-warranty-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
    gap: 40px;
    align-items: center;

    min-height: 205px;
}

.tm-warranty-hero-copy {
    position: relative;
    z-index: 1;

    max-width: 570px;
}

.tm-warranty-overline {
    margin-bottom: 12px;

    color: #69B96B;

    font-family: var(--tm-font);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.tm-warranty-hero-title {
    margin: 0 0 22px !important;

    color: var(--tm-color-text) !important;

    font-family: var(--tm-font) !important;
    font-size: 40px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
}

.tm-warranty-hero-description {
    max-width: 530px;

    margin: 0;

    color: #66706A;

    font-family: var(--tm-font);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.45;
}

.tm-warranty-hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;

    min-width: 0;
    height: 220px;
}

.tm-warranty-hero-image {
    display: block;

    width: 150%;
    height: 150%;
    max-width: 600px;

    object-fit: contain;
    object-position: center;

    mix-blend-mode: multiply;
    
    z-index: 1 !important;
}


/* =========================================================
   WARRANTY COVERAGE
========================================================= */

.tm-warranty-coverage {
    padding-top: 60px;
    padding-bottom: 50px;
}

.tm-warranty-section-title {
    margin: 0 0 26px !important;

    color: var(--tm-color-text) !important;

    font-family: var(--tm-font) !important;
    font-size: 34px !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
}

.tm-warranty-coverage-list {
    display: flex;
    flex-direction: column;
    gap: 14px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.tm-warranty-coverage-list li {
    display: flex;
    align-items: flex-start;
    gap: 13px;

    margin: 0;
    padding: 0;

    font-family: var(--tm-font);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;

    color: var(--tm-color-text);
}

.tm-warranty-coverage-list li img {
    display: block;

    flex: 0 0 16px;

    width: 16px;
    height: 20px;

    margin-top: 2px;

    object-fit: contain;
}


/* =========================================================
   WARRANTY NOTICE
========================================================= */

.tm-warranty-notice {
    display: flex;
    align-items: center;
    gap: 28px;

    margin-top: 60px;
    padding: 28px 34px;

    background: #F4F5F2;
    border-radius: 10px;
}

.tm-warranty-notice-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 58px;

    width: 58px;
    height: 58px;
    padding: 15px;

    background: #E1EFD0;
    border-radius: 50%;

    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.tm-warranty-notice-icon img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;
}

.tm-warranty-notice p {
    margin: 0;

    color: var(--tm-color-text);

    font-family: var(--tm-font);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.45;
}


/* =========================================================
   WARRANTY CONTACT
========================================================= */

.tm-warranty-contact {
    padding-top: 20px;
    padding-bottom: 64px;

    background: #fff;
}

.tm-warranty-contact-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(500px, 1fr);

    grid-template-areas:
        "copy form"
        "details form";

    grid-template-rows: auto 1fr;

    gap: 22px 60px;
    align-items: center;
}

.tm-warranty-contact-copy {
    grid-area: copy;
    min-width: 0;
}

.tm-warranty-contact-title {
    margin: 0 0 18px !important;

    color: var(--tm-color-text) !important;

    font-family: var(--tm-font) !important;
    font-size: 34px !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
}

.tm-warranty-contact-description {
    max-width: 520px;

    margin: 0;

    color: #66706A;

    font-family: var(--tm-font);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.45;
}


/* =========================================================
   WARRANTY FORM
========================================================= */

.tm-warranty-form-card {
    grid-area: form;
    align-self: center;
    min-width: 0;
}


/* =========================================================
   CONTACT DETAILS
========================================================= */

.tm-warranty-contact-details {
    grid-area: details;

    display: flex;
    flex-direction: column;
    gap: 18px;

    margin: 0 !important;
    padding: 0;

    background: transparent;
}

.tm-warranty-contact-details .tm-footer-contact-item {
    margin: 0;
    gap: 12px;
}

.tm-warranty-contact-details .tm-footer-contact-icon {
    flex: 0 0 24px;
}

.tm-warranty-contact-details .tm-footer-contact-text {
    font-family: var(--tm-font);
    font-size: 14px;
    line-height: 1.45;
}

.tm-warranty-contact-details .tm-footer-contact-text strong {
    font-size: 16px;
}

.tm-warranty-contact-details .tm-footer-contact-text small {
    font-size: 12px;
}


/* =========================================================
   HIDE DEFAULT FOOTER CONTACT SECTION ON THIS PAGE
   Вместо него используется собственная форма для гарантии.
========================================================= */

.tm-page-warranty .tm-footer-contact {
    display: none !important;
}


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

@media (max-width: 1024px) and (min-width: 768px) {

    .tm-warranty-hero-title {
        font-size: 36px !important;
    }

    .tm-warranty-contact-layout {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(400px, 1fr);

        gap: 22px 32px;
    }

}


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

@media (max-width: 767px) {

    /* HERO */

    .tm-warranty-hero-container {
        padding-top: 17px;
        padding-bottom: 0;
    }

    .tm-warranty-breadcrumbs {
        gap: 7px;
        margin-bottom: 22px;

        font-size: 12px;
    }

    .tm-warranty-hero-grid {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;

        min-height: 0;
    }

    .tm-warranty-hero-copy {
        max-width: none;
        text-align: center;
    }

    .tm-warranty-overline {
        margin-bottom: 8px;
        font-size: 14px;
    }

    .tm-warranty-hero-title {
        max-width: 380px;

        margin: 0 auto 16px !important;

        font-size: 26px !important;
        line-height: 1.25 !important;
    }

    .tm-warranty-hero-description {
        max-width: 420px;

        margin: 0 auto;

        font-size: 14px;
        line-height: 1.45;
    }

    .tm-warranty-hero-visual {
        width: 100%;
        height: 145px;
        margin-top: 8px;
    }

    .tm-warranty-hero-image {
        max-width: 190px;
    }


    /* COVERAGE */

    .tm-warranty-coverage {
        padding-top: 27px;
        padding-bottom: 30px;
    }

    .tm-warranty-section-title {
        margin-bottom: 22px !important;

        font-size: 24px !important;
        line-height: 1.3 !important;
    }

    .tm-warranty-coverage-list {
        gap: 14px;
    }

    .tm-warranty-coverage-list li {
        gap: 11px;

        font-size: 14px;
        line-height: 1.45;
    }

    .tm-warranty-coverage-list li img {
        flex-basis: 15px;

        width: 15px;
        height: 19px;
    }


    /* NOTICE */

    .tm-warranty-notice {
        align-items: flex-start;
        gap: 16px;

        margin-top: 28px;
        padding: 20px 17px;

        border-radius: 9px;
    }

    .tm-warranty-notice-icon {
        flex-basis: 40px;

        width: 40px;
        height: 40px;
        padding: 11px;
    }

    .tm-warranty-notice p {
        font-size: 14px;
        line-height: 1.4;
    }


    /* CONTACT */

    .tm-warranty-contact {
        padding-top: 0;
        padding-bottom: 20px;
    }

    .tm-warranty-contact-layout {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 22px;
    }

    .tm-warranty-contact-copy {
        text-align: center;
    }

    .tm-warranty-contact-title {
        margin-bottom: 14px !important;

        font-size: 24px !important;
        line-height: 1.3 !important;
    }

    .tm-warranty-contact-description {
        max-width: 400px;

        margin: 0 auto;

        font-size: 14px;
        line-height: 1.45;
    }


    /* FORM */

    .tm-warranty-form-card {
        width: 100%;
        padding: 0;

        border-radius: 0;
        box-shadow: none;
    }

    .tm-warranty-form-card .tm-cf7-row-2 {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .tm-warranty-form-card
    .tm-cf7-form
    input[type="text"],
    .tm-warranty-form-card
    .tm-cf7-form
    input[type="email"],
    .tm-warranty-form-card
    .tm-cf7-form
    input[type="tel"] {
        height: 52px;
        font-size: 14px;
    }

    .tm-warranty-form-card
    .tm-cf7-form
    textarea {
        min-height: 110px;
        font-size: 14px;
    }

    .tm-warranty-form-card .tm-cf7-submit input[type="submit"] {
        min-height: 54px;
        font-size: 17px;
    }


    /* CONTACT DETAILS */

    .tm-warranty-contact-details {
        width: calc(100% + 32px);

        gap: 22px;

        margin: 0 -16px !important;
        padding: 27px 16px 30px;

        background: #EDF4EE;
    }

    .tm-warranty-contact-details .tm-footer-contact-text {
        font-size: 14px;
    }

}




/* =========================================================
   WARRANTY HERO — FIX LAYERING
========================================================= */

.tm-warranty-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;

    background: #F4F5F2;
}

/* Фон — нижний слой */

.tm-warranty-hero > .tm-warranty-hero-background {
    position: absolute;
    inset: 0;
    z-index: 0 !important;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    pointer-events: none;
}

/* Контент располагается над фоном */

.tm-warranty-hero > .tm-warranty-hero-container {
    position: relative;
    z-index: 1;
}

/* Изображение щита — над фоном */

.tm-warranty-hero-visual {
    position: relative;
    z-index: 2;
}

.tm-warranty-hero-image {
    position: relative;
    z-index: 2;

    display: block;

    object-fit: contain;
    mix-blend-mode: normal;
}