.head {
    width: 100%;
    height: 840px;
    background-color: #ccc;
    background-image: url(/custom/sloika/img/about/header.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    text-align: center;
    padding-bottom: 200px;
    color: #fff;
    position: relative;
    overflow: hidden;
    margin-top: 104px;
}
.head::after {
    content: '';
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgb(0,0,0,0.3);
}
.button {
    display: inline-block;
    padding: 10px 20px 14px 20px;
    border-radius: 12px;
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 150%;
    text-transform: none !important;
    text-decoration: none !important;
}

.button_secondery {
    color: #222222;
    background: #fff;
}

.button_secondery:hover {
    background: #ECDFAB;
    color: #222222;
}


.head h1 {
    color: #fff;
    margin: 0;
    letter-spacing: 0;
    font-size: 48px;
    line-height: 100%;
    font-family: Gilroy, sans-serif;
    font-weight: 700;
    text-transform: none !important;
}

.head span {
    margin-bottom: 40px;
    display: block;
    text-align: center;
    font-size: 48px;
    line-height: 100%;
    font-family: Gilroy, sans-serif;
    font-weight: 700;
}

.head span small {
    display: inline-block;
    padding: 0 8px;
    font-size: 28px;
    position: relative;
    top: 3px;
}

.head h1:after,
.head h1:before {
    display: none;
}


.head .container {
    z-index: 1;
}

.head .button_group {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 0px;
    gap: 16px;
}

.head .button {
    background-color: var(--color2);
    color: var(--color0);
    font-family: Gilroy, sans-serif;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 24px;
    padding-bottom: 10px;
}

.head .button:hover {
    background-color:var(--color0);
    color:  var(--color2);;
}

@media screen and (max-width: 640px) {
    .button {
        padding: 12px 22px 10px 22px;
        border-radius: 1.5rem;
        font-size: 16px;
    }

    .head {
        background-image: url(/custom/sloika/img/about/header_mobile_3.jpg);
        height: 600px;
        padding: 24px 0 40px 0;
        margin-top:64px;
    }
    .head::after  {
        background: none;
    }
    .head .button_group {
        gap: 12px;
        display: flex;
    }

    .head h1 {
        font-size: 36px;
        line-height: 120%;
        margin-bottom: 0;
        padding-bottom: 0px;
    }

    .head span {
        margin-top: 8px;
        margin-bottom: 40px;
        font-size: 28px;
    }
}


.about_center {
    max-width: 870px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 120px;
    margin-bottom: 40px;
}

.about_center p {
    width: 100%;
    padding: 0;
    font-size: 32px;
    line-height: 140%;
    text-align: center;
    text-transform: none;
    font-family: CenturyGothicBold, arial;
    letter-spacing: -1px;
}

@media screen and (max-width: 640px) {
    .about_center {
        margin-top: 80px;
        margin-bottom: 80px;
    }

    .about_center p {
        font-size: 22px;
    }
}


.tabs {
    position: relative;
    width: 100%;
}

.tabs.active {
    top: 0;
}

.tabs__list {
    margin-top: 0;
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #F6D8A7;
    width: 100%;

}

.tabs__item:not(:last-child) {
    margin-right: 40px;
}

.tabs__btn {
    border: none;
    color: #000;
    cursor: pointer;
    font-family: CenturyGothicBold, arial;
    font-weight: 600;
    font-size: 28px;
    line-height: 100%;
    background: none;
    padding: 16px 0;
    font-weight: 300;
    border-bottom: solid 2px transparent;
    text-transform: uppercase;
    position: relative;
    bottom: -1px;
}

.tabs__btn:hover {
    color: var(--color2);
}

.tabs__btn--active {
    color: var(--color-accent);
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
    pointer-events: none;
    border-bottom: solid 2px var(--color2);
    color: var(--color2);
}

.tabs__content {
    display: none;
}

.tabs__content--active {
    display: block;
}

@media screen and (max-width: 640px) {
    .tabs__btn {
        font-size: 22px;
        text-transform: uppercase;
    }

    .tabs__item:not(:last-child) {
        margin-right: 22px;
    }

    .tabs__list {
        width: 100%;

    }
}



.owl-carousel .active {
    padding: 0 !important;
}

.about-page p > b {
    font-family: CenturyGothicBold, arial;
}

.content {
    padding: 40px 0;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    margin: 0 auto;
}

.about_text {
    max-width: 940px;
}

.tabs__content[data-tabs-target="kitchen"] .about_text {
    max-width: 1000px;
}

.about_text p {
    width: 100%;
    margin: 16px 0;
    padding: 0;
    font-size: 20px;
    line-height: 130%;
    text-align: center;
    text-transform: none;
}

.about_video_row {
    display: flex;
    flex-direction: row;
    gap: 96px;
}
.about_video {
    max-width: 350px;
    background-color: #ccc;
    aspect-ratio: 9/16;
}
.about_video video {
    width: 100%;
    height: 100%;
}

.about_text span {
    font-size: 24px;
    margin-bottom: 24px;
}


@media screen and (max-width: 640px) {
    .about_video_row {
        gap: 8px;
    }
    .content {
        padding: 24px 0;
    }

    .about_text {
        max-width: 100%;
    }

    .about_text p {
        margin: 12px 0;
        padding: 0;
        font-size: 16px;
        line-height: 130%;
    }

}



/** OWL **/

.owl-theme .owl-nav {
    margin-top: 0px;
    text-align: center;
    -webkit-tap-highlight-color: transparent;
}

.owl-theme .owl-nav [class*='owl-'] {
    width: 40px;
    height: 40px;
    border-radius: 40px;
    text-align: center;
    background: #fff !important;
    color: #000 !important;
    box-shadow: 0 2px 15px 0 rgb(0 0 0 / 14%);
    display: inline-block;
    cursor: pointer;
    border-radius: 50%;
}

.owl-theme .owl-nav [class*='owl-']:hover {
    background: #ECDFAB !important;
    text-decoration: none;
}

.owl-theme .owl-nav .disabled {
    opacity: 0.5;
    cursor: default;
}

.owl-theme .owl-nav.disabled+.owl-dots {
    margin-top: 10px;
}

.owl-nav button span {
    font-size: 20px !important;
}

.owl-nav {
    position: absolute;
    top: 48%;
    left: 0;
    right: 0;
}

.owl-nav .owl-prev {
    position: absolute;
    left: -20px;
}

.owl-nav .owl-next {
    position: absolute;
    right: -20px;
}

.owl-dots {
    display: none;
}

.owl-prev {
    margin-right: 8px;
}

.owl-prev span {
    position: relative;
    top: -3px;
    left: -1px;
}

.owl-next span {
    position: relative;
    top: -3px;
    right: -1px;
}




@media screen and (max-width: 640px) {

    .owl-kitchen,
    .owl-interior {
        padding-right: 0px;
        margin-bottom: 64px;
        position: relative;
        background-color: #ccc;
    }
    
 
    
    .item_kitchen>span {
        font-size: 16px;
        line-height: 125%;
        bottom: 16px;
        left: 16px;
        right: 16px;
    }
  
    .owl-nav {
        position: absolute;
        bottom: -25px;
        top: auto;
        left: auto;
        right: auto;
    }

    .owl-nav .owl-prev {
        position: absolute;
        left: 0px;
    }

    .owl-nav .owl-next {
        position: absolute;
        left: 48px;
    }
}



.tabs__content_menu .owl-carousel .owl-stage-outer {
    overflow: visible;
}



@media screen and (max-width: 640px) {
    .tabs__content_menu .d-flex {
        display: block !important;
    }

    .owl-menu {
        margin-bottom: 64px;
    }
}
