/* Shared public footer. Keep these selectors scoped to avoid card/checkout styles. */
.lemy-footer {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0;
  padding: 44px 24px 24px;
  border-top: 1px solid rgba(255, 182, 210, .12);
  background: #090a0e;
  color: #c6bdc5;
  font: 500 14px/1.65 "Manrope", system-ui, sans-serif;
  text-align: left;
  box-sizing: border-box;
}
.lemy-footer *, .lemy-footer *::before, .lemy-footer *::after { box-sizing: border-box; }
.lemy-footer__inner { width: min(1240px, 100%); margin: 0 auto; }
.lemy-footer__grid { display: grid; grid-template-columns: minmax(260px, 1.3fr) minmax(150px, .85fr) minmax(170px, 1fr) minmax(190px, 1.05fr); gap: clamp(20px, 2.6vw, 32px); align-items: start; }
.lemy-footer a { color: inherit; text-decoration: none; overflow-wrap: anywhere; }
.lemy-footer a:hover { color: #ffb0d0; }
.lemy-footer a:focus-visible { outline: 2px solid #ffb0d0; outline-offset: 5px; border-radius: 3px; }
.lemy-footer p, .lemy-footer ul { margin: 0; padding: 0; }
.lemy-footer ul { list-style: none; }
.lemy-footer__identity { margin: 0; padding: 22px; border: 1px solid rgba(255, 182, 210, .14); border-radius: 22px; background: #111016; }
.lemy-footer__brand { display: inline-flex; width: fit-content; max-width: 100%; margin-bottom: 9px; }
.lemy-footer__brand .lemy-logo { display: block; width: 151px; height: auto; max-height: 56px; object-fit: contain; }
.lemy-footer__brand .lemy-wordmark-text { font-size: 28px; color: #fff; }
.lemy-footer__tagline { color: #b9a9b6; font-size: 12px; }
.lemy-footer .lemy-footer__details { display: grid; gap: 8px; margin-top: 18px; }
.lemy-footer__details li { display: flex; align-items: flex-start; gap: 10px; }
.lemy-footer__details svg { flex: 0 0 17px; width: 17px; height: 19px; margin-top: 3px; fill: none; stroke: #ff88b6; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.lemy-footer__details li > span { min-width: 0; color: #b7aab4; font-size: 13px; line-height: 1.65; overflow-wrap: anywhere; }
.lemy-footer__details strong, .lemy-footer__details a { display: inline; margin-top: 0; color: #e8dfe5; font-size: inherit; font-weight: 600; line-height: inherit; }
.lemy-footer__column { padding-top: 13px; min-width: 0; }
.lemy-footer__column h2 { margin: 0 0 14px; color: #f8f1f5; font: 750 14px/1.5 "Manrope", system-ui, sans-serif; }
.lemy-footer__column h2::after { content: ""; display: block; width: 27px; height: 2px; margin-top: 12px; border-radius: 2px; background: #f36ca2; }
.lemy-footer .lemy-footer__links { display: grid; gap: 3px; }
.lemy-footer__links a { display: block; width: fit-content; max-width: 100%; padding: 5px 0; line-height: 1.7; }
.lemy-footer .lemy-footer__more { display: inline-flex; align-items: center; gap: 5px; margin-top: 8px; color: #ffb0d0; font-size: 12px; }
.lemy-footer__identity .lemy-footer__more { padding: 6px 0; }
.lemy-footer .lemy-footer__payment-link { display: flex; align-items: center; gap: 9px; width: fit-content; max-width: 100%; min-height: 44px; margin-bottom: 8px; padding: 5px 9px 5px 5px; border: 1px solid rgba(255,182,210,.18); border-radius: 9px; background: #15131a; color: #e8dfe5; font-size: 12px; font-weight: 700; line-height: 1.4; }
.lemy-footer__vietqr { flex: 0 0 auto; padding: 6px; border-radius: 5px; background: #f7f3f5; }
.lemy-footer__vietqr img { display: block; width: 57px; height: auto; }
.lemy-footer__contact { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 13px; }
.lemy-footer__contact a { display: inline-flex; align-items: center; gap: 4px; min-height: 36px; padding: 5px 9px; border: 1px solid rgba(255,182,210,.18); border-radius: 8px; background: #15131a; color: #e5d9e2; font-size: 12px; font-weight: 650; }
.lemy-footer .lemy-footer__payment-link:hover, .lemy-footer .lemy-footer__contact a:hover { color: #ffadd0; border-color: #e375a3; background: #2c1825; }
.lemy-footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 30px; padding-top: 16px; border-top: 1px solid rgba(255,182,210,.12); color: #a69ba5; font-size: 12px; line-height: 1.6; }
.lemy-footer .lemy-footer__copyright { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; white-space: nowrap; }
.lemy-footer__copyright-brand { flex-shrink: 0; }
.lemy-footer__copyright-brand strong { font-weight: 650; color: #d7c5d1; }
.lemy-footer__copyright-dot { color: #d0789f; }
.lemy-footer__sitemap { flex-shrink: 0; }
.lemy-footer .lemy-footer__storefront-note { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #a69ba5; }
.lemy-footer .lemy-footer__admin { display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; padding: 5px 0 5px 10px; color: #c7b8c3; white-space: nowrap; }
.lemy-footer__admin svg { width: 13px; height: 13px; }
.lemy-checkout-policy { margin: 14px 0 0; color: #c6b4c0; font: 500 11px/1.8 "Manrope", system-ui, sans-serif; }
.lemy-checkout-policy a { color: #ffb0d0; text-underline-offset: 3px; }
.lemy-checkout-policy a:focus-visible { outline: 2px solid #ffb0d0; outline-offset: 3px; }
@media (max-width: 960px) {
  .lemy-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 24px; }
}
@media (max-width: 700px) {
  .lemy-footer { padding: 28px 16px max(96px, calc(28px + env(safe-area-inset-bottom))); }
  .home-page .lemy-footer { padding-bottom: max(24px, env(safe-area-inset-bottom)); }
  .lemy-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 18px; }
  .lemy-footer__identity { grid-column: 1 / -1; grid-row: auto; padding: 16px 14px; border-radius: 18px; }
  .lemy-footer__brand { margin-bottom: 6px; }
  .lemy-footer__brand .lemy-logo { width: 128px; max-height: 42px; }
  .lemy-footer__identity .lemy-footer__details { grid-template-columns: 1fr; gap: 10px; margin-top: 14px; }
  .lemy-footer__details li { align-items: flex-start; gap: 8px; }
  .lemy-footer__details li > span,
  .lemy-footer__details a { overflow-wrap: break-word; line-height: 1.45; }
  .lemy-footer__details a[href^="tel:"] { white-space: nowrap; }
  .lemy-footer__column { padding-top: 0; }
  .lemy-footer__column h2 { margin-bottom: 8px; font-size: 14px; }
  .lemy-footer__column h2::after { margin-top: 8px; }
  .lemy-footer__links a { display: flex; align-items: center; min-height: 44px; padding: 6px 0; font-size: 13px; line-height: 1.35; overflow-wrap: break-word; }
  .lemy-footer__payment { grid-column: 1 / -1; }
  .lemy-footer__identity .lemy-footer__more, .lemy-footer__contact a, .lemy-footer__sitemap { display: inline-flex; align-items: center; min-height: 44px; }
  .lemy-footer__bottom { flex-wrap: wrap; align-items: flex-start; margin-top: 20px; padding-top: 14px; gap: 8px; font-size: 12px; }
  .lemy-footer .lemy-footer__copyright { flex: 1 1 100%; flex-wrap: wrap; gap: 4px 7px; white-space: normal; }
  .lemy-footer .lemy-footer__storefront-note { overflow: visible; white-space: normal; }
  .lemy-footer .lemy-footer__admin { min-height: 44px; padding: 8px 0; }
}
