.section-free-page-form::before {
    content: '';
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 20 Q30 10 20 20 Q10 30 20 40 L50 60 L80 40 Q90 30 80 20 Q70 10 50 20 M50 30 L50 50' fill='%23f5a5ba' stroke='%23f5a5ba' stroke-width='3'/%3E%3C/svg%3E");

    background-size: contain;
    background-repeat: no-repeat;
    z-index: 10;
}

.custom-klaviyo-form-wrapper {
    max-width: 400px;
    margin: 0 auto;
    padding: 30px;
    background: #fff;
    border: 5px solid #ff9ec4;
    border-radius: 20px;
}

.form-title-image {
    width: 100%;
    max-width: 350px;
    margin: 0 auto 20px;
    display: block;
}

.custom-klaviyo-form h3 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: bold;
}

.custom-klaviyo-form input {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 25px;
    font-size: 14px;
    background: #f5f5ff;
    box-sizing: border-box;
}

.custom-klaviyo-form input:focus {
    outline: none;
    border-color: #ffc0cb;
}

.submit-btn {
    width: 100%;
    padding: 12px;
    background: #ff9ec4;
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.submit-btn:hover {
    background: #ff85b3;
}

.submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.form-message {
    margin: 10px 0;
    padding: 10px;
    border-radius: 5px;
    font-size: 14px;
    text-align: center;
    display: none;
}

.form-message.error {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ef5350;
    display: block;
}

.form-message.success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #66bb6a;
    display: block;
}

.success-message {
    text-align: center;
    padding: 20px 0;
}

.success-message h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #ff9ec4;
}

.success-message h4 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #ff9ec4;
}

.success-message p {
    font-size: 14px;
    margin: 5px 0;
}



/* .free-page-form-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .5);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.free-page-form-overlay.active {
    display: flex;
} */

.free-page-form-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .5);

    display: flex;
    justify-content: center;
    align-items: center;

    opacity: 0;
    visibility: hidden;
    transition: .3s;

    z-index: 9999;
}

.free-page-form-overlay.active {
    opacity: 1;
    visibility: visible;
}