/* Gol Distribution · Food & Beverage Export, public site. AP Wholesale design system (Barlow / Barlow Condensed, cards,
   tiles, filters, buttons) with Gol Distribution's own colours: ink and Golach gold (the export panel's accent), used for
   actions only. Use scene: buyers and sales staff on phones and tablets, often in bright rooms: light, high contrast.
   Placeholder identity until management sends the brand assets (logo, colours, photos). */
:root {
  --ink: #14181d; --ink-2: #454c55; --ink-3: #636a74; --paper: #f7f6f2; --card: #fff; --line: #e4e1d9; --line-2: #d2cec3;
  --gold: #c9962e; --gold-d: #a87a1f; --gold-soft: #f6ecd6; --bad: #a8321f; --bad-soft: #f8e4df; --good: #1d7445;
  --cond: "Barlow Condensed", "Arial Narrow", sans-serif; --body: Barlow, "Segoe UI", system-ui, sans-serif;
  --r: 12px; --shadow: 0 1px 2px rgba(20, 24, 29, .06), 0 8px 22px -6px rgba(20, 24, 29, .12);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 500 16px/1.5 var(--body); -webkit-font-smoothing: antialiased; }
::selection { background: var(--gold-soft); color: var(--ink); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
a { color: inherit; text-underline-offset: 3px; }
img { display: block; max-width: 100%; }
img.gone { visibility: hidden; }
h1, h2, h3 { margin: 0; line-height: 1.1; text-wrap: balance; }
.num { font-variant-numeric: tabular-nums; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--ink); padding: 8px 12px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }
svg.i { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.in { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.in.narrow { max-width: 760px; }
.boot { padding: 80px 24px; text-align: center; color: var(--ink-3); }
.empty { color: var(--ink-3); padding: 24px 0; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 20px; border: 0; border-radius: 10px;
  background: var(--gold); color: var(--ink); font: 700 16px var(--body); text-decoration: none; cursor: pointer; transition: background .15s, transform .15s; }
.btn:hover { background: var(--gold-d); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn.sm { min-height: 40px; padding: 8px 14px; font-size: 15px; }
.btn.ghost { background: transparent; box-shadow: inset 0 0 0 2px var(--ink); color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff; }
.btn.ghost.light { box-shadow: inset 0 0 0 2px #fff; color: #fff; }
.btn.ghost.light:hover { background: #fff; color: var(--ink); }
.btn.wide { width: 100%; }
.btn.off { opacity: .45; cursor: not-allowed; }
.btn:disabled { opacity: .5; cursor: wait; }
.link { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 6px 0; font-weight: 700; color: var(--ink); cursor: pointer; text-decoration: underline; }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: var(--ink); color: #fff; }
.top .in { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.mark { font: 800 20px/1 var(--cond); letter-spacing: .04em; background: var(--gold); color: var(--ink); padding: 7px 8px 5px; border-radius: 4px; }
.wd { display: flex; flex-direction: column; line-height: 1.1; }
.wd b { font: 800 19px var(--cond); letter-spacing: .02em; text-transform: uppercase; }
.wd small { font-size: 12.5px; color: #c9cdd3; font-weight: 500; }
.nav { display: flex; gap: 2px; margin-left: 8px; }
.nav a { padding: 9px 12px; border-radius: 8px; text-decoration: none; font-weight: 600; color: #e8eaed; white-space: nowrap; }
.nav a:hover { background: rgba(255, 255, 255, .08); }
.nav a.on { background: rgba(201, 150, 46, .18); color: #fff; box-shadow: inset 0 -2px 0 var(--gold); }
.tools { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.lang select { background: transparent; color: #fff; border: 1px solid #4a525c; border-radius: 8px; padding: 8px 8px; font-weight: 700; }
.lang select option { color: var(--ink); }
.menu { display: none; background: none; border: 0; color: #fff; padding: 8px; cursor: pointer; }

/* hero */
.hero { background: var(--ink); color: #fff; }
.hero .in { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding-top: 56px; padding-bottom: 64px; }
.hero h1 { font: 800 clamp(40px, 5.4vw, 68px)/.98 var(--cond); text-transform: uppercase; letter-spacing: .005em; margin-bottom: 18px; }
.lede { font-size: 18px; color: var(--ink-2); max-width: 62ch; margin: 8px 0 22px; }
.hero .lede { color: #d4d8dd; }
.facts { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 8px; }
.facts li { display: flex; gap: 10px; align-items: center; font-weight: 600; }
.facts svg { color: var(--gold); }
.mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mosaic figure { margin: 0; background: #fff; border-radius: 14px; padding: 14px; aspect-ratio: 1; display: flex; flex-direction: column; box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .5); }
.mosaic img { flex: 1; min-height: 0; object-fit: contain; width: 100%; }
.mosaic figcaption { font: 700 15px var(--cond); text-transform: uppercase; letter-spacing: .04em; color: var(--ink-2); padding-top: 8px; }

/* bands */
.band { padding: 64px 0 56px; }
.band.alt { background: #fff; border-block: 1px solid var(--line); }
.band h2, .page h2 { font: 800 clamp(28px, 3.4vw, 40px)/1.05 var(--cond); text-transform: uppercase; margin-bottom: 24px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
.tile { display: flex; flex-direction: column; background: var(--card); border-radius: var(--r); overflow: hidden; text-decoration: none; box-shadow: var(--shadow); transition: transform .2s ease-out, box-shadow .2s; }
.tile:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(20, 24, 29, .3); }
.tile img { aspect-ratio: 4/3; object-fit: contain; background: #fff; padding: 14px; width: 100%; }
.tile span { padding: 12px 14px 14px; border-top: 1px solid var(--line); display: flex; flex-direction: column; }
.tile b { font: 700 18px var(--cond); text-transform: uppercase; letter-spacing: .02em; }
.tile small { color: var(--ink-3); font-size: 14px; }
.steps { list-style: none; padding: 0; margin: 0 0 18px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.steps li { border-top: 3px solid var(--ink); padding-top: 14px; }
.steps .n, .tl .n { font: 800 15px var(--cond); color: var(--gold-d); letter-spacing: .06em; }
.steps b { display: block; font: 800 22px var(--cond); text-transform: uppercase; margin: 2px 0 6px; }
.steps p { margin: 0; color: var(--ink-2); }
.join { background: var(--ink); color: #fff; padding: 52px 0; }
.join .in { display: flex; gap: 28px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.join h2 { font: 800 34px var(--cond); text-transform: uppercase; margin-bottom: 6px; }
.join p { margin: 0; color: #d4d8dd; max-width: 56ch; }

/* catalogue */
.page { padding: 36px 0 64px; }
.phead { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }
.page h1 { font: 800 clamp(34px, 4.4vw, 52px)/1 var(--cond); text-transform: uppercase; }
.count { color: var(--ink-3); margin: 0; font-weight: 600; }
.filters { display: grid; grid-template-columns: 1fr 240px 180px; gap: 10px; margin: 18px 0 22px; position: sticky; top: 68px; z-index: 5; background: var(--paper); padding: 8px 0; }
.filters input, .filters select, .form input, .form select, .form textarea, .qty input, .lines input {
  min-height: 48px; border: 1px solid var(--line-2); border-radius: 10px; background: #fff; padding: 10px 12px; width: 100%; }
.filters input:focus, .filters select:focus, .form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: transparent; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.card { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); display: flex; flex-direction: column; overflow: hidden; }
.card .ph { position: relative; display: block; background: #fff; aspect-ratio: 1; padding: 16px; }
.card .ph img { width: 100%; height: 100%; object-fit: contain; }
.tmp { position: absolute; left: 10px; top: 10px; display: inline-flex; gap: 4px; align-items: center; font: 700 12px var(--cond); letter-spacing: .08em; text-transform: uppercase; padding: 4px 8px; border-radius: 999px; background: var(--paper); color: var(--ink-2); }
.tmp svg { width: 13px; height: 13px; }
.t-frozen { background: #e6eef7; color: #1d4a7a; }
.t-chilled { background: #e5f2ee; color: #1d5e4c; }
.cb { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; border-top: 1px solid var(--line); }
.nm { font-weight: 700; line-height: 1.25; text-decoration: none; }
.nm:hover { text-decoration: underline; }
.meta { font-size: 14px; color: var(--ink-3); }
.meta b { color: var(--ink-2); }
.acts { margin-top: auto; display: flex; flex-direction: column; gap: 8px; padding-top: 6px; }
.price { display: inline-flex; gap: 6px; align-items: center; font-weight: 700; font-size: 14.5px; color: var(--gold-d); text-decoration: none; }
.price svg { width: 16px; height: 16px; }
.add { min-height: 44px; border: 2px solid var(--ink); background: #fff; border-radius: 10px; font-weight: 700; cursor: pointer; }
.add:hover { background: var(--ink); color: #fff; }
.add.in { background: var(--gold-soft); border-color: var(--gold); }
.morew { text-align: center; margin-top: 24px; }

/* product page */
.pd { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; margin-top: 14px; align-items: start; }
.pdimg { background: #fff; border-radius: 16px; box-shadow: var(--shadow); padding: 32px; aspect-ratio: 1; }
.pdimg img { width: 100%; height: 100%; object-fit: contain; }
.crumb { margin: 0 0 6px; font: 700 14px var(--cond); text-transform: uppercase; letter-spacing: .08em; color: var(--gold-d); }
.pdbody h1 { margin-bottom: 18px; }
.spec { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; margin: 0 0 14px; }
.spec div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.spec dt { color: var(--ink-3); }
.spec dd { margin: 0; font-weight: 700; text-align: right; }
.note { color: var(--ink-3); font-size: 14.5px; display: flex; gap: 8px; align-items: center; margin: 6px 0; }
.acts.big { flex-direction: row; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.qty { display: flex; gap: 8px; }
.qty input { width: 110px; }
.rel { margin-top: 48px; }

/* prose pages */
.prose h2 { margin: 40px 0 14px; }
.prose p { max-width: 70ch; color: var(--ink-2); }
.draftnote { display: inline-block; background: var(--gold-soft); color: #6d4f10; font-weight: 700; font-size: 13.5px; padding: 5px 10px; border-radius: 8px; }
.tl { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 0; }
.tl li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.tl b { font: 800 21px var(--cond); text-transform: uppercase; }
.tl p { margin: 4px 0 0; }
.defs { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; margin: 0; }
.defs div { background: #fff; border-radius: var(--r); padding: 16px 18px; box-shadow: var(--shadow); }
.defs dt { font: 800 20px var(--cond); text-transform: uppercase; margin-bottom: 4px; }
.defs dd { margin: 0; color: var(--ink-2); }
.prose .ctas { margin-top: 36px; }

/* container planner */
.cbwrap { display: grid; grid-template-columns: 360px 1fr; gap: 28px; margin-top: 18px; align-items: start; }
.cbpanel { background: #fff; border-radius: 16px; box-shadow: var(--shadow); padding: 20px; position: sticky; top: 84px; display: grid; gap: 14px; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--paper); border-radius: 10px; padding: 4px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: block; text-align: center; padding: 9px 4px; border-radius: 8px; font-weight: 700; cursor: pointer; }
.seg input:checked + span { background: var(--ink); color: #fff; }
.seg input:focus-visible + span { outline: 3px solid var(--gold); }
.meter .ml { display: flex; align-items: baseline; gap: 8px; margin-bottom: 6px; }
.meter .ml span { font-weight: 700; }
.meter .ml b { font: 800 24px var(--cond); }
.meter .ml small { margin-left: auto; color: var(--ink-3); }
.track { height: 12px; background: var(--paper); border-radius: 999px; overflow: hidden; }
.track i { display: block; height: 100%; background: var(--gold); border-radius: 999px; transition: width .4s cubic-bezier(.16, 1, .3, 1); }
.meter.over .track i { background: var(--bad); }
.meter.over b { color: var(--bad); }
.sum { margin: 0; color: var(--ink-2); font-weight: 600; }
.alert { margin: 0; background: var(--bad-soft); color: #7a2416; padding: 10px 12px; border-radius: 10px; font-weight: 600; font-size: 15px; }
.lines { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.lines li { display: grid; grid-template-columns: 56px 1fr 110px 40px; gap: 12px; align-items: center; background: #fff; border-radius: 12px; padding: 8px 10px; box-shadow: var(--shadow); }
.lines img { width: 56px; height: 56px; object-fit: contain; }
.ln { display: flex; flex-direction: column; min-width: 0; }
.ln a { font-weight: 700; text-decoration: none; }
.ln small { color: var(--ink-3); }
.x { width: 40px; height: 40px; border: 0; background: var(--paper); border-radius: 8px; font-size: 22px; cursor: pointer; }
.x:hover { background: var(--bad-soft); color: var(--bad); }
.cbar { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 30; display: flex; align-items: center; gap: 10px; background: var(--ink); color: #fff;
  text-decoration: none; padding: 12px 18px; border-radius: 999px; box-shadow: 0 16px 34px -10px rgba(0, 0, 0, .5); font-weight: 600; max-width: calc(100vw - 32px); }
.cbar svg { color: var(--gold); }
.cbar.warn { box-shadow: 0 0 0 3px var(--bad), 0 16px 34px -10px rgba(0, 0, 0, .5); }

/* form */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; margin-top: 22px; }
.fld { display: flex; flex-direction: column; gap: 6px; font-weight: 600; margin: 0; }
.fld i { font-style: normal; font-weight: 500; color: var(--ink-3); font-size: 14px; }
.full, .fld.full, .chips { grid-column: 1 / -1; }
.form input.bad { border-color: var(--bad); box-shadow: 0 0 0 2px var(--bad-soft); }
.chips { border: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { padding: 0; margin-bottom: 8px; font-weight: 600; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; }
.chips span { display: inline-block; padding: 9px 14px; border: 1.5px solid var(--line-2); border-radius: 999px; background: #fff; cursor: pointer; font-weight: 600; font-size: 15px; }
.chips input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.chips input:focus-visible + span { outline: 3px solid var(--gold); }
.formmsg { margin: 0; font-weight: 600; }
.formmsg.err { color: var(--bad); }
.thanks { display: flex; gap: 10px; align-items: center; background: #e3f2e8; color: #14532f; padding: 18px; border-radius: 12px; font-weight: 600; }
.contact { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; gap: 12px; }
.contact li { display: flex; gap: 14px; align-items: center; background: #fff; border-radius: 12px; padding: 16px 18px; box-shadow: var(--shadow); }
.contact small { display: block; color: var(--ink-3); }
.contact a { font-weight: 700; font-size: 18px; }

/* footer */
.foot { background: #0e1115; color: #c9cdd3; padding: 36px 0 90px; font-size: 15px; }
.foot .in { display: grid; grid-template-columns: 1fr auto; gap: 16px 32px; }
.foot b { color: #fff; }
.foot .links { display: flex; gap: 18px; flex-wrap: wrap; align-items: start; }
.foot .links a { text-decoration: none; font-weight: 600; }
.foot .links a:hover { text-decoration: underline; }
.foot .fine { grid-column: 1 / -1; color: #8d949d; font-size: 13.5px; }

@media (max-width: 980px) {
  .nav { display: none; position: absolute; left: 0; right: 0; top: 68px; background: var(--ink); flex-direction: column; padding: 8px 16px 16px; margin: 0; border-top: 1px solid #2a3038; }
  body.navopen .nav { display: flex; }
  .nav a { padding: 14px 12px; }
  .menu { display: inline-flex; }
  .hero .in { grid-template-columns: 1fr; gap: 32px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .pd { grid-template-columns: 1fr; gap: 20px; }
  .cbwrap { grid-template-columns: 1fr; }
  .cbpanel { position: static; }
}
@media (max-width: 640px) {
  .in { padding: 0 16px; }
  .top .in { gap: 10px; }
  .wd small { display: none; }
  .tools .btn.sm { display: none; }
  .hero .in { padding-top: 32px; padding-bottom: 40px; }
  .tiles { grid-template-columns: 1fr 1fr; gap: 10px; }
  .tile img { padding: 10px; }
  .filters { grid-template-columns: 1fr 1fr; top: 68px; }
  .filters input { grid-column: 1 / -1; }
  .grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .card .ph { padding: 10px; }
  .cb { padding: 10px; }
  .steps { grid-template-columns: 1fr; gap: 18px; }
  .spec { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .lines li { grid-template-columns: 48px 1fr 84px 36px; gap: 8px; }
  .lines img { width: 48px; height: 48px; }
  .foot .in { grid-template-columns: 1fr; }
  .band { padding: 44px 0 40px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } html { scroll-behavior: auto; } }
