/* ==========================================================================
   Japan Gay Guide – single tour page, design v2 ("Web Assets" PDF, Oct 2026).
   Plain CSS, scoped to .jgg-trip. Replaces jgg-trip.css (kept for reference).
   ========================================================================== */

.jgg-trip {
	--ink: #111;
	--text: #333;
	--muted: #6b6b6b;
	--sale: #d0213f;
	--faint: #9a9a9a;
	--line: #e6e6e6;
	--gray: #f4f4f4;
	--yellow: #f7ec46;
	--font: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
	--mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	--max: var(--jgg-site-w, 1350px); /* = header width (inc/jgg-layout.php) */
	--gutter: var(--jgg-site-gutter, 24px);
	--aside: clamp(320px, 27.5%, 420px); /* concept: booking column ≈ 27% of the content width */
	--jgg-max: var(--max);
	--jgg-gutter: var(--gutter);
	--jgg-line: var(--line);
	--jgg-ink: var(--ink);
	--jgg-yellow: var(--yellow);
	--jgg-gray: var(--gray);
	--jgg-muted: var(--muted);
	--jgg-text: var(--text);
	--jgg-black: #000;
	--jgg-font: var(--font);
	--jgg-mono: var(--mono);

	font-family: var(--font);
	color: var(--ink);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	background: #fff;
	overflow-x: clip;
}

/* ---------- Reset inside the page ---------- */
.jgg-trip *, .jgg-trip *::before, .jgg-trip *::after { box-sizing: border-box; border-radius: 0; }
.jgg-trip img { display: block; max-width: 100%; height: auto; }
.jgg-trip h1, .jgg-trip h2, .jgg-trip h3, .jgg-trip p, .jgg-trip ul, .jgg-trip ol, .jgg-trip figure, .jgg-trip dl { margin: 0; padding: 0; }
.jgg-trip h1, .jgg-trip h2, .jgg-trip h3 { font-family: var(--font); color: var(--ink); text-transform: none; letter-spacing: -0.02em; }
.jgg-trip p, .jgg-trip li, .jgg-trip figcaption, .jgg-trip span { font-family: inherit; }
.jgg-trip ul, .jgg-trip ol { list-style: none; }
.jgg-trip a { color: inherit; text-decoration: none; }
.jgg-trip button { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; text-transform: none; letter-spacing: normal; box-shadow: none; min-height: 0; line-height: inherit; }
.jgg-trip [hidden] { display: none !important; }
.jgg-trip .ph-bold { line-height: 1; }

.jgg-container { max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Small shared pieces ---------- */
.jgg-mono { font-family: var(--mono) !important; font-size: 13px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
.jgg-mono--lg { font-size: 17px; letter-spacing: .08em; margin-bottom: 4px !important; }
.jgg-ulink { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 600; color: var(--ink) !important; text-decoration: underline !important; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.jgg-ulink--strong { font-weight: 700; }
.jgg-ulink:hover { text-decoration-thickness: 2px; }
.jgg-trip .jgg-obtn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 10px 26px; border: 1.5px solid var(--ink) !important; background: #fff; color: var(--ink) !important; font-size: 16px; font-weight: 700; text-decoration: none !important; transition: background-color .15s; }
.jgg-trip .jgg-obtn:hover { background: var(--gray); }
.jgg-ybtn { display: inline-flex; align-items: center; gap: 14px; min-height: 56px; padding: 12px 24px; background: var(--yellow); color: #000 !important; font-size: 17px; font-weight: 800; text-decoration: none !important; transition: background-color .15s; }
.jgg-ybtn:hover { background: #efe22d; }

.jgg-h2 { font-size: 28px; font-weight: 800; line-height: 1.2; letter-spacing: -0.02em; margin-bottom: 22px !important; }
.jgg-h2 .ph-bold { font-size: 18px; vertical-align: middle; margin-left: 6px; color: var(--ink); }
.jgg-h2--xl { font-size: 34px; }
.jgg-h2--xxl { font-size: 44px; line-height: 1.05; }
.jgg-h3 { font-size: 24px; font-weight: 800; margin-bottom: 14px !important; }

.jgg-bullets { margin: 0 !important; padding: 0 !important; }
.jgg-bullets li { position: relative; padding-left: 20px !important; margin: 0 0 6px !important; font-size: 17px; line-height: 1.6; color: var(--ink); }
.jgg-bullets li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 5px; height: 5px; border-radius: 50%; background: var(--ink); }

/* Clamped text + "Read more" */
.jgg-trip [data-jgg-clamp].is-clamped { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.jgg-trip [data-jgg-clamp][data-lines="3"].is-clamped { -webkit-line-clamp: 3; }
/* "See more" lists */
.jgg-trip [data-jgg-more-box]:not(.is-expanded) .is-extra { display: none; }

/* Square star boxes (black with white star) */
.jgg-boxstars { display: inline-flex; vertical-align: middle; }
.jgg-trip .jgg-stars { display: inline-flex; gap: 2px; }
.jgg-trip .jgg-stars__box { position: relative; width: 20px; height: 20px; background: #d9d9d9; overflow: hidden; }
.jgg-trip .jgg-stars__fill { position: absolute; top: 0; bottom: 0; left: 0; background: #000; }
.jgg-trip .jgg-stars__box svg { position: absolute; inset: 3px; width: 14px; height: 14px; fill: #fff; }
.jgg-boxstars--lg .jgg-stars { gap: 4px; }
.jgg-trip .jgg-boxstars--lg .jgg-stars__box { width: 34px; height: 34px; }
.jgg-trip .jgg-boxstars--lg .jgg-stars__box svg { inset: 6px; width: 22px; height: 22px; }

/* ==========================================================================
   Header
   ========================================================================== */
.jgg-trip .jgg-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; padding: 34px 0 14px; font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.jgg-trip .jgg-breadcrumb a { color: var(--muted); }
.jgg-trip .jgg-breadcrumb a:hover { color: var(--ink); }
.jgg-trip .jgg-breadcrumb [aria-current] { color: var(--muted); } /* design: whole breadcrumb gray */
.jgg-trip .jgg-breadcrumb__sep { color: #aaa; font-weight: 400; }

.jgg-trip .jgg-badge { display: inline-block; margin: 0 0 10px !important; padding: 7px 12px !important; background: #000; color: var(--yellow); font-size: 13px; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; line-height: 1.2; }
.jgg-trip .jgg-title { font-size: 56px; font-weight: 900; line-height: 1.05; letter-spacing: -0.035em; }
.jgg-trip .jgg-title__sub { display: inline; font-size: 24px; font-weight: 800; letter-spacing: -0.01em; margin-left: 6px; }

.jgg-metarow { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 8px 0 14px; }
.jgg-facts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; font-size: 15px; font-weight: 500; color: var(--ink); }
.jgg-facts li { display: inline-flex; align-items: center; gap: 7px; }
.jgg-facts .jgg-fact-icon { width: 18px; height: 18px; fill: var(--ink); }
.jgg-facts .jgg-fact-icon path { fill: var(--ink); }
.jgg-facts .jgg-facts__stay i { font-size: 18px; line-height: 1; }
.jgg-facts__rating { display: inline-flex; align-items: center; gap: 6px; }
.jgg-facts__rating strong { font-weight: 700; }
/* Review count: underline draws in left→right on hover (both rating links) */
.jgg-rating__count { background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat; padding-bottom: 1px; transition: background-size .3s ease; }
.jgg-facts__rating:hover .jgg-rating__count, .jgg-mhead__rating:hover .jgg-rating__count,
.jgg-facts__rating:focus-visible .jgg-rating__count, .jgg-mhead__rating:focus-visible .jgg-rating__count { background-size: 100% 1px; }
@media (prefers-reduced-motion: reduce) { .jgg-rating__count { transition: none; } }
.jgg-facts__stars { letter-spacing: 1px; font-size: 17px; }
.jgg-trip .jgg-cur--head .jgg-cur__select { min-width: 104px; height: 40px; }

/* ==========================================================================
   Layout: main | booking
   ========================================================================== */
.jgg-grid { display: grid; grid-template-columns: minmax(0, 1fr) var(--aside); gap: 20px; align-items: start; }
.jgg-grid__aside { position: relative; }
/* The sticky booking card stops where the main column ends: no empty space under its last section,
   so the card's bottom lines up with the last box on the left (the gap moves below the grid). */
.jgg-grid { padding-bottom: 26px; }
.jgg-grid__main > .jgg-sec:last-child { padding-bottom: 0; }

/* Gallery: big left + two stacked right */
.jgg-gal { position: relative; display: grid; grid-template-columns: 4fr 5.4fr; grid-template-rows: 1fr 1fr; gap: 8px; height: auto; aspect-ratio: 15 / 8; /* concept proportions */ }
.jgg-gal__item { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; background: var(--gray); }
.jgg-gal__item img { width: 100%; height: 100%; object-fit: cover; }
.jgg-gal__item--1 { grid-column: 1; grid-row: 1 / 3; }
.jgg-gal__item--2 { grid-column: 2; grid-row: 1; }
.jgg-gal__item--3 { grid-column: 2; grid-row: 2; }
.jgg-gal--1 { grid-template-columns: 1fr; }
.jgg-gal--2 .jgg-gal__item--2 { grid-row: 1 / 3; }
.jgg-trip .jgg-gal__count { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; background: rgba(0,0,0,.78); color: #fff; font-size: 13px; font-weight: 600; }
.jgg-gallery__reel { background: #000; }
.jgg-gallery__reel video, .jgg-gallery__reel iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.jgg-gallery__reel iframe { pointer-events: none; }
.jgg-trip .jgg-reel__sound { position: absolute; top: 12px; right: 12px; z-index: 3; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; color: var(--yellow); background: rgba(0,0,0,.75); }
.jgg-reel__on { display: none; }
.jgg-reel__sound.is-on .jgg-reel__on { display: block; }
.jgg-reel__sound.is-on .jgg-reel__off { display: none; }

/* ---------- Tabs (sticky behaviour from jgg-trip.js) ---------- */
.jgg-tabs { position: relative; z-index: 90; display: flex; align-items: center; gap: 24px; margin: 12px 0 0; background: #fff; border-bottom: 1px solid var(--line); }
.jgg-tabs__links { position: relative; display: flex; flex: 1 1 auto; min-width: 0; gap: 44px; overflow-x: auto; scrollbar-width: none; }
.jgg-tabs__links::-webkit-scrollbar { display: none; }
.jgg-tabs__links a { position: relative; flex: 0 0 auto; padding: 12px 0 14px; font-size: 16px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.jgg-tabs__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--ink); transform: scaleX(0); transition: transform .2s; }
.jgg-tabs__links a.is-active { font-weight: 700; }
.jgg-tabs__links a.is-active::after { transform: scaleX(1); }
.jgg-tabs.is-fixed { position: fixed; top: var(--jgg-top, 0px); left: 0; right: 0; margin: 0 !important; padding: 0 max(var(--gutter), calc((100vw - var(--max)) / 2)); border-bottom: 0; box-shadow: 0 1px 0 var(--line); } /* hairline only, no drop shadow (user 2026-10-23) */
/* Desktop: start exactly at the header logo (inc/jgg-layout.php), even if the header isn't centered */
html.jgg-site-fit .jgg-trip .jgg-container { margin-left: calc(var(--jgg-site-l) - var(--gutter)); margin-right: 0; }
html.jgg-site-fit .jgg-trip .jgg-tabs.is-fixed { padding-left: var(--jgg-site-l); padding-right: max(var(--gutter), calc(100% - var(--jgg-site-l) - var(--max))); }
/* Desktop: bar over the left column only (jgg-trip.js sets left/width), booking box sticky on the right */
.jgg-trip .jgg-tabs.is-fixed.is-col { right: auto; padding: 0 !important; }
.jgg-grid__aside.is-sticky { position: sticky; align-self: start; z-index: 5; }
.jgg-grid__aside.has-pop { position: relative; z-index: 120; } /* open calendar/guests panel in front of the tabs bar (z 90) */
.jgg-grid__aside.is-sticky.has-pop { position: sticky; }
.jgg-tabs__cta { display: flex; align-items: center; gap: 14px; flex: 0 0 auto; max-width: 0; overflow: hidden; opacity: 0; pointer-events: none; white-space: nowrap; transition: opacity .2s, max-width .25s; }
.jgg-tabs.show-cta .jgg-tabs__cta { max-width: 380px; opacity: 1; pointer-events: auto; }
.jgg-tabs__price { font-size: 12px; color: var(--muted); }
.jgg-tabs__price strong { margin-left: 4px; font-size: 17px; font-weight: 800; color: var(--ink); }
.jgg-tabs__btn { display: inline-flex; align-items: center; height: 38px; padding: 0 18px; background: #000; color: var(--yellow); font-size: 14px; font-weight: 700; }
.jgg-tabs__links.has-ink a::after { display: none; }
.jgg-tabs__ink { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--ink); pointer-events: none; transition: transform .25s, width .25s, opacity .2s; }

/* ---------- Sections ---------- */
.jgg-sec { padding: 26px 0; border-top: 1px solid var(--line); scroll-margin-top: 130px; }
.jgg-sec--first { border-top: 0; padding-top: 20px; }
.jgg-sec--wide { padding: 44px 0; }
.jgg-sec__head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-bottom: 18px; }
.jgg-sec__head .jgg-h2 { margin: 0 !important; }
.jgg-sec__head--end { align-items: flex-end; }
.jgg-trip button.jgg-tl__all { background: none; border: 0; padding: 0; cursor: pointer; font-family: inherit; white-space: nowrap; }
.jgg-sec--loved { border-top: 0; padding-top: 6px; }

.jgg-trip .jgg-summary { font-size: 17px; line-height: 1.7; color: var(--ink); padding-bottom: 22px !important; margin-bottom: 24px !important; border-bottom: 1px solid var(--line); }

/* 2x2 feature tiles */
.jgg-features { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 36px; }
.jgg-feature { display: flex; gap: 16px; align-items: flex-start; }
.jgg-feature__icon { flex: 0 0 auto; width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; background: var(--gray); }
.jgg-feature__icon .ph-bold { font-size: 24px; }
.jgg-feature h3 { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; margin: 2px 0 2px !important; }
.jgg-feature p { font-size: 15px; color: var(--muted); line-height: 1.45; }

/* Why travelers loved this */
.jgg-loved { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.jgg-lcard { padding: 24px 22px; border: 1px solid var(--line); background: #fff; }
.jgg-lcard__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 14px !important; font-size: 14px; font-weight: 600; }
.jgg-lcard__text { font-size: 15px; line-height: 1.75; color: var(--ink); }

/* Highlights + overview */
.jgg-overview { margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--line); }
.jgg-overview__text { font-size: 17px; line-height: 1.75; }
.jgg-overview__text p { margin: 0 0 12px !important; }
.jgg-overview .jgg-ulink { margin-top: 4px; }

/* ---------- Itinerary timeline ---------- */
.jgg-tl { position: relative; margin: 0 !important; padding: 0 !important; }
.jgg-tl__item { position: relative; padding: 0 0 0 52px !important; }
.jgg-tl__item::before { content: ""; position: absolute; left: 14px; top: 0; bottom: 0; width: 3px; background: var(--ink); }
.jgg-tl__item:first-child::before { top: 30px; }
.jgg-tl__item:last-child::before { bottom: auto; height: 22px; }
.jgg-tl__item:only-child::before { display: none; }
.jgg-tl__marker { position: absolute; left: 0; top: 14px; width: 31px; height: 31px; display: flex; align-items: center; justify-content: center; z-index: 1; }
.jgg-tl__num { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; border-radius: 50% !important; background: #000; color: #fff; font-size: 14px; font-weight: 700; }
.jgg-tl__head { display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 12px; width: 100%; padding: 18px 0; text-align: left; border-bottom: 1px solid var(--line); }
.jgg-tl__item.is-open .jgg-tl__head { border-bottom-color: transparent; }
.jgg-tl__title { grid-column: 1; font-size: 17px; font-weight: 700; color: var(--ink); }
.jgg-tl__meta { grid-column: 1; margin-top: 10px; font-size: 14px; font-weight: 600; color: var(--muted); }
.jgg-tl__chev { grid-column: 2; grid-row: 1; font-size: 18px; transition: transform .2s; }
.jgg-tl__item.is-open .jgg-tl__chev { transform: rotate(180deg); }
.jgg-tl__body { display: grid; grid-template-columns: 1fr 1.05fr; gap: 24px; align-items: start; padding: 0 0 22px; border-bottom: 1px solid var(--line); }
.jgg-tl__body.is-text { grid-template-columns: 1fr; }
.jgg-tl__text { font-size: 14px; line-height: 1.6; color: var(--muted); font-weight: 500; }
.jgg-tl__text p { margin: 0 0 10px !important; }
/* Photos: big + small side by side; click = photo viewer with this day's photos (jgg-trip.js). */
.jgg-tl__media { --tl-gap: 12px; display: grid; grid-template-columns: 4fr 1fr; gap: var(--tl-gap); aspect-ratio: 2.1 / 1; container-type: inline-size; } /* big photo + slice of the next; square corners (no rounded images, desktop + mobile) */
.jgg-trip .jgg-tl__media.is-swapped { grid-template-columns: 1fr 4fr; } /* visitor swiped sideways (jgg-trip.js): the right photo is the big one */
.jgg-trip .jgg-tl__media .jgg-tl__photo { position: relative; display: block; width: 100%; height: auto; margin: 0; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: var(--gray) !important; box-shadow: none !important; overflow: hidden; cursor: zoom-in; }
/* Each photo is always drawn at the big frame's size, centred: a frame getting wider/slimmer only reveals/hides the sides, never zooms. */
.jgg-tl__photo img { position: absolute; top: 0; left: 50%; display: block; width: calc((100cqw - var(--tl-gap)) * .8); max-width: none; height: 100% !important; margin-left: calc((100cqw - var(--tl-gap)) * -.4); object-fit: cover; }
.jgg-tl__photo:only-child img { left: 0; width: 100%; margin-left: 0; }
.jgg-tl__photo:focus-visible { outline: 3px solid var(--yellow); outline-offset: -3px; }

/* ---------- Meeting location ---------- */
.jgg-meet { border: 1px solid var(--line); background: var(--gray); }
.jgg-meet__map { display: block; width: 100%; height: 340px; }
.jgg-meet figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 20px; padding: 14px 18px !important; font-size: 13px; color: var(--muted); }
.jgg-meet figcaption::before, .jgg-meet figcaption::after { content: none !important; }
.jgg-meet figcaption strong { color: var(--ink); }
.jgg-meet__note { margin-top: 10px !important; font-size: 14px; color: var(--muted); }

/* ---------- Included ---------- */
.jgg-incl { display: grid; grid-template-columns: 1fr 1fr; gap: 0 36px; margin-bottom: 12px; }
.jgg-incl__list li { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 14px !important; font-size: 16px; font-weight: 500; color: var(--ink); }
.jgg-incl__list .ph-bold { font-size: 18px; margin-top: 3px; }
.jgg-incl__list--no li { color: var(--muted); }

/* ---------- Important info ---------- */
.jgg-info { display: grid; grid-template-columns: 1fr 1fr; gap: 0 36px; }
.jgg-info__cell .jgg-info__col + .jgg-info__col { margin-top: 22px; }
.jgg-info__col h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px !important; }
.jgg-info__col .jgg-bullets li { font-size: 17px; margin-bottom: 4px !important; }
.jgg-info__col .jgg-ulink { margin-top: 6px; }

/* ---------- Policy + questions ---------- */
.jgg-cards2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; border-top: 1px solid var(--line); }
.jgg-pcard { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 32px 26px; border: 1px solid var(--line); }
.jgg-pcard h3 { font-size: 24px; font-weight: 700; letter-spacing: -0.01em; }
.jgg-pcard__text { font-size: 16px; line-height: 1.7; color: var(--muted); }
.jgg-pcard__text p { margin: 0 0 8px !important; }
.jgg-pcard .jgg-obtn { margin-top: auto; } /* buttons of side-by-side cards on one line, at the bottom */

/* ==========================================================================
   Booking card
   ========================================================================== */
.jgg-book { padding: 30px 30px 28px; border: 1px solid var(--line); background: #fff; }
.jgg-book__from { font-size: 16px; font-weight: 600; }
.jgg-book__price strong { display: block; font-size: 40px; font-weight: 900; line-height: 1.1; letter-spacing: -0.03em; }
.jgg-book__field { position: relative; margin-bottom: 10px; }
.jgg-trip .jgg-book__btn { display: flex; align-items: center; gap: 12px; width: 100%; height: 52px; padding: 0 14px; border: 1px solid var(--line); background: #fff; font-size: 17px; font-weight: 600; text-align: left; transition: border-color .15s; }
.jgg-trip .jgg-book__btn:hover, .jgg-book__field.is-open .jgg-book__btn { border-color: var(--ink); }
.jgg-book__btn > span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jgg-book__btn .ph-bold { font-size: 22px; }
.jgg-book__chev { font-size: 16px !important; transition: transform .2s; }
.jgg-book__field.is-open .jgg-book__chev { transform: rotate(180deg); }
.jgg-book__panel { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 30; padding: 16px; background: #fff; border: 1px solid var(--ink); box-shadow: 0 16px 34px -18px rgba(0,0,0,.45); }
.jgg-book__guests { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.jgg-book__guests-label { font-weight: 700; }
.jgg-book__guests-sub { font-size: 13px; color: var(--muted); }
.jgg-stepper { display: flex; align-items: center; gap: 6px; }
.jgg-trip .jgg-stepper button { width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); background: var(--gray); font-size: 18px; }
.jgg-trip .jgg-stepper button:hover:not(:disabled) { border-color: var(--ink); }
.jgg-trip .jgg-stepper button:disabled { color: #c9c9c9; cursor: not-allowed; }
.jgg-stepper output { min-width: 28px; text-align: center; font-weight: 700; }

/* Calendar (inside the date panel) */
.jgg-cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.jgg-cal__month { font-size: 16px; font-weight: 700; }
.jgg-trip .jgg-cal__nav { width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; font-size: 20px; background: var(--gray); border: 1px solid var(--line); }
.jgg-trip .jgg-cal__nav:disabled { background: #fff; color: #d6d6d6; cursor: default; }
.jgg-cal__week, .jgg-cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; }
.jgg-cal__week span { padding-bottom: 6px; font-size: 11px; font-weight: 600; text-transform: uppercase; color: var(--muted); }
.jgg-cal__grid { gap: 4px; }
.jgg-cal__loading { grid-column: 1 / -1; padding: 40px 0; font-size: 13px; color: var(--muted); }
.jgg-trip .jgg-cal__day { position: relative; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; font-size: 14px; color: #c9c9c9; border: 1px solid transparent; }
.jgg-trip .jgg-cal__day.is-empty { visibility: hidden; }
.jgg-trip .jgg-cal__day.is-available { background: var(--gray); color: var(--ink); font-weight: 700; cursor: pointer; }
.jgg-trip .jgg-cal__day.is-available::after { content: ""; position: absolute; left: 50%; bottom: 4px; width: 4px; height: 4px; background: #e3cf00; transform: translateX(-50%); }
.jgg-trip .jgg-cal__day.is-available:hover { background: #fff; border-color: var(--ink); }
.jgg-trip .jgg-cal__day.is-selected { background: #000 !important; color: var(--yellow); border-color: #000; }
/* Two-month calendar (wide panel that opens to the left over the page, like GetYourGuide) */
.jgg-trip .jgg-book__panel--cal { z-index: 95; left: auto; right: 0; width: min(760px, calc(100vw - 48px)); padding: 30px 36px 32px; border-color: var(--line); box-shadow: 0 24px 60px -24px rgba(0,0,0,.4); }
.jgg-cal--duo { position: relative; }
.jgg-trip .jgg-book__panel--cal.is-side { left: auto; border-color: var(--ink); box-shadow: 0 24px 60px -20px rgba(0,0,0,.45); }
.jgg-cal--duo .jgg-cal__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 44px; text-align: left; }
.jgg-cal--duo .jgg-cal__m { min-width: 0; }
.jgg-cal--duo .jgg-cal__title { margin: 0 0 22px !important; font-size: 22px; font-weight: 700; line-height: 34px; text-align: center; letter-spacing: -0.01em; }
.jgg-cal--duo .jgg-cal__week { margin-bottom: 8px; }
.jgg-cal--duo .jgg-cal__week span { padding: 0; font-size: 14px; font-weight: 500; text-transform: none; color: var(--muted); }
.jgg-cal--duo .jgg-cal__days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.jgg-trip .jgg-cal--duo .jgg-cal__nav { position: absolute; top: 0; z-index: 1; width: 34px; height: 34px; font-size: 18px; background: transparent; border: 1px solid transparent; color: var(--ink); }
.jgg-trip .jgg-cal--duo .jgg-cal__nav:hover:not(:disabled) { border-color: var(--ink); }
.jgg-trip .jgg-cal--duo .jgg-cal__nav:disabled { visibility: hidden; }
.jgg-trip .jgg-cal--duo .jgg-cal__prev { left: 0; }
.jgg-trip .jgg-cal--duo .jgg-cal__next { right: 0; }
.jgg-trip .jgg-cal--duo .jgg-cal__day { font-size: 17px; font-weight: 400; color: #c4c4c4; background: none; }
.jgg-trip .jgg-cal--duo .jgg-cal__day.is-available { background: none; color: var(--ink); font-weight: 700; }
.jgg-trip .jgg-cal--duo .jgg-cal__day.is-available::after { display: none; }
.jgg-trip .jgg-cal--duo .jgg-cal__day.is-available:hover { border-color: var(--ink); }
.jgg-trip .jgg-cal--duo .jgg-cal__day.is-today:not(.is-selected) { text-decoration: underline; text-underline-offset: 4px; }
.jgg-trip .jgg-cal--duo .jgg-cal__day.is-selected { background: #000 !important; color: var(--yellow); border-color: #000; }
.jgg-cal--duo + .jgg-times { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
@media (max-width: 960px) {
	.jgg-trip .jgg-book__panel--cal { left: 0; right: 0; width: auto; padding: 20px 16px; border-color: var(--ink); }
	.jgg-cal--duo .jgg-cal__grid { grid-template-columns: 1fr; }
	.jgg-cal--duo .jgg-cal__title { font-size: 18px; margin-bottom: 14px !important; }
	.jgg-trip .jgg-cal--duo .jgg-cal__day { font-size: 16px; }
}
.jgg-times { margin-top: 12px; }
.jgg-times .jgg-booking__label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.jgg-times__list { display: flex; flex-wrap: wrap; gap: 6px; }
.jgg-trip .jgg-time { height: 38px; padding: 0 14px; border: 1px solid var(--line); background: var(--gray); font-weight: 600; }
.jgg-trip .jgg-time.is-selected { background: #000; color: var(--yellow); border-color: #000; }

.jgg-book__total { display: flex; justify-content: space-between; align-items: baseline; margin: 6px 0 4px !important; font-size: 15px; color: var(--muted); }
.jgg-book__total strong { font-size: 20px; color: var(--ink); }
.jgg-booking__charged { font-size: 12px; color: var(--muted); margin: 0 0 6px !important; }
.jgg-trip .jgg-book__cta { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 54px; margin-top: 8px; padding: 12px 18px; background: #000; color: var(--yellow) !important; font-size: 18px; font-weight: 800; text-decoration: none !important; transition: background-color .15s; }
.jgg-trip .jgg-book__cta:hover { background: #222; }
.jgg-trip .jgg-book__cta.is-loading { opacity: .75; cursor: progress; }
.jgg-booking__msg { margin-top: 10px !important; font-size: 13px; color: #b42318; text-align: center; }
.jgg-book__checks { margin: 22px 0 0 !important; display: flex; flex-direction: column; gap: 14px; }
.jgg-book__checks li { display: flex; gap: 14px; align-items: flex-start; }
.jgg-book__checks .ph-bold { flex: 0 0 auto; width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; margin-top: 2px; background: #000; color: #fff; font-size: 13px; }
.jgg-book__checks strong { display: block; font-size: 15px; font-weight: 700; }
.jgg-book__checks span { display: block; font-size: 13px; line-height: 1.45; color: var(--muted); }

/* ==========================================================================
   Full-width sections
   ========================================================================== */
.jgg-rgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; } /* same as the tours page */
.jgg-gcard { display: flex; flex-direction: column; color: var(--ink); }
.jgg-gcard__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--gray); margin-bottom: 14px; }
.jgg-gcard__img img { width: 100%; height: 100%; object-fit: cover; }
.jgg-gcard h3 { margin: 6px 0 12px !important; font-size: 21px; font-weight: 800; line-height: 1.2; letter-spacing: -0.02em; }
.jgg-gcard:hover h3 { text-decoration: underline; text-underline-offset: 3px; }
/* Sale (WTE sale price): regular price crossed out in grey, sale price in red. */
.jgg-trip del.jgg-was { margin: 0 2px; font-weight: 600; color: var(--muted); text-decoration: line-through; text-decoration-thickness: 1.5px; }

.jgg-tphotos { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.jgg-tphotos__item { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--gray); }
.jgg-tphotos__item img { width: 100%; height: 100%; object-fit: cover; }
.jgg-tphotos__more { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.45); color: #fff; font-size: 22px; font-weight: 800; }

/* Customer reviews */
.jgg-creviews { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 60px; align-items: start; }
.jgg-rsummary__avg { font-size: 64px; font-weight: 900; line-height: 1; letter-spacing: -0.03em; margin: 6px 0 10px !important; }
.jgg-rsummary__based { margin: 12px 0 10px !important; font-size: 14px; color: var(--muted); }
.jgg-hist { margin: 0 0 22px !important; }
.jgg-hist li { display: grid; grid-template-columns: 34px 1fr 24px; align-items: center; gap: 10px; margin-bottom: 6px !important; font-size: 13px; font-weight: 600; }
.jgg-hist__bar { height: 6px; background: #ececec; }
.jgg-hist__bar span { display: block; height: 100%; background: #000; }
.jgg-hist li > span:last-child { text-align: right; color: var(--muted); }
.jgg-rtools { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.jgg-rtools__search { display: flex; align-items: center; gap: 10px; flex: 0 1 340px; height: 46px; padding: 0 14px; border: 1px solid var(--line); }
.jgg-trip .jgg-rtools__search input { flex: 1; min-width: 0; height: 100%; padding: 0 !important; border: 0 !important; outline: 0; background: transparent !important; font: inherit; font-size: 15px; box-shadow: none !important; }
.jgg-rtools__sort { display: flex; align-items: center; gap: 6px; white-space: nowrap; height: 46px; padding: 0 12px; border: 1px solid var(--line); font-family: var(--mono); font-size: 12px; font-weight: 600; text-transform: uppercase; }
.jgg-rtools__sort select { border: 0 !important; background: transparent; font: inherit; font-family: var(--font); font-size: 14px; text-transform: none; box-shadow: none !important; }
.jgg-ritem { padding: 22px 0; border-bottom: 1px solid var(--line); }
.jgg-ritem__stars { display: flex; align-items: center; gap: 8px; margin-bottom: 12px !important; }
.jgg-ritem__who { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.jgg-ritem__avatar { flex: 0 0 auto; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: #000; color: var(--yellow); font-size: 20px; font-weight: 900; }
.jgg-ritem__name { font-size: 15px; font-weight: 700; }
.jgg-ritem__date { font-size: 14px; color: var(--muted); }
.jgg-ritem__title { font-size: 17px; font-weight: 700; margin-bottom: 6px !important; }
.jgg-ritem__text { font-size: 16px; line-height: 1.65; }
.jgg-ritem__photos { display: flex; gap: 8px; margin-top: 14px; }
.jgg-ritem__photos button { width: 132px; height: 100px; overflow: hidden; }
.jgg-ritem__photos img { width: 100%; height: 100%; object-fit: cover; }
.jgg-rlist__none { padding: 20px 0; color: var(--muted); }
.jgg-rlist > .jgg-obtn { margin-top: 18px; }
.jgg-review-form { margin-top: 24px; padding: 24px; border: 1px solid var(--line); }
.jgg-review-form .comment-respond, .jgg-review-form .comment-form { margin: 0 !important; padding: 0 !important; background: none !important; border: 0 !important; }

/* FAQ */
.jgg-faqbox { border: 1px solid var(--line); padding: 0 22px; }
.jgg-acc { border-bottom: 1px solid var(--line); }
.jgg-acc:last-child { border-bottom: 0; }
.jgg-trip .jgg-acc__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; width: 100%; padding: 20px 16px; text-align: left; font-size: 19px; font-weight: 700; }
.jgg-acc__head .ph-bold { font-size: 16px; transition: transform .2s; }
.jgg-acc.is-open .jgg-acc__head .ph-bold { transform: rotate(180deg); }
.jgg-acc__body { padding: 0 16px 20px; font-size: 16px; line-height: 1.7; color: var(--text); }
.jgg-acc__body p { margin: 0 0 10px !important; }

/* Can't find a tour */
.jgg-vibe { display: grid; grid-template-columns: 1fr 1fr; margin: 20px 0 50px; background: #000; }
.jgg-vibe__img { position: relative; min-height: 330px; overflow: hidden; background: #222; }
.jgg-vibe__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; } /* out of the flow: a tall photo is cropped, it never stretches the block */
.jgg-vibe__body { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 18px; padding: 40px; }
.jgg-trip .jgg-vibe__body h2 { color: var(--yellow); font-size: 42px; font-weight: 900; line-height: 1.05; letter-spacing: -0.03em; }
.jgg-vibe__body p { color: #fff; font-size: 16px; font-weight: 500; line-height: 1.5; max-width: 520px; }

/* Guides */
.jgg-guides { border-top: 0; padding-top: 0; }
.jgg-guides .jgg-sec__head { margin-bottom: 34px; }
.jgg-guides .jgg-mono--lg { margin-bottom: 10px !important; font-size: 13px; font-weight: 700; letter-spacing: .14em; color: var(--muted); }
.jgg-guides .jgg-ulink { font-size: 14px; }
.jgg-guides .jgg-ulink i { font-size: 12px; }
.jgg-gcard__img { aspect-ratio: 16 / 9; margin-bottom: 16px; }
.jgg-gcard .jgg-mono { margin: 0 !important; font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--muted); }
.jgg-gcard h3 { margin: 8px 0 0 !important; font-size: 18px; font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; }

/* ---------- Photo viewer ---------- */
.jgg-lightbox { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 60px 70px; background: rgba(0,0,0,.94); }
.jgg-lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; }
.jgg-lightbox.is-single .jgg-lightbox__nav, .jgg-lightbox.is-single .jgg-lightbox__count { display: none; } /* one-photo set */
.jgg-trip .jgg-lightbox__close, .jgg-trip .jgg-lightbox__nav { position: absolute; width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 40px; line-height: 1; }
.jgg-lightbox__close { top: 12px; right: 12px; }
.jgg-lightbox__prev { left: 10px; top: 50%; transform: translateY(-50%); }
.jgg-lightbox__next { right: 10px; top: 50%; transform: translateY(-50%); }
.jgg-lightbox__count { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: #ccc; font-family: var(--mono); font-size: 12px; }
html.jgg-noscroll { overflow: hidden; }
html.jgg-noscroll .site-wrap { z-index: auto !important; }

/* Mobile bar (phones only) */
.jgg-mobilebar { display: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1200px) {
	.jgg-trip { --aside: 320px; }
	.jgg-trip .jgg-title { font-size: 44px; }
	.jgg-book__price strong { font-size: 36px; }
	.jgg-gal { height: 420px; }
	.jgg-rgrid { grid-template-columns: repeat(2, 1fr); }
	.jgg-creviews { grid-template-columns: 280px minmax(0, 1fr); gap: 36px; }
}
@media (max-width: 960px) {
	/* Phones/tablets: gallery → booking card → the rest */
	.jgg-grid { display: flex; flex-direction: column; gap: 0; }
	.jgg-grid__main { display: contents; }
	.jgg-grid__main > * { order: 3; }
	.jgg-grid__main > .jgg-gal { order: 1; }
	.jgg-grid__aside { order: 2; width: 100%; margin: 18px 0 6px; }
	.jgg-gal { height: 380px; }
	.jgg-creviews { grid-template-columns: 1fr; }
	.jgg-tphotos { grid-template-columns: repeat(3, 1fr); }
	.jgg-vibe { grid-template-columns: 1fr; }
	.jgg-mobilebar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9990; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 20px rgba(0,0,0,.06); }
	.jgg-mobilebar p { display: flex; align-items: baseline; gap: 6px; }
	.jgg-mobilebar strong { font-size: 20px; font-weight: 900; }
	.jgg-mobilebar small { font-size: 12px; color: var(--muted); }
	/* On sale: "From ~~regular~~" on top, sale price + "per person" below. */
	.jgg-mobilebar p:has(.jgg-was) { flex-wrap: wrap; row-gap: 0; }
	.jgg-mobilebar p:has(.jgg-was)::after { content: ""; flex-basis: 100%; order: 1; }
	.jgg-mobilebar p:has(.jgg-was) strong, .jgg-mobilebar p:has(.jgg-was) strong ~ small { order: 2; }
	.jgg-mobilebar .jgg-was { margin: 0; font-size: 13px; }
	.jgg-mobilebar small { white-space: nowrap; }
	.jgg-mobilebar .jgg-book__cta { flex-shrink: 0; white-space: nowrap; }
	.jgg-trip .jgg-book__cta--sm { width: auto; min-height: 46px; margin: 0; padding: 8px 18px; font-size: 15px; }
	.jgg-trip { padding-bottom: 72px; }
}
@media (max-width: 640px) {
	.jgg-trip { --gutter: 16px; font-size: 15px; }
	.jgg-trip .jgg-breadcrumb { padding: 20px 0 12px; }
	.jgg-trip .jgg-title { font-size: 34px; }
	.jgg-trip .jgg-title__sub { display: block; margin: 4px 0 0; font-size: 20px; }
	.jgg-metarow { flex-wrap: wrap; }
	.jgg-facts { gap: 6px 16px; font-size: 14px; }
	.jgg-gal { height: auto; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 6px; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); scrollbar-width: none; }
	.jgg-gal::-webkit-scrollbar { display: none; }
	.jgg-gal__item { flex: 0 0 86%; height: 260px; scroll-snap-align: center; }
	.jgg-trip .jgg-gal__count { right: calc(var(--gutter) + 8px); }
	.jgg-tabs__links { gap: 26px; }
	.jgg-tabs__links a { font-size: 15px; }
	.jgg-tabs__cta { display: none; }
	.jgg-features, .jgg-loved, .jgg-incl, .jgg-info, .jgg-cards2 { grid-template-columns: 1fr; }
	.jgg-info__cell + .jgg-info__cell { margin-top: 22px; }
	.jgg-tl__body { grid-template-columns: 1fr; }
	.jgg-tl__media { --tl-gap: 8px; }
	.jgg-h2, .jgg-h2--xl { font-size: 26px; }
	.jgg-h2--xxl { font-size: 32px; }
	.jgg-rgrid { grid-template-columns: minmax(0, 1fr); gap: 16px; } /* one card per row on phones, like the tours page */
	.jgg-gcard h3 { font-size: 17px; }
	.jgg-rtools { flex-wrap: wrap; }
	.jgg-rtools__search { flex: 1 1 100%; }
	.jgg-trip .jgg-vibe__body h2 { font-size: 30px; }
	.jgg-vibe__body { padding: 28px 20px; }
	.jgg-lightbox { padding: 50px 8px; }
}

/* ==========================================================================
   Multi-day tours (jgg_trip_layout() = multi, design "8 Day Hidden Tokyo Experience")
   ========================================================================== */
.jgg-mhead { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin: 0 0 18px; }
.jgg-mhead__main { min-width: 0; }
.jgg-mhead__rating { display: inline-flex; align-items: center; gap: 6px; margin: 10px 0 6px; font-size: 15px; font-weight: 500; }
.jgg-mhead__rating strong { font-weight: 600; }
.jgg-mhead .jgg-facts { margin-top: 2px; }
.jgg-mhead__buy { display: flex; flex-direction: column; align-items: flex-end; gap: 16px; flex: 0 0 auto; }
.jgg-mhead__price { display: flex; align-items: baseline; gap: 12px; }
.jgg-mhead__price small { font-size: 15px; font-weight: 600; }
.jgg-trip .jgg-mhead__price small + del.jgg-was { margin-left: -6px; } /* "From" 6px from the crossed-out price (row gap 12 − 6) */
.jgg-mhead__price strong { font-size: 34px; font-weight: 900; line-height: 1; letter-spacing: -0.03em; }
.jgg-trip .jgg-mhead__cta { display: inline-flex; align-items: center; justify-content: center; min-width: 260px; height: 48px; padding: 0 24px; background: #000; color: var(--yellow) !important; font-size: 15px; font-weight: 800; transition: background-color .15s; }
.jgg-trip .jgg-mhead__cta:hover { background: #222; }

/* Gallery: tall photo left, 2 on top, 3 below */
.jgg-mgal { position: relative; display: grid; grid-template-columns: 2.45fr repeat(6, 1fr); grid-template-rows: 1fr 1fr; gap: 8px; height: 535px; margin-bottom: 24px; } /* gap above tabs + booking card */
.jgg-mgal__item { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; background: var(--gray); }
.jgg-mgal__item img { width: 100%; height: 100% !important; object-fit: cover; }
.jgg-mgal__item--1 { grid-column: 1; grid-row: 1 / 3; }
.jgg-mgal--6 .jgg-mgal__item--2 { grid-column: 2 / 5; grid-row: 1; }
.jgg-mgal--6 .jgg-mgal__item--3 { grid-column: 5 / 8; grid-row: 1; }
.jgg-mgal--6 .jgg-mgal__item--4 { grid-column: 2 / 4; grid-row: 2; }
.jgg-mgal--6 .jgg-mgal__item--5 { grid-column: 4 / 6; grid-row: 2; }
.jgg-mgal--6 .jgg-mgal__item--6 { grid-column: 6 / 8; grid-row: 2; }
.jgg-mgal--5 .jgg-mgal__item--2 { grid-column: 2 / 5; grid-row: 1; }
.jgg-mgal--5 .jgg-mgal__item--3 { grid-column: 5 / 8; grid-row: 1; }
.jgg-mgal--5 .jgg-mgal__item--4 { grid-column: 2 / 5; grid-row: 2; }
.jgg-mgal--5 .jgg-mgal__item--5 { grid-column: 5 / 8; grid-row: 2; }
.jgg-mgal--4 .jgg-mgal__item--2 { grid-column: 2 / 8; grid-row: 1; }
.jgg-mgal--4 .jgg-mgal__item--3 { grid-column: 2 / 5; grid-row: 2; }
.jgg-mgal--4 .jgg-mgal__item--4 { grid-column: 5 / 8; grid-row: 2; }
.jgg-mgal--3 .jgg-mgal__item--2 { grid-column: 2 / 8; grid-row: 1; }
.jgg-mgal--3 .jgg-mgal__item--3 { grid-column: 2 / 8; grid-row: 2; }
.jgg-mgal--2 .jgg-mgal__item--2 { grid-column: 2 / 8; grid-row: 1 / 3; }
.jgg-mgal--1 .jgg-mgal__item--1 { grid-column: 1 / -1; }

.jgg-grid--multi { gap: 28px; }
.jgg-grid--multi .jgg-tabs { margin-top: 0; } /* top = booking card top */

/* Intro + photo highlights */
.jgg-intro .jgg-h2 { margin-bottom: 16px !important; }
.jgg-intro__text { font-size: 17px; line-height: 1.75; color: var(--ink); }
.jgg-intro__text p { margin: 0 0 12px !important; }
.jgg-sec--flat { border-top: 0; padding-top: 6px; }
.jgg-hcards { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 20px; }
.jgg-hcard__img { aspect-ratio: 450 / 230; overflow: hidden; background: var(--gray); }
.jgg-hcard__img img { width: 100%; height: 100% !important; object-fit: cover; }
.jgg-hcard figcaption::before, .jgg-hcard figcaption::after, .jgg-stay figcaption::before, .jgg-stay figcaption::after { content: none !important; display: none !important; }
.jgg-hcard figcaption, .jgg-stay figcaption { padding: 0 !important; text-align: left; }
.jgg-hcard figcaption { margin-top: 10px; }

/* What's included / not included (headings per column, everything shown) */
.jgg-incl--multi { margin-bottom: 0; }
.jgg-incl--multi .jgg-h3 { margin-bottom: 18px !important; }

/* Accommodation */
.jgg-stays { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.jgg-stay__img { position: relative; aspect-ratio: 290 / 170; background: var(--gray); }
.jgg-stay__ph { position: absolute; inset: 0; overflow: hidden; }
.jgg-stay__img img { width: 100%; height: 100% !important; object-fit: cover; }
.jgg-stay__name { position: absolute; left: 6px; bottom: -6px; padding: 5px 16px; background: #000; color: var(--yellow); font-size: 18px; font-weight: 800; line-height: 1.3; }
.jgg-stay figcaption { margin-top: 16px; }
.jgg-stays__nav { display: none; } /* arrows only on phones */
/* Photo captions (highlight cards, accommodation) = itinerary day text; important so theme figcaption styles can't change them. */
.jgg-trip .jgg-hcard figcaption, .jgg-trip .jgg-stay figcaption { font-family: var(--font) !important; font-size: 14px !important; line-height: 1.4 !important; font-weight: 500 !important; font-style: normal !important; letter-spacing: 0 !important; color: var(--muted) !important; }
.jgg-trip .jgg-stay figcaption { color: var(--ink) !important; } /* accommodation text: black */

/* Route map */
.jgg-route { position: relative; z-index: 0; isolation: isolate; height: 420px; margin: 0 0 26px; background: #e9eee6; }
.jgg-trip .jgg-route img { max-width: none !important; max-height: none !important; }
.jgg-route .mapboxgl-ctrl-attrib { font-size: 10px; }
.jgg-route__pin span { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50% !important; background: #000; color: #fff; border: 2px solid #fff; font-family: var(--font); font-size: 15px; font-weight: 800; box-shadow: 0 2px 6px rgba(0,0,0,.3); }
/*
 * Itinerary, day and multi-day tours (design "Itinerary & Journey"): numbered marker on the title line, a black line
 * segment under each marker down to the divider, divider starting at the text column.
 * Three classes deep so the Elementor kit's global <button> styles (padding, font, border) don't win.
 */
.jgg-trip .jgg-tl--days .jgg-tl__item { padding: 0 0 0 48px !important; }
.jgg-trip .jgg-tl--days .jgg-tl__item::before { left: 12px; top: 43px; bottom: 0; height: auto; width: 4px; display: block; }
.jgg-trip .jgg-tl--days .jgg-tl__item:last-child::before { display: none; }
.jgg-trip .jgg-tl--days .jgg-tl__item::after { content: ""; position: absolute; left: 48px; right: 0; bottom: 0; height: 1px; background: var(--line); }
.jgg-trip .jgg-tl--days .jgg-tl__item:last-child::after { display: none; }
.jgg-trip .jgg-tl--days .jgg-tl__marker { top: 9px; left: 0; width: 28px; height: 28px; }
.jgg-trip .jgg-tl--days .jgg-tl__num { width: 28px; height: 28px; font-size: 14px; font-weight: 700; font-family: var(--font); }
.jgg-trip .jgg-tl--days .jgg-tl__head { display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 12px; width: 100%; min-height: 0; margin: 0; padding: 12px 0 24px; border: 0; border-radius: 0; background: none; box-shadow: none; color: var(--ink); font: inherit; line-height: 1.3; text-align: left; text-transform: none; letter-spacing: 0; }
.jgg-trip .jgg-tl--days .jgg-tl__item.is-open .jgg-tl__head { padding-bottom: 14px; }
.jgg-trip .jgg-tl--days .jgg-tl__title { font-family: var(--font); font-size: 17px; font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; color: var(--ink); }
.jgg-trip .jgg-tl--days .jgg-tl__meta { margin-top: 16px; font-family: var(--font); font-size: 13px; font-weight: 600; line-height: 1.3; color: var(--muted); }
.jgg-trip .jgg-tl--days .jgg-tl__chev { font-size: 16px; color: var(--ink); }
.jgg-trip .jgg-tl--days .jgg-tl__body { grid-template-columns: 1fr 1.1fr; gap: 36px; padding: 0 0 26px; border-bottom: 0; }
.jgg-trip .jgg-tl--days .jgg-tl__body.is-text { grid-template-columns: 1fr; }
.jgg-trip .jgg-tl--days .jgg-tl__body, .jgg-trip .jgg-tl--days .jgg-tl__body * { line-height: 22.4px; } /* whole day block: text, photos and their boxes */
.jgg-trip .jgg-tl--days .jgg-tl__text { font-family: var(--font); font-size: 14px; line-height: 1.6; /* 22.4px */ font-weight: 500; color: var(--muted); }
.jgg-trip .jgg-tl--days .jgg-tl__text p { margin: 0 0 10px !important; }
.jgg-trip .jgg-tl__media:has(.jgg-tl__photo:only-child) { grid-template-columns: 1fr; } /* one photo = full width (beats the column rules, phones too) */
@media (max-width: 640px) {
	.jgg-trip .jgg-tl--days .jgg-tl__item { padding-left: 42px !important; }
	.jgg-trip .jgg-tl--days .jgg-tl__item::after { left: 42px; }
	.jgg-trip .jgg-tl--days .jgg-tl__title { font-size: 16px; }
	.jgg-trip .jgg-tl--days .jgg-tl__body { grid-template-columns: 1fr; gap: 16px; }
}

/* Booking card with the calendar always open */
.jgg-book--multi { padding: 28px 30px 30px; }
.jgg-trip .jgg-book__title { margin: 0 0 18px !important; font-size: 30px; font-weight: 800; letter-spacing: -0.02em; }
.jgg-book__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.jgg-book__hint { flex: 1 1 auto; min-width: 0; font-size: 14px; font-weight: 500; }
.jgg-book__row > :not(.jgg-book__hint) { flex: 0 0 auto; max-width: 55%; }
.jgg-trip .jgg-cur--book .jgg-cur__select { min-width: 104px; height: 40px; }
.jgg-book__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.jgg-book__top .jgg-book__from { padding-top: 2px; }
.jgg-trip .jgg-book__top .jgg-cur__select { min-width: 96px; height: 36px; }
.jgg-cal--inline .jgg-cal__head { margin-bottom: 14px; }
.jgg-cal--inline .jgg-cal__month { font-size: 18px; font-weight: 700; }
.jgg-trip .jgg-cal--inline .jgg-cal__nav { background: #fff; }
.jgg-cal--inline .jgg-cal__week span { font-size: 11px; letter-spacing: .04em; }
.jgg-trip .jgg-cal--inline .jgg-cal__day { font-size: 14px; color: #cfcfcf; }
.jgg-trip .jgg-cal--inline .jgg-cal__day.is-available { background: none; color: var(--ink); font-weight: 700; }
.jgg-trip .jgg-cal--inline .jgg-cal__day.is-available::after { display: none; }
.jgg-trip .jgg-cal--inline .jgg-cal__day.is-today:not(.is-selected) { background: var(--gray); }
.jgg-trip .jgg-cal--inline .jgg-cal__day.is-trip { background: #e6e6e6 !important; color: var(--ink); }
.jgg-trip .jgg-cal--inline .jgg-cal__day.is-selected { background: #000 !important; color: var(--yellow); border-color: #000; }
.jgg-book--multi .jgg-book__from { margin-top: 24px !important; }
.jgg-book__price--row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.jgg-book__price--row strong { display: inline !important; }
.jgg-book__price--row span { font-size: 15px; font-weight: 600; }
/* Booking card sale: black price, "Was ¥…" crossed out below (the red "-%" is checkout only) */
.jgg-book__price--row { margin-bottom: 14px !important; } /* gap before guests/date (was .jgg-book__per's) */
.jgg-book__price--row:has(+ .jgg-book__was) { margin-bottom: 0 !important; }
.jgg-book__was { margin: 4px 0 14px !important; font-size: 16px; font-weight: 500; color: var(--muted); }
.jgg-book__was del.jgg-was { margin: 0; font-weight: 500; }
.jgg-book__pax { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 58px; margin: 16px 0 14px; padding: 0 10px 0 16px; border: 1px solid var(--line); font-size: 18px; font-weight: 600; }
.jgg-book__total--est { color: var(--ink); font-size: 18px; font-weight: 600; margin-bottom: 12px !important; }
.jgg-book__help { margin-top: 14px !important; text-align: center; font-size: 15px; color: var(--muted); }
.jgg-trip .jgg-book__help a { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1200px) {
	.jgg-mgal { height: 460px; }
	.jgg-trip .jgg-mhead__cta { min-width: 0; }
}
@media (max-width: 960px) {
	.jgg-mhead { flex-direction: column; align-items: flex-start; gap: 16px; }
	.jgg-mhead__buy { flex-direction: row; flex-wrap: wrap; align-items: center; }
	.jgg-mgal { height: 380px; }
	.jgg-stays { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.jgg-grid--multi .jgg-book__help { order: 2; }
}
@media (max-width: 640px) {
	.jgg-mhead__price strong { font-size: 30px; }
	.jgg-trip .jgg-mhead__cta { width: 100%; }
	.jgg-mhead__buy { width: 100%; }
	.jgg-mgal { height: auto; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 6px; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); scrollbar-width: none; }
	.jgg-mgal::-webkit-scrollbar { display: none; }
	.jgg-mgal__item { flex: 0 0 86%; height: 260px; scroll-snap-align: center; }
	.jgg-hcards { grid-template-columns: 1fr; }
	/* Accommodation: swipeable slider, next card peeks in, arrows below */
	.jgg-stays { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter); margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 10px; scrollbar-width: none; }
	.jgg-stays::-webkit-scrollbar { display: none; }
	.jgg-stays .jgg-stay { flex: 0 0 82%; margin: 0; scroll-snap-align: start; }
	.jgg-stays__nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 218px; margin: 24px auto 0; } /* same sizing/spacing as the reference slider */
	.jgg-trip .jgg-stays__arrow { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border: 0; background: #000; color: var(--yellow); font-size: 20px; cursor: pointer; }
	.jgg-trip .jgg-stays__arrow:disabled { opacity: .3; cursor: default; }
	.jgg-route { height: 300px; }
	.jgg-book--multi { padding: 22px 18px; }
}

/* ==========================================================================
   "1 option available" box (day tours) – opens under the photos after "Check availability"
   ========================================================================== */
.jgg-opt { margin: 22px 0 4px; scroll-margin-top: 130px; }
.jgg-trip .jgg-opt__count { margin: 0 0 14px !important; font-size: 24px; font-weight: 800; letter-spacing: -0.02em; }
.jgg-opt__card { padding: 26px 28px 24px; border: 2px solid var(--ink); background: #fff; box-shadow: 6px 6px 0 var(--yellow); }
.jgg-trip .jgg-opt__title { margin: 0 0 16px !important; font-size: 21px; font-weight: 800; letter-spacing: -0.01em; }
.jgg-opt__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; padding-bottom: 20px !important; border-bottom: 1px solid var(--line); }
.jgg-opt__facts li { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 500; }
.jgg-opt__facts .ph-bold { font-size: 21px; flex: 0 0 auto; }
.jgg-opt__block { padding: 18px 0; border-bottom: 1px solid var(--line); }
.jgg-opt__label { font-size: 17px; font-weight: 700; margin-bottom: 4px !important; }
.jgg-opt__date { font-size: 16px; color: var(--muted); }
.jgg-opt__times { margin-top: 12px; }
.jgg-opt__times .jgg-booking__label { display: none; }
.jgg-trip .jgg-opt__times .jgg-time { height: 44px; padding: 0 18px; font-size: 16px; }
.jgg-opt__xlist { display: grid; gap: 10px; margin-top: 10px; }
.jgg-opt__x { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 12px; border: 1.5px solid var(--line); transition: border-color .15s; }
.jgg-opt__x.is-on { border-color: var(--ink); box-shadow: inset 4px 0 0 var(--yellow); }
.jgg-trip .jgg-opt__ximg { width: 64px; height: 64px; object-fit: cover; }
.jgg-opt__xemoji { display: flex; align-items: center; justify-content: center; background: var(--gray); font-size: 32px; line-height: 1; font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; }
.jgg-opt__x:not(:has(.jgg-opt__ximg)) { grid-template-columns: minmax(0, 1fr) auto; }
.jgg-opt__xname { font-size: 16px; font-weight: 700; line-height: 1.3; }
.jgg-opt__xdesc { font-size: 14px; color: var(--muted); line-height: 1.4; margin-top: 2px !important; }
.jgg-opt__xprice { font-size: 14px; color: var(--muted); margin-top: 4px !important; }
.jgg-opt__xprice strong { color: var(--ink); font-size: 15px; }
.jgg-trip .jgg-opt__xbtn { min-width: 92px; height: 42px; padding: 0 16px; border: 2px solid #000; background: #fff; font-size: 15px; font-weight: 700; }
.jgg-trip .jgg-opt__xbtn[aria-pressed="true"] { background: #000; color: var(--yellow); }
.jgg-opt__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding-top: 20px; }
.jgg-opt__total { font-size: 30px; font-weight: 900; line-height: 1.1; letter-spacing: -0.02em; }
.jgg-opt__calc { margin-top: 4px !important; font-size: 15px; color: var(--ink); }
.jgg-opt__fine { font-size: 13px; color: var(--muted); }
.jgg-trip .jgg-opt__cta { flex: 0 0 auto; min-width: 200px; min-height: 54px; padding: 0 34px; background: #000; color: var(--yellow); font-size: 18px; font-weight: 800; transition: background-color .15s; }
.jgg-trip .jgg-opt__cta:hover { background: #222; }
.jgg-trip .jgg-opt__cta.is-loading { opacity: .75; cursor: progress; }
@media (max-width: 640px) {
	.jgg-opt__card { padding: 20px 16px; box-shadow: 4px 4px 0 var(--yellow); }
	.jgg-opt__facts { grid-template-columns: 1fr; }
	.jgg-opt__foot { flex-direction: column; align-items: stretch; }
	.jgg-trip .jgg-opt__cta { width: 100%; }
	.jgg-opt__x { grid-template-columns: auto minmax(0, 1fr); }
	.jgg-opt__x .jgg-opt__xbtn { grid-column: 1 / -1; justify-self: end; }
}

/* ---------- Review form (inc/jgg-reviews.php) ---------- */
.jgg-review-form .comment-reply-title { margin: 0 0 6px !important; font-size: 24px; font-weight: 800; }
.jgg-review-form .logged-in-as, .jgg-review-form .required-field-message { font-size: 13px; color: var(--muted); margin-bottom: 14px !important; }
.jgg-review-form .logged-in-as a { text-decoration: underline; }
.jgg-rf__stars { margin: 0 0 18px; padding: 0; border: 0; }
.jgg-rf__stars legend { margin-bottom: 8px; padding: 0; font-size: 15px; font-weight: 700; }
.jgg-rf__boxes { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.jgg-rf__stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.jgg-rf__stars label { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: #d9d9d9; cursor: pointer; transition: background-color .1s; }
.jgg-rf__stars label svg { width: 24px; height: 24px; fill: #fff; }
.jgg-rf__stars label:hover, .jgg-rf__stars label:hover ~ label,
.jgg-rf__stars input:checked ~ label { background: #000; }
.jgg-rf__stars input:focus-visible + label { outline: 3px solid var(--yellow); outline-offset: 2px; }
.jgg-rf__row { margin: 0 0 14px !important; }
.jgg-review-form label[for], .jgg-review-form .comment-form-comment label { display: block; margin-bottom: 6px; font-size: 15px; font-weight: 700; }
.jgg-trip .jgg-review-form input[type=text], .jgg-trip .jgg-review-form input[type=email], .jgg-trip .jgg-review-form input[type=url], .jgg-trip .jgg-review-form textarea { width: 100%; padding: 12px 14px !important; border: 1.5px solid #8a8a8a !important; border-radius: 0 !important; background: #fff !important; font: inherit; font-size: 16px; box-shadow: none !important; }
.jgg-trip .jgg-review-form textarea { min-height: 140px; }
.jgg-trip .jgg-review-form input:focus, .jgg-trip .jgg-review-form textarea:focus { border-color: #000 !important; outline: 3px solid var(--yellow); outline-offset: 0; }
.jgg-review-form input[type=file] { font-size: 14px; }
.jgg-trip .jgg-review-form input[type=file]::file-selector-button { margin-right: 12px; padding: 8px 16px; border: 1.5px solid #000; border-radius: 0; background: #fff; color: #000; font: inherit; font-weight: 700; cursor: pointer; }
.jgg-trip .jgg-review-form .form-submit input[type=submit], .jgg-trip .jgg-review-form .submit { min-width: 180px; min-height: 52px; padding: 0 28px; border: 0; border-radius: 0; background: #000; color: var(--yellow); font-size: 17px; font-weight: 800; cursor: pointer; }
.jgg-rf__stars .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.jgg-review-form .jgg-rf__stars label { display: flex; margin: 0; }

/* Group prices in the booking card (jgg-trip.js renderGroup) */
.jgg-trip .jgg-gd { margin: 12px 0 4px; padding: 12px 14px; border: 1px solid var(--line); background: #fff; }
.jgg-trip .jgg-gd__title { display: flex; align-items: center; gap: 8px; margin: 0 0 8px !important; font-size: 14px; font-weight: 700; }
.jgg-trip .jgg-gd__list { list-style: none; margin: 0 !important; padding: 0 !important; }
.jgg-trip .jgg-gd__list li { display: grid; grid-template-columns: 1fr auto auto; align-items: baseline; gap: 8px; margin: 0 !important; padding: 5px 8px !important; font-size: 14px; color: var(--muted, #666); }
.jgg-trip .jgg-gd__list li strong { color: var(--ink); font-weight: 700; }
.jgg-trip .jgg-gd__list li small { font-size: 12px; }
.jgg-trip .jgg-gd__list li.is-on { background: #ececec; color: var(--ink); font-weight: 600; }
.jgg-trip .jgg-gd__save { margin: 8px 0 0 !important; font-size: 13px; font-weight: 600; color: #1e7b34; }

/* Calendar title as month + year dropdowns */
.jgg-trip .jgg-cal__pick { display: inline-flex; align-items: center; justify-content: center; gap: 14px; }
.jgg-trip .jgg-cal__sel { -webkit-appearance: none; appearance: none; width: auto; min-width: 0; height: auto; margin: 0; padding: 4px 22px 4px 2px !important; font: inherit; font-size: inherit; font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; color: var(--ink); background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 4px center !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; cursor: pointer; }
.jgg-trip .jgg-cal__sel:hover { text-decoration: underline; }
.jgg-trip .jgg-cal__sel:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.jgg-trip .jgg-cal__title .jgg-cal__sel, .jgg-trip .jgg-cal__month .jgg-cal__sel { font-size: 22px; }
.jgg-trip .jgg-cal__month .jgg-cal__sel { font-size: 18px; }
@media (max-width: 560px) { .jgg-trip .jgg-cal__title .jgg-cal__sel { font-size: 18px; } }

/* "Discover the real gay Japan" – same type as "Around the corner." on the place pages (jgg-places plugin, place.css; values read from the live page) */
.jgg-trip .jgg-guides .jgg-sec__head { align-items: baseline; flex-wrap: wrap; gap: 16px; margin-bottom: 22px; }
.jgg-trip .jgg-guides .jgg-mono--lg { margin: 0 0 10px !important; font-size: 12px; font-weight: 700; line-height: 1.55; letter-spacing: .08em; color: #666; }
.jgg-trip .jgg-guides .jgg-h2--xl { margin: 0 !important; font-size: clamp(26px, 2.4vw, 32px); font-weight: 800; line-height: 1.1; letter-spacing: -.03em; color: #000; }
.jgg-trip .jgg-guides .jgg-ulink { gap: 4px; font-size: 14.5px; font-weight: 650; line-height: 1.55; text-decoration-thickness: 1.5px; }
.jgg-trip .jgg-guides .jgg-ulink i { font-size: 14px; }
.jgg-trip .jgg-guides .jgg-rgrid { gap: 24px 20px; }
.jgg-trip .jgg-guides .jgg-gcard__img { margin-bottom: 0; }
.jgg-trip .jgg-guides .jgg-gcard .jgg-mono { margin: 16px 0 0 !important; font-size: 13px; font-weight: 600; line-height: 1.4; letter-spacing: .08em; color: #666; }
.jgg-trip .jgg-guides .jgg-gcard h3 { margin: 8px 0 0 !important; font-size: 20px; font-weight: 750; line-height: 1.3; letter-spacing: -.015em; color: #000; }
.jgg-trip .jgg-guides .jgg-gcard__img + h3 { margin-top: 10px !important; }
.jgg-trip .jgg-guides .jgg-gcard:hover h3 { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
@media (max-width: 640px) { .jgg-trip .jgg-guides .jgg-gcard h3 { font-size: 18px; } }

/* Itinerary: Highlights / Food / Optional Upgrade inside a day or stop (Itinerary tab in the trip editor): plain headings + lists, like the design */
.jgg-tl__extras { margin-top: 4px; }
.jgg-tl__x { margin-top: 20px; }
.jgg-trip .jgg-tl__x .jgg-tl__xh { margin: 0 0 6px !important; font-family: var(--font); font-size: 16px; font-weight: 700; line-height: 1.4; letter-spacing: 0; color: var(--ink); }
.jgg-tl__x ul { list-style: none; margin: 0 !important; padding: 0 !important; }
.jgg-tl__x li { position: relative; margin: 0 !important; padding-left: 27px; font-size: 14px; line-height: 1.6; font-weight: 500; color: var(--muted); }
.jgg-tl__x li::before { content: ""; position: absolute; left: 11px; top: .72em; width: 4px; height: 4px; border-radius: 50%; background: #888; }
.jgg-tl__x ul.is-plain li { padding-left: 12px; }
.jgg-tl__x ul.is-plain li::before { content: none; }
.jgg-tl__x li strong { font-weight: 700; color: var(--ink); }
.jgg-trip .jgg-guides .jgg-ulink { color: #000 !important; }

/* "Save for later" above the booking card (inc/jgg-favorites.php). Saving: the heart pops and fills up with the brand rainbow. */
.jgg-grid__aside > .jgg-wish { position: absolute; right: 0; bottom: calc(100% + 8px); }
.jgg-wish { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 4px 0; border: 0; background: none; color: var(--ink, #111); font: inherit; font-size: 15px; font-weight: 800; line-height: 1.2; cursor: pointer; }
.jgg-wish, .jgg-wish .jgg-wish__label { font-weight: 600 !important; font-size: 15px !important; } /* the theme's button styles would make it regular weight */
.jgg-wish__label { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.jgg-wish:hover .jgg-wish__label { text-decoration-thickness: 2.5px; }
.jgg-wish:focus-visible { outline: 3px solid #F6EB4A; outline-offset: 3px; }
.jgg-wish__heart { width: 24px; height: 24px; overflow: visible; flex: 0 0 auto; }
.jgg-wish__fill { transform: translateY(100%); transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.jgg-wish[aria-pressed="true"] .jgg-wish__fill { transform: translateY(0); }
.jgg-wish__line { transition: stroke .2s; }
.jgg-wish[aria-pressed="true"] .jgg-wish__line { stroke: #111; }
.jgg-wish.is-pop .jgg-wish__heart { animation: jgg-wish-pop .45s cubic-bezier(.2, .8, .2, 1); }
@keyframes jgg-wish-pop { 0% { transform: scale(1); } 35% { transform: scale(1.35); } 60% { transform: scale(.92); } 100% { transform: scale(1); } }
.jgg-wish.is-busy { pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .jgg-wish__fill { transition: none; } .jgg-wish.is-pop .jgg-wish__heart { animation: none; } }
@media (max-width: 960px) {
	.jgg-grid__aside > .jgg-wish { position: static; display: flex; margin: 0 0 10px auto; }
}
