/* RoyaBooks contact hub — scoped to the existing Contact Form 7 page. */
.roya-design .roya-contact-hub{direction:rtl;text-align:right;color:#302239;max-width:100%;min-width:0}
.roya-design .roya-contact-hub *{box-sizing:border-box}
.roya-design .roya-contact-hub p{margin:0}
.roya-design .roya-contact-hub .roya-hub-intro{font-size:14px;color:#74657e;line-height:1.9;margin:2px 0 15px}
.roya-design .roya-contact-hub .roya-hub-choose{font-size:15px;line-height:1.6;font-weight:800;color:#582274;margin:0 0 12px}
.roya-design .roya-contact-hub .roya-hub-tabs{display:none;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:0 0 16px}
.roya-design .roya-contact-hub.is-ready .roya-hub-tabs{display:grid}
.roya-design .roya-contact-hub .roya-hub-tab{position:relative;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;min-width:0;min-height:105px;gap:7px;padding:15px 13px 13px;background:#fff;border:1px solid #eadff0;border-radius:17px;text-align:right;color:#382a41;cursor:pointer;transition:border-color .2s,background-color .2s,box-shadow .2s;line-height:1.55}
.roya-design .roya-contact-hub .roya-hub-tab:hover{border-color:#af83c4;background:#fbf7fd}
.roya-design .roya-contact-hub .roya-hub-tab[aria-selected="true"]{border-color:#702b91;background:#f7eefb;box-shadow:inset 0 3px 0 #e8ad27,0 3px 12px #58227412}
.roya-design .roya-contact-hub .roya-hub-tab:focus-visible{outline:2px solid #732b96;outline-offset:3px}
.roya-design .roya-contact-hub .roya-hub-tab-mark{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:9px;background:#f2e7f6;color:#6b278c;font-size:12px;font-weight:800;line-height:1}
.roya-design .roya-contact-hub .roya-hub-tab[aria-selected="true"] .roya-hub-tab-mark{background:#67258a;color:#fff}
.roya-design .roya-contact-hub .roya-hub-tab-title{display:block;font-size:13px;font-weight:800;color:#362440;overflow-wrap:anywhere}
.roya-design .roya-contact-hub .roya-hub-tab-desc{display:block;font-size:10px;font-weight:500;color:#7b6b85}
.roya-design .roya-contact-hub .roya-hub-select{margin:0 0 16px}
.roya-design .roya-contact-hub .roya-hub-select select{width:100%;min-height:45px}
.roya-design .roya-contact-hub.is-ready .roya-hub-select{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important}
.roya-design .roya-contact-hub .roya-hub-description{background:#f7f6f9;border:1px solid #ebe5ee;border-radius:11px;padding:9px 13px;color:#17151b;font-size:13px;line-height:1.75;font-weight:600;margin:0 0 16px}
.roya-design .roya-contact-hub .roya-hub-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.roya-design .roya-contact-hub .roya-hub-field{display:block;min-width:0;margin:0!important;color:#423249;font-size:12px;font-weight:800;line-height:1.75}
.roya-design .roya-contact-hub .roya-hub-field .wpcf7-form-control-wrap{display:block;margin-top:7px;min-width:0}
.roya-design .roya-contact-hub .roya-hub-field input:not([type="submit"]):not([type="file"]),.roya-design .roya-contact-hub .roya-hub-field select,.roya-design .roya-contact-hub .roya-hub-field textarea{display:block;width:100%;max-width:100%;min-width:0;min-height:47px;line-height:1.65;padding:11px 13px;border:1px solid #dfd4e5;border-radius:12px;background:#fff;color:#302239;font:500 14px/1.6 inherit;box-shadow:none;outline:none}
.roya-design .roya-contact-hub .roya-hub-field textarea{min-height:140px;resize:vertical}
.roya-design .roya-contact-hub .roya-hub-field input:focus,.roya-design .roya-contact-hub .roya-hub-field textarea:focus{border-color:#742a98;box-shadow:0 0 0 3px #742a981c}
.roya-design .roya-contact-hub .roya-hub-field input[type="file"]{display:block;width:100%;max-width:100%;min-height:50px;background:#fbf8fc;border:1px dashed #beacc9;border-radius:12px;color:#5c5063;font:500 12px/1.7 inherit;padding:10px 12px}
.roya-design .roya-contact-hub .roya-hub-field input::file-selector-button{border:0;background:#ede0f4;color:#602480;border-radius:8px;padding:7px 10px;margin-inline-end:10px;cursor:pointer}
.roya-design .roya-contact-hub .roya-hub-field-full{grid-column:1/-1}
.roya-design .roya-contact-hub [hidden]{display:none!important}
.roya-design .roya-contact-hub .roya-hub-conditional{grid-column:1/-1;margin:0!important}
.roya-design .roya-contact-hub .roya-hub-conditional-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.roya-design .roya-contact-hub .roya-hub-file-help{color:#7e7187;font-size:11px;line-height:1.85;font-weight:500;margin:6px 0 0!important}
.roya-design .roya-contact-hub .roya-hub-privacy{color:#7c6e83;font-size:11px;line-height:1.85;margin:14px 0 14px!important}
.roya-design .roya-contact-hub .roya-hub-submit .wpcf7-submit{width:100%;min-height:48px;background:#6b288c;border:0;border-radius:13px;color:#fff;font-size:14px;font-weight:800;cursor:pointer;box-shadow:0 4px 0 #e5a927}
.roya-design .roya-contact-hub .roya-hub-submit .wpcf7-submit:hover{background:#542072}
.roya-design .roya-contact-hub .wpcf7-not-valid-tip{display:block;font-size:11px;color:#b63342;font-weight:600;margin-top:5px}
.roya-design .roya-contact-hub .wpcf7-spinner{vertical-align:middle}
.roya-design .roya-contact-hub .wpcf7-response-output{border-radius:10px;font-size:12px;padding:12px;line-height:1.8}
@media(max-width:850px){.roya-design .roya-contact-hub .roya-hub-tabs{gap:6px}.roya-design .roya-contact-hub .roya-hub-tab{min-height:98px;padding:11px 9px}.roya-design .roya-contact-hub .roya-hub-tab-desc{font-size:9px}}
@media(max-width:650px){.roya-design .roya-contact-hub .roya-hub-tabs{gap:6px}.roya-design .roya-contact-hub .roya-hub-tab{min-height:85px;border-radius:12px;padding:10px 7px 8px;gap:5px}.roya-design .roya-contact-hub .roya-hub-tab-mark{width:23px;height:23px;font-size:11px}.roya-design .roya-contact-hub .roya-hub-tab-title{font-size:11px;line-height:1.5}.roya-design .roya-contact-hub .roya-hub-tab-desc{display:none}.roya-design .roya-contact-hub .roya-hub-fields,.roya-design .roya-contact-hub .roya-hub-conditional-grid{grid-template-columns:minmax(0,1fr);gap:12px}.roya-design .roya-contact-hub .roya-hub-field{font-size:12px}.roya-design .roya-contact-hub .roya-hub-description{font-size:12px;padding:9px 11px}.roya-design .roya-contact-hub .roya-hub-field input:not([type="submit"]):not([type="file"]),.roya-design .roya-contact-hub .roya-hub-field textarea{font-size:16px}}
