/* Guidance Suite v1.0.62 — scoped dropdown arrow alignment.
 * Only Guidance-owned native select controls get a replacement arrow. Theme,
 * Elementor, third-party and WooCommerce-owned selects are not overridden.
 * Keep existing colors, field sizes, focus rings and interactions.
 */
body :is(.gds-checkout-page, .gds-cart-page, .gpdu-page, .gca-portal, .gds-form-panel, .gds-csr-form, .gds-main, .guidance-blog) select:not([multiple]):not([size]):not(.select2-hidden-accessible):not(.gcs-category-select):not(#gds_csr_service) {
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3 6 5 5 5-5' fill='none' stroke='%23354d7c' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-size: 16px 16px !important;
  background-position: right 14px center !important;
  padding-inline-end: max(42px, 2.6em) !important;
}
/* Native Arabic/RTL selects: put arrow at the left end, opposite the text. */
body :is(.gds-checkout-page, .gds-cart-page, .gpdu-page, .gca-portal, .gds-form-panel, .gds-csr-form, .gds-main, .guidance-blog) select:not([multiple]):not([size]):not(.select2-hidden-accessible):not(.gcs-category-select):not(#gds_csr_service):dir(rtl),
body.rtl :is(.gds-checkout-page, .gds-cart-page, .gpdu-page, .gca-portal, .gds-form-panel, .gds-csr-form, .gds-main, .guidance-blog) select:not([multiple]):not([size]):not(.select2-hidden-accessible):not(.gcs-category-select):not(#gds_csr_service):not(:dir(ltr)) {
  background-position: left 14px center !important;
}
/* Select2 (WooCommerce checkout, country/state fields): center its EXISTING
 * arrow vertically, do not draw a second one. */
body :is(.gds-checkout-page, .gca-portal, .gpdu-page, .gds-csr-form, .gds-form-panel) .select2-container--default .select2-selection--single .select2-selection__arrow {
  top: 50% !important;
  transform: translateY(-50%) !important;
  inset-inline-end: 10px !important;
  inset-inline-start: auto !important;
  height: 22px !important;
}
body :is(.gds-checkout-page, .gca-portal, .gpdu-page, .gds-csr-form, .gds-form-panel) .select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__arrow,
body.rtl :is(.gds-checkout-page, .gca-portal, .gpdu-page, .gds-csr-form, .gds-form-panel) .select2-container--default .select2-selection--single .select2-selection__arrow {
  left: 10px !important;
  right: auto !important;
}
body :is(.gds-checkout-page, .gca-portal, .gpdu-page, .gds-csr-form, .gds-form-panel) .select2-container--default[dir="ltr"] .select2-selection--single .select2-selection__arrow {
  right: 10px !important;
  left: auto !important;
}
