/** Shopify CDN: Minification failed

Line 100:2 Unexpected "{"
Line 100:3 Expected identifier but found "%"
Line 109:2 Unexpected "{"
Line 109:3 Expected identifier but found "%"

**/
#footer-wrapper {
  text-align: var(--footer-text-align);
}
.footer--divider {
  border-bottom: 1px solid var(--dotted-color);
  margin-top: 0px;
}

.footer-block .logo-image {
  max-width: var(--footer-logo-width);
  width: var(--footer-logo-width);
}

/* Custom Grid layout for the 4 footer blocks on Desktop */
@media screen and (min-width: 981px) {
  #footer.uspa-footer-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr 1fr !important;
    gap: 30px;
  }
  #footer.uspa-footer-grid > .footer-block {
    grid-column: span 1 !important; /* Force them to slot perfectly into the 4 columns */
    max-width: none !important;
    width: auto !important;
  }
  
  .footer-emblem-sect {
    display: flex;
    justify-content: flex-end; /* Almost stick to the right */
    align-items: center;
    padding-right: 20px;
  }
}

/* Mobile & Tablet alignment for Emblem */
@media screen and (max-width: 980px) {
  .footer-emblem-sect {
    display: flex;
    justify-content: center; /* Center on mobile at the bottom */
    align-items: center;
    margin-top: 30px;
  }
}

div#bottom-footer {
  display: flex;
  margin: 0 auto;
  align-items: flex-end;
}

div#bottom-footer .footer-left {
  width: 50%;
  text-align: left;
}

div#bottom-footer .footer-right {
  width: 50%;
  text-align: right;
}
div#bottom-footer #payment {
  text-align: right;
  margin-top: 16px;
}
div#bottom-footer #footer-icons {
  margin: 0;
}
div#bottom-footer #footer-icons i {
  font-size: 19px;
}
div#bottom-footer div#copy {
  margin-top: 21px;
  text-transform: capitalize;
}
div#bottom-footer #copy p {
  text-align: left;
  margin: 0;
}
ul.policies.list-unstyled {
  display: flex;
  gap: 10px;
  list-style: none;
  margin-bottom:0;
  flex-wrap: wrap;
}
@media (min-width: 980px) {
  #footer #payment {
    text-align:   text-align: var(--footer-text-align);
  }
  #footer ul#footer-icons {
  text-align:  text-align: var(--footer-text-align);
  }
  {% if section.settings.footer_text_align == 'left' %}
    #footer ul#footer-icons li:first-child {
      margin-left: 0;
      padding-left: 0;
    }
    #footer .selectors-form {
      justify-content: flex-start;
      flex-wrap: nowrap;
    }
  {% endif %}
}
@media (max-width: 740px) {
  div#bottom-footer {
    flex-wrap: wrap;
  }
  div#bottom-footer .footer-left {
    width: 100%;
    text-align: left;
    order:2;
    margin-top: 31px;
  }
  div#bottom-footer .footer-right {
    width: 100%;
    text-align: left;
    order: 1;
  }
  div#bottom-footer .selectors-form {
    justify-content: flex-start;
    margin: 0;
  }
  div#bottom-footer #payment {
    text-align: left;
  }
  div#bottom-footer  .footer-section .disclosure__toggle {
    height: 44px;
    width: 80px;
  }
  section.footer-block {
    vertical-align: top;
  }
}

/* =============== */
/* = Footer = */
/* =============== */
.credit img {
  height: 28px;
}

#bottom-logo {
  margin-top: 50px;
  text-align: center;
}

#footer-wrapper {
  z-index: 2;
  clear: left;
  border-top: 1px solid var(--dotted-color);
  background: var(--footer-background);
  padding: 63px 0 30px;
}

#footer-wrapper p,
#footer-wrapper a {
  color: var(--footer-text);
}

#footer-wrapper h2,
#footer-wrapper h3 {
  color: var(--footer-text);
  padding-bottom: 3px;
}

#footer-wrapper ul {
  list-style: none;
}

#footer-wrapper ul li a {
  line-height: 2.14;
  color: var(--footer-text);
}

#footer-wrapper ul li a:hover {
  color: var(--footer-text);
}

input#footer-EMAIL {
  display: inline-block;
  margin-bottom: 10px;
  background: var(--footer-input);
  color: var(--footer-input-text);
  border: 0;
  border-radius: 0;
}

input#footer-EMAIL::-webkit-input-placeholder { /* WebKit browsers */
  color: var(--footer-input-text);
}
input#footer-EMAIL:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
  color: var(--footer-input-text);
}
input#footer-EMAIL::-moz-placeholder { /* Mozilla Firefox 19+ */
  color: var(--footer-input-text);
}
input#footer-EMAIL:-ms-input-placeholder { /* Internet Explorer 10+ */
  color: var(--footer-input-text);
}

#footer-subscribe {
  display: inline-block;
  background: var(--footer-button);
  color: var(--footer-button-text);
  border: 0;
  font-weight: var(--main-weight);
  white-space: normal;
}

ul#footer-icons li {
  display: inline-block;
  margin: 0 10px;
  width: auto;
  height: 19px;
}

ul#footer-icons li a {
  font-size: 14px;
  color: var(--footer-icons-color);
}

.credit {
  text-align: center;
}

.credit p {
  color: var(--footer-text);
  text-transform: uppercase;
  font-size: 11px;
  margin-top: 15px;
}

.credit a {
  color: var(--footer-text);
}
#mc_embed_signup {
  width: 100%;
}

#mce-EMAIL {
  float: left;
  text-align: center;
  text-indent: 0;
}

#mc-embedded-subscribe {
  float: left;
  margin-top: 0;
}

#payment svg {
  display: inline;
  width: 40px;
  height: 25.25px;
  text-align: center;
  margin: 0 1px;
}

body.index div#footer-wrapper {
  margin-top: 0;
}

/* ---- Scrollup ---- */

.scrollup {
  width:40px;
  height:40px;
  line-height: 40px;
  opacity:0;
  position:fixed;
  bottom:20px;
  right:20px;
  z-index: 3;
  transform: translateY(100px);
  transition: all .5s ease;
  text-align: center;
  background: transparent;
}

.scrollup.showBtn {
  opacity: 0.4;
  transform: translateY(0)
  color: var(--text-color);
}

.scrollup:hover {
  text-decoration: none;
  opacity: 1;
  -webkit-transition: opacity 1000ms ease-in-out;
  -moz-transition: opacity 1000ms ease-in-out;
  -o-transition: opacity 1000ms ease-in-out;
  -ms-transition: opacity 1000ms ease-in-out;
  transition: opacity 1000ms ease-in-out;
  background: transparent;
}

/* ==========================================================================
   USPA Theme - Custom Wireframe Footer Styles
   ========================================================================== */

#footer-wrapper.uspa-footer-wrapper {
  position: relative;
  background-color: #ffffff !important;
  color: #11263F !important;
  border-top: none !important;
  padding: 55px 0 30px !important;
}

/* USPA Brand Stripe: Crimson 18% · White 29% · Navy 53% (top → bottom) */
#footer-wrapper.uspa-footer-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 20px;
  background: linear-gradient(
    to bottom,
    #9A1E30 0%,
    #9A1E30 18%,
    #ffffff 18%,
    #ffffff 47%,
    #11263F 47%,
    #11263F 100%
  );
}

/* Typography & Titles */
.uspa-footer-wrapper .footer-title {
  font-family: 'Trivia Slab', 'Noto Sans Thai', sans-serif !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #11263F !important;
  margin-top: 0 !important;
  margin-bottom: 18px !important;
  letter-spacing: 0.03em !important;
  line-height: 1.3 !important;
}

/* Menu items */
.uspa-footer-wrapper ul.footer-menu__list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.uspa-footer-wrapper ul.footer-menu__list li {
  margin-bottom: 8px !important;
  line-height: 1.6 !important;
}

.uspa-footer-wrapper ul.footer-menu__list li a {
  font-family: var(--main-family) !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  color: #333333 !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

.uspa-footer-wrapper ul.footer-menu__list li a:hover {
  color: #9A1E30 !important;
  text-decoration: underline !important;
}

/* Desktop Grid Layout (3 menus + 1 emblem + 1 newsletter) */
@media (min-width: 981px) {
  #footer.uspa-footer-grid {
    display: grid !important;
    grid-template-columns: minmax(130px, 1.1fr) minmax(140px, 1.2fr) minmax(130px, 1.1fr) 140px minmax(260px, 1.6fr) !important;
    gap: 30px !important;
    align-items: start !important;
    max-width: 1280px !important;
    margin: 0 auto !important;
    padding: 0 30px !important;
  }

  #footer.uspa-footer-grid .footer-block {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .footer-menu__toggle {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    text-align: left !important;
    width: 100% !important;
    cursor: default !important;
    pointer-events: none !important;
  }

  .footer-accordion__chevron {
    display: none !important;
  }

  .footer-menu__content {
    display: block !important;
  }
}

/* Tablet Layout (741px to 980px) */
@media (min-width: 741px) and (max-width: 980px) {
  #footer.uspa-footer-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr !important;
    gap: 25px !important;
    padding: 0 20px !important;
  }

  .footer-menu__toggle {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    pointer-events: none !important;
  }

  .footer-accordion__chevron {
    display: none !important;
  }

  .footer-menu__content {
    display: block !important;
  }

  .footer-block--image {
    grid-column: span 3 !important;
    text-align: center !important;
    margin: 20px 0 !important;
  }

  .footer-block--newsletter {
    grid-column: span 3 !important;
    max-width: 480px !important;
    margin: 0 auto !important;
    text-align: center !important;
  }

  .footer-block--newsletter .footer-newsletter__socials ul#footer-icons {
    justify-content: center !important;
  }
}

/* Brand Emblem in Center */
.footer-emblem-sect {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  padding: 10px 0 !important;
}

.footer-emblem-image {
  max-width: 95px !important;
  height: auto !important;
  display: block !important;
  object-fit: contain !important;
}

/* Newsletter Form */
.footer-newsletter-sect .footer-newsletter__subheading {
  font-family: var(--main-family) !important;
  font-size: 13px !important;
  color: #444444 !important;
  margin-bottom: 14px !important;
  line-height: 1.4 !important;
}

.footer-newsletter-sect .footer-newsletter__subheading p {
  margin: 0 !important;
  color: inherit !important;
}

.footer-newsletter__form-row {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  margin-top: 10px !important;
  max-width: 380px !important;
}

.footer-newsletter-sect input#footer-EMAIL {
  width: 100% !important;
  height: 44px !important;
  background-color: #f2f2f2 !important;
  border: 1px solid #d4d4d4 !important;
  color: #11263F !important;
  font-family: var(--main-family) !important;
  font-size: 13px !important;
  padding: 0 14px !important;
  border-radius: 0 !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  outline: none !important;
}

.footer-newsletter-sect input#footer-EMAIL:focus {
  border-color: #11263F !important;
  background-color: #ffffff !important;
}

.footer-newsletter-sect input#footer-EMAIL::placeholder {
  color: #888888 !important;
}

.footer-newsletter-sect #footer-subscribe.footer-subscribe-btn {
  width: 100% !important;
  height: 44px !important;
  background-color: #555555 !important;
  color: #ffffff !important;
  font-family: var(--main-family) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  border: none !important;
  cursor: pointer !important;
  transition: background-color 0.25s ease !important;
  border-radius: 0 !important;
}

.footer-newsletter-sect #footer-subscribe.footer-subscribe-btn:hover {
  background-color: #9A1E30 !important; /* USPA Crimson Red hover */
}

/* Social icons in newsletter */
.footer-newsletter__socials {
  margin-top: 16px !important;
}

.footer-newsletter__socials ul#footer-icons {
  display: flex !important;
  gap: 14px !important;
  padding: 0 !important;
  margin: 0 !important;
  list-style: none !important;
}

.footer-newsletter__socials ul#footer-icons li {
  margin: 0 !important;
}

.footer-newsletter__socials ul#footer-icons li a {
  color: #11263F !important;
  font-size: 16px !important;
  transition: color 0.2s ease !important;
}

.footer-newsletter__socials ul#footer-icons li a:hover {
  color: #9A1E30 !important;
}

/* Mobile Accordions & Layout (<= 740px) */
@media (max-width: 740px) {
  #footer-wrapper.uspa-footer-wrapper {
    padding: 35px 0 25px !important;
  }

  #footer.uspa-footer-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    padding: 0 16px !important;
  }

  .footer-block--menu {
    border-bottom: 1px solid #e8e8e8 !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .footer-menu__toggle {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    background: transparent !important;
    border: none !important;
    padding: 16px 0 !important;
    text-align: left !important;
    cursor: pointer !important;
  }

  .footer-menu__toggle .footer-title {
    margin: 0 !important;
    font-size: 15px !important;
  }

  .footer-accordion__chevron {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #11263F !important;
    transition: transform 0.3s ease !important;
  }

  .footer-menu__toggle.is-active .footer-accordion__chevron {
    transform: rotate(180deg) !important;
  }

  .footer-menu__content {
    display: none !important;
    padding: 0 0 16px 8px !important;
  }

  .footer-menu__content.is-open {
    display: block !important;
  }

  .footer-block--image {
    order: 4 !important;
    margin: 28px 0 15px !important;
    text-align: center !important;
    width: 100% !important;
  }

  .footer-emblem-image {
    max-width: 90px !important;
  }

  .footer-block--newsletter {
    order: 5 !important;
    margin: 10px 0 15px !important;
    width: 100% !important;
    text-align: center !important;
  }

  .footer-newsletter__form-row {
    max-width: 100% !important;
    margin: 10px auto 0 !important;
  }

  .footer-newsletter__socials ul#footer-icons {
    justify-content: center !important;
  }
}

/* Centered Copyright */
.uspa-bottom-footer {
  margin-top: 35px !important;
  padding-top: 20px !important;
  border-top: 1px solid #eeeeee !important;
  text-align: center !important;
  width: 100% !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}

.uspa-copyright {
  width: 100% !important;
  text-align: center !important;
}

.uspa-copyright p {
  font-family: var(--main-family) !important;
  font-size: 12px !important;
  color: #666666 !important;
  margin: 0 auto !important;
  letter-spacing: 0.02em !important;
  text-align: center !important;
}