.wmx-3d-directory-active {
  overflow-x: hidden;
}

.wmx-3d-directory-page {
  background:
    linear-gradient(90deg, rgba(185, 148, 74, 0.06) 1px, transparent 1px) 0 0 / 52px 52px,
    linear-gradient(rgba(185, 148, 74, 0.05) 1px, transparent 1px) 0 0 / 52px 52px,
    #080b08;
}

.wmx-3d-directory {
  width: min(calc(100% - 32px), 1320px);
  margin: 0 auto;
  padding: 48px 0 32px;
}

.wmx-3d-hero {
  max-width: 920px;
  margin-bottom: 32px;
}

.wmx-3d-eyebrow {
  margin: 0 0 8px;
  color: #c59a34;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.wmx-3d-hero h1 {
  margin: 0;
  color: #f4ead3;
  font-size: clamp(42px, 7vw, 82px);
  font-weight: 950;
  line-height: 0.92;
  letter-spacing: 0;
  text-transform: uppercase;
}

.wmx-3d-hero > p:last-child {
  max-width: 760px;
  margin: 18px 0 0;
  color: #b9b5a7;
  font-size: 18px;
}

.wmx-3d-notice {
  margin-bottom: 22px;
  border-left: 4px solid #c59a34;
  background: #20261d;
  color: #f4ead3;
  padding: 14px 16px;
}

.wmx-3d-search {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  border: 1px solid rgba(185, 148, 74, 0.4);
  background: #111510;
  padding: 16px;
}

.wmx-3d-search label {
  color: #f4ead3;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.wmx-3d-search label small {
  display: block;
  margin-top: 3px;
  color: #7f8175;
  font-size: 10px;
  font-weight: 650;
  line-height: 1.3;
  text-transform: none;
}

.wmx-3d-search > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 8px;
}

.wmx-3d-search input,
.wmx-3d-submit input {
  min-width: 0;
  min-height: 44px;
  border: 1px solid rgba(232, 226, 210, 0.2);
  border-radius: 2px;
  background: #080b08;
  color: #f4ead3;
  padding: 0 12px;
  font: inherit;
}

.wmx-3d-search button,
.wmx-3d-search a,
.wmx-3d-submit button,
.wmx-3d-facebook-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(197, 154, 52, 0.58);
  border-radius: 2px;
  background: #293220;
  color: #fff2cc;
  padding: 0 16px;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.wmx-3d-search a {
  background: transparent;
}

.wmx-3d-results-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin: 48px 0 20px;
  border-bottom: 2px solid rgba(185, 148, 74, 0.34);
  padding-bottom: 12px;
}

.wmx-3d-results-heading h2,
.wmx-3d-submit h2 {
  margin: 0;
  color: #f4ead3;
  font-size: 34px;
  line-height: 1;
  text-transform: uppercase;
}

.wmx-3d-results-heading > span {
  color: #aaa591;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

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

.wmx-3d-store {
  min-width: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  border: 1px solid rgba(185, 148, 74, 0.25);
  border-top: 4px solid #77796e;
  background: #141813;
  transition: border-color 160ms ease, background 160ms ease;
}

.wmx-3d-store--positive {
  border-color: rgba(100, 143, 78, 0.72);
  border-top-color: #78a55f;
  background: linear-gradient(180deg, rgba(70, 103, 52, 0.3), #141813 52%);
}

.wmx-3d-store--negative {
  border-color: rgba(176, 70, 53, 0.84);
  border-top-color: #c5523f;
  background: linear-gradient(180deg, rgba(126, 42, 33, 0.34), #171211 52%);
}

.wmx-3d-store__signal {
  border-bottom: 1px solid rgba(232, 226, 210, 0.1);
  color: #a8aa9c;
  padding: 9px 16px;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.wmx-3d-store--positive .wmx-3d-store__signal {
  color: #a8d58f;
}

.wmx-3d-store--negative .wmx-3d-store__signal {
  color: #ff9b88;
}

.wmx-3d-store__body {
  min-width: 0;
  padding: 18px 16px 16px;
}

.wmx-3d-store__body h3 {
  margin: 0;
  color: #f4ead3;
  font-size: 22px;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.wmx-3d-store__location {
  margin: 8px 0 16px;
  color: #aaa591;
  font-size: 13px;
}

.wmx-3d-facebook-link {
  min-height: 38px;
  margin-top: 18px;
  background: #263c55;
  border-color: #496b91;
}

.wmx-3d-store__vote {
  display: grid;
  grid-template-columns: 1fr 70px 1fr;
  border-top: 1px solid rgba(232, 226, 210, 0.12);
}

.wmx-3d-vote {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  background: rgba(255, 255, 255, 0.02);
  color: #e8e2d2;
  font: inherit;
  cursor: pointer;
}

.wmx-3d-vote:first-child {
  border-right: 1px solid rgba(232, 226, 210, 0.1);
}

.wmx-3d-vote:last-child {
  border-left: 1px solid rgba(232, 226, 210, 0.1);
}

.wmx-3d-vote:hover,
.wmx-3d-vote:focus-visible,
.wmx-3d-vote.is-selected {
  background: rgba(197, 154, 52, 0.14);
  color: #fff2cc;
}

.wmx-3d-vote:disabled {
  opacity: 0.5;
  cursor: wait;
}

.wmx-3d-vote span {
  font-size: 19px;
}

.wmx-3d-score {
  display: grid;
  place-content: center;
  text-align: center;
}

.wmx-3d-score span {
  color: #f4ead3;
  font-size: 17px;
  font-weight: 950;
}

.wmx-3d-score small {
  color: #838578;
  font-size: 9px;
  text-transform: uppercase;
}

.wmx-3d-empty {
  border: 1px dashed rgba(185, 148, 74, 0.42);
  padding: 34px;
  text-align: center;
}

.wmx-3d-empty h3 {
  margin: 0;
  color: #f4ead3;
  text-transform: uppercase;
}

.wmx-3d-pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 28px;
}

.wmx-3d-pagination .page-numbers {
  min-width: 40px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(185, 148, 74, 0.35);
  color: #e8e2d2;
  text-decoration: none;
}

.wmx-3d-pagination .current {
  background: #293220;
  color: #fff2cc;
}

.wmx-3d-submit {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(420px, 1.22fr);
  gap: 44px;
  margin-top: 64px;
  border-top: 1px solid rgba(185, 148, 74, 0.38);
  border-bottom: 1px solid rgba(185, 148, 74, 0.22);
  background: rgba(17, 21, 16, 0.82);
  padding: 36px;
}

.wmx-3d-submit > div > p:last-child {
  color: #aaa591;
}

.wmx-3d-submit form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.wmx-3d-submit label {
  min-width: 0;
  display: grid;
  gap: 6px;
  color: #e8e2d2;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.wmx-3d-submit label:nth-of-type(3),
.wmx-3d-submit button {
  grid-column: 1 / -1;
}

.wmx-3d-submit label span {
  color: #7f8175;
  font-weight: 600;
}

.wmx-3d-honeypot {
  position: absolute;
  left: -9999px;
}

.wmx-3d-disclaimer {
  max-width: 920px;
  margin: 22px auto 0;
  color: #7f8175;
  font-size: 12px;
  text-align: center;
}

.wmx-3d-toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 100;
  max-width: min(380px, calc(100% - 40px));
  opacity: 0;
  transform: translateY(12px);
  visibility: hidden;
  border-left: 4px solid #78a55f;
  background: #171d14;
  color: #eff5e9;
  padding: 14px 18px;
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.wmx-3d-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.wmx-3d-toast.is-error {
  border-left-color: #c5523f;
  background: #291513;
}

@media (max-width: 980px) {
  .wmx-3d-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wmx-3d-submit {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .wmx-3d-directory {
    width: min(calc(100% - 24px), 1320px);
    padding-top: 32px;
  }

  .wmx-3d-hero h1 {
    font-size: 42px;
  }

  .wmx-3d-hero > p:last-child {
    font-size: 16px;
  }

  .wmx-3d-search,
  .wmx-3d-search > div,
  .wmx-3d-submit form {
    grid-template-columns: 1fr;
  }

  .wmx-3d-grid {
    grid-template-columns: 1fr;
  }

  .wmx-3d-results-heading {
    align-items: start;
    flex-direction: column;
  }

  .wmx-3d-submit {
    gap: 24px;
    margin-right: -12px;
    margin-left: -12px;
    padding: 28px 20px;
  }

  .wmx-3d-submit label:nth-of-type(3),
  .wmx-3d-submit button {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wmx-3d-store,
  .wmx-3d-toast {
    transition: none;
  }
}
