/*
Theme Name: Razzi Child
Template: razzi
Version: 1.0
*/

.st_field {
    width: 100%;
    box-sizing: border-box;
}

/* Текстовое поле — две строки */
.t_field {
    height: 4em;
    resize: vertical;
}

        .fx-preorder-modal {
            display: none;
            position: fixed;
            inset: 0;
            z-index: 999999;
            align-items: center;
            justify-content: center;
        }

        .fx-preorder-modal.active {
            display: flex;
        }

        .fx-preorder-overlay {
            position: absolute;
            inset: 0;
            background: rgba(0,0,0,.65);
        }

        .fx-preorder-content {
            position: relative;
            z-index: 2;
            background: #fff;
            padding: 35px;
            width: 90%;
            /*max-width: 500px;*/
            max-height: 90vh;
            overflow-y: auto;
            border-radius: 5px;
        }

        .fx-preorder-close {
			position: absolute !important;
			right: 12px !important;
			top: 8px !important;
			z-index: 10 !important;
			display: flex !important;
			align-items: center !important;
			justify-content: center !important;
			width: 36px !important;
			height: 36px !important;
			padding: 0 !important;
			border: none !important;
			background: transparent !important;
			color: #222 !important;
			font-size: 32px !important;
			line-height: 1 !important;
			cursor: pointer !important;
			opacity: 1 !important;
		}	

		.fx-preorder-close:hover {
			color: #888 !important;
		}
        
		
.contact-layout {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Форма строго по центру */
.contact-form {
    width: 100%;
    display: flex;
    justify-content: center;
}

.contact-form .wpcf7 {
    width: 100%;
    max-width: 600px;
}

/* Иконки справа */
.contact-socials {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Мобильная версия */
@media (max-width: 767px) {
    .contact-layout {
        flex-direction: column;
        gap: 25px;
    }

    .contact-socials {
        position: static;
        transform: none;
        flex-direction: row;
        justify-content: center;
    }
}