/* Home footer: its own quiet palette, independent of the shared glass footer. */
#siteFooter.home-footer {
  --hf-bg: #171e32;
  --hf-ink: #eef0ff;
  --hf-muted: #b2b8d2;
  --hf-line: #343e59;
  --hf-accent: #b0b8ff;
  --hf-hover: #222b46;
  position: relative;
  isolation: isolate;
  width: 100%;
  min-width: 0;
  margin: 16px 0 0;
  padding: 46px 0 0;
  border: 0;
  border-radius: 0 0 22px 22px;
  background: var(--hf-bg);
  color: var(--hf-ink);
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  font-family: "VazirmatnLocal", Tahoma, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.9;
  text-align: start;
}

html[data-theme="light"] #siteFooter.home-footer {
  --hf-bg: #f0eefb;
  --hf-ink: #2b304e;
  --hf-muted: #626783;
  --hf-line: #d9d7e9;
  --hf-accent: #525dcc;
  --hf-hover: #e5e2f5;
}

#siteFooter.home-footer *,
#siteFooter.home-footer *::before,
#siteFooter.home-footer *::after {
  box-sizing: border-box;
  animation: none;
  transition: none;
}

#siteFooter.home-footer .hf-wave {
  position: absolute;
  z-index: 0;
  inset-inline: 0;
  top: 0;
  display: block;
  width: 100%;
  max-width: 100%;
  height: 24px;
  color: var(--hf-line);
  fill: none;
  pointer-events: none;
}

#siteFooter.home-footer .hf-inner {
  width: min(1192px, calc(100% - 64px));
  min-width: 0;
  margin-inline: auto;
}

#siteFooter.home-footer a,
#siteFooter.home-footer button {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

#siteFooter.home-footer :is(a, button):focus-visible {
  outline: 2px solid var(--hf-accent);
  outline-offset: 4px;
  border-radius: 6px;
}

#siteFooter.home-footer .hf-top {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 28px;
  padding-bottom: 38px;
}

#siteFooter.home-footer .footer-brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 12px;
  min-height: 48px;
  max-width: 100%;
  margin: 0;
}

#siteFooter.home-footer .footer-logo-img {
  display: block;
  flex: 0 0 51px;
  width: 51px;
  height: 46px;
  object-fit: contain;
}

#siteFooter.home-footer .footer-brand strong {
  color: var(--hf-ink);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.6;
}

#siteFooter.home-footer .hf-intro {
  flex: 1 1 260px;
  max-width: 780px;
  margin: 0;
  color: #f5de50;
  font-family: "BKamranHeading", "VazirmatnLocal", Tahoma, sans-serif;
  font-size: clamp(27px, 2.5vw, 34px);
  font-weight: 700;
  line-height: 1.55;
}

#siteFooter.home-footer .hf-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .9fr) minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  padding-bottom: 30px;
}

#siteFooter.home-footer .hf-column {
  min-width: 0;
}

#siteFooter.home-footer .hf-column h3 {
  margin: 0 0 17px;
  color: var(--hf-ink);
  font-size: 17px;
  font-weight: 750;
  line-height: 1.8;
}

#siteFooter.home-footer .hf-stores {
  display: grid;
  gap: 10px;
  width: 100%;
  max-width: 260px;
}

#siteFooter.home-footer .hf-store {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  min-width: 0;
  min-height: 62px;
  padding: 10px 13px;
  border: 1px solid var(--hf-line);
  border-radius: 14px;
  background: transparent;
  color: var(--hf-ink);
  font: inherit;
  text-align: start;
  box-shadow: none;
  opacity: 1;
  cursor: default;
}

#siteFooter.home-footer .hf-store-icon {
  display: block;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  color: var(--hf-ink);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#siteFooter.home-footer .hf-store-icon-solid {
  fill: currentColor;
  stroke: none;
}

#siteFooter.home-footer a.hf-store,
#siteFooter.home-footer button.hf-store:not(:disabled) {
  cursor: pointer;
}

#siteFooter.home-footer .hf-store-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

#siteFooter.home-footer .hf-store-copy small {
  color: var(--hf-muted);
  font-size: 11px;
  line-height: 1.5;
}

#siteFooter.home-footer .hf-store-copy strong {
  direction: ltr;
  unicode-bidi: isolate;
  font: 600 16px/1.3 Arial, sans-serif;
}

#siteFooter.home-footer .hf-store-copy strong[dir="rtl"] {
  direction: rtl;
  font: 600 14px/1.65 "VazirmatnLocal", Tahoma, sans-serif;
}

#siteFooter.home-footer .hf-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

#siteFooter.home-footer .hf-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  max-width: 100%;
  padding-block: 7px;
  color: var(--hf-muted);
  font-size: 14px;
  line-height: 1.8;
}

#siteFooter.home-footer .hf-contact {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
}

#siteFooter.home-footer .hf-contact li {
  min-width: 0;
  margin: 0;
}

#siteFooter.home-footer .hf-contact li > :is(a, button, span) {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  max-width: 100%;
  margin: 0;
  padding: 7px 0;
  border: 0;
  background: transparent;
  color: var(--hf-muted);
  font: inherit;
  font-size: 14px;
  line-height: 1.8;
  text-align: start;
  overflow-wrap: anywhere;
}

#siteFooter.home-footer .hf-contact svg {
  display: block;
  flex: 0 0 19px;
  width: 19px;
  height: 19px;
  color: var(--hf-accent);
}

#siteFooter.home-footer .hf-contact bdi {
  min-width: 0;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

#siteFooter.home-footer .hf-hours {
  cursor: pointer;
}

#siteFooter.home-footer .hf-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

#siteFooter.home-footer .hf-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--hf-line);
  border-radius: 11px;
  background: transparent;
  color: var(--hf-ink);
  box-shadow: none;
  transform: none;
}

#siteFooter.home-footer .hf-social svg {
  display: block;
  width: 21px;
  height: 21px;
  fill: currentColor;
}

#siteFooter.home-footer .hf-social-note {
  max-width: 240px;
  margin: 15px 0 0;
  color: var(--hf-muted);
  font-size: 13px;
  line-height: 2;
}

#siteFooter.home-footer .hf-utility {
  display: flex;
  justify-content: flex-end;
  padding: 13px 0 18px;
}

#siteFooter.home-footer .hf-to-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 15px;
  border: 1px solid var(--hf-line);
  border-radius: 9px;
  color: var(--hf-muted);
  font-size: 13px;
}

#siteFooter.home-footer .hf-to-top svg {
  display: block;
  flex: 0 0 17px;
  width: 17px;
  height: 17px;
}

#siteFooter.home-footer .hf-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  min-width: 0;
  padding: 16px 0 18px;
  border-top: 1px solid var(--hf-line);
  color: var(--hf-muted);
  font-size: 12px;
}

#siteFooter.home-footer .hf-legal {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0 23px;
}

#siteFooter.home-footer .hf-legal a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 12px;
  line-height: 1.8;
}

#siteFooter.home-footer .hf-bottom p {
  margin: 0;
  font-size: 12px;
  line-height: 1.9;
}

@media (hover: hover) {
  #siteFooter.home-footer :is(.hf-nav a, .hf-contact a, .hf-hours, .hf-legal a):hover {
    color: var(--hf-accent);
    text-decoration: underline;
    text-underline-offset: 5px;
  }

  #siteFooter.home-footer :is(.hf-social, .hf-to-top):hover {
    border-color: var(--hf-accent);
    background: var(--hf-hover);
    color: var(--hf-accent);
  }

  #siteFooter.home-footer a.hf-store:hover,
  #siteFooter.home-footer button.hf-store:not(:disabled):hover {
    border-color: var(--hf-accent);
    background: var(--hf-hover);
  }
}

@media (max-width: 960px) {
  #siteFooter.home-footer .hf-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 38px;
  }

  #siteFooter.home-footer .hf-bottom {
    flex-wrap: wrap;
  }
}

@media (max-width: 600px) {
  #siteFooter.home-footer {
    margin-top: 12px;
    padding-top: 38px;
    border-radius: 0 0 16px 16px;
  }

  #siteFooter.home-footer .hf-wave {
    height: 20px;
  }

  #siteFooter.home-footer .hf-inner {
    width: calc(100% - 40px);
  }

  #siteFooter.home-footer .hf-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding-bottom: 30px;
  }

  #siteFooter.home-footer .footer-brand strong {
    font-size: 22px;
  }

  #siteFooter.home-footer .hf-intro {
    flex: initial;
    font-size: 29px;
  }

  #siteFooter.home-footer .hf-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 27px;
    padding-bottom: 19px;
  }

  #siteFooter.home-footer .hf-column h3 {
    margin-bottom: 11px;
  }

  #siteFooter.home-footer .hf-stores {
    max-width: 260px;
  }

  #siteFooter.home-footer .hf-social-note {
    max-width: 100%;
  }

  #siteFooter.home-footer .hf-utility {
    justify-content: center;
    padding-bottom: 20px;
  }

  #siteFooter.home-footer .hf-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding-bottom: 24px;
  }

  #siteFooter.home-footer .hf-legal {
    gap: 0 18px;
  }
}

/* Warm dark-gold text preserves contrast on the light footer. */
html[data-theme="light"] #siteFooter.home-footer .hf-intro{color:#75600c}
