/* Derma Suite booking — matches the Derma Suite v2 theme (black, champagne gold, ivory). */
.dsb-page .ds-entry > h1 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.dsb-page .ds-page .ds-wrap--narrow { max-width: 1100px; }

.dsb { --g: #C9A96E; --gd: #7E6038; --ink: #151311; --line: #E6DDCF; --muted: #6B645B; --ease: cubic-bezier(.16, 1, .3, 1); color: var(--ink); font-family: 'Jost', system-ui, sans-serif; }
.dsb *, .dsb *::before, .dsb *::after { box-sizing: border-box; }
.dsb button { font: inherit; color: inherit; }
.dsb-loading { color: var(--muted); }

.dsb-head { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; margin-bottom: 36px; }
.dsb-eyebrow { margin: 0; font-size: 13px; letter-spacing: .24em; text-transform: uppercase; color: var(--gd); }
.dsb-title { margin: 0; font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 500; font-size: clamp(36px, 4.4vw, 56px); line-height: 1.06; }
.dsb-script { font-family: 'Pinyon Script', cursive; font-weight: 400; color: var(--gd); font-size: 1.1em; }
.dsb-lead { margin: 0; max-width: 560px; color: #4F4942; font-size: 17px; line-height: 1.65; }

/* Progress */
.dsb-progress { list-style: none; margin: 0 auto 32px; padding: 0; display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.dsb-progress__item { position: relative; display: flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--muted); font-size: 14px; transition: all .5s var(--ease); }
.dsb-progress__num { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: #F2ECE2; color: var(--gd); font-weight: 500; font-size: 13px; transition: all .5s var(--ease); }
.dsb-progress__item.is-current { border-color: var(--ink); color: var(--ink); }
.dsb-progress__item.is-current .dsb-progress__num { background: var(--ink); color: var(--g); }
.dsb-progress__item.is-done { color: var(--ink); }
.dsb-progress__item.is-done .dsb-progress__num { background: var(--g); color: var(--ink); }
.dsb-progress__btn { position: absolute; inset: 0; border: 0; background: transparent; border-radius: 999px; cursor: pointer; }
.dsb-progress__btn:focus-visible { outline: 2px solid var(--g); outline-offset: 2px; }

/* Layout */
.dsb-body { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.dsb-panel { flex: 999 1 560px; min-width: 0; background: #fff; border-radius: 26px; padding: clamp(24px, 4vw, 44px); box-shadow: 0 30px 60px -44px rgba(21, 19, 17, .35); }
.dsb-panel > * { opacity: 0; transform: translateY(16px); }
.dsb-panel.is-in > * { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .8s var(--ease); }
.dsb-panel.is-in > *:nth-child(2) { transition-delay: .06s; }
.dsb-panel.is-in > *:nth-child(3) { transition-delay: .12s; }
.dsb-panel.is-in > *:nth-child(4) { transition-delay: .18s; }
.dsb-panel.is-in > *:nth-child(n+5) { transition-delay: .24s; }
.dsb-panel.is-static > * { transition: none !important; }
.dsb-summary { flex: 1 1 260px; position: sticky; top: 100px; background: #151311; color: #F3EEE6; border-radius: 22px; padding: 26px; display: flex; flex-direction: column; gap: 6px; animation: dsbIn .6s var(--ease); }
.dsb-summary[hidden] { display: none; }
.dsb-summary p { margin: 0; }
.dsb-summary__title { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--g); margin-bottom: 6px !important; }
.dsb-summary__svc { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 24px; line-height: 1.2; color: #fff; }
.dsb-summary__line { color: #CFC7BA; font-size: 15px; }
.dsb-summary__when { margin-top: 10px !important; padding-top: 12px; border-top: 1px solid rgba(201, 169, 110, .3); color: var(--g); font-size: 16px; }
@keyframes dsbIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.dsb-h2 { margin: 0 0 22px; font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 500; font-size: clamp(28px, 3vw, 36px); line-height: 1.1; outline: none; }
.dsb-note { margin: 0 0 18px; color: #4F4942; line-height: 1.65; }
.dsb-note--small { font-size: 14px; color: var(--muted); margin-top: 16px; }

/* Category tabs + pills */
.dsb-cats { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.dsb-cat, .dsb-pill { min-height: 48px; padding: 12px 20px; border-radius: 999px; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 15px; transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease); }
.dsb-cat:hover, .dsb-pill:hover { border-color: var(--ink); transform: translateY(-1px); }
.dsb-cat.is-on, .dsb-pill.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.dsb-q { border: 0; padding: 0; margin: 0 0 20px; display: flex; flex-wrap: wrap; gap: 10px; }
.dsb-q legend, .dsb-addons legend { font-weight: 500; margin-bottom: 12px; padding: 0; }

/* Service cards */
.dsb-services { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; margin-bottom: 22px; }
.dsb-service { position: relative; text-align: left; display: flex; flex-direction: column; gap: 6px; padding: 18px 18px 16px; border: 1px solid var(--line); border-radius: 18px; background: #FBF8F3; cursor: pointer; transition: border-color .35s var(--ease), background .35s var(--ease), transform .45s var(--ease), box-shadow .45s var(--ease); animation: dsbIn .55s var(--ease) both; animation-delay: calc(var(--i, 0) * 45ms); }
.dsb-panel.is-static .dsb-service { animation: none; }
.dsb-service:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -22px rgba(21, 19, 17, .45); border-color: #CDBF9F; }
.dsb-service.is-on { background: #fff; border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.dsb-service.is-on::after { content: ''; position: absolute; top: 14px; right: 14px; width: 10px; height: 10px; border-radius: 50%; background: var(--g); box-shadow: 0 0 0 4px rgba(201, 169, 110, .25); }
.dsb-service__top { display: flex; flex-direction: column; gap: 2px; padding-right: 18px; }
.dsb-service__name { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 21px; line-height: 1.2; font-weight: 500; }
.dsb-service__price { font-size: 14px; font-weight: 500; color: var(--gd); }
.dsb-service__desc { font-size: 14px; color: var(--muted); line-height: 1.5; }
.dsb-service__len { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gd); margin-top: auto; padding-top: 4px; }

/* Fields */
.dsb-field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.dsb-field label { font-weight: 500; font-size: 15px; }
.dsb-input { width: 100%; min-height: 52px; padding: 13px 16px; font: inherit; font-size: 16px; color: var(--ink); background: #FBF8F3; border: 1px solid var(--line); border-radius: 14px; transition: border-color .3s, box-shadow .3s, background .3s; }
textarea.dsb-input { min-height: 96px; resize: vertical; }
.dsb-input:focus { outline: none; border-color: var(--ink); background: #fff; box-shadow: 0 0 0 4px rgba(201, 169, 110, .25); }
.dsb-form__row { display: flex; flex-wrap: wrap; gap: 0 16px; }
.dsb-form__row > * { flex: 1 1 220px; }
.dsb-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

.dsb-addons { border: 0; padding: 0; margin: 0 0 22px; display: flex; flex-direction: column; gap: 8px; }
.dsb-check { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; cursor: pointer; transition: border-color .3s, background .3s; }
.dsb-check:hover { border-color: #CDBF9F; }
.dsb-check input { width: 20px; height: 20px; accent-color: #151311; flex: none; margin: 0; }
.dsb-check__price { margin-left: auto; color: var(--gd); font-weight: 500; }
.dsb-check--consent { align-items: flex-start; border: 0; padding: 6px 0; font-size: 15px; line-height: 1.5; color: #4F4942; }
.dsb-check--consent input { margin-top: 2px; }

/* Calendar */
.dsb-cal { max-width: 460px; }
.dsb-cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.dsb-cal__month { margin: 0; font-family: 'Cormorant Garamond', Georgia, serif; font-size: 24px; }
.dsb-cal__arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: all .3s; }
.dsb-cal__arrow:hover:not(:disabled) { border-color: var(--ink); }
.dsb-cal__arrow:disabled { opacity: .35; cursor: default; }
.dsb-cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.dsb-cal__dow { text-align: center; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-bottom: 4px; }
.dsb-day { aspect-ratio: 1; min-height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #FBF8F3; cursor: pointer; font-size: 16px; transition: all .3s var(--ease); }
.dsb-day:hover:not(:disabled) { border-color: var(--ink); background: #fff; transform: translateY(-1px); }
.dsb-day.is-closed { background: transparent; border-color: transparent; color: #BDB5AA; cursor: default; text-decoration: line-through; text-decoration-color: rgba(0, 0, 0, .15); }
.dsb-day.is-today { box-shadow: inset 0 -3px 0 var(--g); }
.dsb-day.is-on { background: var(--ink); color: var(--g); border-color: var(--ink); }

/* Times */
.dsb-times { min-height: 120px; }
.dsb-times__label { margin: 18px 0 10px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gd); }
.dsb-times__label:first-child { margin-top: 0; }
.dsb-times__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.dsb-time { min-height: 48px; border-radius: 12px; border: 1px solid var(--line); background: #FBF8F3; cursor: pointer; font-size: 15px; transition: all .3s var(--ease); animation: dsbIn .45s var(--ease) both; animation-delay: calc(var(--i, 0) * 18ms); }
.dsb-panel.is-static .dsb-time { animation: none; }
.dsb-time:hover { border-color: var(--ink); background: #fff; }
.dsb-time.is-on { background: var(--ink); color: var(--g); border-color: var(--ink); }

/* Buttons */
.dsb-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.dsb-nav--center { justify-content: center; }
.dsb-btn { position: relative; overflow: hidden; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 14px 28px; border-radius: 999px; font-size: 14px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: transform .4s var(--ease), background .3s, color .3s, border-color .3s, box-shadow .4s, opacity .3s; }
.dsb-btn--gold { background: var(--g); color: var(--ink); border: 0; font-weight: 600; }
.dsb-btn--gold:hover:not(:disabled) { background: #E2CA9C; color: var(--ink); box-shadow: 0 12px 30px -12px rgba(201, 169, 110, .7); }
.dsb-btn--gold::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%); transform: translateX(-120%); }
.dsb-btn--gold:hover:not(:disabled)::after { transform: translateX(120%); transition: transform .9s ease; }
.dsb-btn--ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.dsb-btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.dsb-btn:disabled { opacity: .4; cursor: not-allowed; }
.dsb-btn:active:not(:disabled) { transform: scale(.97); }
.dsb-btn:focus-visible, .dsb-cat:focus-visible, .dsb-pill:focus-visible, .dsb-service:focus-visible, .dsb-day:focus-visible, .dsb-time:focus-visible { outline: 2px solid var(--g); outline-offset: 3px; }

.dsb-error { margin: 12px 0 0; padding: 12px 16px; border-radius: 12px; background: #FBEDEA; color: #8A2A1B; font-size: 15px; }
.dsb-error[hidden] { display: none; }

/* Done */
.dsb-done { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 0; }
.dsb-done__mark { color: var(--gd); margin-bottom: 8px; }
.dsb-done__when { margin: 0; font-size: 18px; }
.dsb-done .dsb-note { max-width: 460px; margin-top: 12px; }
.dsb-tick__circle { stroke-dasharray: 151; stroke-dashoffset: 151; animation: dsbDraw .9s var(--ease) .1s forwards; }
.dsb-tick__path { stroke-dasharray: 36; stroke-dashoffset: 36; animation: dsbDraw .6s var(--ease) .8s forwards; }
@keyframes dsbDraw { to { stroke-dashoffset: 0; } }

@media (max-width: 760px) {
	.dsb-summary { position: static; order: -1; padding: 18px 20px; }
	.dsb-summary__svc { font-size: 20px; }
	.dsb-progress__label { display: none; }
	.dsb-progress__item { padding: 6px; }
	.dsb-progress__item.is-current .dsb-progress__label { display: inline; }
	.dsb-progress__item.is-current { padding-right: 14px; }
	.dsb-panel { border-radius: 22px; }
	.dsb-nav .dsb-btn { flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
	.dsb *, .dsb *::before, .dsb *::after { animation: none !important; transition: none !important; }
	.dsb-panel > * { opacity: 1 !important; transform: none !important; }
	.dsb-tick__circle, .dsb-tick__path { stroke-dashoffset: 0; }
}

/* WhatsApp */
.dsb-wa { display: inline-flex; align-items: center; justify-content: center; gap: 8px; margin-top: 6px; min-height: 44px; padding: 10px 18px; border-radius: 999px; border: 1px solid #CFE6D8; background: #F1F8F4; color: #1F6B45; font-size: 15px; font-weight: 500; text-decoration: none; transition: background .3s, transform .3s; }
.dsb-wa:hover { background: #E2F1E8; transform: translateY(-1px); }
.dsb-wa svg { flex: none; }
.dsb-summary .dsb-wa { margin-top: 14px; background: transparent; border-color: rgba(255, 255, 255, .3); color: #fff; font-size: 14px; }
.dsb-summary .dsb-wa:hover { background: rgba(255, 255, 255, .08); }
.ds-entry__content .dsb a.dsb-wa { text-decoration: none; color: #1F6B45; }
.ds-entry__content .dsb .dsb-summary a.dsb-wa { color: #fff; }

/* WhatsApp send button + note */
.dsb-btn--wa { gap: 10px; background: #25D366; color: #fff; border: 0; font-weight: 600; }
.dsb-btn--wa:hover { background: #1EBE5B; color: #fff; box-shadow: 0 12px 30px -12px rgba(37, 211, 102, .6); }
.ds-entry__content .dsb a.dsb-btn--wa, .ds-entry__content .dsb a.dsb-btn--wa:hover { color: #fff; text-decoration: none; }
.dsb-wa-note { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 0; color: #1F6B45; }
.dsb-wa-note svg { flex: none; margin-top: 2px; }

/* Theme overrides */
.dsb-progress[hidden] { display: none; }
.ds-entry__content .dsb a.dsb-btn { text-decoration: none; }
.ds-entry__content .dsb a.dsb-btn--gold, .ds-entry__content .dsb a.dsb-btn--gold:hover { color: #151311; }
.ds-entry__content .dsb a.dsb-btn--ghost { color: #151311; }
