/* Mashaer footer — match https://mashaer.store/ */

.mashaer-footer {
  background: #11211a;
  color: #d1d5db;
  margin-top: auto;
}

.mashaer-footer__inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 64px 16px 32px;
  box-sizing: border-box;
}

@media (min-width: 640px) {
  .mashaer-footer__inner { padding-left: 24px; padding-right: 24px; }
}

@media (min-width: 1024px) {
  .mashaer-footer__inner { padding-left: 32px; padding-right: 32px; }
}

.mashaer-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 1024px) {
  .mashaer-footer__grid {
    grid-template-columns: 5fr 7fr;
    gap: 48px;
  }
}

.mashaer-footer__brand {
  text-align: center;
}

@media (min-width: 1024px) {
  .mashaer-footer__brand {
    text-align: start;
  }
}

.mashaer-footer__logo {
  display: block;
  height: 56px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  margin: 0 auto 20px;
}

@media (min-width: 1024px) {
  .mashaer-footer__logo {
    margin-left: 0;
    margin-right: 0;
  }
}

.mashaer-footer__blurb {
  margin: 0;
  max-width: 22rem;
  margin-inline: auto;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.75;
  color: #9ca3af;
  text-align: right;
}

html[dir="ltr"] .mashaer-footer__blurb,
body.ltr .mashaer-footer__blurb {
  text-align: left;
}

@media (min-width: 1024px) {
  .mashaer-footer__blurb {
    margin-inline: 0;
  }
}

.mashaer-footer__cols {
  display: flex;
  flex-direction: column;
}

@media (min-width: 1024px) {
  .mashaer-footer__cols {
    flex-direction: row;
    gap: 64px;
  }
}

.mashaer-footer__col {
  flex: 1 1 0;
  text-align: center;
  margin-top: 40px;
}

.mashaer-footer__col:first-child {
  margin-top: 0;
}

@media (min-width: 1024px) {
  .mashaer-footer__col {
    text-align: start;
    margin-top: 0;
  }
}

.mashaer-footer__heading {
  margin: 0 0 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c19d60;
}

.mashaer-footer__social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

@media (min-width: 1024px) {
  .mashaer-footer__social {
    justify-content: flex-start;
  }
}

.mashaer-footer__social-link {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #c19d60;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.mashaer-footer__social-link:hover {
  border-color: #c19d60;
  background: rgba(255, 255, 255, 0.05);
  color: #c19d60;
}

.mashaer-footer__social-link svg {
  width: 20px;
  height: 20px;
  display: block;
}

.mashaer-footer__payments {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mashaer-footer__payments-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

@media (min-width: 1024px) {
  .mashaer-footer__payments-row {
    justify-content: flex-start;
  }
}

.mashaer-footer__pay-chip {
  display: inline-flex;
  height: 40px;
  min-width: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  padding: 0 8px;
  text-decoration: none;
}

.mashaer-footer__pay-chip--wide {
  min-width: 92px;
  padding: 0 12px;
}

.mashaer-footer__pay-chip img {
  display: block;
  max-height: 18px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
}

.mashaer-footer__link {
  display: inline-flex;
  font-size: 14px;
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.2s;
}

a.mashaer-footer__link:hover {
  color: #c19d60;
}

/* Rendered for merchant links with no URL — plain text, not a link affordance. */
span.mashaer-footer__link {
  cursor: default;
}

.mashaer-footer__links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

@media (min-width: 1024px) {
  .mashaer-footer__links {
    align-items: flex-start;
  }
}

.mashaer-footer__copy {
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 11px;
  color: #c4c9d1;
}

@media (min-width: 768px) {
  .mashaer-footer__copy {
    flex-direction: row;
  }
}

.mashaer-footer__meta {
  padding-top: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 11px;
  color: #c4c9d1;
}

.mashaer-footer__meta a {
  color: inherit;
  text-decoration: none;
}

.mashaer-footer__meta a:hover {
  color: #c19d60;
}

.mashaer-footer__meta img {
  height: 28px;
  width: auto;
  display: block;
}
