/* Document gallery and HTML price list: scoped to these new components. */
html.clinic-popup-open{overflow:hidden}
#services>.services__title__holder{display:flex;gap:14px}
#modal2:not(.show){visibility:hidden}
#modal2 .close-modal{position:sticky;top:0;right:auto;float:right;z-index:3;margin:-18px -18px 0 0;width:36px;height:36px;display:flex;align-items:center;justify-content:center;background:#fff;border:1px solid #dce4ed;border-radius:50%;font-size:20px}
#modal2 .modal{width:min(1040px,94vw);max-width:94vw;padding:32px;box-sizing:border-box;overscroll-behavior:contain}
#modal2 .modal__body{align-items:flex-start}
#modal2 .modal__content__holder{min-width:0;flex:1}
#modal2 .modal__image__holder{flex:0 0 280px}
#modal2 .modal__image__holder img{max-width:100%;object-fit:cover}
#modal2 .modal__content__holder h2{margin-top:0;padding-right:16px}
.doctor-documents{margin-top:32px;border-top:1px solid #e5e9ef;padding-top:28px;min-width:0}
.doctor-documents__group+.doctor-documents__group{margin-top:30px}
.doctor-documents__heading{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:14px}
.doctor-documents__heading h3{font-size:20px;line-height:1.35;margin:0;font-weight:700}
.doctor-documents__heading h3 span{font-size:13px;background:#eaf4ff;color:#2478ca;display:inline-flex;border-radius:50%;width:26px;height:26px;align-items:center;justify-content:center;margin-left:4px;vertical-align:middle}
.doctor-documents__arrows{display:flex;gap:6px;flex-shrink:0}
.doctor-documents__arrows button,.document-viewer button,.clinic-price__header button{font:inherit;cursor:pointer;border:1px solid #dce4ed;border-radius:50%;background:#fff;color:#175c9f;min-width:40px;min-height:40px;font-size:22px;line-height:1}
.doctor-documents__arrows button:disabled{opacity:.35;cursor:default}
.doctor-documents__track{display:flex;gap:14px;overflow:auto;scroll-snap-type:x mandatory;scrollbar-width:thin;scrollbar-color:#a9cbea #f2f6fa;padding:2px 2px 12px;overscroll-behavior-x:contain}
.doctor-document{box-sizing:border-box;flex:0 0 176px;color:#202d3e;text-decoration:none;border:1px solid #e0e8f1;background:#f8fbff;border-radius:14px;padding:10px;scroll-snap-align:start;display:flex;flex-direction:column;gap:10px;transition:border-color .2s,box-shadow .2s}
.doctor-document:hover{border-color:#47a0ff;box-shadow:0 4px 16px #1d70b514;text-decoration:none}
.doctor-document__paper{height:130px;display:flex;align-items:center;justify-content:center;background:#edf1f5;border-radius:8px;overflow:hidden}
.doctor-document__paper img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}
.doctor-document__name{font-size:13px;line-height:1.4;font-weight:700;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;min-height:54px}
.doctor-document__year{font-size:12px;color:#63778c;display:flex;justify-content:space-between;margin-top:auto}
.doctor-document:focus-visible,.doctor-documents button:focus-visible,.document-viewer :focus-visible,.clinic-price :focus-visible{outline:3px solid #1875d0;outline-offset:3px}
.document-viewer,.clinic-price--dialog{box-sizing:border-box;border:0;padding:0;border-radius:22px;background:#fff;box-shadow:0 24px 100px #0005;color:#202d3e;font-family:inherit}
.document-viewer::backdrop,.clinic-price--dialog::backdrop{background:#101e33bf;backdrop-filter:blur(5px)}
.document-viewer[open]{display:flex;flex-direction:column;width:min(1300px,96vw);height:94dvh;max-width:96vw;max-height:94dvh;margin:auto}
.document-viewer__header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 22px;flex-shrink:0;border-bottom:1px solid #e4ebf3}
.document-viewer__header p{font-size:16px;line-height:1.4;margin:0;font-weight:700}
.document-viewer__header button{flex-shrink:0}
.document-viewer__canvas{flex:1;min-height:0;overflow:auto;background:#e9eef4;display:flex;align-items:center;justify-content:center;padding:16px;box-sizing:border-box;overscroll-behavior:contain}
.document-viewer__canvas img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;box-shadow:0 4px 25px #263e4f22}
.document-viewer__canvas.is-zoomed{display:block}
.document-viewer__canvas.is-zoomed img{max-width:none;max-height:none;flex-shrink:0;margin:auto}
.document-viewer__footer{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:center;padding:12px 20px;flex-shrink:0}
.document-viewer__footer p{margin:0;font-size:14px;min-width:62px;text-align:center}
.document-viewer__footer [data-viewer-zoom]{border-radius:24px;font-size:14px;padding:10px 16px}
.document-viewer__footer a{font-size:14px;color:#1265b7;text-decoration:underline;text-underline-offset:3px}
.clinic-price--dialog{width:min(1160px,94vw);max-width:94vw;height:90dvh;max-height:90dvh;margin:auto;overflow:auto;overscroll-behavior:contain}
.clinic-price--page{max-width:1160px;margin:40px auto;padding:0 24px 48px;box-sizing:border-box;color:#202d3e}
.clinic-price__header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:26px 28px 20px}
.clinic-price__header h1,.clinic-price__header h2{font-size:32px;font-weight:700;margin:0;line-height:1.2}
.clinic-price__eyebrow{color:#347fca;font-size:14px;margin:0 0 6px;font-weight:700}
.clinic-price__back{display:inline-block;color:#1265b7;text-decoration:underline;margin:0 28px 14px}
.clinic-price__tools{position:sticky;top:0;z-index:1;display:grid;grid-template-columns:minmax(200px,1fr) minmax(180px,1fr) auto;gap:10px 16px;background:#f4f8fc;border-block:1px solid #e2eaf4;padding:18px 28px 12px}
.clinic-price__tools label{display:flex;flex-direction:column;gap:6px;font-size:13px;color:#4a6076;font-weight:700;min-width:0}
.clinic-price__tools input,.clinic-price__tools select{box-sizing:border-box;width:100%;min-width:0;font:inherit;font-size:15px;font-weight:400;line-height:1.5;min-height:46px;padding:10px 12px;border:1px solid #cbd9e8;border-radius:9px;background:#fff;color:#202d3e}
.clinic-price__tools button{align-self:end;min-height:46px;border:1px solid #cbd9e8;border-radius:9px;padding:10px 16px;font:inherit;font-size:14px;background:#fff;color:#175c9f;cursor:pointer}
.clinic-price__tools p{grid-column:1/-1;font-size:12px;color:#62768b;margin:0}
.clinic-price__results{padding:8px 28px 28px}
.clinic-price__category{margin-top:24px}
.clinic-price__category h2{font-size:21px;font-weight:700;line-height:1.3;margin:0 0 12px;color:#246aa8}
.clinic-price table{border-collapse:collapse;table-layout:fixed;width:100%;font-size:14px;line-height:1.5}
.clinic-price th{font-size:12px;color:#6b7c8d;font-weight:700;text-align:left;background:#f5f8fb;padding:10px 12px}
.clinic-price td{padding:12px;border-bottom:1px solid #e5edf4;vertical-align:top;overflow-wrap:anywhere}
.clinic-price th:first-child{width:130px}.clinic-price th:last-child{width:110px;text-align:right}
.clinic-price__code{font-size:12px;color:#718295}.clinic-price__amount{font-weight:700;text-align:right;white-space:nowrap;color:#202d3e}
.clinic-price tbody tr:nth-child(even){background:#fafcfe}
.clinic-price [hidden]{display:none!important}
.clinic-price__empty{padding:40px 0;text-align:center;color:#62768b}
@media(max-width:700px){
 #modal2 .modal{padding:30px 18px;max-height:94dvh}#modal2 .modal__body{flex-direction:column}#modal2 .modal__image__holder{flex:0 0 auto;width:160px;height:auto}#modal2 .modal__image__holder img{height:210px;width:160px}
 #modal2 .services__item{box-sizing:border-box;min-width:0}#modal2 .services__item.half{width:calc(50% - 4px)}
 .doctor-documents__heading h3{font-size:17px}.doctor-document{flex-basis:152px}.doctor-document__paper{height:116px}.doctor-documents__arrows{gap:4px}.doctor-documents__arrows button{min-width:36px;min-height:36px}
 .document-viewer[open]{width:98vw;max-width:98vw;height:96dvh;max-height:96dvh;border-radius:14px}.document-viewer__header{padding:12px;gap:8px}.document-viewer__header p{font-size:14px}.document-viewer__canvas{padding:6px}.document-viewer__footer{padding:10px;gap:8px}.document-viewer__footer a{font-size:12px}
 .clinic-price--dialog{max-width:98vw;width:98vw;height:96dvh;max-height:96dvh;border-radius:14px}.clinic-price__header{padding:20px 16px 16px}.clinic-price__header h1,.clinic-price__header h2{font-size:27px}.clinic-price__tools{grid-template-columns:1fr auto;padding:12px 16px;gap:10px}.clinic-price__tools label:first-child{grid-column:1/-1}.clinic-price__tools select{font-size:14px}.clinic-price__results{padding:0 12px 20px}.clinic-price__category h2{font-size:18px}.clinic-price table{font-size:13px}.clinic-price th:first-child{width:75px}.clinic-price th:last-child{width:72px}.clinic-price th,.clinic-price td{padding:10px 5px}.clinic-price__code{font-size:10px}.clinic-price--page{margin:18px auto;padding:0 6px 30px}
}
@media(prefers-reduced-motion:reduce){.doctor-document{transition:none}.doctor-documents__track{scroll-behavior:auto}}
