/*
 * Takween Core — public components.
 * Works with any theme; the Takween Academy theme provides the design tokens.
 * RTL/LTR safe via logical properties.
 */
:root {
	--tk-primary: #0a3d77;
	--tk-primary-dark: #012752;
	--tk-accent: #f6a10e;
	--tk-orange: #db7801;
	--tk-teal: #007a99;
	--tk-green: #55901c;
	--tk-bg: #fbf8f1;
	--tk-surface: #ffffff;
	--tk-cream: #f7f1e3;
	--tk-text: #1d2733;
	--tk-muted: #5f6b7a;
	--tk-line: #e9e2d2;
	--tk-radius: 18px;
	--tk-radius-sm: 12px;
	--tk-shadow: 0 1px 2px rgba(1, 39, 82, .05), 0 10px 30px -12px rgba(1, 39, 82, .18);
	--tk-focus: 0 0 0 3px rgba(246, 161, 14, .55);
	--tk-success: #2f7a21;
	--tk-error: #b42318;
}

.tk-icon { flex: none; vertical-align: middle; }
.tk-empty { color: var(--tk-muted); background: var(--tk-surface); border: 1px dashed var(--tk-line); border-radius: var(--tk-radius-sm); padding: 18px; text-align: center; }
.tk-muted { color: var(--tk-muted); }
.tk-label { display: block; font-size: .8rem; color: var(--tk-muted); margin-bottom: 2px; }
.tk-hp { position: absolute !important; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important; }

/* Accent mapping */
.tk-accent--primary { --tk-c: var(--tk-primary); --tk-c-soft: #e7eef8; }
.tk-accent--accent { --tk-c: var(--tk-orange); --tk-c-soft: #fff1d8; }
.tk-accent--teal { --tk-c: var(--tk-teal); --tk-c-soft: #e0f2f6; }
.tk-accent--green { --tk-c: var(--tk-green); --tk-c-soft: #ecf5e1; }
.tk-accent--orange { --tk-c: var(--tk-orange); --tk-c-soft: #fdebd6; }

/* Buttons */
.tk-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 46px; padding: .7em 1.35em; border-radius: 999px; border: 2px solid transparent; font: inherit; font-weight: 700; line-height: 1.2; text-decoration: none; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease; }
.tk-btn:focus-visible { outline: none; box-shadow: var(--tk-focus); }
.tk-btn:hover { transform: translateY(-1px); }
.tk-btn--primary { background: var(--tk-primary); color: #fff; }
.tk-btn--primary:hover { background: var(--tk-primary-dark); color: #fff; }
.tk-btn--accent { background: var(--tk-accent); color: var(--tk-primary-dark); }
.tk-btn--accent:hover { background: #ffb32e; color: var(--tk-primary-dark); }
.tk-btn--ghost { background: transparent; border-color: currentColor; color: var(--tk-primary); }
.tk-btn--sm { min-height: 38px; padding: .45em 1em; font-size: .9rem; }
.tk-btn[disabled], .tk-btn[aria-busy=true] { opacity: .65; cursor: progress; transform: none; }

/* Status pills */
.tk-status { display: inline-flex; align-items: center; gap: .35em; font-size: .78rem; font-weight: 700; padding: .3em .8em; border-radius: 999px; background: #e8f4dd; color: #2f5d0e; white-space: nowrap; font-style: normal; }
.tk-status::before { content: ""; width: .5em; height: .5em; border-radius: 50%; background: currentColor; }
.tk-status--forming, .tk-status--soon { background: #fff1d6; color: #8a5200; }
.tk-status--full, .tk-status--closed { background: #fde8e6; color: var(--tk-error); }
.tk-sample { position: absolute; inset-block-start: 10px; inset-inline-end: 10px; background: rgba(1, 39, 82, .78); color: #fff; font-size: .72rem; padding: .25em .7em; border-radius: 999px; }
.tk-sample--inline { position: static; background: #eef1f5; color: var(--tk-muted); }

/* Program cards */
.tk-pgrid { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(16px, 2.5vw, 28px); }
.tk-pgrid > .tk-pcard { flex: 1 1 300px; max-width: 400px; }
@media (max-width: 680px) { .tk-pgrid > .tk-pcard { max-width: none; } }
.tk-pcard { --tk-c: var(--tk-primary); --tk-c-soft: #e7eef8; background: var(--tk-surface); border: 1px solid var(--tk-line); border-radius: var(--tk-radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--tk-shadow); transition: transform .25s ease, box-shadow .25s ease; }
.tk-pcard:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -18px rgba(1, 39, 82, .35); }
.tk-pcard[hidden] { display: none; }
.tk-pcard__media { position: relative; display: block; aspect-ratio: 16 / 10; background: var(--tk-c-soft); overflow: hidden; }
.tk-pcard__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.tk-pcard:hover .tk-pcard__media img { transform: scale(1.04); }
.tk-pcard__ph { display: grid; place-items: center; height: 100%; color: var(--tk-c); }
.tk-pcard__media .tk-status { position: absolute; inset-block-start: 12px; inset-inline-start: 12px; background: rgba(255, 255, 255, .95); }
.tk-pcard__body { padding: 0 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; position: relative; }
.tk-pcard__icon { width: 48px; height: 48px; border-radius: 14px; background: var(--tk-c); color: #fff; display: grid; place-items: center; margin-block-start: -24px; box-shadow: 0 8px 18px -8px var(--tk-c); position: relative; }
.tk-pcard__title { margin: 4px 0 0; font-size: 1.25rem; line-height: 1.4; }
.tk-pcard__title a { color: var(--tk-primary-dark); text-decoration: none; }
.tk-pcard__title a::after { content: ""; position: absolute; inset: 0; }
.tk-pcard__text { margin: 0; color: var(--tk-muted); line-height: 1.8; }
.tk-pcard__meta { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .88rem; color: var(--tk-text); }
.tk-pcard__meta li { display: inline-flex; align-items: center; gap: 6px; }
.tk-pcard__meta .tk-icon { color: var(--tk-c); }
.tk-pcard__link { margin-block-start: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--tk-c); text-decoration: none; position: relative; z-index: 1; }
.tk-pcard__link .tk-icon { transition: transform .2s; }
.tk-pcard:hover .tk-pcard__link .tk-icon { transform: translateX(-4px); }
[dir=ltr] .tk-pcard__link .tk-icon, .tk-ltr .tk-pcard__link .tk-icon { transform: scaleX(-1); }

/* Filters */
.tk-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-block-end: 22px; }
.tk-chip { font: inherit; font-size: .92rem; font-weight: 600; padding: .55em 1.1em; border-radius: 999px; border: 1px solid var(--tk-line); background: var(--tk-surface); color: var(--tk-text); cursor: pointer; transition: all .2s; min-height: 40px; }
.tk-chip:hover { border-color: var(--tk-accent); }
.tk-chip.is-active { background: var(--tk-primary); border-color: var(--tk-primary); color: #fff; }
.tk-chip:focus-visible { outline: none; box-shadow: var(--tk-focus); }
.tk-filter-empty { text-align: center; color: var(--tk-muted); padding: 20px; }

/* Facts */
.tk-facts { margin: 0; display: grid; gap: 0; background: var(--tk-surface); border: 1px solid var(--tk-line); border-radius: var(--tk-radius); overflow: hidden; }
.tk-facts__row { display: grid; grid-template-columns: minmax(120px, 34%) 1fr; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--tk-line); }
.tk-facts__row:last-child { border-bottom: 0; }
.tk-facts dt { display: flex; align-items: center; gap: 8px; color: var(--tk-muted); font-weight: 600; }
.tk-facts dt .tk-icon { color: var(--tk-accent); }
.tk-facts dd { margin: 0; font-weight: 700; color: var(--tk-primary-dark); }
@media (max-width: 520px) { .tk-facts__row { grid-template-columns: 1fr; gap: 2px; } }

/* Groups */
.tk-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 14px; margin-block-start: 18px; }
.tk-group { background: var(--tk-surface); border: 1px solid var(--tk-line); border-radius: var(--tk-radius-sm); padding: 16px; }
.tk-group__head { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 8px; flex-wrap: wrap; }
.tk-group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: .92rem; }
.tk-group li { display: flex; align-items: center; gap: 8px; }
.tk-group .tk-icon { color: var(--tk-teal); }

/* Schedule page */
.tk-schedule { display: grid; gap: 18px; }
.tk-schedule__item { --tk-c: var(--tk-primary); background: var(--tk-surface); border: 1px solid var(--tk-line); border-radius: var(--tk-radius); padding: 22px; box-shadow: var(--tk-shadow); border-inline-start: 5px solid var(--tk-c); }
.tk-schedule__head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.tk-schedule__head > div { flex: 1; min-width: 180px; }
.tk-schedule__head h3 { margin: 0; font-size: 1.25rem; }
.tk-schedule__head h3 a { color: var(--tk-primary-dark); text-decoration: none; }
.tk-schedule__icon { width: 50px; height: 50px; border-radius: 14px; background: var(--tk-c-soft, #eef3fa); color: var(--tk-c); display: grid; place-items: center; }
.tk-schedule__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 18px 0; padding: 16px; background: var(--tk-bg); border-radius: var(--tk-radius-sm); }
.tk-schedule__grid strong { display: block; color: var(--tk-primary-dark); }
.tk-schedule__grid small { display: block; color: var(--tk-muted); margin-top: 2px; }
.tk-schedule__times ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.tk-schedule__actions { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 760px) { .tk-schedule__grid { grid-template-columns: 1fr; } }

/* Upcoming table */
.tk-table-wrap { overflow-x: auto; border-radius: var(--tk-radius); border: 1px solid var(--tk-line); background: var(--tk-surface); box-shadow: var(--tk-shadow); }
.tk-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.tk-table th { background: var(--tk-primary); color: #fff; font-weight: 700; text-align: start; padding: 14px 16px; font-size: .92rem; }
.tk-table td { padding: 14px 16px; border-bottom: 1px solid var(--tk-line); vertical-align: middle; }
.tk-table tr:last-child td { border-bottom: 0; }
.tk-table td small { display: block; color: var(--tk-muted); font-size: .82rem; }
.tk-table td a { color: var(--tk-primary-dark); text-decoration: none; }
@media (max-width: 700px) {
	.tk-table-wrap { border: 0; background: none; box-shadow: none; overflow: visible; }
	.tk-table { min-width: 0; }
	.tk-table thead { display: none; }
	.tk-table tr { display: block; background: var(--tk-surface); border: 1px solid var(--tk-line); border-radius: var(--tk-radius-sm); margin-bottom: 12px; padding: 6px 4px; box-shadow: var(--tk-shadow); }
	.tk-table td { display: flex; justify-content: space-between; gap: 12px; border: 0; padding: 8px 12px; text-align: end; }
	.tk-table td::before { content: attr(data-label); color: var(--tk-muted); font-size: .85rem; text-align: start; }
	.tk-table td:first-child { display: block; text-align: start; border-bottom: 1px dashed var(--tk-line); }
	.tk-table td:first-child::before { display: none; }
}

/* Pricing */
.tk-pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: 14px; }
.tk-price { background: var(--tk-surface); border: 1px solid var(--tk-line); border-radius: var(--tk-radius); padding: 22px 18px; text-align: center; display: grid; gap: 8px; box-shadow: var(--tk-shadow); }
.tk-price__label { color: var(--tk-muted); font-weight: 600; }
.tk-price__value { font-size: 1.7rem; color: var(--tk-primary-dark); }
.tk-price.is-highlight { background: var(--tk-primary); border-color: var(--tk-primary); }
.tk-price.is-highlight .tk-price__label { color: rgba(255, 255, 255, .8); }
.tk-price.is-highlight .tk-price__value { color: var(--tk-accent); }
.tk-notes { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; color: var(--tk-muted); font-size: .92rem; }
.tk-notes li { display: flex; gap: 8px; align-items: flex-start; }
.tk-notes .tk-icon { color: var(--tk-teal); margin-top: 3px; }

/* Chips list */
.tk-chips { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.tk-chips li { display: inline-flex; align-items: center; gap: 8px; background: var(--tk-surface); border: 1px solid var(--tk-line); padding: .65em 1.1em; border-radius: 999px; font-weight: 600; }
.tk-chips .tk-icon { color: var(--tk-orange); }

/* Team */
.tk-tgrid { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; }
.tk-tgrid > .tk-tcard { flex: 1 1 260px; max-width: 320px; }
@media (max-width: 600px) { .tk-tgrid > .tk-tcard { max-width: none; } }
.tk-tcard { background: var(--tk-surface); border: 1px solid var(--tk-line); border-radius: var(--tk-radius); overflow: hidden; box-shadow: var(--tk-shadow); display: flex; flex-direction: column; }
.tk-tcard__photo { display: block; text-decoration: none; aspect-ratio: 1 / 1; background: linear-gradient(160deg, #e7eef8, #fbf3e2); }
.tk-tcard__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tk-avatar { display: grid; place-items: center; height: 100%; font-size: 3.2rem; font-weight: 800; color: var(--tk-primary); letter-spacing: 0; }
.tk-tcard__body { padding: 18px 20px 22px; display: grid; gap: 6px; flex: 1; align-content: start; }
.tk-tcard__name { margin: 0; font-size: 1.2rem; }
.tk-tcard__name a { color: var(--tk-primary-dark); text-decoration: none; }
.tk-tcard__role { margin: 0; color: var(--tk-teal); font-weight: 600; line-height: 1.7; }
.tk-tcard__exp { margin: 0; color: var(--tk-muted); display: flex; gap: 6px; align-items: center; font-size: .9rem; }
.tk-tcard__exp .tk-icon { color: var(--tk-accent); }
.tk-tcard__link { margin-top: 6px; font-weight: 700; color: var(--tk-primary); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.tk-checklist { list-style: none; margin: 8px 0; padding: 0; display: grid; gap: 8px; }
.tk-checklist li { position: relative; padding-inline-start: 28px; line-height: 1.7; }
.tk-checklist li::before { content: ""; position: absolute; inset-inline-start: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%; background: var(--tk-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23012752' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* FAQ */
.tk-faq { display: grid; gap: 12px; }
.tk-faq__item { background: var(--tk-surface); border: 1px solid var(--tk-line); border-radius: var(--tk-radius-sm); transition: box-shadow .2s, border-color .2s; }
.tk-faq__item[open] { border-color: var(--tk-accent); box-shadow: var(--tk-shadow); }
.tk-faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 18px 20px; font-weight: 700; color: var(--tk-primary-dark); font-size: 1.05rem; min-height: 48px; }
.tk-faq__item summary::-webkit-details-marker { display: none; }
.tk-faq__item summary:focus-visible { outline: none; box-shadow: var(--tk-focus); border-radius: var(--tk-radius-sm); }
.tk-faq__item summary i { width: 32px; height: 32px; border-radius: 50%; background: var(--tk-cream); display: grid; place-items: center; flex: none; transition: transform .25s, background-color .25s; color: var(--tk-primary); }
.tk-faq__item[open] summary i { transform: rotate(45deg); background: var(--tk-accent); }
.tk-faq__a { padding: 0 20px 18px; color: var(--tk-muted); line-height: 1.9; }
.tk-faq__a p { margin: 0; }

/* Gallery */
.tk-gallery { columns: 3 260px; column-gap: 16px; }
.tk-gitem { break-inside: avoid; margin: 0 0 16px; position: relative; border-radius: var(--tk-radius-sm); overflow: hidden; background: var(--tk-cream); }
.tk-gitem[hidden] { display: none; }
.tk-gitem a { display: block; position: relative; }
.tk-gitem img { width: 100%; height: auto; display: block; transition: transform .5s; }
.tk-gitem a:hover img { transform: scale(1.03); }
.tk-gitem a:focus-visible { outline: none; box-shadow: inset var(--tk-focus); }
.tk-gitem figcaption { padding: 10px 12px; font-size: .88rem; color: var(--tk-muted); background: var(--tk-surface); }
.tk-gitem__play { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; background: rgba(1, 39, 82, .25); }
.tk-gitem__ph { display: grid; place-items: center; aspect-ratio: 16 / 9; color: var(--tk-primary); }
.tk-lightbox { border: 0; padding: 0; background: transparent; max-width: min(1100px, 94vw); width: 100%; color: #fff; overflow: visible; }
.tk-lightbox::backdrop { background: rgba(1, 20, 40, .9); }
.tk-lightbox__stage { display: grid; place-items: center; }
.tk-lightbox__stage img, .tk-lightbox__stage video { max-width: 100%; max-height: 80vh; border-radius: 12px; }
.tk-lightbox__stage iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 12px; }
.tk-lightbox__cap { text-align: center; margin: 12px 0 0; }
.tk-lightbox__btn { position: fixed; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .15); color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer; }
.tk-lightbox__btn:focus-visible { outline: 3px solid var(--tk-accent); }
.tk-lightbox__close { top: 16px; inset-inline-end: 16px; }
.tk-lightbox__prev { top: 50%; inset-inline-start: 12px; }
.tk-lightbox__next { top: 50%; inset-inline-end: 12px; }
.tk-noscroll { overflow: hidden; }

/* Events */
.tk-egrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 22px; }
.tk-ecard { background: var(--tk-surface); border: 1px solid var(--tk-line); border-radius: var(--tk-radius); overflow: hidden; box-shadow: var(--tk-shadow); display: flex; flex-direction: column; }
.tk-ecard__media { position: relative; display: block; aspect-ratio: 16 / 10; background: var(--tk-cream); }
.tk-ecard__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tk-ecard__date { position: absolute; inset-block-start: 12px; inset-inline-end: 12px; background: #fff; border-radius: 12px; padding: 6px 12px; text-align: center; font-size: .8rem; color: var(--tk-muted); line-height: 1.2; }
.tk-ecard__date b { display: block; font-size: 1.4rem; color: var(--tk-primary-dark); }
.tk-ecard__body { padding: 18px 20px 20px; display: grid; gap: 8px; flex: 1; align-content: start; }
.tk-ecard__body h3 { margin: 0; font-size: 1.15rem; }
.tk-ecard__body h3 a { color: var(--tk-primary-dark); text-decoration: none; }
.tk-ecard__body p { margin: 0; color: var(--tk-muted); }
.tk-ecard__foot { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.tk-eyebrow { color: var(--tk-orange); font-weight: 700; font-size: .85rem; }

/* Contact */
.tk-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.tk-contact li { display: flex; gap: 14px; align-items: flex-start; background: var(--tk-surface); border: 1px solid var(--tk-line); border-radius: var(--tk-radius-sm); padding: 14px 16px; }
.tk-contact__icon { width: 44px; height: 44px; flex: none; border-radius: 12px; background: var(--tk-cream); color: var(--tk-primary); display: grid; place-items: center; }
.tk-contact a { color: var(--tk-primary-dark); font-weight: 700; text-decoration: none; }
.tk-socials { display: flex; gap: 8px; margin-top: 14px; }
.tk-social { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--tk-primary); color: #fff; }
.tk-social:hover { background: var(--tk-accent); color: var(--tk-primary-dark); }
.tk-map { border-radius: var(--tk-radius); overflow: hidden; border: 1px solid var(--tk-line); background: var(--tk-surface); }
.tk-map iframe { width: 100%; height: 380px; border: 0; display: block; }
.tk-map--placeholder { display: grid; place-items: center; gap: 12px; text-align: center; padding: 48px 20px; background: radial-gradient(circle at 30% 30%, #fff, var(--tk-cream)); }
.tk-map__pin { width: 64px; height: 64px; border-radius: 50%; background: var(--tk-accent); color: var(--tk-primary-dark); display: grid; place-items: center; }

/* ===== Booking form ===== */
.tk-booking { max-width: 860px; margin-inline: auto; scroll-margin-top: 110px; }
.tk-bform { background: var(--tk-surface); border: 1px solid var(--tk-line); border-radius: calc(var(--tk-radius) + 4px); padding: clamp(18px, 4vw, 36px); box-shadow: var(--tk-shadow); }
.tk-steps { list-style: none; margin: 0 0 26px; padding: 0; display: none; gap: 6px; counter-reset: s; }
.tk-bform.is-js .tk-steps { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; }
.tk-steps li { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: .78rem; color: var(--tk-muted); text-align: center; position: relative; }
.tk-steps li span { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--tk-cream); color: var(--tk-muted); font-weight: 800; position: relative; z-index: 1; transition: all .25s; }
.tk-steps li::after { content: ""; position: absolute; top: 17px; inset-inline-start: 50%; width: 100%; height: 2px; background: var(--tk-line); }
.tk-steps li:last-child::after { display: none; }
.tk-steps li.is-active span { background: var(--tk-primary); color: #fff; box-shadow: 0 0 0 5px rgba(10, 61, 119, .12); }
.tk-steps li.is-active { color: var(--tk-primary-dark); font-weight: 700; }
.tk-steps li.is-done span { background: var(--tk-accent); color: var(--tk-primary-dark); }
.tk-steps li.is-done::after { background: var(--tk-accent); }
@media (max-width: 480px) { .tk-steps li { font-size: 0; gap: 0; } .tk-steps li span { font-size: .85rem; } }
.tk-step { border: 0; margin: 0 0 28px; padding: 0; min-width: 0; }
.tk-bform.is-js .tk-step { margin: 0; }
.tk-step[hidden] { display: none; }
.tk-step legend { font-size: 1.3rem; font-weight: 800; color: var(--tk-primary-dark); margin-bottom: 16px; padding: 0; }
.tk-step legend:focus { outline: none; }
.tk-f { display: grid; gap: 6px; margin-bottom: 16px; }
.tk-f[hidden], .tk-typepanel[hidden], .tk-groupchoices[hidden] { display: none; }
.tk-f label, .tk-bform .tk-f > label { font-weight: 700; font-size: .95rem; color: var(--tk-text); }
.tk-f b { color: var(--tk-error); font-weight: 700; }
.tk-bform input[type=text], .tk-bform input[type=tel], .tk-bform input[type=email], .tk-bform input[type=number], .tk-bform input[type=date], .tk-bform select, .tk-bform textarea,
.tk-contactform input[type=text], .tk-contactform input[type=tel], .tk-contactform input[type=email], .tk-contactform select, .tk-contactform textarea {
	width: 100%; font: inherit; font-size: 16px; color: var(--tk-text); background: var(--tk-bg); border: 1.5px solid var(--tk-line); border-radius: var(--tk-radius-sm); padding: 12px 14px; min-height: 50px; transition: border-color .2s, box-shadow .2s, background-color .2s; box-sizing: border-box;
}
.tk-bform textarea, .tk-contactform textarea { min-height: 110px; resize: vertical; }
.tk-bform input:focus, .tk-bform select:focus, .tk-bform textarea:focus, .tk-contactform input:focus, .tk-contactform select:focus, .tk-contactform textarea:focus { outline: none; border-color: var(--tk-primary); background: #fff; box-shadow: 0 0 0 4px rgba(10, 61, 119, .12); }
.tk-bform [aria-invalid=true], .tk-contactform [aria-invalid=true] { border-color: var(--tk-error) !important; background: #fff8f7; }
.tk-f__err { color: var(--tk-error); font-size: .85rem; margin: 2px 0 0; font-weight: 600; }
.tk-help { font-size: .85rem; color: var(--tk-muted); margin: 0; line-height: 1.7; }
.tk-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.tk-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 16px; }
@media (max-width: 620px) { .tk-grid2, .tk-grid3 { grid-template-columns: 1fr; } }
.tk-check { display: flex; align-items: flex-start; gap: 10px; margin: 10px 0; cursor: pointer; line-height: 1.7; }
.tk-check input { width: 20px; height: 20px; margin-top: 4px; accent-color: var(--tk-primary); flex: none; }
.tk-check--consent { background: var(--tk-bg); border: 1px solid var(--tk-line); border-radius: var(--tk-radius-sm); padding: 14px 16px; }
.tk-check--consent a { color: var(--tk-primary); font-weight: 700; }
.tk-more { margin: -6px 0 14px; }
.tk-more summary { cursor: pointer; color: var(--tk-primary); font-weight: 600; font-size: .9rem; margin-bottom: 8px; }

.tk-choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 12px; }
.tk-choice { --tk-c: var(--tk-primary); position: relative; cursor: pointer; display: block; }
.tk-choice input { position: absolute; opacity: 0; inset: 0; pointer-events: none; }
.tk-choice__box { display: flex; gap: 12px; align-items: flex-start; height: 100%; box-sizing: border-box; padding: 16px; border: 2px solid var(--tk-line); border-radius: var(--tk-radius-sm); background: var(--tk-surface); transition: all .2s; }
.tk-choice__icon { width: 42px; height: 42px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--tk-c-soft, #eef3fa); color: var(--tk-c); }
.tk-choice__text { display: grid; gap: 3px; }
.tk-choice__text strong { color: var(--tk-primary-dark); }
.tk-choice__text small { color: var(--tk-muted); line-height: 1.6; }
.tk-choice__text em { justify-self: start; margin-top: 4px; }
.tk-choice input:checked + .tk-choice__box { border-color: var(--tk-primary); background: #f3f7fc; box-shadow: 0 0 0 4px rgba(10, 61, 119, .1); }
.tk-choice input:focus-visible + .tk-choice__box { box-shadow: var(--tk-focus); }
.tk-choice input:disabled + .tk-choice__box { opacity: .55; cursor: not-allowed; }
.tk-choice--row { margin-bottom: 10px; }
.tk-seats { font-style: normal; font-size: .8rem; color: var(--tk-green); font-weight: 700; }
.tk-groupchoices { margin-bottom: 12px; }

.tk-avail { margin: 0 0 12px; padding: 0; font-size: .92rem; border-radius: var(--tk-radius-sm); }
.tk-avail:not(:empty) { padding: 12px 14px; background: var(--tk-bg); border: 1px solid var(--tk-line); }
.tk-avail.is-ok { background: #effae8; border-color: #cbe8b6; color: #2f5d0e; }
.tk-avail.is-bad { background: #fff3f1; border-color: #f4c7c1; color: var(--tk-error); }
.tk-avail.is-loading { color: var(--tk-muted); }

.tk-summary { margin: 0 0 16px; display: grid; gap: 0; border: 1px solid var(--tk-line); border-radius: var(--tk-radius-sm); overflow: hidden; }
.tk-summary > div { display: grid; grid-template-columns: 140px 1fr; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--tk-line); }
.tk-summary > div:nth-child(odd) { background: var(--tk-bg); }
.tk-summary > div:last-child { border-bottom: 0; }
.tk-summary dt { color: var(--tk-muted); }
.tk-summary dd { margin: 0; font-weight: 700; word-break: break-word; }

.tk-bform__nav { display: flex; gap: 12px; justify-content: space-between; align-items: center; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--tk-line); }
.tk-bform__nav [hidden] { display: none; }
.tk-bform__nav [data-tk-next], .tk-bform__nav [data-tk-submit] { margin-inline-start: auto; }
.tk-bform:not(.is-js) .tk-bform__nav [data-tk-submit] { display: inline-flex !important; }

.tk-alert, .tk-form-msg { padding: 14px 16px; border-radius: var(--tk-radius-sm); margin: 0 0 16px; line-height: 1.7; }
.tk-alert--info, .tk-form-msg.is-info { background: #eef5fb; border: 1px solid #d5e4f3; color: var(--tk-primary-dark); }
.tk-alert--error, .tk-form-msg.is-error { background: #fff3f1; border: 1px solid #f4c7c1; color: var(--tk-error); }
.tk-alert--success, .tk-form-msg.is-success { background: #effae8; border: 1px solid #cbe8b6; color: #2f5d0e; }
.tk-form-msg[hidden] { display: none; }

.tk-contactform form { background: var(--tk-surface); border: 1px solid var(--tk-line); border-radius: var(--tk-radius); padding: clamp(18px, 3vw, 28px); box-shadow: var(--tk-shadow); scroll-margin-top: 110px; }

.tk-success { max-width: 640px; margin-inline: auto; text-align: center; background: var(--tk-surface); border: 1px solid var(--tk-line); border-radius: calc(var(--tk-radius) + 4px); padding: clamp(24px, 5vw, 48px); box-shadow: var(--tk-shadow); }
.tk-success__icon { width: 84px; height: 84px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; background: #e8f5dd; color: var(--tk-green); }
.tk-success h2 { margin: 0 0 10px; color: var(--tk-primary-dark); }
.tk-success__ref { font-size: 1.05rem; }
.tk-success__ref strong { display: inline-block; margin-inline-start: 6px; background: var(--tk-cream); padding: .3em .8em; border-radius: 10px; letter-spacing: .04em; color: var(--tk-primary-dark); }
.tk-success__actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }

@media (prefers-reduced-motion: reduce) {
	.tk-pcard, .tk-pcard__media img, .tk-gitem img, .tk-btn, .tk-faq__item summary i { transition: none !important; }
	.tk-pcard:hover { transform: none; }
}

/* Accent mapping (declared last so it wins over component defaults) */
.tk-accent--primary { --tk-c: var(--tk-primary); --tk-c-soft: #e7eef8; }
.tk-accent--accent { --tk-c: var(--tk-orange); --tk-c-soft: #fff1d8; }
.tk-accent--teal { --tk-c: var(--tk-teal); --tk-c-soft: #e0f2f6; }
.tk-accent--green { --tk-c: var(--tk-green); --tk-c-soft: #ecf5e1; }
.tk-accent--orange { --tk-c: var(--tk-orange); --tk-c-soft: #fdebd6; }
.tk-tcard__photo:has(.tk-avatar) { aspect-ratio: 16 / 9; }
