/* Only paragraph nodes inside prose containers are aligned. Layout wrappers are untouched. */
html { --vatandar-prose-last:right; }
html:lang(en),[dir="ltr"] { --vatandar-prose-last:left; }
[dir="rtl"] { --vatandar-prose-last:right; }
body:is(.vatandar-justify-text,.vatandar-start-text) :is(.about-us-content,.about-section,.entry-content,.page-content,.elementor-widget-text-editor,.woocommerce-product-details__short-description,#tab-description,article) p:not(:where(form p,nav p,.site-header p,.site-footer p,.vtsa-overlay p,.woocommerce-notices-wrapper p,.woocommerce-info p,[role="button"] p,button p)) {
    line-height:1.95 !important;
    word-spacing:normal !important;
    text-align-last:var(--vatandar-prose-last) !important;
}
body.vatandar-justify-text :is(.about-us-content,.about-section,.entry-content,.page-content,.elementor-widget-text-editor,.woocommerce-product-details__short-description,#tab-description,article) p:not(:where(form p,nav p,.site-header p,.site-footer p,.vtsa-overlay p,.woocommerce-notices-wrapper p,.woocommerce-info p,[role="button"] p,button p)) {
    text-align:justify !important;
    text-justify:inter-word !important;
}
body.vatandar-start-text :is(.about-us-content,.about-section,.entry-content,.page-content,.elementor-widget-text-editor,.woocommerce-product-details__short-description,#tab-description,article) p:not(:where(form p,nav p,.site-header p,.site-footer p,.vtsa-overlay p,.woocommerce-notices-wrapper p,.woocommerce-info p,[role="button"] p,button p)) { text-align:start !important; }
/* Text alignment is independent of display/visibility, icon sizes and header geometry. */
body :is(button,.button,.btn,input[type="submit"],.woocommerce a.button,.woocommerce button.button,.elementor-button,.wp-block-button__link,.vatandar-auth-btn,.vatandar-auth-tab,.header-account-btn,.btn-login,.mobile-sub-pill--auth,.btn-about-primary,.btn-about-secondary) {
    text-align:center !important;
    text-align-last:center !important;
    align-items:center;
    justify-content:center;
}
body :is(.btn-hero-order,.btn-atmosphere,.btn-portal-link,.btn-portal-primary,.btn-portal-secondary,.btn-add-cart,.vcd-gold-button) { text-align:center !important; text-align-last:center !important; align-items:center; justify-content:center; }
/* Zero specificity preserves existing grid/flex choices and responsive hiding rules. */
:where(button:not([hidden]),a.button:not([hidden]),a.btn:not([hidden]),a.elementor-button:not([hidden]),a.wp-block-button__link:not([hidden]),.vatandar-auth-btn:not([hidden]),.vatandar-auth-tab:not([hidden])) {
    display:inline-flex;
    align-items:center;
    justify-content:center;
}
@media(max-width:768px) {
    body:is(.vatandar-justify-text,.vatandar-start-text) :is(.about-us-content,.about-section,.entry-content,.page-content,.elementor-widget-text-editor,.woocommerce-product-details__short-description,#tab-description,article) p:not(:where(form p,nav p,.site-header p,.site-footer p,.vtsa-overlay p,.woocommerce-notices-wrapper p,.woocommerce-info p,[role="button"] p,button p)) {
        line-height:1.85 !important;
        word-spacing:-.02em !important;
        overflow-wrap:break-word !important;
    }
    html:lang(en) body:is(.vatandar-justify-text,.vatandar-start-text) :is(.about-us-content,.about-section,.entry-content,.page-content,.elementor-widget-text-editor,article) p:not(:where(form p,.vtsa-overlay p)) { hyphens:auto; }
    body :is(button,.button,.btn,input[type="submit"],.woocommerce a.button,.woocommerce button.button,.elementor-button,.wp-block-button__link,.vatandar-auth-btn,.vatandar-auth-tab,.header-account-btn,.btn-about-primary,.btn-about-secondary):not(.header-account-state) { line-height:1.35 !important; }
    body :is(.btn-hero-order,.btn-atmosphere,.btn-portal-link,.btn-portal-primary,.btn-portal-secondary,.btn-add-cart,.vcd-gold-button) { line-height:1.35 !important; }
    :where(.woocommerce button[type="submit"],.elementor-button,.vatandar-auth-btn) { padding-block:10px; padding-inline:12px; white-space:normal; }
}
