/* Shared ReParfum Boutique foundations only. */
:root {
  --charcoal: #111113;
  --charcoal-soft: #191818;
  --ivory: #f4ecdc;
  --ivory-deep: #e9dcc4;
  --gold: #c9a45f;
  --gold-light: #efd39a;
  --gold-deep: #765425;
  --muted: #b8aa93;
  --burgundy: #651f2d;
  --page-edge: 18px;
  --page-left: max(var(--page-edge), env(safe-area-inset-left, 0px));
  --page-right: max(var(--page-edge), env(safe-area-inset-right, 0px));
  font-family: "Tahoma", "Arial", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  font-family: inherit;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  z-index: 0;
  inset: 0;
  content: "";
  pointer-events: none;
  background-position: 0 0, 2px 2px;
  background-size: 4px 4px;
}

button {
  margin: 0;
  font: inherit;
  appearance: none;
}

.boutique-state {
  width: 100%;
  max-width: 560px;
  min-width: 0;
  margin: 48px auto;
  text-align: center;
}

.loading-state {
  color: var(--muted);
}

.loading-state p {
  max-width: 100%;
  margin: 20px 0 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.8;
  overflow-wrap: anywhere;
  word-break: normal;
}

.loading-mark {
  width: 40px;
  height: 40px;
  margin: 0 auto;
  border: 1px solid rgba(239, 211, 154, 0.22);
  border-top-color: var(--gold-light);
  border-radius: 50%;
  display: block;
  box-shadow: 0 0 18px rgba(201, 164, 95, 0.12);
  animation: boutique-spin 0.9s linear infinite;
}

@keyframes boutique-spin {
  to {
    transform: rotate(360deg);
  }
}

.unavailable-state {
  max-width: 100%;
  min-width: 0;
  padding: 42px 24px;
  border: 1px solid rgba(201, 164, 95, 0.42);
  border-radius: 22px;
  color: var(--ivory);
  background:
    radial-gradient(circle at 50% 0, rgba(201, 164, 95, 0.1), transparent 38%),
    rgba(25, 24, 24, 0.86);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.28);
}

.unavailable-mark {
  width: 48px;
  height: 48px;
  margin: 0 auto 22px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold-light);
  display: grid;
  place-items: center;
  font-family: Arial, sans-serif;
  font-size: 24px;
  box-shadow: inset 0 0 14px rgba(201, 164, 95, 0.12);
}

.unavailable-state h1 {
  max-width: 100%;
  margin: 0;
  color: var(--gold-light);
  font-size: clamp(21px, 6vw, 28px);
  font-weight: 800;
  line-height: 1.6;
  overflow-wrap: anywhere;
  word-break: normal;
}

.unavailable-state p {
  max-width: 100%;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.9;
  overflow-wrap: anywhere;
  word-break: normal;
}

[hidden] {
  display: none;
}

@media (max-width: 359px) {
  :root {
    --page-edge: 14px;
  }
}

@media (min-width: 700px) {
  :root {
    --page-edge: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .loading-mark {
    animation: none;
  }
}
