/* Trade-Werk — plain CSS, no build step (cPanel friendly)
   System font stack on purpose: no third-party font requests (GDPR). */
:root {
  /* Brand: black + gold from public/img/tradewerk-logo.jpeg */
  --noir: #151515;
  --noir-2: #1e1d1a;
  --noir-3: #2b2925;
  --gold: #d9b673;
  --gold-light: #f6d797;
  --gold-deep: #c39c5c;
  --gold-text: #8a6420;            /* gold that passes contrast on white */
  --gold-tint: #faf3e3;
  --gold-grad: linear-gradient(135deg, #f6d797 0%, #dfbd7d 45%, #c39c5c 100%);
  --cream: #f5efe0;
  --sand: #f1ede4;
  --ink: #1b1a17;
  --ink-soft: #5f5a50;
  --ink-faint: #958e80;
  --paper: #f7f5f0;
  --card: #ffffff;
  --line: #e8e3d8;
  --line-strong: #d3ccbd;
  --ok: #1b7f4b;
  --warn: #9a6700;
  --bad: #b3261e;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(21, 21, 21, .06);
  --shadow: 0 1px 2px rgba(21, 21, 21, .05), 0 4px 16px rgba(21, 21, 21, .06);
  --shadow-lg: 0 2px 4px rgba(21, 21, 21, .06), 0 16px 40px rgba(21, 21, 21, .16);
  --ring: 0 0 0 3px rgba(217, 182, 115, .45);
  --header-h: 68px;
}

/* base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; } /* el.hidden must win over component display rules (.btn, .flash …) */
svg.i { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
a { color: var(--ink); text-decoration-color: rgba(195, 156, 92, .7); text-underline-offset: .18em; }
a:hover { color: var(--gold-text); text-decoration-color: currentColor; }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 4px; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.015em; font-weight: 750; }
h1 { font-size: clamp(1.65rem, 1.2rem + 1.6vw, 2.25rem); }
h2 { font-size: 1.3rem; }
h3 { font-size: 1.075rem; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2rem; }
hr { border: 0; border-top: 1px solid var(--line); margin: 1.5rem 0; }
.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -3rem; z-index: 50; background: var(--gold); color: var(--noir); padding: .5rem 1rem; border-radius: var(--radius-sm); font-weight: 700; }
.skip-link:focus { top: .75rem; color: var(--noir); }

/* utilities */
.muted { color: var(--ink-soft); }
.small { font-size: .875rem; }
.right { text-align: right; }
.nowrap { white-space: nowrap; }
.pre-line { white-space: pre-line; }
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: .75rem; }
.mt-2 { margin-top: 1.25rem; }
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: .75rem; }
.mb-2 { margin-bottom: 1.25rem; }
.stack > * + * { margin-top: 1rem; }
.row { display: flex; gap: .75rem; flex-wrap: wrap; align-items: center; }
.row.between { justify-content: space-between; }
.row.end { align-items: flex-end; }
.align-start { align-items: start; }
.section { margin-top: 2.75rem; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.section-head h2 { margin: 0; }
.link-arrow { color: var(--gold-text); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: .3rem; }
.link-arrow:hover .i { transform: translateX(2px); }
.link-arrow .i { transition: transform .15s; }

/* header ---------------------------------------------------------------- */
.site-header { background: var(--noir); color: var(--cream); border-bottom: 1px solid rgba(217, 182, 115, .22); position: sticky; top: 0; z-index: 30; box-shadow: 0 1px 0 rgba(255,255,255,.06), 0 4px 18px rgba(0, 0, 0, .22); }
.site-header .container { display: flex; align-items: center; gap: 1.5rem; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: .65rem; color: var(--cream); text-decoration: none; flex: none; }
.brand:hover { color: #fff; }
.brand-mark { width: 40px; height: auto; flex: none; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-weight: 600; font-size: 1.3rem; letter-spacing: -.01em; }
.brand-tag { font-size: .58rem; letter-spacing: .32em; text-transform: uppercase; color: var(--gold); margin-top: .3rem; font-weight: 600; }
.nav { display: flex; gap: .2rem; align-items: center; flex: 1; }
.nav a, .nav .linklike { color: #d9d3c5; text-decoration: none; padding: .45rem .75rem; border-radius: var(--radius-sm); font-size: .94rem; font-weight: 500; background: none; border: 0; cursor: pointer; font-family: inherit; line-height: 1.4; }
.nav a:hover, .nav .linklike:hover { background: rgba(255,255,255,.09); color: #fff; }
.nav a.active { background: rgba(217, 182, 115, .14); color: var(--gold-light); }
.nav .spacer { flex: 1; }
.nav a, .nav .linklike { white-space: nowrap; }
/* Desktop, logged in (many links): translate + account shrink to icons; full text in tooltip / phone menu */
@media (min-width: 1201px) and (max-width: 1440px) { .nav.compact .nav-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } }
.nav .btn, .nav .btn:hover { color: var(--noir); }
.nav .user { display: inline-flex; align-items: center; gap: .4rem; }
.avatar { width: 26px; height: 26px; border-radius: 50%; background: var(--gold-grad); color: var(--noir); font-size: .75rem; font-weight: 700; display: inline-grid; place-items: center; border: 0; }
.lang { display: inline-flex; background: rgba(255,255,255,.07); border-radius: 99px; padding: 3px; margin-right: .35rem; }
.nav .lang a { padding: .15rem .6rem; font-size: .78rem; font-weight: 700; border-radius: 99px; letter-spacing: .03em; }
.nav .lang a.on { background: var(--gold); color: var(--noir); }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid rgba(255,255,255,.2); color: #fff; border-radius: var(--radius-sm); width: 42px; height: 38px; cursor: pointer; place-items: center; }
.nav-toggle svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 2; stroke-linecap: round; fill: none; }
.nav-toggle .close { display: none; }
.nav-open .nav-toggle .open { display: none; }
.nav-open .nav-toggle .close { display: block; }
.badge-count { background: var(--gold); color: var(--noir); border-radius: 99px; padding: 0 .45rem; font-size: .72rem; font-weight: 700; margin-left: .3rem; }

@media (max-width: 1200px) {
  .js .nav-toggle { display: grid; }
  .site-header .container { flex-wrap: wrap; gap: 0; }
  .nav { flex-wrap: wrap; }
  .js .nav { display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: .15rem; padding: .5rem 0 1rem; border-top: 1px solid rgba(255,255,255,.1); margin-top: .1rem; }
  .js .nav-open .nav { display: flex; }
  .js .nav a, .js .nav .linklike { padding: .65rem .75rem; text-align: left; }
  .js .nav .spacer { display: none; }
  .js .nav .lang { align-self: flex-start; margin: .5rem 0; }
  .js .nav .btn { text-align: center; margin-top: .35rem; }
  .js .nav .inline-form { display: block; }
  .js .nav .linklike { width: 100%; }
  .js .nav .translate { align-self: stretch; }
  .js .nav .translate-panel { position: static; width: auto; margin: .25rem 0 .5rem; box-shadow: none; }
}

/* Google Translate (opt-in panel in the header) */
.translate { position: relative; }
.nav .translate-toggle { display: inline-flex; align-items: center; gap: .4rem; }
.translate-panel { position: absolute; right: 0; top: calc(100% + .6rem); z-index: 40; width: 300px; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 1rem; text-align: left; }
.translate-note { font-size: .82rem; color: var(--ink-soft); line-height: 1.5; margin: 0 0 .75rem; }
.nav .translate-panel a { color: var(--gold-text); padding: 0; background: none; font-size: inherit; text-decoration: underline; }
.translate-off { display: block; margin-top: .75rem; padding: 0; background: none; border: 0; font: inherit; font-size: .85rem; font-weight: 600; color: var(--gold-text); cursor: pointer; text-decoration: underline; text-underline-offset: .18em; }
#google_translate_element:empty { display: none; }
#google_translate_element .goog-te-gadget { font-family: inherit; font-size: .75rem; color: var(--ink-faint); }
#google_translate_element .goog-te-combo { margin: 0 0 .35rem; width: 100%; }
/* Google adds a fixed bar on top of the page and moves <body> down; we offer our own "switch off" instead. */
body > .skiptranslate, .goog-te-banner-frame, #goog-gt-tt, .goog-te-balloon-frame { display: none !important; }
body { top: 0 !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }

/* flash ----------------------------------------------------------------- */
.flash { display: flex; gap: .65rem; align-items: flex-start; padding: .85rem 1rem; border-radius: var(--radius); margin: 1.25rem 0; border: 1px solid; font-size: .95rem; }
.flash > .i { margin-top: .2rem; }
.flash ul { margin: .3rem 0 0; padding-left: 1.1rem; }
.flash.ok { background: #ecf8f1; border-color: #bfe3ce; color: #14532d; }
.flash.err { background: #fdeeec; border-color: #f2c5c0; color: #7f1d1d; }
.flash.warn { background: #fff7e4; border-color: #efd9a2; color: #6b4a00; }
.flash.info { background: var(--gold-tint); border-color: #ead7ad; color: var(--ink); }
.flash.info > .i { color: var(--gold-text); }
.flash a { color: inherit; font-weight: 600; }

main { flex: 1; padding: 2rem 0 4rem; }
main:has(> .hero) { padding-top: 0; }

/* page header */
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.page-head h1 { margin: 0; }
.page-head p { margin: .35rem 0 0; color: var(--ink-soft); }
.breadcrumb { display: flex; gap: .4rem; flex-wrap: wrap; align-items: center; font-size: .875rem; color: var(--ink-faint); margin-bottom: 1rem; }
.breadcrumb a { color: var(--ink-soft); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold-text); }

/* buttons --------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; font: inherit; font-weight: 650; font-size: .95rem; text-decoration: none; cursor: pointer; border: 1px solid transparent; border-radius: var(--radius-sm); padding: .62rem 1.15rem; background: var(--noir); color: #fff; line-height: 1.2; transition: background-color .15s, border-color .15s, color .15s, box-shadow .15s, transform .05s; white-space: nowrap; }
.btn:hover { background: var(--noir-3); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--gold-grad); color: var(--noir); box-shadow: 0 1px 2px rgba(138, 100, 32, .35), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn.primary:hover { background: var(--gold-grad); color: var(--noir); filter: brightness(1.06); box-shadow: 0 4px 14px rgba(195, 156, 92, .4), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn.ghost { background: #fff; color: var(--noir); border-color: var(--line-strong); }
.btn.ghost:hover { border-color: var(--gold-deep); color: var(--noir); background: var(--gold-tint); }
.btn.on-dark { background: transparent; color: var(--cream); border-color: rgba(217, 182, 115, .55); }
.btn.on-dark:hover { background: rgba(217, 182, 115, .12); border-color: var(--gold); color: var(--gold-light); }
.btn.danger { background: #fff; color: var(--bad); border-color: #efc4c0; }
.btn.danger:hover { background: var(--bad); color: #fff; border-color: var(--bad); }
.btn.sm { padding: .38rem .75rem; font-size: .84rem; }
.btn.lg { padding: .8rem 1.4rem; font-size: 1rem; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

/* cards & forms --------------------------------------------------------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 1.5rem; }
.card > h2:first-child, .card > h3:first-child { margin-bottom: .9rem; }
.card.narrow { max-width: 460px; margin-inline: auto; }
.card.medium { max-width: 860px; margin-inline: auto; }
.card.wide-form { max-width: 820px; }
.auth { padding: 1rem 0; }
.auth .card { padding: 2rem; box-shadow: var(--shadow); }
.auth h1 { font-size: 1.6rem; margin-bottom: .35rem; }
.auth .lead { color: var(--ink-soft); margin-bottom: 1.5rem; }
.card.medium-sm { max-width: 720px; margin-inline: auto; }
.auth-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--gold-tint); color: var(--gold-text); display: grid; place-items: center; margin-bottom: 1rem; }
.auth-icon .i { width: 24px; height: 24px; }
.auth-foot { text-align: center; color: var(--ink-soft); font-size: .9rem; margin-top: 1.25rem; }
.form-section { margin: 1.75rem 0 1rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.form-actions { display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; margin-top: .5rem; }
label { display: block; font-weight: 600; font-size: .875rem; margin-bottom: .35rem; color: var(--ink); }
label .muted { font-weight: 400; }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=url], input[type=tel], input[type=search], input[type=date], input:not([type]), select, textarea {
  width: 100%; font: inherit; font-size: .95rem; color: inherit; background: #fff; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: .6rem .75rem; transition: border-color .15s, box-shadow .15s; min-height: 42px; }
input::placeholder, textarea::placeholder { color: var(--ink-faint); }
input:hover, select:hover, textarea:hover { border-color: #c2b9a6; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); box-shadow: var(--ring); }
input:disabled { background: var(--paper); color: var(--ink-soft); }
select { appearance: none; -webkit-appearance: none; padding-right: 2.2rem; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235f5a50' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right .65rem center / 16px; }
input[type=file] { font: inherit; font-size: .9rem; max-width: 100%; }
input[type=file]::file-selector-button { font: inherit; font-weight: 600; font-size: .85rem; margin-right: .75rem; padding: .45rem .9rem; border-radius: var(--radius-sm); border: 1px solid var(--line-strong); background: #fff; color: var(--noir); cursor: pointer; }
input[type=checkbox] { width: 1.05rem; height: 1.05rem; accent-color: var(--gold); }
textarea { min-height: 130px; resize: vertical; }
.input-sm { max-width: 260px; }
.select-auto { width: auto; }
.field { margin-bottom: 1.1rem; }
.field .err { color: var(--bad); font-size: .85rem; margin-top: .25rem; }
.hint { color: var(--ink-soft); font-size: .84rem; margin-top: .3rem; }
.grid-2 { display: grid; gap: 0 1rem; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); }
.grid-cards { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.check { display: flex; gap: .55rem; align-items: flex-start; font-weight: 400; font-size: .92rem; }
.check input { margin-top: .25rem; flex: none; }

/* hero ------------------------------------------------------------------ */
.hero { position: relative; overflow: hidden; color: #fff; padding: 3.5rem 0 3rem; margin-bottom: 1rem;
  background:
    radial-gradient(800px 420px at 88% -10%, rgba(217, 182, 115, .22), transparent 62%),
    radial-gradient(600px 400px at -5% 110%, rgba(217, 182, 115, .08), transparent 60%),
    linear-gradient(170deg, #1b1a17, var(--noir) 55%, #0f0f0f); }
.hero .hero-mark { position: absolute; right: max(16px, calc((100% - 1180px) / 2)); top: 2.5rem; width: min(340px, 30vw); opacity: .55; pointer-events: none; }
@media (max-width: 960px) { .hero .hero-mark { display: none; } }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(217,182,115,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(217,182,115,.05) 1px, transparent 1px);
  background-size: 44px 44px; mask-image: linear-gradient(to bottom, #000, transparent 85%); -webkit-mask-image: linear-gradient(to bottom, #000, transparent 85%); }
.hero .container { position: relative; }
.eyebrow { display: inline-flex; align-items: center; gap: .45rem; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-light); background: rgba(217, 182, 115, .1); border: 1px solid rgba(217, 182, 115, .3); padding: .3rem .75rem; border-radius: 99px; margin-bottom: 1.1rem; }
.hero h1 { color: var(--cream); max-width: 18ch; font-size: clamp(2rem, 1.3rem + 2.6vw, 3.1rem); letter-spacing: -.025em; line-height: 1.1; }
.hero .lead { color: #cfc8b8; max-width: 58ch; font-size: 1.08rem; }
.hero .searchbox { margin-top: 1.75rem; box-shadow: 0 20px 50px rgba(0, 0, 0, .45); border-color: transparent; }
.hero-actions { margin-top: 1.5rem; }
.trust { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; list-style: none; padding: 0; margin: 1.75rem 0 0; color: #cfc8b8; font-size: .92rem; }
.trust li { display: inline-flex; align-items: center; gap: .45rem; }
.trust .i { color: var(--gold); }
.hero h1 em { font-style: normal; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* search form ----------------------------------------------------------- */
.searchbox { background: #fff; color: var(--ink); border-radius: var(--radius-lg); padding: 1rem; box-shadow: var(--shadow); border: 1px solid var(--line); }
.searchbox .main { display: flex; gap: .5rem; align-items: stretch; flex-wrap: wrap; }
.searchbox .main .grow { flex: 1 1 240px; position: relative; }
.searchbox .main .grow > .i { position: absolute; left: .9rem; top: 50%; transform: translateY(-50%); color: var(--ink-faint); pointer-events: none; }
.searchbox .main input[type=search] { padding-left: 2.6rem; min-height: 48px; font-size: 1rem; }
.searchbox .main .btn { min-height: 48px; flex: 0 0 auto; }
.searchbox .main .side { flex: 0 1 220px; }
.searchbox .main select { min-height: 48px; }
.searchbox .filters { display: grid; gap: .85rem; grid-template-columns: repeat(auto-fit, minmax(min(170px, 100%), 1fr)); margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.searchbox .filters label { font-size: .8rem; color: var(--ink-soft); }
.searchbox details > summary { cursor: pointer; margin-top: .8rem; color: var(--noir); font-weight: 600; font-size: .88rem; list-style: none; display: inline-flex; align-items: center; gap: .4rem; user-select: none; }
.searchbox details > summary::-webkit-details-marker { display: none; }
.searchbox details > summary:hover { color: var(--gold-text); }
.searchbox details > summary .chev { transition: transform .15s; }
.searchbox details[open] > summary .chev { transform: rotate(180deg); }
.searchbox .hint { margin: .6rem 0 0; }
.mic { border: 1px solid var(--line-strong); background: #fff; border-radius: var(--radius-sm); min-width: 48px; min-height: 48px; padding: 0 .7rem; cursor: pointer; color: var(--noir); display: inline-flex; align-items: center; justify-content: center; font: inherit; font-weight: 700; font-size: .92rem; white-space: nowrap; transition: background-color .15s, border-color .15s, color .15s; }
.mic .i { width: 1.3em; height: 1.3em; }
.mic:hover { border-color: var(--gold-deep); color: var(--gold-text); background: var(--gold-tint); }
/* three states: idle (mic) -> recording ("Done" + timer, press to stop) -> busy (spinner) */
.mic-state { display: none; align-items: center; gap: .45rem; }
.mic:not(.rec):not(.busy) .mic-idle, .mic.rec .mic-rec, .mic.busy .mic-busy { display: inline-flex; }
.mic.rec { background: var(--bad); color: #fff; border-color: var(--bad); padding: 0 1rem; animation: pulse 1.1s infinite; }
.mic.rec:hover { background: #8f1e18; color: #fff; }
.mic .i.solid { fill: currentColor; stroke: none; width: 1em; height: 1em; }
.mic-time { font-variant-numeric: tabular-nums; font-weight: 500; opacity: .85; padding-left: .45rem; border-left: 1px solid rgba(255, 255, 255, .45); }
.mic.busy { cursor: progress; color: var(--gold-text); background: var(--gold-tint); border-color: var(--gold); }
.i.spin { animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(179,38,30,.5); } 70% { box-shadow: 0 0 0 12px rgba(179,38,30,0); } 100% { box-shadow: 0 0 0 0 rgba(179,38,30,0); } }
.voice-status { font-size: .9rem; color: var(--ink-soft); }
.voice-status:not(:empty) { margin-top: .6rem; }
.voice-status.ok { color: var(--ok); }
.voice-status.err { color: var(--bad); }
.filled { border-color: var(--gold-light) !important; box-shadow: 0 0 0 3px rgba(217, 182, 115, .3) !important; }

/* categories ------------------------------------------------------------ */
.cats { display: grid; gap: .65rem; grid-template-columns: repeat(auto-fill, minmax(min(210px, 100%), 1fr)); }
.cats a { display: flex; align-items: center; justify-content: space-between; gap: .5rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: .85rem 1rem; text-decoration: none; font-weight: 600; font-size: .93rem; color: var(--ink); line-height: 1.35; transition: border-color .15s, box-shadow .15s, color .15s; }
.cats a .i { color: var(--ink-faint); transition: transform .15s, color .15s; }
.cats a:hover { border-color: var(--gold); color: var(--ink); box-shadow: var(--shadow); }
.cats a:hover .i { color: var(--gold-text); transform: translateX(2px); }

/* how it works */
.steps { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); counter-reset: step; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.4rem 1.25rem; }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--noir); color: var(--gold); font-weight: 800; margin-bottom: .9rem; }
.step h3 { margin-bottom: .35rem; }
.step p { color: var(--ink-soft); font-size: .93rem; margin: 0; }

.cta-band { margin-top: 2.75rem; border-radius: var(--radius-lg); padding: 2rem; color: var(--cream); border: 1px solid rgba(217, 182, 115, .25); display: flex; gap: 1.25rem; justify-content: space-between; align-items: center; flex-wrap: wrap;
  background: radial-gradient(500px 200px at 100% 0, rgba(217,182,115,.35), transparent 70%), linear-gradient(135deg, #1e1d1a, var(--noir)); }
.cta-band h2 { color: var(--cream); margin: 0 0 .25rem; }
.cta-band p { color: #cfc8b8; margin: 0; }

/* product grid ---------------------------------------------------------- */
.cards { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); }
.pcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: inherit; box-shadow: var(--shadow-sm); transition: transform .15s ease, box-shadow .15s, border-color .15s; }
.pcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: #dcd5c6; color: inherit; }
.pcard .thumb { aspect-ratio: 4 / 3; background: linear-gradient(135deg, #f1ede4, #e6e0d3); display: grid; place-items: center; color: #b3ab9a; overflow: hidden; }
.pcard .thumb .i { width: 2.6rem; height: 2.6rem; stroke-width: 1.4; }
.pcard .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.pcard:hover .thumb img { transform: scale(1.04); }
.pcard .body { padding: .9rem 1rem 1rem; display: flex; flex-direction: column; gap: .3rem; flex: 1; }
.pcard .title { font-weight: 700; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard .price { color: var(--gold-text); font-weight: 800; font-size: 1.05rem; }
.pcard .meta { color: var(--ink-soft); font-size: .84rem; display: flex; align-items: center; gap: .35rem; flex-wrap: wrap; }
.pcard .meta .i { color: var(--ink-faint); width: 1em; height: 1em; }
.pcard .seller { margin-top: auto; padding-top: .6rem; border-top: 1px solid var(--line); }

.badge { display: inline-flex; align-items: center; gap: .25rem; font-size: .72rem; font-weight: 700; padding: .12rem .55rem; border-radius: 99px; background: var(--sand); color: var(--noir); line-height: 1.5; white-space: nowrap; vertical-align: middle; }
.badge .i { width: .95em; height: .95em; stroke-width: 2.5; }
.badge.ok { background: #e3f5ea; color: var(--ok); }
.badge.warn { background: #fff1d6; color: var(--warn); }
.badge.bad { background: #fde7e5; color: var(--bad); }

/* product page ---------------------------------------------------------- */
.detail { display: grid; gap: 1.75rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .detail { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: start; } .detail aside { position: sticky; top: calc(var(--header-h) + 1.25rem); } }
.gallery .main { aspect-ratio: 4/3; background: linear-gradient(135deg, #f1ede4, #e6e0d3); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: grid; place-items: center; color: #b3ab9a; }
.gallery .main .i { width: 4rem; height: 4rem; stroke-width: 1.2; }
.gallery .main img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.gallery .thumbs { display: flex; gap: .5rem; margin-top: .65rem; flex-wrap: wrap; }
.gallery .thumbs img { width: 76px; height: 57px; object-fit: cover; border-radius: var(--radius-sm); border: 2px solid transparent; cursor: pointer; opacity: .75; transition: opacity .15s, border-color .15s; }
.gallery .thumbs img:hover { opacity: 1; }
.gallery .thumbs img.on { border-color: var(--gold); opacity: 1; }
.product-title { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.7rem); margin-bottom: .4rem; }
.price-big { font-size: 1.85rem; font-weight: 800; color: var(--gold-text); margin: .25rem 0 1.1rem; letter-spacing: -.02em; }
dl.facts { display: grid; grid-template-columns: max-content 1fr; gap: .5rem 1.25rem; margin: 0 0 1rem; font-size: .93rem; }
dl.facts dt { color: var(--ink-soft); }
dl.facts dd { margin: 0; font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
.card dl.facts:last-child { margin-bottom: 0; }
.seller-head { display: flex; gap: .85rem; align-items: center; margin-bottom: .75rem; }
.seller-logo { width: 46px; height: 46px; border-radius: 10px; background: var(--noir); color: var(--gold); font-weight: 800; display: grid; place-items: center; flex: none; font-size: 1.1rem; }
.seller-head strong { display: block; }
.supplier-contact h2 { margin-bottom: .3rem; }
.contact-box { background: var(--sand); border: 1px solid #e4dccb; border-radius: var(--radius); padding: 1rem 1.1rem; margin-top: 1rem; }
.contact-box dl.facts { margin: 0; }
.contact-box dd a { word-break: break-all; }
.inline-error { color: var(--bad); font-size: .88rem; margin-top: .5rem; }

/* tables ---------------------------------------------------------------- */
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: .75rem 1rem; border-bottom: 1px solid var(--line); vertical-align: middle; font-size: .92rem; }
th { background: #faf8f3; font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-soft); white-space: nowrap; }
tbody tr { transition: background-color .1s; }
tbody tr:hover { background: #fbf9f4; }
tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
td.cell-img { width: 88px; }
tr.subrow td:first-child { padding-left: 2rem; }
tr.subrow { background: #fcfbf8; }
td.actions { text-align: right; white-space: nowrap; }
td.actions > * + * { margin-left: .35rem; }
.cell-thumb { width: 64px; height: 48px; object-fit: cover; border-radius: 6px; border: 1px solid var(--line); }
.cell-thumb-empty { width: 64px; height: 48px; border-radius: 6px; background: #f1ede4; display: grid; place-items: center; color: #b3ab9a; }
.inline { display: inline; }
.inline-form { display: inline-block; margin: 0; }
.toolbar { display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.toolbar form { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; }
.toolbar input[type=search] { width: 260px; max-width: 100%; }

/* stat tiles ------------------------------------------------------------ */
.tiles { display: grid; gap: .85rem; grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr)); margin-bottom: 2rem; }
.tile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem; box-shadow: var(--shadow-sm); position: relative; overflow: hidden; }
.tile::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--noir); opacity: .85; }
.tile.accent::after { background: var(--gold); }
.tile .n { font-size: 1.9rem; font-weight: 800; color: var(--ink); line-height: 1.1; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.tile .n small { font-size: 1rem; font-weight: 600; color: var(--ink-faint); }
.tile .l { color: var(--ink-soft); font-size: .84rem; margin-top: .35rem; }

/* admin sub-nav */
.subnav { display: flex; gap: .25rem; flex-wrap: wrap; margin-bottom: 1.75rem; border-bottom: 1px solid var(--line); }
.subnav a { padding: .6rem .9rem; text-decoration: none; font-size: .92rem; font-weight: 600; color: var(--ink-soft); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.subnav a:hover { color: var(--ink); }
.subnav a.on { color: var(--gold-text); border-bottom-color: var(--gold); }

/* enquiries */
.enquiry .who { display: flex; gap: .75rem; align-items: center; }
.enquiry .msg { background: var(--paper); border-radius: var(--radius-sm); padding: .85rem 1rem; margin: .75rem 0; white-space: pre-line; }
.enquiry.unread { border-left: 3px solid var(--gold); }

/* pagination (bootstrap-5 markup from Laravel) */
.pagination { display: flex; gap: .3rem; list-style: none; padding: 0; margin: 2rem 0 0; flex-wrap: wrap; justify-content: center; }
.pagination .page-link { display: grid; place-items: center; min-width: 38px; height: 38px; padding: 0 .7rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; text-decoration: none; font-size: .9rem; font-weight: 600; color: var(--ink-soft); }
.pagination a.page-link:hover { border-color: var(--gold-deep); color: var(--noir); }
.pagination .active .page-link { background: var(--noir); color: var(--gold-light); border-color: var(--noir); }
.pagination .disabled .page-link { opacity: .45; }
/* Laravel's bootstrap-5 pager renders a simple (mobile) and a full (>=576px) version */
nav > .d-sm-none .pagination { justify-content: space-between; }
nav > .d-none.d-sm-flex { display: none; }
@media (min-width: 576px) {
  nav > .d-sm-none { display: none; }
  nav > .d-none.d-sm-flex { display: flex; flex-direction: column-reverse; align-items: center; gap: .75rem; margin-top: 2rem; }
  nav > .d-sm-flex .pagination { margin: 0; }
}
nav .text-muted { color: var(--ink-faint); font-size: .85rem; }
nav .text-muted p { margin: 0; }

/* empty states */
.empty { text-align: center; padding: 3rem 1.25rem; color: var(--ink-soft); }
.empty .icon { width: 56px; height: 56px; margin: 0 auto 1rem; border-radius: 16px; background: var(--gold-tint); color: var(--gold-text); display: grid; place-items: center; }
.empty .icon .i { width: 26px; height: 26px; }
.empty p { margin: 0 auto; max-width: 42ch; }
.empty .btn { margin-top: 1.1rem; }

.thumb-edit { display: flex; gap: .6rem; flex-wrap: wrap; margin-bottom: .85rem; }
.thumb-edit figure { margin: 0; position: relative; }
.thumb-edit img { width: 100px; height: 75px; object-fit: cover; border-radius: var(--radius-sm); border: 1px solid var(--line); }
.thumb-edit button { position: absolute; top: 4px; right: 4px; background: rgba(21, 21, 21, .75); color: #fff; border: 0; border-radius: 50%; width: 24px; height: 24px; cursor: pointer; line-height: 1; font-size: 1rem; }
.thumb-edit button:hover { background: var(--bad); }

/* exhibition ticker (home, under the hero): moves right to left, pauses on hover/focus */
.hero + .ticker { margin-top: -1rem; margin-bottom: 1rem; }
.ticker { display: flex; align-items: stretch; background: #fbf3e1; border-bottom: 1px solid #ead7ad; box-shadow: inset 0 2px 0 rgba(217, 182, 115, .75); }
.ticker-label { position: relative; z-index: 1; flex: none; display: flex; align-items: center; gap: .45rem; padding: 0 1.1rem 0 max(16px, calc((100% - 1180px) / 2)); background: var(--noir); color: var(--gold-light); font-weight: 800; font-size: .78rem; letter-spacing: .09em; text-transform: uppercase; }
.ticker-label::after { content: ""; position: absolute; top: 0; bottom: 0; right: -14px; width: 14px; background: var(--noir); clip-path: polygon(0 0, 100% 50%, 0 100%); }
.ticker-viewport { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 48px, #000 calc(100% - 48px), transparent); mask-image: linear-gradient(90deg, transparent, #000 48px, #000 calc(100% - 48px), transparent); }
.ticker-track { display: flex; width: max-content; animation: ticker var(--ticker-duration, 40s) linear infinite; }
.ticker:hover .ticker-track, .ticker:focus-within .ticker-track { animation-play-state: paused; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ticker-list { display: flex; list-style: none; margin: 0; padding: 0; }
.ticker-item { display: flex; align-items: center; gap: .65rem; padding: .75rem 1.5rem; white-space: nowrap; text-decoration: none; color: var(--ink); border-right: 1px solid #ead7ad; }
.ticker-item:hover { color: var(--ink); background: rgba(255, 255, 255, .55); }
.ticker-item:hover .ticker-name { color: var(--gold-text); }
.ticker-date { display: inline-flex; align-items: baseline; gap: .3rem; padding: .22rem .55rem; border-radius: 6px; background: var(--noir); color: var(--gold-light); font-weight: 800; font-size: .82rem; }
.ticker-date small { color: #cfc8b8; font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.ticker-name { font-weight: 750; }
.ticker-place { color: var(--ink-soft); font-size: .88rem; }
.ticker-all { flex: none; display: flex; align-items: center; gap: .35rem; padding: 0 max(16px, calc((100% - 1180px) / 2)) 0 1.1rem; border-left: 1px solid #ead7ad; color: var(--gold-text); font-weight: 700; font-size: .88rem; text-decoration: none; white-space: nowrap; }
.ticker-all:hover { color: var(--ink); }
@media (max-width: 700px) { .ticker-label span, .ticker-all { display: none; } .ticker-label { padding-right: .8rem; } }
/* Reduced motion: no movement – a still strip the visitor can scroll sideways instead */
@media (prefers-reduced-motion: reduce) {
  .ticker-viewport { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .ticker-list[aria-hidden="true"] { display: none; }
}

/* exhibition popup – a light card floating above a dimmed page, so it never blends with the dark site */
.xpop { border: 0; padding: 0; border-radius: var(--radius-lg); width: min(520px, calc(100% - 32px)); background: #fff; color: var(--ink); overflow: hidden;
  box-shadow: 0 0 0 1px rgba(217, 182, 115, .9), 0 0 0 7px rgba(255, 255, 255, .16), 0 40px 100px rgba(0, 0, 0, .7); }
.xpop::before { content: ""; display: block; height: 6px; background: var(--gold-grad); } /* gold accent bar */
.xpop::backdrop { background: rgba(8, 8, 8, .78); backdrop-filter: blur(5px) saturate(.6); -webkit-backdrop-filter: blur(5px) saturate(.6); }
.xpop[open] { animation: xpop-in .3s cubic-bezier(.2, .8, .3, 1.1); }
@keyframes xpop-in { from { opacity: 0; transform: translateY(18px) scale(.96); } to { opacity: 1; transform: none; } }
.xpop-head { position: relative; display: flex; gap: 1rem; align-items: center; padding: 1.3rem 3.4rem 1.2rem 1.4rem;
  background: linear-gradient(180deg, #fbf3e1, #fffaf0); border-bottom: 1px solid #efe1c2; }
.xpop-head .xdate { box-shadow: 0 6px 16px rgba(21, 21, 21, .25); }
.xpop-head .eyebrow { margin-bottom: .45rem; color: var(--gold-text); background: #fff; border-color: #e6cf9e; }
.xpop-head h2 { color: var(--ink); margin: 0; font-size: 1.45rem; }
.xpop-tag { color: var(--gold-text); margin: .2rem 0 0; font-size: .95rem; font-weight: 600; }
.xpop-close { position: absolute; top: .8rem; right: .8rem; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-strong); background: #fff; color: var(--ink); cursor: pointer; display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.xpop-close:hover { background: var(--noir); color: #fff; border-color: var(--noir); }
.xpop-body { padding: 1.25rem 1.4rem 1.4rem; position: relative; }
.xpop-body .xlogo { float: right; margin: 0 0 .5rem 1rem; }
.xpop-facts { list-style: none; padding: 0; margin: 0 0 .8rem; display: grid; gap: .35rem; font-weight: 600; font-size: .95rem; }
.xpop-facts li { display: flex; gap: .5rem; align-items: center; }
.xpop-facts .i { color: var(--gold-text); }
.xpop-desc { color: var(--ink-soft); font-size: .92rem; margin-bottom: 1.1rem; }
@media (max-width: 600px) { .xpop-head { flex-direction: column; align-items: flex-start; } .xpop .form-actions .btn { flex: 1 1 100%; } }

/* admin shortcuts on public pages */
.admin-box { display: flex; flex-wrap: wrap; gap: .4rem 1rem; align-items: center; padding: .75rem .9rem; border: 1px dashed var(--line-strong); border-radius: var(--radius-sm); background: var(--paper); font-size: .9rem; font-weight: 600; }

/* live chat launcher (Userlike, opt-in) – bottom right; hidden once Userlike's own button is loaded */
/* contact buttons bottom right: [WhatsApp] [Chat] – the chat panel opens above them */
.contact-dock { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 60; display: flex; align-items: flex-end; gap: .6rem; }
.livechat { position: relative; }
/* Userlike shows its own button in this corner once loaded: keep the space so WhatsApp does not move under it */
.livechat.is-loaded .livechat-launcher { visibility: hidden; }
.whatsapp-btn { display: inline-flex; align-items: center; gap: .45rem; padding: .75rem 1.15rem; border-radius: 99px; text-decoration: none; font-weight: 700; color: #fff; background: #1fae54; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); }
.whatsapp-btn .i { width: 1.35em; height: 1.35em; }
.whatsapp-btn:hover { color: #fff; background: #189447; }
.livechat-launcher { display: inline-flex; align-items: center; gap: .45rem; padding: .75rem 1.15rem; border: 0; border-radius: 99px; cursor: pointer; font: inherit; font-weight: 700; color: var(--noir); background: var(--gold-grad); box-shadow: 0 8px 24px rgba(0, 0, 0, .25), 0 0 0 1px rgba(138, 100, 32, .35); }
.livechat-launcher .i { width: 1.3em; height: 1.3em; }
.livechat-launcher:hover { filter: brightness(1.06); }
.livechat-panel { position: absolute; right: 0; bottom: calc(100% + .7rem); width: min(330px, calc(100vw - 32px)); background: #fff; color: var(--ink); border-radius: var(--radius); padding: 1.1rem 1.1rem 1rem; box-shadow: 0 0 0 1px rgba(217, 182, 115, .9), 0 20px 50px rgba(0, 0, 0, .3); }
.livechat-panel::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; border-radius: var(--radius) var(--radius) 0 0; background: var(--gold-grad); }
.livechat-panel strong { display: block; font-size: 1.05rem; margin: .2rem 1.8rem .35rem 0; }
.livechat-panel p { font-size: .88rem; color: var(--ink-soft); margin-bottom: .6rem; }
.livechat-panel .livechat-privacy { font-size: .78rem; color: var(--ink-faint); }
.livechat-x { position: absolute; top: .6rem; right: .6rem; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; display: grid; place-items: center; color: var(--ink); }
.livechat-status { margin: .55rem 0 0 !important; color: var(--bad) !important; font-size: .82rem !important; }
.livechat-status:empty { display: none; }
@media (max-width: 600px) { .livechat-launcher span, .whatsapp-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .livechat-launcher, .whatsapp-btn { padding: .85rem; } }

/* ad banners (top: under the header / below the home hero, bottom: above the footer) */
.ad-banner { margin: 1.5rem 0; }
.ad-banner.ad-top { margin-top: 0; }
main:has(> .hero) .ad-banner.ad-top { margin-top: 1.75rem; }
.ad-banner.ad-bottom { margin: 2.5rem 0 0; }
.ad-label { display: block; font-size: .66rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: .3rem; }
.ad-banner a { display: block; border-radius: var(--radius); }
.ad-banner img { width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.ad-banner a:hover img { border-color: var(--gold); box-shadow: var(--shadow); }
/* admin: banner list + placement picker */
.banner-thumb { display: block; width: 180px; max-width: 100%; aspect-ratio: 8 / 1; object-fit: cover; border-radius: 6px; border: 1px solid var(--line); margin-bottom: .35rem; }
/* featured suppliers (home) – square images, name on a dark fade */
.fcards { display: grid; gap: 1.1rem; grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .fcards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; } }
.fcard { position: relative; display: block; aspect-ratio: 1 / 1; border-radius: var(--radius); overflow: hidden; background: var(--sand); border: 1px solid var(--line); box-shadow: var(--shadow-sm); color: #fff; text-decoration: none; transition: transform .15s ease, box-shadow .15s, border-color .15s; }
.fcard:hover { color: #fff; transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--gold); }
.fcard img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.fcard:hover img { transform: scale(1.04); }
.fcard-body { position: absolute; inset: auto 0 0 0; padding: 2.4rem .9rem .8rem; background: linear-gradient(to top, rgba(10, 10, 10, .88), rgba(10, 10, 10, .55) 55%, transparent); display: flex; flex-direction: column; gap: .15rem; }
.fcard-name { font-weight: 700; line-height: 1.3; display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; }
.fcard-meta { font-size: .8rem; color: rgba(255, 255, 255, .78); }
@media (max-width: 600px) { .fcard-body { padding: 1.8rem .6rem .55rem; } .fcard-name { font-size: .88rem; } .fcard-name .badge { display: none; } }
.featured-field { display: flex; gap: 1rem; align-items: flex-start; }
.logo-preview { width: 96px; height: 96px; object-fit: contain; padding: 6px; background: #fff; border-radius: var(--radius-sm); border: 1px solid var(--line); flex: none; }
.featured-preview { width: 120px; height: 120px; object-fit: cover; border-radius: var(--radius-sm); border: 1px solid var(--line); flex: none; }
@media (max-width: 600px) { .featured-field { flex-direction: column; } }
.banner-preview { display: block; width: 100%; max-width: 560px; border-radius: var(--radius-sm); border: 1px solid var(--line); margin-bottom: .6rem; }
.banner-preview.mobile { max-width: 260px; }
.slot-pick { border: 0; padding: 0; margin: 0 0 1.25rem; display: grid; gap: .75rem; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.slot-pick legend { font-weight: 600; font-size: .875rem; margin-bottom: .45rem; }
.slot-option { display: flex; gap: .85rem; align-items: flex-start; border: 1px solid var(--line-strong); border-radius: var(--radius); padding: .85rem; cursor: pointer; font-weight: 400; margin: 0; }
.slot-option:has(input:checked) { border-color: var(--gold-deep); background: var(--gold-tint); box-shadow: var(--ring); }
.slot-option input { margin-top: .2rem; accent-color: var(--gold-deep); }
.slot-option .hint { display: block; margin-top: .2rem; }
.slot-diagram { flex: none; display: grid; gap: 3px; width: 64px; padding: 4px; border: 1px solid var(--line-strong); border-radius: 6px; background: #fff; }
.slot-diagram i { display: block; height: 6px; border-radius: 2px; background: var(--line); }
.slot-diagram .d-header, .slot-diagram .d-footer { background: var(--noir); }
.slot-diagram .d-content { height: 12px; }
.slot-diagram .d-top, .slot-diagram .d-bottom { height: 7px; background: repeating-linear-gradient(45deg, var(--line), var(--line) 2px, #fff 2px, #fff 4px); }
.slot-diagram.slot-top .d-top, .slot-diagram.slot-bottom .d-bottom { background: var(--gold-grad); }

/* supplier directory */
.searchbox .filters-top { margin-top: 0; padding-top: 0; border-top: 0; }
.slist { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(480px, 100%), 1fr)); }
.scard { display: flex; gap: 1rem; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem; text-decoration: none; color: inherit; box-shadow: var(--shadow-sm); transition: box-shadow .15s, border-color .15s, transform .15s; }
.scard:hover { color: inherit; border-color: var(--gold); box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.sbody { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .3rem; align-items: flex-start; }
.stitle { font-weight: 750; font-size: 1.05rem; line-height: 1.3; }
.scard .meta { color: var(--ink-soft); font-size: .84rem; display: flex; align-items: center; gap: .3rem; flex-wrap: wrap; }
.scard .meta .i { width: 1em; height: 1em; color: var(--ink-faint); }
.scard .meta .loc { display: inline-flex; align-items: center; gap: .25rem; white-space: nowrap; }
.sdesc { color: var(--ink-soft); font-size: .88rem; line-height: 1.45; }
.scard .tags { margin: .25rem 0 0; }
.scount { flex: none; text-align: center; font-size: .75rem; color: var(--ink-soft); line-height: 1.2; min-width: 56px; }
.scount strong { display: block; font-size: 1.35rem; color: var(--ink); font-weight: 800; }
.shead { display: grid; grid-template-columns: auto 1fr auto; gap: 1.25rem; align-items: start; }
.shead-logo { width: 72px; height: 72px; font-size: 1.8rem; border-radius: 16px; }
.seller-logo.has-img { background: #fff; border: 1px solid var(--line); object-fit: contain; padding: 3px; }
.shead-logo.has-img { padding: 6px; }
.supplier-row { display: grid; grid-template-columns: minmax(0, 560px) minmax(0, 360px); gap: 1.25rem; align-items: start; }
.supplier-row > .supplier-feature:only-child { grid-column: 1; max-width: 360px; }
.supplier-feature { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-sm); background: var(--sand); display: block; }
@media (max-width: 760px) { .supplier-row { grid-template-columns: 1fr; } }
.shead-main .prose { margin-bottom: .75rem; }
.shead-stats { display: grid; gap: .65rem; min-width: 150px; }
.shead-stats .tile { padding: .8rem 1rem; }
.shead-stats .tile .n { font-size: 1.5rem; }
@media (max-width: 760px) { .shead { grid-template-columns: auto 1fr; } .shead-stats { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; } }
/* category bar under the header: hover (mouse) / arrow button (touch, keyboard) opens the subcategories */
.catbar { background: #fff; border-bottom: 1px solid var(--line); position: relative; z-index: 25; box-shadow: var(--shadow-sm); }
.catbar-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: stretch; gap: .25rem; overflow-x: auto; scrollbar-width: none; }
.catbar-list::-webkit-scrollbar { display: none; }
.catbar-item { display: flex; align-items: center; flex: none; }
.catbar-link { display: inline-flex; align-items: center; gap: .45rem; padding: .7rem .4rem .7rem .7rem; color: var(--ink); font-weight: 700; font-size: .92rem; text-decoration: none; border-bottom: 2px solid transparent; white-space: nowrap; }
.catbar-link.plain { font-weight: 600; color: var(--ink-soft); padding-right: .7rem; }
.catbar-link .i { width: 1.05em; height: 1.05em; color: var(--gold-deep); }
.catbar-item:hover > .catbar-link, .catbar-item.open > .catbar-link, .catbar-item.active > .catbar-link { color: var(--ink); border-bottom-color: var(--gold); }
.catbar-link:hover { color: var(--ink); }
.catbar-toggle { background: none; border: 0; padding: .35rem .4rem; margin-right: .3rem; border-radius: var(--radius-sm); color: var(--ink-soft); cursor: pointer; display: grid; place-items: center; }
.catbar-toggle .i { width: 1rem; height: 1rem; transition: transform .15s; }
.catbar-toggle:hover { background: var(--sand); color: var(--ink); }
.catbar-item.open .catbar-toggle .i { transform: rotate(180deg); }
.catbar-panel { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--line); border-bottom: 3px solid var(--gold); box-shadow: 0 18px 40px rgba(20, 20, 20, .16);
  padding: 1.1rem 0 1.3rem; visibility: hidden; opacity: 0; transform: translateY(-4px); transition: opacity .15s, transform .15s, visibility 0s linear .15s; }
.catbar-item.open > .catbar-panel { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
@media (hover: hover) and (pointer: fine) {
  .catbar-item.has-sub:hover > .catbar-panel { visibility: visible; opacity: 1; transform: none; transition-delay: .08s; }
  .catbar-item.has-sub:hover .catbar-toggle .i { transform: rotate(180deg); }
}
.catbar-panel-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin-bottom: .8rem; padding-bottom: .6rem; border-bottom: 1px solid var(--line); }
.catbar-panel-head strong { font-size: 1.05rem; }
.catbar-panel .count { display: inline-block; min-width: 1.6em; padding: .05rem .45rem; border-radius: 99px; background: var(--sand); color: var(--ink-soft); font-size: .74rem; font-weight: 700; text-align: center; }
.catbar-sub { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: .25rem .9rem; }
.catbar-sub a { display: flex; justify-content: space-between; align-items: center; gap: .5rem; padding: .55rem .7rem; border-radius: var(--radius-sm); color: var(--ink); text-decoration: none; font-weight: 600; font-size: .93rem; }
.catbar-sub a:hover, .catbar-sub a.on { background: var(--cream); color: var(--ink); box-shadow: inset 3px 0 0 var(--gold); }
@media (max-width: 760px) {
  .catbar-panel { padding: .8rem 0 1rem; }
  .catbar-sub { grid-template-columns: 1fr 1fr; gap: .1rem .4rem; }
  .catbar-sub a { padding: .55rem .5rem; font-size: .88rem; }
}

.chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.home-cat { display: flex; align-items: center; gap: .6rem 1rem; flex-wrap: wrap; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem; box-shadow: var(--shadow-sm); }
.home-cat + .home-cat { margin-top: .75rem; }
.home-cat-main { display: inline-flex; align-items: center; gap: .45rem; font-weight: 800; font-size: 1.05rem; color: var(--ink); text-decoration: none; margin-right: .5rem; }
.home-cat-main .i { width: 1.1em; height: 1.1em; color: var(--gold-deep); }
.home-cat-main:hover { color: var(--gold-text); }
.chip { display: inline-flex; align-items: center; gap: .4rem; padding: .4rem .85rem; border-radius: 99px; border: 1px solid var(--line-strong); background: #fff; color: var(--ink); text-decoration: none; font-size: .88rem; font-weight: 600; }
.chip span { font-size: .75rem; color: var(--ink-faint); font-weight: 700; }
.chip:hover { border-color: var(--gold-deep); color: var(--ink); }
.chip.on { background: var(--noir); border-color: var(--noir); color: var(--gold-light); }
.chip.on span { color: #cfc8b8; }

/* exhibitions */
.xlist { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(360px, 100%), 1fr)); }
.xcard { display: flex; gap: 1rem; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; text-decoration: none; color: inherit; box-shadow: var(--shadow-sm); transition: box-shadow .15s, border-color .15s, transform .15s; }
.xcard:hover { color: inherit; border-color: var(--gold); box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.xdate { flex: none; width: 76px; border-radius: 10px; background: var(--noir); color: var(--cream); text-align: center; padding: .65rem .3rem; line-height: 1.1; }
.xdate .d { display: block; font-size: 1.15rem; font-weight: 800; color: var(--gold-light); letter-spacing: -.02em; }
.xdate .m { display: block; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-top: .3rem; color: #cfc8b8; }
.xbody { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .3rem; align-items: flex-start; }
.xtitle { font-weight: 750; font-size: 1.05rem; line-height: 1.3; }
.xtag { color: var(--ink-soft); font-size: .9rem; line-height: 1.4; }
.xcard .meta { color: var(--ink-soft); font-size: .84rem; display: flex; align-items: center; gap: .35rem; }
.xcard .meta .i { color: var(--ink-faint); width: 1em; height: 1em; flex: none; }
.xcard .tag { margin-top: .2rem; }
.xlogo { flex: none; width: 64px; height: 64px; object-fit: contain; border-radius: 8px; border: 1px solid var(--line); background: #fff; padding: 4px; }
.xhead-img { width: 100%; max-height: 320px; object-fit: contain; background: var(--paper); border-radius: var(--radius-sm); margin-bottom: 1.25rem; }
.xhead-tag { font-size: 1.1rem; color: var(--gold-text); font-weight: 600; margin-top: -.15rem; }

/* logistics */
.provider h3 { margin-bottom: .2rem; }
.provider .loc { display: flex; align-items: center; gap: .3rem; color: var(--ink-soft); font-size: .88rem; margin-bottom: .9rem; }
.tags { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: .9rem; }
.tag { font-size: .78rem; font-weight: 600; padding: .18rem .6rem; border-radius: 99px; background: var(--paper); border: 1px solid var(--line); color: var(--ink-soft); }
.provider dl.facts { padding-top: .9rem; border-top: 1px solid var(--line); }

/* footer ---------------------------------------------------------------- */
.site-footer { background: var(--noir); color: #a8a297; border-top: 1px solid rgba(217, 182, 115, .22); padding: 2.5rem 0 1.5rem; font-size: .9rem; }
.site-footer .cols { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; padding-bottom: 1.75rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.site-footer .brand { margin-bottom: .6rem; }
.site-footer .tagline { max-width: 36ch; margin: 0; }
.site-footer nav { display: flex; gap: .5rem 1.5rem; flex-wrap: wrap; align-items: flex-start; }
.site-footer a { color: #e6e0d2; text-decoration: none; }
.site-footer a:hover { color: var(--gold-light); }
.site-footer .brand-mark { width: 52px; }
.site-footer .brand-name { font-size: 1.45rem; }
.site-footer .legal { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 1.25rem; font-size: .84rem; }
.site-footer .legal nav a { color: #a8a297; }

.prose { max-width: 75ch; }
.prose h2 { margin-top: 1.75rem; }
.prose li + li { margin-top: .35rem; }

@media (max-width: 600px) {
  main { padding: 1.5rem 0 3rem; }
  .card { padding: 1.15rem; }
  .auth .card { padding: 1.4rem; }
  .hero { padding: 2.25rem 0 2rem; }
  .searchbox .main .btn, .mic.rec { flex: 1 1 100%; }
  .cta-band { padding: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
