@font-face{font-family:MedGolos;src:url('../../../messia/includes/assets/fonts/GolosText-Regular.woff2') format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:MedGolos;src:url('../../../messia/includes/assets/fonts/GolosText-DemiBold.woff2') format('woff2');font-weight:600 800;font-display:swap}
body:is(.med-detail-refresh,.med-article-refresh){--md-ink:#29313e;--md-muted:#7c8795;--md-purple:#6552b8;--md-border:#e7e8ee;background:#fcfcfd;color:var(--md-ink);font-family:MedGolos,Arial,sans-serif}
body.med-detail-refresh main>.container{width:min(1180px,calc(100% - 64px))!important;max-width:1180px!important;display:block!important;margin:25px auto 50px!important;padding:0!important}
body.med-detail-refresh main>.container>.content{width:100%!important;max-width:none!important;float:none!important;padding:0!important;margin:0!important}
body.med-detail-refresh main .sections{margin:0!important;padding:0!important;width:100%!important;max-width:none!important}
body.med-detail-refresh main .fixed_section{display:none!important}
body.med-detail-refresh main .med-detail-record{display:block!important;background:none!important;border:0!important;box-shadow:none!important;border-radius:0!important;margin:24px 0!important;padding:0!important;width:100%!important}
.med-detail-hero{background:#f6f5f1;border:1px solid #eeece6;border-radius:22px;padding:34px;margin-bottom:20px}
body.med-detail-refresh .med-detail-hero .top-ver-3{display:flex!important;align-items:flex-start!important;position:static!important;width:100%!important;gap:27px!important;margin:0!important;padding:0!important}
body.med-detail-refresh .med-detail-hero .top-ver-3>.description-ver-3{flex:1!important;min-width:0!important;width:auto!important;padding:0!important;margin:0!important}
body.med-detail-refresh .med-detail-hero h1{font-size:34px!important;line-height:1.25!important;letter-spacing:-1.1px!important;text-transform:none!important;margin:0 0 17px!important;padding-right:42px!important;color:var(--md-ink)!important;font-weight:600!important;position:relative}
body.med-detail-refresh .med-detail-hero .top-ver-3>:is(.image-ver-3,.logo-card-ver-only-3){display:block!important;position:relative!important;flex:none!important;width:112px!important;height:142px!important;min-width:112px!important;max-width:112px!important;padding:0!important;margin:0!important;border:0!important;border-radius:13px!important;overflow:hidden;background:#f0f1f4}
body.med-detail-refresh .med-detail-hero :is(.logo-card-ver-only-3,.logo-card-ver-3) img,body.med-detail-refresh .med-detail-hero img.image-ver-3{display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:none!important;object-fit:cover!important;object-position:center top;border-radius:0!important;border:0!important;padding:0!important;margin:0!important}
body.med-detail-refresh .med-detail-hero .image-ver-3>:is(.logo-card-ver-only-3,.logo-card-ver-3){position:static!important;display:block!important;width:100%!important;height:100%!important;margin:0!important;border:0!important;padding:0!important}
body.med-detail-refresh .med-detail-clinic .med-detail-hero .image-ver-3{width:140px!important;max-width:140px!important;min-width:140px!important}.med-detail-clinic .med-detail-hero img{object-fit:contain!important;background:#fff}
body.med-detail-refresh .med-detail-hero .favorite{position:absolute!important;right:0!important;top:0!important;width:40px!important;height:40px!important;padding:10px!important;border:1px solid #e6e2ed!important;border-radius:11px!important;background:#fff!important;box-shadow:none!important;margin:0!important}
body.med-detail-refresh .med-detail-hero .rating{font-size:13px!important;margin:10px 0!important}.med-detail-hero .points{font-size:15px!important}.med-detail-hero .ratingCount{font-size:12px!important}.med-detail-hero .stars{transform:scale(.8);transform-origin:left center}.med-detail-hero .recommend-button{font-size:11px!important;padding:8px 12px!important;border-radius:8px!important;background:#eee9f7!important;color:#716096!important;border:0!important;margin-top:12px!important;min-height:34px!important}
.med-detail-tabs{display:flex;gap:26px;overflow-x:auto;border-bottom:1px solid var(--md-border);margin:0 0 28px;padding:0 3px;scrollbar-width:thin}.med-detail-tabs a{display:block;padding:15px 0;font-size:12px;color:#828896;white-space:nowrap;text-decoration:none!important}.med-detail-tabs a:first-child{color:var(--md-purple);border-bottom:2px solid var(--md-purple)}
.med-detail-grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:30px;align-items:start}.med-detail-body{min-width:0;scroll-margin-top:110px}
.med-detail-booking{position:sticky;top:110px;background:#fff;border:1px solid #e6e1ed;border-radius:18px;padding:25px;box-shadow:0 8px 30px #35234406;scroll-margin-top:110px}.med-detail-kicker{font-size:10px!important;text-transform:uppercase;letter-spacing:.08em!important;color:#9690a3!important;margin:0 0 13px!important}.med-detail-booking h2{font-size:20px!important;line-height:1.45!important;letter-spacing:-.5px;margin:0 0 18px!important}.med-detail-booking-price{font-size:27px!important;line-height:1.45!important;font-weight:600!important;letter-spacing:-.8px;margin:0 0 22px!important;color:#333d49!important}.med-detail-booking-note{font-size:11px!important;color:#929aa6!important;line-height:1.8!important;margin:16px 0 0!important}
body.med-detail-refresh .med-detail-booking .buttons-new{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:10px!important;margin:0!important;padding:0!important;min-height:0!important;max-width:100%!important}
body.med-detail-refresh .med-detail-booking .buttons-new>:is(button,a){display:flex;align-items:center;justify-content:center;width:100%!important;min-width:0!important;max-width:100%!important;min-height:44px!important;height:auto!important;padding:12px 15px!important;font-size:13px!important;line-height:1.5!important;border-radius:11px!important;box-shadow:none!important;margin:0!important;text-decoration:none!important;white-space:normal!important}
body.med-detail-refresh .med-detail-booking .buttons-new>.btn_blue{background:var(--md-purple)!important;border:1px solid var(--md-purple)!important;color:white!important}.med-detail-booking .comparison_button{border:1px solid #e4dfef!important;color:#77659d!important;background:white!important}.med-detail-booking .comparison_button_del{border:1px solid #e4dfef!important;color:#77659d!important;background:#f6f3fc!important}
body.med-detail-refresh .med-detail-body>:is(.description-bg-ver-3,.med-reception,.doctor-slots-wrapper,.the_content){display:block!important;padding:27px!important;margin:0 0 20px!important;border:1px solid var(--md-border)!important;border-radius:17px!important;background:#fff!important;box-shadow:none!important;width:100%!important;font-size:14px!important;line-height:1.9!important;color:var(--md-muted)!important;scroll-margin-top:110px}
body.med-detail-refresh .med-detail-body .description-bg-ver-3 :is(small,p,li){font-size:14px!important;line-height:1.9!important;color:var(--md-muted)!important}.med-detail-body .text-ver-3{padding:0!important}.med-detail-body .list-item-v3{margin:0 0 14px!important}.med-detail-body .title-list-item-v3{color:#465363!important;font-weight:600!important}.med-detail-body :is(.h2-title,h2,h3){color:var(--md-ink)!important;font-size:23px!important;line-height:1.5!important;letter-spacing:-.6px!important;margin:0 0 18px!important}.med-detail-body .med-reception__item{padding:18px!important;border:1px solid #e8e7ee!important;border-radius:12px!important;background:white!important;margin:0 0 12px!important}.med-detail-body .med-reception__name{font-size:15px!important;color:var(--md-ink)!important}.med-detail-body .med-reception__price{font-size:18px!important;color:#53684d!important}.med-detail-body .med-reception__addr{font-size:12px!important}.med-detail-body .med-reception__map{font-size:11px!important;color:#7b6b9f!important}.med-detail-body .med-review-source{font-size:11px!important;color:#999fac!important;line-height:1.8;margin:15px 0}
body.med-detail-refresh :is(.doctor-date-item,.slot-time){border:1px solid #e7e2f0!important;border-radius:10px!important;background:#faf9fc!important;color:#74658f!important;box-shadow:none!important}.doctor-slots-loader,.doctor-slots-error{font-size:13px!important;color:#8a8597!important;line-height:1.8!important;background:#f8f6fc!important;border:1px solid #ece8f3!important;border-radius:10px!important;padding:17px!important}.med-detail-body .doctor-dates-list{gap:10px!important}.med-detail-body .service-table li{display:flex;justify-content:space-between;gap:15px;padding:13px 0!important;border-bottom:1px solid #eeebf2!important;font-size:13px!important}.med-detail-body .nav-tabs .nav-link{color:#81758f!important;border-radius:9px!important;font-size:12px!important}.med-detail-body .nav-tabs .nav-link.active{background:#f0ebf9!important;color:#6754b7!important;border-color:#e4deee!important}
body.med-detail-refresh main>.container>.content>.widgets-content{margin:30px 0!important;background:#fff!important;border:1px solid var(--md-border)!important;border-radius:18px!important;padding:27px!important;scroll-margin-top:110px}body.med-detail-refresh .widgets-content [class*=panel]{max-width:100%!important}.med-detail-refresh .widgets-content :is(p,li){font-size:14px!important;line-height:1.9!important;color:var(--md-muted)!important}.med-detail-refresh .widgets-content .tabs{border-color:var(--md-border)!important}.med-detail-refresh .widgets-content :is(.tabs a,.tab){font-size:12px!important;color:#79668f!important}.med-detail-refresh .widgets-content .h2-title{font-size:23px!important}
body.med-detail-refresh .content>.card-item-ver-3,body.med-detail-refresh .content>.listing-navigation-block,body.med-detail-refresh .content>.similar-doctors-block{padding:27px!important;border:1px solid var(--md-border)!important;border-radius:18px!important;background:#fff!important;box-shadow:none!important;margin:24px 0!important;color:var(--md-muted)!important}.med-detail-refresh .listing-navigation-block :is(h3,p){color:var(--md-ink)!important}.med-detail-refresh .listing-nav-btn{background:#f4f1f9!important;color:#776891!important;border:1px solid #e5dfef!important;box-shadow:none!important}.med-detail-refresh .similar-doctors-block .doctor-card{border:1px solid var(--md-border)!important;border-radius:13px!important;box-shadow:none!important}.med-detail-refresh #sidebar.object_side{float:none!important;position:static!important;width:100%!important;max-width:none!important;clear:both;margin-top:30px!important;padding:0!important}.med-detail-refresh #sidebar .normal-sidebar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.med-detail-refresh #sidebar .normal-sidebar>div{min-width:0!important;max-width:100%!important;border-radius:15px!important}.med-detail-refresh .med-max-mobile-banner{margin-bottom:18px!important}.med-detail-refresh .med-detail-body img{max-width:100%;height:auto}
/* Article body, sources, author, comments and sharing remain the original template. */
body.med-article-refresh main>.med-article-layout{display:grid!important;grid-template-columns:minmax(0,760px) 280px!important;gap:0 60px!important;width:min(1180px,calc(100% - 64px))!important;max-width:1180px!important;margin:30px auto 50px!important;padding:0!important;align-items:start!important}.med-article-layout>:not(.article):not(.med-detail-article-aside){grid-column:1/-1}.med-article-layout>.content.article{width:100%!important;max-width:none!important;margin:30px 0 0!important;padding:0!important;float:none!important;min-width:0}
body.med-article-refresh .article .content-withe{padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}.med-article-refresh .article-content-header-title{font-size:42px!important;line-height:1.18!important;letter-spacing:-1.4px!important;text-transform:none!important;margin:0 0 24px!important;color:var(--md-ink)!important}.med-article-refresh .article-characteristic{color:#9b9faa!important;font-size:11px!important;gap:20px!important;margin:0 0 26px!important}.med-article-refresh .article-characteristic svg{width:15px!important;height:15px!important;opacity:.5}.med-article-refresh .article-content :is(p,li),.med-article-refresh .article-content-text :is(p,li){font-size:15px!important;line-height:1.95!important;color:#788392!important}.med-article-refresh .article :is(h2,h3){line-height:1.4!important;color:var(--md-ink)!important;letter-spacing:-.6px!important;scroll-margin-top:110px}.med-article-refresh .article h2{font-size:27px!important;margin:34px 0 17px!important}.med-article-refresh .article h3{font-size:21px!important;margin:25px 0 14px!important}.med-article-refresh .article img{max-width:100%!important;height:auto}.med-article-refresh .article-content-img{border-radius:19px!important;overflow:hidden;margin-bottom:28px!important}.med-article-refresh .article-content-img img{width:100%!important;object-fit:cover}.med-article-refresh .article .block-links,.med-article-refresh .article-author{background:#f6f4fa!important;border:1px solid #ebe6f1!important;border-radius:15px!important;padding:23px!important;margin:30px 0!important;font-size:13px!important;color:#8b819c!important}.med-article-refresh .article-author h2{font-size:19px!important;margin:0 0 12px!important}.med-article-refresh .article-like{border-top:1px solid var(--md-border)!important;background:none!important;padding:22px 0!important;margin-top:28px!important}.med-article-refresh .open-share{background:#f2eef9!important;border:1px solid #e7e0f1!important;border-radius:9px!important;color:#786197!important;padding:12px 17px!important;font-size:12px!important}.med-article-refresh .article-comments{margin-top:35px!important}
.med-detail-article-aside{position:sticky;top:110px;min-width:0;margin-top:30px}.med-article-toc{padding:24px;border:1px solid #e8e4ef;border-radius:17px;background:#fff;margin-bottom:22px}.med-article-toc a{display:block;padding:10px 0;font-size:12px;line-height:1.7;color:#857792;text-decoration:none}.med-article-toc a:hover{color:var(--md-purple)}.med-article-toc .med-toc-level-3{font-size:11px;padding-left:12px}.med-detail-article-aside .med-listing-bot{display:flex;flex-direction:column;align-items:flex-start;gap:16px;background:linear-gradient(130deg,#f1f5ee,#f6f3fa);border:1px solid #e1e7dd;border-radius:17px;padding:24px}.med-listing-bot__icon{display:grid;place-items:center;flex:none;width:42px;height:42px;background:var(--md-purple);color:#fff;border-radius:13px;font-size:24px}.med-listing-bot__copy small{font-size:10px;color:#8b8c7d}.med-listing-bot__copy h2{font-size:20px;line-height:1.4;letter-spacing:-.5px;margin:10px 0}.med-listing-bot__copy p{font-size:12px;line-height:1.8;color:#8a9184}.med-listing-bot__link{display:flex;align-items:center;justify-content:center;gap:12px;background:var(--md-purple);color:#fff!important;border-radius:10px;padding:13px 17px;min-height:44px;text-decoration:none;font-size:12px;width:100%}.med-article-refresh main>#sidebar{width:min(1180px,calc(100% - 64px))!important;margin:25px auto 40px!important;float:none!important;padding:25px!important;border:1px solid var(--md-border);border-radius:17px}
body:is(.med-detail-refresh,.med-article-refresh) #backtotop{background:#fff!important;border:1px solid #ddd7eb!important;border-radius:50%!important;color:var(--md-purple)!important;width:44px!important;height:44px!important;box-shadow:0 5px 20px #35265512!important;padding:11px!important}body:is(.med-detail-refresh,.med-article-refresh) #backtotop svg *{stroke:var(--md-purple)!important;fill:none!important}
@media(max-width:1050px){.med-detail-grid{grid-template-columns:minmax(0,1fr) 270px;gap:24px}.med-detail-hero{padding:28px}body.med-detail-refresh .med-detail-hero h1{font-size:30px!important}body.med-article-refresh main>.med-article-layout{grid-template-columns:minmax(0,1fr) 250px!important;gap:0 28px!important}.med-detail-booking{padding:22px}}
@media(max-width:767px){body.med-detail-refresh main>.container,body.med-article-refresh main>.med-article-layout{width:calc(100% - 36px)!important;margin-top:20px!important}.med-detail-hero{padding:20px 17px;border-radius:16px;margin-bottom:14px}body.med-detail-refresh .med-detail-hero .top-ver-3{gap:14px!important}body.med-detail-refresh .med-detail-hero .top-ver-3>:is(.image-ver-3,.logo-card-ver-only-3){width:68px!important;height:88px!important;min-width:68px!important;max-width:68px!important;border-radius:10px!important}body.med-detail-refresh .med-detail-hero h1{font-size:21px!important;line-height:1.35!important;letter-spacing:-.6px!important;margin-bottom:12px!important;padding-right:25px!important}body.med-detail-refresh .med-detail-hero .favorite{width:32px!important;height:32px!important;padding:7px!important;right:-8px!important;top:-7px!important;border:0!important;background:transparent!important}.med-detail-hero .points{font-size:13px!important}.med-detail-hero .ratingCount{font-size:10px!important}.med-detail-hero .recommend-button{font-size:10px!important}.med-detail-tabs{gap:20px;margin-bottom:18px}.med-detail-tabs a{font-size:10px;padding:12px 0;min-height:44px}.med-detail-grid{display:flex;flex-direction:column;gap:18px}.med-detail-booking{order:0;position:static;width:100%;padding:20px}.med-detail-body{order:1;width:100%}.med-detail-booking h2{font-size:18px!important;margin-bottom:12px!important}.med-detail-booking-price{font-size:25px!important;margin-bottom:16px!important}body.med-detail-refresh .med-detail-body>:is(.description-bg-ver-3,.med-reception,.doctor-slots-wrapper,.the_content){padding:21px 18px!important;border-radius:15px!important;margin-bottom:16px!important}body.med-detail-refresh .med-detail-body .description-bg-ver-3 :is(p,small,li){font-size:13px!important;line-height:1.85!important}.med-detail-body :is(.h2-title,h2,h3){font-size:21px!important}.med-detail-refresh #sidebar .normal-sidebar{display:block}.med-detail-refresh #sidebar .normal-sidebar>div{margin-bottom:20px!important}body.med-detail-refresh main>.container>.content>.widgets-content{padding:20px 17px!important}.med-detail-refresh .widgets-content :is(p,li){font-size:13px!important}.med-detail-refresh .widgets-content .ui-tabs-nav{display:flex;overflow-x:auto;flex-wrap:nowrap}.med-detail-refresh .widgets-content .ui-tabs-nav li{flex:none!important;float:none!important}.med-detail-refresh .widgets-content .ui-tabs-nav a{font-size:11px!important;white-space:nowrap}.med-detail-refresh .content>.similar-doctors-block .doctors-grid{grid-template-columns:minmax(0,1fr)!important}body.med-article-refresh main>.med-article-layout{display:block!important}.med-article-refresh .article-content-header-title{font-size:30px!important;line-height:1.2!important;letter-spacing:-.8px!important}.med-article-refresh .article-characteristic{font-size:10px!important;gap:12px!important}.med-article-refresh .article-content :is(p,li),.med-article-refresh .article-content-text :is(p,li){font-size:14px!important;line-height:1.9!important}.med-article-refresh .article h2{font-size:23px!important}.med-article-refresh .article h3{font-size:19px!important}.med-detail-article-aside{position:static;margin-top:25px}.med-article-refresh main>#sidebar{width:calc(100% - 36px)!important}.med-detail-article-aside .med-listing-bot{gap:13px;padding:20px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}}

.med-detail-refresh main *, .med-article-refresh main *{box-sizing:border-box}.med-article-refresh .article .content-withe p,.med-article-refresh .article .content-withe li{font-size:15px;line-height:1.95;color:#788392}.med-article-refresh .article .content-withe>img{display:block;width:100%;height:auto;border-radius:18px;margin:24px 0 30px}
.med-detail-photo-fallback{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;background:linear-gradient(140deg,#efeaf5,#eef3ec);color:#8b7a9d}.med-detail-photo-fallback strong{font-size:32px;line-height:1.2}.med-detail-photo-fallback small{font-size:10px;color:#9d91a8}.med-detail-hero .top-ver-3>:is(.image-ver-3,.logo-card-ver-only-3)>img{position:relative;z-index:1}.med-detail-hero .top-ver-3 img.default-image{display:none!important}.med-catalog-mobile-nav{display:none}
@media(max-width:767px){body:is(.med-detail-refresh,.med-article-refresh){padding-bottom:76px!important}.med-detail-photo-fallback strong{font-size:23px}.med-detail-photo-fallback small{font-size:8px}.med-catalog-mobile-nav{display:grid;grid-template-columns:repeat(4,1fr);position:fixed;inset:auto 0 0;z-index:9990;background:#fffffffa;border-top:1px solid #e9e7ef;padding:7px 12px calc(8px + env(safe-area-inset-bottom));backdrop-filter:blur(12px)}.med-catalog-mobile-nav a{display:flex;align-items:center;justify-content:center;gap:4px;flex-direction:column;min-height:45px;color:#9298a5;font-size:10px;text-decoration:none}.med-catalog-mobile-nav a[aria-current]{color:#6754b7}.med-catalog-mobile-nav svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}body:is(.med-detail-refresh,.med-article-refresh) #backtotop{bottom:88px!important;right:16px!important}}
body:is(.med-detail-refresh,.med-article-refresh) main{margin-top:20px!important}body:is(.med-detail-refresh,.med-article-refresh) main .breadcrumbs{font-size:12px!important;line-height:1.8!important;color:#9399a5!important;margin:0 0 22px!important;padding:0!important}body:is(.med-detail-refresh,.med-article-refresh) main .breadcrumbs a{color:#858e9a!important;text-decoration:none!important}.med-detail-profile-summary{font-size:14px;line-height:1.8;color:#7f8896;margin:0 0 10px!important}.med-detail-hero .recommend-btn{font-size:11px!important;padding:8px 12px!important;border-radius:8px!important;background:#eee9f7!important;color:#776493!important;border:0!important;margin:12px 0 0!important;min-height:34px!important}.med-detail-refresh .med-detail-hero .rating-block{font-size:13px!important}.med-article-refresh .article-author:not(:has(img,.article-author-name,.article-author-info,.article-author-url)){display:none!important}
@media(max-width:767px){.med-detail-profile-summary{font-size:11px;line-height:1.75}.med-detail-hero .recommend-btn{font-size:10px!important;padding:7px 10px!important}body:is(.med-detail-refresh,.med-article-refresh) main .breadcrumbs{font-size:10px!important;margin-bottom:16px!important}}
body:is(.med-detail-refresh,.med-article-refresh) main .breadcrumbs *{font-size:inherit!important;line-height:inherit!important;font-family:inherit!important;color:inherit!important;letter-spacing:normal!important}.med-detail-hero .rating{display:flex!important;flex-wrap:wrap!important;align-items:center;justify-content:flex-start!important;gap:8px!important}.med-detail-hero .rating .stars,.med-detail-hero .ratingCount svg{display:none!important}.med-detail-hero .rating_ball{display:flex!important;align-items:center;gap:6px!important;margin:0!important;padding:0!important}.med-detail-hero .rating_ball:before{content:'★';font-size:16px;color:#b6a16b}.med-detail-hero .ratingCount{margin:0!important;padding:0!important;color:#9095a0!important}.med-detail-hero .ratingCount a{font-size:12px!important;color:#8a8198!important;text-decoration:none!important}body.med-detail-refresh .med-detail-hero .med-detail-clinic-symbol{display:grid!important;place-items:center;font-size:42px;color:#8ea17f;background:#edf2e9!important;height:105px!important}
body.med-detail-refresh .widgets-content .nav-tabs{display:flex!important;flex-wrap:nowrap;gap:24px;border-bottom:1px solid #e8e5ee!important;margin:0 0 23px!important;overflow-x:auto}.med-detail-refresh .widgets-content .nav-tabs>li{flex:none!important;margin:0!important;padding:0!important;background:none!important}.med-detail-refresh .widgets-content .nav-tabs h2{font-size:13px!important;line-height:1.7!important;font-weight:400!important;padding:12px 0!important;margin:0!important;color:#8a8097!important;border:0!important;border-radius:0!important;cursor:pointer;background:none!important;white-space:nowrap}.med-detail-refresh .widgets-content .nav-tabs h2.active{color:#6d56b0!important;border-bottom:2px solid #6d56b0!important}.med-detail-refresh .widgets-content .tab-pane{padding:0!important;background:none!important}.med-detail-refresh .widgets-content .tab-pane :is(h2,h3){font-size:21px!important;line-height:1.5!important;color:#344152!important}.med-detail-refresh .widgets-content .navs_over{overflow:auto!important}.med-detail-refresh .widgets-content .nav-tabs h2:focus-visible{outline:2px solid #a99ad0;outline-offset:3px}
@media(max-width:767px){body.med-detail-refresh .med-detail-hero .top-ver-3{flex-direction:row!important;flex-wrap:nowrap!important}.med-detail-hero .rating .points{font-size:12px!important}.med-detail-hero .ratingCount a{font-size:10px!important}.med-detail-hero .rating_ball:before{font-size:14px}.med-detail-refresh .widgets-content .nav-tabs{gap:19px}.med-detail-refresh .widgets-content .nav-tabs h2{font-size:11px!important}.med-detail-hero .med-detail-clinic-symbol{font-size:30px!important;min-width:60px!important;width:60px!important;max-width:60px!important;height:70px!important}}
body:is(.med-detail-refresh,.med-article-refresh) main{margin-top:0!important}body.med-detail-refresh main>.container,body.med-article-refresh main>.med-article-layout{margin-top:0!important}.med-detail-hero .ratingCount{background:none!important;min-width:0!important;width:auto!important}.med-detail-hero .rating_ball{width:auto!important;min-width:0!important}.med-detail-hero .ratingCount a{line-height:1.6!important}.med-detail-hero .rating .points{min-width:0!important;width:auto!important}body.med-detail-refresh .med-detail-booking .buttons-new>.comparison_button{background:#fff!important;color:#7e6a9c!important;border:1px solid #e4dfed!important}body.med-detail-refresh .med-detail-booking .buttons-new>.comparison_button_del{background:#f5f1fb!important;color:#7e6a9c!important;border:1px solid #e4dfed!important}.med-detail-body .service-table .title{min-width:0;overflow-wrap:anywhere}.med-detail-body .prices-span{flex:none;white-space:nowrap}
body.med-detail-refresh .widgets-content .tabs_object{box-shadow:none!important;border:0!important;background:none!important;margin:0!important;border-radius:0!important}.med-detail-refresh .widgets-content .tab-content{padding:0!important}.med-detail-refresh .widgets-content .nav-tabs .active:before,.med-detail-refresh .widgets-content .nav-tabs .active:after{display:none!important}
body.med-detail-refresh .all_comment_stat{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:24px;padding:20px!important;background:#f2f5ef!important;border:1px solid #e3e9df!important;border-radius:13px!important;margin:20px 0!important;min-height:0!important}.med-detail-refresh .count_rewiew_left{width:auto!important;max-width:none!important;flex:none!important}.med-detail-refresh .all_ocen{display:flex!important;align-items:center!important;gap:12px!important;position:static!important;width:auto!important;height:auto!important;min-height:0!important;max-width:none!important;padding:0!important;background:none!important;text-align:left!important}.med-detail-refresh .all_ocen .sred{font-size:30px!important;line-height:1.5!important;color:#667b5d!important}.med-detail-refresh .all_ocen .colvo{font-size:12px!important;line-height:1.8;color:#8a9681!important}.med-detail-refresh .all_ocen .rating{display:none!important}.med-detail-refresh .count_rewiew_right{flex:1;min-width:180px}.med-detail-refresh .count_rewiew_right a{font-size:11px!important;color:#7b6a99!important;margin-top:10px!important}.med-detail-refresh .count_rewiew{font-size:11px!important;color:#87927d!important}.med-detail-refresh .count_rewiew small span{background:#9cae8f!important}.med-detail-refresh .colvo_otz{font-size:10px!important;color:#959d90!important}
body.med-detail-refresh .items_comments{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:23px!important}.med-detail-refresh .items_comments>.item{display:grid!important;grid-template-columns:34px minmax(0,1fr);align-items:start;gap:12px;padding:22px!important;border:1px solid #e7e5ed!important;border-radius:14px!important;background:#fff!important;margin:0!important;min-width:0!important;box-shadow:none!important}.med-detail-refresh .items_comments>.item>.ava{width:34px!important;height:34px!important;margin:0!important}.med-detail-refresh .items_comments .comment-letter{font-size:13px!important;color:#8c7c9e!important;background:#f1edf7!important;line-height:34px!important;width:34px!important;height:34px!important;border-radius:50%!important}.med-detail-refresh .items_comments>.item>.desk{width:100%!important;min-width:0!important;margin:0!important}.med-detail-refresh .items_comments .name{display:flex!important;align-items:center;flex-wrap:wrap;gap:8px;font-size:13px!important;line-height:1.7!important;margin:0 0 12px!important;padding:0!important}.med-detail-refresh .items_comments .name>b{flex:1;color:#535e6a!important;font-size:13px!important}.med-detail-refresh .items_comments .name .date{font-size:10px!important;color:#a1a5af!important;margin:0!important}.med-detail-refresh .items_comments .name .rating{flex-basis:100%;width:100%!important;max-width:none!important;position:static!important;margin:0!important;height:auto!important;min-height:20px;display:flex!important;align-items:center;flex-wrap:wrap;gap:6px}.med-detail-refresh .items_comments .name .date_rev{display:none!important}.med-detail-refresh .items_comments .name .source{font-size:9px!important;line-height:1.6!important;color:#9b93a5!important;margin:0!important}.med-detail-refresh .items_comments .text,.med-detail-refresh .items_comments .text p{font-size:13px!important;line-height:1.85!important;color:#808997!important;margin:0 0 12px!important}.med-detail-refresh .items_comments .titlecomment{font-size:10px!important;color:#a09aa7!important}.med-detail-refresh .items_comments .likes_and_otvet{font-size:10px!important;color:#a39aa9!important;margin:14px 0 0!important}.med-detail-refresh .items_comments .like svg{width:16px!important;height:16px!important}.med-detail-refresh .items_comments .name .rating .stars{transform:scale(.7);transform-origin:left center;margin-right:-24px!important}
@media(max-width:767px){body.med-detail-refresh .items_comments{grid-template-columns:minmax(0,1fr);gap:14px}.med-detail-refresh .items_comments>.item{padding:18px!important;gap:10px}.med-detail-refresh .all_comment_stat{padding:17px!important;gap:14px}.med-detail-refresh .count_rewiew_right{min-width:140px}.med-detail-refresh .all_ocen .sred{font-size:26px!important}}
/* Reserve the schedule area before the API responds; every date stays reachable. */
body.med-detail-refresh .med-detail-doctor #doctor-slots-container{height:360px!important;min-height:360px!important;overflow-y:auto!important;overscroll-behavior:contain;scrollbar-width:thin;padding-right:5px}.med-detail-doctor .doctor-date-item .date-header{background:none!important;padding:8px 0!important}.med-detail-doctor .doctor-date-item .date-day{font-size:14px!important;color:#57634f!important}.med-detail-doctor .doctor-date-item .date-weekday{font-size:11px!important;color:#8c9786!important}.med-detail-doctor .doctor-date-item .date-slots-count{font-size:11px!important;color:#8b7a9f!important}.med-detail-doctor .doctor-date-item{padding:12px!important;min-height:0!important}.med-detail-doctor .slot-time{min-height:40px!important;display:flex;align-items:center;justify-content:center}
/* QA: neutralise legacy logo display and narrower inverted button rules. */
body.med-detail-refresh main .med-detail-record .med-detail-hero .top-ver-3>.med-detail-clinic-symbol{display:grid!important;place-items:center!important;width:96px!important;min-width:96px!important;max-width:96px!important;height:96px!important;line-height:1!important;font-size:40px!important}
body.med-detail-refresh main .med-detail-record .med-detail-booking .buttons-new>:is(#buttonID,.comparison_button,.comparison_button_del){width:100%!important;max-width:100%!important;min-width:0!important;flex:0 0 auto!important;align-self:stretch!important;box-sizing:border-box!important}
body.med-detail-refresh #sidebar .normal-sidebar{align-items:start!important}
body.med-detail-refresh #sidebar .normal-sidebar>div{background:#fff!important;border:1px solid #e7e8ee!important;box-shadow:none!important;padding:24px!important}
body.med-detail-refresh #sidebar .normal-sidebar a[href*="max.ru"] img{display:block!important;width:min(100%,280px)!important;max-width:280px!important;height:auto!important;margin:0 auto!important;object-fit:contain}
body.med-detail-refresh #sidebar .normal-sidebar nav{background:none!important;box-shadow:none!important;border-radius:0!important;padding:0!important;margin:0!important;color:#8b8397!important}
body.med-detail-refresh #sidebar .normal-sidebar :is(h3,h4,.title_side){font-size:19px!important;line-height:1.5!important;font-weight:600!important;letter-spacing:-.4px;color:#485363!important;margin:0 0 14px!important}
body.med-detail-refresh #sidebar .normal-sidebar :is(p,li){font-size:13px!important;line-height:1.85!important;color:#87909d!important}
body.med-detail-refresh #sidebar .normal-sidebar nav :is(a,summary){background:#f7f5fa!important;border:1px solid #ebe6f1!important;border-radius:8px!important;box-shadow:none!important;color:#8a789c!important;font-size:12px!important;line-height:1.7!important;padding:8px 11px!important;text-decoration:none!important}
@media(max-width:767px){body.med-detail-refresh main .med-detail-record .med-detail-hero .top-ver-3>.med-detail-clinic-symbol{width:64px!important;min-width:64px!important;max-width:64px!important;height:64px!important;font-size:29px!important}body.med-detail-refresh #sidebar .normal-sidebar>div{padding:20px!important}}
/* Appointment picker: one date strip and a full-width time panel. */
body.med-detail-refresh .med-detail-doctor #doctor-slots-container{height:auto!important;min-height:330px!important;overflow:visible!important;padding:0!important}
body.med-detail-refresh .med-detail-doctor .med-schedule-intro{font-size:13px!important;line-height:1.7!important;color:#7d8794!important;margin:-8px 0 20px!important}
.med-detail-doctor .med-slot-date-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 12px;font-size:12px;font-weight:600;color:#5c5968}
.med-slot-date-arrows{display:flex;gap:6px}.med-detail-doctor .med-slot-date-arrows button{display:grid;place-items:center;width:36px;height:36px;min-width:36px;padding:0!important;background:#fff!important;color:#75619c!important;border:1px solid #e6dfee!important;border-radius:10px;box-shadow:none!important;font-size:18px!important;line-height:1!important}
body.med-detail-refresh .med-detail-doctor .doctor-dates-list{display:flex!important;grid-template-columns:none!important;gap:9px!important;margin:0!important;overflow-x:auto!important;overflow-y:hidden!important;padding:2px 2px 12px;scroll-snap-type:x proximity;scrollbar-width:thin;scrollbar-color:#d2c8e2 transparent;overscroll-behavior-x:contain}
body.med-detail-refresh .med-detail-doctor .doctor-date-item{display:flex!important;flex:0 0 112px!important;flex-direction:column;align-items:center;justify-content:center;width:112px!important;min-height:106px!important;margin:0!important;padding:12px 8px!important;border:1px solid #e7e2ee!important;border-radius:12px!important;background:#fff!important;text-align:center!important;white-space:normal;cursor:pointer;transform:none!important;scroll-snap-align:start;font-family:inherit}
body.med-detail-refresh .med-detail-doctor .doctor-date-item .date-header{display:block!important;margin:0!important;padding:0!important}
body.med-detail-refresh .med-detail-doctor .doctor-date-item .date-day{display:block!important;font-size:13px!important;line-height:1.7!important;color:#465364!important;white-space:nowrap;font-weight:600}
body.med-detail-refresh .med-detail-doctor .doctor-date-item .date-weekday{display:block!important;font-size:10px!important;line-height:1.8!important;color:#88919e!important;font-weight:400}
body.med-detail-refresh .med-detail-doctor .doctor-date-item .date-slots-count{display:block!important;font-size:10px!important;line-height:1.8!important;color:#8b7a9f!important;margin-top:8px!important;font-weight:400}
body.med-detail-refresh .med-detail-doctor .doctor-date-item.active{border-color:#9d88c6!important;background:#f1edf8!important;box-shadow:0 0 0 1px #9d88c6!important}
body.med-detail-refresh .med-detail-doctor .doctor-date-item.active .date-day{color:#6853a5!important}
.med-detail-doctor .med-slot-panel{padding-top:16px;margin-top:4px;border-top:1px solid #ece7f0}
body.med-detail-refresh .med-detail-doctor .med-slot-panel-title{font-size:12px!important;line-height:1.8!important;color:#5c5968!important;font-weight:600!important;margin:0 0 13px!important}
body.med-detail-refresh .med-detail-doctor .slot-times{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(74px,1fr))!important;gap:9px!important;margin:0!important;padding:0!important;border:0!important}
body.med-detail-refresh .med-detail-doctor .slot-time{display:flex!important;align-items:center;justify-content:center;min-height:44px!important;width:100%!important;padding:10px 8px!important;margin:0!important;font-size:13px!important;line-height:1.5!important;font-family:inherit;font-weight:400!important;border:1px solid #e2dcec!important;border-radius:10px!important;background:#faf8fd!important;color:#74618e!important;box-shadow:none!important;transform:none!important;cursor:pointer}
body.med-detail-refresh .med-detail-doctor .slot-time:hover{border-color:#ae9bcf!important;background:#f0eaf8!important}
body.med-detail-refresh .med-detail-doctor .slot-time.is-selected{color:#fff!important;background:#6754b7!important;border-color:#6754b7!important}
.med-detail-doctor :is(.doctor-date-item,.slot-time,.med-slot-continue,.med-slot-date-arrows button,.med-slot-retry):focus-visible{outline:2px solid #8c73bf;outline-offset:3px}
.med-slot-selection{display:flex;align-items:center;flex-wrap:wrap;gap:12px;background:#f2f5ee;border:1px solid #e3e9dc;border-radius:12px;padding:16px;margin-top:18px}.med-slot-selection[hidden]{display:none!important}body.med-detail-refresh .med-slot-selection p{flex:1;margin:0!important;font-size:12px!important;line-height:1.8!important;color:#61735a!important}.med-slot-selection strong{display:block;color:#465b3e;font-size:14px}.med-slot-selection small{flex-basis:100%;display:block;font-size:10px;line-height:1.8;color:#7d8875}
body.med-detail-refresh .med-slot-continue{display:flex;align-items:center;justify-content:center;min-height:44px;padding:11px 16px!important;border:1px solid #6754b7!important;border-radius:10px;background:#6754b7!important;color:#fff!important;font-size:12px!important;line-height:1.6!important;margin:0!important;box-shadow:none!important;cursor:pointer}.med-slot-retry{display:block;padding:10px 14px;margin:10px auto 0;border:1px solid #d6cce8;border-radius:9px;background:#fff;color:#6754b7;cursor:pointer}
/* Reuse the existing MAX link and mobile artwork, with a compact desktop banner. */
body.med-detail-refresh .med-detail-record .med-max-mobile-banner{display:block!important;width:100%!important;padding:0!important;border:1px solid #e5dff0!important;border-radius:13px!important;background:#f5f2fa!important;overflow:hidden;text-decoration:none!important;margin:0 0 27px!important;color:#66519b!important}
.med-detail-record .med-max-mobile-banner picture{display:none!important}.med-max-desktop-banner{display:flex;align-items:center;gap:14px;padding:15px 19px}.med-max-desktop-icon{display:grid;place-items:center;flex:none;width:38px;height:38px;border-radius:12px;background:#e8dff7;color:#7862ac;font-size:23px}.med-max-desktop-banner>span:nth-child(2){flex:1;min-width:0}.med-max-desktop-banner small{display:block;font-size:10px;line-height:1.8;color:#8c7c9f}.med-max-desktop-banner strong{display:block;font-size:14px;line-height:1.6;font-weight:600;color:#605172}.med-max-desktop-cta{font-size:12px;color:#6754b7;white-space:nowrap}.med-detail-record .med-max-mobile-banner:hover{border-color:#c8b9e0!important}
body.med-detail-refresh:has(.med-detail-record) #sidebar .normal-sidebar>div:has(.textwidget>a[href*="max.ru"]){display:none!important}
@media(max-width:767px){body.med-detail-refresh .med-detail-record .med-max-mobile-banner{margin-bottom:18px!important}.med-detail-record .med-max-mobile-banner picture{display:block!important;width:100%!important}.med-max-desktop-banner{display:none!important}body.med-detail-refresh .med-detail-record .med-max-mobile-banner img{display:block!important;width:100%!important;height:auto!important;aspect-ratio:5/1!important;max-width:none!important;max-height:none!important;object-fit:cover!important}.med-slot-selection{padding:14px;gap:12px}.med-slot-selection p,.med-slot-selection .med-slot-continue{width:100%;flex-basis:100%}.med-detail-doctor .med-slot-date-heading{font-size:11px}.med-detail-doctor .med-slot-date-arrows button{width:40px;height:40px}body.med-detail-refresh .med-detail-doctor .doctor-date-item{flex-basis:102px!important;width:102px!important;min-height:100px!important}body.med-detail-refresh .med-detail-doctor .slot-times{grid-template-columns:repeat(auto-fill,minmax(65px,1fr))!important;gap:8px!important}}
/* The legacy container is a flex column with intrinsic-width children. */
body.med-detail-refresh .med-detail-doctor #doctor-slots-container{display:block!important;width:100%!important;min-width:0!important;max-width:100%!important}
.med-detail-doctor #doctor-slots-container>:is(.med-slot-date-heading,.doctor-dates-list,.med-slot-panel){width:100%!important;min-width:0!important;max-width:100%!important;box-sizing:border-box}
/* Keep the partner's form, fields and submission flow; match the shared UI. */
body.med-detail-refresh .dd-widget-modal #dd-sign-up-popup{box-sizing:border-box!important;width:calc(100% - 32px)!important;max-width:480px!important;max-height:calc(100vh - 48px)!important;max-height:calc(100dvh - 48px)!important;overflow-y:auto!important;left:50%!important;top:50%!important;margin:0!important;transform:translate(-50%,-50%)!important;padding:28px!important;border:1px solid #e6e0ee!important;border-radius:18px!important;background:#fff!important;box-shadow:0 20px 80px #24163a26!important;font-family:MedGolos,Arial,sans-serif!important;color:#344152!important}
body.med-detail-refresh .dd-widget-modal #dd-sign-up-popup *{box-sizing:border-box;font-family:inherit!important}
body.med-detail-refresh .dd-widget-modal .dd-sign-up-popup-title{font-size:22px!important;font-weight:600!important;line-height:1.4!important;text-align:left!important;color:#344152!important;margin:0 0 24px!important;padding:0 24px 0 0!important}
body.med-detail-refresh .dd-widget-modal #dd_order-button_popup_form{width:100%!important;margin:0!important;padding:0!important}
body.med-detail-refresh .dd-widget-modal .dd-sign-up-popup-form-container{display:block!important;width:100%!important;margin:0 0 18px!important;padding:0!important;float:none!important;clear:both}
body.med-detail-refresh .dd-widget-modal .dd-sign-up-popup-form-label{display:block!important;width:100%!important;float:none!important;margin:0 0 8px!important;padding:0!important;font-size:12px!important;line-height:1.6!important;color:#677182!important;text-align:left!important}
body.med-detail-refresh .dd-widget-modal :is(.dd-sign-up-popup-form-input,.dd-sign-up-popup-form-textarea){display:block!important;width:100%!important;max-width:100%!important;float:none!important;margin:0!important;padding:12px 14px!important;border:1px solid #e2ddec!important;border-radius:10px!important;background:#faf9fc!important;box-shadow:none!important;font-size:16px!important;line-height:1.5!important;color:#465363!important;min-height:46px!important}
body.med-detail-refresh .dd-widget-modal .dd-sign-up-popup-form-textarea{height:96px!important;min-height:96px!important;resize:vertical!important}
body.med-detail-refresh .dd-widget-modal :is(input,textarea):focus{outline:2px solid #b6a5d3!important;outline-offset:1px}
body.med-detail-refresh .dd-widget-modal .dd-sign-up-popup-under-form-description{font-size:11px!important;line-height:1.8!important;color:#89919d!important;text-align:left!important;padding:0!important;margin:0 0 17px!important}
body.med-detail-refresh .dd-widget-modal .dd-sign-up-popup-submit-button-container{margin:0!important;padding:0!important;width:100%!important}
body.med-detail-refresh .dd-widget-modal #dd-submit{display:block!important;width:100%!important;margin:0!important;min-height:46px!important;padding:12px 18px!important;background:#6754b7!important;color:#fff!important;border:1px solid #6754b7!important;border-radius:11px!important;box-shadow:none!important;font-size:13px!important;line-height:1.6!important;text-transform:none!important;cursor:pointer}
body.med-detail-refresh .dd-widget-modal #dd-sign-up-popup-close{top:14px!important;right:14px!important;width:28px!important;height:28px!important;opacity:.65}
@media(max-width:400px){body.med-detail-refresh .dd-widget-modal #dd-sign-up-popup{padding:22px 18px!important}.med-detail-refresh .dd-widget-modal .dd-sign-up-popup-title{font-size:20px!important}}
/* Clinic booking uses real service prices and optional appointment preferences. */
.med-detail-clinic .med-clinic-booking-intro{font-size:12px!important;line-height:1.8!important;color:#7f8795!important;margin:0 0 18px!important}
.med-detail-clinic .med-clinic-booking-fields{margin:0 0 20px;min-width:0}
.med-detail-clinic .med-clinic-booking-fields label{display:block;font-size:11px!important;font-weight:600!important;line-height:1.7!important;color:#6f7685!important;margin:0 0 7px!important}
body.med-detail-refresh .med-detail-clinic .med-clinic-booking-fields :is(select,input){box-sizing:border-box;display:block;width:100%!important;min-width:0!important;max-width:100%!important;height:44px!important;min-height:44px!important;padding:10px 11px!important;margin:0!important;border:1px solid #e3ddec!important;border-radius:10px!important;background-color:#faf9fc!important;color:#596575!important;font:12px/1.6 MedGolos,Arial,sans-serif!important;box-shadow:none!important;overflow:hidden;text-overflow:ellipsis}
body.med-detail-refresh .med-detail-clinic .med-clinic-booking-fields input[type=date]{font-size:13px!important;-webkit-appearance:none;appearance:none}
.med-detail-clinic .med-clinic-booking-fields :is(select,input):focus-visible{outline:2px solid #b7a6d4;outline-offset:2px}
.med-clinic-service-price{padding:11px 13px!important;margin:12px 0 0!important;border-radius:9px;background:#f1f5ed;font-size:12px!important;line-height:1.7!important;color:#607451!important}.med-clinic-service-price[hidden]{display:none!important}
.med-clinic-preferences{margin-top:14px;border:1px solid #ebe6f2;border-radius:10px;background:#fff;overflow:hidden}.med-clinic-preferences summary{display:list-item;padding:12px 13px;font-size:11px;line-height:1.7;color:#7b679a;cursor:pointer;min-height:44px;list-style-position:inside}.med-clinic-preferences[open] summary{border-bottom:1px solid #eee9f3}.med-clinic-preferences summary:focus-visible{outline:2px solid #b7a6d4;outline-offset:-3px}
.med-clinic-preferences .med-clinic-when-title{font-size:10px!important;line-height:1.7!important;color:#9197a2!important;margin:12px 12px 8px!important}.med-clinic-when{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:9px;padding:0 12px 13px}.med-clinic-when>div{min-width:0}
.med-clinic-prices-link{display:block;margin:16px 0 0;font-size:11px;line-height:1.7;color:#7c6899!important;text-decoration:none!important}.med-clinic-prices-link:hover{text-decoration:underline!important}
.med-clinic-service-search{margin:0 0 18px}.med-clinic-service-search label{display:block;font-size:12px;font-weight:600;line-height:1.8;color:#667181;margin:0 0 7px}
body.med-detail-refresh .med-clinic-service-search input{display:block;width:100%!important;max-width:100%!important;min-height:44px!important;padding:12px 14px!important;margin:0!important;border:1px solid #e3ddec!important;border-radius:10px!important;background:#faf9fc!important;font:13px/1.6 MedGolos,Arial,sans-serif!important;box-shadow:none!important;color:#536174!important}
.med-clinic-service-search input:focus-visible{outline:2px solid #b7a6d4;outline-offset:2px}
body.med-detail-refresh .med-detail-clinic #doctor-slots-container{display:block!important;min-width:0!important;max-width:100%!important;width:100%!important;height:auto!important;min-height:210px!important;overflow:visible!important}
.med-detail-clinic #doctor-slots-container .nav-tabs{display:flex!important;gap:8px!important;flex-wrap:wrap!important;border-bottom:1px solid #e8e3ee!important;padding-bottom:12px!important;margin:0 0 12px!important}.med-detail-clinic #doctor-slots-container .nav-tabs .nav-item{margin:0!important;flex:1 1 160px!important}.med-detail-clinic #doctor-slots-container .nav-link{display:block;padding:11px 13px!important;min-height:44px!important;border:1px solid #e8e2f0!important;border-radius:10px!important;font-size:12px!important;line-height:1.7!important;background:#fff!important;text-align:center!important}.med-detail-clinic #doctor-slots-container .nav-link.active{color:#6754b7!important;background:#f1edf8!important;border-color:#cdbfe0!important}
.med-detail-clinic #doctor-slots-container .list-container{max-height:420px!important;overflow-y:auto!important;overscroll-behavior:contain;scrollbar-width:thin;padding-right:5px}
body.med-detail-refresh .med-detail-clinic .service-table{padding:0!important;margin:0!important;list-style:none!important}.med-detail-clinic .service-table li{display:grid!important;grid-template-columns:minmax(0,1fr) auto auto!important;align-items:center;gap:14px!important;padding:15px 0!important;line-height:1.75!important}.med-detail-clinic .service-table li[hidden]{display:none!important}.med-detail-clinic .service-table .title{font-size:13px!important;color:#617080!important;overflow-wrap:anywhere}.med-detail-clinic .service-table .prices-span{font-size:12px!important;color:#586b4e!important;white-space:nowrap}.med-detail-clinic .service-table .prices-span b{font-weight:600!important}
body.med-detail-refresh .med-clinic-service-choose{display:flex;align-items:center;justify-content:center;min-height:38px!important;padding:8px 11px!important;margin:0!important;border:1px solid #e3dced!important;border-radius:9px!important;background:#f8f5fc!important;color:#7a6497!important;font-size:11px!important;line-height:1.6!important;cursor:pointer;box-shadow:none!important}.med-clinic-service-choose:focus-visible{outline:2px solid #b7a6d4;outline-offset:2px}.med-clinic-service-choose:hover{background:#eee8f8!important}
.med-clinic-service-empty{padding:16px;margin:12px 0 0;border:1px solid #e8e3ee;border-radius:10px;background:#faf9fc;font-size:12px;color:#8b8198;line-height:1.8}.med-clinic-service-empty[hidden]{display:none!important}
@media(max-width:767px){.med-detail-clinic .med-detail-booking{padding:22px!important}.med-detail-clinic .med-clinic-booking-intro{max-width:360px}.med-detail-clinic .med-clinic-when{gap:12px}.med-detail-clinic .med-clinic-booking-fields input[type=date]{font-size:16px!important}.med-detail-clinic .service-table li{grid-template-columns:minmax(0,1fr) auto!important;gap:7px 12px!important;padding:16px 0!important}.med-detail-clinic .service-table .title{grid-column:1/-1;font-size:12px!important}.med-detail-clinic .service-table .prices-span{grid-column:1;white-space:normal}.med-detail-clinic .med-clinic-service-choose{grid-column:2;min-height:44px!important}.med-detail-clinic #doctor-slots-container .list-container{max-height:430px!important}.med-detail-clinic #doctor-slots-container .nav-link{font-size:11px!important}}

body.med-detail-refresh .med-detail-clinic .doctor-slots-wrapper{padding:27px!important;margin:0 0 20px!important;border:1px solid #e7e8ee!important;border-radius:17px!important;background:#fff!important;box-shadow:none!important;width:100%!important;min-width:0!important;box-sizing:border-box}
@media(min-width:768px){.med-detail-clinic .med-detail-booking:has(.med-clinic-preferences[open]){position:static!important;top:auto!important}}
@media(max-width:767px){body.med-detail-refresh .med-detail-clinic .doctor-slots-wrapper{padding:21px 18px!important;border-radius:15px!important}}

/* Clinic cards inherit a 72px limit for picture elements from the old theme. */
@media(max-width:767px){body.med-detail-refresh .med-detail-record .med-max-mobile-banner picture{display:block!important;width:100%!important;max-width:none!important;height:auto!important;max-height:none!important;min-height:0!important;margin:0!important;padding:0!important;aspect-ratio:5/1}}

@media(max-width:360px){.med-detail-clinic .med-clinic-when{grid-template-columns:minmax(0,1fr)!important;gap:13px!important}}

/* Let narrow booking columns stack date and time independently of viewport. */
.med-detail-clinic .med-clinic-when{grid-template-columns:repeat(auto-fit,minmax(100px,1fr))}

/* Clear reception location layout, with a separate map action. */
body.med-detail-refresh .med-detail-body .med-reception__list{list-style:none!important;margin:0!important;padding:0!important}
body.med-detail-refresh .med-detail-body .med-reception__item{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:5px 24px!important;align-items:center!important;position:relative}
body.med-detail-refresh .med-reception__name{grid-column:1;grid-row:1;line-height:1.5;text-decoration:none!important}
body.med-detail-refresh .med-reception__addr{grid-column:1;grid-row:2;line-height:1.7;color:#8b929f}
body.med-detail-refresh .med-reception__price{grid-column:1;grid-row:3;margin-top:3px;font-size:15px!important;line-height:1.5}
body.med-detail-refresh .med-detail-body .med-reception__map{grid-column:2;grid-row:1/4;justify-self:end;display:inline-flex!important;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:10px 13px;border:1px solid #e7dff0;border-radius:10px;background:#f6f2fb;color:#8f79ad!important;font-size:11px!important;line-height:1.4;text-decoration:none!important;white-space:nowrap}
.med-reception__map:before{content:"";width:16px;height:16px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='1.7' d='M12 21s7-6 7-12a7 7 0 1 0-14 0c0 6 7 12 7 12Z'/%3E%3Ccircle cx='12' cy='9' r='2.5' fill='none' stroke='black' stroke-width='1.7'/%3E%3C/svg%3E") center/contain no-repeat}
.med-slot-clinic-choice{display:block;font-size:11px;color:#94839f;margin:0 0 18px;line-height:1.6;font-weight:400}
.med-slot-clinic-choice select{display:block;width:100%;max-width:100%;height:46px;margin-top:7px;padding:10px 30px 10px 12px;border:1px solid #e4dceb;border-radius:10px;background:#fff;color:#776584;font:inherit;font-size:12px;text-overflow:ellipsis}
.med-slot-period{font-size:11px;color:#9f94aa;margin:0 0 14px;line-height:1.7}
@media(max-width:767px){body.med-detail-refresh .med-detail-body .med-reception__item{gap:6px 10px!important;padding:15px!important}body.med-detail-refresh .med-detail-body .med-reception__name{font-size:13px!important}body.med-detail-refresh .med-detail-body .med-reception__price{font-size:14px!important}body.med-detail-refresh .med-detail-body .med-reception__map{width:44px;min-width:44px;height:44px;padding:10px;font-size:0!important;gap:0}body.med-detail-refresh .med-reception__map:before{width:18px;height:18px}.med-slot-clinic-choice select{font-size:11px}}

/* Booking clarity and related navigation: isolated from legacy component styles. */
.med-detail-doctor .med-booking-places{display:grid;gap:10px;margin:16px 0}
.med-detail-doctor .med-booking-place{display:grid;gap:5px;padding:12px;background:#f7f7fb;border:1px solid #e9e7f1;border-radius:12px;overflow-wrap:anywhere}
.med-detail-doctor .med-booking-place strong{font-size:14px;color:#252d39}
.med-detail-doctor .med-booking-place span,.med-detail-doctor .med-booking-place small,.med-detail-doctor .med-booking-places p{font-size:13px;line-height:1.5;color:#647085;margin:0}
.med-booking-schedule-link{display:inline-flex;align-items:center;min-height:44px;color:#6550b7;text-decoration:underline;font-weight:600}
.med-schedule-fallback{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:14px}
.med-schedule-fallback button,.med-schedule-fallback a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 14px;border:1px solid #ded8ef;border-radius:10px;background:white;color:#6550b7;font-family:inherit;font-weight:600;font-size:14px;line-height:1.4;white-space:normal}
.med-schedule-fallback button{background:#6550b7;color:white;cursor:pointer}
.med-related-navigation{margin:24px 0;padding:24px;border:1px solid #e7e4ef;border-radius:20px;background:#fff;color:#252d39}
.med-related-navigation h2{font-size:22px;line-height:1.3;margin:6px 0 10px;color:#252d39}
.med-related-navigation>p{font-size:14px;line-height:1.6;color:#647085}
.med-related-navigation__links{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}
.med-related-navigation__links a{display:inline-flex;align-items:center;gap:12px;min-height:44px;padding:10px 14px;border:1px solid #e7e4ef;border-radius:10px;background:#f8f7fc;color:#6550b7;font-size:14px;text-decoration:none;overflow-wrap:anywhere}
.med-related-navigation__links a:hover{background:#eeebf8;border-color:#bcb1de}
.med-related-navigation a:focus-visible,.med-booking-schedule-link:focus-visible,.med-schedule-fallback :focus-visible{outline:3px solid #bcb1de;outline-offset:3px}
@media(max-width:767px){.med-related-navigation{padding:18px;border-radius:16px}.med-related-navigation h2{font-size:19px}.med-related-navigation__links a{max-width:100%}.med-schedule-fallback>*{width:100%}}
body.med-detail-refresh .med-detail-doctor #doctor-slots-container:has(>.doctor-slots-error){min-height:0!important}

/* Finish the remaining related/category components without changing their links. */
body.med-detail-refresh :is(.doctor-categories-dropdown-widget,.clinic-categories-dropdown-widget){background:#fff!important;color:#647085!important;border:1px solid #e7e4ef!important;border-radius:18px!important;padding:24px!important;box-shadow:none!important}
body.med-detail-refresh :is(.doctor-categories-dropdown-widget,.clinic-categories-dropdown-widget) h3{color:#252d39!important;font-size:20px!important;line-height:1.4!important}
body.med-detail-refresh :is(.doctor-categories-dropdown-widget,.clinic-categories-dropdown-widget) p{color:#647085!important;line-height:1.6!important}
body.med-detail-refresh :is(.doctor-categories-dropdown-widget,.clinic-categories-dropdown-widget) :is(a,summary){background:#f8f7fc!important;border:1px solid #e7e4ef!important;border-radius:10px!important;color:#6550b7!important;min-height:44px;display:inline-flex;align-items:center;gap:8px;padding:10px 14px!important;box-sizing:border-box;line-height:1.4!important}
body.med-detail-refresh .med-category-menu{position:static!important;min-width:0!important;max-width:100%!important;width:100%;margin-top:10px;box-shadow:none!important;border-radius:12px!important}
body.med-detail-refresh .med-category-menu a{display:flex!important;margin:5px 0}
body.med-detail-refresh .med-category-dropdown{max-width:100%;flex-basis:100%}
body.med-detail-refresh .similar-doctors-block>div:first-child{flex-wrap:wrap;gap:14px;align-items:flex-start!important}
body.med-detail-refresh .similar-doctors-block>div:first-child>a{min-height:44px;display:inline-flex;align-items:center;background:#f5f2fc!important;color:#6550b7!important;border:1px solid #e4def2!important;border-radius:10px!important;box-shadow:none!important}
body.med-detail-refresh .similar-doctors-block h3{color:#252d39!important;font-size:22px!important;line-height:1.4!important}
body.med-detail-refresh .similar-doctors-block p{color:#647085!important;line-height:1.6!important}
@media(max-width:767px){body.med-detail-refresh :is(.doctor-categories-dropdown-widget,.clinic-categories-dropdown-widget){padding:18px!important}body.med-detail-refresh .med-category-menu{max-height:280px!important}}
