/*
Theme Name: WebHero WP
Version: 1.0
Description: ...
Author: lite:WEB Vladislav Darmogray
Author URI: https://lweb.pro/
Text Domain: wbhr
Domain Path: /lang
*/


/*@import url("./css/main.css");*/



#ym-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.52);
    z-index: 99998;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 28px;
    animation: ymFadeIn .25s ease;
}

#ym-overlay.is-visible {
    display: flex;
}


#ym-overlay {

}
@keyframes ymFadeIn { from{opacity:0} to{opacity:1} }
@keyframes ymFadeOut { from{opacity:1} to{opacity:0} }
@keyframes ymSlideUp { from{opacity:0;transform:translateY(16px)} to{opacity:1;transform:translateY(0)} }

#ym-popup {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,.3);
    padding: 20px 24px;
    max-width: 820px;
    width: calc(100% - 32px);
    display: flex;
    align-items: center;
    gap: 20px;
    animation: ymSlideUp .3s cubic-bezier(.22,.68,0,1.15);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}

#ym-popup p {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.55;
    color: #333;
    flex: 1;
}
#ym-popup a {
    color: #6197e5;

}
#ym-accept {
    white-space: nowrap;
    padding: 10px 22px;
    background: #6197e5;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: background .15s;
    flex-shrink: 0;
}
#ym-accept:hover { background: #3b6bb0; }
#ym-accept:active { transform: scale(.97); }

@media (max-width: 480px) {
    #ym-popup { flex-direction: column; align-items: stretch; gap: 14px; }
    #ym-accept { width: 100%; text-align: center; }
}

.form-check input[type="checkbox"] {
    background: #fff;
    border: 1px solid #0e0e0e;
    color: #555;
    clear: none;
    cursor: pointer;
    display: inline-block;
    height: 20px;
    margin-right: 0;
    outline: 0;
    padding: 0 !important;
    text-align: center;
    vertical-align: middle;
    width: 20px;
    min-width: 20px;
    -webkit-appearance: none;
    -webkit-transition: .05s border-color ease-in-out;
    transition: .05s border-color ease-in-out;
    position: relative;
}
.form-check span {
    font-size: 18px;
    line-height: 1.4;
}
@media screen and (max-width: 600px) {
    .form-check span {
        font-size: 14px;
    }
}
.form-check {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
}
.form-check span a {
    color: #6197e5;
}
.form-check input[type="checkbox"]:checked {
    background: #6197e5;
}
.form-check input[type="checkbox"]:checked::before {
    content: "✓";
    position: absolute;
    top: 0;
    left: 4px;
    color: #fff;
    font-size: 14px;
    line-height: 18px;
}
.form__block_agreement {
    margin-top: 20px;
}