/* BhojMandu footer — reference mockup layout (#site-footer loads after bundle) */
#site-footer.bm-footer.bm-footer--light {
    --bm-footer-bg: #F4F5F7;
    --bm-footer-panel: #FFFFFF;
    --bm-footer-text: #282C3F;
    --bm-footer-muted: #686B78;
    --bm-footer-heading: #1A1A2E;
    --bm-footer-border: #E3E5EB;
    --bm-footer-accent: var(--brand-red, #EF3024);
    font-family: 'Inter', sans-serif;
}

#site-footer.bm-footer--light .bm-footer__main {
    background: var(--bm-footer-bg);
    color: var(--bm-footer-text);
    padding: 44px 0 0;
    border-top: 1px solid var(--bm-footer-border);
}

/* Newsletter */
#site-footer .bm-footer__newsletter {
    background: var(--bm-footer-nl-bg, linear-gradient(135deg, #fff8f6 0%, #fff 50%, #f8f9fc 100%));
    padding: 56px 0;
    border-top: 1px solid #eee;
}

#site-footer .bm-footer__newsletter-inner {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

#site-footer .bm-footer__newsletter-heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

#site-footer .bm-footer__newsletter-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: color-mix(in srgb, var(--bm-footer-nl-accent, #ef3024) 12%, #fff);
    color: var(--bm-footer-nl-accent, #ef3024);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

#site-footer .bm-footer__newsletter h3 {
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    font-weight: 800;
    color: var(--bm-footer-nl-text, #282C3F);
    margin-bottom: 10px;
}

#site-footer .bm-footer__newsletter p,
#site-footer .bm-footer__newsletter-subtitle {
    color: var(--bm-footer-nl-muted, #686B78);
    margin-bottom: 24px;
}

#site-footer .bm-footer__newsletter-form .input--grp {
    display: flex;
    max-width: 480px;
    margin: 0 auto;
    border-radius: 999px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(26, 26, 46, 0.08);
    border: 1px solid #e9e9eb;
    background: #fff;
}

#site-footer .bm-footer__newsletter-form input.form-control {
    border: none;
    border-radius: 999px 0 0 999px;
    padding: 14px 22px;
    flex: 1;
    font-size: 0.95rem;
}

/* ── Top band: brand + 4 link columns ── */
#site-footer .bm-footer__grid {
    display: grid;
    grid-template-columns: minmax(270px, 1.55fr) repeat(4, minmax(0, 1fr));
    gap: 0;
    padding-bottom: 36px;
    margin-bottom: 28px;
    border-bottom: 1px solid var(--bm-footer-border);
}

#site-footer .bm-footer__brand {
    padding-right: 32px;
}

#site-footer .bm-footer__brand .bm-footer__logo img {
    max-height: 50px;
    width: auto;
    margin-bottom: 18px;
}

#site-footer .bm-footer__tagline {
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--bm-footer-muted);
    margin-bottom: 16px;
    max-width: 300px;
}

#site-footer .bm-footer__contact-list {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
    max-width: 100%;
}

#site-footer .bm-footer__contact-item {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-bottom: 9px;
    font-size: 0.8125rem;
    line-height: 1.5;
}

#site-footer .bm-footer__contact-icon {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--bm-footer-accent);
    margin-top: 2px;
}

#site-footer .bm-footer__contact-text {
    flex: 1;
    min-width: 0;
}

#site-footer .bm-footer__contact-label {
    display: inline;
    font-weight: 600;
    color: var(--bm-footer-heading);
}

#site-footer .bm-footer__contact-value {
    display: inline;
    color: var(--bm-footer-muted);
}

#site-footer .bm-footer__contact-label + .bm-footer__contact-value::before {
    content: ' ';
}

#site-footer .bm-footer__icon-svg {
    width: 16px;
    height: 16px;
    display: block;
}

#site-footer .bm-footer__social {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

#site-footer .bm-footer__social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #111827;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, background 0.2s;
}

#site-footer .bm-footer__social a:hover {
    background: var(--bm-footer-accent);
    transform: translateY(-2px);
}

#site-footer .bm-footer__social i {
    font-size: 0.9rem;
}

#site-footer .bm-footer__country .landing-country-switcher .header--btn {
    background: #fff;
    border: 1px solid #d7d9e0 !important;
    color: var(--bm-footer-heading) !important;
    border-radius: 8px;
    font-size: 0.84rem;
    min-height: 34px;
    padding: 5px 12px !important;
}

#site-footer .bm-footer__country .dropdown-list {
    background: #fff;
    border-color: #e5e7eb;
    box-shadow: 0 12px 32px rgba(26, 26, 46, 0.12);
}

/* Link columns with vertical dividers */
#site-footer .bm-footer__col {
    border-left: 1px solid var(--bm-footer-border);
    padding-left: 28px;
    padding-right: 8px;
}

#site-footer .bm-footer__col-title,
#site-footer .bm-footer__feature-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--bm-footer-heading);
    margin-bottom: 16px;
}

#site-footer .bm-footer__col-icon {
    color: var(--bm-footer-accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

#site-footer .bm-footer__col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#site-footer .bm-footer__col ul li {
    margin-bottom: 9px;
}

#site-footer .bm-footer__col ul li a {
    color: var(--bm-footer-muted);
    font-size: 0.875rem;
    text-decoration: none;
    transition: color 0.2s;
}

#site-footer .bm-footer__col ul li a:hover {
    color: var(--bm-footer-accent);
}

/* ── Middle panel: hours | services | app ── */
#site-footer .bm-footer__features-panel {
    background: var(--bm-footer-panel);
    border: 1px solid var(--bm-footer-border);
    border-radius: 14px;
    padding: 28px 32px;
    margin-bottom: 24px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

#site-footer .bm-footer__features {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.45fr) minmax(0, 0.95fr);
    gap: 0;
    padding: 0;
    border: none;
    margin: 0;
}

#site-footer .bm-footer__feature {
    padding: 0 28px;
}

#site-footer .bm-footer__feature:first-child {
    padding-left: 0;
}

#site-footer .bm-footer__feature:last-child {
    padding-right: 0;
}

#site-footer .bm-footer__feature--services {
    border-left: 1px solid var(--bm-footer-border);
    border-right: 1px solid var(--bm-footer-border);
}

#site-footer .bm-footer__hours-value {
    margin: 0 0 6px;
    font-size: clamp(1.15rem, 2vw, 1.5rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--bm-footer-accent);
    white-space: nowrap;
}

#site-footer .bm-footer__hours-note {
    margin: 0;
    font-size: 0.875rem;
    color: var(--bm-footer-muted);
}

#site-footer .bm-footer__service-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.6rem;
}

#site-footer .bm-footer__service-pill {
    display: inline-block;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.35;
    text-decoration: none;
    color: var(--bm-footer-heading);
    background: #FAFAFB;
    border: 1px solid #D7DAE0;
    transition: color 0.2s, border-color 0.2s;
}

#site-footer .bm-footer__service-pill:hover {
    color: var(--bm-footer-accent);
    border-color: var(--bm-footer-accent);
}

#site-footer .bm-footer__service-pill--accent,
#site-footer .bm-footer__service-pill[href*="late-night"] {
    color: var(--bm-footer-accent);
    border-color: var(--bm-footer-accent);
    background: #fff;
}

#site-footer .bm-footer__download-text {
    font-size: 0.875rem;
    color: var(--bm-footer-muted);
    margin-bottom: 12px;
    max-width: 280px;
    line-height: 1.55;
}

#site-footer .bm-footer__app-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

#site-footer .bm-footer__app-badges img {
    height: 40px;
    width: auto;
    border-radius: 8px;
}

/* ── Trust bar ── */
#site-footer .bm-footer__trust {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 0;
    margin: 0 0 20px;
    padding: 24px 28px;
    padding-right: min(58%, 650px);
    min-height: 128px;
    border: 1px solid var(--bm-footer-border);
    border-radius: 14px;
    background: var(--bm-footer-panel);
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

#site-footer .bm-footer__trust-start {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    padding-right: 24px;
}

#site-footer .bm-footer__trust-icon {
    flex-shrink: 0;
    width: auto;
    height: auto;
    border-radius: 0;
    background: transparent;
}

#site-footer .bm-footer__trust-shield {
    position: relative;
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--bm-footer-accent);
}

#site-footer .bm-footer__trust-shield svg {
    width: 54px;
    height: 54px;
    display: block;
}

#site-footer .bm-footer__trust-mark {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
    text-transform: lowercase;
    padding-top: 3px;
}

#site-footer .bm-footer__trust-heading {
    display: block;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: var(--bm-footer-heading);
    margin: 0;
    white-space: nowrap;
}

#site-footer .bm-footer__trust-text {
    flex: 1;
    margin: 0;
    padding-left: 24px;
    border-left: 1px solid var(--bm-footer-border);
    font-size: 0.875rem;
    line-height: 1.55;
    color: var(--bm-footer-muted);
    max-width: 42ch;
    position: relative;
    z-index: 2;
}

#site-footer .bm-footer__trust-art {
    position: absolute;
    right: 0;
    bottom: 0;
    width: min(58%, 650px);
    max-width: none;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    pointer-events: none;
    z-index: 1;
}

#site-footer .bm-footer__trust-art img {
    width: 100%;
    max-width: none;
    height: auto;
    max-height: 100px;
    display: block;
    object-fit: contain;
    object-position: right bottom;
    opacity: 0.58;
}

/* ── Copyright row ── */
#site-footer .bm-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 20px;
    padding: 0 0 28px;
    margin: 0;
    border-top: none;
}

#site-footer .bm-footer__copyright,
#site-footer .bm-footer__made-with {
    margin: 0;
    font-size: 0.84rem;
    color: var(--bm-footer-muted);
    font-weight: 500;
}

#site-footer .bm-footer__heart {
    color: var(--bm-footer-accent);
}

@media (max-width: 1199px) {
    #site-footer .bm-footer__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 28px 20px;
    }

    #site-footer .bm-footer__brand {
        grid-column: 1 / -1;
        padding-right: 0;
        border-bottom: 1px solid var(--bm-footer-border);
        padding-bottom: 24px;
    }

    #site-footer .bm-footer__col {
        border-left: none;
        padding-left: 0;
    }

    #site-footer .bm-footer__features {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    #site-footer .bm-footer__feature {
        padding: 0;
        border: none !important;
    }
}

@media (max-width: 767px) {
    #site-footer .bm-footer__grid {
        grid-template-columns: 1fr 1fr;
    }

    #site-footer .bm-footer__features-panel {
        padding: 20px 18px;
    }

    #site-footer .bm-footer__trust {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        padding-right: 28px;
        padding-bottom: 100px;
    }

    #site-footer .bm-footer__trust-start {
        padding-right: 0;
    }

    #site-footer .bm-footer__trust-text {
        border-left: none;
        padding-left: 0;
        max-width: none;
        margin-top: 12px;
    }

    #site-footer .bm-footer__trust-art {
        width: 100%;
        max-width: none;
        height: 80px;
    }

    #site-footer .bm-footer__trust-art img {
        min-width: 0;
        max-height: 80px;
        opacity: 0.55;
    }

    #site-footer .bm-footer__bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    #site-footer .bm-footer__grid {
        grid-template-columns: 1fr;
    }
}
