/**
 * Checkout Module — Structural Base
 * Theme-independent rules only. No color/bg/border-color here.
 * Theme styles live in checkout.dark.css (or checkout.light.css).
 */

/* ── Inter Variable Font (self-hosted) ── */
@font-face {
  font-family: "Inter";
  src: url("/checkout/assets/fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ── Box Sizing Reset ── */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* ── HTMX Loading Indicator ── */
.htmx-request .htmx-indicator {
  display: inline-block;
}

.htmx-indicator {
  display: none;
}

/* ── Alpine.js Cloak ── */
[x-cloak] {
  display: none !important;
}

/* ── Google Places Autocomplete (Headless) ── */
.onesite-ac-field {
  position: relative;
}
.onesite-ac-list {
  position: absolute;
  z-index: 9999;
  left: 0;
  right: 0;
  margin: 5px 0 0;
  padding: 0;
  list-style: none;
  border-radius: 0.5rem;
  overflow: hidden;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-size: 0.875rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.onesite-ac-item {
  padding: 10px 12px;
  cursor: pointer;
  line-height: 1.4;
}
.onesite-ac-main {
  font-weight: 500;
}
.onesite-ac-secondary {
  font-weight: 400;
  opacity: 0.65;
  margin-left: 4px;
  font-size: 0.8125rem;
}

