/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

 html {
    line-height: 1.15;
    /* 1 */
    -webkit-text-size-adjust: 100%;
    /* 2 */
}

/* Sections
     ========================================================================== */

/**
   * Remove the margin in all browsers.
   */

body {
    margin: 0;
}

/**
   * Render the `main` element consistently in IE.
   */

main {
    display: block;
}

/**
   * Correct the font size and margin on `h1` elements within `section` and
   * `article` contexts in Chrome, Firefox, and Safari.
   */

h1 {
    font-size: 1.75em;
    margin: 0.67em 0;
}

/* Grouping content
     ========================================================================== */

/**
   * 1. Add the correct box sizing in Firefox.
   * 2. Show the overflow in Edge and IE.
   */

hr {
    box-sizing: content-box;
    /* 1 */
    height: 0;
    /* 1 */
    overflow: visible;
    /* 2 */
}

/**
   * 1. Correct the inheritance and scaling of font size in all browsers.
   * 2. Correct the odd `em` font sizing in all browsers.
   */

pre {
    font-family: monospace, monospace;
    /* 1 */
    font-size: 1em;
    /* 2 */
}

/* Text-level semantics
     ========================================================================== */

/**
   * Remove the gray background on active links in IE 10.
   */

a {
    background-color: transparent;
}

/**
   * 1. Remove the bottom border in Chrome 57-
   * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
   */

abbr[title] {
    border-bottom: none;
    /* 1 */
    text-decoration: underline;
    /* 2 */
    text-decoration: underline dotted;
    /* 2 */
}

/**
   * Add the correct font weight in Chrome, Edge, and Safari.
   */

b,
strong {
    font-weight: bolder;
}

/**
   * 1. Correct the inheritance and scaling of font size in all browsers.
   * 2. Correct the odd `em` font sizing in all browsers.
   */

code,
kbd,
samp {
    font-family: monospace, monospace;
    /* 1 */
    font-size: 1em;
    /* 2 */
}

/**
   * Add the correct font size in all browsers.
   */

small {
    font-size: 80%;
    line-height: 1.1;
    display: block;
}

/**
   * Prevent `sub` and `sup` elements from affecting the line height in
   * all browsers.
   */

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sub {
    bottom: -0.25em;
}

sup {
    top: -0.5em;
}

/* Embedded content
     ========================================================================== */

/**
   * Remove the border on images inside links in IE 10.
   */

img {
    border-style: none;
}

/* Forms
     ========================================================================== */

/**
   * 1. Change the font styles in all browsers.
   * 2. Remove the margin in Firefox and Safari.
   */

button,
input,
optgroup,
select,
textarea {
    font-family: inherit;
    /* 1 */
    font-size: 100%;
    /* 1 */
    line-height: 1.15;
    /* 1 */
    margin: 0;
    /* 2 */
}

/**
   * Show the overflow in IE.
   * 1. Show the overflow in Edge.
   */

button,
input {
    /* 1 */
    overflow: visible;
}

/**
   * Remove the inheritance of text transform in Edge, Firefox, and IE.
   * 1. Remove the inheritance of text transform in Firefox.
   */

button,
select {
    /* 1 */
    text-transform: none;
}

/**
   * Correct the inability to style clickable types in iOS and Safari.
   */

button,
[type="button"],
[type="reset"],
[type="submit"] {
    -webkit-appearance: button;
}

/**
   * Remove the inner border and padding in Firefox.
   */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
    border-style: none;
    padding: 0;
}

/**
   * Restore the focus styles unset by the previous rule.
   */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
    outline: 1px dotted ButtonText;
}

/**
   * Correct the padding in Firefox.
   */

fieldset {
    padding: 0.35em 0.75em 0.625em;
}

/**
   * 1. Correct the text wrapping in Edge and IE.
   * 2. Correct the color inheritance from `fieldset` elements in IE.
   * 3. Remove the padding so developers are not caught out when they zero out
   *    `fieldset` elements in all browsers.
   */

legend {
    box-sizing: border-box;
    /* 1 */
    color: inherit;
    /* 2 */
    display: table;
    /* 1 */
    max-width: 100%;
    /* 1 */
    padding: 0;
    /* 3 */
    white-space: normal;
    /* 1 */
}

/**
   * Add the correct vertical alignment in Chrome, Firefox, and Opera.
   */

progress {
    vertical-align: baseline;
}

/**
   * Remove the default vertical scrollbar in IE 10+.
   */

textarea {
    overflow: auto;
}

/**
   * 1. Add the correct box sizing in IE 10.
   * 2. Remove the padding in IE 10.
   */

[type="checkbox"],
[type="radio"] {
    box-sizing: border-box;
    /* 1 */
    padding: 0;
    /* 2 */
}

/**
   * Correct the cursor style of increment and decrement buttons in Chrome.
   */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
    height: auto;
}

/**
   * 1. Correct the odd appearance in Chrome and Safari.
   * 2. Correct the outline style in Safari.
   */

[type="search"] {
    -webkit-appearance: textfield;
    /* 1 */
    outline-offset: -2px;
    /* 2 */
}

/**
   * Remove the inner padding in Chrome and Safari on macOS.
   */

[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

/**
   * 1. Correct the inability to style clickable types in iOS and Safari.
   * 2. Change font properties to `inherit` in Safari.
   */

::-webkit-file-upload-button {
    -webkit-appearance: button;
    /* 1 */
    font: inherit;
    /* 2 */
}

/* Interactive
     ========================================================================== */

/*
   * Add the correct display in Edge, IE 10+, and Firefox.
   */

details {
    display: block;
}

/*
   * Add the correct display in all browsers.
   */

summary {
    display: list-item;
}

/* Misc
     ========================================================================== */

/**
   * Add the correct display in IE 10+.
   */

template {
    display: none;
}

/**
   * Add the correct display in IE 10.
   */

[hidden] {
    display: none;
}

html {
    font-size: 16px;
}

img {
    max-width: 100%;
}

*,
*:after,
*:before {
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    line-height: 1.4;
    color: #222;
}

.header__top {
    background-color: #4e5b60;
    color: #fff;
}
.header__bottom {
    background-color: #dadada;
}
.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}
.header__logo {
    margin-right: auto;
}
.menu {
    display: flex;
    align-items: center;
    font-size: 0.8em;
}
.menu__item {
    color: inherit;
    text-decoration: none;
    padding: 0 0.5rem;
    text-transform: uppercase;
}
.menu__item:hover span {
    color: red;
}

.menu__item--tag {
    background-color: #4e5b60;
    padding: 2px 3px;
    color: #fff;
}
.menu__item--main {
    position: relative;

}
.red {
    color: red;
}
svg {
    vertical-align: middle;
    line-height: 1;
}
.menu__item--main:not(:last-child) {
    border-right: 1px solid currentColor;
}
.menu__item--main:before {
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    background-color: transparent;
    transition: all 400ms;
    position: absolute;
    bottom: -15px;
    left: 0;
}

.menu__item--main:hover:before {
    background-color: #75b852;
}
p, h1, h2, h3, h4, ol, ul {
    margin: 1rem 0;
}
ol, ul {
    padding-left: 25px;
}

.section {
    padding: 15px;
}

.container {
    max-width: 1070px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;

}

/* .content {
    box-shadow: 1px 1px 10px 0px rgba(0, 0, 0, 0.5);
    -webkit-box-shadow: 1px 1px 10px 0px rgba(0, 0, 0, 0.5);
    -moz-box-shadow: 1px 1px 10px 0px rgba(0, 0, 0, 0.5);
} */


.tcenter {
    text-align: center;
}

.image {
    margin: 1rem 0;
    text-align: center;
}
.image-content {
    width: 500px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.image-content--small {
    width: 400px;
}
.image-product {
    width: 350px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    padding: 0 25px;
}
.image-content img {
    display: block;
    width: 100%;
}
.image-caption {
    font-size: 0.8em;
    text-align: center;
    display: block;
    font-style: italic;
    background-color: #eee;
    padding: 0.5rem;
}

.bg--yellow {
    background: #fff5bc;
}

.bg--gray {
    background: #eee;
}

.bg--blue {
    background: #8dcdf7;
}

.section>*:first-child {
    margin-top: 0;
}

.section>*:last-child {
    margin-bottom: 0;
}
.row {
    display: flex;
    margin-left: -15px;
    margin-right: -15px;
}
.col {
    padding: 0 15px;
}
.sidebar {
    width: 300px;
    flex-shrink: 0;
}
.order {
    box-shadow: 0px 0px 9px 0px rgb(0, 0, 0, 0.75);
    overflow: hidden;
    border-radius: 1rem;
    
}
.order__title {
    background-color: #222;
    color: #fff;
    text-align: center;
    margin-top: 0;
    padding: 0.5rem;
    margin-bottom: 0;
}
.order{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.order__product {
    max-width: 350px;
    width: 100%;
    padding: 0 25px;
}

.order__form {
    max-width: 350px;
    width: 100%;
}

.form__input {
    width: 100%;
    margin-bottom: 15px;
}

.form__btn {
    width: 100%;
}

.btn {
    display: inline-block;
    outline: none;
    border: none;
    cursor: pointer;
    padding: 12px;
    background: rgb(229, 0, 38);
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    font-family: inherit;
    border-radius: 5px;
    transition: all 400ms;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.1);
}

.btn:hover {
    color: #fff;
    background: rgb(123, 27, 43);
}


.input {
    background: #fff;
    font-family: inherit;
    font-size: 16px;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    display: inline-block;
    width: 100%;
    resize: none;
}
.price {
    display: flex;
    justify-content: center;
    padding: 5px;
    background: #f3f3f3;
    border-radius: 10px;
    margin: 15px 0;
}

.price__item {
    padding: 0 10px;
    text-align: center;
    width: 50%;
}

.price__item-title {
    font-weight: 700;
    font-size: 0.9em;
}

.price__item--old {
    border-right: 1px solid #ddd;
}

.price__item-value--old {
    text-decoration: line-through;
    font-size: 22px;
    color: gray;
}

.price__item-value--new {
    color: red;
    font-weight: 700;
    font-size: 26px;
    text-shadow: 0 0 1px darkred;
}
.lastpack-wrap {
    display: inline-block;
    text-align: center;
    padding: 1rem;
    background: red;
    color: #fff;
    text-shadow: 0 -1px 0 #000000, 0 -1px 0 #000000, 0 1px 0 #000000, 0 1px 0 #000000, -1px 0 0 #000000, 1px 0 0 #000000, -1px 0 0 #000000, 1px 0 0 #000000, -1px -1px 0 #000000, 1px -1px 0 #000000, -1px 1px 0 #000000, 1px 1px 0 #000000, -1px -1px 0 #000000, 1px -1px 0 #000000, -1px 1px 0 #000000, 1px 1px 0 #000000;
    border-radius: 5px;
}
.comment:not(:last-child) {
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #ccc;
}

.comment__ava {
    margin-right: 1rem;
    width: 50px;
    float: left;
}
.comment__ava img {
    width: 50px;
    height: 50px;
    object-fit: cover;
}
.comment__name {
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 1.1em;
}
.comment__text, .comment__date {
    margin-left: calc(50px + 1rem);
}
.comment__text {
    margin-top: 5px;
    margin-bottom: 10px;
}
.comment__date {
    color: gray;
}
.footer {
    text-align: center;
}

.comment__img {
    width: 300px;
    display: block;
    margin-top: 10px;
}
.adult {
    position: relative;
    cursor: pointer;
    display: block;
}

.adult:before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background-image: url(../images/18_plus.png);
    background-position: center;
    background-size: 100px;
    background-color: #fff;
    background-repeat: no-repeat;
    box-shadow: 0 0 10px #000;
    position: absolute;
    left: 0;
    top: 0;
    background-repeat: no-repeat
}

.adult--open:before {
    display: none
}
.search {
    max-width: 150px;
    text-decoration: none;
    color: gray;
    font-size: 0.8rem;
    margin-left: auto;
    cursor: text;
}
td {
    border: 1px solid #000;
    padding: 5px;
}
table {
    border-collapse: collapse;
    margin-left: auto;
    margin-right: auto;
}
.header__social {
    margin-left: auto;
}
.header__date {
    margin-right: auto;
}
.mt0 {
    margin-top: 0;
}
.quiz-item:not(.active) {
    display: none;
}
.quiz-answer {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.quiz-answer label {
    cursor: pointer;
}

.news__item {
    display: flex;
    align-items: flex-start;
    color: inherit;
    text-decoration: none;
    font-size: 0.7em;
}
.news__item picture {
    flex-shrink: 0;
}
.news__item:not(:last-child) {
    margin-bottom: 10px;
}
.news__item:hover {
    text-decoration: underline;
}
.news__img {
    width: 50px;
    margin-right: 10px;
    flex-shrink: 0;
}
.banner__list {
    border: 2px solid red;
    padding: 35px 15px 15px;
}
.banner__item {
    color: inherit;
    text-align: center;
    font-weight: 700;
    text-decoration: none;
    display: block;
}
.banner__item:not(:last-child) {
    margin-bottom: 10px;
}
.banner-title {
    max-width: 150px;
    color: red;
    text-align: center;
    background-color: #fff;
    transform: translateY(50%);
    margin: 0 auto;

}
.header__tag {
    margin-right: auto;
}
ol ul {
    margin-top: 5px;
    margin-bottom: 0;
}
li:not(:last-child) {
    margin-bottom: 10px;
}
li li:not(:last-child) {
    margin-bottom: 5px;
}
.answer {
    margin-left: 60px;
}
@media screen and (max-width: 1023px) {
    .sidebar {
        display: none;
    }
}
@media screen and (max-width: 991px) {
    .header__menu--top {
        display: none;
    }

    .menu__item--main:nth-child(1) {
        display: none;
    }
    .menu__item:not(.menu__item--main):nth-child(4) {
        display: none;
    }
}
@media screen and (max-width: 767px) {
    .menu__item--main:nth-child(2) {
        display: none;
    }
    body {
        font-size: 16px;
        line-height: 1.3;
    }
    h1 {
        font-size: 24px;
    }
    h2 {
        font-size: 22px;
    }
    h3 {
        font-size: 22px;
    }
    .image-content {
        width: 400px;
    }
    .comment__img {
        width: 250px;
    }
    .order {
        flex-direction: column;
    }
    .menu__item:not(.menu__item--main):nth-child(4) {
        display: none;
    }
}
@media screen and (max-width: 639px) {
    .search {
        display: none;
    }
    .menu__item--main:nth-child(3) {
        display: none;
    }
    .header__bottom {
        display: none;
    }
    .header__logo {
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 10px;
    }
    .header__menu {
        width: 100%;
        justify-content: center;
    }

}

@media screen and (max-width: 479px) {
    html {
        font-size: 14px;
    }
    h1 {
        font-size: 22px;
    }
    h2 {
        font-size: 20px;
    }
    h3 {
        font-size: 18px;
    }
    .image-content {
        width: 300px;
    }
    .comment__img {
        width: 220px;
    }

    .adult:before {
        background-size: 50px;
    }
    .comment__date {
        display: block;
    }
    .menu__item--main:nth-child(4) {
        display: none;
    }

    

}
@media screen and (max-width: 375px) {
    .menu__item--main:nth-child(5) {
        display: none;
    }
}