/* Venoramed Homepage Critical Bundle — Performance Phase 2 */

/* ---- global.css ---- */
:root{
  --primary:#7B4DFF;
  --primary-dark:#5830D8;
  --secondary:#2ED6FF;
  --accent:#00D9A6;
  --success:#18B981;
  --warning:#F59E0B;
  --error:#EF4444;
  --dark:#111827;
  --text:#1F2937;
  --muted:#6B7280;
  --soft:#F8FAFC;
  --surface:#FFFFFF;
  --border:#E5E7EB;
  --border-strong:#D7DCE5;
  --shadow-sm:0 6px 22px rgba(17,24,39,.07);
  --shadow-md:0 14px 40px rgba(17,24,39,.10);
  --shadow-lg:0 24px 70px rgba(17,24,39,.14);
  --radius-sm:12px;
  --radius-md:16px;
  --radius-lg:24px;
  --radius-xl:32px;
  --container:1280px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:var(--soft);color:var(--dark);min-height:100vh;overflow-x:hidden}
a{text-decoration:none;color:inherit}
button,input,select{font:inherit}
button{cursor:pointer}
img{max-width:100%}
.vr-container{width:min(var(--container),calc(100% - 40px));margin-inline:auto}
.vr-section{position:relative}
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.vr-btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;border-radius:14px;padding:13px 20px;font-weight:600;border:0;line-height:1;transition:transform .25s ease,box-shadow .25s ease,filter .25s ease,border-color .25s ease,background .25s ease;white-space:nowrap}
.vr-btn--primary,.vr-btn--search{color:#fff;background:var(--primary);box-shadow:0 14px 32px rgba(123,77,255,.18)}
.vr-btn--primary:hover,.vr-btn--search:hover{background:var(--primary-dark)}
.vr-btn--secondary{background:var(--secondary);color:#fff;border:1px solid var(--secondary);box-shadow:0 10px 24px rgba(46,214,255,.18)}
.vr-btn--secondary:hover{background:#1FC5ED;border-color:#1FC5ED}
.vr-btn:hover{transform:translateY(-2px)}
.vr-btn:active{transform:translateY(0)}
.vr-reveal{animation:vrFadeUp .72s cubic-bezier(.2,.7,.2,1) both}.vr-reveal--delay{animation-delay:.14s}
@keyframes vrFadeUp{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:translateY(0)}}
.vr-whatsapp{position:fixed;right:24px;bottom:24px;z-index:60;width:58px;height:58px;display:inline-flex;align-items:center;justify-content:center;background:#25D366;color:#fff;border-radius:999px;font-weight:600;box-shadow:0 18px 44px rgba(37,211,102,.38);transition:transform .25s ease,box-shadow .25s ease}
.vr-whatsapp:before,.vr-whatsapp:after{content:"";position:absolute;inset:-7px;border-radius:999px;border:1px solid rgba(37,211,102,.46);animation:vrWhatsappPulse 1.9s ease-out infinite}.vr-whatsapp:after{animation-delay:.65s}.vr-whatsapp i{font-size:27px;position:relative;z-index:2}.vr-whatsapp:hover{transform:translateY(-4px);box-shadow:0 22px 55px rgba(37,211,102,.45)}
@keyframes vrWhatsappPulse{0%{opacity:.72;transform:scale(.88)}80%,100%{opacity:0;transform:scale(1.32)}}


/* ---- header.css ---- */
.vr-header{position:sticky;top:0;z-index:50;background:rgba(248,250,252,.78);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);border-bottom:1px solid rgba(229,231,235,.75);transition:box-shadow .25s ease,background .25s ease}
.vr-header.is-scrolled{background:rgba(255,255,255,.9);box-shadow:0 12px 34px rgba(17,24,39,.08)}
.vr-header__inner{height:82px;display:flex;align-items:center;gap:30px}
.vr-logo{display:inline-flex;align-items:center;flex:0 0 auto}.vr-logo img{height:46px;display:block}
.vr-nav{display:flex;align-items:center;gap:28px;margin-left:auto}.vr-nav a{font-size:15px;font-weight:400;color:#374151;position:relative;transition:color .2s ease}.vr-nav a:hover{color:var(--primary)}
.vr-nav a:after{content:"";position:absolute;left:50%;bottom:-10px;width:22px;height:2px;border-radius:99px;background:linear-gradient(90deg,var(--primary),var(--secondary));transform:translateX(-50%) scaleX(0);transition:transform .24s ease}.vr-nav a:hover:after{transform:translateX(-50%) scaleX(1)}
.vr-header__actions{display:flex;align-items:center;gap:11px}.vr-lang,.vr-login{display:inline-flex;align-items:center;gap:8px;border:1px solid var(--border);background:#fff;border-radius:13px;padding:11px 13px;font-weight:500;color:#374151;transition:.22s ease}.vr-lang:hover,.vr-login:hover{border-color:rgba(123,77,255,.35);color:var(--primary);transform:translateY(-1px)}
.vr-header__cta{padding-inline:17px}.vr-menu-btn{display:none;background:#fff;border:1px solid var(--border);border-radius:14px;width:46px;height:46px;align-items:center;justify-content:center;flex-direction:column;gap:5px;transition:.22s ease}.vr-menu-btn:hover{border-color:var(--primary);transform:translateY(-1px)}.vr-menu-btn span{width:20px;height:2px;background:var(--dark);border-radius:2px}
.vr-mobile-backdrop{position:fixed;inset:0;background:rgba(17,24,39,.52);z-index:80;opacity:0;pointer-events:none;transition:opacity .25s ease}.vr-mobile-backdrop.is-open{opacity:1;pointer-events:auto}
.vr-mobile-menu{position:fixed;top:0;right:0;width:min(386px,90vw);height:100vh;background:#fff;z-index:90;padding:24px;transform:translateX(105%);transition:transform .34s cubic-bezier(.2,.75,.2,1);box-shadow:-26px 0 70px rgba(17,24,39,.20);display:flex;flex-direction:column}.vr-mobile-menu.is-open{transform:translateX(0)}
.vr-mobile-menu__top{display:flex;align-items:center;justify-content:space-between;margin-bottom:28px}.vr-mobile-menu__top img{height:44px}.vr-mobile-menu__top button{font-size:34px;background:transparent;border:0;line-height:1;color:var(--dark)}
.vr-mobile-menu nav{display:grid;gap:8px}.vr-mobile-menu nav a{display:flex;align-items:center;gap:12px;font-weight:500;font-size:17px;padding:14px 10px;border-radius:14px;color:#374151;transition:.2s ease}.vr-mobile-menu nav a:hover{background:rgba(123,77,255,.08);color:var(--primary)}.vr-mobile-menu nav i{width:20px;color:var(--primary)}
.vr-mobile-menu__actions{margin-top:auto;display:grid;gap:12px;padding-top:24px}

/* Phase 10.1.8: Logo orientation refinement
   Venoramed logo source ratio: 196x133. Keep original aspect ratio and control by height. */
.vr-logo,
.vr-logo .custom-logo-link{
    min-width:max-content;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    line-height:0;
}

.vr-logo img,
.vr-logo .custom-logo,
.vr-mobile-menu__top img{
    width:auto!important;
    object-fit:contain;
    object-position:center;
    display:block;
    flex:0 0 auto;
}

.vr-logo img,
.vr-logo .custom-logo{
    height:66px!important;
    max-height:66px!important;
    max-width:112px!important;
}

.vr-mobile-menu__top img{
    height:58px!important;
    max-height:58px!important;
    max-width:98px!important;
}

@media(max-width:1024px){
    .vr-header__inner{height:82px}
    .vr-logo img,
    .vr-logo .custom-logo{
        height:58px!important;
        max-height:58px!important;
        max-width:98px!important;
    }
}

@media(max-width:767px){
    .vr-header__inner{height:76px}
    .vr-logo img,
    .vr-logo .custom-logo{
        height:52px!important;
        max-height:52px!important;
        max-width:88px!important;
    }
    .vr-mobile-menu__top img{
        height:54px!important;
        max-height:54px!important;
        max-width:92px!important;
    }
}

/* Phase 11.0.5: Header menus now read from WordPress Appearance > Menus. */
.vr-menu-list{list-style:none;margin:0;padding:0;display:flex;align-items:center;gap:28px}
.vr-menu-list li{margin:0;padding:0;position:relative}
.vr-menu-list a{text-decoration:none}
.vr-nav .vr-menu-list{display:flex;align-items:center;gap:28px}
.vr-nav .menu-item-has-children > a{padding-right:16px}
.vr-nav .menu-item-has-children > a:before{content:"";position:absolute;right:0;top:50%;width:7px;height:7px;border-right:1.7px solid currentColor;border-bottom:1.7px solid currentColor;transform:translateY(-65%) rotate(45deg);opacity:.72}
.vr-nav .sub-menu{list-style:none;margin:0;padding:10px;position:absolute;top:calc(100% + 14px);left:50%;min-width:220px;background:#fff;border:1px solid rgba(229,231,235,.9);border-radius:18px;box-shadow:0 24px 60px rgba(15,23,42,.14);opacity:0;visibility:hidden;transform:translate(-50%,8px);transition:.22s ease;z-index:100;display:grid;gap:4px}
.vr-nav .menu-item-has-children:hover > .sub-menu,
.vr-nav .menu-item-has-children:focus-within > .sub-menu{opacity:1;visibility:visible;transform:translate(-50%,0)}
.vr-nav .sub-menu a{display:block;padding:10px 12px;border-radius:12px;white-space:nowrap;font-size:14px}
.vr-nav .sub-menu a:hover{background:rgba(123,77,255,.08)}
.vr-nav .sub-menu a:after{display:none}
.vr-mobile-menu nav .vr-menu-list{display:grid;gap:8px;width:100%}
.vr-mobile-menu nav .vr-menu-list a{display:flex;align-items:center;gap:12px;font-weight:500;font-size:17px;padding:14px 10px;border-radius:14px;color:#374151;transition:.2s ease}
.vr-mobile-menu nav .vr-menu-list a:hover{background:rgba(123,77,255,.08);color:var(--primary)}
.vr-mobile-menu nav .sub-menu{list-style:none;margin:4px 0 8px 14px;padding:0 0 0 10px;border-left:1px solid rgba(123,77,255,.18);display:grid;gap:4px}
.vr-mobile-menu nav .sub-menu a{font-size:15px;padding:10px 12px}

@media(max-width:1100px){
    .vr-nav{display:none}
    .vr-header__actions{display:none}
    .vr-menu-btn{display:flex;margin-left:auto}
}

/* Phase 11.0.6: Desktop header action buttons compacted into icons.
   Only Add Doctor keeps its text label on desktop. Mobile menu actions remain unchanged. */
@media(min-width:1101px){
    .vr-header__actions{
        gap:8px;
        flex:0 0 auto;
    }
    .vr-header__actions .vr-header-icon-btn{
        width:44px;
        height:44px;
        padding:0!important;
        justify-content:center;
        border-radius:14px;
        flex:0 0 44px;
    }
    .vr-header__actions .vr-header-icon-btn .vr-action-text{
        position:absolute!important;
        width:1px!important;
        height:1px!important;
        padding:0!important;
        margin:-1px!important;
        overflow:hidden!important;
        clip:rect(0,0,0,0)!important;
        white-space:nowrap!important;
        border:0!important;
    }
    .vr-header__actions .vr-header-icon-btn i{
        font-size:15px;
        line-height:1;
    }
    .vr-header__actions .vr-header__cta{
        min-height:44px;
        white-space:nowrap;
        padding-inline:16px;
        flex:0 0 auto;
    }
}


/* ---- responsive.css ---- */
@media (max-width:1180px){
  .vr-nav,.vr-header__actions{display:none}.vr-menu-btn{display:flex;margin-left:auto}.vr-hero{min-height:auto;padding:78px 0 82px;background-position:center right;background-image:linear-gradient(90deg,rgba(8,7,28,.97) 0%,rgba(21,12,64,.90) 48%,rgba(63,31,138,.58) 78%,rgba(12,17,35,.36) 100%),url('../images/hero-venoramed-marketplace.webp')}.vr-hero__content{max-width:920px}.vr-search-card__grid{grid-template-columns:1fr 1fr}.vr-btn--search{grid-column:1/-1}
}
@media (max-width:760px){
  .vr-container{width:min(100% - 24px,var(--container))}.vr-header__inner{height:72px}.vr-logo img{height:40px}.vr-hero{padding:48px 0 70px;background-position:67% center;background-image:linear-gradient(180deg,rgba(8,7,28,.96) 0%,rgba(20,13,56,.90) 62%,rgba(28,19,76,.80) 100%),url('../images/hero-venoramed-marketplace.webp')}.vr-eyebrow{font-size:12px;margin-bottom:18px}.vr-hero h1{font-size:42px;letter-spacing:-.045em}.vr-hero__lead{font-size:16px;line-height:1.65;margin-bottom:24px}.vr-search-card{border-radius:24px;padding:14px}.vr-search-card__topline{display:block}.vr-search-card__topline span{display:block;margin-top:6px}.vr-search-card__badge{margin-top:12px}.vr-search-card__grid{grid-template-columns:1fr}.vr-field--advanced{display:none}.vr-search-card.is-advanced-open .vr-field--advanced{display:block}.vr-select__menu{max-height:230px}.vr-advanced-toggle{display:flex}.vr-btn--search{height:58px}.vr-quick-links{gap:8px}.vr-quick-links span{width:100%}.vr-hero__trustline{display:grid;gap:6px}.vr-whatsapp{right:14px;bottom:16px;width:54px;height:54px}.vr-whatsapp i{font-size:25px}.vr-mobile-menu{padding:20px}
}
@media (max-width:430px){
  .vr-hero h1{font-size:36px}.vr-hero{padding-top:40px}.vr-search-card__topline strong{font-size:14px}.vr-field{padding:12px}.vr-quick-links a{font-size:13px;padding:8px 11px}
}
@media (prefers-reduced-motion:reduce){
  *{animation:none!important;transition:none!important;scroll-behavior:auto!important}
}

@media (max-width:1180px){
  .vr-featured-doctors{padding:78px 0 84px}
  .vr-doctor-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:760px){
  .vr-featured-doctors{padding:58px 0 66px}
  .vr-section-head{display:block;margin-bottom:22px}
  .vr-section-head__action{margin-top:16px;padding-left:0}
  .vr-doctor-tabs{margin-left:-2px;margin-right:-2px;padding-bottom:14px;margin-bottom:24px}
  .vr-doctor-grid{display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;padding:4px 4px 18px;margin-inline:-4px;scrollbar-width:none}
  .vr-doctor-grid::-webkit-scrollbar{display:none}
  .vr-doctor-card{width:100%;min-width:100%;max-width:100%;flex:0 0 100%;scroll-snap-align:start}
  .vr-featured-note{display:block;padding:18px}
  .vr-featured-note a{display:inline-flex;margin-top:12px}
}
@media (max-width:430px){
  .vr-doctor-card{width:100%;min-width:100%;max-width:100%;flex:0 0 100%}
  .vr-doctor-card__footer{align-items:flex-start;flex-direction:column}
  .vr-doctor-card__cta{width:100%}
}


/* Phase 10.1.6 — keep homepage doctors carousel full-width on mobile. */
@media (max-width:767px){
  .vr-featured-doctors .vr-doctors-carousel__slide{
    flex:0 0 100%!important;
    width:100%!important;
    min-width:100%!important;
    max-width:100%!important;
  }
  .vr-featured-doctors .vr-doctors-carousel__slide .vr-doctor-card{
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
  }
}


/* ---- mobile-stability.css ---- */

/* Venoramed Theme V6.1 - Mobile Stability Patch
   Goal: keep the Home V20 / Doctor Profile design intact while preventing mobile overflow,
   scroll jank and animation-related layout breaks. No new sections, no design rewrite. */

html,
body{
  max-width:100%;
  overflow-x:hidden;
}

*,*::before,*::after{
  box-sizing:border-box;
}

img,video,svg,canvas,iframe{
  max-width:100%;
}

.vr-page,
.vr-site,
.vr-container,
.vr-section,
.vr-final-section,
.vr-doctor-shell,
.vr-profile-card,
.vr-hero,
.vr-header,
.vr-footer{
  max-width:100%;
}

.vr-container{
  overflow:visible;
}

.vr-mobile-menu{
  max-width:100%;
}

.vr-menu-backdrop,
.vr-video-modal,
.vr-scroll-progress{
  max-width:100vw;
}

.vr-select__menu,
.vr-mobile-menu,
.vr-video-modal__dialog{
  overscroll-behavior:contain;
}

/* Keep horizontal components contained instead of allowing the page itself to overflow. */
.vr-doctor-tabs,
.vr-doc-anchor-nav,
.vr-logo-marquee,
.vr-doctor-grid{
  max-width:100%;
  overflow-x:auto;
  overflow-y:hidden;
  -webkit-overflow-scrolling:touch;
}

.vr-logo-marquee,
.vr-treatment-card,
.vr-doctor-card,
.vr-testimonial-card,
.vr-blog-card,
.vr-result-case,
.vr-profile-card{
  contain:layout paint;
}

@media (max-width: 768px){
  html,
  body{
    width:100%;
    max-width:100%;
    overflow-x:hidden!important;
    scroll-behavior:auto;
  }

  body{
    animation:none!important;
  }

  /* Mobile priority: stability and performance over decorative motion. */
  .vr-animate,
  .vr-animate--left,
  .vr-animate--right,
  .vr-animate-step,
  .vr-process-card,
  .vr-vip-panel,
  .vr-testimonial-card,
  .vr-network-grid,
  .vr-blog-card,
  .vr-partners{
    opacity:1!important;
    transform:none!important;
    filter:none!important;
    transition:none!important;
    will-change:auto!important;
  }

  .vr-hero,
  .vr-final-section,
  .vr-vip-experience,
  .vr-final-cta,
  .vr-trust,
  .vr-process,
  .vr-network,
  .vr-footer,
  .vr-doctor-shell{
    overflow:hidden;
  }

  .vr-hero::after,
  .vr-hero__shine,
  .vr-vip-experience::before,
  .vr-vip-experience::after,
  .vr-final-cta::before,
  .vr-process::before,
  .vr-trust::before,
  .vr-trust::after,
  .vr-footer::before,
  .vr-footer::after{
    display:none!important;
    animation:none!important;
  }

  .vr-whatsapp,
  .vr-logo-track,
  .vr-play-pulse,
  .vr-footer{
    animation:none!important;
  }

  .vr-logo-track{
    transform:none!important;
  }

  .vr-scroll-progress{
    display:none!important;
  }

  .vr-container{
    width:calc(100% - 24px)!important;
    max-width:calc(100% - 24px)!important;
  }

  .vr-search-card,
  .vr-vip-panel,
  .vr-final-cta__box,
  .vr-partnership-form,
  .vr-profile-card,
  .vr-doctor-form,
  .vr-pricing-panel,
  .vr-clinic-premium-content{
    max-width:100%;
  }

  .vr-search-card__grid,
  .vr-process-grid,
  .vr-vip-panel,
  .vr-testimonial-grid,
  .vr-blog-grid,
  .vr-network-grid,
  .vr-form-grid,
  .vr-final-cta__box,
  .vr-doctor-hero,
  .vr-quick-facts,
  .vr-card-grid,
  .vr-results-grid,
  .vr-video-grid,
  .vr-services-grid,
  .vr-related-grid,
  .vr-clinic-card,
  .vr-pricing-panel{
    grid-template-columns:1fr!important;
  }

  .vr-vip-benefits,
  .vr-network-benefits{
    grid-template-columns:1fr!important;
  }

  .vr-doctor-grid{
    margin-left:0!important;
    margin-right:0!important;
    padding-left:0!important;
    padding-right:0!important;
    width:100%;
  }

  .vr-doctor-grid{
    gap:5px!important;
  }

  .vr-doctor-card{
    width:100%!important;
    min-width:100%!important;
    max-width:100%!important;
    flex:0 0 100%!important;
  }

  .vr-btn,
  .vr-final-cta__actions .vr-btn,
  .vr-vip-actions .vr-btn,
  .vr-doctor-hero__actions .vr-btn{
    max-width:100%;
  }

  .vr-btn::after,
  .vr-tab::after{
    display:none!important;
  }

  .vr-doctor-card:hover,
  .vr-treatment-card:hover,
  .vr-trust-card:hover,
  .vr-journey-step:hover,
  .vr-process-card:hover,
  .vr-testimonial-card:hover,
  .vr-blog-card:hover,
  .vr-info-card:hover,
  .vr-fact-card:hover,
  .vr-result-case:hover,
  .vr-service-premium-card:hover,
  .vr-footer-cta:hover,
  .vr-search-card:hover,
  .vr-premium-consultation__visual:hover img,
  .vr-vip-panel__visual:hover img,
  .vr-treatment-card:hover .vr-treatment-card__media img,
  .vr-doctor-card:hover .vr-doctor-card__media img,
  .vr-blog-card:hover .vr-blog-card__media img,
  .vr-testimonial-card:hover .vr-testimonial-card__media img{
    transform:none!important;
  }

  .vr-doctor-card__media img,
  .vr-treatment-card__media img,
  .vr-blog-card__media img,
  .vr-testimonial-card__media img,
  .vr-vip-panel__visual img,
  .vr-premium-consultation__visual img{
    transition:none!important;
  }

  .vr-video-modal{
    padding:14px;
  }

  .vr-video-modal__dialog{
    width:100%;
    max-width:100%;
    border-radius:22px;
  }

  .vr-doc-anchor-nav{
    margin-left:0!important;
    margin-right:0!important;
    padding-bottom:8px;
  }

  .vr-mobile-menu{
    width:min(360px,92vw)!important;
  }
}

@media (max-width: 430px){
  .vr-container{
    width:calc(100% - 20px)!important;
    max-width:calc(100% - 20px)!important;
  }

  .vr-doctor-card{
    min-width:90%!important;
    max-width:90%!important;
    flex-basis:90%!important;
  }

  .vr-final-section,
  .vr-featured-doctors,
  .vr-treatments,
  .vr-trust,
  .vr-faq{
    padding-left:0!important;
    padding-right:0!important;
  }
}


/* Phase 11.0.21 - Mobile Scroll Reveal Disable
   On mobile, all scroll reveal and decorative entrance animations are disabled
   to prevent layout jump / section breaking while scrolling. */
@media (max-width: 768px){
  .vr-reveal,
  .vr-reveal--delay,
  .vr-animate,
  .vr-animate.is-visible,
  .vr-animate--left,
  .vr-animate--right,
  .vr-animate-step,
  .vr-animate-step.is-visible,
  [class*="vr-animate"]{
    opacity:1!important;
    visibility:visible!important;
    transform:none!important;
    filter:none!important;
    animation:none!important;
    transition:none!important;
    will-change:auto!important;
  }

  body,
  .vr-page,
  .vr-site{
    animation:none!important;
  }

  .vr-hero,
  .vr-hero[style]{
    background-position:center center!important;
  }

  .vr-hero__shine,
  .vr-scroll-progress{
    display:none!important;
  }

  .vr-section,
  .vr-final-section,
  .vr-profile-card,
  .vr-doctor-card,
  .vr-treatment-card,
  .vr-search-card,
  .vr-footer-cta{
    content-visibility:visible!important;
    contain-intrinsic-size:auto!important;
  }
}


/* ---- hero.css ---- */
.vr-hero{
  min-height:calc(100vh - 82px);
  padding:92px 0 82px;
  overflow:visible;
  isolation:isolate;
  display:flex;
  align-items:center;
  background-image:
    linear-gradient(90deg,rgba(8,7,28,.96) 0%,rgba(21,12,64,.88) 42%,rgba(63,31,138,.55) 68%,rgba(12,17,35,.28) 100%),
    radial-gradient(circle at 18% 34%,rgba(123,77,255,.45),transparent 34%),
    url('../images/hero-venoramed-marketplace.webp');
  background-size:cover;
  background-position:center right;
  background-repeat:no-repeat;
}
.vr-hero__overlay{position:absolute;inset:0;z-index:-2;background:linear-gradient(180deg,rgba(11,7,38,.08) 0%,rgba(12,16,34,.38) 74%,rgba(248,250,252,.94) 100%)}
.vr-hero__shine{position:absolute;border-radius:999px;filter:blur(3px);opacity:.75;z-index:-1;pointer-events:none}.vr-hero__shine--one{width:560px;height:560px;left:-190px;top:40px;background:radial-gradient(circle,rgba(123,77,255,.28),transparent 68%)}.vr-hero__shine--two{width:420px;height:420px;right:8%;bottom:44px;background:radial-gradient(circle,rgba(46,214,255,.18),transparent 70%)}
.vr-hero__inner{position:relative;z-index:2}.vr-hero__content{max-width:1030px}.vr-eyebrow{display:inline-flex;align-items:center;gap:9px;padding:10px 15px;border-radius:999px;background:rgba(255,255,255,.11);color:#EDE9FE;font-weight:500;font-size:14px;margin-bottom:20px;border:1px solid rgba(255,255,255,.18);box-shadow:0 10px 26px rgba(0,0,0,.12);backdrop-filter:blur(12px)}.vr-eyebrow i{color:var(--accent)}
.vr-hero h1{font-size:clamp(44px,5vw,70px);line-height:.98;margin:0 0 18px;letter-spacing:-.06em;max-width:760px;color:#fff;text-shadow:0 18px 48px rgba(0,0,0,.32)}.vr-hero__lead{font-size:19px;line-height:1.55;color:rgba(255,255,255,.78);max-width:560px;margin:0 0 28px;font-weight:400}
.vr-search-card{background:rgba(255,255,255,.92);border:1px solid rgba(255,255,255,.68);box-shadow:0 28px 85px rgba(0,0,0,.28);border-radius:30px;padding:16px;max-width:1060px;position:relative;z-index:5;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}.vr-search-card:before{content:"";position:absolute;inset:0;border-radius:30px;padding:1px;background:linear-gradient(135deg,rgba(255,255,255,.55),rgba(123,77,255,.30),rgba(46,214,255,.20));-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask-composite:exclude;pointer-events:none}
.vr-search-card__topline{display:flex;justify-content:space-between;gap:18px;align-items:center;padding:4px 4px 15px;color:var(--muted);font-size:13px}.vr-search-card__topline strong{display:block;color:var(--dark);font-size:15px;margin-bottom:3px;font-weight:600}.vr-search-card__badge{display:inline-flex;align-items:center;gap:8px;padding:9px 12px;border-radius:999px;background:rgba(0,217,166,.10);color:#06795E;font-weight:600;white-space:nowrap}.vr-search-card__badge i{color:var(--accent)}
.vr-search-card__grid{display:grid;grid-template-columns:1.18fr .9fr .85fr .72fr auto;gap:10px;align-items:end}.vr-field{background:rgba(255,255,255,.96);border:1px solid rgba(229,231,235,.98);border-radius:18px;padding:13px 14px;transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease;background-clip:padding-box;min-width:0;position:relative}.vr-field:hover{border-color:var(--border-strong)}.vr-field:focus-within,.vr-field.is-open{border-color:var(--primary);box-shadow:0 0 0 4px rgba(123,77,255,.11);transform:translateY(-1px)}
.vr-field span{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:500;color:var(--muted);margin-bottom:7px}.vr-field span i{color:var(--primary);font-size:13px}.vr-btn--search{height:66px;padding-inline:25px;border-radius:18px;font-size:15px;box-shadow:0 18px 38px rgba(123,77,255,.20)}
.vr-select__button{width:100%;border:0;background:transparent;padding:0;display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--dark);text-align:left}.vr-select__button strong{font-weight:500;font-size:15px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.vr-select__button i{font-size:12px;color:#6B7280;transition:transform .2s ease,color .2s ease}.vr-field.is-open .vr-select__button i{transform:rotate(180deg);color:var(--primary)}
.vr-select__menu{position:absolute;left:0;right:0;top:calc(100% + 10px);z-index:30;background:#fff;border:1px solid rgba(215,220,229,.95);border-radius:18px;box-shadow:0 22px 55px rgba(17,24,39,.16);padding:8px;opacity:0;visibility:hidden;transform:translateY(-6px) scale(.98);transform-origin:top;transition:opacity .18s ease,visibility .18s ease,transform .18s ease;max-height:272px;overflow:auto}.vr-field.is-open .vr-select__menu{opacity:1;visibility:visible;transform:translateY(0) scale(1)}.vr-select__menu button{width:100%;border:0;background:transparent;border-radius:12px;padding:11px 12px;text-align:left;color:#374151;font-weight:400;display:flex;align-items:center;justify-content:space-between;gap:10px;transition:background .18s ease,color .18s ease}.vr-select__menu button:hover{background:rgba(123,77,255,.08);color:var(--primary)}.vr-select__menu button[aria-selected="true"]{background:linear-gradient(135deg,rgba(123,77,255,.12),rgba(46,214,255,.10));color:var(--primary)}.vr-select__menu button[aria-selected="true"]:after{content:"\f00c";font-family:"Font Awesome 6 Free";font-weight:900;font-size:12px;color:var(--accent)}
.vr-advanced-toggle{display:none;margin:12px 4px 0;border:0;background:rgba(123,77,255,.08);color:var(--primary);border-radius:14px;padding:12px 14px;font-weight:600;width:calc(100% - 8px);align-items:center;justify-content:center;gap:9px}.vr-quick-links{display:flex;gap:10px;align-items:center;margin-top:18px;color:rgba(255,255,255,.74);font-weight:400;flex-wrap:wrap}.vr-quick-links a{display:inline-flex;align-items:center;gap:8px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.16);padding:9px 13px;border-radius:999px;color:#fff;transition:.22s ease;box-shadow:0 8px 18px rgba(0,0,0,.08);backdrop-filter:blur(12px)}.vr-quick-links a:hover{border-color:rgba(255,255,255,.34);background:rgba(255,255,255,.18);transform:translateY(-2px)}
.vr-hero__trustline{display:flex;gap:18px;flex-wrap:wrap;margin-top:22px;color:rgba(255,255,255,.82);font-weight:500;font-size:14px}.vr-hero__trustline span{display:inline-flex;align-items:center;gap:8px;padding:9px 0}.vr-hero__trustline i{color:var(--accent)}

/* V13: keep custom dropdown menus above stacked mobile fields */
.vr-search-card,
.vr-search-card__grid{position:relative;z-index:20;overflow:visible}
.vr-field{z-index:1}
.vr-field.is-open{z-index:1000}
.vr-select__menu{z-index:1001}

/* Phase 7.1-7.3: editable hero + functional search */
.vr-hero{
  background-image:
    linear-gradient(90deg,rgba(8,7,28,.96) 0%,rgba(21,12,64,.88) 42%,rgba(63,31,138,.55) 68%,rgba(12,17,35,.28) 100%),
    radial-gradient(circle at 18% 34%,rgba(123,77,255,.45),transparent 34%),
    var(--vr-hero-bg, url('../images/hero-venoramed-marketplace.webp'));
}
.vr-search-card__grid--hero-functional{grid-template-columns:1.15fr 1fr .9fr auto}
.vr-field--search input{width:100%;border:0;background:transparent;color:var(--dark);font-size:15px;font-weight:500;outline:0;padding:0;min-height:20px}
.vr-field--search input::placeholder{color:#9CA3AF;font-weight:400}
@media (max-width: 980px){.vr-search-card__grid--hero-functional{grid-template-columns:1fr 1fr}.vr-search-card__grid--hero-functional .vr-btn--search{grid-column:1/-1}}
@media (max-width: 640px){.vr-search-card__grid--hero-functional{grid-template-columns:1fr}}

/* Phase 11.0.27 — Homepage Hero LCP image fix
   The main hero visual is now a real HTML image so Lighthouse can discover it early. */
.vr-hero{
  position:relative;
  background:#0b1020;
  background-image:none!important;
}
.vr-hero__bg{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center right;
  z-index:0;
  pointer-events:none;
  user-select:none;
}
.vr-hero__overlay{
  z-index:1!important;
  background:
    linear-gradient(90deg,rgba(8,7,28,.96) 0%,rgba(21,12,64,.88) 42%,rgba(63,31,138,.55) 68%,rgba(12,17,35,.28) 100%),
    radial-gradient(circle at 18% 34%,rgba(123,77,255,.45),transparent 34%),
    linear-gradient(180deg,rgba(11,7,38,.08) 0%,rgba(12,16,34,.38) 74%,rgba(248,250,252,.94) 100%);
}
.vr-hero__shine{z-index:1!important}
.vr-hero__inner{position:relative;z-index:2}
@media (max-width: 640px){
  .vr-hero__bg{object-position:67% center}
  .vr-hero__overlay{
    background:
      linear-gradient(180deg,rgba(8,7,28,.96) 0%,rgba(20,13,56,.90) 62%,rgba(28,19,76,.80) 100%),
      linear-gradient(180deg,rgba(11,7,38,.08) 0%,rgba(12,16,34,.38) 74%,rgba(248,250,252,.94) 100%);
  }
}


/* ---- search-ui.css ---- */
/* Phase 7.9: Search UI Consistency
   Keeps existing search logic intact while normalizing the home hero and doctors listing filter UI. */

.vr-search-card--compact{
  width:max-content;
  max-width:100%;
  margin-left:0;
  margin-right:auto;
  text-align:left;
  padding:16px;
  border-radius:28px;
}

.vr-search-card--compact .vr-search-card__topline{
  justify-content:flex-start;
  text-align:left;
}

.vr-search-card--compact .vr-search-card__topline > div:first-child{
  min-width:0;
}

.vr-search-card--compact .vr-search-card__badge{
  margin-left:auto;
}

.vr-search-card__grid--single-row{
  display:grid;
  grid-template-columns:minmax(280px,320px) minmax(190px,220px) minmax(165px,190px) minmax(170px,190px);
  gap:10px;
  align-items:stretch;
  justify-content:start;
}

.vr-search-card--hero .vr-search-card__grid--single-row{
  grid-template-columns:minmax(300px,340px) minmax(205px,230px) minmax(160px,190px) minmax(180px,200px);
}

.vr-search-card--listing .vr-search-card__grid--listing{
  grid-template-columns:minmax(250px,300px) minmax(180px,210px) minmax(180px,210px) minmax(155px,180px) minmax(175px,195px);
}

.vr-search-card--compact .vr-field,
.vr-search-card--compact .vr-btn--search{
  min-height:62px;
}

.vr-search-card--compact .vr-btn--search{
  width:100%;
  height:100%;
  min-width:0;
  padding-inline:18px;
  justify-content:center;
  white-space:nowrap;
}

.vr-search-card--compact .vr-field span,
.vr-search-card--compact .vr-select__button,
.vr-search-card--compact .vr-field--search input{
  text-align:left;
}

.vr-search-card--compact .vr-select__button{
  justify-content:space-between;
}

.vr-doctors-listing-hero .vr-hero__content,
.vr-doctors-listing-hero .vr-search-card{
  margin-left:0;
  margin-right:auto;
}

.vr-doctors-listing-hero .vr-search-card{
  margin-top:28px;
}

.vr-doctors-listing-hero .vr-hero__content{
  text-align:left;
}

.vr-doctors-listing-hero .vr-hero__content h1,
.vr-doctors-listing-hero .vr-hero__content p{
  margin-left:0;
  margin-right:auto;
}

/* Keep the old filter class from forcing a different layout. */
.vr-doctors-filter.vr-search-card--compact{
  display:block;
}

@media (max-width: 1180px){
  .vr-search-card--compact{
    width:100%;
  }
  .vr-search-card--hero .vr-search-card__grid--single-row,
  .vr-search-card--listing .vr-search-card__grid--listing{
    grid-template-columns:1fr 1fr;
  }
  .vr-search-card--compact .vr-btn--search{
    min-height:58px;
  }
}

@media (max-width: 720px){
  .vr-search-card--compact{
    width:100%;
    border-radius:24px;
    padding:14px;
  }
  .vr-search-card--compact .vr-search-card__topline{
    display:block;
  }
  .vr-search-card--compact .vr-search-card__badge{
    margin-left:0;
    margin-top:12px;
  }
  .vr-search-card--hero .vr-search-card__grid--single-row,
  .vr-search-card--listing .vr-search-card__grid--listing,
  .vr-search-card__grid--single-row{
    grid-template-columns:1fr;
  }
}


/* Phase 7.9.1: Listing Search Layout Fix
   Keep the listing search below the title, inside the container, above all nearby cards, and readable. */
.vr-doctors-listing-hero .vr-container{
  display:block !important;
  max-width:var(--container);
  overflow:visible;
}

.vr-doctors-listing-hero{
  overflow:visible;
  position:relative;
  z-index:20;
}

.vr-doctors-listing-hero .vr-hero__content{
  max-width:760px;
  margin-left:0;
  margin-right:auto;
  position:relative;
  z-index:21;
}

.vr-doctors-listing-hero .vr-search-card{
  width:100%;
  max-width:1120px;
  margin-top:24px;
  margin-left:0;
  margin-right:auto;
  position:relative;
  z-index:999;
  overflow:visible;
}

.vr-doctors-listing-hero .vr-search-card__grid--listing{
  grid-template-columns:minmax(220px,1.25fr) minmax(160px,.85fr) minmax(160px,.85fr) minmax(145px,.7fr) minmax(155px,.75fr);
  gap:8px;
  width:100%;
}

.vr-search-card--compact{
  padding:12px;
}

.vr-search-card--compact .vr-field,
.vr-search-card--compact .vr-btn--search{
  min-height:54px;
}

.vr-search-card--compact .vr-field{
  padding:10px 12px;
  position:relative;
  z-index:1;
}

.vr-search-card--compact .vr-field.is-open{
  z-index:1002;
}

.vr-search-card--compact .vr-field--search input,
.vr-search-card--compact input[type="search"],
.vr-search-card--compact input[type="text"]{
  color:#171433 !important;
  -webkit-text-fill-color:#171433;
  caret-color:#7b4dff;
}

.vr-search-card--compact .vr-field--search input::placeholder,
.vr-search-card--compact input[type="search"]::placeholder{
  color:#8b8fa3;
  -webkit-text-fill-color:#8b8fa3;
}

.vr-search-card--compact .vr-select__menu{
  z-index:1005;
}

.vr-search-card--compact .vr-btn--search{
  padding-inline:14px;
  font-size:14px;
}

@media (max-width:1180px){
  .vr-doctors-listing-hero .vr-search-card__grid--listing{
    grid-template-columns:1fr 1fr;
  }
}

@media (max-width:720px){
  .vr-doctors-listing-hero .vr-search-card{
    max-width:100%;
    margin-top:18px;
  }
  .vr-doctors-listing-hero .vr-search-card__grid--listing{
    grid-template-columns:1fr;
  }
}


/* Phase 11.0.13 — Doctors Listing Mobile Polish + Full-Width Cards
   Scope: /doctors listing page only. Keeps homepage doctor carousel untouched. */
.vr-doctors-listing-page{
  overflow-x:hidden;
}
.vr-doctors-listing-hero .vr-hero__content p{
  color:rgba(255,255,255,.76);
}
.vr-doctors-listing-results .vr-doctor-grid{
  align-items:stretch;
}
@media (max-width:760px){
  .vr-doctors-listing-hero{
    padding:34px 0 38px!important;
    overflow:hidden!important;
    background-position:center top!important;
  }
  .vr-doctors-listing-hero .vr-container{
    width:calc(100% - 28px)!important;
    max-width:calc(100% - 28px)!important;
    overflow:visible!important;
  }
  .vr-doctors-listing-hero .vr-eyebrow{
    max-width:100%;
    margin-bottom:18px;
    padding:10px 14px;
    font-size:13px;
    line-height:1.25;
    white-space:normal;
  }
  .vr-doctors-listing-hero .vr-hero__content{
    max-width:100%;
  }
  .vr-doctors-listing-hero .vr-hero__content h1{
    max-width:100%;
    font-size:clamp(38px,11.5vw,52px)!important;
    line-height:1.02!important;
    letter-spacing:-.055em;
    margin-bottom:14px;
  }
  .vr-doctors-listing-hero .vr-hero__content p{
    max-width:100%;
    font-size:15px;
    line-height:1.65;
    color:rgba(255,255,255,.78)!important;
    margin-bottom:0;
  }
  .vr-doctors-listing-hero .vr-search-card{
    margin-top:24px!important;
    padding:16px!important;
    border-radius:28px!important;
    box-shadow:0 24px 70px rgba(15,23,42,.20)!important;
  }
  .vr-doctors-listing-hero .vr-search-card__topline{
    display:flex!important;
    align-items:flex-start;
    justify-content:space-between;
    gap:12px;
  }
  .vr-doctors-listing-hero .vr-search-card__topline strong{
    font-size:17px;
    line-height:1.2;
  }
  .vr-doctors-listing-hero .vr-search-card__topline span{
    font-size:13px;
    line-height:1.45;
    margin-top:5px;
  }
  .vr-doctors-listing-hero .vr-search-card__badge{
    flex:0 0 auto;
    margin:0!important;
    padding:8px 11px;
    font-size:12px;
  }
  .vr-doctors-listing-hero .vr-search-card__grid--listing{
    gap:10px!important;
    margin-top:14px;
  }
  .vr-doctors-listing-hero .vr-search-card--compact .vr-field,
  .vr-doctors-listing-hero .vr-search-card--compact .vr-btn--search{
    min-height:58px!important;
    border-radius:20px!important;
  }
  .vr-doctors-listing-hero .vr-search-card--compact .vr-field{
    padding:11px 14px!important;
  }
  .vr-doctors-listing-hero .vr-search-card--compact .vr-field--search input,
  .vr-doctors-listing-hero .vr-search-card--compact .vr-select__button strong{
    font-size:15px;
  }
  .vr-doctors-listing-hero .vr-btn--search{
    height:58px!important;
    font-size:15px!important;
  }
  .vr-doctors-listing-results{
    overflow:hidden;
    padding-top:48px!important;
  }
  .vr-doctors-listing-results .vr-container{
    width:calc(100% - 28px)!important;
    max-width:calc(100% - 28px)!important;
  }
  .vr-doctors-listing-results .vr-section-head{
    margin-bottom:22px;
  }
  .vr-doctors-listing-results .vr-section-head h2{
    font-size:clamp(34px,10vw,46px);
    line-height:1.04;
    letter-spacing:-.05em;
  }
  .vr-doctors-listing-results .vr-section-head p{
    font-size:16px;
    line-height:1.6;
  }
  .vr-doctors-listing-results .vr-doctor-grid{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:18px!important;
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    padding:0!important;
    overflow:visible!important;
  }
  .vr-doctors-listing-results .vr-doctor-card{
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    flex:0 0 auto!important;
    margin:0!important;
    border-radius:30px!important;
  }
  .vr-doctors-listing-results .vr-doctor-card__media{
    aspect-ratio:4/3.35!important;
  }
}
@media (max-width:430px){
  .vr-doctors-listing-hero .vr-container,
  .vr-doctors-listing-results .vr-container{
    width:calc(100% - 20px)!important;
    max-width:calc(100% - 20px)!important;
  }
  .vr-doctors-listing-hero .vr-search-card{
    padding:14px!important;
    border-radius:26px!important;
  }
  .vr-doctors-listing-results .vr-doctor-card{
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    flex-basis:auto!important;
  }
}

/* Phase 11.0.14 — Doctors Listing Search Input Visual Match
   Keep the keyword search field visually identical to select fields on mobile. */
@media (max-width:760px){
  .vr-doctors-listing-hero .vr-search-card--compact .vr-field--search{
    display:flex!important;
    flex-direction:column!important;
    justify-content:center!important;
    gap:5px!important;
    min-height:58px!important;
    padding:11px 14px!important;
    border-radius:20px!important;
    background:linear-gradient(180deg,#ffffff 0%,#fbfbff 100%)!important;
    border:1px solid rgba(15,23,42,.08)!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.9),0 10px 24px rgba(15,23,42,.05)!important;
    overflow:hidden!important;
  }

  .vr-doctors-listing-hero .vr-search-card--compact .vr-field--search span{
    display:flex!important;
    align-items:center!important;
    gap:8px!important;
    margin:0!important;
    color:#6b7280!important;
    font-size:13px!important;
    line-height:1.15!important;
    font-weight:800!important;
    background:transparent!important;
    -webkit-text-fill-color:currentColor!important;
    user-select:none;
  }

  .vr-doctors-listing-hero .vr-search-card--compact .vr-field--search span i{
    color:#7b4dff!important;
    -webkit-text-fill-color:#7b4dff!important;
  }

  .vr-doctors-listing-hero .vr-search-card--compact .vr-field--search input,
  .vr-doctors-listing-hero .vr-search-card--compact .vr-field--search input[type="search"]{
    display:block!important;
    width:100%!important;
    min-height:24px!important;
    height:auto!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    outline:0!important;
    box-shadow:none!important;
    background:transparent!important;
    appearance:none!important;
    -webkit-appearance:none!important;
    color:#111827!important;
    -webkit-text-fill-color:#111827!important;
    font-size:15px!important;
    line-height:1.35!important;
    font-weight:650!important;
  }

  .vr-doctors-listing-hero .vr-search-card--compact .vr-field--search input::placeholder{
    color:#8b8fa3!important;
    -webkit-text-fill-color:#8b8fa3!important;
    opacity:1!important;
    font-weight:500!important;
  }

  .vr-doctors-listing-hero .vr-search-card--compact .vr-field--search:focus-within{
    border-color:rgba(123,77,255,.28)!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.96),0 0 0 3px rgba(123,77,255,.10),0 12px 28px rgba(15,23,42,.08)!important;
  }
}


/* ---- featured-doctors.css ---- */
/* Featured Doctors / Doctor Discovery Section - V14.1 Card Upgrade (based on V13) */
.vr-featured-doctors{
  padding:104px 0 108px;
  background:
    radial-gradient(circle at 10% 10%,rgba(123,77,255,.08),transparent 34%),
    radial-gradient(circle at 88% 6%,rgba(46,214,255,.10),transparent 35%),
    linear-gradient(180deg,#fff 0%,#F8FAFC 100%);
  overflow:hidden;
}
.vr-section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:32px;
  margin-bottom:32px;
}
.vr-section-head--doctors{align-items:flex-start}
.vr-section-kicker{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:var(--primary);
  background:rgba(123,77,255,.08);
  border:1px solid rgba(123,77,255,.13);
  border-radius:999px;
  padding:8px 12px;
  font-size:13px;
  font-weight:500;
  margin-bottom:14px;
}
.vr-section-head h2{
  margin:0;
  font-size:clamp(32px,3.2vw,50px);
  line-height:1.06;
  letter-spacing:-.05em;
  color:#0B1220;
}
.vr-section-head p{
  margin:14px 0 0;
  max-width:640px;
  color:var(--muted);
  font-size:17px;
  line-height:1.75;
  font-weight:400;
}
.vr-doctor-proof{
  display:grid;
  grid-template-columns:1fr;
  gap:10px;
  min-width:250px;
}
.vr-doctor-proof span{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:12px 14px;
  border:1px solid rgba(229,231,235,.82);
  background:rgba(255,255,255,.78);
  box-shadow:0 12px 34px rgba(17,24,39,.05);
  border-radius:18px;
  color:#667085;
  font-size:13px;
  font-weight:400;
}
.vr-doctor-proof strong{
  color:#111827;
  font-weight:700;
}
.vr-doctor-toolbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin-bottom:26px;
}
.vr-section-head__action{
  display:inline-flex;
  align-items:center;
  gap:10px;
  color:var(--primary);
  background:#fff;
  border:1px solid rgba(123,77,255,.13);
  font-weight:600;
  white-space:nowrap;
  padding:12px 16px;
  border-radius:15px;
  box-shadow:0 10px 28px rgba(17,24,39,.05);
  transition:background .22s ease,transform .22s ease,border-color .22s ease;
}
.vr-section-head__action:hover{
  background:rgba(123,77,255,.08);
  border-color:rgba(123,77,255,.26);
  transform:translateY(-2px);
}
.vr-doctor-tabs{
  display:flex;
  gap:10px;
  align-items:center;
  overflow:auto;
  scrollbar-width:none;
  padding:2px 2px 3px;
  margin-bottom:34px;
}
.vr-doctor-tabs::-webkit-scrollbar{display:none}
.vr-tab{
  border:1px solid rgba(229,231,235,.92);
  background:rgba(255,255,255,.86);
  color:#374151;
  border-radius:999px;
  padding:12px 17px;
  font-size:14px;
  font-weight:500;
  white-space:nowrap;
  transition:background .22s ease,color .22s ease,border-color .22s ease,transform .22s ease,box-shadow .22s ease;
}
.vr-tab:hover{
  border-color:rgba(123,77,255,.34);
  color:var(--primary);
  transform:translateY(-1px);
}
.vr-tab.is-active{
  background:var(--primary);
  color:#fff;
  border-color:var(--primary);
  box-shadow:0 14px 30px rgba(123,77,255,.20);
}
.vr-doctor-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
  align-items:stretch;
}
.vr-doctor-card{
  display:flex;
  flex-direction:column;
  background:rgba(255,255,255,.98);
  border:1px solid rgba(229,231,235,.95);
  border-radius:28px;
  overflow:hidden;
  box-shadow:0 12px 34px rgba(17,24,39,.065);
  transition:transform .28s ease,box-shadow .28s ease,border-color .28s ease;
  min-width:0;
  position:relative;
}
.vr-doctor-card:hover{
  transform:translateY(-7px);
  border-color:rgba(123,77,255,.46);
  box-shadow:0 26px 64px rgba(17,24,39,.13);
}
.vr-doctor-card__media{
  position:relative;
  aspect-ratio:4/3.65;
  overflow:hidden;
  background:#EEF2FF;
}
.vr-doctor-card__media:after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(8,7,28,0) 46%,rgba(8,7,28,.34) 100%);
  pointer-events:none;
}
.vr-doctor-card__media img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:transform .5s ease;
}
.vr-doctor-card:hover .vr-doctor-card__media img{transform:scale(1.045)}
.vr-verified-badge,
.vr-featured-badge{
  position:absolute;
  top:14px;
  z-index:2;
  display:inline-flex;
  align-items:center;
  gap:7px;
  border-radius:999px;
  padding:8px 10px;
  font-size:12px;
  font-weight:600;
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
}
.vr-verified-badge{
  left:14px;
  color:#fff;
  background:rgba(123,77,255,.93);
  box-shadow:0 10px 26px rgba(123,77,255,.20);
}
.vr-featured-badge{
  right:14px;
  color:#075E4A;
  background:rgba(255,255,255,.90);
  border:1px solid rgba(255,255,255,.72);
}
.vr-featured-badge i{color:var(--accent)}
.vr-card-overlay-link{
  position:absolute;
  z-index:3;
  left:14px;
  right:14px;
  bottom:14px;
  height:42px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  border-radius:14px;
  background:rgba(255,255,255,.92);
  color:#111827;
  font-size:13px;
  font-weight:600;
  transform:translateY(10px);
  opacity:0;
  transition:opacity .25s ease,transform .25s ease,background .25s ease;
}
.vr-doctor-card:hover .vr-card-overlay-link{
  opacity:1;
  transform:translateY(0);
}
.vr-card-overlay-link:hover{background:#fff;color:var(--primary)}
.vr-doctor-card__body{
  padding:18px;
  display:flex;
  flex-direction:column;
  gap:14px;
  flex:1;
}
.vr-doctor-card__top{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:14px;
}
.vr-doctor-card h3{
  margin:0 0 6px;
  font-size:19px;
  line-height:1.18;
  letter-spacing:-.027em;
  color:#111827;
  font-weight:700;
}

.vr-doctor-card__degree{
  margin:0 0 4px;
  color:#374151;
  font-size:12.5px;
  font-weight:500;
  line-height:1.4;
}
.vr-doctor-card__degree span{
  color:#6b7280;
  font-weight:600;
}
.vr-doctor-card__specialty{
  margin:0;
  color:var(--muted);
  font-size:13.5px;
  font-weight:400;
  line-height:1.45;
}
.vr-rating{
  display:inline-flex;
  align-items:center;
  gap:5px;
  color:#111827;
  font-size:13px;
  font-weight:600;
  white-space:nowrap;
  background:#FFF8E1;
  border:1px solid rgba(245,179,1,.18);
  border-radius:999px;
  padding:6px 8px;
}
.vr-rating i{color:#F5B301}
.vr-doctor-card__meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px 12px;
  color:#4B5563;
  font-size:13px;
  line-height:1.35;
}
.vr-doctor-card__meta span{
  display:inline-flex;
  align-items:center;
  gap:6px;
}
.vr-doctor-card__meta i{color:var(--primary);font-size:12px}
.vr-language-row{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
}
.vr-language-row span{
  display:inline-flex;
  align-items:center;
  border-radius:999px;
  padding:7px 10px;
  background:rgba(46,214,255,.08);
  border:1px solid rgba(46,214,255,.18);
  color:#0F5D73;
  font-size:12px;
  line-height:1;
  font-weight:500;
}
.vr-chip-row{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
}
.vr-chip{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  padding:7px 10px;
  background:#F8FAFC;
  border:1px solid rgba(229,231,235,.9);
  color:#374151;
  font-size:12px;
  line-height:1;
  font-weight:400;
}
.vr-card-stats{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:9px;
}
.vr-card-stat{
  border:1px solid rgba(229,231,235,.92);
  border-radius:16px;
  padding:11px;
  background:linear-gradient(180deg,#fff,#F9FAFB);
}
.vr-card-stat strong{
  display:block;
  color:#111827;
  font-size:13.5px;
  font-weight:700;
  margin-bottom:3px;
}
.vr-card-stat span{
  display:block;
  color:var(--muted);
  font-size:12px;
  font-weight:400;
}
.vr-doctor-card__footer{
  margin-top:auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding-top:4px;
}
.vr-starting-price span{
  display:block;
  color:var(--muted);
  font-size:12px;
  font-weight:400;
  margin-bottom:3px;
}
.vr-starting-price strong{
  display:block;
  color:#111827;
  font-size:18px;
  font-weight:700;
}
.vr-doctor-card__cta{
  min-height:44px;
  padding:0 16px;
  border-radius:14px;
  font-size:13px;
}
.vr-featured-note{
  margin-top:30px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:22px;
  padding:22px 24px;
  border-radius:28px;
  border:1px solid rgba(123,77,255,.13);
  background:
    linear-gradient(135deg,rgba(123,77,255,.08),rgba(46,214,255,.07)),
    rgba(255,255,255,.88);
  color:#374151;
  box-shadow:0 18px 44px rgba(17,24,39,.06);
}
.vr-featured-note__label{
  display:inline-flex;
  color:var(--primary);
  font-size:13px;
  font-weight:600;
  margin-bottom:6px;
}
.vr-featured-note p{margin:0;color:#4B5563;line-height:1.6;font-weight:400}
.vr-featured-note strong{color:#111827;font-weight:700}
.vr-featured-note a{color:var(--primary);font-weight:600;white-space:nowrap}
.vr-doctor-card.is-hidden{display:none}

@media (max-width:1320px){
  .vr-doctor-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
}
@media (max-width:1180px){
  .vr-featured-doctors{padding:84px 0 88px}
  .vr-section-head{display:block}
  .vr-section-head__action{margin-top:20px}
  .vr-doctor-toolbar{align-items:flex-start;flex-direction:column}
  .vr-doctor-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:760px){
  .vr-featured-doctors{padding:64px 0 72px}
  .vr-section-head{display:block;margin-bottom:24px}
  .vr-section-head__action{margin-top:16px;padding-left:14px}
  .vr-doctor-toolbar{gap:14px;margin-bottom:18px}
  .vr-doctor-tabs{margin-left:-2px;margin-right:-2px;padding-bottom:8px;max-width:100%;margin-bottom:24px}
  .vr-doctor-grid{display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;padding:4px 4px 18px;margin-inline:-4px;scrollbar-width:none}
  .vr-doctor-grid::-webkit-scrollbar{display:none}
  .vr-doctor-card{width:100%;min-width:100%;max-width:100%;flex:0 0 100%;scroll-snap-align:start}
  .vr-card-overlay-link{opacity:1;transform:none;background:rgba(255,255,255,.92)}
  .vr-featured-note{display:block;padding:20px}
  .vr-featured-note a{display:inline-flex;margin-top:14px}
}
@media (max-width:430px){
  .vr-doctor-card{width:100%;min-width:100%;max-width:100%;flex:0 0 100%}
  .vr-doctor-card__footer{align-items:flex-start;flex-direction:column}
  .vr-doctor-card__cta{width:100%}
}


/* Phase 6.1.2 Doctors archive/listing */
.vr-doctors-listing-hero .vr-container{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,460px);gap:32px;align-items:center}.vr-doctors-filter{position:relative;z-index:2}.vr-doctors-filter label{display:block;margin-bottom:14px}.vr-doctors-filter label span{display:block;margin-bottom:7px;font-size:13px;font-weight:800;color:rgba(255,255,255,.86)}.vr-doctors-filter input,.vr-doctors-filter select{width:100%;min-height:48px;border:1px solid rgba(255,255,255,.18);border-radius:16px;background:rgba(255,255,255,.1);color:#fff;padding:0 14px;outline:0}.vr-doctors-filter option{color:#171433}.vr-empty-doctors{grid-column:1/-1;text-align:center}.vr-pagination{margin-top:34px;display:flex;justify-content:center}.vr-pagination ul{display:flex;gap:8px;list-style:none;margin:0;padding:0}.vr-pagination a,.vr-pagination span{display:flex;align-items:center;justify-content:center;min-width:42px;height:42px;border-radius:14px;background:#fff;border:1px solid rgba(65,50,143,.12);color:#41328f;text-decoration:none;font-weight:800}.vr-pagination .current{background:#41328f;color:#fff}@media(max-width:900px){.vr-doctors-listing-hero .vr-container{grid-template-columns:1fr}.vr-doctors-filter{width:100%}}

/* Phase 6.3.0 — Dynamic Doctor Listing Card Fields */
.vr-card-dynamic-fields{display:flex;flex-direction:column;gap:10px;margin:14px 0 2px}
.vr-card-dynamic-field{border:1px solid rgba(226,232,240,.9);background:rgba(248,250,252,.86);border-radius:16px;color:#334155;font-size:13px;line-height:1.45}
.vr-card-dynamic-field--stat,.vr-card-dynamic-field--media,.vr-card-dynamic-field--link{display:flex;align-items:center;gap:9px;padding:10px 12px;text-decoration:none}
.vr-card-dynamic-field i{color:var(--primary);font-size:13px;flex:0 0 auto}
.vr-card-dynamic-field strong{color:#111827;font-weight:900}.vr-card-dynamic-field em{margin-left:auto;font-style:normal;background:#fff;color:#41328f;border-radius:999px;padding:3px 8px;font-weight:900;font-size:12px}
.vr-card-dynamic-field--chips,.vr-card-dynamic-field--text{padding:10px 12px}
.vr-card-dynamic-label{display:flex;align-items:center;gap:8px;color:#111827;font-weight:900;margin-bottom:8px}
.vr-card-dynamic-field--chips>div{display:flex;flex-wrap:wrap;gap:7px}.vr-card-mini-chip{display:inline-flex;align-items:center;border-radius:999px;background:#fff;color:#5b39d6;border:1px solid rgba(123,77,255,.14);padding:6px 9px;font-weight:800;font-size:12px}
.vr-card-dynamic-field--text p{margin:0;color:#64748b}.vr-card-dynamic-field--link:hover{border-color:rgba(123,77,255,.25);background:#fff;color:#41328f}
@media(max-width:760px){.vr-card-dynamic-fields{gap:8px}.vr-card-dynamic-field--stat,.vr-card-dynamic-field--media,.vr-card-dynamic-field--link,.vr-card-dynamic-field--chips,.vr-card-dynamic-field--text{padding:9px 10px}}

/* Phase 6.3.1 — Doctor Card Data Integrity: data slots only, original card design preserved */
.vr-rating--fixed{gap:3px;padding:6px 9px}.vr-rating--fixed strong{margin-left:4px;color:#111827;font-weight:800}.vr-card-core-fields{display:flex;flex-direction:column;gap:10px;margin:14px 0 2px}.vr-card-core-stat,.vr-card-fact-line{border:1px solid rgba(226,232,240,.9);background:rgba(248,250,252,.86);border-radius:16px;color:#334155;line-height:1.45}.vr-card-core-stat{display:flex;align-items:center;gap:9px;padding:11px 13px}.vr-card-core-stat i,.vr-card-fact-line i{color:var(--primary);font-size:13px;flex:0 0 auto}.vr-card-core-stat strong{color:#111827;font-weight:900}.vr-card-fact-line{display:flex;align-items:flex-start;gap:9px;padding:11px 13px;font-size:13px}.vr-card-fact-line strong{color:#111827;font-weight:900}@media(max-width:760px){.vr-card-core-fields{gap:8px}.vr-card-core-stat,.vr-card-fact-line{padding:10px 11px}.vr-rating--fixed strong{display:none}}


/* Phase 6.3.2 — Doctor Card UI cleanup + reliable education display */
.vr-doctor-card{
  border-radius:26px;
  border-color:rgba(226,232,240,.95);
  box-shadow:0 18px 46px rgba(15,23,42,.08);
}
.vr-doctor-card__body{
  gap:12px;
  padding:18px 18px 20px;
}
.vr-doctor-card__top{
  align-items:flex-start;
}
.vr-doctor-card h3{
  max-width:100%;
  overflow-wrap:anywhere;
}
.vr-rating--fixed{
  flex:0 0 auto;
  box-shadow:0 8px 20px rgba(245,179,1,.10);
}
.vr-doctor-card__meta{
  padding:0;
}
.vr-doctor-card__meta span{
  max-width:100%;
  overflow:hidden;
  text-overflow:ellipsis;
}
.vr-card-core-fields{
  display:flex;
  flex-direction:column;
  gap:8px;
  margin:8px 0 0;
  padding:10px;
  border:1px solid rgba(226,232,240,.78);
  border-radius:20px;
  background:linear-gradient(180deg,rgba(248,250,252,.92),rgba(255,255,255,.94));
}
.vr-card-core-stat,
.vr-card-fact-line{
  border:0;
  background:transparent;
  border-radius:0;
  padding:0;
  color:#475569;
}
.vr-card-core-stat{
  display:flex;
  align-items:center;
  gap:10px;
  min-height:30px;
}
.vr-card-core-stat i,
.vr-card-fact-icon{
  width:28px;
  height:28px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 28px;
  border-radius:10px;
  color:#7B4DFF;
  background:rgba(123,77,255,.10);
}
.vr-card-core-stat i{font-size:12px;color:#7B4DFF}
.vr-card-core-stat strong{
  color:#111827;
  font-size:14px;
  font-weight:850;
}
.vr-card-fact-line{
  display:flex;
  align-items:flex-start;
  gap:10px;
  font-size:13px;
  line-height:1.45;
}
.vr-card-fact-icon i{font-size:12px;color:#7B4DFF}
.vr-card-fact-content{
  min-width:0;
  display:block;
  flex:1;
}
.vr-card-fact-content strong{
  display:block;
  margin:1px 0 2px;
  color:#111827;
  font-size:12.5px;
  font-weight:850;
}
.vr-card-fact-content em{
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
  color:#64748B;
  font-style:normal;
  font-size:13px;
}
.vr-card-fact-line--education .vr-card-fact-content em{
  -webkit-line-clamp:3;
}
.vr-card-dynamic-fields{
  margin-top:8px;
}
.vr-doctor-card__footer{
  padding-top:8px;
  border-top:1px solid rgba(226,232,240,.72);
}
@media(max-width:760px){
  .vr-doctor-card__body{padding:16px;gap:11px}
  .vr-card-core-fields{padding:9px;border-radius:18px}
  .vr-rating--fixed strong{display:inline}
}

/* Phase 6.3.3 — Doctor Card separated fields + calculated experience */
.vr-card-core-fields{
  padding:0;
  border:0;
  background:transparent;
  gap:9px;
}
.vr-card-core-stat,
.vr-card-fact-line{
  min-height:42px;
  padding:10px 12px;
  border:1px solid rgba(226,232,240,.86);
  border-radius:16px;
  background:linear-gradient(180deg,#fff,rgba(248,250,252,.92));
  box-shadow:0 8px 20px rgba(15,23,42,.035);
}
.vr-card-core-stat strong{
  font-size:13.5px;
  line-height:1.35;
}
.vr-card-fact-content strong{
  font-size:12px;
  letter-spacing:.01em;
  text-transform:none;
}
.vr-card-fact-content em{
  color:#5F6B7A;
  line-height:1.45;
}
.vr-card-fact-line--education .vr-card-fact-content em{
  -webkit-line-clamp:2;
}
.vr-doctor-card__meta span{
  white-space:normal;
}
@media(min-width:1024px){
  .vr-card-core-fields{gap:8px}
}
@media(max-width:760px){
  .vr-card-core-stat,
  .vr-card-fact-line{padding:10px 11px;border-radius:15px}
}

/* Phase 7.5.1 — Homepage Doctors Final Polish
   Scope: homepage doctors section only. Keeps doctor card data/UI intact and improves mobile width,
   filter tab readability, and the View All Doctors CTA. */
.vr-featured-doctors .vr-section-head__action{
  min-height:52px;
  padding:0 22px;
  border-radius:18px;
  color:#fff;
  background:linear-gradient(135deg,var(--primary),#7B4DFF);
  border:1px solid rgba(123,77,255,.36);
  box-shadow:0 16px 40px rgba(123,77,255,.22);
  font-weight:900;
  letter-spacing:-.01em;
  text-decoration:none;
}
.vr-featured-doctors .vr-section-head__action:before{
  content:"\f0f0";
  font-family:"Font Awesome 6 Free";
  font-weight:900;
  width:34px;
  height:34px;
  border-radius:12px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  background:rgba(255,255,255,.16);
  border:1px solid rgba(255,255,255,.18);
}
.vr-featured-doctors .vr-section-head__action:hover{
  background:linear-gradient(135deg,#5B39D6,#8B5CF6);
  border-color:rgba(123,77,255,.58);
  color:#fff;
  transform:translateY(-2px);
  box-shadow:0 22px 54px rgba(123,77,255,.30);
}
.vr-featured-doctors .vr-section-head__action i{
  transition:transform .22s ease;
}
.vr-featured-doctors .vr-section-head__action:hover i{
  transform:translateX(4px);
}
.vr-featured-doctors .vr-doctor-tabs{
  width:100%;
  max-width:100%;
  overflow-x:auto;
  overflow-y:hidden;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none;
  scroll-snap-type:x proximity;
  padding:3px 2px 10px;
}
.vr-featured-doctors .vr-doctor-tabs::-webkit-scrollbar{display:none}
.vr-featured-doctors .vr-tab{
  flex:0 0 auto;
  width:auto;
  max-width:none;
  min-width:max-content;
  white-space:nowrap;
  overflow:visible;
  text-overflow:clip;
  scroll-snap-align:start;
}
@media (max-width:760px){
  .vr-featured-doctors{
    overflow:hidden;
  }
  .vr-featured-doctors .vr-section-head__action{
    width:100%;
    justify-content:center;
    margin-top:20px;
  }
  .vr-featured-doctors .vr-doctor-tabs{
    gap:10px;
    margin-left:0;
    margin-right:0;
    padding:4px 2px 12px;
  }
  .vr-featured-doctors .vr-tab{
    padding:13px 18px;
    font-size:14px;
  }
  .vr-featured-doctors .vr-doctor-grid{
    display:grid;
    grid-template-columns:1fr;
    gap:22px;
    overflow:visible;
    scroll-snap-type:none;
    padding:0;
    margin:0;
  }
  .vr-featured-doctors .vr-doctor-grid::-webkit-scrollbar{display:none}
  .vr-featured-doctors .vr-doctor-card{
    width:100%;
    min-width:0;
    max-width:none;
    scroll-snap-align:unset;
  }
  .vr-featured-doctors .vr-doctor-card__media{
    aspect-ratio:4/3.5;
  }
}
@media (max-width:430px){
  .vr-featured-doctors .vr-doctor-card{
    width:100%;
    min-width:0;
  }
}

/* Phase 10.1.1 — Homepage Featured Doctors Carousel Drag Refinement
   Scope: Featured Doctors section only. Existing card UI is preserved. */
/* Phase 10.1.2 Featured Doctors carousel: full-width mobile + native touch scroll */
.vr-doctors-carousel{
  position:relative;
  width:100%;
  max-width:100%;
  overflow:hidden;
  --vr-doctors-carousel-gap:18px;
  --vr-doctors-carousel-per-view:4;
}
.vr-doctors-carousel__viewport{
  display:flex;
  gap:var(--vr-doctors-carousel-gap);
  align-items:stretch;
  width:100%;
  max-width:100%;
  overflow-x:auto;
  overflow-y:hidden;
  scroll-snap-type:x mandatory;
  scroll-behavior:smooth;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none;
  cursor:grab;
  touch-action:auto;
  overscroll-behavior-x:contain;
  overscroll-behavior-y:auto;
}
.vr-doctors-carousel__viewport::-webkit-scrollbar{display:none}
.vr-doctors-carousel__viewport.is-dragging{
  cursor:grabbing;
  scroll-behavior:auto;
  user-select:none;
}
.vr-doctors-carousel__slide{
  flex:0 0 calc((100% - (var(--vr-doctors-carousel-gap) * (var(--vr-doctors-carousel-per-view) - 1))) / var(--vr-doctors-carousel-per-view));
  min-width:0;
  max-width:none;
  display:flex;
  scroll-snap-align:start;
  scroll-snap-stop:always;
}
.vr-doctors-carousel__slide.is-hidden{display:none}
.vr-doctors-carousel__slide .vr-doctor-card{
  width:100%;
  min-width:0!important;
  max-width:none!important;
  height:100%;
}
.vr-doctors-carousel__empty{padding:26px;text-align:center;color:var(--muted)}
@media (max-width:1199px){.vr-doctors-carousel{--vr-doctors-carousel-per-view:3}}
@media (max-width:899px){.vr-doctors-carousel{--vr-doctors-carousel-per-view:2}}
@media (max-width:767px){
  .vr-featured-doctors .vr-container{
    overflow:visible;
  }
  .vr-featured-doctors .vr-doctors-carousel{
    width:100%;
    max-width:100%;
    margin-left:0;
    margin-right:0;
    padding-left:0;
    padding-right:0;
    box-sizing:border-box;
    overflow:hidden;
    --vr-doctors-carousel-per-view:1;
    --vr-doctors-carousel-gap:5px;
  }
  .vr-featured-doctors .vr-doctors-carousel__viewport{
    gap:5px!important;
    width:100%;
    max-width:100%;
    padding:0!important;
    margin:0;
    scroll-padding-inline:0;
    touch-action:pan-x pan-y;
  }
  .vr-featured-doctors .vr-doctors-carousel__slide{
    flex:0 0 100%!important;
    width:100%!important;
    min-width:100%!important;
    max-width:100%!important;
    padding:0!important;
    margin:0!important;
    box-sizing:border-box;
  }
  .vr-featured-doctors .vr-doctors-carousel__slide .vr-doctor-card{
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    margin:0!important;
    box-sizing:border-box;
  }
}


/* Phase 10.1.6 — Featured Doctors mobile width hardening
   Removes the old 88% mobile card behavior from the homepage doctors carousel only. */
@media (max-width:767px){
  .vr-featured-doctors .vr-doctors-carousel__viewport{
    gap:5px!important;
    padding-left:0!important;
    padding-right:0!important;
  }
  .vr-featured-doctors .vr-doctors-carousel__slide{
    flex-basis:100%!important;
    width:100%!important;
    min-width:100%!important;
    max-width:100%!important;
  }
  .vr-featured-doctors .vr-doctors-carousel__slide .vr-doctor-card{
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    margin:0!important;
  }
}


/* Phase 7.0.14: treatment category + multi-specialty chips on doctor cards */
.vr-card-treatment-row{
    display:flex;
    align-items:center;
    gap:8px;
    margin:10px 0 8px;
}
.vr-card-treatment{
    display:inline-flex;
    align-items:center;
    gap:7px;
    padding:7px 10px;
    border-radius:999px;
    background:rgba(91,61,245,.09);
    color:#3526a7;
    font-size:12px;
    font-weight:800;
    line-height:1.2;
}
.vr-chip-row--specialties{
    margin-top:8px;
}
.vr-chip--more{
    background:rgba(15,23,42,.06)!important;
    color:#475569!important;
    font-weight:800;
}

/* Phase 7.0.19 — Featured Doctors display limits + listing CTA */
.vr-featured-doctors__action{
  display:flex;
  justify-content:center;
  margin-top:28px;
}
.vr-featured-doctors__action .vr-btn{
  min-width:190px;
  justify-content:center;
}
@media (max-width:767px){
  .vr-featured-doctors .vr-doctors-carousel{
    overflow:visible !important;
  }
  .vr-featured-doctors .vr-doctors-carousel__viewport{
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:14px !important;
    overflow:visible !important;
    padding:0 !important;
    margin:0 !important;
    scroll-snap-type:none !important;
    touch-action:auto !important;
  }
  .vr-featured-doctors .vr-doctors-carousel__slide{
    width:100% !important;
    min-width:0 !important;
    max-width:100% !important;
    flex:none !important;
    scroll-snap-align:none !important;
  }
  .vr-featured-doctors .vr-doctors-carousel__slide .vr-doctor-card{
    width:100% !important;
    min-width:0 !important;
    max-width:100% !important;
    flex:none !important;
    margin-bottom:0 !important;
  }
  .vr-featured-doctors__action{
    margin-top:22px;
  }
  .vr-featured-doctors__action .vr-btn{
    width:100%;
  }
}


/* Performance Phase 2 — async Featured Doctors tabs. Keep existing cards in place
   while the selected treatment is fetched, avoiding layout jumps. */
.vr-featured-doctors[data-vr-doctors-async="1"] .vr-doctors-carousel__viewport{
  transition:opacity .18s ease;
}
.vr-featured-doctors[data-vr-doctors-async="1"] .vr-doctors-carousel.is-loading .vr-doctors-carousel__viewport{
  opacity:.42;
}
.vr-featured-doctors[data-vr-doctors-async="1"] .vr-doctors-carousel.is-loading~*{
  /* no layout change; loading state is intentionally visual-only */
}


/* Phase 13.2.26 — streamlined doctor card information hierarchy */
.vr-doctor-card__top{gap:10px!important}
.vr-doctor-card__name-row{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;min-width:0}
.vr-doctor-card__name-row h3{flex:1 1 auto;min-width:0;margin:0!important}
.vr-rating--single{flex:0 0 auto;display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border-radius:999px;background:#fff8e8;border:1px solid rgba(245,158,11,.18);color:#111827;font-size:12px;line-height:1;white-space:nowrap}
.vr-rating--single i{color:#f59e0b;font-size:13px}
.vr-rating--single strong{font-size:12px;font-weight:800;color:#1f2937}
.vr-doctor-card__degree{margin:0!important;padding:0!important;background:transparent!important;border:0!important;border-radius:0!important;color:#263244!important;font-size:12.5px!important;line-height:1.45!important;width:auto!important}
.vr-doctor-card__degree span{display:block;margin-bottom:2px;color:#7c8798;font-size:10px;line-height:1.15;font-weight:800;letter-spacing:.055em;text-transform:uppercase}
.vr-doctor-card__specialty{margin:0!important;padding:6px 10px!important}
.vr-doctor-card__meta{margin-top:1px}
.vr-card-core-fields--streamlined{margin-top:2px;padding-top:5px;border-top:1px solid rgba(226,232,240,.72)}
.vr-card-core-fields--streamlined .vr-card-core-stat,.vr-card-core-fields--streamlined .vr-card-fact-line{margin:0}
.vr-card-core-fields--streamlined .vr-card-fact-line__value{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
@media (max-width:760px){.vr-doctor-card__name-row{gap:9px}.vr-rating--single{padding:5px 7px}.vr-doctor-card__degree{font-size:12px!important}}

/* Phase 14.0.1 — staged SVG icon migration (Font Awesome fallback retained) */
.vr-svg-icon{width:1em;height:1em;display:inline-block;vertical-align:-.125em;flex:0 0 auto;overflow:visible;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.vr-svg-icon .vr-svg-icon__fill{fill:currentColor;stroke:none}

/* Homepage Performance Phase 2: responsive LCP hero picture wrapper. */
.vr-hero__picture{position:absolute;inset:0;display:block;width:100%;height:100%;pointer-events:none}
.vr-hero__picture>.vr-hero__bg{width:100%;height:100%;object-fit:cover}
