/* Component styles are scoped. Host page typography and controls are untouched. */

#verba-atmosphere-popup,
#verba-atmosphere-popup * {
    box-sizing: border-box;
}

#verba-atmosphere-popup {
    --verba-copy: #152a45;
    --verba-accent: #576027;
    position: relative;
    width: 1060px;
    max-width: 100%;
    min-width: 0;
    color: var(--verba-copy);
    font: 400 16px/normal "Clear Sans", sans-serif;
}

#verba-atmosphere-popup[hidden],
#verba-atmosphere-popup [hidden] {
    display: none !important;
}

#verba-atmosphere-popup:focus {
    outline: none;
}

#verba-atmosphere-popup button,
#verba-atmosphere-popup input {
    font: inherit;
}

#verba-atmosphere-popup button {
    cursor: pointer;
}

#verba-atmosphere-popup a {
    color: inherit;
}

#verba-atmosphere-popup button:focus-visible,
#verba-atmosphere-popup input:focus-visible,
#verba-atmosphere-popup a:focus-visible {
    outline: 3px solid #4d99b7;
    outline-offset: 3px;
}

#verba-atmosphere-popup .popup {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
    min-height: 640px;
    margin: 0;
    padding: 10px;
    overflow: hidden;
    border-radius: 12px;
    background: #dfe2e5;
}

#verba-atmosphere-popup .content-panel {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 24px;
    min-width: 0;
    padding: 28px;
    border-radius: 16px;
    background: #fff;
}

#verba-atmosphere-popup .copy .h1 {
    margin: 0;
    color: var(--verba-copy);
    font: 400 40px/1.12 "Clear Sans", sans-serif;
    letter-spacing: -.025em;
}

#verba-atmosphere-popup .verba-wordmark {
    display: inline-block;
    width: auto;
    max-width: 100%;
    height: .72em;
    overflow: visible;
    vertical-align: baseline;
    color: inherit;
}

#verba-atmosphere-popup .subtitle {
    margin: 15px 0 0;
    font-size: 18px;
    line-height: 1.4;
}

#verba-atmosphere-popup .copy ul {
    display: grid;
    gap: 12px;
    margin: 15px 0 0;
    padding: 0;
    list-style: none;
    font-size: 16px;
    line-height: 1.35;
}

#verba-atmosphere-popup .copy li {
    position: relative;
    padding-left: 22px;
}

#verba-atmosphere-popup .copy li::before {
    position: absolute;
    top: .44em;
    left: 0;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--verba-accent);
    content: "";
}

#verba-atmosphere-popup .lead-form {
    display: grid;
    gap: 8px;
    width: 100%;
    margin: 0;
}

#verba-atmosphere-popup .lead-form>label:not(.consent) {
    font-size: 14px;
    line-height: 1.4;
}

#verba-atmosphere-popup .lead-form input:not([type="checkbox"]) {
    width: 100%;
    height: 50px;
    padding: 12px 20px;
    border: 1px solid #d8d8d8;
    border-radius: 8px;
    background: #fff;
    font-size: 18px;
    outline-offset: 2px;
}

#verba-atmosphere-popup .lead-form input[aria-invalid="true"] {
    border-color: #9b2929;
}

#verba-atmosphere-popup .action {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
    padding: 12px 18px;
    border: 0;
    border-radius: 8px;
    background: var(--verba-accent);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    white-space: normal;
}

#verba-atmosphere-popup .action:hover {
    filter: brightness(.95);
}

#verba-atmosphere-popup .consent {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 11px;
    line-height: 1.45;
    cursor: pointer;
}

#verba-atmosphere-popup .consent input {
    flex: none;
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: var(--verba-accent);
}

#verba-atmosphere-popup .form-message {
    margin: 0;
    color: #9b2929;
    font-size: 13px;
    line-height: 1.4;
}

#verba-atmosphere-popup .form-message:empty {
    display: none;
}

#verba-atmosphere-popup .form-message.success {
    color: var(--verba-copy);
}

#verba-atmosphere-popup .photo-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-width: 0;
    min-height: 100%;
    overflow: hidden;
    border-radius: 16px;
    background: #152a45;
}

#verba-atmosphere-popup video {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

#verba-atmosphere-popup .video-controls {
    position: absolute;
    right: 16px;
    bottom: 16px;
    left: 16px;
    display: flex;
    justify-content: flex-end;
    pointer-events: none;
}

#verba-atmosphere-popup .sound-toggle {
    position: relative;
    display: grid;
    flex: none;
    place-items: center;
    width: 44px;
    height: 44px;
    min-height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #fff;
    font-size: 16px;
    line-height: 1.3;
    pointer-events: auto;
}

#verba-atmosphere-popup .sound-toggle::before {
    position: absolute;
    inset: 8px;
    border: 1px solid #ffffff33;
    border-radius: 50%;
    background: #1c283b70;
    content: "";
    pointer-events: none;
}

#verba-atmosphere-popup .sound-toggle span {
    position: relative;
    z-index: 1;
    opacity: .9;
}

#verba-atmosphere-popup .sound-toggle.is-muted::after {
    position: absolute;
    z-index: 2;
    width: 14px;
    height: 1px;
    background: #ffffffb0;
    content: "";
    transform: rotate(-45deg);
    pointer-events: none;
}

#verba-atmosphere-popup .sound-toggle:hover::before {
    background: #1c283ba0;
}

#verba-atmosphere-popup .sound-toggle:focus-visible {
    outline: 2px solid #4d99b7;
    outline-offset: 0;
}

#verba-atmosphere-popup .close {
    position: absolute;
    z-index: 5;
    top: -45px;
    right: 0;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 100px;
    background: #fff;
    box-shadow: 0 2px 18px #0002;
}

#verba-atmosphere-popup .close img {
    display: block;
    width: 16px;
    height: 16px;
}

@media (max-width: 1047px) {
    #verba-atmosphere-popup .sound-toggle {
        font-size: 14px;
    }
    #verba-atmosphere-popup .sound-toggle::before {
        inset: 9px;
    }
    #verba-atmosphere-popup .sound-toggle.is-muted::after {
        width: 12px;
    }
}

@media (max-width: 900px) {
    #verba-atmosphere-popup .popup {
        display: flex;
        flex-direction: column;
        gap: 5px;
        min-height: 0;
        padding: 5px;
        border-radius: 16px;
    }
    #verba-atmosphere-popup .content-panel {
        padding: 24px 20px;
    }
    #verba-atmosphere-popup .copy .h1 {
        padding-right: 15px;
        font-size: 32px;
    }
    #verba-atmosphere-popup .subtitle {
        font-size: 16px;
    }
    #verba-atmosphere-popup .copy ul {
        font-size: 15px;
    }
    #verba-atmosphere-popup .lead-form input:not([type="checkbox"]) {
        height: 44px;
        padding: 10px 14px;
        font-size: 16px;
    }
    #verba-atmosphere-popup .action {
        min-height: 44px;
        font-size: 16px;
    }
    #verba-atmosphere-popup .photo-panel {
        flex: none;
        min-height: 0;
        aspect-ratio: 16/9;
    }
    #verba-atmosphere-popup .video-controls {
        right: 10px;
        bottom: 10px;
        left: 10px;
    }
}

@media (max-width: 700px) {
    #verba-atmosphere-popup .content-panel,
    #verba-atmosphere-popup .photo-panel {
        border-radius: 12px;
    }
    #verba-atmosphere-popup .copy ul {
        gap: 8px;
    }
}

@media (max-width: 600px) {
    #verba-atmosphere-popup .content-panel {
        flex: 0 0 auto;
        gap: 12px;
        padding: 16px 12px 12px;
    }
    #verba-atmosphere-popup .copy .h1 {
        padding-right: 24px;
        font-size: 26px;
    }
    #verba-atmosphere-popup .verba-wordmark {
        height: .64em;
    }
    #verba-atmosphere-popup .copy ul {
        display: none;
    }
    #verba-atmosphere-popup .subtitle {
        margin-top: 10px;
    }
    #verba-atmosphere-popup .lead-form {
        gap: 6px;
    }
    #verba-atmosphere-popup .lead-form>label:not(.consent) {
        font-size: clamp(10px, 3.1vw, 11.5px);
        line-height: 1.3;
    }
    #verba-atmosphere-popup .consent {
        align-items: center;
        gap: 5px;
        font-size: 9px;
        line-height: 1.3;
    }
    #verba-atmosphere-popup .consent input {
        width: 12px;
        height: 12px;
    }
    #verba-atmosphere-popup .photo-panel {
        flex: 0 0 auto;
        height: calc(clamp(240px, 80vw, 300px) + 40px);
        min-height: 0;
        aspect-ratio: auto;
    }
    #verba-atmosphere-popup .close {
        top: 12px;
        right: 12px;
        width: 30px;
        height: 30px;
    }
}

div#verba-atmosphere-popup section.popup.split {
    opacity: 1 !important;
    visibility: visible !important;
    position: relative;
    z-index: 2;
    pointer-events: all;
}

#verba-atmosphere-popup .consent input {
    background-color: initial;
    cursor: default;
    appearance: auto;
    box-sizing: border-box;
    padding: initial;
    border: initial;
    margin: 3px 3px 3px 4px;
    position: relative;
    top: unset;
    left: unset;
    margin: 0px;
}

.verba-bg-popup.is-open {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999999999;
    background: rgba(0, 0, 0, .55);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-y: auto;
    padding: 20px 0px;
    min-height: fit-content;
}

@media (max-width: 992px) {
    .verba-bg-popup.is-open {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 9999999999;
        background: rgba(0, 0, 0, .55);
        padding: 10px;
        display: flex;
        height: 100vh;
        overflow-y: auto;
        box-sizing: border-box;
        min-height: 100vh;
        display: block;
        padding: 10px;
    }
}

div#verba-atmosphere-popup {
    min-height: fit-content;
    transform: none !important;
    position: relative !important;
    margin: auto 0px;
}

#verba-atmosphere-popup a {
    text-decoration: underline !important;
}

p.of-back.close.footer {
    display: none;
}

.order-form .of-close-all:after, .order-form .of-close-all:before {
    background: #333;
}
.floating-widget-container.active .fab-menu {
    z-index: 9;
}
