.vroda-contact-popup[hidden] {
    display: none !important;
}

body.vroda-contact-popup-is-open {
    overflow: hidden;
}

.vroda-contact-popup {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.vroda-contact-popup.is-open {
    opacity: 1;
    visibility: visible;
}

.vroda-contact-popup__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(34, 31, 32, 0.62);
    backdrop-filter: blur(3px);
    cursor: pointer;
}

.vroda-contact-popup__dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 680px);
    max-height: calc(100vh - 48px);
    overflow: auto;
    padding: 60px 44px 48px;
    background: #fff;
    color: #221f20;
    border-radius: 10px;
    box-shadow: 0 24px 80px rgba(34, 31, 32, 0.24);
    transform: translateY(16px) scale(0.985);
    transition: transform 0.2s ease;
    outline: none;
    overscroll-behavior: contain;
}

.vroda-contact-popup.is-open .vroda-contact-popup__dialog {
    transform: translateY(0) scale(1);
}

.vroda-contact-popup__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #221f20;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.vroda-contact-popup__close:hover,
.vroda-contact-popup__close:focus-visible {
    background: transparent;
}

.vroda-contact-popup__close span::before,
.vroda-contact-popup__close span::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 2px;
    background: currentColor;
    border-radius: 999px;
}

.vroda-contact-popup__close span::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.vroda-contact-popup__close span::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.vroda-contact-popup__content > :first-child {
    margin-top: 0;
}

.vroda-contact-popup__content > :last-child {
    margin-bottom: 0;
}

.vroda-contact-popup__trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 24px;
    border: 1px solid #3b3f38;
    background: #3b3f38;
    color: #fff;
    font: inherit;
    line-height: 1.2;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.vroda-contact-popup__trigger:hover,
.vroda-contact-popup__trigger:focus-visible {
    background: #221f20;
    color: #fff;
}

.vroda-contact-popup__sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.vroda-contact-popup__configuration-notice {
    padding: 12px 16px;
    border-left: 4px solid #dba617;
    background: #fff8e5;
    color: #221f20;
}

@media (max-width: 768px) {
    .vroda-contact-popup {
        padding: 12px;
    }

    .vroda-contact-popup__dialog {
        width: 100%;
        max-height: calc(100dvh - 24px);
        transform: translateY(24px);
    }
	
	.vroda-contact-popup input[type="submit"] {
		width: 100% !important;
	}
}

@media (prefers-reduced-motion: reduce) {
    .vroda-contact-popup,
    .vroda-contact-popup__dialog,
    .vroda-contact-popup__close,
    .vroda-contact-popup__trigger {
        transition: none;
    }
}
