/* =====================================================================
   WH Buyers Club — /b2b/ (WHNext).  Modernised 2026-09-02.
   Logged-in view: design-system hero + tabs (whnext.css supplies
   .whx-hero, .whx-tabbar, .whx-tabpanel, tokens). Below the modern rules
   sits the SUBSET of the old page CSS still needed by retained pieces:
   the logged-out access panel's login section/loader, the greeting chip
   and the Info guideline cards. Everything for the removed image cards,
   legacy Pods tables and status badges is gone with them.
   ===================================================================== */

/* --- hero: greeting chip sits in the hero, not floating over the page --- */
.whx-b2b-hero__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.whx-b2b-hero__user .b2b-user-greeting {
  position: static; display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(245,244,241,.12); border: 1px solid rgba(245,244,241,.4); color: #fff;
  padding: .65rem 1.15rem; border-radius: 999px; box-shadow: none;
  font: 700 .74rem/1 var(--whx-sans); letter-spacing: .14em; text-transform: uppercase; cursor: pointer;
  transition: background .3s var(--whx-ease), border-color .3s var(--whx-ease);
}
.whx-b2b-hero__user .b2b-user-greeting:hover { background: rgba(245,244,241,.2); border-color: var(--whx-sage-light); transform: none; box-shadow: none; }
.whx-b2b-hero__user .b2b-user-greeting .user-name { color: var(--whx-sage-light); }

/* --- tabs --- */
.whx-b2b .whx-tabbar { justify-content: center; gap: .6rem; margin-bottom: 2.4rem; }
.whx-b2b .whx-tabbar button { font-size: .8rem; letter-spacing: .16em; padding: .9rem 1.6rem; border-radius: 999px; }

/* --- panel heads --- */
.whx-b2b-panel__head { text-align: center; margin: 0 auto 1.8rem; max-width: 46rem; }
.whx-b2b-panel__head h2 { margin: 0; }
.whx-b2b-panel__head p { margin: .55rem 0 0; color: var(--whx-ink-soft); line-height: 1.6; }
.whx-b2b .wh-b2b { margin-top: 1.4rem; }

/* --- catalogue: "available at event start" notice --- */
.whx-b2b-notice {
  max-width: 42rem; margin: 0 auto; text-align: center;
  background: var(--whx-white); border: 1px solid rgba(167,168,170,.35);
  border-radius: var(--whx-radius); box-shadow: var(--whx-shadow);
  padding: clamp(2rem, 5vw, 3.2rem);
}
.whx-b2b-notice__badge {
  display: inline-block; font: 700 .7rem/1 var(--whx-sans); letter-spacing: .22em; text-transform: uppercase;
  color: var(--whx-claret); border: 1px solid var(--whx-sage); border-radius: 999px; padding: .55rem 1rem; margin-bottom: 1.3rem;
}
.whx-b2b-notice h3 { font-family: var(--whx-serif); font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 500; margin: 0 0 .6rem; color: var(--whx-ink); }
.whx-b2b-notice p { margin: 0; color: var(--whx-ink-soft); line-height: 1.65; }

/* --- Info guidelines: keep their markup, re-tone the legacy look with tokens --- */
.whx-b2b .buyers-club-info-wrapper { max-width: 52rem; margin: 0 auto; }
.whx-b2b .guideline-card { background: var(--whx-white); border: 1px solid rgba(167,168,170,.35); border-radius: var(--whx-radius); box-shadow: 0 4px 20px rgba(32,28,29,.06); }
.whx-b2b .guideline-title { font-family: var(--whx-serif); color: var(--whx-ink); }
.whx-b2b .info-title { font-family: var(--whx-serif); color: var(--whx-claret); }

/* =====================================================================
   Retained legacy rules (extracted from the old page stylesheet)
   ===================================================================== */
.loader { display:none; }
.login-prompt { max-width: 400px; margin: 50px auto; padding: 30px; background: #fff; border-radius: 8px; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); text-align: center; }
#b2b-login-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.7); z-index: 9998; animation: fadeIn 0.3s ease; }
#b2b-login-popup { display: none; position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); background: white; padding: 40px; border-radius: 12px; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3); z-index: 9999; max-width: 400px; width: 90%; animation: slideIn 0.3s ease; }
#b2b-login-popup h2 { margin: 0 0 25px 0; font-size: 24px; color: #333; text-align: center; }
#b2b-login-popup .login-form-row { margin-bottom: 20px; }
#b2b-login-popup label { display: block; margin-bottom: 8px; font-weight: 600; color: #555; font-size: 14px; }
#b2b-login-popup input[type="text"], #b2b-login-popup input[type="password"] { width: 100%; padding: 12px 15px; border: 2px solid #e0e0e0; border-radius: 6px; font-size: 15px; transition: border-color 0.3s; box-sizing: border-box; }
#b2b-login-popup input[type="text"]:focus, #b2b-login-popup input[type="password"]:focus { outline: none; border-color: #0073aa; }
#b2b-login-popup .login-remember { display: flex; align-items: center; margin-bottom: 20px; }
#b2b-login-popup .login-remember input[type="checkbox"] { margin-right: 8px; }
#b2b-login-popup .login-remember label { margin-bottom: 0; font-weight: normal; }
#b2b-login-popup .login-submit { width: 100%; padding: 14px; background: #0073aa; color: white; border: none; border-radius: 6px; font-size: 16px; font-weight: 600; cursor: pointer; transition: background 0.3s; }
#b2b-login-popup .login-submit:hover { background: #005177; }
#b2b-login-popup .login-submit:disabled { background: #ccc; cursor: not-allowed; }
#b2b-login-popup .login-error { background: #fce8e8; color: #dc3232; padding: 12px 15px; border-radius: 6px; margin-bottom: 20px; font-size: 14px; display: none; }
#b2b-login-popup .login-success { background: #e7f7e9; color: #46b450; padding: 12px 15px; border-radius: 6px; margin-bottom: 20px; font-size: 14px; display: none; }
#b2b-login-popup .close-popup { position: absolute; top: 15px; right: 15px; background: transparent; border: none; font-size: 28px; color: #999; cursor: pointer; line-height: 1; padding: 0; width: 30px; height: 30px; }
#b2b-login-popup .close-popup:hover { color: #333; }
#b2b-login-popup .forgot-password { text-align: center; margin-top: 15px; }
#b2b-login-popup .forgot-password a { color: #0073aa; text-decoration: none; font-size: 14px; }
#b2b-login-popup .forgot-password a:hover { text-decoration: underline; }
.b2b-user-greeting { position: absolute; top: 18vh; right: 20px; background: var(--primary-color); color: white; padding: 12px 20px; border-radius: 6px; font-size: 15px; font-weight: 600; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15); z-index: 1; }
.b2b-user-greeting .user-name { font-weight: 700; }
@media (max-width: 1280px) {
  .b2b-user-greeting { top: 0; }
}
@media (max-width: 768px) {
  .b2b-user-greeting { max-width: 290px; position: static; display: block; margin: 0 auto 20px auto; right: initial; left: initial; top: initial; text-align: center; }
  .text-description { text-align:center; }
}
.buyers-club-info-wrapper { max-width: 1200px; margin: 0 auto; padding: 40px 20px; }
.info-introduction { text-align: center; margin-bottom: 50px; padding-bottom: 30px; border-bottom: 3px solid var(--primary-color); }
.info-icon { font-size: 4em; margin-bottom: 20px; animation: pulse 2s infinite; }
.info-title { font-size: 2.5em; color: var(--primary-color); margin: 0 0 15px 0; font-weight: 300; letter-spacing: 1px; }
.info-subtitle { font-size: 1.2em; color: #666; font-style: italic; margin: 0; font-weight: 300; }
.info-guidelines { display: grid; gap: 30px; margin-bottom: 50px; }
.guideline-card { display: flex; gap: 25px; background: white; padding: 35px; border-radius: 12px; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); transition: all 0.3s ease; border-left: 5px solid var(--primary-color); align-items: center; }
.guideline-card:hover { transform: translateX(10px); box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12); }
.guideline-icon { font-size: 3em; flex-shrink: 0; width: 80px; height: 80px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, rgba(112, 115, 7, 0.1) 0%, rgba(112, 115, 7, 0.05) 100%); border-radius: 50%; }
.guideline-content { flex: 1; }
.guideline-title { font-size: 1.5em; color: var(--primary-color); margin: 0 0 15px 0; font-weight: 600; letter-spacing: 0.5px; }
.guideline-text { font-size: 1.05em; line-height: 1.8; color: #444; margin: 0; }
.guideline-text a { text-decoration: underline; }
.guideline-text strong { color: var(--burgundy); font-weight: 600; }
.info-footer { text-align: center; padding: 35px; background: linear-gradient(135deg, rgba(112, 115, 7, 0.05) 0%, rgba(112, 115, 7, 0.02) 100%); border-radius: 12px; border: 2px solid rgba(112, 115, 7, 0.1); }
.footer-text { font-size: 1.1em; color: #c3c39a; font-style: italic; margin: 0; line-height: 1.6; }
@media (max-width: 768px) {
  .buyers-club-info-wrapper { padding: 30px 15px; }
  .info-title { font-size: 1.8em; }
  .info-subtitle { font-size: 1em; }
  .guideline-card { flex-direction: column; padding: 25px; gap: 20px; }
  .guideline-card:hover { transform: translateY(-5px); }
  .guideline-icon { font-size: 2.5em; width: 70px; height: 70px; margin: 0 auto; }
  .guideline-title { font-size: 1.3em; text-align: center; }
  .guideline-text { font-size: 1em; text-align: left; }
  .info-footer { padding: 25px 20px; }
  .footer-text { font-size: 1em; }
}
@media (max-width: 480px) {
  .info-title { font-size: 1.5em; }
  .info-subtitle { font-size: 0.95em; }
  .guideline-card { padding: 20px; }
  .guideline-title { font-size: 1.1em; }
  .guideline-text { font-size: 0.95em; }
}