/* Local redesign candidate for Dantist Prokshino. No form or mxform behavior is changed. */
:root {
  --site-brand: #0b6799;
  --site-brand-deep: #082d4e;
  --site-accent: #176e67;
  --site-ink: #1d2d3b;
  --site-muted: #5a6a75;
  --site-surface: #f2f8fb;
  --site-border: #d9e7ed;
  --site-radius: 22px;
  --site-shadow: 0 18px 44px rgba(20, 58, 78, .09);
}

html { scroll-behavior: smooth; }
body { color: var(--site-ink); background: #fff; font-family: Montserrat, "Segoe UI", Arial, sans-serif; line-height: 1.65; }
#app { overflow: hidden; }
.container { width: min(calc(100% - 36px), 1240px) !important; max-width: 1240px !important; padding-left: 18px !important; padding-right: 18px !important; }
h1, h2, h3, h4, .h1, .h2, .h3, .title { color: var(--site-ink); font-family: Montserrat, "Segoe UI", Arial, sans-serif !important; font-weight: 700; letter-spacing: -.035em; text-transform: none; }
h1, .h1 { font-size: clamp(2.15rem, 5vw, 4.25rem) !important; line-height: 1.06 !important; margin: 0 0 20px !important; }
h2, .h2 { font-size: clamp(1.8rem, 3.4vw, 3.05rem) !important; line-height: 1.12 !important; margin: 0 0 24px !important; }
h3, .h3 { font-size: clamp(1.25rem, 2vw, 1.6rem) !important; line-height: 1.25 !important; }
p { line-height: 1.7; }
a { color: var(--site-brand); }
a:hover { color: var(--site-brand-deep); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, label:focus-visible { outline: 3px solid #fff !important; outline-offset: 3px; box-shadow: 0 0 0 6px var(--site-brand-deep) !important; }

/* Header */
#header { position: relative !important; inset: auto !important; z-index: 50 !important; width: 100%; padding: 0 !important; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--site-border); box-shadow: 0 4px 20px rgba(15, 48, 68, .04); backdrop-filter: blur(12px); }
#header > .container { width: min(calc(100% - 32px), 1320px) !important; }
#header .row { min-height: 78px; display: flex !important; flex-wrap: nowrap !important; align-items: center; gap: clamp(12px, 1.8vw, 26px); margin: 0 auto !important; }
#header .logo { width: 146px !important; min-width: 146px; margin: 0 !important; }
#header .logo img { width: 100%; height: auto; object-fit: contain; }
#header #site-menu { position: static !important; inset: auto !important; transform: none !important; width: auto !important; height: auto !important; flex: 1 1 auto; display: flex !important; align-items: center; justify-content: flex-end; gap: 18px; padding: 0 !important; overflow: visible !important; background: transparent !important; }
#header #site-menu > ul { display: flex !important; flex-wrap: wrap; align-items: center; gap: clamp(10px, 1.5vw, 22px); }
#header #site-menu a { color: var(--site-ink); font-size: 13px; font-weight: 600; text-decoration: none; }
#header #site-menu a:hover { color: var(--site-brand); }
#header #site-menu .address { display: none; }
#header #site-menu .tel { display: inline-flex; align-items: center; color: var(--site-brand-deep); font-size: 14px; font-weight: 700; white-space: nowrap; }
#header .cta_mx > .btn { min-height: 46px; height: 46px; border: 0; border-radius: 999px; padding: 0 18px; color: #fff; background: var(--site-brand-deep); font-weight: 700; white-space: nowrap; }
#header .cta_mx > .btn:hover { background: var(--site-accent); }
#header #burger { display: none !important; position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden; clip: rect(0,0,0,0); clip-path: inset(50%); white-space: nowrap; }
#header #burger ~ .burger { display: none; }

/* Hero */
#hero { position: relative; margin: 0 !important; padding: 0 !important; overflow: hidden; background: var(--site-surface); }
#hero .hero_slider { height: min(790px, 88vh); min-height: 620px; }
#hero .hero_slider .swiper-slide { position: relative; display: flex; align-items: stretch; overflow: hidden; }
#hero .background_slider_img { position: absolute !important; inset: 0; width: 100%; height: 100%; z-index: 0; }
#hero .background_slider_img img { width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 1 !important; }
#hero .hero_slider .swiper-slide::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(246,250,252,.98) 0%, rgba(246,250,252,.94) 34%, rgba(246,250,252,.65) 54%, rgba(246,250,252,.05) 100%); pointer-events: none; }
#hero .hero_slider .container { position: relative; z-index: 2; height: 100%; padding-top: 70px; padding-bottom: 118px; }
#hero .hero_slider .row { position: relative; height: 100%; max-width: 1240px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; margin: 0 auto !important; }
#hero .hero_slider .inner { width: min(58%, 660px); }
#hero .hero_slider .inner .h1 { color: var(--site-brand-deep); }
#hero .hero_slider .pretitle { max-width: 560px; color: #344756; font-size: clamp(1rem, 1.35vw, 1.2rem); }
#hero .hero_slider .btn { min-height: 52px; height: auto; margin-top: 18px; padding: 14px 22px; border-radius: 999px; background: var(--site-brand-deep); color: #fff; font-weight: 700; text-decoration: none; }
#hero .hero_slider .btn:hover { background: var(--site-accent); }
#hero .hero_slider .sidebar { display: block !important; position: absolute; top: 50%; right: 0; width: min(27%, 320px); padding: 22px 24px; transform: translateY(-50%); border: 1px solid rgba(255,255,255,.8); border-radius: var(--site-radius); background: rgba(255,255,255,.82); box-shadow: var(--site-shadow); color: var(--site-ink); font-size: 14px; line-height: 1.5; backdrop-filter: blur(12px); }
#hero .hero_slider .sidebar p:last-child { margin-bottom: 0; }
#hero .hero_slider_thumbs { position: absolute; z-index: 4; right: 50%; bottom: 18px; display: flex !important; width: min(calc(100% - 36px), 1180px); min-height: 58px; align-items: stretch; transform: translateX(50%); border: 1px solid var(--site-border); border-radius: 16px; background: rgba(255,255,255,.94); box-shadow: var(--site-shadow); overflow: hidden; }
#hero .hero_slider_thumbs .swiper-slide { display: flex; min-height: 58px; align-items: center; justify-content: center; padding: 10px 14px; color: var(--site-muted); font-size: 13px; text-align: center; }
#hero .hero_slider_thumbs .swiper-slide-thumb-active { color: var(--site-brand-deep); background: #eaf4f8; font-weight: 700; }
#hero .swiper-button-next, #hero .swiper-button-prev { color: var(--site-brand-deep); }
#hero .swiper-button-next::after, #hero .swiper-button-prev::after { font-size: 22px; }

/* Service catalogue and content blocks */
#serv, #calc, #doctors, #benefits, #repl, #map_section { padding-top: clamp(54px, 7vw, 96px) !important; padding-bottom: clamp(54px, 7vw, 96px) !important; }
#serv { background: #fff; }
#serv .grid { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px !important; }
#serv .grid > a { min-height: 190px; padding: 25px !important; border: 1px solid var(--site-border) !important; border-radius: var(--site-radius); background: #fff; box-shadow: var(--site-shadow); color: var(--site-ink); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
#serv .grid > a:hover { transform: translateY(-4px); border-color: rgba(11,103,153,.45) !important; box-shadow: 0 22px 46px rgba(20,58,78,.13); }
#serv .grid .title { margin: 0 0 10px; color: var(--site-brand-deep); font-size: 1.2rem; }
#serv .grid .pretitle { color: var(--site-muted); font-size: .95rem; }
#calc { background: var(--site-surface); }
#calc .container > .row, #calc .calc_wrapper, #calc .calculator, #calc .mxform { border-radius: var(--site-radius); }
#calc input[type="text"], #calc input[type="tel"], #calc input[type="email"], #calc select, #calc textarea { min-height: 50px; border: 1px solid var(--site-border); border-radius: 12px; background: #fff; color: var(--site-ink); }
#calc input[type="submit"], #calc button, #calc .btn { min-height: 50px; border: 0; border-radius: 999px; background: var(--site-brand-deep); color: #fff; font-weight: 700; }
#doctors { background: #fff; }
#doctors .doc_wrapper { height: 100%; padding: 14px; border: 1px solid var(--site-border); border-radius: var(--site-radius); background: #fff; box-shadow: var(--site-shadow); overflow: hidden; }
#doctors .doc_wrapper .img_wrapper { position: relative; min-height: 250px; height: 250px; margin-bottom: 18px; border-radius: 16px; background: radial-gradient(circle at 50% 40%, #fff 0 22%, transparent 23%), linear-gradient(140deg, #eaf4f8, #dcecf2); overflow: hidden; }
#doctors .doctor-avatar-placeholder { position: absolute; inset: 0; background: url("../img/teeth.png") center 44% / 116px auto no-repeat; opacity: .72; }
#doctors .doc_wrapper .img_wrapper .prof { position: absolute; right: 12px; bottom: 12px; left: 12px; padding: 9px 12px; border: 1px solid rgba(255,255,255,.7); border-radius: 12px; background: rgba(255,255,255,.91); color: var(--site-brand-deep); font-size: 12px; font-weight: 700; line-height: 1.4; }
#doctors .doc_wrapper .name, #doctors .doc_wrapper .surname { color: var(--site-brand-deep); font-size: 1.25rem; font-weight: 700; line-height: 1.2; }
#doctors .doc_wrapper .experience, #doctors .doc_wrapper .expirence { margin-top: 8px; color: var(--site-muted); }
#benefits { background: var(--site-surface); }
#benefits .grid { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px !important; }
#benefits .grid > * { padding: 22px; border: 1px solid var(--site-border); border-radius: 18px; background: #fff; }
#repl .swiper-slide, #repl blockquote { padding: 24px; border: 1px solid var(--site-border); border-radius: 18px; background: #fff; box-shadow: var(--site-shadow); }
#map_section { background: var(--site-surface); }

/* Price page: retain every CMS price value and row; redesign presentation only. */
#main.prices_section { background: var(--site-surface); }
#main.prices_section .grid.grid-col-2 { display: grid !important; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px !important; }
#main.prices_section .grid > * { padding: 24px; border: 1px solid var(--site-border); border-radius: var(--site-radius); background: #fff; box-shadow: var(--site-shadow); }
#main.prices_section h2, #main.prices_section .h2 { color: var(--site-brand-deep); }
#main.prices_section .pricelist li { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 14px; align-items: start; padding: 14px 0; border-bottom: 1px solid var(--site-border); }
#main.prices_section .pricelist li:last-child { border-bottom: 0; }
#main.prices_section .pricelist .type { color: var(--site-ink); }
#main.prices_section .pricelist .value { color: var(--site-brand-deep); font-weight: 700; white-space: nowrap; }

/* Prepared, inactive Dental Pro page: no iframe, token, or patient form is present. */
.dentalpro-booking { min-height: 70vh; padding: clamp(56px, 8vw, 104px) 0 !important; background: linear-gradient(135deg, #f2f8fb, #fff 70%); }
.dentalpro-booking .container { max-width: 900px !important; }
.dentalpro-booking h1 { color: var(--site-brand-deep); }
.dentalpro-booking .booking-eyebrow { color: var(--site-accent); font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.dentalpro-embed-slot { display: grid; min-height: 250px; place-content: center; gap: 8px; margin-top: 28px; padding: 28px; border: 1px dashed #8cb8cb; border-radius: var(--site-radius); background: rgba(255,255,255,.86); color: var(--site-muted); text-align: center; }
.dentalpro-embed-slot strong { color: var(--site-brand-deep); font-size: 1.15rem; }

@media (max-width: 1050px) {
  #header .row { gap: 12px; }
  #header .logo { width: 124px !important; min-width: 124px; }
  #header #site-menu > ul { gap: 10px; }
  #header #site-menu a { font-size: 12px; }
  #header .cta_mx > .btn { padding: 0 13px; }
  #hero .hero_slider .inner { width: 62%; }
  #hero .hero_slider .sidebar { width: 28%; right: 8px; }
}
@media (max-width: 820px) {
  #header { position: relative !important; }
  #header .row { position: relative; min-height: 72px; justify-content: space-between; }
  #header #burger { display: block !important; }
  #header #burger ~ .burger { position: relative !important; display: flex !important; flex: 0 0 42px; width: 42px; height: 42px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; order: 0; padding: 10px; border: 1px solid var(--site-border); border-radius: 12px; background: #fff; cursor: pointer; }
  #header #burger ~ .burger span { display: block; flex: 0 0 2px; width: 20px; height: 2px; border-radius: 2px; background: var(--site-brand-deep); transition: transform .18s ease, opacity .18s ease; }
  #header #burger:checked ~ .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  #header #burger:checked ~ .burger span:nth-child(2) { opacity: 0; }
  #header #burger:checked ~ .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  #header #burger:focus-visible ~ .burger { outline: 3px solid #fff; outline-offset: 3px; box-shadow: 0 0 0 6px var(--site-brand-deep); }
  #header .logo { order: 1; margin-left: auto !important; }
  #header .cta_mx { display: block; order: 2; flex: 0 0 auto; }
  #header .cta_mx > .btn { min-height: 42px; height: 42px; padding: 0 12px; font-size: 12px; }
  #header #site-menu { position: absolute !important; top: calc(100% + 1px) !important; right: -18px; left: -18px; z-index: 55; display: none !important; height: calc(100vh - 72px) !important; height: calc(100dvh - 72px) !important; padding: 24px 22px 40px !important; border-top: 1px solid var(--site-border); background: #fff !important; overflow-y: auto !important; box-shadow: 0 18px 32px rgba(18,48,65,.12); }
  #header #burger:checked ~ #site-menu { display: block !important; }
  #header #site-menu > ul { display: grid !important; grid-template-columns: 1fr; gap: 0; }
  #header #site-menu > ul > li > a { display: block; padding: 12px 0; border-bottom: 1px solid var(--site-border); font-size: 15px; }
  #header #site-menu .address { display: block; margin-top: 20px; padding: 16px 0; border-top: 1px solid var(--site-border); color: var(--site-muted); }
  #header #site-menu .tel { display: flex; width: 100%; margin-top: 12px; }
  #hero .hero_slider { height: auto; min-height: 680px; }
  #hero .hero_slider .swiper-slide { min-height: 680px; }
  #hero .hero_slider .container { padding-top: 62px; padding-bottom: 140px; }
  #hero .hero_slider .row { min-height: 490px; justify-content: flex-start; }
  #hero .hero_slider .inner { width: min(72%, 600px); }
  #hero .hero_slider .sidebar { display: none !important; }
  #hero .hero_slider .swiper-slide::before { background: linear-gradient(90deg, rgba(246,250,252,.98), rgba(246,250,252,.82) 62%, rgba(246,250,252,.12)); }
  #hero .hero_slider_thumbs { right: 18px; left: 18px; bottom: 18px; width: auto; transform: none; overflow-x: auto; }
  #hero .hero_slider_thumbs .swiper-slide { min-width: 130px; }
}
@media (max-width: 560px) {
  .container { width: min(calc(100% - 24px), 1240px) !important; padding-left: 12px !important; padding-right: 12px !important; }
  #header > .container { width: calc(100% - 24px) !important; }
  #header .row { min-height: 66px; }
  #header .logo { width: 116px !important; min-width: 116px; }
  #hero .hero_slider, #hero .hero_slider .swiper-slide { min-height: 640px; }
  #hero .hero_slider .container { padding-top: 44px; padding-bottom: 132px; }
  #hero .hero_slider .row { min-height: 470px; }
  #hero .hero_slider .inner { width: 100%; max-width: 520px; }
  #hero .hero_slider .inner .h1 { max-width: 480px; font-size: clamp(2.25rem, 9vw, 3.2rem) !important; }
  #hero .hero_slider .pretitle { max-width: 430px; font-size: 1rem; }
  #hero .background_slider_img img { object-position: 62% center; }
  #hero .hero_slider .swiper-slide::before { background: linear-gradient(90deg, rgba(246,250,252,.97), rgba(246,250,252,.86) 67%, rgba(246,250,252,.34)); }
  #hero .hero_slider_thumbs { min-height: 54px; }
  #hero .hero_slider_thumbs .swiper-slide { min-height: 54px; padding: 8px; font-size: 12px; }
  #main.prices_section .grid.grid-col-2 { grid-template-columns: 1fr; }
  #main.prices_section .pricelist li { grid-template-columns: minmax(0,1fr); gap: 4px; }
  #doctors .doc_wrapper .img_wrapper { min-height: 210px; height: 210px; }
  #header .cta_mx > .btn { min-height: 40px; height: 40px; padding: 0 9px; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

.dentalpro-embed-slot .booking-slot-mark { display: block; width: 58px; height: 58px; margin: 0 auto 8px; border: 1px solid rgba(11,103,153,.22); border-radius: 50%; background: radial-gradient(circle at center, #fff 0 42%, transparent 44%), linear-gradient(135deg, #eaf4f8, #d5e9f0); }
.dentalpro-embed-slot .booking-slot-mark::after { content: ""; display: block; width: 18px; height: 18px; margin: 19px auto; border: 2px solid var(--site-brand); border-radius: 50% 50% 45% 45%; transform: rotate(45deg); }

.dentalpro-embed-slot .dentalpro-policy-link { display: inline-block; margin-top: 18px; color: var(--site-brand); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.dentalpro-embed-slot .dentalpro-policy-link:focus-visible { outline: 3px solid var(--site-brand); outline-offset: 3px; border-radius: 2px; }

/* Replace the third-party pain-patient stock in the price-page banner with a neutral clinic symbol. */
#main.prices_section ~ .banner .img_wrapper { display: grid; place-items: center; min-height: 220px; padding: 18px; border-radius: var(--site-radius); background: linear-gradient(145deg, #eaf4f8, #f7fbfc); }
#main.prices_section ~ .banner .img_wrapper img[src*="banner-person-1.png"] { display: none !important; }
#main.prices_section ~ .banner .img_wrapper::after { content: ""; display: block; width: min(180px, 75%); aspect-ratio: 1; background: url("../img/teeth.png") center / contain no-repeat; filter: drop-shadow(0 12px 18px rgba(11,103,153,.14)); }


/* Priority services and searchable full price catalogue. */
#serv .grid.priority-grid { display: grid !important; grid-template-columns: repeat(5, minmax(0, 1fr)) !important; gap: 16px !important; }
#serv .priority-grid > .priority-card { display: flex; min-width: 0; min-height: 258px; flex-direction: column; align-items: flex-start; padding: 22px !important; border: 1px solid var(--site-border); border-radius: var(--site-radius); background: #fff; box-shadow: var(--site-shadow); color: var(--site-ink); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
#serv .priority-grid > .priority-card:hover { transform: translateY(-4px); border-color: rgba(11,103,153,.45); box-shadow: 0 22px 46px rgba(20,58,78,.13); }
#serv .priority-card .priority-number { display: inline-flex; min-width: 38px; min-height: 30px; align-items: center; justify-content: center; margin-bottom: 16px; border-radius: 999px; background: #eaf4f8; color: var(--site-accent); font-size: .78rem; font-weight: 800; letter-spacing: .08em; }
#serv .priority-card h3 { margin: 0 0 10px; color: var(--site-brand-deep); font-size: 1.13rem; line-height: 1.25; }
#serv .priority-card p { flex: 1 1 auto; margin: 0 0 18px; color: var(--site-muted); font-size: .9rem; line-height: 1.5; }
.priority-card-actions { display: flex; width: 100%; flex-wrap: wrap; gap: 8px; }
.priority-card-actions a { display: inline-flex; min-height: 44px; flex: 1 1 auto; align-items: center; justify-content: center; padding: 9px 12px; border: 1px solid var(--site-brand-deep); border-radius: 999px; font-size: .82rem; font-weight: 700; line-height: 1.2; text-align: center; text-decoration: none; }
.priority-card-actions .priority-card-price { color: var(--site-brand-deep); background: #fff; }
.priority-card-actions .priority-card-price:hover { background: #eaf4f8; }
.priority-card-actions .priority-card-book { color: #fff; background: var(--site-brand-deep); }
.priority-card-actions .priority-card-book:hover { color: #fff; background: var(--site-accent); }

#main.prices_section .price-catalog-layout { display: block; width: 100%; }
#main.prices_section .price-catalog { width: 100%; }
.price-catalog-intro { max-width: 850px; margin: 0 0 30px; }
.price-catalog-eyebrow { margin: 0 0 8px; color: var(--site-accent); font-size: .84rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.price-catalog-note { color: var(--site-muted); }
.price-catalog-booking { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; margin-top: 8px; padding: 11px 22px; border-radius: 999px; background: var(--site-brand-deep); color: #fff; font-weight: 700; text-decoration: none; }
.price-catalog-booking:hover { background: var(--site-accent); color: #fff; }
.price-catalog-controls { display: grid; grid-template-columns: minmax(0, 1fr) minmax(230px, .65fr); gap: 8px 16px; margin: 0 0 22px; padding: 20px; border: 1px solid var(--site-border); border-radius: var(--site-radius); background: #fff; box-shadow: var(--site-shadow); }
.price-catalog-controls label { color: var(--site-brand-deep); font-size: .88rem; font-weight: 700; }
.price-catalog-search, .price-catalog-filter { width: 100%; min-width: 0; min-height: 48px; padding: 10px 13px; border: 1px solid var(--site-border); border-radius: 12px; background: #fff; color: var(--site-ink); font: inherit; }
.price-catalog-count { grid-column: 1 / -1; margin: 2px 0 0; color: var(--site-muted); font-size: .9rem; }
.price-catalog-empty, .price-catalog-unavailable { margin: 16px 0; padding: 18px; border: 1px solid var(--site-border); border-radius: 14px; background: #fff; color: var(--site-ink); }
.price-catalog-sections { display: grid; gap: 16px; }
.price-category { min-width: 0; scroll-margin-top: 22px; padding: clamp(18px, 2.6vw, 28px); border: 1px solid var(--site-border); border-radius: var(--site-radius); background: #fff; box-shadow: var(--site-shadow); }
.price-category-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; margin-bottom: 10px; }
.price-category-heading h2 { margin: 0 !important; color: var(--site-brand-deep); font-size: clamp(1.35rem, 2.2vw, 1.8rem) !important; }
.price-category-count { color: var(--site-muted); font-size: .86rem; white-space: nowrap; }
.price-list { margin: 0; padding: 0; list-style: none; }
.price-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: start; padding: 14px 0; border-bottom: 1px solid var(--site-border); }
.price-row:last-child { border-bottom: 0; }
.price-item-name { min-width: 0; color: var(--site-ink); line-height: 1.5; overflow-wrap: anywhere; }
.price-item-value { color: var(--site-brand-deep); font-weight: 800; white-space: nowrap; }
[data-price-item][hidden], [data-price-category][hidden], .price-catalog-empty[hidden] { display: none !important; }

@media (max-width: 1080px) {
  #serv .grid.priority-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}
@media (max-width: 820px) {
  #serv .grid.priority-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 560px) {
  #serv .grid.priority-grid { grid-template-columns: 1fr !important; }
  #serv .priority-grid > .priority-card { min-height: 0; }
  .price-catalog-controls { grid-template-columns: minmax(0, 1fr); gap: 7px; padding: 16px; }
  .price-catalog-count { grid-column: auto; }
  .price-row { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .price-item-value { justify-self: start; }
  .price-category-heading { align-items: flex-start; }
}
/* Official DentalPRO widget from SUP-98673: provider minimum is 480x640. */
.dentalpro-embed-wrap { margin-top: 28px; padding: 12px; overflow-x: auto; border: 1px solid var(--site-border); border-radius: var(--site-radius); background: #fff; box-shadow: var(--site-shadow); }
.dentalpro-embed-frame { display: block; width: 100%; min-width: 480px; height: 640px; min-height: 640px; border: 0; border-radius: 14px; background: #fff; }
.dentalpro-booking-note { margin: 12px 0 0; color: var(--site-muted); font-size: .86rem; }
.sonline-primary-booking-link { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; margin-left: 12px; padding: 9px 16px; border: 1px solid var(--site-accent); border-radius: 999px; background: var(--site-accent); color: #fff; font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.sonline-primary-booking-link:hover { background: var(--site-brand-deep); color: #fff; }
 @media (max-width: 820px) {
   .sonline-primary-booking-link { margin-left: 6px; padding: 8px 11px; font-size: 12px; }
 }
 @media (max-width: 560px) {
   .dentalpro-embed-wrap { margin-left: -6px; margin-right: -6px; padding: 8px; }
   .dentalpro-embed-frame { width: 480px; }
   .sonline-primary-booking-link { min-height: 42px; padding: 8px 9px; font-size: 11px; }
 }
 
