/* Harborline Restaurant Supply — B2B restaurant equipment (fictional demo shop)
   BATCH FORMAT: quote-request / bulk-pricing tiers instead of instant checkout.
   Centerpiece: every product shows a 3-tier bulk price table; there is no
   "Add to cart -> pay" flow at all — instead a "Quote Request" cart that
   submits a single-step RFQ form (company, contact, needed-by date, notes)
   and returns a reference number, with no payment fields anywhere on the
   site. Utilitarian cool-gray palette + steel-blue accent, industrial slab
   display type. */

:root {
  --bg: #f2f4f1;
  --bg-2: #e2e6df;
  --panel: #ffffff;
  --line: #d2d8ce;
  --ink: #212721;
  --muted: #626b60;
  --steel: #2f6690;
  --steel-ink: #24506f;
  --safety: #c8622c;
  --danger: #b1332f;
  --r: 4px;
  --wrap: 1200px;
  --display: "Roboto Slab", Georgia, "Times New Roman", serif;
  --sans: "Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.2; margin: 0; }

.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--steel-ink); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-weight: 700; font-size: 14px; padding: 13px 26px; border-radius: 3px; cursor: pointer; border: 1px solid transparent; transition: transform .15s, background .15s, color .15s, border-color .15s; }
.btn-accent { background: var(--steel); color: #f2f4f1; }
.btn-accent:hover { transform: translateY(-2px); background: var(--steel-ink); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-full { width: 100%; }
.btn:disabled { opacity: .35; cursor: not-allowed; transform: none !important; }

.site-header { position: sticky; top: 0; z-index: 60; background: rgba(242,244,241,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { font-family: var(--display); font-weight: 700; font-size: 19px; display: flex; align-items: center; gap: 9px; }
.brand .dot { width: 9px; height: 9px; background: var(--safety); }
.nav-links { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav-links a { font-size: 13.5px; font-weight: 600; color: var(--muted); }
.nav-links a:hover { color: var(--ink); }
.nav-right { display: flex; align-items: center; gap: 18px; }
.cart-btn { position: relative; background: none; border: 0; color: var(--ink); cursor: pointer; padding: 8px; display: flex; }
.cart-badge { position: absolute; top: -2px; right: -2px; background: var(--safety); color: #fff; font-size: 10.5px; font-weight: 800; min-width: 17px; height: 17px; border-radius: 50%; display: flex; align-items: center; justify-content: center; padding: 0 2px; }
.menu-btn { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.menu-btn span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .25s, opacity .25s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.announce { background: var(--ink); color: #f2f4f1; text-align: center; font-size: 12px; font-weight: 700; padding: 9px; letter-spacing: .02em; }

.hero { position: relative; height: 74vh; min-height: 480px; display: flex; align-items: center; overflow: hidden; }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(242,244,241,.96) 0%, rgba(242,244,241,.66) 55%, rgba(242,244,241,.12) 100%); }
.hero-inner { position: relative; z-index: 1; max-width: 600px; }
.hero h1 { font-size: clamp(30px, 4.4vw, 46px); }
.hero h1 em { font-style: normal; color: var(--steel-ink); }
.hero-lead { font-size: 15.5px; color: var(--muted); max-width: 46ch; margin: 16px 0 26px; }

section { padding: 68px 0; }
.sec-head { text-align: center; max-width: 52ch; margin: 0 auto 34px; }
.sec-head h2 { font-size: clamp(23px, 3vw, 29px); }
.sec-head h2 em { font-style: normal; color: var(--steel-ink); }
.sec-head p { color: var(--muted); margin: 12px 0 0; font-size: 14px; }

.value-strip { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.value-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 44px; padding: 16px 0; }
.value-row span { font-size: 12px; color: var(--muted); }
.value-row b { color: var(--steel-ink); }

/* ---------- Product grid with bulk-tier price table (centerpiece part 1) ---------- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.card-media { aspect-ratio: 4/3; background: var(--bg-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 18px; }
.card-body h3 { font-family: var(--sans); font-size: 15px; font-weight: 700; margin-bottom: 10px; }
.tier-table { width: 100%; border-collapse: collapse; margin-bottom: 14px; font-size: 12.5px; }
.tier-table th { text-align: left; font-weight: 700; color: var(--muted); font-size: 10.5px; text-transform: uppercase; letter-spacing: .04em; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.tier-table td { padding: 6px 0; border-bottom: 1px dashed var(--line); }
.tier-table tr:last-child td { border-bottom: 0; }
.tier-table .tier-price { font-family: var(--display); font-weight: 700; color: var(--steel-ink); }
.card-add-btn { width: 100%; }

.lifestyle img { width: 100%; aspect-ratio: 16/8; object-fit: cover; border-radius: var(--r); }

/* ---------- Quote cart drawer (replaces the shopping-cart drawer used elsewhere) ---------- */
.overlay-scrim { position: fixed; inset: 0; background: rgba(20,24,20,.4); z-index: 100; opacity: 0; pointer-events: none; transition: opacity .25s ease; }
.overlay-scrim.open { opacity: 1; pointer-events: auto; }

.cart-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--panel); border-left: 1px solid var(--line); z-index: 101; transform: translateX(100%); transition: transform .3s ease; display: flex; flex-direction: column; }
.cart-drawer.open { transform: none; }
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.cart-head h3 { font-size: 17px; }
.cart-head p { margin: 4px 0 0; font-size: 12px; color: var(--muted); font-family: var(--sans); font-weight: 400; }
.cart-close { background: none; border: 0; color: var(--muted); font-size: 22px; cursor: pointer; }
.cart-close:hover { color: var(--ink); }
.cart-items { flex: 1; overflow-y: auto; padding: 8px 22px; }
.cart-empty { color: var(--muted); text-align: center; padding: 60px 20px; font-size: 14px; }
.cart-line { display: grid; grid-template-columns: 54px 1fr auto; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-line img { width: 54px; height: 54px; object-fit: cover; border-radius: 4px; background: var(--bg-2); }
.cart-line .cl-name { font-size: 13.5px; font-weight: 700; }
.cart-line .cl-tier { font-size: 11.5px; color: var(--steel-ink); margin-top: 2px; font-weight: 600; }
.cart-line .cl-price { font-family: var(--display); color: var(--ink); font-size: 13px; margin-top: 6px; }
.cart-line .cl-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.qty-stepper { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 100px; }
.qty-stepper button { width: 24px; height: 24px; background: none; border: 0; color: var(--ink); font-size: 13px; cursor: pointer; }
.qty-stepper span { min-width: 22px; text-align: center; font-weight: 700; font-size: 12.5px; }
.cart-line .remove-btn { background: none; border: 0; color: var(--muted); font-size: 11.5px; cursor: pointer; text-decoration: underline; }
.cart-line .remove-btn:hover { color: var(--danger); }
.cart-foot { padding: 20px 22px; border-top: 1px solid var(--line); }
.cart-subtotal { display: flex; justify-content: space-between; font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.cart-subtotal b { color: var(--steel-ink); font-family: var(--display); }
.cart-subtotal-note { font-size: 11px; color: var(--muted); margin: 0 0 14px; }

/* ---------- Quote request form (single step, no payment fields anywhere) ---------- */
.checkout { position: fixed; top: 50%; left: 50%; transform: translate(-50%,-48%); width: min(640px, calc(100% - 32px)); max-height: 88vh; overflow-y: auto; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); z-index: 102; opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .25s ease; }
.checkout.open { opacity: 1; pointer-events: auto; transform: translate(-50%,-50%); }
.checkout-inner { padding: 34px; position: relative; }
.checkout-close { position: absolute; top: 16px; right: 16px; background: none; border: 0; color: var(--muted); cursor: pointer; font-size: 22px; }
.checkout-close:hover { color: var(--ink); }
.co-step { display: none; }
.co-step.active { display: block; }
.co-step h3 { font-size: 20px; margin-bottom: 6px; }
.co-step .co-sub { color: var(--muted); font-size: 13.5px; margin: 0 0 22px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 12px; font-weight: 700; margin-bottom: 7px; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 14.5px; padding: 11px 13px; border: 1px solid var(--line); border-radius: 3px; background: var(--bg); color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--steel); }
.field textarea { resize: vertical; min-height: 80px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field-error { font-size: 11.5px; color: var(--danger); margin-top: 6px; display: none; }
.field.invalid input, .field.invalid textarea { border-color: var(--danger); }
.field.invalid .field-error { display: block; }
.co-actions { display: flex; gap: 12px; margin-top: 24px; }
.demo-note { font-size: 11.5px; color: var(--muted); text-align: center; margin-top: 16px; }
.review-list { border: 1px solid var(--line); border-radius: 3px; padding: 4px 14px; margin-bottom: 16px; }
.review-line { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: 13.5px; }
.review-line:last-child { border-bottom: 0; }
.review-total { display: flex; justify-content: space-between; font-size: 15.5px; font-weight: 700; padding-top: 12px; border-top: 1px solid var(--line); }
.review-total b { color: var(--steel-ink); font-family: var(--display); }
.confirm { text-align: center; padding: 16px 0; }
.confirm .check { width: 60px; height: 60px; border-radius: 50%; background: var(--steel); color: #f2f4f1; display: grid; place-items: center; margin: 0 auto 18px; font-size: 28px; font-weight: 800; }
.confirm h3 { font-size: 24px; margin-bottom: 10px; }
.confirm .order-no { font-family: var(--display); color: var(--steel-ink); font-size: 14px; margin-bottom: 16px; }
.confirm p { color: var(--muted); max-width: 42ch; margin: 0 auto 22px; font-size: 14px; }

.site-footer { background: var(--ink); color: #c6cdc4; padding: 48px 0 26px; }
.foot-top { display: flex; justify-content: space-between; gap: 36px; flex-wrap: wrap; padding-bottom: 26px; border-bottom: 1px solid #3a4139; }
.foot-brand { max-width: 30ch; } .foot-brand .brand { margin-bottom: 12px; color: #fff; } .foot-brand p { color: #8f978c; font-size: 13px; margin: 0; }
.foot-cols { display: flex; gap: 44px; flex-wrap: wrap; }
.foot-col h5 { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: #6ea3c6; margin: 0 0 12px; }
.foot-col a { display: block; color: #8f978c; font-size: 13px; margin-bottom: 9px; }
.foot-col a:hover { color: #fff; }
.foot-bottom { padding-top: 16px; font-size: 11.5px; color: #576050; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }

html.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
html.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html.js .reveal { opacity: 1; transform: none; transition: none; } }

@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .menu-btn { display: block; }
  .nav-links.open { display: flex; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 4px; padding: 16px 24px 22px; background: var(--bg); border-bottom: 1px solid var(--line); z-index: 59; }
  .nav-links.open a { padding: 10px 0; font-size: 13.5px; }
  .grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  section { padding: 50px 0; }
  .checkout-inner { padding: 22px; }
}
