@tailwind base;
@tailwind components;
@tailwind utilities;

.swiper-rewiews .carousel-button {
   position: absolute;
   top: 50%;
}

.btn_widgets {
    display: none;
}

.header-menu {
    display: flex;
    justify-content: space-between;
}

.header-menu-items.show {
    position: fixed;
    top: 0;
    z-index: 1001;
    height: 100vh;
}


body:has(.header-menu-items.show) {
   overflow: hidden;
}
.header-menu-burger {
    display: none !important;
}

.header-burger {
    z-index: 1002;
}

.masterPhotoSlider {
    position: relative;

}
.masterPhotoSlider img {
    margin: auto;
}

.swiper-rewiews .carousel-button.next {
    right: 0%;
}
/*.swiper-rewiews .carousel-button.prev {*/
/*    left: -7%;*/
/*}*/
.swiper-masters {
    margin: 0 120px;
}

.slide_master__container {
    position: relative;
}

.slide_master__container .carousel-button {
    position: absolute;
    top: 30%;
 }

 .special__container .carousel-button {
    position: absolute;
    top: 40%;
 }

 .slide_master__container .carousel-button.next,  .special__container .carousel-button.next {
     right: 0%;
 }

 .master-swiper {
    overflow: hidden;
 }

 .master-swiper img {
    margin: auto;
    margin-bottom: 40px;
 }


.swiper-pagination-clickable .swiper-pagination-bullet {
    height: 10.5px;
    width: 10.5px;
}

.swiper-pagination-bullet-active {
    background:  #C08769;
}
.category-wrapper .flex.swiper-slide {
    display: flex;
}

.master-swiper .swiper-slide {
    position: relative;
}

.master-swiper .swiper-pagination span.swiper-pagination-bullet,  .master-swiper .swiper-pagination {
    font-size: 0rem;
}

.swiper-rewiews {
    padding-bottom: 60px;
}

.special-block {
    overflow: hidden;
    position: relative;
    margin: 0 110px;
    padding-bottom: 80px;
}

.special__container {
    position: relative;
}

.special__container .swiper-slide:nth-child(2n) .text-deal-condition-giant {
    text-align: right;
}

.carousel-block-special .bg-blur {
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    width: 100%;
    display: flex;
    flex-direction: column;
}

.carousel-block-special .bg-blur .text-deal-condition-giant {
    max-width: 70%;
    order: -1;
    margin-bottom: 40px;
}

.cabinet {
    border-top: 1px solid #C08769;
    margin-top: 50px;
    padding-top: 30px !important;
}

.service_banner_images {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.service_banner_images img {
    height: 100%;
    object-fit: cover;
}

.btn_service__container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    gap: 15px;
}

.service-image-wrapper img{
    width: 100%;
}

.service_block {
    gap: 50px
}

.service_block .description {
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: space-between;
    height: 100%;
}

.service-colum-text img {
    display: none;
}

.service-colum-text {
    display: flex;
    flex-direction: column;
}
.btn_service__container button {
    border: 2px solid #C08769;
}
.price_block {
    gap: 0 10%;
}
.price_block li {
    gap: 15px;
    text-align: start;
}
.master_block .text-center.mb-5 {
    margin-bottom: 0 !important;
}

.text-slogan {
    color: #fff;
}

/** {*/
/*    outline: 1px solid red;*/
/*}*/


@media (max-width: 1600px) {
    .category .category-wrapper {
        grid-template-columns: 1fr 1fr;
    }
    .service_block .description {
        font-size: 2.4rem;
    }
    .service-colum-text .font-text-normal-plus.left-rectangle {
        font-size: 2.4rem;
    }
    .btn_service__container button {
        font-size: 2rem;
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
    .price_block li p {
        font-size: 2.3rem;
    }
    .price_block {
        gap: 0 50px;
    }
    .master-info .font-text-big {
        font-size: 4rem;
    }
}
@media (max-width: 1440px) {
    .master_block.secondary-font {
        font-size: 3rem;
    }
    .master-info .font-text-big {
        font-size: 3.4rem;
    }
    .master-info .font-text-normal {
        font-size: 2.4rem;
    }
    .feedback input,
    .feedback button {
        max-width: 373px;
    }
}
@media (max-width: 1200px) {

    .feedback .feedback-form {
        gap: 10px;
    }
    .price_block {
        grid-template-columns: 1fr;
    }
    .carousel-block-special .bg-blur .text-deal-condition-giant {
        margin-bottom: 5px;
    }
    .service_block {
        grid-template-columns: 1fr;
    }
    .service-colum-text {
        grid-row: 1;
    }
    .service-colum-text img {
        display: block;
    }
    .service_banner_images img {
        display: none;
    }
    .service-colum-text .font-text-normal-plus.left-rectangle {
        margin-top: 3rem;
    }
    .service_block .description {
        gap: 56px;
    }
    .service-colum-text .font-text-normal-plus.left-rectangle {
        text-align: center;
    }

    .category .uppercase  {
        font-size: 2rem;
    }
    .category .text-center {
        margin-bottom: 18px;
    }

    .service-colum-text img {
        display: block;
        margin: 0 -5rem;
        width: 100vw;
        max-width:  100vw;
    }

    .service-colum-text .inline-block {
        text-align: center;
        margin: 0 3rem;
    }
}

@media (max-width: 1000px) {
    .feedback input,
    .feedback button {
        max-width: 300px;
    }
}

@media (max-width: 900px) {
    .cabinet {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        gap: 30px;
    }
    .feedback .feedback-subtitle {
        max-width: 45rem;
        margin: auto;
        display: block;
        line-height: 1.1;
    }
    .feedback .feedback-form {
        gap: 10px;
    }
    .footer .footer-text-wrapper > div {
        margin: auto;
        /*text-align: center;*/
    }
    .footer-text-wrapper {
        gap: 40px;
    }
}

@media (max-width: 900px) {
    .carousel-block-special .text-deal-condition-giant {
        font-size: 23px !important;
        line-height: 1.2 !important;
    }
    .carousel-block-special .text-deal-percent-giant {
        font-size: 92px !important;
        line-height: 1 !important;
    }

    .master-info .left-rectangle {
        display: none ;
    }

    .master_block .about-grid {
        grid-template-columns: 1fr;
        justify-content: center;
        text-align: center;
        margin-top: 40px;
    }

    section > .m-5 {
        margin: 5rem 2rem;
    }
    .service-colum-text img {
        margin: 0 -2rem;
    }
}
@media (min-width: 860px) {
    .category .swiper-pagination {
        display: none;
    }

    .category .swiper-wrapper {
        width: auto;
    }
}

@media (max-width: 860px) {
    .footer-text-wrapper {
        flex-wrap: wrap;
    }
    #banner-block .grid-cols-1 .preview-text-div {
        height: fit-content;
        backdrop-filter: blur(40px);
        -webkit-backdrop-filter: blur(40px);
        padding: 21px 10px;
        text-align: center;
        width: 100%;
        position: relative;
        min-height: 19rem;
    }
    .swiper-masters {
        margin: 0 60px;
    }
    #banner-block .grid-cols-1:nth-child(2) {
        display: none;
    }
    #banner-block .grid-cols-1:nth-child(1) {
        display: flex;
        align-items: center;
        margin-top: 20vh;
        padding: 0 ;
    }
    #banner-block .secondary-pc-text {
        display: none;
        align-items: center;
        justify-content: center;

    }
    .text-slogan {
        color: #121212;
        font-size: 28px !important;
        line-height: 1.2 !important;
    }

    #banner-block {
        grid-template-columns: 1fr;
        height: calc(100vh - 100px);
    }
    #banner-block .preview-text-div > a {
        position: absolute;
        top: calc(100% + 20px);
        width: 100%;
    }
    .category .category-wrapper {
        display: flex;
        gap: 0;
        margin: 0;
        margin-bottom: 40px;
    }
    .category .category-wrapper .font-text-normal {
        font-size: 2.3rem;
        line-height: 1.2;
        text-align: start;
    }

    .swiper-categories {
        padding: 0 20px;
    }

    .category .swiper-pagination {
        top: 100%;
    }
}

@media (max-width: 800px) {
    .special-block {
        margin: 0 2rem;
    }
    .special__container  .carousel-button {
        display: none;
    }
    .footer-logo img{
        padding: 0 5rem;
    }
}

@media (max-width: 650px) {
    .swiper-rewiews .carousel-button {
        display: none;
    }

    .slide_master__container .carousel-button {
        border-top: 2.5rem solid transparent;
        border-bottom: 2.5rem solid transparent;
    }
    .slide_master__container .carousel-button.next {
        border-left: 2.5rem solid hsl(24 40 56 / 1);
    }

    .slide_master__container .carousel-button.prev {
        border-right: 2.5rem solid hsl(24 40 56 / 1);
    }

    .map__container .map-text-block {
        position: absolute;
        background-color: #fff;
        width: calc(100% - 40px);
        left: 20px;
        margin: 0;
        padding: 35px;
    }
    .map__container {
        min-height: 738px;
        margin-bottom: 0rem;
    }
    .map-image {
        min-height: 738px;
    }
    .master-name {
        font-size: 3rem;
    }
    .master-desc {
        font-size: 2.1rem;
        line-height: 3rem;
    }
    .primary-font {
        font-size: 3.5rem !important;
    }

    .category-name .font-text-small {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    .footer .footer-text-wrapper > div {
        text-align: center;
    }
}

@media (max-width: 620px) {
    .cabinet {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        gap: 30px;
    }
    .cabinet p:first-child {
        order: 2;
        font-size: 18px;
    }
    .feedback .feedback-title {
        font-size: 3.5rem;
    }
    .feedback .feedback-subtitle {
        max-width: 30rem;
        margin: auto;
        display: block;
        line-height: 1.1;
        font-size: 1.7rem;
    }
    .feedback input, .feedback button {
        max-width: 276px;
    }
    .feedback .feedback-form {
        gap: 10px;
    }
    .footer .footer-text-wrapper > div {
        margin: auto;
        text-align: center;
    }
    .footer .footer-title {
        text-transform: none;
        font-size: 2.4rem;
        font-weight: 500;
    }
    .footer a, .footer-logo p, .footer-social p {
        font-size: 1.8rem;
    }
    .footer-text-wrapper {
        gap: 40px;
    }
    .pulse-button {
        bottom: 190px !important;
    }
    .service_block .description,
    .service-colum-text .font-text-normal-plus.left-rectangle,
    .price_block li p {
        font-size: 2rem;
    }

}

@media (max-width: 455px) {
    .footer-logo img{
        padding: 0 0;
    }
    .primary-font {
        font-size: 2.5rem !important;
    }
    .swiper-categories .category-main-cards {
        height: 210px !important;
    }
    .map__container  .map-social {
        margin-top: 30px;
        justify-content: start;
    }

    .service_block .description {
        position: relative;
    }
    .service_block .description::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 340px;
        height: 358px;
        background-image: url('/images/services/before_service.png');
    }
    .service_block .description::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 298px;
        height: 382px;
        background-image: url('/images/services/after_service.png');
    }
}

.swiper-button.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.poppup.active {
    display: block;
}

.poppup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: none;
}

.poppup .modal-dialog {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 740px;
    background-color: #fff;
    padding: 32px 20px 48px;
    background-position: right;
    background-repeat: no-repeat;
    background-size: auto 100%;
    /* display: none; */
    background-image: url("data:image/svg+xml,%3Csvg width='645' height='691' viewBox='0 0 645 691' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M645 0V691H0L645 0Z' fill='%23F3EAE2'/%3E%3C/svg%3E%0A");
}

.poppup .modal-dialog-callback {
    max-width: 900px;
    padding: 40px 70px 80px 60px;
}

.text-modal {
    max-width: 457px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    line-height: normal;
    margin-bottom: 87px;
}

.poppup .modal-dialog button {
    width: 80%;
}


.swiper-masters_callback {
    overflow: hidden;
    position: relative;
    max-width: 318px;
    width: fit-content;
    margin: auto;
    margin-bottom: -40px;
}

.modal-form__container {
    width: 100%;
}

.modal-dialog .slide_master__container {
    width: 35%;
    text-align: center;
}

.modal-dialog form {
    flex-direction: column;
    gap: 20px;
}

.poppup  .modal-dialog form button {
    width: 100%;
    height: 85px;
}

.poppup  .modal-dialog form input {
    height: 85px;
    border: #C08769 1px solid;
}

.modal-dialog .carousel-button.next {
    border-left: 2rem solid hsl(24 40 56 / 1);
}
.modal-dialog .carousel-button.prev {
    border-right: 2rem solid hsl(24 40 56 / 1);
}

.modal-dialog .carousel-button {
    border-top: 2rem solid transparent;
    border-bottom: 2rem solid transparent;
}

#closeModalCallback {
 position: absolute;
 top: 10px;
 right: 10px;
}
.poppup .politic {
    text-align: start;
}
.poppup .modal-dialog form  .politic input {
    width: 20px;
    height: 20px;
}

@media (max-width: 1435px) {
    .swiper-masters_callback {
        max-width: 250px;
    }
}

@media (min-width: 1400px) {
    .modal-dialog  .font-title-small {
        font-size: 4.5rem;
        line-height: normal;
    }
}

@media (max-width: 1100px) {
    .modal-dialog .slide_master__container {
        display: none;
    }
    .modal-form__container {
        width: 100%;
        text-align: center;
    }
    .modal-dialog form {
        max-width: 100%;
        padding-top: 1rem;
    }
}
@media (max-width: 550px) {
    .text-modal {
        font-size: 2rem;
    }
    .poppup .modal-dialog button {
        width: 100%;
        padding: 1rem;
        font-size: 2rem;
    }
}

