/*
Theme Name:     Beautick Redesign (Child)
Template:       beautick
*/
@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
.fancybox-content {
    width  : 800px!important;
    height : 600px!important;
    max-width  : 80%!important;
    max-height : 80%!important;
    margin: 0;
}
html {
    font-size: 16px;
    line-height: 1.3em;
    --main-font: 'Montserrat', serif;
    --header-font: 'Lora', serif;

    font-family: var(--main-font);

    background: #F2F2F2;
}

h1, h2, h3:not(.contact-title), h4, h5, h6 {
    font-family: var(--header-font);
    letter-spacing: -0.01em;
}

body {
	font-family: var(--main-font);
}
header, footer, .contact-section {
	font-family: var(--main-font) !important;
    a:not(.header-button):hover {
        color: unset !important;
    }
    a.header-button:hover,  a.header-button:focus, .mobile-header a:hover, .mobile-header a:focus {
        color: #ffffff !important;
    }
    h1, h2, h3:not(.contact-title), h4, h5, h6 {
        font-family: var(--header-font) !important;
        letter-spacing: -0.01em;
    }
}
.record-button-no-hover:hover, .record-button-no-hover:focus {
        color: #ffffff !important;
}
.entry-header {
    display: none !important;
}
.wow {
    visibility: visible !important;
}
.table {
    width: 100%;
}

/* Recording tool */
div#recording-tool {
    position: fixed;
    top: 0px;
    bottom: 0px;
    width: 500px;
    right: -500px;
    z-index: 99;
    -webkit-transition: right 0.5s ease;
    -moz-transition: right 0.5s ease;
    -o-transition: right 0.5s ease;
    -ms-transition: right 0.5s ease;
    transition: right 0.5s ease;
}

div#recording-tool .close:hover {
    opacity: 1;
}

div#recording-tool .close {
    position: absolute;
    left: -50px;
    top: 13px;
    width: 20px;
    height: 20px;
    width: 38px;
    height: 38px;
    background-color: #7a7a7a;
    border-radius: 100px;
    /* line-height: normal; */
    /* line-height: 9px; */
    padding: 11px;
    display: none;
    opacity: 1;
}

div#recording-tool .close svg {
    vertical-align: top;
}

div#recording-tool .close svg path {
    fill: #ffffff;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

div#recording-tool.active {
    right: 0%;
}

div#recording-tool.active .close {
    display: block;
}

div#recording-tool iframe {
    width: 100%;
    height: 100%;
    display: block;
    opacity: 1;
}

a.btn.btn-recording.tool-link {
    display: none;
}
article.services div.prices table tr td {
	padding: 6px 0;
}
article.services div.prices span.name {
	font-weight: normal!important;
}

/* collapse styles from bootstrap  */
.collapse {
    display: none;
}
.collapse.in {
    display: block;
}
tr.collapse.in {
    display: table-row;
}
tbody.collapse.in {
    display: table-row-group;
}
.collapsing {
    position: relative;
    height: 0;
    overflow: hidden;
    -webkit-transition-timing-function: ease;
    -o-transition-timing-function: ease;
    transition-timing-function: ease;
    -webkit-transition-duration: .35s;
    -o-transition-duration: .35s;
    transition-duration: .35s;
    -webkit-transition-property: height, visibility;
    -o-transition-property: height, visibility;
    transition-property: height, visibility;
}

/* new  */
.tab-buttons {
    padding-bottom: 20px;
    border-bottom: 1px solid #C6C6C6;
    overflow-x: auto;
    gap: 20px;
}
.tab-button {
    cursor: pointer;
    transition: 0.2s;
    color: #7E7E7E;
    font-size: 1.25rem;
    white-space: nowrap;
}
.tab-button.active {
    color: #000;
    font-weight: 500;
}
.tab-button:hover {
    color: #000;
}

.show-more-btn-bottom {
    display: flex;
    justify-content: center;
    padding-top: 76px;
    margin-top: -67px;
    position: relative;
    z-index: 2;
    pointer-events: none;
}
.show-more-btn-bottom::before {
    content: '';
    background: linear-gradient(180deg, rgba(226, 226, 226, 0) 0%, #e2e2e2 100%);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 47px;
}
.show-more-btn {
    max-width: 330px;
    width: 100%;
    pointer-events: visible;
}

.arrows-center ~ .swiper-arrows,
.swiper-custom-4 ~ .swiper-arrows {
    position: absolute;
    z-index: 5;
    left: 50%;
    top: 30%;
    transform: translateX(-50%);
    width: calc(100% + 58px);
    justify-content: space-between;
}
.swiper-custom-4 .swiper-slide {
    height: auto!important;
}

.arrows-center ~ .swiper-arrows,
.section_works .swiper-custom-4 ~ .swiper-arrows {
    top: 43%;
}




@media (min-width: 640px) {
    .swiper-custom-4 ~ .swiper-arrows {
        top: 50%;
        width: calc(100% + 70px);
    }
    
}

@media (min-width: 1024px) {
    .swiper-custom-4 ~ .swiper-arrows {
        width: calc(100% + 80px);
    }
}

.promo__img {
    max-width: 373px;
}

.text > :not(:last-child):not(h2):not(h3),
.promo__content > *:not(:last-child) {
    margin-bottom: 32px;
}

.text > h2 {
    margin-bottom: 10px;
}

.text > h3 {
    margin-bottom: 0;
}

.text h3 {
    font-size: 20px;
    line-height: 140%;
    text-transform: uppercase;
}


@media (min-width: 1024px) {
    .text > :not(:last-child):not(h2):not(h3),
    .promo__content > *:not(:last-child) {
    margin-bottom: 40px;
    }
    .text > h2 {
        margin-bottom: 10px;
    }
    .text > h3 {
        margin-bottom: 12px;
    }
    .promo__content {
        font-size: 18px;
    }

    .text h3 {
        font-size: 24px;
        line-height: 117%;
    }
}


.promo__content h2 {
    font-size: 20px;
    margin-bottom: 12px;
    text-transform: uppercase;
    margin-bottom: calc(var(--spacing) * 3);
}

.breadcrumbs span {
    text-transform: inherit;
}

.table-prices .panel-default:not(:last-child) {
    margin-bottom: 50px;
}

.all-prices .tablepress-table-name {
    font-size: 16px;
    line-height: 1.2;
    background: #e2e2e2;
    padding: 15px 20px;
    margin-bottom: 25px;
}

@media (min-width: 1024px) {
    .all-prices .tablepress-table-name {
        font-size: 24px;
        padding: 30px;
        margin-bottom: 40px;
    }

    .table-prices .panel-default:not(:last-child) {
        margin-bottom: 90px;
    }
}

.swiper-custom-gallery__img {
    position: relative;
    width: 100%;
    aspect-ratio: 141/249;
}
.swiper-custom-gallery__img--new {
        aspect-ratio: 173/305;
}
.swiper-custom-gallery__img-kosmetologi{
    aspect-ratio: 270/270;
}
.swiper-custom-video__img {
    aspect-ratio: 270/380;
    display: block;
}

.form {
    display: grid;
    gap: 30px;
}

.form input {
    height: 58px;
    padding: 20px;
}

.form__text {
    font-weight: 400;
    font-size: 14px;
    line-height: 130%;
    color: #7e7e7e;
}

.promo__block {
    padding-bottom: 2rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid #ddd;
}

.swiper-nav {
    display: flex;
    justify-content: flex-end;
}

.gallery-img {
    display: flex;
    justify-content: center;
}

.gallery-img img {
    /* max-width: 240px; */
}

.master-tags {
    font-family: var(--header-font);
    flex-wrap: wrap;
}

.text h2 {
    font-size: 20px;
    text-transform: uppercase;
    margin-bottom: calc(var(--spacing) * 3);
}
/* .text h3 {
    font-size: 16px;
    text-transform: uppercase;
} */

.promo__content ul li,
.text ul li {
    position: relative;
    padding-left: 22px;
}
.text ol {
    list-style: auto;
    padding-left: 20px;
}
.text ol li {
    padding-left: 15px;
}
.promo__content ul li::before,
.text ul li::before {
    content: "— ";
    position: absolute;
    left: 0;
    top: 0;
}
.promo__content ul li:not(:last-child),
.text ol li:not(:last-child),
.text ul li:not(:last-child) {
    margin-bottom: calc(var(--spacing) * 2.5);
}

.swiper-custom-4_masters .gallery-img img,
.swiper-masters .swiper-slide img {
    aspect-ratio: 240 / 338;
}

.swiper-custom-4_works .swiper-slide img {
    aspect-ratio: 240 / 423;
}

.swiper-custom-4_exempls .swiper-slide img {
   /* aspect-ratio: 270 / 380;*/
}
.swiper-custom-4_exempls .swiper-slide a {
  max-height: 425px;
}


.wp-post-image{
    aspect-ratio: 373/530;
    object-position: top;
}
.tablepress-table-description {
    margin-bottom: 25px;
}

.tablepress i {
    font-style: normal;
    font-weight: 600;
    text-align: right;
}
.tablepress,
.tablepress-table-description {
    font-size: 14px;
}



/* Таблица */
.tablepress{
    width:100%;
    border-collapse:collapse;
    table-layout:auto;
}
.tablepress td{
    padding:15px 0;
    /* border-bottom:1px solid #eee; */
}
.tablepress td:first-child{ text-align:left; }
.tablepress tr td:last-child {
    text-align:right;
    width:25%;
}
.tablepress tr td:nth-last-child(2):not(:first-child) {
    text-align:right;
    width:25%;
}



.text_s {
font-size: 14px;
}


@media (min-width: 1024px) {
    .text {
        font-size: 18px;
    }

    .text_s {
        font-size: 16px;
    }
    

    .text h2 {
        font-size: 24px;
    }
    .text h3 {
        /* font-size: 18px; */
    }

    .promo__content h2 {
        font-size: 24px;
    }
    .master-tags {
        font-size: 18px;
    }
    .gallery-img img {
        max-width: 100%;
    }

    .swiper-custom-4_masters .gallery-img img,
    .swiper-masters .swiper-slide img {
        aspect-ratio: 270 / 380;
    }
    
    .swiper-custom-4_works .swiper-slide img {
        aspect-ratio: 141 / 249;
    }

    .gallery-img_works {
        /* aspect-ratio: 141 / 249; */
        height: 100%;
    }

    .tablepress-table-description {
        margin-bottom: 40px;
    }

    .promo__block {
        padding-bottom: 2.5rem;
        margin-bottom: 2.5rem;
    }
    .tablepress,
    .tablepress-table-description {
        font-size: 16px;
    }
    .tablepress i {
        text-align: left;
    }
    .tablepress td{
        padding:20px 0;
    }

    .tablepress tr td:last-child{ 
        text-align:left;
    }
    .tablepress tr td:nth-last-child(2):not(:first-child){
        text-align:left;
    }
}




.cat-img, .swiper-custom-video__img {
    position: relative;
}

.cat-img::before, .swiper-custom-video__img::before {
    content: "";
    background: rgba(0, 0, 0, 0.4);
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.cat-img__img {
    aspect-ratio: 300/366;
}

.cat-img__title {
    position: absolute;
    z-index: 3;
    bottom: 48px;
    left: 0;
    width: 100%;
    height: auto;
    padding: 0 10px;
    
    font-family: var(--header-font);
    font-size: 20px;
    line-height: 120%;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    text-align: center;
    color: #fff;
    display: flex;
    justify-content: center;

}


.service-block {
    padding-bottom: 50px;
    margin-bottom: 50px;
    border-bottom: 1px solid #ddd;
}

.service-block-ol,
.service-templ-bot {
    margin: 0 -22px;
}

.service-cat-blocks {
    padding-bottom: 60px;
}

.section-title_2 {
    font-size: 1.25rem!important;
    line-height: 1.4;
}

.section-title_service {
    margin-bottom: 40px!important;
}

.service-video-block {
    padding-bottom: 60px;
}

@media (min-width: 64rem) {
    .section-title_1 {
        font-size: 3.25rem;
    }

    .section-title_2 {
        font-size: 2.5rem!important;
        line-height: 1.3;
    }

    .cat-img__title {
        font-size: 24px;
        bottom: 30px;
    }

    .service-cat-blocks {
        padding-bottom: 124px;
    }

    .service-video-block {
        padding-bottom: 185px;
    }

    .service-block-ol,
    .service-templ-bot {
        margin: 0;
    }
    .section-title_service {
        margin-bottom: 60px!important;
    }
}


.service-examples-block {
    margin-bottom: 60px;
}

.service-templ-bot {
    padding: 22px;
}
.service-templ-bot__wrapper {
    gap: 32px;
}
.service-templ-bot__imgs {
    gap: 22px;
}
.service-templ-bot__imgs figure {
    /* aspect-ratio: 140/247; */
}


@media (min-width: 64rem) { 
    .service-examples-block {
        margin-bottom: 124px;
    }
    .service-examples-block {
        margin-bottom: 60px;
    }
    
    .service-templ-bot {
        padding: 40px;
    }
    .service-templ-bot__wrapper {
        gap: 40px;
        align-items: start;
    }
    .service-templ-bot__imgs {
        gap: 25px;
    }
}

.button-dark {
    border-width: 0!important;
}

.btn_exempls {
    width: 100%!important;
}

@media (min-width: 40rem) { 
    .btn_exempls {
        width: calc(var(--spacing) * 80)!important;
    }
}

.mani-block {
    display: grid;
    gap: 20px;
}
.panel-body_none .tablepress-table-name{
    display: none;
}

.section_mani-btm h3 {
    font-size: 16px;
}

.section_mani-btm {
    padding-block: 48px!important;
}
.mt-60-90 {
    margin-top: 60px;
}
.mb-60-90 {
    margin-bottom: 60px;
}
.mt-60-124 {
    margin-top: 60px;
}
.mb-60-124 {
    margin-bottom: 60px;
}
.mb-20-30 {
    margin-bottom: 20px;
}

.mt-48-90 {
    margin-top: 48px;
}

h2 {
    line-height: 1.3;
}

@media (min-width: 40rem) { 
    .section_mani-btm h3 {
        font-size: 18px;
    }

    .mani-block {

        grid-template-columns: 1.1fr 1fr;
        column-gap: 96px;
        row-gap: 54px;
    }
    .mani-block__title {
        grid-area: 1/1/2/2;
        margin-bottom: 0!important;
    }

    .mani-block__img {
        grid-area: 1/2/3/3;
    }

    .mani-block__text {
        grid-area: 2/1/3/2;
    }
    .mani-block__btn {
        max-width: 270px;
    }
    .mt-60-90 {
        margin-top: 90px;
    }
    .mb-60-90 {
        margin-bottom: 90px;
    }
    .mt-60-124 {
        margin-top: 124px;
    }
    .mb-60-124 {
        margin-bottom: 124px;
    }
    .mb-20-30 {
        margin-bottom: 30px;
    }
    .mt-48-90 {
        margin-top: 90px;
    }

}

@media (min-width: 60rem) { 
    .section_mani-btm {
        padding-block: 90px!important;
    }

    .section_mani-top {
        padding-top: 64px!important;
    }
}

.anchor-page h2 {
    font-size: 20px;
}
.anchor-page h3 {
    font-size: 16px;
}
.anchor-right__text {
    margin-bottom: 32px;
}
.anchor-right {
    display: grid;
}
.title {
    font-family: var(--header-font);
}

@media (min-width: 60rem) { 
    .anchor-page h2 {
        font-size: 40px;
    }
    .anchor-page h3 {
        font-size: 24px;
    }
    .anchor-right {
        grid-template-columns: 1fr 291px;
        gap: 165px;
    }
    .anchor-right__text {
        margin-bottom: 0;
    }

    .anchor-right__img {

    }

    .ul-grid ul {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 40px;
    }

}


@media (any-hover: hover){
    .cat-img:hover .hover-custom-white::before {
        width: 100%;
    }
}

.anchor-menu {
    font-size: 14px;
}

.anchor-menu .title {
    font-size: 18px;
}   


.anchor-grid {
    display: grid;
    gap: 60px;
}

@media (min-width: 60rem) { 
    .anchor-grid {
        grid-template-columns: 1fr 1fr 1fr 180px;
        gap: 100px;
    }
}

.anchor-page >*:last-child {
    margin-bottom: 0!important;
}

.service-templ-bot__imgs {
    aspect-ratio: 120 / 100;
}


.swiper-custom-video__btn {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    z-index: 5;
}

@media all and (max-width: 575px) {
    .swiper-custom-video__btn svg {
        width: 50px;
        height: 50px;
    }
}

.review-card {
    background-color: var(--color-gray);
    padding: 30px;
}

.review-card__name {
    font-size: var(--text-xl);
    line-height: var(--leading-tight);
    text-transform: uppercase;
    margin-bottom: 5px;
}

.review-card__date {
    font-size: 14px;
    line-height: 21px;
    margin-bottom: 5px;
}

.review-card__link {
    text-decoration: underline;
}

.review-card__stars {
    display: inline-flex;
    margin-bottom: 20px;
}

.review-card__stars span {
    width: 22px;
    height: 22px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.review-card__wrapper {
    position: relative;
    display: inline-block;
}

.review-card__text {
    font-size: 14px;
    line-height: 140%;
    margin-bottom: 5px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 10;
    -webkit-box-orient: vertical;
    transition: all 0.3s ease;
}

.review-card__text.expanded {
    -webkit-line-clamp: unset;
    overflow: visible;
}

.review-card__button {
    font-size: 14px;
    line-height: 140%;
    display: inline-block;
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 600;
    margin-top: 5px;
    padding: 0;
}

.swiper-wrapper-container{
    min-width: 302px;
}
@media (min-width: 640px) {
    .swiper-custom-4_exempls .swiper-slide a {
  max-height: 380px;
}
.cat-img__img {
    aspect-ratio: 270/326;
}

.swiper-wrapper-container{
    min-width: inherit;
}
}
