/* Sole visual source: design.zip / site-settings.json (2026-09-23).
   Layout retains the booking flow; colors/fonts follow matching Elementor globals. */
.tkgm-booking {
    --tkgm-text: var(--e-global-color-text, #202020);
    --tkgm-action: var(--e-global-color-accent, #FF0000);
    --tkgm-action-hover: var(--e-global-color-2khover, #C90000);
    --tkgm-link: var(--e-global-color-secondary, #1966B3);
    --tkgm-focus: var(--e-global-color-2khover, #C90000);
    --tkgm-white: var(--e-global-color-2kwhite, #FFFFFF);
    --tkgm-surface: var(--e-global-color-2klight, #F3F3F3);
    --tkgm-border: var(--e-global-color-2kborder, #DBD9D9);
    --tkgm-font: var(--e-global-typography-text-font-family, "Montserrat"), sans-serif;
    --tkgm-heading-font: var(--e-global-typography-secondary-font-family, "Bebas Neue"), sans-serif;
    font-family: var(--tkgm-font);
    font-size: 16px;
    font-weight: 400;
}
.tkgm-booking {
    display: block;
    width: 100%;
    max-width: 1200px;
    box-sizing: border-box;
    padding: 16px;
    border: 1px solid var(--tkgm-border);
    border-radius: 6px;
    background: var(--tkgm-white);
    color: var(--tkgm-text);
    box-shadow: none;
    line-height: 1.5;
    container-type: inline-size;
}
.tkgm-booking *, .tkgm-booking *::before, .tkgm-booking *::after { box-sizing: border-box; }
.tkgm-booking [hidden] { display: none !important; }

.tkgm-wizard-header { margin-bottom: 24px; }
.tkgm-eyebrow { margin: 0 0 14px; color: var(--tkgm-text); font-size: 14px; font-weight: 600; letter-spacing: normal; }
.tkgm-progress { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.tkgm-progress li { position: relative; display: flex; align-items: center; gap: 9px; min-width: 0; color: var(--tkgm-text); }
.tkgm-progress li:not(:last-child)::after { content: ''; flex: 1; height: 2px; margin: 0 16px; background: var(--tkgm-border); }
.tkgm-progress span { position: relative; z-index: 1; display: grid; place-items: center; flex: 0 0 36px; width: 36px; height: 36px; border: 2px solid var(--tkgm-border); border-radius: 50%; background: var(--tkgm-white); font-weight: 600; }
.tkgm-progress strong { overflow: hidden; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.tkgm-progress .is-current { color: var(--tkgm-action); }
.tkgm-progress .is-current span { border-color: var(--tkgm-action); background: var(--tkgm-action); color: var(--tkgm-white); }
.tkgm-progress .is-complete { color: var(--tkgm-text); }
.tkgm-progress .is-complete span { border-color: var(--tkgm-link); background: var(--tkgm-surface); color: var(--tkgm-text); }
.tkgm-progress .is-complete:not(:last-child)::after { background: var(--tkgm-link); }

.tkgm-wizard-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; align-items: start; }
.tkgm-wizard-main { min-width: 0; }
.tkgm-panel { min-width: 0; padding: 8px 0; background: var(--tkgm-white); }
.tkgm-panel h2 { scroll-margin-top: 110px; }
.tkgm-panel[hidden] { display: none; }
.tkgm-panel h2 { margin: 0 0 8px; font-size: 48px; }
.tkgm-panel > p { margin: 0 0 20px; color: var(--tkgm-text); }
.tkgm-autocomplete { margin-bottom: 14px; }
.tkgm-autocomplete gmp-place-autocomplete,
.tkgm-autocomplete gmp-basic-place-autocomplete {
    display: block;
    width: 100%;
    color-scheme: light;
}

.tkgm-button {
    min-height: 48px;
    padding: 12px 24px;
    border: 0;
    border-radius: 6px;
    background: var(--tkgm-action);
    color: var(--tkgm-white);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.tkgm-button:disabled { cursor: not-allowed; opacity: .5; }
.tkgm-button:focus-visible { outline:var(--tkgm-control-outline,3px solid #202020); outline-offset: 3px; }
.tkgm-button:not(:disabled):hover { background: var(--tkgm-action-hover); border-color: var(--tkgm-action-hover); color: var(--tkgm-white); }
.tkgm-button[aria-busy="true"] { cursor: progress; }
.tkgm-field input:focus-visible, .tkgm-mode label:focus-within { outline:var(--tkgm-control-outline,3px solid #202020); outline-offset: 3px; }
.tkgm-field input { font-size: 16px; }
.tkgm-status:empty, .tkgm-recommend-status:empty { display: none; }
.tkgm-button--secondary { border: 1px solid var(--tkgm-border); background: var(--tkgm-white); color: var(--tkgm-action); }
.tkgm-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 22px; }
.tkgm-actions--end { justify-content: flex-end; }
.tkgm-status { min-height: 24px; margin-top: 10px; color: var(--tkgm-focus); }

.tkgm-result {
    margin-top: 18px;
    padding: 18px;
    border-radius: 6px;
    background: var(--tkgm-surface);
}

.tkgm-result--success { border-left: 5px solid var(--tkgm-link); }
.tkgm-result--outside { border-left: 5px solid var(--tkgm-focus); background: var(--tkgm-surface); }
.tkgm-result h3 { margin: 0 0 12px; font-size: 18px; }
.tkgm-result p:last-child { margin-bottom: 0; }
.tkgm-result dl { margin: 0; }
.tkgm-result dl div { display: flex; justify-content: space-between; gap: 20px; padding: 7px 0; border-bottom: 1px solid var(--tkgm-border); }
.tkgm-result dl div:last-child { border-bottom: 0; }
.tkgm-result dt { color: var(--tkgm-text); }
.tkgm-result dd { margin: 0; font-weight: 600; }

.tkgm-map {
    width: 100%;
    height: clamp(300px, 52vw, 430px);
    margin-top: 18px;
    overflow: hidden;
    border: 1px solid var(--tkgm-border);
    border-radius: 6px;
    background: var(--tkgm-surface);
}

.tkgm-map[hidden] { display: none; }

.tkgm-field[hidden],
.tkgm-recommendations[hidden] { display: none; }

.tkgm-summary { position: sticky; top: 24px; padding: 20px; border: 1px solid var(--tkgm-border); border-radius: 6px; background: var(--tkgm-surface); box-shadow: none; }
.tkgm-summary h2 { margin: 0 0 16px; font-size: 20px; }
.tkgm-summary-details { margin: 0; }
.tkgm-summary-details > div { padding: 9px 0; border-bottom: 1px solid var(--tkgm-border); }
.tkgm-summary-details dt { color: var(--tkgm-text); font-size: 14px; }
.tkgm-summary-details dd { margin: 3px 0 0; overflow-wrap: anywhere; font-size: 14px; font-weight: 600; }
.tkgm-price-summary { margin-top: 18px; padding-top: 16px; border-top: 2px solid var(--tkgm-border); }
.tkgm-price-summary h3 { margin: 0 0 10px; font-size: 14px; }
.tkgm-price-lines > div, .tkgm-price-total { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; }
.tkgm-price-lines > div { font-size: 14px; }
.tkgm-price-empty { margin: 0 0 8px; color: var(--tkgm-text); font-size: 14px; }
.tkgm-price-total { margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--tkgm-border); font-size: 16px; }
.tkgm-price-total strong { color: var(--tkgm-action); font-size: 24px; }
.tkgm-summary-note { margin: 16px 0 0; color: var(--tkgm-text); font-size: 14px; line-height: 1.45; }
.tkgm-summary-toggle { display: none; }
.tkgm-price-total strong { white-space: nowrap; }
.tkgm-calculation-details { margin: 0 0 20px; border: 1px solid var(--tkgm-border); border-radius: 6px; }
.tkgm-calculation-details summary { padding: 12px 16px; cursor: pointer; font-size: 14px; font-weight: 600; }
.tkgm-calculation-details .tkgm-calculation { margin: 0; border-radius: 0 0 6px 6px; font-size: 14px; }

.tkgm-mode {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 20px;
    padding: 0;
    border: 0;
}

.tkgm-mode legend { width: 100%; margin-bottom: 8px; font-weight: 600; }
.tkgm-mode label { display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 12px 14px; border: 1px solid var(--tkgm-border); border-radius: 6px; cursor: pointer; }
.tkgm-mode input { accent-color: var(--tkgm-action); }
.tkgm-mode label:has(input:checked) { border-color: var(--tkgm-action); background: var(--tkgm-surface); }

.tkgm-need-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.tkgm-field { display: flex; flex-direction: column; gap: 7px; font-weight: 600; }
.tkgm-field input,
.tkgm-field select { width: 100%; min-height: 46px; padding: 12px 16px; border: 1px solid var(--tkgm-border); border-radius: 6px; background: var(--tkgm-white); color: var(--tkgm-text); font: inherit; }
.tkgm-input-unit { position: relative; display: block; }
.tkgm-input-unit input { padding-right: 45px; }
.tkgm-input-unit > span { position: absolute; top: 50%; right: 12px; transform: translateY(-50%); color: var(--tkgm-text); font-weight: 600; }
.tkgm-recommend-status { min-height: 24px; margin-top: 10px; color: var(--tkgm-focus); }
.tkgm-disclaimer { margin: 15px 0 0; color: var(--tkgm-text); font-size: 14px; }
.tkgm-calculation { margin: 0 0 14px; padding: 12px 14px; border-radius: 6px; background: var(--tkgm-surface); }
.tkgm-empty { padding: 16px; border-left: 5px solid var(--tkgm-focus); border-radius: 6px; background: var(--tkgm-surface); }

.tkgm-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
    gap: 16px;
}

.tkgm-product {
    position: relative;
    min-width: 0;
    border: 1px solid var(--tkgm-border);
    border-radius: 6px;
    background: var(--tkgm-white);
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

@media (hover: hover) {
    .tkgm-product:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(32, 32, 32, .12); }
}
.tkgm-product:focus-within { outline:var(--tkgm-control-outline,3px solid #202020); outline-offset: 3px; }
.tkgm-product-card-link { display: flex; flex-direction: column; height: 100%; box-sizing: border-box; padding: 14px; color: inherit; text-decoration: none; }
.tkgm-product-card-link:focus { outline: 0; }
.tkgm-product-card-link:hover { color: inherit; text-decoration: none; }
.tkgm-product h3 { overflow-wrap: anywhere; }
.tkgm-product img { display: block; }
.tkgm-product img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; margin-bottom: 12px; background: var(--tkgm-white); }
.tkgm-product h3 { margin: 2px 0 14px; font-size: 18px; line-height: 1.2; }
.tkgm-product h3 { color: var(--tkgm-text); }
.tkgm-capacities { margin-bottom: 16px; border-top: 1px solid var(--tkgm-border); }
.tkgm-capacity-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--tkgm-border); }
.tkgm-capacity-row > div { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.tkgm-capacity-row span { color: var(--tkgm-text); font-size: 14px; }
.tkgm-capacity-row strong { color: var(--tkgm-text); font-size: 14px; line-height: 1.25; }
.tkgm-capacity-area { text-align: right; }
.tkgm-product-price { margin: auto 0 12px; padding-top: 4px; color: var(--tkgm-text); font-size: 20px; font-weight: 600; }

@media (max-width: 980px) {
    .tkgm-product-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
}

@media (max-width: 820px) {
    .tkgm-wizard-layout { grid-template-columns: 1fr; }
    .tkgm-summary { position: sticky; z-index: 5; top: 8px; order: -1; padding: 14px 16px; }
    .tkgm-summary h2 { margin-bottom: 9px; font-size: 16px; }
    .tkgm-summary-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
    .tkgm-summary-details > div { padding: 5px 0; }
    .tkgm-price-summary { margin-top: 10px; padding-top: 9px; }
    .tkgm-price-summary h3, .tkgm-summary-note { display: none; }
    .tkgm-price-lines > div, .tkgm-price-total { padding: 4px 0; }
}

@media (max-width: 520px) {
    .tkgm-booking { padding: 16px; }
    .tkgm-progress strong { font-size: 14px; }
    .tkgm-progress li { gap: 5px; }
    .tkgm-progress li:not(:last-child)::after { left: 42px; }
    .tkgm-progress span { flex-basis: 32px; width: 32px; height: 32px; }
    .tkgm-panel { padding: 17px; }
    .tkgm-actions { flex-direction: column-reverse; }
    .tkgm-actions .tkgm-button, .tkgm-route-button { width: 100%; }
    .tkgm-map { height: 300px; }
    .tkgm-need-grid,
    .tkgm-product-grid { grid-template-columns: 1fr; }
    .tkgm-mode { display: grid; }
    .tkgm-summary-details { grid-template-columns: 1fr 1fr; }
}

/* Use available shortcode width, including pages with a theme sidebar. */
@container (max-width: 820px) {
    .tkgm-wizard-layout { display: flex; flex-direction: column; }
    .tkgm-wizard-main { width: 100%; }
    .tkgm-summary { width: 100%; position: sticky; order: -1; top: 8px; z-index: 5; padding: 12px 16px; box-shadow: none; }
    .tkgm-summary h2 { display: none; }
    .tkgm-summary-toggle { display: block; float: right; padding: 8px; min-height: 44px; background: transparent; border: 0; border-radius: 6px; color: var(--tkgm-action); text-decoration: underline; font: inherit; font-size: 14px; cursor: pointer; }
    .tkgm-summary-toggle:focus-visible { outline:var(--tkgm-control-outline,3px solid #202020); }
    .tkgm-summary-expand { display: none; }
    .tkgm-summary.is-expanded .tkgm-summary-expand { display: block; clear: both; max-height: 35vh; overflow-y: auto; }
    .tkgm-price-total { border: 0; margin: 0; padding: 2px 0; display: flex; flex-direction: column; gap: 0; font-size: 14px; }
    .tkgm-price-total strong { font-size: 22px; }
    .tkgm-summary-note { display: block; clear: both; margin-top: 5px; font-size: 14px; }
    .tkgm-panel { padding: 8px 0; }
    .tkgm-summary-details { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
    .tkgm-progress li { gap: 6px; }
    .tkgm-progress li:not(:last-child)::after { margin: 0 6px; }
}
@container (max-width: 480px) {
    .tkgm-product-grid, .tkgm-need-grid { grid-template-columns: 1fr; }
    .tkgm-mode { display: grid; }
    .tkgm-progress strong { font-size: 14px; }
    .tkgm-progress span { width: 28px; height: 28px; flex-basis: 28px; }
    .tkgm-progress li:not(:last-child)::after { display: none; }
    .tkgm-actions { flex-direction: column-reverse; }
    .tkgm-actions .tkgm-button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .tkgm-product { transition: none; }
    .tkgm-product:hover, .tkgm-product:focus-within { transform: none; }
}

/* Component roles use the exported H2, H5, H6, form and button styles. */
.tkgm-booking .tkgm-panel h2 {
    font-family: var(--tkgm-heading-font);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -.04em;
    text-transform: uppercase;
    color: var(--tkgm-text);
}
.tkgm-booking.tkgm-entry .tkgm-panel > h2 {
    font-family: "Montserrat", sans-serif;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: normal;
    text-transform: none;
}
@media (max-width: 767px) {
    .tkgm-booking.tkgm-entry .tkgm-panel > h2 { font-size: 20px; }
}
.tkgm-booking .tkgm-summary h2,
.tkgm-booking .tkgm-product h3,
.tkgm-booking .tkgm-result h3,
.tkgm-booking .tkgm-price-summary h3 {
    font-family: var(--tkgm-font);
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -.04em;
    text-transform: none;
    color: var(--tkgm-text);
}
.tkgm-booking strong { font-weight: 600; }
.tkgm-booking .tkgm-button {
    border: 1px solid var(--tkgm-action);
    font-family: var(--tkgm-font);
    font-size: 16px;
    line-height: 1.2;
    text-transform: none;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.tkgm-booking .tkgm-button--secondary { border-color: var(--tkgm-text); color: var(--tkgm-text); }
.tkgm-booking .tkgm-button--secondary:hover { background: var(--tkgm-surface); border-color: var(--tkgm-text); color: var(--tkgm-text); }
.tkgm-booking .tkgm-field { font-size: 14px; font-weight: 600; }
.tkgm-booking .tkgm-field input, .tkgm-booking .tkgm-field select {
    font-family: var(--tkgm-font); font-size: 16px; font-weight: 400; line-height: 1.5;
    border-color: var(--tkgm-text); background: transparent;
}
.tkgm-booking .tkgm-field input:not(:focus):hover { border-color: #A8A8A8; }
.tkgm-booking .tkgm-summary-toggle { color: var(--tkgm-link); }
.tkgm-booking .tkgm-summary-toggle:hover { color: var(--tkgm-focus); background: transparent; }
.tkgm-booking .tkgm-summary-toggle:focus-visible,
.tkgm-booking .tkgm-calculation-details summary:focus-visible { outline:var(--tkgm-control-outline,3px solid #202020); outline-offset: 3px; }
.tkgm-booking .tkgm-product-card-link,
.tkgm-booking .tkgm-product-card-link:visited { color: var(--tkgm-text); }
.tkgm-booking .tkgm-product img { border-radius: 6px; transition: opacity .2s ease; }
.tkgm-booking .tkgm-price-total strong { color: var(--tkgm-text); }
@media (hover: hover) { .tkgm-product-card-link:hover img { opacity: .94; } }
@media (max-width: 1024px) { .tkgm-booking .tkgm-panel h2 { font-size: 40px; } }
@media (max-width: 767px) { .tkgm-booking .tkgm-panel h2 { font-size: 32px; } }
@container (max-width: 767px) { .tkgm-booking .tkgm-panel h2 { font-size: 32px; } }
@media (prefers-reduced-motion: reduce) {
    .tkgm-booking .tkgm-button, .tkgm-booking .tkgm-product img { transition: none; }
}
