/* 1.29: bundles, front and center. Uses the theme's tokens; --bc is the bundle's accent (fixed palette, AA with white). */

.tp-bundles { margin: 28px 0 36px; }
.tp-bundles__head h2 { margin: 0 0 4px; }
.tp-bundles__head p { margin: 0 0 16px; max-width: 62ch; }
.tp-bundles__grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 760px) {
	.tp-bundles__grid { grid-template-columns: 1fr 1fr; }
	.tp-bundles__grid > .tp-bcard--featured { grid-column: 1 / -1; }
}

.tp-bundles__chip { margin: 12px 0 16px; }
.tp-bundles__chip a {
	display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
	background: var(--sun, #ffcf5c); color: var(--sun-ink, #3a2a00); font-weight: 700; text-decoration: none;
}
.tp-bundles__chip a:hover { filter: brightness(0.96); }
.tp-bundles__chip .tp-icon { width: 1.1em; height: 1.1em; }

.tp-bcard {
	--bc: #0b6e6d;
	display: flex; flex-direction: column; overflow: hidden;
	background: var(--surface, #fff); border: 1px solid var(--line, #d3dedb); border-top: 6px solid var(--bc);
	border-radius: var(--r, 16px); box-shadow: var(--shadow-1, none);
	scroll-margin-top: calc(var(--header-h, 68px) + 16px);
}
.tp-bcard__media { position: relative; aspect-ratio: 16 / 9; background: var(--surface-2, #e8efed); }
.tp-bcard__media img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 0; }
.tp-bcard__ph { width: 100%; height: 100%; background: linear-gradient(135deg, var(--bc), var(--surface-2, #e8efed)); opacity: 0.35; }
.tp-bcard__badge {
	position: absolute; top: 12px; left: 12px; padding: 5px 12px; border-radius: 999px;
	background: var(--bc); color: #fff; font-weight: 800; font-size: 0.8125rem; box-shadow: 0 2px 8px rgb(0 0 0 / 0.18);
}
.tp-bcard__body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 8px; min-width: 0; flex: 1 1 auto; }
.tp-bcard__eyebrow { margin: 0; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.02em; color: var(--bc); text-transform: uppercase; }
.tp-bcard__title { margin: 0; font-size: 1.3rem; line-height: 1.2; overflow-wrap: anywhere; }
.tp-bcard__title a { color: inherit; text-decoration: none; }
.tp-bcard__title a:hover { text-decoration: underline; }
.tp-bcard__tag { margin: 0; font-size: 1.0625rem; color: var(--ink-2, #33495a); }
.tp-bcard__flow { margin: 0; font-weight: 600; }
.tp-bcard__facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--muted, #4f6270); font-size: 0.9375rem; }
.tp-bcard__facts li { display: inline-flex; align-items: center; gap: 6px; }
.tp-bcard__facts .tp-icon { width: 1em; height: 1em; }
.tp-bcard__tags { margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tp-bcard__chip { padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line-strong, #9db1b0); font-size: 0.8125rem; font-weight: 600; }
.tp-bcard__inc { list-style: none; margin: 2px 0 0; padding: 0; display: grid; gap: 4px; }
.tp-bcard__inc li { display: flex; gap: 8px; align-items: flex-start; }
.tp-bcard__inc .tp-icon { flex: none; width: 1.05em; height: 1.05em; margin-top: 0.2em; color: var(--bc); }
.tp-bcard__extra { font-weight: 700; }
.tp-bcard__sum { margin: 0; color: var(--ink-2, #33495a); }
.tp-bcard__price { margin-top: auto; padding-top: 10px; border-top: 1px dashed var(--line, #d3dedb); }
.tp-bcard__price p { margin: 0; }
.tp-bcard__price strong { font-size: 1.375rem; }
.tp-bcard__save { color: var(--ok, #11703c); font-weight: 700; }
.tp-bcard .tp-bcard__cta { background: var(--bc); border-color: var(--bc); color: #fff; }
.tp-bcard .tp-bcard__cta:hover { filter: brightness(1.08); }
.tp-bcard__book > summary { list-style: none; cursor: pointer; display: inline-flex; margin-top: 4px; }
.tp-bcard__book > summary::-webkit-details-marker { display: none; }
.tp-bcard__book[open] > summary { margin-bottom: 12px; }
.tp-bcard__row { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; }
.tp-bcard__row .tp-field { flex: 1 1 140px; margin: 0; }

@media (min-width: 760px) {
	.tp-bcard--featured { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
	.tp-bcard--featured .tp-bcard__media { aspect-ratio: auto; min-height: 100%; }
	.tp-bcard--featured .tp-bcard__body { padding: 24px 26px 26px; }
	.tp-bcard--featured .tp-bcard__title { font-size: 1.75rem; }
}

.tp-bun-nudge {
	margin: 12px 0; padding: 12px 14px; border-radius: var(--r, 16px);
	background: var(--accent-soft, #d3ebe7); color: var(--ink, #0f2230);
	--bc: var(--accent, #0b6e6d);
}
.tp-bun-nudge p { margin: 0 0 8px; font-weight: 600; }
.tp-bun-nudge .tp-bcard__cta { background: var(--bc); border-color: var(--bc); color: #fff; }

/* 1.35.1: "Save with a bundle" strip near the top of the venue page */
.tp-bstrip {
	margin: 16px 0 18px; padding: 14px 16px 6px; border-radius: var(--r, 16px);
	background: var(--surface, #fff); background: color-mix(in srgb, var(--sun, #ffcf5c) 18%, var(--surface, #fff));
	border: 1px solid var(--line, #d3dedb); border-color: color-mix(in srgb, var(--sun, #ffcf5c) 65%, var(--line, #d3dedb));
}
.tp-venue .tp-bstrip__h { display: flex; align-items: center; gap: 8px; margin: 0 0 4px; font-size: 1.125rem; line-height: 1.3; }
.tp-bstrip__h .tp-icon { width: 1.1em; height: 1.1em; flex: none; }
.tp-bstrip__list { list-style: none; margin: 0; padding: 0; }
.tp-bstrip__item { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 10px 0; }
.tp-bstrip__item + .tp-bstrip__item { border-top: 1px dashed var(--line-strong, #9db1b0); }
.tp-bstrip__txt { flex: 1 1 240px; min-width: 0; }
.tp-bstrip__txt p { margin: 0; }
.tp-bstrip__name { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 1.0625rem; overflow-wrap: anywhere; }
.tp-bstrip__flow { color: var(--ink-2, #33495a); font-size: 0.9375rem; }
.tp-bstrip__extra { display: block; font-weight: 700; }
.tp-bstrip__price { font-size: 0.9375rem; }
.tp-bstrip__save { display: block; color: var(--ok, #11703c); font-weight: 700; }
.tp-bstrip .tp-bstrip__go { flex: none; background: var(--bc); border-color: var(--bc); color: #fff; }
.tp-bstrip .tp-bstrip__go:hover { filter: brightness(1.08); color: #fff; }

/* 1.35.1: "Also in the X bundle" on an experience card (spans the card; the theme pins other card lines to row 2) */
.tp-exps > .tp-exp > p.tp-exp__bun.tp-exp__bun { grid-column: 1 / -1; grid-row: auto; margin: 6px 0 0; }
.tp-exp__bun a { display: inline-flex; align-items: flex-start; gap: 6px; font-weight: 650; color: var(--accent-text, #0a6463); }
.tp-exp__bun .tp-icon { flex: none; width: 1em; height: 1em; margin-top: 0.25em; }

/* 1.35.1: start options read as the planned run, and "Your plan" for the picked one */
.tp-bopts { display: grid; gap: 8px; margin-top: 4px; }
.tp-bcard .tp-bopt { margin: 0; padding: 10px 12px; border: 1.5px solid var(--line-strong, #9db1b0); border-radius: 12px; background: var(--surface, #fff); }
.tp-bcard .tp-bopt:has(input:checked) { border-color: var(--bc); box-shadow: inset 0 0 0 1px var(--bc); }
.tp-bopt .tp-bopt__body { display: grid; gap: 2px; min-width: 0; }
.tp-bopt__start { font-size: 1.0625rem; }
.tp-bopt .tp-bopt__grp { margin-top: 4px; font-size: 0.8125rem; font-weight: 700; color: var(--muted, #4f6270); }
.tp-bopt__steps, .tp-bplan__steps { list-style: none; margin: 0; padding: 0; }
.tp-bopt .tp-bopt__steps li { display: flex; gap: 10px; font-size: 0.9375rem; color: var(--ink-2, #33495a); }
.tp-bopt .tp-bopt__steps li span { font-size: inherit; }
.tp-bopt .tp-bopt__t { flex: none; min-width: 4.9em; font-weight: 650; font-variant-numeric: tabular-nums; color: var(--ink, #0f2230); }
.tp-bopt .tp-bopt__done { font-size: 0.875rem; color: var(--muted, #4f6270); }
.tp-bplan:empty { display: none; }
.tp-bplan__box {
	margin: 14px 0 4px; padding: 14px 16px; border-radius: 12px;
	background: var(--surface-2, #e8efed); border: 1px solid var(--line, #d3dedb); border-left: 5px solid var(--bc);
}
.tp-bplan__box p { margin: 0; }
.tp-bplan__h { font-weight: 800; margin-bottom: 6px !important; }
.tp-bplan__note { font-size: 0.875rem; color: var(--ink-2, #33495a); margin-bottom: 6px !important; }
.tp-bplan__grp { font-weight: 700; font-size: 0.9375rem; margin-top: 6px !important; }
.tp-bplan__steps { margin: 2px 0 6px; }
.tp-bplan__step { display: flex; flex-wrap: wrap; gap: 0 10px; padding: 2px 0; }
.tp-bplan__t { flex: none; min-width: 9.6em; font-weight: 650; font-variant-numeric: tabular-nums; }
.tp-bplan__what { min-width: 0; overflow-wrap: anywhere; }
.tp-bplan__wait { margin: 2px 0 2px 6px; padding: 1px 0 1px 12px; border-left: 2px dashed var(--line-strong, #9db1b0); font-size: 0.875rem; color: var(--muted, #4f6270); }
.tp-bplan__done { font-weight: 800; }

/* Venue dashboard: Bundles tab */
.tp-bm-preview { max-width: 560px; margin: 12px 0; }
.tp-bm-score { list-style: none; margin: 8px 0; padding: 0; display: grid; gap: 8px; }
.tp-bm-score li { display: grid; grid-template-columns: 24px 1fr; gap: 8px; align-items: start; }
.tp-bm-score .ok { color: var(--ok, #11703c); }
.tp-bm-score .todo { color: var(--warn, #8a5300); }
.tp-bm-score small { display: block; color: var(--muted, #4f6270); }
.tp-bm-meter { height: 10px; border-radius: 999px; background: var(--surface-2, #e8efed); overflow: hidden; max-width: 320px; }
.tp-bm-meter > span { display: block; height: 100%; background: var(--accent, #0b6e6d); }
.tp-bm-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; margin: 8px 0; }
.tp-bm-stats div { padding: 10px 12px; border-radius: 12px; background: var(--surface-2, #e8efed); }
.tp-bm-stats strong { display: block; font-size: 1.25rem; }
.tp-bm-swatches { display: flex; flex-wrap: wrap; gap: 10px; border: 0; padding: 0; margin: 0; }
.tp-bm-swatch { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border: 1px solid var(--line, #d3dedb); border-radius: 999px; cursor: pointer; }
.tp-bm-swatch span.dot { width: 18px; height: 18px; border-radius: 50%; display: inline-block; }
.tp-bm-photos { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.tp-bm-photos label { display: block; cursor: pointer; }
.tp-bm-photos img { width: 96px; height: 64px; object-fit: cover; border-radius: 8px; display: block; border: 3px solid transparent; }
.tp-bm-photos input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tp-bm-photos input:checked + img { border-color: var(--accent, #0b6e6d); }
.tp-bm-photos input:focus-visible + img { outline: 3px solid var(--focus, #0b57d0); outline-offset: 2px; }
.tp-bm-tags { display: flex; flex-wrap: wrap; gap: 8px 14px; border: 0; padding: 0; margin: 0; }

/* /bundles/ page */
.tp-bm-page .tp-bundles__grid { margin-top: 16px; }
@media (min-width: 1100px) { .tp-bm-page .tp-bundles__grid { grid-template-columns: repeat(3, 1fr); } }
