/* ── Honest Junk — Wholesale page (templates/wholesale.php) ───────────────
   Loaded after hj-home.css and hj-cheese-barks.css (tokens, buttons, breadcrumb,
   eyebrow labels, link-more). Classes are prefixed ws- so they never clash with
   the home page's own wholesale section (.tier etc.). */

.ws-anchor { scroll-margin-top: 72px; }

/* Shared section bits */
.ws-section { padding: clamp(48px, 7vw, 88px) 0; }
.ws-section--paper { background: var(--paper); }
.ws-section--ink { background: var(--ink); }
.ws-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--sp4) var(--sp5); flex-wrap: wrap; }
.ws-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 1;
  margin: 0 0 var(--sp3);
  color: var(--ink);
}
.ws-title--white { color: var(--paper); }
.ws-sub { font-family: var(--font-body); font-size: 16px; color: var(--ink-soft); max-width: 620px; line-height: 1.65; margin: 0; }
.eyebrow-label--white { color: rgba(255, 255, 255, 0.7); }
.eyebrow-label--white::before { background: rgba(255, 255, 255, 0.5); }

/* Hero */
.ws-hero { background: var(--ink); color: var(--paper); padding: var(--sp10) 0 var(--sp9); }
.ws-hero__inner { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: var(--sp8); align-items: center; }
.ws-hero__title {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 0.94;
  font-size: clamp(36px, 5.2vw, 64px);
  margin: 0 0 var(--sp5);
  color: var(--paper);
}
.ws-hero__title .accent { color: var(--yellow); }
.ws-hero__body { font-size: 17px; color: rgba(255, 255, 255, 0.75); line-height: 1.75; max-width: 480px; margin: 0 0 var(--sp6); }
.ws-hero__btns { display: flex; gap: var(--sp3); flex-wrap: wrap; }
.ws-hero__figure { margin: 0; max-width: 400px; justify-self: end; width: 100%; }
.ws-hero__photo { border-radius: var(--r-xl); overflow: hidden; box-shadow: 5px 5px 0 0 var(--rose); }
.ws-hero__photo img { width: 100%; height: auto; display: block; }
.ws-hero__caption { font-family: var(--font-mono); font-size: 11px; color: rgba(255, 255, 255, 0.45); letter-spacing: 0.03em; margin-top: var(--sp3); text-align: right; }

/* Stats strip */
.ws-stats { background: var(--yellow); padding: 0 var(--pad-x); }
.ws-stats__inner { max-width: var(--container); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); }
.ws-stat { padding: var(--sp6) var(--sp4); text-align: center; border-right: 1.5px solid rgba(26, 26, 26, 0.12); }
.ws-stat:last-child { border-right: none; }
.ws-stat__num { font-family: var(--font-display); font-size: clamp(22px, 3vw, 32px); font-weight: 900; color: var(--ink); line-height: 1; letter-spacing: -0.02em; }
.ws-stat__label { font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); margin-top: 6px; }

/* Stockists */
.ws-stockists { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp5); margin-top: var(--sp6); }
.ws-stockist { background: var(--paper); border: 1.5px solid var(--cloud); border-radius: var(--r-lg); padding: var(--sp5); text-align: center; box-shadow: var(--shadow-sm); }
.ws-stockist__name { font-family: var(--font-display); font-size: 15px; font-weight: 900; text-transform: uppercase; color: var(--ink); line-height: 1.15; margin-bottom: 6px; }
.ws-stockist__loc { font-family: var(--font-mono); font-size: 11px; color: var(--ink-muted); line-height: 1.5; }

/* Why cards */
.ws-why { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp5); margin-top: var(--sp6); }
.ws-why__card { background: var(--paper); border: 1.5px solid var(--cloud); border-radius: var(--r-lg); padding: var(--sp6); box-shadow: var(--shadow-sm); display: flex; gap: var(--sp5); align-items: flex-start; }
.ws-why__card .hj-icon, .ws-section .hj-icon { width: 30px; height: 30px; color: var(--rose); flex-shrink: 0; }
.ws-why__title { font-family: var(--font-display); font-size: 17px; font-weight: 900; text-transform: uppercase; margin: 0 0 var(--sp2); line-height: 1.1; color: var(--ink); }
.ws-why__desc { font-family: var(--font-body); font-size: 14px; color: var(--ink-soft); line-height: 1.65; margin: 0; }

/* Tiers */
.ws-tiers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp5); margin-top: var(--sp6); align-items: stretch; }
.ws-tier { background: var(--paper); border: 1.5px solid var(--cloud); border-radius: var(--r-xl); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); }
.ws-tier--feat { border: 2px solid var(--ink); box-shadow: var(--shadow-sticker); }
.ws-tier__tag { font-family: var(--font-mono); font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; padding: 7px 16px; text-align: center; }
.ws-tier__tag--starter { background: var(--mint); color: var(--green); }
.ws-tier__tag--partner { background: var(--ink); color: var(--yellow); }
.ws-tier__body { padding: var(--sp6) var(--sp5); flex: 1; display: flex; flex-direction: column; }
.ws-tier__name { font-family: var(--font-display); font-size: 20px; font-weight: 900; text-transform: uppercase; margin: 0 0 var(--sp3); line-height: 1.05; color: var(--ink); }
.ws-tier__off { font-family: var(--font-display); font-size: 46px; font-weight: 900; color: var(--ink); line-height: 1; letter-spacing: -0.03em; }
.ws-tier__off span { font-size: 20px; }
.ws-tier__min { font-family: var(--font-mono); font-size: 12px; color: var(--ink-muted); letter-spacing: 0.04em; margin: var(--sp3) 0 var(--sp5); padding-bottom: var(--sp5); border-bottom: 1px solid var(--cloud); }
.ws-tier__list { list-style: none; margin: 0; padding: 0; }
.ws-tier__list li { font-family: var(--font-body); font-size: 13.5px; color: var(--ink-soft); line-height: 1.6; padding-left: 20px; position: relative; margin-bottom: var(--sp3); }
.ws-tier__list li::before { content: ''; position: absolute; left: 0; top: 8px; width: 7px; height: 7px; border-radius: 50%; background: var(--rose); }
.ws-tier__note { margin-top: auto; padding-top: var(--sp4); font-family: var(--font-mono); font-size: 11px; color: var(--ink-muted); line-height: 1.6; }

/* Terms */
.ws-terms { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp5); margin-top: var(--sp6); }
.ws-term { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: var(--r-lg); padding: var(--sp5); }
.ws-term__label { font-family: var(--font-mono); font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--yellow); margin-bottom: var(--sp3); }
.ws-term__val { font-family: var(--font-display); font-size: 17px; font-weight: 800; text-transform: uppercase; color: var(--paper); margin-bottom: var(--sp2); line-height: 1.15; }
.ws-term__desc { font-family: var(--font-body); font-size: 13.5px; color: rgba(255, 255, 255, 0.62); line-height: 1.65; margin: 0; }

/* Range */
.ws-range { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp5); margin-top: var(--sp6); }
.ws-range__card { background: var(--paper); border: 1.5px solid var(--cloud); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.ws-range__img { display: block; aspect-ratio: 1 / 1; margin: var(--sp5) var(--sp5) 0; border-radius: var(--r-md); overflow: hidden; background: var(--cloud); }
.ws-range__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ws-range__body { padding: var(--sp5); flex: 1; display: flex; flex-direction: column; text-align: center; }
.ws-range__name { font-family: var(--font-display); font-size: 17px; font-weight: 900; text-transform: uppercase; margin: 0 0 var(--sp2); color: var(--ink); }
.ws-range__name a { color: inherit; }
.ws-range__name a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ws-range__desc { font-family: var(--font-mono); font-size: 12px; color: var(--ink-soft); line-height: 1.6; margin: 0 0 var(--sp4); }
.ws-range__srp { margin-top: auto; font-family: var(--font-display); font-size: 18px; font-weight: 900; color: var(--ink); }
.ws-range__srp span { font-family: var(--font-mono); font-size: 11px; font-weight: 400; color: var(--ink-muted); display: block; margin-top: 3px; letter-spacing: 0.04em; }

/* Corporate */
.ws-corp { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp8); align-items: center; }
.ws-corp__photo { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-sticker); border: 1.5px solid var(--cloud); }
.ws-corp__photo img { width: 100%; height: auto; display: block; }
.ws-corp__list { list-style: none; margin: var(--sp5) 0 0; padding: 0; }
.ws-corp__list li { font-family: var(--font-body); font-size: 14.5px; color: var(--ink-soft); line-height: 1.6; padding-left: 24px; position: relative; margin-bottom: var(--sp3); }
.ws-corp__list li::before { content: ''; position: absolute; left: 0; top: 7px; width: 8px; height: 8px; border-radius: 2px; background: var(--rose); }
.ws-corp__btns { margin-top: var(--sp6); }

/* Process */
.ws-steps { list-style: none; margin: var(--sp7) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp5); }
.ws-step { position: relative; padding-top: var(--sp6); }
.ws-step__n { position: absolute; top: 0; left: 0; font-family: var(--font-display); font-size: 13px; font-weight: 900; color: var(--paper); background: var(--rose); width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.ws-step__title { font-family: var(--font-display); font-size: 15px; font-weight: 900; text-transform: uppercase; margin: 0 0 var(--sp2); color: var(--ink); }
.ws-step__desc { font-family: var(--font-body); font-size: 13.5px; color: var(--ink-soft); line-height: 1.65; margin: 0; }

/* FAQ */
.ws-faq-wrap { max-width: 820px; }
.ws-faq { margin-top: var(--sp6); }
.ws-faq__item { border-bottom: 1px solid var(--cloud); padding: var(--sp5) 0; }
.ws-faq__q { font-family: var(--font-display); font-size: 16px; font-weight: 800; text-transform: uppercase; margin: 0 0 var(--sp3); color: var(--ink); }
.ws-faq__a { font-family: var(--font-body); font-size: 14.5px; color: var(--ink-soft); line-height: 1.7; margin: 0; }

/* Apply */
.ws-apply { background: var(--rose); color: var(--paper); padding: clamp(48px, 7vw, 88px) 0; }
.ws-apply__inner { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: var(--sp8); align-items: start; }
.ws-apply__intro { position: sticky; top: 96px; }
.ws-apply__title { font-family: var(--font-display); font-size: clamp(30px, 4.5vw, 52px); font-weight: 900; text-transform: uppercase; letter-spacing: -0.02em; line-height: 0.98; margin: 0 0 var(--sp5); color: var(--paper); }
.ws-apply__body { font-size: 17px; color: rgba(255, 255, 255, 0.88); line-height: 1.7; margin: 0; }
.ws-apply__contacts { display: flex; flex-direction: column; gap: var(--sp4); margin-top: var(--sp7); padding-top: var(--sp6); border-top: 1px solid rgba(255, 255, 255, 0.25); }
.ws-apply__contact { font-family: var(--font-mono); font-size: 13px; color: rgba(255, 255, 255, 0.92); }
.ws-apply__contact a { color: inherit; border-bottom: 1px solid rgba(255, 255, 255, 0.4); }
.ws-apply__contact a:hover { border-bottom-color: var(--paper); }
.ws-apply__contact strong { display: block; font-family: var(--font-display); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.65); margin-bottom: 4px; }

/* The reseller form (Contact Form 7), restyled */
.ws-form { background: var(--paper); color: var(--ink); border-radius: var(--r-xl); padding: var(--sp7) var(--sp6); box-shadow: 5px 5px 0 0 var(--ink); }
.ws-form__title { font-family: var(--font-display); font-size: 20px; font-weight: 900; text-transform: uppercase; margin: 0 0 var(--sp5); color: var(--ink); }
.ws-form__fallback { font-family: var(--font-mono); font-size: 13px; color: var(--ink-soft); margin: 0 0 var(--sp5); }
.ws-form .wpcf7-form p { margin: 0 0 var(--sp4); }
.ws-form .wpcf7-form label,
.ws-form .wpcf7-form > div:not([class]):not([style]) {
  display: block;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: var(--sp2);
}
.ws-form .wpcf7-form > div:not([class]):not([style]) { margin-top: var(--sp2); }
.ws-form .wpcf7-form-control-wrap { display: block; margin-top: 6px; }
.ws-form input[type="text"],
.ws-form input[type="email"],
.ws-form input[type="tel"],
.ws-form input[type="url"],
.ws-form select,
.ws-form textarea {
  width: 100%;
  font: 15px var(--font-body);
  color: var(--ink);
  background: var(--paper-warm);
  border: 1.5px solid var(--cloud);
  border-radius: var(--r-md);
  padding: 11px 14px;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
}
.ws-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231A1A1A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.ws-form textarea { height: 120px; resize: vertical; }
.ws-form input:focus, .ws-form select:focus, .ws-form textarea:focus { outline: none; border-color: var(--ink); background: var(--paper); }
.ws-form p br { display: none; }
.ws-form p .wpcf7-form-control-wrap + .wpcf7-form-control-wrap { margin-top: var(--sp2); }
.ws-form .content-column { float: left; width: calc(50% - 6px); margin: 0 12px var(--sp3) 0; }
.ws-form .content-column.last_column { margin-right: 0; }
.ws-form .clear_column { clear: both; }
.ws-form .content-column .wpcf7-form-control-wrap { margin-top: 0; }
.ws-form .content-column label .wpcf7-form-control-wrap { margin-top: 6px; }
.ws-form .wpcf7-list-item { display: inline-flex; margin: 0 var(--sp4) var(--sp2) 0; }
.ws-form .wpcf7-list-item label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--ink-soft);
  cursor: pointer;
}
.ws-form .wpcf7-list-item input { accent-color: var(--rose); width: 16px; height: 16px; margin: 0; }
.ws-form input[type="file"] { font: 13px var(--font-body); color: var(--ink-soft); max-width: 100%; }
.ws-form input[type="submit"], .ws-form .wpcf7-submit {
  display: inline-flex;
  justify-content: center;
  width: 100%;
  margin-top: var(--sp3);
  padding: 14px 26px;
  border-radius: var(--r-md);
  border: 2px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.12s, transform 0.12s;
}
.ws-form input[type="submit"]:hover { background: #000; transform: translateY(-1px); }
.ws-form .wpcf7-not-valid { border-color: var(--rose); }
.ws-form .wpcf7-not-valid-tip { display: block; margin-top: 4px; font: 12px var(--font-mono); color: var(--rose); text-transform: none; letter-spacing: 0; }
.ws-form .wpcf7-response-output { margin: var(--sp4) 0 0 !important; padding: var(--sp3) var(--sp4) !important; border-radius: var(--r-md); font: 13px var(--font-mono); border: 1.5px solid var(--cloud) !important; }
.ws-form .wpcf7 form.init .wpcf7-response-output,
.ws-form .wpcf7 form.resetting .wpcf7-response-output,
.ws-form .wpcf7 form.submitting .wpcf7-response-output,
.ws-form .wpcf7-response-output:empty { display: none; }
.ws-form .wpcf7 form.sent .wpcf7-response-output { border-color: var(--green) !important; color: var(--green); }
.ws-form .wpcf7 form.invalid .wpcf7-response-output,
.ws-form .wpcf7 form.failed .wpcf7-response-output,
.ws-form .wpcf7 form.spam .wpcf7-response-output { border-color: var(--rose) !important; color: var(--rose); }
.ws-form .ajax-loader { margin: var(--sp2) auto 0; display: block; }
.ws-form .screen-reader-response { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

@media (max-width: 1000px) {
  .ws-hero__inner { grid-template-columns: 1fr; }
  .ws-hero__figure { justify-self: center; max-width: 440px; }
  .ws-stats__inner { grid-template-columns: 1fr 1fr; }
  .ws-stat { border-bottom: 1.5px solid rgba(26, 26, 26, 0.12); }
  .ws-stat:nth-child(2n) { border-right: none; }
  .ws-stat:nth-last-child(-n+2) { border-bottom: none; }
  .ws-stockists { grid-template-columns: 1fr 1fr; }
  .ws-why { grid-template-columns: 1fr; }
  .ws-range { grid-template-columns: 1fr; max-width: 460px; }
  .ws-steps { grid-template-columns: 1fr 1fr; }
  .ws-corp { grid-template-columns: 1fr; }
  .ws-corp__photo { max-width: 460px; }
  .ws-apply__inner { grid-template-columns: minmax(0, 1fr); }
  .ws-apply__intro { position: static; }
}
@media (max-width: 640px) {
  .ws-hero { padding: var(--sp8) 0 var(--sp8); }
  .ws-tiers { grid-template-columns: 1fr; }
  .ws-terms { grid-template-columns: 1fr; }
  .ws-steps { grid-template-columns: 1fr; }
  .ws-why__card { padding: var(--sp5); gap: var(--sp4); }
  .ws-form { padding: var(--sp6) var(--sp4); }
  .ws-form .content-column { float: none; width: 100%; margin-right: 0; }
}
@media (max-width: 420px) {
  .ws-stockists { grid-template-columns: 1fr; }
}
