.phone {
    display: flex;
    align-items: center;
    white-space: nowrap;
}
.phone .btd-icon {
    margin-right: 0.625rem;
    width: 1em;
    height: 1em;
}

.h1 {
    margin: 2rem 0;
}

.socials {
    margin: 0 1.6875rem;
}
.socials a {
    margin-right: 0.625rem;
}

.menu {
    list-style: none;
    display: flex;
    align-items: center;
}

.copyright {
    color: #000;
    font-family: Montserrat;
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.logo {
    min-width: 10.75rem;
    width: 10.75rem;
    height: 2.8125rem;
    margin: 0.625rem 0;
}

.btd-btn.catalog {
    border-radius: 0.5rem;
    background: var(--p-color-4);
    padding: 0 12px;
    height: 2rem;
}
.btd-btn.catalog .btd-icon {
    margin-right: 0.625rem;
}

.counters {
    display: flex;
}
.counters .sep {
    width: 1px;
    min-height: 100%;
    background-color: var(--p-color-3);
}
.counters .btd-counters.left {
    margin-right: 1.25rem;
}
.counters .btd-counters.right {
    margin-left: 1.25rem;
}
.btd-counters .btd-counter {
    margin: 0 0.625rem;
}
.btd-counters .btd-counter:first-child {
    margin-left: 0;
}
.btd-counters .btd-counter:last-child {
    margin-right: 0;
}

.search-block {
}
.search-block form {
    width: 100%;
    display: flex;
    background-color: white;
    border-radius: 0.5rem;
    overflow: hidden;
}
.search-block form [name="query"] {
    width: 100%;
    height: 100%;
    padding: 0 12px;
    height: 2rem;
    border: none;
}
.search-block form [name="query"]::placeholder {
    color: var(--p-color-5);
}
.search-block form .search-btn {
    background: var(--p-color-4);
    padding: 0 12px;
    height: 2rem;
    border: none;
}

.breadcrumb-block {
    margin: 1.25rem 0;
    padding-bottom: 4px;
}
.breadcrumb-block .btd-crumb {
    padding-bottom: 0.5rem;
    display: flex;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .breadcrumb-block .btd-crumb {
        overflow-x: auto;
        display: block;
    }
}

.btd-rating svg {
    width: 1.25rem;
    height: 1.25rem;
    margin: 0 2px;
}

.reviews-count {
    display: flex;
    align-items: center;
    margin-left: 0.5rem;
    margin-right: 1.25rem;
}
.reviews-count > :first-child {
    margin-right: 0.25rem;
}

.review-leave {
    margin-right: 1.25rem;
}

.share {
    display: flex;
    align-items: center;
    cursor: pointer;
}
.share .btd-icon {
    margin-right: 0.625rem;
    width: 1rem;
    height: 1.25rem;
}

.actives {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

[btd-field] .select .values {
    border-radius: 5px;
    border: 1px solid var(--p-color-7);
    background: var(--p-color-3);
}
[btd-field] .select [data-field] {
    border-radius: 5px;
    border: 1px solid var(--p-color-7);
    background: var(--p-color-3);
}
[btd-field] .select .current [data-text] {
    color: #000;
    font-family: Montserrat;
    font-size: 1.125rem;
    font-style: normal;
    font-weight: 600;
    line-height: 0.875rem; /* 77.778% */
    border-radius: 5px;
    border: 1px solid #747474;
    background: #FFF;
}
[btd-field].ts .select .current .block-arrow {
    transition: transform 0s ease-in-out;
    width: 2.5rem;
}
[btd-field].ts .select.active .current .block-arrow {
    transform: rotate(180deg);
}
[btd-field].ts .select .current .block-arrow svg {
    width: 0.9375rem;
    height: 0.9375rem;
}

.block-btns {
    display: flex;
    flex-wrap: wrap;
}
.ts-btn {
    display: block;
    border-radius: 10px;
    background: #0054FF;
    color: #FFF;
    font-family: Montserrat;
    font-size: 1.125rem;
    font-style: normal;
    font-weight: 700;
    line-height: 0.875;
    padding: 1.4375rem 2rem;
    border: none;
    flex-grow: 1;
    text-align: center;
    cursor: pointer;
}
.ts-btn:hover {
    filter: brightness(110%);
}
.ts-btn:active {
    filter: brightness(90%);
}

.ts-btn.tocart {
    width: 100%;
}

.ts-btn.oneclick {
    background: #EBF7FF;
    color: #0054FF;
}

#msMiniCart > * {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
#msMiniCart.full .blank {
    display: none;
}
#msMiniCart:not(.full) .not-blank {
    display: none;
}
#msMiniCart .count {
    position: absolute;
    top: 5%;
    right: 5%;
    display: block;
    padding: 1px 5px;
    border-radius: 4PX;
    background-color: red;
}
#msMiniCart .blank .count {
    display: none;
}

.nav-bars {
    display: none;
}

@media (max-width: 991px) {
    .nav-bars {
        position: relative;
        display: block;
        width: 1.75rem;
        height: 19px;
        transform: rotate(0deg);
        transition: .5s ease-in-out;
        cursor: pointer;
        z-index: 9999999;
    } 
    .nav-bars span {
        display: block;
        position: absolute;
        height: 4px;
        width: 100%;
        background: #000;
        border-radius: 5px;
        opacity: 1;
        left: 0;
        transform: rotate(0deg);
        transition: 0.25s ease-in-out;
    }
    .nav-bars span:nth-child(1) {
        top: 0px;
    }
    .nav-bars span:nth-child(2),
    .nav-bars span:nth-child(3) {
        top: 7px;
    }
    .nav-bars span:nth-child(4) {
        top: 15px;
    }
    .nav-open:checked ~ .desktop .nav-bars span:nth-child(1),
    .nav-open:checked ~ .desktop .nav-bars span:nth-child(4) {
        top: 10px;
        width: 0%;
        left: 50%;
    }
    .nav-open:checked ~ .desktop .nav-bars span:nth-child(2) {
        transform: rotate(45deg);
    }
    .nav-open:checked ~ .desktop .nav-bars span:nth-child(3) {
        transform: rotate(-45deg);
    }
}

.video {
    display: flex;
    align-items: center;
    justify-content: center;
}
.video > * {
    width: 100% !important;
    max-width: 100%;
    max-height: 100%;
}

.btd-page-gallery-panel-sort {
    margin: 1rem 0;
}
.btd-page-gallery-panel-sort .container {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}
.btd-page-gallery-panel-sort .item {
    display: inline-block;
    cursor: pointer;
    text-transform: lowercase;
    padding: 0.25rem 0.5rem;
    margin-right: 0.5rem;
    text-align: center;
    border-radius: 4px;
    font-size: 11px;
    white-space: nowrap;
    color: #0f0f0f;
    background-color: rgba(0, 0, 0, 0.05);
    transition: color, background-color .3s ease;
}
.btd-page-gallery-panel-sort .item.active {
    cursor: initial;
}
.btd-page-gallery-panel-sort .item.active,
.btd-page-gallery-panel-sort .item:hover {
    color: white;
    background-color: #0054ff;
}

.btd-page-gallery .container {
    display: flex;
    flex-wrap: wrap;
}

.btd-page-gallery .article-snippet {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5rem;
    margin-right: 2rem;
    width: calc((100% - 4rem) / 3);
}
.btd-page-gallery .article-snippet:nth-child(3n) {
    margin-right: 0;
}
.btd-page-gallery .article-snippet > * {
    width: 100%;
}
.btd-page-gallery .article-snippet .preview {
    height: 25vh;
    max-height: 320px;
    background-color: #719fff;
}
.btd-page-gallery .article-snippet .preview img {
    object-fit: cover;
}
.btd-page-gallery .article-snippet .title {
    margin-top: 0.5rem;
    color: #000;
    font-family: Montserrat;
    font-size: 1rem;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

@media (max-width: 991px) {
    .btd-page-gallery .article-snippet {
        width: calc((100% - 2rem) / 2);
    }
    .btd-page-gallery .article-snippet,
    .btd-page-gallery .article-snippet:nth-child(3n) {
        margin-right: 2rem;
    }
    .btd-page-gallery .article-snippet:nth-child(2n) {
        margin-right: 0;
    }
    .btd-page-gallery .article-snippet .preview {
        height: 25vh;
        max-height: 240px;
    }
}

@media (max-width: 576px) {
    .btd-page-gallery .article-snippet {
        width: 100%;
    }
    .btd-page-gallery .article-snippet,
    .btd-page-gallery .article-snippet:nth-child(2n),
    .btd-page-gallery .article-snippet:nth-child(3n) {
        margin-right: 0;
    }
}

.pagination {
    list-style: none;
    display: flex;
    padding: 0;
    margin: 1rem 0;
    justify-content: center;
    flex-wrap: wrap;
}
.pagination .page-item {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0.25em;
    border-radius: 4px;
    transition: color, background-color .3s ease;
}
.pagination .page-item.disabled {
    display: none;
}
.pagination .page-item.active,
.pagination .page-item:hover {
    color: white;
    background-color: #0054ff;
}
.pagination .page-item .page-link {
    display: inline-block;
    width: 100%;
    height: 100%;
    padding: 4px 8px;
}

.data-route {
    color: #5454549e;
    font-size: 0.9em;
    margin: 0.5rem 0;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.data-route > * {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
}
.data-route i {
    margin-right: 0.5rem;
    display: inline-block;
    width: 1rem;
    text-align: center;
}

#article .data-route {
    justify-content: flex-start;
    margin-bottom: 1.5rem;
}
#article .data-route > * {
    margin-right: 1rem;
}

#content {
    margin-bottom: 2rem;
}

.article-content-block {
    display: flex;
}

.article-content > :first-child {
    margin-top: 0 !important;
}

.article-content-table {
    order: 1;
    min-width: 280px;
    width: 280px;
    max-width: 280px;
    margin-left: 1.5rem;
}

.article-content-table .btd-content-table .title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
}
.article-content-table .btd-content-table .items {
    list-style: decimal;
}
.article-content-table .btd-content-table .items li {
    padding: 0.25rem 0;
}
.article-content-table .btd-content-table .items li:hover {
    font-weight: 600;
}

@media (max-width: 768px) {
    .article-content-block {
        flex-direction: column-reverse;
    }
}


.cart-token-ctrl .share {
    position: relative;
    cursor: pointer;
}

.cart-token-ctrl .share::before {
    content: "Скопировано!";
    position: absolute;
    top: calc(100% + 5px);
    left: 50%;
    transform: translateX(-50%);
    background: #e8e8e8;
    color: #000000;
    padding: 3px 7px;
    border-radius: 3px;
    font-size: 10px;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    pointer-events: none;
    white-space: nowrap;
}

.cart-token-ctrl .share.show::before {
    opacity: 1;
}