:root {
    --brown: #232020; /*35 32 35*/
    --dark-bg: #252525;
    --dark-bg-hover: #484545;
    --darkest-bg: #181818;
    --beige: #d7b789; /*215 183 137*/
    --white: #fff;
    --primary-color: var(--beige);
    --gap: 2rem;
    --transition: all 0.2s ease 0s;
    /*--border-radius-card: 1.375rem;*/
    --border-radius-card: 2rem;
    --border-radius-inner: 1.5rem;
    --border-radius-btn: 3.125rem;
    --border-color: #DFE1E9;
    --input-bg: #393434;
    --input-bg: var(--dark-bg);
    --border-color-gray: hsla(0, 0%, 100%, .2);
    --muted-color: #ffffff90;
    --box-shadow: 3px 2px 10px 0px rgba(0, 0, 0, .07);
    --title-color: #222;
    --error-color: #d43434;
    --vk-blue: #0077FF;
    --tg-blue: #24A1DE;
    --whatsapp-green: #25d366;
    --dzen-orange: #FFA500;
    --dzen-black: #202022;
    --insta-bg: radial-gradient(circle farthest-corner at 35% 90%, #fec564, transparent 50%),
    radial-gradient(circle farthest-corner at 0 140%, #fec564, transparent 50%),
    radial-gradient(ellipse farthest-corner at 0 -25%, #5258cf, transparent 50%),
    radial-gradient(ellipse farthest-corner at 20% -50%, #5258cf, transparent 50%),
    radial-gradient(ellipse farthest-corner at 100% 0, #893dc2, transparent 50%),
    radial-gradient(ellipse farthest-corner at 60% -20%, #893dc2, transparent 50%),
    radial-gradient(ellipse farthest-corner at 100% 100%, #d9317a, transparent),
    linear-gradient(#6559ca, #bc318f 30%, #e33f5f 50%, #f77638 70%, #fec66d 100%);
}

pre {
    color: #000;
    background-color: var(--white);
    font-size: 100%;
    border: 1px solid #000;
    overflow: auto;
    min-width: 300px;
}

*,
*::before,
*::after {
    padding: 0;
    margin: 0;
    border: 0;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

html,
body {
    scrollbar-gutter: stable;
    scroll-behavior: smooth;
    background-color: #02030c;
    background-color: var(--brown);
    background-color: var(--darkest-bg);
    font-family: "Nunito", serif;
    font-family: "Montserrat", serif;
    color: var(--white);
    min-width: 360px;
    font-size: 16px;
    line-height: 1.4;
    height: 100%;
}

input, button, textarea, select {
    font-family: inherit;
}

input:not([type="submit"], [type="checkbox"], [type="button"],  [type="file"]),
textarea,
select {
    vertical-align: middle;
    background-color: var(--input-bg);
    border-radius: 3.125rem;
    outline: none;
    border: 2px solid transparent;
    line-height: 1.5rem;
    width: 100%;
    color: var(--white);
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition);
    padding: 1rem 2rem;
}

input:not([type="submit"], [type="checkbox"], [type="button"], [type="file"]):focus,
textarea:focus,
select:focus {
    border-color: transparent;
    background-color: var(--white);
    color: var(--title-color);
}

input.error:not([type="submit"], [type="checkbox"], [type="button"], [type="file"]),
input:user-invalid:not([type="submit"], [type="checkbox"], [type="button"], [type="file"]),
.field__error input {
    /*background-color: #f5e9eb;*/
    border-color: var(--error-color);
}

input.valid:not([type="submit"], [type="checkbox"], [type="button"], [type="file"]) {
    /*background-color: #dfefdb;*/
}

.field {
    position: relative;
}

.field__label {
    position: absolute;
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted-color);
    transition-duration: .2s;
    pointer-events: none;
}

.field__input:not(:placeholder-shown) + .field__label,
.field__input:focus + .field__label {
    transform: translateY(-55px);
    font-size: 0.85rem;
}

.field__input.field__error {
    border-color: var(--error-color);
}

.field__error-text,
.field__input + .error,
.field__input + .field__label + .error,
.check__input + .check__box + .error {
    position: absolute;
    top: -24px;
    left: 20px;
    color: var(--error-color);
    transition: var(--transition);
    font-size: .875rem;
    font-weight: 500;
    display: none;
    /*margin-top: 3px;*/
}

@media (max-width: 520px) {
    .check__input + .check__box + .error {
        top: calc(100% + 12px);
    }
}

.field__label.hidden {
    opacity: 0;
}

select[multiple="multiple"] {
    padding: 0;
    border: 1px solid var(--border-color);
}

select[multiple="multiple"] > option {
    padding: 16px;
}

img {
    max-width: 100%;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    text-decoration: none;
}

/*list*/

ul {
    margin: var(--gap) 0;
}

p + ul {
    margin-top: calc(var(--gap) / 4); /*8px*/
}

ul, ol {
    list-style: none;
}

li ul,
li ol {
    margin: 0;
}

li {
    padding-left: var(--gap);
}

/*list-counter*/

/* для всех ol нумерованного списка*/
.list-counter ol {
    list-style: none;
    counter-reset: num;
}

.list-counter ol li {
    position: relative;
}

.list-counter ol li::before {
    counter-increment: num;
    content: counters(num, ".") ". ";
}


/* нумерация для li 1-ого уровня*/
.list-counter ol li::before {

}

/* нумерация для li 2-ого уровня*/
.list-counter ol ol > li::before {

}

/* нумерация li 3-ого уровня*/
.list-counter ol ol ol > li::before {

}

.list-counter ol ol ol > li {
    padding-left: 40px;
}


.list-counter ol ol > li:last-child {
    margin-bottom: 20px;
}

.list-counter ol ol ol li:last-child {
    margin-bottom: 10px;
}


.list-counter ul {

}

.list-counter ul li {
    position: relative;
    left: 35px;
    padding-left: 40px;
}

ul li::before,
.list-counter ul li::before {
    counter-increment: none !important;
    content: '';
    position: absolute;
    margin-left: calc(-1 * var(--gap));
    margin-top: 7px;
    width: 7px;
    height: 7px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--primary-color);
}

.list-counter ul li:last-child {
    margin-bottom: 10px;
}


.list-counter h3,
.list-counter h4 {
    display: inline-block;
    line-height: 1.3;
    margin-top: var(--gap);
}

.list-counter h3 {
    font-size: 24px;
    margin-bottom: 0;
    display: inline;
}

.list-counter h4 {
    font-size: 20px;
    margin-bottom: 10px;
    margin-top: 20px;
    max-width: calc(100% - 67px);
}

.list-counter h3 > ol h4:nth-of-type(1) {
    margin-top: 10px;
}


.list-counter p + h4 {
    margin-top: var(--gap);
}


/*/list*/


/* table */
table {
    border-collapse: collapse;
    width: 100%;
    color: var(--title-color);
}

thead tr {
    background-color: var(--white);
}

tbody {
    position: relative;
}

tr, td {
    border: 0;
}

tbody tr {
    cursor: pointer;
    background-color: var(--white);
    transition: var(--transition);
}

tbody tr:nth-child(even) {
    background-color: #cfcfcf;
}

tbody tr:hover,
tbody tr:nth-child(even):not([class$="_disabled"]):hover {
    background-color: #eef8d9;
    color: initial;
}

tbody td {
    padding: 10px 15px;
    vertical-align: initial;
}

section:not(.mp-intro) {
    padding: 6rem 0;
}

h1 {
    font-size: 5rem;
    line-height: 1.4;
    font-weight: 400;
}

h2 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 56px;
    font-weight: 400;
    text-transform: uppercase;
}

h3 {
    font-size: 1.75rem;
    line-height: 1.2;
    margin-bottom: 8px;
    font-weight: 400;
}

h5 {
    font-size: 22px;
    line-height: 1.3;
    font-weight: 400;
}

@media (max-width: 1280px) {
    h1 {
        font-size: calc(40px + (80 - 40) * ((100vw - 320px) / (1280 - 320)));
    }

    h2 {
        font-size: calc(32px + (48 - 32) * ((100vw - 320px) / (1280 - 320)));
    }
}

[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;
    outline-offset: -2px;
}

.has-image[data-image-fit=contain] .fancybox__image {
    border-radius: var(--border-radius-card);
    transition: var(--transition);
}

.section__head {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section__bottom {
    display: flex;
    align-items: center;
    justify-content: center;
}

[class^="_title"] {
    text-wrap: balance;
}

[class^="_title"] > div {
    display: inline-block;
    width: 75px;
    height: 2rem;
}

._title {
    /*font-family: DaysOne, Roboto, Arial, sans-serif;
    font-size: 4rem;
    background-image: linear-gradient(to bottom, #232020, #d7b789);
    background-clip: text;
    color: transparent;
    text-transform: uppercase;
     line-height: 1;
     */
    /*text-align: center;*/
    /*font-weight: 600;*/
    margin-bottom: calc(var(--gap) * 2);
}

._title br {
    margin-right: 1rem;
}

._title-less {
    color: var(--primary-color);
    font-size: 1.4rem;
    text-transform: uppercase;
    background-position: center center;
    border-color: transparent;
    border-style: solid;
    margin-bottom: calc(var(--gap) / 2);
}

._muted-text {
    color: var(--muted-color);
}

._color-text {
    color: var(--primary-color);
}

._noscroll {
    overflow: hidden;
}

._noimage img {
    object-fit: contain;
    padding: 3rem;
}


/* SWIPER */

.swiper-pagination {
    width: 100% !important;
}

.swiper-pagination.swiper-pagination__hidden {
    /* background-color: rgba(204, 16, 184, 0.45);*/
    z-index: 1;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    bottom: 0;
}

.swiper-pagination__hidden .swiper-pagination-bullet {
    width: 100%;
    border-radius: 0px;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    background-color: transparent;
    margin: 0 !important;
    opacity: 0;
    bottom: 24px !important;
}

.swiper-pagination__hidden .swiper-pagination-bullet::before {
    content: '';
    position: absolute;
    bottom: 0;
    color: black;
    background-color: var(--brown);
    width: 100%;
    height: 4px;
}

.swiper-pagination__hidden .swiper-pagination-bullet::after {
    content: '';
    width: fit-content;
    height: 100%;
    position: absolute;
    left: 0;
    width: 100%;
}

.swiper-button-next,
.swiper-button-prev {
    padding: 0;
    display: flex;
    flex: 0 0 60px;
    height: 60px;
    width: 60px;
    aspect-ratio: 1;
    align-items: center;
    justify-content: center;
    font-size: .5rem;
    color: var(--white);
    backdrop-filter: blur(5px);
    background-color: rgba(255, 255, 255, 0.1);
    border: 3px solid var(--border-color-gray);
    background-color: transparent;
    color: var(--white);
    font-weight: 500;
    border-radius: 50%;
    transition: var(--transition);
}

.swiper-button-next:after, .swiper-button-prev:after {
    font-size: 1.25rem;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background-color: var(--white);
    border-color: transparent;
    color: var(--brown);
}

.swiper-pagination-bullet.swiper-pagination-bullet-active {
    background: var(--darkest-bg);
}

/*todo touch устройства */
/*@media (max-width: 1280px) {*/
@media (any-hover: none) {
    .swiper-pagination.swiper-pagination__hidden {
        pointer-events: none;
    }
}

/* /SWIPER */


/*TABS*/
.tabs {

}

.tabs__nav {
    position: relative;
    display: flex;
    align-items: center;
    line-height: 1;
    height: 3.85rem;
    padding: .5rem;
    list-style: none;
    background-color: var(--dark-bg);
    border-radius: var(--border-radius-card);
    max-width: max-content;
    margin: 4rem auto 2rem;
}

@media (max-width: 768px) {
    .tabs__nav {
        width: 100%;
        max-width: unset;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(160px, 240px));
        height: unset;
        display: flex;
        justify-content: center;
    }

    .tabs__item {
        width: calc(100% / var(--tabsCount));
    }
}


.tabs__item {
    padding: .75rem 1rem;
    border-radius: var(--border-radius-inner);
    transition: var(--transition);
    text-align: center;
}

.tabs__item:not(._active):hover {
    cursor: pointer;
    /*border-color: var(--border-color-gray);*/
    color: var(--primary-color);
}

.tabs__item._active {
    color: var(--white);
    background-color: var(--darkest-bg);
}

.tabs__item._active a {
    color: var(--white);
}

.tabs__item::before {
    content: unset;
}

.tabs__content {
    display: none;
    max-width: 1200px;
    margin: 0 auto;
}

.tabs__content p:not(:nth-last-child(1)) {
    margin-bottom: 1rem;
}

.tabs__content._active {
    display: block;
}

.tab-content__wrapper {

}

/*/TABS*/


/* PRODUCTS GLOBAL */
.products__list {
    position: relative;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.product-card {
    animation: smooth-show 0.1s linear forwards;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: scale 0.1s linear 0s;
    border-radius: var(--border-radius-card);
    background-color: var(--dark-bg);
    padding: 1rem;
}

.product-card__media {
    position: relative;
    overflow: hidden;
    display: block;
}

.product-card__img-count {
    position: absolute;
    left: 1rem;
    top: 1rem;
    white-space: nowrap;
    font-size: .8rem;
    border-radius: 3.125rem;
    text-align: center;
    padding: 3px 10px;
    width: max-content;
    z-index: 2;
    color: var(--muted-color);
    background: var(--dark-bg);
    background: #252525e3;
}

.product-card__swiper-slide {
    position: relative;
    border-radius: var(--border-radius-inner);
    overflow: hidden;
}

.product-card__swiper-slide img {
    border-radius: var(--border-radius-inner);
    overflow: hidden;
}

.product-card__img {
    padding-top: 100%;
    position: relative;
    border-radius: var(--border-radius-inner);
    -webkit-border-radius: var(--border-radius-inner);
    overflow: hidden;
}

.product-card__img img {
    transform: translate(-50%, -50%);
    position: absolute;
    left: 50%;
    top: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: scale 0.1s linear 0s;
}

.product-card__img._noimage {
}

.product-card__img._noimage img {
    background: var(--darkest-bg);
    object-fit: contain;
}

.product-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1 1 auto;
}

.product-card__name {
    margin: 1rem 0;
    font-weight: 500;
    font-size: 1.125rem;
}

.product-card__prop-wrapper {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    gap: 0.5rem;
    align-content: flex-start;
}

.product-card__prop {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    justify-content: space-between;
    font-size: .875rem;
}

.product-card-prop__name {
    color: var(--muted-color);
}

.product-card-prop__val {
    color: var(--white);
}

.product-card__footer {
    display: flex;
    width: 100%;
}

.product-card__btn {
    margin-top: 1rem;
    width: 100%;
}

.catalog-tabs {

}

/* /PRODUCTS GLOBAL */