/* Client price update, November 2026. Existing design and source order preserved. */
.current-price-detail { padding-bottom: clamp(44px, 6vw, 88px); }
.current-price-detail .price-row { align-items: start; }
.current-price-note { margin: 9px 0 0; max-width: 72ch; color: #655b5e; font-size: 14px; line-height: 1.55; }
.current-price-condition { display:block; margin-top: 10px; color: #7b2041; font-size: 13px; line-height: 1.5; }
.current-price-intro { border: 1px solid #ddcdd2; padding: 20px 24px; border-radius: 18px; margin: 20px 0; line-height: 1.6; }
.current-price-intro p { margin: 0 0 8px; }
.current-price-intro p:last-child { margin-bottom: 0; }
.current-price-downloads { display:flex; align-items:center; flex-wrap:wrap; gap:18px 26px; padding:28px 0; }
.current-price-downloads a { display:inline-flex; gap:12px; align-items:center; min-height:44px; }
.price-anchor-compat { display:block; scroll-margin-top:100px; }
.price-row[id] { scroll-margin-top:100px; }
.current-price-detail .price-source { margin: 12px 0 32px; }
.current-price-detail .price-source p { overflow-wrap:anywhere; line-height:1.6; }
.current-price-detail .price-amount { white-space:nowrap; }
@media(max-width:600px) {
 .current-price-detail .price-row { grid-template-columns:minmax(0,1fr) auto; gap:14px; padding:19px 0; }
 .current-price-detail .price-row h3 { font-size:15px; line-height:1.45; overflow-wrap:anywhere; }
 .current-price-detail .price-amount { font-size:16px; line-height:1.45; }
 .current-price-note { font-size:13px; line-height:1.5; }
 .current-price-intro { padding:16px; font-size:14px; }
 .current-price-downloads { align-items:stretch; gap:12px; }
 .current-price-downloads .btn { width:100%; justify-content:center; }
}
@media(max-width:359px) {
 .current-price-detail .price-row { grid-template-columns:minmax(0,1fr); gap:10px; }
 .current-price-detail .price-amount { justify-self:start; }
}

/* Links to the clinic's social channels next to the contact details. */
.unified .contact-social {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0 36px;
}
.unified .contact-social .social-qr {
  display: flex;
  align-items: center;
  gap: 16px;
}
.unified .contact-social .social-qr img { flex: 0 0 auto; }
.arrival-action > .arrival-action-copy { font: inherit; min-width: 0; }

@media (max-width: 600px) {
  body .arrival-top {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    align-items: start;
    gap: 12px;
  }
  body .arrival-top > p,
  body .arrival-top > span {
    font-size: 13px;
    line-height: 1.4;
    letter-spacing: normal;
    max-width: none;
  }
  body .arrival-title-row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
  }
  body .arrival-title-row h1 {
    font-size: clamp(48px, 17.2vw, 94px);
    line-height: 1.07;
    letter-spacing: -.055em;
  }
  body .arrival-title-row h1 > span {
    margin-top: 4px;
    line-height: 1.25;
  }
  body .arrival-action {
    display: inline-flex;
    align-self: flex-end;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    max-width: 100%;
    margin: 0;
    padding: 10px 14px;
    font-size: 14px;
    line-height: 1.35;
  }
  body .arrival-action > span,
  body .arrival-side > a .ui-arrow {
    flex: 0 0 auto;
  }
  body .arrival-action > .arrival-action-copy { flex: 0 1 auto; }
  body .arrival-side {
    grid-template-columns: minmax(0, 1fr) max-content;
    grid-template-rows: auto auto;
    align-items: center;
    gap: 3px 12px;
    padding: 13px 16px;
  }
  body .arrival-side > span {
    grid-area: 1 / 1;
    max-width: none;
    font-size: 12px;
    line-height: 1.3;
  }
  body .arrival-side > strong {
    grid-area: 2 / 1;
    font-size: clamp(34px, 10vw, 46px);
    line-height: 1.05;
  }
  body .arrival-side > a {
    grid-area: 1 / 2 / 3;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    max-width: none;
    font-size: 14px;
    line-height: 1.35;
  }
  body .arrival-side > a .ui-arrow { margin-left: 0; }
  body .arrival-contacts > span { font-size: 14px; }
  body .arrival-contacts > a { font-size: clamp(14px, 3.8vw, 17px); }
  body .arrival-photo-label { font-size: 13px; }

  body.catalogue-edition .header-book { font-size: 13px; line-height: 1.25; }
  body.home-reference .home-mobile-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding-inline: 12px;
  }
  body.home-reference .home-mobile-bar a {
    justify-content: center;
    text-align: center;
    min-width: 0;
    min-height: 46px;
    padding-inline: 6px;
    font-size: 14px;
    line-height: 1.25;
    gap: 6px;
    overflow-wrap: normal;
  }
  .home-mobile-bar a svg { flex: 0 0 16px; width: 16px; }
  .unified .breadcrumbs { font-size: 13px; line-height: 1.5; }
  .catalogue-menu a,
  .clean-service-copy,
  .client-method-copy,
  .max-team-card { min-width: 0; }
  .clean-service :is(h2, h3),
  .client-method-copy :is(h2, h3),
  .max-team-card h3,
  .inner-hero h1 {
    word-break: normal;
    overflow-wrap: break-word;
    line-height: 1.2;
  }
  .current-price-detail .price-row h3 { overflow-wrap: break-word; }
  .current-price-note,
  .price-row small,
  .max-team-card .polish-team-role { font-size: 14px; line-height: 1.45; }
  body .logic-footer-grid > div:first-child p,
  body .logic-footer-grid > div:nth-child(2) small,
  body .logic-footer .medical { font-size: 13px; line-height: 1.5; }
  body .logic-footer-bottom a { font-size: 13px !important; line-height: 1.5; }
  body .logic-footer-grid > div { min-width: 0; }
  .logic-footer a[href^="mailto:"] { overflow-wrap: anywhere; }
}

@media (max-width: 359px) {
  body .arrival-top { grid-template-columns: 1fr; gap: 5px; }
  body .arrival-top > span { text-align: left; }
  body .arrival-title-row { gap: 12px; }
  body .arrival-action { align-self: flex-start; }
  body .logic-footer-grid > div:nth-child(2) {
    grid-template-columns: 1fr;
    row-gap: 5px;
  }
}

/* Keep titles and controls on natural word boundaries. */
body.home-reference :is(h1, h2, h3, h4, p, a, span),
body.inner :is(h1, h2, h3, h4, p, a, span, summary),
body .clean-services .clean-service-name,
body .current-price-detail .price-row h3,
body .logic-footer a,
body .source-content {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: manual;
}
body .current-price-detail .price-source p,
body .price-source-text {
  overflow-wrap: normal;
}
body :is(a[href^="mailto:"], .consent-reading, .source-table, .source-content pre, .source-content code) {
  overflow-wrap: anywhere;
}

@media (max-width: 800px) {
  body :is(.max-procedure-grid, .clean-services, .directions-clear .logic-routes) {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 700px) {
  body .home-film {
    display: grid;
    align-items: end;
    height: auto;
    min-height: clamp(360px, 72svh, 560px);
    max-height: none;
  }
  body .home-film-content {
    width: 100%;
    height: auto;
    padding: 30px clamp(18px, 6vw, 40px) 30px;
  }
  body .home-film h2 {
    font-size: clamp(30px, 9vw, 52px);
    line-height: 1.12;
    letter-spacing: -.025em;
    margin-bottom: 18px;
  }
  body .home-film .home-film-label { font-size: 13px; }
  body .home-film-link {
    display: inline-flex;
    gap: 12px;
    max-width: 100%;
    min-height: 46px;
    padding: 12px 16px;
    font-size: 15px;
    line-height: 1.35;
  }
  body .home-film-link > span { flex: 0 0 auto; }
}

@media (max-width: 600px) {
  body .client-method-copy > span {
    justify-content: flex-start;
    gap: 8px;
    font-size: 14px;
    white-space: nowrap;
  }
  body .client-method-copy > span svg { flex: 0 0 16px; width: 16px; }
  body .client-method-copy > p { font-size: 14px; }
  body .client-method-copy > p:empty { display: none; }
  body .max-concerns-flat .live-concern-title {
    grid-template-columns: minmax(0, 1fr);
    display: grid;
    gap: 6px;
  }
  body .max-concerns-flat .live-concern-title svg { justify-self: end; }
}

@media (max-width: 480px) {
  body.catalogue-edition .inner-hero h1 {
    font-size: clamp(25px, 7.7vw, 36px);
    max-width: 100%;
    overflow-wrap: normal;
  }
  body.catalogue-edition .inner-hero > div { min-width: 0; }
  body.catalogue-edition .catalogue-header { gap: 6px; }
  body.catalogue-edition .catalogue-header .logo {
    flex: 0 1 clamp(86px, 30vw, 116px);
    width: clamp(86px, 30vw, 116px);
    min-width: 0;
    background-size: contain;
  }
  body.catalogue-edition .catalogue-header-actions { gap: 2px; }
  body.catalogue-edition :is(.header-search, .catalogue-menu-button) { width: 38px; padding: 7px; }
  body.catalogue-edition .header-book { padding-inline: 9px; }
  body.unified .staff-card {
    grid-template-columns: clamp(72px, 22vw, 96px) minmax(0, 1fr);
    padding: 14px;
    gap: 12px;
  }
  body.unified .staff-copy h2 { font-size: clamp(16px, 4.5vw, 19px); }
  body.catalogue-edition :is(.max-procedure, .logic-route, .logic-catalogue-card):has(> img) {
    --card-thumbnail: clamp(40px, 11vw, 52px);
    grid-template-columns: var(--card-thumbnail) minmax(0, 1fr) 18px;
    column-gap: 9px;
    padding-inline: 11px;
  }
  body.catalogue-edition :is(.max-procedure, .logic-route, .logic-catalogue-card):has(> img) > img {
    width: var(--card-thumbnail);
    height: var(--card-thumbnail);
  }
  body.catalogue-edition .logic-new-grid .logic-route:has(> img) {
    grid-template-columns: minmax(0, 1fr) 18px;
    column-gap: 8px;
    padding-inline: 0;
  }
  body.catalogue-edition .logic-new-grid .logic-route:has(> img) > img {
    width: 100%;
    height: 145px;
  }
  body .directions-clear .logic-routes { padding-inline: 10px; }
  body .client-methods :is(.client-method-oligio, .client-method-neogen) {
    display: grid;
    grid-template-columns: minmax(84px, 35%) minmax(0, 1fr);
  }
  body .client-methods :is(.client-method-oligio, .client-method-neogen) .client-method-photo {
    width: 100%;
    height: 100%;
  }
  body .client-methods :is(.client-method-oligio, .client-method-neogen) .client-method-copy {
    padding-inline: 15px;
  }
  body .client-methods :is(.client-method-innofill, .client-method-spectro) {
    grid-column: 1 / -1;
    grid-template-columns: clamp(83px, 25vw, 124px) minmax(0, 1fr);
    display: grid;
    align-items: center;
    min-height: 144px;
  }
  body .client-methods :is(.client-method-innofill, .client-method-spectro) .client-method-photo {
    width: 100%;
    height: 100%;
    min-height: 120px;
    padding: 7px;
  }
  body .client-methods .client-method-spectro .client-method-photo img {
    object-fit: contain;
    transform: none;
  }
  body .client-methods :is(.client-method-innofill, .client-method-spectro) .client-method-copy {
    padding: 15px 12px;
  }
  body .client-methods .client-method-spectro h3 {
    max-width: none;
    margin-bottom: 12px;
  }
  body .client-methods .client-method-copy > span { margin-top: 4px; }
}

body .logic-footer-tail {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  border-top: 1px solid #ab627d;
  padding-top: 16px;
}

body .logic-footer .logic-footer-tail .medical {
  flex: 1 1 270px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

body .logic-footer .logic-footer-tail .studio-credit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin: 0;
  padding: 8px 13px;
  border: 1px solid rgb(255 255 255 / 41%);
  border-radius: 999px;
  background: rgb(255 255 255 / 5%);
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}

.studio-credit-label { font-size: 12px; color: #f0dce4; }
.studio-credit strong { font-size: 13px; font-weight: 600; }
.studio-credit svg { width: 14px; height: 14px; flex: none; }
body .logic-footer .studio-credit:hover { background: rgb(255 255 255 / 14%); }
.studio-credit:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

@media (max-width: 760px) {
  body .max-concerns-flat > .live-concern:last-child:nth-child(odd) {
    grid-column: 1 / -1 !important;
  }
  body .max-concerns-flat > .live-concern:last-child:nth-child(odd) .live-concern-photo {
    aspect-ratio: 2.25;
  }
  body.logic-edition .logic-footer:has(.logic-footer-tail) { padding-bottom: 16px; }
  body.logic-edition.inner:has(> .inner-mobile-call) .logic-footer:has(.logic-footer-tail) {
    padding-bottom: calc(74px + env(safe-area-inset-bottom));
  }
  body.inner > .inner-mobile-call { bottom: calc(12px + env(safe-area-inset-bottom)); }
}

@media (max-width: 600px) {
  body .logic-footer .logic-footer-grid,
  body .logic-footer .logic-footer-bottom {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  body .logic-footer .logic-footer-tail { align-items: flex-start; flex-direction: column; }
  body .logic-footer .logic-footer-tail .medical { flex-basis: auto; }
}

@media (min-width: 360px) and (max-width: 600px) {
  body .logic-footer-grid > div:nth-child(2) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 20px;
  }
}
