.sf-form-wrap {
    background: #f7f6fb;
    border: 1px solid #e7e3f0;
    border-radius: 22px;
    padding: 28px 24px;
    margin: 0 0 24px 0;
}

.sf-form-wrap > p,
.sf-form-wrap .sf-grid-3 > p,
.sf-form-wrap .sf-grid-2 > p {
    margin: 0;
}

.sf-form-wrap label {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: #1f1f1f;
    margin-bottom: 10px;
    line-height: 1.4;
}

.sf-form-wrap input[type="text"],
.sf-form-wrap select {
    width: 100%;
    height: 46px;
    padding: 0 14px;
    border: 1px solid #d9dbe3;
    border-radius: 12px;
    background: #ffffff;
    color: #222;
    font-size: 16px;
    box-sizing: border-box;
    outline: none;
    box-shadow: none;
}

.sf-form-wrap input[type="text"]:focus,
.sf-form-wrap select:focus {
    border-color: #7c5cff;
    box-shadow: 0 0 0 3px rgba(124, 92, 255, 0.10);
}

.sf-form-wrap input::placeholder {
    color: #8c8c98;
}

.sf-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 18px;
}

.sf-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 18px;
}

.sf-field-group-title {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #1f1f1f;
    margin: 22px 0 14px;
    line-height: 1.3;
}

.sf-sub-label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #8a8a96;
    margin-bottom: 8px;
}

.sf-field-full {
    margin-top: 18px;
}

.sf-field-full input[type="text"] {
    width: 100%;
}

.sf-form-wrap .sf-birth-place-row {
    margin-top: 18px;
}

.sf-form-wrap .sf-birth-place-row label {
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .sf-form-wrap {
        padding: 20px 16px;
        border-radius: 18px;
    }

    .sf-grid-3,
    .sf-grid-2 {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .sf-field-group-title {
        font-size: 20px;
        margin: 20px 0 12px;
    }

    .sf-form-wrap input[type="text"],
    .sf-form-wrap select {
        height: 44px;
        font-size: 15px;
    }
}

.sf-form-note {
    margin: 0 0 18px 0 !important;
    font-size: 15px;
    line-height: 1.5;
    color: #4b5563;
}

/* ===== Csak a Sorsfeladat termékhez ===== */
body.postid-37482 .sf-product-37482-form label,
body.postid-37482 .sf-product-37482-form .sf-field-group-title,
body.postid-37482 .sf-product-37482-form .sf-sub-label,
body.postid-37482 .sf-product-37482-form .sf-birth-place-row label {
    font-size: 15px;
    line-height: 1.4;
}

body.postid-37482 .sf-product-37482-form label,
body.postid-37482 .sf-product-37482-form .sf-field-group-title,
body.postid-37482 .sf-product-37482-form .sf-birth-place-row label {
    font-weight: 700;
    color: #1f1f1f;
}

body.postid-37482 .sf-product-37482-form .sf-sub-label {
    font-weight: 700;
    color: #1f1f1f;
    margin-bottom: 10px;
}

body.postid-37482.single-product form.cart .single_add_to_cart_button.button,
body.postid-37482.single-product form.cart .single_add_to_cart_button.single_add_to_cart_button,
body.postid-37482.single-product .single_add_to_cart_button.button.alt {
    background: #93278f !important;
    border-color: #93278f !important;
    color: #ffffff !important;
    border-radius: 6px !important;
    font-weight: 700 !important;
    min-height: 48px;
    padding: 12px 22px !important;
    box-shadow: none !important;
}

body.postid-37482.single-product form.cart .single_add_to_cart_button.button:hover,
body.postid-37482.single-product form.cart .single_add_to_cart_button.button:focus,
body.postid-37482.single-product .single_add_to_cart_button.button.alt:hover,
body.postid-37482.single-product .single_add_to_cart_button.button.alt:focus {
    background: #93278f !important;
    border-color: #93278f !important;
    color: #ffffff !important;
    opacity: 0.92;
}

body.postid-37482.single-product form.cart .quantity .qty {
    min-height: 48px;
}