html {
    box-sizing: border-box; }

*,
*::before,
*::after {
    box-sizing: inherit; }

@-ms-viewport {
    width: device-width; }

html {
    font-size: 16px;
    -ms-overflow-style: scrollbar;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0); }

body {
    font-size: 1rem;
    line-height: 1.5;
    color: #1b3249;
    background-color: #fff; }

[tabindex="-1"]:focus {
    outline: none !important; }

h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    margin-bottom: .5rem; }

p {
    margin-top: 0;
    margin-bottom: 1rem; }

abbr[title],
abbr[data-original-title] {
    cursor: help;
    border-bottom: 1px dotted #818a91; }

address {
    margin-bottom: 1rem;
    font-style: normal;
    line-height: inherit; }

ol,
ul,
dl {
    margin-top: 0;
    margin-bottom: 1rem; }

ol ol,
ul ul,
ol ul,
ul ol {
    margin-bottom: 0; }

dt {
    font-weight: bold; }

dd {
    margin-bottom: .5rem;
    margin-left: 0; }

blockquote {
    margin: 0 0 1rem; }

a {
    color: #0275d8;
    text-decoration: none; }
a:hover {
    color: #014c8c;
    text-decoration: underline; }

a:not([href]):not([tabindex]) {
    color: inherit;
    text-decoration: none; }
a:not([href]):not([tabindex]):focus, a:not([href]):not([tabindex]):hover {
    color: inherit;
    text-decoration: none; }
a:not([href]):not([tabindex]):focus {
    outline: none; }

pre {
    margin-top: 0;
    margin-bottom: 1rem;
    overflow: auto; }

figure {
    margin: 0 0 1rem; }

img {
    vertical-align: middle; }

[role="button"] {
    cursor: pointer; }

a,
area,
button,
[role="button"],
input,
label,
select,
summary,
textarea {
    -ms-touch-action: manipulation;
    touch-action: manipulation; }

table {
    border-collapse: collapse;
    background-color: transparent; }

caption {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    color: #818a91;
    text-align: left;
    caption-side: bottom; }

th {
    text-align: left; }

label {
    display: inline-block;
    margin-bottom: .5rem; }

button:focus {
    outline: 1px dotted;
    outline: 5px auto -webkit-focus-ring-color; }

input,
button,
select,
textarea {
    margin: 0;
    line-height: inherit;
    border-radius: 0; }

input[type="radio"]:disabled,
input[type="checkbox"]:disabled {
    cursor: not-allowed; }

input[type="date"],
input[type="time"],
input[type="datetime-local"],
input[type="month"] {
    -webkit-appearance: listbox; }

textarea {
    resize: vertical; }

fieldset {
    min-width: 0;
    padding: 0;
    margin: 0;
    border: 0; }

legend {
    display: block;
    width: 100%;
    padding: 0;
    margin-bottom: .5rem;
    font-size: 1.5rem;
    line-height: inherit; }

input[type="search"] {
    -webkit-appearance: none; }

output {
    display: inline-block; }

[hidden] {
    display: none !important; }

/*! normalize.css v4.0.0 | MIT License | github.com/necolas/normalize.css */
html {
    font-family: sans-serif;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%; }

body {
    margin: 0; }

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
    display: block; }

audio,
canvas,
progress,
video {
    display: inline-block; }

audio:not([controls]) {
    display: none;
    height: 0; }

progress {
    vertical-align: baseline; }

template,
[hidden] {
    display: none; }

a {
    background-color: transparent; }

a:active,
a:hover {
    outline-width: 0; }

abbr[title] {
    border-bottom: none;
    text-decoration: underline;
    text-decoration: underline dotted; }

b,
strong {
    font-weight: inherit; }

b,
strong {
    font-weight: bolder; }

dfn {
    font-style: italic; }

h1 {
    font-size: 2em;
    margin: 0.67em 0; }

mark {
    background-color: #ff0;
    color: #000; }

small {
    font-size: 80%; }

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline; }

sub {
    bottom: -0.25em; }

sup {
    top: -0.5em; }

img {
    border-style: none; }

svg:not(:root) {
    overflow: hidden; }

code,
kbd,
pre,
samp {
    font-family: monospace, monospace;
    font-size: 1em; }

figure {
    margin: 1em 40px; }

hr {
    box-sizing: content-box;
    height: 0;
    overflow: visible; }

button,
input,
select,
textarea {
    font: inherit; }

optgroup {
    font-weight: bold; }

button,
input,
select {
    overflow: visible; }

button,
input,
select,
textarea {
    margin: 0; }

button,
select {
    text-transform: none; }

button,
[type="button"],
[type="reset"],
[type="submit"] {
    cursor: pointer; }

[disabled] {
    cursor: default; }

button,
html [type="button"],
[type="reset"],
[type="submit"] {
    -webkit-appearance: button; }

button::-moz-focus-inner,
input::-moz-focus-inner {
    border: 0;
    padding: 0; }

button:-moz-focusring,
input:-moz-focusring {
    outline: 1px dotted ButtonText; }

fieldset {
    border: 1px solid #c0c0c0;
    margin: 0 2px;
    padding: 0.35em 0.625em 0.75em; }

legend {
    box-sizing: border-box;
    color: inherit;
    display: table;
    max-width: 100%;
    padding: 0;
    white-space: normal; }

textarea {
    overflow: auto; }

[type="checkbox"],
[type="radio"] {
    box-sizing: border-box;
    padding: 0; }

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
    height: auto; }

[type="search"] {
    -webkit-appearance: textfield; }

[type="search"]::-webkit-search-cancel-button,
[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none; }

* {
    box-sizing: border-box;
}

*:focus {
    outline: none;
}

button:focus {
    outline: none !important;
}

img {
    max-width: 100%; }

html {
    height: 100vh;
}

body {
    min-height: 100vh;
    font-family: Arial, sans-serif;
}

a {
    color: black;
    text-decoration: none;
}

a:hover {
    text-decoration: none;
    color: #2D71AB;
}

.wrapper {
    width: 100%;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}

.button {
    align-items: center;
    border: none;
    cursor: pointer;
    display: inline-flex;
    font-size: 16px;
    font-weight: 600;
    justify-content: center;
    line-height: 20px;
    padding: 12px 25px;
    position: relative;
    text-align: center;
    text-decoration: none !important;
    transition: .25s;
}

.button-primary {
    background: #2D71AB;
    color: #fff !important;
}

.button-gray {
    background: #dfdfdf;
    color: #1b3249 !important;
}

.header {
    box-shadow: 0 2px 3px 0 rgba(0, 0, 0, .06);
}
.page-header {
    font-size: 32px;
    margin-top: 0;
    margin-bottom: 30px;
    padding-top: 30px;
}

.header-logo {
    font-size: 26px;
    font-weight: 700;
    margin-right: 40px;
    color: #fff;
}
.header-logo:hover {
    color: #fff;
}

.header-top {
    display: flex;
    align-items: center;
    padding-top: 20px;
    padding-bottom: 20px;
}
.header-bottom  {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 5px;
    padding-bottom: 20px;
}
.header-catalog {
    background: #00A39E;
    padding: 0 20px;
    border-radius: 3px;
    height: 40px;
    line-height: 40px;
    color: #fff;
}
.header-catalog:hover {
    background: #2D71AB;
    color: #fff;
}
.header-search {
    max-width: 470px;
    width: 100%;
    position: relative;
    margin: 0 20px; }
.header-search input {
    padding: 0;
    background-color: #fff;
    margin-bottom: 0;
    height: 40px;
    border: 2px solid #00A39E;
    padding-left: 15px;
    padding-right: 55px;
    border-radius: 3px; }
.header-search button {
    border: none;
    position: absolute;
    right: 0;
    top: 0;
    box-sizing: border-box;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    outline: 0;
    height: 100%;
    background: #00A39E;
    color: #fff;
    padding: 0 15px;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
}

.header-contacts {
    display: flex;
    flex-direction: column;
    margin: 0 40px 0 20px;
}
.header-email {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 3px;
}
.header-mobile-contacts {
    display: none;
}
.header-callback {
    font-size: 14px;
    color: #2D71AB;
}
.header-callback:hover {
    color: #00A39E;
}
.mobile-menu-button {
    display: none;
}
.mobile-menu-button svg {
    display: none;
}
.mobile-menu-button svg.active {
    display: inline-block;
}

.header-request {
    margin-right: 30px;
    white-space: nowrap;
    color: #fff;
    background: #00A39E;
    padding: 8px 20px;
    border-radius: 3px;
    font-size: 15px;
}
.header-request:hover {
    background: #2D71AB;
    color: #fff;
}

.header-cart {
    display: -ms-inline-flexbox;
    display: inline-flex;
    -ms-flex-align: center;
    align-items: center;
    vertical-align: middle;
    position: relative;
    height: 39px;
}

.header-cart.empty-cart .cart-info-price {
    display: none;
}

.header-cart.empty-cart .cart-info-text {
    display: block;
}

.header-cart .cart-info-text {
    display: none;
}

.header-cart .cart-counter {
    position: absolute;
    border-radius: 100%;
    background-color: #00A39E;
    color: #fff;
    width: 20px;
    height: 20px;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    line-height: 22px;
    top: 0;
    left: 19px;
}

.header-cart .cart-icon {
    height: 30px;
    margin-right: 18px;
    margin-top: 0;
    fill: #004580;
}

@media only screen and (max-width: 640px) {
    .header-cart .cart-icon {
        height: 28px;
    }
}

.header-cart .cart-info {
    text-align: center;
}

.header-cart .cart-info-text {
    font-size: 14px;
    font-weight: 500;
}

.header-cart .cart-info-price {
    font-size: 15px;
    font-weight: 700;
    color: #004580;
    line-height: 17px;
    min-width: 60px;
    white-space: nowrap;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 70px;
    background-color: #fff;
    padding: 30px 15px;
    box-shadow: 0 2px 3px 0 rgba(0, 0, 0, .06);
    border-top: 2px solid rgba(0, 0, 0, .06);
    width: 100%;
    text-align: center;
    z-index: 100;
}
.mobile-menu.opened {
    display: block;
}
.mobile-menu-menu {
    display: flex;
    gap: 30px;
    justify-content: space-around;
    margin-bottom: 40px;
}
.mobile-menu-items {
    display: flex;
    flex-direction: column;
    text-align: left;
    gap: 10px;
}
.mobile-menu-items a {
    color: #6c6c6c;
}
.mobile-menu-email {
    display: inline-block;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 20px;
}
.mobile-menu-contacts {
    display: flex;
    justify-content: center;
    gap: 10px;
}
.menu-item-marked {
    font-weight: bold;
}

.footer {
    padding: 40px 0;
    background: #e3e8ee;
}
.footer .wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.footer-menu {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.footer-menu a {
    font-size: 17px;
    font-weight: 700;
    color: #6c6c6c;
}
.footer-logo {
    display: block;
    margin-bottom: 20px;
}
.footer-copyright {
    font-size: 15px;
    color: #777777;
    letter-spacing: 0.04em;
}
.footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.footer-email {
    font-weight: 700;
    color: #1b3249;
}
.footer-messengers a {
    display: inline-block;
    margin-right: 8px;
    text-decoration: none;
}

main {
    padding-bottom: 70px;
    min-height: calc(100vh - 193px);
}

.breadcrumbs {
    margin: 25px 0 -10px;
    display: flex;
    flex-wrap: wrap;
    font-size: 14px;
    padding: 0;
}
@media only screen and (max-width: 460px) {
    .breadcrumbs {
        display: inline-block;
    }
}
.breadcrumbs-item {
    display: flex;
    align-items: center;
    margin-left: 7px;
    color: #8a99a7;
}
@media only screen and (max-width: 460px) {
    .breadcrumbs-item {
        display: inline-block;
    }

    .breadcrumbs-item:last-child {
        display: none;
    }

    .breadcrumbs-item:nth-child(2):last-child {
        display: inline-block !important;
    }
}
.breadcrumbs-item:first-child {
    margin-left: 0;
}
.breadcrumbs-item a {
    color: #8a99a7;
}
.breadcrumbs-item a:hover {
    color: #2D71AB;
}
.breadcrumbs-item + .breadcrumbs-item:before {
    content: '-';
    margin-right: 7px;
    color: #8a99a7;
}

.catalog {
    padding: 50px 0;
    background-color: #eff2f5;
}
.catalog-category {
    display: flex;
    margin-bottom: 40px;
    gap: 20px;
}
.catalog-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, minmax(120px, auto));
    grid-gap: 10px;
}
.catalog-main-item {
    display: block;
    width: 300px;
    background-color: #fff;
    padding: 30px;
    flex-shrink: 0;
}
.catalog-main-item-img {
    object-fit: contain;
    width: 100%;
    margin-bottom: 30px;
}
.catalog-main-item-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
}
.catalog-main-item-count {
    opacity: 0.5;
    font-size: 15px;
}
.catalog-main-item:hover .catalog-main-item-count {
    color: #000;
}
.catalog-item {
    display: flex;
    gap: 25px;
    background-color: #fff;
    padding: 15px;
}
.catalog-item-img {
    object-fit: contain;
    width: 80px;
}
.catalog-item-name {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
}
.catalog-item-count {
    opacity: 0.5;
    font-size: 14px;
}
.catalog-item:hover .catalog-item-count {
    color: #000;
}

.products {
    display: grid;
    grid-template-columns: 290px calc(100% - 310px);
    grid-gap: 20px;
    align-items: flex-start;
}
.products-filter {
    position: relative;
    background: #f5f7fa;
    padding: 20px;
}
.products-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e4e4e4;
    padding-bottom: 15px;
    margin-bottom: 15px;
    width: 100%;
}
.products-view {
    display: flex;
    gap: 10px;
}
.products-view-item {
    width: 24px;
    height: 24px;
}
.products-view-item svg {
    fill: #6b6b6b;
    opacity: 0.5;
}
.products-view-item.active svg {
    opacity: 1;
}
.products-view-item:hover svg {
    opacity: 1;
}
.products-sort {
    display: flex;
    gap: 15px;
    font-size: 14px;
}
.products-sort-item {
    color: #2D71AB;
}
a.products-sort-item:hover {
    color: #00A39E;
}
span.products-sort-item {
    color: #000;
}
.product-cards {
    display: grid;
    grid-gap: 4px;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    margin-bottom: 30px;
}
.products-list .product-cards {
    grid-template-columns: 1fr;
    margin-top: -15px;
}
.product-card {
    background: #fff;
    display: flex;
    flex-direction: column;
    padding: 25px;
}
.products-list .product-card {
    display: grid;
    grid-template-columns: 80px 2fr 1fr 230px;
    padding: 5px 0;
    grid-gap: 30px;
    align-items: center;
    border-bottom: 1px solid #e4e4e4;
}
.product-card-body {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.product-card-img {
    margin-bottom: 20px;
}
.products-list .product-card-img {
    margin-bottom: 0;
}
.product-card-img img {
    object-fit: contain;
    width: 100%;
}
.products-list .product-card-img img {
    width: 80px;
    height: 80px;
}
.product-card-name a {
    display: block;
    font-size: 16px;
    line-height: 22px;
    overflow: hidden;
    min-height: 75px;
    margin-bottom: 20px;
}
.product-card-name span {
    display: block;
    font-size: 16px;
    line-height: 22px;
    overflow: hidden;
    min-height: 75px;
    margin-bottom: 20px;
}
.products-list .product-card-name span {
    min-height: auto;
    margin: 0;
}
.products-list .product-card-name a {
    min-height: auto;
    margin: 0;
}
.product-card-code {
    font-size: 13px;
    color: #8c8a87;
    margin-top: 5px;
}
.product-card-counter {
    display: grid;
    grid-template-columns: 55% 45%;
    height: 35px;
}
.product-counter {
    display: inline-block;
    line-height: 31px;
    position: relative;
    width: auto;
    max-width: 100%;
}
.counter-btn-minus, .counter-btn-plus {
    border: none;
    background: #f5f7fa;
    color: #606266;
    cursor: pointer;
    font-size: 13px;
    height: auto;
    position: absolute;
    text-align: center;
    top: 1px;
    width: 30px;
    z-index: 1;
}
.counter-btn-minus {
    border-right: 1px solid #dcdfe6;
    left: 1px;
}
.counter-btn-plus {
    border-left: 1px solid #dcdfe6;
    right: 1px;
}
.counter-field {
    padding-left: 40px;
    padding-right: 40px;
    text-align: center;
    position: relative;
    width: 100%;
    border: 1px solid #dcdfe6;
    height: 35px;
    line-height: 35px;
}
.product-card-button {
    font-size: 15px;
    padding: 0 10px;
    height: 35px;
}
.product-card-button.order-added {
    background: #00A39E;
}

.product-card-price {
    font-size: 17px;
    margin-bottom: 5px;
    color: #000;
}
.products-list .product-card-price {
    white-space: nowrap;
}
.product-card-price .price {
    font-size: 18px;
    font-weight: 700;
    margin-right: 5px;
}
.product-card-price .price.old {
    font-size: 15px;
    color: #8c8a87;
    font-weight: 500;
    text-decoration: line-through;
    white-space: nowrap;
}
.product-card-price .price.new {
    color: #9c341f ;
}

.product-card-stock {
    margin-bottom: 20px;
    color: #00A39E;
    font-size: 15px;
    font-weight: 700;
}
.products-list .product-card-stock {
    margin-bottom: 0;
}

.pagination {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 40px;
}
.pagination li {
    margin-right: 8px;
}
.pagination li.current span {
    background-color: #2D71AB;
    color: #fff;
    font-weight: 500;
}
.pagination a, .pagination span {
    display: block;
    font-size: 15px;
    padding: 0 12px;
    min-width: 36px;
    height: 36px;
    text-align: center;
    border-radius: 3px;
    background-color: #eff2f5;
    line-height: 36px;
}

.pagination .first.disabled,
.pagination .next.disabled,
.pagination .prev.disabled {
    display: none;
}
.show-more {
    display: block;
    text-align: center;
    text-transform: uppercase;
    color: #1a1a1a;
    font-size: 14px;
    font-weight: 700;
    background: #eff2f5;
    padding: 15px 20px;
}

.cart {
    display: grid;
    grid-template-columns: calc(100% - 350px - 10px) auto;
    grid-gap: 10px;
    align-items: flex-start;
}
.cart-empty {
    text-align: center;
    padding-top: 60px;
}
.cart-main {
    background: #fff;
    padding: 30px;
}
.cart-main form h2 {
    font-size: 22px;
    margin-bottom: 20px;
}
.cart-items {
    display: grid;
    grid-gap: 4px;
}
.cart-item {
    display: grid;
    grid-template-columns: min-content 3fr 100px min-content 120px min-content;
    grid-gap: 25px;
    align-items: center;
    background: #fff;
    padding: 20px;
    position: relative;
}
.cart-item-photo {
    width: 60px;
    margin-right: 10px;
}
.cart-item-name {
    margin-right: 20px;
}
.cart-item-count {
    width: 130px;
}
.cart-item-price {
    text-align: center;
}
.cart-item-price [no-price] {
    color: #00A59F;
}
.cart-item-cost {
    text-align: right;
}
.cart-item-price .price {
    display: block;
    font-size: 18px;
    font-weight: 700;
    white-space: nowrap;
}
.cart-item-price .price.old {
    font-size: 15px;
    color: #8c8a87;
    font-weight: 500;
    text-decoration: line-through;
}
.cart-item-price .price.new {
    color: #9c341f ;
}
.cart-item-count .counter {
    display: inline-block;
    line-height: 31px;
    position: relative;
    width: auto;
    max-width: 100%;
}
.cart-item-cost .price {
    display: block;
    font-size: 18px;
    font-weight: 700;
    margin-right: 5px;
    white-space: nowrap;
}
.cart-summary {
    position: sticky;
    top: 2px;
    padding: 25px;
    background-color: #fff;
}
.cart-summary-header {
    display: flex;
    justify-content: space-between;
    font-size: 17px;
    margin-bottom: 15px;
}
.cart-summary-detail {
    margin-bottom: 20px;
}
.cart-summary-detail-item {
    display: flex;
    justify-content: space-between;
    font-size: 15px;
    margin-bottom: 3px;
}
.cart-summary-detail-item span {
    font-weight: 700;
}
.cart-summary-total {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    font-size: 20px;
    align-items: center;
    font-weight: 700;
}
.cart-summary .button {
    width: 100%;
}
.cart-summary-info {
    font-size: 15px;
    line-height: 20px;
    color: #99A0A6;
}
.cart-summary hr {
    box-sizing: content-box;
    height: 0;
    overflow: visible;
    border: none;
    border-top: 2px solid #eff2f5;
    margin: 20px 0;
}
.cart .radio-input {
    display: grid;
    grid-template-columns: max-content max-content max-content;
    grid-column-gap: 40px;
}

.form-group {
    margin-bottom: 20px;
}
.form-group.has-error input[type="text"], .form-group.has-error input[type="password"], .form-group.has-error textarea {
    border-color: #f54040;
    color: #f54040;
}
.form-group.has-error input[type="text"] + .label, .form-group.has-error input[type="password"] + .label {
    color: #f54040;
}
.form-group.has-error .help-block {
    color: #f54040;
}
.form-group .control-label {
    display: block;
    font-weight: bold;
    margin-bottom: 10px;
}
.form-group .iti {
    width: 100%;
}
.form-control {
    padding: 12px;
    height: 45px;
    width: 100%;
    border: 1px solid #ececec;
    background: #f8f8f8;
    outline: none;
}
textarea.form-control {
    display: block;
    height: auto;
    resize: none;
}
input.form-control:focus, textarea.form-control:focus {
    outline: 0;
    background: #fff;
    border: 1px solid #ccc;
}
.agree-policy {
    font-size: 13px;
    margin-top: 12px;
    color: #6f6f6f;
}
.agree-policy a {
    color: #2D71AB;
}

.header-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}
.header-menu-item {
    display: flex;
    align-items: center;
    padding: 0 15px;
    font-size: 16px;
}
.header-menu-item:first-child {
    padding-left: 0;
}
.header-menu-item.active > a {
    color: #00A39E;
}
.header-menu-second .header-menu-item {
    font-size: 14px;
    padding: 0 10px;
}

.hystmodal__content {
    padding: 30px;
}
.hystmodal__header {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #204d73;
}

.new-products {
    padding-top: 40px;
}
.new-products h2 {
    font-size: 30px;
    margin-bottom: 25px;
}
.new-products-items {
    position: relative;
}
.new-products .swiper-slide {
    height: auto;
}
.new-products .product-card {
    height: 100%;
}
.new-products-prev {
    left: -50px;
}
.new-products-next {
    right: -50px;
}

.promo {
    display: flex;
    gap: 30px;
    width: 100%;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
    margin-bottom: 30px;
    margin-top: 25px;
}
.promo-slider {
    max-width: 1045px;
    height: 380px;
}
.promo-slider img {
    height: 380px;
    object-fit: cover;
}
.promo-slider-prev, .promo-slider-next, .promo-product-slider-prev, .promo-product-slider-next, .new-products-prev, .new-products-next  {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #ececec;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1;
    transition: opacity 0.5s;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: 0 1px 20px rgba(4, 6, 28, .1);
}
.promo-slider-prev:focus, .promo-slider-next:focus {
    outline: none;
}
.promo-slider-prev {
    left: 20px;
}
.promo-slider-next {
    right: 20px;
}
.promo-products {
    width: 295px;
    flex-shrink: 0;
    position: relative;
}
.promo-products .product-card {
    height: 380px;
    border: 2px solid #ebebeb;
    padding: 10px 30px 20px;
}
.promo-products .product-card-img img {
    height: 140px;
}
.promo-products .product-card-name a, .promo-products .product-card-name span {
    max-height: 70px;
    min-height: unset;
    margin-bottom: 0;
}
.promo-product-slider-prev {
    left: -20px;
}
.promo-product-slider-next {
    right: -20px;
}

.product-page {
    display: grid;
    grid-template-columns: 500px minmax(400px, 10fr) 340px;
    gap: 0 40px;
    margin-bottom: 80px;
}
.product-properties {
    list-style: none;
    padding: 0;
}
.product-property {
    margin-bottom: 10px;
}
.product-property-name {
    color: #5D5D64;
}
.product-right {

}
.product-offer {
    background-color: #f5f5f5;
    padding: 27px 30px 30px;
    margin-bottom: 20px;
    border-radius: 3px;
}
.product-offer .product-card-price {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}
.product-offer .product-card-price .price.new {
    color: #1b3249;
    font-size: 28px;
    margin-right: 15px;
}
.product-offer .product-card-price .price.old {
    font-size: 16px;
}
.product-offer-counter {
    display: grid;
    grid-template-columns: 45% 50%;
    height: 45px;
    gap: 5%;
    margin-bottom: 30px;
}
.product-offer-counter .product-counter {
    line-height: 41px;
}
.product-offer-counter .counter-btn-minus, .product-offer-counter .counter-btn-plus {
    width: 40px;
    font-size: 20px;
}
.product-offer-counter .counter-field {
    height: 45px;
    line-height: 45px;
}

.product-delivery-block {
    padding-top: 20px;
    border-top: 1px solid #cbcbcb;
}
.product-delivery-block-header {
    margin-bottom: 13px;
    font-weight: 700;
}
.product-delivery-items {
    display: grid;
    grid-template-rows: 1fr;
    grid-template-columns: max-content 1fr;
    grid-column-gap: 20px;
    grid-row-gap: 3px;
}
.product-delivery-items span {
    text-align: right;
}
.product-delivery-items .product-delivery-name {
    color: #949ca5;
    text-align: left;
}

.product-sizes .products-list .product-cards {
    border: 1px solid #e4e4e4;
}
.product-sizes .products-list .product-card {
    padding: 5px 15px;
}
.product-sizes h2 {
    margin-bottom: 40px;
}

.tabs {

}
.tabs-nav {
    display: flex;
    gap: 10px;
    padding: 0;
    text-transform: uppercase;
    margin-bottom: 25px;
    list-style: none;
    overflow-x: auto;
    white-space: nowrap;
}
.tabs-nav::-webkit-scrollbar {
    display: none;
}
.tabs-nav-item {
    background-color: #00A39E;
    border-radius: 3px;
}
.tabs-nav-item.active {
    background-color: #2D71AB;
}
.tabs-nav-item a {
    display: block;
    padding: 0 25px;
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    font-size: 15px;
    height: 40px;
    line-height: 40px;
    letter-spacing: 0.04em;
}

.tabs-content-item {
    display: none;
    margin-bottom: 50px;
}
.tabs-content-item.active {
    display: block;
}
.tabs-content-item h2 {
    font-size: 24px;
    margin-bottom: 20px;
}
.tabs-content-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.product-properties-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 15px;
    row-gap: 5px;
}
.product-properties-list dl {
    margin-bottom: 0;
}

.sub-categories {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    box-sizing: border-box;
    margin-bottom: 50px;
    grid-template-rows: 100px;
}
.sub-category {
    display: flex;
    padding: 6px 12px;
    font-size: 16px;
    line-height: 20px;
    font-weight: 500;
    background: #fff;
    height: 102px;
    border: solid 2px #e4e4e4;
    margin: -2px -2px 0 0;
    align-items: center;
}
.sub-category-icon {
    margin-right: 15px;
}
.sub-category-name {
    flex: 1;
    word-break: break-word;
}

@media only screen and (max-width: 640px) {
    .header-top {
        flex-wrap: wrap;
        justify-content: space-between;
        padding: 5px 15px 10px;
    }
    .header-logo {
        width: 137px;
        margin-right: 0;
    }
    .header-catalog {
        display: none;
    }
    .header-search {
        order: 4;
        width: 100%;
        margin: 5px 0 15px;
    }
    .header-search input {
        padding-left: 10px;
    }
    .header-contacts {
        width: 100%;
        order: 5;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        margin: 0;
    }
    .header-email {
        display: none;
    }
    .header-mobile-contacts {
        display: flex;
        align-items: center;
        gap: 15px;
    }
    .header-mobile-contacts a {
        height: 30px;
    }
    .header-callback {
        color: #fff;
        background-color: #2D71AB;
        padding: 7px 10px 8px;
    }
    .header-request {
        display: none;
    }
    .mobile-menu-button {
        display: flex;
        border: none;
        background: none;
        padding: 0;
        height: 40px;
        width: 40px;
        justify-content: center;
        align-items: center;
    }
    .header-bottom {
        overflow-x: scroll;
    }
    .header-menu-second {
        display: none;
    }

    .promo {
        flex-direction: column;
    }
    .promo-slider {
        width: calc(100% + 30px);
        height: auto;
        margin: 0 -15px;
    }
    .promo-slider img {
        height: auto;
    }
    .promo-slider-prev, .promo-slider-next {
        display: none;
    }
    .promo-products {
        margin: 0 auto;
    }

    .footer {
        position: relative;
        padding-bottom: 80px;
    }
    .footer .wrapper {
        grid-template-columns: 1fr 1fr;
        gap: 35px;
    }
    .footer-logo {
        margin-bottom: 0;
    }
    .footer-info {
        grid-column: span 2;
        text-align: center;
    }
    .footer-menu {
        order: 2;
        gap: 10px;
    }
    .footer-menu a {
        font-size: 15px;
        font-weight: 400;
    }
    .footer-contacts {
        grid-column: span 2;
        order: 1;
        text-align: center;
    }
    .footer-copyright {
        position: absolute;
        bottom: 0;
        width: 100%;
        background-color: #EFF2F5;
        margin: 0 -15px;
        padding: 10px;
    }

    .page-header {
        font-size: 24px;
        line-height: 1.3;
    }

    .catalog-category {
        flex-direction: column;
        gap: 15px;
    }
    .catalog-main-item {
        width: 100%;
    }
    .catalog-items {
        grid-template-columns: 1fr;
        grid-template-rows: unset;
        grid-gap: 5px;
    }

    .new-products h2 {
        margin-bottom: 30px;
        text-align: center;
    }
    .new-products-items {
        width: 295px;
        margin: 0 auto;
    }
    .new-products .product-card {
        padding: 10px 30px 20px;
        border: 2px solid #ebebeb;
    }
    .new-products-prev {
        left: -20px;
    }
    .new-products-next {
        right: -20px;
    }

    .cart {
        grid-template-columns: 1fr;
    }
    .cart-item {
        grid-template-columns: repeat(3, 0fr);
        row-gap: 15px;
        column-gap: 10px;
        align-items: flex-start;
        padding: 15px;
    }
    .cart-item-photo {
        width: 70px;
        margin-right: 15px;
        grid-row: span 4;
    }
    .cart-item-photo img {
        width: 70px;
    }
    .cart-item-name {
        line-height: 1.4;
        margin-right: 0;
        grid-column: span 2;
    }
    .cart-item-price {
        text-align: left;
        grid-column: span 2;
    }
    .cart-item-price [no-price] {
        display: none;
    }
    .cart-item-price .price {
        display: inline-block;
        margin-right: 15px;
    }
    .cart-item-cost {
        text-align: left;
        grid-column: span 2;
        order: 10;
    }
    .cart-delete {
        display: inline-block;
        padding: 0 15px;
        font-size: 15px;
        color: #ff3333;
        height: 35px;
        line-height: 35px;
        border: 1px solid #dcdfe6;
    }
    .cart-delete:hover {
        color: #ff3333;
    }
    .cart .radio-input {
        grid-template-columns: 1fr;
    }

    .sub-categories {
        grid-template-columns: 1fr;
    }

    .products {
        grid-template-columns: 1fr;
    }
    .products-list .product-cards {
        grid-template-columns: 1fr;
        margin-top: -15px;
    }
    .products-list .product-card {
        grid-template-columns: 80px 1fr;
        gap: 20px;
        border: 1px solid #e4e4e4;
        padding: 7px;
    }
    .products-list .product-card-img {
        grid-row: span 2;
    }
    .products-list .product-card-counter {
        grid-column: span 2;
        grid-template-columns: 40% 60%;
    }
    .products-sort-item span {
        display: none;
    }

    .products-grid .product-cards {
        grid-gap: 20px;
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }
    .products-grid .product-card {
        padding: 0;
    }
    .products-grid .product-card-counter {
        grid-template-columns: 1fr;
        gap: 5px;
        height: auto;
    }
    .products-grid .product-card-stock {
        font-size: 14px;
    }
    .products-grid .product-card-name a {
        margin-bottom: 10px;
    }

    .product-card-price .price {
        font-size: 17px;
    }
    .product-card-price .price.old {
        font-size: 14px;
    }
    .product-card-name a {
        line-height: 20px;
    }

    .product-page {
        grid-template-columns: 1fr;
        margin-bottom: 20px;
    }
    .gallery {
        margin-bottom: 20px;
        text-align: center;
    }
    .product-describe {
        display: none;
    }
    .tabs-content-item h2 {
        font-size: 20px;
    }
    .tabs-nav-item a {
        font-size: 14px;
        padding: 0 18px;
    }
    .product-properties-list {
        grid-template-columns: 1fr;
    }
    .product-sizes h2 {
        font-size: 20px;
    }
}