/* Gem browser (gems/), gem pages and New stones (_work/gems.mjs). Hallenmore's type, pills and radii on a white page. */
html:is([data-page="gems"], [data-page="gem"], [data-page="new-stones"]) body { --page-background-color: #fff; --marker-background-color: #fff; --glog-page-bg: #fff; }
:root { --br-ink: #000; --br-quiet: rgb(102 96 89); --br-line: rgb(0 0 0 / 0.08); --br-warm: rgb(248 246 243); --br-ease: cubic-bezier(0.22, 1, 0.36, 1); }

/* sections: the base's container with the faint side lines */
.br-pad { padding-left: var(--section-px-default); padding-right: var(--section-px-default); }
.br-pt-hero .br-pad { padding-top: calc(var(--hero-pt) * 0.75); }
.br-pt-default .br-pad { padding-top: var(--section-py-default); }
.br-pt-sm .br-pad { padding-top: var(--section-py-sm); }
.br-pb-default .br-pad { padding-bottom: var(--section-py-default); }
.br-pb-sm .br-pad { padding-bottom: var(--section-py-sm); }
.br-body .br-pad { padding-bottom: var(--section-py-default); }
main [id], .br-sec[id] { scroll-margin-top: 6rem; }

/* ---------- head: title, the big search box, the view switch ---------- */
.br-head h1 { max-width: 46rem; }
.br-head-sub { margin-top: 1.5rem; max-width: 46rem; }
.br-searchrow { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 2.25rem; padding-bottom: 2.5rem; }
.br-search { position: relative; flex: 1 1 30rem; max-width: 48rem; }
.br-search input { width: 100%; height: 4rem; padding: 0 3.75rem 0 3.875rem; border: 0; border-radius: 9999px; background: #fff; color: var(--br-ink); font: inherit; font-size: 1.1875rem; line-height: 1.5rem; outline: none; box-shadow: 0 0 0 1px rgb(0 0 0 / 0.12), 0 1px 2px rgb(0 0 0 / 0.04), 0 8px 24px -12px rgb(0 0 0 / 0.14); transition: box-shadow 0.15s; -webkit-appearance: none; appearance: none; }
.br-search input:hover { box-shadow: 0 0 0 1px rgb(0 0 0 / 0.22), 0 1px 2px rgb(0 0 0 / 0.04), 0 8px 24px -12px rgb(0 0 0 / 0.16); }
.br-search input:focus { box-shadow: 0 0 0 2px #000, 0 8px 24px -12px rgb(0 0 0 / 0.18); }
.br-search input::placeholder { color: rgb(124 118 111); opacity: 1; }
.br-search input::-webkit-search-cancel-button { display: none; }
.br-search-icon { position: absolute; left: 1.375rem; top: 50%; width: 1.625rem; height: 1.625rem; transform: translateY(-50%); color: var(--br-ink); pointer-events: none; }
.br-search-icon svg, .br-search-clear svg { width: 100%; height: 100%; }
.br-search-clear { position: absolute; right: 0.75rem; top: 50%; display: flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; padding: 0.5rem; border-radius: 9999px; transform: translateY(-50%); color: rgb(89 84 79); transition: background-color 0.15s, color 0.15s; }
.br-search-clear:hover { background: rgb(245 243 241); color: #000; }
.br-search-clear[hidden] { display: none; }
.br-views { flex: none; display: flex; gap: 0.125rem; padding: 0.1875rem; border-radius: 9999px; background: rgb(245 243 241); box-shadow: inset 0 0 0 0.5px rgb(0 0 0 / 0.075); }
.br-views .kit-chip { height: 2.75rem; padding: 0 1.25rem; font-size: 1rem; }
@media (max-width: 639px) {
  .br-searchrow { margin-top: 1.75rem; padding-bottom: 1.75rem; gap: 0.75rem; }
  .br-search { flex-basis: 100%; }
  .br-search input { height: 3.5rem; font-size: 1.0625rem; padding-left: 3.25rem; }
  .br-search-icon { left: 1.125rem; width: 1.375rem; height: 1.375rem; }
  .br-views { width: 100%; }
  .br-views .kit-chip { flex: 1; justify-content: center; }
}

/* ---------- layout: the filter rail and the results ---------- */
@media (min-width: 64rem) {
  .br-layout { display: grid; grid-template-columns: 15rem minmax(0, 1fr); column-gap: 3rem; align-items: start; }
  .br-az { grid-column: 1 / -1; }
}
.br-layout.is-az > .br-rail, .br-layout.is-az > .br-main { display: none; }
.br-rail-title { font-size: 1.125rem; line-height: 2.75rem; font-weight: 500; color: var(--br-ink); border-bottom: 1px solid var(--br-line); margin-bottom: 0; }

/* filter groups: tracked uppercase label, a plus, thin dividers */
.br-fg { border-bottom: 1px solid var(--br-line); }
.br-fg-h { margin: 0; }
.br-fg-btn { display: flex; align-items: center; gap: 0.625rem; width: 100%; height: 3.5rem; padding: 0; text-align: left; color: var(--br-ink); cursor: pointer; }
.br-fg-btn:focus-visible { outline: 1.5px solid #000; outline-offset: 2px; border-radius: 0.375rem; }
.br-fg-label { flex: auto; font-size: 0.8125rem; line-height: 1rem; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; }
.br-fg-n { display: inline-flex; align-items: center; justify-content: center; min-width: 1.375rem; height: 1.375rem; padding: 0 0.375rem; border-radius: 9999px; background: #000; color: #fff; font-size: 0.75rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.br-fg-n[hidden] { display: none; }
.br-plus { position: relative; flex: none; width: 1rem; height: 1rem; }
.br-plus::before, .br-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 0.875rem; height: 1.5px; border-radius: 1px; background: currentColor; transform: translate(-50%, -50%); transition: transform 0.25s var(--br-ease); }
.br-plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.br-fg-btn[aria-expanded="true"] .br-plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.br-fg-panel { padding-bottom: 1.25rem; }
.br-fg-panel[hidden] { display: none; }

/* options: a checkbox, the label and a live count */
.br-opts, .br-sub { display: grid; gap: 0.125rem; }
.br-fg:not(.is-all) .br-o[data-extra]:not(.is-on) { display: none; }
.br-opt { position: relative; display: flex; align-items: center; gap: 0.75rem; min-height: 2.625rem; margin: 0 -0.5rem; padding: 0.25rem 0.5rem; border-radius: 0.625rem; font-size: 1rem; line-height: 1.375rem; color: var(--br-ink); cursor: pointer; transition: background-color 0.15s, opacity 0.15s; }
.br-opt:hover { background: rgb(245 243 241); }
.br-opt input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.br-box { flex: none; display: flex; align-items: center; justify-content: center; width: 1.25rem; height: 1.25rem; border-radius: 0.375rem; background: #fff; box-shadow: inset 0 0 0 1.5px rgb(0 0 0 / 0.3); transition: background-color 0.15s, box-shadow 0.15s; }
.br-opt input:checked + .br-box { background: #000; box-shadow: none; }
.br-opt input:checked + .br-box::after { content: ""; width: 0.6875rem; height: 0.375rem; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: translateY(-1px) rotate(-45deg); }
.br-opt input:focus-visible + .br-box { outline: 1.5px solid #000; outline-offset: 2px; }
.br-opt-l { flex: auto; min-width: 0; }
.br-opt-n { flex: none; font-size: 0.9375rem; color: var(--br-quiet); font-variant-numeric: tabular-nums; }
.br-o.is-zero > .br-opt { opacity: 0.38; cursor: default; }
.br-o.is-zero > .br-opt:hover { background: none; }
.br-sub { margin: 0.125rem 0 0.375rem 0.625rem; padding-left: 0.875rem; border-left: 1px solid var(--br-line); }
.br-sub[hidden] { display: none; }
.br-sub .br-opt { min-height: 2.375rem; font-size: 0.9375rem; }
.br-more { margin-top: 0.625rem; padding: 0.25rem 0; font-size: 0.9375rem; color: var(--br-ink); text-decoration: underline; text-decoration-color: rgb(0 0 0 / 0.25); text-underline-offset: 0.2em; transition: text-decoration-color 0.15s; }
.br-more:hover { text-decoration-color: currentColor; }

/* carat and price: a histogram of the stones, a two-thumb slider, min and max */
.br-hist { display: flex; align-items: flex-end; gap: 2px; height: 3rem; padding: 0 0.625rem; }
.br-hist span { flex: 1; height: calc(var(--h, 0) * 100%); min-height: 2px; border-radius: 2px 2px 0 0; background: rgb(0 0 0 / 0.1); transition: height 0.3s var(--br-ease), background-color 0.15s; }
.br-hist span.on { background: rgb(0 0 0 / 0.78); }
.br-slider { position: relative; height: 1.75rem; --lo: 0; --hi: 1; }
.br-slider::before, .br-slider::after { content: ""; position: absolute; top: 50%; height: 3px; margin-top: -1.5px; border-radius: 2px; }
.br-slider::before { left: 0.625rem; right: 0.625rem; background: rgb(0 0 0 / 0.1); }
.br-slider::after { left: calc(0.625rem + (100% - 1.25rem) * var(--lo)); right: calc(0.625rem + (100% - 1.25rem) * (1 - var(--hi))); background: #000; }
.br-slider input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; background: none; pointer-events: none; -webkit-appearance: none; appearance: none; }
.br-slider input:focus { outline: none; }
.br-slider input::-webkit-slider-runnable-track { height: 100%; background: none; }
.br-slider input::-moz-range-track { background: none; }
.br-slider input::-webkit-slider-thumb { width: 1.25rem; height: 1.25rem; margin-top: 0.25rem; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1.5px #000, 0 2px 5px rgb(0 0 0 / 0.18); cursor: grab; pointer-events: auto; -webkit-appearance: none; appearance: none; }
.br-slider input::-moz-range-thumb { width: 1.25rem; height: 1.25rem; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1.5px #000, 0 2px 5px rgb(0 0 0 / 0.18); cursor: grab; pointer-events: auto; }
.br-slider input:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 1.5px #000, 0 0 0 5px rgb(0 0 0 / 0.12); }
.br-range-in { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-top: 0.625rem; }
.br-range-in label { display: grid; gap: 0.375rem; font-size: 0.875rem; color: var(--br-quiet); }
.br-num { display: flex; align-items: center; gap: 0.25rem; height: 2.75rem; padding: 0 0.75rem; border-radius: 0.75rem; background: #fff; box-shadow: 0 0 0 1px rgb(0 0 0 / 0.14); color: var(--br-ink); font-size: 1rem; transition: box-shadow 0.15s; }
.br-num:focus-within { box-shadow: 0 0 0 1.5px #000; }
.br-num input { flex: auto; min-width: 0; width: 100%; padding: 0; border: 0; outline: 0; background: none; color: inherit; font: inherit; }
.br-num i { font-style: normal; color: var(--br-quiet); }

/* desktop: the rail sticks under the contextual bar */
@media (min-width: 64rem) {
  .br-rail { position: sticky; top: var(--br-top, 1.5rem); max-height: calc(100vh - var(--br-top, 1.5rem) - 1rem); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; margin-right: -0.5rem; padding-right: 0.5rem; padding-bottom: 1rem; transition: top 0.3s var(--br-ease); }
  .br-sheet-head, .br-sheet-foot, .br-filters-btn { display: none !important; }
}

/* phones and tablets: one Filters button opens the rail as a sheet */
.br-scrim { position: fixed; inset: 0; z-index: 100030; background: rgb(28 25 23 / 0.28); opacity: 0; transition: opacity 0.3s; }
.br-scrim.is-open { opacity: 1; }
.br-scrim[hidden] { display: none; }
@media (max-width: 63.99rem) {
  .br-rail { position: fixed; left: 0; right: 0; bottom: 0; z-index: 100035; display: flex; flex-direction: column; max-height: 88vh; max-height: 88dvh; border-radius: 1.25rem 1.25rem 0 0; background: #fff; box-shadow: 0 -12px 40px rgb(0 0 0 / 0.16); transform: translateY(105%); visibility: hidden; transition: transform 0.38s var(--br-ease), visibility 0s 0.38s; }
  .br-rail.is-open { transform: none; visibility: visible; transition: transform 0.38s var(--br-ease); }
  .br-sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.875rem 0.75rem 0.875rem 1.25rem; border-bottom: 1px solid var(--br-line); }
  .br-rail-body { flex: auto; overflow-y: auto; overscroll-behavior: contain; padding: 0 1.25rem 1rem; }
  .br-rail-title { display: none; }
  .br-sheet-foot { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 0.875rem 1.25rem calc(0.875rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--br-line); background: #fff; }
  .br-sheet-go { flex: 1; max-width: 16rem; }
}
.br-x { display: flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; padding: 0.625rem; border-radius: 9999px; color: #000; transition: background-color 0.15s; }
.br-x:hover { background: rgb(245 243 241); }
.br-x svg { width: 100%; height: 100%; }

/* ---------- results: count, sort, chips ---------- */
.br-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem 1rem; min-height: 2.75rem; margin-bottom: 1.75rem; }
.br-count { font-size: 1.125rem; line-height: 1.5rem; font-weight: 500; color: var(--br-ink); font-variant-numeric: tabular-nums; }
.br-tools { display: flex; align-items: center; gap: 0.5rem; }
.br-sort select { height: 2.75rem; font-size: 1rem; }
.br-filters-btn svg { width: 1.25rem; height: 1.25rem; margin-left: -0.125rem; }
.br-filters-n { display: inline-flex; align-items: center; justify-content: center; min-width: 1.375rem; height: 1.375rem; padding: 0 0.375rem; border-radius: 9999px; background: #000; color: #fff; font-size: 0.75rem; font-weight: 600; }
.br-filters-n[hidden] { display: none; }
.br-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin: -0.5rem 0 2rem; }
.br-chips[hidden] { display: none; }
.br-chip { display: inline-flex; align-items: center; gap: 0.25rem; height: 2.375rem; padding: 0 0.5rem 0 1rem; border-radius: 9999px; background: rgb(245 243 241); box-shadow: inset 0 0 0 0.5px rgb(0 0 0 / 0.075); color: #000; font-size: 0.9375rem; line-height: 1.25rem; transition: background-color 0.15s; }
.br-chip:hover { background: rgb(235 232 228); }
.br-chip:focus-visible, .br-textbtn:focus-visible, .br-more:focus-visible { outline: 1.5px solid #000; outline-offset: 2px; }
.br-chip svg { width: 1.25rem; height: 1.25rem; color: rgb(89 84 79); }
.br-textbtn { height: 2.375rem; padding: 0 0.625rem; border-radius: 9999px; font-size: 0.9375rem; color: #000; text-decoration: underline; text-decoration-color: rgb(0 0 0 / 0.25); text-underline-offset: 0.2em; transition: text-decoration-color 0.15s; }
.br-textbtn:hover { text-decoration-color: currentColor; }
@media (max-width: 639px) {
  .br-toolbar { flex-wrap: wrap; margin-bottom: 1.25rem; }
  .br-body .br-count { flex-basis: 100%; order: 2; font-size: 1rem; }
  .br-body .br-tools { width: 100%; }
  .br-body .br-tools > * { flex: 1; }
  .br-body .br-sort select { width: 100%; }
  .br-chips { margin: 0 0 1.5rem; }
}

/* gems that match the search, above the stones */
.br-gemhits { margin: -0.25rem 0 2.25rem; }
.br-gemhits[hidden] { display: none; }
.br-gemhits-label { margin-bottom: 0.875rem; font-size: 0.8125rem; line-height: 1rem; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; color: var(--br-ink); }
.br-gemhits-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }

/* a gem chip: orb, name, stone count */
.br-gchip { display: inline-flex; align-items: center; gap: 0.75rem; min-width: 0; padding: 0.375rem 1.25rem 0.375rem 0.375rem; border-radius: 9999px; background: #fff; box-shadow: 0 0 0 1px rgb(0 0 0 / 0.1), 0 1px 2px rgb(0 0 0 / 0.04); color: #000; transition: box-shadow 0.2s; }
.br-gchip:hover { box-shadow: 0 0 0 1px rgb(0 0 0 / 0.3), 0 6px 14px -8px rgb(0 0 0 / 0.2); }
.br-gchip:focus-visible { outline: 1.5px solid #000; outline-offset: 2px; }
.br-gchip[hidden] { display: none; }
.br-gchip .br-orb { width: 2.75rem; height: 2.75rem; }
.br-gchip-text { display: grid; gap: 0.0625rem; min-width: 0; }
.br-gchip-name { font-size: 1rem; line-height: 1.25rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.br-gchip-n { font-size: 0.875rem; line-height: 1.125rem; color: var(--br-quiet); }

/* ---------- cards: photo, name, carat and origin, price ---------- */
.br-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.25rem 0.75rem; }
@media (min-width: 48rem) { .br-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem 1.25rem; } }
@media (min-width: 80rem) { .br-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.br-item[hidden] { display: none; }
.br-card { display: flex; flex-direction: column; color: #000; border-radius: 1.25rem; }
.br-card:focus-visible { outline: none; }
.br-card:focus-visible .br-photo { outline: 2px solid #000; outline-offset: 3px; }
.br-photo { position: relative; display: block; aspect-ratio: 1; overflow: hidden; border-radius: 1.25rem; background: #fff; }
.br-photo::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.075); pointer-events: none; transition: box-shadow 0.2s; }
.br-card:hover .br-photo::after { box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.16); }
.br-card:hover .kit-card-img { transform: translate(var(--x, 0%), var(--y, 0%)) scale(calc(var(--z, 1) * 1.05)); }
.br-name { margin-top: 1rem; padding: 0 0.25rem; font-family: var(--font-waldenburg); font-weight: 425; font-size: 1.1875rem; line-height: 1.5rem; color: #000; text-wrap: pretty; }
.br-meta { display: block; margin-top: 0.3125rem; padding: 0 0.25rem; font-size: 0.9375rem; line-height: 1.375rem; color: var(--br-quiet); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.br-dot { display: inline-block; width: 3px; height: 3px; margin: 0 0.5rem; border-radius: 50%; background: currentColor; vertical-align: middle; opacity: 0.7; }
.br-price { margin-top: 0.5rem; padding: 0 0.25rem; font-size: 1.0625rem; line-height: 1.5rem; font-weight: 500; color: #000; font-variant-numeric: tabular-nums; }
.br-sold .kit-card-img { opacity: 0.5; filter: grayscale(0.35); }
.br-sold .br-price { color: var(--br-quiet); }
@media (max-width: 639px) {
  .br-name { margin-top: 0.75rem; padding: 0 0.125rem; font-size: 1.0625rem; line-height: 1.375rem; }
  .br-meta { padding: 0 0.125rem; font-size: 0.875rem; }
  .br-price { padding: 0 0.125rem; margin-top: 0.375rem; font-size: 1rem; }
  .br-photo { border-radius: 1rem; }
}

.br-moreres { display: flex; flex-direction: column; align-items: center; gap: 0.875rem; margin-top: 3.5rem; }
.br-moreres[hidden] { display: none; }
.br-moreres-n { font-size: 0.9375rem; color: var(--br-quiet); font-variant-numeric: tabular-nums; }

/* ---------- empty state: field procurement ---------- */
.br-empty[hidden] { display: none; }
.br-empty-line { margin-bottom: 1.5rem; }
.br-procure { display: grid; gap: 2rem; align-items: center; padding: 2rem 1.5rem; border-radius: 1.75rem; background: var(--br-warm); box-shadow: inset 0 0 0 0.5px rgb(0 0 0 / 0.06); }
@media (min-width: 48rem) { .br-procure { grid-template-columns: auto minmax(0, 1fr); gap: 3rem; padding: 3rem; } }
.br-procure-orbs { display: flex; padding-left: 1.5rem; }
.br-procure-orbs .br-orb { width: 5.5rem; height: 5.5rem; margin-left: -1.5rem; box-shadow: 0 0 0 4px var(--br-warm); }
.br-procure-text p { margin-top: 1.25rem; max-width: 36rem; }
.br-procure-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin-top: 1.75rem; }

/* ---------- orbs: round photos of a gem ---------- */
.br-orb { position: relative; display: block; flex: none; overflow: hidden; border-radius: 9999px; background: #fff; isolation: isolate; }
.br-orb::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.08); pointer-events: none; }
.br-orb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.br-orb .br-orb-photo { --k: 0.9; transform: translate(calc(var(--x, 0%) * var(--k)), calc(var(--y, 0%) * var(--k))) scale(calc(var(--z, 1) * var(--k))); }
.br-orb .br-orb-pile { object-fit: contain; padding: 12%; }
/* small orbs: the stone fills more of the circle */
:is(.br-orb-sm, .br-orb-md) .br-orb-photo { --k: 1.2; }
:is(.br-orb-sm, .br-orb-md) img:not(.br-orb-photo):not(.br-orb-pile) { transform: scale(1.3); }
.br-orb-sm { width: 2.5rem; height: 2.5rem; }
.br-orb-md { width: 3.5rem; height: 3.5rem; }
.br-orb-hero { width: min(20rem, 72vw); height: auto; aspect-ratio: 1; }
.br-orb-swatch::before { content: ""; position: absolute; inset: 22%; border-radius: 50%; background: radial-gradient(circle at 35% 29%, rgb(255 255 255 / 0.9) 0 2.5%, rgb(255 255 255 / 0) 20%), radial-gradient(circle at 46% 40%, var(--c1), var(--c2) 85%); box-shadow: inset -0.5px -1px 2px rgb(0 0 0 / 0.18); }
.br-orb-hero.br-orb-swatch::before { box-shadow: inset -6px -10px 24px rgb(0 0 0 / 0.16), 0 22px 30px -18px rgb(0 0 0 / 0.35); }
.br-orb-md.br-orb-swatch::before { box-shadow: inset -1px -2px 5px rgb(0 0 0 / 0.16), 0 4px 6px -4px rgb(0 0 0 / 0.35); }

/* ---------- gem pages ---------- */
.br-gem-hero { align-items: center; }
@media (min-width: 64rem) { .br-gem-hero.kit-hero-orb { grid-template-columns: minmax(0, 1fr) 22rem; } .br-orb-hero { width: 22rem; } }
.br-gem-stock { margin-top: 1.75rem; font-size: 1.375rem; line-height: 1.875rem; color: #000; font-variant-numeric: tabular-nums; }
.br-gem-vars { margin-top: 0.875rem; max-width: 38rem; font-size: 1.0625rem; line-height: 1.625rem; color: rgb(89 84 79); text-wrap: pretty; }
.br-gem-vars span { margin-right: 0.375rem; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; color: #000; }
.br-emptysec .br-procure { margin-top: 0.5rem; }
.br-relsec .br-pad { border-top: 1px solid var(--br-line); }
.br-pt-sm.br-relsec .br-pad { border-top: 0; }
.br-rel-h { margin-bottom: 1.75rem; }
.br-rel { display: grid; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); gap: 0.625rem; }
.br-rel .br-gchip { display: flex; }
@media (max-width: 639px) {
  .br-rel { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem; }
  .br-rel .br-gchip { gap: 0.5rem; padding: 0.3125rem 0.75rem 0.3125rem 0.3125rem; border-radius: 1.5rem; }
  .br-rel .br-gchip .br-orb { width: 2.375rem; height: 2.375rem; }
  .br-rel .br-gchip-name { white-space: normal; font-size: 0.9375rem; line-height: 1.1875rem; }
}
.br-rel-all { display: flex; flex-wrap: wrap; gap: 0.75rem 1.75rem; margin-top: 2rem; }
.br-link { font-size: 1rem; color: #000; text-decoration: underline; text-decoration-color: rgb(0 0 0 / 0.25); text-underline-offset: 0.2em; transition: text-decoration-color 0.15s; }
.br-link:hover { text-decoration-color: currentColor; }
@media (max-width: 1023px) { .br-gem-hero .br-orb-hero { order: -1; width: min(15rem, 60vw); } }

/* ---------- Gems A to Z ---------- */
.br-az[hidden], .br-az-block[hidden], .br-az li[hidden] { display: none; }
.br-az-block { display: grid; padding: 1.75rem 0 1.25rem; border-top: 1px solid var(--br-line); }
@media (min-width: 64rem) { .br-az-block { grid-template-columns: 7rem minmax(0, 1fr); } }
.br-az-letter { padding-top: 0.75rem; margin-bottom: 0.5rem; font-family: var(--font-waldenburg); font-weight: 425; font-size: 2.5rem; line-height: 1; color: #000; }
.br-az-list { display: grid; grid-template-columns: minmax(0, 1fr); column-gap: 2.5rem; }
@media (min-width: 48rem) { .br-az-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.br-az-row { display: flex; align-items: center; gap: 1rem; margin: 0 -0.75rem; padding: 0.75rem; border-radius: 1.125rem; color: #000; transition: background-color 0.15s; }
.br-az-row:hover { background: rgb(247 246 244); }
.br-az-row:focus-visible { outline: 1.5px solid #000; outline-offset: 0; }
.br-az-main { flex: auto; display: grid; gap: 0.125rem; min-width: 0; }
.br-az-name { font-family: var(--font-waldenburg); font-weight: 425; font-size: 1.25rem; line-height: 1.5rem; }
.br-az-group, .br-az-vars, .br-az-price { font-size: 0.875rem; line-height: 1.25rem; color: var(--br-quiet); }
.br-az-vars { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.br-az-side { flex: none; display: grid; gap: 0.125rem; text-align: right; }
.br-az-count { font-size: 1rem; line-height: 1.375rem; color: #000; font-variant-numeric: tabular-nums; }
.br-az .br-empty { padding-top: 1rem; }

/* ---------- New stones ---------- */
.br-month-h { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1rem; margin-bottom: 2rem; padding-top: 2rem; border-top: 1px solid var(--br-line); }
@media (max-width: 639px) {
  .br-az-block { padding: 1.25rem 0 0.75rem; }
  .br-az-letter { font-size: 2rem; margin-bottom: 0.25rem; }
  .br-az-row { gap: 0.75rem; padding: 0.5rem 0.75rem; }
  .br-az-row .br-orb { width: 2.75rem; height: 2.75rem; }
  .br-az-name { font-size: 1.0625rem; line-height: 1.375rem; }
  .br-az-group, .br-az-vars, .br-az-price { font-size: 0.8125rem; line-height: 1.125rem; }
  .br-az-vars { -webkit-line-clamp: 1; }
  .br-az-count { font-size: 0.9375rem; }
}
