/* ============================
   KANDYZ! — wholesale.css
   Wholesale page–specific styles.
   Loads AFTER style.css and reuses its tokens.
   ============================ */

/* ── Wholesale Hero ───────────────────────────────── */
.ws-hero {
  min-height: 78vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 140px 20px 80px;
  text-align: center;
}
.ws-hero__content { position: relative; z-index: 1; max-width: 860px; width: 100%; }
.ws-hero__eyebrow {
  display: inline-block;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--pink);
  background: rgba(255,0,212,0.08);
  border: 1px solid rgba(255,0,212,0.25);
  padding: 7px 18px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.ws-hero__title {
  font-family: 'Fredoka One', sans-serif;
  font-size: clamp(2.4rem, 7vw, 4.4rem);
  line-height: 1.05;
  margin-bottom: 18px;
}
.ws-hero__title .grad {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.ws-hero__sub {
  color: var(--muted);
  font-size: clamp(1rem, 2.4vw, 1.2rem);
  line-height: 1.6;
  max-width: 620px;
  margin: 0 auto 38px;
}
.ws-hero__ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 52px; }
.ws-hero__metrics {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.ws-metric {
  background: rgba(149,0,255,0.09);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px 26px;
  min-width: 150px;
  backdrop-filter: blur(8px);
}
.ws-metric__val {
  font-family: 'Fredoka One', sans-serif;
  font-size: 1.8rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}
.ws-metric__label {
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-top: 4px;
}

/* ── Why They Hit ─────────────────────────────────── */
.whyhit { background: var(--surface); }
.whyhit__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.why-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.why-card:hover { transform: translateY(-6px); border-color: rgba(149,0,255,0.5); }
.why-card__icon {
  font-size: 2rem;
  width: 60px; height: 60px;
  margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(149,0,255,0.12);
  border: 1px solid var(--border);
  border-radius: 16px;
}
.why-card h3 { font-size: 1.05rem; font-weight: 800; color: white; margin-bottom: 8px; }
.why-card p { color: var(--muted); font-size: 0.88rem; line-height: 1.5; }

/* ── Volume Pricing (per-product ladders) ─────────── */
.vpricing { background: var(--bg); }
.vp-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.vp-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.vp-card:hover {
  transform: translateY(-6px);
  border-color: rgba(149,0,255,0.5);
  box-shadow: 0 24px 60px rgba(149,0,255,0.18);
}
.vp-card--feature {
  grid-column: 1 / -1;
  border-color: rgba(149,0,255,0.55);
  box-shadow: 0 0 0 1px rgba(149,0,255,0.25), var(--glow);
  background: linear-gradient(160deg, rgba(149,0,255,0.1), var(--surface));
}
.vp-card__head { display: flex; align-items: center; gap: 18px; }
.vp-card__media {
  width: 72px; height: 72px;
  flex-shrink: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface-2);
}
.vp-card__media img { width: 100%; height: 100%; object-fit: cover; }
.vp-card__icon {
  width: 72px; height: 72px;
  flex-shrink: 0;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.2rem;
  background: linear-gradient(160deg, rgba(149,0,255,0.18), rgba(255,0,212,0.08));
  border: 1px solid var(--border);
}
/* Feature card shows 4 flavour thumbs */
.vp-card__thumbs {
  flex-shrink: 0;
  display: grid;
  grid-template-columns: repeat(2, 36px);
  grid-auto-rows: 36px;
  gap: 4px;
}
.vp-card__thumbs img {
  width: 36px; height: 36px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border);
}
.vp-card__badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.vp-card__name {
  font-family: 'Fredoka One', sans-serif;
  font-size: 1.25rem;
  line-height: 1.25;
  color: white;
}
.vp-card--feature .vp-card__name { font-size: 1.5rem; }
.vp-card__meta { color: var(--muted); font-size: 0.82rem; font-weight: 700; margin-top: 4px; }

/* Price ladder table */
.vp-ladder { width: 100%; border-collapse: collapse; }
.vp-ladder th {
  text-align: left;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0 0 10px;
  border-bottom: 1px solid var(--border);
}
.vp-ladder th.num { text-align: right; }
.vp-ladder td {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  vertical-align: middle;
}
.vp-ladder tr:last-child td { border-bottom: none; }
.vp-moq { font-weight: 900; color: white; }
.vp-price {
  text-align: right;
  font-family: 'Fredoka One', sans-serif;
  font-size: 1.25rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
}
.vp-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.4px;
  padding: 3px 11px;
  border-radius: 100px;
  background: rgba(149,0,255,0.12);
  border: 1px solid var(--border);
  color: var(--muted);
  white-space: nowrap;
}
.vp-ladder td .vp-tag { display: block; width: -moz-fit-content; width: fit-content; margin-top: 5px; }
/* Profit @ MSRP cell */
.vp-profit-cell { text-align: right; white-space: nowrap; line-height: 1.2; }
.vp-margin {
  display: inline-block;
  font-family: 'Fredoka One', sans-serif;
  font-size: 1rem;
  background: rgba(105,240,174,0.12);
  border: 1px solid rgba(105,240,174,0.3);
  color: #69f0ae;
  padding: 2px 10px;
  border-radius: 100px;
}
.vp-profit { display: block; font-size: 0.74rem; font-weight: 800; color: var(--muted); margin-top: 4px; }
.vp-msrp {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--pink);
  background: rgba(255,0,212,0.08);
  border: 1px solid rgba(255,0,212,0.25);
  padding: 3px 11px;
  border-radius: 100px;
  margin-top: 8px;
}
.vp-tag--hot {
  background: rgba(255,0,212,0.12);
  border-color: rgba(255,0,212,0.3);
  color: #ff80ab;
}
.vp-tag--best {
  background: rgba(105,240,174,0.1);
  border-color: rgba(105,240,174,0.28);
  color: #69f0ae;
}
.vpricing__note {
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 28px;
}

/* badge colours reused from style.css: badge--flower / preroll / tincture / milled */
.badge--cart { background: rgba(124,77,255,0.14); color: #b39ddb; border: 1px solid rgba(124,77,255,0.3); }
.badge--jar  { background: rgba(105,240,174,0.12); color: #69f0ae; border: 1px solid rgba(105,240,174,0.28); }
.badge--feature { background: var(--gradient); color: white; border: 1px solid transparent; }

/* ── FAQ + Terms ──────────────────────────────────── */
.faq { background: var(--surface); }
.faq__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: start;
}
.faq__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item.open { border-color: rgba(149,0,255,0.5); }
.faq-item__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  padding: 20px 22px;
  background: none;
  border: none;
  color: white;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
}
.faq-item__icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  position: relative;
  transition: transform 0.3s ease;
}
.faq-item__icon::before,
.faq-item__icon::after {
  content: '';
  position: absolute;
  background: var(--pink);
  border-radius: 2px;
  top: 50%; left: 50%;
}
.faq-item__icon::before { width: 14px; height: 2px; transform: translate(-50%, -50%); }
.faq-item__icon::after  { width: 2px; height: 14px; transform: translate(-50%, -50%); transition: transform 0.3s ease; }
.faq-item.open .faq-item__icon::after { transform: translate(-50%, -50%) scaleY(0); }
.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-item__a p {
  padding: 0 22px 22px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* Terms card beside the FAQ */
.terms-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 28px;
  position: sticky;
  top: 90px;
}
.terms-card h3 {
  font-family: 'Fredoka One', sans-serif;
  font-size: 1.3rem;
  margin-bottom: 20px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.terms-list { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.terms-list li { display: flex; flex-direction: column; gap: 3px; }
.terms-list .t-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--muted);
}
.terms-list .t-val { font-weight: 800; color: white; font-size: 0.98rem; }

/* ── CTA band ─────────────────────────────────────── */
.ws-cta { background: var(--bg); }
.ws-cta__box {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  background: linear-gradient(160deg, rgba(149,0,255,0.14), rgba(255,0,212,0.06));
  border: 1px solid rgba(149,0,255,0.35);
  border-radius: var(--radius);
  padding: 60px 36px;
  box-shadow: var(--glow);
}
.ws-cta__box h2 {
  font-family: 'Fredoka One', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 14px;
  line-height: 1.15;
}
.ws-cta__box p { color: var(--muted); font-size: 1.05rem; margin-bottom: 30px; }
.ws-cta__buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── Responsive ───────────────────────────────────── */
@media (max-width: 900px) {
  .whyhit__grid { grid-template-columns: repeat(2, 1fr); }
  .faq__grid { grid-template-columns: 1fr; gap: 32px; }
  .terms-card { position: static; }
}

@media (max-width: 760px) {
  .vp-grid { grid-template-columns: 1fr; }
  .vp-card--feature { grid-column: auto; }
}

@media (max-width: 768px) {
  .ws-hero { padding: 120px 20px 64px; min-height: 70vh; }
}

@media (max-width: 560px) {
  .whyhit__grid { grid-template-columns: 1fr; }
  .ws-hero__ctas { flex-direction: column; align-items: center; }
  .ws-cta__buttons { flex-direction: column; align-items: center; }
  .ws-cta__box { padding: 44px 24px; }
  .vp-card__head { flex-direction: column; text-align: center; }
  .vp-card__thumbs { grid-template-columns: repeat(4, 36px); }
}
