/* Live layout fixes loaded outside the Vite bundle. */
:root {
  --hb-footer-bg: #0d0708;
  --hb-gold: #c9a35d;
  --hb-rose: #d4869a;
  --hb-charcoal: #3a2a2e;
}

button[class*="btn-shimmer"],
[data-slot="button"].btn-shimmer,
a.gift-whatsapp,
.gift-card > button,
.primary-action,
.secondary-action {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  border-radius: 999px !important;
  line-height: 1 !important;
  text-align: center !important;
  white-space: nowrap !important;
  box-shadow: 0 14px 34px rgba(132, 80, 91, 0.18);
}

button[class*="btn-shimmer"]:hover,
[data-slot="button"].btn-shimmer:hover,
a.gift-whatsapp:hover,
.gift-card > button:hover,
.primary-action:hover,
.secondary-action:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 46px rgba(132, 80, 91, 0.26);
}

button[class*="btn-shimmer"]:focus-visible,
[data-slot="button"].btn-shimmer:focus-visible,
a.gift-whatsapp:focus-visible,
.gift-card > button:focus-visible,
.primary-action:focus-visible,
.secondary-action:focus-visible {
  outline: 2px solid rgba(201, 163, 93, 0.8) !important;
  outline-offset: 3px !important;
}

@media (max-width: 640px) {
  button[class*="btn-shimmer"],
  [data-slot="button"].btn-shimmer,
  a.gift-whatsapp,
  .gift-card > button,
  .primary-action,
  .secondary-action {
    width: 100%;
    min-height: 46px;
  }
}

footer,
footer.site-footer {
  background: var(--hb-footer-bg) !important;
}

footer .footer-main,
footer > .container > div:first-child {
  align-items: flex-start !important;
  border-bottom-color: rgba(255, 255, 255, 0.12) !important;
}

footer .footer-brand,
footer > .container > div:first-child > div:first-child {
  text-align: right !important;
}

footer .footer-brand > div:first-child,
footer > .container > div:first-child > div:first-child > div:first-child {
  color: #ffffff !important;
  font-size: clamp(1.7rem, 2.8vw, 2.25rem) !important;
  font-weight: 700 !important;
  letter-spacing: 0.18em !important;
}

footer .footer-brand p,
footer > .container > div:first-child > div:first-child p {
  max-width: 360px !important;
  color: rgba(255, 255, 255, 0.48) !important;
  font-weight: 800 !important;
  line-height: 1.75 !important;
}

footer .footer-columns,
footer > .container > div:first-child > div:nth-child(2) {
  width: min(100%, 720px);
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: clamp(2rem, 6vw, 5.5rem) !important;
  text-align: right !important;
}

footer .footer-column > p,
footer > .container > div:first-child > div:nth-child(2) > div > p:first-child {
  color: var(--hb-gold) !important;
  font-weight: 900 !important;
}

footer .footer-column p:not(:first-child),
footer > .container > div:first-child > div:nth-child(2) p:not(:first-child) {
  color: rgba(255, 255, 255, 0.46) !important;
  font-weight: 800 !important;
}

footer .footer-bottom,
footer > .container > div:last-child {
  align-items: center !important;
}

footer .legal-links,
footer .hb-legal-links {
  display: flex;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

footer .legal-links a,
footer .hb-legal-links a {
  color: rgba(255, 255, 255, 0.34) !important;
  text-decoration: none !important;
  font-size: 0.68rem !important;
  font-weight: 900 !important;
  letter-spacing: 0.12em !important;
  transition: color 180ms ease;
}

footer .legal-links a:hover,
footer .hb-legal-links a:hover {
  color: rgba(255, 255, 255, 0.68) !important;
}

.gift-modal__code {
  display: inline-flex !important;
  gap: 0.5rem !important;
  align-items: center !important;
  margin: 0.15rem 0 0.85rem !important;
  border-radius: 999px !important;
  padding: 0.55rem 0.9rem !important;
  color: #9a8085 !important;
  background: #fdf5f7 !important;
  font-weight: 800 !important;
}

.gift-modal__code strong {
  color: #d4869a !important;
  font-weight: 900 !important;
}

@media (min-width: 768px) {
  footer .footer-main,
  footer > .container > div:first-child {
    flex-direction: row-reverse !important;
  }
}

@media (max-width: 767px) {
  footer .footer-main,
  footer > .container > div:first-child,
  footer .footer-bottom,
  footer > .container > div:last-child {
    align-items: flex-start !important;
    text-align: right !important;
  }

  footer .footer-columns,
  footer > .container > div:first-child > div:nth-child(2) {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  footer .legal-links,
  footer .hb-legal-links {
    flex-wrap: wrap;
  }
}
