/* Shared footer: retain the site's night palette and coral conversion accent. */
.iswhere-footer.footer-refined {
    background: radial-gradient(ellipse at 3% 5%, #fc5b620c, transparent 45%),
        radial-gradient(ellipse at 95% 12%, #14b8a60a, transparent 42%),
        linear-gradient(125deg, #101726, #14263f 62%, #0e1c2d);
}
.footer-refined::before { opacity: .025; }
.footer-refined .footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr) minmax(0, .85fr) minmax(0, 1.1fr);
    gap: 36px;
    padding: 60px 0 36px;
}
.footer-refined .footer-grid > * { min-width: 0; }
.footer-refined .footer-brand-home { display: inline-block; margin-bottom: 22px; border-radius: 4px; }
.footer-refined .footer-logo { display: block; width: 144px; height: auto; margin: 0; }
.footer-refined .footer-tagline { font-size: 16px; font-weight: 650; line-height: 1.6; margin: 0 0 10px; }
.footer-refined .footer-desc { max-width: 280px; margin: 0 0 14px; color: #b8c4d3; font-size: 14px; line-height: 1.75; }
.footer-refined .footer-launch { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; color: #d6dfeb; font-size: 12px; font-weight: 600; text-decoration: none; }
.footer-refined .footer-launch-dot { width: 6px; height: 6px; flex-shrink: 0; border-radius: 50%; background: #ff9096; box-shadow: 0 0 0 4px #fc5b6212; }
.footer-refined .footer-launch i { font-size: 10px; color: #a6b5c9; }
.footer-refined .footer-title { margin: 4px 0 16px; font-size: 14px; font-weight: 650; line-height: 1.6; }
.footer-refined .footer-links li { margin: 0; }
.footer-refined .footer-links a { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 0; color: #b8c4d3; font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
.footer-refined .footer-store-links { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.footer-refined .footer-store-links a { display: inline-flex; align-items: center; min-height: 44px; border-radius: 6px; transition: opacity .18s; }
.footer-refined .footer-store-links img { display: block; width: 148px; max-width: 100%; height: auto; }
.footer-refined .footer-store-links a:hover { opacity: .8; }
.footer-refined .footer-merchant-strip { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 25px 28px; margin: 0 0 28px; border: 1px solid #d4e6ff1a; border-radius: 20px; background: linear-gradient(105deg, #ffffff08, #ffffff04); }
.footer-refined .footer-merchant-copy { min-width: 0; }
.footer-refined .footer-merchant-label { display: block; color: #ffa3a8; font-size: 10px; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 9px; line-height: 1.6; }
.footer-refined .footer-merchant-strip h2 { margin: 0 0 7px; color: #fff; font-size: clamp(19px, 1.7vw, 23px); font-weight: 650; line-height: 1.4; }
.footer-refined .footer-merchant-strip p { margin: 0; color: #b8c4d3; font-size: 13px; line-height: 1.7; }
.footer-refined .footer-register { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 48px; padding: 13px 22px; flex-shrink: 0; max-width: 33%; border-radius: 12px; color: #fff; background: var(--iw-coral, #fc5b62); font-size: 14px; font-weight: 650; line-height: 1.5; text-align: center; text-decoration: none; transition: background .18s; }
.footer-refined .footer-register:hover { background: var(--iw-coral-dark, #e54850); color: #fff; }
.footer-refined .footer-register i { flex-shrink: 0; font-size: 12px; }
.footer-refined .iswhere-footer-bottom { padding: 15px 0 20px; border-color: #d4e6ff1a; }
.footer-refined .footer-bottom-row { gap: 12px 24px; }
.footer-refined .footer-copy { color: #a4b3c7; font-size: 12px; line-height: 1.7; }
.footer-refined .footer-mini-links { align-items: center; gap: 8px 24px; }
.footer-refined .footer-mini-links a { display: inline-flex; align-items: center; min-height: 44px; color: #b8c4d3; font-size: 12px; line-height: 1.6; }
.footer-refined .footer-back-top { gap: 10px; margin-inline-start: 8px; }
.footer-refined .footer-back-top i { font-size: 11px; }
.footer-refined :is(.footer-links a, .footer-mini-links a, .footer-launch) { text-underline-offset: 5px; transition: color .18s; }
.footer-refined :is(.footer-links a, .footer-mini-links a, .footer-launch):hover { color: #fff; text-decoration: underline; }
.iswhere-footer.footer-refined a:focus-visible { outline: 2px solid #c4c8ff; outline-offset: 5px; }
.footer-refined[dir="rtl"] .footer-register i { transform: rotate(180deg); }

@media (max-width: 1199px) and (min-width: 992px) {
    .footer-refined .footer-grid { gap: 24px; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, .8fr) minmax(0, 1fr); }
}
@media (max-width: 991px) {
    .footer-refined .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 28px; padding: 42px 0 30px; }
    .footer-refined .footer-brand-wrap { grid-column: 1 / -1; }
    .footer-refined .footer-desc { max-width: 420px; }
    .footer-refined .footer-brand-home { margin-bottom: 16px; }
    .footer-refined .footer-app { grid-column: 1 / -1; padding-top: 26px; border-top: 1px solid #d4e6ff1a; }
    .footer-refined .footer-title { margin-top: 0; margin-bottom: 10px; }
    .footer-refined .footer-links a { min-height: 44px; }
    .footer-refined .footer-store-links { flex-direction: row; flex-wrap: wrap; gap: 12px; }
    .footer-refined .footer-merchant-strip { padding: 24px; gap: 24px; }
}
@media (max-width: 575px) {
    .footer-refined .container { padding-inline: 24px; }
    .footer-refined .footer-logo { width: 134px; }
    .footer-refined .footer-grid { gap: 28px 20px; }
    .footer-refined .footer-desc { max-width: 300px; }
    .footer-refined .footer-store-links { flex-wrap: nowrap; }
    .footer-refined .footer-store-links a { min-width: 0; flex: 0 1 148px; }
    .footer-refined .footer-merchant-strip { flex-direction: column; align-items: stretch; gap: 20px; padding: 22px; border-radius: 16px; margin-bottom: 24px; }
    .footer-refined .footer-register { max-width: none; width: 100%; }
    .footer-refined .footer-bottom-row { flex-direction: column; align-items: flex-start; gap: 10px; }
    .footer-refined .footer-mini-links { justify-content: space-between; gap: 8px 16px; width: 100%; }
    .footer-refined .footer-back-top { margin-inline-start: 0; }
    .footer-refined .iswhere-footer-bottom { padding: 20px 0 18px; }
}
@media (prefers-reduced-motion: reduce) {
    html:has(.footer-refined) { scroll-behavior: auto; }
    .footer-refined a { transition: none; }
}
