/* BJ Harvest child theme styles.
   Loaded after the parent's main.css — rules here override it. */

/* ── Promo banner (homepage, below ticker) ─────────────────────────── */
.bjhc-banner { padding: 22px 0 4px; }

.bjhc-banner-frame {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  aspect-ratio: 5 / 1;            /* wide & thin, like a grocery promo strip */
  min-height: 120px;
  background: var(--dk, #12211a);
  box-shadow: 0 6px 24px rgba(0, 0, 0, .08);
}

.bjhc-banner-track {
  display: flex;
  height: 100%;
  transition: transform .55s cubic-bezier(.4, 0, .2, 1);
  will-change: transform;
}

.bjhc-slide {
  flex: 0 0 100%;
  position: relative;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  text-decoration: none;
}

.bjhc-slide-content {
  position: relative;
  padding: 0 44px;
  max-width: 62%;
  color: #fff;
  text-shadow: 0 1px 10px rgba(0, 0, 0, .5);
}

.bjhc-slide-heading {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(18px, 2.4vw, 32px);
  line-height: 1.1;
  color: var(--y, #f5b82e);
}

.bjhc-slide-text {
  margin-top: 6px;
  font-size: clamp(12px, 1.2vw, 15px);
  font-weight: 500;
  opacity: .95;
}

.bjhc-slide-btn {
  display: inline-block;
  margin-top: 12px;
  padding: 8px 20px;
  border-radius: 999px;
  background: var(--y, #f5b82e);
  color: var(--dk, #12211a);
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  text-shadow: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.bjhc-slide-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(0,0,0,.25); }

/* Dots */
.bjhc-banner-dots {
  position: absolute;
  left: 0; right: 0; bottom: 10px;
  display: flex;
  justify-content: center;
  gap: 7px;
  z-index: 2;
}
.bjhc-dot {
  width: 8px; height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .45);
  cursor: pointer;
  transition: background .2s ease, width .2s ease;
}
.bjhc-dot.is-active { background: var(--y, #f5b82e); width: 22px; }

/* ── Bulk purchase page: centered WhatsApp card ────────────────────── */
.bjhc-wa-card {
  width: 100%;
  max-width: 560px;
  margin: 48px auto 24px;
  padding: 44px 36px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .07);
  border-radius: 18px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .07);
  text-align: center;
}
.bjhc-wa-icon { color: #25d366; margin-bottom: 12px; }
.bjhc-wa-title {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 26px;
  color: var(--dk, #12211a);
  margin: 0 0 8px;
}
.bjhc-wa-sub {
  font-size: 14.5px;
  color: var(--muted, #6b7c70);
  margin: 0 0 22px;
  line-height: 1.6;
}
.bjhc-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 34px;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  box-shadow: 0 6px 20px rgba(37, 211, 102, .35);
}
.bjhc-wa-btn:hover { background: #1fbd59; transform: translateY(-2px); box-shadow: 0 10px 26px rgba(37, 211, 102, .45); color: #fff; }
.bjhc-wa-alt { margin: 18px 0 0; font-size: 13px; color: var(--muted, #6b7c70); }
.bjhc-wa-alt a { color: var(--g, #1c7c4a); font-weight: 600; text-decoration: none; }
.bjhc-wa-alt a:hover { text-decoration: underline; }

/* Mobile: allow a slightly taller ratio so text stays readable */
@media (max-width: 640px) {
  .bjhc-banner { padding: 14px 0 2px; }
  .bjhc-banner-frame { aspect-ratio: 2.5 / 1; border-radius: 10px; }
  .bjhc-slide-content { padding: 0 20px; max-width: 78%; }
  .bjhc-slide-btn { margin-top: 8px; padding: 6px 16px; font-size: 12px; }
  .bjhc-wa-card { padding: 32px 20px; margin: 32px auto 8px; }
  .bjhc-wa-title { font-size: 22px; }
}
