.keb-product-builder,
.keb-product-summary-controls,
.keb-product-diamonds {
	--keb-ink: var( --kinzy-deep-truffle, #211a18 );
	--keb-burgundy: var( --kinzy-garnet, #351211 );
	--keb-muted: #6f6560;
	--keb-line: rgba( 53, 18, 17, 0.18 );
	--keb-soft-line: rgba( 53, 18, 17, 0.09 );
	--keb-paper: var( --kinzy-diamond-white, #f8f6f2 );
	--keb-warm: var( --kinzy-warm-ivory, #f3ece4 );
	--keb-warm-dark: #ece2d8;
	--keb-gold: var( --kinzy-champagne-gold, #bfa277 );
	--keb-radius: 0;
	--keb-shadow: 0 14px 38px rgba( 33, 26, 24, 0.08 );
	--keb-studio-bar-offset: calc( 68px + env( safe-area-inset-top ) );
	color: var( --keb-ink );
	font-family: inherit;
}

.keb-product-builder {
	clear: both;
	flex: 0 0 100%;
	grid-column: 1 / -1 !important;
	max-width: none;
	min-width: 0;
	width: 100%;
}

body.keb-product-builder-active.single-product div.product > .keb-product-builder,
body.keb-product-builder-active.single-product div.product > .keb-product-diamonds {
	clear: both;
	flex: 0 0 100%;
	float: none;
	grid-column: 1 / -1 !important;
	max-width: none;
	min-width: 0;
	width: 100%;
}

/*
 * Product-level Kinzy cutover: suppress only the engagement controls that the
 * Allied picker would duplicate. The native gallery, title, description and
 * specification copy remain owned by the product template; KEB renders the
 * setting price once inside its own summary.
 */
body.keb-product-builder-active .summary .diamond_summary,
body.keb-product-builder-active .summary .ag-ring-options,
body.keb-product-builder-active .summary .top-price,
body.keb-product-builder-active .summary form.cart:not( .keb-product-cart-form ),
body.keb-product-builder-active .summary #yith-wapo-container,
body.keb-product-builder-active .summary #selectedDiamondId,
body.keb-product-builder-active .summary #selectedDiamondDisplay,
body.keb-product-builder-active .summary .single_add_to_cart_button[name="add-to-cart"],
body.keb-product-builder-active .summary hr.product_hr,
body.keb-product-builder-active .keb-product-legacy-cart,
body.keb-product-builder-active .ag-diamond-picker-wrap,
body.keb-product-builder-active #choose-diamond {
	display: none !important;
}

/* Keep the broadly supported suppression list valid when :has() is unavailable. */
body.keb-product-builder-active .summary form.cart:has( #yith-wapo-container ) {
	display: none !important;
}

/* v0.8.51: the ring name in the house product-title style (Jost, spaced capitals). */
body.keb-product-builder-active.single-product .summary .product_name,
body.keb-product-builder-active.single-product .summary .product_title,
body.keb-product-builder-active.single-product .summary .entry-title {
	color: var( --keb-ink );
	font-family: var( --kinzy-sans, "Jost", sans-serif );
	font-size: 20px;
	font-weight: 400;
	letter-spacing: 0.18em;
	line-height: 1.5;
	margin: 0;
	text-transform: uppercase;
	text-wrap: balance;
}

.keb-product-builder *,
.keb-product-builder *::before,
.keb-product-builder *::after,
.keb-product-summary-controls *,
.keb-product-summary-controls *::before,
.keb-product-summary-controls *::after,
.keb-product-diamonds *,
.keb-product-diamonds *::before,
.keb-product-diamonds *::after {
	box-sizing: border-box;
}

.keb-product-builder [hidden],
.keb-product-summary-controls [hidden],
.keb-product-diamonds [hidden] {
	display: none !important;
}

.keb-product-preview-notice {
	background: var( --keb-warm );
	border: 0;
	border-left: 2px solid var( --keb-burgundy );
	color: var( --keb-muted );
	font-size: 12px;
	line-height: 1.6;
	margin: 0 0 16px;
	padding: 10px 14px;
}

.keb-product-journey-note {
	align-items: baseline;
	border-top: 1px solid var( --keb-hairline );
	display: flex;
	flex-wrap: wrap;
	gap: 7px 18px;
	justify-content: space-between;
	padding: 14px 0;
}

.keb-product-journey-note p {
	color: var( --keb-muted );
	font-size: 13px;
	line-height: 1.55;
	margin: 0;
}

.keb-product-journey-note a,
.keb-product-selected-summary__change {
	color: var( --keb-burgundy );
	font-size: 11px;
	font-weight: 550;
	letter-spacing: 0.05em;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
}

/*
 * v0.8.51: the buy panel is a column of hairline rows in the house style —
 * price, metal, ring size, then the diamond rows once a stone is chosen.
 * Rows carry their own rules and spacing, so the panel itself has no gap.
 */
.keb-product-summary-controls {
	--keb-hairline: var( --kinzy-line, #e9e2d8 );
	--keb-soft: var( --kinzy-soft, #8d857a );
	--keb-tile-line: #d8cec5;
	clear: both;
	display: grid;
	gap: 0;
	margin: 0 0 28px;
	padding: 0;
	text-align: left;
}

/* The theme sizes every summary paragraph at 18px; the panel's own paragraphs set their own. */
body.keb-product-builder-active .keb-product-summary-controls .keb-product-ring-size-picker__hint {
	font-size: 12px;
	line-height: 1.5;
}

body.keb-product-builder-active .keb-product-summary-controls .keb-product-preview-notice {
	font-size: 12px;
	line-height: 1.6;
}

body.keb-product-builder-active .keb-product-summary-controls .keb-product-journey-note p {
	font-size: 13px;
	line-height: 1.55;
}

/* Setting price under the ring name, with one caption that says what it covers. */
.keb-product-price-line {
	color: var( --keb-ink );
	display: grid;
	gap: 4px;
	margin: 18px 0 22px;
}

.keb-product-price-line strong {
	font-size: 22px;
	font-weight: 400;
	letter-spacing: 0.01em;
	line-height: 1.3;
}

.keb-product-price-line__note {
	color: var( --keb-soft );
	font-size: 11px;
	letter-spacing: 0.04em;
	line-height: 1.5;
}

/* Field labels and values shared by the metal and ring-size rows. */
.keb-product-field-label {
	color: var( --keb-soft );
	display: block;
	font-size: 10px;
	font-weight: 500;
	letter-spacing: 0.2em;
	line-height: 1.4;
	text-transform: uppercase;
}

.keb-product-field-value {
	color: var( --keb-ink );
	display: block;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.5;
}

.keb-product-text-link {
	appearance: none;
	background: transparent;
	border: 0;
	border-bottom: 1px solid var( --keb-tile-line );
	border-radius: 0;
	color: var( --keb-soft );
	cursor: pointer;
	font-family: inherit;
	font-size: 12px;
	font-weight: 400;
	line-height: 1.5;
	margin: 0;
	padding: 0;
	text-decoration: none;
	transition: color 160ms ease, border-color 160ms ease;
}

.keb-product-text-link:hover {
	border-bottom-color: var( --keb-burgundy );
	color: var( --keb-burgundy );
}

.keb-product-price-breakdown {
	background: transparent;
	border: 0;
	display: grid;
}

.keb-product-price-breakdown__row {
	align-items: center;
	border-bottom: 1px solid var( --keb-hairline );
	display: flex;
	gap: 16px;
	justify-content: space-between;
	min-height: 56px;
	padding: 14px 0;
}

.keb-product-price-breakdown__row span {
	color: var( --keb-soft );
	font-size: 10px;
	font-weight: 500;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}

.keb-product-price-breakdown__row strong {
	font-size: 13px;
	font-weight: 400;
	min-width: 0;
	overflow-wrap: anywhere;
	text-align: right;
}

.keb-product-price-breakdown__row--total {
	background: transparent;
}

.keb-product-price-breakdown__row--total span {
	color: var( --keb-ink );
}

.keb-product-price-breakdown__row--total strong {
	font-size: 15px;
}

/* Metal: label and current finish on the left, the swatches on the right. */
.keb-product-metal-picker {
	align-items: center;
	border: 0;
	border-top: 1px solid var( --keb-hairline );
	display: flex;
	gap: 18px;
	justify-content: space-between;
	margin: 0;
	min-height: 72px;
	min-width: 0;
	padding: 14px 0;
}

.keb-product-filter-group__label,
.keb-product-sort > span,
.keb-product-field > span {
	color: var( --keb-ink );
	display: block;
	font-size: 12px;
	font-weight: 650;
	letter-spacing: 0.08em;
	margin: 0 0 9px;
	text-transform: uppercase;
}

.keb-product-metal-picker__heading {
	display: grid;
	gap: 4px;
	min-width: 0;
}

.keb-product-metal-picker__options {
	align-items: center;
	display: flex;
	flex: 0 0 auto;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: flex-end;
}

.keb-product-metal-picker__option {
	align-items: center;
	background: transparent;
	border: 0;
	border-radius: 50%;
	color: var( --keb-ink );
	display: inline-flex;
	flex: 0 0 28px;
	height: 28px;
	justify-content: center;
	padding: 0;
	position: relative;
	text-decoration: none;
	transition: box-shadow 160ms ease;
	width: 28px;
}

/* The chosen finish wears a ring: a gap of page colour, then a garnet line. */
.keb-product-metal-picker__option.is-current {
	box-shadow: 0 0 0 3px var( --keb-paper ), 0 0 0 4px var( --keb-burgundy );
}

.keb-product-metal-picker__option:hover:not( .is-current ) {
	box-shadow: 0 0 0 3px var( --keb-paper ), 0 0 0 4px var( --keb-tile-line );
}

.keb-product-metal-picker__swatch {
	background-color: var( --keb-metal-swatch, #c9c7c1 );
	background-image: linear-gradient( 135deg, #c8c6c1 0%, #faf9f6 50%, #dedbd5 100% );
	border: 1px solid #b5aca4;
	border-radius: 50%;
	box-shadow: none;
	display: block;
	flex: 0 0 28px;
	height: 28px;
	overflow: hidden;
	position: relative;
	width: 28px;
}

.keb-product-metal-picker__option[data-metal-key$="_yellow_gold"] .keb-product-metal-picker__swatch {
	background-image: linear-gradient( 135deg, #d4b25f 0%, #fff8dc 50%, #e6cc86 100% );
}

.keb-product-metal-picker__option[data-metal-key$="_white_gold"] .keb-product-metal-picker__swatch {
	background-image: linear-gradient( 135deg, #d7d7d4 0%, #fafafa 50%, #e5e3df 100% );
}

.keb-product-metal-picker__option[data-metal-key="platinum"] .keb-product-metal-picker__swatch {
	background-image: linear-gradient( 135deg, #bfc4c6 0%, #f7f9f9 50%, #d8dcdd 100% );
}

.keb-product-metal-picker__option[data-metal-key$="_rose_gold"] .keb-product-metal-picker__swatch {
	background-image: linear-gradient( 135deg, #d7a08c 0%, #fae2d8 50%, #e6b5a3 100% );
}

.keb-product-summary-controls__fields {
	display: block;
}

.keb-product-size-select,
.keb-product-field {
	background: var( --keb-paper );
	border: 0;
	border-bottom: 1px solid var( --keb-line );
	margin: 0;
	min-width: 0;
}

.keb-product-size-select {
	align-items: center;
	display: grid;
	grid-template-columns: auto minmax( 0, 1fr );
	min-height: 58px;
}

.keb-product-size-select > span {
	color: var( --keb-ink );
	font-size: 18px;
	font-weight: 400;
	letter-spacing: 0;
	text-transform: none;
}

.keb-product-size-select select {
	appearance: none;
	background-color: transparent;
	background-image: linear-gradient( 45deg, transparent 50%, var( --keb-ink ) 50% ), linear-gradient( 135deg, var( --keb-ink ) 50%, transparent 50% );
	background-position: calc( 100% - 8px ) 50%, calc( 100% - 3px ) 50%;
	background-repeat: no-repeat;
	background-size: 5px 5px, 5px 5px;
	border: 0;
	box-shadow: none;
	color: var( --keb-ink );
	font: inherit;
	font-size: 14px;
	height: 57px;
	margin: 0;
	outline: 0;
	padding: 0 24px 0 18px;
	text-align: right;
	width: 100%;
}

.keb-product-size-select select:invalid {
	color: var( --keb-muted );
}

/*
 * Ring size: a heading row (label, size guide, the current size as a toggle)
 * over a native <details> whose own summary is visually hidden. The size
 * tiles inside are generated from the fallback <select> by the script.
 */
.keb-product-ring-size-control {
	border-bottom: 1px solid var( --keb-hairline );
	border-top: 1px solid var( --keb-hairline );
	display: block;
	margin: 0;
	min-width: 0;
	padding: 14px 0;
	position: relative;
	width: 100%;
}

.keb-product-ring-size-control__heading {
	align-items: center;
	display: flex;
	gap: 18px;
	justify-content: space-between;
	min-height: 44px;
}

.keb-product-ring-size-control__toggle {
	align-items: center;
	appearance: none;
	background: transparent;
	border: 0;
	border-radius: 0;
	color: var( --keb-ink );
	cursor: pointer;
	display: inline-flex;
	font-family: inherit;
	font-size: 13px;
	font-weight: 400;
	gap: 12px;
	line-height: 1.4;
	margin: 0;
	min-height: 44px;
	padding: 0;
	text-align: right;
}

.keb-product-ring-size-control__toggle strong {
	font-weight: 400;
	white-space: nowrap;
}

.keb-product-ring-size-control__chevron {
	color: var( --keb-burgundy );
	flex: 0 0 10px;
	height: 6px;
	transition: transform 160ms ease;
	width: 10px;
}

.keb-product-ring-size-control__toggle[aria-expanded="true"] .keb-product-ring-size-control__chevron {
	transform: rotate( 180deg );
}

.keb-product-ring-size-control__toggle:focus-visible,
.keb-product-text-link:focus-visible {
	outline: 2px solid var( --keb-gold );
	outline-offset: 4px;
}

.keb-product-ring-size-picker {
	border: 0;
	display: block;
	margin: 0;
	min-width: 0;
	padding: 0;
	width: 100%;
}

.keb-product-ring-size-picker__panel {
	display: grid;
	gap: 16px;
	min-width: 0;
	padding: 16px 0 6px;
	width: 100%;
}

.keb-product-ring-size-picker__hint {
	color: var( --keb-soft );
	font-size: 12px;
	line-height: 1.5;
	margin: 0;
}

.keb-product-ring-size-review > summary {
	align-items: center;
	cursor: pointer;
	display: grid;
	gap: 16px;
	grid-template-columns: minmax( 0, 1fr ) auto 18px;
	list-style: none;
	min-height: 58px;
	padding: 0;
	-webkit-tap-highlight-color: transparent;
}

.keb-product-ring-size-review > summary::-webkit-details-marker {
	display: none;
}

.keb-product-ring-size-review > summary::after {
	border-bottom: 1px solid currentColor;
	border-right: 1px solid currentColor;
	content: "";
	height: 8px;
	justify-self: end;
	transform: rotate( 45deg ) translateY( -2px );
	transition: transform 160ms ease;
	width: 8px;
}

.keb-product-ring-size-review[open] > summary::after {
	transform: rotate( 225deg ) translate( -2px, -2px );
}

.keb-product-ring-size-review > summary:focus-visible {
	outline: 2px solid var( --keb-gold );
	outline-offset: 4px;
}

.keb-product-ring-size-review > summary > span {
	color: var( --keb-ink );
	font-size: 18px;
	font-weight: 400;
}

.keb-product-ring-size-review > summary > strong {
	color: var( --keb-muted );
	font-size: 13px;
	font-weight: 500;
	text-align: right;
}

.keb-product-ring-size-review__panel {
	border-top: 1px solid var( --keb-line );
	padding: 18px 0 20px;
}

.keb-product-size-select--before-diamond {
	border-bottom: 0;
	grid-template-columns: auto minmax( 0, 1fr );
	min-height: 50px;
}

.keb-product-size-select--before-diamond > strong {
	color: var( --keb-muted );
	font-size: 13px;
	font-weight: 450;
	justify-self: end;
}

.keb-product-size-select--before-diamond select:not( .keb-product-sr-select ) {
	grid-column: 1 / -1;
}

.keb-product-chip-grid label,
.keb-product-check-grid label,
.keb-product-segments label {
	cursor: pointer;
	margin: 0;
	position: relative;
}

.keb-product-chip-grid input,
.keb-product-segments input {
	height: 1px;
	left: 0;
	opacity: 0;
	position: absolute;
	top: 0;
	width: 1px;
}

.keb-product-field {
	display: block;
	padding: 10px 0;
}

.keb-product-field > span {
	color: var( --keb-muted );
	font-size: 10px;
	margin-bottom: 4px;
}

.keb-product-field input {
	background: transparent;
	border: 0;
	box-shadow: none;
	color: var( --keb-ink );
	font: inherit;
	font-size: 13px;
	margin: 0;
	min-height: 26px;
	outline: 0;
	padding: 0;
	width: 100%;
}

.keb-product-button {
	align-items: center;
	appearance: none;
	background: transparent;
	border: 1px solid var( --keb-ink );
	border-radius: 2px;
	box-shadow: none;
	color: var( --keb-ink );
	cursor: pointer;
	display: inline-flex;
	font-family: inherit;
	font-size: 12px;
	font-weight: 500;
	justify-content: center;
	letter-spacing: 0.1em;
	line-height: 1.2;
	min-height: 46px;
	padding: 13px 20px;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.keb-product-button { border-radius: 0; }


.keb-product-button:hover:not( :disabled ) {
	transform: none;
}

.keb-product-button--primary {
	background: var( --keb-burgundy );
	border-color: var( --keb-burgundy );
	color: #fff;
}

.keb-product-button--primary:hover:not( :disabled ) {
	background: var( --keb-ink );
	border-color: var( --keb-ink );
	color: #fff;
}

.keb-product-button--summary {
	background: var( --keb-burgundy );
	border: 1px solid var( --keb-burgundy );
	color: #fff;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.16em;
	margin-top: 20px;
	min-height: 54px;
	padding: 16px 22px;
}

.keb-product-button--summary:hover:not( :disabled ) {
	background: var( --keb-ink );
	border-color: var( --keb-ink );
	color: #fff;
}

.keb-product-button--secondary {
	background: var( --keb-paper );
	border-color: #b9b0aa;
	width: 100%;
}

.keb-product-button--secondary:hover:not( :disabled ) {
	background: var( --keb-burgundy );
	border-color: var( --keb-burgundy );
	color: #fff;
}

.keb-product-button--text {
	border: 0;
	min-height: 44px;
	padding: 5px 0;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
}

.keb-product-button--wide {
	width: 100%;
}

.keb-product-button:disabled,
.keb-product-button[aria-disabled="true"] {
	cursor: not-allowed;
	opacity: 0.42;
	transform: none;
}

.keb-product-button:focus-visible,
.keb-product-metal-picker__option:focus-visible,
.keb-product-size-select select:focus-visible,
.keb-product-diamond-studio__close:focus-visible,
.keb-product-diamond-detail-panel__close:focus-visible,
.keb-product-diamonds input:focus-visible,
.keb-product-diamonds select:focus-visible,
.keb-product-diamonds summary:focus-visible,
.keb-product-diamonds a:focus-visible {
	outline: 2px solid var( --keb-gold );
	outline-offset: 3px;
}

/* The chosen stone, written as one more hairline row above its price. */
.keb-product-selected-summary {
	align-items: center;
	background: transparent;
	border-bottom: 1px solid var( --keb-hairline );
	display: grid;
	gap: 4px 18px;
	grid-template-columns: minmax( 0, 1fr ) auto;
	margin: 0;
	padding: 14px 0;
}

.keb-product-selected-summary span {
	color: var( --keb-soft );
	font-size: 10px;
	font-weight: 500;
	grid-column: 1;
	letter-spacing: 0.2em;
	line-height: 1.4;
	text-transform: uppercase;
}

.keb-product-selected-summary strong {
	font-size: 13px;
	font-weight: 400;
	grid-column: 1;
	line-height: 1.5;
}

/* The running total already has its own row beneath; the row shows the stone. */
.keb-product-selected-summary b {
	display: none;
}

.keb-product-selected-summary__change {
	grid-column: 1;
	justify-self: start;
}

.keb-product-selected-summary__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 5px 14px;
	grid-column: 1 / -1 !important;
	margin-top: 5px;
}

body.keb-diamond-studio-open {
	overflow: hidden;
}

.keb-product-diamonds:not( [open] ) {
	display: none;
}

.keb-product-diamonds[open] {
	background: var( --keb-paper );
	border: 1px solid var( --keb-line );
	clear: both;
	display: block;
	float: none;
	height: auto;
	inset: 0;
	margin: clamp( 16px, 3vh, 36px ) auto;
	max-height: calc( 100vh - clamp( 32px, 6vh, 72px ) );
	max-height: calc( 100dvh - clamp( 32px, 6vh, 72px ) );
	max-width: min( 1360px, calc( 100vw - clamp( 24px, 4vw, 88px ) ) );
	overflow-x: hidden;
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: 0;
	position: fixed;
	scroll-margin-top: 0;
	width: 100%;
	z-index: 100000;
	animation: keb-studio-enter 340ms cubic-bezier( 0.22, 0.7, 0.3, 1 );
	box-shadow: 0 32px 90px rgba( 33, 26, 24, 0.28 );
}

@keyframes keb-studio-enter {
	from {
		opacity: 0;
		transform: translateY( 14px );
	}

	to {
		opacity: 1;
		transform: translateY( 0 );
	}
}

@media ( prefers-reduced-motion: reduce ) {
	.keb-product-diamonds[open] {
		animation: none;
	}
}

.keb-product-diamonds::backdrop {
	background: rgba( 33, 26, 24, 0.55 );
	backdrop-filter: blur( 3px );
	-webkit-backdrop-filter: blur( 3px );
}

.keb-product-diamond-studio__bar {
	align-items: center;
	background: #fff;
	border-bottom: 1px solid var( --keb-line );
	display: flex;
	gap: 24px;
	justify-content: space-between;
	min-height: 68px;
	padding: calc( 9px + env( safe-area-inset-top ) ) max( clamp( 20px, 4vw, 64px ), env( safe-area-inset-right ) ) 9px max( clamp( 20px, 4vw, 64px ), env( safe-area-inset-left ) );
	position: sticky;
	top: 0;
	z-index: 20;
}

.keb-product-diamond-studio__close {
	align-items: center;
	appearance: none;
	background: transparent;
	border: 0;
	color: var( --keb-ink );
	cursor: pointer;
	display: inline-flex;
	font: inherit;
	font-size: 11px;
	font-weight: 650;
	gap: 10px;
	letter-spacing: 0.11em;
	margin: 0;
	min-height: 44px;
	padding: 8px 0;
	text-transform: uppercase;
}

.keb-product-diamond-studio__close > span[aria-hidden="true"] {
	font-size: 20px;
	font-weight: 350;
	line-height: 1;
}

.keb-product-diamond-studio__context {
	align-items: center;
	display: flex;
	gap: 13px;
	justify-content: flex-end;
	line-height: 1.2;
	min-width: 0;
	text-align: right;
}

.keb-product-diamond-studio__thumb {
	background: #fff;
	border: 1px solid var( --keb-soft-line );
	display: block;
	flex: 0 0 auto;
	height: 46px;
	overflow: hidden;
	width: 46px;
}

.keb-product-diamond-studio__thumb img {
	display: block;
	height: 100%;
	object-fit: contain;
	padding: 2px;
	width: 100%;
}

.keb-product-diamond-studio__context-text {
	display: grid;
	justify-items: end;
	min-width: 0;
}

.keb-product-diamond-studio__context-text > span {
	color: var( --keb-gold );
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.14em;
	margin-bottom: 3px;
	text-transform: uppercase;
}

.keb-product-diamond-studio__context-text strong {
	font-family: var( --kinzy-serif, Georgia, "Times New Roman", serif );
	font-size: 15px;
	font-weight: 400;
	max-width: min( 46vw, 480px );
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.keb-product-diamond-studio__context-text small {
	color: var( --keb-muted );
	font-size: 11px;
	margin-top: 3px;
	max-width: min( 46vw, 480px );
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.keb-product-diamonds__header {
	align-items: baseline;
	background: transparent;
	border: 0;
	border-bottom: 1px solid var( --keb-line );
	color: var( --keb-ink );
	display: flex;
	flex-wrap: wrap;
	gap: 10px 40px;
	justify-content: space-between;
	margin: 0 auto;
	max-width: 1360px;
	padding: clamp( 22px, 3vw, 34px ) clamp( 24px, 4vw, 56px ) clamp( 18px, 2.4vw, 26px );
	text-align: left;
}

.keb-product-diamonds__header p,
.keb-product-diamonds__header h2 {
	color: inherit;
	margin: 0;
}

.keb-product-diamonds__header > div > p {
	color: var( --keb-gold );
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.16em;
	margin-bottom: 7px;
	text-transform: uppercase;
}

.keb-product-diamonds__header h2 {
	font-family: var( --kinzy-serif, Georgia, "Times New Roman", serif );
	font-size: clamp( 25px, 2.6vw, 33px );
	font-weight: 400;
	letter-spacing: -0.01em;
	line-height: 1.12;
}

.keb-product-diamonds__intro {
	color: var( --keb-muted );
	font-size: 13.5px;
	line-height: 1.6;
	margin: 0;
	max-width: 400px;
}

.keb-product-diamonds__intro > :last-child {
	margin-bottom: 0;
}

.keb-product-diamonds__layout {
	display: grid;
	gap: 0;
	grid-template-columns: clamp( 272px, 21vw, 312px ) minmax( 0, 1fr );
	margin: 0 auto;
	max-width: 1360px;
	padding: 0 clamp( 24px, 4vw, 56px );
}

.keb-product-diamonds__layout.keb-product-diamonds__layout--no-filters {
	grid-template-columns: minmax( 0, 1fr );
}

.keb-product-filters {
	align-self: start;
	background: transparent;
	border-right: 1px solid var( --keb-soft-line );
	max-height: calc( 100vh - var( --keb-studio-bar-offset ) );
	max-height: calc( 100dvh - var( --keb-studio-bar-offset ) );
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: 0 26px 34px 0;
	position: sticky;
	top: var( --keb-studio-bar-offset );
	scrollbar-color: rgba( 53, 18, 17, 0.24 ) transparent;
	scrollbar-width: thin;
}

.keb-product-filter-heading {
	background: var( --keb-paper );
	border-bottom: 1px solid var( --keb-line );
	padding: 26px 0 17px;
	position: sticky;
	top: 0;
	z-index: 2;
}

.keb-product-filter-heading p {
	color: var( --keb-gold );
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.16em;
	margin: 0 0 5px;
	text-transform: uppercase;
}

.keb-product-filter-heading h3,
.keb-product-results-toolbar h3 {
	color: var( --keb-ink );
	font-family: var( --kinzy-serif, Georgia, "Times New Roman", serif );
	font-size: clamp( 22px, 2vw, 28px );
	font-weight: 400;
	letter-spacing: -0.015em;
	line-height: 1.15;
	margin: 0;
	text-transform: none;
}

.keb-product-filters form {
	display: grid;
	gap: 0;
	margin: 0;
}

.keb-product-filter-group,
.keb-product-filter-details,
.keb-product-sort,
.keb-product-filter-actions {
	border: 0;
	border-bottom: 1px solid var( --keb-soft-line );
	display: block;
	margin: 0;
	padding: 19px 0;
}

fieldset.keb-product-filter-group {
	min-width: 0;
}

.keb-product-filter-group__label,
.keb-product-sort > span {
	font-size: 11px;
	margin-bottom: 9px;
}

.keb-product-segments {
	display: flex;
	flex-wrap: wrap;
	gap: 2px 22px;
}

.keb-product-segments span {
	align-items: center;
	background: transparent;
	border: 0;
	box-shadow: inset 0 -1px 0 transparent;
	color: var( --keb-muted );
	cursor: pointer;
	display: inline-flex;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.02em;
	line-height: 1.2;
	min-height: 40px;
	padding: 4px 1px;
	text-align: left;
	transition: color 140ms ease, box-shadow 140ms ease;
}

.keb-product-segments label:hover span {
	color: var( --keb-ink );
}

.keb-product-segments input:checked + span {
	box-shadow: inset 0 -2px 0 var( --keb-burgundy );
	color: var( --keb-ink );
	font-weight: 600;
}

.keb-product-chip-grid span {
	align-items: center;
	background: transparent;
	border: 1px solid var( --keb-line );
	color: var( --keb-ink );
	display: flex;
	font-size: 11px;
	font-weight: 500;
	justify-content: center;
	line-height: 1.2;
	min-height: 42px;
	padding: 6px;
	text-align: center;
	transition: background 140ms ease, border-color 140ms ease, color 140ms ease;
}

.keb-product-chip-grid input:checked + span {
	background: var( --keb-burgundy );
	border-color: var( --keb-burgundy );
	color: #fff;
}

/* v0.9.43: the collections (white, coloured, gemstones) share one line. */
.keb-product-segments--stones {
	display: grid;
	gap: 0 8px;
	grid-auto-columns: minmax( 0, 1fr );
	grid-auto-flow: column;
}

.keb-product-segments--stones span {
	justify-content: center;
	padding: 4px 2px;
	text-align: center;
	width: 100%;
}

/* v0.9.48: Diamond | Gemstone — the first choice in the rail. */
.keb-product-filter-group--stone {
	margin-bottom: 18px;
}

[data-keb-stone-collection] .keb-product-segments label[data-keb-mode="gem"] {
	display: none;
}

/* One diamond collection only (coloured off): nothing to choose, so the row stays out of sight. */
[data-keb-stone-collection][data-keb-single-collection] {
	display: none;
}

/* v0.9.47: the single "view in person" chip spans the rail. */
.keb-product-filter-group--viewing .keb-product-option-grid > label {
	flex: 1 1 100%;
	grid-column: 1 / -1;
}

/* v0.9.44: richer gemstone cards — size and availability line, ring total, 360° badge and hover player. */
.keb-product-diamond-card__meta {
	color: var( --keb-muted );
	display: flex;
	flex-wrap: wrap;
	font-size: 12.5px;
	gap: 4px 14px;
	letter-spacing: 0;
	line-height: 1.4;
	margin: -10px 0 14px;
}

.keb-product-diamond-card__meta span:not(:first-child)::before {
	content: '·';
	margin-right: 10px;
	opacity: 0.6;
}

.keb-product-diamond-card__ring-total {
	color: var( --keb-muted );
	display: block;
	font-size: 12px;
	font-weight: 400;
	letter-spacing: 0;
	line-height: 1.3;
	margin-top: 2px;
}

.keb-product-diamond-card__video-badge {
	background: rgba( 255, 255, 255, 0.92 );
	border-radius: 999px;
	color: var( --keb-ink );
	font-size: 10.5px;
	font-weight: 600;
	letter-spacing: 0.06em;
	line-height: 1;
	padding: 5px 8px;
	pointer-events: none;
	position: absolute;
	right: 10px;
	top: 10px;
	z-index: 2;
}

.keb-product-diamond-card__hover-video {
	background: #fff;
	border: 0;
	display: block;
	height: 100%;
	inset: 0;
	left: 0;
	object-fit: cover;
	pointer-events: none;
	position: absolute;
	top: 0;
	width: 100%;
	z-index: 1;
}

.keb-product-results[data-view="list"] .keb-product-diamond-card__meta {
	grid-column: 1;
	margin-top: -6px;
}

.keb-product-segments input:focus-visible + span,
.keb-product-chip-grid input:focus-visible + span {
	outline: 2px solid var( --keb-gold );
	outline-offset: 2px;
}

.keb-product-filter-details summary {
	cursor: pointer;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.04em;
	list-style: none;
	padding-right: 20px;
	position: relative;
	text-transform: none;
}

.keb-product-filter-details summary::-webkit-details-marker {
	display: none;
}

.keb-product-filter-details summary::after {
	content: "+";
	font-size: 17px;
	font-weight: 350;
	position: absolute;
	right: 0;
	top: -4px;
}

.keb-product-filter-details[open] summary::after {
	content: "−";
}

.keb-product-chip-grid,
.keb-product-check-grid {
	display: grid;
	gap: 5px;
	grid-template-columns: repeat( 3, minmax( 0, 1fr ) );
	margin-top: 13px;
}

.keb-product-check-grid {
	grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
}

.keb-product-check-grid label {
	align-items: center;
	display: flex;
	font-size: 11px;
	gap: 7px;
	line-height: 1.25;
	min-height: 44px;
}

.keb-product-check-grid input {
	accent-color: var( --keb-ink );
	height: 15px;
	margin: 0;
	width: 15px;
}

.keb-product-locked-value {
	background: transparent;
	border: 1px solid var( --keb-line );
	display: block;
	font-size: 12px;
	font-weight: 600;
	padding: 9px 10px;
	text-align: center;
}

.keb-product-range {
	align-items: end;
	display: grid;
	gap: 7px;
	grid-template-columns: minmax( 0, 1fr ) auto minmax( 0, 1fr );
}

.keb-product-range label,
.keb-product-range input {
	min-width: 0;
}

.keb-product-range label span {
	color: var( --keb-muted );
	display: block;
	font-size: 10px;
	letter-spacing: 0.05em;
	margin-bottom: 4px;
	text-transform: uppercase;
}

.keb-product-range input,
.keb-product-sort select {
	appearance: none;
	background: #fff;
	border: 1px solid var( --keb-line );
	border-radius: 0;
	box-shadow: none;
	color: var( --keb-ink );
	font-family: inherit;
	font-size: 12px;
	height: 44px;
	margin: 0;
	padding: 6px 8px;
	width: 100%;
}

.keb-product-sort select {
	background-image: linear-gradient( 45deg, transparent 50%, #555 50% ), linear-gradient( 135deg, #555 50%, transparent 50% );
	background-position: calc( 100% - 14px ) 16px, calc( 100% - 10px ) 16px;
	background-repeat: no-repeat;
	background-size: 4px 4px, 4px 4px;
	padding-right: 26px;
}

.keb-product-filter-actions {
	display: grid;
	gap: 5px;
}

.keb-product-filter-actions .keb-product-button {
	width: 100%;
}

.keb-product-filter-actions__close {
	display: none;
}

.keb-product-results-wrap {
	background: transparent;
	container: keb-product-results-wrap / inline-size;
	min-width: 0;
	padding: 30px 0 56px clamp( 24px, 2.6vw, 40px );
}

.keb-product-results-toolbar {
	align-items: flex-end;
	border-bottom: 1px solid var( --keb-line );
	display: flex;
	justify-content: space-between;
	margin: 0 0 22px;
	min-height: 40px;
	padding-bottom: 15px;
}

.keb-product-results-toolbar p {
	color: var( --keb-muted );
	font-size: 12px;
	margin: 5px 0 0;
	scroll-margin-top: var( --keb-studio-bar-offset );
}

.keb-product-button--filter {
	display: none;
	min-height: 44px;
	padding: 8px 13px;
}

.keb-product-results {
	display: grid;
	gap: 22px;
	grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
}

.keb-product-diamond-card {
	background: #fff;
	border: 1px solid #e6e2dc;
	border-radius: 8px;
	box-shadow: none;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	grid-column: auto;
	min-width: 0;
	overflow: hidden;
	position: relative;
	transition: border-color 160ms ease;
}

.keb-product-diamond-card:hover {
	border-color: #cbc4ba;
	box-shadow: none;
	transform: none;
}

.keb-product-diamond-card.is-selected {
	border-color: var( --keb-burgundy );
	box-shadow: none;
	transform: none;
}

.keb-product-diamond-card.is-selected {
	box-shadow: inset 0 3px 0 var( --keb-gold );
}

.keb-product-diamond-card.is-selected::after {
	align-items: center;
	background: var( --keb-burgundy );
	color: #fff;
	content: "Selected";
	display: flex;
	font-size: 8px;
	font-weight: 700;
	height: 24px;
	justify-content: center;
	letter-spacing: 0.09em;
	padding: 0 8px;
	position: absolute;
	right: 10px;
	top: 10px;
	text-transform: uppercase;
	z-index: 4;
}

.keb-product-diamond-card__media {
	align-items: center;
	aspect-ratio: 1 / 1;
	background: #d6d8dc;
	display: flex;
	justify-content: center;
	overflow: hidden;
	position: relative;
	width: 100%;
}

.keb-product-diamond-card__media img {
	display: block;
	height: 100%;
	object-fit: cover;
	padding: 0;
	transition: transform 220ms ease;
	width: 100%;
}

.keb-product-diamond-card:hover .keb-product-diamond-card__media img {
	transform: none;
}

.keb-product-diamond-card__badge {
	background: rgba( 255, 255, 255, 0.94 );
	border-radius: 5px;
	box-shadow: none;
	color: var( --keb-ink );
	font-size: 12px;
	font-weight: 500;
	left: 12px;
	letter-spacing: 0;
	line-height: 1;
	padding: 6px 9px;
	position: absolute;
	text-transform: none;
	top: 12px;
	z-index: 2;
}

.keb-product-diamond-card__gem {
	align-items: center;
	background: transparent;
	border: 0;
	box-shadow: none;
	color: var( --keb-gold );
	display: flex;
	height: auto;
	justify-content: center;
	transform: none;
	width: auto;
}

.keb-product-diamond-card__gem svg {
	display: block;
	height: 86px;
	width: 86px;
}

.keb-product-diamond-detail-panel__media .keb-product-diamond-card__gem svg {
	height: 132px;
	width: 132px;
}

.keb-shape-round {
	border-radius: 50%;
	transform: none;
}

.keb-shape-oval {
	border-radius: 50%;
	height: 92px;
	transform: none;
	width: 65px;
}

.keb-shape-emerald,
.keb-shape-radiant {
	height: 88px;
	transform: none;
	width: 65px;
}

.keb-shape-cushion {
	border-radius: 24%;
	transform: none;
}

.keb-shape-pear {
	border-radius: 52% 52% 52% 8%;
	height: 88px;
	transform: rotate( -45deg );
	width: 68px;
}

.keb-shape-marquise {
	border-radius: 100% 8% 100% 8%;
	height: 94px;
	transform: rotate( -45deg );
	width: 52px;
}

.keb-shape-princess {
	height: 74px;
	width: 74px;
}

.keb-shape-asscher {
	clip-path: polygon( 20% 0, 80% 0, 100% 20%, 100% 80%, 80% 100%, 20% 100%, 0 80%, 0 20% );
	transform: none;
}

.keb-shape-heart {
	clip-path: polygon( 50% 100%, 7% 47%, 4% 27%, 13% 10%, 29% 3%, 43% 9%, 50% 22%, 57% 9%, 71% 3%, 87% 10%, 96% 27%, 93% 47% );
	height: 76px;
	transform: none;
	width: 86px;
}

.keb-shape-baguette {
	height: 48px;
	transform: none;
	width: 96px;
}

.keb-shape-trillion {
	clip-path: polygon( 50% 2%, 98% 91%, 2% 91% );
	height: 78px;
	transform: none;
	width: 90px;
}

.keb-shape-other {
	border-radius: 50%;
	transform: none;
}

/* The sketch SVGs above replace the old CSS-geometry gems — flatten every legacy shape rule. */
.keb-product-diamond-card__gem[class*="keb-shape-"] {
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	clip-path: none;
	height: auto;
	transform: none;
	width: auto;
}

.keb-product-diamond-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 16px 18px 14px;
	text-align: left;
}

.keb-product-diamond-card__body h3 {
	color: var( --keb-ink );
	font-family: inherit;
	font-size: 16px;
	font-weight: 400;
	letter-spacing: 0;
	line-height: 1.35;
	margin: 0 0 1px;
	text-transform: none;
}

.keb-product-diamond-card__quick-specs {
	color: var( --keb-ink );
	font-size: 16px;
	letter-spacing: 0;
	line-height: 1.35;
	margin: 0 0 18px;
	text-transform: none;
}

.keb-product-diamond-card__quality-specs {
	color: var( --keb-muted );
	font-size: 11px;
	line-height: 1.45;
	margin: 0 0 13px;
	min-height: 16px;
}

.keb-product-diamond-card__price {
	color: var( --keb-ink );
	display: block;
	font-size: 18px;
	font-variant-numeric: tabular-nums;
	font-weight: 600;
	letter-spacing: 0;
	line-height: 1.2;
	margin: 0 0 8px;
}

.keb-product-diamond-card__footer {
	align-items: center;
	display: flex;
	gap: 10px;
	justify-content: space-between;
	margin-top: auto;
}

.keb-product-diamond-card__footer .keb-product-button--text,
.keb-product-diamond-card__more {
	align-items: center;
	color: var( --keb-ink );
	display: inline-flex;
	font-size: 15px;
	font-weight: 400;
	gap: 7px;
	letter-spacing: 0;
	margin-bottom: 0;
	min-height: 32px;
	padding: 0;
	text-decoration: none;
	text-transform: none;
}

.keb-product-diamond-card__more:hover,
.keb-product-diamond-card__more:focus-visible {
	color: var( --keb-burgundy );
	text-decoration: none;
}

.keb-product-diamond-card__chevron {
	flex: none;
	transition: transform 160ms ease;
}

.keb-product-diamond-card__more[aria-expanded="true"] .keb-product-diamond-card__chevron {
	transform: rotate( 180deg );
}

.keb-product-diamond-card__cert {
	border: 0;
	border-radius: 0;
	color: var( --keb-ink );
	font-size: 15px;
	font-weight: 400;
	letter-spacing: 0;
	line-height: 1;
	padding: 0;
}

.keb-product-diamond-detail-panel__quality {
	color: var( --keb-muted );
	font-size: 13px;
	line-height: 1.5;
	margin: 6px 0 0;
}

.keb-product-diamond-detail-panel {
	align-items: stretch;
	background: var( --keb-warm );
	border: 1px solid var( --keb-burgundy );
	display: grid;
	gap: 0;
	grid-column: 1 / -1;
	grid-template-columns: minmax( 0, 0.72fr ) minmax( 0, 1.28fr );
	margin: 5px 0 15px;
	max-width: 100%;
	min-width: 0;
	overflow: hidden;
	position: relative;
	scroll-margin-top: var( --keb-studio-bar-offset );
	width: 100%;
}

.keb-product-diamond-detail-panel__close {
	appearance: none;
	background: transparent;
	border: 0;
	color: var( --keb-ink );
	cursor: pointer;
	font-family: inherit;
	font-size: 30px;
	font-weight: 300;
	line-height: 1;
	min-height: 44px;
	min-width: 44px;
	padding: 12px;
	position: absolute;
	right: 3px;
	top: 3px;
	z-index: 3;
}

.keb-product-diamond-detail-panel__media {
	align-items: center;
	background: var( --keb-warm-dark );
	display: flex;
	justify-content: center;
	min-height: 330px;
	min-width: 0;
	overflow: hidden;
	padding: 24px;
}

.keb-product-diamond-detail-panel__media img {
	height: 100%;
	max-height: 360px;
	object-fit: contain;
	width: 100%;
}

.keb-product-diamond-detail-panel__media .keb-product-diamond-card__gem {
	height: 120px;
	width: 120px;
}

.keb-product-diamond-detail-panel__content {
	align-self: center;
	display: grid;
	min-width: 0;
	padding: clamp( 28px, 4vw, 52px );
	padding-right: clamp( 56px, 5vw, 72px );
}

.keb-product-diamond-detail-panel__eyebrow {
	color: var( --keb-muted );
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.12em;
	margin: 0 0 7px;
	text-transform: uppercase;
}

.keb-product-diamond-detail-panel__content h3 {
	color: var( --keb-ink );
	font-family: var( --kinzy-serif, Georgia, "Times New Roman", serif );
	font-size: clamp( 20px, 2.4vw, 30px );
	font-weight: 400;
	letter-spacing: -0.02em;
	line-height: 1.1;
	margin: 0 0 7px;
}

.keb-product-diamond-detail-panel__price {
	font-size: 19px;
	font-weight: 550;
	margin-bottom: 20px;
}

.keb-product-diamond-detail-panel__specs {
	display: grid;
	gap: 0;
	grid-template-columns: repeat( 3, minmax( 0, 1fr ) );
	margin: 0 0 18px;
	width: 100% !important;
}

.keb-product-diamond-card__detail {
	border-bottom: 1px solid var( --keb-line );
	min-width: 0;
	padding: 9px 8px 9px 0;
	width: auto !important;
}

.keb-product-diamond-card__detail dt {
	color: var( --keb-muted );
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.09em;
	margin: 0 0 2px;
	text-transform: uppercase;
	width: auto !important;
}

.keb-product-diamond-card__detail dd {
	color: var( --keb-ink );
	font-size: 12px;
	font-weight: 500;
	margin: 0;
	overflow-wrap: anywhere;
	width: auto !important;
}

.keb-product-diamond-card__links {
	display: flex;
	flex-wrap: wrap;
	font-size: 10px;
	gap: 15px;
	margin: 0 0 18px;
}

.keb-product-diamond-card__links a {
	color: var( --keb-ink );
	text-decoration: underline;
	text-underline-offset: 3px;
}

.keb-product-diamond-detail-panel__content > .keb-product-button {
	justify-self: start;
	min-width: 0;
	width: min( 300px, 100% );
}

.keb-product-diamond-card--skeleton {
	gap: 12px;
	min-height: 335px;
	padding: 14px;
}

.keb-product-diamond-card--skeleton span {
	animation: keb-product-skeleton 1.25s ease-in-out infinite alternate;
	background: var( --keb-warm );
	display: block;
	height: 15px;
}

.keb-product-diamond-card--skeleton span:first-child {
	height: 180px;
}

.keb-product-diamond-card--skeleton span:nth-child( 2 ) {
	width: 78%;
}

.keb-product-diamond-card--skeleton span:nth-child( 3 ) {
	width: 55%;
}

@keyframes keb-product-skeleton {
	from { opacity: 0.55; }
	to { opacity: 1; }
}

/* Keep the results and detail view responsive to their real theme container. */
@container keb-product-results-wrap (max-width: 680px) {
	.keb-product-results {
		grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
	}

	.keb-product-diamond-detail-panel {
		grid-template-columns: minmax( 0, 1fr );
	}

	.keb-product-diamond-detail-panel__media {
		min-height: 250px;
	}

	.keb-product-diamond-detail-panel__content {
		padding: 28px 22px;
	}

	.keb-product-diamond-detail-panel__content > .keb-product-button {
		justify-self: stretch;
		width: 100%;
	}
}

@container keb-product-results-wrap (max-width: 440px) {
	.keb-product-results {
		grid-template-columns: minmax( 0, 1fr );
	}
}

.keb-product-results .keb-product-notice {
	background: transparent;
	border: 0;
	color: var( --keb-ink );
	font-family: var( --kinzy-serif, Georgia, "Times New Roman", serif );
	font-size: 16.5px;
	grid-column: 1 / -1;
	line-height: 1.65;
	margin: 0;
	max-width: 44ch;
	padding: 60px 20px 68px;
	text-align: center;
	justify-self: center;
}

.keb-product-results .keb-product-notice::before {
	color: var( --keb-gold );
	content: "\25C7";
	display: block;
	font-size: 21px;
	margin: 0 auto 13px;
}

.keb-product-pagination {
	align-items: center;
	display: flex;
	gap: 24px;
	justify-content: center;
	margin: 28px 0 0;
}

.keb-product-pagination .keb-product-button--load-more {
	min-width: 190px;
	width: auto;
}

.keb-product-pagination > span {
	color: var( --keb-muted );
	font-size: 11px;
}

.keb-product-selection {
	background: var( --keb-paper );
	border-bottom: 1px solid var( --keb-line );
	border-left: 0;
	border-right: 0;
	border-top: 1px solid var( --keb-line );
	display: grid;
	gap: 20px;
	grid-template-columns: minmax( 0, 1fr );
	margin: 0 auto 34px;
	max-width: 1360px;
	padding: clamp( 22px, 4vw, 42px );
	scroll-margin-top: var( --keb-studio-bar-offset );
}

.keb-product-selection__completion {
	align-items: end;
	display: grid;
	gap: 24px;
	grid-template-columns: minmax( 0, 1fr ) minmax( 250px, 0.48fr );
}

.keb-product-ring-size-review {
	border-bottom: 1px solid var( --keb-line );
	border-top: 1px solid var( --keb-line );
	margin: 2px 0 4px;
}

.keb-product-ring-size-review__panel > p {
	color: var( --keb-muted );
	font-size: 12px;
	line-height: 1.5;
	margin: 12px 0 0;
}

.keb-product-selection__summary {
	align-items: center;
	display: grid;
	gap: 28px;
	grid-template-columns: minmax( 0, 1fr ) auto auto;
}

.keb-product-selection__summary [data-keb-selected-diamond] {
	display: grid;
	gap: 3px;
}

.keb-product-selection__summary [data-keb-selected-diamond] span,
.keb-product-selection__total span {
	color: var( --keb-muted );
	font-size: 9px;
	font-weight: 650;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.keb-product-selection__summary [data-keb-selected-diamond] strong {
	font-size: 17px;
	font-weight: 550;
}

.keb-product-selection__summary [data-keb-selected-diamond] p {
	color: var( --keb-muted );
	font-size: 11px;
	margin: 0;
}

.keb-product-selection__summary [data-keb-selected-diamond] b {
	font-size: 14px;
	font-weight: 550;
}

.keb-product-selection__ring-size {
	display: grid;
	gap: 4px;
	margin: 0;
	min-width: 94px;
}

.keb-product-selection__ring-size span {
	color: var( --keb-muted );
	font-size: 9px;
	font-weight: 650;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.keb-product-selection__ring-size strong {
	font-size: 14px;
	font-weight: 550;
}

.keb-product-selection__total {
	border-left: 1px solid var( --keb-line );
	display: grid;
	gap: 4px;
	padding-left: 28px;
	text-align: right;
}

.keb-product-selection__total strong {
	font-size: clamp( 23px, 3vw, 32px );
	font-weight: 400;
}

.keb-product-cart-form {
	align-content: center;
	display: grid;
	gap: 8px;
	margin: 0;
}

.keb-product-selection__completion--cart-only {
	grid-template-columns: minmax( 250px, 0.48fr );
	justify-content: end;
}

.keb-product-cart-form p {
	color: var( --keb-muted );
	font-size: 10px;
	line-height: 1.4;
	margin: 0;
	text-align: center;
}

.keb-product-cart-form .keb-product-made-to-order {
	align-items: center;
	background: #f8f3eb;
	border: 1px solid var( --keb-line );
	border: 1px solid color-mix( in srgb, var( --keb-gold ) 42%, transparent );
	display: grid;
	gap: 3px;
	justify-items: start;
	margin-top: 6px;
	padding: 14px 16px;
	text-align: left;
}

.keb-product-made-to-order strong {
	color: var( --keb-ink );
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.keb-product-made-to-order span {
	color: var( --keb-muted );
	font-size: 12px;
	line-height: 1.45;
}

.keb-product-made-to-order time {
	color: var( --keb-ink );
	font-weight: 600;
}

.keb-product-reassurance {
	border-left: 2px solid var( --keb-gold );
	color: var( --keb-muted );
	font-size: 12px;
	line-height: 1.6;
	margin: 0 auto 34px;
	max-width: 760px;
	padding-left: 16px;
}

.keb-product-reassurance > :first-child {
	margin-top: 0;
}

.keb-product-reassurance > :last-child {
	margin-bottom: 0;
}

.keb-product-notice {
	background: var( --keb-warm );
	border-left: 3px solid var( --keb-gold );
	color: var( --keb-ink );
	font-size: 12px;
	grid-column: 1 / -1;
	margin: 0;
	padding: 17px;
}

.keb-product-sr-only {
	border: 0 !important;
	clip: rect( 1px, 1px, 1px, 1px ) !important;
	clip-path: inset( 50% ) !important;
	height: 1px !important;
	margin: -1px !important;
	overflow: hidden !important;
	padding: 0 !important;
	position: absolute !important;
	width: 1px !important;
}

@media ( max-width: 980px ) {
	.keb-product-diamond-detail-panel__specs {
		grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
	}
}

@media ( max-width: 1024px ) {
	.keb-product-diamonds__layout {
		display: block;
	}

	.keb-product-results-wrap {
		padding: 26px 20px 44px;
	}

	.keb-product-button--filter {
		display: inline-flex;
	}

	.keb-product-filters {
		border-left: 0;
		border-right: 0;
		display: none;
		margin-bottom: 20px;
		max-height: none;
		overflow: visible;
		position: static;
	}

	.keb-product-filters.is-open {
		display: block;
	}

	.keb-product-filter-details,
	.keb-product-filter-group,
	.keb-product-sort {
		padding: 15px 16px;
	}

	.keb-product-filters {
		border-right: 0;
		padding: 0 0 30px;
	}

	.keb-product-filter-heading {
		padding: 20px 16px 14px;
	}

	.keb-product-diamonds__layout {
		padding: 0;
	}

	.keb-product-results-wrap {
		padding: 24px 16px 48px;
	}

	.keb-product-filter-heading {
		position: static;
	}

	.keb-product-filter-actions {
		background: #fff;
		bottom: 0;
		display: grid;
		gap: 8px;
		grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
		padding: 12px 15px max( 12px, env( safe-area-inset-bottom ) );
		position: sticky;
		z-index: 3;
	}

	.keb-product-filter-actions__close {
		display: inline-flex;
	}

	.keb-product-filter-actions .keb-product-button--text {
		grid-column: auto;
	}
}

@media ( max-width: 620px ) {
	.keb-product-journey-note {
		align-items: flex-start;
		flex-direction: column;
	}

	.keb-product-summary-controls__fields {
		display: block;
	}

	.keb-product-selected-summary {
		grid-template-columns: 1fr;
	}

	.keb-product-selected-summary b {
		grid-column: 1;
		grid-row: auto;
		margin-top: 5px;
	}

	.keb-product-diamonds[open] {
		--keb-studio-bar-offset: calc( 62px + env( safe-area-inset-top ) );
		border: 0;
		box-shadow: none;
		height: 100vh;
		height: 100dvh;
		margin: 0;
		max-height: none;
		max-width: none;
		width: 100vw;
	}

	.keb-product-diamond-studio__bar {
		gap: 14px;
		min-height: 62px;
		padding: calc( 7px + env( safe-area-inset-top ) ) max( 16px, env( safe-area-inset-right ) ) 7px max( 16px, env( safe-area-inset-left ) );
	}

	.keb-product-diamond-studio__close {
		font-size: 9px;
		gap: 7px;
		letter-spacing: 0.08em;
	}

	.keb-product-diamond-studio__thumb {
		display: none;
	}

	.keb-product-diamond-studio__context-text strong {
		font-size: 13px;
		max-width: 48vw;
	}

	.keb-product-diamond-studio__context-text small {
		max-width: 48vw;
	}

	.keb-product-diamond-studio__context-text > span {
		font-size: 9px;
	}

	.keb-product-diamonds__header {
		display: block;
		padding: 22px 20px 20px;
	}

	.keb-product-results {
		gap: 14px;
	}

	.keb-product-diamond-card__body {
		padding: 12px 12px 10px;
	}

	.keb-product-diamond-card__body h3 {
		font-size: 14.5px;
	}

	.keb-product-diamond-card__quick-specs {
		font-size: 14.5px;
		margin-bottom: 12px;
	}

	.keb-product-diamond-card__price {
		font-size: 16px;
	}

	.keb-product-diamond-card__footer .keb-product-button--text,
	.keb-product-diamond-card__more,
	.keb-product-diamond-card__cert {
		font-size: 13.5px;
	}

	.keb-product-diamond-detail-panel {
		grid-template-columns: 1fr;
	}

	.keb-product-diamond-detail-panel__media {
		min-height: 250px;
	}

	.keb-product-diamond-detail-panel__content {
		padding: 24px 18px;
	}

	.keb-product-diamond-detail-panel__specs {
		grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
	}

	.keb-product-selection__summary {
		align-items: start;
		gap: 18px;
		grid-template-columns: 1fr;
	}

	.keb-product-selection__completion {
		grid-template-columns: 1fr;
	}

	.keb-product-selection__completion--cart-only {
		justify-content: stretch;
	}

	.keb-product-selection__total {
		border-left: 0;
		border-top: 1px solid var( --keb-line );
		padding-left: 0;
		padding-top: 16px;
		text-align: left;
	}

	.keb-product-size-select select,
	.keb-product-field input,
	.keb-product-range input,
	.keb-product-sort select {
		font-size: 16px;
	}
}

/* Card density follows the component's real width, not the browser viewport. */
@container keb-product-results-wrap (min-width: 760px) {
	.keb-product-results {
		grid-template-columns: repeat( 3, minmax( 0, 1fr ) );
	}
}

@container keb-product-results-wrap (min-width: 1040px) {
	.keb-product-results {
		gap: 18px;
		grid-template-columns: repeat( 4, minmax( 0, 1fr ) );
	}
}

@container keb-product-results-wrap (max-width: 760px) {
	.keb-product-diamond-detail-panel {
		grid-template-columns: minmax( 0, 1fr );
	}

	.keb-product-diamond-detail-panel__media {
		min-height: 250px;
	}

	.keb-product-diamond-detail-panel__content {
		padding: 46px 22px 28px;
	}

	.keb-product-diamond-detail-panel__content > .keb-product-button {
		justify-self: stretch;
		width: 100%;
	}
}

@container keb-product-results-wrap (max-width: 479px) {
	.keb-product-results,
	.keb-product-diamond-detail-panel__specs {
		grid-template-columns: minmax( 0, 1fr );
	}
}

@media ( hover: none ) {
	.keb-product-metal-picker__option::after {
		display: none;
	}
}

@media ( prefers-reduced-motion: reduce ) {
	.keb-product-summary-controls *,
	.keb-product-diamonds * {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}

	.keb-product-diamond-card--skeleton span {
		animation: none;
	}
}


/* --- v0.8.13 interaction and media refinements ------------------------- */

.keb-product-sr-select {
	height: 1px !important;
	opacity: 0 !important;
	pointer-events: none !important;
	position: absolute !important;
	width: 1px !important;
}

.keb-product-size-select--enhanced {
	display: none !important;
}

/* Size tiles: wide, low, soft-cornered tiles of one fixed size (64 x 32), as
   many to a row as the column takes, the chosen size outlined in garnet on
   ivory. v0.11.11: the same tiles, to the pixel, as the wedding band page
   (themes/kinzy/kinzy-wedding-bands/wedding-bands.css .kwb-size-grid). */
.keb-product-size-grid {
	display: grid;
	gap: 6px;
	grid-template-columns: repeat( auto-fill, 64px );
	justify-content: space-between;
	margin: 0;
	min-width: 0;
	width: 100%;
}

.keb-product-size-grid__option {
	align-items: center;
	background: #fff;
	border: 1px solid #d9d1c9;
	border-radius: 8px;
	color: var( --keb-ink );
	cursor: pointer;
	display: flex;
	font-family: inherit;
	font-size: 14px;
	font-weight: 400;
	height: 32px;
	justify-content: center;
	line-height: 1;
	margin: 0;
	min-width: 0;
	padding: 0;
	transition: background 140ms ease, border-color 140ms ease, color 140ms ease;
}

.keb-product-size-grid__option:hover {
	border-color: #8a7e77;
}

.keb-product-size-grid__option.is-selected {
	background: #f3ece4;
	border-color: var( --keb-burgundy );
	box-shadow: inset 0 0 0 1px var( --keb-burgundy );
	color: var( --keb-ink );
	font-weight: 600;
}

/* v0.9.21: "Not sure yet" spans the row — the ring is sized after purchase. */
.keb-product-size-grid__option--tbc {
	flex-direction: column;
	gap: 3px;
	grid-column: 1 / -1;
	height: auto;
	line-height: 1.2;
	margin-top: 4px;
	padding: 10px 12px;
}

.keb-product-size-grid__note {
	color: var( --keb-muted );
	font-size: 11.5px;
	font-weight: 400;
	line-height: 1.3;
}

.keb-product-size-grid__option--tbc.is-selected .keb-product-size-grid__note {
	color: var( --keb-muted );
}

.keb-product-size-grid__option:focus-visible {
	outline: 2px solid var( --keb-gold );
	outline-offset: 2px;
}

@media ( max-width: 900px ) {
	.keb-product-size-grid {
		grid-template-columns: repeat( 6, minmax( 0, 1fr ) );
	}

	.keb-product-size-grid__option {
		height: 38px;
	}
}

@media ( max-width: 640px ) {
	.keb-product-size-grid {
		grid-template-columns: repeat( 5, minmax( 0, 1fr ) );
	}

	.keb-product-ring-size-review > summary {
		grid-template-columns: minmax( 0, 1fr ) auto 16px;
	}
}

.keb-product-diamond-detail-panel__video {
	aspect-ratio: 1 / 1;
	background: #f6f3ee;
	display: block;
	max-width: 440px;
	overflow: hidden;
	position: relative;
	width: 100%;
}

.keb-product-diamond-detail-panel__video iframe,
.keb-product-diamond-detail-panel__video video {
	border: 0;
	display: block;
	height: 100%;
	left: 0;
	object-fit: contain;
	position: absolute;
	top: 0;
	width: 100%;
}

/* --- v0.8.15 compact controls, advice dialogs and diamond editorial view --- */

.keb-product-metal-picker > legend.keb-product-sr-only {
	clip: rect( 0 0 0 0 );
	clip-path: inset( 50% );
	display: block;
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

.keb-product-info-trigger {
	align-items: center;
	appearance: none;
	background: transparent;
	border: 1px solid currentColor;
	border-radius: 50%;
	color: var( --keb-muted );
	cursor: pointer;
	display: inline-grid;
	flex: 0 0 30px;
	font: inherit;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 13px;
	height: 30px;
	justify-content: center;
	line-height: 1;
	margin: 0;
	padding: 0;
	transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
	width: 30px;
}

.keb-product-info-trigger[hidden] {
	display: none !important;
}

.keb-product-info-trigger:hover {
	background: var( --keb-warm );
	border-color: var( --keb-ink );
	color: var( --keb-ink );
}

.keb-product-info-trigger:focus-visible {
	outline: 2px solid var( --keb-gold );
	outline-offset: 3px;
}

.keb-product-info-trigger:focus-visible,
.keb-product-size-grid__option:focus-visible,
.keb-product-check-grid input:focus-visible + span,
.keb-product-diamond-detail-panel__certificate:focus-visible,
.keb-product-diamond-detail-panel__video-toggle:focus-visible {
	outline: 2px solid #765126;
	outline-offset: 3px;
}

.keb-product-info-dialog:not([open]) {
	display: none;
}

.keb-product-info-dialog[open] {
	background: transparent;
	border: 0;
	color: var( --keb-ink );
	max-height: calc( 100dvh - 32px );
	max-width: none;
	overflow: visible;
	padding: 0;
	width: min( 680px, calc( 100vw - 32px ) );
}

.keb-product-info-dialog::backdrop {
	background: rgba( 25, 18, 17, 0.58 );
	backdrop-filter: blur( 2px );
}

.keb-product-info-dialog__surface {
	background: #fffdf9;
	border-top: 4px solid var( --keb-gold );
	box-shadow: 0 24px 72px rgba( 35, 22, 20, 0.24 );
	max-height: calc( 100dvh - 32px );
	overflow: auto;
	overscroll-behavior: contain;
	padding: clamp( 32px, 6vw, 60px );
	position: relative;
	text-align: left;
}

.keb-product-info-dialog__surface::before {
	background: var( --keb-burgundy );
	content: "";
	height: 1px;
	left: clamp( 32px, 6vw, 60px );
	opacity: 0.3;
	position: absolute;
	right: clamp( 32px, 6vw, 60px );
	top: 28px;
}

.keb-product-info-dialog__close {
	align-items: center;
	appearance: none;
	background: #fffdf9;
	border: 1px solid var( --keb-line );
	border-radius: 50%;
	color: var( --keb-ink );
	cursor: pointer;
	display: inline-flex;
	font: inherit;
	font-size: 27px;
	font-weight: 300;
	height: 44px;
	justify-content: center;
	line-height: 1;
	padding: 0 0 3px;
	position: absolute;
	right: 18px;
	top: 16px;
	width: 44px;
}

.keb-product-info-dialog__eyebrow {
	color: #765126;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.2em;
	margin: 14px 0 12px;
	text-transform: uppercase;
}

.keb-product-info-dialog h2 {
	font-family: var( --kinzy-serif, Georgia, "Times New Roman", serif );
	font-size: clamp( 32px, 5vw, 48px );
	font-weight: 400;
	letter-spacing: -0.025em;
	line-height: 1.05;
	margin: 0 54px 20px 0;
}

.keb-product-info-dialog__surface > p:not( .keb-product-info-dialog__eyebrow ) {
	color: var( --keb-muted );
	font-size: 16px;
	line-height: 1.7;
	margin: 0 0 13px;
	max-width: 58ch;
}

.keb-product-info-dialog__actions {
	border-top: 1px solid var( --keb-line );
	margin-top: 28px;
	padding-top: 24px;
}

.keb-product-info-dialog__actions .keb-product-button {
	min-width: min( 260px, 100% );
}

.keb-product-check-grid {
	gap: 8px;
	grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
}

.keb-product-check-grid label {
	display: block;
	min-height: 0;
}

.keb-product-check-grid label[hidden] {
	display: none !important;
}

.keb-product-check-grid input {
	clip: rect( 0 0 0 0 );
	clip-path: inset( 50% );
	height: 1px;
	margin: -1px;
	overflow: hidden;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

.keb-product-check-grid label > span {
	align-items: center;
	background: #fff;
	border: 1px solid rgba( 73, 18, 20, 0.56 );
	color: var( --keb-ink );
	display: flex;
	font-size: 12px;
	font-weight: 550;
	justify-content: center;
	line-height: 1.25;
	min-height: 46px;
	padding: 8px 10px;
	text-align: center;
	transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease;
}

.keb-product-check-grid label:hover > span {
	border-color: var( --keb-ink );
}

.keb-product-check-grid input:checked + span {
	background: var( --keb-burgundy );
	border-color: var( --keb-burgundy );
	color: #fff;
}

.keb-product-check-grid input:focus-visible + span {
	outline: 2px solid #765126;
	outline-offset: 2px;
}

.keb-product-check-grid input:disabled + span {
	background: #f3f0ec;
	color: #9b938e;
	cursor: not-allowed;
	opacity: 0.65;
}

.keb-product-diamond-detail-panel {
	background: #fffdf9;
	border: 1px solid rgba( 73, 18, 20, 0.42 );
	box-shadow: 0 18px 54px rgba( 44, 25, 21, 0.12 );
	grid-template-columns: minmax( 0, 0.94fr ) minmax( 0, 1.06fr );
	min-height: 560px;
}

.keb-product-diamond-detail-panel__close {
	background: rgba( 255, 253, 249, 0.9 );
	border: 1px solid rgba( 73, 18, 20, 0.2 );
	border-radius: 50%;
	font-size: 26px;
	height: 44px;
	padding: 0 0 3px;
	right: 18px;
	top: 18px;
	width: 44px;
}

.keb-product-diamond-detail-panel__media {
	align-items: center;
	background:
		radial-gradient( circle at 50% 45%, rgba( 255, 255, 255, 0.92 ) 0 24%, rgba( 255, 255, 255, 0.25 ) 58%, transparent 75% ),
		linear-gradient( 145deg, #eee4d9 0%, #f8f3ec 48%, #e9dccc 100% );
	display: flex;
	justify-content: center;
	min-height: 560px;
	padding: clamp( 50px, 5vw, 74px ) clamp( 24px, 4vw, 54px );
	position: relative;
}

.keb-product-diamond-detail-panel__media::after {
	border: 1px solid rgba( 73, 18, 20, 0.1 );
	content: "";
	inset: 22px;
	pointer-events: none;
	position: absolute;
}

.keb-product-diamond-detail-panel__media-label,
.keb-product-diamond-detail-panel__media-note {
	color: var( --keb-ink );
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.16em;
	position: absolute;
	text-transform: uppercase;
	z-index: 2;
}

.keb-product-diamond-detail-panel__media-label {
	left: 38px;
	top: 37px;
}

.keb-product-diamond-detail-panel__media-note {
	bottom: 37px;
	font-weight: 550;
	left: 38px;
	letter-spacing: 0.08em;
}

.keb-product-diamond-detail-panel__media > img,
.keb-product-diamond-detail-panel__media > .keb-product-diamond-card__gem,
.keb-product-diamond-detail-panel__video {
	aspect-ratio: 1 / 1;
	height: auto;
	max-height: 440px;
	max-width: 440px;
	object-fit: contain;
	width: 100%;
	z-index: 1;
}

.keb-product-diamond-detail-panel__video {
	background: rgba( 255, 255, 255, 0.42 );
	box-shadow: 0 10px 30px rgba( 58, 35, 30, 0.08 );
}

.keb-product-diamond-detail-panel__video iframe,
.keb-product-diamond-detail-panel__video video {
	object-fit: contain;
}

.keb-product-diamond-detail-panel__video iframe {
	pointer-events: none;
}

.keb-product-diamond-detail-panel__video-fallback {
	align-items: center;
	background: rgba( 255, 255, 255, 0.82 );
	display: flex;
	inset: 0;
	justify-content: center;
	position: absolute;
}

.keb-product-diamond-detail-panel__video-fallback[hidden] {
	display: none !important;
}

.keb-product-diamond-detail-panel__video-fallback img,
.keb-product-diamond-detail-panel__video-fallback .keb-product-diamond-card__gem {
	height: 100%;
	max-height: none;
	object-fit: contain;
	width: 100%;
}

.keb-product-diamond-detail-panel__video.is-paused iframe,
.keb-product-diamond-detail-panel__video.is-paused video {
	display: none;
}

.keb-product-diamond-detail-panel__video-toggle {
	appearance: none;
	background: rgba( 255, 253, 249, 0.94 );
	border: 1px solid rgba( 73, 18, 20, 0.56 );
	bottom: 12px;
	color: var( --keb-ink );
	cursor: pointer;
	font-family: inherit;
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.12em;
	min-height: 38px;
	padding: 9px 12px;
	position: absolute;
	right: 12px;
	text-transform: uppercase;
	z-index: 4;
}

.keb-product-diamond-detail-panel__content {
	align-content: center;
	align-self: stretch;
	gap: 0;
	padding: clamp( 42px, 5vw, 72px );
	padding-right: clamp( 60px, 6vw, 86px );
}

.keb-product-diamond-detail-panel__header {
	border-bottom: 1px solid var( --keb-line );
	margin-bottom: 24px;
	padding-bottom: 24px;
}

.keb-product-diamond-detail-panel__eyebrow {
	color: var( --keb-gold-dark, #a97c35 );
	font-size: 10px;
	letter-spacing: 0.18em;
	margin-bottom: 11px;
}

.keb-product-diamond-detail-panel__content h3 {
	font-size: clamp( 30px, 3.4vw, 48px );
	line-height: 1.02;
	margin-bottom: 9px;
}

.keb-product-diamond-detail-panel__intro {
	color: var( --keb-muted );
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.1em;
	margin: 0 0 18px;
	text-transform: uppercase;
}

.keb-product-diamond-detail-panel__price {
	display: block;
	font-family: var( --kinzy-serif, Georgia, "Times New Roman", serif );
	font-size: clamp( 23px, 2vw, 30px );
	font-weight: 400;
	margin: 0;
}

.keb-product-diamond-detail-panel__section {
	margin: 0 0 22px;
}

.keb-product-diamond-detail-panel__section-heading {
	color: var( --keb-ink );
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.16em;
	margin: 0 0 12px;
	text-transform: uppercase;
}

.keb-product-diamond-detail-panel__highlights,
.keb-product-diamond-detail-panel__specs {
	display: grid;
	gap: 8px;
	grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
	margin: 0;
	width: 100% !important;
}

.keb-product-diamond-detail-panel__highlights .keb-product-diamond-card__detail {
	background: var( --keb-warm );
	border: 1px solid rgba( 73, 18, 20, 0.09 );
	padding: 12px 14px;
}

.keb-product-diamond-detail-panel__highlights .keb-product-diamond-card__detail dt {
	margin-bottom: 5px;
}

.keb-product-diamond-detail-panel__highlights .keb-product-diamond-card__detail dd {
	font-family: var( --kinzy-serif, Georgia, "Times New Roman", serif );
	font-size: 18px;
	font-weight: 400;
}

.keb-product-diamond-detail-panel__specs .keb-product-diamond-card__detail {
	padding: 8px 8px 8px 0;
}

.keb-product-diamond-detail-panel__reassurance {
	border-left: 2px solid var( --keb-gold );
	color: var( --keb-muted );
	font-size: 12px;
	line-height: 1.55;
	margin: 2px 0 22px;
	padding: 3px 0 3px 13px;
}

.keb-product-diamond-detail-panel__actions {
	align-items: center;
	display: grid;
	gap: 12px;
	grid-template-columns: minmax( 0, 0.65fr ) minmax( 0, 1.35fr );
}

.keb-product-diamond-detail-panel__actions.is-single-action .keb-product-button {
	grid-column: 1 / -1;
}

.keb-product-diamond-detail-panel__actions .keb-product-button {
	justify-self: stretch;
	min-width: 0;
	width: 100%;
}

.keb-product-diamond-detail-panel__certificate {
	align-items: center;
	border: 1px solid var( --keb-ink );
	color: var( --keb-ink );
	display: inline-flex;
	font-size: 10px;
	font-weight: 700;
	justify-content: center;
	letter-spacing: 0.13em;
	min-height: 48px;
	padding: 10px 14px;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
}

.keb-product-diamond-detail-panel__certificate:hover {
	background: var( --keb-warm );
}

.keb-product-diamond-detail-panel__certificate:focus-visible {
	outline: 2px solid #765126;
	outline-offset: 3px;
}

.keb-product-ring-size-review__panel {
	position: relative;
}

.keb-product-ring-size-review__info {
	margin: 0 0 10px auto;
}

.keb-product-filter-heading > p,
.keb-product-diamond-detail-panel__eyebrow {
	color: #765126;
}

@media ( max-width: 900px ) {
	.keb-product-diamond-detail-panel {
		grid-template-columns: 1fr;
	}

	.keb-product-diamond-detail-panel__media {
		min-height: 390px;
	}

	.keb-product-diamond-detail-panel__content {
		padding: 36px 28px 40px;
	}
}

@media ( max-width: 640px ) {
	.keb-product-info-dialog[open] {
		width: min( calc( 100% - 20px ), 680px );
	}

	.keb-product-info-dialog__surface {
		padding: 32px 24px 28px;
	}

	.keb-product-info-dialog__surface::before {
		left: 24px;
		right: 24px;
	}

	.keb-product-diamond-detail-panel__media {
		min-height: 330px;
		padding: 52px 26px;
	}

	.keb-product-diamond-detail-panel__media::after {
		inset: 14px;
	}

	.keb-product-diamond-detail-panel__media-label {
		left: 25px;
		top: 27px;
	}

	.keb-product-diamond-detail-panel__media-note {
		bottom: 27px;
		left: 25px;
	}

	.keb-product-diamond-detail-panel__content h3 {
		font-size: 32px;
	}

	.keb-product-diamond-detail-panel__actions {
		grid-template-columns: 1fr;
	}

	.keb-product-diamond-detail-panel__certificate {
		order: 2;
	}
}

@media ( max-width: 430px ) {
	.keb-product-diamond-detail-panel__highlights,
	.keb-product-diamond-detail-panel__specs {
		grid-template-columns: 1fr;
	}
}

/* The detail card must respond to the results column left after filters, not
 * only to the browser viewport. This final rule deliberately follows every
 * viewport fallback so the component cannot be forced back into two columns. */
@container keb-product-results-wrap (max-width: 960px) {
	.keb-product-diamond-detail-panel {
		grid-template-columns: minmax( 0, 1fr );
	}

	.keb-product-diamond-detail-panel__media {
		min-height: 360px;
	}

	.keb-product-diamond-detail-panel__content {
		padding: 38px 28px 42px;
		padding-right: 28px;
	}

	.keb-product-diamond-detail-panel__actions {
		grid-template-columns: minmax( 0, 0.72fr ) minmax( 0, 1.28fr );
	}
}

@container keb-product-results-wrap (max-width: 560px) {
	.keb-product-diamond-detail-panel__highlights,
	.keb-product-diamond-detail-panel__specs,
	.keb-product-diamond-detail-panel__actions {
		grid-template-columns: minmax( 0, 1fr );
	}

	.keb-product-diamond-detail-panel__actions .keb-product-button,
	.keb-product-diamond-detail-panel__actions.is-single-action .keb-product-button {
		grid-column: 1;
	}

	.keb-product-diamond-detail-panel__certificate {
		order: 2;
	}
}

/* v0.8.16 — compact diamond controls and switchable results views. */
.keb-product-filter-group--choices,
.keb-product-filter-subgroup {
	min-width: 0;
	margin: 0;
	padding: 22px 0;
	border: 0;
	border-bottom: 1px solid var( --keb-line );
}

.keb-product-filter-group--choices .keb-product-filter-group__label,
.keb-product-filter-subgroup > legend {
	display: flex;
	align-items: baseline;
	gap: 8px;
	width: 100%;
	margin: 0 0 13px;
	padding: 0;
	font-family: inherit;
	font-size: 14px;
	font-weight: 650;
	line-height: 1.35;
	letter-spacing: 0.01em;
	color: var( --keb-ink );
}

.keb-product-filter-group__hint {
	font-size: 10px;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var( --keb-muted );
}

.keb-product-option-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.keb-product-option-grid > label {
	position: relative;
	display: inline-flex;
	margin: 0;
	cursor: pointer;
}

.keb-product-option-grid > label[hidden] {
	display: none;
}

.keb-product-option-grid > label > input {
	position: absolute;
	inline-size: 1px;
	block-size: 1px;
	overflow: hidden;
	opacity: 0;
	pointer-events: none;
}

.keb-product-option-grid > label > span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 50px;
	min-height: 46px;
	padding: 8px 12px;
	border: 1px solid #d8d0ca;
	border-radius: 4px;
	background: #fffdfa;
	box-shadow: 0 1px 0 rgba( 62, 26, 25, 0.02 );
	font-family: inherit;
	font-size: 13px;
	font-weight: 520;
	line-height: 1.15;
	text-align: center;
	color: var( --keb-ink );
	transition: border-color 150ms ease, background-color 150ms ease, color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.keb-product-option-grid--wide > label > span {
	min-width: 82px;
}

.keb-product-option-grid > label:hover > span {
	border-color: #a9958a;
	background: #fff;
}

.keb-product-option-grid > label > input:checked + span {
	border-color: var( --keb-burgundy );
	background: var( --keb-burgundy );
	box-shadow: inset 0 0 0 1px var( --keb-burgundy );
	color: #fff;
}

.keb-product-option-grid > label > input:focus-visible + span {
	outline: 3px solid rgba( 176, 138, 66, 0.34 );
	outline-offset: 2px;
}

.keb-product-option-grid > label > input:disabled + span {
	cursor: not-allowed;
	opacity: 0.42;
}

.keb-product-filter-disclosure {
	margin: 0;
	border-bottom: 1px solid var( --keb-line );
}

.keb-product-filter-disclosure > summary {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 56px;
	padding: 14px 32px 14px 0;
	font-family: inherit;
	font-size: 14px;
	font-weight: 650;
	line-height: 1.3;
	color: var( --keb-ink );
	cursor: pointer;
	list-style: none;
}

.keb-product-filter-disclosure > summary::-webkit-details-marker {
	display: none;
}

.keb-product-filter-disclosure > summary::before,
.keb-product-filter-disclosure > summary::after {
	position: absolute;
	right: 6px;
	top: 50%;
	width: 12px;
	height: 1px;
	background: currentColor;
	content: "";
	transition: transform 160ms ease;
}

.keb-product-filter-disclosure:not([open]) > summary::after {
	transform: rotate( 90deg );
}

.keb-product-filter-disclosure > summary:hover {
	color: var( --keb-burgundy );
}

.keb-product-filter-disclosure > summary:focus-visible {
	outline: 3px solid rgba( 176, 138, 66, 0.34 );
	outline-offset: -3px;
}

.keb-product-filter-disclosure__panel {
	display: grid;
	gap: 0;
	padding: 0 0 16px;
}

.keb-product-filter-disclosure .keb-product-filter-subgroup:last-child {
	border-bottom: 0;
}

.keb-product-filter-disclosure--advanced {
	margin-top: 6px;
	border-top: 1px solid var( --keb-line );
	border-bottom: 0;
}

.keb-product-filter-disclosure--advanced > summary {
	min-height: 50px;
	font-size: 13px;
}

.keb-product-filter-disclosure--advanced > .keb-product-filter-disclosure__panel {
	padding-bottom: 0;
}

.keb-product-filter-range {
	display: grid;
	grid-template-columns: minmax( 0, 1fr ) auto minmax( 0, 1fr );
	align-items: end;
	gap: 8px;
}

.keb-product-filter-range > label {
	display: grid;
	gap: 6px;
	min-width: 0;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var( --keb-muted );
}

.keb-product-filter-range input {
	width: 100%;
	min-width: 0;
	height: 46px;
	padding: 8px 10px;
	border: 1px solid #d8d0ca;
	border-radius: 4px;
	background: #fffdfa;
	font-family: inherit;
	font-size: 13px;
	font-weight: 500;
	line-height: 1;
	color: var( --keb-ink );
}

.keb-product-filter-range input:focus-visible {
	outline: 3px solid rgba( 176, 138, 66, 0.34 );
	outline-offset: 1px;
	border-color: var( --keb-gold );
}

.keb-product-results-toolbar {
	align-items: center;
	min-height: 64px;
	padding-block: 10px;
}

.keb-product-results-toolbar__primary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	width: 100%;
}

.keb-product-view-switch {
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.keb-product-view-switch button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 8px 10px;
	border: 0;
	border-radius: 4px;
	background: transparent;
	font-family: inherit;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.2;
	color: #8c8580;
	cursor: pointer;
	transition: background-color 150ms ease, color 150ms ease;
}

.keb-product-view-switch button:hover {
	background: rgba( 65, 17, 17, 0.05 );
	color: var( --keb-ink );
}

.keb-product-view-switch button[aria-pressed="true"] {
	color: var( --keb-ink );
}

.keb-product-view-switch button:focus-visible {
	outline: 3px solid rgba( 176, 138, 66, 0.34 );
	outline-offset: 1px;
}

.keb-product-view-switch__icon {
	position: relative;
	display: inline-block;
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	color: currentColor;
}

.keb-product-view-switch__icon--grid::before {
	position: absolute;
	left: 2px;
	top: 2px;
	width: 6px;
	height: 6px;
	background: currentColor;
	box-shadow: 8px 0 0 currentColor, 0 8px 0 currentColor, 8px 8px 0 currentColor;
	content: "";
}

.keb-product-view-switch__icon--list::before {
	position: absolute;
	left: 1px;
	top: 3px;
	width: 16px;
	height: 2px;
	background: currentColor;
	box-shadow: 0 5px 0 currentColor, 0 10px 0 currentColor;
	content: "";
}

.keb-product-results-toolbar__primary > [data-keb-results-status] {
	margin: 0 0 0 auto;
	font-size: 12px;
	color: var( --keb-muted );
}

.keb-product-results[data-view="list"] {
	grid-template-columns: minmax( 0, 1fr ) !important;
	gap: 12px;
}

.keb-product-results[data-view="list"] .keb-product-diamond-card {
	display: grid;
	grid-template-columns: clamp( 138px, 25%, 220px ) minmax( 0, 1fr );
	min-width: 0;
}

.keb-product-results[data-view="list"] .keb-product-diamond-card__media {
	min-height: 172px;
	aspect-ratio: 1 / 1;
}

.keb-product-results[data-view="list"] .keb-product-diamond-card__body {
	display: grid;
	grid-template-columns: minmax( 0, 1fr ) auto;
	grid-template-rows: auto auto 1fr auto;
	align-content: center;
	column-gap: 24px;
	padding: 22px 24px;
}

.keb-product-results[data-view="list"] .keb-product-diamond-card__body h3,
.keb-product-results[data-view="list"] .keb-product-diamond-card__quick-specs {
	grid-column: 1;
}

.keb-product-results[data-view="list"] .keb-product-diamond-card__price {
	grid-column: 2;
	grid-row: 1 / span 2;
	align-self: center;
	margin: 0;
	white-space: nowrap;
}

.keb-product-results[data-view="list"] .keb-product-diamond-card__footer {
	grid-column: 1 / -1;
	align-self: end;
	margin-top: 16px;
}

.keb-product-results[data-view="list"] > .keb-product-diamond-detail-panel,
.keb-product-results[data-view="list"] > .keb-product-notice {
	grid-column: 1 / -1;
}

@media ( max-width: 680px ) {
	.keb-product-results-toolbar__primary {
		flex-wrap: wrap;
		gap: 4px 12px;
	}

	.keb-product-results-toolbar__primary > [data-keb-results-status] {
		flex-basis: 100%;
		margin-left: 0;
	}

	.keb-product-view-switch button {
		padding-inline: 7px;
	}

	.keb-product-results[data-view="list"] .keb-product-diamond-card {
		grid-template-columns: 116px minmax( 0, 1fr );
	}

	.keb-product-results[data-view="list"] .keb-product-diamond-card__media {
		min-height: 132px;
	}

	.keb-product-results[data-view="list"] .keb-product-diamond-card__body {
		display: block;
		padding: 15px 14px;
	}

	.keb-product-results[data-view="list"] .keb-product-diamond-card__price {
		margin-top: 8px;
		white-space: normal;
	}

	.keb-product-results[data-view="list"] .keb-product-diamond-card__footer {
		margin-top: 12px;
	}
}

@media ( max-width: 430px ) {
	.keb-product-option-grid {
		gap: 6px;
	}

	.keb-product-option-grid > label > span {
		min-width: 46px;
		min-height: 43px;
		padding-inline: 9px;
	}

	.keb-product-option-grid--wide > label > span {
		min-width: 72px;
	}

	.keb-product-view-switch button span:last-child {
		font-size: 12px;
	}

	.keb-product-results[data-view="list"] .keb-product-diamond-card {
		grid-template-columns: 104px minmax( 0, 1fr );
	}
}

/* v0.8.17 — resilient product controls and right-aligned selector tools. */
.keb-product-info-trigger {
	flex: 0 0 22px;
	width: 22px;
	height: 22px;
	font-size: 10px;
	border-width: 1px;
}

/* Core selector choices are deliberately continuous; disclosure panels retain
 * their own internal grouping without heavy dividers between every decision. */
.keb-product-filters form > .keb-product-filter-group {
	margin: 0 0 18px;
	padding: 0;
	border-bottom: 0 !important;
}

.keb-product-filter-group__label,
.keb-product-filter-group--choices .keb-product-filter-group__label {
	margin-bottom: 10px;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.01em;
	line-height: 1.3;
	text-transform: none;
}

.keb-product-option-grid {
	gap: 8px;
}

.keb-product-option-grid > label > span {
	min-width: 48px;
	min-height: 44px;
	padding: 8px 12px;
	border-radius: 6px;
	font-size: 13px;
	font-weight: 500;
}

.keb-product-option-grid--wide > label > span {
	min-width: 88px;
}

.keb-product-filter-group--carat .keb-product-range {
	display: grid;
	grid-template-columns: 92px 18px 92px;
	align-items: end;
	justify-content: start;
	gap: 6px;
}

.keb-product-filter-group--carat .keb-product-range > label {
	display: grid;
	gap: 5px;
	min-width: 0;
}

.keb-product-filter-group--carat .keb-product-range > label > span {
	font-size: 10px;
	font-weight: 500;
	letter-spacing: 0.02em;
	text-align: center;
	text-transform: lowercase;
	color: var( --keb-muted );
}

.keb-product-filter-group--carat .keb-product-range input {
	width: 92px;
	height: 50px;
	min-width: 0;
	padding: 8px 7px;
	border: 1px solid #d8d0ca;
	border-radius: 6px;
	background: #fffdfa;
	font-family: inherit;
	font-size: 16px;
	font-weight: 450;
	line-height: 1;
	text-align: center;
	color: var( --keb-ink );
}

.keb-product-filter-group--carat .keb-product-range > span {
	align-self: end;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 50px;
	font-size: 14px;
	color: var( --keb-muted );
}

.keb-product-filter-disclosure + .keb-product-filter-disclosure--advanced {
	margin-top: 4px;
}

.keb-product-results-toolbar__primary {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 18px;
	width: 100%;
}

.keb-product-results-toolbar__primary > [data-keb-results-status] {
	flex: 1 1 auto;
	margin: 0;
}

.keb-product-sort--toolbar {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin-left: auto;
	white-space: nowrap;
}

.keb-product-sort--toolbar > span {
	display: inline;
	margin: 0;
	font-size: 13px;
	font-weight: 450;
	letter-spacing: 0;
	text-transform: none;
	color: var( --keb-muted );
}

.keb-product-sort--toolbar select {
	width: auto;
	min-width: 176px;
	height: 44px;
	padding: 8px 26px 8px 4px;
	border: 0;
	border-radius: 4px;
	background-color: transparent;
	font-family: inherit;
	font-size: 13px;
	font-weight: 500;
	text-align: right;
	color: var( --keb-ink );
}

@media ( max-width: 680px ) {
	.keb-product-results-toolbar__primary > [data-keb-results-status] {
		flex-basis: 100%;
		order: 3;
	}

	.keb-product-sort--toolbar {
		margin-left: auto;
	}

	.keb-product-sort--toolbar select {
		min-width: 148px;
	}
}

/* --- v0.8.18: Queensmith detail panel, quiet filter rail, fine info icons -- */

/* 1. No divider lines between filter sections — space does the separating. */
.keb-product-filters .keb-product-filter-heading,
.keb-product-filters form > .keb-product-filter-group,
.keb-product-filters .keb-product-filter-details,
.keb-product-filters .keb-product-filter-details summary,
.keb-product-filters .keb-product-sort,
.keb-product-filters .keb-product-filter-actions {
	border-top: 0 !important;
	border-bottom: 0 !important;
}

.keb-product-filters .keb-product-filter-details,
.keb-product-filters form > .keb-product-filter-group {
	margin-bottom: 22px;
}

/* 2. Information icons at Queensmith scale — fine, small, quiet. */
.keb-product-info-trigger {
	border-width: 1px;
	flex: 0 0 16px;
	font-size: 10px;
	font-style: italic;
	height: 16px;
	width: 16px;
}

.keb-product-spec-info {
	align-items: center;
	appearance: none;
	background: transparent;
	border: 1px solid currentColor;
	border-radius: 50%;
	color: var( --keb-muted );
	cursor: pointer;
	display: inline-grid;
	flex: 0 0 auto;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 9px;
	font-style: italic;
	height: 14px;
	justify-content: center;
	line-height: 1;
	margin-left: 7px;
	padding: 0;
	vertical-align: middle;
	width: 14px;
}

.keb-product-spec-info:hover {
	border-color: var( --keb-ink );
	color: var( --keb-ink );
}

.keb-product-spec-info:focus-visible {
	outline: 2px solid var( --keb-gold );
	outline-offset: 2px;
}

/* 3. The detail panel: media beside information, one compact bordered card. */
.keb-product-diamond-detail-panel {
	align-items: start;
	background: #fff;
	border: 1px solid var( --keb-line );
	display: grid !important;
	gap: clamp( 22px, 3vw, 44px );
	grid-template-columns: minmax( 280px, 400px ) minmax( 0, 1fr );
	padding: clamp( 20px, 2.6vw, 32px );
	position: relative;
}

.keb-product-diamond-detail-panel__media {
	align-self: start;
	background: transparent;
	border: 0;
	display: block;
	margin: 0;
	min-height: 0;
	padding: 0;
	width: 100%;
}

.keb-product-diamond-detail-panel__media-label,
.keb-product-diamond-detail-panel__media-note {
	display: none;
}

.keb-product-diamond-detail-panel__content {
	display: block;
	min-width: 0;
	padding: 0 clamp( 0px, 1vw, 12px ) 0 0;
}

.keb-product-diamond-detail-panel__header {
	margin: 0 0 14px;
	padding: 0 34px 0 0;
}

.keb-product-diamond-detail-panel__eyebrow {
	color: var( --keb-gold );
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.15em;
	margin: 0 0 7px;
	text-transform: uppercase;
}

.keb-product-diamond-detail-panel__header h3 {
	font-family: var( --kinzy-serif, Georgia, "Times New Roman", serif );
	font-size: clamp( 23px, 2.2vw, 28px );
	font-weight: 400;
	line-height: 1.15;
	margin: 0 0 6px;
}

.keb-product-diamond-detail-panel__intro {
	color: var( --keb-muted );
	font-size: 12px;
	letter-spacing: 0.07em;
	margin: 0 0 10px;
	text-transform: uppercase;
}

.keb-product-diamond-detail-panel__price {
	display: block;
	font-size: 19px;
	font-variant-numeric: tabular-nums;
	font-weight: 550;
	margin: 0;
}

.keb-product-diamond-detail-panel__highlights,
.keb-product-diamond-detail-panel__specs {
	display: grid;
	gap: 0 30px;
	grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
	margin: 0;
}

.keb-product-diamond-detail-panel__highlights {
	border-top: 1px solid var( --keb-soft-line );
	margin-top: 16px;
}

.keb-product-diamond-detail-panel__highlights .keb-product-diamond-card__detail,
.keb-product-diamond-detail-panel__specs .keb-product-diamond-card__detail {
	background: transparent;
	border: 0;
	border-bottom: 1px solid var( --keb-soft-line );
	display: block;
	margin: 0;
	padding: 10px 0 9px;
}

.keb-product-diamond-detail-panel__highlights .keb-product-diamond-card__detail dt,
.keb-product-diamond-detail-panel__specs .keb-product-diamond-card__detail dt {
	align-items: center;
	color: var( --keb-muted );
	display: flex;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.11em;
	margin: 0 0 3px;
	text-transform: uppercase;
}

.keb-product-diamond-detail-panel__highlights .keb-product-diamond-card__detail dd,
.keb-product-diamond-detail-panel__specs .keb-product-diamond-card__detail dd {
	color: var( --keb-ink );
	font-size: 13.5px;
	font-weight: 500;
	margin: 0;
}

.keb-product-diamond-detail-panel__reassurance {
	border-left: 2px solid var( --keb-gold );
	color: var( --keb-muted );
	font-size: 12px;
	line-height: 1.55;
	margin: 16px 0 0;
	padding-left: 12px;
}

.keb-product-diamond-detail-panel__actions {
	align-items: stretch;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 18px;
}

.keb-product-diamond-detail-panel__actions .keb-product-button--primary {
	flex: 1 1 240px;
}

.keb-product-diamond-detail-panel__certificate {
	align-items: center;
	border: 1px solid var( --keb-ink );
	color: var( --keb-ink );
	display: inline-flex;
	font-size: 12px;
	font-weight: 600;
	justify-content: center;
	letter-spacing: 0.14em;
	padding: 13px 22px;
	text-decoration: none;
	text-transform: uppercase;
	transition: background 150ms ease;
}

.keb-product-diamond-detail-panel__certificate:hover {
	background: var( --keb-ivory, #f3ece4 );
}

.keb-product-diamond-detail-panel__close {
	position: absolute;
	right: 14px;
	top: 12px;
	z-index: 3;
}

.keb-product-diamond-detail-panel__video {
	max-width: none;
}

@media ( max-width: 900px ) {
	.keb-product-diamond-detail-panel {
		grid-template-columns: minmax( 0, 1fr );
	}

	.keb-product-diamond-detail-panel__highlights,
	.keb-product-diamond-detail-panel__specs {
		grid-template-columns: minmax( 0, 1fr );
	}
}

/* 4. Spec education dialog — compact, matching the existing info dialogs. */
.keb-product-info-dialog--spec .keb-product-info-dialog__surface {
	max-width: 440px;
}

.keb-product-info-dialog__note {
	color: var( --keb-gold );
	font-weight: 500;
}

.keb-product-info-dialog__link-row {
	margin: 4px 0 0;
}

.keb-product-info-dialog__link {
	border-bottom: 1px solid currentColor;
	color: var( --keb-ink );
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.12em;
	padding-bottom: 2px;
	text-decoration: none;
	text-transform: uppercase;
}

/* --- v0.8.19: price line, quiet dialogs, no hairlines anywhere ------------ */

/* The sort control's clicked state: no lingering gold box; keyboard focus stays visible. */
.keb-product-sort select:focus {
	border-color: var( --keb-line );
	outline: none;
}

.keb-product-sort select:focus-visible {
	border-color: var( --keb-ink );
	outline: 2px solid var( --keb-gold );
	outline-offset: 2px;
}

/* Every separator line inside the filter rail goes — including the ones nested
 * inside the More/Advanced disclosure panels that survived the last pass. */
.keb-product-filters .keb-product-filter-group,
.keb-product-filters .keb-product-filter-group__label,
.keb-product-filters .keb-product-filter-details,
.keb-product-filters .keb-product-filter-details > *,
.keb-product-filters .keb-product-filter-details summary,
.keb-product-filters fieldset,
.keb-product-filters legend {
	border-top: 0 !important;
	border-bottom: 0 !important;
	box-shadow: none !important;
}

.keb-product-filters hr {
	display: none !important;
}

/* The detail panel loses its internal rules — space and type do the work. */
.keb-product-diamond-detail-panel__highlights {
	border-top: 0;
	margin-top: 12px;
}

.keb-product-diamond-detail-panel__highlights .keb-product-diamond-card__detail,
.keb-product-diamond-detail-panel__specs .keb-product-diamond-card__detail {
	border-bottom: 0;
	padding: 8px 0;
}

.keb-product-diamond-detail-panel__header,
.keb-product-diamond-detail-panel__price,
.keb-product-diamond-detail-panel__intro {
	border: 0 !important;
	box-shadow: none !important;
}

/* Info dialogs: centred, compact, Queensmith-calibre — no gold bar, no rules. */
.keb-product-info-dialog[open] {
	margin: auto;
	width: min( 470px, calc( 100vw - 32px ) );
}

.keb-product-info-dialog__surface {
	border-top: 0;
	padding: 44px 38px 34px;
	text-align: center;
}

.keb-product-info-dialog__surface::before {
	display: none;
}

.keb-product-info-dialog__close {
	font-size: 20px;
	height: 34px;
	right: 12px;
	top: 12px;
	width: 34px;
}

.keb-product-info-dialog__eyebrow {
	font-size: 9.5px;
	letter-spacing: 0.18em;
	margin: 0 0 10px;
}

.keb-product-info-dialog h2 {
	font-size: clamp( 24px, 3vw, 30px );
	letter-spacing: -0.01em;
	margin: 0 0 14px;
}

.keb-product-info-dialog__surface > p:not( .keb-product-info-dialog__eyebrow ) {
	font-size: 14.5px;
	line-height: 1.65;
	margin: 0 auto 12px;
	max-width: 44ch;
}

.keb-product-info-dialog__actions {
	border-top: 0;
	margin-top: 20px;
	padding-top: 0;
}

.keb-product-info-dialog__actions .keb-product-button {
	background: transparent;
	border: 0;
	border-bottom: 1px solid currentColor;
	color: var( --keb-ink );
	font-size: 12px;
	letter-spacing: 0.14em;
	min-width: 0;
	padding: 2px 1px 5px;
}

.keb-product-info-dialog__actions .keb-product-button:hover {
	background: transparent;
	color: var( --keb-burgundy );
}

.keb-product-info-dialog__link-row {
	margin: 2px 0 0;
}

/* --- v0.8.20 (kept): legend info mark and filter label ------------------ */

/* The ⓘ beside the Cut legend, sized like every other fine info mark. */
.keb-product-spec-info--legend {
	margin-left: 8px;
	vertical-align: 1px;
}

.keb-product-filter-group__label {
	align-items: center;
	display: flex;
}

/* --- v0.8.22: two-choice diamond type control ---------------------------- */

.keb-product-filter-group--origin .keb-product-origin-options {
	display: grid;
	gap: 10px;
	grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
}

.keb-product-filter-group--origin .keb-product-origin-options label {
	cursor: pointer;
	margin: 0;
	min-width: 0;
	position: relative;
}

.keb-product-filter-group--origin .keb-product-origin-options label:only-child {
	grid-column: 1 / -1;
}

.keb-product-filter-group--origin .keb-product-origin-options input {
	height: 1px;
	left: 0;
	opacity: 0;
	position: absolute;
	top: 0;
	width: 1px;
}

.keb-product-filter-group--origin .keb-product-origin-options span {
	align-items: center;
	background: #fff;
	border: 1px solid var( --keb-ink );
	border-radius: 5px;
	color: var( --keb-ink );
	display: flex;
	font-size: 14px;
	font-weight: 400;
	justify-content: center;
	line-height: 1.2;
	min-height: 46px;
	padding: 9px 10px;
	text-align: center;
	transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease;
}

.keb-product-filter-group--origin .keb-product-origin-options label:hover span {
	background: var( --keb-warm );
}

.keb-product-filter-group--origin .keb-product-origin-options input:checked + span {
	background: var( --keb-gold );
	border-color: var( --keb-gold );
	color: var( --keb-ink );
}

.keb-product-filter-group--origin .keb-product-origin-options input:focus-visible + span {
	outline: 2px solid var( --keb-ink );
	outline-offset: 3px;
}

/* --- v0.8.29: Kinzy service and product-information panel --------------- */

body.keb-product-builder-active .keb-product-support {
	--keb-support-ink: #211a18;
	--keb-support-burgundy: #351211;
	--keb-support-muted: #6f6560;
	--keb-support-soft: #8d857a;
	--keb-support-champagne: #bfa277;
	--keb-support-line: #e9e2d8;
	box-sizing: border-box;
	color: var( --keb-support-ink );
	display: grid;
	gap: 12px;
	margin: 12px 0 0;
	min-width: 0;
	padding: 0;
	width: 100%;
}

body.keb-product-builder-active .keb-product-support [hidden] {
	display: none !important;
}

body.keb-product-builder-active .keb-product-support__appointment {
	margin: 0;
	width: 100%;
}

/* The script moves the theme's own appointment link into the slot above; until
 * it has, the link stays out of the flow so nothing jumps while the page loads. */
body.keb-product-builder-active .summary .specifications > .product_calendar_button {
	display: none;
}

body.keb-product-builder-active .keb-product-support__appointment .product_calendar_button {
	align-items: center !important;
	background: transparent !important;
	border: 1px solid var( --keb-support-burgundy ) !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	box-sizing: border-box !important;
	color: var( --keb-support-burgundy ) !important;
	display: flex !important;
	font-family: inherit !important;
	font-size: 13px !important;
	font-style: normal !important;
	font-weight: 500 !important;
	justify-content: center !important;
	letter-spacing: 0.15em !important;
	line-height: 1.2 !important;
	margin: 0 !important;
	min-height: 52px !important;
	padding: 13px 22px !important;
	text-align: center !important;
	text-decoration: none !important;
	text-transform: uppercase !important;
	transition: background-color 160ms ease, color 160ms ease !important;
	width: 100% !important;
}

body.keb-product-builder-active .keb-product-support__appointment .product_calendar_button::before,
body.keb-product-builder-active .keb-product-support__appointment .product_calendar_button::after {
	display: none !important;
}

body.keb-product-builder-active .keb-product-support__appointment .product_calendar_button:hover {
	background: var( --keb-support-burgundy ) !important;
	color: #fff !important;
}

body.keb-product-builder-active .keb-product-support__actions {
	display: flex;
	gap: 12px 26px;
	justify-content: flex-start;
	margin: 4px 0 0;
	padding: 0;
}

body.keb-product-builder-active .keb-product-support__actions a {
	border-bottom: 1px solid #d8cec5;
	color: var( --keb-support-soft );
	display: inline-block;
	font-size: 12px;
	font-weight: 400;
	line-height: 1.5;
	padding: 0;
	text-decoration: none;
	transition: color 160ms ease, border-color 160ms ease;
}

body.keb-product-builder-active .keb-product-support__actions a:hover {
	border-bottom-color: var( --keb-support-burgundy );
	color: var( --keb-support-burgundy );
}

body.keb-product-builder-active .keb-product-support__disclosures {
	border-top: 1px solid var( --keb-support-line );
	margin: 12px 0 0;
}

body.keb-product-builder-active .keb-product-support__disclosures details {
	border-bottom: 1px solid var( --keb-support-line );
	margin: 0;
	padding: 0;
}

body.keb-product-builder-active .keb-product-support__disclosures summary {
	align-items: center;
	color: var( --keb-support-ink );
	cursor: pointer;
	display: flex;
	font-size: 11px;
	font-weight: 400;
	gap: 16px;
	justify-content: space-between;
	letter-spacing: 0.18em;
	line-height: 1.5;
	list-style: none;
	margin: 0;
	min-height: 0;
	padding: 16px 0;
	text-transform: uppercase;
}

body.keb-product-builder-active .keb-product-support__disclosures summary::-webkit-details-marker {
	display: none;
}

/* A fine "+" on the right that turns to "×" when the row is open. */
body.keb-product-builder-active .keb-product-support__disclosures summary::after {
	background:
		linear-gradient( currentColor, currentColor ) center / 11px 1px no-repeat,
		linear-gradient( currentColor, currentColor ) center / 1px 11px no-repeat;
	content: "";
	flex: 0 0 11px;
	height: 11px;
	order: 2;
	transition: transform 150ms ease;
	width: 11px;
}

body.keb-product-builder-active .keb-product-support__disclosures details[open] > summary::after {
	transform: rotate( 45deg );
}

body.keb-product-builder-active .keb-product-support__panel {
	color: var( --keb-support-muted );
	font-size: 13px;
	line-height: 1.6;
	padding: 0 24px 20px 0;
}

body.keb-product-builder-active .keb-product-support__panel p {
	font-size: 13px;
	line-height: 1.6;
	margin: 0 0 10px;
}

body.keb-product-builder-active .keb-product-support__panel--description p,
body.keb-product-builder-active .keb-product-support__panel--description li {
	color: var( --keb-support-muted );
	font-size: 13px;
	line-height: 1.6;
}

body.keb-product-builder-active .keb-product-support__panel--description h4,
body.keb-product-builder-active .keb-product-support__panel--description h5,
body.keb-product-builder-active .keb-product-support__panel--description h6 {
	color: var( --keb-support-ink );
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.18em;
	margin: 18px 0 6px;
	text-transform: uppercase;
}

body.keb-product-builder-active .keb-product-support__panel > :first-child {
	margin-top: 0;
}

body.keb-product-builder-active .keb-product-support__panel > :last-child {
	margin-bottom: 0;
}

body.keb-product-builder-active .keb-product-support__panel a {
	color: var( --keb-support-burgundy );
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

body.keb-product-builder-active .keb-product-support__appointment .product_calendar_button:focus-visible,
body.keb-product-builder-active .keb-product-support__actions a:focus-visible,
body.keb-product-builder-active .keb-product-support__disclosures summary:focus-visible,
body.keb-product-builder-active .keb-product-support__panel a:focus-visible {
	outline: 2px solid var( --keb-support-champagne );
	outline-offset: 3px;
}

@media ( max-width: 620px ) {
	body.keb-product-builder-active .keb-product-support {
		gap: 20px;
	}

	body.keb-product-builder-active .keb-product-support__appointment .product_calendar_button {
		font-size: 12px !important;
		min-height: 50px !important;
	}
}

@media ( prefers-reduced-motion: reduce ) {
	body.keb-product-builder-active .keb-product-support__appointment .product_calendar_button,
	body.keb-product-builder-active .keb-product-support__disclosures summary::after {
		transition: none !important;
	}
}

/* --- v0.8.30: refined product facts and single enquiry action ----------- */

body.keb-product-builder-active .keb-product-support__intro {
	color: var( --keb-support-ink );
	font-size: 14px;
	line-height: 1.55;
}

body.keb-product-builder-active .keb-product-support__specs {
	border-top: 1px solid var( --keb-support-line );
	margin: 18px 0 0;
}

body.keb-product-builder-active .keb-product-support__specs > div {
	align-items: start;
	border-bottom: 1px solid var( --keb-support-line );
	display: grid;
	gap: 18px;
	grid-template-columns: minmax( 115px, 0.85fr ) minmax( 0, 1.15fr );
	padding: 10px 2px;
}

body.keb-product-builder-active .keb-product-support__specs dt,
body.keb-product-builder-active .keb-product-support__specs dd {
	font-size: 12.5px;
	line-height: 1.45;
	margin: 0;
}

body.keb-product-builder-active .keb-product-support__specs dt {
	color: var( --keb-support-ink );
	font-weight: 550;
}

body.keb-product-builder-active .keb-product-support__specs dd {
	color: var( --keb-support-muted );
}

body.keb-product-builder-active .keb-product-support__estimate {
	background: rgba( 191, 162, 119, 0.1 );
	border-left: 2px solid var( --keb-support-champagne );
	color: var( --keb-support-ink );
	padding: 10px 12px;
}

body.keb-product-builder-active .keb-product-support__estimate strong {
	font-weight: 550;
}

@media ( max-width: 440px ) {
	body.keb-product-builder-active .keb-product-support__specs > div {
		gap: 12px;
		grid-template-columns: minmax( 96px, 0.8fr ) minmax( 0, 1.2fr );
	}

}

/* --- v0.8.35: selective quality merchandising ----------------------------- */

.keb-product-diamond-card__merchandising {
	align-self: flex-start;
	background: var( --keb-ivory, #f3ece4 );
	border: 1px solid rgba( 53, 18, 17, 0.12 );
	border-radius: 999px;
	color: #4f4742;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.07em;
	line-height: 1;
	margin: -4px 0 11px;
	padding: 6px 11px;
}

.keb-product-results[data-view="list"] .keb-product-diamond-card__quality-specs,
.keb-product-results[data-view="list"] .keb-product-diamond-card__merchandising {
	grid-column: 1;
}

/* --- v0.8.34: responsive four-across diamond results ---------------------- */

.keb-product-results[data-view="grid"] {
	gap: 14px;
	grid-template-columns: minmax( 0, 1fr );
}

@container keb-product-results-wrap ( min-width: 480px ) {
	.keb-product-results[data-view="grid"] {
		grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
	}
}

@container keb-product-results-wrap ( min-width: 680px ) {
	.keb-product-results[data-view="grid"] {
		grid-template-columns: repeat( 3, minmax( 0, 1fr ) );
	}
}

@container keb-product-results-wrap ( min-width: 800px ) {
	.keb-product-results[data-view="grid"] {
		gap: 18px;
		grid-template-columns: repeat( 4, minmax( 0, 1fr ) );
	}
}

.keb-product-results[data-view="grid"] > .keb-product-diamond-detail-panel,
.keb-product-results[data-view="grid"] > .keb-product-notice {
	grid-column: 1 / -1;
}

/* --- v0.8.53: left-aligned expanded details, one sans-serif, tighter cards ------- */

/* Expanded diamond details: everything reads from the left; values sit under labels. */
.keb-product-diamond-detail-panel__content,
.keb-product-diamond-detail-panel__header,
.keb-product-diamond-detail-panel__eyebrow,
.keb-product-diamond-detail-panel__header h3,
.keb-product-diamond-detail-panel__intro,
.keb-product-diamond-detail-panel__quality,
.keb-product-diamond-detail-panel__price,
.keb-product-diamond-detail-panel__highlights,
.keb-product-diamond-detail-panel__specs,
.keb-product-diamond-detail-panel__highlights .keb-product-diamond-card__detail,
.keb-product-diamond-detail-panel__specs .keb-product-diamond-card__detail,
.keb-product-diamond-card__detail dt,
.keb-product-diamond-card__detail dd,
.keb-product-diamond-detail-panel__reassurance {
	justify-items: start;
	text-align: left !important;
}

.keb-product-diamond-detail-panel__content {
	align-content: start;
	font-family: var( --kinzy-sans, "Jost", "Helvetica Neue", Arial, sans-serif );
}

.keb-product-diamond-detail-panel__header {
	margin: 0 0 8px;
	padding-right: 40px;
}

.keb-product-diamond-detail-panel__eyebrow {
	font-family: var( --kinzy-sans, "Jost", "Helvetica Neue", Arial, sans-serif );
	margin: 0 0 4px;
}

.keb-product-diamond-detail-panel__header h3 {
	font-family: var( --kinzy-sans, "Jost", "Helvetica Neue", Arial, sans-serif );
	font-size: 20px;
	font-weight: 500;
	letter-spacing: 0;
	line-height: 1.3;
	margin: 0 0 2px;
	text-transform: none;
}

.keb-product-diamond-detail-panel__intro {
	font-family: var( --kinzy-sans, "Jost", "Helvetica Neue", Arial, sans-serif );
	font-size: 14px;
	font-weight: 400;
	letter-spacing: 0;
	line-height: 1.45;
	margin: 0 0 2px;
	text-transform: none;
}

.keb-product-diamond-detail-panel__quality {
	font-size: 14px;
	line-height: 1.45;
	margin: 0 0 8px;
}

.keb-product-diamond-detail-panel__price {
	font-family: var( --kinzy-sans, "Jost", "Helvetica Neue", Arial, sans-serif );
	font-size: 18px;
	font-weight: 600;
	letter-spacing: 0;
	line-height: 1.2;
	margin: 0;
}

.keb-product-diamond-detail-panel__highlights,
.keb-product-diamond-detail-panel__specs {
	gap: 0 24px;
	padding: 6px 0 2px;
}

.keb-product-diamond-detail-panel__highlights .keb-product-diamond-card__detail,
.keb-product-diamond-detail-panel__specs .keb-product-diamond-card__detail {
	padding: 6px 0;
}

.keb-product-diamond-detail-panel__highlights .keb-product-diamond-card__detail dt,
.keb-product-diamond-detail-panel__specs .keb-product-diamond-card__detail dt {
	font-family: var( --kinzy-sans, "Jost", "Helvetica Neue", Arial, sans-serif );
	justify-content: flex-start;
	margin: 0 0 2px;
}

.keb-product-diamond-detail-panel__highlights .keb-product-diamond-card__detail dd,
.keb-product-diamond-detail-panel__specs .keb-product-diamond-card__detail dd {
	font-family: var( --kinzy-sans, "Jost", "Helvetica Neue", Arial, sans-serif );
	font-size: 14px;
	font-weight: 400;
	line-height: 1.4;
}

.keb-product-diamond-detail-panel__reassurance {
	font-family: var( --kinzy-sans, "Jost", "Helvetica Neue", Arial, sans-serif );
	margin: 10px 0 14px;
}

/* Cards: one sans-serif, lighter price, 2px corners, compact body. */
.keb-product-diamond-card {
	border-radius: 2px;
}

.keb-product-diamond-card__media,
.keb-product-diamond-card__media img {
	border-radius: 0;
}

.keb-product-diamond-card__body {
	font-family: var( --kinzy-sans, "Jost", "Helvetica Neue", Arial, sans-serif );
	gap: 0;
	min-height: 0;
	padding: 14px 16px 14px;
}

.keb-product-diamond-card__price {
	font-family: inherit;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.25;
	margin: 0 0 3px;
}

.keb-product-diamond-card__body h3 {
	font-family: inherit;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.3;
	margin: 0 0 2px;
}

.keb-product-diamond-card__quick-specs {
	font-size: 14px;
	font-weight: 400;
	line-height: 1.3;
	margin: 0 0 12px;
}

.keb-product-diamond-card__footer {
	margin-top: auto;
	padding-top: 8px;
}

.keb-product-diamond-card__footer .keb-product-button--text,
.keb-product-diamond-card__more,
.keb-product-diamond-card__cert {
	font-family: inherit;
	font-size: 14px;
	font-weight: 400;
	min-height: 28px;
}

/* Sidebar: headings and group labels read from the left; buttons and inputs stay centred. */
.keb-product-filters .keb-product-filter-heading,
.keb-product-filters .keb-product-filter-heading > p,
.keb-product-filters .keb-product-filter-heading h3,
.keb-product-filters .keb-product-filter-group__label,
.keb-product-filters .keb-product-filter-group--carat .keb-product-filter-group__label,
.keb-product-filters .keb-product-sort > span {
	justify-content: flex-start;
	text-align: left !important;
}

@media ( max-width: 620px ) {
	.keb-product-diamond-card__body {
		padding: 12px 12px 12px;
	}

	.keb-product-diamond-card__price {
		font-size: 15px;
	}

	.keb-product-diamond-card__body h3 {
		font-size: 14px;
	}

	.keb-product-diamond-card__quick-specs {
		font-size: 13px;
		margin-bottom: 10px;
	}

	.keb-product-diamond-card__footer .keb-product-button--text,
	.keb-product-diamond-card__more,
	.keb-product-diamond-card__cert {
		font-size: 13px;
	}

	.keb-product-diamond-detail-panel__header h3 {
		font-size: 18px;
	}
}

/* --- v0.8.56: sort control matches the ring-size dropdown; retired passages ------- */
.keb-product-diamonds__intro {
	display: none;
}

.keb-product-diamond-detail-panel__reassurance {
	display: none;
}

.keb-product-sort--enhanced {
	align-items: center;
	display: inline-flex;
	gap: 10px;
	position: relative;
}

.keb-product-sort-menu {
	position: relative;
}

.keb-product-sort-menu__toggle {
	min-height: 40px;
}

.keb-product-sort-menu__panel {
	background: #fff;
	border: 1px solid #d8cec5;
	box-shadow: 0 10px 24px rgba( 33, 26, 24, 0.08 );
	min-width: 220px;
	padding: 8px;
	position: absolute;
	right: 0;
	top: calc( 100% + 6px );
	z-index: 30;
}

.keb-product-sort-menu__list {
	grid-template-columns: 1fr;
	gap: 6px;
}

.keb-product-sort-menu__option {
	height: 40px;
	justify-content: flex-start;
	padding: 0 12px;
	text-align: left;
	white-space: nowrap;
}

@media ( max-width: 620px ) {
	.keb-product-sort-menu__panel {
		left: auto;
		max-width: calc( 100vw - 32px );
		right: 0;
	}
}

/* --- v0.8.57: sort underline removed, compact mobile filters, accordion bars ------- */

/* 1. No line beneath the sort control (old select border and any pseudo rule). */
.keb-product-sort--toolbar,
.keb-product-sort--toolbar::before,
.keb-product-sort--toolbar::after,
.keb-product-sort--toolbar select,
.keb-product-sort--enhanced,
.keb-product-sort-menu,
.keb-product-sort-menu__toggle {
	background-image: none !important;
	border: 0 !important;
	box-shadow: none !important;
}

.keb-product-sort--toolbar::before,
.keb-product-sort--toolbar::after {
	content: none !important;
}

/* 3. More filters / Advanced filters as two full-width accordion bars with one shared separator. */
.keb-product-filter-disclosure,
.keb-product-filter-disclosure--advanced {
	background: #fff;
	border: 0;
	margin: 0;
	width: 100%;
}

.keb-product-filter-disclosure + .keb-product-filter-disclosure--advanced {
	border-top: 1px solid var( --keb-line );
	margin-top: 0;
}

.keb-product-filter-disclosure > summary,
.keb-product-filter-disclosure--advanced > summary {
	align-items: center;
	color: var( --keb-ink );
	cursor: pointer;
	display: flex;
	font-size: 14px;
	font-weight: 500;
	justify-content: flex-start;
	letter-spacing: 0;
	min-height: 52px;
	padding: 0 44px 0 0;
	position: relative;
	text-align: left;
	width: 100%;
}

.keb-product-filter-disclosure > summary::before {
	background: none;
	border: 1px solid #cfc7bd;
	border-radius: 50%;
	content: "";
	height: 26px;
	left: auto;
	margin-top: -13px;
	position: absolute;
	right: 0;
	top: 50%;
	transform: none;
	width: 26px;
}

.keb-product-filter-disclosure > summary::after {
	background: none;
	border: solid currentColor;
	border-width: 0 1.2px 1.2px 0;
	content: "";
	height: 6px;
	left: auto;
	margin-top: -5px;
	position: absolute;
	right: 10px;
	top: 50%;
	transform: rotate( 45deg );
	transition: transform 160ms ease, margin-top 160ms ease;
	width: 6px;
}

.keb-product-filter-disclosure:not([open]) > summary::after {
	transform: rotate( 45deg );
}

.keb-product-filter-disclosure[open] > summary::after {
	margin-top: -2px;
	transform: rotate( 225deg );
}

.keb-product-filter-disclosure > summary:hover {
	color: var( --keb-burgundy );
}

.keb-product-filter-disclosure__panel,
.keb-product-filter-disclosure--advanced > .keb-product-filter-disclosure__panel {
	padding: 0 0 12px;
}

/* 2. Compact mobile filter panel: one consistent inset, tighter groups, compact fields. */
@media ( max-width: 1024px ) {
	.keb-product-filters {
		padding-left: 18px !important;
		padding-right: 18px !important;
	}

	.keb-product-filters form,
	.keb-product-filters form > .keb-product-filter-group,
	.keb-product-filters .keb-product-filter-heading,
	.keb-product-filters .keb-product-filter-disclosure,
	.keb-product-filters .keb-product-filter-actions {
		margin-left: 0;
		margin-right: 0;
		padding-left: 0;
		padding-right: 0;
		width: 100%;
	}

	.keb-product-filters .keb-product-filter-heading {
		margin-bottom: 12px;
	}

	.keb-product-filters form > .keb-product-filter-group {
		margin-bottom: 14px;
	}

	.keb-product-filters .keb-product-filter-group__label {
		font-size: 14px;
		margin: 0 0 8px;
	}

	.keb-product-filters .keb-product-filter-group__hint,
	.keb-product-filters .keb-product-filter-subgroup legend {
		margin-bottom: 6px;
	}

	.keb-product-filters .keb-product-filter-subgroup {
		padding: 8px 0;
	}

	.keb-product-filter-group--origin .keb-product-origin-options {
		display: grid;
		gap: 8px;
		grid-template-columns: 1fr 1fr;
		width: 100%;
	}

	.keb-product-filter-group--origin .keb-product-origin-options label {
		min-width: 0;
	}

	.keb-product-filter-group--origin .keb-product-origin-options span {
		min-height: 44px;
		padding: 10px 8px;
		width: 100%;
	}

	.keb-product-filters .keb-product-check-grid,
	.keb-product-filters .keb-product-option-grid {
		display: flex;
		flex-wrap: wrap;
		gap: 8px;
	}

	.keb-product-filters .keb-product-check-grid label > span,
	.keb-product-filters .keb-product-option-grid > label > span {
		font-size: 13px;
		min-height: 40px;
		min-width: 44px;
		padding: 8px 12px;
	}

	.keb-product-filter-group--carat .keb-product-range,
	.keb-product-filters .keb-product-filter-range {
		align-items: end;
		display: grid;
		gap: 8px;
		grid-template-columns: minmax( 0, 1fr ) 14px minmax( 0, 1fr );
		justify-content: start;
		max-width: 260px;
		width: 100%;
	}

	.keb-product-filter-group--carat .keb-product-range > label,
	.keb-product-filters .keb-product-filter-range > label {
		min-width: 0;
		width: 100%;
	}

	.keb-product-filter-group--carat .keb-product-range input,
	.keb-product-filters .keb-product-filter-range input {
		font-size: 14px;
		height: 42px;
		padding: 8px 10px;
		width: 100%;
	}

	.keb-product-filter-group--carat .keb-product-range > label > span,
	.keb-product-filters .keb-product-filter-range > label > span {
		font-size: 11px;
		margin-bottom: 4px;
	}

	.keb-product-filters .keb-product-filter-actions {
		gap: 10px;
		margin-top: 16px;
	}
}

/* --- v0.8.58: full-width accordion bars; two-row mobile toolbar ------------------- */

/* The rail's headings start 56px in from the layout edge (layout padding) and the
 * rail keeps 26px before its right border. The bars bleed across both so their
 * white backgrounds and rules run edge to edge, while their padding puts the
 * labels back on the heading line and the chevrons on a matching right inset. */
.keb-product-filters {
	--keb-rail-bleed-left: 56px;
	--keb-rail-bleed-right: 26px;
}

.keb-product-filters .keb-product-filter-disclosure,
.keb-product-filters .keb-product-filter-disclosure--advanced {
	background: #fff;
	border: 0;
	box-sizing: border-box;
	margin: 0 calc( -1 * var( --keb-rail-bleed-right ) ) 0 calc( -1 * var( --keb-rail-bleed-left ) );
	padding: 0 var( --keb-rail-bleed-right ) 0 var( --keb-rail-bleed-left );
	width: auto;
}

.keb-product-filters .keb-product-filter-disclosure:not( .keb-product-filter-disclosure--advanced ) {
	border-top: 1px solid var( --keb-line );
}

.keb-product-filters .keb-product-filter-disclosure--advanced {
	border-bottom: 1px solid var( --keb-line );
	border-top: 1px solid var( --keb-line );
	margin-top: 0;
}

.keb-product-filters .keb-product-filter-disclosure > summary,
.keb-product-filters .keb-product-filter-disclosure--advanced > summary {
	font-family: var( --kinzy-sans, "Jost", "Helvetica Neue", Arial, sans-serif );
	font-size: 14px;
	font-weight: 500;
	min-height: 54px;
	padding: 0 44px 0 0;
}

.keb-product-filters .keb-product-filter-disclosure > summary::before {
	right: 0;
}

.keb-product-filters .keb-product-filter-disclosure > summary::after {
	right: 10px;
}

.keb-product-filters .keb-product-filter-disclosure__panel,
.keb-product-filters .keb-product-filter-disclosure--advanced > .keb-product-filter-disclosure__panel {
	padding: 0 0 14px;
}

@media ( max-width: 1024px ) {
	.keb-product-filters {
		--keb-rail-bleed-left: 18px;
		--keb-rail-bleed-right: 18px;
	}

	.keb-product-filters .keb-product-filter-disclosure,
	.keb-product-filters .keb-product-filter-disclosure--advanced {
		margin-left: calc( -1 * var( --keb-rail-bleed-left ) );
		margin-right: calc( -1 * var( --keb-rail-bleed-right ) );
		padding-left: var( --keb-rail-bleed-left );
		padding-right: var( --keb-rail-bleed-right );
		width: auto;
	}
}

/* Mobile toolbar: row one is the view switch; row two is Sort (left) and Filters
 * (right) at the same 44px touch height, 12px apart, 18px gutters. */
@media ( max-width: 680px ) {
	.keb-product-results-toolbar {
		align-items: center;
		column-gap: 12px;
		display: grid;
		grid-template-columns: minmax( 0, 1fr ) auto;
		min-height: 0;
		padding: 6px 0 10px;
		row-gap: 10px;
	}

	.keb-product-results-toolbar__primary {
		display: contents;
	}

	.keb-product-results-toolbar__primary > .keb-product-view-switch {
		grid-column: 1 / -1;
		grid-row: 1;
		margin: 0;
	}

	.keb-product-results-toolbar__primary > [data-keb-results-status] {
		display: none;
	}

	.keb-product-results-toolbar .keb-product-sort--toolbar {
		align-items: center;
		display: inline-flex;
		grid-column: 1;
		grid-row: 2;
		justify-self: start;
		margin: 0;
		min-height: 44px;
	}

	.keb-product-results-toolbar .keb-product-button--filter {
		grid-column: 2;
		grid-row: 2;
		justify-self: end;
		margin: 0;
		min-height: 44px;
		padding-bottom: 0;
		padding-top: 0;
	}

	.keb-product-sort-menu__toggle {
		min-height: 44px;
	}

	.keb-product-sort-menu__panel {
		left: 0;
		max-width: calc( 100vw - 36px );
		right: auto;
	}

	.keb-product-results {
		margin-top: 8px;
	}
}

/* --- v0.8.59: warm ivory accordions; divider on the heading row in every state --- */
.keb-product-filters .keb-product-filter-disclosure,
.keb-product-filters .keb-product-filter-disclosure--advanced,
.keb-product-filters .keb-product-filter-disclosure__panel,
.keb-product-filters .keb-product-filter-disclosure--advanced > .keb-product-filter-disclosure__panel {
	background: var( --keb-warm, #f3ece4 );
}

/* The bar carries no horizontal padding of its own any more; the heading row and
 * the panel take it, so the heading's own rule can run the full bar width. */
.keb-product-filters .keb-product-filter-disclosure,
.keb-product-filters .keb-product-filter-disclosure--advanced {
	border: 0;
	padding-left: 0;
	padding-right: 0;
}

.keb-product-filters .keb-product-filter-disclosure:not( .keb-product-filter-disclosure--advanced ) {
	border-top: 1px solid var( --keb-line );
}

/* When More filters is open, its content needs a rule before the next heading. */
.keb-product-filters .keb-product-filter-disclosure[open] + .keb-product-filter-disclosure--advanced {
	border-top: 1px solid var( --keb-line );
}

/* When Advanced filters is open, its content needs a rule to close the block. */
.keb-product-filters .keb-product-filter-disclosure--advanced[open] {
	border-bottom: 1px solid var( --keb-line );
}

.keb-product-filters .keb-product-filter-disclosure > summary,
.keb-product-filters .keb-product-filter-disclosure--advanced > summary {
	border-bottom: 1px solid var( --keb-line );
	box-sizing: border-box;
	padding: 0 calc( var( --keb-rail-bleed-right ) + 44px ) 0 var( --keb-rail-bleed-left );
	width: 100%;
}

.keb-product-filters .keb-product-filter-disclosure > summary::before {
	right: var( --keb-rail-bleed-right );
}

.keb-product-filters .keb-product-filter-disclosure > summary::after {
	right: calc( var( --keb-rail-bleed-right ) + 10px );
}

.keb-product-filters .keb-product-filter-disclosure__panel,
.keb-product-filters .keb-product-filter-disclosure--advanced > .keb-product-filter-disclosure__panel {
	padding: 12px var( --keb-rail-bleed-right ) 16px var( --keb-rail-bleed-left );
}

@media ( max-width: 1024px ) {
	.keb-product-filters .keb-product-filter-disclosure,
	.keb-product-filters .keb-product-filter-disclosure--advanced {
		padding-left: 0;
		padding-right: 0;
	}
}

/* --- v0.8.60: accordions sit on the sidebar's own surface ------------------------- */
/* Measured on staging: everything behind the filter groups is transparent down to
 * the studio surface (rgb 248,246,242 = --keb-paper). The bars and their panels are
 * therefore transparent too, so the sidebar reads as one continuous surface with
 * only the fine dividers defining the sections. */
.keb-product-filters .keb-product-filter-disclosure,
.keb-product-filters .keb-product-filter-disclosure--advanced,
.keb-product-filters .keb-product-filter-disclosure__panel,
.keb-product-filters .keb-product-filter-disclosure--advanced > .keb-product-filter-disclosure__panel,
.keb-product-filters .keb-product-filter-disclosure > summary,
.keb-product-filters .keb-product-filter-disclosure--advanced > summary {
	background: transparent;
}

/* --- v0.8.61: mobile action row on the studio surface; desktop dividers unclipped -- */

/* 1. The sticky Close filters / Reset row loses its white panel. It stays sticky
 * over scrolling filters, so it paints the studio's own surface (--keb-paper,
 * the measured sidebar background) rather than a different colour. */
.keb-product-filters .keb-product-filter-actions {
	background: var( --keb-paper, #f8f6f2 );
	box-shadow: none;
}

.keb-product-filters .keb-product-filter-actions > * {
	background-color: transparent;
}

.keb-product-filters .keb-product-filter-actions .keb-product-filter-actions__close,
.keb-product-filters .keb-product-filter-actions .keb-product-button--secondary {
	background: transparent;
}

/* 2. Desktop: the sidebar is a scrolling container, so anything bled beyond its box
 * was clipped at the text inset. Widen the container itself by the left bleed and
 * hand that space back as padding: the headings keep their position, and the
 * accordion rules now run from the sidebar's outer left edge to its right divider. */
@media ( min-width: 1025px ) {
	.keb-product-filters {
		margin-left: calc( -1 * var( --keb-rail-bleed-left ) );
		padding-left: var( --keb-rail-bleed-left );
	}
}

/* --- v0.8.62: quiet focus on Back to your setting; info icons beside every filter heading --- */
.keb-product-diamond-studio__close {
	-webkit-tap-highlight-color: transparent;
}

.keb-product-diamond-studio__close:focus,
.keb-product-diamond-studio__close:active {
	background: transparent;
	box-shadow: none;
	outline: none;
}

.keb-product-diamond-studio__close:focus-visible {
	background: transparent;
	box-shadow: none;
	outline: none;
	text-decoration: underline;
	text-underline-offset: 4px;
}

.keb-product-diamond-studio__close:focus-visible > span:last-child {
	text-decoration: underline;
	text-underline-offset: 4px;
}

.keb-product-filters .keb-product-spec-info--legend {
	margin-left: 7px;
	vertical-align: middle;
}

.keb-product-filters legend .keb-product-spec-info--legend {
	position: relative;
	top: -1px;
}

/* --- rc10: ring completion lives on the product page ---------------------------- */
/* The engraving field and the Add to Bag form sit in the configurator, directly
 * under "Select your diamond" / "Change your diamond". Revealed once a centre
 * diamond is chosen; the older in-studio .keb-product-selection* and
 * .keb-product-ring-size-review* rules above are now unused and kept only to
 * keep this patch narrow. */
.keb-product-completion {
	border-top: 1px solid var( --keb-line );
	display: grid;
	gap: 16px;
	grid-template-columns: minmax( 0, 1fr );
	margin: 18px 0 0;
	padding: 18px 0 0;
	scroll-margin-top: 96px;
}

.keb-product-completion[hidden] {
	display: none;
}

.keb-product-completion:focus {
	outline: none;
}

.keb-product-completion:focus-visible {
	outline: 2px solid var( --keb-burgundy );
	outline-offset: 4px;
}

.keb-product-completion__ring-size {
	color: var( --keb-ink-soft, #6d6660 );
	font-size: 13px;
	margin: 0;
}

.keb-product-completion__form {
	display: grid;
	gap: 14px;
	grid-template-columns: minmax( 0, 1fr );
}

.keb-product-completion__form .keb-product-summary-controls__fields {
	margin: 0;
}

.keb-product-completion .keb-product-cart-form {
	margin: 0;
}

.keb-product-completion .keb-product-cart-form [data-keb-add-to-cart],
.keb-product-completion .keb-product-cart-form [data-keb-consultation] {
	width: 100%;
}

.keb-product-trilogy:focus {
	outline: none;
}

.keb-product-trilogy:focus-visible {
	outline: 2px solid var( --keb-burgundy );
	outline-offset: 4px;
}

/* --- v0.8.73: mobile diamond feed refresh --------------------------------------
 * The two result views swap roles. Grid keeps the rich photo cards and, on
 * phones, lays each one as a full-width photo-left card; List becomes a
 * compact comparison table (shape / carat / colour / clarity / price) whose
 * rows expand in place into the standard detail panel, so the 360, every
 * spec's info dialog, the certificate link and Select this diamond stay one
 * tap away. The studio chrome tightens on phones: one-line setting bar,
 * single-row toolbar with underline Grid/List tabs, minimal sort, bordered
 * Filters button. The filter panel gains Reset in its heading and a
 * Close filters / Show diamonds footer. Every info (i) dialog is untouched.
 * All colour, serif and hairline values come from the existing --keb/--kinzy
 * tokens; the only literals are two paper-adjacent tints. */

.keb-product-builder,
.keb-product-summary-controls,
.keb-product-diamonds {
	--keb-serif: var( --kinzy-serif, Georgia, "Times New Roman", serif );
	--keb-row-tint: #fbf9f4;
}

/* 1. Prices read in the house serif in every context. */
.keb-product-diamond-card__price,
.keb-product-diamond-row__price,
.keb-product-diamond-detail-panel__price {
	font-family: var( --keb-serif );
	letter-spacing: 0;
}

/* 2. List view: the comparison table (all widths). ------------------------------- */
.keb-product-results[data-view="list"] {
	background: #fff;
	border: 1px solid var( --keb-line );
	display: block;
}

.keb-product-diamond-listhead,
.keb-product-diamond-row__summary {
	align-items: center;
	box-sizing: border-box;
	column-gap: 6px;
	display: grid;
	grid-template-columns: 40px minmax( 56px, 76px ) minmax( 62px, 88px ) minmax( 62px, 88px ) minmax( 0, 1fr ) 34px;
	padding: 0 12px 0 10px;
	width: 100%;
}

.keb-product-diamond-listhead {
	border-bottom: 1px solid var( --keb-line );
	color: var( --keb-muted );
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.11em;
	min-height: 34px;
	text-transform: uppercase;
}

.keb-product-diamond-listhead__price {
	text-align: right;
}

.keb-product-diamond-row {
	margin: 0;
	min-width: 0;
}

.keb-product-diamond-row__summary {
	appearance: none;
	background: #fff;
	border: 0;
	border-bottom: 1px solid var( --keb-soft-line );
	color: var( --keb-ink );
	cursor: pointer;
	font-family: inherit;
	font-size: 13.5px;
	font-weight: 400;
	min-height: 52px;
	text-align: left;
	transition: background-color 140ms ease;
}

.keb-product-diamond-row:last-child .keb-product-diamond-row__summary {
	border-bottom: 0;
}

.keb-product-diamond-row__summary:hover,
.keb-product-diamond-row__summary[aria-expanded="true"],
.keb-product-diamond-row.is-selected .keb-product-diamond-row__summary {
	background: var( --keb-row-tint );
}

.keb-product-diamond-row__summary:focus-visible {
	outline: 2px solid var( --keb-gold );
	outline-offset: -2px;
}

.keb-product-diamond-row__icon {
	color: var( --keb-soft, #8d857a );
	display: flex;
}

.keb-product-diamond-row__icon svg {
	display: block;
	height: 22px;
	width: 22px;
}

.keb-product-diamond-row__colour,
.keb-product-diamond-row__clarity {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.keb-product-diamond-row__price {
	font-size: 15px;
	font-weight: 600;
	justify-self: end;
	text-align: right;
	white-space: nowrap;
}

.keb-product-diamond-row.is-selected .keb-product-diamond-row__carat,
.keb-product-diamond-row.is-selected .keb-product-diamond-row__price {
	color: var( --keb-burgundy );
}

.keb-product-diamond-row__chevron {
	display: flex;
	justify-content: flex-end;
}

.keb-product-diamond-row__chevron::before {
	border-bottom: 1.4px solid var( --keb-soft, #8d857a );
	border-right: 1.4px solid var( --keb-soft, #8d857a );
	content: "";
	height: 7px;
	margin-right: 6px;
	transform: rotate( 45deg ) translateY( -2px );
	transition: transform 140ms ease;
	width: 7px;
}

.keb-product-diamond-row__summary[aria-expanded="true"] {
	border-bottom-color: transparent;
}

.keb-product-diamond-row__summary[aria-expanded="true"] .keb-product-diamond-row__chevron::before {
	transform: rotate( 225deg ) translateY( -1px );
}

/* The expanded row is the standard detail panel, restyled to continue the row. */
.keb-product-results[data-view="list"] > .keb-product-diamond-detail-panel {
	background: var( --keb-row-tint );
	border: 0;
	border-bottom: 1px solid var( --keb-line );
	margin: 0;
}

.keb-product-results[data-view="list"] > .keb-product-notice {
	margin: 0;
	padding: 22px 16px;
}

.keb-product-results[data-view="list"] .keb-product-diamond-card--skeleton {
	border: 0;
	border-bottom: 1px solid var( --keb-soft-line );
	border-radius: 0;
	display: block;
	height: 52px;
}

.keb-product-results[data-view="list"] .keb-product-diamond-card--skeleton span {
	display: none;
}

/* 3. Filter panel: Reset joins the heading; footer becomes Close / Show diamonds. - */
.keb-product-filter-heading {
	align-items: end;
	column-gap: 14px;
	display: grid;
	grid-template-columns: minmax( 0, 1fr ) auto;
}

.keb-product-filter-heading p {
	grid-column: 1 / -1;
}

.keb-product-filter-heading h3 {
	grid-column: 1;
}

.keb-product-filter-heading__reset {
	align-self: end;
	color: #765126;
	font-size: 10.5px;
	font-weight: 600;
	grid-column: 2;
	justify-self: end;
	letter-spacing: 0.12em;
	margin: 0 0 4px;
	min-height: 32px;
	padding: 4px 0;
	text-transform: uppercase;
}

.keb-product-filter-heading__reset:hover {
	color: var( --keb-burgundy );
}

.keb-product-filter-actions__apply {
	display: none;
}

@media ( max-width: 1024px ) {
	.keb-product-filter-heading {
		padding: 18px 0 12px;
	}

	.keb-product-filter-heading p {
		display: none;
	}

	.keb-product-filter-heading h3 {
		font-size: 20px;
	}

	.keb-product-filter-actions {
		grid-template-columns: minmax( 0, 1fr ) minmax( 0, 1.35fr );
	}

	.keb-product-filter-actions__apply {
		display: inline-flex;
	}

	/* Origin reads as one segmented control on the mobile panel. */
	.keb-product-filter-group--origin .keb-product-origin-options {
		border: 1px solid rgba( 53, 18, 17, 0.3 );
		gap: 0;
		overflow: hidden;
	}

	.keb-product-filter-group--origin .keb-product-origin-options label + label {
		border-left: 1px solid rgba( 53, 18, 17, 0.3 );
	}

	.keb-product-filter-group--origin .keb-product-origin-options span {
		border: 0;
		min-height: 46px;
	}
}

@media ( min-width: 1025px ) {
	/* Desktop keeps the always-on sidebar; Reset lives in its heading now. */
	.keb-product-filter-actions {
		display: none;
	}
}

/* 4. Phone chrome: bar, header, single-row toolbar, cards, detail sheet. ---------- */
@media ( max-width: 680px ) {
	.keb-product-builder,
	.keb-product-summary-controls,
	.keb-product-diamonds {
		--keb-studio-bar-offset: calc( 58px + env( safe-area-inset-top ) );
	}

	.keb-product-diamond-studio__bar {
		gap: 8px;
		justify-content: flex-start;
		min-height: 58px;
		padding: calc( 7px + env( safe-area-inset-top ) ) 14px 7px 4px;
	}

	.keb-product-diamond-studio__close {
		flex: 0 0 auto;
		gap: 0;
		justify-content: center;
		min-width: 44px;
		padding: 8px;
	}

	.keb-product-diamond-studio__close > span:last-child {
		clip: rect( 0 0 0 0 );
		clip-path: inset( 50% );
		height: 1px;
		overflow: hidden;
		position: absolute;
		white-space: nowrap;
		width: 1px;
	}

	.keb-product-diamond-studio__close > span[aria-hidden="true"] {
		font-size: 22px;
	}

	.keb-product-diamond-studio__thumb {
		display: none;
	}

	.keb-product-diamond-studio__context {
		flex: 1 1 auto;
		justify-content: flex-start;
		min-width: 0;
		text-align: left;
	}

	.keb-product-diamond-studio__context-text {
		display: block;
		min-width: 0;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.keb-product-diamond-studio__context-text > span {
		display: block;
		margin-bottom: 2px;
	}

	.keb-product-diamond-studio__context-text strong {
		display: inline;
		font-size: 14.5px;
		max-width: none;
		overflow: visible;
		white-space: inherit;
	}

	.keb-product-diamond-studio__context-text small {
		display: inline;
		margin: 0 0 0 7px;
		max-width: none;
		overflow: visible;
		white-space: inherit;
	}

	.keb-product-diamonds__header {
		gap: 6px;
		padding: 18px 18px 14px;
	}

	.keb-product-diamonds__header > div > p {
		margin-bottom: 6px;
	}

	.keb-product-diamonds__header h2 {
		font-size: 26px;
	}

	/* One toolbar row: GRID | LIST tabs, then sort and Filters on the right. */
	.keb-product-results-toolbar {
		align-items: stretch;
		border-bottom: 1px solid var( --keb-line );
		border-top: 1px solid var( --keb-line );
		column-gap: 14px;
		display: flex;
		margin: 0 -16px;
		min-height: 50px;
		padding: 0 16px;
		row-gap: 0;
	}

	.keb-product-results-toolbar__primary {
		display: contents;
	}

	.keb-product-results-toolbar__primary > .keb-product-view-switch {
		align-items: stretch;
		gap: 20px;
		margin: 0 auto 0 0;
	}

	.keb-product-view-switch button {
		background: transparent;
		border-bottom: 2px solid transparent;
		border-radius: 0;
		color: var( --keb-soft, #8d857a );
		font-size: 11.5px;
		font-weight: 600;
		gap: 0;
		letter-spacing: 0.1em;
		margin-bottom: -1px;
		min-height: 50px;
		padding: 0 2px;
		text-transform: uppercase;
	}

	.keb-product-view-switch button:hover {
		background: transparent;
		color: var( --keb-ink );
	}

	.keb-product-view-switch button[aria-pressed="true"] {
		border-bottom-color: var( --keb-burgundy );
		color: var( --keb-ink );
	}

	.keb-product-view-switch__icon,
	.keb-product-view-switch__mode {
		display: none;
	}

	.keb-product-results-toolbar .keb-product-sort--toolbar {
		align-self: center;
		margin: 0;
	}

	.keb-product-sort--toolbar > span {
		display: none;
	}

	.keb-product-sort-menu__toggle {
		font-size: 11px;
		font-weight: 500;
		letter-spacing: 0.07em;
		min-height: 44px;
		text-transform: uppercase;
	}

	.keb-product-results-toolbar .keb-product-button--filter {
		align-self: center;
		background: #fff;
		border: 1px solid rgba( 53, 18, 17, 0.35 );
		font-size: 11px;
		font-weight: 500;
		gap: 8px;
		letter-spacing: 0.08em;
		margin: 0;
		min-height: 40px;
		padding: 0 13px;
		text-transform: uppercase;
	}

	.keb-product-button--filter::before {
		background: currentColor;
		content: "";
		display: inline-block;
		height: 12px;
		-webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15 13"><path d="M0.5 2.5h14M0.5 6.5h14M0.5 10.5h14" stroke="black" stroke-width="1.3"/><circle cx="10" cy="2.5" r="2.1" fill="black"/><circle cx="4.5" cy="6.5" r="2.1" fill="black"/><circle cx="9" cy="10.5" r="2.1" fill="black"/></svg>') center / contain no-repeat;
		mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15 13"><path d="M0.5 2.5h14M0.5 6.5h14M0.5 10.5h14" stroke="black" stroke-width="1.3"/><circle cx="10" cy="2.5" r="2.1" fill="black"/><circle cx="4.5" cy="6.5" r="2.1" fill="black"/><circle cx="9" cy="10.5" r="2.1" fill="black"/></svg>') center / contain no-repeat;
		width: 14px;
	}

	/* Grid view on phones: the rich photo-left card, one per row. */
	.keb-product-results[data-view="grid"] {
		gap: 12px;
		grid-template-columns: minmax( 0, 1fr );
	}

	.keb-product-results[data-view="grid"] .keb-product-diamond-card {
		display: grid;
		grid-template-columns: 116px minmax( 0, 1fr );
	}

	.keb-product-results[data-view="grid"] .keb-product-diamond-card__media {
		aspect-ratio: 1 / 1;
		min-height: 132px;
	}

	.keb-product-results[data-view="grid"] .keb-product-diamond-card__body {
		display: block;
		padding: 13px 14px;
	}

	.keb-product-results[data-view="grid"] .keb-product-diamond-card__price {
		font-size: 20px;
		margin: 0 0 6px;
	}

	.keb-product-results[data-view="grid"] .keb-product-diamond-card__footer {
		margin-top: 12px;
	}

	/* The table breathes a little tighter at phone widths. */
	.keb-product-diamond-listhead,
	.keb-product-diamond-row__summary {
		grid-template-columns: 36px 56px 62px 62px minmax( 0, 1fr ) 30px;
	}

	/* Detail panel as a quiet sheet: media, price and certificate, hairline
	 * spec rows with their (i) buttons, then the full-width Select action. */
	.keb-product-diamond-detail-panel {
		background: #fff;
		border: 1px solid var( --keb-line );
		box-shadow: 0 18px 44px rgba( 33, 26, 24, 0.16 );
	}

	.keb-product-results[data-view="list"] > .keb-product-diamond-detail-panel {
		background: var( --keb-row-tint );
		border: 0;
		border-bottom: 1px solid var( --keb-line );
		box-shadow: none;
	}

	.keb-product-diamond-detail-panel__media {
		min-height: 230px;
		padding: 16px;
	}

	.keb-product-diamond-detail-panel__content {
		padding: 16px 16px 18px;
	}

	.keb-product-diamond-detail-panel__header h3 {
		font-family: var( --keb-serif );
		font-size: 19px;
	}

	.keb-product-diamond-detail-panel__price {
		font-size: 22px;
	}

	.keb-product-diamond-detail-panel__highlights,
	.keb-product-diamond-detail-panel__specs {
		display: block;
		margin: 0;
	}

	.keb-product-diamond-detail-panel__specs {
		margin-bottom: 4px;
	}

	.keb-product-diamond-card__detail {
		align-items: center;
		border-top: 1px solid var( --keb-soft-line );
		display: flex;
		gap: 4px;
		margin: 0;
		min-height: 40px;
		padding: 0;
	}

	.keb-product-diamond-card__detail dt {
		align-items: center;
		color: var( --keb-muted );
		display: flex;
		font-size: 12.5px;
		font-weight: 400;
		gap: 4px;
		margin: 0;
	}

	.keb-product-diamond-card__detail dd {
		font-size: 13px;
		font-weight: 500;
		margin: 0 0 0 auto;
		text-align: right;
	}

	.keb-product-diamond-detail-panel__actions {
		display: grid;
		gap: 10px;
		margin-top: 14px;
	}

	.keb-product-diamond-detail-panel__certificate {
		color: #765126;
		justify-self: start;
		letter-spacing: 0.06em;
	}
}

@media ( max-width: 430px ) {
	.keb-product-diamond-listhead,
	.keb-product-diamond-row__summary {
		column-gap: 4px;
		grid-template-columns: 32px 52px 58px 58px minmax( 0, 1fr ) 28px;
		padding: 0 10px 0 8px;
	}
}

/* v0.9.9 — the chosen diamond is a row you can open: photo, grade, price and
   "View details" (the shared diamond dialog); "Change diamond" opens the studio. */
.keb-product-selected-summary.keb-product-selected-summary--rich {
	grid-template-columns: auto minmax( 0, 1fr ) auto;
	gap: 2px 14px;
	align-items: center;
	padding: 12px 0;
}
.keb-product-selected-summary__open {
	grid-column: 1 / 3;
	grid-row: 1 / span 3;
	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: pointer;
	min-height: 0;
}
.keb-product-selected-summary__open:hover { background: none; }
.keb-product-selected-summary__open:hover .keb-product-selected-summary__title { color: var( --keb-garnet, #351211 ); }
.keb-product-selected-summary__open:focus-visible { outline: 2px solid var( --keb-gold, #bfa277 ); outline-offset: 4px; }
.keb-product-selected-summary__thumb {
	flex: 0 0 auto;
	width: 52px;
	height: 52px;
	border: 1px solid var( --keb-hairline, #e6e2dc );
	border-radius: 2px;
	background: #e9e6e1;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var( --keb-gold, #bfa277 );
}
.keb-product-selected-summary__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.keb-product-selected-summary__thumb svg { width: 30px; height: 30px; display: block; }
.keb-product-selected-summary__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.keb-product-selected-summary--rich .keb-product-selected-summary__eyebrow { grid-column: auto; }
.keb-product-selected-summary__title {
	font-size: 14px;
	font-weight: 500;
	line-height: 1.3;
	color: var( --keb-ink, #211a18 );
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	transition: color .15s;
}
.keb-product-selected-summary__grade { font-size: 12.5px; line-height: 1.35; color: var( --keb-muted, #6f6560 ); }
.keb-product-selected-summary__grade b { font-weight: 600; color: var( --keb-ink, #211a18 ); }
.keb-product-selected-summary--rich .keb-product-selected-summary__actions {
	grid-column: 3 !important;
	grid-row: 1 / span 3;
	flex-direction: column;
	align-items: flex-end;
	gap: 7px;
	margin: 0;
	justify-self: end;
}
.keb-product-selected-summary__link {
	display: inline-block;
	margin: 0;
	padding: 0 0 1px;
	background: none;
	border: 0;
	border-bottom: 1px solid currentColor;
	border-radius: 0;
	box-shadow: none;
	cursor: pointer;
	min-height: 0;
	font-family: inherit;
	font-size: 10.5px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	line-height: 1.3;
	color: var( --keb-ink, #211a18 );
	text-decoration: none;
	transition: color .15s;
	white-space: nowrap;
}
.keb-product-selected-summary__link:hover { color: #765126; background: none; }
.keb-product-selected-summary__link:focus-visible { outline: 2px solid var( --keb-gold, #bfa277 ); outline-offset: 3px; }
@media ( max-width: 640px ) {
	.keb-product-selected-summary.keb-product-selected-summary--rich { grid-template-columns: minmax( 0, 1fr ); }
	.keb-product-selected-summary__open { grid-column: 1; grid-row: auto; }
	.keb-product-selected-summary--rich .keb-product-selected-summary__actions { grid-column: 1 !important; grid-row: auto; flex-direction: row; justify-self: start; gap: 5px 16px; margin-top: 6px; }
}

/* Coloured collection in the studio: hue chips carry their swatch dot */
.keb-product-option-grid > label > span .keb-sd-hue { margin-right: 7px; }
.keb-product-option-grid > label > input:checked + span .keb-sd-hue { box-shadow: 0 0 0 1.5px #fff; }
.keb-product-option-grid--hues > label > span { min-width: 76px; }

/* the rich row's nested spans are not the old small-caps label */
.keb-product-selected-summary--rich .keb-product-selected-summary__thumb,
.keb-product-selected-summary--rich .keb-product-selected-summary__text,
.keb-product-selected-summary--rich .keb-product-selected-summary__actions {
	font-size: inherit;
	letter-spacing: 0;
	text-transform: none;
	color: inherit;
	grid-column: auto;
	line-height: 1.35;
}
.keb-product-selected-summary--rich .keb-product-selected-summary__eyebrow {
	font-size: 10px;
	font-weight: 500;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var( --keb-soft, #8d857a );
}
.keb-product-selected-summary--rich strong.keb-product-selected-summary__title { grid-column: auto; font-size: 14px; font-weight: 500; line-height: 1.3; }
.keb-product-selected-summary--rich .keb-product-selected-summary__grade { font-style: normal; }
.keb-product-selected-summary--rich .keb-product-selected-summary__grade b { display: inline; font-family: inherit; font-size: 13px; }

/* v0.9.10 — phone studio laid out like a shop: slim bar (back · setting price),
   compact title, a sticky Filters | Sort row, two photo cards per row. */
@media ( max-width: 680px ) {
	.keb-product-builder,
	.keb-product-summary-controls,
	.keb-product-diamonds,
	.keb-product-diamonds[open] {
		--keb-studio-bar-offset: calc( 55px + env( safe-area-inset-top ) );
	}

	.keb-product-diamond-studio__bar {
		align-items: center;
		box-sizing: border-box;
		gap: 10px;
		height: calc( 55px + env( safe-area-inset-top ) );
		justify-content: space-between;
		min-height: 0;
		padding: calc( 5px + env( safe-area-inset-top ) ) 12px 5px 4px;
	}

	.keb-product-diamond-studio__close {
		min-width: 44px;
		padding: 8px 10px;
	}

	.keb-product-diamond-studio__close > span[aria-hidden="true"] {
		font-size: 20px;
	}

	.keb-product-diamond-studio__context {
		align-items: center;
		display: flex;
		flex: 0 1 auto;
		gap: 9px;
		justify-content: flex-end;
		min-width: 0;
		text-align: right;
	}

	.keb-product-diamond-studio__thumb {
		border: 1px solid var( --keb-hairline, #e6e2dc );
		border-radius: 2px;
		display: block;
		flex: 0 0 auto;
		height: 36px;
		overflow: hidden;
		width: 36px;
	}

	.keb-product-diamond-studio__context-text {
		align-items: flex-end;
		display: flex;
		flex-direction: column;
		gap: 1px;
		min-width: 0;
		overflow: visible;
		white-space: normal;
	}

	.keb-product-diamond-studio__context-text > span {
		display: block;
		font-size: 9px;
		letter-spacing: 0.16em;
		margin: 0;
	}

	.keb-product-diamond-studio__context-text strong {
		display: none;
	}

	.keb-product-diamond-studio__context-text small {
		color: var( --keb-ink, #211a18 );
		display: block;
		font-size: 12.5px;
		font-weight: 500;
		margin: 0;
		max-width: 60vw;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.keb-product-diamonds__header {
		border-bottom: 0;
		display: block;
		gap: 0;
		padding: 14px 16px 10px;
	}

	.keb-product-diamonds__header > div > p {
		display: none;
	}

	.keb-product-diamonds__header h2 {
		font-size: 22px;
		line-height: 1.15;
	}

	.keb-product-diamonds__layout .keb-product-results-wrap {
		padding-top: 0;
	}

	/* Filters | Sort — one sticky row under the bar, two equal controls */
	.keb-product-results-toolbar {
		align-items: stretch;
		background: var( --keb-paper, #f8f6f2 );
		border-bottom: 1px solid var( --keb-line );
		border-top: 1px solid var( --keb-line );
		column-gap: 0;
		display: grid;
		grid-template-columns: minmax( 0, 1fr ) minmax( 0, 1fr );
		margin: 0 -16px;
		min-height: 48px;
		padding: 0;
		position: sticky;
		top: var( --keb-studio-bar-offset );
		z-index: 6;
	}

	.keb-product-results-toolbar__primary {
		display: contents;
	}

	.keb-product-results-toolbar__primary > .keb-product-view-switch,
	.keb-product-results-toolbar__primary > [data-keb-results-status] {
		display: none;
	}

	.keb-product-results-toolbar .keb-product-button--filter {
		align-self: stretch;
		background: transparent;
		border: 0;
		border-right: 1px solid var( --keb-line );
		border-radius: 0;
		color: var( --keb-ink );
		font-size: 11px;
		font-weight: 600;
		gap: 8px;
		grid-column: 1;
		grid-row: 1;
		justify-content: center;
		justify-self: stretch;
		letter-spacing: 0.14em;
		margin: 0;
		min-height: 48px;
		padding: 0 12px;
		text-transform: uppercase;
		width: auto;
	}

	.keb-product-results-toolbar .keb-product-sort--toolbar {
		align-items: stretch;
		align-self: stretch;
		display: flex;
		grid-column: 2;
		grid-row: 1;
		justify-self: stretch;
		margin: 0;
		min-height: 48px;
		min-width: 0;
		padding: 0;
	}

	.keb-product-sort--toolbar > span {
		display: none;
	}

	.keb-product-results-toolbar .keb-product-sort-menu,
	.keb-product-results-toolbar .keb-product-sort-menu__toggle {
		border: 0;
		border-radius: 0;
		display: flex;
		flex: 1 1 auto;
		font-size: 11px;
		font-weight: 600;
		gap: 8px;
		justify-content: center;
		letter-spacing: 0.14em;
		min-height: 48px;
		min-width: 0;
		padding: 0 12px;
		text-align: center;
		text-transform: uppercase;
		width: 100%;
	}

	.keb-product-results-toolbar .keb-product-sort-menu__toggle strong {
		font-weight: 600;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	/* Two photo cards per row — the Shop Diamonds phone grid */
	.keb-product-results[data-view="grid"] {
		gap: 12px;
		grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
		margin-top: 12px;
	}

	.keb-product-results[data-view="grid"] .keb-product-diamond-card {
		display: flex;
		flex-direction: column;
		grid-template-columns: none;
	}

	.keb-product-results[data-view="grid"] .keb-product-diamond-card__media {
		aspect-ratio: 1 / 1;
		min-height: 0;
	}

	.keb-product-results[data-view="grid"] .keb-product-diamond-card__body {
		display: flex;
		flex: 1 1 auto;
		flex-direction: column;
		padding: 11px 12px 12px;
	}

	.keb-product-results[data-view="grid"] .keb-product-diamond-card__price {
		font-size: 17px;
		margin: 0 0 3px;
	}

	.keb-product-results[data-view="grid"] .keb-product-diamond-card__body h3 {
		font-size: 13px;
		line-height: 1.3;
		margin: 0 0 2px;
	}

	.keb-product-results[data-view="grid"] .keb-product-diamond-card__quick-specs {
		font-size: 12.5px;
		line-height: 1.35;
		margin: 0;
	}

	.keb-product-results[data-view="grid"] .keb-product-diamond-card__badge {
		font-size: 10px;
		left: 8px;
		padding: 4px 6px;
		top: 8px;
	}

	.keb-product-results[data-view="grid"] .keb-product-diamond-card__footer {
		align-items: center;
		display: flex;
		justify-content: space-between;
		margin-top: auto;
		padding-top: 10px;
	}

	.keb-product-results[data-view="grid"] .keb-product-diamond-card__more {
		font-size: 12px;
	}

	.keb-product-results[data-view="grid"] .keb-product-diamond-card__cert {
		font-size: 11px;
	}
}

/* v0.9.10 — the phone drawer's "Show diamonds" is the primary action again
   (the v0.8.61 row rule had blanked its background, leaving white-on-white). */
.keb-product-filters .keb-product-filter-actions .keb-product-filter-actions__apply {
	background: var( --keb-burgundy );
	background-color: var( --keb-burgundy );
	border-color: var( --keb-burgundy );
	color: #fff;
}
.keb-product-filters .keb-product-filter-actions .keb-product-filter-actions__apply:hover:not( :disabled ) {
	background: var( --keb-ink );
	background-color: var( --keb-ink );
	border-color: var( --keb-ink );
}

/* v0.9.11 — phone studio: Grid | List is back as an icon pair beside Sort
   (the comparison-table list view had been hidden with the v0.9.10 toolbar),
   and the diamond sheet (More info) is the shared full-screen detail with its
   Select action pinned to the bottom — see diamond-detail.css. */
@media ( max-width: 680px ) {
	.keb-product-results-toolbar {
		grid-template-columns: minmax( 0, 1fr ) minmax( 0, 1fr ) auto;
	}

	.keb-product-results-toolbar__primary > .keb-product-view-switch {
		align-items: stretch;
		border-left: 1px solid var( --keb-line );
		display: flex;
		gap: 0;
		grid-column: 3;
		grid-row: 1;
		margin: 0;
	}

	.keb-product-results-toolbar .keb-product-sort--toolbar {
		border-right: 0;
	}

	.keb-product-view-switch button {
		align-items: center;
		background: transparent;
		border: 0;
		border-radius: 0;
		box-shadow: none;
		color: var( --keb-soft, #8d857a );
		display: flex;
		justify-content: center;
		margin: 0;
		min-height: 48px;
		padding: 0;
		width: 44px;
	}

	.keb-product-view-switch button + button {
		border-left: 1px solid var( --keb-soft-line, rgba( 53, 18, 17, 0.09 ) );
	}

	.keb-product-view-switch button:hover {
		background: transparent;
		color: var( --keb-ink );
	}

	.keb-product-view-switch button[aria-pressed="true"] {
		background: #fff;
		box-shadow: inset 0 -2px 0 var( --keb-burgundy );
		color: var( --keb-ink );
	}

	.keb-product-view-switch button > span:not( .keb-product-view-switch__icon ),
	.keb-product-view-switch__mode {
		display: none;
	}

	.keb-product-view-switch__icon {
		display: inline-block;
	}

	.keb-product-results[data-view="list"] {
		margin-top: 12px;
	}
}

/* v0.9.13 — the buy box reads like a shop. One headline price (the ring total
   once a diamond is chosen, with the setting + diamond breakdown beneath), the
   journey as one quiet line, metal and ring size as two plain rows, the chosen
   diamond as a soft card, then Add to bag. Hairlines only between the groups;
   the breakdown rows, the ring-size status and the big "Change your diamond"
   button give way (the diamond card carries Change). */
body.keb-product-builder-active .keb-product-summary-controls .keb-product-price-line {
	gap: 3px;
	margin: 12px 0 14px;
}

body.keb-product-builder-active .keb-product-summary-controls .keb-product-price-line__total {
	display: none;
	font-size: 27px;
	font-variant-numeric: tabular-nums;
	font-weight: 400;
	letter-spacing: 0.01em;
	line-height: 1.2;
}

body.keb-product-builder-active .keb-product-summary-controls .keb-product-price-line.has-total .keb-product-price-line__total {
	display: block;
}

body.keb-product-builder-active .keb-product-summary-controls .keb-product-price-line.has-total > [data-keb-summary-setting-price] {
	display: none;
}

body.keb-product-builder-active .keb-product-summary-controls .keb-product-price-line__note {
	color: var( --keb-muted );
	font-size: 11.5px;
	letter-spacing: 0.02em;
}

/* The journey: dots and labels on one line, Change setting on the right. */
body.keb-product-builder-active .keb-product-summary-controls .keb-product-journey-navigation {
	align-items: center;
	border: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 18px;
	justify-content: space-between;
	margin: 0 0 4px;
	padding: 0 0 12px;
}

body.keb-product-builder-active .keb-product-summary-controls .keb-journey-progress--product ol {
	align-items: center;
	border: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 6px 16px;
}

body.keb-product-builder-active .keb-product-summary-controls .keb-journey-progress--product li {
	align-items: center;
	color: var( --keb-soft );
	display: inline-flex;
	flex: 0 0 auto;
	gap: 7px;
	min-width: 0;
	padding: 0;
}

body.keb-product-builder-active .keb-product-summary-controls .keb-journey-progress--product li::after {
	display: none;
}

body.keb-product-builder-active .keb-product-summary-controls .keb-journey-progress--product li::before {
	background: #fff;
	border: 1px solid var( --keb-tile-line, #d8cec5 );
	border-radius: 50%;
	box-sizing: border-box;
	content: "";
	flex: 0 0 auto;
	height: 14px;
	width: 14px;
}

body.keb-product-builder-active .keb-product-summary-controls .keb-journey-progress--product li.is-complete::before {
	background: var( --keb-burgundy ) url( 'data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 12"><path d="M2.5 6.2l2.4 2.4L9.5 3.8" fill="none" stroke="white" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"/></svg>' ) center / 9px no-repeat;
	border-color: var( --keb-burgundy );
}

body.keb-product-builder-active .keb-product-summary-controls .keb-journey-progress--product li.is-current {
	color: var( --keb-ink );
}

body.keb-product-builder-active .keb-product-summary-controls .keb-journey-progress--product li.is-current::before {
	background: var( --keb-burgundy );
	border-color: var( --keb-burgundy );
	box-shadow: inset 0 0 0 3px #fff;
}

body.keb-product-builder-active .keb-product-summary-controls .keb-journey-progress--product a,
body.keb-product-builder-active .keb-product-summary-controls .keb-journey-progress--product .keb-journey-progress__label {
	color: inherit;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.16em;
	line-height: 1.3;
	overflow: visible;
	text-decoration: none;
	white-space: nowrap;
}

body.keb-product-builder-active .keb-product-summary-controls .keb-journey-progress--product a:hover {
	color: var( --keb-burgundy );
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

body.keb-product-builder-active .keb-product-summary-controls .keb-journey-actions {
	gap: 6px 16px;
	margin: 0;
}

body.keb-product-builder-active .keb-product-summary-controls .keb-journey-actions a {
	border-bottom: 1px solid currentColor;
	color: var( --keb-ink );
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.14em;
	line-height: 1.3;
	padding-bottom: 1px;
	text-decoration: none;
	text-transform: uppercase;
	transition: color 150ms ease;
}

body.keb-product-builder-active .keb-product-summary-controls .keb-journey-actions a:hover {
	color: #765126;
}

/* With a diamond chosen the trail's Change diamond duplicates the card's. */
body.keb-product-builder-active .keb-product-summary-controls.keb-product-has-diamond .keb-journey-actions [data-keb-change-diamond] {
	display: none;
}

/* Metal and ring size: two plain rows inside one ruled group. */
body.keb-product-builder-active .keb-product-summary-controls .keb-product-metal-picker {
	border-top: 1px solid var( --keb-hairline );
	min-height: 60px;
	padding: 12px 0;
}

/* The chosen diamond: a plain row between the ring-size rule and the engraving
   rule — no tinted box (v0.9.14), just the photo, grade, price and links. */
body.keb-product-builder-active .keb-product-summary-controls .keb-product-selected-summary.keb-product-selected-summary--rich {
	background: transparent;
	border: 0;
	border-radius: 0;
	margin: 0;
	padding: 14px 0;
}

body.keb-product-builder-active .keb-product-summary-controls .keb-product-selected-summary__thumb {
	background: #fff;
	border-color: var( --keb-hairline );
	height: 60px;
	width: 60px;
}

/* The breakdown rows and the ring-size status read to assistive tech only. */
body.keb-product-builder-active .keb-product-summary-controls .keb-product-price-breakdown,
body.keb-product-builder-active .keb-product-summary-controls .keb-product-completion__ring-size {
	border: 0 !important;
	clip: rect( 1px, 1px, 1px, 1px ) !important;
	clip-path: inset( 50% ) !important;
	height: 1px !important;
	margin: -1px !important;
	overflow: hidden !important;
	padding: 0 !important;
	position: absolute !important;
	width: 1px !important;
}

/* The big "Change your diamond" button goes once a diamond is chosen. */
body.keb-product-builder-active .keb-product-summary-controls.keb-product-has-diamond [data-keb-choose-diamond] {
	display: none;
}

/* Completion: no rule above it (the card separates), Add to bag first in weight. */
body.keb-product-builder-active .keb-product-summary-controls .keb-product-completion {
	border-top: 0;
	gap: 12px;
	margin: 12px 0 0;
	padding: 0;
}

body.keb-product-builder-active .keb-product-summary-controls .keb-product-completion__form {
	gap: 10px;
}

body.keb-product-builder-active .keb-product-summary-controls .keb-product-completion .keb-product-cart-form [data-keb-add-to-cart],
body.keb-product-builder-active .keb-product-summary-controls .keb-product-completion .keb-product-cart-form [data-keb-consultation] {
	font-size: 13px;
	letter-spacing: 0.16em;
	min-height: 56px;
}

body.keb-product-builder-active .keb-product-summary-controls .keb-product-cart-form p[data-keb-cart-status] {
	color: var( --keb-muted );
	font-size: 12px;
	letter-spacing: 0.02em;
	line-height: 1.5;
	margin: 8px 0 0;
	text-align: left;
}

body.keb-product-builder-active .keb-product-summary-controls .keb-product-cart-form p[data-keb-cart-status]:empty {
	display: none;
}

body.keb-product-builder-active .keb-product-summary-controls .keb-product-cart-form .keb-product-made-to-order {
	background: transparent;
	border: 0;
	gap: 2px 8px;
	grid-auto-flow: column;
	margin-top: 8px;
	padding: 0;
}

/* Engraving folds behind one row. */
body.keb-product-builder-active .keb-product-summary-controls .keb-product-engraving {
	border-bottom: 1px solid var( --keb-hairline );
	margin: 0;
}

body.keb-product-builder-active .keb-product-summary-controls .keb-product-engraving__summary {
	align-items: center;
	color: var( --keb-ink );
	cursor: pointer;
	display: flex;
	font-size: 12px;
	font-weight: 500;
	gap: 10px;
	letter-spacing: 0.08em;
	list-style: none;
	min-height: 44px;
	padding: 0;
	text-transform: uppercase;
}

body.keb-product-builder-active .keb-product-summary-controls .keb-product-engraving__summary::-webkit-details-marker {
	display: none;
}

body.keb-product-builder-active .keb-product-summary-controls .keb-product-engraving__summary em {
	color: var( --keb-soft );
	font-size: 10px;
	font-style: normal;
	letter-spacing: 0.16em;
	margin-left: auto;
}

body.keb-product-builder-active .keb-product-summary-controls .keb-product-engraving__plus {
	flex: 0 0 auto;
	height: 12px;
	position: relative;
	width: 12px;
}

body.keb-product-builder-active .keb-product-summary-controls .keb-product-engraving__plus::before,
body.keb-product-builder-active .keb-product-summary-controls .keb-product-engraving__plus::after {
	background: currentColor;
	content: "";
	left: 0;
	position: absolute;
	top: 5.5px;
	height: 1px;
	width: 12px;
}

body.keb-product-builder-active .keb-product-summary-controls .keb-product-engraving__plus::after {
	transform: rotate( 90deg );
	transition: transform 160ms ease;
}

body.keb-product-builder-active .keb-product-summary-controls .keb-product-engraving[open] .keb-product-engraving__plus::after {
	transform: rotate( 0deg );
}

body.keb-product-builder-active .keb-product-summary-controls .keb-product-engraving .keb-product-field--engraving {
	margin: 0 0 14px;
}

body.keb-product-builder-active .keb-product-summary-controls .keb-product-engraving .keb-product-field--engraving input {
	width: 100%;
}

body.keb-product-builder-active .keb-product-summary-controls .keb-product-engraving__summary:focus-visible {
	outline: 2px solid var( --keb-gold );
	outline-offset: 2px;
}

body.keb-product-builder-active .keb-product-support {
	margin-top: 18px;
}

/* v0.9.15 — a calmer buy box in the manner of the best UK ring builders:
   sentence-case labels with the value on the same line, an icon-led price
   breakdown, large left-aligned swatches, one thin rule between each group, the
   diamond as a row with its photo, and a tall buy button. The journey trail
   no longer shows here (its Change setting link sits beside the price). */
body.keb-product-builder-active .keb-product-summary-controls .keb-product-journey-navigation {
	display: none;
}

body.keb-product-builder-active .keb-product-summary-controls .keb-product-price-line {
	align-items: baseline;
	border-bottom: 1px solid var( --keb-hairline );
	display: grid;
	gap: 8px 16px;
	grid-template-columns: minmax( 0, 1fr ) auto;
	margin: 14px 0 0;
	padding: 0 0 18px;
}

body.keb-product-builder-active .keb-product-summary-controls .keb-product-price-line > strong {
	font-size: 26px;
	font-weight: 400;
	grid-column: 1;
	letter-spacing: 0.01em;
	line-height: 1.2;
}

body.keb-product-builder-active .keb-product-summary-controls .keb-product-price-line__total {
	grid-row: 1;
}

body.keb-product-builder-active .keb-product-summary-controls .keb-product-price-line__change {
	grid-column: 2;
	grid-row: 1;
	justify-self: end;
}

body.keb-product-builder-active .keb-product-summary-controls .keb-product-price-line__change[hidden] {
	display: none;
}

body.keb-product-builder-active .keb-product-summary-controls .keb-product-price-line__change a {
	border: 0;
	color: var( --keb-muted );
	font-size: 13px;
	font-weight: 400;
	letter-spacing: 0;
	line-height: 1.4;
	padding: 0;
	text-decoration: underline;
	text-decoration-color: #c9bfb5;
	text-decoration-thickness: 1px;
	text-transform: none;
	text-underline-offset: 4px;
	transition: color 150ms ease;
}

body.keb-product-builder-active .keb-product-summary-controls .keb-product-price-line__change a:hover {
	color: var( --keb-burgundy );
	text-decoration-color: currentColor;
}

body.keb-product-builder-active .keb-product-summary-controls .keb-product-price-line__note {
	font-size: 13px;
	grid-column: 1 / -1;
	letter-spacing: 0;
}

/* With the breakdown showing, the plain note is for assistive tech only. */
body.keb-product-builder-active .keb-product-summary-controls .keb-product-price-line.has-total .keb-product-price-line__note {
	border: 0 !important;
	clip: rect( 1px, 1px, 1px, 1px ) !important;
	clip-path: inset( 50% ) !important;
	height: 1px !important;
	margin: -1px !important;
	overflow: hidden !important;
	padding: 0 !important;
	position: absolute !important;
	width: 1px !important;
}

body.keb-product-builder-active .keb-product-summary-controls .keb-product-price-line__breakdown {
	align-items: center;
	color: var( --keb-muted );
	display: flex;
	flex-wrap: wrap;
	font-size: 14px;
	gap: 6px 18px;
	grid-column: 1 / -1;
	line-height: 1.4;
}

body.keb-product-builder-active .keb-product-summary-controls .keb-product-price-line__breakdown[hidden] {
	display: none;
}

body.keb-product-builder-active .keb-product-summary-controls .keb-product-price-line__part {
	align-items: center;
	display: inline-flex;
	gap: 9px;
}

body.keb-product-builder-active .keb-product-summary-controls .keb-product-price-line__part svg {
	color: var( --keb-gold );
	display: block;
	flex: 0 0 auto;
	height: 19px;
	width: 19px;
}

body.keb-product-builder-active .keb-product-summary-controls .keb-product-price-line__part b {
	color: var( --keb-ink );
	font-weight: 500;
}

body.keb-product-builder-active .keb-product-summary-controls .keb-product-price-line__vat {
	font-size: 12.5px;
}

/* Labels: sentence case, the value on the same line. */
body.keb-product-builder-active .keb-product-summary-controls .keb-product-field-label {
	color: var( --keb-ink );
	font-size: 15px;
	font-weight: 500;
	letter-spacing: 0;
	line-height: 1.4;
	text-transform: none;
}

body.keb-product-builder-active .keb-product-summary-controls .keb-product-field-label::after {
	content: ":";
}

body.keb-product-builder-active .keb-product-summary-controls .keb-product-field-value {
	color: var( --keb-muted );
	font-size: 15px;
	line-height: 1.4;
}

/* Metal: label line, then the swatches beneath it, left-aligned and larger. */
body.keb-product-builder-active .keb-product-summary-controls .keb-product-metal-picker {
	border-bottom: 1px solid var( --keb-hairline );
	border-top: 0;
	display: grid;
	gap: 14px;
	min-height: 0;
	padding: 16px 0 18px;
}

body.keb-product-builder-active .keb-product-summary-controls .keb-product-metal-picker__heading {
	align-items: baseline;
	display: flex;
	flex-wrap: wrap;
	gap: 0 6px;
}

body.keb-product-builder-active .keb-product-summary-controls .keb-product-metal-picker__options {
	gap: 14px;
	justify-content: flex-start;
}

body.keb-product-builder-active .keb-product-summary-controls .keb-product-metal-picker__option,
body.keb-product-builder-active .keb-product-summary-controls .keb-product-metal-picker__swatch {
	flex: 0 0 30px;
	height: 30px;
	width: 30px;
}

body.keb-product-builder-active .keb-product-summary-controls .keb-product-metal-picker__options {
	gap: 12px;
	padding-left: 3px;
}

body.keb-product-builder-active .keb-product-summary-controls .keb-product-metal-picker {
	gap: 10px;
	padding: 14px 0 16px;
}

body.keb-product-builder-active .keb-product-summary-controls .keb-product-metal-picker__option.is-current {
	box-shadow: 0 0 0 2px #fff, 0 0 0 3px var( --keb-ink );
}

body.keb-product-builder-active .keb-product-summary-controls .keb-product-metal-picker__option:hover:not( .is-current ) {
	box-shadow: 0 0 0 2px #fff, 0 0 0 3px var( --keb-tile-line );
}

/* The diamond row: photo, name, grade and price, with the two links beside it. */
body.keb-product-builder-active .keb-product-summary-controls .keb-product-selected-summary.keb-product-selected-summary--rich {
	border-bottom: 1px solid var( --keb-hairline );
	padding: 16px 0;
}

body.keb-product-builder-active .keb-product-summary-controls .keb-product-selected-summary__thumb {
	height: 64px;
	width: 64px;
}

body.keb-product-builder-active .keb-product-summary-controls .keb-product-selected-summary--rich .keb-product-selected-summary__eyebrow {
	color: var( --keb-ink );
	font-size: 15px;
	font-weight: 500;
	letter-spacing: 0;
	line-height: 1.4;
	text-transform: none;
}

body.keb-product-builder-active .keb-product-summary-controls .keb-product-selected-summary--rich .keb-product-selected-summary__eyebrow::after {
	content: ":";
}

body.keb-product-builder-active .keb-product-summary-controls .keb-product-selected-summary--rich strong.keb-product-selected-summary__title {
	color: var( --keb-ink );
	font-size: 15px;
	font-weight: 400;
}

body.keb-product-builder-active .keb-product-summary-controls .keb-product-selected-summary__grade {
	font-size: 13.5px;
}

body.keb-product-builder-active .keb-product-summary-controls .keb-product-selected-summary__link {
	border: 0;
	color: var( --keb-muted );
	font-size: 13px;
	font-weight: 400;
	letter-spacing: 0;
	line-height: 1.4;
	padding: 0;
	text-decoration: underline;
	text-decoration-color: #c9bfb5;
	text-decoration-thickness: 1px;
	text-transform: none;
	text-underline-offset: 4px;
}

body.keb-product-builder-active .keb-product-summary-controls .keb-product-selected-summary__link:hover {
	color: var( --keb-burgundy );
	text-decoration-color: currentColor;
}

/* Engraving: a row like the others, the plus at the edge. */
body.keb-product-builder-active .keb-product-summary-controls .keb-product-engraving__summary {
	font-size: 15px;
	font-weight: 500;
	gap: 6px;
	letter-spacing: 0;
	min-height: 52px;
	text-transform: none;
}

body.keb-product-builder-active .keb-product-summary-controls .keb-product-engraving__summary em {
	color: var( --keb-muted );
	font-size: 15px;
	font-weight: 400;
	letter-spacing: 0;
	margin-left: 0;
}

body.keb-product-builder-active .keb-product-summary-controls .keb-product-engraving__plus {
	margin-left: auto;
}

/* Completion: the buy button tall and first in weight. */
body.keb-product-builder-active .keb-product-summary-controls .keb-product-completion {
	margin-top: 16px;
}

body.keb-product-builder-active .keb-product-summary-controls .keb-product-completion .keb-product-cart-form [data-keb-add-to-cart],
body.keb-product-builder-active .keb-product-summary-controls .keb-product-completion .keb-product-cart-form [data-keb-consultation] {
	font-size: 13px;
	letter-spacing: 0.18em;
	min-height: 64px;
}

body.keb-product-builder-active .keb-product-summary-controls .keb-product-cart-form p[data-keb-cart-status] {
	font-size: 13px;
}

body.keb-product-builder-active .keb-product-summary-controls [data-keb-choose-diamond] {
	font-size: 13px;
	letter-spacing: 0.18em;
	margin-top: 16px;
	min-height: 64px;
}

@media ( max-width: 640px ) {
	body.keb-product-builder-active .keb-product-summary-controls .keb-product-price-line > strong {
		font-size: 24px;
	}

	body.keb-product-builder-active .keb-product-summary-controls .keb-product-selected-summary--rich .keb-product-selected-summary__actions {
		gap: 4px 18px;
	}
}

/* v0.9.16 — the assurance strip: turnaround (when a lead time is set), the
   complimentary resize and Lifetime Atelier Care in one quiet row under the
   buy block — the reasons to buy, where the decision is made. */
body.keb-product-builder-active .keb-product-summary-controls .keb-product-assurance-strip {
	border-bottom: 1px solid var( --keb-hairline );
	border-top: 1px solid var( --keb-hairline );
	display: grid;
	gap: 14px 18px;
	grid-template-columns: repeat( 3, minmax( 0, 1fr ) );
	list-style: none;
	margin: 18px 0 0;
	padding: 16px 0;
}

body.keb-product-builder-active .keb-product-summary-controls .keb-product-assurance-strip__item {
	align-items: flex-start;
	display: flex;
	gap: 10px;
	margin: 0;
	min-width: 0;
	padding: 0;
}

body.keb-product-builder-active .keb-product-summary-controls .keb-product-assurance-strip__icon {
	color: var( --keb-gold );
	display: block;
	flex: 0 0 auto;
	height: 22px;
	width: 22px;
}

body.keb-product-builder-active .keb-product-summary-controls .keb-product-assurance-strip__icon svg {
	display: block;
	height: 100%;
	width: 100%;
}

body.keb-product-builder-active .keb-product-summary-controls .keb-product-assurance-strip__text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

body.keb-product-builder-active .keb-product-summary-controls .keb-product-assurance-strip__text b,
body.keb-product-builder-active .keb-product-summary-controls .keb-product-assurance-strip__text a {
	color: var( --keb-ink );
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0;
	line-height: 1.35;
	text-decoration: none;
	text-transform: none;
}

body.keb-product-builder-active .keb-product-summary-controls .keb-product-assurance-strip__text a {
	border-bottom: 1px solid #d8cec5;
	align-self: flex-start;
}

body.keb-product-builder-active .keb-product-summary-controls .keb-product-assurance-strip__text a:hover {
	border-bottom-color: var( --keb-burgundy );
	color: var( --keb-burgundy );
}

body.keb-product-builder-active .keb-product-summary-controls .keb-product-assurance-strip__text span {
	color: var( --keb-muted );
	font-size: 12px;
	line-height: 1.4;
}

body.keb-product-builder-active .keb-product-support__disclosures {
	border-top: 0;
}

@media ( max-width: 640px ) {
	body.keb-product-builder-active .keb-product-summary-controls .keb-product-assurance-strip {
		gap: 12px;
		grid-template-columns: minmax( 0, 1fr );
		padding: 14px 0;
	}

	body.keb-product-builder-active .keb-product-summary-controls .keb-product-assurance-strip__item {
		align-items: center;
	}

	body.keb-product-builder-active .keb-product-summary-controls .keb-product-assurance-strip__text {
		flex-direction: row;
		flex-wrap: wrap;
		gap: 2px 8px;
	}
}

/* v0.9.19 — the journey strip is one quiet line again (v0.9.18's tabbed strip
   crowded the title and repeated the prices). v0.9.20: the same trail the
   category bar and Shop Diamonds use — a serif numeral, the step name in small
   capitals, a gold tick after a step that is done, a gold rule under the
   current one, hairlines between — and room above it so the title breathes.
   The ring size is a full-width box under its label (v0.9.18). */
body.keb-product-builder-active .keb-product-summary-controls .keb-product-journey-navigation {
	display: flex;
	margin: 18px 0 0;
	padding: 0 0 10px;
}

body.keb-product-builder-active .keb-product-summary-controls .keb-journey-progress--product ol {
	counter-reset: keb-journey-step;
	gap: 0;
}

body.keb-product-builder-active .keb-product-summary-controls .keb-journey-progress--product li {
	color: var( --keb-soft );
	counter-increment: keb-journey-step;
	gap: 8px;
	position: relative;
}

body.keb-product-builder-active .keb-product-summary-controls .keb-journey-progress--product li + li {
	margin-left: 16px;
	padding-left: 16px;
}

body.keb-product-builder-active .keb-product-summary-controls .keb-journey-progress--product li + li::after {
	background: var( --keb-tile-line, #d8cec5 );
	content: "";
	display: block;
	height: 12px;
	left: 0;
	margin-top: -6px;
	position: absolute;
	top: 50%;
	width: 1px;
}

body.keb-product-builder-active .keb-product-summary-controls .keb-journey-progress--product li::before {
	background: none;
	border: 0;
	box-shadow: none;
	color: var( --keb-gold );
	content: counter( keb-journey-step );
	font-family: var( --kinzy-serif, "Cormorant Garamond", Georgia, "Times New Roman", serif );
	font-size: 15px;
	font-weight: 400;
	height: auto;
	letter-spacing: 0;
	line-height: 1;
	width: auto;
}

body.keb-product-builder-active .keb-product-summary-controls .keb-journey-progress--product li.is-complete,
body.keb-product-builder-active .keb-product-summary-controls .keb-journey-progress--product li.is-complete a {
	color: var( --keb-ink );
}

body.keb-product-builder-active .keb-product-summary-controls .keb-journey-progress--product li.is-complete::before,
body.keb-product-builder-active .keb-product-summary-controls .keb-journey-progress--product li.is-current::before {
	background: none;
	color: #765126;
}

body.keb-product-builder-active .keb-product-summary-controls .keb-journey-progress--product li.is-complete a::after,
body.keb-product-builder-active .keb-product-summary-controls .keb-journey-progress--product li.is-complete .keb-journey-progress__label::after {
	background: url( 'data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 12"><path d="M2.2 6.3l2.6 2.6 5-5.4" fill="none" stroke="%23765126" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"/></svg>' ) center / 11px no-repeat;
	content: "";
	display: inline-block;
	height: 11px;
	margin-left: 7px;
	vertical-align: 0;
	width: 11px;
}

body.keb-product-builder-active .keb-product-summary-controls .keb-journey-progress--product li.is-current {
	color: var( --keb-burgundy );
}

body.keb-product-builder-active .keb-product-summary-controls .keb-journey-progress--product li.is-current .keb-journey-progress__label {
	border-bottom: 1px solid var( --keb-gold );
	padding-bottom: 2px;
}

body.keb-product-builder-active .keb-product-summary-controls .keb-journey-progress--product a,
body.keb-product-builder-active .keb-product-summary-controls .keb-journey-progress--product .keb-journey-progress__label {
	font-size: 10.5px;
	font-weight: 500;
	letter-spacing: 0.18em;
}

body.keb-product-builder-active .keb-product-summary-controls .keb-journey-progress--product li.is-current .keb-journey-progress__label {
	font-weight: 600;
}

body.keb-product-builder-active .keb-product-summary-controls .keb-journey-progress__sub {
	display: none;
}

body.keb-product-builder-active .keb-product-summary-controls .keb-journey-actions {
	display: none;
}

/* The total stands alone; the breakdown and Change setting share the small
   line beneath it. */
body.keb-product-builder-active .keb-product-summary-controls .keb-product-price-line {
	margin-top: 10px;
}

body.keb-product-builder-active .keb-product-summary-controls .keb-product-price-line__note {
	grid-column: 1;
	grid-row: 2;
}

body.keb-product-builder-active .keb-product-summary-controls .keb-product-price-line__breakdown {
	grid-column: 1;
	grid-row: 2;
}

body.keb-product-builder-active .keb-product-summary-controls .keb-product-price-line__change {
	align-self: center;
	grid-row: 2;
}

/* Phones: the breakdown needs the full width, so Change setting sits beside
   the total instead. */
@media ( max-width: 640px ) {
	body.keb-product-builder-active .keb-product-summary-controls .keb-product-price-line__note,
	body.keb-product-builder-active .keb-product-summary-controls .keb-product-price-line__breakdown {
		grid-column: 1 / -1;
	}

	body.keb-product-builder-active .keb-product-summary-controls .keb-product-price-line__breakdown {
		gap: 6px 14px;
	}

	body.keb-product-builder-active .keb-product-summary-controls .keb-product-price-line__change {
		align-self: baseline;
		grid-row: 1;
	}
}

/* Ring size (v0.11.9, v0.11.11), as on the wedding band page: a small-capitals
   label with its "i" guide on the left, the chosen size (or Select) on the
   right, and the size tiles on the page beneath with no box around them,
   shown by Select and folded away once a size is chosen. Values match
   wedding-bands.css. */
body.keb-product-builder-active .keb-product-summary-controls .keb-product-ring-size-control {
	border-bottom: 1px solid var( --keb-hairline );
	border-top: 0;
	padding: 20px 0 18px;
}

body.keb-product-builder-active .keb-product-summary-controls .keb-product-ring-size-control__heading {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 10px 9px;
	min-height: 0;
}

body.keb-product-builder-active .keb-product-summary-controls .keb-product-ring-size-control__label {
	color: #726a61;
	font-size: 11px;
	font-weight: 400;
	letter-spacing: 0.16em;
	line-height: 1.4;
	text-transform: uppercase;
}

body.keb-product-builder-active .keb-product-summary-controls .keb-product-ring-size-control__label::after {
	content: none;
}

body.keb-product-builder-active .keb-product-summary-controls .keb-product-ring-size-control__info {
	align-items: center;
	appearance: none;
	background: transparent;
	border: 1px solid currentColor;
	border-radius: 50%;
	color: var( --keb-muted );
	cursor: pointer;
	display: inline-flex;
	font: italic 12px Georgia, serif;
	height: 18px;
	justify-content: center;
	letter-spacing: 0;
	margin: 0;
	min-width: 18px;
	padding: 0;
	text-decoration: none;
	text-transform: none;
	width: 18px;
}

body.keb-product-builder-active .keb-product-summary-controls .keb-product-ring-size-control__info:hover {
	color: var( --keb-ink );
}

body.keb-product-builder-active .keb-product-summary-controls .keb-product-ring-size-control__info:focus-visible {
	outline: 2px solid var( --keb-gold );
	outline-offset: 3px;
}

body.keb-product-builder-active .keb-product-summary-controls .keb-product-ring-size-control__toggle {
	background: transparent;
	border: 0;
	border-radius: 0;
	box-sizing: border-box;
	color: var( --keb-ink );
	display: inline-flex;
	font-size: 15px;
	gap: 8px;
	margin-left: auto;
	min-height: 32px;
	padding: 0;
	text-align: right;
	width: auto;
}

body.keb-product-builder-active .keb-product-summary-controls .keb-product-ring-size-control__toggle strong {
	font-weight: 400;
}

body.keb-product-builder-active .keb-product-summary-controls .keb-product-ring-size-control__chevron {
	color: var( --keb-ink );
}

body.keb-product-builder-active .keb-product-summary-controls .keb-product-ring-size-picker {
	margin-top: 14px;
}

body.keb-product-builder-active .keb-product-summary-controls .keb-product-ring-size-picker__panel {
	background: transparent;
	border: 0;
	gap: 0;
	margin: 0;
	padding: 0;
}

body.keb-product-builder-active .keb-product-summary-controls .keb-product-ring-size-picker__hint {
	color: var( --keb-muted );
	font-size: 13.5px;
	line-height: 1.5;
	margin: 16px 0 0;
}

body.keb-product-builder-active .keb-product-summary-controls .keb-product-ring-size-picker__hint a {
	color: var( --keb-ink );
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* v0.9.19 — phones: a fixed price + buy bar once the real button has scrolled
   away (the script shows it only with a diamond chosen, never over the studio
   or a sheet). */
.keb-product-sticky-cta {
	display: none;
}

@media ( max-width: 680px ) {
	.keb-product-sticky-cta {
		align-items: center;
		background: #fff;
		border-top: 1px solid var( --keb-hairline );
		bottom: 0;
		box-shadow: 0 -12px 24px -16px rgba( 33, 26, 24, 0.45 );
		box-sizing: border-box;
		display: flex;
		gap: 14px;
		left: 0;
		padding: 10px 16px calc( 10px + env( safe-area-inset-bottom, 0px ) );
		position: fixed;
		right: 0;
		z-index: 90;
	}

	.keb-product-sticky-cta[hidden] {
		display: none;
	}

	.keb-product-sticky-cta__price {
		color: var( --keb-ink );
		flex: 0 0 auto;
		font-size: 19px;
		font-variant-numeric: tabular-nums;
		font-weight: 500;
		letter-spacing: 0.01em;
		line-height: 1.2;
		min-width: 0;
	}

	.keb-product-sticky-cta__price:empty {
		display: none;
	}

	.keb-product-sticky-cta .keb-product-sticky-cta__button {
		flex: 1 1 auto;
		font-size: 12px;
		letter-spacing: 0.14em;
		margin: 0;
		min-height: 48px;
		padding: 0 14px;
		width: auto;
	}

	body.keb-product-sticky-cta-visible {
		padding-bottom: calc( 72px + env( safe-area-inset-bottom, 0px ) );
	}

	/* The bar's tap-to-size scroll leaves room for the theme's fixed header. */
	body.keb-product-builder-active .keb-product-summary-controls .keb-product-ring-size-control {
		scroll-margin-top: 92px;
	}

	body.keb-diamond-studio-open .keb-product-sticky-cta,
	body.keb-dd-open .keb-product-sticky-cta {
		display: none;
	}
}

/* v0.9.24 — type and colour pass for the diamond studio, matching Shop
   Diamonds: a chosen grade boxed in ink on ivory (not filled garnet), the
   Natural | Lab Grown pair as quiet small capitals with the chosen one boxed,
   cards with the stone's name and price in the serif and no pill badge, the
   filter heading without its eyebrow, the info "i" quieter. */
.keb-product-option-grid > label > span {
	background: #fff;
	border-color: #d8cec5;
	border-radius: 0;
	box-shadow: none;
	font-weight: 400;
	min-height: 42px;
}

.keb-product-option-grid > label:hover > span {
	background: #fff;
	border-color: var( --keb-ink );
}

.keb-product-option-grid > label > input:checked + span {
	background: var( --keb-warm, #f3ece4 );
	border-color: var( --keb-ink );
	box-shadow: inset 0 0 0 1px var( --keb-ink );
	color: var( --keb-ink );
	font-weight: 600;
}

.keb-product-option-grid > label > input:checked + span .keb-sd-hue {
	box-shadow: 0 0 0 1.5px #fff, 0 0 0 2.5px var( --keb-ink );
}

.keb-product-filter-group--origin .keb-product-origin-options span {
	background: transparent;
	border-color: #d8cec5;
	border-radius: 0;
	color: var( --keb-muted );
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.16em;
	min-height: 44px;
	text-transform: uppercase;
}

.keb-product-filter-group--origin .keb-product-origin-options label:hover span {
	background: #fff;
	border-color: var( --keb-ink );
	color: var( --keb-ink );
}

.keb-product-filter-group--origin .keb-product-origin-options input:checked + span {
	background: #fff;
	border-color: var( --keb-ink );
	color: var( --keb-ink );
	font-weight: 600;
}

.keb-product-filter-heading > p {
	display: none;
}

.keb-product-filter-heading h3 {
	font-size: 21px;
}

.keb-product-spec-info {
	border-color: #d8cec5;
	color: var( --keb-soft );
}

.keb-product-spec-info:hover {
	border-color: var( --keb-ink );
	color: var( --keb-ink );
}

.keb-product-diamond-card__badge {
	display: none;
}

.keb-product-diamond-card__body {
	gap: 2px;
	padding: 14px 16px 12px;
}

.keb-product-diamond-card__body h3 {
	font-family: var( --kinzy-serif, "Cormorant Garamond", Georgia, "Times New Roman", serif );
	font-size: 21px;
	line-height: 1.15;
	margin: 0;
	order: 1;
}

.keb-product-diamond-card__quick-specs {
	color: var( --keb-muted );
	font-size: 13.5px;
	margin: 0;
	order: 2;
}

.keb-product-diamond-card__quality-specs {
	margin: 0;
	order: 3;
}

.keb-product-diamond-card__price {
	font-family: var( --kinzy-serif, "Cormorant Garamond", Georgia, "Times New Roman", serif );
	font-size: 20px;
	margin: 10px 0 0;
	order: 4;
}

.keb-product-diamond-card__footer {
	order: 5;
}

/* v0.9.44: the gemstone card's size / availability line sits between the specs and the price. */
.keb-product-diamond-card__meta {
	font-size: 12.5px;
	justify-content: space-between;
	margin: 4px 0 0;
	order: 3;
}

.keb-product-diamond-card__meta span:not(:first-child)::before {
	content: none;
	margin: 0;
}

.keb-product-results[data-view="list"] .keb-product-diamond-card__meta {
	margin: 0;
	order: 0;
}

.keb-product-diamond-card__cert {
	color: #765126;
	font-size: 10.5px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.keb-product-results[data-view="list"] .keb-product-diamond-card__body h3,
.keb-product-results[data-view="list"] .keb-product-diamond-card__price {
	font-family: inherit;
	font-size: 15px;
	order: 0;
}

.keb-product-results[data-view="list"] .keb-product-diamond-card__quick-specs {
	order: 0;
}

/* the buy box: values read in ink, not grey */
body.keb-product-builder-active .keb-product-summary-controls .keb-product-field-value {
	color: var( --keb-ink );
	font-weight: 400;
}

/* v0.9.27 — phones: the ring size is one native list (the phone's own
   picker) in place of the toggle and the grid of 53 buttons, which ran to
   eleven rows. 16px text so iOS does not zoom on focus. */
.keb-product-ring-size-native {
	display: none;
}

@media ( max-width: 680px ) {
	body.keb-product-builder-active .keb-product-summary-controls .keb-product-ring-size-control__toggle,
	body.keb-product-builder-active .keb-product-summary-controls .keb-product-ring-size-picker {
		display: none !important;
	}

	body.keb-product-builder-active .keb-product-summary-controls select.keb-product-ring-size-native {
		-moz-appearance: none !important;
		-webkit-appearance: none !important;
		appearance: none !important;
		background: #fff 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='%23211a18' stroke-width='1.2'/%3E%3C/svg%3E" ) no-repeat right 16px center / 10px 6px !important;
		border: 1px solid #b9b0aa !important;
		border-radius: 2px !important;
		box-shadow: none !important;
		box-sizing: border-box !important;
		color: var( --keb-ink ) !important;
		cursor: pointer;
		display: block !important;
		flex: 1 0 100%;
		font-family: inherit !important;
		font-size: 16px !important;
		height: 52px !important;
		line-height: 1.2 !important;
		margin: 0 !important;
		max-width: none !important;
		padding: 0 44px 0 16px !important;
		width: 100% !important;
	}

	body.keb-product-builder-active .keb-product-summary-controls select.keb-product-ring-size-native:focus-visible {
		border-color: var( --keb-ink ) !important;
		outline: 2px solid var( --keb-gold );
		outline-offset: 2px;
	}
}

/* v0.9.27 — engraving: choose a style (each shown in its own letters), type
   and see the text in that style, add a symbol, watch the count. The script
   face is bundled with the plugin (Pinyon Script, SIL Open Font Licence);
   Classic and Modern use the site's own serif and sans. */
@font-face {
	font-display: swap;
	font-family: "Kinzy Engraving Script";
	font-style: normal;
	font-weight: 400;
	src: url( "../fonts/pinyon-script/pinyon-script-latin-400-normal.woff2" ) format( "woff2" );
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-display: swap;
	font-family: "Kinzy Engraving Script";
	font-style: normal;
	font-weight: 400;
	src: url( "../fonts/pinyon-script/pinyon-script-latin-ext-400-normal.woff2" ) format( "woff2" );
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

.keb-engrave-font--classic {
	font-family: var( --kinzy-serif, "Cormorant Garamond", Georgia, "Times New Roman", serif ) !important;
	letter-spacing: 0.03em;
}

.keb-engrave-font--script {
	font-family: "Kinzy Engraving Script", "Snell Roundhand", "Apple Chancery", cursive !important;
	letter-spacing: 0;
}

.keb-engrave-font--modern {
	font-family: var( --kinzy-sans, Jost, "Helvetica Neue", Arial, sans-serif ) !important;
	letter-spacing: 0.08em;
}

/* v0.9.28 — the engraving panel, quieter: the three styles as text tabs in
   their own letters (the chosen one ink with a gold rule beneath, as the
   White | Coloured tabs on Shop Diamonds), one box for the text with its
   count inside, the symbols as plain glyphs after "Add a symbol". One
   bordered element instead of nine. */
body.keb-product-builder-active .keb-product-summary-controls .keb-product-engraving__panel {
	display: grid;
	gap: 14px;
	padding: 2px 0 18px;
}

body.keb-product-builder-active .keb-product-summary-controls .keb-product-engraving__fonts {
	align-items: flex-end;
	border: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 4px 28px;
	margin: 0;
	min-width: 0;
	padding: 0;
}

body.keb-product-builder-active .keb-product-summary-controls .keb-product-engraving__font {
	cursor: pointer;
	display: block;
	margin: 0;
	position: relative;
}

body.keb-product-builder-active .keb-product-summary-controls .keb-product-engraving__font input {
	height: 1px;
	margin: 0;
	opacity: 0;
	pointer-events: none;
	position: absolute;
	width: 1px;
}

body.keb-product-builder-active .keb-product-summary-controls .keb-product-engraving__font span {
	border-bottom: 1px solid transparent;
	color: #8d857a;
	display: block;
	font-size: 18px;
	line-height: 1.2;
	padding: 2px 0 5px;
	transition: color 150ms ease, border-color 150ms ease;
}

body.keb-product-builder-active .keb-product-summary-controls .keb-product-engraving__font span.keb-engrave-font--script {
	font-size: 25px;
	line-height: 1;
}

body.keb-product-builder-active .keb-product-summary-controls .keb-product-engraving__font span.keb-engrave-font--modern {
	font-size: 15px;
}

body.keb-product-builder-active .keb-product-summary-controls .keb-product-engraving__font:hover span {
	color: var( --keb-ink );
}

body.keb-product-builder-active .keb-product-summary-controls .keb-product-engraving__font input:checked + span {
	border-bottom-color: var( --keb-gold );
	color: var( --keb-ink );
}

body.keb-product-builder-active .keb-product-summary-controls .keb-product-engraving__font input:focus-visible + span {
	outline: 2px solid var( --keb-gold );
	outline-offset: 3px;
}

body.keb-product-builder-active .keb-product-summary-controls .keb-product-engraving .keb-product-field--engraving {
	background: transparent;
	border: 0;
	display: block;
	margin: 0;
	padding: 0;
	position: relative;
}

body.keb-product-builder-active .keb-product-summary-controls .keb-product-engraving .keb-product-field--engraving input {
	background: #fff;
	border: 1px solid #b9b0aa;
	border-radius: 2px;
	box-sizing: border-box;
	color: var( --keb-ink );
	font-size: 20px;
	height: 54px;
	line-height: 1.2;
	padding: 0 64px 0 16px;
	transition: border-color 150ms ease;
	width: 100%;
}

body.keb-product-builder-active .keb-product-summary-controls .keb-product-engraving .keb-product-field--engraving input.keb-engrave-font--script {
	font-size: 26px;
}

body.keb-product-builder-active .keb-product-summary-controls .keb-product-engraving .keb-product-field--engraving input.keb-engrave-font--modern {
	font-size: 17px;
}

body.keb-product-builder-active .keb-product-summary-controls .keb-product-engraving .keb-product-field--engraving input:focus {
	border-color: var( --keb-ink );
	outline: none;
}

body.keb-product-builder-active .keb-product-summary-controls .keb-product-engraving .keb-product-field--engraving input::placeholder {
	color: #a39b93;
	opacity: 1;
}

body.keb-product-builder-active .keb-product-summary-controls .keb-product-engraving__count {
	color: #8d857a;
	font-family: var( --kinzy-sans, Jost, "Helvetica Neue", Arial, sans-serif );
	font-size: 12px;
	font-variant-numeric: tabular-nums;
	margin: 0;
	pointer-events: none;
	position: absolute;
	right: 14px;
	top: 50%;
	transform: translateY( -50% );
}

body.keb-product-builder-active .keb-product-summary-controls .keb-product-engraving__symbols {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 2px 4px;
}

body.keb-product-builder-active .keb-product-summary-controls .keb-product-engraving__symbols-label {
	color: var( --keb-muted );
	font-size: 13px;
	margin-right: 8px;
}

body.keb-product-builder-active .keb-product-summary-controls .keb-product-engraving__symbol {
	align-items: center;
	background: none;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	color: var( --keb-ink );
	cursor: pointer;
	display: inline-flex;
	font-family: "Segoe UI Symbol", "Apple Symbols", "DejaVu Sans", sans-serif;
	font-size: 17px;
	height: 34px;
	justify-content: center;
	line-height: 1;
	margin: 0;
	min-height: 0;
	padding: 0;
	transition: color 150ms ease;
	width: 34px;
}

body.keb-product-builder-active .keb-product-summary-controls .keb-product-engraving__symbol:hover {
	background: none;
	color: var( --keb-gold );
}

body.keb-product-builder-active .keb-product-summary-controls .keb-product-engraving__symbol:focus-visible {
	outline: 2px solid var( --keb-gold );
	outline-offset: 1px;
}

body.keb-product-builder-active .keb-product-summary-controls .keb-product-engraving__note {
	color: var( --keb-muted );
	font-size: 12.5px;
	line-height: 1.45;
	margin: -4px 0 0;
}

/* v0.9.29 — trilogy rings: the side stones join the setting · diamond
   breakdown under the ring total (base setting + side stones + diamond). */
body.keb-product-builder-active .keb-product-summary-controls .keb-product-price-line__part[hidden] {
	display: none;
}

/* v0.9.29 — "Side stones" carries its guide icon, not a value, so no colon
   after the icon. */
body.keb-product-builder-active .keb-product-summary-controls .keb-product-trilogy > .keb-product-field-label::after {
	content: none;
}

/* v0.9.36 — toi et moi rings (two diamonds): the second stone's button reads like
   "Select your diamond" until it is chosen, then the stone is a row like the
   first. */
body.keb-product-builder-active .keb-product-summary-controls [data-keb-choose-second] {
	font-size: 13px;
	letter-spacing: 0.18em;
	margin-top: 16px;
	min-height: 64px;
}

body.keb-product-builder-active .keb-product-summary-controls .keb-product-second-summary:not( .keb-product-selected-summary ) {
	margin: 0;
	padding: 0;
}

/* v0.9.36 — on a toi et moi ring a chosen card says which stone it is. */
.keb-product-diamond-card.is-selected[data-keb-chosen]::after {
	content: attr( data-keb-chosen );
}

/* ======================================================================
   v0.10.1 — studio redesign: stone tiles, pill chips, checklists, swatches
   ====================================================================== */

/* --- stone tiles above the studio --- */
.keb-product-diamonds__header--stones {
	display: block;
}

.keb-product-stones {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 12px;
	padding: 10px 0 4px;
}

.keb-product-stones::-webkit-scrollbar {
	display: none;
}

.keb-product-stone {
	align-items: center;
	appearance: none;
	background: #fff;
	border: 1px solid var( --keb-line );
	border-radius: 6px;
	color: var( --keb-ink );
	cursor: pointer;
	display: flex;
	flex: 0 0 auto;
	font-family: inherit;
	gap: 12px;
	margin: 0;
	max-width: 230px;
	min-height: 68px;
	min-width: 150px;
	padding: 12px 14px;
	position: relative;
	scroll-snap-align: start;
	text-align: left;
	transition: border-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
	flex: 1 1 150px;
}

.keb-product-stone:hover {
	border-color: var( --keb-ink );
}

.keb-product-stone:focus-visible {
	outline: 2px solid var( --keb-gold );
	outline-offset: 2px;
}

.keb-product-stone[aria-pressed="true"] {
	border-color: var( --keb-burgundy );
	box-shadow: inset 0 0 0 1px var( --keb-burgundy );
}

.keb-product-stone__swatch {
	background: radial-gradient( circle at 35% 30%, color-mix( in srgb, var( --keb-stone, #9a9a9a ) 45%, #fff ) 0, var( --keb-stone, #9a9a9a ) 55%, color-mix( in srgb, var( --keb-stone, #9a9a9a ) 70%, #000 ) 100% );
	border-radius: 50%;
	box-shadow: inset 0 0 0 1px rgba( 0, 0, 0, 0.06 );
	flex: none;
	height: 40px;
	width: 40px;
}

@supports not ( background: color-mix( in srgb, #000 50%, #fff ) ) {
	.keb-product-stone__swatch {
		background: var( --keb-stone, #9a9a9a );
	}
}

.keb-product-stone--white .keb-product-stone__swatch {
	background: radial-gradient( circle at 35% 30%, #fff 0, #e9ecf1 45%, #c9ced8 100% );
}

.keb-product-stone--fancy .keb-product-stone__swatch {
	background: conic-gradient( from 200deg, #f3b6c8, #9fc0ec, #f6df84, #a9d8a1, #f3b6c8 );
}

.keb-product-stone--all .keb-product-stone__swatch {
	background: conic-gradient( from 160deg, #1b3f9c, #c41438, #118a52, #e38fb5, #4b46b8, #1b3f9c );
}

.keb-product-stone__text {
	display: block;
	min-width: 0;
}

.keb-product-stone__text b {
	display: block;
	font-size: 13.5px;
	font-weight: 500;
	line-height: 1.2;
}

.keb-product-stone__text small {
	color: var( --keb-muted );
	display: block;
	font-size: 11px;
	line-height: 1.3;
	margin-top: 3px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.keb-product-stone__new {
	background: var( --keb-burgundy );
	border-radius: 999px;
	color: #fff;
	font-size: 9px;
	font-style: normal;
	font-weight: 600;
	letter-spacing: 0.12em;
	padding: 3px 7px;
	position: absolute;
	right: 10px;
	text-transform: uppercase;
	top: -8px;
}

/* --- the rail: pills, segmented switch, checklists, swatches --- */
.keb-product-option-grid > label > span {
	border-radius: 999px;
	min-height: 36px;
	min-width: 0;
	padding: 7px 14px;
}

.keb-product-option-grid--wide > label > span {
	min-width: 0;
}

.keb-product-filter-group--origin .keb-product-origin-options {
	background: #fff;
	border: 1px solid var( --keb-line );
	border-radius: 999px;
	gap: 0;
	padding: 3px;
}

.keb-product-filter-group--origin .keb-product-origin-options span {
	background: transparent;
	border: 0;
	border-radius: 999px;
	color: var( --keb-muted );
	font-size: 11px;
	letter-spacing: 0.1em;
	min-height: 36px;
	padding: 8px 6px;
	text-transform: uppercase;
}

.keb-product-filter-group--origin .keb-product-origin-options input:checked + span {
	background: var( --keb-ink );
	border-color: var( --keb-ink );
	color: #fff;
}

.keb-product-checklist {
	list-style: none;
	margin: 0;
	padding: 0;
}

.keb-product-checklist li {
	margin: 0;
	padding: 0;
}

.keb-product-checklist li[hidden] {
	display: none;
}

.keb-product-checklist label {
	align-items: center;
	cursor: pointer;
	display: flex;
	gap: 10px;
	margin: 0;
	padding: 6px 0;
	position: relative;
}

.keb-product-checklist label[hidden] {
	display: none;
}

.keb-product-checklist input {
	height: 1px;
	left: 0;
	opacity: 0;
	position: absolute;
	top: 0;
	width: 1px;
}

.keb-product-checklist label > span {
	align-items: center;
	color: var( --keb-ink );
	display: flex;
	font-size: 13.5px;
	gap: 8px;
	line-height: 1.3;
}

.keb-product-checklist label > span::before {
	background: #fff;
	border: 1px solid var( --keb-line );
	border-radius: 3px;
	content: "";
	flex: none;
	height: 16px;
	transition: background-color 120ms ease, border-color 120ms ease, box-shadow 120ms ease;
	width: 16px;
}

.keb-product-checklist input:checked + span::before {
	background: var( --keb-ink );
	border-color: var( --keb-ink );
	box-shadow: inset 0 0 0 3px #fff;
}

.keb-product-checklist input:focus-visible + span::before {
	outline: 2px solid var( --keb-gold );
	outline-offset: 2px;
}

.keb-product-checklist input:disabled + span {
	cursor: not-allowed;
	opacity: 0.42;
}

.keb-product-checklist__more {
	appearance: none;
	background: transparent;
	border: 0;
	color: var( --keb-burgundy );
	cursor: pointer;
	font-family: inherit;
	font-size: 12px;
	margin: 6px 0 0;
	padding: 0;
	text-decoration: underline;
}

.keb-product-checklist__more[hidden] {
	display: none;
}

.keb-product-swatch {
	background: var( --keb-swatch, #9a9a9a );
	border-radius: 50%;
	box-shadow: inset 0 0 0 1px rgba( 0, 0, 0, 0.12 );
	display: inline-block;
	flex: none;
	height: 10px;
	width: 10px;
}

.keb-product-option-grid > label > span .keb-product-swatch {
	margin-right: 7px;
}

/* --- quieter 360° mark on the cards --- */
.keb-product-diamond-card__video-badge {
	background: rgba( 255, 255, 255, 0.78 );
	font-size: 9.5px;
	font-weight: 500;
	padding: 4px 7px;
}

/* --- phone --- */
@media ( max-width: 600px ) {
	.keb-product-stones {
		flex-wrap: nowrap;
		gap: 8px;
		margin: 10px -4px 0;
		overflow-x: auto;
		padding: 10px 4px 6px;
		scroll-snap-type: x proximity;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
	}

	.keb-product-stones::-webkit-scrollbar {
		display: none;
	}

	.keb-product-stone {
		flex: 0 0 auto;
		flex-direction: column;
		gap: 8px;
		max-width: none;
		min-height: 0;
		min-width: 0;
		padding: 12px 8px 10px;
		text-align: center;
		width: 108px;
	}

	.keb-product-stone__swatch {
		height: 34px;
		width: 34px;
	}

	.keb-product-stone__text b {
		font-size: 12px;
	}

	.keb-product-stone__text small {
		display: none;
	}

	.keb-product-stone__new {
		right: 6px;
	}
}

/* ======================================================================
   v0.10.2 — real stone photos on the tiles, the rail scrolls under the
   mouse, folded filter groups on a phone
   ====================================================================== */

/* --- the tiles show a real stone from the catalogue: the photo above the name --- */
.keb-product-stone {
	flex: 1 1 136px;
	flex-direction: column;
	gap: 10px;
	justify-content: flex-start;
	max-width: 196px;
	min-height: 0;
	min-width: 124px;
	padding: 16px 10px 13px;
	text-align: center;
}

.keb-product-stone__swatch {
	height: 48px;
	width: 48px;
}

.keb-product-stone__text {
	width: 100%;
}

/* A tile without a photo keeps its colour, level with the photo tiles beside it. */
.keb-product-stone:not(.keb-product-stone--photo) .keb-product-stone__swatch {
	margin: 14px 0;
}

.keb-product-stone--photo .keb-product-stone__swatch {
	background: #f6f4f1;
	border-radius: 10px;
	box-shadow: inset 0 0 0 1px rgba( 0, 0, 0, 0.05 );
	height: 76px;
	overflow: hidden;
	width: 76px;
}

.keb-product-stone--photo .keb-product-stone__swatch img {
	display: block;
	height: 100%;
	object-fit: cover;
	transform: scale( 1.18 );
	width: 100%;
}

@media ( max-width: 600px ) {
	.keb-product-stone {
		gap: 8px;
		padding: 12px 8px 10px;
	}

	.keb-product-stone__swatch {
		height: 36px;
		width: 36px;
	}

	.keb-product-stone:not(.keb-product-stone--photo) .keb-product-stone__swatch {
		margin: 12px 0;
	}

	.keb-product-stone--photo .keb-product-stone__swatch {
		height: 60px;
		width: 60px;
	}
}

/* --- the rail scrolls under the mouse and hands on to the page at its ends --- */
.keb-product-filters {
	overscroll-behavior: auto;
}

/* --- folded filter groups on a phone: one row each, name and what is chosen --- */
.keb-product-filter-group__toggle {
	display: none;
}

@media ( max-width: 1024px ) {
	.keb-product-filters .keb-product-filter-group[data-keb-foldable] {
		border-bottom: 1px solid var( --keb-line ) !important;
		padding: 0 16px;
	}

	.keb-product-filters .keb-product-filter-group[data-keb-foldable]:not([data-keb-folded]) {
		padding-bottom: 16px;
	}

	.keb-product-filters .keb-product-filter-group[data-keb-foldable] > .keb-product-filter-group__label {
		cursor: pointer;
		font-size: 14px;
		font-weight: 650;
		gap: 8px;
		margin: 0;
		min-height: 56px;
		padding: 0;
		width: 100%;
		-webkit-user-select: none;
		user-select: none;
	}

	.keb-product-filters .keb-product-filter-group[data-keb-foldable]:not([data-keb-folded]) > .keb-product-filter-group__label {
		margin-bottom: 4px;
	}

	.keb-product-filters .keb-product-filter-group[data-keb-folded] > .keb-product-filter-group__label .keb-product-filter-group__hint {
		display: none;
	}

	.keb-product-filter-group[data-keb-folded] > :not(legend) {
		display: none !important;
	}

	.keb-product-filter-group__toggle {
		align-items: center;
		appearance: none;
		background: none;
		border: 0;
		color: var( --keb-muted );
		cursor: pointer;
		display: inline-flex;
		flex: 1 1 auto;
		font: inherit;
		font-size: 13px;
		font-weight: 400;
		justify-content: flex-end;
		letter-spacing: 0;
		margin: 0 0 0 auto;
		min-height: 44px;
		min-width: 0;
		padding: 6px 36px 6px 8px;
		position: relative;
		text-align: right;
		text-transform: none;
	}

	/* The same circled chevron as the More filters rows beneath. */
	.keb-product-filter-group__toggle::before {
		border: 1px solid #cfc7bd;
		border-radius: 50%;
		content: "";
		height: 26px;
		margin-top: -13px;
		position: absolute;
		right: 0;
		top: 50%;
		width: 26px;
	}

	.keb-product-filter-group__toggle::after {
		border: solid var( --keb-ink );
		border-width: 0 1.2px 1.2px 0;
		content: "";
		height: 6px;
		margin-top: -5px;
		position: absolute;
		right: 10px;
		top: 50%;
		transform: rotate( 45deg );
		transition: transform 160ms ease, margin-top 160ms ease;
		width: 6px;
	}

	.keb-product-filter-group__toggle[aria-expanded="true"]::after {
		margin-top: -2px;
		transform: rotate( 225deg );
	}

	.keb-product-filter-group__toggle:focus-visible {
		outline: 3px solid rgba( 176, 138, 66, 0.34 );
		outline-offset: -3px;
	}

	.keb-product-filter-group__chosen {
		max-width: 100%;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.keb-product-filter-group[data-keb-has-choice] .keb-product-filter-group__chosen {
		color: var( --keb-burgundy );
		font-weight: 500;
	}

	/* The viewing switch stays open — one row like the folded ones, its switch beneath. */
	.keb-product-filters .keb-product-filter-group--viewing {
		border-bottom: 1px solid var( --keb-line ) !important;
		padding: 14px 16px 16px;
	}

	/* The rail heading sits tighter above the rows. */
	.keb-product-filters .keb-product-filter-heading {
		padding-bottom: 8px;
	}
}

@media ( prefers-reduced-motion: reduce ) {
	.keb-product-filter-group__toggle::after {
		transition: none;
	}
}

/* v0.11.5 — "There is already an engagement ring in your bag. Remove it to add
   this one." One quiet line above the button, in the builder's note voice, with
   Remove it as an inline link; the button itself reads View bag meanwhile. */
.keb-product-cart-form .keb-product-bag-notice { margin: 0 0 2px; font-size: 13px; line-height: 1.55; letter-spacing: 0; text-align: left; color: var( --keb-muted, #6f6560 ); }
.keb-product-cart-form .keb-product-bag-notice[hidden] { display: none; }
.keb-product-cart-form .keb-product-bag-notice__link {
	display: inline; background: none; border: 0; border-radius: 0; box-shadow: none; padding: 0; margin: 0; min-height: 0; width: auto; cursor: pointer;
	font: inherit; color: var( --keb-ink, #211a18 ); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px;
}
.keb-product-cart-form .keb-product-bag-notice__link:hover { color: var( --keb-burgundy, #351211 ); background: none; }
.keb-product-cart-form .keb-product-bag-notice__link:focus-visible { outline: 2px solid var( --keb-gold, #bfa277 ); outline-offset: 2px; }
.keb-product-cart-form .keb-product-bag-notice__link[aria-busy="true"] { opacity: 0.6; cursor: wait; }
.keb-product-cart-form [data-keb-bag-view][hidden] { display: none; }
