/* Hilton International Eyewear trade site */
:root {
  --paper: #F3EFE6;
  --paper-2: #F8F5EE;
  --tile: #EAE4D7;
  --ink: #1D1C19;
  --ink-2: #3E3B35;
  --muted: #6B665C;
  --rule: #D8D1C2;
  --accent: #23395B;
  --accent-dark: #152440;
  --ok: #2E5B3A;
  --hold: #8A5A12;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: Karla, system-ui, -apple-system, sans-serif;
  --mono: 'Courier Prime', 'Courier New', monospace;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 15px; line-height: 1.5; }
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }
img { max-width: 100%; display: block; }
h1, h2 { font-family: var(--serif); font-weight: 500; margin: 0; }
h1 { font-size: clamp(32px, 6vw, 52px); line-height: 1.05; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: var(--paper); padding: 10px 14px; z-index: 50; }
.skip:focus { left: 8px; top: 8px; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 680px; }
.mono { font-family: var(--mono); }
.xs { font-size: 11px; letter-spacing: 0.04em; }
.sm { font-size: 13px; }
.lg { font-size: 24px; }
.small { font-size: 12.5px; }
.muted { color: var(--muted); }
.caps { letter-spacing: 0.06em; text-transform: uppercase; }
.right { text-align: right; }
.caps-head { font-family: var(--sans); font-size: 10.5px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; margin: 0 0 12px; }

/* header */
.top { border-bottom: 1px solid var(--rule); background: var(--paper); position: sticky; top: 0; z-index: 20; }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; padding-bottom: 12px; }
.mark { display: flex; flex-direction: column; gap: 2px; text-decoration: none; color: var(--ink); }
.mark-name { font-family: var(--serif); font-weight: 600; font-size: 26px; letter-spacing: 0.22em; line-height: 1; }
.mark-sub { font-size: 9.5px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--muted); }
.topnav { display: flex; align-items: center; gap: 4px; }
.topnav a { min-height: 44px; display: inline-flex; align-items: center; padding: 0 10px; color: var(--ink); text-decoration: none; font-size: 13.5px; }
.topnav a[aria-current] { text-decoration: underline; text-underline-offset: 5px; }
.topnav .reqbtn { border: 1px solid var(--ink); border-radius: 2px; padding: 0 14px; font-weight: 500; gap: 6px; margin-left: 4px; }
.whobar { border-top: 1px solid var(--rule); background: var(--paper-2); font-size: 12.5px; color: var(--ink-2); }
.whobar .wrap { padding-top: 6px; padding-bottom: 6px; }
@media (max-width: 520px) {
  .topnav a:not(.reqbtn) { display: none; }
  .mark-name { font-size: 22px; }
}

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 20px; background: var(--accent); color: #fff; border: 0; border-radius: 2px; font: 500 15px var(--sans); text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--accent-dark); color: #fff; }
.btn.dark { background: var(--ink); color: var(--paper); }
.btn.dark:hover { background: #000; color: var(--paper); }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn.ghost:hover { background: var(--paper-2); color: var(--ink); }
.btn.wide { width: 100%; }
.btn[disabled] { background: var(--rule); color: var(--muted); cursor: not-allowed; }

/* home */
.hero { padding-top: 40px; padding-bottom: 26px; display: flex; flex-direction: column; gap: 14px; max-width: 860px; margin-left: 0; }
@media (min-width: 1180px) { .hero { margin-left: calc((100vw - 1180px) / 2); } }
.eyebrow { letter-spacing: 0.08em; }
.lede { margin: 0; font-size: 16px; line-height: 1.6; color: var(--ink-2); max-width: 62ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.brands { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 4px; padding-bottom: 20px; }
.brands.tight { padding: 14px 0 0; }
.brand-chip { display: inline-flex; align-items: baseline; gap: 6px; min-height: 36px; padding: 8px 12px; border: 1px solid var(--rule); border-radius: 2px; text-decoration: none; color: var(--ink); font-size: 13px; }
.brand-chip:hover { border-color: var(--ink); color: var(--ink); }

/* filters */
.filters { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule); padding: 12px 0; display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; }
.filter-group { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.filter-group .label { margin-right: 2px; text-transform: uppercase; letter-spacing: 0.12em; }
.chip { min-height: 38px; display: inline-flex; align-items: center; padding: 0 12px; border: 1px solid var(--rule); border-radius: 2px; color: var(--ink); text-decoration: none; font-size: 13px; font-weight: 500; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.count { margin: 14px 0; }

/* grid + cards */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; padding-bottom: 36px; }
@media (min-width: 720px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 20px; } }
@media (min-width: 1040px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card { text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 7px; }
.card:hover { color: var(--ink); }
.card:hover .tile { border-color: var(--ink); }
.card.is-sold .tile img { opacity: 0.55; filter: grayscale(0.4); }
.tile { aspect-ratio: 4 / 3; background: var(--tile); border: 1px solid var(--rule); overflow: hidden; position: relative; }
.tile img, .tile picture { width: 100%; height: 100%; object-fit: cover; }
.noimg { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 12px; }
.card-row { display: flex; justify-content: space-between; align-items: baseline; gap: 6px; }
.card-title { font-family: var(--serif); font-weight: 600; font-size: 19px; line-height: 1.1; }
.state { font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.state.ok, .status.ok { color: var(--ok); }
.state.hold, .status.hold { color: var(--hold); }
.state.sold, .status.sold { color: var(--muted); }

/* catalogue head */
.pagehead { padding-top: 22px; padding-bottom: 20px; display: flex; flex-direction: column; gap: 10px; }
.back { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; text-decoration: none; color: var(--ink); font-size: 13px; align-self: flex-start; }

/* product */
.product { padding-top: 10px; padding-bottom: 120px; }
.product-grid { display: grid; gap: 26px; }
@media (min-width: 900px) { .product-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 44px; align-items: start; } .gallery { position: sticky; top: 92px; } }
.gallery { display: flex; flex-direction: column; gap: 10px; }
.stage { cursor: zoom-in; }
.zoom { position: absolute; right: 10px; bottom: 10px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--rule); background: var(--paper); color: var(--ink); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.counter { position: absolute; left: 10px; top: 10px; background: var(--paper); padding: 3px 7px; border: 1px solid var(--rule); }
.thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.thumb { padding: 0; cursor: pointer; }
.thumb.on { border: 1.5px solid var(--ink); }
.info { display: flex; flex-direction: column; gap: 14px; }
.labels { display: flex; flex-wrap: wrap; gap: 6px; }
.label-box { font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; padding: 5px 8px; border: 1px solid var(--rule); }
.label-box.strong { border-color: var(--ink); }
.desc { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--ink-2); }
.spec { border: 1px solid var(--ink); background: var(--paper-2); margin-top: 6px; }
.spec-head { padding: 10px 14px; border-bottom: 1px solid var(--ink); font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700; }
.spec-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.spec-cell { padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; border-bottom: 1px solid var(--rule); }
.spec-cell:nth-child(odd) { border-right: 1px solid var(--rule); }
.spec-cell:nth-last-child(-n+2) { border-bottom: 0; }
.spec-cell .mono { font-size: 15px; }
.kv { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding-top: 6px; }
.kv.ruled { padding-bottom: 14px; border-bottom: 1px solid var(--rule); align-items: center; }
.status { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; }
.status .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.ask { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; text-decoration: none; font-size: 14px; }
.related { margin-top: 44px; }
.addbar { position: fixed; left: 0; right: 0; bottom: 0; background: var(--paper); border-top: 1px solid var(--ink); z-index: 25; padding-bottom: env(safe-area-inset-bottom); }
.addbar-in { display: flex; align-items: center; gap: 12px; padding-top: 12px; padding-bottom: 14px; }
.addbar-txt { display: flex; flex-direction: column; flex: 1 1 auto; }
.addbar-txt .mono:last-child { font-size: 17px; }
.addbar .btn { min-width: 170px; }

.lightbox { position: fixed; inset: 0; background: rgba(29, 28, 25, 0.94); z-index: 60; display: flex; align-items: center; justify-content: center; padding: 20px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; cursor: zoom-out; }
.lb-close { position: absolute; top: 10px; right: 12px; width: 48px; height: 48px; font-size: 32px; line-height: 1; background: none; border: 0; color: var(--paper); cursor: pointer; }

/* request */
.narrow h1 { margin: 6px 0 10px; }
.basket { margin: 22px 0; border-top: 1px solid var(--ink); }
.bline { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.bline .tile { width: 84px; }
.bline-title { font-family: var(--serif); font-weight: 600; font-size: 18px; line-height: 1.15; text-decoration: none; color: var(--ink); }
.bline-meta { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; }
.bline-warn { color: var(--hold); font-size: 12.5px; font-weight: 700; }
.bline-side { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--rule); }
.qty button { width: 34px; height: 34px; background: none; border: 0; font-size: 17px; cursor: pointer; color: var(--ink); }
.qty button[disabled] { color: var(--rule); cursor: default; }
.qty span { min-width: 22px; text-align: center; font-family: var(--mono); }
.linkbtn { background: none; border: 0; padding: 4px 0; color: var(--accent); font: inherit; font-size: 12.5px; cursor: pointer; text-decoration: underline; }
.reqform { display: flex; flex-direction: column; gap: 14px; margin-top: 10px; }
.reqform[hidden] { display: none; }
.fields { display: grid; gap: 12px; }
@media (min-width: 620px) { .fields { grid-template-columns: 1fr 1fr; } .field:has(textarea) { grid-column: 1 / -1; } }
.field { display: flex; flex-direction: column; gap: 5px; font-size: 13px; }
.field em { color: var(--hold); font-style: normal; }
.field input, .field textarea { font: 16px var(--sans); color: var(--ink); background: var(--paper-2); border: 1px solid var(--rule); border-radius: 2px; padding: 11px 12px; min-height: 46px; }
.field input:focus, .field textarea:focus { border-color: var(--ink); outline: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { margin: 0; padding: 10px 12px; border: 1px solid var(--hold); color: var(--hold); background: #FBF4E8; font-size: 14px; }
.form-error[hidden] { display: none; }

/* confirmation, orders, messages */
.confirm, .msg { padding-top: 34px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 16px; }
.mono-head { font-family: var(--mono); font-weight: 400; font-size: clamp(32px, 7vw, 46px); }
.ledger { border-top: 1px solid var(--ink); }
.ledger-row { display: grid; grid-template-columns: 90px minmax(0, 1fr) auto; gap: 10px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--rule); }
.order { border: 1px solid var(--rule); background: var(--paper-2); padding: 14px; margin: 16px 0; }
.order-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.order-status { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.order .ledger { margin-top: 8px; }
.prose { padding-top: 24px; padding-bottom: 40px; }
.steps { padding-left: 22px; display: flex; flex-direction: column; gap: 12px; line-height: 1.6; }

/* footer */
.foot { border-top: 1px solid var(--ink); margin-top: 20px; }
.foot-in { padding-top: 26px; padding-bottom: 120px; display: flex; flex-direction: column; gap: 14px; max-width: 680px; }
.foot .muted { margin: 0; line-height: 1.6; }

.toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: 96px; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 2px; font-size: 14px; z-index: 70; max-width: calc(100% - 32px); }
.toast[hidden] { display: none; }
.pad-top { padding-top: 14px; }
