/* =========================================================================
   STOREFRONT FOOTER (resources/views/frontEnd2/includes/footer.blade.php)
   Transparent outer band; inside it a centered, rounded black box (max 1445px)
   with 4 columns: brand + social | Useful Links | Help Center | Contact Us,
   and the copyright line at the bottom of the box.
   ========================================================================= */

.site-footer {
    --ft-bg: #000000;      /* <<< footer box background */
    --ft-text: #e5e5e5;    /* body text and links (headings are pure white) */
    --ft-rule: #e5e5e5;    /* short underline under each heading */
    --ft-social-icon: var(--btn-red, #E10B1F);   /* <<< social icon color (site red from storefront-buttons.css) */
    width: 100%;
    margin: 0 !important;
    padding: 40px 16px 20px;   /* 40px above the box, 20px below, 16px side gap */
    padding-bottom: 20px !important;   /* style.css has footer { padding-bottom: 0 !important } */
    border: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    color: #ffffff;
    font-family: 'Onest', 'Hind Siliguri', 'Noto Sans Bengali', sans-serif;
}

.site-footer *,
.site-footer *::before,
.site-footer *::after {
    box-sizing: border-box;
}

/* The black rounded box */
.site-footer__inner {
    width: 100%;
    max-width: 1445px;
    margin: 0 auto;
    padding: 40px 30px;
    border-radius: 16px;
    background: var(--ft-bg);
}

.site-footer__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 40px;
    row-gap: 32px;
    align-items: start;
}

.site-footer__column {
    min-width: 0;
}

/* ---- Column headings: title case, short underline -------------------- */
.site-footer__heading {
    margin: 0 0 18px !important;
    color: #ffffff !important;
    font: 600 20px/1.3 'Onest', 'Hind Siliguri', 'Noto Sans Bengali', sans-serif !important;
    letter-spacing: normal;
    text-transform: none !important;
    overflow-wrap: anywhere;
}

.site-footer__heading::after {
    content: "";
    display: block;
    width: 28px;
    height: 2px;
    margin-top: 8px;
    background: var(--ft-rule);
}

/* ---- Column 1: logo, social text, social icons ------------------------ */
.site-footer__logo {
    display: flex;
    width: 75px;
    height: 50px;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    padding: 4px;
    overflow: hidden;
    border-radius: 8px;
    background: #FFFFFF !important;
    background-color: #FFFFFF !important;
    color: #800080 !important;
}

.site-footer__logo img,
.site-footer__logo svg,
.site-footer__logo i {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    color: #800080 !important;
    fill: #800080 !important;
}

/* The old "<SITE NAME> SOCIAL MEDIA" heading stays in the markup but isn't shown */
.site-footer__social > .site-footer__heading {
    display: none !important;
}

.site-footer__social > p {
    max-width: 300px;
    margin: 0 0 16px;
    color: var(--ft-text);
    font: 400 14px/1.6 'Onest', 'Hind Siliguri', 'Noto Sans Bengali', sans-serif;
}

.site-footer__social-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
}

.site-footer__social-link {
    display: inline-flex;
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #FFFFFF !important;
    background-color: #FFFFFF !important;
    color: var(--ft-social-icon) !important;
    text-decoration: none !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.site-footer__social-link i,
.site-footer__social-link svg {
    color: var(--ft-social-icon) !important;
    fill: var(--ft-social-icon) !important;
    font-size: 14px;
    line-height: 1;
}

.site-footer__social-link:hover,
.site-footer__social-link:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.15);
}

/* ---- Columns 2-3: link lists -------------------------------------------- */
.site-footer__contact-list,
.site-footer__link-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer__link-list li {
    display: block; /* style.css sets a global li { display: inline-block } that puts links on one line */
    margin: 0 0 12px;
    padding: 0;
}

.site-footer__link-list li:last-child {
    margin-bottom: 0;
}

.site-footer .site-footer__link-list a {
    display: block;
    width: fit-content;
    color: var(--ft-text) !important;
    font: 400 15px/1.6 'Onest', 'Hind Siliguri', 'Noto Sans Bengali', sans-serif;
    text-decoration: none !important;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

/* ---- Column 4: contact details ------------------------------------------ */
.site-footer__contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0 0 12px;
    color: var(--ft-text);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.site-footer__contact-list li:last-child {
    margin-bottom: 0;
}

.site-footer__contact-list i {
    flex: 0 0 18px;
    padding-top: 3px;
    color: #ffffff;
    font-size: 16px;
    text-align: center;
}

.site-footer .site-footer__contact-list a,
.site-footer .site-footer__contact-list span {
    min-width: 0;
    color: var(--ft-text) !important;
    text-decoration: none !important;
    text-underline-offset: 3px;
    word-break: break-word;
    transition: color 0.2s ease;
}

/* ---- Link hover: pure white + underline (no purple) --------------------- */
.site-footer .site-footer__link-list a:hover,
.site-footer .site-footer__link-list a:focus-visible,
.site-footer .site-footer__contact-list a:hover,
.site-footer .site-footer__contact-list a:focus-visible,
.site-footer .site-footer__copyright .site-footer__credit a:hover,
.site-footer .site-footer__copyright .site-footer__credit a:focus-visible {
    color: #ffffff !important;
    text-decoration: underline !important;
}

/* ---- Copyright line, inside the box ------------------------------------- */
.site-footer__copyright {
    width: 100%;
    margin-top: 24px;
    padding: 0;
    border: 0;
    color: var(--ft-text);
    font: 400 13.5px/1.5 'Onest', 'Hind Siliguri', 'Noto Sans Bengali', sans-serif;
    text-align: center;
}

.site-footer__copyright .site-footer__sep {
    margin: 0 6px;
}

.site-footer .site-footer__copyright .site-footer__credit a {
    color: #ffffff !important;
    font-weight: 600;
    text-decoration: none !important;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

/* ---- Tablet: 2 columns -------------------------------------------------- */
@media (min-width: 768px) and (max-width: 991.98px) {
    .site-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 36px;
    }
}

/* ---- Mobile: 1 column --------------------------------------------------- */
@media (max-width: 767.98px) {
    .site-footer {
        /* 20px under the box + room so the collapsed chat button (56px, 14px above the
           bottom nav) floats in the space below the box instead of over the copyright */
        padding: 32px 16px 80px;
        padding-bottom: 80px !important;
    }

    .site-footer__inner {
        padding: 32px 20px;
    }

    .site-footer__grid {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 28px;
    }

    .site-footer__heading {
        font-size: 18px !important;
    }

    .site-footer__copyright .site-footer__sep {
        display: none;
    }

    .site-footer__copyright .site-footer__credit {
        display: block;
        margin-top: 4px;
    }
}
