/* BulkVyapar Public Footer — unified V2.17, exact homepage geometry/colors.
   Source: assets/css/index.css on 2026-10-26 baseline; only footer rules
   extracted and unscoped from .home-page. No homepage header/CTA styles here.
   Loaded only on public pages; dashboard/workspace chrome untouched. */
.site-footer.bv-v217-footer{
 padding:67px 0 20px;margin:0;border-top:1px solid #d8e6f9;
 background:radial-gradient(ellipse at 0% 85%,rgba(215,234,255,.56),transparent 57%),radial-gradient(ellipse at 100% 95%,rgba(255,232,216,.50),transparent 46%),linear-gradient(180deg,#fff 0%,#f6faff 100%);
 color:#193a65;
}
.bv-v217-footer-shell{max-width:1220px}
.bv-v217-brand-row{display:flex;align-items:center;justify-content:space-between;gap:12px}
.bv-v217-footer .footer-brand-logo img{width:172px;height:auto;max-height:65px;object-fit:contain}
.bv-v217-to-top{display:inline-flex;text-decoration:none;font-size:11px;font-weight:800;border:1px solid #d6e5f7;background:#fff;color:#376fa9;border-radius:9px;padding:9px 12px}
.bv-v217-footer-brand>p{max-width:740px;margin:10px 0 5px;font-size:12px;line-height:1.62;color:#647d9b}
.bv-v217-footer-brand>small{display:block;color:#728ca9;font-size:10px}
.bv-v217-footer-brand>small strong{color:#365a85}
.bv-v217-footer .footer-trust-row{margin:14px 0 22px;display:flex;flex-wrap:wrap;gap:7px}
.bv-v217-footer .footer-trust-row span{display:inline-flex;align-items:center;gap:5px;border:1px solid #d9eafa;background:#ecf6ff;border-radius:8px;padding:8px 10px;color:#3673a9;font-size:10px;font-weight:750}
.bv-v217-footer .footer-trust-row i{color:#159b73;font-style:normal}
.bv-v217-footer-menus{display:grid;grid-template-columns:1.2fr 1fr 1fr 1.15fr;gap:clamp(12px,2vw,25px);align-items:start}
.bv-v217-footer-menu{min-width:0}
.bv-v217-footer-menu summary{list-style:none;cursor:pointer;font-size:13px;color:#234b79;font-weight:850;margin:0 0 12px;display:flex;justify-content:space-between;gap:9px}
.bv-v217-footer-menu summary::-webkit-details-marker{display:none}
.bv-v217-footer-menu summary::after{content:"⌄";display:none;color:#5087ba}
.bv-v217-footer-links{display:flex;flex-direction:column;gap:10px}
.bv-v217-footer-links a,.bv-v217-footer .footer-grievance a{color:#647f9d;font-size:11px;line-height:1.3;text-decoration:none}
.bv-v217-footer-links a:hover,.bv-v217-footer .footer-grievance a:hover{color:#1c6cbc;text-decoration:underline}
.bv-v217-footer .footer-grievance{margin:14px 0 0;border-top:1px solid #dfecfa;padding:12px 0 0;display:flex;flex-direction:column;align-items:flex-start;gap:4px;background:none}
.bv-v217-footer .footer-grievance span{color:#7c96b2;font-size:10px}
.bv-v217-footer .footer-grievance strong{color:#2e527f;font-size:11px}
.bv-v217-support{margin-top:23px;display:flex;align-items:center;gap:11px;padding:13px 15px;border-radius:13px;border:1px solid #d0e5fa;background:linear-gradient(112deg,#ebf6ff,#fff 65%,#fff2e9)}
.bv-v217-support-icon{flex:0 0 40px;width:40px;height:40px;border:1px solid #d7e8fa;border-radius:11px;display:grid;place-items:center;color:#2472c0;background:#fff}
.bv-v217-support>div{min-width:0;flex:1}
.bv-v217-support strong{font-size:13px;font-weight:850;color:#274f7e}
.bv-v217-support p{font-size:10.5px;color:#728bab;line-height:1.5;margin:4px 0 0}
.bv-v217-help-btn{flex-shrink:0;font-family:inherit;font-weight:800;font-size:11px;cursor:pointer;background:#2374c8;color:#fff;border:1px solid #1b66b7;border-radius:9px;padding:10px 13px}
.bv-v217-footer-bottom{margin-top:20px;padding-top:15px;border-top:1px solid #dce9f7;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:9px;font-size:10px;color:#748da9}
.bv-v217-footer-bottom>div{display:flex;gap:9px;align-items:center}
.bv-v217-footer-bottom a{text-decoration:none;color:#6087b2}
@media (max-width:900px){.bv-v217-footer-menus{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:18px}}
@media (max-width:620px){.site-footer.bv-v217-footer{padding:45px 0 15px}
.bv-v217-footer .footer-brand-logo img{width:145px}
.bv-v217-to-top{font-size:9px;padding:7px 9px}
.bv-v217-footer-brand>p{font-size:10px;margin:9px 0 5px}
.bv-v217-footer .footer-trust-row{margin:10px 0 14px;gap:5px}
.bv-v217-footer .footer-trust-row span{font-size:9px;padding:6px 7px}
.bv-v217-footer-menus{grid-template-columns:1fr;gap:7px}
.bv-v217-footer-menu{border:1px solid #dbe8f7;border-radius:10px;background:rgba(255,255,255,.78);padding:11px 12px}
.bv-v217-footer-menu summary{font-size:12px;margin-bottom:0}
.bv-v217-footer-menu summary::after{display:block}
.bv-v217-footer-menu[open] summary{margin-bottom:11px}
.bv-v217-footer-links{gap:11px}
.bv-v217-footer-links a{font-size:11px}
.bv-v217-footer .footer-grievance{margin-top:13px}
.bv-v217-support{margin-top:14px;gap:8px;padding:10px}
.bv-v217-support-icon{width:32px;height:32px;flex-basis:32px;border-radius:9px}
.bv-v217-support-icon svg{width:19px;height:19px}
.bv-v217-support strong{font-size:11px}
.bv-v217-support p{font-size:9px}
.bv-v217-help-btn{font-size:9px;padding:9px 10px}
.bv-v217-footer-bottom{font-size:9px;gap:7px;line-height:1.4}}

/* Consistent keyboard focus and fallback anchor, without changing other links. */
.bv-v217-footer :is(a, button, summary):focus-visible{outline:2px solid #2472c0;outline-offset:3px}
.bv-v217-footer .bv-v217-help-btn{display:inline-flex;align-items:center;justify-content:center;text-decoration:none}
/* Ensure distinct footer style wins over legacy page-level site-footer rules. */
.site-footer.bv-v217-footer{box-sizing:border-box}
.site-footer.bv-v217-footer *, .site-footer.bv-v217-footer *::before, .site-footer.bv-v217-footer *::after{box-sizing:border-box}
