/* Online formats: live video tours and guide-on-call. Format chip (cards, summaries), "How it works" on the tour
 * page, the join button on the You're booked page, the dashboard format cards and the two home sections.
 * Theme tokens only (app.css :root), flat fills, no gradients. Loads after app.css (flow/*.css). */

/* ---------- Format chip ---------- */
body.ggt-theme .ggt-format-chip {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 4px 10px 4px 8px; border-radius: var(--ggt-pill);
	background: var(--ggt-accent-soft); color: var(--ggt-accent);
	font-family: var(--ggt-font); font-size: 12px; font-weight: 600; line-height: 1.4; letter-spacing: .01em;
	white-space: nowrap; vertical-align: middle;
}
body.ggt-theme .ggt-format-chip .ggt-icon { width: 14px; height: 14px; flex: none; stroke-width: 2; }
body.ggt-theme .ggt-format-chip--call { background: var(--ggt-success-soft); color: var(--ggt-success-ink); }

/* On a photo (tour card, gallery): solid dark pill, bottom left, never over the category chip. */
body.ggt-theme .ggt-tour-card__media .ggt-format-chip,
body.ggt-theme .ggt-tour-gallery .ggt-format-chip {
	position: absolute; left: 12px; bottom: 12px; z-index: 1;
	padding: 5px 11px 5px 9px;
	background: rgba(15, 23, 42, .86); color: #fff;
}
body.ggt-theme .ggt-tour-card__media .ggt-format-chip .ggt-icon,
body.ggt-theme .ggt-tour-gallery .ggt-format-chip .ggt-icon { color: #fff; }

/* ---------- Tour page: How it works ---------- */
body.ggt-theme .ggt-howitworks__list,
body.ggt-theme .ggt-howitworks ul { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
body.ggt-theme .ggt-howitworks__item,
body.ggt-theme .ggt-howitworks li { display: flex; align-items: flex-start; gap: 14px; margin: 0; font-size: 16px; line-height: 1.5; color: var(--ggt-ink); }
body.ggt-theme .ggt-howitworks__icon {
	display: inline-flex; align-items: center; justify-content: center; flex: none;
	width: 36px; height: 36px; margin-top: -6px; border-radius: var(--ggt-pill);
	background: var(--ggt-accent-soft); color: var(--ggt-accent);
}
body.ggt-theme .ggt-howitworks li > .ggt-icon { flex: none; margin-top: 3px; color: var(--ggt-accent); }
body.ggt-theme .ggt-howitworks__icon .ggt-icon { width: 18px; height: 18px; }
body.ggt-theme .ggt-howitworks__tz {
	display: flex; align-items: center; gap: 8px;
	margin: 18px 0 0; padding-top: 14px; border-top: 1px solid var(--ggt-line);
	font-size: 14px; color: var(--ggt-muted);
}
body.ggt-theme .ggt-howitworks__tz .ggt-icon { width: 16px; height: 16px; flex: none; }
body.ggt-theme .ggt-howitworks p { margin: 0; }

/* ---------- You're booked: join the video call ---------- */
body.ggt-theme .ggt-join-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	width: 100%; min-height: 56px; padding: 14px 28px;
	border: 1px solid var(--ggt-accent); border-radius: var(--ggt-radius-md);
	background: var(--ggt-accent); color: #fff;
	font-family: var(--ggt-font); font-size: 17px; font-weight: 700; line-height: 1.2; text-decoration: none;
	transition: background-color .15s ease, border-color .15s ease;
}
body.ggt-theme .ggt-join-btn:hover,
body.ggt-theme .ggt-join-btn:focus-visible { background: var(--ggt-accent-hover); border-color: var(--ggt-accent-hover); color: #fff; }
body.ggt-theme .ggt-join-btn .ggt-icon { width: 20px; height: 20px; flex: none; }
@media (min-width: 600px) {
	body.ggt-theme .ggt-join-btn { width: auto; min-width: 280px; }
}

/* Plugin markup on You're booked / My bookings: .ggt-connect block with the join button and lines. */
body.ggt-theme .ggt-connect { display: grid; justify-items: start; gap: 10px; margin: 16px 0 0; }
body.ggt-theme .ggt-connect__join { min-height: 56px; padding: 14px 28px; font-size: 17px; font-weight: 700; }
@media (max-width: 599px) {
	body.ggt-theme .ggt-connect__join { width: 100%; justify-content: center; text-align: center; }
}
body.ggt-theme .ggt-connect__line { margin: 0; font-size: 16px; font-weight: 600; color: var(--ggt-ink); }
body.ggt-theme .ggt-connect__note { margin: 0; font-size: 14px; color: var(--ggt-muted); }

/* ---------- Dashboard: format radio cards ---------- */
body.ggt-theme .ggt-format-cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin: 0 0 8px; }
@media (min-width: 900px) {
	body.ggt-theme .ggt-format-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
body.ggt-theme .ggt-format-card {
	position: relative; display: flex; flex-direction: column; gap: 6px; margin: 0;
	padding: 16px 44px 16px 16px; border: 1px solid var(--ggt-line-strong); border-radius: var(--ggt-radius-md);
	background: var(--ggt-paper); cursor: pointer; transition: border-color .15s ease, background-color .15s ease;
}
body.ggt-theme .ggt-format-card:hover { border-color: var(--ggt-accent-line); }
body.ggt-theme .ggt-format-card input { position: absolute; top: 16px; right: 16px; margin: 0; accent-color: var(--ggt-accent); }
body.ggt-theme .ggt-format-card:has(input:checked) { border-color: var(--ggt-accent); background: var(--ggt-accent-soft); box-shadow: inset 0 0 0 1px var(--ggt-accent); }
body.ggt-theme .ggt-format-card:has(input:focus-visible) { outline: 2px solid var(--ggt-accent); outline-offset: 2px; }
body.ggt-theme .ggt-format-card__icon { display: inline-flex; width: 28px; height: 28px; color: var(--ggt-accent); }
body.ggt-theme .ggt-format-card__icon svg { width: 24px; height: 24px; }
body.ggt-theme .ggt-format-card__title { font-size: 16px; font-weight: 700; color: var(--ggt-ink); }
body.ggt-theme .ggt-format-card__text { font-size: 14px; line-height: 1.45; color: var(--ggt-muted); }

/* ---------- Dashboard schedule: missing join link ---------- */
body.ggt-theme .ggt-badge--danger { background: var(--ggt-danger-soft); color: var(--ggt-danger-ink); }
body.ggt-theme .ggt-join-link-form { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 8px 0 0; }
body.ggt-theme .ggt-join-link-form input[type="url"] { flex: 1 1 200px; min-width: 0; }
body.ggt-theme .ggt-badge--danger a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Home: Tour from anywhere (4 video tours) + Talk to a local (3 call offers) ---------- */
body.ggt-theme .ggt-home-online .ggt-section__lead,
body.ggt-theme .ggt-home-call .ggt-section__lead,
body.ggt-theme .ggt-home-calls .ggt-section__lead { margin: 8px 0 0; max-width: 56ch; font-size: 17px; line-height: 1.5; color: var(--ggt-ink-2); }
body.ggt-theme .ggt-home-online .ggt-grid { gap: 20px; }
@media (min-width: 600px) {
	body.ggt-theme .ggt-home-online .ggt-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
	body.ggt-theme .ggt-home-online .ggt-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
}
body.ggt-theme .ggt-home-online + .ggt-home-calls,
body.ggt-theme .ggt-home-online + .ggt-home-call { margin-top: 0; }

/* Call offers: 3 flat cards on the sand band, stacked on phones. */
body.ggt-theme .ggt-call-offers,
body.ggt-theme .ggt-home-call .ggt-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 900px) {
	body.ggt-theme .ggt-call-offers,
	body.ggt-theme .ggt-home-call .ggt-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
}
body.ggt-theme .ggt-call-offer { margin: 0; min-width: 0; }
body.ggt-theme .ggt-call-offer__link {
	display: flex; flex-direction: column; align-items: flex-start; gap: 8px; height: 100%;
	padding: 20px; border: 1px solid var(--ggt-sand-line); border-radius: var(--ggt-radius);
	background: var(--ggt-paper); color: var(--ggt-ink); text-decoration: none;
	transition: border-color .15s ease;
}
body.ggt-theme .ggt-call-offer__link:hover { border-color: var(--ggt-line-strong); color: var(--ggt-ink); }
body.ggt-theme .ggt-call-offer__chip {
	display: inline-flex; align-items: center; padding: 3px 10px; border-radius: var(--ggt-pill);
	background: var(--ggt-success-soft); color: var(--ggt-success-ink); font-size: 12px; font-weight: 600; line-height: 1.5;
}
body.ggt-theme .ggt-call-offer__title { font-family: var(--ggt-font-display); font-size: 18px; font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; }
body.ggt-theme .ggt-call-offer__meta { font-size: 14px; color: var(--ggt-muted); }
body.ggt-theme .ggt-call-offer__price { margin-top: auto; padding-top: 4px; font-size: 15px; font-weight: 700; color: var(--ggt-ink); }
body.ggt-theme .ggt-call-offer__price .woocommerce-Price-amount { font-weight: 700; }

/* ---------- Format chip in the summary card and My bookings ---------- */
body.ggt-theme .ggt-chip--format,
body.ggt-theme .ggt-summary__chip {
	display: inline-flex; align-items: center; width: fit-content;
	margin: 6px 0; padding: 3px 10px; border: 0; min-height: 0; border-radius: var(--ggt-pill);
	background: var(--ggt-accent-soft); color: var(--ggt-accent);
	font-size: 12px; font-weight: 600; line-height: 1.5; white-space: nowrap;
}
body.ggt-theme .ggt-chip--format.ggt-chip--call,
body.ggt-theme .ggt-summary__chip.ggt-chip--call { background: var(--ggt-success-soft); color: var(--ggt-success-ink); }
body.ggt-theme td .ggt-chip--format { display: flex; margin: 6px 0 0; }
body.ggt-theme .ggt-register__intro { margin: 0 0 20px; font-size: 16px; color: var(--ggt-ink-2); }
