/* Footer v2 — calm, accessible and action-first. */
body.market-ui .market-footer-v2 {
  position: relative;
  width: 100%;
  margin: 0;
  overflow: hidden;
  color: #e9f2ef;
  background: #053f3b;
  border-radius: 0;
}

body.market-ui .brand-mark {
  padding: 3px;
  overflow: hidden;
}

body.market-ui .brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

body.market-ui .brand-copy strong span {
  color: var(--market-lime);
}

body.market-ui .market-footer-v2::before {
  content: "";
  position: absolute;
  width: 620px;
  height: 620px;
  right: -320px;
  top: 220px;
  border: 1px solid rgba(185, 242, 100, .1);
  border-radius: 50%;
  box-shadow: 0 0 0 90px rgba(185, 242, 100, .018), 0 0 0 180px rgba(185, 242, 100, .012);
  pointer-events: none;
}

body.market-ui .market-footer-shell {
  position: relative;
  z-index: 1;
  width: min(var(--market-max), calc(100% - 48px));
  margin: auto;
  padding: 54px 0 0;
}

body.market-ui .market-footer-assist {
  position: relative;
  min-height: 270px;
  padding: 42px;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(500px, 1.1fr);
  align-items: center;
  gap: clamp(36px, 6vw, 100px);
  overflow: hidden;
  color: var(--market-ink);
  background: #f1f6ec;
  border: 1px solid rgba(255, 255, 255, .48);
  border-radius: 26px;
}

body.market-ui .market-footer-assist::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  left: -170px;
  bottom: -190px;
  border: 34px solid rgba(7, 91, 87, .045);
  border-radius: 50%;
  pointer-events: none;
}

body.market-ui .market-footer-assist-copy {
  position: relative;
  z-index: 1;
}

body.market-ui .market-footer-assist-copy > span {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--market-teal);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .13em;
}

body.market-ui .market-footer-assist-copy > span i {
  width: 8px;
  height: 8px;
  background: var(--market-lime);
  border: 2px solid var(--market-teal);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(7, 91, 87, .08);
}

body.market-ui .market-footer-assist h2 {
  max-width: 620px;
  margin: 17px 0 0;
  color: var(--market-ink);
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: clamp(34px, 4vw, 55px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.055em;
  text-wrap: balance;
}

body.market-ui .market-footer-assist-copy > p {
  max-width: 560px;
  margin: 18px 0 0;
  color: #62716c;
  font-size: 12px;
  line-height: 1.75;
}

body.market-ui .market-footer-contact-actions {
  display: grid;
  gap: 10px;
}

body.market-ui .footer-contact-link {
  min-height: 84px;
  padding: 11px 13px;
  display: grid;
  grid-template-columns: 54px 1fr 38px;
  align-items: center;
  gap: 15px;
  color: white;
  background: var(--market-teal);
  border: 1px solid rgba(7, 91, 87, .14);
  border-radius: 15px;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}

body.market-ui .footer-contact-link:hover {
  color: white;
  background: #064d49;
  box-shadow: 0 15px 28px rgba(4, 66, 62, .16);
  transform: translateY(-2px);
}

body.market-ui .footer-contact-link > i {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  color: var(--market-ink);
  background: var(--market-lime);
  border-radius: 50%;
  font-size: 9px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: .04em;
}

body.market-ui .footer-contact-link.footer-zalo {
  color: var(--market-ink);
  background: white;
  border-color: #d9e4df;
}

body.market-ui .footer-contact-link.footer-zalo:hover {
  color: var(--market-ink);
  background: #f8fbff;
  border-color: #b9d1ef;
}

body.market-ui .footer-contact-link.footer-zalo > i {
  color: white;
  background: #0068ff;
}

body.market-ui .footer-contact-link > span {
  min-width: 0;
  display: grid;
  gap: 6px;
}

body.market-ui .footer-contact-link small {
  color: inherit;
  font-size: 9px;
  font-weight: 600;
  opacity: .65;
}

body.market-ui .footer-contact-link strong {
  overflow: hidden;
  color: inherit;
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.market-ui .footer-contact-link > b {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: inherit;
  background: rgba(255, 255, 255, .1);
  border-radius: 50%;
  font-size: 16px;
}

body.market-ui .footer-contact-link.footer-zalo > b {
  background: #edf4ff;
}

body.market-ui .market-footer-directory {
  padding: 72px 0 64px;
  display: grid;
  grid-template-columns: minmax(330px, 1.4fr) minmax(145px, .48fr) minmax(165px, .58fr) minmax(250px, .82fr);
  gap: clamp(32px, 5vw, 76px);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

body.market-ui .market-footer-intro .brand {
  color: white;
}

body.market-ui .market-footer-intro .brand-mark {
  background: white;
  border-radius: 13px;
}

body.market-ui .market-footer-intro h3 {
  margin: 34px 0 0;
  color: white;
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: clamp(30px, 3.2vw, 45px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.055em;
}

body.market-ui .market-footer-intro > p {
  max-width: 460px;
  margin: 19px 0 0;
  color: #aec8c2;
  font-size: 12px;
  line-height: 1.8;
}

body.market-ui .market-footer-promises {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body.market-ui .market-footer-promises span {
  padding: 9px 12px;
  color: #d7e8e4;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 999px;
  font-size: 9px;
  font-weight: 600;
}

body.market-ui .market-footer-promises b {
  margin-right: 5px;
  color: var(--market-lime);
}

body.market-ui .market-footer-directory .footer-col {
  min-height: 0;
  padding: 7px 0 0;
  display: flex;
  flex-direction: column;
}

body.market-ui .market-footer-directory .footer-col::before {
  display: none;
}

body.market-ui .market-footer-directory .footer-col strong,
body.market-ui .market-footer-store > span {
  margin: 0 0 24px;
  color: var(--market-lime);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

body.market-ui .market-footer-directory .footer-col a {
  width: max-content;
  max-width: 100%;
  margin: 0 0 15px;
  padding: 0 0 3px;
  color: #d6e5e1;
  border-bottom: 1px solid transparent;
  font-size: 12px;
  line-height: 1.45;
}

body.market-ui .market-footer-directory .footer-col a:hover {
  color: white;
  border-color: var(--market-lime);
  transform: translateX(3px);
}

body.market-ui .market-footer-store {
  padding: 7px 0 0 clamp(24px, 3vw, 44px);
  border-left: 1px solid rgba(255, 255, 255, .12);
}

body.market-ui .market-footer-store > span {
  display: block;
}

body.market-ui .market-footer-store h3 {
  margin: 0;
  color: white;
  font-size: 21px;
  line-height: 1.3;
}

body.market-ui .market-footer-store > p {
  margin: 12px 0 0;
  color: #aec8c2;
  font-size: 11px;
  line-height: 1.7;
}

body.market-ui .market-footer-store .footer-contact-details {
  margin: 19px 0 0;
  display: grid;
  gap: 8px;
}

body.market-ui .market-footer-store .footer-contact-details a,
body.market-ui .market-footer-store .footer-contact-details p {
  margin: 0;
  color: #d6e5e1;
  font-size: 10px;
  line-height: 1.6;
}

body.market-ui .market-footer-store > a {
  width: max-content;
  margin-top: 23px;
  padding-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 18px;
  color: white;
  border-bottom: 1px solid rgba(255, 255, 255, .32);
  font-size: 10px;
  font-weight: 700;
}

body.market-ui .market-footer-store > a b {
  color: var(--market-lime);
}

body.market-ui .market-footer-v2 .footer-bottom {
  width: 100%;
  min-height: 72px;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  color: #8fb1aa;
  border: 0;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .08em;
}

body.market-ui .market-footer-v2 .footer-bottom p {
  margin: 0;
}

body.market-ui .market-footer-v2 .footer-bottom > span {
  color: #a9c5bf;
  text-align: center;
}

body.market-ui .market-footer-v2 .footer-bottom > div {
  display: flex;
  justify-content: flex-end;
  gap: 21px;
}

body.market-ui .market-footer-v2 .footer-bottom a {
  color: #a9c5bf;
}

body.market-ui .market-footer-v2 .footer-bottom a:hover {
  color: var(--market-lime);
}

@media (max-width: 1060px) {
  body.market-ui .market-footer-assist {
    grid-template-columns: 1fr;
  }

  body.market-ui .market-footer-contact-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.market-ui .market-footer-directory {
    grid-template-columns: 1.2fr .55fr .65fr;
  }

  body.market-ui .market-footer-intro {
    grid-column: 1 / -1;
  }

  body.market-ui .market-footer-store {
    padding-left: 28px;
  }
}

@media (max-width: 720px) {
  body.market-ui .market-footer-shell {
    width: calc(100% - 22px);
    padding-top: 28px;
  }

  body.market-ui .market-footer-assist {
    min-height: 0;
    padding: 27px 20px 20px;
    gap: 27px;
    border-radius: 20px;
  }

  body.market-ui .market-footer-assist h2 {
    font-size: clamp(31px, 9vw, 43px);
  }

  body.market-ui .market-footer-assist-copy > p {
    font-size: 11px;
  }

  body.market-ui .market-footer-contact-actions {
    grid-template-columns: 1fr;
  }

  body.market-ui .footer-contact-link {
    min-height: 76px;
    grid-template-columns: 48px 1fr 34px;
    gap: 12px;
  }

  body.market-ui .footer-contact-link > i {
    width: 48px;
    height: 48px;
  }

  body.market-ui .footer-contact-link strong {
    font-size: 16px;
  }

  body.market-ui .market-footer-directory {
    padding: 52px 7px 40px;
    grid-template-columns: 1fr 1fr;
    gap: 42px 24px;
  }

  body.market-ui .market-footer-intro {
    grid-column: 1 / -1;
  }

  body.market-ui .market-footer-store {
    grid-column: 1 / -1;
    padding: 27px 0 0;
    border-top: 1px solid rgba(255, 255, 255, .12);
    border-left: 0;
  }

  body.market-ui .market-footer-directory .footer-col a {
    font-size: 11px;
  }

  body.market-ui .market-footer-v2 .footer-bottom {
    min-height: 108px;
    padding: 22px 6px;
    grid-template-columns: 1fr auto;
    gap: 12px;
  }

  body.market-ui .market-footer-v2 .footer-bottom > span {
    grid-column: 1 / -1;
    grid-row: 2;
    text-align: left;
  }
}

@media (max-width: 390px) {
  body.market-ui .market-footer-directory {
    grid-template-columns: 1fr;
  }

  body.market-ui .market-footer-intro,
  body.market-ui .market-footer-store {
    grid-column: auto;
  }
}
