.select-body {
    z-index: 1000;
}

.wpcf7-spinner {
    display: none !important;
}

.wpcf7-form p {
    margin: 0 !important;
}

.wpcf7-response-output {
    display: none !important;
    margin: 0 !important;
}

.form-message-error {
    display: none !important;
}

.buttons a {
    text-decoration: none;
}


.media-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.media-wrapper iframe,
.media-wrapper img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
}

/* Стили для обычных видео (16:9) */
.media-wrapper iframe:not(.shorts-video) {
    aspect-ratio: 16 / 9;
    min-height: 300px;
}

/* Стили для Shorts видео (9:16) - вертикальное видео на десктопе */
.media-wrapper iframe.shorts-video {
    aspect-ratio: 9 / 16;
    max-height: 420px;
    width: auto;
    margin: 0 auto;
}

/* Для горизонтального расположения элементов */
.library .item {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
}

.library .item .left,
.library .item .media-wrapper {
    flex: 1;
}

.library .item .left {
    padding: 20px;
}

/* Адаптация под разные размеры экрана */
@media (max-width: 1024px) {
    .media-wrapper iframe.shorts-video {
        max-height: 60vh;
    }
}

@media (max-width: 768px) {
    .library .item {
        flex-direction: column !important;
        gap: 20px;
    }

    .media-wrapper {
        width: 100%;
        margin-bottom: 0;
    }

    .library .item .left,
    .library .item .media-wrapper {
        width: 100%;
    }

    .media-wrapper iframe.shorts-video {
        width: 100% !important;
        max-height: none !important;
        aspect-ratio: 9 / 16 !important;
        height: auto !important;
        background: none;
    }

    .media-wrapper iframe:not(.shorts-video) {
        min-height: 200px;
    }
}

/* Если нужно центрировать Shorts видео */
.media-wrapper:has(.shorts-video) {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #000;
}

.shorts-video {
    max-width: 100%;
    object-fit: contain;
}

.video-error {
    padding: 20px;
    text-align: center;
    background: #fff3cd;
    color: #856404;
    border-radius: 8px;
    margin: 0;
    font-size: 14px;
}


/* Стили для медиа-контейнера в integration секции */
.integration-media-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.integration-media-wrapper iframe,
.integration-media-wrapper img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
}

/* Стили для обычных видео (16:9) */
.integration-media-wrapper iframe:not(.shorts-video) {
    aspect-ratio: 16 / 9;
    min-height: 300px;
}

/* Стили для Shorts видео (9:16) - вертикальное видео на десктопе */
.integration-media-wrapper iframe.shorts-video {
    aspect-ratio: 9 / 16;
    max-height: 500px;
    width: auto;
    margin: 0 auto;
}

/* Адаптивность для integration секции */
@media (max-width: 768px) {
    .integration .bottom {
        flex-direction: column;
    }

    .integration .first_item {
        width: 100%;
        margin-bottom: 30px;
    }

    .integration-media-wrapper iframe:not(.shorts-video) {
        min-height: 200px;
    }

    /* НА МОБИЛЬНЫХ - ДЕЛАЕМ SHORTS ВО ВСЮ ШИРИНУ БЕЗ ПОЛЕЙ */
    .integration-media-wrapper iframe.shorts-video {
        width: 100% !important;
        max-height: none !important;
        aspect-ratio: 9 / 16 !important;
        height: auto !important;
        background: none;
    }

    .centr {
        display: none;
    }
}

.video-error {
    padding: 20px;
    text-align: center;
    background: #fff3cd;
    color: #856404;
    border-radius: 8px;
    margin: 0;
    font-size: 14px;
}

.modal form .inputs .item input {
    width: 100%;
    max-width: 100%;
}

.modal form .inputs .item textarea {
    width: 100%;
    max-width: 100%;
}

@media(max-width:1010px) {
    .nav ul {
        display: flex;
        flex-direction: column;
        align-items: start;
        gap: 16px;
    }

    .nav li {
        padding: 12px 0;
        text-align: start;
    }

    .menu .nav a {
        color: #FFF;
        text-decoration: none;
        font-size: 18px;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
        letter-spacing: 0.36px;
    }
}


.library .item .left .status {
    margin-bottom: 16px !important;
}

.library .item .left .name {
    margin-bottom: 16px !important;
}

.library .item .left p {
    margin-bottom: 8px !important;
}

.library .item .left p:has(span),
.library .item .left p span {
    display: inline-block;
    margin-top: 8px;
}

.library .item .left .g1,
.library .item .left .go_btn {
    margin-top: 32px !important;
}

.modal form .inputs .item textarea {
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 0.6px;
}

.modal form .inputs .item textarea::placeholder {
    font-size: 20px;
    font-weight: 500;
}

@media (max-width: 600px) {
    .modal form .inputs .item textarea {
        font-size: 16px;
    }
    
    .modal form .inputs .item textarea::placeholder {
        font-size: 16px;
    }
}


@media not all and (min-resolution:.001dpcm) {
    @supports (-webkit-appearance:none) {
        .hero .swiper-slide {
            width: 100% !important;
            max-width: 524px !important;
            min-width: 0 !important;
            flex: 1 1 524px !important;
        }

        .hero .block .right {
            overflow: hidden !important;
        }
    }
}

@media (max-width: 600px) {
    .swiper-slide {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 100% !important;
        flex: 0 0 100% !important;
    }
}


.mod.mood-success {
    width: 440px;
}

.mod.mood-success .modal {
    padding: 40px 32px;
    text-align: center;
    animation: modalScaleIn 0.4s ease-out both;
}

@keyframes modalScaleIn {
    from {
        opacity: 0;
        transform: scale(0.94);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-circle {
    animation: circlePop 0.5s 0.1s cubic-bezier(0.34, 1.56, 0.64, 1) both;
    transform-origin: center;
}

@keyframes circlePop {
    from {
        opacity: 0;
        transform: scale(0.4);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.success-check {
    stroke-dasharray: 60;
    stroke-dashoffset: 60;
    animation: checkDraw 0.4s 0.45s ease-out forwards;
}

@keyframes checkDraw {
    to {
        stroke-dashoffset: 0;
    }
}

/* Заголовок */
.success-title {
    font-family: "TT Wellingtons Trl DemiBold";
    font-size: 32px;
    font-weight: 600;
    color: #18181B;
    margin-bottom: 12px;
}

.success-title span {
    background: linear-gradient(90deg, #FF6100 0%, #F30 46.23%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-style: italic;
}

/* Текст */
.success-text {
    color: #71717B;
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 32px;
}

/* Кнопка */
.success-btn {
    display: block;
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(180deg, #FF6101 0%, #F30 100%);
    border-radius: 12px;
    color: #FFF;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all 0.2s ease;
}

.success-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* Стили из админки */
.modal form .inputs .item textarea {
    letter-spacing: -0.8px !important;
}
.modal {
    padding: 28px;
}
.modal .title {
    margin-bottom: 16px;
}
.modal form .inputs {
    gap: 8px;
}
.modal form .inputs .item input {
    padding: 16px 18px;
}
.modal form .inputs .item {
    gap: 8px;
}
.modal form .inputs .item textarea {
    padding: 16px 18px;
    margin-bottom: 20px;
    max-height: 76px;
}
.select-header {
    padding: 16px 24px;
}
.modal .btn_orange {
    font-weight: 600 !important;
}
.wrapp.no-scroll {
    height: 900px !important;
}

@media (max-width: 1550px) {
    .header_container {
        padding: 0 48px !important;
    }
    .container {
        padding: 0 36px !important;
    }
}
.wrapp.no-scroll {
    height: 100vh;
}

/* Мобильная версия */
@media (max-width: 600px) {
    .mod.mood-success {
        width: calc(100% - 32px);
        max-width: 400px;
    }

    .mod.mood-success .modal {
        padding: 32px 24px;
    }

    .success-title {
        font-size: 26px;
    }

    .success-icon {
        width: 64px;
        height: 64px;
    }
}

.hero .block .right {
    min-width: 0 !important;
    overflow: visible !important;
    max-width: 524px !important;

	}
	
img.assa.bv-viewport-img {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    display: block !important;
}
	html, body {
    margin: 0;
    padding: 0;
}

.header_and_hero,
.hero,
header#header {
    margin-top: 0 !important;
    padding-top: 0 !important;
}
	header#header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 20;
}

.header_and_hero {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

.header_and_hero,
.hero {
    height: auto !important;
    min-height: 100vh !important;
    overflow: visible !important;
}

.hero .container,
.hero .block {
    height: 100% !important;
    min-height: 100% !important;
}

.hero .block {
    align-items: center !important;
}
.header_and_hero,
.hero {
    height: auto !important;
    min-height: 100vh !important;
    overflow: visible !important;
}
	html {
    overflow-y: scroll;
}
.mod {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 24px !important;
    z-index: 9999 !important;
    overflow-y: auto !important;
}

.modal {
    position: relative !important;
    margin: auto !important;
    width: 100% !important;
    max-width: 560px !important;
    max-height: calc(100vh - 48px) !important;
    overflow-y: auto !important;
}

.body-blur {
    position: fixed !important;
    inset: 0 !important;
}

#modal1 {
    position: fixed !important;
    inset: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 24px !important;
    z-index: 9999 !important;
    overflow-y: auto !important;
}

#modal1 .modal {
    position: relative !important;
    margin: auto !important;
    width: 100% !important;
    max-width: 560px !important;
    max-height: calc(100vh - 48px) !important;
    overflow-y: auto !important;
}