/**
 * Kinzy diamond detail — shared by Shop Diamonds (the panel beneath a card),
 * the ring category's "Your ring" bar and the product page (the chosen
 * diamond's dialog). The same tokens as the ring builder and Shop Diamonds,
 * defined here on every root that uses them so the block renders the same
 * wherever it is mounted.
 */
.keb-sd-detail, .keb-dd, .keb-ring-bar {
	--keb-sd-ink: var(--kinzy-deep-truffle, #211a18);
	--keb-sd-garnet: var(--kinzy-garnet, #351211);
	--keb-sd-paper: var(--kinzy-diamond-white, #f8f6f2);
	--keb-sd-warm: var(--kinzy-warm-ivory, #f3ece4);
	--keb-sd-warm-dark: #ece2d8;
	--keb-sd-gold: var(--kinzy-champagne-gold, #bfa277);
	--keb-sd-gold-dark: #765126;
	--keb-sd-muted: #6f6560;
	--keb-sd-soft: #8d857a;
	--keb-sd-line: rgba(53, 18, 17, 0.18);
	--keb-sd-line-soft: rgba(53, 18, 17, 0.09);
	--keb-sd-tile-line: #d8cec5;
	--keb-sd-card-line: #e6e2dc;
	--keb-sd-serif: var(--kinzy-serif, "Cormorant Garamond", Georgia, "Times New Roman", serif);
	--keb-sd-sans: var(--kinzy-sans, "Jost", "Helvetica Neue", Arial, sans-serif);
}

/* Hue dot before a coloured stone's grade (chips, cards, rows, detail) */
.keb-sd-hue {
	display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin: 0 7px 0 0; vertical-align: 0;
	background: var(--keb-hue, #d8cec5); box-shadow: inset 0 0 0 1px rgba(33, 26, 24, 0.12); flex: 0 0 auto;
}
.keb-sd-scale__item input:checked + span .keb-sd-hue { box-shadow: 0 0 0 1.5px #fff; }
.keb-sd-detail__row dd .keb-sd-hue { vertical-align: 1px; }


/* Detail block — the builder's expanded diamond: stage + thumbs on the left, grades on the right */
.keb-sd-detail {
	position: relative; background: #fff; border: 1px solid var(--keb-sd-line); border-radius: 2px; box-sizing: border-box;
	display: grid; grid-template-columns: minmax(260px, 420px) minmax(0, 1fr); gap: 36px; padding: 28px 30px 30px; margin: 0;
	color: var(--keb-sd-ink); font-family: var(--keb-sd-sans); font-size: 14px; line-height: 1.45; text-align: left;
}
.keb-sd-detail *, .keb-sd-detail *::before, .keb-sd-detail *::after { box-sizing: border-box; }
.keb-sd-detail p, .keb-sd-detail dl, .keb-sd-detail dt, .keb-sd-detail dd { font-family: inherit; }
.keb-sd-detail:focus { outline: none; }
.keb-sd-detail__close {
	position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(73, 18, 20, 0.2);
	background: rgba(255, 253, 249, 0.9); cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--keb-sd-ink); padding: 0; z-index: 3; box-shadow: none;
}
.keb-sd-detail__close svg { width: 12px; height: 12px; }
.keb-sd-detail__close:hover { border-color: var(--keb-sd-garnet); color: var(--keb-sd-garnet); background: #fff; }
.keb-sd-detail__close:focus-visible { outline: 2px solid var(--keb-sd-gold); outline-offset: 3px; }
.keb-sd-detail__media { min-width: 0; }
.keb-sd-detail__stage {
	position: relative; aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; overflow: hidden;
	background: #fff; border: 1px solid var(--keb-sd-line-soft); border-radius: 2px; padding: 0;
}
.keb-sd-detail__stage img { width: 100%; height: 100%; object-fit: contain; display: block; }
.keb-sd-detail__stage video, .keb-sd-detail__stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; display: block; border: 0; background: #fff; object-fit: cover; }
.keb-sd-detail__drawing { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; padding: 6% 4%; color: var(--keb-sd-ink); }
.keb-sd-draw { width: 100%; height: 100%; display: block; font-family: var(--keb-sd-sans); }
.keb-sd-draw__stone { stroke-width: 1.1; }
.keb-sd-draw__stone path, .keb-sd-draw__stone circle, .keb-sd-draw__stone ellipse, .keb-sd-draw__stone rect { stroke-width: 1.05; }
.keb-sd-draw__facets { opacity: 0.55; }
.keb-sd-draw__dim { fill: none; stroke: var(--keb-sd-gold-dark); stroke-width: 0.8; }
.keb-sd-draw__label { font-size: 6.6px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; fill: var(--keb-sd-muted); }
.keb-sd-draw__value { font-size: 7.6px; fill: var(--keb-sd-ink); }
.keb-sd-detail__thumbs { display: flex; gap: 8px; margin-top: 10px; }
.keb-sd-detail__thumb {
	flex: 0 0 auto; min-width: 64px; height: 64px; border: 1px solid var(--keb-sd-tile-line); border-radius: 4px; background: #fffdfa; cursor: pointer; padding: 0 10px;
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: var(--keb-sd-muted); font: inherit; font-size: 9.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
	overflow: hidden; transition: border-color .15s, color .15s; box-shadow: none;
}
.keb-sd-detail__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.keb-sd-detail__thumb--photo { padding: 0; width: 64px; }
.keb-sd-detail__thumb svg { width: 24px; height: 24px; display: block; }
.keb-sd-detail__thumb:hover { border-color: var(--keb-sd-ink); color: var(--keb-sd-ink); background: #fffdfa; }
.keb-sd-detail__thumb.is-selected { border-color: var(--keb-sd-garnet); box-shadow: inset 0 0 0 1px var(--keb-sd-garnet); color: var(--keb-sd-ink); }
.keb-sd-detail__thumb:focus-visible { outline: 2px solid var(--keb-sd-gold); outline-offset: 2px; }
.keb-sd-detail__info { min-width: 0; padding-right: 48px; display: flex; flex-direction: column; text-align: left; }
.keb-sd-detail__eyebrow { margin: 0 0 8px; font-size: 10px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--keb-sd-gold-dark); }
.keb-sd-detail__title { font-family: var(--keb-sd-serif); font-weight: 400; font-size: clamp(24px, 2.2vw, 30px); line-height: 1.15; margin: 0 0 6px; letter-spacing: 0; color: var(--keb-sd-ink); text-transform: none; }
.keb-sd-detail__sub { margin: 0 0 2px; font-size: 14px; line-height: 1.45; color: var(--keb-sd-ink); }
.keb-sd-detail__quality { margin: 0 0 12px; font-size: 13.5px; line-height: 1.45; color: var(--keb-sd-muted); }
.keb-sd-detail__price { margin: 0 0 20px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
.keb-sd-detail__price b { font-family: var(--keb-sd-serif); font-weight: 600; font-size: 24px; letter-spacing: 0; color: var(--keb-sd-ink); font-variant-numeric: tabular-nums; }
.keb-sd-detail__price span { font-size: 12px; color: var(--keb-sd-muted); }
/* The grade table sits in a <details>: always open on wide viewports (toggle hidden), folded on phones */
.keb-sd-detail__more { display: block; margin: 0 0 22px; }
.keb-sd-detail__more-toggle { display: none; list-style: none; }
.keb-sd-detail__more-toggle::-webkit-details-marker { display: none; }
.keb-sd-detail__specs { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 28px; }
.keb-sd-detail__row { display: block; padding: 9px 0 8px; border-bottom: 1px solid var(--keb-sd-line-soft); min-width: 0; }
.keb-sd-detail__row dt { margin: 0 0 3px; color: var(--keb-sd-muted); font-size: 10px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.keb-sd-detail__row dd { margin: 0; color: var(--keb-sd-ink); font-size: 13.5px; font-weight: 400; overflow-wrap: anywhere; }
.keb-sd-detail__actions { margin-top: auto; display: grid; grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr); gap: 12px; align-items: stretch; }
.keb-sd-detail__actions.is-single { grid-template-columns: minmax(0, 1fr); }
.keb-sd-detail__actions.is-triple { grid-template-columns: repeat(2, minmax(0, 1fr)); }
/* v0.11.13: the primary button takes the full second row (it is no longer always the last child) */
.keb-sd-detail__actions.is-triple > .keb-sd-detail__cta { grid-column: 1 / -1; }
.keb-sd-detail__actions.is-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.keb-sd-detail__cta, .keb-sd-detail__secondary {
	display: inline-flex; align-items: center; justify-content: center; text-align: center; text-decoration: none; cursor: pointer; min-width: 0; width: 100%;
	font-family: inherit; font-size: 12px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; line-height: 1.2; min-height: 48px; padding: 13px 20px; border-radius: 0;
	transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}
.keb-sd-detail__cta { background: var(--keb-sd-garnet); color: #fff; border: 1px solid var(--keb-sd-garnet); }
.keb-sd-detail__cta:hover { background: var(--keb-sd-ink); border-color: var(--keb-sd-ink); color: #fff; }
.keb-sd-detail__secondary { background: var(--keb-sd-paper); color: var(--keb-sd-ink); border: 1px solid #b9b0aa; }
.keb-sd-detail__secondary:hover { background: var(--keb-sd-garnet); border-color: var(--keb-sd-garnet); color: #fff; }
.keb-sd-detail__cta:focus-visible, .keb-sd-detail__secondary:focus-visible { outline: 2px solid var(--keb-sd-gold); outline-offset: 3px; }
/* v0.11.13: the quiet line beneath the buttons (Remove this diamond) */
.keb-sd-detail__actions > .keb-sd-detail__quiet {
	grid-column: 1 / -1; justify-self: center; width: auto; min-width: 0; min-height: 0; margin: 2px 0 0; padding: 4px 0; background: none; border: 0; border-radius: 0; box-shadow: none; cursor: pointer;
	font-family: inherit; font-size: 10.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; line-height: 1.2; color: var(--keb-sd-muted);
	text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; transition: color 160ms ease;
}
.keb-sd-detail__actions > .keb-sd-detail__quiet:hover { color: var(--keb-sd-garnet); background: none; }
.keb-sd-detail__actions > .keb-sd-detail__quiet:focus-visible { outline: 2px solid var(--keb-sd-gold); outline-offset: 3px; }
.keb-sd-detail__note { margin: 12px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--keb-sd-muted); }


@media (max-width: 1100px) {
	.keb-sd-detail { grid-template-columns: minmax(240px, 360px) minmax(0, 1fr); gap: 28px; padding: 24px; }
	.keb-sd-detail__info { padding-right: 40px; }
	.keb-sd-detail__specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* Phones (v0.9.11): a short sheet — stage capped well under half the screen, the
   title, grade line and price next, the full table folded behind one toggle, and
   the actions pinned to the bottom edge so Select / Keep / Choose a setting is
   always one tap away without scrolling. */
@media (max-width: 680px) {
	.keb-sd-detail { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 14px 16px 0; }
	.keb-sd-detail__close { top: 8px; right: 8px; width: 36px; height: 36px; }
	.keb-sd-detail__stage { aspect-ratio: 4 / 3; max-height: 38vh; max-height: 38dvh; }
	.keb-sd-detail__stage img { object-fit: cover; }
	.keb-sd-detail__thumbs { gap: 6px; margin-top: 8px; }
	.keb-sd-detail__thumb { flex: 1 1 0; min-width: 0; height: 46px; padding: 0 4px; gap: 3px; font-size: 8.5px; letter-spacing: 0.1em; }
	.keb-sd-detail__thumb--photo { flex: 0 0 46px; width: 46px; }
	.keb-sd-detail__thumb svg { width: 18px; height: 18px; }
	.keb-sd-detail__info { padding-right: 0; }
	.keb-sd-detail__eyebrow { margin-bottom: 5px; font-size: 9.5px; }
	.keb-sd-detail__title { font-size: 22px; line-height: 1.15; margin-bottom: 4px; padding-right: 0; }
	.keb-sd-detail__sub { font-size: 13.5px; }
	.keb-sd-detail__quality { font-size: 12.5px; margin-bottom: 8px; }
	.keb-sd-detail__price { margin-bottom: 10px; gap: 2px 10px; }
	.keb-sd-detail__price b { font-size: 21px; }
	.keb-sd-detail__price span { font-size: 11.5px; }
	.keb-sd-detail__more { margin: 0 0 10px; border-top: 1px solid var(--keb-sd-line-soft); }
	.keb-sd-detail__more-toggle {
		display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 46px; padding: 0; cursor: pointer;
		font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--keb-sd-ink);
	}
	.keb-sd-detail__more-toggle:focus-visible { outline: 2px solid var(--keb-sd-gold); outline-offset: 2px; }
	.keb-sd-detail__more-toggle svg { flex: 0 0 auto; width: 12px; height: 12px; color: var(--keb-sd-soft); transition: transform .2s ease; }
	.keb-sd-detail__more[open] > .keb-sd-detail__more-toggle svg { transform: rotate(180deg); }
	.keb-sd-detail__specs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; margin: 0 0 6px; }
	.keb-sd-detail__row { padding: 8px 0 7px; }
	.keb-sd-detail__row dd { font-size: 13px; }
	.keb-sd-detail__actions, .keb-sd-detail__actions.is-single, .keb-sd-detail__actions.is-triple, .keb-sd-detail__actions.is-pair {
		position: sticky; bottom: 0; z-index: 4; margin: auto -16px 0; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
		background: #fff; border-top: 1px solid var(--keb-sd-line-soft); box-shadow: 0 -14px 24px -18px rgba(33, 26, 24, 0.45);
		display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px;
	}
	.keb-sd-detail__actions > .keb-sd-detail__cta { grid-column: 1 / -1; order: -1; min-height: 50px; }
	.keb-sd-detail__actions:not(.is-triple) > .keb-sd-detail__secondary { grid-column: 1 / -1; }
	.keb-sd-detail__secondary { min-height: 40px; padding: 8px 10px; font-size: 11px; letter-spacing: 0.1em; }
	.keb-sd-detail__note { display: none; }
}

/* Dialog: the chosen diamond, opened from the ring bar or the product page */
.keb-dd {
	position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 28px 24px;
	font-family: var(--keb-sd-sans); animation: keb-dd-fade .18s ease;
}
@keyframes keb-dd-fade { from { opacity: 0; } to { opacity: 1; } }
.keb-dd__backdrop { position: absolute; inset: 0; background: rgba(33, 26, 24, 0.58); }
.keb-dd__panel.keb-sd-detail {
	position: relative; z-index: 1; width: min(1100px, 100%); max-height: calc(100vh - 56px); overflow: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
	border-color: transparent; box-shadow: 0 34px 70px -24px rgba(0, 0, 0, 0.5); animation: keb-dd-rise .22s ease;
}
@keyframes keb-dd-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.keb-dd__panel:focus { outline: none; }
body.keb-dd-open { overflow: hidden; }
/* Inside an open <dialog> (the product page's diamond studio) the sheet is a
   child of that dialog, so it shares the top layer and covers the studio. */
dialog .keb-dd { position: fixed; inset: 0; }
@media (max-width: 680px) {
	.keb-dd { padding: 0; align-items: flex-end; }
	/* the overlay is inset: 0, so the sheet fills exactly what is visible (no vh/dvh guesswork) */
	.keb-dd__panel.keb-sd-detail { width: 100%; height: 100%; max-height: none; border-radius: 0; animation: keb-dd-up .24s ease; }
	@keyframes keb-dd-up { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
}

/* "Your ring" bar on the ring category (diamond first). v0.9.21: a slim
   strip beneath the site header — the stone (photo, name in the serif, grade,
   price), Details / Change, and the three-step trail as small capitals on the
   right — above the theme's own page, which keeps its hero, style edit,
   heading and filters. It stays put while the settings scroll, above the page
   but beneath the header's own menus. */
body.keb-journey-catalogue-active .keb-ring-bar {
	position: sticky; top: var(--keb-bar-top, 0px); z-index: 40; box-sizing: border-box; display: flex; align-items: center; gap: 28px; width: 100%; max-width: none; margin: 0; padding: 9px clamp(16px, 3vw, 60px);
	min-height: 62px; background: #fff; border-bottom: 1px solid var(--keb-sd-tile-line); border-radius: 0; box-shadow: none; color: var(--keb-sd-ink);
	font-family: var(--keb-sd-sans); font-size: 13px; line-height: 1.35; scroll-margin-top: 140px; transition: box-shadow .2s;
}
body.keb-journey-catalogue-active .keb-ring-bar .keb-sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
body.keb-journey-catalogue-active .keb-ring-bar.is-stuck { box-shadow: 0 12px 24px -18px rgba(33, 26, 24, 0.4); }
body.keb-journey-catalogue-active .keb-ring-bar *, body.keb-journey-catalogue-active .keb-ring-bar *::before, body.keb-journey-catalogue-active .keb-ring-bar *::after { box-sizing: border-box; }
/* the header's own menus open above the strip */
body.keb-journey-catalogue-active #header, body.keb-journey-catalogue-active #masthead, body.keb-journey-catalogue-active header[role="banner"] { z-index: 45; }

/* the trail: 1 DIAMOND ✓ · 2 SETTING · 3 COMPLETE, on the right */
body.keb-journey-catalogue-active .keb-ring-bar__trail { list-style: none; margin: 0 0 0 auto; padding: 0; display: flex; align-items: center; gap: 0; flex: 0 0 auto; order: 3; }
body.keb-journey-catalogue-active .keb-ring-bar__trail-step {
	position: relative; display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 0; list-style: none;
	font-size: 10.5px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; line-height: 1.2; color: var(--keb-sd-soft);
}
body.keb-journey-catalogue-active .keb-ring-bar__trail-step + .keb-ring-bar__trail-step { margin-left: 18px; padding-left: 18px; }
body.keb-journey-catalogue-active .keb-ring-bar__trail-step + .keb-ring-bar__trail-step::before { content: ""; position: absolute; left: 0; top: 50%; width: 1px; height: 12px; margin-top: -6px; background: var(--keb-sd-tile-line); }
body.keb-journey-catalogue-active .keb-ring-bar__trail-no { font-family: var(--keb-sd-serif); font-size: 15px; font-weight: 400; letter-spacing: 0; line-height: 1; color: var(--keb-sd-gold); }
body.keb-journey-catalogue-active .keb-ring-bar__trail-step.is-complete { color: var(--keb-sd-ink); }
body.keb-journey-catalogue-active .keb-ring-bar__trail-step.is-complete .keb-ring-bar__trail-no,
body.keb-journey-catalogue-active .keb-ring-bar__trail-step.is-current .keb-ring-bar__trail-no { color: var(--keb-sd-gold-dark); }
body.keb-journey-catalogue-active .keb-ring-bar__trail-step.is-current { color: var(--keb-sd-garnet); font-weight: 600; }
body.keb-journey-catalogue-active .keb-ring-bar__trail-step.is-current .keb-ring-bar__trail-label { border-bottom: 1px solid var(--keb-sd-gold); padding-bottom: 2px; }
body.keb-journey-catalogue-active .keb-ring-bar__trail-tick { display: inline-flex; width: 11px; height: 11px; color: var(--keb-sd-gold-dark); }
body.keb-journey-catalogue-active .keb-ring-bar__trail-tick svg { width: 11px; height: 11px; display: block; }

/* the stone */
body.keb-journey-catalogue-active .keb-ring-bar__body { display: flex; align-items: center; gap: 28px; flex: 1 1 auto; min-width: 0; order: 1; }
body.keb-journey-catalogue-active .keb-ring-bar__diamond { display: flex; align-items: center; gap: 20px; min-width: 0; flex: 0 1 auto; }
body.keb-journey-catalogue-active .keb-ring-bar__item {
	display: flex; align-items: center; gap: 14px; min-width: 0; margin: 0; padding: 0; background: none; border: 0; border-radius: 0; box-shadow: none;
	font: inherit; color: inherit; text-align: left; cursor: default; min-height: 0;
}
body.keb-journey-catalogue-active button.keb-ring-bar__item { cursor: pointer; }
body.keb-journey-catalogue-active button.keb-ring-bar__item:hover { background: none; }
body.keb-journey-catalogue-active button.keb-ring-bar__item:hover .keb-ring-bar__title { color: var(--keb-sd-garnet); }
body.keb-journey-catalogue-active button.keb-ring-bar__item:focus-visible { outline: 2px solid var(--keb-sd-gold); outline-offset: 4px; }
body.keb-journey-catalogue-active .keb-ring-bar__thumb {
	flex: 0 0 auto; width: 42px; height: 42px; border-radius: 0; border: 1px solid var(--keb-sd-tile-line); background: #fff; overflow: hidden;
	display: flex; align-items: center; justify-content: center; color: var(--keb-sd-gold);
}
body.keb-journey-catalogue-active .keb-ring-bar__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
body.keb-journey-catalogue-active .keb-ring-bar__thumb svg { width: 26px; height: 26px; display: block; }
body.keb-journey-catalogue-active .keb-ring-bar__text { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
body.keb-journey-catalogue-active .keb-ring-bar__eyebrow { font-size: 9.5px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--keb-sd-gold-dark); line-height: 1.2; }
body.keb-journey-catalogue-active .keb-ring-bar__title { font-family: var(--keb-sd-serif); font-size: 21px; font-weight: 400; letter-spacing: 0; color: var(--keb-sd-ink); line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .15s; }
body.keb-journey-catalogue-active .keb-ring-bar__grade { font-size: 12.5px; color: var(--keb-sd-muted); line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.keb-journey-catalogue-active .keb-ring-bar__grade b { font-weight: 500; color: var(--keb-sd-ink); }
body.keb-journey-catalogue-active .keb-ring-bar__links { flex: 0 0 auto; display: flex; align-items: center; gap: 16px; margin: 0; padding-left: 20px; border-left: 1px solid var(--keb-sd-tile-line); align-self: stretch; }
body.keb-journey-catalogue-active .keb-ring-bar a.keb-ring-bar__link,
body.keb-journey-catalogue-active .keb-ring-bar button.keb-ring-bar__link {
	display: inline-flex; align-items: center; height: 18px; margin: 0; padding: 0 0 2px; background: none; border: 0; border-bottom: 1px solid var(--keb-sd-gold); border-radius: 0; box-shadow: none; cursor: pointer; min-height: 0; vertical-align: middle;
	font-family: inherit; font-size: 10px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; line-height: 1; color: var(--keb-sd-ink); text-decoration: none; transition: color .15s, border-color .15s;
}
/* v0.11.13: Remove reads quieter than Details / Change */
body.keb-journey-catalogue-active .keb-ring-bar button.keb-ring-bar__link--remove { color: var(--keb-sd-muted); border-bottom-color: var(--keb-sd-tile-line); }
body.keb-journey-catalogue-active .keb-ring-bar button.keb-ring-bar__link--remove:hover { color: var(--keb-sd-garnet); border-bottom-color: var(--keb-sd-garnet); }
body.keb-journey-catalogue-active .keb-ring-bar__link:hover { color: var(--keb-sd-garnet); border-bottom-color: var(--keb-sd-garnet); background: none; }
body.keb-journey-catalogue-active .keb-ring-bar__link:focus-visible { outline: 2px solid var(--keb-sd-gold); outline-offset: 3px; }
/* "none of these fit" — the only time the strip says anything else */
body.keb-journey-catalogue-active .keb-ring-bar__next { display: none; min-width: 0; }
body.keb-journey-catalogue-active .keb-ring-bar[data-keb-fit] .keb-ring-bar__next { display: block; flex: 1 1 auto; }
body.keb-journey-catalogue-active .keb-ring-bar__count { margin: 0; font-size: 13px; line-height: 1.4; color: var(--keb-sd-ink); }
body.keb-journey-catalogue-active .keb-ring-bar__fit-link { color: var(--keb-sd-garnet); font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; white-space: nowrap; }
body.keb-journey-catalogue-active .keb-ring-bar__fit-link:hover { color: var(--keb-sd-ink); }

@media (max-width: 1100px) {
	body.keb-journey-catalogue-active .keb-ring-bar { gap: 18px; }
	body.keb-journey-catalogue-active .keb-ring-bar__title { font-size: 19px; }
	body.keb-journey-catalogue-active .keb-ring-bar__trail-step + .keb-ring-bar__trail-step { margin-left: 12px; padding-left: 12px; }
}
@media (max-width: 820px) {
	body.keb-journey-catalogue-active .keb-ring-bar { flex-wrap: wrap; gap: 8px 12px; padding: 8px 16px; min-height: 58px; }
	body.keb-journey-catalogue-active .keb-ring-bar__trail { display: none; }
	body.keb-journey-catalogue-active .keb-ring-bar__body { flex-wrap: wrap; gap: 8px 12px; }
	body.keb-journey-catalogue-active .keb-ring-bar__diamond { flex: 1 1 100%; gap: 12px; justify-content: space-between; }
	body.keb-journey-catalogue-active .keb-ring-bar__item { gap: 10px; flex: 1 1 auto; }
	body.keb-journey-catalogue-active .keb-ring-bar__thumb { width: 40px; height: 40px; }
	body.keb-journey-catalogue-active .keb-ring-bar__thumb svg { width: 24px; height: 24px; }
	body.keb-journey-catalogue-active .keb-ring-bar__eyebrow { display: none; }
	body.keb-journey-catalogue-active .keb-ring-bar__title { font-size: 18px; }
	body.keb-journey-catalogue-active .keb-ring-bar__grade { font-size: 12px; }
	body.keb-journey-catalogue-active .keb-ring-bar__links { flex-direction: column; align-items: flex-end; gap: 7px; padding-left: 12px; }
	body.keb-journey-catalogue-active .keb-ring-bar[data-keb-fit] .keb-ring-bar__next { flex: 1 1 100%; padding-top: 8px; border-top: 1px solid var(--keb-sd-line-soft); }
	body.keb-journey-catalogue-active .keb-ring-bar__count { font-size: 12.5px; }
	body.keb-journey-catalogue-active .keb-ring-bar__fit-link { white-space: normal; }
}

/* v0.9.18 — each compatible setting's card prices the finished ring. (v0.9.21:
   the theme's hero, style edit and heading are back — the strip sits above
   them rather than replacing them.) */
body.keb-journey-catalogue-active .keb-ring-total { display: inline-flex; flex-direction: column; align-items: inherit; gap: 1px; line-height: 1.25; }
body.keb-journey-catalogue-active .keb-ring-total__amount { font-weight: 600; }
body.keb-journey-catalogue-active .keb-ring-total__note { display: block; font-size: 11px; font-weight: 400; letter-spacing: 0.02em; color: var(--keb-sd-muted, #6f6560); text-transform: none; }
