/* Shared tokens, components, then responsive adaptations. */

@font-face {
  font-family: Manrope;
  src: url('assets/manrope-latin.woff2') format('woff2');
  font-weight: 200 800;
  font-display: swap;
}
:root {
  --paper: #fafaf8;
  --ink: #232a24;
  --muted: #596159;
  --line: #d9dcd5;
  --accent: #d5eba3;
  font-family: Manrope,Arial,sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  --stock: #375331;
  --stock-dot: #5b7742;
  --low-stock: #795416;
  --report: #3c572f;
  --qualification: #665240;
  --qualification-bg: #f5eddf;
  --notice-bg: #eff1e8;
  --control-border: #798572;
  --gutter: 3.3%;
  --target: 44px;
  /* Readability floor, 6 November 2026: no text below --text-label. */
  --text-label: 13px;
  --text-meta: 14px;
  --text-small: 15px;
  --text-body: 16px;
  --text-lead: 18px;
  --leading-body: 1.6;
}
html:lang(km) { --leading-body: 1.85; }
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button,input,select {
  font: inherit;
}
button {
  cursor: pointer;
}
a,button,input {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}
::selection {
  background: var(--accent);
}
[hidden] {
  display: none!important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}
.skip-link {
  position: fixed;
  z-index: 20;
  left: 12px;
  top: -60px;
  padding: 12px 20px;
  background: var(--ink);
  color: var(--paper);
}
.skip-link:focus {
  top: 12px;
}
.site-header {
  min-height: 93px;
  padding: 0 var(--gutter);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.language-control { display: inline-flex; flex-shrink: 0; }
.language-select {
  min-height: 44px;
  max-width: 100%;
  padding: 8px 28px 8px 12px;
  border: 1px solid var(--control-border);
  border-radius: 4px;
  color: var(--ink);
  background: var(--paper);
  cursor: pointer;
  font-size: var(--text-body);
}
.welcome-dialog .language-control { margin: 0 44px 20px 0; }
:lang(km) { font-family: "Noto Sans Khmer", "Khmer OS System", "Leelawadee UI", sans-serif; letter-spacing: normal; }
:lang(ja) { font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif; }
:lang(zh-Hans) { font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif; }
html:lang(km) :is(h1, h2, h3), html:lang(km) .welcome-dialog h2, html:lang(km) .library-lead h1 { line-height: 1.6; letter-spacing: normal; }
html:not(:lang(en)) .main-nav { flex-wrap: wrap; gap: 8px 18px; }
html:not(:lang(en)) .category-heading, html:not(:lang(en)) .tools { flex-wrap: wrap; }
@media (max-width: 1200px) {
  .site-header { flex-wrap: wrap; gap: 12px 20px; padding-top: 16px; padding-bottom: 16px; }
  .site-header .main-nav { order: 3; width: 100%; }
}
@media (max-width: 640px) {
  .site-header .main-nav { order: 0; width: auto; margin-right: 0; }
  .site-header .language-control { margin-left: auto; }
  .site-header .wordmark { font-size: 25px; }
}
.wordmark {
  font-size: 31px;
  line-height: 1;
  letter-spacing: -1.7px;
  font-weight: 750;
  display: inline-flex;
  gap: 5px;
  align-items: baseline;
  white-space: nowrap;
}
.wordmark span {
  font-size: 15px;
  letter-spacing: -.4px;
  font-weight: 500;
}
.main-nav {
  display: flex;
  gap: 35px;
  font-size: var(--text-meta);
  font-weight: 600;
  margin-left: auto;
  margin-right: 60px;
}
.main-nav a:hover,.site-footer>a:last-child:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
main {
  max-width: 1800px;
  margin: auto;
}
.intro {
  padding: 48px var(--gutter) 38px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
h1 {
  font-size: clamp(30px,3.7vw,57px);
  font-weight: 500;
  letter-spacing: -.04em;
  line-height: 1.08;
  margin: 0;
}
.library-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-height: 44px;
  margin-top: 24px;
  padding: 12px 20px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 6px;
  font-size: var(--text-meta);
  font-weight: 600;
  text-decoration: none;
}
.library-link:hover { background: var(--accent); color: var(--ink); }

.intro-note {
  font-size: var(--text-body);
  line-height: var(--leading-body);
  color: var(--muted);
  margin: 0 0 2px;
  max-width: 380px;
}
.featured {
  margin: 0 var(--gutter) 48px;
}
.section-kicker {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 18px 0;
  font-size: var(--text-meta);
}
.section-kicker h2 {
  font-size: var(--text-small);
  font-weight: 600;
  margin: 0;
}
.section-kicker>span {
  color: var(--muted);
}
.featured-products {
  border-left: 1px solid var(--line);
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: #a5ae9d transparent;
  padding: 4px 0 16px;
  overscroll-behavior-x: contain;
}
.featured-product {
  min-width: 0;
  border-right: 1px solid var(--line);
  flex: 0 0 20%;
  scroll-snap-align: start;
  padding: 0;
  border-bottom: 0;
}
.featured-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: 0;
}
.product-art {
  height: 207px;
  margin: 0 10px;
  background: var(--tile);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  perspective: 800px;
  flex: none;
  width: calc(100% - 20px);
}
.product-art img {
  height: 210px;
  width: 140px;
  object-fit: contain;
  transform: rotate(-5deg) rotateY(var(--tilt-x,0deg));
  transition: transform .3s;
  filter: drop-shadow(5px 9px 8px #35402b18);
}
.strength-stamp {
  position: absolute;
  right: 12px;
  top: 12px;
  font-size: var(--text-label);
  z-index: 1;
}
.featured-details {
  padding: 18px 18px 8px;
  display: flex;
  flex-direction: column;
  flex: 1;
  width: 100%;
}
.featured-details h3 {
  font-size: 20px;
  letter-spacing: -.6px;
  font-weight: 600;
  margin: 0;
  display: flex;
  justify-content: space-between;
  min-height: 54px;
  line-height: 1.35;
  overflow-wrap: anywhere;
  gap: 10px;
}
.featured-details h3 span {
  font-size: var(--text-small);
  color: var(--muted);
  flex-shrink: 0;
}
.featured-details p {
  font-size: var(--text-meta);
  margin: 7px 0 16px;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 8px;
}
.in-stock {
  color: var(--stock);
  font-weight: 650;
}
.in-stock:before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--stock-dot);
  margin-right: 5px;
  vertical-align: middle;
}
.coral {
  --tile: #f3d1c7;
}
.butter {
  --tile: #f2e6b3;
}
.blue {
  --tile: #d4e3ed;
}
.green {
  --tile: #dce9c8;
}
.rose {
  --tile: #ead5d4;
}
.lilac {
  --tile: #e1dcef;
}
.sand {
  --tile: #e8ddc9;
}
.stone {
  --tile: #e6e8e0;
}
.range {
  border-top: 1px solid var(--line);
  padding-top: 35px;
}
.range-header {
  padding: 0 var(--gutter);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-end;
}
.range-header h2 {
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: -1.2px;
  font-weight: 500;
  margin: 0;
}
.range-header p {
  font-size: var(--text-body);
  line-height: var(--leading-body);
  max-width: 465px;
  color: var(--muted);
  margin: 0;
}
.tools {
  margin: 25px var(--gutter) 0;
  display: flex;
  align-items: center;
  gap: 22px;
}
.search-field {
  position: relative;
  flex: 1;
  max-width: 510px;
}
.search-field>span:first-child {
  position: absolute;
  top: 14px;
  left: 16px;
  font-size: 20px;
  line-height: 1;
}
.search-field input {
  width: 100%;
  padding: 14px 15px 14px 44px;
  border: 1px solid var(--control-border);
  border-radius: 0;
  background: transparent;
  font-size: var(--text-body);
  color: var(--ink);
  caret-color: var(--ink);
}
.filter-toggle {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: var(--text-meta);
  cursor: pointer;
  min-height: var(--target);
  white-space: nowrap;
}
.filter-toggle input {
  accent-color: #466036;
  width: 16px;
  height: 16px;
  margin: 0;
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 20px var(--gutter) 18px;
}
.category-nav button {
  background: transparent;
  border: 1px solid var(--line);
  padding: 11px 14px;
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: var(--text-meta);
  color: var(--ink);
  min-height: var(--target);
}
.category-nav button span {
  font-size: var(--text-meta);
  color: var(--muted);
}
.category-nav button:hover {
  background: #eef0e9;
}
.category-nav button.current {
  background: var(--accent);
  border-color: var(--accent);
}
.results-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin: 0 var(--gutter);
  padding: 0 0 20px;
  font-size: var(--text-meta);
  color: var(--muted);
  min-height: var(--target);
}
.text-button {
  background: none;
  border: 0;
  border-bottom: 1px solid currentColor;
  padding: 8px 0;
  font-size: var(--text-meta);
  color: var(--ink);
  min-height: var(--target);
}
.catalog {
  padding: 0 var(--gutter);
}
.category {
  display: grid;
  grid-template-columns: 190px minmax(0,1fr);
  border-top: 1px solid var(--line);
}
.category-heading {
  padding: 28px 30px 28px 0;
}
.category-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  background: var(--tile);
  font-size: var(--text-label);
  margin-bottom: 18px;
}
.category-heading h2 {
  font-size: 21px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -.6px;
  margin: 0;
}
.category-heading p {
  font-size: var(--text-meta);
  color: var(--muted);
  margin-top: 10px;
}
.products {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  border-left: 1px solid var(--line);
  align-items: start;
}
.product {
  padding: 28px 23px;
  min-width: 0;
  border-bottom: 1px solid var(--line);
}
.product:nth-child(odd) {
  border-right: 1px solid var(--line);
}
.product h3 {
  font-size: 19px;
  line-height: 1.3;
  letter-spacing: -.5px;
  font-weight: 600;
  margin: 0 0 18px;
}
.product-note {
  color: var(--muted);
  font-size: var(--text-small);
  line-height: var(--leading-body);
  margin: -8px 0 18px;
  max-width: 480px;
}
.product:target {
  background: #eff3e8;
}
.product table {
  border-collapse: collapse;
  width: 100%;
  table-layout: fixed;
  text-align: left;
}
.product thead th {
  font-size: var(--text-meta);
  text-transform: none;
  letter-spacing: 0;
  color: var(--muted);
  font-weight: 500;
  padding: 0 7px 10px 0;
}
.product td,.product tbody th {
  border-top: 1px solid var(--line);
  padding: 12px 7px 12px 0;
  font-size: var(--text-small);
  line-height: var(--leading-body);
  vertical-align: top;
  text-align: left;
  overflow-wrap: break-word;
}
.product tbody th {
  font-weight: 650;
  width: 23%;
}
.product td:last-child {
  padding-right: 0;
}
.report {
  color: var(--muted);
}
.has-report {
  color: var(--report);
}
.variant-note td {
  font-size: var(--text-small);
  color: var(--qualification);
  border-top: 0;
  padding-top: 0;
  line-height: var(--leading-body);
}
.on-request {
  color: var(--muted);
}
.empty-state {
  margin: 0 var(--gutter);
  padding: 55px 0;
  border-top: 1px solid var(--line);
}
.empty-state h3 {
  font-size: 24px;
  line-height: 1.25;
  font-weight: 500;
  margin: 0 0 10px;
}
.empty-state p {
  font-size: var(--text-body);
  line-height: var(--leading-body);
  color: var(--muted);
}
.catalog-footnote {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 20px var(--gutter);
  font-size: var(--text-small);
  line-height: var(--leading-body);
  color: var(--muted);
  border-top: 1px solid var(--line);
}
.coa-section {
  margin: 26px var(--gutter) 54px;
  background: var(--notice-bg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 37px 40px;
}
.coa-title {
  display: flex;
  gap: 28px;
  align-items: flex-start;
}
.document-symbol {
  font-size: 38px;
  font-weight: 400;
  line-height: 1;
}
.coa-title h2 {
  font-size: 29px;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: -1px;
  margin: 0;
}
.coa-copy {
  max-width: 530px;
}
.coa-copy p {
  font-size: var(--text-body);
  line-height: var(--leading-body);
  margin: 0;
}
.coa-copy p.secondary {
  font-size: var(--text-small);
  color: var(--muted);
  line-height: var(--leading-body);
  margin-top: 13px;
}
.site-footer {
  padding: 31px var(--gutter);
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}
.footer-mark {
  font-size: 25px;
}
.site-footer p {
  font-size: var(--text-small);
  color: var(--muted);
  margin: 0;
  line-height: var(--leading-body);
}
.site-footer>a:last-child {
  font-size: var(--text-meta);
}
.research-notice {
  margin: 0 var(--gutter) 28px;
  padding: 15px 18px;
  background: var(--notice-bg);
  border-left: 3px solid #60734c;
  font-size: var(--text-small);
  line-height: var(--leading-body);
  display: flex;
  flex-wrap: wrap;
  gap: 2px 14px;
}
.research-notice strong {
  font-weight: 650;
}
.range-research-note {
  margin: 16px var(--gutter) 0;
  font-size: var(--text-small);
  line-height: var(--leading-body);
  color: var(--muted);
}
.carousel-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}
.carousel-controls>span {
  color: var(--muted);
  font-size: var(--text-meta);
  font-variant-numeric: tabular-nums;
  margin-right: 12px;
}
.carousel-controls button {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font-size: 21px;
  display: grid;
  place-items: center;
}
.carousel-controls button:hover:not(:disabled) {
  background: var(--accent);
  border-color: var(--accent);
}
.carousel-controls button:disabled {
  opacity: .28;
  cursor: default;
}
.showcase-hint {
  font-size: var(--text-small);
  line-height: var(--leading-body);
  color: var(--muted);
  margin: 12px 0 0;
}
.low-stock {
  color: var(--low-stock);
  font-weight: 650;
}
.out-of-stock {
  color: var(--muted);
  font-weight: 500;
}
.main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: var(--target);
}
.showcase-skip {
  display: inline-flex;
  align-items: center;
  min-height: var(--target);
  font-size: var(--text-meta);
  text-decoration: underline;
  text-underline-offset: 4px;
  margin-bottom: 8px;
}
.qualified-lot {
  background: var(--qualification-bg);
}
.lot-label {
  display: block;
  margin-top: 6px;
  font-size: var(--text-label);
  line-height: 1.45;
  color: var(--qualification);
  font-weight: 700;
}
.qualified-lot th:first-child,.qualified-lot td:first-child {
  padding-left: 8px;
}
.product table th:nth-child(1) {
  width: 23%;
}
.product table th:nth-child(2) {
  width: 30%;
}
.product table th:nth-child(3) {
  width: 47%;
}

@media(hover:hover) and (pointer:fine) {
  .featured-link:hover .product-art img {
    transform: translateY(-5px) rotateY(var(--tilt-x,0deg));
  }
}

@media(max-width:1150px) {
  .category {
    grid-template-columns: 155px minmax(0,1fr);
  }
  .product {
    padding: 24px 15px;
  }
  .featured-details {
    padding: 16px 12px;
  }
  .featured-details h3 {
    font-size: 18px;
  }
  .featured-details p {
    flex-wrap: wrap;
    gap: 4px;
  }
  .main-nav {
    margin-right: 20px;
  }
  .category-heading {
    padding-right: 20px;
  }
  .product-art {
    height: 180px;
  }
  .product-art img {
    height: 185px;
    width: 125px;
  }
  .featured-product {
    flex-basis: 25%;
  }
}

@media(max-width:900px) {
  .category {
    display: block;
  }
  .category-heading {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 24px 0 16px;
  }
  .category-icon {
    margin: 0;
    width: 30px;
    height: 30px;
  }
  .category-heading h2 {
    font-size: 21px;
  }
  .category-heading p {
    margin: 0 0 0 auto;
  }
  .products {
    display: block;
    border-left: 0;
  }
  .product:nth-child(even) {
    padding-right: 0;
  }
  .product:nth-child(odd) {
    padding-left: 0;
  }
  .intro-note {
    max-width: 300px;
  }
  .product-art {
    margin: 0 6px;
    height: 195px;
    width: calc(100% - 12px);
  }
  .product-art img {
    height: 195px;
    width: 130px;
  }
  .featured-details h3 {
    font-size: 18px;
  }
  .featured-details {
    padding: 12px 8px;
  }
  .strength-stamp {
    right: 8px;
    top: 8px;
  }
  .tools {
    gap: 15px;
  }
  .range-header p {
    max-width: 360px;
  }
  .featured-product {
    flex-basis: 33.3333%;
  }
  .product,.product:nth-child(odd),.product:nth-child(even) {
    padding: 24px 0;
    border-right: 0;
  }
}

@media(max-width:640px) {
  .main-nav {
    display: none;
  }
  .site-header {
    min-height: 76px;
    padding: 0 20px;
    gap: 15px;
  }
  .wordmark {
    font-size: 27px;
  }
  .wordmark span {
    font-size: var(--text-label);
  }
  .intro {
    padding: 32px 20px 25px;
    display: block;
  }
  h1 {
    font-size: 39px;
    max-width: 340px;
  }
  .intro-note {
    margin-top: 17px;
    max-width: 340px;
  }
  .featured {
    margin: 0 20px 30px;
  }
  .section-kicker {
    padding: 15px 0;
  }
  .featured-products {
    border: 0;
    border-left: 1px solid var(--line);
  }
  .featured-product {
    border: 0;
    border-bottom: 1px solid var(--line);
    flex-basis: 86%;
    border-right: 1px solid var(--line);
    padding: 0;
  }
  .product-art {
    height: 225px;
    margin: 0 8px;
    width: calc(100% - 16px);
  }
  .product-art img {
    height: 230px;
    width: 154px;
  }
  .strength-stamp {
    display: block;
    right: 12px;
    top: 12px;
  }
  .featured-details {
    padding: 17px 14px 8px;
  }
  .featured-details h3 {
    font-size: 21px;
    min-height: 56px;
  }
  .featured-details p {
    gap: 14px;
    margin: 7px 0 10px;
    justify-content: space-between;
    margin-bottom: 14px;
  }
  .range {
    padding-top: 27px;
  }
  .range-header {
    display: block;
    padding: 0 20px;
  }
  .range-header h2 {
    font-size: 31px;
  }
  .range-header p {
    margin-top: 12px;
    max-width: 100%;
  }
  .tools {
    margin: 20px 20px 0;
    gap: 5px 20px;
    flex-wrap: wrap;
  }
  .search-field {
    flex-basis: 100%;
    max-width: none;
  }
  .filter-toggle {
    min-height: var(--target);
  }
  .category-nav {
    margin: 12px 20px 16px;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: thin;
  }
  .category-nav button {
    flex: none;
    padding: 10px 12px;
    gap: 10px;
  }
  .results-bar {
    margin: 0 20px;
    padding-bottom: 16px;
  }
  .catalog {
    padding: 0 20px;
  }
  .category-heading {
    gap: 12px;
    padding: 22px 0 10px;
  }
  .category-heading p {
    white-space: nowrap;
  }
  .category-icon {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
  }
  .products {
    display: block;
  }
  .product,.product:nth-child(odd),.product:nth-child(even) {
    padding: 23px 0;
    border-right: 0;
  }
  .product h3 {
    font-size: 20px;
  }
  .product td,.product tbody th {
    padding: 11px 7px 11px 0;
  }
  .catalog-footnote {
    padding: 17px 20px;
    flex-direction: column;
    gap: 6px;
  }
  .coa-section {
    margin: 17px 20px 30px;
    padding: 25px 22px;
    grid-template-columns: 1fr;
    gap: 23px;
  }
  .coa-title {
    gap: 15px;
  }
  .coa-title h2 {
    font-size: 26px;
  }
  .site-footer {
    padding: 25px 20px;
    gap: 20px;
    flex-wrap: wrap;
  }
  .site-footer p {
    order: 3;
    flex-basis: 100%;
  }
  .footer-mark {
    font-size: 23px;
  }
  .empty-state {
    margin: 0 20px;
  }
  .research-notice {
    margin: 0 20px 23px;
    padding: 13px 15px;
    display: block;
  }
  .research-notice span {
    display: block;
    margin-top: 3px;
  }
  .range-research-note {
    margin: 14px 20px 0;
  }
  .carousel-controls>span {
    margin-right: 2px;
  }
  .carousel-controls {
    gap: 5px;
  }
  :root {
    --gutter: 20px;
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }
  *,*:before,*:after {
    transition: none!important;
  }
  .product-art img,.featured-link:hover .product-art img {
    transform: none;
  }
}

.category-icon { flex-shrink: 0; }
.category-icon img { display: block; width: 24px; height: 24px; }
@media(max-width:640px) { .category-icon { width: 34px; height: 34px; } }


/* Shipping and purity commitment. */
/* One shared research panel; content is plain text from the dated snapshot. */
.product-heading { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 8px 16px; margin-bottom: 12px; }
.product-heading h3 { flex: 1; min-width: 160px; margin: 7px 0 0; }
.research-trigger { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: var(--target); padding: 8px 10px; color: var(--ink); background: transparent; border: 1px solid var(--control-border); border-radius: 6px; font-size: var(--text-meta); white-space: nowrap; }
.research-trigger:hover,.research-trigger[aria-expanded="true"] { background: var(--accent); }
.research-symbol { display: inline-flex; justify-content: center; align-items: center; width: 19px; height: 19px; border: 1px solid currentColor; border-radius: 50%; font-size: var(--text-label); font-weight: 800; }
.featured-product { display: flex; flex-direction: column; position: relative; }
.featured-link { height: auto; flex: 1; }
.featured-details h3 { padding-right: 48px; }
.featured-research { position: absolute; top: 225px; right: 18px; }
.featured-research .research-trigger { width: 44px; }
.featured-research .research-trigger span:last-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
@media(max-width:1150px) { .featured-research { top: 196px; right: 12px; } }
@media(max-width:900px) { .featured-research { top: 207px; right: 8px; } }
.research-popover { position: fixed; z-index: 100; width: 390px; padding: 22px; background: var(--paper); color: var(--ink); border: 1px solid var(--control-border); border-radius: 12px; box-shadow: 0 12px 40px #232a2429; max-height: calc(100dvh - 32px); overflow-y: auto; overscroll-behavior: contain; }
.research-popover-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.research-eyebrow { margin: 0 0 5px; color: var(--muted); text-transform: uppercase; font-size: var(--text-label); letter-spacing: .06em; }
.research-popover h2 { margin: 0; font-size: 20px; overflow-wrap: anywhere; line-height: 1.3; }
.research-close { width: 44px; min-width: 44px; height: 44px; margin: -9px -9px 0 0; background: transparent; border: 0; border-radius: 6px; font-size: 26px; }
.research-close:hover { background: var(--notice-bg); }
.research-summary { margin: 18px 0 8px; font-size: var(--text-body); line-height: var(--leading-body); }
.research-more { min-height: 44px; padding: 6px 0; border: 0; background: transparent; color: var(--ink); font-size: var(--text-small); font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
.research-detail { margin: 12px 0 18px; font-size: var(--text-body); line-height: var(--leading-body); }
.research-sources { border-top: 1px solid var(--line); padding-top: 14px; }
.research-sources h3 { margin: 0 0 8px; color: var(--muted); font-size: var(--text-label); text-transform: uppercase; letter-spacing: .06em; }
.research-sources ul { margin: 0; padding-left: 18px; }
.research-sources li { font-size: var(--text-small); line-height: var(--leading-body); margin: 0 0 10px; }
.research-sources a { display: inline-block; padding: 4px 0; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
@media(max-width:640px) { .research-popover { max-height: calc(80dvh - env(safe-area-inset-bottom)); padding: 20px; padding-bottom: max(20px, env(safe-area-inset-bottom)); } .product-heading h3 { min-width: 120px; } .featured-research { top: 242px; right: 14px; } }
.quality-banner { margin: 22px var(--gutter) 0; padding: 20px 24px; background: var(--ink); color: var(--paper); display: flex; justify-content: space-between; gap: 24px; line-height: var(--leading-body); }
.quality-banner strong,.quality-banner span { display: block; }
.quality-banner strong { font-size: var(--text-lead); }
.quality-banner span,.quality-banner a { font-size: var(--text-small); }
.quality-banner a { display: inline-flex; gap: 12px; min-height: 44px; align-items: center; text-decoration: underline; text-underline-offset: 4px; }
.quality-banner a:focus-visible { outline-color: var(--accent); }
.policies-section { margin: 48px var(--gutter); padding-top: 32px; border-top: 1px solid var(--line); }
.policies-heading h2 { font-size: 32px; line-height: 1.2; margin: 0 0 8px; }
.policies-heading p { color: var(--muted); font-size: var(--text-body); line-height: var(--leading-body); }
.policy-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px 48px; margin-top: 28px; }
.policy-grid h3 { margin: 0 0 12px; font-size: 19px; line-height: 1.3; }
.policy-grid p { margin: 0 0 12px; font-size: var(--text-body); line-height: var(--leading-body); max-width: 70ch; }
.catalog-footnote a { text-decoration: underline; text-underline-offset: 3px; }
@media(max-width:640px) { .quality-banner { flex-direction: column; gap: 16px; padding: 18px; } .policy-grid { grid-template-columns: 1fr; gap: 22px; } .policies-section { margin-top: 32px; } }

/* Welcome message: native dialog handles focus trapping and background inertness. */
html.welcome-open { overflow: hidden; }
.welcome-dialog {
  width: min(600px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 40px;
  overflow-y: auto;
  border: 1px solid var(--control-border);
  border-radius: 4px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 24px 80px rgb(0 0 0 / 20%);
}
.welcome-dialog::backdrop { background: rgb(23 32 25 / 60%); }
.welcome-label { margin: 0 44px 20px 0; color: var(--muted); font-size: var(--text-meta); }
.welcome-dialog h2 { margin: 0 0 24px; max-width: 470px; font-size: clamp(27px, 4vw, 38px); line-height: 1.2; font-weight: 600; letter-spacing: -.035em; }
.welcome-dialog #welcome-copy p { margin: 0 0 18px; font-size: var(--text-body); line-height: var(--leading-body); }
.welcome-dialog #welcome-copy strong { font-weight: 650; }
.welcome-close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; color: var(--ink); font-size: 28px; line-height: 1; }
.welcome-close:hover { background: var(--notice-bg); }
.welcome-explore { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 48px; width: 100%; margin-top: 26px; padding: 13px 18px; border: 1px solid var(--ink); background: var(--accent); color: var(--ink); font-weight: 650; text-align: left; }
.welcome-explore:hover { background: #c8e38c; }
@media (max-width: 480px) { .welcome-dialog { padding: 28px 24px 24px; } .welcome-label { margin-bottom: 18px; } .welcome-dialog h2 { margin-bottom: 20px; } }

@media (max-width: 640px) {
  .site-header .main-nav { display: flex; }
  .site-header .main-nav a:not(.catalog-nav) { display: none; }
  .site-header .catalog-nav { display: inline-flex; align-items: center; min-height: 44px; }
}

/* Keep the translation notice visible beside the language controls. */
.site-header { flex-wrap: wrap; row-gap: 12px; padding-top: 16px; padding-bottom: 16px; }
.translation-note { margin: 0; max-width: 75ch; color: var(--muted); font-size: var(--text-small); line-height: var(--leading-body); }
.site-header > .translation-note { flex-basis: 100%; order: 4; }
.welcome-dialog > .translation-note { margin-bottom: 20px; }
