/* EZGATION shell styles (Pack A). Depends on ez-tokens.css (design source of truth). Colours only via var(--ez-*).
   Filled primary CTAs = white on --ez-primary (≥19px/700 AA-large); never white on --ez-accent;
   header util bar + footer = --ez-black. No hex in this file. */

/* FIX-LIST #22: skip link (first focusable in body; visible on :focus) */
.ez-skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.ez-skip-link:focus {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100000;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0.75rem 1.25rem;
  overflow: visible;
  clip: auto;
  white-space: normal;
  background: var(--ez-primary);
  color: var(--ez-white);
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

/* PDP action buttons (.ez-pdp-actions: functions.php @32 theme fallback or D's [ez_pdp_cta]; switch: option ez_theme_pdp_actions).
   .ez-inquiry rules kept: E's Gravity Forms inquiry form carries cssClass ez-inquiry (the old @35 theme CTA is gone). */
.ez-pdp-actions { margin: 1rem 0; display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
/* PDP / inquiry buttons use ez-tokens.css .ez-btn--primary / .ez-btn--secondary (design source of truth).
 * Scoped repeat only to out-rank Elementor Kit "button" styles (.elementor-kit-N button = 0,1,1). */
.ez-pdp-actions .ez-btn--primary, .ez-inquiry .ez-btn--primary { background: var(--ez-primary); color: var(--ez-white); border-color: var(--ez-primary); }
.ez-pdp-actions .ez-btn--primary:hover, .ez-inquiry .ez-btn--primary:hover { background: var(--ez-color-primary-deep, #007a6e); border-color: var(--ez-color-primary-deep, #007a6e); color: var(--ez-white); }
.ez-pdp-actions .ez-btn--secondary { background: transparent; color: var(--ez-ink); border-color: var(--ez-primary); }
.ez-pdp-actions .ez-btn--secondary:hover { background: var(--ez-primary-50); color: var(--ez-ink); }
.ez-inquiry { margin-top: 1.25rem; }

/* search (utility bar is --ez-black; input white) */
.ez-search { display: flex; gap: .35rem; align-items: center; }
.ez-search input[type=search] { min-width: 12rem; padding: .35rem .5rem; border: 1px solid var(--ez-border); border-radius: var(--ez-radius-sm, 4px); background: var(--ez-white); color: var(--ez-ink); }
.ez-search__btn { background: var(--ez-primary); color: var(--ez-white); font-weight: 700; border: 0; border-radius: var(--ez-radius-sm, 4px); padding: .4rem .8rem; cursor: pointer; }
.ez-search__btn:hover { background: var(--ez-color-primary-deep, #007a6e); color: var(--ez-white); }

/* WhatsApp / mail links */
.ez-wa, .ez-mail { display: inline-flex; gap: .35rem; align-items: center; color: var(--ez-ink); font-weight: 600; text-decoration: none; }
.ez-utilbar .ez-wa, .ez-utilbar .ez-mail, .ez-footer .ez-wa, .ez-footer .ez-mail, .ez-footer .ez-copy { color: var(--ez-white); }
.ez-utilbar .ez-wa:hover, .ez-utilbar .ez-mail:hover, .ez-footer .ez-wa:hover, .ez-footer .ez-mail:hover { color: var(--ez-primary-200); }

/* Language: GTranslate dropdown is styled by ez-tokens.css (.ez-lang select / .gt_selector) */
.ez-lang--off { color: var(--ez-white); opacity: .8; }

/* static pages (About / Contact / Applications content from pack-a-apply.php) */
.ez-stats { text-align: center; }
.ez-stats .ez-stat-num { font-size: var(--ez-fs-h2, 1.75rem); font-weight: 700; color: var(--ez-ink); margin: 0; }
.ez-stats .ez-stat-label { margin: 0; color: var(--ez-mute); }
.ez-timeline { list-style: none; padding-left: 0; border-left: 3px solid var(--ez-primary); }
.ez-timeline li { padding: .25rem 0 .75rem 1rem; }
.ez-card { background: var(--ez-surface); padding: 1.25rem; border-radius: var(--ez-radius-md, 8px); }
.ez-cta-band { background: var(--ez-surface); border-top: 3px solid var(--ez-primary); padding: 1.5rem; border-radius: var(--ez-radius-md, 8px); }
.ez-btn .wp-block-button__link { background: var(--ez-primary); color: var(--ez-white); font-weight: 700; border-radius: var(--ez-radius-md, 8px); }
.ez-btn .wp-block-button__link:hover { background: var(--ez-color-primary-deep, #007a6e); color: var(--ez-white); }

/* menu: Get a Quote item duplicates the header button on desktop; show it in the tablet/mobile dropdown only */
@media (min-width: 1025px) { .elementor-nav-menu--main .ez-menu-cta { display: none; } }

/* floating WhatsApp (icon = non-text, 3:1 rule; white glyph on primary 3.82:1) */
.ez-wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 9999; width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--ez-primary); color: var(--ez-white); box-shadow: 0 4px 14px rgba(0,0,0,.18); }
.ez-wa-float .ez-wa__icon { width: 28px; height: 28px; }
.ez-wa-float:hover, .ez-wa-float:focus { background: var(--ez-black); color: var(--ez-white); }
/* Header inquiry badge — pack A fallback (E's [ez_inquiry_count] replaces it when present) */
.ez-inq-link { color: var(--ez-white); text-decoration: none; font-weight: var(--ez-fw-semibold, 600); display: inline-flex; align-items: center; gap: .35rem; }
.ez-inq-link:hover { text-decoration: underline; }
.ez-inq-count { min-width: 1.4em; padding: 0 .4em; border-radius: 999px; background: var(--ez-primary); color: var(--ez-white); font-size: var(--ez-fs-sm, .875rem); font-weight: 700; text-align: center; line-height: 1.4; }
.ez-inq-count:empty { display: none; }
