[hidden] {
  display: none !important;
}
.catalogue-page img.w-full {
  width: 100%;
}
.catalogue-page img.w-auto {
  width: auto;
}
.catalogue-page img.h-full {
  height: 100%;
}
.catalogue-page img.h-4 {
  height: 1rem;
}
.catalogue-page img.h-20 {
  height: 5rem;
}
.catalogue-page img.h-40 {
  height: 10rem;
}
.catalogue-page img.h-56 {
  height: 14rem;
}
.skip-link {
  position: fixed;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 100;
  padding: 0.75rem;
  background: var(--background);
  color: var(--foreground);
  transform: translateY(-200%);
}
.skip-link:focus {
  transform: translateY(0);
}
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 4px;
}
.rich-emphasis em {
  background: var(--gradient-gold);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}
.space-y-4 strong,
.condition-copy strong {
  color: var(--foreground);
}
.condition-copy p {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--muted-foreground);
}
html.terms-open {
  overflow: hidden;
}
.terms-dialog {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 20px;
  border: 0;
  background: transparent;
  color: var(--foreground);
}
.terms-dialog[open] {
  display: flex;
  align-items: center;
  justify-content: center;
}
.terms-dialog::backdrop {
  background: rgb(8 7 17 / 80%);
  backdrop-filter: blur(4px);
}
.terms-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 512px;
  max-height: 88dvh;
  padding: 32px;
  border-radius: 24px;
  text-align: left;
}
.terms-close {
  position: absolute;
  top: 16px;
  right: 16px;
  color: var(--muted-foreground);
  cursor: pointer;
}
.terms-intro,
.terms-content {
  color: var(--muted-foreground);
  font-size: 14px;
  line-height: 1.65;
}
.terms-intro {
  margin-top: 8px;
}
.terms-content {
  min-height: 0;
  margin-top: 20px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 8px;
}
.terms-content section + section {
  margin-top: 16px;
}
.terms-content h4 {
  margin-bottom: 4px;
  font-family: inherit;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--foreground);
}
.terms-content strong {
  color: var(--foreground);
  font-weight: 400;
}
.terms-agreement {
  display: flex;
  flex-shrink: 0;
  align-items: flex-start;
  gap: 12px;
  margin-top: 20px;
  font-size: 14px;
  line-height: 1.5;
  cursor: pointer;
}
.terms-agreement input {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 3px;
  accent-color: var(--primary);
}
.terms-continue {
  flex-shrink: 0;
  width: 100%;
  margin-top: 20px;
  padding: 14px 20px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
}
.terms-continue:disabled {
  animation: none;
  filter: none;
  border: 1px solid var(--border);
  background: var(--muted);
  color: var(--muted-foreground);
  opacity: 0.6;
  box-shadow: none;
  cursor: not-allowed;
}
@media (max-width: 639px) {
  .terms-dialog {
    padding: 0;
  }
  .terms-dialog[open] {
    align-items: flex-end;
  }
  .terms-panel {
    max-width: none;
    padding: 24px;
    padding-bottom: max(24px, env(safe-area-inset-bottom));
    border-radius: 24px 24px 0 0;
  }
}
@media (max-width: 360px) {
  .catalogue-page header nav > div {
    gap: 0.75rem;
    font-size: 9px;
    letter-spacing: 0.16em;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition-duration: 0s !important;
  }
}
