/* 925hi v3 — page layouts. Evidence per block in ../REDESIGN.md */

/* ================= HOME ================= */
/* Account band under the nav (Stuller "Log In / Apply for an Account") */
.acct-band { background: var(--surface-alt); border-bottom: 1px solid var(--border); }
.acct-band .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding-block: 10px; }
.acct-band p { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--text-secondary); }
.acct-band p b { color: var(--text); font-weight: 600; }
.acct-band p svg.i { width: 18px; height: 18px; color: var(--accent); }
.acct-band-btns { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.acct-band-btns .text-btn { min-height: 36px; margin-left: 8px; font-size: 13.5px; }
@media (max-width: 899px) { .acct-band p { display: none; } .acct-band-btns { width: 100%; } .acct-band-btns .btn { flex: 1; } .acct-band-btns .text-btn { display: none; } }

/* Hero carousel. Evidence: 925e (product spread + "New wholesale jewelry, October 2026"), JR Fashion (bench close-up),
   Stuller / Rio Grande / 925e / JR (rotating hero), 925e + Made-in-China (main banner + side tiles). Prices on the spread are the B2B hook. */
.hero { padding-top: 16px; }
.hx { display: grid; gap: 12px; }
.hx-main { position: relative; border-radius: var(--r-md); overflow: hidden; background: #F3F2EE; }
.hx-track { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.hx-track::-webkit-scrollbar { display: none; }
.slide { position: relative; scroll-snap-align: start; display: grid; min-height: 100%; isolation: isolate; }
.s-copy { position: relative; z-index: 1; display: grid; align-content: center; justify-items: start; gap: 12px; padding: 24px 20px 72px; }
.s-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--accent); }
.s-tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.slide .h1 { font-size: clamp(26px, 2.5vw, 38px); max-width: 17ch; }
.s-hook { font: 600 clamp(18px, 1.6vw, 22px)/1.3 var(--font-display); color: var(--text); letter-spacing: -.01em; }
.s-hook b { font-weight: 700; color: var(--accent); white-space: nowrap; }
.s-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.btn-light { background: #fff; color: var(--text); }
.btn-light:hover { background: var(--surface-alt); }

/* product spread: packshots share the slide background, so they read as one merchandised plate */
.spread { display: grid; grid-template-columns: 1.25fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 4px; padding: 0 12px 12px; min-height: 260px; }
.spread li { position: relative; min-width: 0; }
.spread .sp-1 { grid-row: 1 / 3; }
.spread a { display: block; height: 100%; border-radius: var(--r-sm); overflow: hidden; padding-bottom: 30px; }
.spread img { width: 100%; height: 100%; object-fit: contain; transition: transform .4s var(--ease); }
.spread a:hover img { transform: scale(1.05); }
.pt { position: absolute; left: 50%; bottom: 6px; transform: translateX(-50%); white-space: nowrap; display: inline-flex; align-items: baseline; gap: 1px; padding: 4px 8px; border-radius: 3px; background: #fff; box-shadow: 0 1px 2px rgba(var(--ink-rgb), .12); font: 700 13.5px/1.1 var(--font-body); color: var(--text); font-variant-numeric: tabular-nums; }
.pt small { font-size: 11.5px; font-weight: 500; color: var(--text-tertiary); }
.spread-2 { grid-template-columns: 1.4fr 1fr; }
.spread-2 .sp-2 { grid-column: 2; grid-row: 1; }
.spread-2 .sp-3 { grid-column: 2; grid-row: 2; }

/* bench slide: dark close-up of setting work */
.s-bench { background: #0B1212; color: var(--text-on-ink-secondary); }
.s-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.s-bench::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(90deg, rgba(5, 12, 12, .88) 0%, rgba(5, 12, 12, .55) 45%, rgba(5, 12, 12, 0) 75%); }
.s-bench .h1 { color: #fff; }
.s-bench .s-tag { color: var(--accent-on-ink); }
.s-steps { display: flex; gap: 0; margin-top: 4px; }
.s-steps li { display: grid; padding: 0 18px; border-left: 1px solid rgba(255, 255, 255, .2); font-size: 12.5px; color: var(--text-on-ink-secondary); }
.s-steps li:first-child { padding-left: 0; border-left: 0; }
.s-steps b { font: 700 20px/1.2 var(--font-display); color: #fff; letter-spacing: -.01em; }
.s-note { font-size: 14px; }

/* controls */
.hx-ctrl { position: absolute; z-index: 3; left: 16px; bottom: 16px; display: flex; align-items: center; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .92); box-shadow: 0 1px 3px rgba(var(--ink-rgb), .15); }
.hx-arrow { width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: var(--text); display: grid; place-items: center; }
.hx-arrow:hover { background: var(--surface-alt); }
.hx-arrow svg.i { width: 18px; height: 18px; }
.hx-arrow[data-prev] svg.i { transform: rotate(180deg); }
.hx-dots { display: flex; gap: 2px; }
.hx-dots button { width: 28px; height: 36px; border: 0; background: none; display: grid; place-items: center; padding: 0; }
.hx-dots button::before { content: ""; width: 8px; height: 8px; border-radius: 4px; background: var(--border-hover); transition: width .2s var(--ease), background-color .2s; }
.hx-dots button[aria-selected="true"]::before { width: 22px; background: var(--text); }

/* side tiles (925e "Autumn styles" tile, Made-in-China side cards) */
.hx-side { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.hx-tile { position: relative; display: grid; align-items: end; min-height: 150px; border-radius: var(--r-md); overflow: hidden; background: #F3F2EE; text-decoration: none; isolation: isolate; }
.hx-tile > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: transform .4s var(--ease); }
.hx-tile:hover > img { transform: scale(1.04); }
.hx-tile > .cap { display: grid; gap: 2px; padding: 12px 14px; font-size: 12.5px; line-height: 1.4; color: var(--text-secondary); background: linear-gradient(0deg, rgba(243, 242, 238, .96) 55%, rgba(243, 242, 238, 0)); }
.hx-tile > .cap b { font: 700 16px/1.25 var(--font-display); color: var(--text); }
.hx-tile.is-dark > .cap { color: rgba(255, 255, 255, .8); background: linear-gradient(0deg, rgba(10, 12, 14, .88) 50%, rgba(10, 12, 14, 0)); }
.hx-tile.is-dark > .cap b { color: #fff; }

@media (min-width: 900px) {
  .hero { padding-top: 20px; }
  .hx { grid-template-columns: minmax(0, 1fr) 300px; }
  .hx-main { min-height: 460px; } /* grows with longer translated copy; the controls sit in the copy's bottom padding */
  .slide { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); min-height: 460px; }
  .s-copy { padding: 40px 24px 84px 44px; }
  .spread { padding: 16px 16px 16px 0; min-height: 0; gap: 6px; }
  .s-bench { grid-template-columns: minmax(0, 1fr); }
  .s-bench .s-copy { max-width: 560px; }
  .hx-ctrl { left: 40px; bottom: 28px; }
  .hx-side { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) minmax(0, 1fr); height: 460px; }
  .hx-tile { min-height: 0; }
  .hx-tile > .cap { padding: 16px 18px; font-size: 13px; }
}
@media (max-width: 899px) {
  .slide { align-content: start; }
  .s-copy { padding: 22px 18px 6px; }
  .s-bench { min-height: 440px; }
  .s-bench .s-copy { padding-bottom: 72px; align-content: end; }
  .s-bench::after { background: linear-gradient(180deg, rgba(5, 12, 12, .2) 0%, rgba(5, 12, 12, .9) 55%); }
  .spread { min-height: 230px; padding-bottom: 64px; }
  .hx-ctrl { left: 50%; transform: translateX(-50%); bottom: 12px; }
  .s-steps li { padding: 0 12px; }
  .s-steps b { font-size: 17px; }
}

/* Terms strip */
.terms { padding-top: 16px; }
.terms-list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface-alt); }
.terms-list li { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-left: 1px solid var(--border); min-width: 0; }
.terms-list li:first-child { border-left: 0; }
.terms-list b { font: 700 22px/1 var(--font-display); color: var(--text); letter-spacing: -.02em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.terms-list span { display: grid; font-size: 12.5px; line-height: 1.35; color: var(--text-secondary); min-width: 0; }
.terms-list strong { color: var(--text); font-weight: 600; font-size: 13px; }
@media (max-width: 1099px) { .terms-list li { flex-direction: column; align-items: flex-start; gap: 6px; padding: 12px 14px; } }
@media (max-width: 899px) {
  .terms-list { display: flex; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); border-radius: 0; border-inline: 0; }
  .terms-list::-webkit-scrollbar { display: none; }
  .terms-list li { flex: 0 0 auto; min-width: 150px; }
  .terms-list li:first-child { padding-left: var(--gutter); }
}

/* Category grid: bordered cells (Grainger, McMaster-Carr) */
.gcat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--border); border-left: 1px solid var(--border); }
.gcat-grid li { border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.gcat { display: grid; justify-items: center; gap: 2px; padding: 12px 8px 14px; text-decoration: none; color: var(--text); text-align: center; height: 100%; transition: background-color .15s; }
.gcat-img { width: 100%; max-width: 132px; aspect-ratio: 1; border-radius: var(--r-sm); overflow: hidden; background: var(--tile); margin-bottom: 8px; }
.gcat-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s var(--ease); }
.gcat-name { font-size: 13.5px; font-weight: 600; line-height: 1.3; }
.gcat-n { font-size: 12px; color: var(--text-tertiary); font-variant-numeric: tabular-nums; }
.gcat:hover { background: var(--surface-alt); }
.gcat:hover .gcat-name { color: var(--accent); }
@media (hover: hover) { .gcat:hover .gcat-img img { transform: scale(1.04); } }
@media (min-width: 640px) { .gcat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .gcat-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } .gcat { padding: 18px 12px; } }

/* Wide promo banners (Stuller "Prep your bench", Rio Grande feature panels) */
.promo-pair { display: grid; gap: 12px; }
@media (min-width: 900px) { .promo-pair { grid-template-columns: 1fr 1fr; gap: 16px; } }
.promo-ban { position: relative; display: grid; min-height: 260px; border-radius: var(--r-md); overflow: hidden; text-decoration: none; isolation: isolate; background: var(--surface-ink); }
.promo-ban img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .5s var(--ease); }
.promo-ban::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(var(--ink-rgb), .92) 0%, rgba(var(--ink-rgb), .55) 55%, rgba(var(--ink-rgb), .05) 100%); }
.promo-copy { align-self: end; display: grid; gap: 8px; justify-items: start; padding: 22px; color: var(--text-on-ink-secondary); font-size: 14px; max-width: 520px; }
.promo-copy .h2 { color: #fff; }
.promo-copy .btn-outline { margin-top: 6px; background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.promo-ban:hover .btn-outline { background: #fff; color: var(--text); }
@media (hover: hover) { .promo-ban:hover img { transform: scale(1.03); } }
@media (min-width: 900px) { .promo-ban { min-height: 340px; } .promo-copy { padding: 30px; } }

.more-link { margin-top: 24px; text-align: center; }

/* Moissanite band */
.shapes { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1) 20px; padding-inline: var(--gutter); }
.shapes::-webkit-scrollbar { display: none; }
.shape { display: flex; align-items: center; gap: 10px; flex: none; min-height: 52px; padding: 6px 16px 6px 10px; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface); text-decoration: none; color: var(--text); font-size: 14px; font-weight: 600; transition: border-color .15s; }
.shape span { display: grid; line-height: 1.2; }
.shape small { font-size: 12px; font-weight: 400; color: var(--text-tertiary); }
.shape-ic { width: 26px !important; height: 26px !important; stroke-width: 1.2 !important; color: var(--text-secondary); }
.shape:hover { border-color: var(--text); }
@media (min-width: 1100px) { .shapes { margin-inline: 0; padding-inline: 0; } .shapes li { flex: 1; } .shape { width: 100%; } }

/* Factory block */
.fac { display: grid; gap: 24px; }
.fac-img { border-radius: var(--r-md); overflow: hidden; background: var(--tile); }
.fac-img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.fac-body { display: grid; gap: 16px; align-content: center; justify-items: start; }
.fact-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--border); margin-top: 14px; width: 100%; }
.fact-list li { display: grid; gap: 4px; align-content: start; padding: 14px 12px 14px 0; border-bottom: 1px solid var(--border-soft); }
.fact-list b { font: 700 26px/1 var(--font-display); color: var(--text); letter-spacing: -.02em; }
.fact-list span { display: grid; font-size: 12.5px; color: var(--text-tertiary); line-height: 1.4; }
.fact-list strong { color: var(--text); font-size: 13px; font-weight: 600; }
@media (min-width: 900px) { .fac { grid-template-columns: 1fr 1fr; gap: 48px; } .fact-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* FAQ + SEO */
.faq-wrap { display: grid; gap: 20px; }
.faq-aside { margin-top: 8px; }
@media (min-width: 900px) { .faq-wrap { grid-template-columns: 300px minmax(0, 1fr); gap: 48px; } }
/* SEO block: link panels + small copy (Grainger "Supplies and Solutions" + footer paragraph) */
.seo .h2 { margin-bottom: 16px; }
.seo-grid { display: grid; gap: 2px; border-radius: var(--r-md); overflow: hidden; }
@media (min-width: 900px) { .seo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.seo-panel { display: grid; align-content: start; gap: 8px; padding: 20px 22px 22px; background: var(--surface-alt); }
.seo-panel .h4 a { display: inline-flex; align-items: center; gap: 4px; text-decoration: none; color: var(--text); font-size: 16px; }
.seo-panel .h4 a:hover { color: var(--accent); }
.seo-panel .h4 svg.i { width: 16px; height: 16px; color: var(--accent); }
.seo-panel p { font-size: 13.5px; color: var(--text-secondary); }
.seo-panel ul { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 4px; }
.seo-panel ul a { font-size: 14px; color: var(--accent); text-decoration: none; line-height: 1.6; }
.seo-panel ul a:hover { text-decoration: underline; text-underline-offset: 3px; }
.seo-copy { margin-top: 18px; font-size: 12.5px; line-height: 1.6; color: var(--text-tertiary); max-width: none; }

/* ================= CATEGORY ================= */
.cat-head { display: grid; gap: 16px; padding-bottom: 18px; }
.cat-title { display: grid; gap: 8px; }
.cat-count { font-size: 14px; color: var(--text-secondary); font-variant-numeric: tabular-nums; }
.cat-count b { color: var(--text); }
.cat-intro { max-width: 78ch; font-size: 14.5px; }
.cat-intro .more-text { display: none; margin-top: 8px; }
.cat-intro.is-open .more-text { display: block; }
.cat-intro .more-text a { color: var(--accent); text-underline-offset: 3px; }
.cat-intro .text-btn { min-height: 32px; }
.cat-actions { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
.cat-actions::-webkit-scrollbar { display: none; }
.cat-actions .btn { flex: none; font-weight: 500; }
.cat-actions .muted { font-weight: 400; font-size: 12px; }
@media (min-width: 900px) { .cat-head { grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 32px; } .cat-actions { margin: 0; padding: 0; padding-top: 6px; } }

.subcats { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 20px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
.subcats::-webkit-scrollbar { display: none; }
.subcats li { flex: none; }
@media (min-width: 1024px) { .subcats { flex-wrap: wrap; margin-inline: 0; padding-inline: 0; } }
.subcat { display: flex; align-items: center; gap: 10px; flex: none; padding: 4px 14px 4px 4px; min-height: 52px; border: 1px solid var(--border); border-radius: var(--r-md); text-decoration: none; color: var(--text); font-size: 13.5px; font-weight: 500; transition: border-color .15s, background-color .15s; }
.subcat img { width: 42px; height: 42px; border-radius: var(--r-sm); background: var(--tile); mix-blend-mode: multiply; object-fit: cover; }
.subcat span { display: grid; line-height: 1.25; }
.subcat small { font-size: 12px; font-weight: 400; color: var(--text-tertiary); font-variant-numeric: tabular-nums; }
.subcat:hover { border-color: var(--text); }
.subcat.is-active { border-color: var(--text); box-shadow: inset 0 0 0 1px var(--text); }

.cat-layout { display: grid; gap: 0; padding-bottom: 56px; }
@media (min-width: 1024px) { .cat-layout { grid-template-columns: 248px minmax(0, 1fr); gap: 32px; } }

/* Filters: sheet on mobile, sidebar on desktop */
.filters { position: fixed; z-index: 100; inset: auto 0 0 0; max-height: 88vh; background: var(--surface); border-radius: var(--r-lg) var(--r-lg) 0 0; display: flex; flex-direction: column; transform: translateY(100%); visibility: hidden; transition: transform .24s var(--ease), visibility 0s .24s; }
.filters.is-open { transform: none; visibility: visible; transition: transform .24s var(--ease); }
.filters-head { display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 20px; border-bottom: 1px solid var(--border); }
.filters-head h2 { margin-right: auto; }
.filters-body { overflow-y: auto; padding: 0 20px 12px; overscroll-behavior: contain; }
.filters-foot { padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--border); }
@media (min-width: 1024px) {
  .filters { position: static; inset: auto; max-height: none; transform: none; visibility: visible; border-radius: 0; z-index: 1; align-self: start; transition: none; }
  .filters-head { padding: 0 0 8px; border-bottom: 1px solid var(--border); }
  .filters-body { padding: 0; overflow: visible; }
  .filters-close, .filters-foot { display: none; }
}
.facet { border-bottom: 1px solid var(--border-soft); }
.facet summary { display: flex; justify-content: space-between; align-items: center; min-height: 48px; cursor: pointer; list-style: none; font-weight: 600; font-size: 14px; color: var(--text); }
.facet summary::-webkit-details-marker { display: none; }
.facet summary::after { content: ""; width: 8px; height: 8px; border-right: 1.5px solid var(--text-secondary); border-bottom: 1.5px solid var(--text-secondary); transform: rotate(45deg) translate(-2px, -2px); transition: transform .2s; }
.facet[open] summary::after { transform: rotate(225deg); }
.facet summary:hover { color: var(--accent); }
.facet ul { padding-bottom: 12px; }
.facet .check { min-height: 34px; font-size: 13.5px; }
@media (max-width: 1023px) { .facet .check { min-height: 44px; } }
.sizes { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; padding-bottom: 14px; }
.size-chip { min-height: 40px; border: 1px solid var(--border); border-radius: var(--r-sm); background: var(--surface); font: 500 13px/1 var(--font-mono); color: var(--text); transition: border-color .12s, background-color .12s; }
.size-chip.wide { grid-column: span 3; font-family: var(--font-body); }
.size-chip:hover { border-color: var(--text); }
.size-chip[aria-pressed="true"] { background: var(--surface-ink); border-color: var(--surface-ink); color: var(--text-on-ink); }
@media (max-width: 1023px) { .size-chip { min-height: 44px; } }
.price-range { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; padding-bottom: 8px; }
.price-range .input { min-height: 40px; font-size: 14px; }

.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding-bottom: 14px; margin-bottom: 18px; border-bottom: 1px solid var(--border); position: sticky; top: var(--header-h); z-index: 20; background: var(--surface); padding-top: 10px; }
.result-count { font-size: 13.5px; color: var(--text-secondary); font-variant-numeric: tabular-nums; order: 5; flex-basis: 100%; }
.filters-open { font-weight: 500; }
.fcount { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--accent); color: #fff; font-size: 12px; display: inline-grid; place-items: center; }
.in-search { position: relative; flex: 1; min-width: 0; }
.in-search svg.i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--text-tertiary); width: 18px; height: 18px; }
.in-search .input { padding-left: 38px; font-size: 14px; }
.sort { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-tertiary); }
.sort span { display: none; }
.sort .select { font-size: 14px; min-width: 0; width: auto; }
.density { display: none; }
.density .icon-btn[aria-pressed="true"] { background: var(--surface-alt); color: var(--text); }
.density .icon-btn { color: var(--text-tertiary); }
@media (max-width: 639px) { .in-search { order: 4; flex-basis: 100%; } .filters-open, .sort { flex: 1; } .sort .select { width: 100%; } .toolbar { top: 56px; } }
@media (min-width: 1024px) {
  .filters-open { display: none; }
  .result-count { order: 0; flex-basis: auto; margin-right: auto; }
  .in-search { flex: 0 1 300px; }
  .sort span { display: inline; }
  .density { display: flex; gap: 2px; }
}
.applied { display: flex; flex-wrap: wrap; gap: 6px; margin: -6px 0 18px; }
.applied .chip { background: var(--surface-alt); border-color: transparent; }
.applied .chip:hover { border-color: var(--text); }
.empty { padding: 40px 0; text-align: center; color: var(--text-secondary); }
.pager { display: grid; justify-items: center; gap: 14px; padding-top: 40px; }
.pager ol { display: flex; gap: 4px; align-items: center; }
.pager a, .pager span { display: grid; place-items: center; min-width: 44px; height: 44px; border-radius: var(--r-sm); text-decoration: none; color: var(--text); font-weight: 500; font-variant-numeric: tabular-nums; }
.pager a:hover { background: var(--surface-alt); }
.pager a[aria-current="page"] { background: var(--surface-ink); color: var(--text-on-ink); }
.pager .next svg.i { width: 18px; height: 18px; }
/* ---- CATEGORY ---- */
.page-category .cat-head { padding-bottom: 14px; }
.cat-intro { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 8px; }
.cat-intro .cat-lede { flex: 1 1 0; min-width: 0; }
.cat-intro .more-text { flex-basis: 100%; order: 3; }
@media (max-width: 899px) {
  .page-category .crumbs { padding-block: 0; }
  .page-category .cat-title { gap: 4px; }
  .page-category .h1 { font-size: 30px; }
  .cat-count { font-size: 13px; }
  .cat-intro { font-size: 13.5px; flex-wrap: nowrap; }
  .cat-intro .cat-lede { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .cat-intro.is-open { flex-wrap: wrap; }
  .cat-intro.is-open .cat-lede { white-space: normal; }
  .cat-intro .text-btn { flex: none; min-height: 32px; }
  .cat-actions { display: none; }
  .page-category .cat-head { gap: 0; padding-bottom: 10px; }
}
.subcats-wrap { position: relative; }
.subcats { flex-wrap: nowrap !important; overflow-x: auto; scroll-behavior: smooth; padding-bottom: 16px; }
.subcat { min-height: 46px; padding: 3px 12px 3px 3px; gap: 8px; font-size: 13px; border-radius: var(--r-md); background: var(--surface); }
.subcat img { width: 38px; height: 38px; mix-blend-mode: normal; }
.subcat.is-active { border-color: var(--surface-ink); box-shadow: inset 0 0 0 1px var(--surface-ink); }
.scroller-next { display: none; }
@media (min-width: 1024px) {
  .subcats { margin-inline: 0; padding-inline: 0; }
  .subcats-wrap.has-more::after { content: ""; position: absolute; right: 0; top: 0; bottom: 16px; width: 96px; background: linear-gradient(90deg, rgba(250, 250, 248, 0), var(--bg) 70%); pointer-events: none; }
  .subcats-wrap.has-more .scroller-next { display: grid; place-items: center; position: absolute; z-index: 2; right: 0; top: 4px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--border); background: var(--surface); color: var(--text); box-shadow: var(--shadow-pop); }
}
.toolbar { background: var(--bg); gap: 8px 10px; }
.result-count b { color: var(--text); }
.fs-search { display: flex; margin: 12px 0 4px; }
.fcount { background: var(--surface-ink); }
@media (max-width: 1023px) {
  .tb-search { display: none; }
  .result-count { display: none; }
  .toolbar { flex-wrap: nowrap; top: 56px; padding-block: 8px; margin-bottom: 14px; }
  .filters-open, .sort { flex: 1 1 0; min-width: 0; }
  .sort .select { width: 100%; }
}
@media (min-width: 1024px) {
  .fs-search { display: none; }
  .tb-search { flex: 0 1 280px; }
  .filters { position: sticky; top: calc(var(--header-h) + 12px); max-height: calc(100vh - var(--header-h) - 24px); overflow-y: auto; padding-right: 8px; }
}
/* Hairline scrollbar for in-panel scroll areas (Chromium ignores ::-webkit-scrollbar once scrollbar-width is set, so Firefox gets it via @supports) */
.filters::-webkit-scrollbar, .co-lines::-webkit-scrollbar { width: 4px; }
.filters::-webkit-scrollbar-track, .co-lines::-webkit-scrollbar-track { background: transparent; }
.filters::-webkit-scrollbar-thumb, .co-lines::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
.filters:hover::-webkit-scrollbar-thumb, .co-lines:hover::-webkit-scrollbar-thumb { background: var(--border-hover); }
@supports not selector(::-webkit-scrollbar) { .filters, .co-lines { scrollbar-width: thin; scrollbar-color: var(--border) transparent; } }
.help-card { margin-top: 18px; padding: 14px; border-radius: var(--r-md); background: var(--surface-alt); font-size: 13px; display: grid; gap: 10px; justify-items: start; }
.help-card b { color: var(--text); }
@media (max-width: 1023px) { .help-card { display: none; } }
.applied { align-items: center; margin: -4px 0 16px; }
.applied .chip { background: var(--surface); border-color: var(--border); min-height: 32px; padding: 0 10px 0 12px; }
.applied .chip .x { width: 14px; height: 14px; }
.applied .clear { min-height: 32px; font-size: 13px; }
.m-tools { display: none; }
@media (max-width: 899px) { .m-tools { display: flex; gap: 8px; overflow-x: auto; padding-top: 20px; scrollbar-width: none; } .m-tools .btn { flex: none; font-weight: 500; } }
.pager { padding-top: 32px; }
.cat-head, .cat-layout { grid-template-columns: minmax(0, 1fr); }
.cat-title, .results { min-width: 0; }
@media (min-width: 900px) { .cat-head { grid-template-columns: minmax(0, 1fr) auto; } }
@media (min-width: 1024px) { .cat-layout { grid-template-columns: 248px minmax(0, 1fr); } }
.cat-title { grid-template-columns: minmax(0, 1fr); }

/* ================= PRODUCT ================= */
.pdp { display: grid; gap: 24px; padding-bottom: 48px; }
@media (min-width: 1024px) { .pdp { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 48px; align-items: start; } }
.gallery { display: grid; gap: 10px; }
.stage { position: relative; aspect-ratio: 1; border-radius: var(--r-md); background: var(--tile); overflow: hidden; }
.stage img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.stage-count { position: absolute; right: 12px; bottom: 12px; padding: 4px 8px; border-radius: 4px; background: var(--surface); font-size: 12px; color: var(--text); }
.stage-badge { position: absolute; left: 12px; top: 12px; }
.thumbs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; order: 2; }
.thumb { flex: none; width: 64px; height: 64px; padding: 0; border: 1px solid var(--border); border-radius: var(--r-sm); background: var(--tile); overflow: hidden; transition: border-color .15s; }
.thumb img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.thumb:hover { border-color: var(--text-secondary); }
.thumb.is-active { border-color: var(--text); box-shadow: inset 0 0 0 1px var(--text); }
.scale-note { order: 3; display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-secondary); }
.scale-note svg.i { width: 18px; height: 18px; color: var(--text-tertiary); }
@media (min-width: 1024px) {
  .gallery { grid-template-columns: 76px minmax(0, 1fr); position: sticky; top: calc(var(--header-h) + 16px); }
  .thumbs { order: 0; flex-direction: column; grid-row: 1; }
  .thumb { width: 76px; height: 76px; }
  .scale-note { grid-column: 2; }
}
.buy { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.sku-line { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-secondary); flex-wrap: wrap; }
.sku-line .mono { font-size: 13px; color: var(--text); }
.copy { display: inline-flex; align-items: center; gap: 4px; min-height: 32px; padding: 0 8px; border: 1px solid var(--border); border-radius: 4px; background: var(--surface); font-size: 12px; color: var(--text-secondary); }
.copy svg.i { width: 14px; height: 14px; }
.copy:hover { border-color: var(--text); color: var(--text); }
.copy.is-done { color: var(--success); border-color: var(--success); }
.sku-line .badge { margin-left: auto; }
.pdp-title { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.15; max-width: 24ch; }
.material { font-size: 14px; color: var(--text-secondary); margin-top: -6px; }
.acct-note { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--text-secondary); margin-top: 6px; }
.acct-note svg.i { width: 16px; height: 16px; margin-top: 2px; flex: none; color: var(--text-tertiary); }
.avail { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; font-size: 13.5px; padding-block: 12px; border-block: 1px solid var(--border-soft); }
.avail .stock { font-size: 14px; }
.variant { display: grid; gap: 12px; }
.variant-head { display: grid; gap: 8px; }
.variant-head .field-label { font-size: 13px; font-weight: 600; color: var(--text); }
.plating-tabs .chip small { margin-left: 2px; }
.buy-actions { display: grid; gap: 8px; }
.buy-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.buy-2 .btn { padding: 0 10px; white-space: normal; text-align: center; line-height: 1.2; }
.fulfil { display: grid; gap: 10px; padding: 16px; background: var(--surface-alt); border-radius: var(--r-md); font-size: 13.5px; }
.fulfil li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; }
.fulfil svg.i { width: 18px; height: 18px; color: var(--text-secondary); margin-top: 1px; }
.fulfil b { color: var(--text); font-weight: 600; }
.tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.tool { display: grid; gap: 6px; padding: 12px; border: 1px solid var(--border); border-radius: var(--r-md); text-decoration: none; font-size: 12px; color: var(--text-tertiary); line-height: 1.35; transition: border-color .15s; }
.tool b { display: block; font-size: 13px; color: var(--text); font-weight: 600; }
.tool svg.i { width: 18px; height: 18px; color: var(--accent); }
.tool:hover { border-color: var(--text); }
.tool:hover b { color: var(--accent); }
@media (max-width: 420px) { .tools { grid-template-columns: 1fr; } .tool { grid-template-columns: 20px 1fr; align-items: start; } }

.pdp-more { display: grid; gap: 40px; padding-block: 24px 56px; border-top: 1px solid var(--border); }
.pdp-more .h2 { margin-bottom: 14px; }
@media (min-width: 1024px) { .pdp-more { grid-template-columns: 1.12fr 1fr; gap: 48px; padding-top: 48px; } }
.ask { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: 20px; padding: 16px; border: 1px solid var(--border); border-radius: var(--r-md); font-size: 14px; }
.ask b { color: var(--text); }
.ask > div { display: flex; gap: 8px; }
.ask .btn-sm { min-height: 40px; }

.sticky-buy { position: fixed; z-index: 70; left: 0; right: 0; bottom: 0; background: var(--surface); border-top: 1px solid var(--border); box-shadow: 0 -8px 24px -16px rgba(var(--ink-rgb), .3); transform: translateY(110%); transition: transform .22s var(--ease); padding-bottom: env(safe-area-inset-bottom); }
.sticky-buy.is-on { transform: none; }
.sticky-buy .container { display: flex; align-items: center; gap: 12px; min-height: 68px; }
.sticky-buy img { width: 48px; height: 48px; border-radius: var(--r-sm); background: var(--tile); mix-blend-mode: multiply; display: none; }
.sticky-buy p { display: grid; font-size: 12px; color: var(--text-tertiary); line-height: 1.3; margin-right: auto; font-variant-numeric: tabular-nums; }
.sticky-buy p b { font-size: 15px; color: var(--text); }
@media (min-width: 640px) { .sticky-buy img { display: block; } }
/* ---- PRODUCT ---- */
.stage { background: var(--tile); }
.stage img, .thumb img { mix-blend-mode: normal; }
.stage-badges { position: absolute; left: 12px; top: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.stage-badge { position: static; }
.badge-render { background: #FAF0DD; color: #8A5A10; box-shadow: none; }
.pdp-title { font-size: clamp(28px, 2.6vw, 38px); font-family: var(--font-display); font-weight: 500; line-height: 1.08; }
.sku-line .mono { font-weight: 600; letter-spacing: .04em; }
.tool svg.i { color: var(--text); }
.tool:hover b { color: var(--accent); }
.sticky-buy p .mono { font-size: 11.5px; letter-spacing: .03em; }

/* ================= CUSTOM ================= */
.crumbs.on-ink { color: var(--text-on-ink-secondary); padding-top: 0; }
.crumbs.on-ink a { color: var(--text-on-ink); }
.c-hero { position: relative; background: var(--surface-ink); color: var(--text-on-ink-secondary); overflow: hidden; isolation: isolate; }
.c-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .38; z-index: -1; }
.c-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(var(--ink-rgb), .92) 0%, rgba(var(--ink-rgb), .7) 55%, rgba(var(--ink-rgb), .3) 100%); }
.c-hero-in { display: flex; flex-direction: column; gap: 16px; padding-block: 24px 40px; }
.c-hero .h1 { color: var(--text-on-ink); max-width: 16ch; font-size: clamp(30px, 4vw, 52px); }
.c-hero .lead { color: var(--text-on-ink-secondary); max-width: 52ch; }
.facts-chips { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; max-width: 720px; margin-top: 4px; }
.facts-chips li { padding: 12px 14px; border: 1px solid var(--border-on-ink); border-radius: var(--r-md); background: rgba(var(--ink-rgb), .55); display: grid; gap: 2px; }
.facts-chips b { font: 600 22px/1.1 var(--font-display); color: var(--text-on-ink); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.facts-chips span { font-size: 12.5px; }
.c-hero .btn-outline { background: transparent; color: var(--text-on-ink); border-color: var(--border-on-ink); }
.c-hero .btn-outline:hover { border-color: var(--text-on-ink); }
.c-hero :focus-visible { outline-color: var(--accent-on-ink); }
@media (min-width: 900px) { .c-hero-in { padding-block: 32px 64px; gap: 20px; } .facts-chips { grid-template-columns: repeat(4, 1fr); } }

.levels { display: grid; gap: 16px; }
.level { border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; display: flex; flex-direction: column; }
.lv-img { aspect-ratio: 16/9; background: var(--tile); }
.lv-img img { width: 100%; height: 100%; object-fit: cover; }
.lv-img.is-product img { object-fit: contain; padding: 12px; }
.lv-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 10px; }
.lv-sub { font-size: 14px; color: var(--text-secondary); margin-top: -6px; }
.lv-body dl { display: grid; font-size: 13.5px; }
.lv-body dl div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--border-soft); }
.lv-body dt { color: var(--text-tertiary); }
.lv-body dd { color: var(--text); font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.ticks { display: grid; gap: 8px; font-size: 14px; color: var(--text); }
.ticks li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; }
.ticks svg.i { width: 16px; height: 16px; color: var(--success); margin-top: 3px; stroke-width: 2; }
@media (min-width: 900px) { .levels { grid-template-columns: repeat(3, 1fr); } }

.who { display: grid; gap: 20px; }
.who-list { display: grid; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; }
.who-list li { background: var(--surface); padding: 18px 20px; display: grid; gap: 4px; }
.who-list p { font-size: 13.5px; }
@media (min-width: 900px) { .who { grid-template-columns: 260px 1fr; gap: 48px; } .who-list { grid-template-columns: repeat(4, 1fr); } }

.proc { display: grid; gap: 24px; }
.proc-head p { margin-top: 8px; font-size: 14px; max-width: 48ch; }
.timeline { display: grid; gap: 0; }
.timeline li { display: grid; grid-template-columns: 36px 1fr; gap: 14px; position: relative; padding-bottom: 22px; }
.timeline li:not(:last-child)::before { content: ""; position: absolute; left: 15.5px; top: 34px; bottom: 2px; width: 1px; background: var(--border); }
.timeline .n { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--text); display: grid; place-items: center; font: 600 13px/1 var(--font-display); color: var(--text); background: var(--surface); }
.timeline h3 { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; padding-top: 5px; }
.timeline h3 .muted { font: 500 12.5px/1 var(--font-mono); }
.timeline p { font-size: 14px; margin-top: 4px; max-width: 60ch; }
@media (min-width: 900px) { .proc { grid-template-columns: 340px 1fr; gap: 48px; } }

.caps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; }
.caps li { background: var(--surface); padding: 16px; display: grid; gap: 4px; align-content: start; }
.caps p { font-size: 13px; }
@media (min-width: 900px) { .caps { grid-template-columns: repeat(4, 1fr); } .caps li { padding: 20px; } }

.qt { display: grid; gap: 20px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--r-md); }
.qtable { font-size: 14px; min-width: 520px; }
.qtable th, .qtable td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--border-soft); vertical-align: top; }
.qtable thead th { font-size: 12.5px; font-weight: 500; color: var(--text-tertiary); background: var(--surface-alt); border-bottom-color: var(--border); }
.qtable tbody th { font-weight: 600; color: var(--text); }
.qtable td:nth-child(2) { color: var(--text); font-variant-numeric: tabular-nums; }
.qtable td:last-child { color: var(--text-tertiary); font-size: 13px; }
.qtable tr:last-child th, .qtable tr:last-child td { border-bottom: 0; }
@media (min-width: 900px) { .qt { grid-template-columns: 340px 1fr; gap: 48px; } }

.cases { display: grid; grid-template-columns: repeat(1, 1fr); gap: 20px; }
.case { display: grid; gap: 6px; }
.case img { aspect-ratio: 4/3; width: 100%; object-fit: cover; border-radius: var(--r-md); background: var(--tile); mix-blend-mode: multiply; margin-bottom: 6px; }
.case p { font-size: 13.5px; }
.case .mono { color: var(--text); font-size: 12.5px; }
@media (min-width: 640px) { .cases { grid-template-columns: repeat(3, 1fr); } }

.rfq { display: grid; gap: 28px; }
.rfq-side { display: flex; flex-direction: column; gap: 14px; }
.rfq-contact { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-top: 14px; border-top: 1px solid var(--border); }
.rfq-contact p { flex-basis: 100%; font-size: 14px; color: var(--text); }
.rfq-form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 20px; display: grid; gap: 24px; }
.rfq-form fieldset { display: grid; gap: 14px; }
.rfq-form legend { margin-bottom: 14px; padding: 0; }
.f2, .f3 { display: grid; gap: 14px; }
@media (min-width: 640px) { .f2 { grid-template-columns: 1fr 1fr; } .f3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .rfq { grid-template-columns: 340px 1fr; gap: 48px; align-items: start; } .rfq-side { position: sticky; top: calc(var(--header-h) + 24px); } .rfq-form { padding: 28px 32px; } }
.drop { position: relative; display: grid; justify-items: center; gap: 4px; padding: 24px 16px; border: 1.5px dashed var(--border-hover); border-radius: var(--r-md); background: var(--surface-alt); text-align: center; font-size: 14px; color: var(--text); cursor: pointer; transition: border-color .15s, background-color .15s; }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.drop svg.i { width: 24px; height: 24px; color: var(--text-secondary); }
.drop u { color: var(--accent); text-underline-offset: 3px; }
.drop small { font-size: 12px; color: var(--text-tertiary); }
.drop:hover, .drop.is-over { border-color: var(--accent); background: var(--accent-soft); }
.drop:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.files { display: grid; gap: 6px; }
.files li { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 12px; border: 1px solid var(--border); border-radius: var(--r-sm); font-size: 13.5px; color: var(--text); }
.files li svg.i { width: 18px; height: 18px; color: var(--text-tertiary); }
.files li span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.files li small { color: var(--text-tertiary); font-variant-numeric: tabular-nums; }
.files li button { width: 36px; height: 36px; border: 0; border-radius: 4px; background: none; color: var(--text-secondary); display: grid; place-items: center; }
.files li button:hover { background: var(--surface-alt); color: var(--error); }
.files li.is-err { border-color: var(--error); color: var(--error); }
.err { font-size: 12.5px; color: var(--error); }
.field.has-err .input, .field.has-err .textarea { border-color: var(--error); }
.rfq-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.rfq-done { padding: 20px; border-radius: var(--r-md); background: var(--success-soft); color: var(--text); display: grid; gap: 6px; }
.rfq-done h3 { display: flex; align-items: center; gap: 8px; color: var(--success); }
.rfq-done:focus { outline: none; }
@media (max-width: 639px) { #new-rail > .card:nth-child(n+7) { display: none; } }

/* ---- CUSTOM ---- */
.c-hero::after { background: linear-gradient(90deg, rgba(var(--ink-rgb), .94) 0%, rgba(var(--ink-rgb), .72) 55%, rgba(var(--ink-rgb), .35) 100%); }
.c-hero .btn-primary { background: var(--surface); color: var(--text); }
.c-hero .btn-primary:hover { background: var(--surface-alt); }
.facts-chips b { font-family: var(--font-display); font-size: 26px; }
.lv-img { position: relative; aspect-ratio: 4/3; margin: 0; background: var(--tile); overflow: hidden; }
.lv-img img { width: 100%; height: 100%; object-fit: cover; padding: 0 !important; }
.lv-img figcaption { position: absolute; left: 10px; bottom: 10px; padding: 4px 10px; border-radius: 4px; background: rgba(255, 255, 255, .92); font-size: 12px; font-weight: 500; color: var(--text); }
.level { background: var(--surface); }
.timeline .n { font-family: var(--font-body); }
.timeline h3 .muted { font: 500 12.5px/1 var(--font-body); font-variant-numeric: tabular-nums; }
@media (min-width: 1100px) {
  .timeline { grid-template-columns: 1fr 1fr; grid-auto-flow: column; grid-template-rows: repeat(3, auto); column-gap: 40px; }
  .timeline li:nth-child(3)::before { display: none; }
}
.case img { mix-blend-mode: normal; }
.cases.is-ph { margin-top: 14px; }

/* ---- v3 overrides for the kept category / product / custom rules ---- */
.toolbar { background: var(--bg); }
.sort { display: flex; align-items: center; gap: 8px; }
.sort .dd { min-width: 190px; }
.subcats-wrap.has-more::after { background: linear-gradient(90deg, rgba(255, 255, 255, 0), var(--bg) 70%) !important; }
.subcat img, .stage img, .thumb img, .sticky-buy img, .case img { mix-blend-mode: normal; }
.pdp-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(24px, 2.2vw, 32px); line-height: 1.15; letter-spacing: -.02em; max-width: 28ch; }
.sku-line .mono { font-weight: 500; letter-spacing: 0; }
.fcount { background: var(--accent); }
.facts-chips b, .timeline .n { font-family: var(--font-display); font-weight: 700; }
@media (max-width: 1023px) { .sort .dd { min-width: 0; width: 100%; } .sort { flex: 1 1 0; min-width: 0; } }

/* ================= PRODUCT (v3 additions) ================= */
/* price, ladder and suggested retail (PRICING.md §1, §2) */
.pdp-price { display: grid; gap: 4px; margin-top: -2px; }
.pdp-price .price { display: flex; align-items: baseline; gap: 4px; font-variant-numeric: tabular-nums; }
.pdp-price .price b { font-size: 28px; font-weight: 700; color: var(--text); letter-spacing: -.02em; line-height: 1.1; }
.pdp-price .price small { font-size: 14px; color: var(--text-tertiary); }
.pdp-price .retail { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 2px 6px; font-size: 14px; color: var(--text-secondary); font-variant-numeric: tabular-nums; }
.pdp-price .retail b { color: var(--text); font-weight: 600; }
/* price ladder: 1 / 3 / 5 / 10 pcs of the style (PRICING.md §1); catalog.js moves .is-on */
.pdp-price .ladder { margin: 6px 0 4px; }
.pdp-price .ladder-cap { font-size: 12.5px; color: var(--text-secondary); margin-bottom: 6px; }
.pdp-price .ladder-steps { display: grid; grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; list-style: none; margin: 0; padding: 0; border: 1px solid var(--border); border-radius: var(--r-sm); overflow: hidden; }
.pdp-price .ladder-steps li { display: grid; gap: 1px; padding: 7px 8px; text-align: center; font-variant-numeric: tabular-nums; border-left: 1px solid var(--border); transition: background .15s, color .15s; }
.pdp-price .ladder-steps li:first-child { border-left: 0; }
.pdp-price .ladder-steps span { font-size: 12px; color: var(--text-tertiary); white-space: nowrap; }
.pdp-price .ladder-steps b { font-size: 15px; font-weight: 600; color: var(--text); }
.pdp-price .ladder-steps li.is-on { background: var(--accent-soft); box-shadow: inset 0 -2px 0 var(--accent); }
.pdp-price .ladder-steps li.is-on span { color: var(--accent); }
@media (max-width: 389px) { .pdp-price .ladder-steps li { padding: 6px 4px; } .pdp-price .ladder-steps b { font-size: 14px; } }
.tip { position: relative; display: inline-block; }
.tip summary { list-style: none; display: inline-flex; width: 22px; height: 22px; align-items: center; justify-content: center; border-radius: 50%; color: var(--text-tertiary); cursor: pointer; }
.tip summary::-webkit-details-marker { display: none; }
.tip summary:hover, .tip[open] summary { color: var(--accent); background: var(--accent-soft); }
.tip summary svg.i { width: 15px; height: 15px; }
.tip summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.tip > p { position: absolute; z-index: 5; left: 0; top: calc(100% + 6px); width: min(300px, 80vw); padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--r-sm); background: var(--surface); box-shadow: 0 10px 30px -12px rgba(var(--ink-rgb), .35); font-size: 13px; line-height: 1.45; color: var(--text); }
.bulk-quote { display: flex; gap: 6px; align-items: flex-start; font-size: 13.5px; color: var(--text-secondary); line-height: 1.45; }
.added { display: grid; gap: 10px; padding: 14px; border: 1px solid var(--success); border-radius: var(--r-md); background: var(--success-soft); }
.added p { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; color: var(--text); }
.added p svg.i { width: 18px; height: 18px; color: var(--success); margin-top: 1px; }
.added > div { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tools-h { margin-top: 24px; margin-bottom: 10px; }

/* ================= CART ================= */
.cart-page { padding-bottom: 64px; }
.cart-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px 24px; padding-bottom: 16px; }
.cart-meta { font-size: 14px; color: var(--text-secondary); margin-top: 4px; font-variant-numeric: tabular-nums; }
.cart-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.cart-tools .btn { font-weight: 500; }
.empty-wrap { display: inline-flex; align-items: center; gap: 8px; }
.empty-wrap .confirm { font-size: 13px; color: var(--text); font-weight: 600; }
.cart-layout { display: grid; gap: 20px; }
@media (min-width: 1024px) { .cart-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; } }
.cart-main { display: grid; gap: 20px; min-width: 0; }

.qa-box { display: grid; gap: 12px; padding: 16px; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface-alt); scroll-margin-top: calc(var(--header-h) + 16px); }
.qa-box:target { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .12); }
.qa-text .h4 { display: flex; align-items: center; gap: 8px; }
.qa-text .h4 svg.i { width: 18px; height: 18px; color: var(--accent); }
.qa-text p { font-size: 13px; margin-top: 4px; }
.qa-form { display: grid; gap: 8px; }
.qa-form .textarea { min-height: 76px; resize: vertical; font: 500 13px/1.5 var(--font-mono); background: var(--surface); }
.qa-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.qa-msg { font-size: 13px; }
.qa-msg .ok { color: var(--success); font-weight: 600; }
.qa-msg .warn { color: var(--error); }
@media (min-width: 1100px) { .qa-box { grid-template-columns: 300px minmax(0, 1fr); align-items: start; gap: 20px; } }

.cart-table { border-top: 2px solid var(--text); font-size: 14px; }
.cart-table thead th { text-align: left; font-size: 12px; font-weight: 600; color: var(--text-tertiary); padding: 10px 8px; border-bottom: 1px solid var(--border); }
.cart-table th.c-qty, .cart-table th.c-unit, .cart-table th.c-tot, .cart-table td.c-unit, .cart-table td.c-tot { text-align: right; }
.cart-table th.c-qty { text-align: center; }
.cart-table td { padding: 6px 8px; vertical-align: middle; font-variant-numeric: tabular-nums; }
.cart-table tbody.grp { border-bottom: 1px solid var(--border); }
.g-head td { padding: 14px 8px 8px; }
.g-head.is-single td { padding-bottom: 4px; }
.g-item { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; align-items: start; }
.g-item img { width: 64px; height: 64px; border-radius: var(--r-sm); background: var(--tile); object-fit: cover; }
.g-info { min-width: 0; display: grid; gap: 2px; }
.cart-table .sku { font: 500 11.5px/1.3 var(--font-mono); color: var(--text-tertiary); }
.g-info h3 { font-size: 14.5px; font-weight: 600; color: var(--text); line-height: 1.35; }
.g-info h3 a { text-decoration: none; }
.g-info h3 a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.g-note { font-size: 12.5px; color: var(--text-secondary); }
.g-note b { color: var(--accent); }
.g-note .ok { color: var(--success); }
.g-note .warn { color: var(--error); font-weight: 600; }
.g-sum { display: grid; justify-items: end; text-align: right; gap: 0; }
.g-sum b { font-size: 16px; color: var(--text); font-variant-numeric: tabular-nums; }
.g-sum small { font-size: 12px; color: var(--text-tertiary); }
.g-sum .text-btn { min-height: 28px; font-size: 12.5px; font-weight: 500; color: var(--text-secondary); }
.v-row td { border-top: 1px solid var(--border-soft); }
.v-row .c-item { padding-left: 86px; }
.v-name { display: block; font-weight: 500; color: var(--text); }
.v-row .stepper { height: 36px; }
.v-row .stepper button { width: 32px; }
.v-row .stepper input { width: 52px; }
.cart-table td.c-qty { text-align: center; width: 140px; }
.cart-table td.c-unit { width: 120px; color: var(--text-secondary); }
.cart-table td.c-unit s { color: var(--text-tertiary); font-size: 12px; margin-right: 2px; }
.cart-table td.c-tot { width: 110px; font-weight: 600; color: var(--text); }
.cart-table td.c-rm, .cart-table th.c-rm { width: 44px; padding-inline: 0; }
.rm { width: 36px; height: 36px; color: var(--text-tertiary); }
.rm:hover { color: var(--error); }
.rm svg.i { width: 16px; height: 16px; }
.cart-empty-state { display: grid; justify-items: center; gap: 10px; padding: 56px 16px; text-align: center; border: 1px dashed var(--border); border-radius: var(--r-md); }
.cart-empty-state svg.i { width: 32px; height: 32px; color: var(--text-tertiary); }
@media (max-width: 767px) {
  .cart-table thead { display: none; }
  .cart-table, .cart-table tbody, .cart-table tr, .cart-table td { display: block; width: auto !important; }
  .cart-table tbody.grp { padding-bottom: 8px; }
  .g-item { grid-template-columns: 56px minmax(0, 1fr); }
  .g-item img { width: 56px; height: 56px; }
  .g-sum { grid-column: 2; justify-items: start; text-align: left; grid-template-columns: auto auto; column-gap: 10px; align-items: baseline; }
  .g-sum .text-btn { grid-column: 1 / -1; justify-self: start; }
  .v-row { display: grid !important; grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: "item qty rm" "unit tot tot"; gap: 2px 8px; padding: 8px 0 8px 70px; border-top: 1px solid var(--border-soft); }
  .v-row td { border: 0; padding: 0 !important; }
  .v-row .c-item { grid-area: item; }
  .v-row .c-qty { grid-area: qty; }
  .v-row .c-unit { grid-area: unit; text-align: left !important; font-size: 12.5px; }
  .v-row .c-tot { grid-area: tot; }
  .v-row .c-rm { grid-area: rm; }
  .v-row .stepper { height: 40px; }
}
.saved { padding: 16px; border: 1px solid var(--border); border-radius: var(--r-md); }
.saved ul { display: grid; gap: 10px; margin-top: 10px; }
.saved li { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 12px; align-items: center; font-size: 13.5px; color: var(--text); }
.saved img { width: 48px; height: 48px; border-radius: var(--r-sm); background: var(--tile); object-fit: cover; }
.saved .sku { font: 500 11.5px/1.3 var(--font-mono); color: var(--text-tertiary); }
.saved small { color: var(--text-tertiary); }

.cart-side { display: grid; gap: 12px; }
@media (min-width: 1024px) { .cart-side { position: sticky; top: calc(var(--header-h) + 16px); } }
.sum-card { display: grid; gap: 14px; padding: 20px; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface); }
.sum { display: grid; gap: 8px; font-size: 14px; }
.sum div { display: flex; justify-content: space-between; gap: 12px; font-variant-numeric: tabular-nums; }
.sum dt { color: var(--text-secondary); }
.sum dd { color: var(--text); font-weight: 500; text-align: right; }
.sum .save dt, .sum .save dd { color: var(--success); }
.sum .muted dd { color: var(--text-tertiary); font-weight: 400; }
.sum .total { padding-top: 12px; margin-top: 4px; border-top: 1px solid var(--border); font-size: 17px; }
.sum .total dt { color: var(--text); font-weight: 700; }
.sum .total dd { font-weight: 700; }
.sum .sum-note { margin-top: -6px; }
.sum .sum-note dd { flex: 1; text-align: left; font-size: 12px; line-height: 1.45; font-weight: 400; color: var(--text-tertiary); }
.sum-next { font-size: 13.5px; color: var(--text); }
.sum-next b { color: var(--accent); font-variant-numeric: tabular-nums; }
.ship-to { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 13px; }
.ship-to label { flex: none; font-weight: 600; color: var(--text); }
.ship-to .select { flex: 1; min-width: 0; height: 36px; padding: 0 32px 0 10px; border: 1px solid var(--border); border-radius: var(--r-sm); background-color: var(--surface, #fff); font: inherit; font-size: 13px; color: var(--text); }
.sum-warn { color: var(--error, #c2341f); }
.ship-pick { display: grid; gap: 6px; margin: 0; padding: 0; border: 0; min-width: 0; }
.ship-pick legend { padding: 0; margin-bottom: 2px; font-size: 13px; font-weight: 600; color: var(--text); }
.ship-pick label { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; min-height: 40px; padding: 7px 10px; border: 1px solid var(--border); border-radius: var(--r-sm); font-size: 13px; color: var(--text-secondary); cursor: pointer; }
.ship-pick label:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.ship-pick input { margin: 0; accent-color: var(--accent); }
.ship-pick label > span { display: grid; gap: 1px; min-width: 0; }
.ship-pick label > span b { font-weight: 600; color: var(--text); }
.ship-pick label > span small { font-size: 12px; line-height: 1.35; color: var(--text-tertiary); }
.ship-pick label > b { font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; white-space: nowrap; }
.sum-fine { font-size: 12px; color: var(--text-tertiary); line-height: 1.45; }
.pay-marks { display: flex; flex-wrap: wrap; gap: 6px; }
.pay-marks span { display: inline-flex; align-items: center; height: 24px; padding: 0 8px; border: 1px solid var(--border); border-radius: 3px; font-size: 11.5px; font-weight: 600; color: var(--text-secondary); }
.cart-help { display: grid; gap: 10px; justify-items: start; padding: 16px; border-radius: var(--r-md); background: var(--surface-alt); font-size: 13px; margin: 0; }
.cart-help b { color: var(--text); }
.m-checkout { display: none; }
@media (max-width: 1023px) {
  .cart-layout { display: flex; flex-direction: column-reverse; }
  .cart-side { order: 0; }
  .cart-help { display: none; }
  .m-checkout { position: fixed; z-index: 70; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--border); box-shadow: 0 -8px 24px -16px rgba(var(--ink-rgb), .3); }
  .m-checkout > div { display: grid; font-variant-numeric: tabular-nums; }
  .m-checkout span { font-size: 17px; font-weight: 700; color: var(--text); }
  .m-checkout small { font-size: 12px; color: var(--text-tertiary); }
  .m-checkout .btn { min-width: 150px; }
  .page-cart .site-footer { padding-bottom: 72px; }
}
@media print { .site-header, .announce, .utility, .site-footer, .qa-box, .cart-tools, .m-checkout, .ship-pick, .cart-help, .rm, .g-sum .text-btn { display: none !important; } .cart-layout { display: block; } }

/* ================= CHECKOUT ================= */
.page-checkout { background: var(--surface-alt); }
.co-header { background: var(--surface); border-bottom: 1px solid var(--border); }
.co-header .container { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.co-header .logo { margin-right: auto; }
.co-secure { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--success); }
.co-secure svg.i { width: 16px; height: 16px; }
.co-help { display: none; align-items: center; gap: 6px; font-size: 13px; color: var(--text-secondary); text-decoration: none; }
.co-help svg.i { width: 16px; height: 16px; }
.co-help:hover { color: var(--text); }
@media (min-width: 640px) { .co-help { display: inline-flex; } }
.co-page { padding-block: 20px 56px; }
.co-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 20px; font-size: 13px; }
.co-steps li { display: flex; align-items: center; gap: 8px; padding-top: 10px; border-top: 3px solid var(--border); color: var(--text-tertiary); font-weight: 500; }
.co-steps li span { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid currentColor; display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.co-steps .is-done { border-color: var(--accent); color: var(--text); }
.co-steps .is-done a { display: inline-flex; align-items: center; gap: 6px; color: inherit; text-decoration: none; }
.co-steps .is-done svg.i { width: 18px; height: 18px; color: var(--accent); }
.co-steps .is-current { border-color: var(--accent); color: var(--text); font-weight: 700; }
.co-steps .is-current span { background: var(--accent); border-color: var(--accent); color: #fff; }
.co-layout { display: grid; gap: 16px; }
@media (min-width: 1024px) { .co-layout { grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; } }
.co-form { display: grid; gap: 12px; min-width: 0; }
.co-sec { display: grid; gap: 16px; padding: 20px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); }
@media (min-width: 900px) { .co-sec { padding: 24px 28px; } }
.co-sec-h { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 16px; }
.co-sec-h .h3 { display: flex; align-items: center; gap: 10px; }
.co-sec-h .n { width: 26px; height: 26px; border-radius: 50%; background: var(--surface-ink); color: #fff; display: grid; place-items: center; font: 700 13px/1 var(--font-body); }
.co-signin { font-size: 13.5px; color: var(--text-secondary); }
.co-grid { display: grid; gap: 14px 16px; }
@media (min-width: 640px) { .co-grid { grid-template-columns: 1fr 1fr; } .co-grid .span-2 { grid-column: 1 / -1; } }
.co-grid .dd { display: block; }
.file-pick { position: relative; display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; border: 1px dashed var(--border-hover); border-radius: var(--r-sm); background: var(--surface-alt); font-size: 14px; color: var(--text); cursor: pointer; }
.file-pick input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.file-pick svg.i { width: 18px; height: 18px; color: var(--text-secondary); }
.file-pick:hover { border-color: var(--text); }
.file-pick:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.seg-1 { grid-template-columns: 1fr; }
.seg .seg-box .row { display: flex; align-items: center; gap: 8px; justify-content: space-between; }
.seg .seg-box .row b { font-variant-numeric: tabular-nums; }
.seg .seg-box .row svg.i { width: 18px; height: 18px; color: var(--text-secondary); }
.seg .seg-box .row:has(svg) { justify-content: flex-start; }
.marks { display: inline-flex; gap: 4px; margin-left: auto; }
.marks i { font-style: normal; font-size: 11px; font-weight: 600; height: 20px; padding: 0 6px; border: 1px solid var(--border); border-radius: 3px; display: inline-flex; align-items: center; color: var(--text-secondary); background: var(--surface); }
.duties { display: grid; gap: 8px; }
.duties .field-label { font-size: 13px; font-weight: 600; color: var(--text); }
.card-fields .ph-note { display: flex; align-items: center; gap: 8px; padding: 18px 16px; border: 1px dashed var(--border-hover); border-radius: var(--r-sm); font-size: 13px; color: var(--text-secondary); background: var(--surface-alt); }
.card-fields svg.i { width: 16px; height: 16px; }
.co-place { width: 100%; }
@media (min-width: 640px) { .co-place { width: auto; justify-self: start; min-width: 280px; } }
.terms-err { font-size: 13px; color: var(--error); margin-top: -8px; }
.co-done { display: grid; gap: 12px; justify-items: start; padding: 32px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); }
.co-done > svg.i { width: 36px; height: 36px; color: var(--success); }
.co-side { display: grid; gap: 12px; }
@media (min-width: 1024px) { .co-side { position: sticky; top: 16px; } }
@media (max-width: 1023px) { .co-side { order: -1; } }
.co-sum { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); }
.co-sum summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 56px; padding: 0 20px; cursor: pointer; list-style: none; font-weight: 700; color: var(--text); font-size: 15px; }
.co-sum summary::-webkit-details-marker { display: none; }
.co-sum summary > span::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 10px; border-right: 1.5px solid var(--text-secondary); border-bottom: 1.5px solid var(--text-secondary); transform: rotate(45deg) translateY(-3px); transition: transform .2s; }
.co-sum[open] summary > span::after { transform: rotate(225deg) translateY(-1px); }
.co-sum summary b { font-variant-numeric: tabular-nums; }
.co-sum-body { display: grid; gap: 12px; padding: 0 20px 20px; }
.co-lines { display: grid; gap: 10px; max-height: 320px; overflow-y: auto; padding-top: 4px; border-top: 1px solid var(--border-soft); padding-block: 12px 4px; }
.co-lines li { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 10px; align-items: center; font-size: 13px; }
.co-lines img { width: 44px; height: 44px; border-radius: var(--r-sm); background: var(--tile); object-fit: cover; }
.co-lines .q { position: absolute; left: 30px; top: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--text-secondary); color: #fff; font-size: 11px; font-weight: 600; display: grid; place-items: center; font-variant-numeric: tabular-nums; }
.co-lines p { color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.co-lines small { color: var(--text-tertiary); }
.co-lines b { font-variant-numeric: tabular-nums; color: var(--text); font-weight: 600; }
.co-sum .text-btn { min-height: 32px; font-size: 13px; justify-self: start; }
.co-assure { display: grid; gap: 8px; padding: 16px 20px; font-size: 13px; color: var(--text-secondary); }
.co-assure li { display: flex; align-items: center; gap: 8px; }
.co-assure svg.i { width: 16px; height: 16px; color: var(--text-tertiary); }
.co-footer { border-top: 1px solid var(--border); background: var(--surface); font-size: 12.5px; color: var(--text-tertiary); }
.co-footer .container { display: flex; flex-wrap: wrap; gap: 16px; min-height: 52px; align-items: center; }
.co-footer a { color: var(--text-secondary); text-decoration: none; }
.co-footer a:hover { text-decoration: underline; }
@media (max-width: 767px) {
  .v-row { padding-left: 16px; grid-template-columns: minmax(0, 1fr) auto 36px; }
  .v-row .sku { white-space: nowrap; font-size: 11px; }
}
@media (max-width: 899px) {
  .cart-table .sku, .saved .sku, .v-row .sku { font-size: 12px; }
  .rm { width: 44px; height: 44px; }
  .g-sum .text-btn { min-height: 40px; }
  .co-footer a { min-height: 40px; display: inline-flex; align-items: center; }
  .co-lines .q, .marks i { font-size: 12px; }
  .seo-panel ul { gap: 2px 18px; }
  .seo-panel ul a { display: inline-flex; align-items: center; min-height: 40px; }
  .plating-tabs .chip { min-height: 44px; }
  .subcat { min-height: 48px; }
}

/* ===== Mobile pass (390 / 360 audit, round 3) ===== */
/* breadcrumb: one baseline */
.crumbs li > a, .crumbs li > span { display: inline-flex; align-items: center; }
.crumbs li + li::before { align-self: center; }
/* footer base row: copyright on the link baseline */
.ft-base nav { align-items: center; }
.ft-base nav span { display: inline-flex; align-items: center; min-height: 32px; }
/* category sort: show the chosen value (old rule hid every span in .sort) */
.sort .dd-val { display: inline; }
.sort .sort-l { display: none; }
@media (min-width: 1024px) { .sort .sort-l { display: inline; font-size: 13px; color: var(--text-tertiary); } }
@media (max-width: 639px) {
  /* cards: item number gets the full line; platings show on the product page */
  .card .swatches { display: none; }
  /* home: shorter page */
    #new-rail > .card:nth-child(n+7) { display: none; }
  .b2-panel .h1 { font-size: 26px; }
  .b2-sub { font-size: 14.5px; }
  .shape { padding: 6px 12px 6px 8px; min-height: 44px; }
  .shape span { display: flex; align-items: baseline; gap: 6px; white-space: nowrap; }
  .shape-ic { width: 22px !important; height: 22px !important; }
  /* category: bottom tools wrap instead of being cut */
  .m-tools { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; }
  .m-tools .btn { padding: 0 8px; font-size: 13px; }
  /* product: the 200+ cell keeps two lines */
  /* custom: cost table as stacked rows, shorter images, examples as a swipe rail */
  .qtable { min-width: 0; }
  .qtable thead { display: none; }
  .qtable tr { display: grid; gap: 2px; padding: 12px 16px; border-bottom: 1px solid var(--border-soft); }
  .qtable th, .qtable td { padding: 0; border: 0; }
  .lv-img { aspect-ratio: 16 / 9; }
  .cases { display: grid; grid-auto-flow: column; grid-auto-columns: 78%; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 12px; }
  .cases::-webkit-scrollbar { display: none; }
  .case { scroll-snap-align: start; }
  /* cart: compact tools, items before quick add */
  .cart-tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; }
  .cart-tools .btn, .empty-wrap .btn { width: 100%; padding: 0 6px; }
  .empty-wrap { display: contents; }
  .cart-main { display: flex; flex-direction: column; }
  .cart-table-wrap { order: 1; }
  .qa-box { order: 2; }
  .saved { order: 3; }
  /* checkout: card marks drop under the label */
  .seg .seg-box .row { flex-wrap: wrap; }
  .marks { margin-left: 0; width: 100%; }
}
@media (max-width: 899px) {
  .sec-head .text-btn, .co-sum .text-btn { min-height: 44px; }
  .v-row .stepper { height: 44px; }
  .v-row .stepper button { width: 40px; }
  .seo-panel .h4 a { min-height: 40px; }
  .co-steps .is-done a { min-height: 40px; }
}
@media (max-width: 899px) {
  .s-bench .s-copy { align-self: end; }
  .slide .s-cta { flex-wrap: nowrap; width: 100%; }
  .slide .s-cta .btn { min-height: 46px; padding: 0 14px; font-size: 14px; flex: 1 1 auto; }
  .slide .h1 { font-size: 25px; }
  .s-hook { font-size: 17px; }
  .s-steps li { padding: 0 10px; font-size: 12px; }
  .s-steps b { font-size: 16px; }
}
@media (max-width: 899px) { .slide.s-bench { align-content: end; } .s-bench .s-copy { padding-bottom: 80px; } }
@media (max-width: 899px) { .hx-arrow { width: 40px; height: 40px; } .hx-dots button { height: 40px; } }

/* 6 platform categories: one row on desktop, 3 x 2 on phones */
@media (min-width: 640px) { .gcat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .gcat-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

/* ===== Customer voice (placeholder until real reviews exist; structure from Silver Palace Google 4.9, Sparkle Judge.me) ===== */
.cv { display: grid; gap: 16px; }
.cv-score { display: grid; align-content: start; gap: 8px; padding: 22px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); }
.cv-num { font: 700 44px/1 var(--font-display); color: var(--text); letter-spacing: -.03em; }
.cv-num small { font-size: 18px; color: var(--text-tertiary); font-weight: 600; margin-left: 2px; }
.stars { display: flex; gap: 2px; color: #E4A11B; }
.stars svg.i { width: 17px; height: 17px; fill: currentColor; stroke: none; }
.cv-n { font-size: 13.5px; color: var(--text-secondary); }
.cv-n b { color: var(--text); }
.cv-bars { display: grid; gap: 5px; margin-top: 4px; }
.cv-bars li { display: grid; grid-template-columns: 12px 1fr 34px; gap: 8px; align-items: center; font-size: 12px; color: var(--text-tertiary); font-variant-numeric: tabular-nums; }
.cv-bars .bar { height: 6px; border-radius: 3px; background: var(--surface-sunk); overflow: hidden; }
.cv-bars .bar i { display: block; height: 100%; background: var(--text); }
.cv-bars li span:last-child { text-align: right; }
.cv-src { display: flex; gap: 6px; align-items: flex-start; margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--border-soft); font-size: 12.5px; color: var(--text-tertiary); }
.cv-src svg.i { width: 15px; height: 15px; flex: none; margin-top: 1px; }
.cv-list { display: grid; gap: 12px; }
.cv-card { display: flex; flex-direction: column; gap: 14px; padding: 20px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); }
.cv-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.cv-ver { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; color: var(--success); }
.cv-ver svg.i { width: 14px; height: 14px; stroke-width: 2.2; }
.cv-card blockquote { margin: 0; font-size: 15px; line-height: 1.6; color: var(--text); flex: 1; }
.cv-who { display: grid; grid-template-columns: 36px 1fr 44px; gap: 10px; align-items: center; padding-top: 14px; border-top: 1px solid var(--border-soft); }
.cv-av { width: 36px; height: 36px; border-radius: 50%; background: var(--surface-ink); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.cv-who p { display: grid; font-size: 13px; line-height: 1.35; }
.cv-who b { color: var(--text); }
.cv-who span { color: var(--text-tertiary); font-size: 12.5px; }
.cv-who img { width: 44px; height: 44px; border-radius: var(--r-sm); object-fit: cover; background: var(--tile); }
@media (min-width: 900px) { .cv { grid-template-columns: 280px minmax(0, 1fr); gap: 20px; } .cv-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 899px) {
  .cv-list { grid-auto-flow: column; grid-auto-columns: 86%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .cv-list::-webkit-scrollbar { display: none; }
  .cv-card { scroll-snap-align: start; }
  .cv-score { grid-template-columns: auto 1fr; column-gap: 16px; align-items: center; }
  .cv-num { grid-row: 1 / 3; }
  .cv-bars, .cv-src { grid-column: 1 / -1; }
}

/* ===== "From the manufacturer" block: intro + three link columns on a quiet band above the footer (Grainger / Stuller footer-top) ===== */
.mfr { background: var(--surface-alt); border-top: 1px solid var(--border); padding-block: 44px; }
.mfr-grid { display: grid; gap: 28px; }
.mfr-intro { display: grid; gap: 12px; align-content: start; }
.mfr-intro .h2 { font-size: clamp(20px, 1.7vw, 24px); max-width: 22ch; }
.mfr-intro p { font-size: 14px; line-height: 1.65; color: var(--text-secondary); max-width: 62ch; }
.mfr-marks { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 4px; }
.mfr-marks li { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--text); }
.mfr-marks svg.i { width: 15px; height: 15px; color: var(--success); stroke-width: 2.2; }
.mfr-links { display: grid; gap: 22px; }
.mfr-links h3 { display: flex; align-items: center; gap: 8px; font: 700 14px/1.3 var(--font-body); color: var(--text); padding-bottom: 10px; margin-bottom: 4px; border-bottom: 1px solid var(--border); }
.mfr-links h3 svg.i { width: 17px; height: 17px; color: var(--accent); }
.mfr-links ul a { display: flex; align-items: center; min-height: 34px; font-size: 14px; color: var(--text-secondary); text-decoration: none; transition: color .12s, transform .12s; }
.mfr-links ul a:hover { color: var(--accent); transform: translateX(2px); }
@media (min-width: 640px) { .mfr-links { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
@media (min-width: 1100px) { .mfr { padding-block: 56px; } .mfr-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; } }
@media (max-width: 899px) { .mfr-links ul a { min-height: 40px; } }
/* New arrivals: one horizontal row (5) per tab on desktop, 4 on phones */
#new-rail > .card:nth-child(n+6 of :not([hidden])) { display: none; }
@media (max-width: 639px) { #new-rail > .card:nth-child(n+5 of :not([hidden])) { display: none; } }
@media (max-width: 639px) {
  .mfr { padding-block: 32px; }
  .mfr-links ul { display: grid; grid-template-columns: 1fr 1fr; column-gap: 12px; }
  .mfr-links ul a { font-size: 13.5px; line-height: 1.3; }
  .mfr-intro p + p { display: none; }
}

/* ===== Homepage v3.3: one product row only; the rest are tiles (Stuller, WebstaurantStore, Rio Grande, Fire Mountain) ===== */
/* Line sheet + quote strip (WebstaurantStore "Have a large list? Get a personalized quote"; Fire Mountain free catalog) */
.strip-sec { padding-block: 0 !important; }
.strip { display: grid; gap: 12px; }
.strip-item { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 4px 12px; align-items: center; padding: 16px 18px; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface-alt); }
.strip-item > svg.i { width: 22px; height: 22px; color: var(--accent); }
.strip-item b { display: block; font-size: 15px; color: var(--text); }
.strip-item span { font-size: 13px; color: var(--text-secondary); }
.strip-links { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.strip-links .btn { font-weight: 600; }
@media (min-width: 1100px) {
  .strip { grid-template-columns: 1.15fr 1fr; }
  .strip-item { grid-template-columns: 28px minmax(0, 1fr) auto; }
  .strip-links { grid-column: auto; margin-top: 0; flex-wrap: nowrap; }
}

/* Collections: image tiles instead of more product rows (Stuller "Make a Statement This Season") */
.coll { display: grid; grid-auto-flow: column; grid-auto-columns: 62%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
.coll::-webkit-scrollbar { display: none; }
.coll li { scroll-snap-align: start; }
.coll-tile { position: relative; display: grid; aspect-ratio: 4 / 5; border-radius: var(--r-md); overflow: hidden; background: var(--tile); text-decoration: none; isolation: isolate; }
.coll-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; z-index: -1; transition: transform .45s var(--ease); }
.coll-tile:hover img { transform: scale(1.05); }
.coll-tile span { align-self: end; display: grid; gap: 3px; padding: 40px 16px 16px; font-size: 13px; line-height: 1.4; color: var(--text-secondary); background: linear-gradient(0deg, var(--tile) 55%, rgba(243, 242, 238, 0)); }
.coll-tile b { font: 700 17px/1.2 var(--font-display); color: var(--text); letter-spacing: -.01em; }
.coll-tile:hover b { color: var(--accent); }
@media (min-width: 900px) { .coll { grid-auto-flow: row; grid-template-columns: repeat(5, minmax(0, 1fr)); overflow: visible; margin: 0; padding: 0; gap: 16px; } }

/* Moissanite band without a third product row */
.moi2-grid { display: grid; gap: 24px; }
.moi2-copy { display: grid; gap: 14px; align-content: start; justify-items: start; }
.moi2-copy p { font-size: 15px; max-width: 52ch; }
.moi2-spec { display: grid; grid-template-columns: repeat(4, auto); gap: 0; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface); }
.moi2-spec div { padding: 10px 16px; border-left: 1px solid var(--border-soft); }
.moi2-spec div:first-child { border-left: 0; }
.moi2-spec dt { font-size: 12px; color: var(--text-tertiary); }
.moi2-spec dd { font: 700 16px/1.3 var(--font-display); color: var(--text); }
.moi2-h { font-size: 13px; font-weight: 600; color: var(--text-tertiary); margin-bottom: 10px; }
.moi2 .shapes { flex-wrap: wrap; margin: 0; padding: 0; overflow: visible; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.moi2 .shapes li { flex: none; }
.moi2 .shape { width: 100%; min-height: 56px; }
@media (min-width: 640px) { .moi2 .shapes { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .moi2-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: center; } }
@media (max-width: 639px) { .moi2-spec { grid-template-columns: repeat(2, 1fr); width: 100%; } .moi2-spec div:nth-child(3) { border-left: 0; } .moi2-spec div:nth-child(n+3) { border-top: 1px solid var(--border-soft); } }

/* Who we serve (Rio Grande "Account Types & Benefits") */
.serve { display: grid; gap: 12px; }
.serve-card { display: grid; grid-template-rows: auto 1fr; border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; background: var(--surface); }
.serve-card > img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; background: var(--tile); }
.serve-card > div { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px 14px; }
.serve-card ul { display: grid; gap: 7px; flex: 1; }
.serve-card li { position: relative; padding-left: 20px; font-size: 14px; color: var(--text-secondary); line-height: 1.45; }
.serve-card li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 9px; height: 5px; border: 2px solid var(--success); border-top: 0; border-right: 0; transform: rotate(-45deg); }
@media (min-width: 900px) { .serve { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }

/* Guides (WebstaurantStore "Foodservice Resources", Rio Grande Knowledge Hub) */
.guides { display: grid; grid-auto-flow: column; grid-auto-columns: 70%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
.guides::-webkit-scrollbar { display: none; }
.guides li { scroll-snap-align: start; }
.guide { display: grid; gap: 6px; text-decoration: none; color: var(--text); }
.guide img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r-md); background: var(--tile); margin-bottom: 4px; }
.guide .g-k { font-size: 12px; font-weight: 600; color: var(--accent); }
.guide b { font-size: 15.5px; line-height: 1.35; }
.guide:hover b { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.guide .g-m { font-size: 12.5px; color: var(--text-tertiary); }
@media (min-width: 900px) { .guides { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: visible; margin: 0; padding: 0; gap: 20px; } }
.strip-sec { margin-bottom: 40px; }
@media (min-width: 900px) { .strip-sec { margin-bottom: 56px; } }
.coll-tile span { grid-template-rows: auto calc(13px * 1.4 * 2); }
.coll, .guides, .cv-list { scroll-padding-inline: var(--gutter); }
@media (max-width: 899px) {
  .serve-card > img { display: none; }
  .moi2 .shapes li:nth-child(7) { grid-column: 1 / -1; }
  .strip-links .btn { flex: 1 1 auto; }
}

/* ===== Hero spread v2: tight-cropped products, price chip directly under each piece, varied scale ===== */
.hx-track { overflow-y: hidden; }
.slide { overflow: hidden; }
.spread { display: grid; grid-template-columns: 1.2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px 14px; padding: 18px 20px 20px 8px; }
.spread li { display: flex; align-items: center; justify-content: center; min-height: 0; }
.spread a { display: inline-flex; flex-direction: column; align-items: center; gap: 8px; height: auto; padding: 0; overflow: visible; border-radius: 0; text-decoration: none; }
.spread img { width: auto; height: auto; max-width: 100%; max-height: 118px; object-fit: contain; }
.spread .sp-1 img { max-height: 210px; }
.pt { position: static; transform: none; left: auto; bottom: auto; }
.spread a:hover img { transform: translateY(-3px) scale(1.03); }
.spread a:hover .pt { background: var(--text); color: #fff; }
.spread a:hover .pt small { color: rgba(255,255,255,.7); }
/* staggered placement so it reads like a laid-out table, not a grid of boxes */
.spread .sp-2 { align-items: flex-end; justify-content: flex-start; }
.spread .sp-3 { align-items: center; justify-content: flex-end; padding-top: 18px; }
.spread .sp-4 { align-items: flex-start; justify-content: center; }
.spread .sp-5 { align-items: flex-start; justify-content: flex-end; padding-top: 10px; }
.spread .sp-4 img { max-height: 130px; }
.spread .sp-5 img { max-height: 104px; }
/* moissanite slide: big studs left, bracelet + ring stacked right */
.spread-2 { grid-template-columns: 1.3fr 1fr; }
.spread-2 .sp-1 img { max-height: 120px; }
.spread-2 .sp-2 { align-items: flex-end; justify-content: center; }
.spread-2 .sp-2 img { max-height: 70px; }
.spread-2 .sp-3 { align-items: flex-start; justify-content: center; padding-top: 0; }
.spread-2 .sp-3 img { max-height: 130px; }
@media (max-width: 899px) {
  .spread { padding: 8px 16px 64px; gap: 14px 10px; min-height: 0; }
  .spread img { max-height: 78px; }
  .spread .sp-1 img { max-height: 130px; }
  .spread .sp-4 img { max-height: 84px; }
  .spread .sp-5 img { max-height: 70px; }
  .spread-2 .sp-1 img { max-height: 76px; }
  .spread-2 .sp-2 img { max-height: 44px; }
  .spread-2 .sp-3 img { max-height: 84px; }
}

/* ===== Category bento: one hero tile, one dark moissanite tile, varied sizes (less rigid than a uniform grid) ===== */
.bento { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.bento li { min-width: 0; }
.bt { position: relative; display: flex; justify-content: space-between; align-items: stretch; gap: 8px; height: 100%; min-height: 150px; padding: 16px; border-radius: var(--r-md); background: var(--tile); text-decoration: none; color: var(--text); overflow: hidden; isolation: isolate; transition: background-color .2s; }
.bt img { align-self: flex-end; width: auto; max-width: 55%; max-height: 110px; object-fit: contain; transition: transform .35s var(--ease); }
.bt:hover img { transform: translateY(-4px) rotate(-3deg) scale(1.04); }
.bt:hover { background: #ECEAE4; }
.bt-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.bt-txt b { font: 700 17px/1.2 var(--font-display); letter-spacing: -.01em; }
.bt-txt > span { font-size: 13px; color: var(--text-tertiary); font-variant-numeric: tabular-nums; }
.bt-txt em { font-style: normal; font-size: 13.5px; color: var(--text-secondary); margin-top: 6px; max-width: 22ch; }
.bt-txt i { margin-top: auto; padding-top: 10px; display: inline-flex; align-items: center; gap: 4px; font-style: normal; font-size: 13px; font-weight: 600; color: var(--accent); }
.bt-txt i svg.i { width: 14px; height: 14px; transition: transform .2s; }
.bt:hover .bt-txt i svg.i { transform: translateX(3px); }
.b-big { grid-column: 1 / -1; }
.b-big .bt { min-height: 210px; }
.b-big .bt img { max-height: 190px; max-width: 46%; }
.b-big .bt-txt b { font-size: 22px; }
.b-dark .bt { background: var(--nav); color: #fff; }
.b-dark .bt:hover { background: #28313B; }
.b-dark .bt-txt > span, .b-dark .bt-txt em { color: var(--text-on-ink-secondary); }
.b-dark .bt-txt i { color: var(--accent-on-ink); }
.b-dark .bt img { mix-blend-mode: screen; filter: invert(1) hue-rotate(180deg) brightness(1.05); }
@media (max-width: 639px) { .b-dark { grid-column: 1 / -1; } .bt { flex-direction: column; min-height: 168px; } .bt img { max-width: 100%; max-height: 72px; align-self: center; } .b-big .bt, .b-dark .bt { flex-direction: row; } .b-big .bt img, .b-dark .bt img { max-height: 120px; align-self: center; } .b-dark .bt img { max-height: 40px; max-width: 45%; } }
@media (min-width: 900px) {
  .bento { grid-template-columns: 1.5fr 1fr 1fr 1.15fr; grid-template-rows: 200px 200px; gap: 14px; }
  .b-big { grid-column: 1; grid-row: 1 / 3; }
  .b-big .bt { flex-direction: column; padding: 26px; }
  .b-big .bt img { max-height: 250px; max-width: 80%; align-self: center; margin-bottom: 4px; }
  .b-dark { grid-column: 4; grid-row: 1 / 3; }
  .b-dark .bt { flex-direction: column; padding: 26px; }
  .b-dark .bt img { max-width: 100%; max-height: 90px; align-self: center; margin-bottom: 30px; }
  .bt { padding: 20px; }
  .bt img { max-height: 140px; max-width: 52%; }
}

/* GRA-style report card inside the dark moissanite tile (HTML/CSS, sample values; real reports ship with the stones) */
.gra { display: grid; gap: 0; align-self: flex-end; width: 100%; max-width: 300px; margin: 14px auto 0; background: #FBF8F1; color: #2A2622; border-radius: 6px; box-shadow: 0 18px 36px -18px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .08); overflow: hidden; font-family: var(--font-body); text-align: left; transform: rotate(-2deg); transition: transform .35s var(--ease); }
.bt:hover .gra { transform: rotate(0) translateY(-3px); }
.gra-head { display: flex; align-items: baseline; gap: 8px; padding: 9px 12px 7px; border-bottom: 1px solid #E6DFD0; }
.gra-head b { font: 800 15px/1 var(--font-display); letter-spacing: .12em; color: #1B4D8C; }
.gra-head > span { font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: #6B645A; }
.gra-head em { margin-left: auto; font: 600 9.5px/1 var(--font-body); font-style: normal; letter-spacing: .08em; text-transform: uppercase; color: #9A5B06; background: #FCF0DC; padding: 3px 6px; border-radius: 3px; }
.gra-body { display: grid; grid-template-columns: 86px minmax(0, 1fr); gap: 12px; padding: 10px 12px; }
.gra-body img { width: 86px; height: 86px; object-fit: cover; border-radius: 4px; border: 1px solid #E6DFD0; background: #fff; }
.gra-rows { display: grid; gap: 3px; align-content: center; }
.gra-rows > span { display: grid; grid-template-columns: 50px 1fr; font-size: 11px; line-height: 1.3; color: #2A2622; font-weight: 600; }
.gra-rows i { font-style: normal; font-weight: 400; color: #8A8276; }
.gra-foot { display: flex; align-items: center; justify-content: space-between; padding: 7px 12px 9px; border-top: 1px dashed #E6DFD0; font: 500 9.5px/1 var(--font-mono); color: #6B645A; letter-spacing: .02em; }
.gra-qr { width: 22px; height: 22px; border-radius: 2px; background:
  linear-gradient(#2A2622, #2A2622) 0 0 / 7px 7px no-repeat, linear-gradient(#2A2622, #2A2622) 100% 0 / 7px 7px no-repeat, linear-gradient(#2A2622, #2A2622) 0 100% / 7px 7px no-repeat,
  repeating-linear-gradient(90deg, #2A2622 0 2px, transparent 2px 4px) 9px 9px / 13px 2px no-repeat, repeating-linear-gradient(0deg, #2A2622 0 2px, transparent 2px 4px) 9px 9px / 2px 13px no-repeat,
  linear-gradient(#2A2622, #2A2622) 13px 13px / 5px 5px no-repeat; }
.b-dark .bt .gra img { mix-blend-mode: normal; filter: none; max-height: none; margin: 0; transform: none; }
@media (max-width: 639px) { .b-dark .bt { flex-direction: column; } .gra { align-self: center; max-width: 300px; width: 100%; margin: 14px auto 2px; transform: rotate(-1.5deg); } .gra-body { grid-template-columns: 78px 1fr; } .gra-body img { width: 78px; height: 78px; } }
@media (min-width: 900px) and (max-width: 1099px) { .gra-body { grid-template-columns: 64px 1fr; } .gra-body img { width: 64px; height: 64px; } }

/* ===== Hero side tiles v3.4 (2026-10-15): wholesale objects instead of photo promos. Owner: no OEM here, push wholesale. =====
   Top: a miniature line-sheet page (the document buyers ask for first). Bottom (2026-10-15): account card replaces the dispatch board, owner found it useless; the homepage acct-band is gone with it. */
.ls-tile { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); align-items: stretch; padding: 14px 16px 0; min-height: 0; overflow: hidden; }
.hx-tile .tile-txt { display: grid; gap: 2px; padding: 0; background: none; font-size: 12px; line-height: 1.35; color: var(--text-secondary); }
.hx-tile .tile-txt b { font: 700 15px/1.25 var(--font-display); color: var(--text); }
/* line-sheet page */
.ls-page { position: relative; display: grid; grid-template-rows: auto auto auto; align-self: start; justify-self: end; width: 100%; max-width: 280px; margin-top: 6px; background: #fff; border: 1px solid var(--border); border-bottom: 0; border-radius: 4px 4px 0 0; box-shadow: 0 -8px 24px -16px rgba(var(--ink-rgb), .35); transform: rotate(-1.2deg) translateY(2px); transform-origin: top right; transition: transform .35s var(--ease); }
.ls-tile:hover .ls-page { transform: rotate(0) translateY(0); }
.ls-head { display: flex; align-items: baseline; gap: 8px; padding: 6px 10px; white-space: nowrap; border-bottom: 1px solid var(--border-soft); font-size: 9.5px; color: var(--text-tertiary); letter-spacing: .02em; }
.ls-head b { font: 800 11px/1 var(--font-display); color: var(--text); letter-spacing: -.01em; }
.ls-head em { margin-left: auto; font-style: normal; font-family: var(--font-mono); }
.ls-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 7px 10px 6px; }
.ls-grid > span { display: grid; gap: 1px; font-size: 9px; line-height: 1.2; }
.ls-grid > span:nth-child(n+5) { display: none; }
.ls-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 3px; background: var(--tile); margin-bottom: 2px; }
.ls-grid i { font-style: normal; font-family: var(--font-mono); color: var(--text-tertiary); font-size: 8.5px; }
.ls-grid u { text-decoration: none; font-weight: 700; color: var(--text); }
.ls-foot { display: flex; align-items: center; justify-content: space-between; padding: 4px 10px 5px; border-top: 1px dashed var(--border); font-size: 9.5px; color: var(--text-tertiary); }
.ls-dl { display: inline-flex; align-items: center; gap: 4px; padding: 3px 7px; border-radius: 3px; background: var(--surface-ink); color: #fff; font-weight: 600; font-size: 9.5px; }
.ls-dl svg.i { width: 10px; height: 10px; }
/* account card: logged-out pitch / signed-in shortcuts (PandaHall, Nihao, DHgate put this in the hero's right column) */
.ac-tile { display: block; min-width: 0; padding: 14px 16px; background: var(--surface); border: 1px solid var(--border); overflow: visible; }
.ac-out, .ac-in { display: flex; flex-direction: column; gap: 8px; height: 100%; }
.ac-out[hidden], .ac-in[hidden] { display: none; }
.ac-h { font: 700 15px/1.25 var(--font-display); color: var(--text); }
.ac-sub { margin-top: -6px; font-size: 12px; color: var(--text-secondary); }
.ac-list { display: grid; gap: 4px; font-size: 12.5px; color: var(--text); }
.ac-list li { display: flex; align-items: center; gap: 7px; }
.ac-list svg.i { width: 14px; height: 14px; color: var(--success); flex: none; }
.ac-btns { display: flex; gap: 6px; margin-top: auto; }
.ac-btns .btn { flex: 1 1 auto; min-width: 0; white-space: nowrap; }
.ac-out .ac-btns .btn-primary { flex-grow: 1.6; }
.ac-in { position: relative; }
.ac-in .ph-tag { position: absolute; right: -6px; top: -24px; }
.ac-who { display: flex; align-items: center; gap: 10px; }
.ac-who .cv-av { width: 32px; height: 32px; font-size: 13px; flex: none; }
.ac-who p { display: grid; font-size: 12px; color: var(--text-tertiary); line-height: 1.3; }
.ac-who b { font: 700 14.5px/1.25 var(--font-display); color: var(--text); }
.ac-order { display: grid; gap: 6px; padding: 10px; border-radius: var(--r-sm, 6px); background: var(--surface-alt); }
.ac-order p { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 13px; }
.ac-order .o-st { font-size: 12px; }
.ac-order small { font-size: 11.5px; color: var(--text-secondary); }
.ac-order .ac-btns { margin-top: 2px; }
.ac-links { display: flex; justify-content: space-between; gap: 8px; font-size: 12.5px; }
.ac-links a { display: inline-flex; align-items: center; gap: 2px; color: var(--accent); font-weight: 600; text-decoration: none; }
.ac-links a:hover { text-decoration: underline; }
.ac-links svg.i { width: 12px; height: 12px; }
@media (max-width: 899px) {
  .ls-tile { padding: 12px 12px 0; min-height: 190px; }
  .hx-tile .tile-txt { font-size: 11.5px; } .hx-tile .tile-txt b { font-size: 13.5px; }
  .ls-page { max-width: none; transform: none; }
  .ls-head span { display: none; } .ls-head em { font-size: 9px; }
  .ls-grid { grid-template-columns: repeat(3, 1fr); } .ls-grid > span:nth-child(n+4) { display: none; }
  .ac-tile { padding: 12px; }
  .ac-out, .ac-in { gap: 6px; }
  .ac-h { font-size: 13.5px; } .ac-sub { margin-top: -4px; font-size: 11px; }
  .ac-list { gap: 3px; font-size: 11.5px; } .ac-list li { align-items: flex-start; } .ac-list svg.i { margin-top: 2px; } .ac-list li:nth-child(n+3) { display: none; }
  .ac-btns { flex-direction: column; gap: 6px; } .ac-btns .btn { white-space: normal; min-height: 34px; }
  .ac-who .cv-av { display: none; } .ac-who b { font-size: 13px; } .ac-who p { font-size: 11px; }
  .ac-order { padding: 8px; gap: 4px; } .ac-order p { flex-wrap: wrap; gap: 2px 8px; font-size: 12px; }
  .ac-order small, .ac-order .btn-outline, .ac-links li:first-child { display: none; }
  .ac-in .ph-tag { position: static; order: 9; align-self: flex-start; }
  .ac-long { display: none; }
}
@media (min-width: 600px) and (max-width: 899px) {
  .ac-list li:nth-child(3) { display: flex; }
  .ac-btns { flex-direction: row; } .ac-long { display: inline; }
  .ac-order small { display: block; } .ac-order .btn-outline { display: inline-flex; }
}
@media (min-width: 900px) { .ls-tile { padding: 12px 18px 0; } .ls-page { margin-top: 6px; } }

/* ===== Collections: one feature tile + four side cards ===== */
@media (min-width: 900px) {
  .coll-v2 { grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; }
  .coll-v2 li:first-child { grid-row: 1 / 3; }
  .coll-v2 li:not(:first-child) .coll-tile { aspect-ratio: auto; height: 100%; min-height: 190px; grid-template-columns: 1fr 42%; }
  .coll-v2 li:not(:first-child) .coll-tile img { position: static; grid-column: 2; grid-row: 1; width: 100%; height: 100%; max-height: 170px; object-fit: contain; align-self: center; padding: 14px 14px 14px 0; }
  .coll-v2 li:not(:first-child) .coll-tile span { grid-column: 1; grid-row: 1; padding: 20px; background: none; align-self: end; }
  .coll-v2 li:first-child .coll-tile { aspect-ratio: auto; height: 100%; }
}
.coll-v2 .coll-tile img { object-fit: contain; padding: 24px 24px 90px; }
.coll-v2 .coll-tile { background: var(--tile); }
.coll-v2 li:nth-child(3) .coll-tile { background: #E9EEF8; }
.coll-v2 li:nth-child(3) .coll-tile span { background: none; }
.coll-v2 .coll-tile span { background: none; }
.b-dark .bt img { mix-blend-mode: normal; filter: none; background: var(--tile); border-radius: var(--r-md); padding: 16px 18px; box-sizing: content-box; max-width: calc(100% - 36px); }
.coll-v2 li:nth-child(3) .coll-tile { background: var(--tile); }
@media (max-width: 639px) { .b-dark .bt img { max-height: 48px; max-width: 42%; padding: 10px 12px; } }

/* ================= AUTH: sign in / apply (WebstaurantStore, Stuller login; Rio Grande stepped register) ================= */
.auth { padding-bottom: 64px; }
.auth-grid, .apply-grid { display: grid; gap: 16px; margin-top: 8px; }
@media (min-width: 900px) { .auth-grid { grid-template-columns: minmax(0, 520px) minmax(0, 380px); justify-content: center; gap: 24px; align-items: start; margin-top: 24px; } .apply-grid { grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; align-items: start; margin-top: 16px; } }
.auth-card, .apply-form { display: grid; gap: 18px; padding: 24px; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface); }
@media (min-width: 900px) { .auth-card, .apply-form { padding: 32px 36px; } }
.auth-form { display: grid; gap: 14px; }
.auth-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; flex-wrap: wrap; }
.pw { position: relative; }
.pw .input { padding-right: 64px; }
.pw-toggle { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); min-height: 36px; padding: 0 10px; border: 0; background: none; font-size: 13px; font-weight: 600; color: var(--accent); }
.or { display: flex; align-items: center; gap: 12px; color: var(--text-tertiary); font-size: 13px; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.track { display: grid; gap: 10px; padding-top: 18px; border-top: 1px solid var(--border); }
.track-form { display: grid; gap: 8px; }
@media (min-width: 640px) { .track-form { grid-template-columns: 1fr 1fr auto; } }
.auth-side { display: grid; gap: 14px; align-content: start; padding: 24px; border-radius: var(--r-md); background: var(--surface-alt); }
@media (min-width: 900px) { .auth-side { position: sticky; top: calc(var(--header-h) + 16px); } }
.chk-list { display: grid; gap: 9px; }
.chk-list li { position: relative; padding-left: 24px; font-size: 14.5px; color: var(--text); line-height: 1.45; }
.chk-list li::before { content: ""; position: absolute; left: 3px; top: 6px; width: 10px; height: 5px; border: 2px solid var(--success); border-top: 0; border-right: 0; transform: rotate(-45deg); }
.side-help { display: grid; gap: 10px; justify-items: start; padding-top: 14px; border-top: 1px solid var(--border); font-size: 13.5px; }
.side-help b { color: var(--text); }
.ap-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; font-size: 13px; }
.ap-steps li { display: flex; align-items: center; gap: 8px; padding-top: 10px; border-top: 3px solid var(--border); color: var(--text-tertiary); font-weight: 500; }
.ap-steps li span { width: 22px; height: 22px; flex: none; border-radius: 50%; border: 1.5px solid currentColor; display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.ap-steps .is-current, .ap-steps .is-done { border-color: var(--accent); color: var(--text); font-weight: 700; }
.ap-steps .is-current span { background: var(--accent); border-color: var(--accent); color: #fff; }
.ap-steps .is-done span { background: var(--surface); border-color: var(--accent); color: var(--accent); }
.ap-step { display: grid; gap: 16px; }
.ap-nav { display: flex; justify-content: space-between; gap: 10px; padding-top: 6px; }
.ap-nav .btn-primary:only-child { margin-left: auto; }
.ap-have { text-align: center; }
.pick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.pick-chip { position: relative; }
.pick-chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pick-chip span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--border); border-radius: 999px; font-size: 13.5px; font-weight: 500; color: var(--text); background: var(--surface); transition: border-color .12s, background-color .12s; }
.pick-chip:hover span { border-color: var(--text); }
.pick-chip input:checked + span { background: var(--surface-ink); border-color: var(--surface-ink); color: #fff; }
.pick-chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (max-width: 639px) { .ap-steps { font-size: 12px; } .ap-steps li { flex-direction: column; align-items: flex-start; gap: 4px; } }

/* ================= ACCOUNT CENTER ================= */
.acct { padding-bottom: 64px; }
.acct-grid { display: grid; gap: 20px; }
@media (min-width: 1024px) { .acct-grid { grid-template-columns: 240px minmax(0, 1fr); gap: 32px; align-items: start; } }
.acct-nav { display: grid; gap: 8px; min-width: 0; }
@media (min-width: 1024px) { .acct-nav { position: sticky; top: calc(var(--header-h) + 16px); } }
.acct-who { display: grid; grid-template-columns: 36px 1fr; gap: 10px; align-items: center; padding: 12px; border: 1px solid var(--border); border-radius: var(--r-md); }
.acct-who p { display: grid; font-size: 13px; line-height: 1.35; }
.acct-who b { color: var(--text); }
.acct-who span:not(.cv-av) { color: var(--text-tertiary); font-size: 12px; }
.acct-nav ul { display: grid; gap: 2px; }
.acct-nav ul a { display: flex; align-items: center; gap: 10px; min-height: 42px; padding: 0 12px; border-radius: var(--r-sm); font-size: 14px; font-weight: 500; color: var(--text-secondary); text-decoration: none; }
.acct-nav ul a svg.i { width: 18px; height: 18px; }
.acct-nav ul a:hover { background: var(--surface-alt); color: var(--text); }
.acct-nav ul a[aria-current="page"] { background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.acct-out { font-size: 13px; color: var(--text-tertiary); padding: 8px 12px; }
@media (max-width: 1023px) {
  .acct-nav ul { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .acct-nav ul::-webkit-scrollbar { display: none; }
  .acct-nav ul a { white-space: nowrap; border: 1px solid var(--border); border-radius: 999px; min-height: 40px; }
  .acct-nav ul a svg.i { display: none; }
  .acct-out { display: none; }
}
.acct-main { display: grid; gap: 24px; min-width: 0; }
.acct-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px; }
.acct-quick { display: flex; gap: 8px; flex-wrap: wrap; }
.stat-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 900px) { .stat-row { grid-template-columns: repeat(4, 1fr); gap: 12px; } }
.stat-row li { display: grid; gap: 2px; padding: 14px 16px; border: 1px solid var(--border); border-radius: var(--r-md); font-size: 13px; }
.stat-row span { color: var(--text-tertiary); }
.stat-row b { font: 700 22px/1.25 var(--font-display); color: var(--text); }
.stat-row b.ok { font-size: 15px; padding-block: 4px; color: var(--success); }
.acct-sec .sec-head { margin-bottom: 12px; }
.o-wrap { border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; }
.o-table { font-size: 14px; }
.o-table th { text-align: left; font-size: 12px; font-weight: 600; color: var(--text-tertiary); padding: 10px 14px; background: var(--surface-alt); border-bottom: 1px solid var(--border); }
.o-table td { padding: 12px 14px; border-bottom: 1px solid var(--border-soft); vertical-align: middle; }
.o-table tr:last-child td { border-bottom: 0; }
.o-table .num { text-align: right; font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; }
.o-date { display: block; font-size: 12.5px; color: var(--text-tertiary); }
.o-st { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; }
.o-st::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.o-st.is-ship { color: var(--accent); }
.o-st.is-done { color: var(--success); }
.o-items { display: flex; align-items: center; gap: 10px; color: var(--text-secondary); white-space: nowrap; }
.o-thumbs { display: flex; }
.o-items img { width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--surface); background: var(--tile); object-fit: cover; margin-left: -8px; }
.o-items img:first-child { margin-left: 0; }
.o-trk .mono { font-size: 12.5px; color: var(--text-secondary); }
.o-act { text-align: right; }
@media (max-width: 767px) {
  .o-table thead { display: none; }
  .o-table, .o-table tbody, .o-table tr, .o-table td { display: block; }
  .o-table tr { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; padding: 14px; border-bottom: 1px solid var(--border-soft); }
  .o-table td { padding: 0; border: 0; }
  .o-table td:nth-child(2) { text-align: right; }
  .o-table .o-trk { grid-column: 1 / -1; }
  .o-table .num { text-align: left; }
}
.again { display: grid; gap: 10px; }
@media (min-width: 900px) { .again { grid-template-columns: repeat(2, 1fr); } }
.again li { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px; border: 1px solid var(--border); border-radius: var(--r-md); }
.again img { width: 64px; height: 64px; border-radius: var(--r-sm); background: var(--tile); object-fit: cover; }
.again .mono { font-size: 12px; color: var(--text-tertiary); }
.again p { font-size: 13.5px; color: var(--text); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.again small { font-size: 12.5px; color: var(--text-tertiary); }
.acct-two { display: grid; gap: 16px; }
@media (min-width: 900px) { .acct-two { grid-template-columns: 1fr 1fr; } }
.acct-sec.box { display: grid; gap: 10px; align-content: start; padding: 18px 20px; border: 1px solid var(--border); border-radius: var(--r-md); }
.acct-sec.box .h4 { display: flex; align-items: center; gap: 8px; }
.acct-sec.box .h4 svg.i { width: 18px; height: 18px; color: var(--accent); }
.dl a { display: flex; justify-content: space-between; gap: 12px; align-items: center; min-height: 42px; border-bottom: 1px solid var(--border-soft); font-size: 14px; color: var(--text); text-decoration: none; }
.dl a:hover { color: var(--accent); }
.dl small { color: var(--text-tertiary); font-size: 12px; white-space: nowrap; }
.acct-sec address { font-style: normal; font-size: 14px; line-height: 1.6; color: var(--text); }

/* ================= REVIEWS PAGE ================= */
.rvp { padding-bottom: 64px; }
.rvp-head { padding: 8px 0 24px; }
.rvp-head .lead { margin-top: 8px; }
.rvp-grid { display: grid; gap: 20px; }
@media (min-width: 1024px) { .rvp-grid { grid-template-columns: 300px minmax(0, 1fr); gap: 36px; align-items: start; } .rvp-side { position: sticky; top: calc(var(--header-h) + 16px); } }
.rvp-side { display: grid; gap: 16px; }
.cv-bars .bar-btn { display: contents; cursor: pointer; }
.rvp-filter { display: grid; gap: 8px; }
.rvp-filter .field-label { font-size: 13px; font-weight: 600; color: var(--text); margin-top: 6px; }
.rvp-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.rvp-bar b { color: var(--text); }
.rv-list { display: grid; }
.rv { display: grid; gap: 10px; padding: 22px 0; border-bottom: 1px solid var(--border-soft); }
.rv-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.rv-date { margin-left: auto; font-size: 12.5px; color: var(--text-tertiary); }
.stars svg.i.off { fill: var(--surface-sunk); }
.rv p { font-size: 15px; line-height: 1.6; color: var(--text); max-width: 72ch; }
.rv-prod { display: inline-flex; align-items: center; gap: 8px; justify-self: start; padding: 4px 12px 4px 4px; border: 1px solid var(--border); border-radius: 999px; font-size: 13px; color: var(--text-secondary); text-decoration: none; }
.rv-prod img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; background: var(--tile); }
.rv-prod:hover { border-color: var(--text); color: var(--text); }
.rv-who { display: grid; grid-template-columns: 32px 1fr; gap: 10px; align-items: center; }
.rv-who .cv-av { width: 32px; height: 32px; font-size: 13px; }
.rv-who p { display: grid; font-size: 13px; line-height: 1.35; }
.rv-who b { color: var(--text); }
.rv-who span { color: var(--text-tertiary); font-size: 12.5px; }
.rv-reply { margin-left: 16px; padding: 12px 16px; border-left: 3px solid var(--accent); background: var(--accent-soft); border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.rv-reply b { font-size: 13px; color: var(--accent); }
.rv-reply p { font-size: 14px; margin-top: 2px; }

@media (max-width: 899px) {
  .stat-row .link, .acct-sec .link, .auth-row .link, .o-table .mono.link { display: inline-flex; align-items: center; min-height: 40px; }
  .pw-toggle { min-height: 40px; }
}

/* ===== Social sign-in (Google first, Apple second) ===== */
.social { display: grid; gap: 10px; }
.btn-social { background: var(--surface); color: var(--text); border-color: var(--border-hover); font-weight: 600; gap: 12px; }
.btn-social:hover { border-color: var(--text); background: var(--surface-alt); }
.btn-social svg.i { width: 20px; height: 20px; }
.g-logo { width: 20px; height: 20px; flex: none; }

/* ===== Account center sub pages ===== */
.o-filter { display: grid; gap: 8px; }
@media (min-width: 900px) { .o-filter { grid-template-columns: minmax(0, 1fr) 200px 200px; } }
.o-filter .dd { display: block; }
.o-st.is-ref { color: var(--text-tertiary); }
.o-act { white-space: nowrap; }
.od-meta { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--border-soft); overflow: hidden; }
@media (min-width: 900px) { .od-meta { grid-template-columns: repeat(4, 1fr); } }
.od-meta div { display: grid; gap: 2px; padding: 12px 16px; background: var(--surface); font-size: 13px; }
.od-meta span { color: var(--text-tertiary); }
.od-meta b { color: var(--text); font-size: 14.5px; }
.od-track { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin-top: 6px; }
.od-track li { display: grid; gap: 2px; padding-top: 12px; border-top: 3px solid var(--border); font-size: 12.5px; color: var(--text-tertiary); }
.od-track li b { font-size: 13px; font-weight: 600; }
.od-track li.is-done { border-color: var(--success); color: var(--text-secondary); }
.od-track li.is-done b { color: var(--text); }
@media (max-width: 639px) { .od-track { grid-template-columns: 1fr; gap: 0; } .od-track li { border-top: 0; border-left: 3px solid var(--border); padding: 4px 0 10px 12px; } .od-track li.is-done { border-color: var(--success); } }
.od-item { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 12px; align-items: center; }
.od-item img { width: 48px; height: 48px; border-radius: var(--r-sm); background: var(--tile); object-fit: cover; }
.od-item .mono { font-size: 12px; color: var(--text-tertiary); }
.od-item p { font-size: 13.5px; color: var(--text); line-height: 1.35; }
.od-item small { font-size: 12.5px; color: var(--text-secondary); }
.od-table .num { white-space: nowrap; }
@media (max-width: 767px) { .od-table tr { grid-template-columns: 1fr auto auto; } .od-table td:first-child { grid-column: 1 / -1; } .od-table td:nth-child(2) { text-align: left; } .od-table td:nth-child(2)::before { content: "Qty "; color: var(--text-tertiary); font-weight: 400; } }
.od-help { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px; border-radius: var(--r-md); background: var(--surface-alt); font-size: 14px; }
.od-help b { color: var(--text); }
.od-help > div { display: flex; gap: 8px; flex-wrap: wrap; }
.addr-grid { display: grid; gap: 12px; }
@media (min-width: 900px) { .addr-grid { grid-template-columns: repeat(2, 1fr); } }
.addr { display: grid; gap: 10px; align-content: start; padding: 18px 20px; border: 1px solid var(--border); border-radius: var(--r-md); font-size: 14px; }
.addr.is-def { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.addr-t { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--text); }
.addr address { font-style: normal; line-height: 1.6; color: var(--text-secondary); }
.addr > div { display: flex; gap: 16px; }
.addr-new { border-style: dashed; place-items: center; min-height: 160px; }
.addr-new a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--accent); text-decoration: none; }
.doc { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border-soft); }
.doc-ic { width: 40px; height: 40px; border-radius: var(--r-sm); background: var(--surface-alt); display: grid; place-items: center; }
.doc-ic svg.i { width: 20px; height: 20px; color: var(--text-secondary); }
.doc div { display: grid; font-size: 13px; line-height: 1.4; }
.doc b { color: var(--text); font-size: 14px; }
.doc span:not(.doc-ic):not(.cv-av) { color: var(--text-tertiary); }
.doc .cv-av { width: 40px; height: 40px; }
.acct-sec.box .co-grid { margin-top: 4px; }
.acct-sec.box .check { min-height: 40px; }

/* ===== Prototype page list ===== */
.pi { padding-block: 40px 64px; display: grid; gap: 20px; max-width: 880px; }
.pi-g ul { display: grid; border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; margin-top: 8px; }
.pi-g a { display: flex; justify-content: space-between; gap: 12px; align-items: center; min-height: 48px; padding: 0 16px; border-bottom: 1px solid var(--border-soft); text-decoration: none; color: var(--text); font-weight: 500; }
.pi-g li:last-child a { border-bottom: 0; }
.pi-g a:hover { background: var(--surface-alt); color: var(--accent); }
.pi-g small { font: 500 12px/1 var(--font-mono); color: var(--text-tertiary); }

@media (max-width: 899px) {
  .dl small { white-space: normal; text-align: right; }
  .addr > div .link { display: inline-flex; align-items: center; min-height: 40px; }
  .addr-new a { min-height: 44px; }
}

/* ================= BUYER REVIEWS (approved rows only) =================
   Card stars + count: Wholesale Sparkle / WJW cards. PDP badge next to the SKU: Sparkle.
   PDP block: WJW (Judge.me) score + breakdown beside the list. Account form: our own. */
.crate { display: flex; align-items: center; gap: 6px; margin-top: -2px; font-size: 12px; color: var(--text-tertiary); font-variant-numeric: tabular-nums; }
.crate .stars svg.i { width: 13px; height: 13px; }
.rate-badge { display: inline-flex; align-items: center; gap: 5px; padding: 2px 0; font-size: 13px; color: var(--text-secondary); text-decoration: none; font-variant-numeric: tabular-nums; }
.rate-badge .stars svg.i { width: 15px; height: 15px; }
.rate-badge b { color: var(--text); font-weight: 600; }
.rate-badge:hover span { color: var(--accent); text-decoration: underline; }
.pdp-rv { padding-block: 8px 56px; scroll-margin-top: calc(var(--header-h) + 12px); }
.pdp-rv-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; padding-top: 32px; margin-bottom: 18px; border-top: 1px solid var(--border); }
.pdp-rv-head .muted { font-size: 14px; }
.pdp-rv .rv-list { border-top: 1px solid var(--border); }
.pdp-rv .rv:first-child { padding-top: 18px; }
.pdp-rv-more { padding-top: 20px; }
.rv { scroll-margin-top: calc(var(--header-h) + 12px); }
.rv .rv-body { white-space: pre-line; }
.rvp-sort { display: flex; align-items: center; gap: 2px; font-size: 13px; }
.rvp-sort .sort-l { color: var(--text-tertiary); margin-right: 6px; }
.rvp-sort a { display: inline-flex; align-items: center; min-height: 32px; padding: 0 10px; border-radius: 999px; color: var(--text-secondary); text-decoration: none; }
.rvp-sort a:hover { color: var(--text); background: var(--surface-alt); }
.rvp-sort a[aria-current] { background: var(--surface-ink); color: var(--text-on-ink); }
.cv-bars a.bar-btn { display: contents; color: inherit; text-decoration: none; }
.cv-bars li:has(a.bar-btn):hover { color: var(--text); }
.cv-bars li:has(a.bar-btn):hover .bar i { background: var(--accent); }
@media (max-width: 899px) {
  .pdp-rv-head { padding-top: 24px; }
  .pdp-rv .cv-score { padding: 16px; }
  .rvp-bar { flex-wrap: wrap; }
  .rvp-sort .sort-l { display: none; }
  .rvp-sort a { min-height: 40px; }
  .rv-reply { margin-left: 0; }
}

/* account: review actions, lists and the form */
.od-rv { display: inline-flex; align-items: center; gap: 5px; margin-top: 6px; font-size: 13px; font-weight: 600; color: var(--accent); text-decoration: none; }
.od-rv svg.i { width: 15px; height: 15px; }
.od-rv:hover { text-decoration: underline; }
.od-rv-st { display: flex; align-items: center; gap: 10px; margin-top: 6px; font-size: 13px; }
.rv-st { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.rv-st::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.rv-st.is-ok { color: var(--success); }
.rv-st.is-wait { color: var(--warning); }
.rv-st.is-off { color: var(--text-tertiary); }
.acct-lede { max-width: 68ch; margin-bottom: 4px; font-size: 14px; }
.rv-acct-h { display: flex; align-items: baseline; gap: 8px; margin-bottom: 12px; }
.rv-acct-h .muted { font-weight: 500; font-size: 14px; }
.rv-acct-h .count { margin-left: auto; min-width: 24px; padding: 1px 8px; border-radius: 999px; background: var(--surface-alt); font-size: 12px; font-weight: 600; color: var(--text-secondary); text-align: center; font-variant-numeric: tabular-nums; }
.again.rv-lines small a { color: inherit; }
.rv-mine { display: grid; border-top: 1px solid var(--border); }
.rv-mine > li { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; align-items: start; padding: 18px 0; border-bottom: 1px solid var(--border-soft); }
.rv-mine img { width: 64px; height: 64px; border-radius: var(--r-sm); background: var(--tile); object-fit: cover; }
.rv-mine-b { display: grid; gap: 6px; min-width: 0; }
.rv-mine-b > .mono { font-size: 12px; color: var(--text-tertiary); }
.rv-mine-b > p:first-of-type { font-size: 13.5px; color: var(--text); }
.rv-mine-b > p a { color: inherit; text-decoration: none; }
.rv-mine-b > small { font-size: 12.5px; color: var(--text-tertiary); }
.rv-mine-b > small a { color: inherit; }
.rv-mine-r { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.rv-mine-r .stars svg.i { width: 15px; height: 15px; }
.rv-mine-r b { font-size: 14px; color: var(--text); }
.rv-mine-body { font-size: 14px; line-height: 1.55; color: var(--text-secondary); white-space: pre-line; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.rv-mine-a { display: grid; justify-items: end; gap: 8px; }
.rv-form-wrap { display: grid; gap: 14px; max-width: 760px; }
.rv-form-item.again { grid-template-columns: 1fr; }
.rv-form-li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface-alt); }
.rv-form-li small a { color: inherit; }
.rv-form { display: grid; gap: 16px; padding: 22px; }
.rv-form .field label { font-weight: 600; }
.rate-field { border: 0; margin: 0; padding: 0; min-width: 0; }
.rate-field legend { padding: 0; margin-bottom: 6px; font-size: 14px; font-weight: 600; color: var(--text); }
.rate-in { display: flex; align-items: center; gap: 2px; }
.rate-in input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.rate-in label { display: grid; place-items: center; width: 44px; height: 44px; margin-left: -4px; border-radius: var(--r-sm); cursor: pointer; color: var(--surface-sunk); transition: color .1s, transform .1s; }
.rate-in label:first-of-type { margin-left: -8px; }
.rate-in label svg.i { width: 32px; height: 32px; fill: currentColor; stroke: none; }
.rate-in input:checked + label, .rate-in label:has(~ input:checked) { color: #E4A11B; }
.rate-in:hover label { color: var(--surface-sunk); }
.rate-in:hover label:hover, .rate-in:hover label:has(~ label:hover) { color: #E4A11B; }
.rate-in label:active { transform: scale(.92); }
.rate-in input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: -2px; }
.rate-cap { margin-left: 10px; font-size: 14px; font-weight: 600; color: var(--text); }
.rate-in:has(#rate-1:checked) .rate-cap::after { content: "Poor"; }
.rate-in:has(#rate-2:checked) .rate-cap::after { content: "Fair"; }
.rate-in:has(#rate-3:checked) .rate-cap::after { content: "Good"; }
.rate-in:has(#rate-4:checked) .rate-cap::after { content: "Very good"; }
.rate-in:has(#rate-5:checked) .rate-cap::after { content: "Excellent"; }
.rate-field.has-err legend { color: var(--error); }
@media (max-width: 899px) {
  .rv-mine > li { grid-template-columns: 48px minmax(0, 1fr); }
  .rv-mine img { width: 48px; height: 48px; }
  .rv-mine-a { grid-column: 2; justify-items: start; grid-auto-flow: column; align-items: center; gap: 12px; }
  .rv-form { padding: 16px; }
  .again.rv-lines li { grid-template-columns: 56px minmax(0, 1fr); }
  .again.rv-lines img { width: 56px; height: 56px; }
  .again.rv-lines .btn { grid-column: 2; justify-self: start; }
}
.rate-badge.is-narrow { display: none; }
@media (max-width: 899px) { .rate-badge.is-wide { display: none; } .rate-badge.is-narrow { display: inline-flex; margin-top: -4px; justify-self: start; } }
.pdp-rv:not(:has(.rvp-grid)) { padding-bottom: 32px; } .pdp-rv:not(:has(.rvp-grid)) .pdp-rv-head { margin-bottom: 0; }
.rv-prod { max-width: 100%; min-width: 0; } .rv-prod span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 899px) { .rv-mine-r { flex-direction: column; align-items: flex-start; gap: 4px; } }
.od-item .od-rv { display: flex; width: max-content; }

/* one-page checkout title (no step bar) */
.co-title { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 4px 0 20px; }
.co-title .h2 { margin: 0; }

/* ---- simpler buy → cart → checkout (owner, 2026-10-16): one primary action per screen ---- */
/* PDP: sample / customize as text links; "added" = Checkout button + View cart link */
.buy-2 { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 10px; font-size: 14px; color: var(--text-tertiary); }
.buy-2 .link-btn { padding: 0; border: 0; background: none; font: inherit; font-size: 14px; cursor: pointer; }
.added > div { display: flex; align-items: center; gap: 16px; }
.added > div .btn { flex: 1; }
@media (max-width: 767px) { .matrix .sku { display: none; } }
/* cart: items first, summary after; quick add folded; no tools or second CTA on phones */
.qa-box { display: block; padding: 0; }
.qa-box > summary { list-style: none; cursor: pointer; padding: 14px 16px; }
.qa-box > summary::-webkit-details-marker { display: none; }
.qa-box > summary .h4 { display: flex; align-items: center; gap: 8px; }
.qa-box > summary .h4::after { content: "+"; margin-left: auto; font-weight: 400; color: var(--text-tertiary); }
.qa-box[open] > summary .h4::after { content: "−"; }
.qa-box > .qa-help, .qa-box > .qa-form { padding: 0 16px 14px; }
.qa-help { font-size: 13px; color: var(--text-secondary); }
@media (min-width: 1100px) { .qa-box { grid-template-columns: none; } }
@media (max-width: 1023px) {
  .cart-layout { flex-direction: column; }
  .cart-side .btn-block[data-to-checkout] { display: none; }
}
@media (max-width: 767px) {
  .cart-tools { display: none; }
  .g-sum .text-btn { display: none; }
  .v-row .sku { display: none; }
  .page-cart .crumbs { display: none; }
}
/* checkout: a method's details show only once it is chosen */
.co-sec .seg:not(.co-addrs) input:not(:checked) + .seg-box small { display: none; }
.co-sec .seg:not(.co-addrs) input:not(:checked) + .seg-box .marks { display: none; }
.co-sec { gap: 14px; }
@media (max-width: 767px) { .co-grid { gap: 12px; } .co-sec { padding: 16px; } }

/* PDP: price-by-quantity sits under Add to cart (owner, 2026-10-16); long size lists fold */
.buy-actions + .price-block { padding-top: 0; }
.price-block .field-label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 600; color: var(--text); }
.matrix tr.is-folded { display: none !important; }

/* ---- UI polish (owner, 2026-10-16): quieter tools, filled inputs, accent fold toggle, calmer PDP ---- */
/* fold toggle: accent pill, icon and text on one centre line */
.mx-more { display: flex; align-items: center; justify-content: center; gap: 6px; width: fit-content; min-height: 36px; margin: 12px auto 4px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font: 600 13.5px/1 var(--font-body); cursor: pointer; transition: background-color .15s; }
.mx-more > span { line-height: 1; }
.mx-more svg.i { display: block; width: 16px; height: 16px; transition: transform .2s var(--ease); }
.mx-more[aria-expanded="true"] svg.i { transform: rotate(180deg); }
.mx-more:hover { background: rgba(var(--accent-rgb), .14); }
@media (prefers-reduced-motion: reduce) { .mx-more svg.i { transition: none; } }

/* category header tools: small, quiet, one row */
.cat-actions { gap: 6px; }
.cat-actions .btn, .m-tools .btn { min-height: 36px; padding: 0 12px; gap: 6px; border: 0; box-shadow: none; background: var(--surface-alt); color: var(--text-secondary); font-size: 13px; font-weight: 500; border-radius: 999px; }
.cat-actions .btn:hover, .m-tools .btn:hover { background: var(--surface-sunk); color: var(--text); }
.cat-actions .btn svg.i, .m-tools .btn svg.i { width: 15px; height: 15px; }
.cat-actions .muted { display: none; }

/* toolbar inputs: filled until focused */
.toolbar .input, .toolbar .dd-btn { min-height: 40px; border-color: transparent; background: var(--surface-alt); font-size: 14px; }
.toolbar .input:hover, .toolbar .dd-btn:hover { border-color: var(--border); }
.toolbar .input:focus { background: var(--surface); border-color: var(--accent); }
.toolbar .dd.is-open .dd-btn { background: var(--surface); }
.toolbar .filters-open { min-height: 40px; border-color: transparent; background: var(--surface-alt); box-shadow: none; }
.toolbar .filters-open:hover { background: var(--surface-sunk); }
.toolbar { border-bottom-color: var(--border-soft); }
.sort .sort-l { color: var(--text-tertiary); }

/* PDP: smaller title, calmer buy box */
.pdp-title { font-size: clamp(22px, 2vw, 28px); font-weight: 600; line-height: 1.22; letter-spacing: -.01em; max-width: 30ch; }
.sku-line .copy { border-radius: 6px; }
.buy { gap: 16px; }
.avail { border-block-color: var(--border-soft); }
.plating-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.plating-tabs .chip { border-radius: 8px; }
.matrix-total { border-radius: 8px; }
.fulfil { border-radius: 10px; }
.pdp-title-sub { display: block; margin-top: 6px; font: 400 15px/1.4 var(--font-body); letter-spacing: 0; color: var(--text-tertiary); }
@media (max-width: 767px) {
  /* size rows: size + stock on the left, stepper on the right; line total only once a quantity is set */
  .matrix tr { grid-template-areas: "size step" "stock step"; align-items: center; row-gap: 0; padding: 8px 0; }
  .matrix tr td:nth-child(5) { display: none; }
  .matrix tr.has-qty { grid-template-areas: "size step" "stock line"; row-gap: 4px; }
  .matrix tr.has-qty td:nth-child(5) { display: block; }
  .matrix td:nth-child(2) { font-size: 12px; }
}
@media (max-width: 767px) {
  /* prices differ by size (synced products): show each row's price next to its stock */
  .matrix.is-vp tr { grid-template-columns: auto 1fr auto; grid-template-areas: "size size step" "stock price step"; column-gap: 8px; }
  .matrix.is-vp tr.has-qty { grid-template-areas: "size size step" "stock price line"; }
  .matrix.is-vp td:nth-child(3) { display: block; grid-area: price; font-size: 12px; color: var(--text-secondary); }
  .matrix.is-vp td:nth-child(3)::before { content: "· "; color: var(--text-tertiary); }
}
.plating-tabs .chip small:empty { display: none; }
/* PDP option tabs: selected = soft accent fill + accent ring, never solid black (owner, 2026-10-16) */
.plating-tabs .chip { background: var(--surface); border-color: var(--border); color: var(--text); }
.plating-tabs .chip:hover { border-color: var(--border-hover); }
.plating-tabs .chip.is-active, .plating-tabs .chip[aria-checked="true"] { background: var(--accent-soft); border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); color: var(--text); }
.plating-tabs .chip.is-active small { color: var(--accent); }
.plating-tabs .chip small { color: var(--text-tertiary); }
/* single-option synced products: each colour row carries its photo */
.matrix td:first-child:has(.row-img) { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 10px; align-items: center; }
.matrix .row-img { grid-row: span 2; width: 40px; height: 40px; border-radius: 6px; object-fit: cover; background: var(--tile); border: 1px solid var(--border-soft); }
/* category intro: "Read more" follows the text, in grey (owner, 2026-10-16) */
.cat-intro .cat-lede { flex: 0 1 auto; }
.cat-intro .text-btn { color: var(--text-tertiary); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--border-hover); }
.cat-intro .text-btn:hover { color: var(--text); text-decoration-color: currentColor; }

/* ===== Homepage, copy review 2026-10-18: identity hero, price points, order cost, moissanite by size ===== */
/* Hero: two slides, full width (no side column); the H1 is the identity sentence, so it runs wider */
@media (min-width: 900px) {
  .hx.hx-solo { grid-template-columns: minmax(0, 1fr); }
  .hx-solo .s-drop { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
  .hx-solo .s-drop .s-copy { padding-right: 32px; }
}
.s-drop .h1 { max-width: 21ch; font-size: clamp(26px, 2.6vw, 40px); }
.s-sub { font-size: 15.5px; line-height: 1.55; color: var(--text-secondary); max-width: 52ch; }
.s-sub b { color: var(--text); font-weight: 600; white-space: nowrap; }
.s-proof { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 4px 0 0; padding: 0; list-style: none; font-size: 13.5px; color: var(--text-secondary); }
.s-proof li { display: inline-flex; align-items: center; gap: 6px; }
.s-proof .i { width: 15px; height: 15px; color: var(--accent); flex: none; }
.s-proof a { color: inherit; text-decoration: underline; text-decoration-color: var(--border); text-underline-offset: 3px; }
.s-proof a:hover { color: var(--text); }
@media (max-width: 899px) { .s-proof { font-size: 12.5px; gap: 4px 12px; } }
@media (max-width: 899px) { .s-sub { font-size: 14.5px; } }

/* Newest styles: quick order line + "see all" under the row */
.new-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--border-soft); }
.new-foot p { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--text-secondary); max-width: 70ch; }
.new-foot p svg.i { flex: none; width: 20px; height: 20px; margin-top: 1px; color: var(--accent); }
@media (max-width: 639px) { .new-foot .btn { width: 100%; } }

/* Shop by price point: category x wholesale band, counts link to the filtered listing */
.pp-wrap { border: 1px solid var(--border); border-radius: var(--r-md); overflow-x: auto; background: var(--surface); }
.pp { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.pp th, .pp td { padding: 12px 16px; border-bottom: 1px solid var(--border-soft); text-align: center; vertical-align: middle; }
.pp thead th { background: var(--surface-alt); border-bottom: 1px solid var(--border); font-weight: 400; }
.pp thead th b { display: block; font: 700 15px/1.25 var(--font-display); color: var(--text); letter-spacing: -.01em; }
.pp thead th span { display: block; margin-top: 2px; font-size: 12px; color: var(--text-tertiary); }
.pp thead th:first-child, .pp tbody th { text-align: left; }
.pp thead th:first-child { font-size: 12px; color: var(--text-tertiary); vertical-align: bottom; }
.pp tbody th { font-weight: 400; }
.pp tbody th a { font-size: 14px; font-weight: 600; color: var(--text); text-decoration: none; }
.pp tbody th a:hover { color: var(--accent); }
.pp tbody th span { margin-left: 6px; font-size: 12px; color: var(--text-tertiary); }
.pp td a { display: inline-grid; place-items: center; min-width: 44px; min-height: 36px; padding: 0 10px; border-radius: var(--r-sm); font: 600 15px/1 var(--font-body); color: var(--text); text-decoration: none; transition: background-color .15s, color .15s; }
.pp td a:hover { background: var(--accent-soft); color: var(--accent); }
.pp-0 { color: var(--text-tertiary); }
.pp tbody tr:last-child th, .pp tbody tr:last-child td { border-bottom: 0; }
.pp tr.pp-all th, .pp tr.pp-all td { background: var(--surface-alt); border-top: 1px solid var(--border); }
@media (max-width: 639px) {
  .pp th, .pp td { padding: 10px 4px; }
  .pp thead th:first-child, .pp tbody th { padding-left: 12px; }
  .pp thead th b { font-size: 13px; }
  .pp thead th span { font-size: 11px; }
  .pp tbody th a { font-size: 13px; }
  .pp tbody th span { display: block; margin: 2px 0 0; }
  .pp td a { min-width: 36px; padding: 0 6px; font-size: 14px; }
}

/* Moissanite: largest-stone bands under the shapes */
.ct-bands { width: 100%; border-collapse: collapse; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface); font-variant-numeric: tabular-nums; font-size: 14px; }
.ct-bands th, .ct-bands td { padding: 10px 16px; border-bottom: 1px solid var(--border-soft); text-align: right; }
.ct-bands th:first-child { text-align: left; }
.ct-bands thead th { font-size: 12px; font-weight: 500; color: var(--text-tertiary); background: var(--surface-alt); }
.ct-bands tbody th { font-weight: 600; color: var(--text); }
.ct-bands tbody tr:last-child th, .ct-bands tbody tr:last-child td { border-bottom: 0; }
.moi2-shapes .shapes { margin-bottom: 22px; }

/* What an order costs you */
.oc { display: grid; gap: 22px; }
.oc-head { display: grid; gap: 12px; align-content: start; }
.oc-head p { font-size: 15px; line-height: 1.6; color: var(--text-secondary); max-width: 52ch; }
.oc-head b { color: var(--text); }
.oc-head .oc-note { font-size: 13px; color: var(--text-tertiary); padding-left: 12px; border-left: 2px solid var(--border); }
.oc-wrap { border: 1px solid var(--border); border-radius: var(--r-md); overflow-x: auto; background: var(--surface); }
.oc-t { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: 14px; }
.oc-t th, .oc-t td { padding: 11px 16px; border-bottom: 1px solid var(--border-soft); text-align: right; white-space: nowrap; }
.oc-t thead th { background: var(--surface-alt); border-bottom: 1px solid var(--border); font: 700 15px/1.25 var(--font-display); color: var(--text); }
.oc-t thead td { background: var(--surface-alt); border-bottom: 1px solid var(--border); }
.oc-t tbody th { text-align: left; font-weight: 500; color: var(--text-secondary); white-space: normal; }
.oc-t tbody th small { display: block; font-size: 12px; font-weight: 400; color: var(--text-tertiary); }
.oc-t td small { font-size: 12px; color: var(--text-tertiary); }
.oc-t td { color: var(--text); }
.oc-t tr.oc-sum th, .oc-t tr.oc-sum td { font-weight: 600; color: var(--text); border-top: 1px solid var(--border); }
.oc-t tr.oc-key th, .oc-t tr.oc-key td { background: var(--accent-soft); font-weight: 700; color: var(--text); }
.oc-t tr.oc-key td { font: 700 17px/1.2 var(--font-display); }
.oc-t tbody tr:last-child th, .oc-t tbody tr:last-child td { border-bottom: 0; }
@media (min-width: 1024px) { .oc { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 48px; align-items: start; } }
@media (max-width: 639px) {
  .oc-t { font-size: 13px; }
  .oc-t th, .oc-t td { padding: 10px 8px; }
  .oc-t tbody th { padding-left: 12px; }
  .oc-t td small { display: block; }
  .oc-t thead th { font-size: 13px; }
  .oc-t tr.oc-key td { font-size: 15px; }
}

/* Factory: fact row, then the two manufacturing services */
.serve-2 { margin-top: 28px; }
.serve-card > div > p { flex: 1; font-size: 14px; line-height: 1.55; color: var(--text-secondary); }
@media (min-width: 900px) { .serve.serve-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 40px; } .serve-2 .serve-card { grid-template-columns: 220px minmax(0, 1fr); grid-template-rows: auto; } .serve-2 .serve-card > img { height: 100%; aspect-ratio: auto; } }

/* FAQ: guide links under the answers */
.faq-guides { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 18px; font-size: 14px; }
.faq-guides span { color: var(--text-tertiary); }
/* homepage fixes 2026-10-18 (screenshot review) */
.moi3-photo { display: block; width: 100%; max-width: 360px; margin-top: 10px; border-radius: var(--r-md); overflow: hidden; background: var(--tile); }
.moi3-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .45s var(--ease); }
.moi3-photo:hover img { transform: scale(1.04); }
@media (min-width: 1024px) { .moi2-grid { align-items: start; } .moi2-copy { position: sticky; top: 96px; } }
@media (max-width: 1023px) { .moi3-photo { display: none; } }
.ab-home p { flex-wrap: wrap; row-gap: 2px; }
.ab-home .ab-order a { margin-left: 2px; }
@media (max-width: 899px) {
  .ab-home .container { gap: 8px; }
  .ab-home p { display: flex; width: 100%; font-size: 13px; }
  .ab-home .ab-hi:not(.ab-keep), .ab-home .ab-q { display: none; }
}
@media (max-width: 639px) {
  .oc-t { font-size: 12.5px; }
  .oc-t th, .oc-t td { padding: 9px 6px; }
  .oc-t tbody th { padding-left: 10px; }
  .oc-t td:last-child, .oc-t thead th:last-child { padding-right: 10px; }
  .oc-t thead th { font-size: 14px; }
  .oc-ord { display: none; }
  .oc-t tr.oc-key td { font-size: 14px; }
}
/* moissanite shape tiles: count/price wraps under the name, nothing wider than the tile */
.moi2 .shapes li, .moi2 .shape, .moi2 .shape span { min-width: 0; }
.moi2 .shape small { display: block; white-space: normal; overflow-wrap: anywhere; }
@media (max-width: 639px) {
  .moi2 .shape { gap: 8px; padding: 8px 10px 8px 8px; }
  .moi2 .shape-ic { width: 22px !important; height: 22px !important; flex: none; }
}

/* ---- entity pages: computed tables and lists (rv-company, copy round 3 2026-10-18) ---- */
.ent-grid .qtable { width: 100%; font-variant-numeric: tabular-nums; }
.ent-grid thead th { background: var(--surface-alt); font-weight: 600; color: var(--text); white-space: nowrap; }
.ent-grid tbody th { font-weight: 500; color: var(--text); }
.ent-grid tbody tr:last-child th, .ent-grid tbody tr:last-child td { border-bottom: 0; }
.ent-grid tr.is-sum th, .ent-grid tr.is-sum td { font-weight: 700; background: var(--accent-soft); }
.ent-note { margin-top: 10px; max-width: 72ch; font-size: 13.5px; line-height: 1.55; color: var(--text-tertiary); }
.ent-list { display: grid; gap: 0; border-top: 1px solid var(--border); }
.ent-list li { padding: 12px 0; border-bottom: 1px solid var(--border-soft); font-size: 14.5px; line-height: 1.5; color: var(--text); }
.tsum dd b a.link { color: inherit; }
@media (max-width: 639px) {
  .ent-grid { overflow: visible; border: 0; border-radius: 0; }
  .ent-grid .qtable { min-width: 0; }
  .ent-grid thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .ent-grid tbody, .ent-grid tr, .ent-grid th, .ent-grid td { display: block; }
  .ent-grid tbody { display: grid; gap: 10px; }
  .ent-grid tr { border: 1px solid var(--border); border-radius: var(--r-md); padding: 4px 14px; background: var(--surface); }
  .ent-grid tbody th { padding: 10px 0 8px; border-bottom: 1px solid var(--border-soft); font-weight: 600; }
  .ent-grid td { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px solid var(--border-soft); text-align: right; }
  .ent-grid td::before { content: attr(data-l); flex: none; max-width: 45%; text-align: left; font-size: 13px; color: var(--text-tertiary); }
  .ent-grid tr td:last-child { border-bottom: 0; }
  .ent-grid tbody tr:last-child th { border-bottom: 1px solid var(--border-soft); }
  .ent-grid tr.is-sum { border-color: var(--text); }
}
@media (max-width: 639px) {
  .ent-grid.is-prose td { display: block; text-align: left; }
  .ent-grid.is-prose td::before { display: block; max-width: none; margin-bottom: 2px; }
}
@media (min-width: 640px) { .ent-grid.is-prose td { min-width: 160px; } }
/* ---- end entity pages ---- */

/* ===== Hero spread, live styles (2026-11-11): each pick is the style's own first photo, which
   may be a white packshot or a lifestyle shot, so every photo is a square card (cover crop,
   rounded, hairline shadow) keeping the staggered sizes of the cut-out layout. ===== */
.spread-live img { aspect-ratio: 1; width: 132px; height: 132px; max-width: 100%; max-height: none; object-fit: cover; border-radius: var(--r-sm); background: #fff; box-shadow: 0 1px 2px rgba(var(--ink-rgb), .08), 0 6px 18px -8px rgba(var(--ink-rgb), .22); }
.spread-live .sp-1 img { width: 232px; height: 232px; }
.spread-live .sp-4 img { width: 148px; height: 148px; }
.spread-live .sp-5 img { width: 120px; height: 120px; }
@media (max-width: 899px) {
  .spread-live { gap: 12px 10px; }
  .spread-live img { width: 92px; height: 92px; }
  .spread-live .sp-1 img { width: 138px; height: 138px; }
  .spread-live .sp-4 img { width: 100px; height: 100px; }
  .spread-live .sp-5 img { width: 86px; height: 86px; }
}
/* no live style qualifies: the copy takes the whole slide */
@media (min-width: 900px) { .hx-solo .s-drop.s-nospread { grid-template-columns: minmax(0, 1fr); } }
