/* Doctor demo footer desktop alignment and social-share controls, r5. */
@media(min-width:981px){
 .theme-doctor_practice .merchant-doctor-practice-footer{
   display:grid!important;grid-template-columns:minmax(235px,1fr) max-content!important;
   grid-template-rows:auto auto!important;column-gap:22px!important;row-gap:14px!important;
   align-items:start!important;justify-content:space-between!important;
   box-sizing:border-box!important;
 }
 .theme-doctor_practice .merchant-doctor-practice-footer>div:first-child{
   grid-column:1!important;grid-row:1 / span 2!important;min-width:0!important;
 }
 .theme-doctor_practice .merchant-doctor-practice-footer>div:nth-child(2){
   grid-column:2!important;grid-row:1!important;display:flex!important;flex-direction:row!important;
   flex-wrap:nowrap!important;align-items:center!important;justify-content:flex-end!important;
   gap:clamp(8px,1vw,14px)!important;width:max-content!important;max-width:100%!important;
 }
 .theme-doctor_practice .merchant-doctor-practice-footer>div:nth-child(2) a{
   display:inline-flex!important;white-space:nowrap!important;flex:0 0 auto!important;
   padding:0!important;margin:0!important;font-size:11px!important;line-height:1.5!important;text-decoration:none!important;
 }
 .theme-doctor_practice .merchant-doctor-practice-footer>.doctor-footer-powered-social{
   grid-column:2!important;grid-row:2!important;justify-self:end!important;
 }
}
.theme-doctor_practice .merchant-doctor-practice-footer>.doctor-footer-powered-social{
 display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;align-items:center!important;
 justify-content:flex-end!important;gap:12px!important;min-width:0!important;
}
.theme-doctor_practice .merchant-doctor-practice-footer .doctor-footer-powered-social>small{
 display:inline-block!important;margin:0!important;white-space:nowrap!important;font-size:10px!important;color:#e0ecff!important;
}
.theme-doctor_practice .merchant-doctor-practice-footer .doctor-footer-social-links{
 display:inline-flex!important;align-items:center!important;justify-content:flex-end!important;gap:7px!important;
}
.theme-doctor_practice .merchant-doctor-practice-footer .doctor-footer-social-links a{
 display:inline-flex!important;align-items:center!important;justify-content:center!important;
 width:30px!important;height:30px!important;padding:0!important;border:1px solid rgba(220,234,255,.4)!important;
 border-radius:10px!important;background:rgba(255,255,255,.08)!important;color:#fff!important;
 line-height:1!important;text-decoration:none!important;transition:background .18s ease,border-color .18s ease!important;
}
.theme-doctor_practice .merchant-doctor-practice-footer .doctor-footer-social-links a:hover,
.theme-doctor_practice .merchant-doctor-practice-footer .doctor-footer-social-links a:focus-visible{
 background:rgba(255,255,255,.22)!important;border-color:#fff!important;outline-offset:3px!important;
}
.theme-doctor_practice .merchant-doctor-practice-footer .doctor-footer-social-links svg{
 display:block;width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.9;
 stroke-linecap:round;stroke-linejoin:round;
}
@media(min-width:621px) and (max-width:980px){
 .theme-doctor_practice .merchant-doctor-practice-footer{display:flex!important;flex-wrap:wrap!important;gap:18px!important;justify-content:space-between!important;}
 .theme-doctor_practice .merchant-doctor-practice-footer>div:nth-child(2){display:flex!important;flex-wrap:wrap!important;gap:12px!important;}
 .theme-doctor_practice .merchant-doctor-practice-footer>.doctor-footer-powered-social{width:100%!important;justify-content:flex-end!important;}
}
@media(max-width:620px){
 .theme-doctor_practice .merchant-doctor-practice-footer>.doctor-footer-powered-social{justify-content:center!important;gap:10px!important;margin-top:4px!important;}
 .theme-doctor_practice .merchant-doctor-practice-footer .doctor-footer-social-links a{width:32px!important;height:32px!important;}
}

/* Doctor footer r5 mobile parity: prevent compressed three-column footer. */
@media(max-width:620px){
 .theme-doctor_practice .merchant-doctor-practice-footer{
   display:flex!important;flex-direction:column!important;align-items:stretch!important;
   justify-content:flex-start!important;gap:20px!important;
 }
 .theme-doctor_practice .merchant-doctor-practice-footer>div:first-child{
   width:100%!important;min-width:0!important;
 }
 .theme-doctor_practice .merchant-doctor-practice-footer>div:nth-child(2){
   display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
   gap:12px 18px!important;width:100%!important;min-width:0!important;
   justify-content:start!important;align-items:start!important;
 }
 .theme-doctor_practice .merchant-doctor-practice-footer>div:nth-child(2) a{
   display:block!important;width:auto!important;max-width:100%!important;
   white-space:normal!important;line-height:1.45!important;font-size:11px!important;
 }
 .theme-doctor_practice .merchant-doctor-practice-footer>.doctor-footer-powered-social{
   display:flex!important;width:100%!important;flex-direction:row!important;
   flex-wrap:wrap!important;justify-content:flex-start!important;
   gap:10px!important;margin:0!important;
 }
}


/* Doctor PWA R6: reduce empty gap between final CTA and footer. */
@media(max-width:620px){
  .merchant-themed-store.theme-doctor_practice main{
    padding-bottom:0!important;
  }
  .merchant-themed-store.theme-doctor_practice .doctor-practice-final-cta{
    margin-bottom:16px!important;
  }
}

