/* VIWI Vendors V3B — scoped body only. No header/footer selectors. */
body.vendors-preview-v3b {
  background: #f8f1ea;
}

.viwi-vendors-clean {
  padding: 46px 0 58px;
}

.vendors-clean-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 18px;
}

/* Hero */
.vendors-clean-hero {
  position: relative;
  min-height: 420px;
  border-radius: 28px;
  overflow: hidden;
  margin: 12px 0 28px;
  background: #d7b08a;
  box-shadow: 0 18px 38px rgba(63, 31, 4, .10);
}

.vendors-clean-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vendors-clean-hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(45, 23, 7, .74) 0%, rgba(62, 31, 9, .52) 36%, rgba(62, 31, 9, .16) 74%, rgba(62,31,9,.05) 100%);
}

.vendors-clean-hero__content {
  position: relative;
  z-index: 2;
  max-width: 580px;
  padding: 74px 34px 48px;
  color: #fff;
}

.vendors-clean-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 15px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.55);
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(8px);
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 18px;
}

.vendors-clean-hero h1 {
  margin: 0 0 14px;
  max-width: 560px;
  font-size: clamp(31px, 4vw, 50px);
  line-height: 1.06;
  letter-spacing: -0.035em;
  color: #fff;
}

.vendors-clean-hero p {
  margin: 0;
  max-width: 530px;
  font-size: 16px;
  line-height: 1.55;
  color: rgba(255,255,255,.94);
}

.vendors-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.vendors-hero-btn {
  position: relative;
  overflow: hidden;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 900;
  font-size: 15px;
  line-height: 1;
  transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
}

.vendors-hero-btn::after {
  content: "";
  position: absolute;
  top: -40%;
  left: -80%;
  width: 48%;
  height: 180%;
  transform: rotate(20deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.38), transparent);
  transition: left .45s ease;
}

.vendors-hero-btn:hover::after {
  left: 130%;
}

.vendors-hero-btn:hover {
  transform: translateY(-2px) scale(1.015);
}

.vendors-hero-btn--solid {
  background: linear-gradient(135deg, #ff9b2c 0%, #ff8727 48%, #d96505 100%);
  color: #fff;
  box-shadow: 0 14px 28px rgba(235, 111, 18, .24);
}

.vendors-hero-btn--ghost {
  background: rgba(255,255,255,.96);
  color: #20140c;
  border: 1px solid rgba(236, 166, 97, .76);
  box-shadow: 0 12px 26px rgba(45, 22, 4, .10);
}

.vendors-drift-a {
  animation: vendorsDriftA 3.4s ease-in-out infinite;
}

.vendors-drift-b {
  animation: vendorsDriftB 3.4s ease-in-out infinite .16s;
}

@keyframes vendorsDriftA {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(5px); }
}

@keyframes vendorsDriftB {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(-5px); }
}

/* Sections */
.vendors-clean-section {
  margin-top: 28px;
}

.vendors-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 24px;
  align-items: center;
  margin-bottom: 18px;
}

.vendors-section-head h2 {
  margin: 0;
  width: 100%;
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid rgba(235, 171, 111, .78);
  background: rgba(255,255,255,.56);
  color: #15100d;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.vendors-section-head p {
  margin: 0;
  color: #77431d;
  font-size: 16px;
  line-height: 1.45;
  font-weight: 700;
}

/* Category */
.vendors-category-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0,1fr));
  gap: 16px;
}

.vendors-category-card {
  background: #fff;
  border: 1px solid rgba(234, 177, 121, .78);
  border-radius: 24px;
  min-height: 172px;
  padding: 18px;
  box-shadow: 0 10px 25px rgba(83,42,7,.05);
}

.vendors-category-card img {
  display: block;
  width: 52px;
  height: 52px;
  object-fit: contain;
  background: transparent !important;
  margin-bottom: 14px;
}

.vendors-category-card h3 {
  margin: 0 0 8px;
  color: #130d09;
  font-size: 17px;
  line-height: 1.18;
  font-weight: 900;
}

.vendors-category-card p {
  margin: 0;
  color: #75451d;
  font-size: 15px;
  line-height: 1.42;
  font-weight: 600;
}

/* Banners */
.vendors-banner-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 16px;
}

.vendors-banner-card {
  position: relative;
  min-height: 250px;
  border-radius: 22px;
  overflow: hidden;
  background: #2c1205;
  box-shadow: 0 14px 32px rgba(70,31,3,.13);
}

.vendors-banner-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vendors-banner-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(27,12,4,.08), rgba(27,12,4,.55) 58%, rgba(27,12,4,.82));
}

.vendors-banner-copy {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  color: #fff;
}

.vendors-banner-pill {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  border-radius: 999px;
  background: rgba(255,255,255,.98);
  color: #23140c;
  font-size: 14px;
  font-weight: 900;
  margin-bottom: 12px;
}

.vendors-banner-copy h3 {
  margin: 0 0 7px;
  color: #fff;
  font-size: 19px;
  line-height: 1.08;
  font-weight: 950;
}

.vendors-banner-copy p {
  margin: 0;
  color: rgba(255,255,255,.92);
  font-size: 15px;
  line-height: 1.35;
  font-weight: 700;
}

/* Business cards */
.vendors-biz-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px;
}

.vendors-biz-card {
  position: relative;
  background: #fff;
  border: 1px solid rgba(234, 177, 121, .78);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(83,42,7,.06);
}

.vendors-biz-media {
  position: relative;
  height: 245px;
  overflow: hidden;
}

.vendors-biz-media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vendors-biz-icon {
  position: absolute;
  left: 16px;
  bottom: -18px;
  z-index: 4;
  width: 39px;
  height: 39px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(255,255,255,.98);
  border: 1px solid rgba(235, 177, 121, .72);
  box-shadow: 0 10px 22px rgba(60,28,0,.14);
}

.vendors-biz-icon img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  display: block;
  background: transparent !important;
}

.vendors-heart {
  position: absolute;
  z-index: 5;
  top: 15px;
  right: 15px;
  width: 39px;
  height: 39px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.85);
  background: rgba(255,255,255,.96);
  box-shadow: 0 10px 23px rgba(64,31,3,.14);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}

.vendors-heart span {
  color: #e95045;
  font-size: 15px;
  line-height: 1;
}

.vendors-heart:hover {
  transform: scale(1.06) rotate(-3deg);
  box-shadow: 0 13px 28px rgba(64,31,3,.18);
}

.vendors-heart.is-liked {
  background: linear-gradient(135deg, #ff9b2c 0%, #ff613d 100%);
}

.vendors-heart.is-liked span {
  color: #fff;
}

.vendors-heart-splash {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  border: 2px solid rgba(255, 115, 73, .35);
  animation: vendorsHeartSplash .58s ease-out forwards;
  pointer-events: none;
}

@keyframes vendorsHeartSplash {
  0% { transform: scale(.8); opacity: .9; }
  100% { transform: scale(1.75); opacity: 0; }
}

.vendors-biz-body {
  padding: 24px 16px 18px;
}

.vendors-biz-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.vendors-biz-top h3 {
  margin: 0;
  color: #130d09;
  font-size: 18px;
  line-height: 1.18;
  font-weight: 950;
}

.vendors-rating {
  min-width: 74px;
  min-height: 38px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid rgba(234,177,122,.86);
  background: #fff7ec;
  color: #7c3f13;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.vendors-rating .star {
  color: #ffae1f;
  font-size: 16px;
}

.vendors-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.vendors-tag {
  min-height: 32px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid rgba(234,177,122,.86);
  background: #fff9f4;
  color: #854718;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13.5px;
  font-weight: 800;
}

.vendors-tag:nth-child(3) {
  background: #e9fbf3;
  border-color: rgba(92,198,154,.62);
  color: #167553;
}

/* CTA */
.vendors-business-cta {
  margin-top: 30px;
  border-radius: 28px;
  padding: 30px 28px;
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: center;
  gap: 22px;
  color: #fff;
  background: linear-gradient(90deg, #3a1100 0%, #6f2804 42%, #d56a08 100%);
  box-shadow: 0 14px 30px rgba(84,37,4,.10);
}

.vendors-business-cta h2 {
  margin: 0 0 10px;
  color: #fff;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.05;
  letter-spacing: -0.025em;
}

.vendors-business-cta p {
  margin: 0;
  max-width: 790px;
  color: rgba(255,255,255,.94);
  font-size: 16px;
  line-height: 1.45;
  font-weight: 700;
}

/* Responsive */
@media (max-width: 1180px) {
  .vendors-category-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .vendors-banner-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .vendors-biz-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .vendors-section-head { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .viwi-vendors-clean { padding-top: 28px; }
  .vendors-clean-hero { min-height: 390px; border-radius: 22px; }
  .vendors-clean-hero__content { padding: 48px 22px 34px; }
  .vendors-clean-hero h1 { font-size: 33px; }
  .vendors-category-grid,
  .vendors-banner-grid,
  .vendors-biz-grid { grid-template-columns: 1fr; }
  .vendors-section-head h2 { font-size: 24px; padding: 12px 18px; min-height: auto; }
  .vendors-business-cta { grid-template-columns: 1fr; }
}
