/* ==========================================================================
   TESTIMONIALS (/testimonial, testimonial.php)                       (.dst-tm)
   A page head, then two columns: the live Google reviews (Elfsight) and a
   sticky sidebar with clinic timings, contact, booking and treatments.
   Site rules: Jost only, no italics, no borders or shadows on blocks, no
   max-width (28/14px gutter from nav.css), square blocks. Tokens: nav.css.
   ========================================================================== */

.dst-tm { --out: cubic-bezier(.23, 1, .32, 1); font-family: var(--dst-font); color: var(--dst-ink); background: #fff; }
.dst-tm :where(h1, h2, p, ul, table) { margin: 0; padding: 0; }
.dst-tm :where(ul) { list-style: none; }
.dst-tm .dst-i { width: 17px; height: 17px; flex: none; }

/* Breadcrumb */
.dst-tm-crumbs { padding: 14px var(--dst-gutter); border-bottom: 1px solid var(--dst-line); background: #fff; font-family: var(--dst-font); }
.dst-tm-crumbs ol { display: flex; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; font-size: 13px; color: var(--dst-muted); }
.dst-tm-crumbs li + li::before { content: "/"; margin: 0 10px; color: #d9c4ce; }
.dst-tm-crumbs a { color: var(--dst-body); text-decoration: none; }
.dst-tm-crumbs a:hover { color: var(--dst-rose-ink); }
.dst-tm-crumbs [aria-current] { color: var(--dst-rose-ink); font-weight: 500; }

/* Shared bits */
.dst-tm .dst-tm__eyebrow { color: var(--dst-rose-ink); font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.dst-tm .dst-tm__btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 13px 24px; border-radius: var(--dst-pill);
	background: var(--dst-rose-ink); color: #fff; font-size: 15px; font-weight: 500; line-height: 1.2; text-decoration: none;
	transition: background-color .2s ease, transform .16s var(--out);
}
.dst-tm__btn:active { transform: scale(.97); }
.dst-tm .dst-tm__link { display: inline-flex; align-items: center; gap: 8px; color: var(--dst-rose-ink); font-size: 15px; font-weight: 500; text-decoration: none; }
.dst-tm__btn .dst-i, .dst-tm__link .dst-i { transition: transform .25s var(--out); }

/* A small live dot that breathes slowly */
.dst-tm__dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #2fb36d; }
.dst-tm__dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid #2fb36d; opacity: 0; animation: dstt-live 2.4s ease-out infinite; }
@keyframes dstt-live { 0% { opacity: .7; transform: scale(.6); } 100% { opacity: 0; transform: scale(1.5); } }

/* ---------- Page head ---------- */
.dst-tm-head {
	display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 22px 48px;
	position: relative; isolation: isolate; overflow: hidden;
	padding: clamp(40px, 4.6vw, 70px) var(--dst-gutter) clamp(34px, 3.6vw, 52px);
	background: var(--dst-spots), var(--dst-blush);
}
.dst-tm-head__copy { flex: 1 1 520px; }
.dst-tm .dst-tm-head__title { margin-top: 12px; font: 500 clamp(32px, 3.4vw, 52px)/1.1 var(--dst-font); letter-spacing: -.02em; color: var(--dst-ink); text-transform: none; }
.dst-tm .dst-tm-head__title > span { color: var(--dst-rose-ink); }
.dst-tm .dst-tm-head__lede { margin-top: 14px; max-width: 40em; font-size: clamp(16px, .3vw + 15px, 17.5px); line-height: 1.65; color: var(--dst-body); }
.dst-tm-head__aside { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.dst-tm .dst-tm-head__live { display: inline-flex; align-items: center; gap: 10px; color: var(--dst-muted); font-size: 13px; font-weight: 500; letter-spacing: .04em; }

/* ---------- Two columns ---------- */
.dst-tm-body {
	display: grid; grid-template-columns: minmax(0, 1fr) clamp(300px, 26vw, 380px); align-items: start; gap: clamp(28px, 3vw, 48px);
	padding: clamp(36px, 4vw, 60px) var(--dst-gutter) clamp(56px, 6vw, 90px);
	background: var(--dst-spots-soft), #fff;
}
.dst-tm-main { min-width: 0; }

/* The widget, with placeholders until it draws */
.dst-tm-widget { position: relative; min-height: 560px; }
.dst-tm-widget__skeleton {
	position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: 96px repeat(2, 200px); gap: 16px;
	pointer-events: none; animation: dstt-giveup .4s ease 12s forwards;
}
.dst-tm-widget__skeleton b { grid-column: 1 / -1; }
.dst-tm-widget__skeleton > * {
	border-radius: var(--dst-r);
	background: linear-gradient(100deg, var(--dst-blush) 30%, #fff 50%, var(--dst-blush) 70%) 0 0 / 300% 100%;
	animation: dstt-shine 1.6s linear infinite;
}
.dst-tm-widget__app:not(:empty) + .dst-tm-widget__skeleton { display: none; }
.dst-tm-widget:has(.dst-tm-widget__app:not(:empty)) { min-height: 0; }
@keyframes dstt-shine { from { background-position: 100% 0; } to { background-position: 0 0; } }
@keyframes dstt-giveup { to { opacity: 0; } }
/* Elfsight pads its own widget; let it use the column edge to edge */
.dst-tm-widget [class*="WidgetBackground__Container"], .dst-tm-widget [class*="WidgetBackground__ContentContainer"] { padding-left: 0 !important; padding-right: 0 !important; }

/* When the widget cannot show: a panel that sends readers to Google */
.dst-tm-off { padding: clamp(32px, 4vw, 60px); border-radius: var(--dst-r); background: var(--dst-spots), var(--dst-blush); }
.dst-tm-off[hidden] { display: none; }
.dst-tm-off__mark { width: 58px; height: auto; fill: var(--dst-rose); }
.dst-tm .dst-tm-off h2 { margin-top: 18px; font: 500 clamp(24px, 2vw, 32px)/1.2 var(--dst-font); color: var(--dst-ink); text-transform: none; letter-spacing: -.01em; }
.dst-tm-off p { margin-top: 10px; max-width: 34em; font-size: 16.5px; line-height: 1.65; color: var(--dst-body); }
.dst-tm-off__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 24px; }

/* ---------- Sidebar ---------- */
.dst-tm-side .sticky-sidebar { display: grid; gap: 14px; }
.dst-tm-box { padding: 26px 24px; border-radius: var(--dst-r); background: var(--dst-glass-bg); box-shadow: var(--dst-glass-ring); -webkit-backdrop-filter: var(--dst-glass-filter); backdrop-filter: var(--dst-glass-filter); }
.dst-tm-box--visit { background: var(--dst-spots), rgba(253, 244, 248, .8); }

.dst-tm .dst-tm-status { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-size: 16px; font-weight: 500; color: var(--dst-ink); }
.dst-tm-status span { width: 9px; height: 9px; border-radius: 50%; background: #c9b6bf; flex: none; }
.dst-tm-status.is-open span { background: #2fb36d; box-shadow: 0 0 0 4px rgba(47, 179, 109, .15); }

.dst-tm .dst-tm-hours { width: 100%; margin: 16px 0 18px; border-collapse: collapse; font-size: 14.5px; }
.dst-tm-hours th, .dst-tm-hours td { padding: 8px 0; border-bottom: 1px solid rgba(198, 58, 114, .1); font-weight: 400; color: var(--dst-body); }
.dst-tm-hours th { text-align: left; }
.dst-tm-hours td { text-align: right; font-variant-numeric: lining-nums tabular-nums; }
.dst-tm-hours tr:last-child th, .dst-tm-hours tr:last-child td { border-bottom: 0; }
.dst-tm-hours .is-today th, .dst-tm-hours .is-today td { font-weight: 600; color: var(--dst-ink); }
.dst-tm-hours small { margin-left: 6px; padding: 2px 9px; border-radius: var(--dst-pill); background: var(--dst-rose-ink); color: #fff; font-size: 11px; font-weight: 500; letter-spacing: .04em; vertical-align: 1px; }

.dst-tm .dst-tm-place { display: flex; gap: 10px; color: var(--dst-body); font-size: 14.5px; line-height: 1.55; text-decoration: none; }
.dst-tm-place .dst-i { margin-top: 2px; color: var(--dst-rose); }
.dst-tm-place small { display: block; margin-top: 3px; color: var(--dst-rose-ink); font-size: 13.5px; font-weight: 500; }

.dst-tm-box__actions { display: grid; gap: 8px; margin-top: 20px; }
.dst-tm-box__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.dst-tm .dst-tm-box__pair a {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 12px; border-radius: var(--dst-pill);
	background: #fff; color: var(--dst-rose-ink); font-size: 14.5px; font-weight: 500; text-decoration: none;
	transition: background-color .2s ease, color .2s ease;
}
.dst-tm .dst-tm-box__note { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 13.5px; color: var(--dst-muted); }
.dst-tm-box__note .dst-i { width: 15px; height: 15px; color: var(--dst-rose); }

.dst-tm-box--care { padding-bottom: 12px; }
.dst-tm-box--care ul { margin-top: 10px; }
.dst-tm .dst-tm-box--care a {
	display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 12px;
	padding: 11px 0; border-bottom: 1px solid rgba(198, 58, 114, .1); text-decoration: none;
}
.dst-tm-box--care li:last-child a { border-bottom: 0; }
.dst-tm-box--care img { width: 34px; height: 34px; transition: transform .35s var(--out); }
.dst-tm-box--care b { display: block; font-size: 15px; font-weight: 500; color: var(--dst-ink); transition: color .2s ease; }
.dst-tm-box--care small { display: block; font-size: 12.5px; color: var(--dst-muted); }
.dst-tm-box--care .dst-i { width: 15px; height: 15px; color: var(--dst-rose); transition: transform .25s var(--out); }

@media (hover: hover) and (pointer: fine) {
	.dst-tm .dst-tm__btn:hover { background: var(--dst-rose-deep); color: #fff; }
	.dst-tm__link:hover .dst-i, .dst-tm__btn:hover .dst-i:last-child:not(:first-child) { transform: translateX(3px); }
	.dst-tm .dst-tm-box__pair a:hover { background: var(--dst-rose-ink); color: #fff; }
	.dst-tm .dst-tm-box--care a:hover b { color: var(--dst-rose-ink); }
	.dst-tm-box--care a:hover .dst-i { transform: translateX(3px); }
	.dst-tm-box--care a:hover img { transform: translateY(-3px) rotate(-4deg); }
}
@media (prefers-reduced-motion: reduce) {
	.dst-tm *, .dst-tm *::before, .dst-tm *::after { transition: none !important; animation: none !important; }
}

/* ---------- Tablet & phone: sidebar below the reviews ---------- */
@media (max-width: 991.98px) {
	.dst-tm-body { grid-template-columns: minmax(0, 1fr); }
	.dst-tm-side .sticky-sidebar { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); align-items: start; }
	.dst-tm-widget__skeleton { grid-template-columns: minmax(0, 1fr); grid-template-rows: 96px repeat(3, 200px); }
	.dst-tm-widget__skeleton span:nth-of-type(n + 4) { display: none; }
}
@media (max-width: 575.98px) {
	.dst-tm-head__aside { align-items: flex-start; }
	.dst-tm-box { padding: 22px 18px; }
}
