/* Mega Moo Mall help integration for the TBAC Welcome House only.
 * Every selector is scoped to .tbac-mmm-wh-mall-help so existing Welcome House
 * and Mall layouts cannot be altered by this stylesheet. */
.tbac-mmm-wh-mall-help,
.tbac-mmm-wh-mall-help * { box-sizing: border-box; }

.tbac-mmm-wh-mall-help {
  width: min(1180px, calc(100% - 40px));
  margin: 34px auto 46px;
  padding: 30px;
  border: 2px solid rgba(61, 92, 39, .28);
  border-radius: 24px;
  background: rgba(255, 250, 232, .94);
  box-shadow: 0 18px 44px rgba(41, 55, 25, .18);
  color: #26331f;
  font-family: inherit;
}

.tbac-mmm-wh-mall-help__header { text-align: center; max-width: 860px; margin: 0 auto 24px; }
.tbac-mmm-wh-mall-help__eyebrow,
.tbac-mmm-wh-mall-help__support-kicker {
  display: block;
  margin-bottom: 7px;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: .12em;
  color: #48652d;
}
.tbac-mmm-wh-mall-help__header h2 {
  margin: 0 0 10px;
  color: #213d21;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.08;
}
.tbac-mmm-wh-mall-help__header p {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: #465443;
}

 .tbac-mmm-wh-mall-help__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.tbac-mmm-wh-mall-help__card {
  display: flex;
  flex-direction: column;
  flex: 1 1 48%;
  max-width: 49%;
  min-width: 0;
  padding: 20px;
  border: 1px solid rgba(70, 101, 43, .22);
  border-radius: 18px;
  background: rgba(255, 255, 255, .76);
  box-shadow: 0 8px 20px rgba(45, 64, 31, .08);
}
.tbac-mmm-wh-mall-help__card:last-child:nth-child(odd) { flex-basis: 100%; max-width: 100%; }
.tbac-mmm-wh-mall-help__badge {
  align-self: flex-start;
  margin: 0 0 10px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #edf2df;
  color: #496127;
  font-size: 10px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: .08em;
}
.tbac-mmm-wh-mall-help__card h3 {
  margin: 0 0 8px;
  color: #284526;
  font-size: 20px;
  line-height: 1.2;
}
.tbac-mmm-wh-mall-help__card p {
  margin: 0 0 16px;
  color: #4b5648;
  font-size: 14px;
  line-height: 1.6;
}
.tbac-mmm-wh-mall-help__link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  color: #315525;
  font-weight: 800;
  text-decoration: none;
}
.tbac-mmm-wh-mall-help__link:hover,
.tbac-mmm-wh-mall-help__link:focus-visible {
  color: #172f18;
  text-decoration: underline;
}

.tbac-mmm-wh-mall-help__support {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: 18px;
  padding: 20px 22px;
  border-radius: 18px;
  background: rgba(43, 79, 37, .08);
  border: 1px solid rgba(43, 79, 37, .16);
}
.tbac-mmm-wh-mall-help__support > div:first-child { display: grid; gap: 4px; }
.tbac-mmm-wh-mall-help__support strong { color: #243f24; font-size: 18px; line-height: 1.25; }
.tbac-mmm-wh-mall-help__support span:not(.tbac-mmm-wh-mall-help__support-kicker) { color: #536050; font-size: 13px; line-height: 1.45; }
.tbac-mmm-wh-mall-help__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.tbac-mmm-wh-mall-help__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 16px;
  border: 2px solid #2f5a2e;
  border-radius: 999px;
  background: #2f5a2e;
  color: #fff !important;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 900;
  text-align: center;
  text-decoration: none !important;
}
.tbac-mmm-wh-mall-help__button.is-secondary { background: #fff7df; color: #294727 !important; }
.tbac-mmm-wh-mall-help__button:hover,
.tbac-mmm-wh-mall-help__button:focus-visible { filter: brightness(.96); box-shadow: 0 0 0 3px rgba(47, 90, 46, .16); }
.tbac-mmm-wh-mall-help-fallback { width: 100%; position: relative; z-index: 5; }

@media (max-width: 900px) {
  .tbac-mmm-wh-mall-help { width: calc(100% - 30px); margin-top: 28px; padding: 24px; }
  .tbac-mmm-wh-mall-help__card,
  .tbac-mmm-wh-mall-help__card:last-child:nth-child(odd) { flex-basis: 100%; max-width: 100%; }
  .tbac-mmm-wh-mall-help__support { align-items: flex-start; flex-direction: column; }
  .tbac-mmm-wh-mall-help__actions { width: 100%; justify-content: flex-start; }
}

@media (max-width: 620px) {
  .tbac-mmm-wh-mall-help { width: calc(100% - 20px); margin: 22px auto 32px; padding: 18px 14px; border-radius: 18px; }
  .tbac-mmm-wh-mall-help__header { margin-bottom: 18px; }
  .tbac-mmm-wh-mall-help__header h2 { font-size: 28px; }
  .tbac-mmm-wh-mall-help__header p { font-size: 14px; line-height: 1.55; }
  .tbac-mmm-wh-mall-help__grid { display: flex; gap: 12px; }
  .tbac-mmm-wh-mall-help__card,
  .tbac-mmm-wh-mall-help__card:last-child:nth-child(odd) { flex-basis: 100%; max-width: 100%; }
  .tbac-mmm-wh-mall-help__card { padding: 17px 15px; border-radius: 15px; }
  .tbac-mmm-wh-mall-help__card h3 { font-size: 18px; }
  .tbac-mmm-wh-mall-help__support { padding: 17px 15px; border-radius: 15px; }
  .tbac-mmm-wh-mall-help__actions { display: grid; grid-template-columns: 1fr; }
  .tbac-mmm-wh-mall-help__button { width: 100%; min-height: 48px; overflow-wrap: anywhere; }
}

/* v0.5.2: when the live Accounts/Welcome House UI is discovered client-side,
 * make the Mall panel feel like a native Help Center section rather than a
 * detached site footer. All rules remain strictly scoped to the Mall panel. */
.tbac-mmm-wh-mall-help--integrated {
  width: 100%;
  max-width: none;
  margin: 20px 0;
}

@media (max-width: 620px) {
  .tbac-mmm-wh-mall-help--integrated {
    width: 100%;
    margin: 16px 0;
  }
}
