@layer base {
  html,
  body {
    margin: 0;
    padding: 0;
  }

  body {
    overscroll-behavior: none;
  }

  main > :first-child {
    margin-top: 0 !important;
  }

  main > :last-child {
    margin-bottom: 0 !important;
  }
}

::-webkit-scrollbar {
  display: none;
}

html {
  scroll-behavior: smooth;
}

section[id],
#enterpriseContactForm,
#boothwise,
#gymdirector,
#mycommunitycircle,
#star-wash {
  scroll-margin-top: 7.5rem;
}

:focus-visible {
  outline: 2px solid #3949ab;
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3.5rem;
  z-index: 80;
  background: #fabd00;
  color: #261a00;
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
  font-weight: 700;
}

.skip-link:focus {
  top: 0.75rem;
}

.site-nav a.is-active,
.mobile-nav a.is-active {
  background: #dee8ff;
  color: #000666;
  font-weight: 600;
}

.mobile-nav:not([hidden]) {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.5rem 1.5rem 1rem;
  background: #ffffff;
  border-top: 1px solid #c6c5d4;
}

.mobile-nav a {
  padding: 0.75rem 0.5rem;
  border-radius: 0.25rem;
  color: #111c2d;
  text-decoration: none;
  font-weight: 600;
}

.product-item.is-filtered-out {
  display: none !important;
}

.field {
  border: 1px solid #cbd5e1;
  background: #ffffff;
}

.field:focus {
  outline: none;
  border-color: #3949ab;
  box-shadow: 0 0 0 3px rgba(57, 73, 171, 0.15);
}

.field.is-invalid {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}

.field-error {
  margin-top: 0.25rem;
  color: #93000a;
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 600;
}

.policy-dialog {
  width: min(36rem, calc(100vw - 2rem));
  border: 1px solid #cbd5e1;
  border-radius: 0.75rem;
  padding: 1.5rem;
  color: #111c2d;
  background: #ffffff;
  box-shadow: 0 12px 32px -4px rgba(26, 35, 126, 0.12), 0 4px 12px -2px rgba(30, 41, 59, 0.08);
}

.policy-dialog::backdrop {
  background: rgba(26, 35, 126, 0.32);
}

.policy-dialog h2 {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  line-height: 1.75rem;
  letter-spacing: -0.005em;
}

.policy-dialog p {
  margin: 0 0 0.75rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: #454652;
}

.cookie-bar {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  z-index: 60;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 52rem;
  margin: 0 auto;
  padding: 1rem 1.25rem;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 0.5rem;
  box-shadow: 0 4px 12px -2px rgba(26, 35, 126, 0.06), 0 2px 6px -1px rgba(30, 41, 59, 0.04);
}

.cookie-bar[hidden] {
  display: none;
}

@media (max-width: 640px) {
  .cookie-bar {
    left: 0.5rem;
    right: 0.5rem;
    bottom: 0.5rem;
  }
}

.whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 55;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  background: #25d366;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(18, 140, 70, 0.35);
}

.whatsapp-float:hover {
  background: #1ebe5d;
}

.whatsapp-float svg {
  width: 1.5rem;
  height: 1.5rem;
  fill: currentColor;
}

@media (max-width: 640px) {
  .whatsapp-float {
    right: 0.75rem;
    bottom: 0.75rem;
  }
}
