/* Neutralises the theme's default button look (Hello Elementor: pink border / pink hover) inside SafarVista parts.
   Loaded after the theme and before the SafarVista styles, so SafarVista's own button styles always win. */
:where(.sv-header, .sv-drawer, .svf, .svt, .svht, .svx4, .sva, .svrzp, .sv-section, .sv-wrap) :is(button, [type="button"], [type="submit"]):where(:not(.sv-btn)) {
  border: 1px solid transparent;
  border-radius: 0;
  background-color: transparent;
  color: inherit;
  font: inherit;
  padding: 0;
  text-align: inherit;
  white-space: normal;
  transition: none;
}
:where(.sv-header, .sv-drawer, .svf, .svt, .svht, .svx4, .sva, .svrzp, .sv-section, .sv-wrap) :is(button, [type="button"], [type="submit"]):where(:not(.sv-btn)):is(:hover, :focus) {
  background-color: transparent;
  color: inherit;
  text-decoration: none;
}

/* Poppins everywhere: Elementor's global fonts (default Roboto) and any text the theme styles. Icons are left alone. */
:root, body[class*="elementor-kit-"] {
  --e-global-typography-primary-font-family: "Poppins";
  --e-global-typography-secondary-font-family: "Poppins";
  --e-global-typography-text-font-family: "Poppins";
  --e-global-typography-accent-font-family: "Poppins";
}
body, body :where(p, li, a, span, strong, b, em, small, h1, h2, h3, h4, h5, h6, button, input, select, textarea, label, td, th, dt, dd, blockquote, figcaption, summary, legend, div),
body .elementor-widget-text-editor, body .elementor-heading-title, body .elementor-button {
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* Phones: nothing may be wider than the screen (a photo's natural size used to stretch a grid and leave a gap on the right). */
.sv-wrap .grid > *, .sv-section .grid > * { min-width: 0; }
.sv-wrap img, .sv-section img { max-width: 100%; }
@media (max-width: 1023px) {
  .sv-wrap .grid:not([class*="grid-cols-"]), .sv-wrap .grid[class*="lg:grid-cols-"]:not([class*="sm:grid-cols-"]):not([class*="md:grid-cols-"]) { grid-template-columns: minmax(0, 1fr); }
}
html, body { overflow-x: clip; }

/* Elementor sizes a lone widget in a column container from a narrower test width, so its height came out
   ~400px too tall on phones (empty gap under the homepage finder, e.g. on the Taxi tab). Full width fixes it. */
.e-con > .elementor-widget-shortcode:only-child, .e-con > .elementor-widget-html:only-child { width: 100%; }

/* Cards are never hidden waiting for a scroll: after a reload (or a fast scroll) the fade-in left empty gaps. */
.js-ready .sv-reveal, .js-ready .sv-reveal:not(.is-in) { opacity: 1 !important; transform: none !important; transition: none !important; }

/* Phones & tablets: the frosted-glass blur on big sections had to be redrawn on every scroll and tap,
   which made the homepage freeze for a moment. Same soft white look, without the blur. */
@media (max-width: 1024px), (hover: none) {
  body .sv-section, body .sv-glass, body .sv-nav, body .svh-nav, body .svk-dur, body [class*="sv-section--"] {
    -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
  }
  body .sv-section { background-color: rgba(255, 255, 255, .94); }
  body .sv-glass { background-color: rgba(255, 255, 255, .96) !important; }
  body .sv-float { animation: none !important; }
}

/* Phone menu: open sections keep their full height and the menu scrolls (they used to be squashed and cut off). */
.sv-drawer-panel > * { flex-shrink: 0; }
.sv-drawer-panel { overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
