/* All Star Pool & Spa brand overrides (loaded last). */
:root {
  --as-red: #C8102E;
  --as-red-rgb: 200, 16, 46;
  --as-navy: #14286B;
  --as-navy-rgb: 20, 40, 107;
  --floens-base: var(--as-red);
  --floens-base-rgb: var(--as-red-rgb);
  --floens-font: "Montserrat", sans-serif;
  --floens-font2: "Montserrat", sans-serif;
  --floens-font3: "Montserrat", sans-serif;
  --floens-font4: "Montserrat", sans-serif;
  --floens-font-two: "Montserrat", sans-serif;
  --floens-heading-font: "Montserrat", sans-serif;
  --heading-font: "Montserrat", sans-serif;
  --e-global-color-primary: var(--as-navy);
  --e-global-color-secondary: #3B3B3B;
  --e-global-color-accent: var(--as-red);
  --e-global-typography-primary-font-family: "Montserrat";
  --e-global-typography-secondary-font-family: "Montserrat";
  --e-global-typography-text-font-family: "Montserrat";
  --e-global-typography-accent-font-family: "Montserrat";
}
body, h1, h2, h3, h4, h5, h6, p, a, li, button, input, select, textarea, label,
.elementor-heading-title, .elementor-button, .elementor-widget-text-editor {
  font-family: "Montserrat", sans-serif !important;
}
/* SVG logos: keep their own proportions wherever the theme set a box size. */
img[src$="allstar-logo.svg"], img[src$="allstar-logo-white.svg"] { height: auto !important; max-width: 100%; }

/* Montserrat runs wider than the theme's old font: keep menu items on one line. */
.main-header__logo img { width: 200px; }
.main-menu .main-menu__list > li > a { white-space: nowrap; font-size: 14px; letter-spacing: .02em; }
.main-menu .main-menu__list > li + li { margin-left: 26px; }

/* ---------- Contact forms ---------- */
.as-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.as-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.as-form .as-select {
  display: block; width: 100%; height: 50px; padding: 0 36px 0 10px;
  border: 1px solid rgb(148, 148, 148); border-radius: 0; background-color: transparent;
  color: #282828; font-size: 14px; font-weight: 500; cursor: pointer;
  -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2314286B' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.as-form .as-select:invalid { color: #282828; }
.as-form .as-turnstile { min-height: 65px; }
.as-form button[disabled] { opacity: .6; cursor: wait; }
.as-form__status { margin: 12px 0 0; font-size: 14px; font-weight: 600; }
.as-form__status:empty { display: none; }
.as-form__status[data-kind="success"] { color: #1d7a3a; }
.as-form__status[data-kind="error"] { color: var(--as-red); }
.as-form__status[data-kind="info"] { color: var(--as-navy); }

.as-tabs__list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.as-tabs__list [role="tab"] {
  flex: 1 1 auto; padding: 10px 14px; border: 2px solid var(--as-navy); background: transparent;
  color: var(--as-navy); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; cursor: pointer;
}
.as-tabs__list [role="tab"][aria-selected="true"] { background: var(--as-navy); color: #fff; }
.as-tabs__list [role="tab"]:focus-visible { outline: 3px solid var(--as-red); outline-offset: 2px; }
/* The theme styles text/email inputs only; match the phone field to them. */
.as-form input[type="tel"] {
  display: block; width: 100%; height: 50px; padding: 0 3px 0 10px;
  border: 1px solid rgb(148, 148, 148); border-radius: 0; background: transparent;
  color: #282828; font-size: 14px; font-weight: 500; outline: none;
}
.as-form input[type="tel"]::placeholder { color: #282828; text-transform: capitalize; }

/* Footer brand block: drop the old logo's -20px offset and center logo + blurb.
   !important because Elementor's post-176.css loads after this file. */
.elementor-176 .elementor-element.elementor-element-f5d7d7f{margin-left:0!important;text-align:center!important}
.elementor-176 .elementor-element.elementor-element-f5d7d7f img{width:240px;max-width:100%}
.elementor-176 .elementor-element.elementor-element-d935387{text-align:center!important;margin-top:14px}
@media (max-width:767px){.elementor-176 .elementor-element.elementor-element-196b582{--padding-right:0px!important}}
