
:root {
    --accent-color-yelow: #FBC445;
    --accent-color-yelow-light: #FFECC2;

    --color-white: #FFFFFF;
    --color-black: #020202;
    --linear-gradient: linear-gradient(89.21deg, #FBC445 10.05%, #FFD779 113.04%);

    /*--shadow: 0 2px 3px 0 #0000004D, 0 6px 10px 4px #00000026;*/
}


a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition-property: background-color, color, border;
    transition-duration: .3s;
    transition-timing-function: ease-in-out;
}


img {
    max-width: 100%;
}

html {
    scroll-behavior: smooth;
}

body {
    display: flex;
    flex-direction: column;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.04em;
    font-weight: 300;
    font-size: 16px;
    color: #272727;
    background-attachment: fixed;
    background-size: cover;
    min-height: 100vh;

    /*overflow: hidden;*/
}

input {
    min-height: 30px;
    padding: 0 12px;
    border-radius: 6px;
    background: #FFFFFF;
    border: 1px solid #B4B4B4

}

.btn {
    padding: 12px 36px;
    border: none;
    border-radius: 24px;
    background: linear-gradient(86.2deg, #FBC445 1.71%, #E6B33B 104.66%);
    box-shadow: 0 1px 2px 0 #0000000D;
    transition: .3s;
    font-size: 18px;
}

.btn:disabled:hover {
    cursor: auto;
    box-shadow: none;
}

.btn:hover {
    cursor: pointer;
    box-shadow: 0 3px 8px 0 #0000003D;
}

.btn:active {
    box-shadow: 0 2px 4px 0 #0000000F inset;
}


footer {
    flex-shrink: 0;
}

main {
    flex-grow: 1;
    margin-bottom: 30px;
}

p {
    margin: 0;
}

.flex {
    display: flex;
}

.list-reset {
    margin: 0;
    padding: 0;
    list-style: none;
}

.container {
    position: relative;
    max-width: 1278px;
    margin: 0 auto;
    padding-left: 30px;
    padding-right: 30px;
}

.invisible {
    display: none;
}

section {
    padding: 30px 0;
}

/** Кнопка увеличения *!*/
.zoom-btn {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.zoom-btn:hover {
    background: white;
}

/* Модальное окно */

.image-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    position: relative;
    margin: auto;
    padding: 20px;
    width: 390px;
    max-width: 800px;
    top: 50%;
    transform: translateY(-50%);
}

.modal-image {
    width: 450px;
    height: auto;
    display: block;
}

.close-modal {
    position: absolute;
    top: -20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal:hover {
    color: #ccc;
}

/* Стили для контейнера с фотографией */
.photo-container {
    position: relative;
    display: inline-block;
    margin: 10px;
}

.header {
    background: var(--linear-gradient);
}

.header_logo {
    width: 100px;
}

.header_wrapper {
    gap: 15px;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
}

.header_wrapper__block-1 {
    text-align: center;
}

.header_wrapper__block-1 p:first-child {
    font-size: 15px;
}

.header_wrapper__block-1 p:last-child {
    font-size: 2.1em;
    font-weight: 500;
}

.header_wrapper__block-2 {
    flex-direction: column;
    gap: 6px;
    align-items: end;
}

.header_wrapper__block-2 div {
    gap: 12px;
    align-items: center;
    font-size: 21px;
}

footer {
    padding: 24px 0;
    background-color: #D8D8D8;
}

.footer__wrapper {
    flex-direction: column;
    gap: 5px;
}

.footer__wrapper a{
    text-decoration: underline;
}

.footer__container p {
    font-size: 13px;
    font-style: italic;
}

.bread-crumbs__container {
    margin-top: 24px;
    gap: 12px;
}

.bread-crumbs__container p {
    font-weight: 600;
}

.bread-crumbs__container a:hover {
    font-weight: 500;
}

.active_product-selection {
    background-color: var(--accent-color-yelow-light);
    font-weight: 500;
}

.support-information__container {
    justify-content: center;
}

.support-information__wrapper {
    margin-top: 24px;
    max-width: 600px;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 36px;
    border-radius: 48px;
    background-color: #F7F7F7;
    font-size: 18px;
    text-align: center;
}

.system-information__wrapper {
    margin-top: 60px;
    gap: 60px;
    padding: 0 90px;
}

.system-information__wrapper_left {
    width: 60%;
    text-align: right;
}

.system-information__wrapper_right {
    width: 40%;
}

.policy__wrapper {
    margin: 100px 0;
    justify-content: center;
}

.policy__wrapper form {
    max-width: 800px;
    gap: 24px;
    flex-direction: column;
    justify-content: center;
}

.policy__wrapper form p {
    text-align: center;
    font-size: 22px;
    line-height: 140%;
}

.policy__wrapper form p a {
    color: var(--accent-color-yelow);
}

.policy__wrapper form p a:hover {
    text-decoration: underline;
}

.policy__wrapper form button {
    align-self: center;
}


@media (max-width: 868px) {
    .header {
        font-size: 0.8em;
    }

    body {
        font-size: 0.86em;
    }

    .btn {
        font-size: 1.1em;
    }
}


@media (max-width: 680px) {

    /*body {*/
    /*    font-size: 0.78em;*/
    /*}*/
    .header_wrapper__block-1 {
        display: none;
    }

    .header_wrapper__block-2 div {
        font-size: 12px;
    }

    .header_wrapper__block-2 div > svg {
        width: 16px;
    }

    .header_logo {
        width: 70px;
    }

    footer {
        padding: 20px 0;
    }

    .bread-crumbs__container {
        gap: 4px;
        font-size: 12px;
    }

    .bread-crumbs__container a {
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    .policy__wrapper form p {
        font-size: 14px;
    }

    .system-information__wrapper {
        flex-direction: column;
        gap: 30px;
        padding: 30px;
        margin: 0;
    }

    .system-information__wrapper_left {
        text-align: center;
        width: auto;
    }

    .system-information__wrapper_right {
        width: auto;
        justify-content: center;
    }

    .support-information__wrapper {
        font-size: 16px;
    }

    .modal-content {
        width: 315px;
    }

}