/* The Junk B2B — quote page.
   Follows the theme of the webshop (thejunkdesign.com): white, #222 text, weight-400
   sentence-case headings, black buttons, filled inputs, 5px corners. Compact: the quote form
   sits next to the introduction on wide screens and right after it on phones.
   Mobile first; everything works from 360px. Tokens are listed in README.md ("Tasarım"). */

/* The same font files the webshop loads (served with CORS headers by Shopify's CDN). */
@font-face {
  font-family: "Avenir Next LT Pro";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("https://cdn.shopify.com/s/files/1/0571/9500/3985/files/AvenirNextLTPro-Regular.otf") format("opentype");
}
/* Condensed medium: the webshop uses it for small footer titles only. Do not use 500 elsewhere. */
@font-face {
  font-family: "Avenir Next LT Pro";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("https://cdn.shopify.com/s/files/1/0571/9500/3985/files/AvenirNextLTPro-MediumCn.otf") format("opentype");
}
@font-face {
  font-family: "Avenir Next LT Pro";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("https://cdn.shopify.com/s/files/1/0571/9500/3985/files/AvenirNextLTPro-Bold.otf") format("opentype");
}
@font-face {
  font-family: "Avenir Next LT Pro";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("https://cdn.shopify.com/s/files/1/0571/9500/3985/files/AvenirNextLTPro-Heavy.otf") format("opentype");
}

:root {
  --bg: #ffffff;
  --text: #222222;
  --muted: #666666;          /* 5.7:1 on white, 5.3:1 on --soft */
  --soft: #f5f5f5;
  --line: #eeeeee;
  --line-strong: #e5e5e5;
  --field: #f2f2f2;
  --black: #000000;

  --error: #da3f3f;
  --error-bg: #fbeaea;
  --error-text: #b92d2d;     /* the webshop's red is 4.4:1 on white; small text uses this darker shade */
  --success: #3a8735;
  --success-bg: #d1eccf;
  --warning: #d2861a;
  --warning-bg: #faecd7;

  --font: "Avenir Next LT Pro", "Avenir Next", Avenir, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --wrap: 1200px;
  --gutter: 15px;
  --header-pad: 15px;
  --section: 44px;
  --radius: 5px;
}
@media (min-width: 768px) {
  :root { --header-pad: 30px; --section: 56px; }
}
@media (min-width: 1100px) {
  :root { --header-pad: 65px; --section: 72px; }
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  color-scheme: light;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

[hidden] { display: none !important; }

h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
h1, h2, h3 { font-weight: 400; letter-spacing: 0; }
ul, ol { padding: 0; list-style: none; }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
address { font-style: normal; }
strong { font-weight: 600; }

:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 2px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: 10px;
  top: -80px;
  z-index: 20;
  padding: 10px 20px;
  border-radius: var(--radius);
  background: var(--black);
  color: #fff;
  text-decoration: none;
}
.skip-link:focus { top: 10px; outline-color: #fff; }

/* ───────── Type ───────── */

.h1 { font-size: 28px; line-height: 1.2; text-wrap: balance; }
.h2 { font-size: 22px; line-height: 1.24; text-wrap: balance; }
.h3 { font-size: 19px; line-height: 1.3; }
@media (min-width: 768px) {
  .h1 { font-size: 35px; }
  .h2 { font-size: 25px; }
  .h3 { font-size: 22px; }
}
@media (min-width: 1100px) {
  .h1 { font-size: 42px; line-height: 1.16; }
  .h2 { font-size: 30px; }
  .h3 { font-size: 24px; }
}

.kicker { margin-bottom: 12px; font-size: 14px; color: var(--text); }

.text { font-size: 15px; line-height: 1.6; color: var(--muted); }
.text + .text { margin-top: 10px; }
.text a { color: var(--text); }
@media (min-width: 768px) {
  .text { font-size: 16px; }
}

.subtitle {
  margin: 30px 0 14px;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
}

.note {
  max-width: 720px;
  margin: 18px auto 0;
  color: var(--muted);
  text-align: center;
}

.caption { margin-top: 10px; font-size: 14px; color: var(--muted); }

/* ───────── Buttons and links ───────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 43px;
  padding: 10px 30px;
  border: 1px solid var(--black);
  border-radius: var(--radius);
  background: var(--black);
  color: #fff;
  font: inherit;
  font-size: 14px;
  line-height: 21px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.btn:hover { background: var(--text); border-color: var(--text); }
.btn[disabled] { opacity: 0.55; cursor: progress; }

/* Text link as on the webshop: a 1px line sitting 3px under the words. */
.link {
  display: inline-block;
  padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
  color: var(--text);
  line-height: 21px;
  text-decoration: none;
  transition: color 0.2s ease;
}
.link:hover { color: var(--muted); }

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 30px;
  margin-top: 20px;
}

/* ───────── Announcement bar and header ───────── */

.announce {
  min-height: 28px;
  padding: 3.5px var(--gutter);
  background: var(--black);
  color: #fff;
  font-size: 14px;
  line-height: 21px;
  text-align: center;
}

.header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 60px;
  padding-inline: var(--header-pad);
}

.logo { display: block; flex: none; font-size: 16px; font-weight: 800; }
.logo img { width: auto; height: 20px; }

.nav { display: none; }
.nav a,
.lang a { text-decoration: none; transition: color 0.2s ease; }
.nav a:hover { color: var(--muted); }

.header__tools { display: flex; align-items: center; gap: 16px; }
@media (min-width: 600px) {
  .header__tools { gap: 24px; }
}
.header__cta { min-height: 36px; padding: 6px 14px; }

.lang { display: flex; gap: 14px; }
.lang a { padding-block: 3px; border-bottom: 1px solid transparent; color: var(--muted); }
.lang a:hover { color: var(--text); }
.lang a[aria-current="true"] { border-bottom-color: currentColor; color: var(--text); }

@media (min-width: 600px) {
  .header__cta { min-height: 43px; padding: 10px 30px; }
}
@media (min-width: 990px) {
  .header__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    min-height: 72px;
  }
  .logo { justify-self: start; }
  .logo img { height: 22px; }
  .nav { display: flex; gap: 34px; }
  .header__tools { justify-self: end; }
}

/* ───────── Images ─────────
   Explicit ratios and a light background keep the layout stable while a photo loads. */

.photo {
  width: 100%;
  height: auto;
  border-radius: 0;
  background: var(--field);
  object-fit: cover;
}
.photo--3x4 { aspect-ratio: 3 / 4; }
.photo--4x5 { aspect-ratio: 4 / 5; }

/* ───────── Hero + quote form ─────────
   One column on phones: introduction, key facts, form, photo.
   From 900px two columns: introduction, facts and photo on the left, the form on the right. */

.hero { padding-top: 24px; }
.hero__grid {
  display: grid;
  grid-template-areas: "copy" "facts" "quote" "media";
  gap: 24px;
}
.hero__copy { grid-area: copy; }
.hero__copy .text { max-width: 540px; }
.hero__copy .h1 { margin-bottom: 14px; }
.hero__media { grid-area: media; max-width: 520px; margin: 0; }

@media (min-width: 900px) {
  .hero { padding-top: 40px; }
  .hero__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    grid-template-rows: auto auto 1fr;
    grid-template-areas: "copy quote" "facts quote" "media quote";
    gap: 28px 56px;
    align-items: start;
  }
}
@media (min-width: 1100px) {
  .hero__grid { gap: 30px 80px; }
}

.facts {
  grid-area: facts;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-block: 1px solid var(--line);
}
.facts li { padding: 12px 12px 12px 0; font-size: 13px; }
.facts li:nth-child(even) { padding-left: 12px; border-left: 1px solid var(--line); }
.facts li:nth-child(n + 3) { border-top: 1px solid var(--line); }
.facts__k { display: block; margin-bottom: 2px; color: var(--muted); }
.facts__v { display: block; font-size: 14px; line-height: 1.4; }
@media (min-width: 600px) {
  .facts li { padding: 16px 20px 16px 0; font-size: 14px; }
  .facts li:nth-child(even) { padding-left: 20px; }
  .facts__v { font-size: 15px; }
}

/* The form: a quiet bordered panel, the only framed block on the page. */
.quote { grid-area: quote; min-width: 0; }
.quote__panel { min-width: 0; }
.quote__head { margin-bottom: 20px; }
.quote__head .h2 { margin-bottom: 8px; }
@media (min-width: 900px) {
  .quote {
    padding: 30px 32px 32px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
  }
}
@media (min-width: 1100px) {
  .quote { padding: 36px 40px 40px; }
}

/* A quiet line under the form title of the quote page that points shops to /winkels. */
.quote__switch { margin-top: 8px; font-size: 13px; color: var(--muted); }

/* ───────── Wholesale page (/winkels, /stores) ───────── */

/* Twelve model chips: a little tighter than the four product chips. */
.choices--compact { gap: 8px; }
.choices--compact .choice { min-height: 38px; padding: 8px 14px; }
.form__legend + .field__hint { margin: -6px 0 10px; }


.support { max-width: 740px; margin-inline: auto; border-bottom: 1px solid var(--line); }
.support li { padding: 14px 0; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.5; }
@media (min-width: 768px) {
  .support li { padding: 16px 0; }
}

/* ───────── Sections ───────── */

.section { padding-top: var(--section); }
.section--tight { padding-top: calc(var(--section) / 2); }
main > .section:last-child { padding-bottom: var(--section); }

/* Centred title block, like the page title of the webshop. */
.intro {
  max-width: 740px;
  margin: 0 auto 24px;
  text-align: center;
}
.intro .h2 + .text { margin-top: 12px; }
@media (min-width: 990px) {
  .intro { margin-bottom: 32px; }
}

/* ───────── Process ───────── */

.steps { display: grid; column-gap: 40px; }
@media (min-width: 640px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 990px) { .steps { grid-template-columns: repeat(3, 1fr); column-gap: 60px; } }
/* The wholesale page has four steps: one row on wide screens. */
@media (min-width: 990px) { .steps--four { grid-template-columns: repeat(4, 1fr); column-gap: 40px; } }

.step { padding: 16px 0 18px; border-top: 1px solid var(--line); }
.step__n { display: block; margin-bottom: 4px; color: var(--muted); }
.step__t { margin-bottom: 4px; font-size: 16px; font-weight: 600; line-height: 1.35; }
.step p { color: var(--muted); }
@media (min-width: 990px) {
  .step { padding: 20px 0 26px; }
  .step__t { font-size: 17px; }
}

.film { max-width: 900px; margin-inline: auto; background: var(--black); }
.film video { width: 100%; height: auto; aspect-ratio: 16 / 9; }

/* ───────── References: photo beside the text, the two side by side on wide screens ───────── */

.rows { display: grid; gap: 24px; }
.row {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: 16px;
  align-items: start;
}
.row__media { align-self: start; }
.row__body .kicker { margin-bottom: 6px; font-size: 13px; color: var(--muted); }
.row__body .h3 { margin-bottom: 8px; }
.row__body .text { font-size: 14px; }
.row__body .link { margin-top: 12px; }

@media (min-width: 900px) {
  .rows { grid-template-columns: 1fr 1fr; gap: 40px; }
  .row { gap: 24px; }
  .row__body .text { font-size: 15px; }
}

/* ───────── Uniqueness: closing block here, a note on the wholesale page ───────── */

.unique {
  margin-top: 24px;
  padding: 20px;
  background: var(--soft);
  text-align: center;
}
.unique__k { margin-bottom: 10px; font-size: 16px; font-weight: 600; }
.unique__v { max-width: 720px; margin-inline: auto; font-size: 15px; line-height: 1.6; color: var(--muted); }
.unique .h2 { margin-bottom: 14px; }
.unique__v + .unique__v { margin-top: 12px; }
.unique__tagline { margin-top: 18px; font-size: 17px; font-weight: 600; }
.unique .btn { margin-top: 22px; }
@media (min-width: 768px) {
  .unique { margin-top: 32px; padding: 28px 40px; }
}
.unique--closing { margin-top: 0; padding: 32px 20px; }
@media (min-width: 768px) {
  .unique--closing { margin-top: 0; padding: 48px 40px; }
}

/* ───────── Quote form ───────── */

.form__group { min-width: 0; margin: 0 0 24px; padding: 0; border: 0; }
.form__legend {
  display: block;
  width: 100%;
  margin-bottom: 12px;
  padding: 0;
  font-size: 16px;
  font-weight: 600;
}

.grid2 { display: grid; gap: 14px 20px; }
@media (min-width: 640px) { .grid2 { grid-template-columns: 1fr 1fr; } }

.field { min-width: 0; }
.field + .field,
.grid2 + .field { margin-top: 14px; }
.grid2 > .field + .field { margin-top: 0; }

.field label { display: block; margin-bottom: 5px; font-size: 14px; color: var(--text); }
.optional { color: var(--muted); }

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="number"],
.field input[type="date"],
.field input[type="file"],
.field textarea {
  display: block;
  width: 100%;
  height: 46px;
  padding: 10px 15px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--field);
  color: #000;
  font: inherit;
  font-size: 16px;          /* 16px also keeps iOS from zooming into the field */
  line-height: 24px;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.2s ease;
}
.field textarea { height: auto; min-height: 104px; resize: vertical; }
.field input[type="number"] { -moz-appearance: textfield; appearance: textfield; }
.field input:focus,
.field textarea:focus { border-color: var(--text); }

.field input[type="file"] { padding: 7px; font-size: 14px; color: var(--muted); }
.field input[type="file"]::file-selector-button {
  margin-right: 14px;
  padding: 4px 16px;
  border: 1px solid var(--black);
  border-radius: var(--radius);
  background: transparent;
  color: var(--black);
  font: inherit;
  font-size: 14px;
  line-height: 21px;
  cursor: pointer;
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] { border-color: var(--error); background: var(--error-bg); }

.field__hint { margin-top: 5px; font-size: 13px; color: var(--muted); }
.field__error { margin-top: 7px; color: var(--error-text); }
.field__status { margin-top: 7px; color: var(--text); }
.field__warn {
  margin-top: 10px;
  padding: 10px 15px;
  border: 1px solid var(--warning);
  border-radius: var(--radius);
  background: var(--warning-bg);
  color: var(--text);
}

.link-button {
  margin-left: 10px;
  padding: 0 0 2px;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: none;
  color: var(--text);
  font: inherit;
  cursor: pointer;
}

/* Radio options as chips: bordered like the secondary button, black when selected. */
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 43px;
  padding: 10px 20px;
  border: 1px solid var(--black);
  border-radius: var(--radius);
  background: transparent;
  color: var(--black);
  line-height: 21px;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}
/* The radio stays in the accessibility tree and keyboard order; only its dot is hidden. */
.choice input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.choice:hover { background: var(--soft); }
.choice:has(input:checked) { background: var(--black); color: #fff; }
.choice:has(input:focus-visible) { outline: 2px solid var(--text); outline-offset: 2px; }
/* The script marks a radio group as invalid by showing the group's error text. */
.form__group:has(> .field__error:not([hidden])) .choice { border-color: var(--error); }

.field--check {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 12px;
  align-items: start;
  margin-bottom: 18px;
}
.field--check input {
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  accent-color: var(--black);
}
.field--check label { margin: 0; line-height: 1.55; color: var(--muted); }
.field--check label a { color: var(--text); }
.field--check .field__error { grid-column: 2; margin-top: 0; }

/* honeypot: off-screen for people, present for bots */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.turnstile { min-height: 65px; }

.form__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
  margin-top: 20px;
}
.form__status { color: var(--muted); }

.notice {
  margin-bottom: 24px;
  padding: 12px 15px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--soft);
}
.notice--error { border-color: var(--error); background: var(--error-bg); color: var(--error-text); }
.notice a { color: inherit; }

.success {
  padding: 40px 24px;
  border: 1px solid var(--success);
  border-radius: var(--radius);
  background: var(--success-bg);
  color: var(--text);
  text-align: center;
}
.success__title { margin-bottom: 12px; font-size: 22px; line-height: 1.24; }
.success p { font-size: 16px; }
.success .success__min {
  max-width: 560px;
  margin: 20px auto 0;
  padding: 10px 15px;
  border: 1px solid var(--warning);
  border-radius: var(--radius);
  background: var(--warning-bg);
  font-size: 14px;
}
.success .success__ref { margin-top: 20px; font-size: 14px; }
.success__ref strong { overflow-wrap: anywhere; }
@media (min-width: 768px) {
  .success { padding: 60px 40px; }
  .success__title { font-size: 28px; }
}

/* ───────── Brand values strip ─────────
   Three identical lists scroll by one list width, so the loop has no seam. */

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--bg);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 60s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__list { display: flex; flex: none; }
.marquee__list li {
  display: flex;
  flex: none;
  align-items: center;
  gap: 40px;
  padding: 14px 40px 14px 0;
  font-size: 15px;
  line-height: 32px;
  text-transform: uppercase;
  white-space: nowrap;
}
.marquee__truck { flex: none; width: 85px; height: 32px; object-fit: contain; }

@keyframes marquee {
  to { transform: translateX(calc(-100% / 3)); }
}

/* ───────── Footer ───────── */

.footer {
  background: var(--soft);
  color: var(--muted);
}
.footer a { color: inherit; }
.footer a:hover { color: var(--text); }
.footer__grid { display: grid; }
.footer__col { padding: 28px 0; }
.footer__col + .footer__col { border-top: 1px solid var(--line-strong); }
.footer__col p + p,
.footer__col address + p { margin-top: 10px; }
.footer__title {
  margin-bottom: 14px;
  font-size: 14px;
  font-weight: 500;
  line-height: 21px;
  color: var(--text);
}
.footer__col--wide p { max-width: 640px; }
.footer__copy {
  padding: 20px var(--gutter);
  border-top: 1px solid var(--line-strong);
  text-align: center;
}

@media (min-width: 768px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__col { padding: 36px 30px 36px 0; }
  .footer__col:nth-child(2) { padding-left: 30px; border-top: 0; border-left: 1px solid var(--line-strong); }
  .footer__col--wide { grid-column: 1 / -1; padding-right: 0; }
}
@media (min-width: 990px) {
  .footer__grid { grid-template-columns: 1fr 1fr 2fr; }
  .footer__col.footer__col--wide {
    grid-column: auto;
    padding-left: 40px;
    border-top: 0;
    border-left: 1px solid var(--line-strong);
  }
}

/* ───────── Standalone pages: opt-out, 404, error ───────── */

.plain { display: flex; flex-direction: column; min-height: 100vh; }
.plain .header__inner { justify-content: center; grid-template-columns: 1fr; }
.plain .logo { justify-self: center; }
.plain__main {
  flex: 1;
  width: 100%;
  max-width: 600px;
  margin-inline: auto;
  padding: var(--section) var(--gutter);
  text-align: center;
}
.plain__title { margin-bottom: 16px; font-size: 22px; line-height: 1.24; }
.plain__main p + p,
.plain__main form { margin-top: 30px; }
@media (min-width: 768px) {
  .plain__title { font-size: 28px; }
}

/* ───────── Motion ───────── */

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  /* A calm, static strip: one list, wrapped and centred. The truck graphic is a GIF
     and may move by itself, so a plain dot separates the words instead. */
  .marquee__track { width: auto; justify-content: center; }
  .marquee__list { flex: 0 1 auto; flex-wrap: wrap; justify-content: center; padding: 14px var(--gutter); }
  .marquee__list[aria-hidden="true"],
  .marquee__truck { display: none; }
  .marquee__list li { gap: 0; padding: 4px 0; }
  .marquee__list li + li::before {
    content: "";
    width: 4px;
    height: 4px;
    margin-inline: 16px;
    border-radius: 50%;
    background: var(--black);
  }
}

@media print {
  .announce,
  .header,
  .marquee,
  .skip-link { display: none; }
}
