@font-face {
    font-family: 'Humanst521 BT';
    src: url('../fonts/humanist-521_regular.woff2') format('woff2'),
    url('../fonts/humanist-521_regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

html {
    color: #000;
    font-family: 'Humanst521 BT', sans-serif;
    font-size: .625rem;
    line-height: 1;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    text-rendering: optimizeLegibility;
    scroll-padding-top: 70px;
}

html:focus-within {
    scroll-behavior: smooth;
}

::-moz-selection {
    color: #000;
    background: #e5e5e5;
    text-shadow: none;
}

::selection {
    color: #000;
    background: #e5e5e5;
    text-shadow: none;
}

input[type="search"]::-webkit-search-cancel-button {
    display: none;
}

input[type="date"]::-webkit-date-and-time-value {
    text-align: left;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

/*	Если делать фикс шапку через pos: sticky, то нужно задавать min-height 100vh.
	Высота нужна, если нам нужно на ПК прибить книзу footer с помощью flex для коротких стр. */
html, body {
    min-height: 100vh;
    height: 100vh;
    height: 100dvh;
}

body {
    background-color: var(--body-bg, #fff);
    display: flex;
    flex-direction: column;
    letter-spacing: .12rem;
}

body, input, textarea {
    -webkit-text-size-adjust: none;
    text-size-adjust: none;
}

button, input, textarea, select {
    color: inherit;
    border: 0;
    border-radius: 0;
    background-color: transparent;
    line-height: inherit;
    letter-spacing: .12rem;
}

button:not(:disabled),
label,
summary,
[role="button"],
[role="link"],
[class*="btn"]:not(div) {
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

input,
[type="search"],
textarea,
button,
button:focus,
[type="button"] {
    font-family: inherit;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none;
}

/* @media screen and (-webkit-min-device-pixel-ratio:0) and (max-width: 576px) {  */
/* select, */
/* textarea, */
/* input { */
/* font-size: 16px !important; */
/* } */
/* } */

:invalid {
    box-shadow: none;
}

summary, select {outline: none;}

.container,
.container-fluid,
.container-xxl,
.container-xl,
.container-lg,
.container-md,
.container-sm,
.row {
    --bs-gutter-x: 2rem;
}

h1, h2, h3, .h1 {
    font-size: 1em;
    font-weight: normal;
    text-transform: uppercase;
}

small, .small {
    font-size: 80%;
}

a, img, button, [class*="btn"]:not(div), [role="button"], [role="link"], .p-link, .o-hover, .product-sizes .size span {
    -webkit-transition: all .15s ease;
    transition: all .15s ease;
}

a {
    color: var(--link-color, #000);
    text-decoration: none;
    text-underline-offset: .35em;
}

.scroller {
    overflow-x: scroll;
    overflow-y: hidden;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    user-select: none;
}

.scroller::-webkit-scrollbar {
    display: none;
}

.scroller-fade::after {
    content: "";
    position: absolute;
    background: linear-gradient(to left, #fff 15%, rgba(255,255,255, 0));
    width: 60px;
    top: 0;
    right: 0;
    bottom: 0;
    transition: all .15s ease;
    pointer-events: none;
}

.scroller-fade.fade-off::after {
    visibility: hidden;
    opacity: 0;
}

.sticky {
    position: -webkit-sticky;
    position: sticky;
    top: var(--sticky-top, 0);
    z-index: 5;
}

.p-link {
    color: inherit;
    cursor: pointer;
    text-decoration: none;
    border-bottom: 1px dotted;
}

.u-line,
.active-link {
    text-decoration: underline;
    text-underline-offset: .35em;
}

.stretched-link::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
}

@media (any-hover: hover) {
    a:hover:not(.product-card):not(.blog-card):not(.logo):not(.btn),
    .btn-link:not(.active):hover,
    [role="link"]:hover {
        color: var(--link-color-hover, #777);
    }

    .header-logo .logo:hover {
        /* background-color: #2b2b2b; */
    }

    .o-hover:hover {
        opacity: .6;
    }
}

[class*="border"] {
    --border-color: #000;
}

.border-gray {
    --border-color: #a7a6a5;
}

.border,
.border-y,
.border-top {
    border-top: 1px solid var(--border-color);
}

.border,
.border-y,
.border-bottom {
    border-bottom: 1px solid var(--border-color);
}

.border,
.border-x,
.border-left {
    border-left: 1px solid var(--border-color);
}

.border,
.border-x,
.border-right {
    border-right: 1px solid var(--border-color);
}

.object-fit {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.gap-1 {
    gap: .25rem;
}

.gap-2 {
    gap: .5rem;
}

.gap-3 {
    gap: 1rem;
}

.gap-4 {
    gap: 1.5rem;
}

.gap-5 {
    gap: 2rem;
}

.gap-6 {
    gap: 3rem;
}

.gap-7 {
    gap: 4rem;
}

.c-black {
    color: #000;
}

.c-white {
    --btn-color: #fff;
    color: #fff;
}

.c-gray {
    color: #a7a6a5;
}

.c-gray-light {
    color: #a9a9a9;
}

.c-red {
    color: #c62822;
}

.bg-black {
    background-color: #000;
}

.bg-white {
    background-color: #fff;
}

.text-crop-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.2;
}

.fs-9 {
    font-size: .9rem;
}

.fs-10 {
    font-size: 1rem;
}

.fs-11 {
    font-size: 1.1rem;
}

.fs-12 {
    font-size: 1.2rem;
}

.fs-13 {
    font-size: 1.3rem;
}

.fs-14 {
    font-size: 1.4rem;
}

b,
strong,
.fw-600 {
    font-weight: 600;
}

.lh-1 {
    line-height: 1;
}

.lh-1_2 {
    line-height: 1.2;
}

.lh-1_3 {
    line-height: 1.3;
}

.lh-1_35 {
    line-height: 1.35;
}

.lh-1_5 {
    line-height: 1.5;
}

.lh-1_6 {
    line-height: 1.6;
}

.lh-1_65 {
    line-height: 1.65;
}

.ls-6 {
    letter-spacing: .06rem;
}

.ls-8 {
    letter-spacing: .08rem;
}

.o-10 {
    opacity: .1;
}

.o-15 {
    opacity: .15;
}

.o-25 {
    opacity: .25;
}

.o-5 {
    opacity: .5;
}

.o-75 {
    opacity: .75;
}

.o-8 {
    opacity: .8;
}

.m-n3,
.mx-n3 {
    margin-left: -1rem;
    margin-right: -1rem;
}

.m-n3,
.my-n3 {
    margin-top: -1rem;
    margin-bottom: -1rem;
}

@media (max-width: 991px) {
    .mx-n15 {
        margin-left: calc(-.5 * var(--bs-gutter-x));
        margin-right: calc(-.5 * var(--bs-gutter-x));
    }

    .tac-lg {
        text-align: center;
    }
}

@media (max-width: 767px) {
    .tac-md {
        text-align: center;
    }
}

.mh-50vh {
    min-height: 50vh;
}

.mh-75vh {
    min-height: 75vh;
}

.mw-260 {
    max-width: 260px;
}

.mw-320 {
    max-width: 320px;
}

.mw-360 {
    max-width: 360px;
}

.mw-400 {
    max-width: 400px;
}

.mw-420 {
    max-width: 420px;
}

.mw-440 {
    max-width: 440px;
}

.mw-480 {
    max-width: 480px;
}

.mw-500 {
    max-width: 500px;
}

.mw-540 {
    max-width: 540px;
}

.mw-600 {
    max-width: 600px;
}

.mw-640 {
    max-width: 640px;
}

.mw-700 {
    max-width: 700px;
}

.mw-800 {
    max-width: 800px;
}

.m-6,
.mt-6,
.my-6 {
    margin-top: 4rem;
}

.m-6,
.mb-6,
.my-6 {
    margin-bottom: 4rem;
}

.m-6,
.ms-6,
.mx-6 {
    margin-left: 4rem;
}

.m-6,
.me-6,
.mx-6 {
    margin-right: 4rem;
}

.mt-7,
.my-7 {
    margin-top: 6rem;
}

.mb-7,
.my-7 {
    margin-bottom: 6rem;
}

.mt-10,
.my-10 {
    margin-top: 10rem;
}

.mb-10,
.my-10 {
    margin-bottom: 10rem;
}

.p-6,
.pt-6,
.py-6 {
    padding-top: 4rem;
}

.p-6,
.pb-6,
.py-6 {
    padding-bottom: 4rem;
}

.p-6,
.ps-6,
.px-6 {
    padding-left: 4rem;
}

.p-6,
.pe-6,
.px-6 {
    padding-right: 4rem;
}

.pt-7,
.py-7 {
    padding-top: 6rem;
}

.pb-7,
.py-7 {
    padding-bottom: 6rem;
}

.pt-8 {
    padding-top: 8rem;
}

.no-gutters > .col,
.no-gutters > [class*="col-"] {
    padding-right: 0;
    padding-left: 0;
}

.gx-6 {
    --bs-gutter-x: 4rem;
}

.gx-7 {
    --bs-gutter-x: 6rem;
}

/* кнопки */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: var(--btn-text-align);
    gap: 5px;
    color: var(--btn-color, #000);
    background-color: var(--btn-bg, transparent);
    position: relative;
    white-space: nowrap;
    font-size: 1rem;
    line-height: 1;
    text-transform: uppercase;
    min-height: 17px;
    line-height: 17px;
    z-index: 1;
    transition: all .15s ease-in-out;
    touch-action: manipulation;
}

@supports (-webkit-touch-callout: none) {
    .btn {
        padding-top: 1px;
    }
}

.btn-primary,
.btn-primary-gray,
.btn-secondary {
    --btn-text-align: center;
    /* border: 1px solid var(--btn-border-color, var(--btn-bg, transparent)); */
}

.btn-primary {
    --btn-color: #fff;
    --btn-bg: #000;
    --btn-hover-bg: #2b2b2b;
}

.btn-primary-gray {
    --btn-bg: #ececec;
    --btn-hover-bg: #fff;
}

.dark-theme .btn-primary:not(.side-modal-opened [data-burger-btn]):not(.dark-theme.menu-opened .btn-cart):not(.dark-theme.search-opened .btn-cart):not(.dark-theme .confirm-modal .btn-primary) {
    --btn-bg: #fff;
    --btn-color: #000;
    --btn-hover-bg: #ececec;
}

.dark-theme .btn-link:not(.pa.btn-link) {
    --btn-color: #fff;
}

.btn-arrow::before {
    content: "";
    border-style: solid;
    border-width: 1px 0 0 1px;
    border-color: currentColor;
    width: 5px;
    height: 5px;
    transform: rotate(-45deg);
    margin-right: 2px;
    margin-left: 2px;
}

.btn-more::after {
    content: "\002B";
    font-size: 1.1rem;
    line-height: 1rem;
    width: 8px;
}

button:disabled,
.btn-disabled,
.btn-loading {
    cursor: default;
    position: relative;
    pointer-events: none;
}

button:disabled,
.btn-disabled {
    color: #777;
}

.btn-loading {
    color: transparent;
}

.btn-loading::after {
    content: "";
    position: absolute;
    background: url(../img/loader.svg) no-repeat center;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
}

.btn-loading::before {
    display: none;
}

.btn-menu,
.btn-cart,
.btn-close:empty {
    width: 48px;
}

.btn-menu,
.btn-cart {
    transition: none !important;
}

.btn-close::after,
.btn-delete::after {
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='9' fill='none'%3E%3Cpath stroke='%23000' stroke-width='.7' d='M7.385 1.727 1.728 7.383M1.729 1.727l5.656 5.656' /%3E%3C/svg%3E");
    height: 9px;
    line-height: 1;
}

.btn-close::before,
.btn-delete::before,
.btn-menu::before,
.btn-cart::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
    margin: -8px;
}

.btn-primary.btn-close:not([data-mobile-close]):empty::after {
    filter: invert(1);
}

.dark-theme .btn-primary.btn-close:empty::after {
    filter: none;
}

.btn-100,
.btn-m100 {
    width: 100%;
}

.btn-filter {
    width: 60px;
}

@media (min-width: 576px) {
    .btn-m100 {
        width: auto;
    }

    .btn-170 {
        width: 170px;
    }
}

@media (any-hover: hover) {
    .btn-primary:hover:not(:disabled):not(.btn-menu):not(.btn-cart),
    .btn-primary-gray:hover:not(:disabled),
    .btn-secondary:hover:not(:disabled),
    .btn-blank:hover:not(:disabled)	{
        color: var(--btn-hover-color, var(--btn-color, #000));
        background-color: var(--btn-hover-bg, var(--btn-bg));
        border-color: var(--btn-hover-border-color, var(--btn-hover-bg, transparent));
    }
}

/* Custom select */
.select-hidden {
    visibility: hidden;
}

.select {
    cursor: pointer;
    display: inline-block;
    position: relative;
    width: 100%;
    min-width: 105px;
    height: 40px;
}

.select-styled {
    position: absolute;
    border: 1px solid #000;
    background-color: transparent;
    padding: 0 15px;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    line-height: 40px;
    user-select: none;
}

.select-styled::after {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    right: 15px;
    background-image: url("data:image/svg+xml,%3Csvg width='8' height='5' viewBox='0 0 8 5' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 0L4 5L0 -3.49691e-07L8 0Z' fill='black'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    width: 8px;
    height: 5px;
    margin-top: -2px;
}

.select-styled.active::after {
    transform: rotate(180deg);
}

.select-options {
    display: none;
    position: absolute;
    background-color: #fff;
    border: 1px solid #000;
    top: calc(100% - 1px);
    left: 0;
    right: 0;
    padding: 10px 0;
    z-index: 999;
}

.select-options li {
    margin: 0;
    padding: 0 15px;
    line-height: 30px;
    transition: all .15s ease-in;
}

.select-options li:hover {
    background: #efefef;
}

.select-options li[rel="hide"] {
    display: none;
}

/* форма */
input[type="search"]::placeholder {
    text-transform: uppercase;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    display: none;
}

input[type="number"] {
    -moz-appearance: textfield;
}

.placeholder-hidden::placeholder,
.placeholder-hidden:not(.input-filled)::-webkit-datetime-edit,
.placeholder-hidden .datetime-input-box-wrapper {
    color: transparent !important;
    transition: all .2s ease;
}

.placeholder-hidden:focus::placeholder,
.placeholder-hidden:focus::-webkit-datetime-edit,
.placeholder-hidden .datetime-input-box-wrapper {
    color: #000;
}

.form-select {
    display: block;
    border: 0;
    border-bottom: 1px solid #000;
    background-image: url("data:image/svg+xml,%3Csvg width='9' height='5' viewBox='0 0 9 5' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8.00391 1L4.50391 4L1.00391 1' stroke='black' style='stroke:black;stroke-opacity:1;' stroke-width='0.7'/%3E%3C/svg%3E%0A");
    background-repeat: no-repeat;
    background-position: right center;
    height: 17px;
    font-size: 1rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.form-select.v2 {
    border: 1px solid #000;
    background-position: right 15px center;
    height: 40px;
    font-size: 1.2rem;
    padding: 0 15px;
}

.select-wrap .select-value {
    position: absolute;
    top: 50%;
    right: 28px;
    transform: translateY(-50%);
    pointer-events: none;
    user-select: none;
}

.select-wrap .select-value + .form-select {
    color: transparent;
}

.select-wrap .select-value + .form-select option {
    color: #000;
}

.select-wrap .select-label {
    position: absolute;
    top: 50%;
    right: 28px;
    transform: translateY(-50%);
    pointer-events: none;
    user-select: none;
}

.select-wrap .select-label.left {
    left: 15px;
}

.form-check {
    position: relative;
    display: block;
    padding-left: 1.25rem;
}

.form-check-inline {
    display: inline-flex;
    align-items: center;
    padding-left: 0;
    margin-right: .75rem;
}

.form-check-input {
    position: absolute;
    padding: 0;
    margin: 0;
    left: 0;
    top: 7px;
    width: 10px;
    height: 10px;
    border: none;
    opacity: 0;
    transform: translateY(-50%);
    z-index: 100;
}

.form-check-label {
    display: inline-flex;
    align-items: center;
    position: relative;
}

.form-check-label .radio {
    display: inline-block;
    border: 1px solid;
    width: 17px;
    height: 17px;
    margin-right: 10px;
    border-radius: 50%;
}

.form-check-label [type="radio"]:checked + span {
    background-color: #000;
    box-shadow: inset 0 0 0 5px #fff;
}

.block-radio .radio-group {
    top: 12px;
    left: -5px;
    bottom: 0;
    width: 17px;
    height: 17px;
}

.form-check-label .checkbox {
    display: inline-block;
    border: 1px solid;
    width: 17px;
    height: 17px;
    margin-right: 10px;
}

.form-check-label [type="checkbox"]:checked + span {
    background: #000;
    box-shadow: 0 0 0 5px #fff inset;
}

/* radio in checkout */
.block-radio [type="radio"]:checked + .radio-content .radio {
    background-color: #000;
    box-shadow: inset 0 0 0 5px #fff;
}

.block-radio .desc {
    margin-left: 27px;
}

.block-radio [type="radio"]:checked + .radio-content .dn.desc {
    display: block;
}

/* input */
.form-control {
    display: block;
    width: 100%;
    height: 17px;
    font-size: 1rem;
    font-weight: 400;
    /* line-height: 17px; */
    text-transform: uppercase;
    background-color: transparent;
    border-bottom: 1px solid #000;
    transition: border-color .15s ease-in-out;
}

.form-control-2 {
    color: #000;
    display: block;
    width: 100%;
    height: 17px;
    padding: 0 1rem;
    font-size: 1rem;
    font-weight: 400;
    /* line-height: 17px; */
    background-color: #d6d6d6;
    transition: all .15s ease-in-out;
}

.form-control-2::placeholder {
    color: #000;
}

.form-control-2:focus::placeholder {
    opacity: 0;
}

.form-control-2 ~ .btn.pa {
    position: absolute;
    top: 0;
    right: 1rem;
    bottom: 0;
    z-index: 1;
}

.form-control::-webkit-date-and-time-value {
    text-align: left;
}

.input-disabled,
input:disabled,
input:read-only {
    -webkit-text-fill-color: #a7a6a5;
    color: #a7a6a5;
    opacity: 1;
    pointer-events: none;
    user-select: none;
}

textarea {
    display: block;
    width: 100%;
    border: 1px solid;
    font-size: 1.1rem;
    line-height: 1.35;
    letter-spacing: .08rem;
}

.form-inline {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
}

.form-inline .form-group {
    display: flex;
    flex: 0 0 auto;
    flex-flow: row wrap;
    align-items: center;
    margin-bottom: 0;
}

.form-inline label {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
}

.form-inline .form-control {
    display: inline-block;
    width: auto;
    vertical-align: middle;
}

.placeholder {
    position: absolute;
    font-size: 1rem;
    text-transform: uppercase;
    left: 0;
    top: 2px;
    pointer-events: none;
    transition: all .2s ease;
}

.form-control:focus + .placeholder,
    /* .form-control:valid + .placeholder, */
.form-control.input-filled + .placeholder,
.form-control.input-error + .placeholder,
.placeholder-static + .placeholder {
    font-size: .9rem;
    top: -12px;
}

@media (min-width: 992px) {
    input[type="date"] + .placeholder {
        top: -12px;
    }
}

.input-error,
.input-error + label,
.input-error:focus,
.form-error .form-control:invalid,
.form-error .form-control:invalid + label {
    border-color: #ef4000;
}

.form-success-msg {
    animation: fade 1s;
}

.error-msg {
    color: #ef4000;
    padding-top: 10px;
}

.input-error ~ .error-msg {
    display: block;
    animation: fade .25s;
}

.subscribe-form .subscribe-form-success {
    position: absolute;
    background-color:#d6d6d6;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 17px;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* animation: fade .15s; */
    z-index: 1;
}

.dark-theme .subscribe-form .subscribe-form-success {
    color: #000;
}

details summary {
    display: flex;
    /* align-items: center; */
    list-style: none;
    gap: 10px;
}

details summary::-webkit-details-marker {
    display: none;
}

details summary::after {
    content: "\002B";
    font-size: 1.1rem;
    line-height: 1rem;
    width: 8px;
    height: 8px;
    margin-left: auto;
}

details summary.lh-1_35::after {
    line-height: inherit;
}

details[open] summary::after {
    content: "\2212";
}

.details-count {
    counter-reset: details-counter; /* Создает счетчик с именем "details-counter" */
}

/* Увеличивает значение счетчика и отображает его для каждого summary */
.details-count details {
    counter-increment: details-counter; /* Увеличивает счетчик на 1 для каждого details */
}

/* Добавляет номер перед содержимым summary */
.details-count details .btn-link::before {
    content: counter(details-counter) ". ";
    margin-right: 4px;
}
/* ------------------------ */

main {
    flex-grow: 1;
    flex-shrink: 0;
    min-height: 50vh;
}

.dark-theme {
    --body-bg: #000;
    --link-color: #fff;
    color: #fff;
}

/* -- Шапка + Меню -- */
/* Меню ПК и Моб */
nav.dark-theme {
    --link-color: #fff;
    --btn-color: #fff;
    --menu-bg: #000;
    color: #fff;
}

/* десктоп меню */
.desktop-menu {
    --menu-width: 280px;
    position: fixed;
    background-color: var(--menu-bg, #fff);
    min-width: var(--menu-width, 14vw);
    height: 100vh;
    top: 0;
    /* left: -14vw; */
    visibility: hidden;
    opacity: 0;
    /* transition: transform .3s ease; */
}

.desktop-menu.menu-container {
    padding-top: 20px;
    padding-bottom: 20px;
    z-index: 1040;
}

.desktop-menu.menu-container.active {
    visibility: visible;
    opacity: 1;
    /* transform: translateX(14vw); */
}

.desktop-menu.submenu-container {
    transform: translateX(-100%);
    visibility: visible;
    opacity: 1;
    z-index: 1035;
}

.desktop-menu.submenu-container.active {
    transform: translateX(var(--menu-width, 14vw));
    transition: transform .3s ease;
}

.desktop-menu .custom-scroll {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.desktop-menu .custom-scroll::-webkit-scrollbar {
    display: none;
}

.desktop-menu.desktop-submenu-opened .menu-list a,
.desktop-menu.desktop-submenu-opened .menu-list .btn-link:not(.active) {
    --link-color: #777;
    --btn-color: #777;
}

/* списки меню */
.menu-list .submenu {
    min-width: var(--menu-width, 14vw);
    padding-top: 67px;
    padding-bottom: 20px;
}

.menu-list .menu-teasers {
    margin-top: -20px;
}

.menu-list:not(.pt-6) {
    display: none;
}

.menu-list.active {
    display: block;
}

.menu-item {
    display: flex;
    align-items: center;
    height: 40px;
}

.menu-item button {
    /* width: 100%; */
    height: 100%;
}

/* тонер подложка */
.menu-overlay {
    background-color: rgba(0,0,0, .2);
    position: fixed;
    -webkit-backdrop-filter: blur(30px);
    backdrop-filter: blur(30px);
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 1030;
    visibility: hidden;
    opacity: 0;
    transition: all .2s ease;
}

.menu-overlay.active {
    visibility: visible;
    opacity: 1;
}

/* мобильное меню */
button[data-mobile-close]:not(.search-opened button[data-mobile-close]):not(.menu-opened button[data-mobile-close]),
.search-opened .btn-menu,
.menu-opened .btn-menu {
    display: none;
}

.mobile-menu {
    position: fixed;
    /* top: 0; */
    /* left: -100%; */
    left: 0;
    width: 100%;
    height: calc(100% - 58px);
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    /* transition: all .3s ease; */
    z-index: 1100;
}

.mobile-menu.active {
    visibility: visible;
    opacity: 1;
}

.mobile-menu-container,
.mobile-submenu-container {
    position: absolute;
    background-color: var(--menu-bg, #fff);
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: transform .3s ease;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.submenu-opened .mobile-menu-container {
    transform: translateX(-100%);
}

/* если ниже раскоментировать, а выше закоментировать, то шапка из меню будет статична для подменю */
/* .mobile-menu-container {
	transform: translateX(0);
}*/

.mobile-submenu-container {
    -webkit-transform: translateZ(0);
    transform: translateX(100%);
    will-change: transform;
}

.mobile-submenu-container.active {
    transform: translateX(0);
}

.mobile-menu-header {
    background-color: var(--menu-bg, #fff);
    position: sticky;
    top: 0;
    padding-top: 15px;
    padding-bottom: 30px;
    z-index: 10;
}

/* подменю */
.mobile-submenu-title {
    position: absolute;
    margin: auto;
    width: max-content;
    left: 0;
    right: 0;
}

.mobile-submenu-item {
    display: flex;
    align-items: center;
    height: 40px;
}

button[data-mobile-close] {
    --btn-bg: #fff;
    --btn-color: #000;
}

@media (max-width: 991px) {
    .menu-opened .header,
    .search-opened .header {
        background-color: #000;
    }

    .menu-container,
    .submenu-container {
        display: none;
    }
}

@media (min-width: 992px) {
    .mobile-menu {
        display: none;
    }
}

/* хедер */
.header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 10;
}

.header-inner {
    padding-top: 20px;
    padding-bottom: 20px;
}

.header-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 7;
    user-select: none;
}

.header-logo .logo {
    width: 170px;
    height: 17px;
    line-height: 17px;
}

.dn.header-logo.show {
    display: block;
}

@media (max-width: 991px) {
    .menu-opened .dn.header-logo,
    .side-modal-opened .dn.header-logo,
    .search-opened .dn.header-logo,
    .catalog-page .dn.header-logo {
        display: block;
    }
}

/* поиск всплывающий */
.header .search-wrap {
    background-color: var(--search-bg, #fff);
    position: absolute;
    left: 0;
    width: 100%;
    height: calc(100vh - 57px);
    overflow: hidden;
    padding-top: 15px;
    padding-bottom: 20px;
    visibility: hidden;
    opacity: 0;
}

.header .search-wrap.active {
    visibility: visible;
    opacity: 1;
    z-index: 1150;
}

.search-wrap.dark-theme {
    --search-bg: #000;
    --link-color: #fff;
    --btn-color: #fff;
    color: #fff;
}

.search-form {
    gap: 5px;
}

.search-form .search-input {
    line-height: 17px;
}

.search-input::placeholder {
    color: #a7a6a5;
}

.search-form [data-btn-clear] {
    visibility: hidden;
    opacity: 0;
}

.search-form .search-input:valid ~ [data-btn-clear] {
    visibility: visible;
    opacity: 1;
}

.header .search-wrap .search-results {
    position: relative;
    min-height: 160px;
    /* max-height: calc(100vh - 120px); */
    visibility: hidden;
    opacity: 0;
    z-index: 1000;
}

.header .search-wrap .search-results .custom-scroll {
    max-height: 100%;
}

.header .search-wrap.active .search-results.active {
    visibility: visible;
    opacity: 1;
}

.header .search-wrap .search-list .list-item {
    height: 40px;
}

.show {
    visibility: visible !important;
    opacity: 1 !important;
}

@media (min-width: 992px) {
    .header .search-wrap {
        top: 0;
        max-width: 540px;
        height: auto;
        max-height: 400px;
        padding-top: 20px;
    }
}
/* ---- */

/* -- Главная -- */
.main-page:not(.menu-opened) .dn.header-logo {
    display: none;
}

.main-page .big-logo {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 100%;
    padding: 0 5px;
    max-width: 1040px;
    transform: translate(-50%, -50%);
    -webkit-transition: all .25s ease;
    transition: all .25s ease;
    z-index: 1;
    pointer-events: none;
    opacity: .1;
}

.main-page .big-logo-1 {
    position: sticky;
    position: -webkit-sticky;
    top: calc(50vh + 25vw);
    bottom: 10vh;
    width: 100%;
    z-index: 1;
    pointer-events: none;
}

.main-page .big-logo-1::after {
    content: "";
    position: absolute;
    background-image: url(../img/big-logo.svg);
    background-position: 50%;
    background-repeat: no-repeat;
    background-size: calc(100% - 5px) auto;
    width: calc(100% - 5px);
    max-width: 1040px;
    left: 50%;
    padding-top: 25%;
    padding-bottom: 25%;
    transform: translate(-50%, -100%);
}

.main-page .section .txt {
    bottom: 22px;
}

.main-page .section-image .image {
    aspect-ratio: 4 / 5.9;
}

@media (min-width: 992px) {
    .main-page .section-image .image {
        aspect-ratio: auto;
    }
}
/* ---- */

/* -- Каталог -- */
.catalog-page .left-col {
    padding-bottom: 38px;
}

.catalog-page .right-col {
    padding-bottom: 47px;
}

.catalog-page .left-col .sticky,
.catalog-page .right-col .sticky,
.archive-page .left-col .sticky,
.archive-page .right-col .sticky {
    height: calc(100vh - 15px);
}

.catalog-page .right-col .products-filter {
    max-height: 65vh;
}

.catalog-page .right-col .products-filter-btns {
    background-color: var(--body-bg, #fff);
    position: absolute;
    padding-top: 20px;
    bottom: 0;
    visibility: hidden;
    opacity: 0;
    transition: all .15s ease;
    z-index: 10;
}

.catalog-page .catalog-teaser {
    aspect-ratio: 9 / 11;
}

@media (min-width: 992px) {
    .catalog-page .catalog-teaser {
        aspect-ratio: 16 / 7.82;
    }
}

.catalog-page .category-section + .category-section {
    margin-top: 8rem;
}

.product-card .product-images,
.product-card .product-images img {
    aspect-ratio: 3 / 4.4;
}

.catalog-page .catalog-teaser,
.product-card .product-images {
    background-color: #f7f7f7;
    background: linear-gradient(90deg, #f7f7f7 25%, #e7e7e7 50%, #f7f7f7 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.product-card .product-images .photo-2 {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    -webkit-transition: all .25s cubic-bezier(.4,0,.3, 1);
    transition: all .25s cubic-bezier(.4,0,.3, 1);
    z-index: 1;
}

@media (any-hover: hover) {
    .product-card .product-images:hover .photo-2 {
        opacity: 1;
    }
}

.product-card .name {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (min-width: 992px) {
    .product-card .product-bottom {
        line-height: 1.25;
    }

    .product-card .name,
    .product-card .price-wrap {
        font-size: 1rem;

    }
}
/* ---- */

/* -- Стр. товара -- */
.product-page .left-col .btn-product-fav {
    position: absolute;
    width: 30px;
    height: 30px;
    top: 70px;
    z-index: 10;
}

.btn-product-fav.active .ico {
    fill: #000;
}

@media (any-hover: hover) {
    .btn-product-fav:hover .ico {
        fill: #000;
    }
}

.product-page .right-col .bottom {
    --btn-text-align: center;
    padding-bottom: 10px;
    gap: 20px;
}

/* слайдер фото товаров */
.product-page .swiper.product-images .swiper-pagination-fraction {
    --swiper-pagination-bottom: 10px;
    text-align: left;
    left: 10px;
}

.product-page .product-images-slider .btn-product-fav {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 31px;
    height: 34px;
    z-index: 10;
}

.product-page .product-images img {
    width: 100%;
}

.product-page .product-images a {
    display: flex;
    cursor: zoom-in;
}

@media (min-width: 992px) {
    .product-page .left-col .sticky,
    .product-page .right-col .sticky {
        height: calc(100vh - 15px);
    }

    .product-page .left-col .bottom,
    .product-page .right-col .bottom {
        position: absolute;
        padding-top: 15px;
        padding-bottom: 0;
        bottom: 0;
        z-index: 1;
    }

    .product-page .right-col .bottom {
        gap: 60px;
    }

    .side-modal:not(.cart-modal) {
        max-width: 16.669%;
    }
}

/* размеры */
.product-sizes {
    padding-top: 7rem;
    padding-bottom: 7rem;
}

.product-sizes:not(.shoes-sizes) {
    justify-content: center;
    column-gap: 7rem;
}

.product-sizes.gift-card-nominals {
    column-gap: 3rem;
}

.product-sizes.shoes-sizes {
    justify-content: space-between;
}

@media (min-width: 992px) {
    .product-sizes {
        padding-top: 6rem;
        padding-bottom: 6rem;
        gap: 2rem;
    }
}

.product-sizes .size span {
    text-underline-offset: .35em;
}

.product-sizes .size::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
    margin: -8px;
}

.product-sizes .size.disabled {
    color: #a7a6a5;
}

.product-sizes .size input[type="radio"]:checked + span {
    text-decoration: underline;
}

@media (any-hover: hover) {
    .product-sizes .size:hover span {
        color: #000;
        text-decoration: underline;
    }
}

.product-description p + p,
.product-details p + p {
    margin-top: 1rem;
}

.product-description a:not([class]),
.product-details a:not([class]) {
    text-decoration: underline;
    text-underline-offset: .35em;
}

@media (max-width: 991px) {
    .recommendation-products .products-wrap {
        flex-wrap: nowrap;
        overflow-x: scroll;
        overflow-y: hidden;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        user-select: none;
    }

    .recommendation-products .products-wrap::-webkit-scrollbar {
        display: none;
    }

    .recommendation-products .products-wrap > .col {
        width: calc(100% / 2.4);
    }
}

@media (max-width: 767px) {
    .recommendation-products .products-wrap > .col {
        width: calc(100% / 1.6);
    }
}

/* фотогалерея */
.gallery-box {
    position: fixed;
    display: none;
    background-color: #fff;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    overflow-y: auto;
    z-index: 1060;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.gallery-box.active {
    display: block;
}

.gallery-box .gallery-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1;
}

.gallery-box .gallery-btns {
    position: sticky;
    top: 20px;
    max-width: fit-content;
    padding-right: 10px;
    margin-left: auto;
    z-index: 2;
}

.gallery-box .gallery-btns .btn-close:empty::after {
    filter: invert(1);
}

.gallery-box .gallery-photo {
    text-align: center;
}

.gallery-box .gallery-photo img {
    cursor: zoom-out;
    max-width: 100%;
    height: auto;
}

/* акардеон общий */
/* +- ico */
.accordion .collapse-btn::before {
    content: "";
    display: block;
    position: absolute;
    border-top: 1px solid #000;
    width: 11px;
    height: 1px;
    top: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    transition: all .1s ease;
}

.accordion .collapse-btn::after {
    content: "";
    display: block;
    position: absolute;
    border-left: 1px solid #000;
    width: 1px;
    height: 11px;
    top: 0;
    bottom: 0;
    right: 5px;
    margin: auto;
    transition: all .25s ease;
}

.accordion .collapse-btn.active::before {
    opacity: 0;
}

.accordion .collapse-btn.active::after {
    transform: rotate(-90deg);
}

@keyframes fade {
    0% {opacity:0}
    100% {opacity:1}
}

.collapse.active + .collapse-content {
    animation: fade 1s;
}

.old-price {
    text-decoration: line-through;
}

.hidden-text {
    border: 0;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
}

.form-hidden {
    visibility: hidden;
    opacity: 0;
}

@media (min-width: 992px) {
    .product-page .swiper-wrapper {
        flex-wrap: wrap;
    }

    .product-page .product-images-slider .swiper-slide {
        flex: 0 0 auto;
        width: 100%;
    }
}

@media (min-width: 1200px) {
    .product-page .product-images-slider .swiper-slide {
        width: 50%;
    }
}

/* -- Гид по размерам -- */
.sizetable {
    height: 400px;
    /* margin-top: -1px; */
}

.sizeguide-head,
.sizetables-wrap {
    gap: clamp(40px, 11.8vw, 170px);
}

.sizeguide-head .page-title {
    margin-top: 125px;
    margin-bottom: 88px;
}

.btn-switch {
    --btn-color: #000;
    --btn-bg: #d6d6d6;
    --btn-text-align: center;
    min-width: 48px;
    padding: 0 7px;
}

.btn-switch.active {
    --btn-color: #fff;
    --btn-bg: #000;
}

.sizetable .size-row {
    display:flex;
    align-items:center;
    /* min-height: 36px; */
    line-height: 1.35;
    text-transform: uppercase;
    word-break: normal;
    white-space: normal;
    overflow-wrap: break-word;
}

.sizetable .param-col {
    width: 114px;
}

.sizetable .value-cols {
    display:flex;
    flex: 1;
    justify-content: space-between;
    max-width: 400px;
    margin-left: auto;
}

.sizetable .value-cols > div {
    flex: 1;
    max-width: 23px;
    text-align: center;
}

@media (min-width: 992px) {
    .sizeguide-head {
        margin-top: 80px;
        margin-bottom: 200px;
    }

    .sizeguide-head .page-title {
        text-align: right;
        margin-right: 286px;
    }

    .sizeguide-head .page-title-wrap,
    .sizeguide-head .txt {
        max-width: 440px;
    }

    .sizetable {
        max-width: 400px;
    }

    .sizetable.female .param-col {
        text-align: right;
        margin-right: 35px;
    }

    .sizetable.male .size-row {
        flex-direction: row-reverse;
    }

    .sizetable.male .param-col {
        margin-left: 35px;
    }
}

/* -- Ооформление заказа -- */
.order-page .info-bar {
    padding-top: 20px;
    padding-bottom: 20px;
}

.order-page .order-title {
    margin-top: 77px;
    margin-bottom: 77px;
}

#promocode.form-control-2::placeholder {
    letter-spacing: .06em;
}

@media (min-width: 992px) {
    .order-page .order-title:first-child {
        margin-top: 40px;
    }

    .side-modal.pvz-modal {
        max-width: 41.66666667%;
    }
}

@media (min-width: 1200px) {
    .side-modal.pvz-modal {
        max-width: 33.33333333%;
    }
}

@media (min-width: 1400px) {
    .side-modal.pvz-modal {
        max-width: 20%;
    }
}

/* -- Личный кабинет -- */
.lk-registration {
    padding-top: 107px;
    padding-bottom: 107px;
}

.lk-menu-wrap {
    margin-top: 70px;
}

.lk-menu {
    margin-top: 70px;
    gap: 12px;
}

.lk-main-title {
    margin-top: 77px;
    margin-bottom: 77px;
}

.input-birthday + .placeholder {
    font-size: .9rem;
    top: -12px;
}

.lk-main-title br {
    display: none;
}

.lk-main-subtitle {
    margin-top: 77px;
    margin-bottom: 60px;
}

.lk-order-title {
    margin-top: 77px;
    margin-bottom: 77px;
}

.lk-order-status {
    border: 1px solid;
    height: 17px;
    padding: 3px 5px;
    margin: -4px 0;
}

.lk-favorites {
    margin-top: 30px;
}

.lk-favorites .favorites-item .btn-delete {
    position: absolute;
    top: 1px;
    right: 0;
}

.lk-favorites-subtitle {
    margin-top: 77px;
    margin-bottom: 77px;
}

@media (min-width: 992px) {
    .lk-menu {
        position: absolute;
        margin-top: 0;
        top: 70px;
        gap: 14px;
    }

    .lk-main-title {
        margin-top: 118px;
        margin-bottom: 62px;
    }

    .lk-main-title br {
        display: inline;
    }

    .lk-order-title {
        margin-top: 107px;
    }

    .lk-favorites {
        margin-top: 76px;
    }
}

/* -- Блог -- */
.blog-card .images {
    aspect-ratio: 3 / 4.4;
    background-color: #f7f7f7;
    background: linear-gradient(90deg, #f7f7f7 25%, #e7e7e7 50%, #f7f7f7 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

.blog-card .images img {
    aspect-ratio: 3 / 4.4;
}

.blog-card .name {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-page .blog-contributors {
    margin-top: 90px;
    margin-bottom: 90px;
}

@media (max-width: 991px) {
    .blog-page .dn.header-logo {
        display: block;
    }

    .blog-page .blog-title {
        margin-top: 125px;
        margin-bottom: 88px;
    }

    .blog-cards div:nth-child(2) + div {
        display: none;
    }
}

@media (min-width: 992px) {
    .blog-page .left-col .sticky,
    .blog-page .right-col .sticky {
        height: calc(100vh - 15px);
    }

    .blog-card .bottom {
        line-height: 1.25;
    }

    .blog-card .name {
        font-size: 1rem;

    }
}

/* -- Стат. стр. -- */
.static-page .page-title,
.title-margin {
    margin-top: 125px;
    margin-bottom: 88px;
}

.static-page main p,
.static-page main ul,
.static-page main ol {
    font-size: 1.1rem;
    letter-spacing: .08rem;
}

.static-page main p {
    line-height: 1.35;
}

.static-page main ul,
.static-page main ol {
    line-height: 1.65;
}

.static-page main h2:not([class]):not(:first-child),
.static-page main h3:not([class]) {
    margin-top: 1.5rem;
}

/* .static-page main a:not([class]) { */
/* text-decoration: underline; */
/* text-underline-offset: .35em; */
/* } */

.static-page main p:not(:last-child),
.static-page main ol:not(:last-child),
.static-page main ul:not(:last-child) {
    margin-bottom: 1.5rem;
}

.static-page main p + ol,
.static-page main p + ul {
    margin-top: -1.5rem;
}

.static-page main small,
.static-page main .small {
    font-size: 1rem;
}

.static-page main ol li {
    list-style: numeric;
    list-style-position: inside;
}

.ul-styled {
    padding-left: 12px;
}

.ul-styled li::before {
    content: "·";
    color: #000;
    display: inline-block;
    width: 12px;
    margin-left: -12px;
}

/* @media (max-width: 992px) { */
/* .static-page .page-title, */
/* .title-margin { */
/* margin-top: 120px; */
/* } */
/* } */

/* -- Футер -- */
.footer {
    z-index: 5;
}

/* форма подписка футер */
.subscribe-form-wrap .subscribe-form form {
    max-width: 85%;
    margin: 0 auto;
}

@media (max-width: 767px) {
    .details:not(.open) .content {
        display: none;
    }

    .details .summary::after {
        content: "\002B";
        font-size: 1.1rem;
        line-height: 1rem;
        width: 8px;
    }

    .details.open .summary::after {
        content: "\2212";
    }
}

@media (min-width: 576px) {
    .subscribe-form-wrap .subscribe-form form {
        max-width: 400px;
    }
}

@media (min-width: 992px) {
    .footer .bottom .col-6 {
        border-bottom: 0;
    }
}

@media (max-height: 600px) {
    .availability-modal .cart-item {
        display: none !important;
    }
}
/* ------------------------------------------------ */

/* -- Sliders -- */
/* глобальные настройки слайдера */
.swiper {
    --swiper-theme-color: #000;
    --swiper-navigation-size: 60px;
    --swiper-navigation-sides-offset: 0;
    --swiper-pagination-bottom: 7px;
}

.swiper .swiper-button-next,
.swiper .swiper-button-prev {
    outline: 0;
}

.swiper .swiper-button-prev::after,
.swiper .swiper-button-next::after {
    content: "";
    width: 0;
    height: 0;
    position: relative;
    border-style: solid;
    border-width: 4px 0 4px 5px;
    border-color: transparent transparent transparent #000;
}

.swiper .swiper-button-prev::after {
    transform: rotate(180deg);
}

.swiper .swiper-pagination-bullet {
    --swiper-pagination-bullet-inactive-color: #e0e0e0;
    --swiper-pagination-bullet-size: 6px;
    --swiper-pagination-bullet-horizontal-gap: 3px;
    --swiper-pagination-bullet-inactive-opacity: .9;
    transition: all .2s cubic-bezier(.4, 0, .3, 1);
}

.swiper .swiper-pagination-bullet.swiper-pagination-bullet-active {
    box-shadow: 0 0 0 1px #000 inset;
    --swiper-pagination-color: #fff;
}

.swiper .swiper-button-disabled {
    color: #a7a6a5;
}

.swiper .swiper-slide {
    height: auto;
}

/* -- Fancybox v5 -- */
.fancybox__container {
    --fancybox-bg: rgba(0,0,0, .35);
    --fancybox-color: #000;
    --fancybox-content-color: #000;
}

.is-compact .fancybox__content>.f-button.is-close-btn,
.fancybox__content > .f-button.is-close-btn {
    --f-button-bg: initial;
    --f-button-color: #000;
    --f-button-hover-color: initial;
    --f-button-hover-bg: initial;
    --f-button-active-bg: initial;
    --f-button-svg-stroke-width: 1;
    --f-button-svg-width: 22px;
    --f-button-svg-height: 22px;
    top: 15px;
    right: 15px;
    opacity: 1;
}

.fancybox__toolbar,
.fancybox__nav {
    --f-button-width: 60px;
    --f-button-height: 60px;
    --f-button-border-radius: 0;

    --f-button-color: #0d0c22;
    --f-button-hover-color: #000;

    --f-button-bg: initial;
    --f-button-hover-bg: transparent;
    --f-button-active-bg: transparent;

    --f-button-svg-width: 32px;
    --f-button-svg-height: 32px;

    --f-button-svg-stroke-width: 1;
    --f-button-svg-filter: none;
}

.fancybox__toolbar {
    --f-button-svg-width: initial;
    --f-button-svg-height: initial;
}

.fancybox__nav {
    --f-button-next-pos: 0;
    --f-button-prev-pos: 0;
}

.fancybox__thumbs.is-classic {
    --f-thumb-gap: 6px;
    --f-thumb-width: 64px;
    --f-thumb-height: 48px;
    --f-thumb-outline: 1px;
    --f-thumb-border-radius: 0;
    --f-thumb-outline-color: #000;
}

.is-compact .fancybox__footer {
    background: none;
}

/* галерея в товаре */
.product-photo-gallery.fancybox__container {
    --fancybox-bg: #fff;
}

.product-photo-gallery .fancybox__slide {
    padding: 0;
}

/* фото во всю высоту */
.product-photo-gallery .fancybox__slide.has-image > .fancybox__content {
    height: 100% !important;
}

.product-photo-gallery .fancybox__slide::before,
.product-photo-gallery .fancybox__slide::after {
    display: none;
}

.product-photo-gallery .fancybox__slide:not(.is-draggable) .fancybox-image {
    object-fit: cover;
}

/* -- Modal windows -- */
/* Модальные мульти-окна справа (общие стили) */
.side-modal-opened {
    /* margin-right: var(--scroll-padlock-scrollbar-width); */
    /* overflow: hidden; */
    touch-action: none;
}

@media (max-width: 991px) {
    .side-modal-opened {
        overflow: hidden;
        height: 100vh;
        touch-action: none;
        overscroll-behavior: none;
        -webkit-overflow-scrolling: auto !important;
    }
}

.side-modal-opened .header {
    /* margin-right: var(--scroll-padlock-scrollbar-width); */
}

.side-modal {
    position: fixed;
    background-color: var(--modal-bg, #fff);
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    visibility: hidden;
    opacity: 0;
    /* transition: all .15s ease; */
    z-index: 1050;
}

.side-modal.show {
    visibility: visible;
    opacity: 1;
}

.side-modal .top {
    padding-top: 20px;
    padding-bottom: 20px;
}

.side-modal .middle {
    height: 100%;
    padding-top: 20px;
}

.side-modal .bottom.btns-group {
    --btn-text-align: center;
    gap: 20px;
}

.side-modal-overlay {
    background-color: rgba(0,0,0, .2);
    -webkit-backdrop-filter: blur(30px);
    backdrop-filter: blur(30px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    visibility: hidden;
    opacity: 0;
    transition: all .2s ease;
    z-index: 1030;
}

@media (min-width: 992px) {
    /* если нужна прозрачная подложка для закрытия окон */
    .side-modal-overlay {
        /* background-color: transparent; */
        /* -webkit-backdrop-filter: none; */
        /* backdrop-filter: none; */
    }

    .side-modal .bottom.btns-group {
        gap: 60px;
    }
}
/* ---- */

.fancybox__slide {
    padding: 10px;
}

.confirm-modal {
    max-width: 520px;
}

@media (min-width: 992px) {
    .confirm-modal:not(.order-page .confirm-modal) {
        position: absolute;
        right: 10px;
        top: calc((400px - 107px) / 2);
    }

}

.confirm-modal .is-close,
.confirm-modal .is-close-btn {
    display: none;
}

/* Избранное, Увед. о размере, Вакансии [окно] */
@media (max-width: 991px) {
    .favorites-modal,
    .size-notify-modal,
    .vacancies-modal {
        min-height: 280px;
        height: auto;
    }
}

/* Вакансия [окно] */
@media (min-width: 992px) {
    .vacancies-modal {
        border-left: 1px solid;
    }
}

/* Корзина [окно] */
.cart-modal.dark-theme {
    --modal-bg: #000;
    --link-color: #fff;
    --btn-color: #fff;
    color: #fff;
}

.cart-img {
    flex: 0 0 100px;
    margin-right: 10px;
}

.cart-item .btn-delete {
    position: absolute;
    top: 0;
    right: 10px;
}

.cart-modal.dark-theme .cart-item .btn-delete::after {
    filter: invert(1);
}

.cart-info .item-name {
    line-height: 1.35;
    margin-top: -1px;
    /* display: -webkit-box; */
    /* -webkit-line-clamp: 1; */
    /* -webkit-box-orient: vertical; */
}

.cart-info .item-bottom {
    /* margin-bottom: -1px; */
}

.cart-info .old-price {
    position: absolute;
    right: 0;
    bottom: 100%;
}

.item-count .btn-quantity::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
    margin: -8px;
}

.item-count .btn-quantity .minus,
.item-count .btn-quantity .plus {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 10px;
    height: 10px;
}

.item-count .btn-quantity .minus::after {
    content: url("data:image/svg+xml,%3Csvg width='9' height='9' viewBox='0 0 9 9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 4.49219L8 4.49219' stroke='white' stroke-width='0.7'/%3E%3C/svg%3E");
}

.item-count .btn-quantity .plus::after {
    content: url("data:image/svg+xml,%3Csvg width='9' height='9' viewBox='0 0 9 9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.49609 1L4.49609 8' stroke='white' stroke-width='0.7'/%3E%3Cpath d='M1 4.49219L8 4.49219' stroke='white' stroke-width='0.7'/%3E%3C/svg%3E");
}

.item-count .btn-quantity:disabled {
    opacity: .5;
}

.order-cart .item-count .btn-quantity i::after {
    filter: invert(1);
}

/* .item-count .btn-quantity .minus::before, */
/* .item-count .btn-quantity .plus::before, */
/* .item-count .btn-quantity .plus::after { */
/* content: ""; */
/* position: absolute; */
/* width: 7px; */
/* border-top: 1px solid; */
/* } */

/* .item-count .btn-quantity .plus::after { */
/* transform: rotate(90deg); */
/* } */

.item-count .qty {
    width: 15px;
}

@media (min-width: 992px) {
    .cart-modal {
        max-width: 540px;
        min-height: 400px;
        /* max-height: 400px; */
        max-height: 400px;
    }

    .cart-img {
        flex: 0 0 60px;
        margin-right: 10px;
    }
}

/* Фильтр [окно и сайдбар] */
.products-filter details summary::after {
    content: none;
}

.filter-modal .top {
    padding-bottom: 35px;
}

.filter-modal .products-filter .filter-block {
    margin-top: 25px;
    margin-bottom: 50px;
}

.right-col .products-filter .filter-block {
    margin-top: 25px;
    margin-bottom: 20px;
}

.products-filter .filter-block li {
    font-size: 1.1rem;
    line-height: 1;
    padding: 1rem 0;
}

.products-filter .filter-block li label {
    display: inline-block;
    position: relative;
    padding: .7rem;
    margin: -.7rem;
    transition: color .15s ease;
}

@media (any-hover: hover) {
    .products-filter .filter-block li label:hover {
        color: #777;
    }
}

.products-filter .filter-block li label.disabled {
    cursor: default;
    color: #a7a6a5;
    pointer-events: none;
}

.products-filter .filter-block li label a {
    pointer-events: none;
}

.products-filter .filter-block li label input {
    top: 0;
    left: 0;
    opacity: 0;
    z-index: 1;
}

.products-filter .filter-block li label input[type="checkbox"]:checked + span,
.products-filter .filter-block li label input[type="radio"]:checked + span {
    text-decoration: underline;
    text-underline-offset: .35em;
}

.filter-btn-container {
    padding: 20px 40px;
    margin-top: -20px;
    top: auto;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}
/* ---- */

.table-responsive {
    display: block;
    width: 100%;
    overflow-x: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: -ms-autohiding-scrollbar;
}

/* кастом скролл (меню, корзина, фильтр и т.д.) */
.custom-scroll {
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.custom-scroll::-webkit-scrollbar {
    width: 1px;
}

.custom-scroll::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 3px rgba(0,0,0, .3);
    background-color: #f5f5f5;
}

.custom-scroll::-webkit-scrollbar-thumb {
    background-color: #000;
}

.dark-theme .custom-scroll::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 3px rgba(0,0,0, .3);
    background-color: #000;
}

.dark-theme .custom-scroll::-webkit-scrollbar-thumb {
    background-color: #a5a5a5;
}

@supports not selector(::-webkit-scrollbar) {
    .custom-scroll {
        scrollbar-width: thin;
        scrollbar-color: #000 #dedede;
    }
}

.loader {
    background: rgba(255,255,255, .75) url(../img/loader.gif) no-repeat center center /35px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
}

.cookie-modal {
    position: fixed;
    bottom: 10px;
    right: 10px;
    left: 10px;
    margin: auto;
    z-index: 9;
}

.cookie-modal .cookie-txt {
    letter-spacing: .06em;
}

.side-modal-opened .cookie-modal {
    right: calc(15px + var(--scroll-padlock-scrollbar-width));
}