/**
 * Upcreators
 * Upcreators is the template for Agency, Streamers, Shop, Blog, Portfolio, Events, etc
 * Exclusively on https://1.envato.market/upcreators-html
 *
 * @encoding        UTF-8
 * @version         1.0.0
 * @copyright       (C) 2018 - 2022 Merkulove ( https://merkulov.design/ ). All rights reserved.
 * @license         Envato License https://1.envato.market/KYbje
 * @contributors    Lilith Lamber (winter.rituel@gmail.com)
 * @support         help@merkulov.design
 **/
:root {
    --app-height: 100%;
}

// --- scrollbar styling ---

/* Firefox */
* {
    scrollbar-width: auto;
    scrollbar-color: $accent $black;
}

/* Chrome, Edge, and Safari */
*::-webkit-scrollbar {
    width: 4px;
}

*::-webkit-scrollbar-track {
    background: $black;
}

*::-webkit-scrollbar-thumb {
    background-color: $accent;
}


// --- custom cursor styling ---

* {
    cursor: none !important;
}

.cursor {
    visibility: hidden;
    display: none;
    border-radius: 50%;
    transition: width .3s ease-in-out, height .3s ease-in-out, background-color .3s ease-in-out;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 10000000;

    &_lottie {
        width: 100%;
        height: 100%;
        margin-top: -2px;
        transition: opacity .3s ease-in-out;
        opacity: 0;
    }

    &.visible {
        display: block;
    }

    &--normal {
        width: 20px;
        height: 20px;
        background-color: rgba($accent, .7);
        border: 1px solid $black;
    }

    &--link {
        width: 40px;
        height: 40px;
        background-color: rgba(#fff, .7);
    }

    &--eye {
        width: 50px;
        height: 50px;
        @include centerCol;

        .cursor_lottie {
            opacity: 1;
            position: relative;
            right: -1px;
        }
    }
}


// --- global template styles ---

html {
    &.fixed {
        overflow: hidden;
    }

    &.swal2-shown {
        padding: 0 !important;
    }
}

body {
    font-family: 'Archivo', sans-serif;
    color: $black;
    font-size: 16px;
    line-height: 1.6;
    position: relative;
    min-height: 100vh;
}

.section {
    padding: 80px 0;

    &_nav {
        display: flex;
        flex-direction: column;

        &-title, &-controls {
            display: flex;
            align-items: center;
            gap: 10px;
            line-height: 1;
        }

        &-title {
            margin-bottom: 10px;
        }

        &-controls {
            font-size: 20px;

            &_btns {
                display: flex;
                margin-top: 1px;

                .link {
                    &:first-of-type {
                        margin-right: 30px;
                    }

                    &:hover, &:focus {
                        color: $accent;
                    }
                }

            }
        }
    }
}


// --- typography ---

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1.2;
}

h1, .h1 {
    font-size: 42px;

    &.extra {
        font-size: 48px;
    }
}

h2, .h2 {
    font-size: 24px;
    line-height: 1.3;
}

h3, .h3 {
    font-size: 21px;
}

h4, .h4 {
    font-size: 17px;
}

h5, .h5 {
    font-size: 14px;
    line-height: 1.3;
}

h6, .h6 {
    font-size: 12px;
    line-height: 1.3;
}

.quote {
    quotes: none;
    font-weight: 500;
    font-style: italic;
}

.outlined {
    color: transparent;

    &--white {
        -webkit-text-stroke: 2px #fff;
        text-stroke: 2px #fff;
    }

    &--black {
        -webkit-text-stroke: 2px $black;
        text-stroke: 2px $black;
    }
}

.stripe-text {
    line-height: 1;
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
    width: fit-content;

    &--white {
        background: #fff;
        color: $black;

        span {
            background: #fff;
        }
    }

    &--black {
        background: $black;
        color: #fff;

        span {
            background: $black;
        }
    }
}


// --- main UI elements ---

.btn {
    border-radius: 2px;
    height: 46px;
    font-weight: 700;
    font-size: 14px;
    line-height: 1;
    color: $black;
    padding: 10px 40px;
    border: 2px solid transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;

    &--outline {
        border: 2px solid $black;
    }

    &--accent {
        background: $accent;
        border-color: $accent;
    }

    &--white {
        background: #fff;
        border-color: #fff;

        &:hover, &:focus {
            background: $accent;
            border-color: $accent;
        }
    }

    &--black {
        background: $black;
        border-color: $black;
        color: #fff;

        &:hover, &:focus {
            color: $black;
            background: transparent;
        }
    }

    &--hover-o {
        &:hover, &:focus {
            background: transparent;
            border-color: #fff;
            color: #fff;
        }
    }

    &--hover-black {
        &:hover, &:focus {
            background: $black;
            border-color: $black;
            color: #fff;
        }
    }

    &--arrow {
        position: relative;

        .icon {
            position: absolute;
            transition: .3s ease-in-out;
            right: 40px;
            opacity: 0;
            color: $black;
        }

        &:hover, &:focus {
            padding-right: 60px;

            .icon {
                opacity: 1;
            }
        }
    }

    &--shop {
        gap: 20px;
        padding: 10px 0;
    }
}

.link {
    &--underline {
        @include underlinedLink($black);
    }

    &--brackets {
        position: relative;

        &:not(.current) {
            left: -5px;
        }

        &:before, &:after {
            position: relative;
            top: -1px;
            visibility: hidden;
            opacity: 0;
            transition: .3s ease-in-out;
        }

        &:before {
            content: '[';
        }

        &:after {
            content: ']';
        }

        &:hover, &:focus, &.current {
            left: 0;

            &:before, &:after {
                visibility: visible;
                opacity: 1;
            }

            &:before {
                padding-right: 2px;
            }

            &:after {
                padding-left: 2px;
            }
        }
    }
}

.field {
    background: #fff;
    border: 1px solid $black;
    color: $black;
    border-radius: 2px;
    height: 46px;
    padding: 4px 20px;
    transition: .2s linear;

    &.error {
        border-color: red;
    }

    &::placeholder {
        transition: opacity .3s ease-in-out;
        color: $grayText;
    }

    &:focus {
        &::placeholder {
            opacity: 0;
        }
    }
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    margin: 84px auto 0;
    padding: 0 20px;
    font-size: 12px;
    font-weight: 700;
    gap: 5px 10px;
    max-width: 1770px;

    .link {
        position: relative;
        color: $grayText;

        &:after {
            content: '/';
            position: relative;
            right: -5px;
            color: $grayText;
        }

        &:hover, &:focus {
            color: $black;
        }
    }
}

.hotspot {
    &_trigger {
        position: absolute;
        display: block;
        width: 22px;
        height: 22px;
        background: $black;
        border: 4px solid #fff;
        border-radius: 50%;
        transition: .15s ease;
        z-index: 5;

        &:hover, &:focus {
            border-width: 6px;
        }
    }

    &_content {
        position: absolute;
        max-width: 200px;
        padding: 20px;
        background: #fff;
        border: 2px solid $black;
        transition: .3s ease-in-out;
        opacity: 0;
        visibility: hidden;
        z-index: 6;

        &.visible {
            opacity: 1;
            visibility: visible;
        }

        img {
            position: static !important;
            margin-bottom: 5px;
            height: 100%;
        }

        span {
            display: block;
            font-weight: 900;
            font-size: 12px;
            text-transform: uppercase;
        }
    }
}

.meta {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;

    &_item {
        position: relative;
        font-weight: 700;
        font-size: 12px;
        color: $grayText;
        line-height: 1;

        &:not(:last-of-type) {
            padding-right: 5px;

            &:after {
                content: '/';
                right: -5px;
                position: relative;
            }
        }

        &--single {
            display: block;

            &:after {
                display: none;
                padding-right: 0;
            }
        }
    }
}

.rating {
    gap: 10px;
    color: $grayText;
    line-height: 1;

    &_stars {
        gap: 5px;
        font-size: 12px;
        line-height: 1;

        .icon-star {
            color: $black;
        }
    }
}

.qty {
    border: 1px solid $gray;
    border-radius: 2px;
    height: 46px;
    max-width: 110px;
    padding: 0 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    line-height: 1;

    &_amount {
        &-display {
            width: 30px;
            text-align: center;
            font-weight: 700;
        }
    }

    .control {
        display: flex;
        align-items: center;
    }
}

.size {
    &_input {
        display: none;

        &:checked + .size_label {
            background-color: $black;
            color: #fff;
        }
    }

    &_label {
        text-align: center;
        @include centerCol;
        height: 36px;
        border: 1px solid $grayText;
        border-radius: 2px;
        font-weight: 700;
        font-size: 12px;
        text-transform: uppercase;
        background-color: #fff;
        color: $black;
        transition: background-color .3s ease-in-out, color .3s ease-in-out;

        &:hover {
            background-color: $black;
            color: #fff;
        }
    }
}

.color {
    &_input {
        display: none;

        &:checked + .color_label {
            .color_label-text {
                color: $black;
            }

            .color_label-icon {
                .icon {
                    opacity: 1;
                }
            }
        }
    }

    &_label {
        @include centerCol;

        &:hover {
            .color_label-text {
                color: $black;
            }
        }

        &-icon {
            border-radius: 2px;
            width: 28px;
            height: 28px;
            position: relative;
            overflow: hidden;

            .icon {
                @include centerCol;
                position: absolute;
                right: 0;
                bottom: 0;
                color: #fff;
                width: 14px;
                height: 14px;
                background: $black;
                font-size: 10px;
                transition: opacity .3s ease-in-out;
                opacity: 0;
            }
        }

        &-text {
            text-transform: capitalize;
            font-weight: 700;
            font-size: 16px;
            color: #939393;
            transition: .3s ease-in-out;
        }

        &--all {
            .color_label-icon {
                border: 1px solid $gray;
            }
        }

        &--white {
            .color_label-icon {
                border: 1px solid #979797;
            }
        }

        &--black {
            .color_label-icon {
                background: $black;
            }
        }

        &--multi {
            .color_label-icon {
                background: linear-gradient(124.82deg, #2982FF -25.81%, #E7F19E 42.93%, #FFEFE6 100%);
            }
        }

        &--gray {
            .color_label-icon {
                background: #939393;
            }
        }

        &--green {
            .color_label-icon {
                background: #00A14F;
            }
        }

        &--purple {
            .color_label-icon {
                background: #BB30D1;
            }
        }

        &--blue {
            .color_label-icon {
                background: #0500FF;
            }
        }

        &--red {
            .color_label-icon {
                background: #FB4120;
            }
        }

        &--orange {
            .color_label-icon {
                background: #F1B84B;
            }
        }
    }
}

.sale {
    &_label {
        background: rgba(#fff, .7);
        @include centerCol;
        height: 36px;
        font-size: 14px;
        position: absolute;
        font-weight: 700;
        color: #FB4120;
        width: 54px;
        left: 0;
        top: 25px;
    }
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;

    &_item {
        display: flex;
        align-items: center;
        border: 1px solid $gray;
        border-radius: 16px;
        height: 28px;
        padding: 0 35px;
        font-size: 12px;
        cursor: pointer;
        font-weight: 700;
        text-transform: uppercase;
        background-color: transparent;
        transition: background-color .3s ease-in-out, color .3s ease-in-out;
        line-height: 1;

        &:hover, &:focus, &.current {
            background-color: $black;
            color: #fff;
        }

        &.white {
            &:hover, &:focus, &.current, &.active {
                background: #fff;
                color: $black;
            }
        }
    }
}

.video {
    position: relative;

    .cover {
        @include cover;
        transition: opacity .4s ease-in-out;

        img {
            height: 100%;
        }

        &.hidden {
            opacity: 0;
            visibility: hidden;
        }
    }

    iframe {
        width: 100%;
        height: 100%;
        border: none;
        display: block;
        cursor: none !important;
    }
}

.videoPopup {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 400000;
    visibility: hidden;
    transition: all .4s ease-in-out;
    background: rgba(#000, .6);
    @include centerRow;

    &.visible {
        visibility: visible;
    }

    &_frame {
        max-width: 1170px;
        margin: 0 auto;
        background: #fff;
        padding: 20px;
        min-height: 300px;
        position: relative;
        @include centerRow;

        iframe {
            width: 100%;
            height: auto;
            align-self: stretch;
        }

        &-close {
            display: flex;
            justify-content: center;
            align-items: center;
            position: absolute;
            width: 30px;
            height: 30px;
            transition: .4s ease-in-out;
            cursor: pointer;
            right: 0;
            top: -40px;
            background: #fff;

            &:hover {
                color: $accent;
            }
        }
    }
}


// --- common components ---

.shop {
    .container {
        &_wrapper {
            position: relative;
        }
    }

    &_panel {
        position: relative;
        margin-bottom: 30px;
        z-index: 9000;

        &.short {
            display: flex;
            flex-direction: column;

            .search {
                margin-bottom: 0;
            }

            .wrapper {
                order: -1;

                .shop_panel-link {
                    font-size: 12px;
                    font-weight: 700;
                    display: inline-flex;
                    align-items: center;
                    line-height: 1;
                    text-transform: uppercase;
                    gap: 10px;
                    margin-bottom: 20px;

                    i {
                        display: block;
                        margin-top: -2px;
                    }

                    &:hover, &:focus {
                        color: $accent3;
                    }
                }
            }
        }

        &-nav {
            .divider {
                margin-top: 20px;
                max-width: 410px;
            }
        }

        &-sorting {
            display: flex;
            justify-content: space-between;
            align-items: center;
            line-height: 1;

            .icon {
                right: -30px;
            }

            .custom-select-panel {
                width: max-content;
            }

            .wrapper {
                padding-right: 30px;
            }
        }

        &-trigger {
            display: flex;
            transition: .3s ease-in-out;
            font-size: 12px;
            text-transform: uppercase;
            justify-content: space-between;
            align-items: center;
            line-height: 1;
            font-weight: 700;
            margin: 20px 0 15px;

            &--mobile {
                position: fixed;
                left: 0;
                right: 0;
                top: -100px;
                padding: 15px 20px;
                background: #fff;
                border-bottom: 1px solid $gray;
                z-index: 100000;
                margin: 0;

                &.visible {
                    top: 0;
                }
            }
        }

        .search {
            margin: 20px 0 40px;
        }
    }

    &_filters {
        gap: 5px 10px;

        &-filter {
            &.sale {
                color: $accent4;
            }
        }
    }

    &_items {
        margin-top: -30px;

        .sizer-element {
            width: 100%;
        }

        &-item {
            position: relative;
            display: block;
            float: left;
            min-height: 1px;
            margin-top: 30px;
            width: 100%;

            .aspect {
                position: relative;
                width: 100%;
                height: 0;
                padding-bottom: 105%;
                overflow: hidden;

                .product {
                    .media {
                        .link {
                            aspect-ratio: 28 / 23;
                            min-height: 230px;
                        }
                    }
                }

                &--lg {
                    padding-bottom: 186%;

                    .product {
                        .media {
                            .link {
                                aspect-ratio: 28 / 45;
                                min-height: 450px;
                            }
                        }
                    }
                }

                &_inner {
                    position: absolute;
                    top: 0;
                    right: 0;
                    bottom: 0;
                    left: 0;
                }
            }
        }
    }
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
    z-index: 500;

    textarea {
        height: 130px;
        padding-top: 10px;
    }

    .btn {
        margin-top: 10px;
    }
}

.product {
    &:hover {
        .media {
            .link:after {
                opacity: 1;
            }

            &_overlay {
                &-label {
                    &--sale {
                        opacity: 0;
                    }

                    &--favorite {
                        right: 0;
                    }
                }
            }
        }

        .main {
            &_info {
                opacity: 0;
            }

            &_overlay {
                opacity: 1;
            }
        }
    }

    .media {
        display: block;
        position: relative;
        margin-bottom: 20px;

        img, video {
            height: 100%;
        }

        .link {
            display: block;
            position: relative;

            &:after {
                content: '';
                @include cover;
                background: rgba(#D8D8D8, .3);
                transition: opacity .5s ease-in-out;
                opacity: 0;
            }
        }

        &_overlay {
            overflow: hidden;

            &-label {
                background: rgba(#fff, .7);
                @include centerCol;
                height: 36px;
                font-size: 14px;
                position: absolute;
                transition: .5s ease-in-out;

                &--favorite {
                    right: -100%;
                    width: 46px;
                    top: 35px;

                    .icon-heart {
                        color: #FB4120;
                    }
                }
            }
        }
    }

    .main {
        position: relative;
        height: 46px;

        &_overlay {
            transition: opacity .5s ease-in-out;
            opacity: 0;

            &-btn {
                position: absolute;
                top: 0;
                left: 50%;
                transform: translateX(-50%);

                .icon {
                    margin-left: 20px;
                }
            }
        }

        &_info {
            line-height: 1;
            font-weight: 900;
            transition: opacity .5s ease-in-out;

            &-title {
                text-transform: uppercase;
                font-size: 16px;
                display: block;
                margin-bottom: 5px;
            }

            &-price {
                &--old {
                    color: $grayText;
                    text-decoration: line-through;
                    margin-right: 10px;
                }

                &--sale {
                    color: $accent4;
                }
            }
        }
    }
}

.emoji {
    &_item {
        transition: transform .7s ease-in-out;
    }
}

.circular {
    font-weight: 700;
    text-transform: uppercase;
    width: 140px;
    height: 140px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: absolute;

    i {
        font-size: 24px;
    }

    &_text {
        position: absolute;

        span {
            position: absolute;
            display: inline-block;
            top: 50%;
            left: 50%;
        }
    }
}

.page {
    padding: 60px 0;
    margin-top: 15px;
    color: #fff;
    position: relative;
    overflow: hidden;

    &_overlay {
        @include cover;
        z-index: 10;
    }

    &_title {
        position: relative;
        z-index: 20;

        &-icon {
            margin-bottom: 10px;
        }

        &-subtitle {
            line-height: 1.3;
        }
    }
}

.box_posts {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;

    &-item {
        .media, .main {
            position: relative;
        }

        .media {
            aspect-ratio: 56 / 48;
            z-index: 1;

            img {
                height: 100%;
            }
        }

        .main {
            padding: 30px 20px 0 0;
            margin-top: -20px;
            background: #fff;
            z-index: 2;
            width: calc(100% - 20px);
            margin-left: -1px;

            &_title {
                display: inline-block;
                margin-bottom: 5px;

                &:hover, &:focus {
                    color: $accent3;
                }
            }
        }
    }
}

.feed {
    margin-bottom: -1px;

    .link {
        overflow: hidden;
        display: block;
        aspect-ratio: 24 / 23;

        img {
            transition: .3s linear;
            height: 100%;
        }

        &:hover, &:focus {
            img {
                transform: scale(1.1);
            }
        }
    }
}

.socials {
    color: $accent;
    display: flex;

    &--alt {
        color: $accent3;
    }

    a {
        &:hover, &:focus {
            opacity: .7;
        }
    }
}

.ticker {
    text-transform: uppercase;
    font-weight: 700;
    font-size: 20px;
    line-height: 1 !important;
    width: 100%;

    &.yellow {
        background: $accent2;
    }

    &.white {
        background: #fff;
    }

    &-component {
        height: 54px !important;
    }

    &-text {
        padding: 0 30px;
        position: relative;
        margin-bottom: 4px;

        &:after {
            content: "\e903";
            font-family: 'icomoon';
            position: relative;
            right: -32px;
            font-size: 24px;
            top: 3px;
        }
    }

    &-item {
        visibility: hidden;
    }
}

.divider {
    height: 3px;
    background: $black;
    max-width: 400px;
    flex-grow: 1;
    display: flex;
}

.pagination {
    margin: 40px 0 60px;
    display: flex;
    align-items: center;
    gap: 30px;

    &_main {
        display: flex;
        align-items: center;
        line-height: 1;
        font-size: 18px;
        font-weight: 900;
        gap: 15px;

        .icon {
            font-size: 20px;
        }

        .link {
            &.disabled, &.current {
                pointer-events: none;
            }

            &.current, &:hover, &:focus {
                color: $accent;
            }

            &.current {
                margin-right: 10px;
            }
        }
    }
}

.search {
    position: relative;

    label {
        position: absolute;
        left: 15px;
        top: 15px;
        width: 16px;
        height: 16px;
        line-height: 1;
    }

    .field {
        width: 100%;
        padding-left: 50px;
        border-color: $gray;

        &.error {
            border-color: red;
        }

        &:focus {
            border-color: $black;
        }
    }
}

.scrollTrigger {
    display: block;
    position: fixed;
    right: -40px;
    bottom: 0;
    width: 40px;
    height: 40px;
    background: #fff;
    color: $black;
    transition: .3s ease-in-out;
    z-index: 10000;
    border: 2px solid $black;
    border-right: none;
    border-bottom: none;

    &.active {
        right: 0;
    }

    &:hover {
        background-color: $accent;
    }
}


.rotate {
    &.shape {
        width: 69px;
        height: 69px;
    }
}

.linebreak {
    display: block;
}

// media queries

// --- mobile landscape
@media screen and (min-width: 567.98px) {
    .shop {
        &_panel {
            &.short {
                .search {
                    margin-top: 20px;
                }
            }

            .wrapper {
                &--options {
                    display: flex;
                    align-items: center;
                    gap: 30px;
                    margin-top: 20px;
                }

                .shop_panel-trigger--main,
                .shop_panel-sorting {
                    width: calc(50% - 15px);
                    margin: 0;
                    line-height: 1;
                }

                .shop_panel-trigger--main {
                    justify-content: flex-start;
                    gap: 30px;
                }

                .shop_panel-sorting {
                    .custom-select-opener {
                        width: max-content;
                    }

                    .wrapper {
                        padding-right: 20px;

                        .icon {
                            right: -20px;
                        }
                    }
                }
            }
        }

        &_items {
            margin: -30px -15px 0;

            .sizer-element {
                width: 50%;
            }

            &-item {
                width: 50%;
                padding: 0 15px;

                .aspect {
                    padding-bottom: 107%;

                    .product {
                        .media {
                            overflow: hidden;

                            .link {
                                aspect-ratio: 25 / 20;
                                min-height: 200px;
                            }
                        }
                    }

                    &--lg {
                        padding-bottom: 188%;

                        .product {
                            .media {
                                .link {
                                    aspect-ratio: 25 / 40;
                                    min-height: 400px;
                                }
                            }
                        }
                    }
                }
            }
        }
    }
    .box_posts {
        gap: 60px 30px;

        &-item {
            display: flex;
            flex-direction: column;
            height: auto;

            .media {
                height: 300px;
                aspect-ratio: unset;
            }

            .main {
                flex-grow: 1;
                padding: 40px 30px 0 0;
                margin-top: -40px;
                width: calc(100% - 30px);
                display: flex;
                flex-direction: column;
                justify-content: space-between;
            }
        }
    }

    .contact-form {
        flex-direction: row;
        flex-wrap: wrap;

        .field {
            width: calc(50% - 5px);
        }

        textarea.field {
            width: 100%;
        }
    }

    .btn {
        width: fit-content;
    }
}

// --- tablet
@media screen and (min-width: 767.98px) {
    .scrollTrigger {
        width: 60px;
        height: 60px;
        font-size: 24px;
        right: -60px;
    }
    .page {
        padding: 100px 0;
    }
    .shop {
        &_panel {
            &.short {
                margin-top: 40px !important;
            }

            .search {
                margin-top: 20px;
            }

            &-sorting {
                justify-content: flex-end;
                gap: 30px;
            }
        }

        &_items {
            &-item {
                .aspect {
                    padding-bottom: 99%;

                    &--lg {
                        padding-bottom: 179%;
                    }
                }
            }
        }
    }
    .box_posts {
        grid-template-columns: repeat(2, 1fr);
    }

    .section {
        padding: 100px 0;
    }

    h1, .h1 {
        font-size: 56px;

        &.extra {
            font-size: 100px;
        }
    }

    h2, .h2 {
        font-size: 28px;
    }

    h3, .h3 {
        font-size: 24px;
        line-height: 1.25;
    }

    h4, .h4 {
        font-size: 20px;
    }

    h5, .h5 {
        font-size: 16px;
        line-height: 1.25;
    }

    .quote {
        font-size: 18px;
        line-height: 1.8;
    }

    .text--md {
        font-size: 18px;
    }

    .pagination {
        margin: 60px 0 100px;
        gap: 50px;

        &_main {
            gap: 30px;

            .link {
                &.current {
                    margin-right: 15px;
                }
            }
        }
    }

    .videoPopup {
        &_frame {
            min-height: 500px;
        }
    }
}

// --- tablet landscape
@media screen and (min-width: 1023.98px) {
    .cursor {
        visibility: visible;
    }
    .shop {
        &_panel {
            display: flex;
            flex-direction: row;
            flex-wrap: wrap;
            align-items: center;
            justify-content: space-between;

            &.short {
                margin: 60px 0 20px !important;
                flex-direction: row;
                gap: 20px;

                .wrapper {
                    order: unset;

                    .shop_panel-link {
                        margin-bottom: 0;
                    }
                }

                .wrapper {
                    width: 100%;
                }
            }

            .shop_panel-nav {
                max-width: calc(100% - 430px);
                flex-grow: 1;
            }

            .search {
                margin: 0 !important;
                width: 410px;
            }

            .wrapper--options {
                width: 100%;
                justify-content: space-between;

                .view {
                    gap: 50px;
                }
            }

            .shop_panel-sorting, .shop_panel-trigger--main {
                max-width: 410px;
            }
        }

        &_items {
            &-item, .sizer-element {
                width: calc(100% / 3);

                .aspect {
                    &--lg {
                        padding-bottom: 180%;
                    }
                }
            }
        }
    }
    .box_posts {
        &-item {
            .media {
                height: unset;
                aspect-ratio: 56 / 48;
            }
        }
    }
}

// --- desktop
@media screen and (min-width: 1169.98px) {
    .breadcrumbs {
        margin: 104px auto 0;
    }
    .page {
        padding: 130px 0 200px;
    }
    .text--md {
        font-size: 20px;
    }
    .box_posts {
        grid-template-columns: repeat(3, 1fr);

        &-item {
            .main {
                &_title {
                    margin-bottom: 17px;
                }
            }
        }
    }
    .section {
        padding: 150px 0;
    }

    h1, .h1 {
        font-size: 86px;
        line-height: 1.25;
    }

    h2, .h2 {
        font-size: 38px;
        line-height: 1.5;
    }

    h3, .h3 {
        font-size: 30px;
        line-height: 1.5;
    }

    h4, .h4 {
        font-size: 22px;
        line-height: 1.3;
    }

    h5, .h5 {
        font-size: 18px;
        line-height: 1.7;
    }

    h6, .h6 {
        font-size: 14px;
        line-height: 1.4;
    }

    .pagination {
        margin: 90px 0 0;
    }

    .shop {
        &_items {
            &-item {
                .aspect {
                    padding-bottom: 97%;

                    &--lg {
                        padding-bottom: 178%;
                    }
                }
            }
        }
    }
}

@media screen and (min-width: 1365.98px) {
    .shop {
        &_items {
            &-item, .sizer-element {
                width: 25%;

                .aspect {
                    padding-bottom: 102%;

                    &--lg {
                        padding-bottom: 182%;
                    }
                }
            }
        }
    }
    h1, .h1 {
        &.extra {
            font-size: 220px;
        }
    }
    .videoPopup {
        &_frame {
            min-height: 800px;
        }
    }
}

@media screen and (min-width: 1499.98px) {
    .shop {
        &_items {
            &-item {
                .aspect {
                    padding-bottom: 99%;

                    &--lg {
                        padding-bottom: 179%;
                    }
                }
            }
        }
    }
}

@media screen and (min-width: 1769.98px) {
    .shop {
        &_items {
            &-item {
                .aspect {
                    padding-bottom: 96%;

                    &--lg {
                        padding-bottom: 176%;
                    }
                }
            }
        }
    }
}

// bootstrap components

.container {
    max-width: 1770px;
    padding: 0 20px;
}

.collapse {
    &:not(.show) {
        display: none;
    }
}

.collapsing {
    height: 0;
    overflow: hidden;
    transition: height .3s ease-in-out;
}

.fade {
    transition: opacity .3s ease;
    opacity: 0;
}

.tab-content {
    position: relative;
    overflow: hidden;

    & > .tab-pane {
        position: relative;
        width: 100%;
        top: 0;
        opacity: 1;
        z-index: 1;
    }

    & > .tab-pane:not(.active) {
        display: block;
        height: 0;
        opacity: 0;
        z-index: -1;
    }
}

.offcanvas {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 20000;
    display: flex;
    flex-direction: column;
    width: 100vw;
    height: 100vh;
    visibility: hidden;
    background-clip: padding-box;
    transition: transform .3s ease-in-out;
    overflow-y: scroll;

    &-start {
        top: 0;
        left: 0;
        transform: translateX(-100%);
    }

    &-backdrop {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 19000;
        width: 100vw;
        height: 100vh;
    }

    &.show {
        transform: translateX(0);
    }
}

// --- swiper ---
.swiper-pagination {
    @include centerRow;
    gap: 20px;

    &-bullet {
        height: 3px;
        width: 30px;
        background: #D8D8D8;
        cursor: pointer;
        transition: .3s ease-in-out;

        &-active, &:hover, &:focus {
            background: $black;
        }
    }
}