/* Lightweight loading treatment from the storefront splash, without its story. */
@font-face {
  font-family: "AtkinsonMono";
  src: url("./fonts/AtkinsonHyperlegibleMono-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
.forest-loading {
  position: fixed;
  inset: 0;
  z-index: 10000;
  min-height: 100dvh;
  background: #aa9475;
  color: #111;
  font-family: "AtkinsonMono", "Courier New", monospace;
}
.forest-loading::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("https://cdn.shopify.com/s/files/1/0656/1352/9296/files/427267724_1146801130062985_8358688794731992544_n.jpg?v=1756335878") center / cover no-repeat;
  filter: sepia(1) hue-rotate(-8deg) saturate(.95) brightness(.94);
}
.forest-loading::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(85% 85% at 50% 50%, transparent 62%, #00000029 100%), rgba(196,162,118,.42);
  mix-blend-mode: multiply;
}
.forest-loading__logo {
  position: absolute;
  z-index: 1;
  top: calc(env(safe-area-inset-top, 0px) + clamp(24px, 3vh, 40px));
  left: 50%;
  transform: translateX(-50%);
  width: clamp(120px, 11vw, 170px);
  height: auto;
  display: block;
  object-fit: contain;
  filter: brightness(0);
}
/* Show only the loading wordmark while the route's normal header is mounted. */
#root:has(.forest-loading) header { visibility: hidden; }
.forest-loading__status {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(80vw, 900px);
  text-align: center;
  font-size: 10px;
  line-height: 1.6;
}
.forest-loading__status p { margin: 0; }
.forest-loading__reload {
  margin: 16px auto 0;
  min-height: 44px;
  padding: 8px 12px;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}
.forest-loading__reload:focus-visible { outline: 1px solid currentColor; }
.forest-loading.is-slow .forest-loading__status {
  box-sizing: border-box;
  width: min(88vw, 480px);
  padding: 32px 24px 20px;
  background: #f6f2ee;
  border: 1px solid rgb(17 17 17 / .16);
  text-align: left;
  font-size: 11px;
}
.forest-loading__status .forest-loading__brand {
  margin: 0 0 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgb(17 17 17 / .16);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 10px;
}
.forest-loading__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}
.forest-loading__actions .forest-loading__reload {
  margin: 12px 0 0;
  padding: 8px 0;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 10px;
  line-height: 28px;
}
.forest-loading [hidden] { display: none; }