/* =====================================================================
   WHOLESALER DIRECTORY + SINGLE WHOLESALER — wholesaler.css
   Scoped: .wd-* (directory) · .wp-* (single profile)
   ===================================================================== */

:root {
  --wd-primary:    #C8511B;
  --wd-primary-dk: #A83E10;
  --wd-gold:       #C49A1A;
  --wd-gold-lt:    #FFF8E1;
  --wd-green:      #25D366;
  --wd-muted:      #6E6259;
  --wd-border:     #E8E0D5;
  --wd-bg:         #F7F3ED;
  --wd-card:       #FFFFFF;
  --wd-dark:       #1C1410;
  --wd-radius:     14px;
  --wd-radius-sm:  8px;
  --wd-shadow:     0 1px 3px rgba(28,20,16,.05), 0 4px 20px rgba(28,20,16,.08);
  --wd-shadow-lg:  0 8px 40px rgba(28,20,16,.18);
  --wd-shadow-card:0 2px 8px rgba(28,20,16,.06), 0 12px 32px rgba(28,20,16,.08);
  --wd-locked-blur: 5px;
  --wd-accent:     #1C1410;
}

/* =====================================================================
   HERO
   ===================================================================== */
.wd-hero {
  background: linear-gradient(135deg, #1A0802 0%, #2E1005 40%, #4A1D09 75%, #6B2E0E 100%);
  color: #fff;
  padding: 52px 0 44px;
  position: relative;
  overflow: hidden;
}
.wd-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.wd-all-popup__box {
    margin: auto;
}
.wd-hero__inner {
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  flex-wrap: wrap;
  position: relative;
}
.wd-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: #F4A35A;
  background: rgba(244,163,90,.12);
  border: 1px solid rgba(244,163,90,.25);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.wd-hero__title {
  font-size: clamp(26px, 5vw, 42px);
  font-weight: 900;
  line-height: 1.12;
  margin: 0 0 12px;
  color: #fff;
  letter-spacing: -.01em;
}
.wd-hero__title em { font-style: normal; color: #F4A35A; }
.wd-hero__sub {
  font-size: 14px;
  color: rgba(255,255,255,.55);
  margin: 0;
  max-width: 460px;
  line-height: 1.7;
}
.wd-unlock-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  padding: 22px 26px;
  text-align: center;
  min-width: 210px;
  max-width: 270px;
  backdrop-filter: blur(4px);
}
.wd-unlock-card__icon { font-size: 38px; display: block; margin-bottom: 12px; }
.wd-unlock-card p { font-size: 12px; color: rgba(255,255,255,.6); margin: 0 0 12px; line-height: 1.6; }
.wd-unlock-card__badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--wd-gold), #DEB52A);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: .05em;
  box-shadow: 0 2px 8px rgba(196,154,26,.35);
}

/* =====================================================================
   HOW IT WORKS
   ===================================================================== */
.wd-how {
  max-width: 1180px;
  margin-inline: auto;
  padding: 36px 24px 28px;
}
.wd-how__title {
  font-size: 18px;
  font-weight: 800;
  text-align: center;
  margin: 0 0 22px;
  color: var(--wd-dark);
  letter-spacing: -.01em;
}
.wd-how__steps {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.wd-how__step {
  background: var(--wd-card);
  border: 1px solid var(--wd-border);
  border-radius: var(--wd-radius);
  padding: 20px 18px 18px;
  text-align: center;
  box-shadow: var(--wd-shadow);
  flex: 1;
  min-width: 160px;
  max-width: 240px;
  position: relative;
  overflow: hidden;
}
.wd-how__step::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--wd-primary), #E8703A);
}
.wd-how__step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, var(--wd-primary), #E8703A);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  border-radius: 50%;
  margin-bottom: 10px;
  box-shadow: 0 3px 10px rgba(200,81,27,.3);
}
.wd-how__step p { font-size: 12px; color: var(--wd-muted); margin: 0; line-height: 1.6; }
.wd-how__arrow { font-size: 18px; color: var(--wd-border); flex-shrink: 0; align-self: center; }

/* =====================================================================
   FILTERS  (sticky)
   ===================================================================== */
/* =====================================================================
   VISUAL FILTER  (.wd-vf-*)
   ===================================================================== */
.wd-vf-wrap {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--wd-border);
  box-shadow: 0 3px 16px rgba(28,20,16,.07);
}
.wd-vf {
  max-width: 1180px;
  margin-inline: auto;
  padding: 0 24px;
}

/* One row = header line + centered wrapping chips below */
.wd-vf__row {
  display: flex;
  flex-direction: column;
  padding: 10px 0 12px;
}
.wd-vf__row:first-child { border-bottom: 1px solid var(--wd-border); }
.wd-vf__row::after { display: none; } /* no fade needed — not scrollable */

/* Header: label left, View All right */
.wd-vf__row-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 9px;
  min-width: unset;
  padding-right: 0;
  border-right: none;
  margin-right: 0;
  flex-direction: row;
  gap: 8px;
}
.wd-vf__row-title {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .13em;
  color: var(--wd-primary);
  line-height: 1;
}
.wd-vf__viewall {
  font-size: 11px;
  font-weight: 700;
  color: var(--wd-muted);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: color .15s;
  white-space: nowrap;
  line-height: 1;
}
.wd-vf__viewall:hover { color: var(--wd-primary); }

/* Centered wrapping chip rail */
.wd-vf__scroller {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 7px;
  padding: 0;
  overflow: visible;
}

/* ── Pill chip item (no circle) ── */
.wd-vf__item {
  display: inline-flex;
  align-items: center;
  flex-direction: row;
  flex-shrink: 0;
  text-decoration: none;
  cursor: pointer;
  padding: 7px 16px;
  border-radius: 40px;
  border: 1.5px solid var(--wd-border);
  background: var(--wd-card);
  gap: 0;
  box-shadow: none;
  transition: all .18s;
}
.wd-vf__item:hover {
  border-color: var(--wd-primary);
  background: rgba(200,81,27,.04);
  transform: none;
  box-shadow: none;
}
.wd-vf__item.wd-area-chip--active,
.wd-vf__item.wd-cat-chip--active {
  background: var(--wd-primary);
  border-color: var(--wd-primary);
  box-shadow: 0 2px 8px rgba(200,81,27,.28);
}
.wd-vf__item.wd-area-chip--active:hover,
.wd-vf__item.wd-cat-chip--active:hover {
  background: var(--wd-primary-dk);
  border-color: var(--wd-primary-dk);
}

/* Hide circles in the main filter bar */
.wd-vf__circle { display: none; }
.wd-vf__initial { display: none; }

/* Label = the only visible element */
.wd-vf__label {
  font-size: 13px;
  font-weight: 600;
  color: #4A3F38;
  white-space: nowrap;
  max-width: none;
  overflow: visible;
  text-overflow: unset;
  line-height: 1.3;
  text-align: left;
  transition: color .15s;
}
.wd-vf__item:hover .wd-vf__label { color: var(--wd-primary); }
.wd-vf__item.wd-area-chip--active .wd-vf__label,
.wd-vf__item.wd-cat-chip--active .wd-vf__label {
  color: #fff;
  font-weight: 700;
}

/* ── Popup items: restore circles ── */
.wd-all-popup .wd-vf__item {
  flex-direction: column;
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  gap: 7px;
}
.wd-all-popup .wd-vf__item:hover {
  border: none;
  background: transparent;
}
.wd-all-popup .wd-vf__item.wd-area-chip--active,
.wd-all-popup .wd-vf__item.wd-cat-chip--active {
  background: transparent;
  border: none;
  box-shadow: none;
}
.wd-all-popup .wd-vf__circle {
  display: flex;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 2.5px solid transparent;
  outline: 3px solid transparent;
  transition: border-color .18s, outline-color .18s, transform .2s, box-shadow .2s;
  flex-shrink: 0;
}
.wd-all-popup .wd-vf__circle img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.wd-all-popup .wd-vf__initial {
  display: block;
  font-size: 20px;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  text-shadow: 0 1px 3px rgba(0,0,0,.2);
}
.wd-all-popup .wd-vf__label {
  font-size: 11px;
  font-weight: 600;
  color: #4A3F38;
  max-width: 66px;
  white-space: normal;
  overflow: visible;
  text-align: center;
  line-height: 1.3;
}
.wd-all-popup .wd-vf__item:hover .wd-vf__circle {
  border-color: var(--wd-primary);
  transform: translateY(-2px);
  box-shadow: 0 5px 14px rgba(200,81,27,.22);
}
.wd-all-popup .wd-vf__item:hover .wd-vf__label { color: var(--wd-primary); }
.wd-all-popup .wd-vf__item.wd-area-chip--active .wd-vf__circle,
.wd-all-popup .wd-vf__item.wd-cat-chip--active .wd-vf__circle {
  border-color: var(--wd-primary);
  outline-color: rgba(200,81,27,.18);
  box-shadow: 0 3px 12px rgba(200,81,27,.25);
}
.wd-all-popup .wd-vf__item.wd-area-chip--active .wd-vf__label,
.wd-all-popup .wd-vf__item.wd-cat-chip--active .wd-vf__label {
  color: var(--wd-primary);
  font-weight: 800;
}

/* =====================================================================
   VIEW ALL POPUP  (.wd-all-popup-*)
   ===================================================================== */
.wd-all-popup {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.wd-all-popup[hidden] { display: none; }
.wd-all-popup__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(28,20,16,.55);
  backdrop-filter: blur(3px);
}
.wd-all-popup__box {
  position: relative;
  background: #fff;
  border-radius: 22px 22px 0 0;
  width: 100%;
  max-width: 860px;
  max-height: 82vh;
  overflow-y: auto;
  box-shadow: 0 -10px 48px rgba(28,20,16,.22);
  animation: wd-popup-up .26s cubic-bezier(.22,.68,0,1.2);
}
@keyframes wd-popup-up {
  from { transform: translateY(100%); opacity: .6; }
  to   { transform: translateY(0);   opacity: 1;  }
}
/* Drag handle */
.wd-all-popup__box::before {
  content: '';
  display: block;
  width: 40px;
  height: 4px;
  background: var(--wd-border);
  border-radius: 2px;
  margin: 12px auto 0;
}
.wd-all-popup__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px 12px;
  border-bottom: 1px solid var(--wd-border);
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1;
}
.wd-all-popup__title {
  font-size: 16px;
  font-weight: 800;
  color: var(--wd-dark);
  margin: 0;
}
.wd-all-popup__close {
  background: var(--wd-bg);
  border: none;
  width: 30px; height: 30px;
  border-radius: 50%;
  font-size: 12px;
  cursor: pointer;
  transition: background .15s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wd-all-popup__close:hover { background: var(--wd-border); }
.wd-all-popup__section { padding: 18px 20px 12px; }
.wd-all-popup__section + .wd-all-popup__section {
  border-top: 1px solid var(--wd-border);
}
.wd-all-popup__section-title {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .13em;
  color: var(--wd-muted);
  margin: 0 0 14px;
}
.wd-all-popup__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: 14px 8px;
}

/* Legacy chip classes — still used by AJAX card renderer in single/archive */
.wd-area-chip,
.wd-cat-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 13px;
  border-radius: 40px;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all .18s;
  border: 1.5px solid var(--wd-border);
  background: var(--wd-card);
  color: #4A3F38;
  cursor: pointer;
  line-height: 1.4;
  flex-shrink: 0;
}
.wd-area-chip:hover,
.wd-cat-chip:hover {
  border-color: var(--wd-primary);
  color: var(--wd-primary);
  background: rgba(200,81,27,.04);
}
.wd-area-chip--active,
.wd-cat-chip--active {
  background: var(--wd-primary);
  border-color: var(--wd-primary);
  color: #fff;
  box-shadow: 0 2px 8px rgba(200,81,27,.3);
}
.wd-area-chip--active::before,
.wd-cat-chip--active::before {
  content: '✓';
  font-size: 10px;
  font-weight: 900;
  opacity: .85;
}
.wd-area-chip--sm,
.wd-cat-chip--sm { padding: 3px 9px; font-size: 10px; }

/* =====================================================================
   CARDS GRID
   ===================================================================== */
.wd-grid-section {
  max-width: 1180px;
  margin-inline: auto;
  padding: 24px 24px 64px;
  background: var(--wd-bg);
}
.wd-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

/* =====================================================================
   FEATURED / PINNED CARD  (full-width horizontal)
   ===================================================================== */
.wd-card--pinned {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 280px 1fr;
  grid-template-rows: auto 1fr auto;
  border: 2px solid var(--wd-gold);
  border-radius: var(--wd-radius);
  background: var(--wd-card);
  box-shadow: 0 4px 24px rgba(196,154,26,.14), var(--wd-shadow-card);
  overflow: hidden;
  transition: box-shadow .25s, transform .25s;
}
.wd-card--pinned:hover {
  box-shadow: 0 8px 40px rgba(196,154,26,.2), var(--wd-shadow-lg);
  transform: translateY(-3px);
}
.wd-card__pin-badge {
  grid-column: 1 / -1;
  background: linear-gradient(90deg, var(--wd-gold), #DEB52A);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 5px 16px;
  letter-spacing: .1em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
}
.wd-card--pinned .wd-card__top {
  /* image column – single-column grid child */
  display: block;
  grid-column: 1;
  grid-row: 2 / 4;
}
.wd-card--pinned .wd-card__img {
  width: 100%;
  height: 100%;
  min-height: 200px;
}
.wd-card--pinned .wd-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 200px;
}
.wd-card--pinned .wd-card__img--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--wd-bg);
  height: 100%;
  min-height: 200px;
}
.wd-card--pinned .wd-card__img--placeholder img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  opacity: .35;
}
.wd-card--pinned .wd-card__info {
  grid-column: 2;
  grid-row: 2;
  padding: 20px 24px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.wd-card__bottom {
  grid-column: 2;
  grid-row: 3;
  padding: 12px 24px 16px;
  border-top: 1px solid var(--wd-border);
  background: #FDFAF5;
}

/* Pinned contact details (free) */
.wd-card__address {
  font-size: 13px;
  color: var(--wd-dark);
  margin: 0 0 6px;
  line-height: 1.5;
}
.wd-card__phone {
  font-size: 16px;
  font-weight: 800;
  color: var(--wd-dark);
  text-decoration: none;
  display: inline-block;
  margin-bottom: 10px;
}
.wd-card__phone:hover { color: var(--wd-primary); }
.wd-card__locked {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--wd-muted);
  margin-bottom: 8px;
}
.wd-card__locked-icon { font-size: 16px; }
.wd-card__more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 700;
  color: var(--wd-primary);
  text-decoration: none;
  transition: gap .15s;
}
.wd-card__more:hover { gap: 8px; }

/* =====================================================================
   REGULAR CARD  (vertical – image on top)
   ===================================================================== */
.wd-card:not(.wd-card--pinned) {
  background: var(--wd-card);
  border-radius: var(--wd-radius);
  box-shadow: var(--wd-shadow-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .22s, transform .22s;
  border: 1px solid var(--wd-border);
}
.wd-card:not(.wd-card--pinned):hover {
  box-shadow: var(--wd-shadow-lg);
  transform: translateY(-3px);
}

/* Image — top of card, full width */
.wd-card:not(.wd-card--pinned) .wd-card__top {
  display: block;
  position: relative;
}
.wd-card:not(.wd-card--pinned) .wd-card__img {
  width: 100%;
  height: 148px;
  overflow: hidden;
  background: var(--wd-bg);
}
.wd-card:not(.wd-card--pinned) .wd-card__img img {
  width: 100%;
  height: 148px;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.wd-card:not(.wd-card--pinned):hover .wd-card__img img {
  transform: scale(1.04);
}
.wd-card:not(.wd-card--pinned) .wd-card__img--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 148px;
  background: linear-gradient(135deg, #F5EEE6, #EDE3D6);
}
.wd-card:not(.wd-card--pinned) .wd-card__img--placeholder img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  opacity: .3;
}

/* Area label floated over image */
.wd-card:not(.wd-card--pinned) .wd-card__area {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(28,20,16,.65);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: 3px 8px;
  border-radius: 20px;
  z-index: 1;
}
.wd-card__info {
  padding: 14px 14px 10px;
  flex: 1;
  min-width: 0;
}
.wd-card--pinned .wd-card__area {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--wd-primary);
  display: block;
  margin-bottom: 4px;
}
.wd-card__title {
  font-size: 15px;
  font-weight: 800;
  margin: 0 0 4px;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--wd-dark);
}
.wd-card--pinned .wd-card__title {
  font-size: 20px;
  font-weight: 900;
  white-space: normal;
  margin-bottom: 6px;
}
.wd-card__title a { color: inherit; text-decoration: none; }
.wd-card__title a:hover { color: var(--wd-primary); }
.wd-card__speciality {
  font-size: 12px;
  color: var(--wd-muted);
  margin: 0 0 10px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.wd-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.wd-tag {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--wd-bg);
  border: 1px solid var(--wd-border);
  font-size: 10px;
  color: var(--wd-muted);
  font-weight: 500;
}
.wd-tag--rating {
  background: var(--wd-gold-lt);
  border-color: #FFCA28;
  color: #7A5800;
  font-weight: 700;
}

/* =====================================================================
   LOCKED / UNLOCKED CONTACT  (regular cards)
   ===================================================================== */
.wd-card__contact {
  border-top: 1px solid var(--wd-border);
  padding: 11px 14px;
  position: relative;
}
.wd-card__contact--locked {
  background: linear-gradient(180deg, #FDF8F3 0%, #FAF0E4 100%);
}
.wd-locked-overlay { position: relative; }
.wd-locked-overlay__blurred {
  filter: blur(var(--wd-locked-blur));
  user-select: none;
  pointer-events: none;
}
.wd-blurred-text { font-size: 12px; color: var(--wd-dark); font-weight: 600; margin: 2px 0; }
.wd-unlock-btn {
  display: block;
  width: 100%;
  margin-top: 9px;
  padding: 10px 10px;
  background: linear-gradient(135deg, var(--wd-primary), #E06025);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  border: none;
  border-radius: var(--wd-radius-sm);
  cursor: pointer;
  transition: all .18s;
  letter-spacing: .02em;
  box-shadow: 0 2px 8px rgba(200,81,27,.25);
}
.wd-unlock-btn:hover {
  background: linear-gradient(135deg, var(--wd-primary-dk), var(--wd-primary));
  box-shadow: 0 4px 14px rgba(200,81,27,.38);
  transform: translateY(-1px);
}
.wd-contact-info { display: flex; flex-direction: column; gap: 4px; }
.wd-contact-info--hidden { display: none; }
.wd-contact-info__address { font-size: 12px; color: var(--wd-dark); margin: 0; line-height: 1.45; }
.wd-contact-info__phone {
  font-size: 15px;
  color: var(--wd-dark);
  font-weight: 800;
  text-decoration: none;
  display: block;
  margin-top: 2px;
}
.wd-contact-info__phone:hover { color: var(--wd-primary); }
.wd-contact-info__maps {
  font-size: 11px;
  color: var(--wd-muted);
  text-decoration: none;
  display: inline-block;
  margin-top: 4px;
}
.wd-contact-info__maps:hover { color: var(--wd-primary); text-decoration: underline; }

/* =====================================================================
   CARD FOOTER  (regular cards)
   ===================================================================== */
.wd-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 14px 11px;
  border-top: 1px solid var(--wd-border);
  background: #FAFAF7;
}
.wd-card__detail-link {
  font-size: 12px;
  font-weight: 700;
  color: var(--wd-dark);
  text-decoration: none;
}
.wd-card__detail-link:hover { color: var(--wd-primary); }
.wd-card__wa-share {
  font-size: 11px;
  color: var(--wd-green);
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 3px;
}
.wd-card__wa-share:hover { text-decoration: underline; }

/* =====================================================================
   UNLOCK MODAL
   ===================================================================== */
.wd-modal {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center; padding: 16px;
}
.wd-modal[hidden] { display: none; }
.wd-modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(28,20,16,.72);
  backdrop-filter: blur(4px);
}
.wd-modal__box {
  position: relative;
  background: #fff;
  border-radius: 20px;
  padding: 28px 28px 24px;
  max-width: 440px;
  width: 100%;
  box-shadow: var(--wd-shadow-lg);
  animation: wd-modal-in .22s ease;
}
@keyframes wd-modal-in {
  from { opacity: 0; transform: scale(.93) translateY(14px); }
  to   { opacity: 1; transform: scale(1)   translateY(0);    }
}
.wd-modal__close {
  position: absolute; top: 13px; right: 13px;
  background: var(--wd-bg); border: none;
  width: 28px; height: 28px; border-radius: 50%;
  font-size: 12px; cursor: pointer; transition: background .15s; line-height: 1;
}
.wd-modal__close:hover { background: var(--wd-border); }
.wd-modal__icon { font-size: 38px; display: block; margin-bottom: 6px; text-align: center; }
.wd-modal__title { font-size: 19px; font-weight: 900; text-align: center; margin: 0 0 5px; }
.wd-modal__sub { font-size: 13px; color: var(--wd-muted); text-align: center; margin: 0 0 18px; line-height: 1.5; }
.wd-modal__options { display: flex; flex-direction: column; gap: 9px; }
.wd-unlock-option {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 12px; border: 1.5px solid var(--wd-border); border-radius: 10px; transition: border-color .15s;
}
.wd-unlock-option:hover { border-color: var(--wd-primary); }
.wd-unlock-option__icon { font-size: 20px; flex-shrink: 0; }
.wd-unlock-option__text { flex: 1; display: flex; flex-direction: column; gap: 1px; }
.wd-unlock-option__text strong { font-size: 13px; color: var(--wd-dark); }
.wd-unlock-option__text span   { font-size: 11px; color: var(--wd-muted); }
.wd-btn {
  padding: 8px 13px; border-radius: 7px; font-size: 12px; font-weight: 700;
  cursor: pointer; border: none; text-decoration: none; transition: all .15s; white-space: nowrap;
}
.wd-btn--primary     { background: var(--wd-primary); color: #fff; }
.wd-btn--primary:hover { background: #A83E10; }
.wd-btn--whatsapp    { background: #25D366; color: #fff; }
.wd-btn--whatsapp:hover { background: #128C7E; }
.wd-btn--newsletter  { background: #9B2FB5; color: #fff; }
.wd-btn--newsletter:hover { background: #7B1FA2; }
.wd-newsletter-form { display: flex; gap: 5px; align-items: center; flex-wrap: wrap; }
.wd-newsletter-form input {
  padding: 7px 10px; border: 1.5px solid var(--wd-border);
  border-radius: 7px; font-size: 12px; outline: none; flex: 1; min-width: 130px;
}
.wd-newsletter-form input:focus { border-color: #9B2FB5; }
.wd-modal__note { font-size: 11px; color: var(--wd-muted); text-align: center; margin: 12px 0 0; }

/* =====================================================================
   LOADING SPINNER + SENTINEL
   ===================================================================== */
.wd-spinner { display: none; text-align: center; padding: 32px 0; }
.wd-spinner__dot {
  display: inline-block; width: 9px; height: 9px;
  border-radius: 50%; background: var(--wd-primary); margin: 0 3px;
  animation: wd-bounce .8s infinite alternate;
}
.wd-spinner__dot:nth-child(2) { animation-delay: .15s; }
.wd-spinner__dot:nth-child(3) { animation-delay: .3s; }
@keyframes wd-bounce {
  from { transform: translateY(0); opacity: .35; }
  to   { transform: translateY(-8px); opacity: 1; }
}
.wd-sentinel { height: 1px; margin-top: 20px; }
.wd-no-more { text-align: center; padding: 18px 0; color: var(--wd-muted); font-size: 12px; display: none; }
.wd-cards-grid--loading { opacity: .45; pointer-events: none; transition: opacity .2s; }

/* =====================================================================
   EMPTY STATE
   ===================================================================== */
.wd-empty { text-align: center; padding: 56px 20px; color: var(--wd-muted); }
.wd-empty span { font-size: 44px; display: block; margin-bottom: 12px; }
.wd-empty h3 { font-size: 18px; color: var(--wd-dark); margin: 0 0 8px; }
.wd-empty p { margin: 0 0 20px; }

/* =====================================================================
   SINGLE WHOLESALER — .wp-*
   ===================================================================== */
.wp-wrap { max-width: 1120px; margin-inline: auto; padding: 24px 20px 56px; }

.wp-breadcrumb {
  display: flex; align-items: center; gap: 5px;
  font-size: 12px; color: var(--wd-muted); margin-bottom: 20px; flex-wrap: wrap;
}
.wp-breadcrumb a { color: var(--wd-muted); text-decoration: none; }
.wp-breadcrumb a:hover { color: var(--wd-primary); }

/* SHOP HEADER BANNER */
.wp-shop-header {
  background: linear-gradient(140deg, #1C0A04, #3A1608, #5C2A0C);
  border-radius: 16px;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 24px;
  color: #fff;
  flex-wrap: wrap;
}
.wp-shop-header__img {
  width: 84px; height: 84px;
  border-radius: 10px; overflow: hidden; flex-shrink: 0;
  background: rgba(255,255,255,.1);
}
.wp-shop-header__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wp-shop-header__img--placeholder {
  display: flex; align-items: center; justify-content: center;
}
.wp-shop-header__img--placeholder img { width: 44px; height: 44px; object-fit: contain; opacity: .45; }
.wp-shop-header__text { flex: 1; min-width: 0; }
.wp-shop-header__area {
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em;
  color: #F4A35A; margin: 0 0 4px;
}
.wp-shop-header__name {
  font-size: clamp(20px, 4vw, 30px); font-weight: 900;
  margin: 0 0 8px; color: #fff; line-height: 1.15;
}
.wp-shop-header__cats { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.wp-shop-header__cat-tag {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 20px;
  font-size: 11px; color: rgba(255,255,255,.9); font-weight: 600;
}
.wp-shop-header__meta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.wp-shop-header__meta-item { font-size: 12px; color: rgba(255,255,255,.7); }
.wp-shop-header__rating {
  background: rgba(196,154,26,.22);
  border: 1px solid rgba(196,154,26,.45);
  border-radius: 6px; padding: 3px 8px;
  font-size: 12px; font-weight: 800; color: #FFD54F;
}

/* TWO-COLUMN LAYOUT */
.wp-inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  align-items: start;
}
.wp-sidebar { position: sticky; top: 80px; }

/* QUICK INFO */
.wp-quick-info {
  background: var(--wd-card);
  border: 1px solid var(--wd-border);
  border-radius: var(--wd-radius);
  overflow: hidden;
  margin-bottom: 14px;
}
.wp-quick-info__title {
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .09em;
  color: var(--wd-muted); padding: 9px 14px 8px; background: var(--wd-bg);
  border-bottom: 1px solid var(--wd-border);
}
.wp-quick-info__row {
  display: flex; gap: 10px; align-items: center;
  padding: 9px 14px; font-size: 13px;
  border-bottom: 1px solid var(--wd-border);
}
.wp-quick-info__row:last-child { border-bottom: none; }
.wp-quick-info__row span:first-child { font-size: 15px; flex-shrink: 0; }
.wp-quick-info__row--rating { color: #7A5800; font-weight: 700; }

.wp-maps-btn {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  width: 100%; box-sizing: border-box;
  padding: 10px 14px;
  background: var(--wd-card);
  border: 1.5px solid var(--wd-primary);
  border-radius: 8px;
  font-size: 13px; font-weight: 700; color: var(--wd-primary);
  text-decoration: none; transition: all .15s; margin-top: 4px;
}
.wp-maps-btn:hover { background: var(--wd-primary); color: #fff; }

/* MAIN SECTION */
.wp-main__speciality { font-size: 14px; color: var(--wd-muted); margin: 0 0 18px; line-height: 1.65; }
.wp-main__description { font-size: 15px; line-height: 1.75; color: var(--wd-dark); margin-bottom: 22px; }

/* CONTACT BOX */
.wp-contact-box {
  background: var(--wd-card);
  border: 1.5px solid var(--wd-border);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 22px;
}
.wp-contact-box__title {
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .09em;
  color: var(--wd-muted); background: var(--wd-bg);
  padding: 10px 18px; border-bottom: 1px solid var(--wd-border);
}
.wp-contact-revealed--hidden { display: none; }
.wp-contact-locked { padding: 16px 18px; }
.wp-contact-blurred {
  filter: blur(5px); user-select: none; pointer-events: none;
  background: var(--wd-bg); border-radius: 8px; padding: 12px 14px; margin-bottom: 12px;
}
.wp-contact-blurred p { font-size: 14px; font-weight: 600; color: var(--wd-dark); margin: 5px 0; }
.wp-unlock-cta { text-align: center; }
.wp-unlock-cta p { font-size: 13px; color: var(--wd-muted); margin: 0 0 10px; }
.wp-unlock-btn {
  display: block; width: 100%;
  padding: 13px; background: var(--wd-primary); color: #fff;
  font-size: 15px; font-weight: 800; border: none; border-radius: 10px;
  cursor: pointer; transition: background .15s; letter-spacing: .01em;
}
.wp-unlock-btn:hover { background: #A83E10; }
.wp-contact-revealed { padding: 0; }
.wp-contact-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 11px 18px; border-bottom: 1px solid var(--wd-border);
}
.wp-contact-item:last-child { border-bottom: none; }
.wp-contact-item__label {
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em;
  color: var(--wd-muted); min-width: 58px; padding-top: 2px; flex-shrink: 0;
}
.wp-contact-item__value { font-size: 14px; font-weight: 600; color: var(--wd-dark); }
.wp-contact-item__value--link { text-decoration: none; }
.wp-contact-item__value--link:hover { color: var(--wd-primary); text-decoration: underline; }
.wp-contact-item__value--wa { color: #25D366; font-weight: 700; }

/* SHARE */
.wp-share { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.wp-share p { font-size: 13px; color: var(--wd-muted); margin: 0; }
.wp-share-btn {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 9px 18px; border-radius: 8px; font-size: 13px; font-weight: 700;
  text-decoration: none; transition: all .15s;
}
.wp-share-btn--wa { background: #25D366; color: #fff; }
.wp-share-btn--wa:hover { background: #128C7E; }

/* OLD sidebar img (hidden now — image moved to header) */
.wp-sidebar__img { display: none; }
.wp-sidebar__img--placeholder { display: none; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1024px) {
  .wd-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .wd-card--pinned { grid-template-columns: 240px 1fr; }
}
@media (max-width: 860px) {
  .wd-hero__inner { flex-direction: column; align-items: flex-start; }
  .wd-unlock-card { max-width: 100%; width: 100%; box-sizing: border-box; }
  .wp-inner { grid-template-columns: 1fr; }
  .wp-sidebar { position: static; }
  .wd-how__steps { flex-direction: column; align-items: center; }
  .wd-how__arrow { transform: rotate(90deg); }
  .wp-shop-header { padding: 18px 20px; gap: 14px; }
  .wp-shop-header__img { width: 68px; height: 68px; }
  /* Featured card goes full-column stacked on tablet */
  .wd-card--pinned {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto 1fr auto;
  }
  .wd-card--pinned .wd-card__pin-badge { grid-column: 1; }
  .wd-card--pinned .wd-card__top {
    grid-column: 1; grid-row: 2;
    height: 200px;
  }
  .wd-card--pinned .wd-card__img { height: 200px; min-height: 200px; }
  .wd-card--pinned .wd-card__img img { height: 200px; min-height: 200px; }
  .wd-card--pinned .wd-card__info { grid-column: 1; grid-row: 3; }
  .wd-card__bottom { grid-column: 1; grid-row: 4; }
}
@media (max-width: 600px) {
  .wd-cards-grid { grid-template-columns: 1fr; }
  .wp-wrap { padding: 14px 14px 40px; }
  .wd-modal__box { padding: 20px 14px 16px; }
  .wd-vf__label { font-size: 12px; }
  .wd-all-popup .wd-vf__circle { width: 50px; height: 50px; }
  .wd-all-popup .wd-vf__initial { font-size: 17px; }
  .wd-all-popup__grid { grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 10px 6px; }
  .wp-shop-header { border-radius: 10px; }
  .wd-grid-section { padding: 16px 14px 48px; }
  .wd-how { padding: 24px 14px 20px; }
  .wd-hero { padding: 36px 0 30px; }
}