/* Flowersstore footer */
.to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 80;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--theme-coffee);
    color: var(--cream-2);
    box-shadow: 0 10px 26px -8px rgba(74, 58, 48, 0.6);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    /* visibility delay matches fade duration so element hides only after fade-out */
    transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0s 0.4s, background 0.3s var(--ease);
}
.to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    /* visibility becomes visible instantly when showing */
    transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0s 0s, background 0.3s var(--ease);
}
.to-top:hover {
    background: var(--theme-footer-bg);
    transform: translateY(-3px);
}
.flr-footer {
  position: relative;
  z-index: 6;
  background: #000000;
  color: var(--theme-footer-text);
  font-family: var(--theme-font-family);
  border-top: 2px solid #ffa10c;
}

/* ── Main grid ── */
.flr-footer__main {
  padding: 40px 0 32px;
}

.flr-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 640px) {
  .flr-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem 3rem;
  }
}

@media (min-width: 900px) {
  .flr-footer__grid {
    grid-template-columns: 1fr 1fr 1fr 1.3fr;
    gap: 3rem;
    align-items: start;
  }
}

/* ── Col 1: Brand ── */
.flr-footer__brand {
  display: inline-flex;
  align-items: center;
  margin-bottom: 1rem;
  text-decoration: none;
}

.flr-footer__brand .arm-mark-word {
  font-size: 3rem;
}

.flr-footer__brand .arm-mark-tag {
  font-size: 0.52rem;
}

/* Social icons */
.flr-footer__social {
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
}

.flr-footer__social > li {
  display: flex;
  align-items: center;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
  line-height: 0;
}

.flr-footer__social-link,
.flr-footer[data-renderer="store-footer"] [data-footer-social] a.t-footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  line-height: 0;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.flr-footer__social-link:hover,
.flr-footer[data-renderer="store-footer"] [data-footer-social] a.t-footer-social-link:hover {
  background: #ffd000;
  border-color: #ffd000;
  color: #111;
  transform: translateY(-2px);
}

.flr-footer__social-link svg,
.flr-footer[data-renderer="store-footer"] [data-footer-social] a.t-footer-social-link svg {
  display: block;
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.flr-footer__stores {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.flr-footer__stores .arm-store {
  flex: 0 0 auto;
  width: auto;
  min-height: 40px;
  padding: 5px 12px 5px 8px;
  gap: 7px;
  border-radius: 8px;
}

.flr-footer__stores .arm-store svg {
  width: 16px;
  height: 16px;
}

.flr-footer__stores .arm-store span {
  font-size: 0.78rem;
}

.flr-footer__stores .arm-store small {
  font-size: 0.48rem;
  letter-spacing: 0.08em;
}

/* ── Column headings ── */
.flr-footer__heading {
  font-family: var(--theme-font-family);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--theme-accent);
  margin: 0 0 1.5rem;
}

/* ── Shop / Services link lists ── */
.flr-footer__col {
  position: relative;
  z-index: 2;
}

.flr-footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.flr-footer__links a {
  position: relative;
  z-index: 2;
  display: inline-block;
  pointer-events: auto;
  cursor: pointer;
  color: var(--theme-footer-link);
  font-size: 0.9375rem;
  text-decoration: none;
  transition: color 0.15s;
}

.flr-footer__links a:hover {
  color: var(--theme-footer-link-hover);
}

/* ── Bottom bar ── */
.flr-footer__bottom {
  padding-bottom: 1.25rem;
}

.flr-footer__bottom-inner {
  /* divider lives on the inner container so it's content-width only */
  border-top: 1px solid var(--theme-footer-border);
  padding-top: 1.125rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  font-size: 0.82rem;
}

.flr-footer__copy {
  margin: 0;
  color: var(--theme-footer-muted);
}

/* Center legal links */
.flr-footer__legal {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.flr-footer__legal a {
  color: var(--theme-footer-muted);
  font-size: 0.82rem;
  text-decoration: none;
  transition: color 0.15s;
}

.flr-footer__legal a:hover {
  color: var(--theme-footer-link-hover);
}

.flr-footer__designed-by {
  margin: 0;
  color: var(--theme-footer-muted);
  white-space: nowrap;
}

.flr-footer__designed-by a {
  color: var(--theme-primary);
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.15s;
}

.flr-footer__designed-by a:hover { opacity: 0.8; }

/* ── Responsive ── */
@media (max-width: 639px) {
  .flr-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 1.5rem;
  }
  .flr-footer__brand-col {
    grid-column: 1 / -1;
  }
  .flr-footer__grid > .flr-footer__col:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .flr-footer__main { padding: 28px 0 24px; }
  .flr-footer__bottom-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .flr-footer__legal { justify-content: center; }
  .flr-footer__brand .arm-mark-word { font-size: 1.85rem; }
  .flr-footer__stores { width: auto; }
  .flr-footer__stores .arm-store { flex: 0 0 auto; width: auto; }
}