/* Terapia Holística – estilos do plugin (cartões, formulário, vídeo).
   Usa variáveis CSS que o tema pode redefinir. */
:root {
	--th-primary: #6b4a7a;
	--th-primary-dark: #4f3459;
	--th-accent: #b8923f;
	--th-ink: #2d2433;
	--th-muted: #6d6475;
	--th-bg-soft: #f3ecf5;
	--th-card: #ffffff;
	--th-line: #e6dde9;
	--th-radius: 14px;
}

.th-btn {
	display: inline-block;
	padding: .8em 1.5em;
	border-radius: 999px;
	border: 2px solid transparent;
	font: inherit;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.th-btn:hover { transform: translateY(-1px); }
.th-btn:focus-visible { outline: 3px solid var(--th-accent); outline-offset: 2px; }
.th-btn--primary { background: var(--th-primary); color: #fff; }
.th-btn--primary:hover { background: var(--th-primary-dark); color: #fff; }
.th-btn--ghost { background: transparent; color: var(--th-primary); border-color: var(--th-primary); }
.th-btn--ghost:hover { background: var(--th-primary); color: #fff; }
.th-btn--sm { padding: .55em 1.1em; font-size: .92rem; }

/* Cartões */
.th-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 1.25rem;
	margin: 1.5rem 0;
}
.th-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--th-card);
	border: 1px solid var(--th-line);
	border-radius: var(--th-radius);
	overflow: hidden;
	box-shadow: 0 4px 18px rgba(79, 52, 89, .05);
	transition: transform .2s, box-shadow .2s, border-color .2s;
}
.th-card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(79, 52, 89, .12); border-color: #d9c8df; }
.th-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--th-bg-soft); }
.th-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.th-card__body { display: flex; flex-direction: column; flex: 1; padding: 1.2rem 1.25rem 1.25rem; }
.th-card__top { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin-bottom: .8rem; min-height: 44px; }
.th-card__icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, #efe4f3, #f7efe0); color: var(--th-primary); flex: none; }
.th-card__icon svg { width: 30px; height: 30px; }
.th-card__icon svg [stroke-width] { stroke-width: 3.2; }
.th-card__price { margin-left: auto; padding: .3em .75em; border-radius: 999px; background: #f8f1e3; color: #7a5b17; font-weight: 700; font-size: .9rem; white-space: nowrap; }
.th-card__title { margin: 0 0 .35rem; font-size: 1.15rem; line-height: 1.3; }
.th-card__title a { color: var(--th-ink); text-decoration: none; }
.th-card__title a::after { content: ""; position: absolute; inset: 0; } /* o cartão todo é clicável */
.th-card__title a:hover { color: var(--th-primary); }
.th-card__title a:focus-visible { outline: none; }
.th-card:focus-within { outline: 3px solid var(--th-accent); outline-offset: 2px; }
.th-card__meta { display: flex; align-items: center; gap: .35rem; margin: 0 0 .5rem; color: var(--th-muted); font-size: .9rem; }
.th-card__text { margin: 0 0 1.1rem; color: var(--th-muted); font-size: .96rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.th-card__actions { display: flex; align-items: center; justify-content: space-between; gap: .6rem; flex-wrap: wrap; margin: auto 0 0; }
.th-card__actions a { position: relative; z-index: 1; }
.th-card__more { color: var(--th-primary); font-weight: 600; font-size: .92rem; text-decoration: none; }
.th-card__more:hover { text-decoration: underline; }

/* Separadores de serviços (página inicial) */
.th-tabs__list { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin: 0 auto 1.25rem; padding: .35rem; border-radius: 999px; background: #fff; border: 1px solid var(--th-line); width: fit-content; max-width: 100%; }
.th-tabs__tab { font: inherit; font-weight: 600; border: 0; background: transparent; color: var(--th-muted); padding: .6em 1.15em; border-radius: 999px; cursor: pointer; display: inline-flex; align-items: center; gap: .45rem; }
.th-tabs__tab:hover { color: var(--th-primary); }
.th-tabs__tab[aria-selected="true"] { background: var(--th-primary); color: #fff; }
.th-tabs__tab:focus-visible { outline: 3px solid var(--th-accent); outline-offset: 2px; }
.th-tabs__count { font-size: .78rem; padding: .1em .5em; border-radius: 999px; background: rgba(107, 74, 122, .12); }
.th-tabs__tab[aria-selected="true"] .th-tabs__count { background: rgba(255, 255, 255, .22); }
.th-tabs__intro { text-align: center; color: var(--th-muted); max-width: 60ch; margin: 0 auto; }
.th-tabs__panel[hidden] { display: none; }
.th-tabs__heading { text-align: center; margin: 2rem 0 .4rem; }
.th-tabs.is-ready .th-tabs__heading { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.th-tabs__more { text-align: center; margin: .5rem 0 0; }
@media (max-width: 640px) {
	.th-tabs__list { display: grid; grid-template-columns: 1fr 1fr; gap: .3rem; border-radius: 16px; width: 100%; }
	.th-tabs__tab { justify-content: center; border-radius: 12px; padding: .65em .4em; font-size: .9rem; white-space: nowrap; }
}

/* Formulário */
.th-form { max-width: 720px; margin: 1.5rem 0; }
.th-book .th-form { max-width: none; margin: 0; }
.th-field { margin: 0 0 1.1rem; border: 0; padding: 0; min-width: 0; }
.th-field label, .th-field legend { display: block; font-weight: 600; margin: 0 0 .35rem; padding: 0; }
.th-field input[type="text"], .th-field input[type="email"], .th-field input[type="tel"],
.th-field input[type="date"], .th-field select, .th-field textarea {
	width: 100%;
	padding: .75em .9em;
	border: 1px solid #cfc3d4;
	border-radius: 10px;
	background: #fff;
	font: inherit;
	color: var(--th-ink);
}
.th-field input:focus, .th-field select:focus, .th-field textarea:focus {
	outline: 3px solid rgba(184, 146, 63, .45);
	border-color: var(--th-accent);
}
.th-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .th-row { grid-template-columns: 1fr; } }
.th-choice { display: grid; gap: .75rem; }
.th-choice__opt {
	display: flex !important;
	gap: .8rem;
	align-items: flex-start;
	padding: 1rem 1.1rem;
	border: 2px solid var(--th-line);
	border-radius: var(--th-radius);
	background: #fff;
	cursor: pointer;
	font-weight: 400 !important;
}
.th-choice__opt input { margin-top: .3rem; accent-color: var(--th-primary); }
.th-choice__opt strong { display: block; }
.th-choice__opt small { display: block; color: var(--th-muted); margin-top: .15rem; }
.th-choice__opt:has(input:checked) { border-color: var(--th-primary); background: var(--th-bg-soft); }
.th-check label { display: flex; gap: .6rem; align-items: flex-start; font-weight: 400; }
.th-check input { margin-top: .3rem; accent-color: var(--th-primary); }
.th-help { color: var(--th-muted); font-size: .92rem; margin: .5rem 0 1rem; }
.th-hp { position: absolute !important; left: -9999px; height: 0; overflow: hidden; }

/* Mostrar/ocultar conforme a modalidade */
.th-form[data-modo="diferido"] .th-only-video { display: none; }
.th-form[data-modo="videochamada"] .th-only-diferido { display: none; }

/* Avisos */
.th-notice { padding: 1rem 1.2rem; border-radius: 10px; background: var(--th-bg-soft); border-left: 4px solid var(--th-primary); margin: 1rem 0; }
.th-notice--ok { background: #eaf4ea; border-color: #4b8b53; }
.th-notice--erro { background: #fbeaea; border-color: #b23b3b; }

/* Contactos */
.th-contacts { list-style: none; padding: 0; margin: 1rem 0; }
.th-contacts li { padding: .45rem 0; border-bottom: 1px solid var(--th-line); }

/* YouTube */
.th-yt { display: grid; gap: 1.25rem; margin: 1.5rem 0; }
.th-yt__player { position: relative; aspect-ratio: 16 / 9; border-radius: var(--th-radius); overflow: hidden; background: #000; box-shadow: 0 10px 30px rgba(79, 52, 89, .18); }
.th-yt__player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.th-yt__list {
	list-style: none; margin: 0; padding: 0;
	display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 1rem;
}
.th-yt__list a { display: block; text-decoration: none; color: var(--th-ink); border-radius: 10px; padding: .4rem; border: 2px solid transparent; }
.th-yt__list a.is-active { border-color: var(--th-primary); background: var(--th-bg-soft); }
.th-yt__list img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; display: block; }
.th-yt__list span { display: block; margin-top: .4rem; font-size: .92rem; line-height: 1.3; }
.th-yt__more { text-align: center; margin: 1rem 0 0; }

/* Dias e horas livres */
.th-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: .4rem 0 .8rem; }
.th-chip { position: relative; margin: 0 !important; font-weight: 500 !important; }
.th-chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.th-chip span {
	display: block; padding: .5rem .9rem; border: 2px solid var(--th-line); border-radius: 999px;
	background: #fff; min-width: 4.2rem; text-align: center; font-size: .95rem;
}
.th-chip input:hover + span { border-color: var(--th-primary); }
.th-chip input:checked + span { background: var(--th-primary); border-color: var(--th-primary); color: #fff; }
.th-chip input:focus-visible + span { outline: 3px solid var(--th-accent); outline-offset: 2px; }
.th-slots__more { margin: 0 0 1rem; }

/* Calendário do cliente */
.th-ccal { max-width: 380px; background: #fff; border: 1px solid var(--th-line); border-radius: var(--th-radius); padding: .9rem; margin: .4rem 0 .8rem; }
.th-ccal__nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: .5rem; }
.th-ccal__nav button { width: 2.2rem; height: 2.2rem; border-radius: 50%; border: 1px solid var(--th-line); background: #fff; font-size: 1.3rem; line-height: 1; cursor: pointer; color: var(--th-primary); }
.th-ccal__nav button:disabled { opacity: .3; cursor: default; }
.th-ccal__nav button:not(:disabled):hover { background: var(--th-bg-soft); }
.th-ccal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.th-ccal__dow { text-align: center; font-size: .75rem; color: var(--th-muted); text-transform: uppercase; padding: .2rem 0; }
.th-ccal__day { aspect-ratio: 1; border: 0; border-radius: 50%; background: transparent; color: #b5adba; font: inherit; font-size: .95rem; cursor: default; }
.th-ccal__day.is-free { background: var(--th-bg-soft); color: var(--th-primary-dark); font-weight: 700; cursor: pointer; }
.th-ccal__day.is-free:hover { background: #e4d3ea; }
.th-ccal__day.is-selected { background: var(--th-primary); color: #fff; }
.th-ccal__day:focus-visible, .th-ccal__nav button:focus-visible { outline: 3px solid var(--th-accent); outline-offset: 2px; }
.th-slots__when { margin: .2rem 0 .2rem; font-weight: 600; }

/* Campos específicos das mesas radiónicas */
.th-form[data-mesa="0"] .th-only-mesa { display: none; }
.th-form[data-mesa="1"] .th-not-mesa { display: none; }

/* Questionário */
.th-quiz { width: 100%; margin: 0; scroll-margin-top: 90px; }
.th-quiz__box { background: var(--th-card); border: 1px solid var(--th-line); border-radius: var(--th-radius); padding: clamp(1.2rem, 3vw, 1.8rem); box-shadow: 0 6px 24px rgba(79, 52, 89, .06); }
.th-quiz__head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.th-quiz__progress { margin: 0; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: #8a6a1f; font-weight: 700; white-space: nowrap; }
.th-quiz__bar { flex: 1; height: 6px; border-radius: 99px; background: var(--th-bg-soft); overflow: hidden; }
.th-quiz__bar span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--th-primary), var(--th-accent)); transition: width .4s ease; }
.th-quiz__title { margin: 0 0 .3rem; font-size: clamp(1.35rem, 3vw, 1.7rem); outline: none; }
.th-quiz__sub { margin: 0 0 .5rem; color: var(--th-muted); }
.th-quiz__chosen { margin: 0 0 .3rem; font-weight: 600; color: var(--th-primary-dark); }
.th-quiz__opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: .7rem; margin: 1.1rem 0 .4rem; }
.th-quiz__opt { position: relative; display: flex; align-items: flex-start; gap: .8rem; text-align: left; font: inherit; color: var(--th-ink); background: #fff; border: 1.5px solid var(--th-line); border-radius: var(--th-radius); padding: .85rem 2.2rem .85rem .9rem; cursor: pointer; transition: border-color .15s, background .15s, box-shadow .15s, transform .15s; }
.th-quiz__ico { display: inline-grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 11px; background: var(--th-bg-soft); color: var(--th-primary); transition: background .15s, color .15s; }
.th-quiz__txt { display: flex; flex-direction: column; gap: .15rem; }
.th-quiz__txt strong { font-size: 1rem; line-height: 1.3; }
.th-quiz__txt small { color: var(--th-muted); font-size: .86rem; line-height: 1.4; }
.th-quiz__opt::after { content: ""; position: absolute; top: .9rem; right: .9rem; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid #cdbfd3; background: #fff; }
.th-quiz__opt:hover { border-color: var(--th-primary); box-shadow: 0 6px 18px rgba(79, 52, 89, .08); transform: translateY(-1px); }
.th-quiz__opt:focus-visible { outline: 3px solid var(--th-accent); outline-offset: 2px; }
.th-quiz__opt[aria-pressed="true"] { border-color: var(--th-primary); background: #faf5fc; box-shadow: 0 0 0 1px var(--th-primary) inset; }
.th-quiz__opt[aria-pressed="true"] .th-quiz__ico { background: var(--th-primary); color: #fff; }
.th-quiz__opt[aria-pressed="true"]::after { border-color: var(--th-primary); background: var(--th-primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.th-quiz__nav { display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; margin-top: 1.1rem; }
.th-quiz__nav .th-btn--primary { margin-left: auto; }
.th-quiz__nav button:disabled { opacity: .4; cursor: not-allowed; transform: none; }
.th-quiz__results { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem; margin: 1.2rem 0; }
.th-quiz__card { border: 1px solid var(--th-line); border-radius: var(--th-radius); padding: 1.1rem 1.15rem; background: #fff; display: flex; flex-direction: column; gap: .35rem; animation: thQuizIn .35s ease both; }
.th-quiz__card:nth-child(2) { animation-delay: .06s; }
.th-quiz__card:nth-child(3) { animation-delay: .12s; }
@keyframes thQuizIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .th-quiz__card { animation: none; } .th-quiz__bar span { transition: none; } }
.th-quiz__card.is-top { border: 2px solid var(--th-accent); background: linear-gradient(180deg, #fffaf0, #fff 40%); }
.th-quiz__card h4 { margin: .1rem 0; font-size: 1.12rem; line-height: 1.3; }
.th-quiz__card p { margin: 0; }
.th-quiz__card > p:not([class]) { color: var(--th-muted); font-size: .95rem; }
.th-quiz__badge { align-self: flex-start; background: var(--th-accent); color: #fff !important; font-weight: 700; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; padding: .3em .7em; border-radius: 99px; }
.th-quiz__type { color: var(--th-primary); font-size: .82rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.th-quiz__meta { display: inline-block; align-self: flex-start; margin-top: .3rem !important; padding: .25em .7em; border-radius: 99px; background: #f8f1e3; color: #7a5b17; font-weight: 700; font-size: .9rem; }
.th-quiz__actions { display: flex; align-items: center; justify-content: space-between; gap: .5rem; flex-wrap: wrap; margin-top: auto; padding-top: .8rem; }
.th-quiz__more { color: var(--th-primary); font-weight: 600; font-size: .92rem; text-decoration: none; }
.th-quiz__more:hover { text-decoration: underline; }
.th-quiz__help { margin: .4rem 0 0; }
.th-quiz__note { margin: .5rem 0 0; font-size: .84rem; color: var(--th-muted); }
@media (max-width: 560px) {
	.th-quiz__opts { grid-template-columns: 1fr; gap: .55rem; }
	.th-quiz__opt { padding: .7rem 2.1rem .7rem .75rem; }
	.th-quiz__ico { width: 36px; height: 36px; }
	.th-quiz__nav .th-btn { flex: 1; text-align: center; }
}

/* Marcação: passos + resumo */
.th-book { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 2rem; align-items: start; margin: 1.5rem 0 0; }
@media (max-width: 960px) { .th-book { grid-template-columns: 1fr; } }
.th-step { background: var(--th-card); border: 1px solid var(--th-line); border-radius: var(--th-radius); padding: clamp(1.1rem, 3vw, 1.6rem); box-shadow: 0 6px 24px rgba(79, 52, 89, .06); margin: 0 0 1.25rem; }
.th-step__title, .entry-content .th-step__title, .entry-content .th-sum__title { display: flex; align-items: center; gap: .7rem; margin: 0 0 1rem; font-size: 1.3rem; }
.th-step__n { display: inline-grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--th-primary); color: #fff; font: 700 .95rem/1 inherit; font-family: inherit; }
.th-opt { color: var(--th-muted); font-weight: 400; }

/* Serviços */
.th-svc__tabs { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1rem; }
.th-svc__tab { font: inherit; font-weight: 600; font-size: .93rem; padding: .5em 1em; border-radius: 999px; border: 1.5px solid var(--th-line); background: #fff; color: var(--th-muted); cursor: pointer; }
.th-svc__tab:hover { border-color: var(--th-primary); color: var(--th-primary); }
.th-svc__tab[aria-selected="true"] { background: var(--th-primary); border-color: var(--th-primary); color: #fff; }
.th-svc__tab:focus-visible { outline: 3px solid var(--th-accent); outline-offset: 2px; }
.th-svc__group { border: 0; margin: 0 0 1rem; padding: 0; min-width: 0; }
.th-svc__group[hidden] { display: none; }
.th-svc__legend { font-weight: 700; margin: 0 0 .5rem; padding: 0; }
.th-svc.is-ready .th-svc__legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.th-svc__list { display: grid; gap: .5rem; }
.th-svc__opt { position: relative; display: flex; align-items: center; gap: 1rem; padding: .8rem 1rem .8rem 2.8rem; border: 1.5px solid var(--th-line); border-radius: 12px; background: #fff; cursor: pointer; font-weight: 400 !important; margin: 0 !important; transition: border-color .15s, background .15s; }
.th-svc__opt:hover { border-color: var(--th-primary); }
.th-svc__opt input { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; margin: 0; accent-color: var(--th-primary); }
.th-svc__opt:has(input:checked) { border-color: var(--th-primary); background: #faf5fc; box-shadow: 0 0 0 1px var(--th-primary) inset; }
.th-svc__opt:has(input:focus-visible) { outline: 3px solid var(--th-accent); outline-offset: 2px; }
.th-svc__body { display: flex; flex-direction: column; gap: .15rem; flex: 1; min-width: 0; }
.th-svc__name { font-weight: 600; line-height: 1.3; }
.th-svc__desc { color: var(--th-muted); font-size: .88rem; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.th-svc__desc a { position: relative; z-index: 1; }
.th-svc__side { display: flex; flex-direction: column; align-items: flex-end; gap: .2rem; flex: none; }
.th-svc__price { padding: .25em .7em; border-radius: 999px; background: #f8f1e3; color: #7a5b17; font-weight: 700; font-size: .85rem; white-space: nowrap; }
.th-svc__dur { color: var(--th-muted); font-size: .82rem; }
@media (max-width: 560px) {
	.th-svc__tab { flex: 1 1 auto; padding: .55em .8em; font-size: .88rem; }
	.th-svc__opt { flex-wrap: wrap; gap: .4rem; }
	.th-svc__side { flex-direction: row; align-items: center; }
}

/* Modalidade */
.th-choice--2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 600px) { .th-choice--2 { grid-template-columns: 1fr; } }
.th-choice__opt { border-width: 1.5px; transition: border-color .15s, background .15s; }
.th-choice__opt:hover { border-color: var(--th-primary); }
.th-choice__opt.is-disabled { opacity: .45; cursor: not-allowed; }
.th-choice__opt:has(input:checked) { box-shadow: 0 0 0 1px var(--th-primary) inset; background: #faf5fc; }

/* Dia e hora */
.th-slots { margin: 0; }
.th-slots__wrap { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 1.5rem; align-items: start; }
@media (max-width: 760px) { .th-slots__wrap { grid-template-columns: 1fr; } .th-ccal { max-width: none; } }
.th-ccal { margin: 0; }
.th-ccal__day.is-today:not(.is-selected) { box-shadow: inset 0 0 0 1.5px var(--th-accent); }
.th-ccal__legend { display: flex; align-items: center; gap: .4rem; margin: .6rem 0 0; font-size: .82rem; color: var(--th-muted); }
.th-ccal__dot { width: 12px; height: 12px; border-radius: 50%; background: var(--th-bg-soft); box-shadow: inset 0 0 0 1px #d6c3dd; }
.th-slots__panel { min-height: 100%; padding: 1rem 1.1rem; border-radius: var(--th-radius); background: var(--th-bg-soft); }
.th-slots__when { margin: 0 0 .2rem; font-weight: 700; font-size: 1.05rem; color: var(--th-ink); }
.th-slots__when:empty { display: none; }
.th-slots__msg { margin: 0 0 .6rem; color: var(--th-muted); font-size: .95rem; }
.th-slots__times { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: .45rem; margin: .4rem 0 .8rem; }
.th-slots__times:empty { display: none; }
.th-slots__panel .th-chip span { min-width: 0; padding: .55rem .4rem; }
.th-slots__panel .th-help { margin: .4rem 0 0; font-size: .86rem; }

/* Erros */
.th-err { color: #a12d2d; font-size: .88rem; font-weight: 600; margin: .35rem 0 0; }
.th-field [aria-invalid="true"] { border-color: #b23b3b !important; background: #fffafa; }

/* Resumo */
.th-book__summary { position: sticky; top: 96px; }
@media (max-width: 960px) { .th-book__summary { position: static; } }
.th-sum { background: var(--th-card); border: 1px solid var(--th-line); border-radius: var(--th-radius); padding: 1.4rem; box-shadow: 0 14px 40px rgba(79, 52, 89, .10); border-top: 4px solid var(--th-primary); }
.th-sum__title { margin: 0 0 1rem; font-size: 1.25rem; }
.th-sum__list { margin: 0 0 1rem; }
.th-sum__list > div { display: grid; grid-template-columns: 6.5rem 1fr; gap: .5rem; padding: .6rem 0; border-bottom: 1px dashed var(--th-line); }
.th-sum__list dt { color: var(--th-muted); font-size: .88rem; }
.th-sum__list dd { margin: 0; font-weight: 600; font-size: .95rem; overflow-wrap: anywhere; }
.th-sum .th-check { margin: 0 0 .9rem; font-size: .9rem; }
.th-sum__btn { width: 100%; padding: .95em 1.4em; font-size: 1.02rem; }
.th-sum__btn:disabled { opacity: .7; cursor: wait; }
.th-sum__err { margin: 0 0 .7rem; padding: .6rem .8rem; border-radius: 10px; background: #fbeaea; color: #8f2424; font-size: .9rem; font-weight: 600; }
.th-sum__note { margin: .8rem 0 0; font-size: .85rem; color: var(--th-muted); text-align: center; }
html[data-th-modo="diferido"] .th-sum .th-only-video { display: none; }
.th-svc__group[data-cat="geral"] .th-svc__desc { display: block; -webkit-line-clamp: unset; overflow: visible; }

/* Introdução da marcação */
.th-book__intro { max-width: 70ch; color: var(--th-muted); margin: 0 0 1.5rem; }

/* Confirmação do pedido */
.th-done { max-width: 980px; margin: 0 auto; }
.th-done__head { text-align: center; margin: 0 0 2rem; }
.th-done__icon { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #e9f3ea; color: #3f7d48; box-shadow: 0 0 0 8px #f3f9f3; margin-bottom: 1rem; animation: thPop .4s ease both; }
@keyframes thPop { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .th-done__icon { animation: none; } }
.th-done__title, .entry-content .th-done__title { margin: 0 0 .4rem; font-size: clamp(1.6rem, 4vw, 2.1rem); }
.th-done__lead { margin: 0; color: var(--th-muted); font-size: 1.08rem; }
.th-done__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.25rem; }
.th-done__card { background: var(--th-card); border: 1px solid var(--th-line); border-radius: var(--th-radius); padding: 1.4rem; box-shadow: 0 6px 24px rgba(79, 52, 89, .06); }
.th-done__card h3, .entry-content .th-done__card h3 { margin: 0 0 .8rem; font-size: 1.2rem; }
.th-done__card .th-sum__list { margin: 0; }
.th-done__steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.th-done__steps li { position: relative; padding: 0 0 1rem 2.6rem; counter-increment: s; }
.th-done__steps li:last-child { padding-bottom: 0; }
.th-done__steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: var(--th-bg-soft); color: var(--th-primary); font-weight: 700; display: grid; place-items: center; font-size: .9rem; }
.th-done__steps li:not(:last-child)::after { content: ""; position: absolute; left: .88rem; top: 2rem; bottom: .2rem; width: 2px; background: var(--th-line); }
.th-done__steps strong { display: block; }
.th-done__steps span { color: var(--th-muted); font-size: .95rem; }
.th-done__actions { display: flex; justify-content: center; gap: .7rem; flex-wrap: wrap; margin: 2rem 0 0; }
