/* CCE Email Gate Modal */

#cce-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(26,39,68,.6);
    z-index: 9998;
    backdrop-filter: blur(2px);
}
#cce-overlay.is-open { display: block; }

#cce-modal {
    display: none;
    position: fixed;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    background: #fff;
    border-radius: 20px;
    padding: 44px 36px 36px;
    width: 90%;
    max-width: 440px;
    box-shadow: 0 24px 60px rgba(26,39,68,.22);
    text-align: center;
}
#cce-modal.is-open { display: block; }

.cce-modal-close {
    position: absolute;
    top: 14px; right: 16px;
    background: none;
    border: none;
    font-size: 22px;
    color: #6b6560;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    transition: background .15s;
}
.cce-modal-close:hover { background: #f1ece2; }

.cce-modal-cross {
    width: 28px; height: 28px;
    position: relative;
    margin: 0 auto 14px;
}
.cce-modal-cross::before,
.cce-modal-cross::after {
    content: '';
    position: absolute;
    background: #b8962e;
    border-radius: 2px;
}
.cce-modal-cross::before { width: 4px; height: 28px; left: 12px; top: 0; }
.cce-modal-cross::after  { width: 28px; height: 4px; left: 0; top: 12px; }

.cce-modal-eyebrow {
    font-size: 9px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #6b6560;
    margin-bottom: 6px;
}
.cce-modal-title {
    font-family: Georgia, serif;
    font-size: 26px;
    font-weight: normal;
    color: #1a1714;
    line-height: 1.2;
    margin-bottom: 10px;
}
.cce-modal-sub {
    font-size: 13px;
    color: #6b6560;
    line-height: 1.65;
    margin-bottom: 20px;
    font-weight: 300;
}

.cce-gate-label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: #3d3830;
    margin-bottom: 6px;
    text-align: left;
}
.cce-gate-input {
    width: 100%;
    padding: 11px 13px;
    border: 1.5px solid #cfc6b4;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    color: #1a1714;
    background: #faf8f4;
    outline: none;
    box-sizing: border-box;
    margin-bottom: 8px;
    transition: border-color .15s;
}
.cce-gate-input:focus { border-color: #1a2744; }
.cce-gate-error {
    font-size: 12px;
    color: #b42318;
    text-align: left;
    margin-bottom: 8px;
}
.cce-gate-submit {
    width: 100%;
    padding: 13px;
    background: #1a2744;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    margin-bottom: 12px;
    transition: background .15s;
}
.cce-gate-submit:hover:not(:disabled) { background: #253560; }
.cce-gate-submit:disabled { opacity: .6; cursor: not-allowed; }

.cce-modal-fine {
    font-size: 11px;
    color: #6b6560;
    line-height: 1.5;
    font-weight: 300;
}

@media (max-width: 480px) {
    #cce-modal { padding: 36px 20px 28px; border-radius: 14px; }
}
