:root {
    --pcp-chocolate: #200d08;
    --pcp-chocolate-soft: #2a130c;
    --pcp-cream: #fbf4ea;
    --pcp-gold: #e7c77f;
    --pcp-gold-dark: #b98a2b;
    --pcp-muted: #c9b9aa;
}

.pcp-caramel-form-wrap,
.pcp-caramel-form-wrap * {
    box-sizing: border-box;
}

.pcp-caramel-form-wrap,
.pcp-caramel-form {
    width: 100%;
}

/* Compact inline form: sized to match the existing minimalist subscribe form. */
.pcp-caramel-form-wrap:not(.is-popup-form) {
    width: min(100%, 850px);
    margin: 0 auto;
}

.pcp-form-row {
    display: flex;
    align-items: center;
    gap: 18px;
}

.pcp-field {
    min-width: 0;
}

.pcp-email-field {
    flex: 1 1 auto;
}

.pcp-name-field {
    margin-bottom: 10px;
}

.pcp-field input[type="email"],
.pcp-field input[type="text"] {
    width: 100%;
    min-height: 50px;
    padding: 0 28px;
    border: 1px solid rgba(215, 165, 63, .58);
    border-radius: 999px;
    background: transparent;
    color: var(--pcp-cream);
    font: inherit;
    font-size: 15px;
    line-height: 1;
    outline: none;
    box-shadow: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.pcp-field input::placeholder {
    color: rgba(251, 244, 234, .5);
}

.pcp-field input:focus {
    border-color: var(--pcp-gold);
    box-shadow: 0 0 0 3px rgba(231, 199, 127, .1);
}

.pcp-submit-button {
    flex: 0 0 auto;
    min-width: 205px;
    min-height: 50px;
    padding: 0 26px;
    border: 1px solid var(--pcp-gold-dark) !important;
    border-radius: 999px;
    background: var(--pcp-gold) !important;
    color: #1d0c07 !important;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .18em;
    cursor: pointer;
    box-shadow: none !important;
    transition: opacity .2s ease;
}

/* Keep the exact same button colors on hover/focus/active. */
.pcp-submit-button:hover,
.pcp-submit-button:focus,
.pcp-submit-button:active {
    border-color: var(--pcp-gold-dark) !important;
    background: var(--pcp-gold) !important;
    color: #1d0c07 !important;
    transform: none !important;
    filter: none !important;
    box-shadow: none !important;
}

.pcp-submit-button:disabled {
    cursor: wait;
    opacity: .68;
}

.pcp-submit-button.is-loading span::after {
    content: '…';
}

.pcp-consent {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    width: 100%;
    margin-top: 11px;
    color: var(--pcp-muted);
    font-size: 11px;
    line-height: 1.45;
    cursor: pointer;
}

.pcp-consent input {
    flex: 0 0 auto;
    width: 15px;
    height: 15px;
    margin: 1px 0 0;
    accent-color: var(--pcp-gold-dark);
}

.pcp-form-message {
    min-height: 18px;
    margin-top: 9px;
    color: var(--pcp-cream);
    font-size: 12px;
    line-height: 1.45;
}

.pcp-form-message.is-error {
    color: #ffb6a7;
}

.pcp-form-message.is-success {
    color: #efd79c;
    font-weight: 600;
}

.pcp-honeypot {
    position: absolute !important;
    left: -99999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
}

/* Popup */
.pcp-popup[hidden] {
    display: none !important;
}

.pcp-popup {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: grid;
    place-items: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .22s ease, visibility .22s ease;
}

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

.pcp-popup-overlay {
    position: absolute;
    inset: 0;
    background: rgba(12, 4, 2, .78);
    backdrop-filter: blur(5px);
}

.pcp-popup-dialog {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
    width: min(900px, 100%);
    max-height: calc(100vh - 40px);
    overflow: auto;
    border: 1px solid rgba(231, 199, 127, .28);
    border-radius: 22px;
    background: linear-gradient(135deg, #2a130c 0%, #190a06 100%);
    box-shadow: 0 24px 70px rgba(0, 0, 0, .5);
    color: var(--pcp-cream);
    transform: translateY(12px) scale(.985);
    transition: transform .22s ease;
}

.pcp-popup.is-open .pcp-popup-dialog {
    transform: translateY(0) scale(1);
}

/* No-cover popup: compact, centered and single-column. */
.pcp-popup-dialog.pcp-popup-dialog--no-cover {
    display: block;
    width: min(760px, 100%);
}

.pcp-popup-cover {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    padding: 24px;
    overflow: hidden;
    background: rgba(255, 255, 255, .03);
}

.pcp-popup-cover img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 440px;
    object-fit: contain;
}

.pcp-popup-content {
    align-self: center;
    padding: 38px 42px 34px;
}

.pcp-popup-kicker {
    margin: 0 0 10px;
    color: var(--pcp-gold);
    font-size: 10px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: .22em;
}

.pcp-popup h2 {
    max-width: 620px;
    margin: 0 46px 15px 0;
    color: var(--pcp-cream);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(36px, 4vw, 46px);
    font-weight: 400;
    line-height: 1.05;
}

.pcp-popup-description {
    max-width: 500px;
    margin: 0 0 20px;
    color: #dacabe;
    font-size: 14px;
    line-height: 1.55;
}

.pcp-caramel-form-wrap.is-popup-form .pcp-form-row {
    gap: 14px;
}

.pcp-caramel-form-wrap.is-popup-form .pcp-field input[type="email"],
.pcp-caramel-form-wrap.is-popup-form .pcp-field input[type="text"],
.pcp-caramel-form-wrap.is-popup-form .pcp-submit-button {
    min-height: 50px;
}

.pcp-caramel-form-wrap.is-popup-form .pcp-submit-button {
    min-width: 205px;
}

.pcp-popup-close {
    position: absolute;
    top: 14px;
    right: 15px;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    color: var(--pcp-cream);
    font-size: 25px;
    line-height: 1;
    cursor: pointer;
}

.pcp-popup-close:hover,
.pcp-popup-close:focus,
.pcp-popup-close:active {
    background: rgba(255, 255, 255, .08);
    color: var(--pcp-cream);
}

html.pcp-popup-open {
    overflow: hidden;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 900px) {
    .pcp-caramel-form-wrap:not(.is-popup-form) {
        width: min(100%, 800px);
    }

    .pcp-popup-dialog {
        grid-template-columns: 220px minmax(0, 1fr);
        width: min(820px, 100%);
    }

    .pcp-popup-dialog.pcp-popup-dialog--no-cover {
        width: min(720px, 100%);
    }

    .pcp-popup-content {
        padding: 32px 32px 28px;
    }

    .pcp-popup h2 {
        font-size: clamp(34px, 5vw, 42px);
    }
}

@media (max-width: 700px) {
    .pcp-form-row {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .pcp-submit-button {
        width: 100%;
        min-width: 0;
    }

    .pcp-caramel-form-wrap:not(.is-popup-form) {
        width: 100%;
    }

    .pcp-popup {
        padding: 10px;
    }

    .pcp-popup-dialog,
    .pcp-popup-dialog.pcp-popup-dialog--no-cover {
        display: block;
        width: 100%;
        max-height: calc(100vh - 20px);
        border-radius: 18px;
    }

    .pcp-popup-cover {
        height: 190px;
        padding: 18px 42px 0;
    }

    .pcp-popup-cover img {
        max-height: 100%;
        object-position: center;
    }

    .pcp-popup-content {
        padding: 27px 20px 22px;
    }

    .pcp-popup h2 {
        max-width: none;
        margin-right: 38px;
        font-size: clamp(30px, 10vw, 38px);
    }

    .pcp-popup-description {
        max-width: none;
        margin-bottom: 17px;
        font-size: 13px;
    }

    .pcp-caramel-form-wrap.is-popup-form .pcp-submit-button {
        min-width: 0;
    }

    .pcp-field input[type="email"],
    .pcp-field input[type="text"],
    .pcp-submit-button,
    .pcp-caramel-form-wrap.is-popup-form .pcp-field input[type="email"],
    .pcp-caramel-form-wrap.is-popup-form .pcp-field input[type="text"],
    .pcp-caramel-form-wrap.is-popup-form .pcp-submit-button {
        min-height: 50px;
    }

    .pcp-consent {
        font-size: 10.5px;
    }
}

@media (max-width: 420px) {
    .pcp-popup-content {
        padding: 24px 17px 20px;
    }

    .pcp-popup h2 {
        font-size: 30px;
    }

    .pcp-popup-close {
        top: 10px;
        right: 10px;
        width: 34px;
        height: 34px;
        font-size: 23px;
    }
}
