/* Public enquiries and listing reviews only. Native fields, validation, consent,
   CAPTCHA, rating controls, file uploads and submission handlers are unchanged. */
body.single-job_listing #c27-single-listing .element.content-block:has(> .pf-body .wpcf7[data-wpcf7-id="6540"]),
body.single-job_listing #c27-single-listing .sidebar-comment-form #respond,
body.dokan-store #dokan-secondary .dokan-store-contact {
 box-sizing:border-box;min-width:0;padding:18px;border:1px solid #dde1e5;border-top:3px solid #ffcc00;border-radius:12px;background:#fff;box-shadow:0 3px 14px #17212b05;
}
body.single-job_listing #c27-single-listing .element.content-block:has(> .pf-body .wpcf7[data-wpcf7-id="6540"]) > .pf-head .title-style-1 > :is(h3,h5),
body.single-job_listing #c27-single-listing .sidebar-comment-form #respond > #reply-title,
body.dokan-store #dokan-secondary .dokan-store-contact > h3 {
 display:flex;align-items:center;gap:9px;margin:0 0 14px!important;padding:0!important;color:#24282e!important;font-size:17px!important;font-weight:700;line-height:1.4!important;text-transform:none;
}
body.single-job_listing #c27-single-listing .element.content-block:has(> .pf-body .wpcf7[data-wpcf7-id="6540"]) > .pf-head .title-style-1 > :is(h3,h5)::before,
body.single-job_listing #c27-single-listing .sidebar-comment-form #respond > #reply-title::before,
body.dokan-store #dokan-secondary .dokan-store-contact > h3::before {
 content:"1";display:inline-grid;place-items:center;flex:0 0 26px;width:26px;height:26px;border-radius:50%;background:#ffcc00;color:#24282e;font:700 12px/1 Arial,Helvetica,sans-serif;letter-spacing:0;
}
body.single-job_listing #c27-single-listing .element.content-block:has(> .pf-body .wpcf7[data-wpcf7-id="6540"]) > .pf-head + .pf-body {padding-top:0!important;}

/* Both native renderings of the same listing enquiry form. */
body.single-job_listing #c27-single-listing .element.content-block:has(> .pf-body .wpcf7[data-wpcf7-id="6540"])>.pf-head{padding:12px 14px!important;margin:0 0 14px!important;border:0;border-radius:8px;background:#f7f8fa!important}
body.single-job_listing #c27-single-listing .element.content-block:has(> .pf-body .wpcf7[data-wpcf7-id="6540"])>.pf-head>.title-style-1>:is(h3,h5){margin:0!important}
body.single-job_listing #c27-single-listing .element.content-block:has(> .pf-body .wpcf7[data-wpcf7-id="6540"])>.pf-head>.title-style-1>i{display:none!important}
#c27-single-listing .wpcf7[data-wpcf7-id="6540"] .gmb-enquiry-grid {gap:12px 16px;margin-bottom:12px;}
#c27-single-listing .wpcf7[data-wpcf7-id="6540"] .gmb-enquiry-field label {font-size:13px!important;line-height:1.5;}
#c27-single-listing .wpcf7[data-wpcf7-id="6540"] .wpcf7-form-control-wrap {margin-top:6px;}
#c27-single-listing .wpcf7[data-wpcf7-id="6540"] form.wpcf7-form :is(input.wpcf7-text,textarea.wpcf7-textarea),
#c27-single-listing .sidebar-comment-form #commentform :is(input[name="author"],input[name="email"],textarea[name="comment"]),
body.dokan-store #dokan-form-contact-seller :is(input[name="name"],input[name="email"],textarea[name="message"]) {
 box-sizing:border-box;width:100%;min-width:0;max-width:100%;height:44px;min-height:44px;margin:0;padding:10px 12px!important;border:1px solid #b9c1c8!important;border-radius:6px!important;background:#fff!important;color:#24282e!important;font-family:inherit;font-size:14px!important;font-weight:400;line-height:1.5!important;box-shadow:none!important;
}
#c27-single-listing .wpcf7[data-wpcf7-id="6540"] form.wpcf7-form textarea.wpcf7-textarea,
#c27-single-listing .sidebar-comment-form #commentform textarea[name="comment"],
body.dokan-store #dokan-form-contact-seller textarea[name="message"] {height:120px;min-height:120px;resize:vertical;}
#c27-single-listing .wpcf7[data-wpcf7-id="6540"] form.wpcf7-form :is(input.wpcf7-text,textarea.wpcf7-textarea):focus-visible,
#c27-single-listing .sidebar-comment-form #commentform :is(input[name="author"],input[name="email"],textarea[name="comment"]):focus-visible,
body.dokan-store #dokan-form-contact-seller :is(input[name="name"],input[name="email"],textarea[name="message"]):focus-visible {outline:2px solid #24282e;outline-offset:2px;border-color:#827000!important;}
#c27-single-listing .wpcf7[data-wpcf7-id="6540"] form.wpcf7-form :is(input.wpcf7-text,textarea.wpcf7-textarea).wpcf7-not-valid,
body.dokan-store #dokan-form-contact-seller :is(input[name="name"],input[name="email"],textarea[name="message"]).error {border-color:#b42318!important;}
#c27-single-listing .wpcf7[data-wpcf7-id="6540"] form > p {margin-bottom:12px;}
#c27-single-listing .wpcf7[data-wpcf7-id="6540"] .wpcf7-acceptance {padding:12px;border:1px solid #e4e7ea;border-radius:6px;background:#f7f8fa;}
#c27-single-listing .wpcf7[data-wpcf7-id="6540"] .gmb-enquiry-notice {margin-bottom:12px;}

/* Keep review stars and the transparent native file-input overlay intact. */
#c27-single-listing .sidebar-comment-form #commentform > .form-group {margin-bottom:14px;}
#c27-single-listing .sidebar-comment-form #commentform :is(.comment-notes,.logged-in-as) {margin-bottom:14px;}
#c27-single-listing .sidebar-comment-form #commentform > .form-group > label,
#c27-single-listing .sidebar-comment-form #commentform :is(.rating-category-label,.review-gallery-label) {margin-bottom:6px;font-size:13px;}
#c27-single-listing .sidebar-comment-form #commentform .form-group-review-ratings {padding:12px;border-color:#dde1e5;border-radius:6px;background:#f7f8fa;}
#c27-single-listing .sidebar-comment-form #commentform .review-gallery-add {min-height:44px;padding:10px 12px;border-radius:6px;}

/* Vendor contact widget is grounded in the live public store, not seller/admin forms. */
body.dokan-store #dokan-form-contact-seller > ul {list-style:none;margin:0;padding:0;}
body.dokan-store #dokan-form-contact-seller > ul > .dokan-form-group {margin:0 0 12px;padding:0;}
body.dokan-store #dokan-form-contact-seller .dokan-privacy-policy-text {font-size:12px;line-height:1.5;color:#5d6266;}
body.dokan-store #dokan-form-contact-seller label.error {display:block;margin:5px 0 0;color:#b42318;font-size:12px;line-height:1.5;}

/* Only the existing visible submit for each form: never unhide WordPress's duplicate. */
#c27-single-listing .wpcf7[data-wpcf7-id="6540"] input.wpcf7-submit,
#c27-single-listing .sidebar-comment-form #commentform > button[name="submit"],
body.dokan-store #dokan-form-contact-seller > input[name="store_message_send"] {
 box-sizing:border-box;float:none;width:auto;max-width:100%;height:auto;min-height:44px;padding:10px 16px!important;border:1px solid #ffcc00!important;border-radius:6px!important;background:#ffcc00!important;color:#24282e!important;font-size:13px!important;font-weight:700!important;line-height:1.5!important;box-shadow:none!important;white-space:normal;
}
body.dokan-store #dokan-form-contact-seller > input[name="store_message_send"]:focus-visible {outline:2px solid #24282e;outline-offset:2px;}
body.dokan-store #dokan-form-contact-seller > input[name="store_message_send"]:disabled {opacity:.6;cursor:not-allowed;}

/* Confirmed guest Woo product review. Never style its hidden rating select,
   generated star anchors, cookie checkbox, anti-bot fields or CAPTCHA textarea. */
body.single-product #reviews #review_form > #respond {box-sizing:border-box;min-width:0;padding:18px;border:1px solid #dde1e5;border-top:3px solid #ffcc00;border-radius:12px;background:#fff;box-shadow:0 3px 14px #17212b05;}
body.single-product #reviews #review_form > #respond > #reply-title {display:block;margin:0 0 14px!important;color:#24282e!important;font-size:17px!important;font-weight:700;line-height:1.4!important;}
body.single-product #reviews #review_form > #respond > #reply-title::before {content:"1";display:inline-grid;place-items:center;width:26px;height:26px;margin-right:9px;border-radius:50%;background:#ffcc00;color:#24282e;font:700 12px/1 Arial,Helvetica,sans-serif;vertical-align:middle;}
body.single-product #reviews #review_form #commentform > :is(.comment-form-comment,.comment-form-author,.comment-form-email,.comment-form-rating,.comment-form-cookies-consent) {margin:0 0 14px;}
body.single-product #reviews #review_form #commentform > :is(.comment-form-comment,.comment-form-author,.comment-form-email,.comment-form-rating) > label {display:block;margin:0 0 6px;color:#24282e;font-size:13px;font-weight:600;line-height:1.5;}
body.single-product #reviews #review_form #commentform :is(.comment-notes,.comment-form-cookies-consent) {font-size:12px;line-height:1.5;color:#5d6266;}
body.single-product #reviews #review_form #commentform :is(input#author[name="author"],input#email[name="email"],textarea#comment[name="comment"]) {box-sizing:border-box;width:100%;min-width:0;max-width:100%;height:44px;min-height:44px;margin:0;padding:10px 12px!important;border:1px solid #b9c1c8!important;border-radius:6px!important;background:#fff!important;color:#24282e!important;font-family:inherit;font-size:14px!important;line-height:1.5!important;box-shadow:none!important;}
body.single-product #reviews #review_form #commentform textarea#comment[name="comment"] {height:120px;min-height:120px;resize:vertical;}
body.single-product #reviews #review_form #commentform :is(input#author[name="author"],input#email[name="email"],textarea#comment[name="comment"]):focus-visible {outline:2px solid #24282e;outline-offset:2px;border-color:#827000!important;}
body.single-product #reviews #review_form #commentform > .form-submit > input#submit[type="submit"] {box-sizing:border-box;width:auto;max-width:100%;min-height:44px;height:auto;padding:10px 16px!important;border:1px solid #ffcc00!important;border-radius:6px!important;background:#ffcc00!important;color:#24282e!important;font-size:13px!important;font-weight:700!important;line-height:1.5!important;box-shadow:none!important;white-space:normal;}
body.single-product #reviews #review_form #commentform > .form-submit > input#submit[type="submit"]:focus-visible {outline:2px solid #24282e;outline-offset:2px;}
body.single-product #reviews #review_form #commentform .g-recaptcha-wrap {max-width:100%;overflow-x:auto;}

@media(max-width:767px){
 body.single-job_listing #c27-single-listing .element.content-block:has(> .pf-body .wpcf7[data-wpcf7-id="6540"]),
 body.single-job_listing #c27-single-listing .sidebar-comment-form #respond,
 body.dokan-store #dokan-secondary .dokan-store-contact,
 body.single-product #reviews #review_form > #respond {padding:16px;}
 #c27-single-listing .wpcf7[data-wpcf7-id="6540"] form.wpcf7-form :is(input.wpcf7-text,textarea.wpcf7-textarea),
 #c27-single-listing .sidebar-comment-form #commentform :is(input[name="author"],input[name="email"],textarea[name="comment"]),
 body.dokan-store #dokan-form-contact-seller :is(input[name="name"],input[name="email"],textarea[name="message"]),
 body.single-product #reviews #review_form #commentform :is(input#author[name="author"],input#email[name="email"],textarea#comment[name="comment"]) {font-size:16px!important;}
}
