/*!
Theme Name: Sws Art and Smart
*/

.grecaptcha-badge {
	visibility: hidden;
}

.wpcf7 form .wpcf7-response-output {
    color: #fff;
}

.wpcf7-form.sws-form.submitting .tp-btn-border {
	pointer-events: none;
	cursor: not-allowed;
}

.sws-logo {
    width: auto;
    height: 100px;
}

.main-menu {
    display: flex;
    justify-content: center;
}

.text-white * {
    color: #fff !important;
}

.tp-contact-left .tp-section-title > * + * {
    margin-top: 16px;
}

.tp-section-title h3 {
    font-size: 48px;
}

.tp-contact-right {
    margin-right: 0;
}

.tp-contact-icon {
    height: 30px;
}

.tp-contact-icon br {
    display: none;
}

.tp-contact-input-box > p, .tp-contact-textarea-box > p {
    margin: 0;
}

.sws-label {
    margin-bottom: 5px;
    display: inline-block;
}

.text-white {
    color: #fff !important;
}

.sws-slider-container {

}

.sws-slider {

}

.sws-slide {

}

.sws-slide-inner {
    width: 100%;
    padding-top: 36%;
    /*width: 100%;*/
    /*height: 100%;*/
    position: relative;
    overflow: hidden;
}

.sws-slide-inner:before {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    background: rgba(255,255,255,.5);
    display: block;
}

.sws-slide-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.sws-slide-content {
    height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: flex-end;
    text-align: right;
    z-index: 3;
}

.sws-slide-content h2 {
    font-size: 90px;
    font-weight: 500;
}

.sws-slide-content p {
    font-size: 34px;
    margin: 24px 0 0;
}

.sws-content-block:not(:last-child) {
    margin-bottom: 100px;
}

img {
    height: auto;
}

body.page-id-2328 .breadcrumb__pt {
    display: none;
}

.cta-block {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    position: relative;
}

.cta-block:before {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    /*background: rgba(0,0,0,.5);*/
    background: rgba(255,255,255,.5);
    display: block;
    backdrop-filter: blur(6px);
}

.p-20 {
    padding: 20px;
}

.tp-service-2-icon svg {
    width: 100%;
    height: auto;
}

.sws-gallery {
    display: flex;
    gap: 16px;
    flex-flow: wrap;
    justify-content: center;
}

.sws-gallery-item {
    width: calc( 100% / 3 - 32px / 3 );
}

.sws-gallery-item-inner {
    width: 100%;
    padding-top: 75%;
    position: relative;
    overflow: hidden;
}

.sws-gallery-item-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.sws-logos-list {
    margin-top: 30px;
}

.sws-logo-item {
    padding: 0 25px;
    display: flex !important;
    justify-content: center;
    align-items: center;
}

.sws-logos-list .slick-track {
    display: flex;
}

.sws-logos-list .slick-track .slick-slide {
    display: flex;
    height: auto;
    align-items: center;
    justify-content: center;
}

.sws-logo-image {

}

.slick-dots {
    display: flex !important;
    justify-content: center;
    margin-top: 30px;
    gap: 15px;
    flex-flow: wrap;
    list-style: none;
}

.slick-dots li {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0,0,0,.25);
    transition: .3s;
    cursor: pointer;
    text-indent: -9999px;
    border: none;
    outline: none;
}

.slick-dots li:hover, .slick-dots li.slick-active {
    transition: .3s;
    background: #000;
}

.ba-container {
    position: relative;
    width: 100%;
    max-width: 900px; /* ограничение по ширине */
    aspect-ratio: 16 / 9; /* пропорции (можно менять) */
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    margin: auto;
}

.ba-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* "After" поверх с маской */
.ba-resize {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    clip-path: inset(0 50% 0 0); /* половина изначально */
}

.ba-resize img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ba-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: orange;
    cursor: ew-resize;
    z-index: 2;
    transition: background 0.2s;
}

.ba-handle:hover {
    background: darkorange;
}

.ba-handle::before {
    content: "⇔";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 50%;
    border: 2px solid orange;
    padding: 6px 12px;
    font-size: 18px;
}

.ba-label {
    position: absolute;
    top: 20px;
    padding: 6px 12px;
    background: rgba(0,0,0,0.5);
    color: white;
    font-size: 14px;
    border-radius: 4px;
    user-select: none;
}

.ba-label.before { left: 20px; }
.ba-label.after { right: 20px; }

.comparison-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
}

.comparison-content {
    width: calc( 40% - 16px );
}

.ba-container {
    width: calc( 60% - 16px );
}

h2 {
    font-size: 36px;
}

.sws-items-list {
    display: flex;
    flex-flow: wrap;
    gap: 16px;
}

.sws-item-wrapper {
    display: block;
    position: relative;
    flex-shrink: 0;
    width: calc( 50% - 8px );
}

.sws-item-inner {
    width: 100%;
    padding-top: 56.25%;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.sws-item-inner img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
    transition: .6s;
}

.sws-item-inner:after {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    background: rgba(0,0,0,.65);
    display: block;
}

.sws-item-wrapper:hover .sws-item-inner img {
    transition: .6s;
    transform: translate(-50%, -50%) scale(1.05);
}

.sws-item-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    color: #fff;
    font-size: 24px;
    font-weight: 500;
    text-align: center;
    text-transform: uppercase;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 5vw;
}

.tp-hero-pt {
    /*padding-top: 190px;*/
    padding-top: 30px !important;
}

.breadcrumb__pt {
    padding-top: 0 !important;
}

.tpoffcanvas__title {
    margin: 40px 0 0 !important;
}

.tpoffcanvas__title p {
    margin: 0 !important;
}

.tpoffcanvas__logo {
    margin-bottom: 20px !important;
}

.tp-footer-logo {
    padding-bottom: 0 !important;
    max-width: 250px;
    margin: 0 auto;
}

.tp-footer-text p {
    margin-bottom: 0;
}

.tp-shop-details__tab-big-img {
    padding: 0 !important;
}

.breadcrumb__height {
    height: 50vh !important;
    min-height: 400px !important;
}

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

.tp-product-2-area {
    padding: 60px 2.5% !important;
}

.sws-separator {
    margin: 0 5px;
}

.nav.nav-tab {

}

.tp-shop-details__tab-btn-box button {
    width: calc(100% / 6) !important;
    margin: 0 !important;
}

.sws-hidden {
    display: none !important;
}

.tp-header-menu > nav > ul > li.menu-item-has-children > a {
    padding-right: 20px !important;
}

.tp-header-menu > nav > ul > li > .sub-menu > li.menu-item-has-children:after,
.tp-header-menu > nav > ul > li.menu-item-has-children > a:before {
    content: '';
    width: 12px;
    height: 12px;
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    background: url('./img/icon/chevron_right_icon.svg') no-repeat center/100%;
}

.tp-header-menu > nav > ul > li.menu-item-has-children > a:before {
    right: 0;
    background-image: url('./img/icon/chevron_down_icon.svg');
}

.tp-header-menu > nav > ul > li .submenu, .tp-header-menu > nav > ul > li .sub-menu {
    width: 223px !important;
}

@media screen and (max-width: 1499px) {
    .sws-content-block:not(:last-child) {
        margin-bottom: 80px;
    }

    h2 {
        font-size: 34px;
    }

    .sws-slide-content h2 {
        font-size: 75px;
    }

    .sws-slide-content p {
        font-size: 32px;
    }
}

@media screen and (max-width: 1199px) {
    .sws-logo {
        height: 80px;
    }

    h2 {
        font-size: 32px;
    }

    .sws-slide-content h2 {
        font-size: 60px;
    }

    .sws-slide-content p {
        font-size: 30px;
    }
}

@media screen and (max-width: 1023px) {
    .sws-content-block:not(:last-child) {
        margin-bottom: 60px;
    }

    h2 {
        font-size: 30px;
    }

    .sws-slide-content h2 {
        font-size: 40px;
    }

    .sws-slide-content p {
        font-size: 28px;
    }

    .tp-hero-pt {
        padding-top: 140px;
    }
}

@media screen and (max-width: 767px) {
    .sws-card-item {
        text-align: center !important;
        padding-left: 5% !important;
        padding-right: 5% !important;
    }

    .wp-block-spacer {
        height: 50px !important;
    }

    .tp-footer-widget {
        justify-content: center;
    }

    .tp-footer-contact ul li span {
        position: relative !important;
    }

    .tp-footer-title {
        margin-bottom: 10px !important;
    }

    .tp-contact-area {
        padding: 50px 5% !important;
    }

    .tp-footer-area {
        padding: 50px 2.5% 15px !important;
        text-align: center;
    }

    .tp-hero-title {
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .tp-hero-pt, .breadcrumb__pt {
        padding-top: 25px !important;
    }

    .tpoffcanvas {
        width: 325px !important;
    }

    .tpoffcanvas__logo {
        margin-bottom: 10px !important;
    }

    .tp-hero-pt {
        padding-top: 130px;
    }

    .comparison-container {
        flex-flow: column;
        gap: 16px;
        text-align: center;
    }

    .ba-container, .comparison-content {
        width: 100%;
    }

    .sws-items-list {
        gap: 12px;
    }

    .sws-item-wrapper {
        width: calc( 50% - 6px );
    }

    .tpoffcanvas {
        width: 330px;
    }

    .sws-logo-item {
        padding: 0 15px;
    }

    .sws-content-block:not(:last-child) {
        margin-bottom: 40px;
    }

    .sws-gallery {
        gap: 12px;
    }

    .sws-gallery-item {
        width: calc(50% - 6px);
    }

    .sws-slide-content p {
        font-size: 24px;
    }

    h2 {
        font-size: 28px;
    }

    .sws-slide-content {
        align-items: center;
    }

    .sws-slide-content h2 {
        font-size: 32px;
        text-align: center;
    }

    .sws-slide-inner {
        padding-top: 65%;
    }
}

@media screen and (max-width: 550px) {
    .sws-item-wrapper {
        width: 100%;
    }
}