/* ============================================================
   CATALOGUE — light theme for the brand shops (/humber, …).
   Deliberately light: the manufacturer product shots are on pure
   white, so a light page lets them sit natively. Typography and
   accent stay Santa Lucía's so it still reads as the same brand.
   ============================================================ */
:root {
  --c-bg:      #f6f4ef;
  --c-surface: #ffffff;
  --c-fg:      #1a1713;
  --c-muted:   #6d675e;
  --c-line:    rgba(26, 23, 19, 0.12);
  --c-accent:  #d8862f;
  --c-dark:    #1f2b28;          /* Humber's deep green, for the promise bar */
  --c-maxw:    1240px;
  --font-serif: "Fraunces", Georgia, serif;
  --font-sans:  "Inter", system-ui, sans-serif;
  --font-mono:  "Space Mono", monospace;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { overflow-x: clip; }
body.cat {
  background: var(--c-bg); color: var(--c-fg);
  font-family: var(--font-sans); font-weight: 300; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.cwrap { width: 100%; max-width: var(--c-maxw); margin: 0 auto; padding: 0 24px; }

.ceyebrow {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--c-accent); margin-bottom: 18px;
}

/* ---------- buttons ---------- */
.cbtn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; letter-spacing: 0.02em; padding: 14px 26px; border-radius: 100px;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .25s ease, background .25s ease, border-color .25s ease, color .25s ease;
}
.cbtn:hover { transform: translateY(-2px); }
.cbtn--solid { background: var(--c-fg); color: #fff; }
.cbtn--solid:hover { background: var(--c-accent); }
.cbtn--ghost { border-color: var(--c-line); }
.cbtn--ghost:hover { border-color: var(--c-fg); }

/* ---------- nav ---------- */
.cnav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 14px clamp(20px, 5vw, 48px);
  background: rgba(246, 244, 239, 0.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--c-line);
}
/* same line-art badge as the landing — needs size to stay readable */
.cnav__logo img { height: 60px; width: auto; }
@media (max-width: 820px) { .cnav__logo img { height: 54px; } }
.cnav__links { display: flex; gap: 28px; font-size: 14px; color: var(--c-muted); }
.cnav__links a:hover { color: var(--c-fg); }
.cnav__burger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 0 9px; margin-right: -9px;
  background: none; border: 0; cursor: pointer;
}
.cnav__burger span { display: block; height: 1.5px; width: 100%; background: var(--c-fg); border-radius: 2px; transition: transform .32s var(--ease-out), opacity .2s ease; }
.cnav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.cnav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.cnav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.cnav__menu {
  position: fixed; inset: 0; z-index: 45;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 30px;
  background: var(--c-bg);
  opacity: 0; visibility: hidden; transform: translateY(-10px);
  transition: opacity .3s ease, transform .3s var(--ease-out), visibility .3s;
}
.cnav__menu.is-open { opacity: 1; visibility: visible; transform: none; }
.cnav__menu nav { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.cnav__menu nav a { font-family: var(--font-serif); font-size: clamp(28px, 8vw, 38px); font-weight: 300; }
html.menu-open, html.menu-open body { overflow: hidden; }
@media (max-width: 820px) {
  .cnav__links, .cnav__cta { display: none; }
  .cnav__burger { display: flex; }
}

/* ---------- promise strip ---------- */
.promises { background: var(--c-dark); color: #f4efe4; overflow: hidden; }
/* One message at a time: all spans stacked, only .is-active is shown. */
.promises__track {
  position: relative; height: 38px;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase;
}
.promises__track span {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  padding: 0 20px; text-align: center;
  opacity: 0; transform: translateY(6px);
  transition: opacity .5s ease, transform .5s var(--ease-out);
  pointer-events: none;
}
.promises__track span.is-active { opacity: 1; transform: none; }
@media (max-width: 560px) { .promises__track { height: 34px; font-size: 9px; letter-spacing: 0.1em; } }
@media (prefers-reduced-motion: reduce) {
  .promises__track span { transition: opacity .2s ease; transform: none; }
}

/* ---------- collection hero ---------- */
.chero { padding: clamp(50px, 8vw, 88px) 24px clamp(34px, 5vw, 54px); max-width: 900px; margin: 0 auto; }
.chero__title {
  font-family: var(--font-serif); font-weight: 300; letter-spacing: -0.02em;
  font-size: clamp(38px, 6.5vw, 74px); line-height: 1.02; margin-bottom: 22px;
}
.chero__lead { font-size: clamp(16px, 2vw, 19px); color: var(--c-muted); max-width: 62ch; }
.chero__dealer { margin-top: 16px; font-size: 16px; max-width: 62ch; }
.chero__dealer strong { font-weight: 500; }
.chero .cbtn { margin-top: 28px; }

/* ---------- product grid ---------- */
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.5vw, 30px); }
@media (max-width: 900px) { .pgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pgrid { grid-template-columns: 1fr; } }

.pcard { display: block; }
/* The filter toggles the `hidden` attribute; without this the class rule above
   out-specifies the browser's [hidden]{display:none} and nothing disappears. */
.pcard[hidden] { display: none; }
.pcard__media {
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: 14px;
  aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center;
  padding: 14px; overflow: hidden;
  transition: border-color .3s ease, transform .3s ease, box-shadow .3s ease;
}
.pcard__media img { width: 100%; height: 100%; object-fit: contain; transition: transform .45s var(--ease-out); }
.pcard:hover .pcard__media { border-color: rgba(216,134,47,0.55); box-shadow: 0 10px 30px rgba(26,23,19,0.08); }
.pcard:hover .pcard__media img { transform: scale(1.04); }
.pcard__vendor {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--c-muted); margin: 16px 0 6px;
}
.pcard__title { font-family: var(--font-serif); font-weight: 400; font-size: 21px; line-height: 1.25; }
.pcard__price { font-size: 15px; color: var(--c-muted); margin-top: 4px; }
.pcard__price del { text-decoration: line-through; opacity: 0.7; margin-right: 8px; }
/* placeholder media for bikes whose photo isn't in yet */
.pcard__media--soon span {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--c-muted);
}
.pcard__colours { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.pcard__colours span {
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--c-muted); border: 1px solid var(--c-line); border-radius: 100px; padding: 3px 9px;
}

/* ---------- brand wall (/cyklar) ----------
   Mirrors the landing page's wall, inverted for the light theme. */
.cbrands { padding-top: clamp(34px, 5vw, 56px); padding-bottom: clamp(44px, 6vw, 70px); text-align: center; }
.cbrands .ceyebrow { margin-bottom: 16px; }
.cbrands__title {
  font-family: var(--font-serif); font-weight: 300;
  font-size: clamp(26px, 4vw, 46px); line-height: 1.1; letter-spacing: -0.01em;
  margin-bottom: clamp(34px, 5vw, 56px);
}
/* continuous looping brand marquee (two identical sets, translateX -50%) */
.cbrands__marquee {
  overflow: hidden; margin-top: clamp(28px, 4vw, 44px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.cbrands__track { display: flex; width: max-content; animation: cbrandsScroll 100s linear infinite; }
.cbrands__marquee:hover .cbrands__track { animation-play-state: paused; }
@keyframes cbrandsScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.cbrand {
  flex: 0 0 auto; width: 158px; margin-right: 14px;
  display: flex; align-items: center; justify-content: center;
  min-height: 96px; padding: 18px 22px;
  border: 1px solid var(--c-line); border-radius: 12px; background: var(--c-surface);
}
@media (max-width: 560px) { .cbrand { width: 132px; min-height: 84px; padding: 16px 18px; } }
@media (prefers-reduced-motion: reduce) { .cbrands__track { animation: none; flex-wrap: wrap; justify-content: center; row-gap: 12px; } }
/* Force every logo to one ink colour: the source files are a mix of brand
   colours AND white-on-transparent (Yuba, Cargobike), which would be invisible
   on a white card. brightness(0) flattens any of them to solid black. */
.cbrand img {
  max-width: 100%; max-height: 44px; width: auto; height: auto;
  filter: brightness(0); opacity: 0.6;
  transition: opacity .35s ease;
}
.cbrand img.is-stacked { max-height: 62px; }
.cbrand__go {
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--c-accent);
  opacity: 0; transform: translateY(4px);
  transition: opacity .3s ease, transform .3s ease;
}
.cbrand__go--soon { color: var(--c-muted); }
.cbrand:hover img { opacity: 1; }
.cbrand:hover .cbrand__go { opacity: 1; transform: none; }
.cbrand--link:hover { transform: translateY(-4px); border-color: rgba(216,134,47,0.5); box-shadow: 0 10px 26px rgba(26,23,19,0.08); }
@media (hover: none) { .cbrand__go { opacity: 1; transform: none; } }
.cbrands__note { margin-top: 22px; font-size: 14px; color: var(--c-muted); max-width: 70ch; margin-left: auto; margin-right: auto; }
/* filter panel: collapsible on phones (closed by default, tap to open) */
.cfilter__toggle {
  display: inline-flex; align-items: center; gap: 10px;
  background: none; border: 0; padding: 0; margin: 0; cursor: pointer; font: inherit; color: inherit;
}
.cfilter__chev {
  display: none; width: 8px; height: 8px;
  border-right: 2px solid var(--c-fg); border-bottom: 2px solid var(--c-fg);
  transform: rotate(45deg); transition: transform .3s var(--ease-out);
}
@media (max-width: 820px) {
  .cfilter__head { margin-bottom: 0; }
  .cfilter__chev { display: block; }
  .cfilter__body { display: none; }
  .cfilter.is-open .cfilter__body { display: block; margin-top: 18px; }
  .cfilter.is-open .cfilter__chev { transform: rotate(-135deg); }
  .cfilter:not(.is-open) .cfilter__reset { display: none; }
}

/* ---------- buyer's guide ---------- */
.cguide { padding-top: clamp(40px, 6vw, 70px); padding-bottom: clamp(40px, 6vw, 70px); border-top: 1px solid var(--c-line); }
.cguide > h2 { font-family: var(--font-serif); font-weight: 300; font-size: clamp(26px, 3.6vw, 40px); margin-bottom: 16px; }
.cguide > p { color: var(--c-muted); max-width: 78ch; }
.cguide__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 34px; }
.cguide__grid h3 { font-family: var(--font-serif); font-weight: 400; font-size: 20px; margin-bottom: 8px; }
.cguide__grid p { font-size: 14.5px; color: var(--c-muted); }
.cguide__help { margin-top: 28px; font-size: 15px; }
.cguide__help a { color: var(--c-accent); border-bottom: 1px solid rgba(216,134,47,0.4); }
@media (max-width: 780px) { .cguide__grid { grid-template-columns: 1fr; gap: 18px; } }

/* ---------- shop: filter + grid ---------- */
.cshop {
  display: grid; grid-template-columns: 250px 1fr; gap: clamp(24px, 3vw, 44px);
  align-items: start;
  padding-top: clamp(40px, 6vw, 70px); padding-bottom: clamp(50px, 7vw, 90px);
  border-top: 1px solid var(--c-line);
}
.cfilter {
  position: sticky; top: 96px;
  border: 1px solid var(--c-line); border-radius: 14px; background: var(--c-surface);
  padding: 20px 20px 22px;
}
.cfilter__head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 16px; }
.cfilter__head h2 { font-family: var(--font-serif); font-weight: 400; font-size: 20px; }
.cfilter__reset {
  background: none; border: 0; cursor: pointer; color: var(--c-muted);
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
}
.cfilter__reset:hover { color: var(--c-accent); }
.cfilter__group { border: 0; padding: 0 0 16px; margin-bottom: 14px; border-bottom: 1px solid var(--c-line); }
.cfilter__group:last-of-type { border-bottom: 0; padding-bottom: 0; margin-bottom: 0; }
.cfilter__group legend {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--c-muted); margin-bottom: 10px;
}
.cfilter__group label { display: flex; align-items: center; gap: 9px; font-size: 14.5px; padding: 5px 0; cursor: pointer; }
.cfilter__group input[type="checkbox"] { width: 15px; height: 15px; accent-color: var(--c-accent); cursor: pointer; }
.cfilter__group input[type="range"] { width: 100%; accent-color: var(--c-accent); }
.cfilter__price { font-size: 14px; margin-top: 6px; }
.cfilter__soon { font-size: 12px; color: var(--c-muted); margin-top: 6px; }

.cshop__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-bottom: 22px;
}
.cshop__count { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-muted); }
.cshop__sort {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-muted);
}
.cshop__sort select {
  font-family: var(--font-sans); font-size: 14px; letter-spacing: 0; text-transform: none; color: var(--c-fg);
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: 100px;
  padding: 8px 14px; cursor: pointer;
}
.cshop .pgrid { grid-template-columns: repeat(3, 1fr); }
.cshop__empty { margin-top: 30px; color: var(--c-muted); font-size: 15px; }
.cshop__empty a { color: var(--c-accent); }
.cshop__clear { background: none; border: 0; padding: 0; color: var(--c-accent); cursor: pointer; font: inherit; text-decoration: underline; }
@media (max-width: 1000px) { .cshop .pgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 820px) {
  .cshop { grid-template-columns: 1fr; }
  .cfilter { position: static; }
}
@media (max-width: 560px) { .cshop .pgrid { grid-template-columns: 1fr; } }

/* ---------- collection footer block ---------- */
.cfaq { padding: clamp(60px, 9vw, 110px) 24px; max-width: 720px; margin: 0 auto; text-align: center; }
.cfaq h2 { font-family: var(--font-serif); font-weight: 300; font-size: clamp(28px, 4vw, 44px); margin-bottom: 16px; }
.cfaq p { color: var(--c-muted); margin-bottom: 26px; }

/* ---------- FAQ page (grouped accordion) ---------- */
.qhero { max-width: 780px; }
.qwrap { max-width: 820px; }
.qgroup { margin-top: clamp(38px, 6vw, 60px); }
.qgroup__title {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--c-accent);
  padding-bottom: 12px; margin-bottom: 4px; border-bottom: 1px solid var(--c-line);
}
.qfaq__item { border-bottom: 1px solid var(--c-line); }
.qfaq__item > summary {
  list-style: none; cursor: pointer; display: flex; align-items: flex-start;
  justify-content: space-between; gap: 18px; padding: 19px 2px;
  font-size: 16.5px; color: var(--c-fg); transition: color .2s ease;
}
.qfaq__item > summary::-webkit-details-marker { display: none; }
.qfaq__item > summary:hover { color: var(--c-accent); }
.qfaq__item > summary::after {
  content: '+'; font-family: var(--font-mono); font-size: 22px; line-height: 1;
  color: var(--c-muted); flex: 0 0 auto; margin-top: 1px;
}
.qfaq__item[open] > summary::after { content: '\2212'; }
.qfaq__q { font-weight: 400; }
.qfaq__tag {
  display: inline-block; font-family: var(--font-mono); font-size: 9.5px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-muted);
  border: 1px solid var(--c-line); border-radius: 100px; padding: 3px 9px;
  margin-left: 8px; white-space: nowrap; vertical-align: middle;
}
.qfaq__a { padding: 0 2px 20px; color: var(--c-muted); font-size: 15px; line-height: 1.65; }
.qfaq__a p { margin-bottom: 10px; }
.qfaq__a p:last-child { margin-bottom: 0; }
.qfaq__a em { font-style: normal; color: var(--c-fg); }
.qfaq__a strong { color: var(--c-fg); font-weight: 500; }
.qfaq__a a { color: var(--c-accent); }
.qfaq__a .policy__sign { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-fg); margin-top: 4px; }
.qcta { text-align: center; padding: clamp(50px, 7vw, 80px) 24px clamp(60px, 9vw, 100px); }
.qcta h2 { font-family: var(--font-serif); font-weight: 300; font-size: clamp(26px, 3.5vw, 38px); margin-bottom: 12px; }
.qcta p { color: var(--c-muted); margin-bottom: 24px; }

/* ---------- breadcrumbs ---------- */
.crumbs {
  padding: 22px 24px 0; font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-muted);
  display: flex; gap: 8px; flex-wrap: wrap; align-items: center;
}
.crumbs a:hover { color: var(--c-fg); }
.crumbs em { font-style: normal; color: var(--c-fg); }

/* ---------- product detail ---------- */
.pdetail {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 4vw, 56px);
  padding-top: clamp(24px, 4vw, 44px); padding-bottom: clamp(50px, 7vw, 90px); align-items: start;
}
@media (max-width: 900px) { .pdetail { grid-template-columns: 1fr; } }

/* grid item must be allowed to shrink below its content's intrinsic width,
   otherwise the gallery column overflows the viewport on phones */
.pgal { min-width: 0; }
.pgal__main {
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: 16px;
  aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; padding: 18px;
}
.pgal__main img { width: 100%; height: 100%; object-fit: contain; }
.pgal__thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: 10px; }
.pgal__thumb {
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: 8px;
  aspect-ratio: 1; padding: 5px; cursor: pointer; transition: border-color .25s ease;
}
/* phones: thumbnails become a horizontal, finger-scrollable strip (iOS Safari
   can't scroll an overflowing grid, so a fixed 6-col grid clipped the last thumb) */
@media (max-width: 900px) {
  .pgal__thumbs {
    display: flex; grid-template-columns: none; flex-wrap: nowrap; min-width: 0;
    overflow-x: auto; -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity; scroll-padding-left: 2px;
    padding-bottom: 4px; scrollbar-width: thin;
  }
  .pgal__thumbs::-webkit-scrollbar { height: 4px; }
  .pgal__thumbs::-webkit-scrollbar-thumb { background: var(--c-line); border-radius: 4px; }
  .pgal__thumb { flex: 0 0 clamp(62px, 19vw, 84px); scroll-snap-align: start; }
}
.pgal__thumb img { width: 100%; height: 100%; object-fit: contain; }
.pgal__thumb.is-active { border-color: var(--c-accent); }

.pinfo__title {
  font-family: var(--font-serif); font-weight: 300; letter-spacing: -0.015em;
  font-size: clamp(30px, 4vw, 46px); line-height: 1.08; margin-bottom: 14px;
}
.pinfo__price { font-size: 26px; margin-bottom: 26px; }
.pinfo__price span {
  display: block; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--c-muted); margin-bottom: 4px;
}
.pinfo__body { color: var(--c-muted); font-size: 15.5px; }
.pinfo__body p { margin-bottom: 12px; }
.pinfo__body b, .pinfo__body strong { color: var(--c-fg); font-weight: 500; }
.pinfo__body ul { margin: 0 0 16px 18px; }
.pinfo__body li { margin-bottom: 5px; }

.popt { margin-top: 20px; }
.popt__name { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--c-muted); margin-bottom: 8px; }
.popt__name em { font-style: normal; letter-spacing: 0.08em; opacity: 0.7; }
.popt__vals { display: flex; gap: 8px; flex-wrap: wrap; }
.popt__vals span,
.popt__vals .colourway { border: 1px solid var(--c-line); border-radius: 100px; padding: 7px 15px; font-size: 13px; }
/* colour swatches — a dot in the real finish colour + its name */
.popt__swatches { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.cswatch { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--c-fg); }
.cswatch i {
  width: 18px; height: 18px; border-radius: 50%; flex: 0 0 auto;
  border: 1px solid rgba(26, 23, 19, 0.22);
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.35);
}
/* interactive colour swatch (per-variant picker) */
.mswatch { background: none; border: 0; padding: 3px 0; margin: 0; cursor: pointer; font: inherit; color: var(--c-muted); }
.mswatch i { transition: outline .15s ease; }
.mswatch:hover { color: var(--c-fg); }
.mswatch.is-active { color: var(--c-fg); font-weight: 500; }
.mswatch.is-active i { outline: 2px solid var(--c-accent); outline-offset: 2px; }
/* colour switcher: same pill, but interactive */
.colourway {
  background: none; font-family: inherit; color: inherit; cursor: pointer;
  transition: border-color .25s ease, background .25s ease, color .25s ease;
}
.colourway:hover { border-color: var(--c-fg); }
.colourway.is-active { background: var(--c-fg); border-color: var(--c-fg); color: #fff; }

.ptable { width: 100%; border-collapse: collapse; margin-top: 28px; font-size: 14px; }
.ptable caption {
  text-align: left; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--c-muted); padding-bottom: 10px;
}
.ptable th, .ptable td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--c-line); }
.ptable th { font-weight: 500; font-size: 12px; letter-spacing: 0.04em; }
.ptable td:last-child, .ptable th:last-child { text-align: right; white-space: nowrap; }
/* info column must be allowed to shrink below its content on phones, otherwise a
   wide spec table expands it past the viewport (and body{overflow:clip} hides it) */
.pinfo { min-width: 0; }
/* wide multi-column spec tables scroll horizontally instead of overflowing */
.ptable-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-top: 28px; }
.ptable-wrap .ptable { margin-top: 0; }
/* spec table: all columns left-aligned and free to wrap (not price-style) */
.ptable--specs td:last-child, .ptable--specs th:last-child { text-align: left; white-space: normal; }

.pcta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.pnote { font-size: 13.5px; color: var(--c-muted); margin-top: 16px; }

/* ---------- value props ---------- */
.pvalues {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  padding-top: clamp(40px, 6vw, 64px); padding-bottom: clamp(40px, 6vw, 64px);
  border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line);
}
.pvalues h3 { font-family: var(--font-serif); font-weight: 400; font-size: 19px; margin-bottom: 8px; }
.pvalues p { font-size: 14.5px; color: var(--c-muted); }
@media (max-width: 860px) { .pvalues { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .pvalues { grid-template-columns: 1fr; } }

/* ---------- long description ---------- */
.pdesc { padding-top: clamp(50px, 7vw, 84px); padding-bottom: clamp(50px, 7vw, 84px); }
.pdesc h2 { font-family: var(--font-serif); font-weight: 300; font-size: clamp(28px, 4vw, 44px); margin-bottom: 24px; }
.rte { max-width: 76ch; color: var(--c-muted); font-size: 16px; }
.rte p { margin-bottom: 16px; }
.rte strong { color: var(--c-fg); font-weight: 500; }
.rte ul { margin: 0 0 16px 20px; }
.rte li { margin-bottom: 6px; }

/* ---------- more models ---------- */
.pmore { padding-bottom: clamp(60px, 8vw, 100px); }
.pmore h2 { font-family: var(--font-serif); font-weight: 300; font-size: clamp(26px, 3.5vw, 38px); margin-bottom: 28px; }
.pmore .cbtn { margin-top: 30px; }

/* ---------- footer ---------- */
.cfooter { background: var(--c-surface); border-top: 1px solid var(--c-line); padding: 44px 0 30px; }
.cfooter__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cfooter__logo { height: 84px; width: auto; }
.cfooter__meta { font-size: 14px; color: var(--c-muted); }
.cfooter__meta strong { color: var(--c-fg); font-weight: 500; }
.cfooter__contact { display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.cfooter__contact a:hover { color: var(--c-accent); }
.cfooter__note { margin-top: 26px; font-size: 12px; color: var(--c-muted); max-width: 80ch; }
/* wrapper dissolves on desktop (keeps logo | meta | contact spread); on phones it
   stacks meta + contact next to the logo for a compact single-row footer */
.cfooter__text { display: contents; }
@media (max-width: 640px) {
  .cfooter__inner { flex-wrap: nowrap; align-items: flex-start; justify-content: flex-start; gap: 16px; }
  .cfooter__logo { height: 52px; flex-shrink: 0; }
  .cfooter__text { display: flex; flex-direction: column; gap: 12px; }
  .cfooter__meta { font-size: 12.5px; line-height: 1.5; }
  .cfooter__contact { font-size: 13px; }
  .cfooter__note { margin-top: 20px; font-size: 11px; }
}

/* ---------- begagnade: renovation process + showcase ---------- */
.ctag {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--c-accent);
  border: 1px solid rgba(216,134,47,0.4); border-radius: 100px; padding: 3px 10px; white-space: nowrap;
}
.bproc { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: clamp(28px, 4vw, 44px); }
.bproc__card { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: 14px; padding: 26px 24px; }
.bproc__card h3 { font-family: var(--font-serif); font-weight: 400; font-size: 21px; margin-bottom: 8px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.bproc__card p { color: var(--c-muted); font-size: 15px; }
.bproc__card p + p { margin-top: 10px; }
@media (max-width: 700px) { .bproc { grid-template-columns: 1fr; } }
.bnote { color: var(--c-muted); font-size: 15px; max-width: 70ch; margin-bottom: 26px; }
/* used-bike cards reuse .pcard but show a "contact" price, not a number */
.pcard__price--ask { color: var(--c-accent); }

/* ============================================================
   STACKING GUIDE CARDS (/cyklar) — each card sticks under the
   nav and the next one slides up and stacks over it on scroll.
   Pure CSS: position:sticky with increasing top offsets so a
   sliver of each previous card stays visible.
   ============================================================ */
.cstack { margin-top: clamp(28px, 4vw, 44px); }
.cstack__card {
  position: sticky;
  display: grid; grid-template-columns: auto 1fr; gap: clamp(18px, 3vw, 44px);
  align-items: center;
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: 20px;
  padding: clamp(28px, 4vw, 50px);
  box-shadow: 0 -12px 44px rgba(26, 23, 19, 0.06);
  min-height: clamp(280px, 42vh, 420px);
}
/* increasing top offsets leave a stacked edge of each earlier card */
.cstack__card:nth-child(1) { top: 96px; }
.cstack__card:nth-child(2) { top: 116px; }
.cstack__card:nth-child(3) { top: 136px; }
.cstack__card:nth-child(4) { top: 156px; }
.cstack__card + .cstack__card { margin-top: 22px; }
.cstack__num {
  font-family: var(--font-serif); font-weight: 300; font-size: clamp(52px, 9vw, 116px);
  line-height: 0.85; color: var(--c-accent);
}
.cstack__tag {
  display: inline-block; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--c-muted); margin-bottom: 12px;
}
.cstack__body h3 {
  font-family: var(--font-serif); font-weight: 400; font-size: clamp(23px, 3vw, 34px);
  line-height: 1.1; margin-bottom: 12px;
}
.cstack__body p { color: var(--c-muted); font-size: clamp(14.5px, 1.6vw, 17px); max-width: 52ch; }
@media (max-width: 620px) {
  .cstack__card {
    grid-template-columns: 1fr; gap: 4px; padding: 24px 22px;
    min-height: clamp(240px, 46vh, 340px);
  }
  .cstack__card:nth-child(1) { top: 80px; }
  .cstack__card:nth-child(2) { top: 94px; }
  .cstack__card:nth-child(3) { top: 108px; }
  .cstack__card:nth-child(4) { top: 122px; }
  .cstack__num { font-size: 46px; }
}
@media (prefers-reduced-motion: reduce) {
  .cstack__card { position: static; min-height: 0; margin-top: 14px; }
}

/* ============================================================
   FÖRETAG — B2B page (fleets, service contracts).
   Same light theme, but a distinct editorial hero + pillar grid
   so it reads as its own destination, not another shop.
   ============================================================ */
.fhero { padding-top: clamp(46px, 6vw, 76px); max-width: 860px; }
.fhero__title {
  font-family: var(--font-serif); font-weight: 300; letter-spacing: -0.02em;
  font-size: clamp(38px, 5.8vw, 70px); line-height: 1.03; margin-bottom: 22px;
}
.fhero__lead { font-size: clamp(16px, 2vw, 19px); color: var(--c-muted); max-width: 58ch; }
.fhero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
/* full-width landscape banner — the photo's value is the whole scene
   (Ignacio + the branded "MOBIL VERKSAMHET" cargo bike), so never crop it portrait. */
.fhero__banner { margin-top: clamp(28px, 4vw, 46px); }
.fhero__banner img {
  width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: center;
  border-radius: 18px; border: 1px solid var(--c-line);
  box-shadow: 0 24px 60px rgba(26,23,19,0.12);
}
@media (max-width: 620px) { .fhero__banner img { aspect-ratio: 4 / 3; } }

/* trust strip — quick numbers under the hero */
.fstats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  padding-top: clamp(38px, 5vw, 60px); padding-bottom: clamp(38px, 5vw, 60px);
  border-bottom: 1px solid var(--c-line);
}
.fstat__num { font-family: var(--font-serif); font-weight: 300; font-size: clamp(30px, 4vw, 44px); line-height: 1; }
.fstat__lbl { font-size: 14px; color: var(--c-muted); margin-top: 8px; }
@media (max-width: 620px) { .fstats { grid-template-columns: 1fr; gap: 22px; text-align: left; } }

/* section heading shared by företag blocks */
.fsec { padding-top: clamp(46px, 6vw, 78px); }
.fsec__title { font-family: var(--font-serif); font-weight: 300; font-size: clamp(28px, 4vw, 44px); letter-spacing: -0.01em; margin-bottom: 14px; }
.fsec__lead { color: var(--c-muted); max-width: 72ch; margin-bottom: clamp(28px, 4vw, 40px); }

/* service pillars — horizontal row of 4 (swipe carousel on phones) */
.fpillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.fpillar {
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: 16px;
  padding: 26px 22px; transition: border-color .3s ease, transform .3s ease, box-shadow .3s ease;
}
.fpillar:hover { border-color: rgba(216,134,47,0.5); transform: translateY(-3px); box-shadow: 0 14px 34px rgba(26,23,19,0.08); }
.fpillar__num { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; color: var(--c-accent); }
.fpillar h3 { font-family: var(--font-serif); font-weight: 400; font-size: 20px; margin: 13px 0 8px; }
.fpillar p { color: var(--c-muted); font-size: 15px; }
@media (max-width: 980px) { .fpillars { grid-template-columns: repeat(2, 1fr); } }
/* phones: full-bleed horizontal carousel — one card at a time, swipe to advance */
@media (max-width: 700px) {
  .fpillars {
    display: flex; grid-template-columns: none;
    gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
    scroll-padding-inline: 24px; margin: 0 -24px; padding: 4px 24px 10px;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .fpillars::-webkit-scrollbar { display: none; }
  .fpillar { flex: 0 0 82%; scroll-snap-align: start; }
}

/* swipe hint — shown only when the carousel is active */
.fhint {
  display: none; margin-top: 10px; font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--c-muted);
}
@media (max-width: 700px) { .fhint { display: block; } }

/* who it's for — image cards */
.fcases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.fcase {
  border: 1px solid var(--c-line); border-radius: 16px; background: var(--c-surface);
  overflow: hidden; transition: border-color .3s ease, transform .3s ease, box-shadow .3s ease;
}
.fcase:hover { border-color: rgba(216,134,47,0.5); transform: translateY(-3px); box-shadow: 0 14px 34px rgba(26,23,19,0.08); }
.fcase__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--c-bg); }
.fcase__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s var(--ease-out); }
.fcase:hover .fcase__media img { transform: scale(1.05); }
.fcase__body { padding: 20px 22px 24px; }
.fcase h3 { font-family: var(--font-serif); font-weight: 400; font-size: 19px; margin-bottom: 6px; }
.fcase p { color: var(--c-muted); font-size: 14px; }
/* keep two image cards per row on phones — a single column made the page far too long */
@media (max-width: 820px) { .fcases { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .fcases { gap: 10px; }
  .fcase__body { padding: 12px 13px 15px; }
  .fcase h3 { font-size: 16px; margin-bottom: 4px; }
  .fcase p { font-size: 12.5px; line-height: 1.45; }
}

/* how it works — numbered steps */
.fsteps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 34px); counter-reset: step; }
.fstep { position: relative; padding-top: 20px; border-top: 2px solid var(--c-fg); }
.fstep__k { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; color: var(--c-accent); }
.fstep h3 { font-family: var(--font-serif); font-weight: 400; font-size: 20px; margin: 10px 0 8px; }
.fstep p { color: var(--c-muted); font-size: 14.5px; }
/* phones: same full-bleed carousel as the pillars — one step at a time */
@media (max-width: 700px) {
  .fsteps {
    display: flex; grid-template-columns: none;
    gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
    scroll-padding-inline: 24px; margin: 0 -24px; padding: 4px 24px 10px;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .fsteps::-webkit-scrollbar { display: none; }
  .fstep { flex: 0 0 82%; scroll-snap-align: start; }
}

/* ---------- foliering / vinyl-wrap service ---------- */
.folcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: clamp(28px, 4vw, 40px); }
.folcard {
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: 16px;
  overflow: hidden; transition: border-color .3s ease, transform .3s ease, box-shadow .3s ease;
}
.folcard:hover { border-color: rgba(216,134,47,0.5); transform: translateY(-3px); box-shadow: 0 14px 34px rgba(26,23,19,0.08); }
.folcard__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--c-bg); }
.folcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s var(--ease-out); }
.folcard:hover .folcard__media img { transform: scale(1.05); }
.folcard__body { padding: 22px 24px 26px; }
.folcard__num { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; color: var(--c-accent); }
.folcard h3 { font-family: var(--font-serif); font-weight: 400; font-size: 21px; margin: 10px 0 8px; }
.folcard p { color: var(--c-muted); font-size: 15px; }
/* phones: swipe carousel, one card at a time (same pattern as the pillars) */
@media (max-width: 700px) {
  .folcards {
    display: flex; grid-template-columns: none; gap: 12px;
    overflow-x: auto; scroll-snap-type: x mandatory;
    scroll-padding-inline: 24px; margin-left: -24px; margin-right: -24px; padding: 4px 24px 10px;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .folcards::-webkit-scrollbar { display: none; }
  .folcard { flex: 0 0 82%; scroll-snap-align: start; }
}

.folben {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px 28px;
  margin-top: clamp(30px, 4vw, 44px); padding-top: clamp(26px, 3vw, 34px);
  border-top: 1px solid var(--c-line);
}
.folben__item h4 { font-weight: 500; font-size: 15px; margin-bottom: 6px; }
.folben__item p { color: var(--c-muted); font-size: 13.5px; line-height: 1.5; }
@media (max-width: 760px) { .folben { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 430px) { .folben { grid-template-columns: 1fr; } }

.fol-cta { display: inline-flex; margin-top: clamp(26px, 3vw, 38px); }
.fol-note { margin-top: 14px; font-size: 13px; color: var(--c-muted); }

/* contact CTA band */
.fcontact {
  margin-top: clamp(56px, 8vw, 96px); background: var(--c-dark); color: #f4efe4;
}
.fcontact__inner {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(28px, 4vw, 56px); align-items: center;
  padding-top: clamp(50px, 7vw, 82px); padding-bottom: clamp(50px, 7vw, 82px);
}
.fcontact h2 { font-family: var(--font-serif); font-weight: 300; font-size: clamp(28px, 4vw, 46px); line-height: 1.08; margin-bottom: 16px; }
.fcontact p { color: rgba(244,239,228,0.7); font-size: 16px; max-width: 52ch; }
.fcontact__box {
  background: rgba(244,239,228,0.06); border: 1px solid rgba(244,239,228,0.16);
  border-radius: 16px; padding: 28px 28px;
}
.fcontact__box .ceyebrow { color: var(--c-accent); }
.fcontact__row { display: flex; flex-direction: column; gap: 4px; margin-bottom: 20px; }
.fcontact__row span { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(244,239,228,0.5); }
.fcontact__row a, .fcontact__row strong { font-size: 17px; color: #f4efe4; font-weight: 400; }
.fcontact__row a:hover { color: var(--c-accent); }
.fcontact .cbtn--solid { background: var(--c-accent); color: #1a1713; }
.fcontact .cbtn--solid:hover { background: #f4efe4; }
@media (max-width: 820px) { .fcontact__inner { grid-template-columns: 1fr; gap: 30px; } }

/* ---------- language switcher (catalogue nav) ---------- */
.cnav__lang { display: inline-flex; align-items: center; gap: 2px; }
.cnav__lang a {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em;
  color: var(--c-muted); padding: 5px 7px; border-radius: 100px; line-height: 1;
  transition: color .2s ease, background .2s ease;
}
.cnav__lang a:hover { color: var(--c-fg); }
.cnav__lang a.is-active { color: var(--c-fg); background: rgba(26,23,19,0.08); font-weight: 500; }
@media (max-width: 820px) { .cnav__lang:not(.cnav__lang--menu) { display: none; } }
.cnav__lang--menu { gap: 8px; margin-top: 10px; }
.cnav__lang--menu a {
  font-family: var(--font-sans); font-size: 16px; letter-spacing: 0; padding: 8px 14px;
  border: 1px solid var(--c-line); color: var(--c-muted);
}
.cnav__lang--menu a.is-active { background: var(--c-fg); color: #fff; border-color: var(--c-fg); }
