@font-face {
    font-display: swap;
    font-family: 'Ubuntu';
    font-style: normal;
    font-weight: normal;
    src: url('fonts/ubuntu/ubuntu-v20-cyrillic_latin-300.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */ url('fonts/ubuntu/ubuntu-v20-cyrillic_latin-300.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}

@font-face {
    font-display: swap;
    font-family: 'Ubuntu';
    font-style: normal;
    font-weight: bold;
    src: url('fonts/ubuntu/ubuntu-v20-cyrillic_latin-700.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */ url('fonts/ubuntu/ubuntu-v20-cyrillic_latin-700.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}

/*! HTML5 Boilerplate v9.0.0-RC1 | MIT License | https://html5boilerplate.com/ */

/* main.css 3.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #000;
    margin: 1.5em 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;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visually-hidden {
    border: 0;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    white-space: nowrap;
    width: 1px;
    /* 1 */
}

/*
 * Extends the .visually-hidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visually-hidden.focusable:active,
.visually-hidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    white-space: inherit;
    width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * The use of `table` rather than `block` is only necessary if using
 * `::before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
    content: "";
    display: table;
}

.clearfix::after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 1.25dppx),
(min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *::before,
    *::after {
        background: #fff !important;
        color: #000 !important;
        /* Black prints faster */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]::after {
        content: " (" attr(href) ")";
    }

    abbr[title]::after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */
    a[href^="#"]::after,
    a[href^="javascript:"]::after {
        content: "";
    }

    pre {
        white-space: pre-wrap !important;
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}

/* ==========================================================================
   Main
   ========================================================================== */

html, body {
    min-width: 320px;
    min-height: 100dvh;
    color: #101010;
    font: 16px/1.3 'Ubuntu', Arial, sans-serif;
    font-weight: normal;
    background: #f7f7f7;
    box-sizing: border-box;
    scrollbar-gutter: stable;
}

*, *:before, *:after {
    box-sizing: inherit;
}

body {
    accent-color: #fe8027;
}

body, body * {
    scroll-margin-top: 171px;
    scroll-behavior: smooth;
}

body img {
    max-width: 100%;
    height: auto;
    object-fit: scale-down;
}

p {
    margin-bottom: 1em;
}

h1, h2, h3, h4, h5, h6 {
    margin-top: 1.2em;
    margin-bottom: .6em;
    letter-spacing: initial;
}

h1 {
    font-size: 3.4375rem;
    font-weight: bold;
}

h2 {
    font-size: 2.875rem;
    font-weight: bold;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.22rem;
}

h5 {
    font-size: 1.1rem;
}

h6 {
    font-size: 1.1rem;
}

.page-h1, h1 {
    margin: 0 0 2.5rem;
    font-size: 2.125rem;
    text-decoration: none;
}

a, a:hover, a:focus {
    color: #101010;
    text-decoration: underline;
}

.text-primary {
    color: #ff7900;
}

.btn {
    transition-property: background-color, color, border-color, box-shadow;
    transition-duration: 0.2s;
    transition-timing-function: ease-in-out;
}

.btn, .btn:focus, .btn:active {
    display: inline-block;
    padding: 1em 2em;
    font-size: 1rem;
    font-weight: bold;
    line-height: 1em;
    text-decoration: none !important;
    border: 1px solid transparent !important;
    border-radius: .55em;
    outline: none !important;
}

.btn[disabled] {
    opacity: .2;
}

.btn-primary, .btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary:active:hover {
    color: #fff !important;
    background: #ff7900 !important;
    border-color: #ff7900 !important;
}

.btn-primary-o {
    background: #fff !important;
    border-color: #ff7900 !important;
}

.btn-primary-o:hover, .btn-primary-o:focus, .btn-primary-o:active, .btn-primary-o:active:hover {
    color: #fff !important;
    background: #ff7900 !important;
}

.btn-info, .btn-info:hover, .btn-info:focus, .btn-info:active {
    color: #fff !important;
    background: #245f93 !important;
}

.btn-default, .btn-default:hover, .btn-default:focus, .btn-default:active {
    color: #303030 !important;
    background: #fff !important;
    border-color: #303030 !important;
}

.btn-white, .btn-white:hover, .btn-white:focus, .btn-white:active {
    color: #303030 !important;
    background: #fff !important;
}

.btn-white2, .btn-white2:hover, .btn-white2:focus, .btn-white2:active {
    color: #fff !important;
    background: transparent !important;
    border-color: #fff !important;
}

.btn-grey, .btn-grey:hover, .btn-grey:focus, .btn-grey:active {
    padding: 1em 1.5em;
    color: #fff !important;
    background: #494949 !important;
}

.btn-red, .btn-red:hover, .btn-red:focus, .btn-red:active {
    padding: 1em 1.5em;
    color: #fff !important;
    background: #b00000 !important;
}

.btn-small {
    padding: .5rem 1rem !important;
    font-size: 1rem !important;
}

.btn-block {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.btn-margins {
    margin: 0 .8rem 1rem;
}

.breadcrumb {
    margin-bottom: 1em;
    padding: 0;
    background: none;
    border-radius: 0;
    opacity: .5;
    white-space: nowrap;
    overflow: auto hidden;
}

.breadcrumb, .breadcrumb a, .breadcrumb > li + li:before, .breadcrumb > .active {
    color: #303030;
    font-size: .875rem;
    line-height: 1em;
}

.breadcrumb a:hover {
    font-weight: bold;
}

.nav-tabs {
    position: relative;
    display: flex;
    max-width: calc(100dvw - 3 * .8rem);
    overflow-x: auto;
    overflow-y: hidden;
    border-bottom: 1px solid #cecfce;
    scrollbar-width: none;
}

.nav-tabs:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0;
    border-top: 1px solid #cecfce;
}

.nav-tabs > li > a {
    position: relative;
    padding: .625rem 0;
    color: #4b4b4b;
    font-size: 1.125rem;
    line-height: 1em;
    text-transform: uppercase;
    white-space: nowrap;
    background-color: transparent !important;
    border: none;
    border-radius: 0;
}

.nav-tabs > li:not(:last-child) > a {
    margin-right: 2.1875rem;
}

.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
    color: #4b4b4b;
    font-weight: bold;
    border: none;
}

.nav-tabs > li.active > a:after, .nav-tabs > li.active > a:hover:after, .nav-tabs > li.active > a:focus:after {
    content: '';
    position: absolute;
    bottom: 1px;
    left: 0;
    width: 100%;
    height: 0;
    border-top: 1px solid #4b4b4b;
    z-index: 1;
}

.tab-content > .tab-pane {
    padding: 1rem 0 2rem;
}

.pagination {
    margin: 1.5rem auto;
    font-size: 1.125rem;
    border-radius: 0 !important;
}

.pagination > li > * {
    margin-right: .2rem;
    border: none !important;
    border-radius: .5rem !important;
    background-color: transparent !important;
}

.pagination > .active > a, .pagination > .active > span, .pagination > .active > a:focus, .pagination > .active > span:focus {
    color: #ffffff !important;
    background-color: #303030 !important;
}

.pagination > li > a, .pagination > li > span {
    display: inline-block;
    float: none;
    padding: .23rem .7rem;
    color: #4b4b4b !important;
    border-radius: 0 !important;
}

.pagination > .active > a, .pagination > .active > span, .pagination > .active > a:hover, .pagination > .active > span:hover, .pagination > .active > a:focus, .pagination > .active > span:focus {
    z-index: auto;
}

.pagination-block {
    visibility: hidden;
    text-align: center;
}

.pagination-more {
    margin: 3rem auto 1.5rem;
}

.pagination-more .btn {
    padding: .9rem 3.5rem;
}

.modal-open .modal {
    display: grid !important;
    align-items: center;
    overflow-x: auto;
}

.modal-content {
    background: #fff;
    border: 0;
    border-radius: 1em;
    box-shadow: 2px 2px 1rem rgba(0, 0, 0, .1);
}

.modal-header {
    position: relative;
    height: 0;
    border-bottom: 0;
    z-index: 1;
}

.modal-header .close {
    margin-top: -0.5rem;
    color: #4B4B4B;
    font-size: 2.7rem;
    font-weight: normal;
    opacity: 1;
}

.modal-title {
    display: none;
}

.modal-body {
    padding: 1.5rem 4.375rem 3.375rem;
}

.alert {
    margin: 1.25rem 0;
    border-radius: 0;
}

.error-summary {
    margin: 0 0 1rem;
    padding: 1rem;
    color: #a94442;
    background-color: #f2dede;
    border: 1px solid #a94442;
}

.menu, .menu * {
    margin: 0;
    padding: 0;
    list-style: none;
}

.user_cookie_consent {
    display: none;
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    margin: 0 auto;
    width: 100%;
    max-width: 1920px;
    font-size: .85rem;
    z-index: 15;

    &, & a {
        color: #fff;
    }

    > div {
        display: grid;
        grid-template-columns: 1fr max-content;
        justify-content: space-between;
        align-items: center;
        gap: 2em;

        margin: 1.5rem auto;
        padding: 1rem 1.5rem;
        max-width: 1200px;
        background: #2f2f2f;
    }

    .btn {
        padding: .7em 1.5em;
        font-size: .85rem;
        width: 100%;
    }
}

.field-agreement {
    font-size: .85em;
}

.field-agreement a {
    text-decoration: underline !important;
}

/* ==========================================================================
   Site
   ========================================================================== */

.width-wrap, .width-wrap-small {
    position: relative;
    margin: 0 auto;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    width: 100%;
    max-width: 1200px;
}

.width-wrap-small {
    padding: 0;
    max-width: 780px;
}

body {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr auto;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    font-size: 1rem;
    line-height: 1.3;
    width: 100%;
    background: #f7f7f7;
    z-index: 3;
}

.header, .header a {
    color: #303030;
}

.header a {
    text-decoration: none;
}

.header2 > .width-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .25rem;

    padding-top: 1rem;
    padding-bottom: .65rem;
    font-size: 1rem;
}

.header-logo {
    max-width: 40%;
}

.header-logo img {
    aspect-ratio: 125 / 63;
    width: 100%;
    object-fit: contain;
}

.header-logo-text {
    font-size: 1.25em;
    font-weight: bold;
}

.header-social a + a {
    margin-left: .2em;
}

.header-others {
    margin-right: -.7rem;
}

a.header-favorites, a.header-basket {
    display: inline-flex;
    align-items: center;
    gap: .5rem;

    padding: 0 .7rem;
    height: 100%;
    line-height: 1em;
}

a.header-favorites i, a.header-basket i {
    font-size: 1.5rem;
}

a.header-favorites span, a.header-basket span {
    display: inline-block;
    margin-left: 1px;
    color: #fff;
}

.header3 {
    font-size: 1.125rem;
    background: #536489;
}

.header3 > .width-wrap {
    display: flex;
    align-items: stretch;
    height: 62px;
}

.header3, .header3 *, .header3 a {
    color: #fff;
}

a.sale-item {
    color: #ff7900;
}

.header-menu-toggle {
    display: none;
    font-size: 2.3rem;
    line-height: 36px;
    text-transform: uppercase;
}

.header-menu-toggle:after {
    content: '≡';
}

.header-menu-toggle.open:after {
    content: '×';
}

.header-menu {
    display: flex;
    flex-wrap: nowrap;
    justify-content: stretch;

    width: 100%;
    max-width: 1200px;
    white-space: nowrap;
}

.header-menu > li {
    flex: auto;
    position: relative;
}

.header-menu > li > a, .header-menu > li > span {
    display: block;
    width: 100%;
    height: 100%;
    font-size: .85rem;
    font-weight: bold;
    text-align: center;
    place-content: center;
}

.header-menu > li > a {
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, border-color 0.2s ease-in-out;
}

.header-menu > li > a:hover {
    color: #101010;
    background: #fff;
}

a.header-menu-basket {
    img:nth-child(2) {
        display: none;
    }
}

a.header-menu-basket:hover {
    img:nth-child(1) {
        display: none;
    }

    img:nth-child(2) {
        display: initial;
    }
}

.header-menu > li > ul {
    display: none;
    position: absolute;
    padding: 1rem 2.3rem;
    min-width: 100%;
    font-size: .8rem;
    background: #536489;
}

.header-menu > li > ul a, .header-menu > li > ul span {
    display: block;
    padding: 1em 0;
    font-size: .9rem;
    font-weight: bold;
    line-height: 1em;
}

.header-menu > li > ul a:hover {
    opacity: .85;
}

.header-menu a.active {
    font-weight: bold;
}

.header-menu > li:hover > ul {
    display: block;
}

.main {
    margin-top: 151px;
    min-width: 100%;
}

.main-content {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.footer {
    margin-top: 5rem;
}

.footer0 {
    margin: 0 auto 4rem;
    padding-bottom: 320px;
    max-width: 1800px;
    background: url('/files/site/footer0-bg.webp') center bottom no-repeat;
    border-radius: 1rem;
}

.footer a {
    color: #101010;
    text-decoration: none;
}

.footer1 {
    margin-bottom: 1.5em;
    padding-bottom: 1em;
    border-bottom: 1px solid #dedede;
}

.footer-head {
    color: #ff7900;
    font-weight: bold;
}

.footer-social {
    display: inline-block;
    width: 46px;
    height: 46px;
    text-align: center;
    place-content: center;
    line-height: 1;
    border-radius: 50%;
    border: 1px solid #dedede;
}

.footer-social + .footer-social {
    margin-left: .4em;
}

.footer1-menu {
    margin-bottom: 1em;
}

.footer1-menu li + li {
    margin-top: .8em;
}

.footer-actions {
    display: none;

    /*display: flex;*/
    gap: 1px;

    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    color: #fff;
    text-align: center;
    background: #303030;
    border-top: 1px solid #666;
    z-index: 9;
}

.footer-actions > * {
    flex: 1;

    padding: .5rem 0;
    color: #fff;
    text-decoration: none;
}

.footer-actions > * + * {
    border-left: 1px solid #666;
}

.page-scroll-up {
    display: none;
    position: fixed;
    bottom: 4rem;
    right: 1rem;
    opacity: 0;
    cursor: pointer;
    z-index: 99;

    &.active {
        display: block;
        opacity: .3;
    }

    &:hover {
        opacity: 1;
    }
}

@media (max-width: 991px) {
    .page-scroll-up {
        display: none !important;
    }
}

/* ==========================================================================
   Form
   ========================================================================== */

.form-box {
    padding: 2rem;
    background: #fff;
    border-radius: 1rem;
    box-shadow: 2px 2px 1rem rgba(0, 0, 0, .1);
}

.form-title, .modal-body .page-h1 {
    margin: 0 0 .6em;
    text-decoration: none;
}

.form-title {
    margin-bottom: .3em;
}

.form-control {
    padding: .85rem;
    height: auto;
    font-size: 1rem;
    background: #f4f4f4;
    border-color: #f4f4f4;
    border-radius: .55rem;
}

select.form-control {
    padding-right: 2rem;
    appearance: none;
    background: url(/files/site/select-arrow.svg) right .7em center no-repeat;
}

label {
    font-weight: normal;
}

.xs-label {
    display: none;
    font-size: .7rem;
}

.lg-label {
    font-size: 1.625rem;
    font-weight: bold;
}

#calc_form {
    .control-label {
        display: block;
        margin-bottom: 1em;
        font-size: 1.625rem;
        font-weight: bold;
    }

    .radio-inline {
        display: block;
        margin: 0;
        padding: 1.2em .5em 1.2em 2.2em;
        background: #fff;
        border: 1px solid #fff;
        border-radius: .5em;
    }

    .radio-inline:has(input:checked) {
        border-color: #ff7900;
    }

    .form-control {
        background: #fff;
    }

    div[role="radiogroup"] {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1em;
    }

    .form-step-block {
        &:not(:nth-of-type(1)) {
            display: none;
        }

        .form-step-actions {
            display: flex;
            justify-content: space-between;
            align-items: center;

            margin-top: 2em;

            .form-step-info {
                font-size: .85em;
                opacity: .5;
            }
        }
    }
}

/* ==========================================================================
   Start page
   ========================================================================== */

.main-content:has(.site-index) {
    padding-top: 0;
}

.site-index {
    padding-bottom: 2rem;
}

.site-index p {
    margin-bottom: 1.875rem;
}

.start-banners {
    margin-bottom: 4rem;
    position: relative;
}

.start-banner {
    position: relative;
    background-color: #000;
}

.start-banner__img, .start-banner__img2, .start-banner__video, .start-banner__video2 {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.start-banner__img2, .start-banner__video2 {
    display: none !important;
}

.start-banner-content {
    position: relative;
    padding: 3rem 0;
    aspect-ratio: 1903/817;
    max-height: calc(100dvh - 151px);
    background: center center no-repeat;
    background-size: cover;

    .width-wrap {
        position: relative;
    }
}

/* ==========================================================================
   Service
   ========================================================================== */

.service-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    row-gap: 4em;
}

.service-item {
    display: flex;
    flex-direction: column;
    gap: 1em;
}

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

.service-item__img:hover {
    opacity: .9;
}

.service-item__title {
    color: #000;
    font-size: 1.4em;
    line-height: 1;
    font-weight: bold;
}

.service-item__title2 {
    font-size: .9em;
}

/* ==========================================================================
   Gallery
   ========================================================================== */

.start-gallery-items {
    min-width: 100%;
    border-radius: 1em;
    overflow: hidden;
}

/* ==========================================================================
   Certificate
   ========================================================================== */

a.certificate-item {
    text-decoration: none;
}

.certificate-photo {
    margin-bottom: .5em;
    transition: all 0.3s ease 0s;
}

.certificate-photo:hover {
    transform: scale(1.1);
}

/* ==========================================================================
   User
   ========================================================================== */

.user-main {
    display: grid;
    grid-template-columns: 1fr 5fr 1fr;
    gap: 1rem;
}

.user-menu {
    font-size: .9rem;
    line-height: 1em;
}

.user-menu__name {
    margin-bottom: 1.25em;
    font-weight: bold;
}

.user-menu ul, .user-menu li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.user-menu li {
    margin-bottom: .6rem;
}

.user-menu a {
    color: #303030;
    white-space: nowrap;
}

.user-menu a:hover, .user-menu li.active > a {
    font-weight: bold;
}

.user-menu a > span {
    color: #9a9a9a;
}

/* ==========================================================================
   Categories
   ========================================================================== */

.category-header {
    margin-bottom: 2.5rem;
    padding: 1.875rem 0;
    height: 400px;
    color: rgba(255, 255, 255, .9);
    line-height: 1.6875em;
    background: #ddd 50% 50% no-repeat;
    background-size: cover;
}

.category-header .breadcrumb, .category-header .breadcrumb a, .category-header .breadcrumb > li + li:before, .category-header .breadcrumb > .active {
    color: rgba(255, 255, 255, .9);
}

.category-header .breadcrumb {
    margin-bottom: 3.75rem;
    opacity: 1;
}

.category-header .page-h1 {
    margin: 0 0 1.875rem;
    font-size: 3.125rem;
    letter-spacing: initial;
    text-align: left;
}

/* ==========================================================================
   Products
   ========================================================================== */

.products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-bottom: 2rem;
}

a.products-item {
    position: relative;
    display: block;
    color: #000;
    font-size: .92rem;
    text-decoration: none;
    background: #fff;
    border-radius: .5rem;
    overflow: hidden;
    cursor: pointer;
}

.products-main {
    display: grid;
    grid-template-columns: 1fr;
    gap: .5em;

    position: relative;
    padding-bottom: 1rem;
    overflow: hidden;
}

.products-photos {
    min-width: 100%;
}

.products-photos img {
    aspect-ratio: 360 / 250 !important;
    background: #fff;
    object-fit: cover;
}

.products-photos .owl-dots {
    display: none;
}

.products-title {
    padding: 0 1.5rem;
    height: 2.3em;
    font-size: 1.25rem;
    font-weight: bold;
}

.products-title2 {
    padding: 0 1.5rem;
    font-size: .875rem;
    line-height: 1.5;
}

.products-price {
    margin-top: .5rem;
    padding: 0 1.5rem;
    font-size: 1.5em;
}

.products-price span {
    white-space: nowrap;
}

.products-old-price {
    display: inline-block;
    margin-right: .25rem;
    color: #928076;
    text-decoration: line-through;
}

.products-colors {
    color: #928076;
    font-size: .875rem;
    text-decoration: underline;
    text-align: center;
}

.products-item .products-old-price--hover {
    display: none;
}

.products-item:hover .products-old-price--hover {
    display: inline-block;
}

.products-actions {
    display: flex;
    justify-content: stretch;
    flex-wrap: wrap;
    gap: .25em;

    margin: .5rem 0;
    padding: 0 1.5rem;

    & > * {
        flex: 1;
    }
}

.products-actions .btn {
    padding: 1em .5em;
    font-size: .875rem;
    box-shadow: 0 15px 30px -10px rgba(0, 11, 48, .2);
}

.products-actions * + * {
    margin-left: .25em;
}

.product-view-content {
    font-size: .875em;

    table td {
        padding: .25em;
    }
}

.products-adds {
    display: none;
    position: absolute;
    left: 0;
    width: 100%;
    padding: 0 1rem 1rem;
    background: #fff;
    box-shadow: 0 1em 1em 0 rgba(206, 207, 206, .2);
}

.products-adds-pre {
    height: 100%;
}

.products-item:hover .products-main {
    box-shadow: 0 0 1em 0 rgba(206, 207, 206, .2);
}

.products-item:hover .products-adds {
    display: initial;
    z-index: 2;
}

.products-corner {
    display: flex;
    gap: 5px;

    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
}

.corner-item, .left-corner {
    padding: 2px 3px;
    color: #fff;
    font-size: .875rem;
    line-height: 1em;
    letter-spacing: .02em;
    background: #928076;
}

.left-corner {
    position: absolute;
    top: 0;
    left: 0;
}

.corner-discount, .corner-memory_foam {
    display: none;
}

.products-item:hover .corner-discount, .products-item:hover .corner-memory_foam {
    display: block;
}

.product-view {
    margin-top: 1rem;
}

.product-sides {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: auto 1fr;
    grid-template-areas:
        "p-photos p-h1"
        "p-photos p-text";
    column-gap: 2.5rem;
    row-gap: 1rem;

    margin: 0 auto 3rem;
}

.product-sides h1, .product-sides h2 {
    font-weight: normal;
    text-align: left;
    text-transform: none;
}

.product-sides h1 {
    font-size: 2.125rem;
}

.product-thumbs img {
    margin-bottom: .875rem;
    width: 70px;
    aspect-ratio: 1;
    opacity: .7;
    cursor: pointer;
}

.product-thumbs img.current {
    opacity: 1;
}

.product-h1 {
    grid-area: p-h1;

    margin: 0;
    font-size: 2.125rem;
    text-decoration: none;
}

.product-photos-side {
    grid-area: p-photos;
}

.product-photos-wrapper {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 1.25rem;
}

.product-photos, .product-thumbs {
    min-width: 100%;
}

.product-photos img {
    aspect-ratio: 1;
}

.product-thumbs {
    position: relative;
}

.product-thumbs-inner {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    overflow-y: auto;
}

.product-thumbs-inner::-webkit-scrollbar {
    width: 1px;
}

.product-thumbs-inner::-webkit-scrollbar-track {
    background: #fff;
}

.product-thumbs-inner::-webkit-scrollbar-thumb {
    background-color: #cecfce;
}

.product-text-side {
    grid-area: p-text;
}

.product-price {
    margin-bottom: 2.5rem;
    font-size: 1.5rem;
    line-height: 1em;
    font-weight: bold;
}

.product-old-price {
    color: #928076;
    font-size: 1.125rem;
    text-decoration: line-through;
}

.product-avail {
    margin-bottom: 2.5rem;
    font-size: .875rem;
    font-weight: bold;
}

.product-h2 {
    margin-bottom: .7em;
    font-size: 1.375rem;
}

.product-params {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 2rem;
    row-gap: .5rem;

    margin-bottom: 2rem;
}

.product-params i {
    font-style: normal;
}

.product-buttons {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
        "btn-buy btn-favorite"
        "btn-3d btn-3d";
    gap: .625rem;

    margin: 1.5rem 0;
}

.btn-buy {
    grid-area: btn-buy;
}

.btn-only-order {
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.btn-favorite {
    grid-area: btn-favorite;
}

.btn-3d {
    grid-area: btn-3d;
}

.btn-square {
    padding: 0.737rem 0 !important;
    width: 2.85rem;
}

.product-adds-item {
    display: grid;
    grid-template-columns: 1fr max-content;
    align-items: center;

    margin-bottom: .5rem;
    padding: .25rem .5rem;
    font-size: .875rem;
    border: 1px solid #cecfce;
}

.product-adds-item a {
    color: #4b4b4b;
}

.product-adds-count {
    display: flex;
    align-items: center;
}

.product-adds-count input {
    padding: 2px;
    font-size: .875rem;
    text-align: center;
    border-color: transparent;
}

.product-other-h1 {
    margin-top: 1.5em;
    font-size: 1.75rem;
}

.product-other-photos .products-title {
    font-size: 1.2rem;
}

.product-other-photos .products-price {
    font-size: 1.4em;
}

.product-other-photos .products-item {
    margin: 1rem;
}

.product-add-form label {
    margin-right: .25rem;
}

.group-number-input {
    display: inline-flex;
    justify-content: stretch;
    align-items: stretch;

    border: 1px solid #777;
    border-radius: .5em;
    overflow: hidden;
}

.group-number-input > * {
    height: 2.5em;
    width: 2.5rem;
    font-size: 1rem;
    line-height: 1em;
    font-weight: bold;
    text-align: center;
    background: #fff;
    border: 0;
}

.number-input {
    padding: .5rem 1.5rem;
    text-align: center;
    border: 1px solid #cecfce;
    outline: none;
}

.lg-rotate-right, .lg-rotate-left, .lg-flip-hor, .lg-flip-ver, #lg-share, #lg-actual-size, .lg-fullscreen, .lg-autoplay-button {
    display: none;
}

/* ==========================================================================
   Materials
   ========================================================================== */

.materials {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.material {
    font-size: .875rem;
    text-align: center;
}

.material--photos {
    margin-bottom: .5rem;
}

.material--code {
    margin-bottom: .1rem;
    text-align: center;
}

.material--price {
    font-weight: bold;
    text-align: center;
}

/* ==========================================================================
   Filter form
   ========================================================================== */

#product-filter-form, .filter-filters {
    column-gap: 2.5rem;
}

#product-filter-form {
    display: grid;
    grid-template-columns: auto 4fr 1fr auto 2fr;

    margin: 0 0 3.75rem;
    border-top: 1px solid #cecfce;
    border-bottom: 1px solid #cecfce;
}

#product-filter-form > * {
    min-width: 0;
}

.filter-h1 {
    padding: 1.25rem 0;
    font-size: 1.125rem;
    font-weight: bold;
    text-transform: uppercase;
}

.filter-filters {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.filter-filters > .filter-group:not(:nth-child(1), :nth-child(2)) {
    display: none;
}

.filter-filters.open > .filter-group {
    display: initial;
}

.js-filter-toggle > span:nth-child(2) {
    display: none;
}

.js-filter-toggle.open > span:nth-child(1) {
    display: none;
}

.js-filter-toggle.open > span:nth-child(2) {
    display: initial;
}

.filter-more-filters {
    padding: 1.25rem 0;
}

.filter-more-filters a {
    color: #4b4b4b;
    font-size: .875rem;
    text-decoration: underline;
}

.filter-more-mobile {
    display: none;
}

.filter-group {
    position: relative;
    margin: .75rem 0;
}

.filter-label {
    padding: .4rem 2rem .4rem .625rem;
    width: 100%;
    height: auto;
    font-size: 1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    background: url(/files/site/select-arrow.svg) calc(100% - .625rem) 50% no-repeat;
    border: 1px solid #cecfce;
    border-radius: 0;
    cursor: pointer;
    user-select: none;
}

.filter-popup {
    display: none;
    position: absolute;
    left: 0;
    margin-top: -1px;
    padding: 1.25rem 1.25rem .25rem;
    min-width: 100%;
    max-height: 27em;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #cecfce;
    z-index: 2;
}

.filter-label.open + .filter-popup {
    display: block;
}

.filter-popup .radio {
    white-space: nowrap;
}

.filter-popup .radio a {
    color: #4b4b4b;
}

#product-filter-form > :last-child .filter-popup {
    left: auto;
    right: 0;
}

.filter-radio label {
    display: block;
    margin: 0 0 1rem;
}

.filter-radio input {
    margin-right: .35em;
}

.filter-inline, .filter-inline .form-group {
    display: flex;
    align-items: center;
}

.filter-inline {
    gap: 1rem;
}

.filter-inline label {
    margin-right: .5rem;
}

.filter-tips {
    margin-top: 1rem;
    font-size: .875rem;
    line-height: 1;
    font-style: italic;
}

.filter-color {
    position: relative;
    top: 2px;
    display: inline-block;
    margin-right: .4em;
    padding: .45em;
}

/* ==========================================================================
   Products gallery
   ========================================================================== */

.products-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 25px;

    clear: both;
    box-sizing: border-box;
}

.products-gallery > a:hover, .products-gallery > a:active {
    opacity: .7;
}

.products-gallery > a > img {
    width: 100%;
    height: auto;
}

/* ==========================================================================
   Basket
   ========================================================================== */

.basket-row, .order-row {
    display: grid;
    grid-template-columns: minmax(100px, 1fr) 3fr 1fr 1fr 1fr 20px;
    grid-template-areas: "bc1 bc2 bc3 bc4 bc5 bc6";
    align-items: center;
    gap: 1rem;

    position: relative;
}

.basket-row {
    margin: .7rem 0;
    padding: .7rem 0;
    border-bottom: 1px solid #cecfce;
}

.order-row .field-agreement {
    font-size: .9rem;
}

.basket-c1 {
    grid-area: bc1;
    position: relative;
    text-align: center;
}

.basket-c1 img {
    max-width: 100px;
    aspect-ratio: 1;
}

.basket-c1-corner {
    display: flex;

    position: absolute;
    top: -1rem;
    right: 0;
    font-size: 1.125rem;
    font-weight: bold;
    z-index: 1;
}

.basket-corner-discount {
    color: #ff7900;
}

.basket-corner-limited {
    color: #5eb023;
}

.basket-c2 {
    grid-area: bc2;
}

.basket-grid .basket-c2 a {
    color: #4b4b4b;
}

.basket-c3 {
    grid-area: bc3;
    text-align: center;
}

.basket-c4 {
    grid-area: bc4;
    text-align: center;
}

.basket-c5 {
    grid-area: bc5;
    text-align: center;
}

.basket-c6 {
    grid-area: bc6;
    text-align: right;
}

.basket-delete {
    display: block;
    padding: .25rem .5rem;
    color: #ff7900;
    text-align: center;
}

.basket-summary {
    margin: 1.5rem 0;
    text-align: right;
}

.basket-summary-grid {
    display: inline-grid;
    grid-template-columns: auto auto;
    grid-gap: .5rem;

    font-size: 1.25rem;
}

.basket-summary-c2 {
    color: #ff7900;
    font-weight: bold;
}

.basket-summary-c3 {
    grid-column: span 2;
    font-size: .875em;
    text-align: right;
}

.basket-promo-code {
    margin: 1.5rem 0;
    text-align: right;
}

/* ==========================================================================
   Sale orders
   ========================================================================== */

.order-sale-item {
    text-align: center;
}

.order-sale-header {
    margin-bottom: .75em;
    font-size: 2.125rem;
    letter-spacing: initial;
    line-height: 1.25em;
}

.order-sale-header p {
    margin-bottom: .5em;
}

.order-sale-header2 {
    font-size: 1.125rem;
}

.order-sale-buttons {
    margin-top: 2rem;
}

.payment-link-block {
    margin: 3.75rem auto;
    padding: 1.875rem;
    max-width: 24.5rem;
    font-size: 1.125rem;
    border: 1px solid #cecfce;
}

.payment-link-a {
    text-align: center;
}

.payment-link-a a {
    min-width: 20.625rem;
}

.payment-link-block > :last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   Order history
   ========================================================================== */

.history-table {
    width: 100%;
    font-size: .875rem;
}

.history-table td {
    padding: 1rem 1rem 0;
    vertical-align: top;
    border-bottom: 1px solid #cecfce;
}

.history-table thead td {
    padding-bottom: .25rem;
}

.history-table td:not(:first-child) {
    text-align: center;
}

/* ==========================================================================
   Faq
   ========================================================================== */

.faq-items {
    .faq-item {
        background: #fff;
        border-radius: 1em;

        & + .faq-item {
            margin-top: .2em;
        }

        .faq-question {
            position: relative;
            padding: 1.5rem 4rem 1.5rem 2rem;
            font-size: 1.5em;
            font-weight: bold;
            cursor: pointer;
        }

        .faq-answer {
            display: none;
            padding: 0 2rem 1.5rem;
        }

        .faq-toggle {
            content: '';
            position: absolute;
            top: 50%;
            right: 1rem;
            width: 40px;
            height: 40px;
            background: #f7f7f7;
            border-radius: 50%;
            transform: translateY(-50%);
            transition: background ease-in-out 0.2s;
            cursor: pointer;

            &:after {
                content: '';
                position: absolute;
                top: 8px;
                left: 8px;
                display: block;
                width: 24px;
                height: 24px;
                background: url(/files/site/toggle.svg) center center no-repeat;
                transition: all ease-in-out 0.2s;
            }
        }

        &:hover .faq-toggle {
            background: #fe7f27;

            &:after {
                background-image: url(/files/site/toggle2.svg);
            }
        }

        &.open {
            .faq-toggle {
                &:after {
                    transform: rotate(-45deg);
                }
            }
        }
    }
}

/* ==========================================================================
   Old styles
   ========================================================================== */

.user-accordion {
    margin: 0 0 1em
}

.user-accordion-a {
    display: inline-block;
    text-decoration: underline;
    cursor: pointer;
    color: #585858;
    font-size: 20px
}

.user-accordion-text {
    display: none
}

/* ==========================================================================
   OwlCarousel
   ========================================================================== */

.owl-stage {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

.owl-carousel .owl-stage:after {
    content: '';
}

.owl-dots {
    position: absolute;
    bottom: 1.5rem;
    left: 0;
    width: 100%;
    text-align: center;
    pointer-events: none;
}

.owl-carousel button.owl-dot {
    margin: 0 .4375rem;
    width: .625rem;
    height: .625rem;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(0, 0, 0, .5);
    opacity: .5;
    pointer-events: auto;
}

.owl-carousel button.owl-dot.active {
    opacity: .9;
}

.owl-nav {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.owl-carousel .owl-nav button.owl-prev, .owl-carousel .owl-nav button.owl-next {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;

    padding: 0 .8rem !important;
    opacity: .5;
    pointer-events: auto;
}

.owl-carousel .owl-nav button.owl-next {
    left: auto;
    right: 0;
}

.owl-carousel .owl-nav button.owl-prev.disabled, .owl-carousel .owl-nav button.owl-next.disabled {
    display: none;
    cursor: default;
}

.owl-carousel .disabled * {
    cursor: default;
}

.owl-carousel .owl-nav button.owl-prev:hover, .owl-carousel .owl-nav button.owl-next:hover {
    opacity: 1;
}

.owl-carousel .owl-nav button {
    outline: none;
}

.owl-carousel .owl-nav button > * {
    position: relative;
    top: -.25rem;
}

.owl-theme2 {
    position: relative;
    margin: 0 1rem;
    width: auto;
}

.owl-theme2 .owl-nav button.owl-prev, .owl-theme2 .owl-nav button.owl-next {
    top: 0;
    left: -1.5rem;

    padding: 0 1rem 0 0 !important;
    color: #4b4b4b;
    font-size: 3rem;
    text-shadow: none;
}

.owl-theme2 .owl-nav button.owl-next {
    padding: 0 0 0 1rem !important;
    left: auto;
    right: -1.5rem;
}

.owl-theme2 .owl-nav button.owl-prev.disabled, .owl-theme2 .owl-nav button.owl-next.disabled {
    display: initial;
    opacity: .1;
}

/* ==========================================================================
   Light gallery
   ========================================================================== */

.lg-outer .lg-thumb-outer {
    box-shadow: 0 0 6px -3.5px rgba(0, 0, 0, 0.25) inset;
}

.lg-sub-html {
    color: #333 !important;
}

.lg-sub-html a {
    color: #2f2f2f !important;
}

.lg-backdrop {
    background-color: #fff;
}

.lg-backdrop {
    background-color: #fff;
}

.lg-thumb-item.active, .lg-thumb-item:hover {
    border-color: #333;
}

.lg-progress-bar {
    background-color: #999;
}

.lg-progress-bar .lg-progress {
    background-color: #333;
}

.lg-outer .lg-thumb-outer {
    background-color: #fcfcfc;
}

.lg-actions .lg-next, .lg-actions .lg-prev {
    background-color: rgba(0, 0, 0, 0.03);
    color: #444;
}

.lg-actions .lg-next:hover, .lg-actions .lg-prev:hover {
    color: #000;
}

.lg-actions .lg-next:focus, .lg-actions .lg-prev:focus {
    outline: none;
    box-shadow: none;
}

.lg-toolbar {
    background-color: #fcfcfc;
}

.lg-toolbar .lg-icon {
    color: #555;
}

.lg-toolbar .lg-icon:hover {
    color: #000;
}

.lg-counter {
    color: #555;
}

.lg-outer .lg-thumb-item.active, .lg-outer .lg-thumb-item:hover {
    border-color: #333;
}

.lg-outer .lg-toogle-thumb {
    background-color: #fcfcfc;
}

.lg-outer .lg-toogle-thumb:hover {
    color: #000;
}

/* ==========================================================================
   Jui slider
   ========================================================================== */

.noUi-target {
    background: none;
    border-radius: 0;
    border: 0;
    box-shadow: none;
}

.noUi-connects {
    top: .4em;
    height: 1px;
    background: #cecfce;
    overflow: visible;
}

.noUi-connect {
    top: -1px;
    height: 3px;
    background: #313031;
}

.noUi-horizontal .noUi-handle-lower {
    right: -.9em;
}

.noUi-horizontal .noUi-handle-upper {
    right: 0;
}

.noUi-horizontal .noUi-handle {
    top: -0.05em;
    width: .9em;
    height: .9em;
    background: #313031;
    border: none;
    border-radius: 50%;
    box-shadow: none;
}

.noUi-handle:before, .noUi-handle:after {
    display: none;
}

/* ==========================================================================
   Other
   ========================================================================== */

.text-center {
    text-align: center !important;
}

.text-small {
    font-size: .875rem !important;
}

.text-big {
    font-size: 1.125rem !important;
}

.no-items {
    margin: 6.25rem 0;
    font-size: 1.125rem !important;
    text-align: center;
}

a.link-sm {
    color: #4b4b4b;
    font-size: .875rem;
    text-decoration: underline;
}

a.link-sm:hover {
    opacity: .85;
}

.black-box {
    margin-bottom: 2.5rem;
    padding: 1.625rem;
    font-size: .875rem;
    line-height: 2em;
    background: #303030;
}

.black-box, .black-box a {
    color: #fff;
}

.rounded {
    display: inline-block;
    width: 1.7em;
    height: 1.7em;
    color: #fff;
    font-size: 1.2em;
    font-weight: bold;
    text-align: center;
    place-content: center;
    background: #000;
    border-radius: 50%;
}

.list-checked {
    list-style: none;
}

.list-checked li {
    padding-left: 3em;
    background: 0 0 url(/files/site/select-arrow2.svg) no-repeat;
    background-size: 30px;
}

.list-checked li + li {
    margin-top: 2em;
}

.place-center {
    text-align: center;
    place-content: center;
}

.bg-black, .box-white, .box-black, .box-black2 {
    padding: 5em 0;
    background: #101010;

    &, & a {
        color: #fff;
    }

    & > :first-child {
        margin-top: 0;
    }

    & > :last-child {
        margin-bottom: 0;
    }
}

.box-white, .box-black, .box-black2 {
    position: relative;
    padding: 1.5em;
    border-radius: .5em;
}

.box-white {
    background: #fff;
    border: 1px solid #e0e0e0;

    &, & a {
        color: initial;
    }
}

.box-black2 {
    background: #212121;
}


/* ==========================================================================
   Grid
   ========================================================================== */

.g {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 2rem;
}

.g-mb {
    margin-bottom: 1.25rem;
}

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

.g-gap-2 {
    gap: 2.5rem;
}

.g-gap-3 {
    gap: .625rem;
}

.g-gap-0 {
    gap: 0 !important;
}

.g-relative > div {
    position: relative;
}

.g-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.g-h2 {
    grid-column: span 2;
}

.g-h3 {
    grid-column: span 3;
}

.g-h4 {
    grid-column: span 4;
}

.g-h5 {
    grid-column: span 5;
}

.g-h6 {
    grid-column: span 6;
}

.g-h7 {
    grid-column: span 7;
}

.g-h8 {
    grid-column: span 8;
}

.g-h9 {
    grid-column: span 9;
}

.g-h10 {
    grid-column: span 10;
}

.g-h11 {
    grid-column: span 11;
}

.g-h12 {
    grid-column: span 12;
}

.g-v2 {
    grid-row: span 2;
}

.g-v3 {
    grid-row: span 3;
}

.g-v4 {
    grid-row: span 4;
}

.g-v5 {
    grid-row: span 5;
}

.g-v6 {
    grid-row: span 6;
}

.g-v7 {
    grid-row: span 7;
}

.g-v8 {
    grid-row: span 8;
}

.g-v9 {
    grid-row: span 9;
}

.g-v10 {
    grid-row: span 10;
}

.g-v11 {
    grid-row: span 11;
}

.g-v12 {
    grid-row: span 12;
}

.g-ha1 {
    justify-content: center;
}

.g-ha2 {
    justify-content: flex-end;
}

.g-va1 {
    align-items: center;
}

.g-va2 {
    align-items: flex-end;
}

@media (max-width: 992px) {
    .g {
        gap: 1.2rem;
    }

    .g-h1 {
        grid-column: span 3;
    }

    .g-h2 {
        grid-column: span 4;
    }

    .g-h3, .g-h4, .g-h5, .g-h6 {
        grid-column: span 6;
    }

    .g-h7, .g-h8, .g-h9, .g-h10, .g-h11, .g-h12 {
        grid-column: span 12;
    }
}

@media (max-width: 539px) {
    .g {
        gap: 1rem;
    }

    .g-gap-1 {
        gap: .8rem;
    }

    .g-gap-2 {
        gap: 1.5rem;
    }

    .g-h1, .g-h2 {
        grid-column: span 6;
    }

    .g-h3, .g-h4, .g-h5, .g-h6, .g-h7, .g-h8, .g-h9, .g-h10, .g-h11, .g-h12 {
        grid-column: span 12;
    }

    .g-response-2 .g-h3, .g-response-2 .g-h4 {
        grid-column: span 6;
    }

    .gs-order-0 {
        order: 0;
    }

    .gs-order-1 {
        order: 1;
    }

    .gs-order-2 {
        order: 2;
    }

    .gs-order-3 {
        order: 3;
    }

    .gs-order-4 {
        order: 4;
    }

    .gs-order-5 {
        order: 5;
    }

    .gs-order-6 {
        order: 6;
    }

    .gs-order-7 {
        order: 7;
    }

    .gs-hide {
        display: none;
    }
}

/* ==========================================================================
   Media queries
   ========================================================================== */

@media (min-width: 2000px) {
    .user_cookie_consent > div {
        margin: 1.5rem;
    }
}

@media (min-width: 1360px) {
    .owl-theme2 {
        margin: 0 -1rem;
    }
}


@media (max-width: 1200px) {
    .header-logo-text, .header-social {
        display: none;
    }

    .order-row {
        grid-template-columns: 1fr;
        grid-template-areas: "bc2";
    }
}

@media (min-width: 992px) {
    .modal-lg {
        width: 1000px;
    }

    .header-pre-menu {
        display: none;
    }

    .toggle-menu {
        margin-top: 0 !important;
    }

    .category-layout {
        padding-top: 0;
    }

    .category-layout .page-h1, .category-layout .breadcrumb {
        display: none;
    }

    .category-layout .category-header .page-h1, .category-layout .category-header .breadcrumb {
        display: block;
    }
}

@media (max-width: 991px) {
    .header-map {
        display: none;
    }

    .nav-tabs > li.active > a:after, .nav-tabs > li.active > a:hover:after, .nav-tabs > li.active > a:focus:after {
        border-top-width: 3px;
    }

    body.open-menu {
        overflow: hidden;
    }

    .header-pre-menu {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 1em;

        width: 100%;
        text-align: center;
    }

    .header-menu > li > a, .header-menu > li > span {
        font-size: 1rem;
    }

    .menu-toggle {
        display: block;
    }

    .toggle-menu {
        display: none;
        position: fixed;
        left: 0;
        top: 0;
        bottom: 0;
        margin-top: 1px;
        padding: .5rem 0;
        width: 100%;
        background: #fff;
        overflow-y: auto;
        overscroll-behavior-y: contain;
        z-index: 2;
    }

    .toggle-menu.open {
        display: block;
    }

    .main-menu, .main-menu a {
        color: #303030;
    }

    .main-menu > li {
        padding: 1.2rem;
    }

    .header-menu > li > a, .header-menu > li > span, .header-menu > li > ul a, .header-menu > li > ul span {
        padding: .7em 1.2rem;
        color: #333;
        font-size: 1rem;
        line-height: 1em;
        text-align: left;
    }

    .header-menu > li > ul {
        position: relative;
        display: block;
        margin: 0 0 0 1.25rem;
        padding: 0;
        font-size: 1rem;
        background: #fff;
    }

    .header2 {
        grid-template-columns: 1fr;
    }

    .salon {
        grid-template-columns: 1fr;
        grid-template-areas:
            "salon-title"
            "salon-photos"
            "salon-text";
    }

    .model-range-items {
        grid-template-columns: 1fr 1fr;
    }

    .designer {
        grid-template-columns: 1fr;
    }

    .designer__title {
        order: 1;
    }

    .designer__slides {
        order: 2;
    }

    .user-main {
        display: grid;
        grid-template-columns: 1fr;
    }

    .products {
        grid-template-columns: repeat(2, 1fr);
    }

    .corner-item {
        font-size: .75rem;
    }

    .materials {
        grid-template-columns: repeat(3, 1fr);
    }

    .product-sides {
        max-width: none;
    }

    .product-add-form {
        width: 100%;
    }

    #product-filter-form, .filter-filters {
        column-gap: 1rem;
    }

    .category-header {
        display: none;
    }
}

@media (min-width: 768px) {
    .modal-dialog {
        min-width: 670px;
    }
}

@media (max-width: 767px) {
    .header-email {
        display: none;
    }

    h1, .page-h1, .product-h1, .form-title, .modal-body .page-h1 {
        margin-top: 0;
        font-size: 2rem;
    }

    .modal-body {
        padding: 1rem 1.5rem;
    }

    .text-center-mobile {
        text-align: center !important;
    }

    .width-wrap, .width-wrap-small, .header2, .header3 {
        padding-left: .8rem;
        padding-right: .8rem;
    }

    .footer {
        padding-bottom: 2rem;
    }

    .footer1, .footer2 {
        padding: 1.66rem 0;
    }

    .footer1 {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .footer1 > :empty {
        display: none;
    }

    .footer1-menu li {
        display: inline-block;
        vertical-align: top;
    }

    .footer1-menu {
        margin: 0 auto 2rem;
    }

    .footer1-menu li {
        display: block;
    }

    .footer2 {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        text-align: center;
    }

    .footer-actions {
        display: flex;
    }

    .start-banners {
        margin-bottom: 1.5rem;
    }

    .start-banner__img, .start-banner__video {
        display: none !important;
    }

    .start-banner__img2, .start-banner__video2 {
        display: initial !important;
        aspect-ratio: 1;
        object-fit: cover;
    }

    .start-banner__title {
        font-size: 2rem;
    }

    .start-banners .owl-dots {
        display: none;
    }

    .products {
        grid-template-columns: 1fr;
    }

    .model-range-items {
        grid-template-columns: 1fr;
    }

    .restaurant {
        grid-template-columns: 1fr;
    }

    .restaurant__photo {
        grid-row: auto;
        order: 4;
    }

    #product-filter-form {
        grid-template-columns: 1fr 3fr;
        grid-template-areas: 'filter-more-filters filter-sort'
            'filter-filters filter-filters';
        padding: .5rem 0;
    }

    .filter-h1 {
        display: none;
    }

    .filter-more-filters {
        grid-area: filter-more-filters;
    }

    .filter-more {
        display: none;
    }

    .filter-more-mobile {
        display: initial;
    }

    .filter-sort {
        grid-area: filter-sort;
    }

    .filter-filters {
        grid-area: filter-filters;

        grid-template-columns: 1fr;
        display: none;
        padding: .5rem 0;
    }

    .filter-filters.open {
        display: grid;
    }

    .filter-filters > .filter-group {
        display: initial !important;
    }

    .filter-popup {
        left: auto;
        right: 0;
    }

    .product-sides {
        grid-template-columns: 1fr;
        grid-template-areas:
            "p-h1"
            "p-photos"
            "p-text";
        row-gap: 1.5rem;

        max-width: none;
    }

    .product-price {
        margin-bottom: 1.5rem;
    }

    .basket-grid {
        border-top: 1px solid #cecfce;
    }

    .basket-row {
        grid-template-columns: repeat(3, 1fr);
        grid-template-areas:
                "bc1 bc1 bc1"
                "bc2 bc2 bc2"
                "bc3 bc4 bc5";
    }

    .basket-head-row {
        display: none;
    }

    .basket-c1 img {
        max-width: 180px;
    }

    .basket-c1-corner {
        top: -1rem;
        left: 0;
    }

    .basket-c3 {
        text-align: left;
    }

    .basket-c5 {
        text-align: right;
    }

    .basket-c6 {
        position: absolute;
        top: 0;
        right: 0;
        z-index: 1;
    }

    .xs-label {
        display: block;
    }

    .service-items {
        grid-template-columns: 1fr;
    }

    .user_cookie_consent {
        right: 0;
        bottom: 30px;

        > div {
            grid-template-columns: 1fr;
            margin: 1.5rem;
        }
    }
}

@media (max-width: 539px) {
    .product-photos-wrapper, .gallery-photos-wrapper {
        grid-template-columns: 1fr;
    }

    .product-thumbs, .gallery-thumbs {
        display: none;
    }

    html, body {
        font-size: 13px;
    }

    body * {
        scroll-margin-top: 120px;
    }

    h1 {
        font-size: 3rem;
        font-weight: bold;
    }

    h2 {
        font-size: 2.5rem;
        font-weight: bold;
    }

    h3 {
        font-size: 1.4rem;
    }

    h4 {
        font-size: 1.1rem;
    }

    h5 {
        font-size: 1rem;
    }

    h6 {
        font-size: 1rem;
    }

    .page-h1, h1 {
        margin: 0 0 2.5rem;
        font-size: 2.25rem;
        text-decoration: none;
    }

    .main {
        margin-top: 146px;
    }

    .header-phone {
        font-size: 1rem;
    }

    .start-banner__title {
        font-size: 1.5rem;
    }

    .start-banners {
        font-size: .6rem;
    }

    .footer1 .g-h9 img {
        width: 140px;
    }
}
