/* COMMON STYLES */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

a {
    text-decoration: none;
    color: inherit;
    transition: .3s;
}

img {
    max-width: 100%;
}

li {
    position: relative;
    list-style: none;
    z-index: 1;
}

html {
    max-width: 100%;
    width: 100%;
    overflow-x: hidden;
}

body {
    max-width: 100%;
    width: 100%;
    overflow-x: hidden;
    font-family: "Arial", sans-serif;
    font-weight: 400;
    color: #000000;
    background-color: #ffffff;
}

:root {
    --font-family: "Hind", sans-serif;
    --second-family: "Verdana", sans-serif;
    --third-family: "Mukta", sans-serif;
    --font3: "Open Sans", sans-serif;
    --font4: "Arial", sans-serif;
    --font5: "Montserrat", sans-serif;
    --font6: "Helvetica Neue", sans-serif;
}

/* COMMON STYLES */
.button {
    border: none;
    cursor: pointer;
    transition: .5s;
}

.button:hover {
    transition: .5s;
}

.mob {
    display: none;
}

.container {
    max-width: 1300px;
    width: 100%;
    padding: 0 10px;
    margin: 0 auto;
}

/* HEADER */
.header-top {
    padding: 16px 0;
    background-color: #000;
}

.header-top .container {
    max-width: 1920px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-top-icons {
    display: flex;
    align-items: center;
    gap: 8px;

    a {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

.header-top-actions {
    display: flex;
    align-items: center;
    gap: 8px;

    a {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

.header-top-nav ul {
    display: flex;
    color: white;
    gap: 25px;
}

.header-top-nav ul li {
    display: flex;
    align-items: center;
}

.header-top-nav ul li a span {
    position: relative;
    display: block;
}

.header-top-nav ul li.active a span::before {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    right: 0;
    width: 100%;
    height: 3px;
    background-color: white;
}

.header-top-nav ul li a {
    display: flex;
    align-items: center;
    gap: 5px;
}

.header-bottom {
}

.header-bottom .container {
    padding-top: 15px;
    padding-bottom: 15px;
    box-shadow: 0 2px 5px 0 #d6d6d6;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navigation-list {
    display: flex;
    justify-content: center;

    font-family: var(--second-family);
    font-weight: 400;
    font-size: 14px;
    color: #444;
}

.navigation-list li {
    padding: 5px 20px;
    transition: .3s ease-in-out;

    & + & {
        padding-left: 20px;
        border-left: 1px solid #aaa;
    }
}

.navigation-list li.active {
    font-weight: 700;
    background: #fce44d;
    border-radius: 4px;
    margin-right: 20px;
}


/* CONTENT */
.content .container {
    padding-top: 15px;
}

.content .container > .wrapper {
    padding-top: 20px;
    display: grid;
    grid-template-columns: 677px 320px;
    justify-content: center;
    gap: 30px;
}

.article-breadcrumbs {
    margin-bottom: 30px;
}

.article-breadcrumbs ul {
    display: flex;
    gap: 10px;
}

.article-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.article-info .wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
}

.article-info-text-title {
    font-family: var(--second-family);
    font-style: italic;
    font-weight: 700;
    font-size: 14px;
    color: #3457a7;
    margin-bottom: 5px;
}

.link {
    color: #3457a7;
    text-decoration: underline;
}

.article-info-text-date {
    font-family: var(--second-family);
    font-weight: 400;
    font-size: 11px;
    color: #171717;
}

.article-info-socials {
    display: flex;
    gap: 25px;
}

h2.article-title {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 28px;
    line-height: 143%;
    color: #171717;
    margin-bottom: 15px;
}

h3.article-title {
    font-family: var(--second-family);
    font-weight: 600;
    font-size: 20px;
    line-height: 150%;
    color: #2a2a2a;
    margin-bottom: 15px;
}

.article-text {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 15px;
    line-height: 181%;
    color: #000;
    margin-bottom: 15px;
}

.article-text.bold {
    font-weight: bold;
}

.article-item {
    padding: 32px;
    display: flex;
    gap: 30px;
    border-radius: 13px;
    box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.06);
    background: #fff;
    margin-bottom: 16px;
}

.article-item-info {
    min-width: 100px;
    text-align: center;
}

.article-item-name {
    font-family: var(--font4);
    font-weight: 700;
    font-size: 14px;
    line-height: 188%;
    color: #212529;
    text-align: center;
}

.article-item-text {
    font-family: var(--font3);
    font-weight: 400;
    font-size: 15px;
    line-height: 150%;
    color: #212529;
}

.article-image {
    text-align: center;
    margin: 15px 0;
}

.red-text {
    font-weight: bold;
    color: #EA1A1A;
}

.yellow-block {
    max-width: 600px;
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    background: #FFFF00;
    margin: 0 auto 15px;
}

.yellow-block p {
    margin: 0;
}

.red-block {
    max-width: 425px;
    padding: 10px;
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 20px;
    line-height: 165%;
    color: #fff;
    text-align: center;
    background: #f00;
    margin: 0 auto 15px;
}

.center {
    text-align: center;
}

.test-block {
    padding: 17px;
    max-width: 580px;
    margin: 0 auto 15px;
    background: #d7eeba;

    text-align: center;
}

.test-block-text {
    font-weight: 600;
    font-size: 15px;
    line-height: 181%;
    color: #000;
    margin-bottom: 10px;
}

.test-block-red-text {
    font-weight: 600;
    font-size: 20px;
    line-height: 136%;
    color: #e40606;
    margin-bottom: 30px;
}

.question {
    display: flex;
    gap: 15px;
    justify-content: center;
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 15px;
    line-height: 87%;
    color: #000;
    margin-bottom: 14px;

    span {
        padding: 6px 10px;
        display: inline-block;
        background: #fff;
        border-radius: 3px;
    }
}

.options {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.option {
    padding: 6px 10px;
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 15px;
    line-height: 87%;
    color: #000;
    border-radius: 3px;
    background: #fffba2;
    cursor: pointer;
    transition: .3s ease-in-out;

    &:hover {
        background: #eee998;
        transition: .3s ease-in-out;
    }
}

/* ASIDE */
.aside > .wrapper {
}

.aside-title {
    position: relative;
    font-family: var(--second-family);
    font-weight: 700;
    font-size: 16px;
    color: #171717;
    margin-bottom: 18px;
    padding-left: 15px;

    &:before {
        position: absolute;
        content: '';
        width: 8px;
        height: 100%;
        left: 0;
        top: 0;
        bottom: 0;
        background: #fce44d;
    }
}

.aside-items {
    display: flex;
    flex-direction: column;
}

.aside-item {
    display: flex;
    gap: 15px;
    transition: .3s ease-in-out;

    & + & {
        margin-top: 17px;
        padding-top: 10px;
        border-top: 1px solid rgba(23, 23, 23, 0.1);
    }
}

.aside-item-image {
    min-width: 65px;
}

.aside-item-info-header {
    display: flex;
    gap: 8px;

    font-family: var(--second-family);
    font-weight: 700;
    font-size: 10px;
    text-transform: uppercase;
    color: #171717;

    margin-bottom: 8px;
}

.aside-item-info-text {
    font-family: var(--second-family);
    font-weight: 400;
    font-size: 12px;
    line-height: 150%;
    color: #171717;
    margin-bottom: 24px;
}

.aside-item-info-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.aside-item-info-bottom-date {
    display: flex;
    align-items: center;
    gap: 5px;

    font-family: var(--second-family);
    font-weight: 400;
    font-size: 10px;
    line-height: 150%;
    color: #171717;
}

/* FORM-BLOCK */
.form-block {
    max-width: 563px;
    padding: 127px 54px 120px 54px;
    font-family: var(--font-family);
    background-image: url("../img/order-bg.png");
    background-size: cover;
    background-position: top center;
    text-align: center;
    margin: 20px auto 52px;
}

.form-block .wrapper {
    max-width: 455px;
    margin: 0 auto;
}

.form-block-logo {
    max-width: 100px;
    text-align: center;
    margin: 0 auto 13px;
}

.form-block-title {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 24px;
    line-height: 133%;
    color: #000;
    margin-bottom: 13px;
}

.expert-logo {
    margin-bottom: 11px;
}

.product {
    max-width: 267px;
    margin: 0 auto;
}

.form-block .link {
    font-weight: 700;
    font-size: 20px;
}

.form-block-date {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 14px;
    color: #00f;
    margin-bottom: 13px;
}

.form-block-text {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 14px;
    line-height: 218%;
    text-align: center;
    color: #000;
    margin-bottom: 11px;
}

.form-block-text b{
    color: #f00;
}

.old-price {
    font-weight: 700;
    text-decoration: line-through;
    color: black!important;
}

.new-price {
    font-family: var(--font5);
    font-weight: 700;
    font-size: 28px;
    color: #f00;
    margin-bottom: 13px;
}


.form {
    width: 300px;
    margin: 0 auto;
}

.form input {
    padding: 17px;
    display: block;
    max-width: 282px;
    font-weight: 400;
    font-size: 21px;
    color: #757575;
    border: 2px solid #e9d7dc;
    border-radius: 3px;
    background: #fff;
    outline: none;
    margin: 0 auto 10px;
}

.form input::placeholder {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 132%;
    color: #000;
}

.order-button {
    border-radius: 5px;
    padding: 20px 53px 21px 53px;
    width: 300px;
    height: 67px;
    max-width: 300px;
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 20px;
    line-height: 132%;
    text-align: center;
    color: #fff;
    box-shadow: 0 4px 15px 0 rgba(129, 150, 160, 0.45);
    background: #0299ff;
}

.comments {
    padding-top: 12px;
}

.comments-items {
    max-width: 705px;
    display: flex;
    flex-direction: column;
    gap: 37px;
    margin: 0 auto;
}

.comments-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.comments-item > img {
    max-width: 50px;
}

.comments-item-info .name {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 18px;
    line-height: 140%;
    color: #000;
    margin-bottom: 10px;
}

.comments-item-info .text {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 18px;
    line-height: 140%;
    color: #000;
}

.comments .date {
    margin-top: 10px;
    display: block;
    font-family: var(--third-family);
    font-weight: 400;
    font-size: 18px;
    line-height: 140%;
    color: #000;
}

.new-comment {
    max-width: 705px;
    padding: 17px 31px;
    background: #f6f6f6;
    border: 1px solid #ddd;
    border-radius: 3px;
    margin: 30px auto;
}

.commentForm-text {
    font-family: 'Arial', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #000000;
    margin-bottom: 10px;
}

form.commentForm {
    max-width: 100%;
    margin-left: 36px;
}

.input-comment {
    width: 100%;
    padding: 6px;
    font-family: 'HelveticaNeue', sans-serif;
    font-weight: 400;
    font-size: 14px;
    text-transform: lowercase;
    background: transparent;
    color: rgb(54, 54, 54);
    border: none;
    border-bottom: 1px solid #959595;
    outline: none;
    margin-bottom: 24px;
}

.input-comment::placeholder {
    font-family: 'HelveticaNeue', sans-serif;
    font-weight: 400;
    color: rgba(201, 201, 201);
}

.commentForm .wrapper {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.commentForm .wrapper a:first-child {
    font-family: 'HelveticaNeue', sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #000000;
    margin-right: 47px;
}

.commentForm .wrapper button {
    width: 191px;
    height: 31px;
    font-family: 'Arial', sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #FFFFFF;
    background: #63C7FF;
    box-shadow: inset 4px 4px 5px rgba(255, 255, 255, 0.25), inset -3px -3px 4px rgba(0, 0, 0, 0.25);
    border: none;
}

#cansel {
    cursor: pointer;
}


/* footer */
.footer {
    position: relative;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 2px solid #aaa;
}

.footer .container {
}

.footer-socials {
    position: absolute;
    left: 50%;
    top: -16px;
    transform: translateX(-50%);
    width: 170px;
    display: flex;
    align-items: center;
    background-color: #fff;
    margin: 0 auto;
}

.footer-navigation {
    display: flex;
    justify-content: space-between;
}

.footer-navigation-list li {
    font-family: var(--second-family);
    font-weight: 400;
    font-size: 12px;
    line-height: 150%;
    color: #767676;
}

.footer-navigation-list b {
    font-family: var(--second-family);
    font-weight: 700;
    font-size: 16px;
    line-height: 150%;
    text-transform: uppercase;
    color: #212529;
    margin-bottom: 10px;
}

.footer-navigation-list li + li {
    margin-top: 5px;
}

.pp {
    padding: 10px 0;
    text-align: center;
    font-size: 12px;
    line-height: 150%;
    color: #767676;
}


/* MODAL */
.modal {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    backdrop-filter: blur(7.5px);
    z-index: 1500;
}

.modal-wrapper {
    padding: 33px 0 24px 0;
    width: 534px;
    height: 164px;
    position: absolute;
    top: calc(50% - 82px);
    left: calc(50% - 267px);
    background: rgba(217, 217, 217, 0.8);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.close {
    position: absolute;
    top: 17px;
    right: 32px;
    z-index: 10;
    cursor: pointer;
}

.close:before {
    content: '';
    position: absolute;
    top: calc(50% - 16px);
    right: calc(50% - 15px);
    width: 29px;
    height: 29px;
    background: #FFFFFF;
    border-radius: 50%;
    z-index: -10;
}

.done {
    position: relative;
    margin-bottom: 38px;
    z-index: 10;
}

.done:before {
    content: '';
    position: absolute;
    top: calc(50% - 42px);
    right: calc(50% - 42px);
    width: 83px;
    height: 83px;
    background: #FFFFFF;
    border-radius: 50%;
    z-index: -10;
}

.review-image img {
    padding-top: 5px;
    max-width: 180px;
}

.review {
    max-width: 694px;
    padding: 25px;
    background: #D9D9D9;
    margin: 0 auto 15px;
}

.review .article-image {
    text-align: center;
}

.composition-block {
    padding: 40px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #FBECD4;
    margin-bottom: 15px;
}

.composition-block .product {
    max-width: 200px;
}

.composition-items {
    display: flex;
    flex-direction: column;
    gap: 100px;
}

.composition-item {
    width: 240px;
    min-width: 230px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.composition-item .name {
    font-weight: bold;
}

.composition-items.left {
    text-align: right;
    margin-right: -40px;
}
.composition-items.right {
    margin-left: -40px;
}