:root {
  --bg: #0b0906;
  --bg2: #11100c;
  --bg3: #16120c;
  --surface: #1b1711;
  --surface-2: #241d12;
  --border: #2f2516;
  --border-strong: #4d3a1f;
  --gold: #c9922a;
  --gold-soft: #f0c040;
  --gold-deep: #9f6e1d;
  --text: #edf0ea;
  --text-strong: #fff6dd;
  --muted: #aa9a76;
  --danger: #dc6257;
  --success: #48b27d;
  --shadow-soft: 0 16px 34px rgba(0, 0, 0, 0.28);
  --shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  --radius: 14px;
  --radius-lg: 20px;
  --max: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Epilogue", sans-serif;
  background:
    radial-gradient(1200px 600px at 70% -10%, rgba(201, 146, 42, 0.12), transparent 60%),
    radial-gradient(1000px 400px at -20% 10%, rgba(201, 146, 42, 0.08), transparent 55%),
    var(--bg);
  line-height: 1.6;
}

.launch-fireworks-canvas {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, h4, h5 {
  margin: 0 0 0.6rem;
  font-family: "Syne", sans-serif;
  line-height: 1.15;
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.container {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

.container-narrow-sm {
  max-width: 620px;
}

.container-narrow-md {
  max-width: 700px;
}

.container-narrow-lg {
  max-width: 820px;
}

.container-narrow-xl {
  max-width: 880px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  border-bottom: 1px solid rgba(201, 146, 42, 0.2);
  backdrop-filter: blur(16px);
  background:
    linear-gradient(180deg, rgba(11, 9, 6, 0.93), rgba(11, 9, 6, 0.86)),
    radial-gradient(900px 160px at 50% -80%, rgba(201, 146, 42, 0.2), transparent 72%);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  transition: background 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.site-header.is-scrolled {
  border-bottom-color: rgba(201, 146, 42, 0.3);
  background:
    linear-gradient(180deg, rgba(8, 7, 5, 0.96), rgba(8, 7, 5, 0.9)),
    radial-gradient(900px 160px at 50% -80%, rgba(201, 146, 42, 0.18), transparent 72%);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.42);
}

.nav-wrap {
  min-height: 86px;
  display: grid;
  grid-template-columns: minmax(150px, auto) minmax(360px, 1fr) auto;
  gap: 0.65rem;
  align-items: center;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 180px;
}

.logo-mark {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(201, 146, 42, 0.42);
  background: #0b0906;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 10px 20px rgba(0, 0, 0, 0.28);
}

.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.logo-text {
  display: grid;
  line-height: 1;
}

.logo-text strong {
  color: var(--text-strong);
  letter-spacing: 0.02em;
}

.logo-text small {
  color: var(--muted);
  font-size: 0.73rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.main-nav {
  position: relative;
  width: 100%;
  max-width: none;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  margin-inline: 0.25rem;
  padding: 0.35rem;
  border-radius: 18px;
  border: 1px solid rgba(201, 146, 42, 0.2);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.menu-root {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 0.35rem;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.main-nav .menu-root,
.main-nav ul.menu-root {
  list-style: none !important;
  margin: 0 !important;
  padding-inline-start: 0 !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100%;
}

.main-nav .menu-root > li,
.main-nav ul.menu-root > li {
  list-style: none !important;
  list-style-type: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
}

.main-nav .menu-root > li::marker,
.main-nav ul.menu-root > li::marker {
  content: "" !important;
}

.menu-root::-webkit-scrollbar {
  display: none;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu-item {
  position: relative;
}

.menu-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--muted);
  padding: 0.5rem 0.62rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
  white-space: nowrap;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.menu-caret {
  font-size: 0.8rem;
  opacity: 0.75;
}

.menu-item.active > .menu-link,
.menu-link:hover {
  color: var(--text-strong);
  border-color: rgba(201, 146, 42, 0.42);
  background: rgba(201, 146, 42, 0.13);
  transform: translateY(-1px);
}

.menu-item.has-submenu:hover > .submenu,
.menu-item.submenu-open > .submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.submenu {
  margin: 0;
  padding: 0.45rem;
  list-style: none;
  position: absolute;
  left: 0;
  top: calc(100% + 0.35rem);
  min-width: 220px;
  border-radius: 12px;
  border: 1px solid rgba(201, 146, 42, 0.28);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)), #15110c;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.46);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 75;
}

.submenu a {
  display: block;
  padding: 0.5rem 0.56rem;
  border-radius: 10px;
  color: #dfcfab;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
}

.submenu a:hover,
.submenu a.active {
  background: rgba(201, 146, 42, 0.14);
  border-color: rgba(201, 146, 42, 0.32);
  color: var(--text-strong);
}

.mobile-auth {
  display: none;
  padding-top: 0.8rem;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.mobile-auth .inline-form {
  width: 100%;
}

.mobile-auth .btn,
.mobile-auth .btn-convert {
  width: 100%;
}

.menu-btn {
  display: none;
  border: 1px solid rgba(201, 146, 42, 0.26);
  background: rgba(201, 146, 42, 0.08);
  padding: 0.45rem 0.55rem;
  border-radius: 10px;
  box-shadow: var(--shadow-soft);
}

.menu-btn span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--gold-soft);
  margin: 4px 0;
}

.nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  justify-self: end;
  flex-wrap: nowrap;
  min-width: max-content;
}

.inline-form {
  display: inline;
}

.auth-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.18rem;
  border-radius: 999px;
  border: 1px solid rgba(201, 146, 42, 0.32);
  background: rgba(201, 146, 42, 0.08);
}

.auth-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.52rem 0.96rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.auth-toggle-btn:hover {
  transform: translateY(-1px);
}

.auth-toggle-login {
  color: #ecd09a;
  background: rgba(9, 8, 6, 0.88);
  border-color: rgba(201, 146, 42, 0.3);
}

.auth-toggle-signup {
  color: #140f08;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.34) 0%, rgba(255, 255, 255, 0) 42%),
    linear-gradient(145deg, #f8d679 5%, #e6ae3f 42%, #b97e24 100%);
  border-color: rgba(255, 234, 191, 0.64);
  box-shadow: 0 10px 22px rgba(187, 124, 20, 0.34);
}

.btn {
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.68rem 1.02rem;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(145deg, #f5cb5f, var(--gold));
  color: #140f08;
  border-color: rgba(255, 223, 154, 0.56);
  box-shadow: 0 10px 22px rgba(176, 119, 18, 0.35);
}

.btn-primary:hover {
  filter: brightness(1.08);
}

.btn-convert {
  position: relative;
  overflow: hidden;
  padding-inline: 1.25rem;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.34) 0%, rgba(255, 255, 255, 0) 42%),
    linear-gradient(145deg, #f8d679 5%, #e6ae3f 42%, #b97e24 100%);
  border-color: rgba(255, 234, 191, 0.64);
  color: #120e08;
  box-shadow: 0 12px 28px rgba(187, 124, 20, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-convert::after {
  content: "";
  position: absolute;
  left: -24%;
  top: -22%;
  width: 38%;
  height: 150%;
  background: rgba(255, 255, 255, 0.28);
  transform: rotate(20deg);
  transition: transform 0.45s ease;
}

.btn-convert:hover::after {
  transform: translateX(260%) rotate(20deg);
}

.btn-outline {
  border-color: rgba(201, 146, 42, 0.42);
  color: var(--text-strong);
  background: rgba(201, 146, 42, 0.07);
}

.btn-ghost {
  border-color: rgba(201, 146, 42, 0.2);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.02);
}

.nav-actions .btn,
.nav-actions .btn-convert,
.nav-actions .auth-toggle-btn {
  padding-inline: 0.72rem;
  font-size: 0.76rem;
}

.site-main {
  padding-top: 98px;
}

.site-preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background:
    radial-gradient(900px 480px at 50% 20%, rgba(201, 146, 42, 0.18), transparent 65%),
    linear-gradient(150deg, #0a0907, #080706 70%);
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.site-preloader.is-done {
  opacity: 0;
  visibility: hidden;
}

.preloader-shell {
  display: grid;
  justify-items: center;
  gap: 1rem;
}

.preloader-ring {
  --progress: 1;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    conic-gradient(
      from -90deg,
      var(--gold-soft) calc(var(--progress) * 1turn),
      rgba(201, 146, 42, 0.14) 0turn
    );
  padding: 16px;
  animation: loaderSpin 2.4s linear infinite;
  box-shadow: 0 0 0 1px rgba(201, 146, 42, 0.2), 0 22px 60px rgba(0, 0, 0, 0.45);
}

.preloader-logo-wrap {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  background: #090806;
  border: 1px solid rgba(201, 146, 42, 0.35);
  display: grid;
  place-items: center;
}

.preloader-logo {
  width: 72%;
  height: 72%;
  object-fit: cover;
  border-radius: 24%;
}

.preloader-count {
  font-family: "Syne", sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold-soft);
  letter-spacing: 0.06em;
}

.preloader-wordmark {
  width: min(340px, 72vw);
  border-radius: 12px;
  border: 1px solid rgba(201, 146, 42, 0.22);
}

@keyframes loaderSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.flash-stack {
  margin-top: 1rem;
}

.flash {
  margin-bottom: 0.6rem;
  border: 1px solid var(--border);
  border-left-width: 4px;
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
  background: var(--surface);
}

.flash-success { border-left-color: var(--success); }
.flash-error { border-left-color: var(--danger); }

.page-hero {
  padding: 3rem 0 1.5rem;
}

.eyebrow {
  color: var(--gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.75rem;
  margin-bottom: 0.7rem;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3.7rem);
  letter-spacing: -0.03em;
}

.hero-subtitle {
  max-width: 760px;
  font-size: 1.05rem;
}

.home-hero {
  padding-top: 3.4rem;
}

.hero-chamber {
  border: 1px solid rgba(201, 146, 42, 0.24);
  border-radius: 24px;
  padding: clamp(1rem, 2vw, 1.6rem);
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0) 38%),
    radial-gradient(980px 220px at 12% -14%, rgba(201, 146, 42, 0.14), transparent 72%),
    #120f0a;
  box-shadow: 0 32px 56px rgba(0, 0, 0, 0.42);
}

.home-hero-copy h1 {
  max-width: 14ch;
  color: #fcf2d6;
  text-wrap: balance;
}

.hero-actions {
  margin-top: 1rem;
}

.trust-badges {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1.2rem;
  margin-inline: auto;
  max-width: 680px;
  justify-items: center;
}

.trust-badge {
  border: 1px solid rgba(201, 146, 42, 0.2);
  border-radius: 12px;
  background: rgba(8, 7, 5, 0.68);
  padding: 0.62rem 0.7rem;
  width: 100%;
  max-width: 220px;
  text-align: center;
}

.trust-badge strong {
  display: block;
  color: var(--gold-soft);
  font-family: "Syne", sans-serif;
  font-size: 1rem;
  line-height: 1.25;
}

.trust-badge span {
  display: block;
  font-size: 0.74rem;
  color: var(--muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.home-hero-card {
  border-color: rgba(201, 146, 42, 0.35);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01) 35%, transparent 85%),
    #18130c;
}

.home-slide-wrap {
  overflow: hidden;
  position: relative;
  padding: 0;
  border: 1px solid rgba(201, 146, 42, 0.35);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.home-slide-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
}

.home-slide {
  min-width: 100%;
  min-height: 320px;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.home-slide-left,
.home-slide-right {
  padding: clamp(1.2rem, 2vw, 1.8rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.home-slide-left {
  background: #0f0e0b;
  border-right: 1px solid rgba(201, 146, 42, 0.16);
}

.home-slide-right {
  background: #16120c;
}

.home-slide-pill {
  display: inline-block;
  width: fit-content;
  margin-bottom: 0.85rem;
  padding: 0.22rem 0.65rem;
  border-radius: 999px;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.home-slide-pill-red,
.home-slide-pill-gold {
  color: var(--gold-soft);
  border: 1px solid rgba(201, 146, 42, 0.35);
  background: rgba(201, 146, 42, 0.08);
}

.home-slide-label {
  margin-bottom: 0.45rem;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-slide-number {
  margin-bottom: 0.65rem;
  color: var(--gold-soft);
  font-family: "Syne", sans-serif;
  font-size: clamp(2.6rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1;
}

.home-slide-icon {
  margin-bottom: 0.8rem;
  color: var(--gold);
  font-family: "Syne", sans-serif;
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-slide h3 {
  color: var(--text-strong);
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
}

.home-slide p {
  margin-bottom: 0;
  font-size: 0.9rem;
  line-height: 1.65;
}

.home-slide-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.75rem 1rem;
  border-top: 1px solid rgba(201, 146, 42, 0.16);
  background: rgba(8, 7, 5, 0.82);
}

.home-slide-dots,
.home-slide-arrows {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.home-slide-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(170, 154, 118, 0.42);
  cursor: pointer;
}

.home-slide-dot.active {
  width: 22px;
  background: var(--gold-soft);
}

.home-slide-counter {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.home-slide-btn {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(201, 146, 42, 0.26);
  border-radius: 50%;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
}

.home-slide-btn:hover {
  color: var(--gold-soft);
  border-color: rgba(201, 146, 42, 0.55);
}

.home-hero-card-note {
  margin-top: 1rem;
  padding-top: 0.8rem;
  border-top: 1px dashed rgba(201, 146, 42, 0.3);
  font-family: "Syne", sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #ddbc74;
}

.home-section-head {
  margin-bottom: 0.95rem;
}

.home-section-head h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.3rem);
  letter-spacing: -0.02em;
}

.split {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.2rem;
  align-items: start;
}

.auth-layout {
  max-width: 980px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1rem;
  align-items: stretch;
}

.auth-panel,
.auth-card {
  height: 100%;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.card,
.panel,
.form-card,
.stat-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0) 62%),
    var(--surface);
  border: 1px solid rgba(201, 146, 42, 0.15);
  border-radius: var(--radius);
  padding: 1.05rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.card:hover,
.panel:hover {
  transform: translateY(-2px);
  border-color: rgba(201, 146, 42, 0.3);
  box-shadow: var(--shadow);
}

.panel + .panel {
  margin-top: 1rem;
}

.card h3 {
  margin-bottom: 0.4rem;
}

.card p:last-child,
.panel p:last-child {
  margin-bottom: 0;
}

.badge {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(201, 146, 42, 0.35);
  color: var(--gold-soft);
  font-size: 0.74rem;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0.9rem;
}

.media-card {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  min-height: 220px;
}

.media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.media-card:hover img {
  transform: scale(1.03);
}

.media-card.wide {
  grid-column: span 8;
}

.media-card.tall {
  grid-column: span 4;
  min-height: 470px;
}

.media-card.mid {
  grid-column: span 4;
}

.media-card.full {
  grid-column: span 12;
}

.media-label {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 0.25rem 0.55rem;
  font-size: 0.76rem;
  border-radius: 999px;
  color: #f0d28b;
  border: 1px solid rgba(201, 146, 42, 0.35);
  background: rgba(12, 10, 7, 0.82);
}

.section {
  padding: 1.4rem 0 2.4rem;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.stat-card strong {
  display: block;
  font-size: 1.6rem;
  color: var(--gold-soft);
  font-family: "Syne", sans-serif;
}

.stat-note {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.home-events-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-member-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 0.75rem;
}

.home-member-panel-head h3 {
  margin-bottom: 0;
}

.home-member-carousel {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid rgba(201, 146, 42, 0.15);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0)),
    rgba(27, 23, 17, 0.72);
  box-shadow: var(--shadow-soft);
}

.home-member-carousel-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.home-member-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(230px, 260px);
  gap: 0.85rem;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  scroll-behavior: smooth;
  padding: 0.15rem 0 0.45rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(201, 146, 42, 0.6) rgba(8, 7, 5, 0.4);
}

.home-member-card {
  min-height: 285px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  scroll-snap-align: start;
  padding: 0.85rem;
  border: 1px solid rgba(201, 146, 42, 0.16);
  border-radius: 12px;
  background: rgba(8, 7, 5, 0.4);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.home-member-card:hover {
  transform: translateY(-2px);
  border-color: rgba(201, 146, 42, 0.38);
  background: rgba(201, 146, 42, 0.08);
}

.home-member-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  margin-bottom: 0.85rem;
  border: 1px solid rgba(201, 146, 42, 0.4);
}

.home-member-card strong,
.home-member-card small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-member-card strong {
  margin-top: 0.62rem;
  color: var(--text-strong);
  font-size: 1.05rem;
  line-height: 1.2;
  white-space: nowrap;
  max-width: 100%;
}

.home-member-card small {
  min-height: 2.8em;
  margin-top: 0.38rem;
  color: #d2bd8f;
  font-size: 0.82rem;
  line-height: 1.4;
  white-space: normal;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

form {
  display: block;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

input,
select,
textarea {
  width: 100%;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  padding: 0.7rem 0.75rem;
  font: inherit;
}

input[type="checkbox"] {
  width: auto;
  margin-right: 0.45rem;
  accent-color: var(--gold);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: rgba(240, 192, 64, 0.58);
  box-shadow: 0 0 0 3px rgba(201, 146, 42, 0.14);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

label {
  display: block;
  color: var(--muted);
  font-size: 0.87rem;
  margin: 0 0 0.35rem;
}

.country-phone-field,
.location-field {
  display: grid;
  gap: 0.4rem;
}

.phone-input-wrap {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: stretch;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg2);
  overflow: hidden;
}

.phone-input-wrap span {
  display: inline-flex;
  align-items: center;
  padding: 0 0.75rem;
  color: var(--gold);
  font-weight: 800;
  border-right: 1px solid var(--border);
  background: rgba(201, 146, 42, 0.08);
}

.phone-input-wrap input {
  border: 0;
  border-radius: 0;
  background: transparent;
}

.phone-input-wrap:focus-within {
  border-color: rgba(240, 192, 64, 0.58);
  box-shadow: 0 0 0 3px rgba(201, 146, 42, 0.14);
}

.form-actions {
  margin-top: 0.8rem;
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem 0.8rem;
  margin: 0.5rem 0 0.85rem;
}

.checkbox-grid label {
  margin: 0;
}

.inline-actions {
  display: flex;
  gap: 0.45rem;
  align-items: center;
  flex-wrap: wrap;
}

.inline-actions form {
  margin: 0;
}

.availability-planner {
  margin: 0.95rem 0;
  padding: 1rem;
  border: 1px solid rgba(201, 146, 42, 0.24);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
}

.availability-planner h4 {
  margin: 0 0 0.25rem;
}

.availability-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 0.9rem;
}

.availability-row {
  display: grid;
  gap: 0.65rem;
  padding: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.16);
}

.availability-day {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  color: var(--text);
  font-weight: 700;
}

.availability-times {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.availability-times label {
  margin: 0;
}

.availability-times span {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--muted);
  font-size: 0.78rem;
}

.btn-danger {
  color: #ffd4d4;
  border-color: rgba(226, 74, 74, 0.5);
  background: rgba(126, 28, 28, 0.18);
}

.btn-danger:hover,
.btn-danger:focus-visible {
  color: #fff;
  border-color: rgba(255, 112, 112, 0.72);
  background: rgba(176, 40, 40, 0.3);
}

.setup-subtitle {
  margin-top: 0.2rem;
}

.soft-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 1rem 0;
}

.store-product-image {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--border);
  margin-bottom: 0.8rem;
}

.donation-total {
  font-size: 2rem;
  color: var(--gold-soft);
  display: block;
}

.contact-map {
  width: 100%;
  height: 300px;
  border: 0;
  border-radius: 12px;
}

.lottery-funder {
  margin-top: 1rem;
  border-top: 1px solid rgba(201, 146, 42, 0.22);
  padding-top: 0.8rem;
}

.lottery-logo {
  width: 220px;
  max-width: 100%;
  border-radius: 8px;
  border: 1px solid rgba(201, 146, 42, 0.22);
  margin-bottom: 0.45rem;
}

.services-hero {
  background:
    radial-gradient(900px 280px at 10% -20%, rgba(71, 173, 161, 0.2), transparent 68%),
    radial-gradient(900px 280px at 90% -20%, rgba(73, 118, 201, 0.18), transparent 70%);
}

.services-shell {
  border: 1px solid rgba(82, 160, 173, 0.28);
  border-radius: 18px;
  background:
    linear-gradient(170deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01) 40%, transparent 85%),
    #10191c;
  padding: 1rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.services-proof-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.services-block {
  border-color: rgba(82, 160, 173, 0.36);
  background:
    linear-gradient(180deg, rgba(112, 204, 193, 0.07), rgba(255, 255, 255, 0.01) 36%, transparent 84%),
    #152328;
}

.services-badge {
  color: #9ce4de;
  border-color: rgba(123, 224, 214, 0.52);
}

.footer-wordmark {
  width: 132px;
  max-width: 132px;
  height: auto;
  border-radius: 10px;
  border: 1px solid rgba(201, 146, 42, 0.25);
  margin: 0 0 0.55rem;
}

.smtp-settings-block {
  margin-top: 0.85rem;
  border: 1px dashed rgba(201, 146, 42, 0.28);
  border-radius: 12px;
  padding: 0.85rem;
  background: rgba(201, 146, 42, 0.04);
}

.smtp-settings-block h4 {
  margin-bottom: 0.4rem;
}

.news-item + .news-item {
  margin-top: 0.9rem;
}

.news-item h3 {
  margin-bottom: 0.35rem;
}

.meta {
  color: var(--muted);
  font-size: 0.82rem;
}

.article-body img {
  max-width: 100%;
  border-radius: 10px;
  border: 1px solid var(--border);
}

.rich-editor-shell {
  margin-bottom: 0.8rem;
}

.rich-editor {
  min-height: 250px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg2);
  overflow: hidden;
}

.rich-editor[contenteditable="true"] {
  padding: 0.75rem;
  color: var(--text);
}

.rich-editor-shell .ql-toolbar.ql-snow {
  border: 0;
  border-bottom: 1px solid var(--border);
  background: rgba(201, 146, 42, 0.08);
}

.rich-editor-shell .ql-container.ql-snow {
  border: 0;
}

.rich-editor-shell .ql-editor {
  min-height: 190px;
  color: var(--text);
  font-family: "Epilogue", sans-serif;
}

.rich-editor-shell .ql-snow .ql-stroke {
  stroke: #d9b968;
}

.rich-editor-shell .ql-snow .ql-fill {
  fill: #d9b968;
}

.rich-editor-shell .ql-snow .ql-picker {
  color: #e7c882;
}

.rich-editor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.table-wrap {
  overflow: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

th,
td {
  border-bottom: 1px solid var(--border);
  padding: 0.65rem;
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--gold-soft);
}

.admin-tabs {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
  margin: 0;
}

.admin-tabs a {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(201, 146, 42, 0.24);
  border-radius: 999px;
  padding: 0.48rem 0.85rem;
  color: #ddc696;
  background: rgba(201, 146, 42, 0.08);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.admin-tabs a:hover {
  color: #fff1ce;
  border-color: rgba(240, 192, 64, 0.46);
  background: rgba(201, 146, 42, 0.16);
  transform: translateY(-1px);
}

.admin-tabs a.active {
  color: #170f07;
  background: linear-gradient(145deg, #f6d26f, #c58a28);
  border-color: rgba(255, 229, 172, 0.72);
  box-shadow: 0 12px 24px rgba(171, 112, 20, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.page-admin .site-main {
  background:
    radial-gradient(1200px 420px at 50% -10%, rgba(201, 146, 42, 0.12), transparent 68%),
    linear-gradient(180deg, #0a0907 0%, #090806 100%);
}

.admin-bank .admin-vault {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.02), rgba(201, 146, 42, 0.03));
  border: 1px solid rgba(201, 146, 42, 0.24);
  border-radius: 20px;
  padding: 1.1rem;
  box-shadow: 0 28px 58px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.page-admin .panel,
.page-admin .form-card,
.page-admin .stat-card {
  border-color: rgba(201, 146, 42, 0.28);
  background:
    linear-gradient(185deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01) 35%, transparent 80%),
    #14110c;
}

.admin-crud-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.admin-user-read {
  display: grid;
  gap: 1rem;
}

.admin-user-read-head {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.admin-user-read-head img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(201, 146, 42, 0.45);
}

.admin-shell {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  transition: grid-template-columns 0.22s ease;
}

.admin-shell.sidebar-collapsed {
  grid-template-columns: 58px minmax(0, 1fr);
}

.admin-sidebar {
  position: sticky;
  top: 102px;
  align-self: start;
  border: 1px solid rgba(201, 146, 42, 0.3);
  border-radius: 18px;
  background:
    linear-gradient(190deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01) 48%, transparent 90%),
    #14100b;
  padding: 0.9rem;
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.admin-side-head {
  position: relative;
  padding: 0.2rem 0.1rem 0.85rem;
  margin-bottom: 0.55rem;
  border-bottom: 1px solid rgba(201, 146, 42, 0.18);
}

.admin-collapse-btn {
  position: absolute;
  top: -0.2rem;
  right: -0.2rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(201, 146, 42, 0.34);
  background: rgba(201, 146, 42, 0.12);
  color: #f4d27b;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.admin-shell.sidebar-collapsed .admin-collapse-btn {
  right: 0.45rem;
  transform: rotate(180deg);
}

.admin-shell.sidebar-collapsed .admin-sidebar {
  padding-inline: 0.45rem;
}

.admin-shell.sidebar-collapsed .admin-side-head .badge,
.admin-shell.sidebar-collapsed .admin-side-head h3 {
  display: none;
}

.admin-shell.sidebar-collapsed .admin-tabs-vertical a {
  min-height: 38px;
  padding-inline: 0.45rem;
  justify-content: center;
  overflow: hidden;
  white-space: nowrap;
  color: transparent;
}

.admin-shell.sidebar-collapsed .admin-tabs-vertical a::before {
  content: attr(data-short);
  color: var(--text-strong);
}

.admin-side-head h3 {
  color: #f4ddab;
  margin-bottom: 0;
}

.admin-tabs-vertical {
  display: grid;
  gap: 0.45rem;
}

.admin-tabs-vertical a {
  width: 100%;
  border-radius: 12px;
  justify-content: flex-start;
}

.admin-content {
  min-width: 0;
}

.menu-editor-form .form-actions {
  justify-content: flex-start;
}

.menu-delete-form {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.55rem;
  padding-top: 0.5rem;
  border-top: 1px dashed rgba(201, 146, 42, 0.2);
}

.nav-ops-head {
  justify-content: space-between;
}

.nav-sort-form {
  margin-top: 0.5rem;
}

.nav-sort-board {
  display: grid;
  gap: 0.7rem;
  margin-top: 0.7rem;
}

.nav-sort-item {
  border: 1px solid rgba(201, 146, 42, 0.24);
  border-radius: 12px;
  background: rgba(13, 11, 8, 0.9);
  padding: 0.65rem;
  cursor: grab;
}

.nav-sort-item.dragging,
.nav-sort-child.dragging {
  opacity: 0.45;
}

.nav-sort-label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #f4dfb0;
  font-weight: 600;
}

.nav-sort-children {
  list-style: none;
  margin: 0.55rem 0 0;
  padding: 0.5rem;
  border-radius: 10px;
  border: 1px dashed rgba(201, 146, 42, 0.24);
  background: rgba(255, 255, 255, 0.01);
  display: grid;
  gap: 0.45rem;
}

.nav-sort-child {
  border: 1px solid rgba(201, 146, 42, 0.2);
  border-radius: 8px;
  background: rgba(201, 146, 42, 0.08);
  color: #ebd6a8;
  padding: 0.35rem 0.45rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  cursor: grab;
}

.nav-drag-handle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  color: #ca9b41;
  font-weight: 700;
  cursor: grab;
}

.nav-item-card {
  margin-top: 0.85rem;
}

.nav-child-grid {
  margin-top: 0.8rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0.7rem;
}

.page-admin .table-wrap {
  border-radius: 14px;
  border: 1px solid rgba(201, 146, 42, 0.16);
  overflow: hidden;
}

.page-admin table th {
  background: rgba(201, 146, 42, 0.08);
  color: #f0d28b;
}

.page-admin table tbody tr:hover {
  background: rgba(201, 146, 42, 0.06);
}

.site-footer {
  margin-top: 2rem;
  border-top: 1px solid var(--border);
  background: #0a0806;
  padding: 2.4rem 0 1.2rem;
}

.footer-policy-feature {
  margin: -2.4rem 0 2.2rem;
  padding: 4rem 0 3rem;
  border-bottom: 1px solid rgba(201, 146, 42, 0.3);
  background:
    radial-gradient(320px 320px at calc(100% - 14vw) 0, rgba(201, 146, 42, 0.08), transparent 70%),
    #121212;
}

.footer-policy-inner {
  max-width: 860px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.6rem;
}

.policy-org-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.15rem;
  color: var(--gold);
  font-family: "Syne", sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.policy-org-label::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--gold);
}

.footer-policy-feature h2 {
  max-width: 780px;
  margin-bottom: 1rem;
  color: #fff;
  font-size: clamp(2.35rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
}

.footer-policy-feature h2 span {
  color: var(--gold);
}

.footer-policy-feature p {
  max-width: 560px;
  color: #989898;
  font-size: 1rem;
  line-height: 1.8;
}

.footer-policy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.8rem;
}

.footer-policy-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  padding-top: 1.8rem;
  border-top: 1px solid rgba(201, 146, 42, 0.3);
}

.footer-policy-meta strong {
  display: block;
  margin-bottom: 0.18rem;
  color: var(--gold);
  font-family: "Syne", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-policy-meta span {
  color: #909090;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 1rem;
}

.footer-grid h4,
.footer-grid h3 {
  margin-bottom: 0.5rem;
}

.footer-grid a,
.footer-grid p {
  display: block;
  margin: 0 0 0.35rem;
  color: var(--muted);
}

.newsletter-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 0.6rem;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  margin-top: 1.2rem;
  padding-top: 0.9rem;
  font-size: 0.82rem;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-bottom a {
  color: #e9c878;
}

.footer-bottom a:hover {
  color: #f5dd9f;
}

.cookie-consent {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 120;
  width: min(480px, calc(100% - 2rem));
  border-radius: 14px;
  border: 1px solid rgba(201, 146, 42, 0.45);
  background: rgba(10, 8, 6, 0.97);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.52);
  padding: 0.9rem;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.cookie-consent.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.safeguarding-page {
  background: #0d0d0d;
  color: #e8e8e8;
}

.safeguarding-hero {
  position: relative;
  overflow: hidden;
  padding: 4rem 1.5rem 3rem;
  border-bottom: 1px solid rgba(201, 146, 42, 0.3);
  background: #141414;
}

.safeguarding-hero::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 146, 42, 0.08), transparent 70%);
}

.safeguarding-hero-inner,
.policy-page-wrap {
  position: relative;
  width: min(860px, calc(100% - 2rem));
  margin-inline: auto;
}

.safeguarding-hero h1 {
  margin-bottom: 1rem;
  color: #fff;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
}

.safeguarding-hero h1 span {
  color: var(--gold);
}

.safeguarding-hero p,
.policy-page-wrap p {
  color: #e8e8e8;
  font-size: 0.94rem;
  line-height: 1.8;
}

.safeguarding-hero p {
  max-width: 560px;
  color: #888;
}

.policy-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.75rem;
  padding: 0.75rem 1.5rem;
  border-radius: 2px;
  background: var(--gold);
  color: #000;
  font-family: "Syne", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: background 0.2s ease, transform 0.15s ease;
}

.policy-download-btn:hover {
  background: #e8b554;
  transform: translateY(-1px);
}

.policy-download-btn svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.policy-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(201, 146, 42, 0.3);
  color: #888;
  font-size: 0.82rem;
}

.policy-hero-meta strong {
  display: block;
  margin-bottom: 0.12rem;
  color: var(--gold);
  font-family: "Syne", sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.policy-page-wrap {
  padding: 0 0 5rem;
}

.policy-toc {
  margin-top: 3rem;
  padding: 1.75rem 2rem;
  border: 1px solid rgba(201, 146, 42, 0.3);
  border-left: 3px solid var(--gold);
  border-radius: 0 4px 4px 0;
  background: #1a1a1a;
}

.policy-toc-title {
  margin-bottom: 1rem;
  color: var(--gold);
  font-family: "Syne", sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.policy-toc ol {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0.4rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.policy-toc a {
  display: flex;
  gap: 0.5rem;
  align-items: baseline;
  color: #888;
  font-size: 0.88rem;
}

.policy-toc a:hover {
  color: var(--gold);
}

.policy-toc a span {
  min-width: 20px;
  color: var(--gold);
  font-family: "Syne", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
}

.policy-section {
  margin-top: 3.5rem;
  scroll-margin-top: 110px;
}

.policy-section-header {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(201, 146, 42, 0.3);
}

.policy-section-header > span {
  flex: 0 0 auto;
  padding: 0.25rem 0.62rem;
  border-radius: 2px;
  background: rgba(201, 146, 42, 0.15);
  color: var(--gold);
  font-family: "Syne", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
}

.policy-section-header h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.15rem, 3vw, 1.38rem);
  font-weight: 700;
}

.policy-section h3 {
  margin: 1.75rem 0 0.75rem;
  color: #e8b554;
  font-size: 0.94rem;
  font-weight: 600;
}

.policy-list {
  margin: 0.75rem 0 1.25rem;
  padding: 0;
  list-style: none;
}

.policy-list li {
  position: relative;
  padding: 0.5rem 0.75rem 0.5rem 2.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: #e8e8e8;
  font-size: 0.94rem;
  line-height: 1.65;
}

ul.policy-list li::before {
  content: "";
  position: absolute;
  left: 0.88rem;
  top: 1.12rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

ol.policy-list {
  counter-reset: policy-steps;
}

ol.policy-list li {
  counter-increment: policy-steps;
}

ol.policy-list li::before {
  content: counter(policy-steps);
  position: absolute;
  left: 0.62rem;
  top: 0.5rem;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gold);
  color: #000;
  font-family: "Syne", sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
}

.policy-info-table,
.policy-contacts-table {
  width: 100%;
  margin: 1rem 0 1.5rem;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.policy-info-table tr,
.policy-contacts-table tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.policy-info-table td,
.policy-contacts-table td {
  padding: 0.75rem 1rem;
  vertical-align: top;
}

.policy-info-table td:first-child {
  width: 35%;
  background: rgba(201, 146, 42, 0.15);
  color: var(--gold);
  font-family: "Syne", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.policy-info-table td:last-child {
  background: #1a1a1a;
  color: #e8e8e8;
}

.policy-contacts-table td:first-child {
  width: 55%;
  background: #1a1a1a;
  color: #e8e8e8;
  font-weight: 500;
}

.policy-contacts-table td:last-child {
  background: #222;
  color: var(--gold);
  font-family: "Syne", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
}

.policy-callout {
  margin: 1.25rem 0;
  padding: 1rem 1.25rem;
  border: 1px solid rgba(201, 146, 42, 0.3);
  border-left: 3px solid var(--gold);
  border-radius: 0 4px 4px 0;
  background: #1a1a1a;
  color: #888;
  font-size: 0.88rem;
  line-height: 1.7;
}

.policy-callout strong {
  color: var(--gold);
}

.policy-signoff {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 3.5rem;
  padding: 2rem;
  border: 1px solid rgba(201, 146, 42, 0.3);
  border-radius: 4px;
  background: #1a1a1a;
}

.policy-signoff strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--gold);
  font-family: "Syne", sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.policy-signoff span {
  display: block;
  color: #888;
  font-size: 0.88rem;
}

.policy-sig-line {
  height: 32px;
  border-bottom: 1px solid #555;
}

.policy-appendix-label {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.25rem 0.62rem;
  border-radius: 2px;
  background: var(--gold);
  color: #000;
  font-family: "Syne", sans-serif;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cookie-consent p {
  margin-bottom: 0.7rem;
}

.cookie-consent-actions {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.chatbot-widget {
  position: fixed;
  right: 0.8rem;
  bottom: 0.95rem;
  top: auto;
  z-index: 140;
  width: min(420px, calc(100% - 2rem));
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.chatbot-widget-rope::before {
  display: none;
}

.wellbeing-help-trigger {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: left top;
  z-index: 138;
  display: inline-block;
  color: #120e08;
  font-family: "Syne", sans-serif;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.wellbeing-help-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  padding: 0.32rem 0.64rem;
  border-radius: 9px 9px 0 0;
  border: 1px solid rgba(201, 146, 42, 0.56);
  border-bottom: 0;
  background: linear-gradient(145deg, #f8d679 6%, #e6ae3f 45%, #b97e24 100%);
  font-size: 0.66rem;
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.42);
}

.wellbeing-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff2e2e;
  box-shadow: 0 0 0 0 rgba(255, 46, 46, 0.65);
  animation: wellbeing-live-pulse 1.3s infinite;
}

.wellbeing-live-text {
  font-weight: 800;
  letter-spacing: 0.06em;
}

.wellbeing-help-sep {
  opacity: 0.72;
}

.wellbeing-help-meta {
  font-weight: 700;
  letter-spacing: 0.04em;
}

.wellbeing-help-avatar {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(18, 14, 8, 0.28);
}

@keyframes wellbeing-live-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 46, 46, 0.65);
    opacity: 1;
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 46, 46, 0);
    opacity: 0.85;
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 46, 46, 0);
    opacity: 1;
  }
}

.wellbeing-help-trigger:hover {
  filter: brightness(1.06);
}

.chatbot-launcher {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.chatbot-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.72rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(201, 146, 42, 0.45);
  background: linear-gradient(145deg, #f8d679 5%, #e6ae3f 42%, #b97e24 100%);
  color: #130f08;
  font-family: "Syne", sans-serif;
  font-weight: 700;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.45);
  cursor: pointer;
}

.chatbot-launcher-minimize {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(201, 146, 42, 0.45);
  background: rgba(16, 13, 9, 0.96);
  color: #f4d890;
  font-family: "Syne", sans-serif;
  font-weight: 800;
  cursor: pointer;
}

.chatbot-restore {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(201, 146, 42, 0.45);
  border-radius: 50%;
  background: rgba(16, 13, 9, 0.96);
  color: #f4d890;
  font-family: "Syne", sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  line-height: 1;
  padding: 0;
  cursor: pointer;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.38);
}

.chatbot-toggle img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(0, 0, 0, 0.22);
}

.chatbot-panel {
  margin-top: 0.65rem;
  border-radius: 16px;
  border: 1px solid rgba(201, 146, 42, 0.35);
  overflow: hidden;
  background: linear-gradient(190deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01) 40%, transparent 90%), #100d09;
  box-shadow: 0 26px 54px rgba(0, 0, 0, 0.52);
}

.chatbot-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 0.85rem;
  border-bottom: 1px solid rgba(201, 146, 42, 0.26);
  background: rgba(201, 146, 42, 0.08);
}

.chatbot-title-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.chatbot-title-wrap img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(201, 146, 42, 0.5);
}

.chatbot-title-wrap strong {
  display: block;
  font-family: "Syne", sans-serif;
  color: #f7e6bf;
}

.chatbot-title-wrap small {
  color: #d4bc88;
}

.chatbot-head-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
}

.chatbot-minimize-panel,
.chatbot-close {
  border: 1px solid rgba(201, 146, 42, 0.33);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.22);
  color: #f0d595;
  padding: 0.22rem 0.45rem;
  cursor: pointer;
}

.chatbot-messages {
  max-height: 360px;
  overflow: auto;
  padding: 0.8rem;
  display: grid;
  gap: 0.6rem;
  background: radial-gradient(120% 120% at 50% -20%, rgba(201, 146, 42, 0.1), transparent 68%);
}

.chatbot-msg {
  display: flex;
}

.chatbot-msg-assistant {
  justify-content: flex-start;
}

.chatbot-msg-user {
  justify-content: flex-end;
}

.chatbot-msg-admin {
  justify-content: flex-start;
}

.chatbot-msg-counsellor {
  justify-content: flex-start;
}

.chatbot-msg-system {
  justify-content: center;
}

.chatbot-bubble {
  max-width: 85%;
  border-radius: 12px;
  padding: 0.58rem 0.72rem;
  white-space: pre-wrap;
  line-height: 1.5;
  font-size: 0.9rem;
}

.chatbot-msg-label {
  display: block;
  margin-bottom: 0.22rem;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0.82;
}

.chatbot-bubble p {
  margin: 0;
}

.chatbot-msg-assistant .chatbot-bubble {
  border: 1px solid rgba(201, 146, 42, 0.3);
  background: rgba(201, 146, 42, 0.08);
  color: #f3e5c4;
}

.chatbot-msg-user .chatbot-bubble {
  border: 1px solid rgba(98, 162, 145, 0.32);
  background: rgba(69, 138, 123, 0.2);
  color: #def2ec;
}

.chatbot-msg-admin .chatbot-bubble {
  border: 1px solid rgba(124, 175, 233, 0.36);
  background: rgba(70, 113, 176, 0.22);
  color: #dceafc;
}

.chatbot-msg-counsellor .chatbot-bubble {
  border: 1px solid rgba(236, 178, 90, 0.46);
  background: rgba(180, 118, 36, 0.18);
  color: #f9e5c1;
}

.chatbot-msg-system .chatbot-bubble {
  border: 1px dashed rgba(201, 146, 42, 0.3);
  background: rgba(255, 255, 255, 0.04);
  color: #f4dfb8;
  text-align: center;
}

.chatbot-quick-actions {
  border-top: 1px dashed rgba(201, 146, 42, 0.25);
  padding: 0.7rem 0.8rem 0.2rem;
}

.chatbot-input-wrap {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.55rem;
  border-top: 1px solid rgba(201, 146, 42, 0.18);
  padding: 0.7rem 0.8rem 0.8rem;
  background: rgba(0, 0, 0, 0.18);
}

.chatbot-input-wrap input {
  min-height: 42px;
}

.admin-credit {
  margin-top: 1rem;
  text-align: center;
}

.admin-credit p {
  margin-bottom: 0.45rem;
}

.chat-admin-thread {
  margin-top: 0.7rem;
  max-height: 420px;
  overflow: auto;
  border: 1px solid rgba(201, 146, 42, 0.2);
  border-radius: 12px;
  padding: 0.65rem;
  display: grid;
  gap: 0.55rem;
  background: rgba(255, 255, 255, 0.02);
}

.chat-admin-msg {
  border: 1px solid rgba(201, 146, 42, 0.2);
  border-radius: 10px;
  padding: 0.55rem 0.65rem;
  background: rgba(201, 146, 42, 0.08);
}

.chat-admin-msg strong {
  display: inline-block;
  margin-right: 0.5rem;
}

.chat-admin-msg small {
  color: #d3c095;
}

.chat-admin-msg p {
  margin: 0.45rem 0 0;
}

.chat-inbox {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: 1rem;
  min-height: 560px;
}

.chat-inbox-list {
  display: grid;
  align-content: start;
  gap: 0.65rem;
  max-height: 680px;
  overflow: auto;
  padding-right: 0.2rem;
}

.chat-inbox-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 0.7rem;
  align-items: start;
  padding: 0.85rem;
  border: 1px solid rgba(201, 146, 42, 0.18);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
  color: inherit;
  text-decoration: none;
}

.chat-inbox-item:hover,
.chat-inbox-item.is-active {
  border-color: rgba(238, 193, 91, 0.62);
  background: rgba(201, 146, 42, 0.12);
}

.chat-inbox-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e6bd58;
  color: #0b0906;
  font-weight: 800;
}

.chat-inbox-summary {
  min-width: 0;
  display: grid;
  gap: 0.18rem;
}

.chat-inbox-summary strong,
.chat-inbox-summary span,
.chat-inbox-summary small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat-inbox-summary small,
.chat-inbox-meta small {
  color: #d3c095;
}

.chat-inbox-summary span {
  color: #f1e3c8;
  font-size: 0.9rem;
}

.chat-inbox-meta {
  display: grid;
  justify-items: end;
  gap: 0.35rem;
}

.chat-inbox-meta em,
.status-pill {
  font-style: normal;
  border: 1px solid rgba(201, 146, 42, 0.34);
  border-radius: 999px;
  padding: 0.18rem 0.5rem;
  color: #f7d987;
  background: rgba(201, 146, 42, 0.1);
  font-size: 0.78rem;
  white-space: nowrap;
}

.chat-inbox-reader {
  border: 1px solid rgba(201, 146, 42, 0.2);
  border-radius: 12px;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.14);
  min-width: 0;
}

.chat-reader-head,
.chat-admin-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.chat-reader-head h3 {
  margin-bottom: 0.2rem;
}

.chat-reader-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.75rem 0;
}

.chat-reader-facts span {
  border: 1px solid rgba(201, 146, 42, 0.18);
  border-radius: 8px;
  padding: 0.35rem 0.55rem;
  color: #e8d5ae;
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.9rem;
}

.chat-msg-head {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
}

.chat-reply-box {
  margin-top: 1rem;
}

.chat-admin-controls {
  margin-top: 0.8rem;
  justify-content: flex-start;
}

.chat-admin-controls form {
  display: flex;
  gap: 0.55rem;
  align-items: center;
  flex-wrap: wrap;
}

.btn.danger,
.danger {
  color: #ffd0d0;
  border-color: rgba(255, 90, 90, 0.45);
}

.empty-state {
  min-height: 340px;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  gap: 0.3rem;
  border: 1px dashed rgba(201, 146, 42, 0.25);
  border-radius: 12px;
}

.section-heading.compact {
  margin-bottom: 0.8rem;
}

.online-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid rgba(201, 146, 42, 0.28);
  border-radius: 999px;
  padding: 0.18rem 0.55rem;
  margin-left: 0.35rem;
  color: #cdbb95;
  font-size: 0.78rem;
}

.online-pill::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #8a8170;
}

.online-pill.is-online {
  color: #9ff0ba;
  border-color: rgba(96, 218, 137, 0.45);
}

.online-pill.is-online::before {
  background: #48d06f;
  box-shadow: 0 0 0 4px rgba(72, 208, 111, 0.14);
}

.product-detail-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: 2rem;
  align-items: start;
}

.product-gallery-main {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid rgba(201, 146, 42, 0.22);
}

.product-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(82px, 1fr));
  gap: 0.6rem;
  margin-top: 0.75rem;
}

.product-gallery-thumbs img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(201, 146, 42, 0.2);
}

.product-detail-copy h2 {
  margin-top: 0.65rem;
}

.lead-copy {
  color: #f0dfc0;
  font-size: 1.08rem;
}

.product-price {
  font-size: 1.55rem;
  font-weight: 800;
  color: #f5cf70;
}

.rich-content {
  margin: 1rem 0;
  color: #ead9b9;
}

.rich-content h2,
.rich-content h3 {
  margin-top: 1rem;
}

.product-buy-box {
  border-top: 1px solid rgba(201, 146, 42, 0.2);
  margin-top: 1rem;
  padding-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: end;
}

.product-buy-box input {
  width: 110px;
}

.product-modal {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: none;
  padding: 1.2rem;
}

.product-modal.is-open {
  display: grid;
  place-items: center;
}

.product-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(10px);
}

.product-modal-panel {
  position: relative;
  width: min(1120px, 100%);
  max-height: min(860px, calc(100vh - 2rem));
  overflow: auto;
  border: 1px solid rgba(201, 146, 42, 0.34);
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)), #100d09;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.62);
  padding: 1rem;
}

.product-modal-close {
  position: sticky;
  top: 0;
  margin-left: auto;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(201, 146, 42, 0.34);
  background: #1c160e;
  color: #f6d783;
  font-size: 1.5rem;
  z-index: 2;
}

.product-modal-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
  gap: 1.25rem;
}

.product-zoom-stage {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid rgba(201, 146, 42, 0.22);
  border-radius: 12px;
  background: #070604;
  display: grid;
  place-items: center;
  cursor: grab;
}

.product-zoom-stage img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transform-origin: center center;
  transition: transform 0.12s ease;
  user-select: none;
  pointer-events: none;
}

.product-zoom-controls {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin: 0.75rem 0;
}

.product-gallery-thumbs button {
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.product-modal-copy {
  min-width: 0;
}

.floating-cart-button {
  position: fixed;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 80;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.22rem;
  border: 1px solid rgba(255, 223, 154, 0.54);
  border-radius: 18px 0 0 18px;
  padding: 0.72rem 0.58rem 0.62rem;
  background: linear-gradient(145deg, #f5cb5f, var(--gold));
  color: #110d07;
  font-weight: 800;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.38);
  cursor: pointer;
  min-width: 70px;
}

.floating-cart-icon {
  display: grid;
  place-items: center;
}

.floating-cart-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.floating-cart-button strong {
  position: absolute;
  top: -0.45rem;
  left: -0.45rem;
  min-width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #120e08;
  color: #f8d776;
  border: 1px solid rgba(255, 223, 154, 0.45);
  font-size: 0.78rem;
}

.floating-cart-button.has-items {
  animation: cartPulse 1.1s ease 1;
}

@keyframes cartPulse {
  0%, 100% { transform: translateY(-50%) scale(1); }
  35% { transform: translateY(-50%) scale(1.08); }
}

.floating-cart {
  position: fixed;
  inset: 0;
  z-index: 130;
  pointer-events: none;
}

.floating-cart.is-open {
  pointer-events: auto;
}

.floating-cart-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 0.2s ease;
}

.floating-cart.is-open .floating-cart-backdrop {
  background: rgba(0, 0, 0, 0.46);
}

.floating-cart-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(430px, 100%);
  height: 100%;
  padding: 1rem;
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)), #100d09;
  border-left: 1px solid rgba(201, 146, 42, 0.3);
  box-shadow: -24px 0 64px rgba(0, 0, 0, 0.55);
  transform: translateX(104%);
  transition: transform 0.24s ease;
  overflow: auto;
}

.floating-cart.is-open .floating-cart-panel {
  transform: translateX(0);
}

.floating-cart-head,
.floating-cart-total,
.floating-cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.floating-cart-head {
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(201, 146, 42, 0.2);
  margin-bottom: 0.9rem;
}

.floating-cart-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(201, 146, 42, 0.28);
  background: rgba(201, 146, 42, 0.08);
  color: #f5d47b;
  font-size: 1.45rem;
}

.floating-cart-items {
  display: grid;
  gap: 0.75rem;
}

.floating-cart-item {
  align-items: start;
  border: 1px solid rgba(201, 146, 42, 0.18);
  border-radius: 10px;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.03);
}

.floating-cart-item div {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
}

.floating-cart-item span {
  color: #d7c49d;
  font-size: 0.85rem;
}

.floating-cart-item input {
  width: 72px;
}

.floating-cart-total {
  margin: 1rem 0;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(201, 146, 42, 0.2);
  color: #f6dfae;
}

.empty-state.compact {
  min-height: 180px;
}

.member-chat-window {
  max-height: 520px;
}

@media (max-width: 860px) {
  .product-detail-layout {
    grid-template-columns: 1fr;
  }

  .product-modal-grid {
    grid-template-columns: 1fr;
  }
}

.chat-admin-msg-user {
  background: rgba(67, 142, 121, 0.18);
  border-color: rgba(67, 142, 121, 0.35);
}

.chat-admin-msg-admin {
  background: rgba(68, 112, 176, 0.22);
  border-color: rgba(124, 175, 233, 0.34);
}

.chat-admin-msg-counsellor {
  background: rgba(180, 118, 36, 0.18);
  border-color: rgba(236, 178, 90, 0.36);
}

.chat-admin-msg-assistant,
.chat-admin-msg-system {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.16);
}

@media (max-width: 860px) {
  .chat-inbox {
    grid-template-columns: 1fr;
  }

  .chat-inbox-list {
    max-height: 420px;
  }
}

.wellbeing-shell {
  border-radius: 18px;
  border: 1px solid rgba(201, 146, 42, 0.35);
  overflow: hidden;
  background: linear-gradient(190deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01) 42%, transparent 90%), #100d09;
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.48);
}

.wellbeing-head {
  padding: 0.85rem 0.95rem;
  border-bottom: 1px solid rgba(201, 146, 42, 0.24);
  background: rgba(201, 146, 42, 0.08);
}

.wellbeing-head-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.wellbeing-head-brand img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(201, 146, 42, 0.45);
}

.wellbeing-head-brand strong {
  display: block;
  color: #f7e6bf;
  font-family: "Syne", sans-serif;
}

.wellbeing-head-brand small {
  color: #d5bf8f;
}

.wellbeing-messages {
  min-height: 420px;
  max-height: 58vh;
  overflow: auto;
  padding: 0.95rem;
  display: grid;
  gap: 0.6rem;
  background: radial-gradient(120% 120% at 50% -20%, rgba(201, 146, 42, 0.1), transparent 68%);
}

.wellbeing-msg {
  display: flex;
}

.wellbeing-msg-ai {
  justify-content: flex-start;
}

.wellbeing-msg-user {
  justify-content: flex-end;
}

.wellbeing-bubble {
  max-width: 86%;
  border-radius: 12px;
  padding: 0.62rem 0.78rem;
  white-space: pre-wrap;
  line-height: 1.5;
  font-size: 0.93rem;
}

.wellbeing-msg-ai .wellbeing-bubble {
  border: 1px solid rgba(201, 146, 42, 0.33);
  background: rgba(201, 146, 42, 0.1);
  color: #f5e8c8;
}

.wellbeing-msg-user .wellbeing-bubble {
  border: 1px solid rgba(98, 162, 145, 0.36);
  background: rgba(69, 138, 123, 0.2);
  color: #def2ec;
}

.wellbeing-input {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.6rem;
  border-top: 1px solid rgba(201, 146, 42, 0.2);
  padding: 0.85rem 0.95rem;
  background: rgba(0, 0, 0, 0.2);
}

.hidden {
  display: none;
}

@media (max-width: 1060px) {
  .nav-wrap {
    display: flex;
    min-height: 78px;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
  }

  .main-nav {
    display: none;
  }

  .main-nav.open {
    display: block;
    position: fixed;
    top: 82px;
    left: 1rem;
    right: 1rem;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01)),
      #17120d;
    padding: 0.8rem;
    border-radius: 16px;
    border: 1px solid rgba(201, 146, 42, 0.24);
    box-shadow: var(--shadow);
    z-index: 60;
    max-height: calc(100vh - 98px);
    overflow: auto;
  }

  .main-nav.open .menu-root {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 0.5rem;
    overflow: visible;
    width: 100%;
  }

  .main-nav.open .menu-root > .menu-item {
    display: flex !important;
    width: 100%;
  }

  .menu-btn {
    display: block;
    order: 3;
    margin-left: 0;
  }

  .menu-link {
    width: 100%;
    text-align: left;
    justify-content: space-between;
    font-size: 0.95rem;
    font-weight: 700;
    padding: 0.68rem 0.82rem;
    border-color: rgba(201, 146, 42, 0.28);
    background: rgba(12, 10, 8, 0.88);
  }

  .menu-item.has-submenu > .submenu {
    position: static;
    min-width: 0;
    margin-top: 0.45rem;
    border-radius: 10px;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    pointer-events: none;
    transform: none;
  }

  .menu-item.submenu-open > .submenu {
    opacity: 1;
    max-height: 420px;
    pointer-events: auto;
  }

  .nav-actions {
    display: inline-flex;
    gap: 0.3rem;
    order: 2;
    margin-left: auto;
    margin-right: 0.2rem;
    flex-shrink: 0;
  }

  .logo {
    order: 1;
    min-width: 0;
    gap: 0.55rem;
  }

  .logo-text small {
    display: none;
  }

  .submenu a {
    font-size: 0.84rem;
    font-weight: 600;
    padding: 0.56rem 0.62rem;
    color: #efdcb1;
  }

  .cards-grid,
  .stat-grid,
  .footer-grid,
  .footer-policy-meta,
  .services-grid,
  .checkbox-grid,
  .availability-grid,
  .newsletter-form,
  .form-grid,
  .split,
  .auth-layout {
    grid-template-columns: 1fr;
  }

  .home-events-list {
    grid-template-columns: 1fr;
  }

  .home-member-panel-head,
  .home-member-carousel-actions {
    align-items: flex-start;
    justify-content: flex-start;
  }

  .media-grid {
    grid-template-columns: 1fr;
  }

  .media-card.wide,
  .media-card.tall,
  .media-card.mid,
  .media-card.full {
    grid-column: auto;
  }

  .media-card.tall {
    min-height: 300px;
  }

  .home-slide {
    grid-template-columns: 1fr;
  }

  .home-slide-left {
    border-right: 0;
    border-bottom: 1px solid rgba(201, 146, 42, 0.16);
  }

  .nav-actions .btn {
    padding: 0.52rem 0.76rem;
  }

  .auth-toggle-btn {
    padding: 0.45rem 0.72rem;
    font-size: 0.72rem;
  }

  .trust-badges {
    grid-template-columns: 1fr;
  }

  .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
  }

  .admin-tabs-vertical {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .preloader-ring {
    width: 170px;
    height: 170px;
    padding: 12px;
  }

  .preloader-count {
    font-size: 1.1rem;
  }

  .cookie-consent {
    left: 1rem;
    right: 1rem;
    width: auto;
  }

  .chatbot-widget {
    right: 0.5rem;
    bottom: 0.65rem;
    top: auto;
    width: min(420px, calc(100% - 2rem));
  }

  .chatbot-widget-rope::before {
    display: none;
  }

  .wellbeing-help-trigger {
    left: -2px;
    top: 54%;
    transform: translateY(-50%) rotate(-90deg);
  }

  .wellbeing-help-pill {
    padding: 0.26rem 0.5rem;
    font-size: 0.56rem;
    gap: 0.24rem;
  }

  .wellbeing-live-dot {
    width: 7px;
    height: 7px;
  }

  .chatbot-input-wrap {
    grid-template-columns: 1fr;
  }

  .wellbeing-input {
    grid-template-columns: 1fr;
  }

  .footer-policy-feature {
    padding: 3rem 0 2.5rem;
  }

  .footer-policy-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .footer-policy-actions .btn {
    width: 100%;
  }

  .policy-toc ol,
  .policy-signoff {
    grid-template-columns: 1fr;
  }

  .policy-info-table td:first-child {
    width: 40%;
    white-space: normal;
  }

  .policy-info-table td,
  .policy-contacts-table td {
    padding: 0.68rem 0.75rem;
  }
}
