    /* ======================= */
    /* ОСНОВНЫЕ СТИЛИ (как были) */
    /* ======================= */
    .doctor-popup * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        font-family: 'Segoe UI', Arial, sans-serif;
    }

    .doctor-popup {
        background: white;
        border-radius: 16px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        max-width: 900px;
        width: 100%;
        overflow: hidden;
        animation: fadeInPopup 0.3s ease-out;
        display: flex;
        flex-direction: column;
        margin: 20px auto;
    }

    @keyframes fadeInPopup {
        from { opacity: 0; transform: translateY(20px); }
        to { opacity: 1; transform: translateY(0); }
    }

    .popup-header {
        background: linear-gradient(135deg, #9869ae 0%, #623e73 100%);
        color: white;
        padding: 25px 30px;
        position: relative;
    }

    .popup-close-btn {
        position: absolute;
        top: 20px;
        right: 25px;
        background: rgba(255,255,255,0.2);
        border: none;
        color: white;
        width: 32px;
        height: 32px;
        border-radius: 50%;
        font-size: 18px;
        cursor: pointer;
        transition: all 0.2s;
    }

    .popup-close-btn:hover {
        background: rgba(255,255,255,0.3);
    }

    .doctor-main {
        display: flex;
        gap: 30px;
        align-items: flex-start;
    }

    .photo-left {
        flex-shrink: 0;
        width: 200px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .photo-container {
        width: 180px;
        height: 240px;
        border-radius: 12px;
        overflow: hidden;
        border: 5px solid rgba(255,255,255,0.3);
        background: #e9f2fa;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 15px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    .doctor-photo {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center top;
    }

    .photo-label {
        font-size: 14px;
        color: rgba(255,255,255,0.9);
        font-style: italic;
        text-align: center;
        margin-top: 5px;
    }

    .doctor-info {
        flex-grow: 1;
        padding-top: 10px;
    }

    .doctor-fio {
        font-size: 30px;
        font-weight: 600;
        margin-bottom: 12px;
        line-height: 1.2;
    }

    .doctor-position {
        font-size: 19px;
        opacity: 0.95;
        line-height: 1.5;
        padding-right: 20px;
        margin-bottom: 25px;
    }

    .popup-content {
        padding: 30px;
        display: flex;
        flex-direction: column;
    }

    .popup-content-wrapper {
        display: flex;
        gap: 40px;
    }

    .education-column {
        flex: 1;
        min-width: 0;
    }

    .popup-section-title {
        font-size: 22px;
        color: #1a6fc4;
        margin-bottom: 25px;
        padding-bottom: 12px;
        border-bottom: 2px solid #eaeaea;
        font-weight: 600;
    }

    .education-list {
        list-style: none;
    }

    .education-item {
        margin-bottom: 22px;
        padding-left: 26px;
        position: relative;
        line-height: 1.5;
        border-left: 3px solid #eaeaea;
        padding-left: 20px;
        margin-left: 3px;
    }

    .education-item::before {
        content: "";
        position: absolute;
        left: -8px;
        top: 8px;
        width: 14px;
        height: 14px;
        border-radius: 50%;
        background: #1a6fc4;
        border: 3px solid white;
        box-shadow: 0 0 0 2px #1a6fc4;
    }

    .education-type {
        font-weight: 700;
        color: #222;
        display: block;
        margin-bottom: 6px;
        font-size: 16px;
    }

    .education-details {
        color: #444;
        font-size: 15px;
        display: block;
        margin-bottom: 4px;
        line-height: 1.4;
    }

    /* ======================= */
    /* СТИЛИ КНОПОК ПОД ДОЛЖНОСТЬЮ */
    /* ======================= */
    .position-buttons {
        display: flex;
        gap: 15px;
        margin-top: 25px;
        flex-wrap: wrap;
    }
    
    .pos-btn {
        padding: 14px 28px;
        border-radius: 10px;
        font-size: 16px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s;
        border: none;
        text-align: center;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        min-width: 220px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }
    
    /* Кнопка "Записаться на прием" - яркий акцентный цвет */
    .pos-btn-appointment {
        background: linear-gradient(135deg, #75ae69 0%, #75ae69 100%);
        color: white;
    }
    
    .pos-btn-appointment:hover {
        background: linear-gradient(135deg, #a269ae 0%, #a269ae 100%);
        transform: translateY(-3px);
        box-shadow: 0 6px 18px rgba(238, 90, 82, 0.3);
    }
    
    /* Кнопка "Отзывы" - дополнительный цвет, сочетающийся с фоном */
    .pos-btn-reviews {
        background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
        color: white;
    }
    
    .pos-btn-reviews:hover {
        background: linear-gradient(135deg, #44a08d 0%, #3a8c7a 100%);
        transform: translateY(-3px);
        box-shadow: 0 6px 18px rgba(68, 160, 141, 0.3);
    }
    
    /* ======================= */
    /* АДАПТИВНОСТЬ */
    /* ======================= */
    @media (max-width: 992px) {
        .popup-content-wrapper {
            flex-direction: column;
            gap: 30px;
        }
        
        .photo-left {
            width: 100%;
            flex-direction: row;
            gap: 25px;
            align-items: center;
        }
        
        .photo-container {
            width: 150px;
            height: 200px;
            margin-bottom: 0;
        }
        
        .doctor-info {
            padding-top: 0;
        }
        
        .doctor-fio {
            font-size: 26px;
        }
        
        .doctor-position {
            font-size: 17px;
            margin-bottom: 20px;
        }
        
        .pos-btn {
            min-width: 200px;
            padding: 13px 24px;
        }
    }

    @media (max-width: 768px) {
        .doctor-main {
            flex-direction: column;
            gap: 25px;
        }
        
        .photo-left {
            flex-direction: column;
            text-align: center;
            width: 100%;
        }
        
        .photo-container {
            width: 160px;
            height: 210px;
            align-self: center;
        }
        
        .popup-content {
            padding: 20px;
        }
        
        .position-buttons {
            flex-direction: column;
            gap: 12px;
        }
        
        .pos-btn {
            min-width: 100%;
            padding: 15px 25px;
        }
        
        .doctor-fio {
            font-size: 24px;
            text-align: center;
        }
        
        .doctor-position {
            text-align: center;
            padding-right: 0;
        }
    }

    @media (max-width: 480px) {
        .photo-container {
            width: 140px;
            height: 185px;
        }
        
        .doctor-fio {
            font-size: 22px;
        }
        
        .doctor-position {
            font-size: 16px;
        }
        
        .pos-btn {
            font-size: 15px;
        }
    }


/* Изолированный стиль внутри #drpro-price-app. Шапка/подвал и логотип сайта управляются Tilda. */
#drpro-price-app{--drp-primary:#623e73;--drp-primary-hover:#4e315c;--drp-dark:#26232b;--drp-text:#302b33;--drp-muted:#77717d;--drp-border:#e9e4ed;--drp-pale:#f5f1f7;background:#ffffff;color:var(--drp-dark);font:400 15px/1.6 'TildaSans',Arial,sans-serif;box-sizing:border-box}
#drpro-price-app *{box-sizing:border-box}
#drpro-price-app button,#drpro-price-app input,#drpro-price-app select{font-family:inherit}
#drpro-price-app button{cursor:pointer}
#drpro-price-app .drp-shell{max-width:1200px;margin:0 auto;padding-left:24px;padding-right:24px}
#drpro-price-app .drp-page-intro{background:linear-gradient(115deg,#f8f6fa 0%,#fff 82%);border-bottom:1px solid #eee7f1}
#drpro-price-app .drp-intro-grid{min-height:256px;display:flex;align-items:center;justify-content:space-between;gap:36px;padding-top:54px;padding-bottom:55px}
#drpro-price-app .drp-intro-grid>div{max-width:710px}
#drpro-price-app .drp-eyebrow{display:flex;align-items:center;gap:9px;margin:0 0 14px;color:#623e73;font-size:11px;letter-spacing:.13em;font-weight:700}
#drpro-price-app .drp-accent-dot{display:inline-block;flex:none;width:7px;height:7px;background:#623e73;border-radius:50%}
#drpro-price-app h1{font:700 clamp(31px,4vw,47px)/1.17 'TildaSans',Arial,sans-serif;letter-spacing:-.025em;margin:0 0 16px;max-width:800px;color:#26232b}
#drpro-price-app .drp-hero-copy{color:#77717d;max-width:640px;font-size:15px;line-height:1.7;margin:0}
#drpro-price-app .drp-main-cta,#drpro-price-app .drp-lead-btn{display:inline-flex;align-items:center;justify-content:center;gap:16px;text-decoration:none;white-space:nowrap;flex-shrink:0;background:#623e73;color:#fff!important;border:2px solid #623e73;border-radius:10px;padding:17px 24px;font-size:14px;font-weight:700;line-height:1.2;transition:.2s ease}
#drpro-price-app .drp-main-cta:hover,#drpro-price-app .drp-lead-btn:hover{background:#4e315c;border-color:#4e315c}
#drpro-price-app .drp-main-cta:focus-visible,#drpro-price-app .drp-lead-btn:focus-visible,#drpro-price-app .drp-category:focus-visible,#drpro-price-app .drp-book:focus-visible{outline:3px solid rgba(98,62,115,.30);outline-offset:3px}
#drpro-price-app .drp-content{padding-top:57px;padding-bottom:65px}
#drpro-price-app .drp-heading{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:29px}
#drpro-price-app h2{font:700 clamp(25px,3vw,34px)/1.23 'TildaSans',Arial,sans-serif;letter-spacing:-.02em;margin:0 0 11px;color:#26232b}
#drpro-price-app .drp-intro{margin:0;color:#77717d;font-size:14px}
#drpro-price-app .drp-date-wrap{display:flex;flex-direction:column;align-items:flex-end;gap:3px;text-align:right;flex-shrink:0}
#drpro-price-app .drp-updated,#drpro-price-app .drp-date-updated{font-size:12px;color:#77717d;white-space:nowrap;font-variant-numeric:tabular-nums}
#drpro-price-app .drp-notice{padding:14px 16px;border:1px solid #ecd5a6;border-radius:10px;background:#fffaf0;color:#766038;font-size:13px;margin-bottom:18px}
#drpro-price-app [hidden]{display:none!important}
#drpro-price-app .drp-controls{display:flex;align-items:stretch;gap:16px;margin:0 0 22px}
#drpro-price-app .drp-search{flex:1;min-width:0;display:flex;align-items:center;gap:12px;border:1px solid #e4dfe7;border-radius:12px;padding:0 17px;background:#fff;color:#80768a}
#drpro-price-app .drp-search:focus-within{border-color:#623e73;box-shadow:0 0 0 3px rgba(98,62,115,.10)}
#drpro-price-app .drp-search input{width:100%;height:54px;min-width:0;flex:1;border:0!important;box-shadow:none!important;outline:none;background:transparent;color:#26232b;font-size:14px}
#drpro-price-app .drp-search input::placeholder{color:#89818c}
#drpro-price-app .drp-sort{width:225px;height:56px;display:flex;flex-direction:column;justify-content:center;border:1px solid #e4dfe7;border-radius:12px;padding:6px 14px}
#drpro-price-app .drp-sort>span{font-size:10px;color:#77717d;line-height:1.1}
#drpro-price-app .drp-sort select{width:100%;border:0;outline:0;background:transparent;color:#26232b;font-size:12px;font-weight:700;cursor:pointer}
#drpro-price-app .drp-categories{display:flex;gap:9px;flex-wrap:wrap;margin:0 0 27px}
#drpro-price-app .drp-category{background:#fff;border:1px solid #e7e1eb;color:#423748;border-radius:10px;font-weight:600;font-size:12px;line-height:1.35;padding:10px 15px;transition:.15s}
#drpro-price-app .drp-category:hover{border-color:#623e73;color:#623e73}
#drpro-price-app .drp-category[aria-pressed="true"]{background:#623e73;border-color:#623e73;color:#fff}
#drpro-price-app .drp-category small{margin-left:7px;font-size:10px;opacity:.7}
#drpro-price-app .drp-results-line{display:flex;justify-content:space-between;align-items:center;gap:15px;padding-bottom:15px;border-bottom:1px solid #eee9f0;font-size:12px;color:#77717d}
#drpro-price-app .drp-results-line span:first-child{color:#26232b;font-weight:700}
#drpro-price-app .drp-list{min-height:190px}
#drpro-price-app .drp-service-row{display:grid;grid-template-columns:100px minmax(0,1fr) 135px 130px;align-items:center;gap:21px;padding:19px 6px;border-bottom:1px solid #eee9f0;transition:.15s}
#drpro-price-app .drp-service-row:hover{background:#fcfafd}
#drpro-price-app .drp-code{font-size:11px;color:#77717d;overflow-wrap:anywhere}
#drpro-price-app .drp-service-name{font-size:13px;line-height:1.65;font-weight:600;color:#26232b}
#drpro-price-app .drp-price{text-align:right;white-space:nowrap;font-size:19px;font-weight:700;line-height:1.2;color:#26232b;font-variant-numeric:tabular-nums}
#drpro-price-app .drp-price span{margin-left:3px;font-size:13px;color:#77717d;font-weight:400}
#drpro-price-app .drp-book{background:#fff;border:2px solid #623e73;border-radius:10px;color:#623e73;font-size:12px;font-weight:700;padding:11px 13px;transition:.15s}
#drpro-price-app .drp-book:hover{background:#623e73;color:#fff}
#drpro-price-app .drp-group-title{padding:30px 7px 13px;border-bottom:1px solid #e5dbea;color:#623e73;text-transform:uppercase;letter-spacing:.065em;font-size:12px;font-weight:700}
#drpro-price-app .drp-empty,#drpro-price-app .drp-loading{padding:65px 18px;text-align:center;color:#77717d}
#drpro-price-app .drp-bottom-note{max-width:930px;margin-top:28px;color:#77717d;font-size:12px;line-height:1.8}
#drpro-price-app .drp-lead-wrap{border-top:1px solid #e5dbea;background:#f5f1f7}
#drpro-price-app .drp-lead{display:flex;justify-content:space-between;align-items:center;gap:32px;padding-top:56px;padding-bottom:58px}
#drpro-price-app .drp-lead>div{max-width:720px}
#drpro-price-app .drp-lead p:not(.drp-eyebrow){color:#77717d;font-size:14px;line-height:1.75;margin:4px 0 16px;max-width:610px}
#drpro-price-app .drp-selected{display:inline-block;padding:8px 13px;border-left:3px solid #623e73;background:#fff;font-size:12px;color:#77717d;max-width:100%;overflow-wrap:anywhere}
@media(max-width:940px){#drpro-price-app .drp-intro-grid{align-items:flex-start;flex-direction:column;gap:23px}#drpro-price-app .drp-service-row{grid-template-columns:86px minmax(0,1fr) 110px 111px;gap:13px}#drpro-price-app .drp-price{font-size:17px}}
@media(max-width:650px){#drpro-price-app .drp-shell{padding-left:18px;padding-right:18px}#drpro-price-app .drp-intro-grid{min-height:0;padding-top:38px;padding-bottom:42px;gap:22px}#drpro-price-app h1{font-size:31px}#drpro-price-app .drp-hero-copy{font-size:13px}#drpro-price-app .drp-main-cta{width:100%;justify-content:space-between}#drpro-price-app .drp-content{padding-top:42px;padding-bottom:48px}#drpro-price-app .drp-heading{align-items:flex-start;flex-direction:column;gap:10px}#drpro-price-app .drp-date-wrap{text-align:left;align-items:flex-start}#drpro-price-app .drp-controls{flex-direction:column;gap:10px}#drpro-price-app .drp-sort{width:100%}#drpro-price-app .drp-categories{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin;padding-bottom:8px;margin-bottom:18px}#drpro-price-app .drp-category{flex-shrink:0}#drpro-price-app .drp-results-line span:last-child{display:none}#drpro-price-app .drp-service-row{grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;padding:18px 5px}#drpro-price-app .drp-code{grid-column:1/3;font-size:10px}#drpro-price-app .drp-service-name{grid-column:1/3;font-size:13px}#drpro-price-app .drp-price{text-align:left;font-size:19px}#drpro-price-app .drp-book{min-width:124px}#drpro-price-app .drp-lead{flex-direction:column;align-items:flex-start;gap:24px;padding-top:43px;padding-bottom:45px}#drpro-price-app .drp-lead-btn{width:100%;justify-content:space-between}}

/* Dr.PRO · финальные акценты и согласование с сайтом */
#drpro-price-app{--drp-primary:#623e73;--drp-primary-hover:#4e315c;--drp-soft:#f7f4f9;--drp-outline:#e9e2ed; font-family:'TildaSans',Arial,sans-serif;}
#drpro-price-app .drp-main-cta,#drpro-price-app .drp-lead-btn{background:var(--drp-primary);border-color:var(--drp-primary);border-radius:10px}
#drpro-price-app .drp-main-cta:hover,#drpro-price-app .drp-lead-btn:hover{background:var(--drp-primary-hover);border-color:var(--drp-primary-hover)}
#drpro-price-app .drp-book{border:1px solid var(--drp-primary);color:var(--drp-primary);border-radius:10px}
#drpro-price-app .drp-book:hover{background:var(--drp-primary);color:#fff}
#drpro-price-app .drp-category{border-radius:10px}
#drpro-price-app .drp-category[aria-pressed="true"]{background:var(--drp-primary);border-color:var(--drp-primary)}
#drpro-price-app .drp-service-row:hover{background:#faf8fb}
#drpro-price-app .drp-search:focus-within{border-color:var(--drp-primary);box-shadow:0 0 0 3px rgba(98,62,115,.10)}
#drpro-price-app .drp-lead-wrap{background:#f7f4f9}
#drpro-price-app .drp-main-cta:focus-visible,#drpro-price-app .drp-lead-btn:focus-visible,#drpro-price-app .drp-category:focus-visible,#drpro-price-app .drp-book:focus-visible{outline:3px solid rgba(98,62,115,.3);outline-offset:3px}
@media(prefers-reduced-motion:reduce){#drpro-price-app *,#drpro-price-app *::before,#drpro-price-app *::after{scroll-behavior:auto!important;transition:none!important}}
