.tray-buyer-guide {
  color-scheme: light;
  --ink: #241f1a;
  --muted: #5d5148;
  --paper: #fbf8f2;
  --cream: #f1e9df;
  --line: #d9cab9;
  --orange: #a24116;
  --accent: #f49b57;
  --dark: #2b2019;
  --max: 1240px;
  font-family: "DM Sans", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
.tray-buyer-guide *, .tray-buyer-guide *::before, .tray-buyer-guide *::after { box-sizing: border-box; }
.tray-buyer-guide img { display: block; max-width: 100%; height: auto; }
.tray-buyer-guide a { color: var(--orange); text-underline-offset: .2em; }
.tray-buyer-guide a:hover { text-decoration-thickness: 2px; }
.tray-buyer-guide a:focus-visible, .tray-buyer-guide input:focus-visible { outline: 3px solid #a54820; outline-offset: 4px; }
.tray-buyer-guide :where(h1,h2,h3,p,figure,dl) { margin: 0; }
.tray-buyer-guide h1, .tray-buyer-guide h2, .tray-buyer-guide h3 { line-height: 1.11; }
.tray-buyer-guide h1, .tray-buyer-guide h2 { font-family: "DM Serif Display", Georgia, serif; font-weight: 400; letter-spacing: -.035em; }
.tray-buyer-guide h1 { max-width: 14ch; font-size: clamp(2.5rem, 5.1vw, 4.95rem); }
.tray-buyer-guide h2 { font-size: clamp(2.15rem, 4vw, 3.75rem); }
.tray-buyer-guide h3 { font-size: 1.22rem; }
.tray-buyer-guide input { font: inherit; }
.tray-buyer-guide section[id] { scroll-margin-top: 1.5rem; }
.tray-buyer-guide .frame { width: min(calc(100% - 64px), var(--max)); margin-inline: auto; }





.tray-buyer-guide .hero { display: grid; grid-template-columns: .98fr 1.02fr; background: var(--dark); color: var(--paper); }
.tray-buyer-guide .hero-copy { padding: clamp(30px, 5.1vw, 77px); display: grid; align-content: center; gap: 1.25rem; }
.tray-buyer-guide .kicker { display: block; color: var(--orange); font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.tray-buyer-guide .hero .kicker, .tray-buyer-guide .brief .kicker { color: #ffc08d; }
.tray-buyer-guide .hero-copy p { max-width: 37ch; font-size: clamp(1rem, 1.5vw, 1.15rem); color: #efddce; }
.tray-buyer-guide .hero a:focus-visible, .tray-buyer-guide .brief a:focus-visible { outline-color: #ffd1ab; }
.tray-buyer-guide .hero-copy a { color: #ffd1ab; width: fit-content; font-weight: 700; }
.tray-buyer-guide .hero-art { position: relative; min-width: 0; min-height: 410px; overflow: hidden; }
.tray-buyer-guide .hero-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 56% 48%; }
.tray-buyer-guide .hero-art figcaption { position: absolute; bottom: 0; right: 0; background: #2b2019; color: #fff2e7; font-size: .68rem; padding: .35rem .65rem; }
.tray-buyer-guide .guide-section { padding-block: clamp(40px, 6vw, 78px); border-bottom: 1px solid var(--line); }
.tray-buyer-guide .section-head { display: grid; gap: .6rem; max-width: 62ch; margin-bottom: 1.7rem; }
.tray-buyer-guide .section-head p, .tray-buyer-guide .fit-note, .tray-buyer-guide .tray-card p { color: var(--muted); }
.tray-buyer-guide .measure-layout { display: grid; grid-template-columns: 1.13fr .87fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.tray-buyer-guide .diagram { border: 1px solid var(--line); background: #f5ede2; min-width: 0; padding: clamp(13px, 3vw, 32px); }
.tray-buyer-guide .diagram-board { display: grid; gap: 1.1rem; padding: .35rem 0 .3rem; }
.tray-buyer-guide .dimension-horizontal { display: flex; align-items: center; justify-content: center; gap: .55rem; font-weight: 750; font-size: .8rem; }
.tray-buyer-guide .dimension-horizontal i { flex: 1; display: block; height: 1px; background: var(--orange); }
.tray-buyer-guide .dimension-horizontal i:first-child::before, .tray-buyer-guide .dimension-horizontal i:last-child::after { content: ""; display: block; width: 6px; height: 6px; border-top: 1px solid var(--orange); border-left: 1px solid var(--orange); transform: translate(-1px,-2.5px) rotate(-45deg); }
.tray-buyer-guide .dimension-horizontal i:last-child::after { margin-left: auto; transform: translate(1px,-2.5px) rotate(135deg); }
.tray-buyer-guide .tray-plan { position: relative; min-height: 140px; aspect-ratio: 1.85; border: 2px solid #7b5b47; border-radius: 16px; background: #e0c9b4; display: grid; place-items: center; padding: 7%; }
.tray-buyer-guide .tray-interior { border: 1px dashed #8e5739; border-radius: 9px; background: #f8eddf; width: 100%; height: 100%; display: grid; place-items: center; text-align: center; padding: .35rem; font-size: .88rem; font-weight: 750; }
.tray-buyer-guide .side-view { display: grid; grid-template-columns: 1fr auto; gap: .55rem; align-items: center; }
.tray-buyer-guide .side-profile { height: 20px; border: 2px solid #7b5b47; border-top: 0; border-radius: 0 0 14px 14px; background: linear-gradient(transparent 65%, #e0c9b4 65%); }
.tray-buyer-guide .rim-label { color: var(--orange); font-size: .76rem; font-weight: 750; }
.tray-buyer-guide .diagram figcaption { color: var(--muted); font-size: .8rem; margin-top: 1rem; }
.tray-buyer-guide .checks { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.tray-buyer-guide .checks li { padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.tray-buyer-guide .checks li:last-child { border-bottom: 0; padding-bottom: 0; }
.tray-buyer-guide .checks p { margin-top: .35rem; color: var(--muted); }
.tray-buyer-guide .product-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.25rem; }
.tray-buyer-guide .tray-card { border: 1px solid var(--line); background: #fffdf9; min-width: 0; }
.tray-buyer-guide .tray-card .photo { background: #fff; }
.tray-buyer-guide .tray-card img { object-fit: contain; width: 100%; aspect-ratio: 1.5; }
.tray-buyer-guide .tray-spec { padding: clamp(17px, 3vw, 30px); }
.tray-buyer-guide .tray-spec h3 { margin-bottom: .5rem; }
.tray-buyer-guide .tray-spec h3 a { color: var(--ink); }
.tray-buyer-guide .tray-spec .dims { color: var(--ink); font-size: clamp(1.1rem, 2.4vw, 1.55rem); font-weight: 750; font-variant-numeric: tabular-nums; margin-bottom: .3rem; }
.tray-buyer-guide .tray-spec .spec-detail { font-size: .92rem; }
.tray-buyer-guide .fit-box { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(22px, 4vw, 50px); padding: clamp(17px, 4vw, 40px); margin-top: 1.25rem; background: var(--cream); }
.tray-buyer-guide .fit-copy { display: grid; align-content: start; gap: .7rem; }
.tray-buyer-guide .fit-copy h3 { font-family: "DM Serif Display", Georgia, serif; font-size: 1.7rem; font-weight: 400; }
.tray-buyer-guide .fit-copy p { font-size: .92rem; }
.tray-buyer-guide .fit-input { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; font-weight: 700; font-size: .87rem; }
.tray-buyer-guide .fit-input input { width: 6.4rem; min-height: 40px; padding: .25rem .5rem; background: #fffdfa; color: var(--ink); border: 1px solid #988471; border-radius: .2rem; }
.tray-buyer-guide .fit-visual { display: grid; align-content: center; gap: .8rem; min-width: 0; }
.tray-buyer-guide .fit-row { display: grid; gap: .26rem; }
.tray-buyer-guide .fit-numbers { display: flex; justify-content: space-between; gap: .5rem; flex-wrap: wrap; font-size: .875rem; }
.tray-buyer-guide .fit-numbers output { color: #713715; font-weight: 750; }
.tray-buyer-guide .fit-track { position: relative; height: 13px; background: #dcd0c2; }
.tray-buyer-guide .fit-track::after { content: ""; position: absolute; top: -4px; bottom: -4px; border-left: 2px solid var(--orange); left: var(--opening); }
.tray-buyer-guide .fit-chart.no-opening .fit-track::after { visibility: hidden; }
.tray-buyer-guide .fit-track span { display: block; height: 100%; width: var(--length); background: #6c5b50; }
.tray-buyer-guide .fit-chart { --opening: 81.6%; display: grid; gap: .95rem; }
.tray-buyer-guide .chart-key { color: var(--muted); font-size: .8rem; }
.tray-buyer-guide .chart-key::before { content: ""; display: inline-block; height: .85em; border-left: 2px solid var(--orange); margin-right: .5em; vertical-align: -.06em; }
.tray-buyer-guide .fit-note { font-size: .86rem; margin-top: .13rem; }
.tray-buyer-guide .material-options { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .9rem; }
.tray-buyer-guide .material-options div { padding: 1.15rem; border-top: 3px solid #a54d25; background: var(--cream); }
.tray-buyer-guide .material-options dt { font-weight: 800; }
.tray-buyer-guide .material-options dd { margin: .35rem 0 0; color: var(--muted); font-size: .92rem; }
.tray-buyer-guide .sample { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(20px, 4vw, 60px); align-items: start; }
.tray-buyer-guide .sample .section-head { margin-bottom: 0; }
.tray-buyer-guide .sample-checks { display: grid; gap: .7rem; margin: 0; padding-inline-start: 1.4rem; color: var(--muted); }
.tray-buyer-guide .sample-checks li::marker { font-weight: 800; color: var(--orange); }
.tray-buyer-guide .sample-checks strong { color: var(--ink); }
.tray-buyer-guide .brief { display: grid; grid-template-columns: .9fr 1.1fr; align-items: start; gap: clamp(20px, 5vw, 70px); margin-block: clamp(28px, 6vw, 72px); padding: clamp(22px, 5vw, 55px); background: var(--dark); color: var(--paper); }
.tray-buyer-guide .brief-copy { display: grid; gap: .75rem; }
.tray-buyer-guide .brief-copy p, .tray-buyer-guide .brief li { color: #efddce; }
.tray-buyer-guide .brief ul { display: grid; gap: .6rem; margin: 0; padding-inline-start: 1.25rem; }
.tray-buyer-guide .brief li::marker { color: var(--accent); }
.tray-buyer-guide .brief-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .85rem; margin-top: .45rem; }
.tray-buyer-guide .brief-actions a { color: #ffd1ab; font-size: .93rem; font-weight: 750; }
.tray-buyer-guide .brief-actions .btn { display: inline-block; padding: .72rem .94rem; background: #f5a564; color: #26170d; text-decoration: none; }
.tray-buyer-guide .brief-actions .btn:hover { background: #ffd1ab; }
@media (max-width: 820px) {
  .tray-buyer-guide .frame { width: min(calc(100% - 36px), var(--max)); }
  .tray-buyer-guide .hero { grid-template-columns: 1fr; }
  .tray-buyer-guide .hero-art { min-height: 0; aspect-ratio: 1.55; }
  .tray-buyer-guide .measure-layout, .tray-buyer-guide .fit-box, .tray-buyer-guide .sample, .tray-buyer-guide .brief { grid-template-columns: 1fr; }
}
@media (max-width: 510px) {
  .tray-buyer-guide .frame { width: calc(100% - 28px); }


  .tray-buyer-guide .hero-copy { padding: 24px 19px 27px; gap: .8rem; }
  .tray-buyer-guide .hero-art { aspect-ratio: 1.35; }
  .tray-buyer-guide .product-grid { gap: .58rem; }
  .tray-buyer-guide .material-options { grid-template-columns: 1fr; }
  .tray-buyer-guide .tray-spec { padding: 11px; }
  .tray-buyer-guide .tray-spec h3 { font-size: 1rem; }
  .tray-buyer-guide .tray-spec .dims { font-size: .92rem; }
  .tray-buyer-guide .tray-spec .spec-detail { font-size: .8rem; }
}
.tray-buyer-guide .guide-crumb { padding-block: 1rem; font-size: .83rem; color: var(--muted); }
.tray-buyer-guide .guide-crumb a { color: var(--muted); text-decoration: underline; }

