/* DMTC mobile navigation, 1.0.2 */
.dmtcs-mobile-header{display:none}
.dmtcs-title-unit{display:inline-block;white-space:nowrap}
@media screen and (max-width:700px){
body.dmtcs-starter>.dmtc-unified:first-of-type,body.dmtcs-starter>header,body.dmtcs-starter>#app>header,body.dmtcs-starter>.review,body.dmtcs-starter>#app>.preview-banner{display:none!important}
body.dmtcs-starter>.dmtcs-mobile-header{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;padding:12px 16px;background:#fff;border-bottom:1px solid #d6e9e6;color:#323232}
.dmtcs-mobile-header>.dmtcs-mobile-brand{font:700 19px/1.5 sans-serif;letter-spacing:.04em;color:#323232;text-decoration:none}
.dmtcs-mobile-header>.dmtcs-mobile-menu{padding:0;margin:0;border:0;background:transparent;position:static}
.dmtcs-mobile-menu>summary{padding:10px 12px;border:1px solid #7ec6bf;border-radius:8px;font:700 14px/1.5 sans-serif;cursor:pointer;list-style:revert;color:#007780}
.dmtcs-mobile-menu[open]{flex-basis:100%}
.dmtcs-mobile-menu[open]>summary{width:max-content;margin-left:auto}
.dmtcs-mobile-links{display:grid;gap:0;margin-top:12px;padding:0;font:14px/1.6 sans-serif}
.dmtcs-mobile-links>a{display:block;padding:12px 4px;min-height:44px;border-bottom:1px solid #e3efee;color:#17645e;text-decoration:none}
.dmtcs-mobile-links>.dmtc-languages{display:flex;flex-wrap:wrap;gap:4px 12px;padding-top:10px}
.dmtcs-mobile-links>.dmtc-languages>a{display:inline-flex;align-items:center;min-height:44px;color:#17645e;text-decoration:none}
.dmtcs-mobile-links a[aria-current=page]{font-weight:700;text-decoration:underline;text-underline-offset:6px}
body.dmtcs-starter .home-hero h1{font-size:clamp(25px,7.2vw,32px);line-height:1.65;letter-spacing:.02em}
body.dmtcs-starter .home-hero{padding-top:28px}
}
@media print{.dmtcs-mobile-header{display:none!important}}

/* Two-line price headings and mobile scroll guidance. */
.dmtcs-table-hint{display:none}
.dmtcs-price-table thead th{white-space:nowrap;line-height:1.6}
@media screen and (max-width:700px){.dmtcs-table-hint{display:block;font-size:13px;line-height:1.6;color:#007780;margin:16px 0 6px}.dmtcs-table-hint+.table-wrap{margin-top:6px}}

/* Compact product pricing: size columns to their actual contents. */
body.dmtcs-starter table.dmtcs-price-table{width:max-content;min-width:0;table-layout:auto}
body.dmtcs-starter .dmtcs-price-table th,body.dmtcs-starter .dmtcs-price-table td{padding:6px 8px;line-height:1.45;white-space:nowrap;vertical-align:middle;letter-spacing:normal}
body.dmtcs-starter .dmtcs-table-hint+.table-wrap{width:fit-content;max-width:100%;margin-bottom:12px}

.dmtcs-other-treatments .grid{margin-top:20px}.dmtcs-other-treatments .card{display:flex;flex-direction:column;align-items:flex-start}.dmtcs-other-treatments .card .btn{margin-top:auto}.dmtcs-all-treatments{margin-top:18px}

/* Native WordPress site search, independent of the AI checks. */
body.dmtcs-starter .dmtcs-search{display:flex;gap:6px;align-items:stretch;max-width:100%;margin:0;flex:0 1 280px}
body.dmtcs-starter .dmtcs-search input{min-width:0;width:100%;flex:1;padding:9px 10px;border:1px solid #9acfc9;border-radius:6px;background:#fff;color:#323232;font:inherit;font-size:16px;box-sizing:border-box}
body.dmtcs-starter .dmtcs-search button{padding:9px 12px;border:1px solid #007780;border-radius:6px;background:#007780;color:#fff;font:inherit;font-weight:700;white-space:nowrap;cursor:pointer}
body.dmtcs-starter .dmtcs-search :focus-visible{outline:2px solid #007780;outline-offset:3px}
@media(max-width:700px){body.dmtcs-starter .dmtcs-search{width:100%;margin-top:14px}body.dmtcs-starter .dmtcs-search input,body.dmtcs-starter .dmtcs-search button{min-height:44px}}

/* Homepage language entrances remain visible while the menu is closed. */
@media screen and (max-width:700px){
body.dmtcs-starter>.dmtcs-home-language-header{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:12px}
.dmtcs-home-language-header>.dmtcs-mobile-brand{grid-column:1/-1;grid-row:1}
.dmtcs-home-language-header>.dmtcs-visible-languages{grid-column:1;grid-row:2;align-self:start;display:flex;flex-wrap:wrap;gap:4px;margin:0;padding:0;min-width:0;position:relative;z-index:1}
.dmtcs-visible-languages>a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;box-sizing:border-box;padding:4px 6px;border:1px solid #9acfc9;border-radius:6px;background:#fff;color:#17645e;text-decoration:none;white-space:nowrap;font:600 13px/1.5 sans-serif;letter-spacing:normal}
.dmtcs-visible-languages>a:focus-visible{outline:2px solid #007780;outline-offset:2px}
.dmtcs-home-language-header>.dmtcs-mobile-menu{grid-column:2;grid-row:2;min-width:0;align-self:start}
.dmtcs-home-language-header>.dmtcs-mobile-menu>summary{box-sizing:border-box;min-height:44px;padding:10px 8px;letter-spacing:normal}
.dmtcs-home-language-header>.dmtcs-mobile-menu[open]{grid-column:1/-1}
.dmtcs-home-language-header>.dmtcs-mobile-menu[open]>summary{margin-left:auto}
}

/* Keep the mobile disclosure above the adjacent language navigation.
   When details spans both grid columns, the language nav can otherwise
   stretch over the summary and intercept the second tap. Native details
   owns click/keyboard toggling; no duplicate JavaScript toggle is added. */
@media screen and (max-width:700px){
 .dmtcs-mobile-menu>summary{position:relative;z-index:2;touch-action:manipulation}
 .dmtcs-home-language-header>.dmtcs-visible-languages{width:fit-content;max-width:100%}
}
