@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Sora:wght@500;600;700;800&display=swap");

:root {
  --green: #225346;
  --green-2: #2d6958;
  --green-dark: #142f28;
  --beige: #e4d4ad;
  --beige-2: #b8a57d;
  --paper: #f0e7d2;
  --wood: #30231b;
  --wood-2: #211813;
  --wood-3: #17110e;
  --ink: #0e0c0a;
  --muted: #a99c88;
  --line: rgba(228, 212, 173, 0.14);
  --shadow: 0 30px 90px rgba(0,0,0,.38);
  --max: 1320px;
  --display: "Sora", "Manrope", sans-serif;
  --sans: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--paper);
  background:
    radial-gradient(circle at 20% -10%, rgba(34,83,70,.22), transparent 34rem),
    radial-gradient(circle at 90% 30%, rgba(96,67,43,.12), transparent 28rem),
    linear-gradient(180deg, #17120f 0%, #100d0b 50%, #0d0b09 100%);
  font-family: var(--sans);
  line-height: 1.55;
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .028;
  mix-blend-mode: screen;
  background-image:
    linear-gradient(90deg, transparent 0 49.5%, rgba(255,255,255,.12) 50%, transparent 50.5%);
  background-size: 96px 100%;
  z-index: 20;
}

button, input, a {
  font: inherit;
}

button {
  color: inherit;
}

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

button {
  border: 0;
}

button, a {
  -webkit-tap-highlight-color: transparent;
}

.no-scroll {
  overflow: hidden;
}

.shell {
  width: min(calc(100% - 48px), var(--max));
  margin-inline: auto;
}

.announcement {
  position: relative;
  z-index: 30;
  border-bottom: 1px solid rgba(228, 212, 173, .12);
  background: rgba(9, 8, 7, .9);
  color: var(--beige-2);
  font-size: 12px;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.announcement-inner {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.announcement .tooth {
  color: var(--green-2);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(228, 212, 173, .08);
  background: rgba(15, 12, 10, .82);
  backdrop-filter: blur(18px);
}

.header-inner {
  height: 82px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  width: max-content;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(228, 212, 173, .22);
  background: linear-gradient(145deg, rgba(34,83,70,.55), rgba(34,83,70,.18));
  clip-path: polygon(0 8px, 9px 8px, 13px 2px, 18px 7px, 25px 1px, 31px 7px, 100% 7px, 100% 100%, 0 100%);
}

.brand-mark svg {
  width: 25px;
  height: 25px;
}

.brand-logo {
  width: 54px;
  height: 54px;
  object-fit: contain;
  flex: 0 0 auto;
  filter: drop-shadow(0 6px 18px rgba(0,0,0,.16));
}

.footer-logo {
  width: 88px;
  height: 88px;
}

.footer-brand-lockup {
  gap: 17px;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-copy strong {
  font-family: var(--display);
  font-size: 23px;
  font-weight: 700;
  letter-spacing: .06em;
}

.brand-copy span {
  color: var(--beige-2);
  margin-top: 6px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .30em;
  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.desktop-nav a {
  position: relative;
  padding: 12px 16px;
  color: #d0c4aa;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .9;
  transition: color .2s ease, opacity .2s ease;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  height: 2px;
  left: 14px;
  right: 14px;
  bottom: 7px;
  background: var(--green-2);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .25s ease;
}

.desktop-nav a:hover {
  color: var(--paper);
  opacity: 1;
}

.desktop-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-button,
.cart-button,
.menu-button {
  cursor: pointer;
}

.cart-button {
  position: relative;
  min-width: 112px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--paper);
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  transition: background .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.cart-button:hover {
  background: rgba(34,83,70,.18);
  border-color: rgba(68,133,112,.35);
  transform: translateY(-1px);
  box-shadow: 0 10px 25px rgba(0,0,0,.18);
}

.cart-count {
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(228,212,173,.12);
  color: var(--beige);
  font-size: 11px;
  font-weight: 800;
}

.cart-count.has-items {
  background: var(--beige);
  color: var(--ink);
}

.menu-button {
  display: none;
  width: 46px;
  height: 46px;
  background: transparent;
  border: 1px solid var(--line);
}

.menu-lines,
.menu-lines::before,
.menu-lines::after {
  display: block;
  width: 18px;
  height: 1px;
  margin: auto;
  background: var(--paper);
  content: "";
}

.menu-lines::before {
  transform: translateY(-6px);
}

.menu-lines::after {
  transform: translateY(5px);
}

.mobile-nav {
  display: none;
}

.hero {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(228, 212, 173, .08);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 45%, rgba(34,83,70,.10), transparent 30rem),
    linear-gradient(180deg, rgba(12,10,8,.92) 0%, rgba(12,10,8,.88) 100%);
}

.hero::after {
  content: none;
}




.hero-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: .85;
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 48px), 1040px);
  margin-inline: auto;
  padding-block: 92px;
  display: flex;
  justify-content: center;
}

.hero-content {
  width: min(100%, 860px);
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--beige-2);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
  opacity: .95;
}

.eyebrow::before {
  content: "";
  width: 54px;
  height: 1px;
  background: var(--green-2);
}

.hero h1 {
  max-width: 860px;
  margin: 18px auto 18px;
  font-family: var(--display);
  font-size: clamp(58px, 7vw, 108px);
  line-height: .92;
  letter-spacing: -.05em;
  font-weight: 700;
  text-transform: none;
  text-align: center;
}

.hero h1 .green {
  color: #4fbaa1;
  text-shadow: 0 7px 25px rgba(34,83,70,.14);
}

.hero-copy {
  max-width: 760px;
  margin: 0 auto;
  color: #b8ac96;
  font-size: 18px;
  line-height: 1.72;
  text-align: center;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 40px;
}

.primary-button,
.secondary-button,
.game-button {
  min-height: 54px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .10em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.primary-button {
  background: linear-gradient(180deg, #2e7764 0%, #225346 100%);
  border: 1px solid rgba(102, 179, 155, .32);
  color: #f4ecdb;
  box-shadow: 0 14px 36px rgba(34,83,70,.16);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.primary-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(34,83,70,.22);
  filter: brightness(1.05);
}

.secondary-button {
  background: rgba(255,255,255,.02);
  border: 1px solid rgba(255,255,255,.10);
  color: var(--paper);
  transition: background .2s ease, transform .2s ease, border-color .2s ease;
}

.secondary-button:hover {
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.16);
  transform: translateY(-2px);
}

.game-button {
  background: rgba(228,212,173,.95);
  border: 1px solid rgba(255,255,255,.22);
  color: #17110e;
  box-shadow: 0 14px 36px rgba(228,212,173,.08);
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.game-button:hover {
  background: #f1e7cf;
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(228,212,173,.12);
}

.hero-note {
  margin-top: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: #7f7566;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.hero-note svg {
  width: 34px;
}

.section {
  position: relative;
  padding: 110px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 30px;
  margin-bottom: 38px;
}

.section-kicker {
  color: var(--green-2);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.section-heading h2 {
  margin: 9px 0 0;
  font-family: var(--display);
  font-size: clamp(40px, 4.2vw, 62px);
  line-height: 1;
  letter-spacing: -.04em;
}

.section-heading p {
  max-width: 450px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 34px;
}

.filter-chip {
  min-height: 42px;
  padding: 0 16px;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 999px;
  background: rgba(255,255,255,.02);
  color: #a99d87;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: .2s ease;
}

.filter-chip:hover,
.filter-chip.active {
  color: var(--paper);
  border-color: rgba(59,113,95,.55);
  background: rgba(34,83,70,.26);
}

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

.product-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(34,26,21,.88), rgba(23,18,14,.98));
  box-shadow: 0 0 0 rgba(0,0,0,0);
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}

.product-card:hover {
  transform: translateY(-7px);
  border-color: rgba(68,133,112,.42);
  box-shadow: 0 24px 60px rgba(0,0,0,.25);
}

.wood-cut {
  clip-path: none;
}

.product-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  cursor: pointer;
  overflow: hidden;
  background-color: #0f0d0b;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.product-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 72%, rgba(15,12,10,.14));
  pointer-events: none;
  transition: background .28s ease;
}

.product-card:hover .product-visual::after {
  background: linear-gradient(180deg, transparent 76%, rgba(15,12,10,.08));
}

.visual-noise {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, transparent, rgba(0,0,0,.05));
  pointer-events: none;
}

.placeholder-mark {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-size: 92px;
  color: rgba(228,212,173,.13);
}


.product-content {
  padding: 22px 22px 20px;
}

.product-meta {
  margin-bottom: 7px;
  color: var(--green-2);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .19em;
  text-transform: uppercase;
}

.product-content h3 {
  margin: 0;
  min-height: 56px;
  font-size: 20px;
  line-height: 1.24;
}

.product-content h3 button {
  padding: 0;
  cursor: pointer;
  text-align: left;
  background: transparent;
  font-weight: 800;
}

.product-content p {
  min-height: 63px;
  margin: 12px 0 20px;
  color: #958a78;
  font-size: 13px;
}

.product-bottom {
  padding-top: 17px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
}

.product-bottom strong {
  font-size: 18px;
  color: var(--beige);
}

.add-button {
  min-width: 104px;
  height: 40px;
  padding-inline: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
  border-radius: 12px;
  background: linear-gradient(180deg, #2e7764 0%, #225346 100%);
  color: #f5efdf;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: .2s ease;
}

.add-button:hover {
  background: var(--green-2);
}

.add-button.loading {
  opacity: .55;
  pointer-events: none;
}

.empty-products {
  grid-column: 1 / -1;
  min-height: 260px;
  display: grid;
  place-content: center;
  text-align: center;
  border: 1px dashed var(--line);
  color: var(--beige);
}

.empty-products span {
  font-family: var(--display);
  font-size: 34px;
}

.empty-products small {
  color: var(--muted);
}

.manifesto {
  padding: 30px 0 120px;
}

.manifesto-card {
  position: relative;
  padding: 60px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 28px;
  background:
    linear-gradient(105deg, rgba(34,83,70,.18), transparent 52%),
    #15110e;
}

.manifesto-card::after {
  content: "";
  position: absolute;
  right: -50px;
  top: -100px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(228,212,173,.06);
  transform: rotate(30deg);
}

.manifesto-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 80px;
}

.manifesto h2 {
  margin: 0 0 22px;
  max-width: 650px;
  font-family: var(--display);
  font-size: clamp(42px, 4.4vw, 62px);
  line-height: 1;
  letter-spacing: -.04em;
}

.manifesto p {
  max-width: 670px;
  color: #a99d88;
}

.manifesto-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  align-content: center;
  background: var(--line);
  border: 1px solid var(--line);
}

.stat {
  padding: 28px;
  background: #18130f;
}

.stat strong {
  display: block;
  font-family: var(--display);
  font-size: 34px;
  color: var(--beige);
}

.stat span {
  color: #857967;
  font-size: 10px;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.site-footer {
  padding: 58px 0 34px;
  border-top: 1px solid var(--line);
  background: #0a0908;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 60px;
}

.footer-brand p {
  max-width: 360px;
  color: #817766;
  font-size: 13px;
}

.footer-column h4 {
  margin: 0 0 15px;
  color: var(--beige);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.footer-column a {
  display: block;
  width: max-content;
  margin: 9px 0;
  color: #827867;
  font-size: 13px;
}

.footer-column a:hover {
  color: var(--paper);
}

.footer-bottom {
  margin-top: 46px;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  border-top: 1px solid rgba(228,212,173,.08);
  color: #625a4e;
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.backdrop {
  position: fixed;
  z-index: 70;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  background: rgba(0,0,0,.68);
  backdrop-filter: blur(5px);
  transition: .25s ease;
}

.backdrop.open {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  z-index: 80;
  top: 0;
  right: 0;
  width: min(460px, 100%);
  height: 100dvh;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  background: #15110e;
  border-left: 1px solid var(--line);
  box-shadow: -25px 0 70px rgba(0,0,0,.35);
  transition: transform .28s ease;
}

.cart-drawer.open {
  transform: translateX(0);
}

.cart-head {
  min-height: 90px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.cart-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-head h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 28px;
}

.mode-pill {
  padding: 5px 8px;
  border: 1px solid rgba(68,133,112,.35);
  color: var(--green-2);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .13em;
}

.icon-button {
  width: 40px;
  height: 40px;
  background: rgba(228,212,173,.03);
  border: 1px solid var(--line);
  font-size: 22px;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
}

.cart-item {
  padding: 14px 0;
  display: grid;
  grid-template-columns: 70px 1fr 40px;
  align-items: center;
  gap: 13px;
  border-bottom: 1px solid var(--line);
}

.cart-thumb {
  width: 70px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 70% 20%, rgba(53,119,97,.32), transparent 40%),
    #221a15;
  background-size: cover;
  background-position: center;
  color: rgba(228,212,173,.25);
  font-family: var(--display);
  font-size: 26px;
}

.cart-item-copy {
  min-width: 0;
}

.cart-item-copy strong,
.cart-item-copy span {
  display: block;
}

.cart-item-copy strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
}

.cart-item-copy span {
  margin-top: 5px;
  color: #8c806e;
  font-size: 11px;
}

.remove-item {
  align-self: center;
}

.empty-cart {
  min-height: 60vh;
  display: grid;
  place-content: center;
  justify-items: center;
  text-align: center;
  color: #8c816f;
}

.empty-cart strong {
  margin: 15px 0 5px;
  color: var(--beige);
}

.empty-cart span {
  font-size: 12px;
}

.empty-teeth {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--green-2);
  font-size: 28px;
}

.cart-footer {
  padding: 24px;
  border-top: 1px solid var(--line);
  background: #100d0b;
}

.cart-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 7px 0;
  color: #887d6c;
  font-size: 12px;
}

.cart-line.total {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
  color: var(--paper);
  font-size: 16px;
  font-weight: 800;
}

.cart-actions {
  display: grid;
  gap: 9px;
  margin-top: 18px;
}

.cart-actions .primary-button,
.cart-actions .secondary-button {
  width: 100%;
}

.cart-actions button:disabled {
  opacity: .38;
  cursor: not-allowed;
}


.product-modal {
  position: fixed;
  z-index: 90;
  left: 50%;
  top: 50%;
  width: min(1220px, calc(100% - 42px));
  max-height: min(90vh, 900px);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -47%) scale(.985);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 26px;
  background: #15110e;
  box-shadow: var(--shadow);
  transition: .25s ease;
}

.product-modal.open {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.modal-close {
  position: absolute;
  z-index: 8;
  right: 16px;
  top: 16px;
  border-radius: 12px;
  background: rgba(10,9,8,.68);
  backdrop-filter: blur(10px);
}

.product-modal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(340px, .75fr);
  min-height: 0;
  max-height: min(90vh, 900px);
  align-items: stretch;
}

.modal-gallery {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
  background:
    radial-gradient(circle at 50% 35%, rgba(34,83,70,.10), transparent 38%),
    #0f0d0b;
  border-right: 1px solid rgba(255,255,255,.06);
}

.modal-media-stage {
  position: relative;
  width: 100%;
  aspect-ratio: var(--media-ratio, 16 / 9);
  max-height: calc(90vh - 155px);
  min-height: 240px;
  overflow: hidden;
  border-radius: 18px;
  background: #0b0a09;
  border: 1px solid rgba(255,255,255,.05);
  transition: aspect-ratio .22s ease;
}

.modal-main-image,
.modal-youtube,
.modal-image-placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.modal-main-image {
  display: block;
  object-fit: contain;
  object-position: center;
  user-select: none;
  cursor: default;
  background: #0b0a09;
}

.modal-youtube {
  display: block;
  border: 0;
  background: #000;
}

.modal-image-placeholder {
  display: grid;
  place-items: center;
}

.modal-image-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-size: clamp(90px, 12vw, 180px);
  color: rgba(228,212,173,.10);
  background:
    radial-gradient(circle at 60% 30%, rgba(53,119,97,.20), transparent 40%),
    linear-gradient(145deg, #273b33, #15120f 68%);
}

.gallery-nav {
  position: absolute;
  z-index: 5;
  top: 50%;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  cursor: pointer;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(12,10,8,.68);
  color: var(--paper);
  font-size: 28px;
  line-height: 1;
  backdrop-filter: blur(10px);
  transition: background .2s ease, transform .2s ease, border-color .2s ease;
}

.gallery-nav:hover {
  background: rgba(34,83,70,.72);
  border-color: rgba(94,232,199,.22);
}

.gallery-prev {
  left: 14px;
}

.gallery-next {
  right: 14px;
}

.modal-thumbnails {
  min-width: 0;
  display: flex;
  gap: 9px;
  overflow-x: auto;
  padding: 2px 2px 4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(94,232,199,.24) transparent;
}

.modal-thumb {
  flex: 0 0 92px;
  height: 62px;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.07);
  background: #0b0a09;
  opacity: .62;
  transition: opacity .2s ease, border-color .2s ease, transform .2s ease;
}

.modal-thumb:hover,
.modal-thumb.active {
  opacity: 1;
  border-color: rgba(94,232,199,.40);
}

.modal-thumb.active {
  transform: translateY(-1px);
}

.modal-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.modal-copy {
  min-height: 0;
  max-height: min(90vh, 900px);
  padding: 56px 42px 34px;
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(180deg, rgba(255,255,255,.015), transparent 28%),
    #15110e;
}

.modal-category {
  color: var(--green-2);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.modal-copy h2 {
  margin: 10px 0 18px;
  font-family: var(--display);
  font-size: clamp(34px, 3.3vw, 54px);
  line-height: 1;
  letter-spacing: -.035em;
}

.modal-description-wrap {
  min-height: 0;
  flex: 1;
  overflow-y: auto;
  padding-right: 8px;
  margin-right: -8px;
  scrollbar-width: thin;
  scrollbar-color: rgba(94,232,199,.20) transparent;
}

.modal-description {
  color: #9a8e7a;
  font-size: 13px;
  line-height: 1.72;
}

.modal-description p:first-child {
  margin-top: 0;
}

.modal-description img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.modal-description iframe,
.modal-description video {
  max-width: 100%;
}

.modal-purchase {
  margin-top: 24px;
  padding-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
}

.modal-price {
  font-size: 22px;
  font-weight: 800;
  color: var(--beige);
}

@media (max-width: 980px) {
  .product-modal {
    width: min(920px, calc(100% - 26px));
    max-height: 92vh;
  }

  .product-modal-grid {
    grid-template-columns: 1fr;
    height: auto;
    max-height: 92vh;
    overflow-y: auto;
  }

  .modal-media-stage {
    max-height: 56vh;
    min-height: 240px;
  }

  .modal-gallery {
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.06);
  }

  .modal-copy {
    padding: 34px 26px 28px;
  }

  .modal-description-wrap {
    overflow: visible;
  }
}

@media (max-width: 620px) {
  .product-modal {
    width: calc(100% - 14px);
    border-radius: 18px;
  }

  .product-modal-grid {
    display: block;
  }

  .modal-media-stage {
    max-height: 48vh;
    min-height: 220px;
  }

  .modal-gallery {
    padding: 10px;
    gap: 8px;
  }

  .modal-thumbnails {
    gap: 7px;
  }

  .modal-thumb {
    flex-basis: 76px;
    height: 52px;
  }

  .gallery-nav {
    width: 38px;
    height: 38px;
    font-size: 24px;
  }

  .modal-copy {
    padding: 30px 20px 22px;
  }

  .modal-purchase {
    align-items: stretch;
    flex-direction: column;
  }

  .modal-purchase .primary-button {
    width: 100%;
  }
}

.toast {
  position: fixed;
  z-index: 110;
  left: 50%;
  bottom: 26px;
  max-width: min(520px, calc(100% - 32px));
  padding: 13px 17px;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 10px);
  background: #191510;
  border: 1px solid rgba(68,133,112,.5);
  box-shadow: 0 12px 50px rgba(0,0,0,.35);
  color: var(--paper);
  font-size: 12px;
  transition: .2s ease;
}

.toast.show {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.toast[data-tone="error"] {
  border-color: rgba(178,73,58,.7);
}

.toast[data-tone="warning"] {
  border-color: rgba(193,151,75,.7);
}

.success-page {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 30px;
}

.success-card {
  width: min(650px, 100%);
  padding: 55px;
  text-align: center;
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(34,83,70,.2), transparent 50%),
    #15110e;
}

.success-card .brand {
  margin: 0 auto 35px;
}

.success-card h1 {
  margin: 0 0 14px;
  font-family: var(--display);
  font-size: 58px;
  line-height: .9;
}

.success-card p {
  color: var(--muted);
}

.success-card .primary-button {
  margin-top: 20px;
}

@media (max-width: 1050px) {
  .desktop-nav {
    display: none;
  }

  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .header-actions {
    grid-column: 2;
  }

  .menu-button {
    display: inline-grid;
    place-items: center;
  }

  .mobile-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 82px;
    display: grid;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    background: rgba(16,13,11,.97);
    border-bottom: 1px solid transparent;
    transition: .25s ease;
  }

  .mobile-nav.open {
    max-height: 350px;
    opacity: 1;
    border-bottom-color: var(--line);
  }

  .mobile-nav a {
    padding: 15px 24px;
    border-top: 1px solid rgba(228,212,173,.07);
    color: var(--beige);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
  }

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

  .manifesto-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }
}

@media (max-width: 760px) {
  .shell {
    width: min(calc(100% - 28px), var(--max));
  }

  .announcement {
    display: none;
  }

  .header-inner {
    height: 70px;
  }

  .mobile-nav {
    top: 70px;
  }

  .brand-copy strong {
    font-size: 19px;
  }

  .brand-logo {
    width: 46px;
    height: 46px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .cart-button {
    min-width: 48px;
    width: 48px;
  }

  .cart-label {
    display: none;
  }

  .cart-count {
    position: absolute;
    right: -5px;
    top: -5px;
    width: 20px;
    height: 20px;
  }

  .hero {
    min-height: 610px;
  }

  .hero-inner {
    width: min(calc(100% - 28px), var(--max));
    padding-block: 75px;
  }
}

[hidden] {
  display: none !important;
}


  


.modal-main-image[hidden],
.modal-youtube[hidden],
.modal-image-placeholder[hidden],
.modal-thumbnails[hidden],
.gallery-nav[hidden] {
  display: none !important;
}

.modal-thumb-video {
  position: relative;
  padding: 0;
  overflow: hidden;
  background: #10221d;
}

.modal-thumb-video > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.video-thumb-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(10,9,8,.16);
  transition: background .2s ease;
}

.modal-thumb-video:hover .video-thumb-overlay,
.modal-thumb-video.active .video-thumb-overlay {
  background: rgba(10,9,8,.06);
}

.video-thumb-play {
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  padding-left: 2px;
  border-radius: 50%;
  background: rgba(10,9,8,.72);
  border: 1px solid rgba(228,212,173,.28);
  color: var(--beige);
  font-size: 10px;
  backdrop-filter: blur(5px);
}


/* Dynamic media sizing */
.product-modal {
  --media-ratio: 16 / 9;
}

.modal-gallery {
  align-self: start;
}

.modal-media-stage {
  max-width: 100%;
}

@media (min-width: 981px) {
  .modal-gallery {
    max-height: min(90vh, 900px);
  }

  .modal-media-stage {
    flex: 0 1 auto;
  }
}


/* V0.13 — reliable media layering */
.modal-main-image {
  z-index: 2;
}

.modal-youtube {
  z-index: 3;
}

.modal-image-placeholder {
  z-index: 1;
}

.gallery-nav {
  z-index: 6;
}


/* =========================================================
   V0.20 — product pages / gifting / support / showcase
   ========================================================= */

.product-visual {
  display: block;
}

.product-content h3 a {
  color: inherit;
}

.product-actions-compact {
  display: flex;
  align-items: center;
  gap: 8px;
}

.gift-button {
  min-width: 66px;
  height: 40px;
  padding: 0 13px;
  cursor: pointer;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.09);
  background: rgba(255,255,255,.025);
  color: var(--beige);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.gift-button:hover {
  background: rgba(228,212,173,.08);
  border-color: rgba(228,212,173,.18);
  transform: translateY(-1px);
}

.gift-modal {
  position: fixed;
  z-index: 100;
  left: 50%;
  top: 50%;
  width: min(500px, calc(100% - 28px));
  padding: 38px;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -46%) scale(.98);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 24px;
  background: #14110e;
  box-shadow: var(--shadow);
  transition: .22s ease;
}

.gift-modal.open {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.gift-close {
  position: absolute;
  right: 14px;
  top: 14px;
  border-radius: 12px;
}

.gift-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 13px;
  background: rgba(34,83,70,.28);
  color: #6bd0b5;
  font-size: 24px;
}

.gift-modal h2 {
  margin: 8px 0 10px;
  font-family: var(--display);
  font-size: 34px;
  letter-spacing: -.035em;
}

.gift-intro {
  margin: 0 0 25px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.field-label {
  display: block;
  margin: 17px 0 8px;
  color: var(--beige);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .07em;
}

.field-label span {
  color: #71695d;
  font-weight: 500;
}

.text-input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 12px;
  outline: none;
  background: rgba(255,255,255,.025);
  color: var(--paper);
  font: inherit;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.text-input:focus {
  border-color: rgba(94,232,199,.38);
  box-shadow: 0 0 0 3px rgba(34,83,70,.15);
}

.field-help {
  margin: 8px 0 0;
  color: #746b5d;
  font-size: 11px;
}

.gift-actions {
  margin-top: 28px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

/* Product direct page */

.inner-page {
  background:
    radial-gradient(circle at 20% 0%, rgba(34,83,70,.13), transparent 28rem),
    #0f0c0a;
}

.product-page-main {
  min-height: calc(100vh - 120px);
  padding: 72px 0 110px;
}

.product-detail-loading {
  min-height: 55vh;
  display: grid;
  place-items: center;
  color: var(--muted);
}

.product-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(360px, .65fr);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 30px;
  background: #14110e;
}

.product-detail-media {
  min-width: 0;
  padding: 20px;
  border-right: 1px solid rgba(255,255,255,.06);
  background: #0d0b09;
}

.product-page-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 320px;
  overflow: hidden;
  border-radius: 20px;
  background: #090807;
  border: 1px solid rgba(255,255,255,.05);
}

.product-page-main-image,
.product-page-youtube,
.product-page-placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.product-page-main-image {
  object-fit: contain;
  background: #090807;
}

.product-page-youtube {
  border: 0;
  background: #000;
}

.product-page-placeholder {
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-size: 150px;
  color: rgba(228,212,173,.08);
  background: radial-gradient(circle at center, rgba(34,83,70,.18), transparent 50%);
}

.product-page-thumbnails {
  margin-top: 12px;
}

.product-detail-copy {
  min-width: 0;
  padding: 50px 42px 38px;
  display: flex;
  flex-direction: column;
}

.product-back {
  display: inline-block;
  width: max-content;
  margin-bottom: 34px;
  color: #807565;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.product-back:hover {
  color: var(--paper);
}

.product-detail-copy h1 {
  margin: 9px 0 22px;
  font-family: var(--display);
  font-size: clamp(42px, 5vw, 74px);
  line-height: .96;
  letter-spacing: -.055em;
}

.product-detail-description {
  color: #a29683;
  font-size: 14px;
  line-height: 1.75;
}

.product-detail-description img,
.product-detail-description iframe {
  max-width: 100%;
}

.product-detail-purchase {
  margin-top: auto;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.product-detail-price {
  display: block;
  margin-bottom: 22px;
  color: var(--beige);
  font-size: 28px;
}

.product-main-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.product-main-actions > * {
  min-width: 130px;
}

.product-buy {
  flex: 1;
}

.secure-note {
  margin-top: 18px;
  color: #71685b;
  font-size: 10px;
  letter-spacing: .06em;
}

.compact-footer {
  padding-top: 20px;
}

/* Generic inner page */

.content-page-main {
  min-height: calc(100vh - 120px);
  padding: 84px 0 120px;
}

.page-hero {
  max-width: 980px;
  margin-bottom: 62px;
}

.page-hero h1 {
  max-width: 820px;
  margin: 12px 0 20px;
  font-family: var(--display);
  font-size: clamp(54px, 6.5vw, 92px);
  line-height: .95;
  letter-spacing: -.055em;
}

.page-hero h1 span {
  color: #4fbaa1;
}

.page-hero > p {
  max-width: 720px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

/* Support */

.support-layout {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.support-side-card,
.support-form-card {
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 24px;
  background: #15110e;
}

.support-side-card {
  padding: 30px;
  position: sticky;
  top: 120px;
}

.support-side-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 14px;
  background: rgba(34,83,70,.27);
  color: #65c9ad;
  font-family: var(--display);
  font-size: 23px;
}

.support-side-card h2 {
  margin: 0 0 12px;
  font-size: 20px;
}

.support-side-card p {
  color: var(--muted);
  font-size: 13px;
}

.support-contact {
  margin: 28px 0;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.support-contact span,
.support-contact strong {
  display: block;
}

.support-contact span {
  color: #72695c;
  font-size: 10px;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.support-contact strong {
  margin-top: 7px;
  font-size: 12px;
}

.support-form-card {
  padding: 36px;
}

.support-status {
  margin-bottom: 22px;
  padding: 13px 15px;
  border-radius: 12px;
  background: rgba(255,255,255,.025);
  border: 1px solid rgba(255,255,255,.07);
  color: #948978;
  font-size: 12px;
}

.support-status[data-tone="ok"] {
  color: #8dcdbb;
  border-color: rgba(94,232,199,.18);
}

.support-status[data-tone="warning"] {
  color: #d4ba82;
  border-color: rgba(212,186,130,.16);
}

.support-status[data-tone="error"] {
  color: #d79284;
  border-color: rgba(215,146,132,.18);
}

.form-grid {
  display: grid;
  gap: 16px;
}

.form-grid.two {
  grid-template-columns: 1fr 1fr;
}

.support-textarea {
  min-height: 210px;
  padding-top: 13px;
  resize: vertical;
}

.support-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.support-submit-row {
  margin-top: 24px;
  padding-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
}

.support-submit-row p {
  margin: 0;
  color: #746b5d;
  font-size: 11px;
}

.support-success {
  padding: 45px 15px;
  text-align: center;
}

.support-success-mark {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: rgba(34,83,70,.30);
  color: #70d4b9;
  font-size: 25px;
}

.support-success h2 {
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: 36px;
}

.support-success p {
  color: var(--muted);
}

/* Showcase */

.showcase-hero {
  text-align: left;
}

.page-actions {
  justify-content: flex-start;
}

.connection-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 100px;
}

.connection-card {
  padding: 28px;
  display: grid;
  gap: 15px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 22px;
  background: #15110e;
}

.connection-label {
  color: #8d8271;
  font-size: 11px;
}

.connection-card code {
  padding: 18px;
  overflow-wrap: anywhere;
  border-radius: 12px;
  background: #0c0a09;
  color: #69cdb1;
  font-size: 15px;
}

.showcase-steps {
  padding-top: 20px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.step-card {
  padding: 28px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 22px;
  background: rgba(255,255,255,.018);
}

.step-card > span {
  color: #4fbaa1;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
}

.step-card h3 {
  margin: 16px 0 9px;
  font-size: 20px;
}

.step-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

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

  .product-detail-media {
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.06);
  }

  .product-detail-copy {
    padding: 36px 28px;
  }

  .support-layout {
    grid-template-columns: 1fr;
  }

  .support-side-card {
    position: static;
  }

  .connection-section,
  .steps-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 650px) {
  .product-page-main,
  .content-page-main {
    padding-top: 38px;
  }

  .product-detail-grid {
    border-radius: 20px;
  }

  .product-detail-media {
    padding: 10px;
  }

  .product-page-stage {
    min-height: 220px;
    border-radius: 15px;
  }

  .product-detail-copy {
    padding: 30px 20px;
  }

  .product-main-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .product-main-actions .product-visit {
    grid-column: 1 / -1;
  }

  .gift-modal {
    padding: 32px 20px 22px;
  }

  .gift-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .form-grid.two {
    grid-template-columns: 1fr;
  }

  .support-form-card {
    padding: 24px 18px;
  }

  .support-submit-row {
    align-items: stretch;
    flex-direction: column;
  }

  .support-submit-row .primary-button {
    width: 100%;
  }

  .page-hero h1 {
    font-size: clamp(46px, 14vw, 70px);
  }
}


/* =========================================================
   V0.21 — interactive RDR2 map
   ========================================================= */

.map-page {
  height: 100vh;
  overflow: hidden;
  background: #0d0b09;
}

.map-header {
  position: relative;
}

.map-shell {
  height: calc(100vh - 82px);
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
}

.map-sidebar {
  min-width: 0;
  padding: 26px 22px 18px;
  overflow-y: auto;
  border-right: 1px solid rgba(255,255,255,.07);
  background:
    radial-gradient(circle at 30% 10%, rgba(34,83,70,.10), transparent 18rem),
    #11100e;
}

.map-sidebar-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.map-sidebar h1 {
  margin: 6px 0 0;
  font-family: var(--display);
  font-size: 33px;
  letter-spacing: -.04em;
}

.map-admin-trigger {
  width: 40px;
  height: 40px;
  cursor: pointer;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.07);
  background: rgba(255,255,255,.025);
  color: #796f60;
  transition: .2s ease;
}

.map-admin-trigger:hover,
.map-admin-trigger.active {
  color: #6bd0b5;
  border-color: rgba(94,232,199,.18);
  background: rgba(34,83,70,.16);
}

.map-sidebar-copy {
  margin: 18px 0 22px;
  color: #857a69;
  font-size: 12px;
  line-height: 1.65;
}

.map-search-wrap {
  margin-bottom: 12px;
}

.map-search {
  min-height: 42px;
}

.map-count {
  margin: 17px 0 10px;
  color: #6f675b;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .10em;
  text-transform: uppercase;
}

.map-location-list {
  display: grid;
  gap: 7px;
}

.map-list-item {
  width: 100%;
  padding: 8px;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 11px;
  cursor: pointer;
  text-align: left;
  border-radius: 14px;
  border: 1px solid transparent;
  background: transparent;
  transition: background .2s ease, border-color .2s ease;
}

.map-list-item:hover {
  background: rgba(255,255,255,.028);
  border-color: rgba(255,255,255,.055);
}

.map-list-item img,
.map-list-fallback {
  width: 54px;
  height: 42px;
  display: grid;
  place-items: center;
  object-fit: cover;
  border-radius: 9px;
  background: #1a1612;
}

.map-list-fallback {
  font-family: var(--display);
  color: rgba(228,212,173,.16);
}

.map-list-copy {
  min-width: 0;
}

.map-list-region {
  display: block;
  margin-bottom: 3px;
  color: #3f9e86;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .10em;
  text-transform: uppercase;
}

.map-list-copy strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--paper);
  font-size: 12px;
}

.map-list-arrow {
  color: #5e554a;
}

.map-list-empty {
  padding: 28px 10px;
  color: #72695d;
  font-size: 12px;
  text-align: center;
}

.map-credits {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.06);
  color: #554f46;
  font-size: 9px;
  line-height: 1.6;
}

.map-canvas-wrap {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: #11100e;
}

.rdr-map {
  position: absolute;
  inset: 0;
  background: #d1b982;
}

.map-toolbar {
  position: absolute;
  z-index: 500;
  left: 16px;
  top: 16px;
  display: flex;
  gap: 8px;
}

.map-toolbar-button {
  min-height: 40px;
  padding: 0 14px;
  cursor: pointer;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(14,12,10,.84);
  color: var(--beige);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.map-toolbar-button:hover,
.map-toolbar-button.active {
  background: rgba(34,83,70,.88);
  border-color: rgba(94,232,199,.24);
}

.map-admin-state {
  position: absolute;
  z-index: 500;
  right: 16px;
  top: 16px;
  padding: 9px 11px;
  border-radius: 999px;
  background: rgba(34,83,70,.88);
  border: 1px solid rgba(94,232,199,.24);
  color: #dff7ef;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.emistery-map-marker-wrap {
  background: transparent !important;
  border: 0 !important;
}

.emistery-map-marker {
  position: relative;
  width: 38px;
  height: 38px;
  padding: 3px;
  border-radius: 50% 50% 50% 8px;
  transform: rotate(-45deg);
  background: #225346;
  border: 2px solid #eadbb6;
  box-shadow: 0 8px 22px rgba(0,0,0,.35);
}

.emistery-map-marker img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 50%;
  transform: rotate(45deg);
  object-fit: cover;
}

.emistery-map-popup .leaflet-popup-content-wrapper {
  padding: 0;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: #15110e;
  color: var(--paper);
  box-shadow: 0 24px 60px rgba(0,0,0,.40);
}

.emistery-map-popup .leaflet-popup-content {
  width: 300px !important;
  margin: 0;
}

.emistery-map-popup .leaflet-popup-tip {
  background: #15110e;
}

.emistery-map-popup a.leaflet-popup-close-button {
  top: 7px;
  right: 7px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(10,9,8,.72);
  color: #eee0c1 !important;
  font-size: 18px;
}

.map-popup-image {
  width: 100%;
  height: 150px;
  display: block;
  object-fit: cover;
}

.map-popup-body {
  padding: 18px;
}

.map-popup-region {
  display: inline-flex;
  margin-bottom: 9px;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(34,83,70,.18);
  color: #5bc4a7;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .10em;
  text-transform: uppercase;
}

.map-popup-body h3 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: 21px;
  line-height: 1.05;
}

.map-popup-body p {
  margin: 0 0 12px;
  color: #958a78;
  font-size: 11px;
  line-height: 1.55;
}

.map-popup-coords {
  margin-bottom: 13px;
  color: #696155;
  font-family: monospace;
  font-size: 9px;
}

.map-shop-button {
  width: 100%;
  min-height: 42px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 12px;
  background: linear-gradient(180deg, #2f7865, #225346);
  color: white !important;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.map-delete-button {
  width: 100%;
  margin-top: 8px;
  padding: 8px;
  cursor: pointer;
  border-radius: 9px;
  background: transparent;
  border: 1px solid rgba(215,110,90,.18);
  color: #c98071;
  font-size: 9px;
  font-weight: 700;
}

.map-dialog {
  position: fixed;
  z-index: 1000;
  left: 50%;
  top: 50%;
  width: min(520px, calc(100% - 28px));
  padding: 34px;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -46%) scale(.98);
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.08);
  background: #15110e;
  box-shadow: var(--shadow);
  transition: .2s ease;
}

.map-dialog.open {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.map-dialog h2 {
  margin: 8px 0 9px;
  font-family: var(--display);
  font-size: 34px;
}

.map-dialog > p {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.map-dialog-close {
  position: absolute;
  right: 13px;
  top: 13px;
  border-radius: 12px;
}

.map-point-dialog {
  width: min(680px, calc(100% - 28px));
}

.map-small-textarea {
  min-height: 90px;
  padding-top: 12px;
  resize: vertical;
}

.form-grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.map-coord-title {
  margin-top: 18px;
}

.map-picked-position {
  margin-top: 16px;
  padding: 12px 13px;
  border-radius: 10px;
  border: 1px solid rgba(94,232,199,.12);
  background: rgba(34,83,70,.10);
  color: #79b9a7;
  font-family: monospace;
  font-size: 10px;
}

@media (max-width: 900px) {
  .map-page {
    height: auto;
    overflow: auto;
  }

  .map-shell {
    height: auto;
    min-height: calc(100vh - 70px);
    grid-template-columns: 1fr;
  }

  .map-sidebar {
    max-height: 360px;
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.07);
  }

  .map-canvas-wrap {
    min-height: 70vh;
  }
}

@media (max-width: 600px) {
  .map-dialog,
  .map-point-dialog {
    padding: 30px 18px 20px;
  }

  .form-grid.three {
    grid-template-columns: 1fr;
  }

  .map-sidebar {
    padding-inline: 14px;
  }
}


/* =========================================================
   V0.22 — desktop page repair + UI polish
   ========================================================= */

.desktop-nav a[aria-current="page"] {
  color: var(--paper);
}

.desktop-nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* SUPPORT */
.content-page-main {
  position: relative;
}

.support-layout {
  margin-top: 10px;
}

.support-side-card,
.support-form-card {
  box-shadow: 0 24px 70px rgba(0,0,0,.12);
}

.support-form-card {
  min-height: 520px;
}

.support-form-card select.text-input {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #8f8370 50%),
    linear-gradient(135deg, #8f8370 50%, transparent 50%);
  background-position:
    calc(100% - 17px) 21px,
    calc(100% - 12px) 21px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.support-form-card .text-input::placeholder {
  color: #5f584e;
}

/* SHOWCASE */
.showcase-hero {
  margin-bottom: 44px;
}

.showcase-hero .page-actions {
  margin-top: 30px;
}

.connection-section {
  align-items: stretch;
}

.connection-card {
  min-height: 210px;
  align-content: start;
}

.connection-card .secondary-button {
  align-self: end;
  width: max-content;
}

.showcase-steps .section-heading {
  margin-bottom: 28px;
}

.step-card {
  min-height: 210px;
}

/* MAP */
.map-page .site-header {
  z-index: 900;
}

.map-sidebar {
  scrollbar-width: thin;
  scrollbar-color: rgba(94,232,199,.18) transparent;
}

.map-sidebar-head .section-kicker {
  margin-top: 3px;
}

.map-search {
  background: rgba(255,255,255,.035);
}

.rdr-map .leaflet-control-zoom a {
  background: rgba(15,13,11,.90);
  color: var(--beige);
  border-color: rgba(255,255,255,.08);
}

.rdr-map .leaflet-control-zoom a:hover {
  background: rgba(34,83,70,.92);
  color: white;
}

.map-dialog[aria-hidden="true"],
.gift-modal[aria-hidden="true"] {
  pointer-events: none;
}

.map-dialog.open,
.gift-modal.open {
  pointer-events: auto;
}

.map-admin-trigger {
  font-size: 15px;
}

/* Keep inner pages comfortably centered on very wide screens. */
@media (min-width: 1500px) {
  .support-layout,
  .page-hero,
  .connection-section,
  .showcase-steps,
  .product-detail {
    max-width: 1180px;
  }
}

/* Rebuild the mobile rules that were lost when the modal CSS replaced
   the tail of the original stylesheet. */
@media (max-width: 760px) {
  .hero h1 {
    font-size: clamp(52px, 17vw, 82px);
  }

  .hero-copy {
    font-size: 15px;
  }

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

  .hero-actions > * {
    width: 100%;
  }

  .hero-note {
    font-size: 9px;
  }

  .section {
    padding: 74px 0;
  }

  .section-heading {
    grid-template-columns: 1fr;
    align-items: start;
  }

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

  .manifesto {
    padding-bottom: 75px;
  }

  .manifesto-card {
    padding: 34px 22px;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
  }
}


/* =========================================================
   V0.23 — smoother map + support media attachments
   ========================================================= */

:root {
  /* Sampled from the empty parchment area of the RDR2 tile set. */
  --rdr-map-parchment: #dec29b;
}

/* When fully zoomed out, the area outside the actual tile bounds now
   visually melts into the map instead of showing a grey rectangle. */
.map-canvas-wrap,
.rdr-map,
.rdr-map.leaflet-container {
  background: var(--rdr-map-parchment) !important;
}

.rdr-map .leaflet-map-pane,
.rdr-map .leaflet-tile-pane {
  backface-visibility: hidden;
  transform: translateZ(0);
}

.rdr-map .leaflet-tile {
  backface-visibility: hidden;
  transform: translateZ(0);
}

/* Leaflet normally fades new tiles in. With many RDR2 tiles that makes
   their grid boundaries much more obvious while zooming. */
.rdr-map.leaflet-fade-anim .leaflet-tile,
.rdr-map .leaflet-tile {
  transition: none !important;
}

/* Support attachment */
.support-file-input {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.support-upload {
  min-height: 78px;
  padding: 14px 16px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  cursor: pointer;
  border-radius: 14px;
  border: 1px dashed rgba(228,212,173,.16);
  background: rgba(255,255,255,.018);
  transition:
    border-color .2s ease,
    background .2s ease,
    transform .2s ease;
}

.support-upload:hover {
  border-color: rgba(94,232,199,.30);
  background: rgba(34,83,70,.08);
}

.support-upload-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(34,83,70,.24);
  color: #67ccb1;
  font-size: 22px;
}

.support-upload-copy {
  min-width: 0;
}

.support-upload-copy strong,
.support-upload-copy small {
  display: block;
}

.support-upload-copy strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--paper);
  font-size: 12px;
}

.support-upload-copy small {
  margin-top: 4px;
  color: #746b5d;
  font-size: 10px;
}

.support-upload-action {
  padding: 9px 11px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.07);
  color: #a99e8b;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.support-upload.has-file {
  border-style: solid;
  border-color: rgba(94,232,199,.24);
  background: rgba(34,83,70,.07);
}

.support-upload.has-file .support-upload-icon {
  background: rgba(34,83,70,.42);
}

.support-upload.has-file .support-upload-icon::before {
  content: "✓";
}

.support-upload.has-file .support-upload-icon {
  font-size: 0;
}

.support-upload.has-file .support-upload-icon::before {
  font-size: 16px;
}

.support-upload.has-error {
  border-style: solid;
  border-color: rgba(215,110,90,.30);
  background: rgba(121,45,35,.07);
}

.support-upload.has-error .support-upload-icon {
  color: #d78d7e;
  background: rgba(121,45,35,.20);
}

@media (max-width: 650px) {
  .support-upload {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .support-upload-action {
    grid-column: 1 / -1;
    text-align: center;
  }
}


/* =========================================================
   V0.24 — Map placement UX
   ========================================================= */

.map-placement-hint {
  position: absolute;
  z-index: 650;
  left: 50%;
  top: 18px;
  transform: translateX(-50%);
  min-height: 44px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 9px;
  border-radius: 999px;
  border: 1px solid rgba(94,232,199,.28);
  background: rgba(18,47,40,.93);
  color: #e9f7f1;
  box-shadow: 0 12px 34px rgba(0,0,0,.24);
  backdrop-filter: blur(12px);
  font-size: 10px;
  letter-spacing: .03em;
  pointer-events: none;
}

.map-placement-hint strong {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.map-placement-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #6ce0bf;
  box-shadow: 0 0 0 5px rgba(108,224,191,.10);
  animation: map-placement-pulse 1.4s ease-in-out infinite;
}

@keyframes map-placement-pulse {
  0%, 100% { transform: scale(1); opacity: .85; }
  50% { transform: scale(1.25); opacity: 1; }
}

.rdr-map.map-placement-mode,
.rdr-map.map-placement-mode .leaflet-grab,
.rdr-map.map-placement-mode .leaflet-interactive {
  cursor: crosshair !important;
}

.rdr-map.map-placement-mode::after {
  content: "";
  position: absolute;
  z-index: 449;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 2px rgba(94,232,199,.18);
}

.map-toolbar-button.active {
  background: rgba(42,105,88,.96);
  border-color: rgba(94,232,199,.34);
  color: #f0fff9;
}

@media (max-width: 700px) {
  .map-placement-hint {
    top: 68px;
    width: calc(100% - 30px);
    justify-content: center;
    border-radius: 14px;
    text-align: center;
  }

  .map-placement-hint span:last-child {
    display: none;
  }
}


/* V0.25 — support SMTP diagnostics */
.smtp-help {
  margin: -10px 0 22px;
  color: #625b51;
  font-size: 10px;
  line-height: 1.55;
}

.smtp-help code {
  color: #9a8f7e;
}


/* V0.26 — anonymous basket / auth only at checkout */
.checkout-auth-note {
  margin: 2px 4px 0;
  color: #6f6659;
  font-size: 9px;
  line-height: 1.45;
  text-align: center;
}


/* =========================================================
   V0.28 — split BUY/GIFT + Murphy-inspired package page
   ========================================================= */

.product-card {
  overflow: visible;
}

.product-actions-compact {
  position: relative;
}

.buy-split {
  position: relative;
  display: inline-flex;
  align-items: stretch;
  isolation: isolate;
}

.buy-split-main {
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}

.buy-split-toggle {
  min-width: 38px !important;
  width: 38px;
  padding: 0 !important;
  display: inline-grid !important;
  place-items: center;
  border-left: 1px solid rgba(255,255,255,.16) !important;
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
}

.buy-split-toggle span {
  display: block;
  transform: translateY(-1px);
  font-size: 17px;
  line-height: 1;
  transition: transform .18s ease;
}

.buy-split-toggle[aria-expanded="true"] span {
  transform: rotate(180deg) translateY(1px);
}

.buy-split-menu {
  position: absolute;
  z-index: 80;
  right: 0;
  top: calc(100% + 8px);
  width: 230px;
  padding: 7px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 13px;
  background: #17120f;
  box-shadow: 0 18px 50px rgba(0,0,0,.42);
}

.buy-split-menu[hidden] {
  display: none !important;
}

.buy-split-menu > button {
  width: 100%;
  padding: 11px 12px;
  display: flex;
  align-items: center;
  gap: 11px;
  cursor: pointer;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--paper);
  text-align: left;
  font: inherit;
  transition: background .16s ease;
}

.buy-split-menu > button:hover {
  background: rgba(34,83,70,.28);
}

.buy-menu-icon {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(34,83,70,.3);
  color: #72d4ba;
  font-size: 16px;
}

.buy-split-menu strong,
.buy-split-menu small {
  display: block;
}

.buy-split-menu strong {
  color: var(--paper);
  font-size: 11px;
  letter-spacing: .02em;
}

.buy-split-menu small {
  margin-top: 3px;
  color: #8e8372;
  font-size: 9px;
  line-height: 1.35;
}

.card-buy-split .add-button.buy-split-main {
  min-width: 83px;
  justify-content: center;
}

/* Direct product page */
.product-detail-grid {
  grid-template-columns: minmax(0, 1.25fr) minmax(390px, .75fr);
  align-items: stretch;
}

.product-detail-copy {
  padding: 38px 42px 38px;
}

.product-back {
  margin-bottom: 26px;
}

.product-detail-copy h1 {
  margin: 7px 0 20px;
  max-width: 100%;
  overflow-wrap: anywhere;
  font-size: clamp(34px, 3.4vw, 50px);
  line-height: 1.02;
  letter-spacing: -.045em;
}

.product-detail-purchase {
  margin-top: 4px;
  padding: 0;
  border-top: 0;
}

.product-detail-price {
  margin-bottom: 17px;
  color: var(--paper);
  font-family: var(--display);
  font-size: 34px;
  line-height: 1;
}

.product-main-actions {
  display: flex;
  align-items: stretch;
  flex-wrap: nowrap;
  gap: 9px;
}

.product-page-buy-split {
  flex: 1 1 240px;
  min-width: 0;
}

.product-page-buy-split .product-buy {
  flex: 1;
  min-width: 0;
  justify-content: center;
}

.product-page-buy-split .buy-split-toggle {
  height: auto;
}

.product-page-buy-menu {
  left: 0;
  right: auto;
  width: min(285px, 80vw);
}

.product-visit {
  flex: 0 0 auto;
  min-width: 150px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.secure-note {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #746b5f;
  font-size: 10px;
  letter-spacing: .025em;
}

.product-description-panel {
  margin-top: 30px;
  padding: 20px 20px 22px;
  border: 1px solid rgba(255,255,255,.075);
  border-radius: 13px;
  background: rgba(255,255,255,.012);
}

.product-description-heading {
  margin-bottom: 13px;
  color: var(--paper);
  font-size: 12px;
  font-weight: 800;
}

.product-detail-description {
  color: #a89c88;
  font-size: 13px;
  line-height: 1.7;
}

.product-detail-description > :first-child {
  margin-top: 0;
}

.product-detail-description > :last-child {
  margin-bottom: 0;
}

.product-detail-description p,
.product-detail-description ul,
.product-detail-description ol {
  margin: 10px 0;
}

.product-detail-description ul,
.product-detail-description ol {
  padding-left: 20px;
}

.product-detail-description hr {
  margin: 18px 0;
  border: 0;
  border-top: 1px solid rgba(255,255,255,.08);
}

/* Make all links coming from Tebex descriptions obvious and intentional. */
.product-detail-description a {
  color: #70d3b8;
  font-weight: 750;
  text-decoration: underline;
  text-decoration-color: rgba(112,211,184,.55);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color .16s ease, text-decoration-color .16s ease;
}

.product-detail-description a:hover {
  color: #a0ead6;
  text-decoration-color: currentColor;
}

/* Checkout: feedback while Tebex/Cfx prepares the redirect. */
#checkoutButton.checkout-loading {
  cursor: wait;
  opacity: .82;
}

#checkoutButton.checkout-loading::after {
  content: "";
  width: 12px;
  height: 12px;
  margin-left: 9px;
  flex: 0 0 auto;
  border: 2px solid rgba(255,255,255,.28);
  border-top-color: rgba(255,255,255,.92);
  border-radius: 50%;
  animation: emistery-checkout-spin .7s linear infinite;
}

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

@media (max-width: 720px) {
  .product-main-actions {
    flex-wrap: wrap;
  }

  .product-page-buy-split,
  .product-visit {
    width: 100%;
    flex-basis: 100%;
  }

  .product-visit {
    min-height: 48px;
  }

  .product-detail-copy {
    padding: 28px 20px;
  }
}


/* =========================================================
   V0.29 — global basket + refined product detail
   ========================================================= */

/* Product page: remove the heavy "one giant card" feeling. */
.product-page-main {
  padding-top: 54px;
}

.product-detail-grid {
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, .62fr);
  align-items: start;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  gap: clamp(34px, 4vw, 62px);
}

.product-detail-media {
  padding: 0;
  border-right: 0;
  background: transparent;
}

.product-page-stage {
  min-height: 0;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.065);
  background: #0a0908;
  box-shadow: 0 24px 70px rgba(0,0,0,.16);
}

.product-page-thumbnails {
  margin-top: 10px;
  gap: 8px;
}

.product-page-thumbnails .modal-thumb {
  border-radius: 10px;
}

.product-detail-copy {
  position: sticky;
  top: 112px;
  padding: 18px 0 0;
  display: block;
  min-width: 0;
}

.product-back {
  margin-bottom: 28px;
  color: #786f63;
  font-size: 9px;
  letter-spacing: .09em;
}

.product-meta {
  margin-bottom: 8px;
  font-size: 9px;
  letter-spacing: .13em;
}

.product-detail-copy h1 {
  margin: 0 0 18px;
  max-width: 420px;
  font-size: clamp(28px, 2.45vw, 38px);
  line-height: 1.02;
  letter-spacing: -.035em;
}

.product-detail-price {
  margin-bottom: 16px;
  font-size: clamp(25px, 2vw, 31px);
  letter-spacing: -.025em;
}

.product-main-actions {
  gap: 8px;
  align-items: stretch;
}

.product-page-buy-split {
  flex: 0 1 188px;
}

.product-page-buy-split .product-buy,
.product-page-buy-split .buy-split-toggle,
.product-visit {
  min-height: 44px !important;
  height: 44px;
}

.product-page-buy-split .product-buy {
  font-size: 10px;
  letter-spacing: .09em;
}

.product-page-buy-split .buy-split-toggle {
  width: 37px;
  min-width: 37px !important;
}

.product-visit {
  min-width: 142px !important;
  padding-inline: 18px !important;
  font-size: 10px;
  letter-spacing: .075em;
}

.secure-note {
  margin-top: 12px;
  font-size: 9px;
}

/* Description now lives beneath the images. */
.product-description-under-media {
  margin-top: clamp(30px, 4vw, 52px);
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.075);
}

.product-description-topline {
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.product-description-kicker {
  flex: 0 0 auto;
  color: #d9cda9;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .105em;
  text-transform: uppercase;
}

.product-description-rule {
  height: 1px;
  flex: 1;
  background: linear-gradient(
    90deg,
    rgba(255,255,255,.09),
    rgba(255,255,255,0)
  );
}

.product-detail-description {
  max-width: 780px;
  color: #aa9f90;
  font-size: 14px;
  line-height: 1.78;
}

.product-detail-description p,
.product-detail-description ul,
.product-detail-description ol {
  margin: 12px 0;
}

.product-detail-description strong,
.product-detail-description b {
  color: #ded2b4;
  font-weight: 750;
}

/* Tebex description links should look deliberately interactive. */
.product-detail-description a {
  display: inline;
  padding: 1px 2px;
  border-radius: 4px;
  color: #79dcc1;
  background: linear-gradient(
    180deg,
    transparent 58%,
    rgba(48,145,119,.17) 58%
  );
  font-weight: 750;
  text-decoration: underline;
  text-decoration-color: rgba(121,220,193,.58);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition:
    color .16s ease,
    background .16s ease,
    text-decoration-color .16s ease;
}

.product-detail-description a:hover {
  color: #b0efde;
  background: rgba(48,145,119,.15);
  text-decoration-color: currentColor;
}

/* Old panel is intentionally retired. */
.product-description-panel {
  display: none !important;
}

/* Shared basket drawer for every inner page. */
.shared-cart-drawer {
  z-index: 1002;
}

.shared-cart-backdrop {
  z-index: 1001;
}

.shared-cart-loading {
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #817667;
  font-size: 11px;
}

.shared-cart-spinner {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255,255,255,.14);
  border-top-color: #58b89e;
  border-radius: 50%;
  animation: emistery-checkout-spin .7s linear infinite;
}

.cart-gift-target {
  display: block;
  margin-top: 3px;
  color: #6fbfa9;
  font-size: 9px;
}

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

  .product-detail-copy {
    position: static;
    order: -1;
    padding-top: 0;
  }

  .product-detail-copy h1 {
    max-width: 620px;
  }

  .product-description-under-media {
    margin-top: 28px;
  }
}

@media (max-width: 640px) {
  .product-page-main {
    padding-top: 32px;
  }

  .product-detail-copy h1 {
    font-size: 29px;
  }

  .product-main-actions {
    flex-wrap: wrap;
  }

  .product-page-buy-split,
  .product-visit {
    width: 100%;
    flex-basis: 100%;
  }
}


/* =========================================================
   V0.31 — purchase dropdown polish + YouTube visibility fix
   ========================================================= */

/* The arrow is now geometric instead of a text glyph.
   That removes font-baseline issues and keeps it perfectly centered. */
.buy-split-toggle {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
}

.buy-split-toggle .buy-chevron {
  box-sizing: border-box;
  width: 7px;
  height: 7px;
  display: block;
  margin: -3px 0 0;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transform-origin: 50% 50%;
  transition: transform .16s ease, margin .16s ease;
}

.buy-split-toggle[aria-expanded="true"] .buy-chevron {
  margin: 3px 0 0;
  transform: rotate(225deg);
}

/* Override the older text-arrow rules. */
.buy-split-toggle .buy-chevron,
.buy-split-toggle[aria-expanded="true"] .buy-chevron {
  font-size: 0;
  line-height: 0;
}

/* Make the active product card sit over cards below it.
   Otherwise the dropdown can visually disappear behind the next grid row. */
.product-card:has(.buy-split-toggle[aria-expanded="true"]) {
  position: relative;
  z-index: 120;
}

/* Gift dropdown — intentionally much less transparent and easier to read. */
.buy-split-menu {
  z-index: 250;
  width: 245px;
  padding: 7px;
  border: 1px solid rgba(115, 194, 170, .22);
  border-radius: 12px;
  background: #211c18;
  box-shadow:
    0 22px 55px rgba(0,0,0,.62),
    0 0 0 1px rgba(0,0,0,.18);
  backdrop-filter: none;
}

.buy-split-menu::before {
  content: "";
  position: absolute;
  top: -5px;
  right: 14px;
  width: 9px;
  height: 9px;
  border-left: 1px solid rgba(115, 194, 170, .18);
  border-top: 1px solid rgba(115, 194, 170, .18);
  background: #211c18;
  transform: rotate(45deg);
}

.product-page-buy-menu::before {
  left: 146px;
  right: auto;
}

.buy-split-menu > button {
  position: relative;
  z-index: 1;
  min-height: 54px;
  padding: 10px 11px;
  border: 1px solid rgba(255,255,255,.045);
  border-radius: 8px;
  background: #181411;
  color: #f0e5ca;
}

.buy-split-menu > button:hover {
  border-color: rgba(99, 194, 167, .22);
  background: #24342e;
}

.buy-menu-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #225346;
  color: #d9eadf;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
}

.buy-menu-icon svg {
  width: 17px;
  height: 17px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.buy-split-menu strong {
  color: #f0e5ca;
  font-size: 12px;
  line-height: 1.15;
}

.buy-split-menu small {
  margin-top: 4px;
  color: #b1a593;
  font-size: 10px;
  line-height: 1.3;
}

/* Product YouTube frame must be allowed to render when JS removes [hidden]. */
.product-page-youtube:not([hidden]) {
  display: block !important;
  visibility: visible;
  opacity: 1;
}

/* When switching away, keep it completely gone and stop it through JS. */
.product-page-youtube[hidden] {
  display: none !important;
}

/* Thumbnail video remains visually obvious as the second item. */
.modal-thumb-video {
  position: relative;
  background: #17372f;
}

.modal-thumb-video .video-thumb-overlay {
  background: rgba(8, 17, 14, .24);
}

.modal-thumb-video .video-thumb-play {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(17, 19, 16, .9);
  color: #eadcb9;
  box-shadow: 0 5px 18px rgba(0,0,0,.34);
  font-size: 11px;
  padding-left: 2px;
}


/* =========================================================
   V0.32 — support cleanup, Gift polish, smoother RDR map
   ========================================================= */

/* SUPPORT -------------------------------------------------- */

/* Successful SMTP verification is intentionally silent now.
   This box only appears when there is actually something to report. */
.support-status[hidden] {
  display: none !important;
}

.support-upload-copy strong em {
  color: #8c8172;
  font-style: normal;
  font-weight: 500;
}

.support-upload-copy small {
  max-width: 520px;
}

/* GIFT ----------------------------------------------------- */

/* One single clean surface: remove the previous "box inside a box". */
.buy-split-menu {
  padding: 6px;
  background: #28211c;
  border-color: rgba(112, 176, 157, .18);
  box-shadow:
    0 18px 42px rgba(0,0,0,.48),
    0 0 0 1px rgba(255,255,255,.018);
}

.buy-split-menu::before {
  background: #28211c;
}

.buy-split-menu > button {
  min-height: 52px;
  padding: 9px 10px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.buy-split-menu > button:hover {
  border: 0;
  background: rgba(34,83,70,.34);
}

.buy-menu-icon {
  background: #2a6a58;
  box-shadow: none;
}

.buy-split-menu strong {
  font-size: 12px;
}

.buy-split-menu small {
  color: #c1b6a4;
}

/* MAP ------------------------------------------------------ */

.rdr-map .rdr-map-base-tile {
  opacity: 1 !important;
  filter: saturate(.94) contrast(.98);
  image-rendering: auto;
}

.rdr-map .rdr-map-detail-tile {
  opacity: 0;
  will-change: opacity;
  transition: opacity 180ms ease-out !important;
}

.rdr-map .rdr-map-detail-tile.is-loaded {
  opacity: 1;
}

/* Slight overlap hides 1px seams caused by browser sub-pixel scaling
   at fractional Leaflet zoom levels. */
.rdr-map img.leaflet-tile {
  width: 257px !important;
  height: 257px !important;
}

/* Keep transforms composited to avoid flashes while panning/zooming. */
.rdr-map .leaflet-tile-pane,
.rdr-map .leaflet-zoom-animated {
  backface-visibility: hidden;
  transform-style: preserve-3d;
}


/* =========================================================
   V0.33 — Rockstar map tiles + direct RedM coordinates
   ========================================================= */

/* Cancel the experimental V0.32 tile scaling/fading completely. */
.rdr-map img.leaflet-tile,
.rdr-map .rdr-rockstar-tile {
  width: 256px !important;
  height: 256px !important;
  opacity: 1 !important;
  filter: none !important;
  transition: none !important;
  image-rendering: auto;
}

/* Native Rockstar tiles: no second layer, no homemade crossfade. */
.rdr-map .leaflet-tile-pane {
  backface-visibility: hidden;
}

.map-coordinate-tools {
  margin-top: 11px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: stretch;
}

.map-pick-button {
  min-width: 118px !important;
  min-height: 43px;
}

.map-picked-position {
  min-height: 43px;
  margin: 0 !important;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  border: 1px solid rgba(255,255,255,.075);
  border-radius: 9px;
  background: rgba(255,255,255,.018);
  color: #8f8474;
  font-size: 10px;
  line-height: 1.35;
}

.map-picked-position[data-tone="ok"] {
  border-color: rgba(72, 161, 137, .22);
  color: #84cbb8;
}

.map-picked-position[data-tone="error"] {
  border-color: rgba(180, 79, 66, .28);
  color: #d58d80;
}

.emistery-coordinate-preview-wrap {
  background: transparent !important;
  border: 0 !important;
}

.emistery-coordinate-preview {
  width: 22px;
  height: 22px;
  position: relative;
  border: 2px solid #e9ddbc;
  border-radius: 50%;
  background: rgba(34,83,70,.72);
  box-shadow:
    0 0 0 4px rgba(34,83,70,.22),
    0 5px 16px rgba(0,0,0,.35);
}

.emistery-coordinate-preview::before,
.emistery-coordinate-preview::after {
  content: "";
  position: absolute;
  background: #e9ddbc;
  opacity: .9;
}

.emistery-coordinate-preview::before {
  left: 50%;
  top: -7px;
  bottom: -7px;
  width: 1px;
  transform: translateX(-50%);
}

.emistery-coordinate-preview::after {
  top: 50%;
  left: -7px;
  right: -7px;
  height: 1px;
  transform: translateY(-50%);
}

@media (max-width: 620px) {
  .map-coordinate-tools {
    grid-template-columns: 1fr;
  }

  .map-pick-button {
    width: 100%;
  }
}


/* =========================================================
   V0.34 — map parchment match + Emistery watermark
   ========================================================= */

:root {
  /* Sampled from the blank edge of the native Rockstar RDR2 tiles. */
  --rdr-map-parchment: #d3b790;
}

/* Match the empty Leaflet viewport to the actual tile parchment. */
.map-canvas-wrap,
.rdr-map,
.rdr-map.leaflet-container {
  background-color: var(--rdr-map-parchment) !important;
}

/* Emistery watermark in the unused western/left portion of the map.
   It lives below the tile pane, so native map tiles naturally cover it
   whenever the user pans/zooms over that area. */
.rdr-map::before {
  content: "";
  position: absolute;
  z-index: 100;
  left: 17%;
  top: 25%;
  width: clamp(180px, 17vw, 300px);
  aspect-ratio: 1;
  pointer-events: none;
  background: url("/assets/Logo.png") center / contain no-repeat;
  opacity: .075;
  filter: sepia(.22) saturate(.7) contrast(.9);
  transform: translate(-50%, -50%);
}

/* Leaflet tiles sit above the watermark; markers/controls keep their
   normal higher pane z-indexes. */
.rdr-map .leaflet-tile-pane {
  z-index: 200;
}

@media (max-width: 1000px) {
  .rdr-map::before {
    left: 20%;
    top: 23%;
    width: clamp(140px, 22vw, 220px);
    opacity: .065;
  }
}


/* =========================================================
   V0.35 — world watermark + readable admin select + simple pin
   ========================================================= */

/* Retire the old viewport-fixed watermark from V0.34. */
.rdr-map::before {
  display: none !important;
}

/* World-anchored watermark rendered as a real Leaflet marker. */
.emistery-map-watermark-wrap {
  background: transparent !important;
  border: 0 !important;
  pointer-events: none !important;
}

.emistery-map-watermark {
  width: 118px;
  height: 118px;
  display: grid;
  place-items: center;
  opacity: .085;
  pointer-events: none;
  transform: translateZ(0);
}

.emistery-map-watermark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  filter:
    grayscale(.18)
    sepia(.28)
    saturate(.64)
    contrast(.88);
}

/* Admin Tebex product select: make the native dropdown readable. */
#mapProductSelect {
  color-scheme: dark;
  background-color: #17130f !important;
  color: #efe3c5 !important;
  border-color: rgba(255,255,255,.11) !important;
}

#mapProductSelect:focus {
  border-color: rgba(76, 171, 145, .48) !important;
  box-shadow: 0 0 0 3px rgba(34,83,70,.16);
}

#mapProductSelect option {
  background: #17130f !important;
  color: #efe3c5 !important;
}

#mapProductSelect option:checked {
  background: #225346 !important;
  color: #fff8e9 !important;
}

/* Simple Emistery-green map pin — no logo/photo inside. */
.emistery-map-marker {
  position: relative;
  width: 26px;
  height: 26px;
  padding: 0;
  border-radius: 50% 50% 50% 7px;
  transform: rotate(-45deg);
  background: #225346;
  border: 2px solid #e8d9b4;
  box-shadow:
    0 6px 16px rgba(0,0,0,.33),
    0 0 0 3px rgba(34,83,70,.16);
}

.emistery-map-marker img {
  display: none !important;
}

.emistery-map-marker-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e8d9b4;
  transform: translate(-50%, -50%) rotate(45deg);
  box-shadow: 0 0 0 2px rgba(255,255,255,.04);
}


/* =========================================================
   V0.36 — watermark removed + cart de-duplication
   ========================================================= */

/* No Emistery watermark on the interactive map. */
.rdr-map::before,
.emistery-map-watermark-wrap,
.emistery-map-watermark,
.emistery-map-watermark img {
  display: none !important;
}


/* =========================================================
   V0.38 — clean YouTube gallery player
   ========================================================= */

.product-page-youtube,
.modal-youtube {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border: 0 !important;
  border-radius: inherit;
  background: #070707;
}

.product-page-youtube iframe,
.modal-youtube iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0 !important;
  outline: 0 !important;
  background: #070707;
}

/* The iframe itself never receives a visible focus ring. */
.product-page-youtube iframe:focus,
.modal-youtube iframe:focus {
  outline: none !important;
}

/* Subtle play/pause feedback, instead of YouTube's persistent control bar. */
.product-page-youtube::after {
  content: "❚❚";
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 4;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  pointer-events: none;
  background: rgba(10, 12, 10, .52);
  color: rgba(242, 232, 203, .92);
  font-size: 13px;
  letter-spacing: -2px;
  opacity: 0;
  transform: translate(-50%, -50%) scale(.94);
  transition: opacity .18s ease, transform .18s ease;
}

.product-page-youtube:hover::after {
  opacity: .55;
  transform: translate(-50%, -50%) scale(1);
}

.product-page-youtube.is-paused::after {
  content: "▶";
  padding-left: 3px;
  letter-spacing: 0;
  opacity: .8;
}

/* Avoid browser selection/drag artifacts over the video surface. */
.product-page-youtube,
.product-page-youtube iframe {
  user-select: none;
  -webkit-user-select: none;
}

/* Keep the player perfectly 16:9 and visually flush with the gallery. */
.product-page-stage[data-media-type="youtube"] {
  aspect-ratio: 16 / 9;
}


/* =========================================================
   V0.39 — native YouTube controls restored
   ========================================================= */

/* Retire the custom V0.38 play/pause overlay completely.
   YouTube's own timeline / timer / volume / fullscreen UI is used again. */
.product-page-youtube::after,
.product-page-youtube.is-paused::after {
  content: none !important;
  display: none !important;
}

/* Do not place any custom pointer layer over the embedded player. */
.product-page-youtube,
.modal-youtube {
  cursor: default;
}

.product-page-youtube iframe,
.modal-youtube iframe {
  pointer-events: auto;
}


/* =========================================================
   V0.41 — centered Showcase hero
   ========================================================= */

.showcase-hero {
  text-align: center;
}

.showcase-hero .section-kicker,
.showcase-hero h1,
.showcase-hero p {
  margin-left: auto;
  margin-right: auto;
}

.showcase-hero h1 {
  max-width: 980px;
  text-align: center;
}

.showcase-hero p {
  max-width: 760px;
  text-align: center;
}

/* Top CTA buttons intentionally removed — the two practical cards below
   are the only connection actions on the page now. */
.showcase-hero-actions {
  display: none !important;
}


/* =========================================================
   V0.47 — cleaner product description separators
   ========================================================= */

/* Keep only the small line beside "Creation details".
   The extra full-width line above the section was visually redundant. */
.product-description-under-media {
  border-top: 0 !important;
  padding-top: 0 !important;
}

/* Tebex descriptions sometimes contain their own <hr>.
   Keep the spacing, but remove the extra visible horizontal rules. */
.product-detail-description hr {
  height: 0 !important;
  margin: 20px 0 !important;
  border: 0 !important;
  background: transparent !important;
}


/* =========================================================
   V0.48 — product help + recommendations
   ========================================================= */

.product-help-card {
  margin-top: 24px;
  padding: 15px 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 12px;
  background: rgba(255,255,255,.016);
}

.product-help-icon {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(34,83,70,.48);
  color: #73d0b6;
  font-size: 14px;
  font-weight: 800;
}

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

.product-help-copy strong {
  display: block;
  margin-bottom: 4px;
  color: #efe3c5;
  font-size: 11px;
  line-height: 1.3;
}

.product-help-copy p {
  margin: 0;
  color: #918676;
  font-size: 10px;
  line-height: 1.5;
}

.product-help-copy a {
  color: #67ccb1;
  font-weight: 750;
  text-decoration: none;
}

.product-help-copy a:hover {
  color: #a5ead8;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.product-recommendations {
  margin-top: 22px;
}

.product-recommendations[hidden] {
  display: none !important;
}

.product-recommendations-head {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #d9cdaa;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .085em;
  text-transform: uppercase;
}

.product-recommendations-head::after {
  content: "";
  height: 1px;
  flex: 1;
  background: linear-gradient(
    90deg,
    rgba(255,255,255,.08),
    rgba(255,255,255,0)
  );
}

.product-recommendations-list {
  display: grid;
  gap: 7px;
}

.product-recommendation-card {
  min-height: 66px;
  padding: 7px 9px 7px 7px;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 10px;
  background: #15110e;
  color: inherit;
  text-decoration: none;
  transition:
    transform .16s ease,
    border-color .16s ease,
    background .16s ease;
}

.product-recommendation-card:hover {
  transform: translateY(-1px);
  border-color: rgba(77,171,145,.24);
  background: #1a1511;
}

.product-recommendation-thumb {
  width: 54px;
  height: 50px;
  overflow: hidden;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background-color: #0b0a08;
  background-size: cover;
  background-position: center;
  color: #766d60;
  font-size: 9px;
  font-weight: 800;
}

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

.product-recommendation-copy strong {
  display: -webkit-box;
  overflow: hidden;
  color: #efe3c5;
  font-size: 10.5px;
  line-height: 1.3;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.product-recommendation-copy span {
  display: block;
  margin-top: 4px;
  color: #958a79;
  font-size: 9.5px;
}

.product-recommendation-arrow {
  color: #5fc3a8;
  font-size: 14px;
  transition: transform .16s ease;
}

.product-recommendation-card:hover .product-recommendation-arrow {
  transform: translateX(2px);
}


/* =========================================================
   V0.50 — clearer product help block
   ========================================================= */

.product-help-copy strong {
  font-size: 13px !important;
  line-height: 1.3;
}

.product-help-copy p {
  font-size: 12px !important;
  line-height: 1.6 !important;
  color: #b3a793 !important;
}

.product-help-copy a {
  font-size: inherit;
}


/* =========================================================
   V0.51 — full mobile / touch pass
   ========================================================= */

/* Touch devices should not keep desktop hover movement "stuck". */
@media (hover: none), (pointer: coarse) {
  .product-card:hover,
  .primary-button:hover,
  .secondary-button:hover,
  .cart-button:hover,
  .product-recommendation-card:hover {
    transform: none;
  }
}

@media (max-width: 760px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  body {
    -webkit-text-size-adjust: 100%;
  }

  .shell {
    width: calc(100% - 24px);
  }

  /* ---------- Header / navigation ---------- */

  .site-header {
    backdrop-filter: blur(14px);
  }

  .header-inner {
    height: 64px;
    gap: 8px;
  }

  .brand {
    gap: 9px;
    min-width: 0;
  }

  .brand-logo {
    width: 40px;
    height: 40px;
  }

  .brand-copy strong {
    font-size: 17px;
    letter-spacing: .045em;
  }

  .brand-copy span {
    margin-top: 4px;
    font-size: 8px;
    letter-spacing: .24em;
  }

  .header-actions {
    gap: 6px;
  }

  .cart-button,
  .menu-button {
    width: 42px;
    min-width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  .cart-count {
    right: -3px;
    top: -4px;
  }

  .mobile-nav {
    top: 64px;
    max-height: 0;
    overflow-y: auto;
    box-shadow: 0 18px 45px rgba(0,0,0,.42);
  }

  .mobile-nav.open {
    max-height: calc(100dvh - 64px);
  }

  .mobile-nav a {
    min-height: 51px;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    font-size: 11px;
  }

  /* ---------- Homepage ---------- */

  .hero {
    min-height: auto;
  }

  .hero-inner {
    width: calc(100% - 24px);
    padding-block: 64px 70px;
  }

  .eyebrow {
    gap: 8px;
    font-size: 9px;
    letter-spacing: .16em;
  }

  .eyebrow::before {
    width: 30px;
  }

  .hero h1 {
    margin-top: 14px;
    font-size: clamp(44px, 13.5vw, 64px);
    line-height: .95;
  }

  .hero-copy {
    max-width: 520px;
    font-size: 14px;
    line-height: 1.65;
  }

  .hero-actions {
    gap: 9px;
    margin-top: 28px;
  }

  .hero-actions .primary-button,
  .hero-actions .secondary-button,
  .hero-actions .game-button {
    min-height: 50px;
    border-radius: 13px;
  }

  .hero-note {
    margin-top: 22px;
  }

  .section {
    padding: 58px 0;
  }

  .section-heading {
    gap: 16px;
    margin-bottom: 26px;
  }

  .section-heading h2 {
    font-size: clamp(36px, 11vw, 48px);
  }

  .section-heading p {
    font-size: 13px;
    line-height: 1.6;
  }

  /* Chips become a horizontal touch scroller instead of wrapping into rows. */
  .filter-row {
    margin: 0 -12px 24px;
    padding: 0 12px 5px;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .filter-row::-webkit-scrollbar {
    display: none;
  }

  .filter-chip {
    flex: 0 0 auto;
    min-height: 42px;
    padding-inline: 14px;
    scroll-snap-align: start;
    font-size: 10px;
  }

  .product-grid {
    gap: 14px;
  }

  .product-card {
    border-radius: 18px;
  }

  .product-content {
    padding: 18px 17px 16px;
  }

  .product-content h3 {
    min-height: 0;
    font-size: 19px;
  }

  .product-content p {
    min-height: 0;
    margin: 10px 0 17px;
    font-size: 12.5px;
    line-height: 1.55;
  }

  .product-bottom {
    padding-top: 14px;
  }

  .product-bottom strong {
    font-size: 17px;
  }

  .add-button {
    min-width: 96px;
    height: 42px;
  }

  .buy-split-menu {
    right: 0;
    width: min(260px, calc(100vw - 34px));
  }

  .manifesto-card {
    padding: 28px 18px;
    border-radius: 20px;
  }

  .manifesto-grid {
    gap: 28px;
  }

  .manifesto h2 {
    font-size: clamp(34px, 10vw, 46px);
  }

  /* ---------- Generic inner pages ---------- */

  .content-page-main {
    min-height: calc(100dvh - 64px);
    padding: 42px 0 76px;
  }

  .page-hero {
    margin-bottom: 34px;
  }

  .page-hero h1 {
    margin-bottom: 14px;
    font-size: clamp(42px, 12.5vw, 58px);
    line-height: .98;
  }

  .page-hero > p {
    font-size: 14px;
    line-height: 1.65;
  }

  /* ---------- Product page ---------- */

  .product-page-main {
    min-height: calc(100dvh - 64px);
    padding: 24px 0 76px;
  }

  .product-detail-grid {
    gap: 20px;
  }

  /* Keep title / purchase first on mobile, then gallery + description. */
  .product-detail-copy {
    position: static;
    order: -1;
    padding: 0;
  }

  .product-back {
    margin-bottom: 18px;
    font-size: 9px;
  }

  .product-detail-copy h1 {
    margin-bottom: 12px;
    max-width: 100%;
    font-size: clamp(29px, 9.5vw, 38px);
    line-height: 1;
  }

  .product-detail-price {
    margin-bottom: 14px;
    font-size: 27px;
  }

  .product-main-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .product-page-buy-split,
  .product-visit {
    width: 100%;
    max-width: none;
    flex-basis: auto;
  }

  .product-page-buy-split .product-buy,
  .product-page-buy-split .buy-split-toggle,
  .product-visit {
    min-height: 48px !important;
    height: 48px;
  }

  .product-visit {
    min-width: 0 !important;
  }

  .secure-note {
    margin-top: 10px;
  }

  .product-detail-media {
    min-width: 0;
  }

  .product-page-stage {
    min-height: 0;
    border-radius: 14px;
    box-shadow: 0 18px 45px rgba(0,0,0,.15);
  }

  .gallery-prev {
    left: 8px;
  }

  .gallery-next {
    right: 8px;
  }

  .gallery-nav {
    width: 42px;
    height: 42px;
  }

  .product-page-thumbnails {
    margin-inline: -2px;
    padding: 2px 2px 7px;
    gap: 7px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .product-page-thumbnails::-webkit-scrollbar {
    display: none;
  }

  .product-page-thumbnails .modal-thumb {
    flex-basis: 78px;
    height: 54px;
    scroll-snap-align: start;
  }

  .product-description-under-media {
    margin-top: 28px;
  }

  .product-description-topline {
    margin-bottom: 16px;
  }

  .product-detail-description {
    font-size: 13px;
    line-height: 1.72;
  }

  .product-help-card {
    margin-top: 18px;
    padding: 14px;
  }

  .product-help-copy strong {
    font-size: 13px !important;
  }

  .product-help-copy p {
    font-size: 12px !important;
  }

  .product-recommendations {
    margin-top: 18px;
  }

  .product-recommendation-card {
    min-height: 72px;
    grid-template-columns: 58px minmax(0, 1fr) 20px;
  }

  .product-recommendation-thumb {
    width: 58px;
    height: 54px;
  }

  .product-recommendation-copy strong {
    font-size: 11px;
  }

  .product-recommendation-copy span {
    font-size: 10px;
  }

  /* ---------- Gift / admin dialogs ---------- */

  .gift-modal {
    left: 12px;
    right: 12px;
    width: auto;
    max-height: calc(100dvh - 24px);
    overflow-y: auto;
    padding: 28px 18px 20px;
    border-radius: 20px;
  }

  .gift-modal h2 {
    font-size: 30px;
  }

  .gift-actions {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .gift-actions > * {
    width: 100%;
  }

  /* ---------- Support ---------- */

  .support-layout {
    gap: 14px;
  }

  .support-side-card {
    padding: 20px;
    border-radius: 18px;
  }

  .support-side-icon {
    width: 42px;
    height: 42px;
    margin-bottom: 16px;
  }

  .support-contact {
    margin: 20px 0;
    padding: 14px 0;
  }

  .support-form-card {
    min-height: 0;
    padding: 20px 14px;
    border-radius: 18px;
  }

  .form-grid {
    gap: 10px;
  }

  .form-grid.two {
    grid-template-columns: 1fr;
  }

  .field-label {
    margin-top: 14px;
    font-size: 10px;
  }

  .text-input {
    min-height: 48px;
    border-radius: 10px;
    font-size: 16px; /* prevents iOS Safari auto-zoom */
  }

  .support-textarea {
    min-height: 160px;
  }

  .support-upload-zone {
    min-height: 88px;
  }

  .support-submit-row {
    margin-top: 18px;
    padding-top: 18px;
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 12px;
  }

  .support-submit-row .primary-button {
    width: 100%;
    min-height: 50px;
  }

  .support-submit-row p {
    text-align: center;
    line-height: 1.5;
  }

  /* ---------- Showcase ---------- */

  .showcase-hero {
    text-align: center;
  }

  .showcase-hero h1 {
    font-size: clamp(42px, 12.5vw, 60px);
  }

  .connection-section {
    gap: 12px;
    margin-bottom: 64px;
  }

  .connection-card {
    padding: 18px;
    gap: 12px;
    border-radius: 18px;
  }

  .connection-card code {
    padding: 14px;
    font-size: 12px;
    line-height: 1.5;
  }

  .connection-card .secondary-button {
    width: 100%;
    min-height: 48px;
  }

  .steps-grid {
    gap: 10px;
  }

  .step-card {
    padding: 20px;
    border-radius: 18px;
  }

  /* ---------- Basket ---------- */

  .cart-drawer,
  .shared-cart-drawer {
    width: 100%;
    max-width: none;
    border-left: 0;
  }

  .cart-head {
    min-height: 68px;
    padding: 0 16px;
  }

  .cart-head h2 {
    font-size: 24px;
  }

  .cart-items {
    padding: 10px 16px 16px;
  }

  .cart-item {
    grid-template-columns: 58px minmax(0, 1fr) 36px;
    gap: 10px;
    padding: 12px 0;
  }

  .cart-thumb {
    width: 58px;
    border-radius: 9px;
  }

  .cart-item-copy strong {
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 12px;
    line-height: 1.35;
  }

  .cart-footer {
    padding: 16px 16px calc(16px + env(safe-area-inset-bottom));
  }

  .checkout-auth-note {
    font-size: 9px;
  }

  /* ---------- Footer ---------- */

  .site-footer {
    padding-bottom: calc(28px + env(safe-area-inset-bottom));
  }

  .footer-grid {
    gap: 28px;
  }

  .footer-brand-lockup {
    gap: 12px;
  }

  .footer-logo {
    width: 68px;
    height: 68px;
  }

  .footer-bottom {
    align-items: flex-start;
    font-size: 9px;
  }
}

/* =========================================================
   Mobile map: full-screen Leaflet + bottom sheet
   ========================================================= */

.map-sheet-toggle {
  display: none;
}

@media (max-width: 760px) {
  .map-page {
    height: 100dvh;
    overflow: hidden;
  }

  .map-page .site-header {
    position: relative;
    z-index: 900;
  }

  .map-shell {
    position: relative;
    height: calc(100dvh - 64px);
    min-height: 0;
    display: block;
    overflow: hidden;
  }

  .map-canvas-wrap {
    position: absolute;
    inset: 0;
    height: 100%;
    min-height: 0;
  }

  .rdr-map {
    touch-action: none;
  }

  .map-sidebar {
    position: absolute;
    z-index: 720;
    left: 10px;
    right: 10px;
    bottom: 10px;
    width: auto;
    height: min(64dvh, 540px);
    max-height: none;
    padding: 0 14px 14px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 20px;
    background:
      radial-gradient(circle at 30% 0%, rgba(34,83,70,.14), transparent 15rem),
      rgba(17,16,14,.97);
    box-shadow: 0 20px 55px rgba(0,0,0,.42);
    backdrop-filter: blur(16px);
    transform: translateY(calc(100% - 66px));
    transition: transform .28s cubic-bezier(.2,.8,.2,1);
  }

  .map-sidebar.mobile-open {
    transform: translateY(0);
  }

  .map-sheet-toggle {
    min-height: 64px;
    margin: 0 -14px;
    padding: 9px 16px 8px;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: 8px 1fr;
    align-items: center;
    gap: 3px 10px;
    cursor: pointer;
    background: transparent;
    color: var(--paper);
    border: 0;
    border-bottom: 1px solid rgba(255,255,255,.06);
  }

  .map-sheet-handle {
    grid-column: 1 / -1;
    justify-self: center;
    width: 42px;
    height: 4px;
    border-radius: 999px;
    background: rgba(228,212,173,.25);
  }

  .map-sheet-label {
    align-self: center;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
  }

  .map-sheet-chevron {
    width: 8px;
    height: 8px;
    border-right: 2px solid #9e927c;
    border-bottom: 2px solid #9e927c;
    transform: rotate(225deg);
    transition: transform .2s ease;
  }

  .map-sidebar.mobile-open .map-sheet-chevron {
    transform: rotate(45deg);
  }

  .map-sidebar-head {
    padding-top: 14px;
    align-items: center;
  }

  .map-sidebar-head .section-kicker {
    display: none;
  }

  .map-sidebar h1 {
    margin: 0;
    font-size: 25px;
  }

  .map-admin-trigger {
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
  }

  .map-sidebar-copy {
    margin: 10px 0 14px;
    font-size: 11px;
  }

  .map-search-wrap {
    margin-bottom: 6px;
  }

  .map-search {
    min-height: 46px;
    font-size: 16px;
  }

  .map-count {
    margin: 10px 0 7px;
  }

  .map-location-list {
    min-height: 0;
    flex: 1;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-bottom: 8px;
  }

  .map-list-item {
    min-height: 60px;
  }

  .map-credits {
    display: none;
  }

  .map-toolbar {
    left: 10px;
    top: 10px;
    gap: 6px;
  }

  .map-toolbar-button {
    min-height: 38px;
    padding: 0 11px;
    font-size: 9px;
    border-radius: 10px;
  }

  .map-admin-state {
    right: 54px;
    top: 10px;
  }

  .rdr-map .leaflet-top.leaflet-right {
    top: 50px;
    right: 4px;
  }

  .rdr-map .leaflet-control-zoom a {
    width: 38px;
    height: 38px;
    line-height: 38px;
  }

  .emistery-map-popup .leaflet-popup-content {
    width: min(280px, calc(100vw - 54px)) !important;
  }

  .map-popup-image {
    height: 125px;
  }

  .map-popup-body {
    padding: 14px;
  }

  /* Map admin dialogs become mobile bottom sheets. */
  .map-dialog,
  .map-point-dialog {
    left: 0 !important;
    right: 0 !important;
    top: auto !important;
    bottom: 0;
    width: 100% !important;
    max-height: 90dvh;
    padding: 28px 16px calc(18px + env(safe-area-inset-bottom));
    overflow-y: auto;
    border-radius: 22px 22px 0 0;
    transform: translateY(105%) !important;
  }

  .map-dialog.open,
  .map-point-dialog.open {
    transform: translateY(0) !important;
  }

  .map-dialog h2 {
    font-size: 30px;
  }

  .form-grid.three {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .map-coordinate-tools {
    grid-template-columns: 1fr;
  }

  .map-pick-button {
    width: 100%;
  }

  .map-placement-hint {
    left: 12px;
    right: 12px;
    bottom: 82px;
    width: auto;
  }

  .map-toast,
  #mapToast {
    bottom: 84px;
  }
}

@media (max-width: 390px) {
  .brand-copy span {
    display: none;
  }

  .brand-copy strong {
    font-size: 16px;
  }

  .hero h1 {
    font-size: clamp(42px, 13vw, 54px);
  }

  .page-hero h1 {
    font-size: 40px;
  }

  .product-detail-copy h1 {
    font-size: 28px;
  }

  .product-help-icon {
    display: none;
  }

  .product-recommendation-card {
    grid-template-columns: 52px minmax(0, 1fr) 16px;
  }

  .map-sidebar {
    left: 6px;
    right: 6px;
    bottom: 6px;
  }
}


/* =========================================================
   V0.52 — basket icon + mobile About Us repair
   ========================================================= */

/* ---------- Basket icon everywhere ---------- */

.cart-button {
  min-width: 68px;
  width: auto;
  padding: 0 12px;
  gap: 9px;
}

.cart-label {
  display: none !important;
}

.cart-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: var(--beige);
}

.cart-icon svg {
  width: 100%;
  height: 100%;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cart-button:hover .cart-icon {
  color: #8fddc6;
}

/* ---------- About Us: robust sizing at every width ---------- */

.manifesto-grid,
.manifesto-grid > *,
.manifesto-stats,
.stat {
  min-width: 0;
}

.manifesto h2,
.manifesto p {
  max-width: 100%;
}

@media (max-width: 760px) {
  /* Basket becomes a compact icon button. */
  .cart-button {
    position: relative;
    width: 44px !important;
    min-width: 44px !important;
    height: 44px !important;
    padding: 0 !important;
    gap: 0;
    border-radius: 12px;
  }

  .cart-icon {
    width: 21px;
    height: 21px;
  }

  .cart-count {
    position: absolute !important;
    right: -4px !important;
    top: -5px !important;
    width: 19px !important;
    height: 19px !important;
    font-size: 9px !important;
    border: 2px solid #0d0c0a;
  }

  /* About Us must fit a real 320–430 px phone viewport. */
  .manifesto {
    padding: 18px 0 64px;
  }

  .manifesto .shell {
    width: calc(100% - 24px);
  }

  .manifesto-card {
    width: 100%;
    max-width: 100%;
    padding: 24px 16px 16px !important;
    overflow: hidden;
    border-radius: 18px;
  }

  .manifesto-card::after {
    right: -100px;
    top: 40px;
    width: 230px;
    height: 230px;
    opacity: .7;
  }

  .manifesto-grid {
    width: 100%;
    max-width: 100%;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 24px !important;
  }

  .manifesto-grid > div {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .manifesto .section-kicker {
    margin-bottom: 7px;
    font-size: 9px;
  }

  .manifesto h2 {
    width: 100%;
    margin-bottom: 18px;
    font-size: clamp(30px, 9.2vw, 39px) !important;
    line-height: .98;
    letter-spacing: -.035em;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .manifesto p {
    width: 100%;
    margin: 0;
    color: #ada18d;
    font-size: 13px;
    line-height: 1.62;
    overflow-wrap: break-word;
  }

  .manifesto-stats {
    width: 100%;
    max-width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
  }

  .stat {
    width: auto;
    min-width: 0;
    padding: 18px 13px;
  }

  .stat strong {
    font-size: clamp(25px, 8vw, 31px);
    line-height: 1;
    white-space: normal;
  }

  .stat span {
    margin-top: 10px;
    display: block;
    font-size: 8px;
    line-height: 1.45;
    letter-spacing: .09em;
    overflow-wrap: break-word;
  }
}

@media (max-width: 350px) {
  .manifesto-card {
    padding-inline: 14px !important;
  }

  .manifesto h2 {
    font-size: 29px !important;
  }

  .stat {
    padding: 16px 10px;
  }

  .stat strong {
    font-size: 24px;
  }

  .stat span {
    font-size: 7.5px;
    letter-spacing: .07em;
  }
}


/* =========================================================
   V0.53 — mobile product media between price and actions
   ========================================================= */

@media (max-width: 760px) {
  /*
    Mobile product order:
    back → category → title → price → gallery → thumbnails
    → buy/visit → secure note → help → recommendations → description

    display: contents lets the existing desktop DOM keep its two-column
    structure while mobile can interleave media and purchase elements.
  */
  .product-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 0 !important;
  }

  .product-detail-copy,
  .product-detail-media,
  .product-detail-purchase {
    display: contents !important;
  }

  .product-back {
    order: 1;
    margin-bottom: 16px;
  }

  .product-meta {
    order: 2;
    margin-bottom: 7px;
  }

  .product-detail-copy h1 {
    order: 3;
    margin-bottom: 10px;
  }

  .product-detail-price {
    order: 4;
    margin: 0 0 18px;
  }

  .product-page-stage {
    order: 5;
    width: 100%;
  }

  .product-page-thumbnails {
    order: 6;
    width: 100%;
    margin-top: 9px;
    margin-bottom: 18px;
  }

  .product-main-actions {
    order: 7;
    width: 100%;
  }

  .secure-note {
    order: 8;
    margin: 10px 0 0;
  }

  .product-help-card {
    order: 9;
    width: 100%;
    margin-top: 20px;
  }

  .product-recommendations {
    order: 10;
    width: 100%;
    margin-top: 20px;
  }

  .product-description-under-media {
    order: 11;
    width: 100%;
    margin-top: 30px;
  }

  /* Keep the media comfortably separated from the title block. */
  .product-page-stage {
    border-radius: 14px;
    overflow: hidden;
  }
}


/* =========================================================
   V0.54 — persistent sticky header
   ========================================================= */

/* Keep the main navigation permanently accessible while scrolling. */
.site-header {
  position: sticky !important;
  top: 0;
  z-index: 1200 !important;
  width: 100%;
}

/* Ensure the sticky bar always has an opaque enough surface over page content. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: rgba(13, 12, 10, .94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* Mobile nav must stay directly beneath the persistent header. */
.mobile-nav {
  position: fixed !important;
  left: 0;
  right: 0;
  z-index: 1190 !important;
}

/* Desktop header height. */
@media (min-width: 761px) {
  .mobile-nav {
    top: 72px;
  }
}

/* Mobile header is 64px high in the responsive layout. */
@media (max-width: 760px) {
  .site-header {
    position: sticky !important;
    top: 0;
  }

  .mobile-nav {
    top: 64px !important;
  }

  /*
    The map previously forced the header back to position:relative.
    Keep it sticky too, while preserving the map viewport calculation.
  */
  .map-page .site-header {
    position: sticky !important;
    top: 0;
    z-index: 1200 !important;
  }

  .map-shell {
    height: calc(100dvh - 64px);
  }
}


/* =========================================================
   V0.55 — truly fixed mobile header
   ========================================================= */

@media (max-width: 760px) {
  /*
    Firefox responsive mode can drop position:sticky when an ancestor/body
    participates in overflow scrolling. On phones we use a real fixed bar:
    basket + hamburger can no longer scroll away.
  */
  body {
    padding-top: 64px !important;
  }

  .site-header,
  .map-page .site-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: 64px !important;
    z-index: 5000 !important;
    transform: translateZ(0);
    will-change: transform;
  }

  .site-header .header-inner {
    height: 64px !important;
  }

  .site-header::before {
    background: rgba(13, 12, 10, .985) !important;
  }

  .mobile-nav {
    position: fixed !important;
    top: 64px !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 4990 !important;
    max-height: 0;
  }

  .mobile-nav.open {
    max-height: calc(100dvh - 64px);
  }

  /*
    Map page already uses a viewport-based shell. The body's 64px top padding
    is part of its 100dvh box, so the map stays exactly below the fixed header.
  */
  .map-page {
    height: 100dvh !important;
    min-height: 100dvh !important;
    padding-top: 64px !important;
    overflow: hidden !important;
  }

  .map-page .map-shell {
    height: calc(100dvh - 64px) !important;
  }
}


/* =========================================================
   V0.56 — cart always above persistent header
   ========================================================= */

/*
  The persistent header must stay visible during normal navigation,
  but once the basket opens, the basket UI becomes the top-most layer.
*/
.backdrop,
.shared-cart-backdrop {
  z-index: 6000 !important;
}

.cart-drawer,
.shared-cart-drawer {
  z-index: 6010 !important;
}

/* Keep dialogs above the header too when opened from cart/product actions. */
.gift-backdrop,
.map-dialog-backdrop,
.map-point-backdrop {
  z-index: 6100 !important;
}

.gift-modal,
.map-dialog,
.map-point-dialog {
  z-index: 6110 !important;
}

/* Header remains persistent, but below overlays/drawers. */
.site-header,
.map-page .site-header {
  z-index: 5000 !important;
}

.mobile-nav {
  z-index: 4990 !important;
}


/* =========================================================
   V0.58 — Legal Notice + Privacy Policy
   ========================================================= */

.footer-legal-links {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.footer-legal-links a,
.footer-bottom a {
  color: #928674;
  text-decoration: none;
  transition: color .16s ease;
}

.footer-legal-links a:hover,
.footer-bottom a:hover {
  color: #6fd0b6;
}

.legal-page-main {
  min-height: calc(100vh - 72px);
  padding: 78px 0 96px;
}

.legal-hero {
  max-width: 940px;
  margin-bottom: 42px;
}

.legal-hero h1 {
  margin: 8px 0 14px;
  color: #f0e5c7;
  font-size: clamp(48px, 6vw, 76px);
  line-height: .96;
  letter-spacing: -.045em;
}

.legal-hero > p:not(.legal-updated) {
  max-width: 720px;
  margin: 0;
  color: #a89d8a;
  font-size: 15px;
  line-height: 1.7;
}

.legal-updated {
  margin: 0 0 20px;
  color: #655d52;
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.legal-layout {
  max-width: 940px;
  display: grid;
  gap: 12px;
}

.legal-card {
  padding: 26px 28px;
  border: 1px solid rgba(255,255,255,.065);
  border-radius: 16px;
  background:
    radial-gradient(circle at 100% 0%, rgba(34,83,70,.06), transparent 17rem),
    #15110e;
}

.legal-card h2 {
  margin: 0 0 16px;
  color: #eadfbe;
  font-size: 19px;
  line-height: 1.25;
}

.legal-card p,
.legal-card li {
  color: #a99d89;
  font-size: 13px;
  line-height: 1.75;
}

.legal-card p {
  margin: 12px 0 0;
}

.legal-card p:first-of-type {
  margin-top: 0;
}

.legal-card ul {
  margin: 12px 0 0;
  padding-left: 20px;
}

.legal-card li + li {
  margin-top: 5px;
}

.legal-card strong {
  color: #ded2b0;
}

.legal-card a,
.legal-inline-link {
  color: #69cfb4;
  font-weight: 700;
  text-decoration: none;
}

.legal-card a:hover,
.legal-inline-link:hover {
  color: #a5ead8;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-card code {
  padding: 2px 5px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 5px;
  background: rgba(0,0,0,.18);
  color: #cfc3a7;
  font-size: .92em;
}

.legal-note,
.legal-warning {
  margin-top: 18px;
  padding: 15px 16px;
  border-radius: 11px;
}

.legal-note {
  border: 1px solid rgba(67,157,131,.18);
  background: rgba(34,83,70,.13);
}

.legal-warning {
  border: 1px solid rgba(210,157,80,.24);
  background: rgba(151,103,39,.10);
}

.legal-note > strong,
.legal-warning > strong {
  display: block;
  margin-bottom: 5px;
  font-size: 11px;
  letter-spacing: .04em;
}

.legal-warning > strong {
  color: #e0b879;
}

.legal-note p,
.legal-warning p {
  margin: 0;
  font-size: 11.5px;
  line-height: 1.65;
}

.legal-link-row {
  margin-top: 17px;
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
}

.legal-link-row a,
.legal-inline-link {
  display: inline-flex;
  min-height: 38px;
  padding: 0 12px;
  align-items: center;
  border: 1px solid rgba(255,255,255,.075);
  border-radius: 9px;
  background: rgba(255,255,255,.018);
}

.support-privacy-note {
  margin-top: 15px;
  color: #7f7567;
  font-size: 10px;
  line-height: 1.55;
}

.support-privacy-note a {
  color: #67ccb1;
  font-weight: 700;
  text-decoration: none;
}

.support-privacy-note a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 760px) {
  .legal-page-main {
    min-height: calc(100dvh - 64px);
    padding: 42px 0 68px;
  }

  .legal-hero {
    margin-bottom: 28px;
  }

  .legal-hero h1 {
    font-size: clamp(40px, 12vw, 54px);
  }

  .legal-hero > p:not(.legal-updated) {
    font-size: 13px;
  }

  .legal-card {
    padding: 20px 17px;
    border-radius: 14px;
  }

  .legal-card h2 {
    font-size: 17px;
  }

  .legal-card p,
  .legal-card li {
    font-size: 12.5px;
    line-height: 1.7;
  }

  .legal-link-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .legal-link-row a,
  .legal-inline-link {
    width: 100%;
    min-height: 44px;
  }

  .legal-compact-footer .footer-bottom,
  .compact-footer .footer-bottom {
    gap: 9px;
  }

  .footer-legal-links {
    gap: 7px;
  }
}


/* =========================================================
   V0.59 — footer legal column alignment
   ========================================================= */

/* Desktop: keep Brand / Workshop / Community / Legal on one row. */
@media (min-width: 1001px) {
  .footer-grid {
    grid-template-columns: 1.45fr .9fr .9fr .9fr !important;
    gap: 46px !important;
    align-items: start;
  }
}

/* Medium screens: cleaner 2 × 2 layout instead of squeezing four columns. */
@media (min-width: 761px) and (max-width: 1000px) {
  .footer-grid {
    grid-template-columns: 1.35fr 1fr !important;
    gap: 38px 54px !important;
  }
}

/* Phone stays vertically stacked. */
@media (max-width: 760px) {
  .footer-grid {
    grid-template-columns: 1fr !important;
  }
}
