/* ===================================================
   VendorHive Marketplace — Professional CSS
   Palette: Deep charcoal, warm cream, VH gold
   =================================================== */

:root {
  --vh-black: #090807;
  --vh-ink: #17120c;
  --vh-cream: #fbf6ec;
  --vh-card: #fffdf9;
  --vh-gold: #d8aa38;
  --vh-gold2: #b98724;
  --vh-gold-light: #f5e3a8;
  --vh-line: #eadfce;
  --vh-muted: #74695d;
  --vh-soft: #f5ecd9;
  --vh-green: #15803d;
  --vh-green-bg: #f0fdf4;
  --vh-red: #b91c1c;
  --vh-red-bg: #fef2f2;
  --vh-amber-bg: #fffbeb;
  --vh-shadow: 0 20px 60px rgba(40,28,10,.11);
  --vh-shadow-sm: 0 8px 24px rgba(40,28,10,.08);
  --r: 24px;
  --r-sm: 14px;
  --r-pill: 999px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { overflow-x: hidden; scroll-behavior: smooth; }
body {
  font-family: 'Outfit', system-ui, sans-serif;
  background: linear-gradient(180deg, #fffdf9 0%, #faf3e6 40%, #fff 100%);
  color: var(--vh-ink);
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button, input, select, textarea { font: inherit; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-thumb { background: var(--vh-line); border-radius: 99px; }

/* ── Layout ── */
.mkt-wrap { width: min(1680px, 92vw); margin: 0 auto; }
.mkt-wrap-sm { width: min(1200px, 92vw); margin: 0 auto; }

/* ===================================================
   LOADING STATE
   =================================================== */
.mkt-loading {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; min-height: 60vh; gap: 18px;
  color: var(--vh-muted);
}
.mkt-spinner {
  width: 44px; height: 44px; border-radius: 50%;
  border: 3px solid var(--vh-line);
  border-top-color: var(--vh-gold);
  animation: mktSpin .8s linear infinite;
}
@keyframes mktSpin { to { transform: rotate(360deg); } }

/* ===================================================
   HEADER — Sticky unified premium bar
   =================================================== */
.mkt-top-ticker {
  background: var(--vh-black); color: #fff;
  width: min(1840px, 94vw); margin: 18px auto 0;
  border-radius: var(--r-pill); overflow: hidden;
  display: flex; align-items: center; min-height: 52px;
  box-shadow: 0 14px 40px rgba(0,0,0,.18);
}
.mkt-ticker-track {
  flex: 1; overflow: hidden; position: relative;
  white-space: nowrap; display: flex; align-items: center;
}
.mkt-ticker-inner {
  display: inline-flex; gap: 28px; align-items: center;
  padding: 0 22px; font-weight: 800; font-size: .88rem;
  animation: mktTicker 32s linear infinite;
}
.mkt-ticker-inner b { color: var(--vh-gold); }
.mkt-ticker-inner span { opacity: .92; }
@keyframes mktTicker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.mkt-ticker-action {
  flex: 0 0 auto; background: #1a1612; color: var(--vh-gold);
  padding: 14px 26px; font-weight: 900; font-size: .88rem;
  border-radius: var(--r-pill); margin: 6px; cursor: pointer;
}

.mkt-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,253,249,.95);
  backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid var(--vh-line);
}
.mkt-header-main {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center; gap: 24px;
  padding: 20px min(3.5vw, 48px) 16px;
}
.mkt-logo {
  display: flex; align-items: center; gap: 12px;
  font-weight: 950; font-size: 1.8rem; letter-spacing: -.04em;
  color: var(--vh-ink); text-decoration: none;
}
.mkt-logo-mark {
  width: 56px; height: 56px; border-radius: 50%;
  background: radial-gradient(circle at 30% 20%, #6b5013, #080706 64%);
  display: grid; place-items: center;
  color: #fff; font-size: 1rem; font-weight: 950;
  border: 1px solid #e8d7b7; flex-shrink: 0;
}
.mkt-logo em { font-style: normal; color: var(--vh-gold2); }

.mkt-search-bar {
  display: flex; align-items: center;
  background: #fff; border: 2px solid var(--vh-line);
  border-radius: var(--r-pill); height: 58px;
  padding: 0 10px 0 22px;
  box-shadow: 0 12px 36px rgba(60,40,10,.07);
  gap: 10px; transition: border-color .2s;
}
.mkt-search-bar:focus-within { border-color: var(--vh-gold); }
.mkt-search-bar span { font-size: 1.2rem; color: var(--vh-muted); }
.mkt-search-bar input {
  flex: 1; border: 0; outline: 0;
  background: transparent; font-size: 1rem;
  color: var(--vh-ink); min-width: 0;
}
.mkt-search-bar button {
  background: var(--vh-black); color: #fff;
  border: 0; border-radius: var(--r-pill);
  padding: 12px 22px; font-weight: 900; cursor: pointer;
  white-space: nowrap; transition: background .15s;
}
.mkt-search-bar button:hover { background: var(--vh-ink); }

.mkt-header-actions {
  display: flex; align-items: center; gap: 10px;
}
.mkt-icon-btn {
  width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid var(--vh-line); background: #fff;
  display: grid; place-items: center;
  font-size: 1.2rem; cursor: pointer; position: relative;
  transition: border-color .15s, transform .15s;
  flex-shrink: 0;
}
.mkt-icon-btn:hover { border-color: var(--vh-gold); transform: scale(1.05); }
.mkt-icon-btn .mkt-badge {
  position: absolute; right: -3px; top: -3px;
  background: #e53e3e; color: #fff;
  font-size: .65rem; font-weight: 900;
  padding: 2px 6px; border-radius: var(--r-pill);
  min-width: 20px; text-align: center;
}
.mkt-btn {
  border: 0; border-radius: var(--r-pill);
  padding: 13px 20px; font-weight: 900; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  transition: opacity .15s, transform .1s; white-space: nowrap;
  line-height: 1; text-decoration: none; font-size: .95rem;
}
.mkt-btn:hover { opacity: .88; transform: translateY(-1px); }
.mkt-btn:active { transform: translateY(0); }
.mkt-btn.gold { background: linear-gradient(135deg, #e8bd42, #c9981e); color: #090807; }
.mkt-btn.dark { background: var(--vh-black); color: #fff; }
.mkt-btn.outline { background: #fff; color: var(--vh-ink); border: 1px solid var(--vh-line); }
.mkt-btn.ghost { background: transparent; color: var(--vh-ink); border: 1px solid var(--vh-line); }
.mkt-btn.small { padding: 10px 16px; font-size: .85rem; }

/* Nav strip */
.mkt-nav-strip {
  display: flex; align-items: center; gap: 6px;
  padding: 0 min(3.5vw, 48px) 14px;
  overflow-x: auto; scrollbar-width: none;
}
.mkt-nav-strip::-webkit-scrollbar { display: none; }
.mkt-nav-strip a, .mkt-nav-chip {
  flex: 0 0 auto; padding: 10px 18px;
  border: 1px solid var(--vh-line); border-radius: var(--r-pill);
  font-weight: 800; font-size: .88rem; color: var(--vh-ink);
  background: #fff; cursor: pointer; white-space: nowrap;
  transition: background .15s, color .15s, border-color .15s;
}
.mkt-nav-strip a:hover, .mkt-nav-chip:hover,
.mkt-nav-strip a.active, .mkt-nav-chip.active {
  background: var(--vh-black); color: #fff; border-color: var(--vh-black);
}
.mkt-nav-chip.gold-chip {
  background: linear-gradient(135deg, #e8bd42, #c9981e);
  color: #090807; border: 0;
}

/* ===================================================
   HERO SECTION
   =================================================== */
.mkt-hero {
  background: linear-gradient(135deg, #090806, #1c1008 55%, #7a5510);
  color: #fff;
  border-radius: 32px;
  margin: 28px auto;
  padding: clamp(44px, 7vw, 88px) clamp(28px, 6vw, 80px);
  position: relative; overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr);
  gap: 40px; align-items: center;
}
.mkt-hero::before {
  content: ''; position: absolute;
  right: -80px; top: -80px;
  width: 380px; height: 380px; border-radius: 50%;
  background: rgba(216,170,56,.16);
  pointer-events: none;
}
.mkt-hero::after {
  content: ''; position: absolute;
  left: 40%; bottom: -60px;
  width: 260px; height: 260px; border-radius: 50%;
  background: rgba(216,170,56,.08);
  pointer-events: none;
}
.mkt-hero-kicker {
  font-size: .78rem; font-weight: 900; letter-spacing: .22em;
  text-transform: uppercase; color: var(--vh-gold); margin-bottom: 16px;
}
.mkt-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 7vw, 6.5rem);
  line-height: .92; font-weight: 700; margin: 0 0 20px;
}
.mkt-hero h1 em { color: var(--vh-gold); font-style: italic; }
.mkt-hero-left {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  min-width: 0;
}
.mkt-hero-desc {
  font-size: clamp(1rem, 1.8vw, 1.2rem); line-height: 1.65;
  color: rgba(255,255,255,.82); max-width: 620px; margin-bottom: 28px;
}
.mkt-hero-search {
  display: flex; background: #fff; border-radius: var(--r-pill);
  overflow: hidden; box-shadow: 0 18px 50px rgba(0,0,0,.22);
  max-width: 560px;
}
.mkt-hero-search input {
  flex: 1; border: 0; outline: 0; padding: 16px 24px;
  font-size: 1rem; color: var(--vh-ink); min-width: 0;
}
.mkt-hero-search button {
  background: var(--vh-gold); color: var(--vh-black);
  border: 0; padding: 16px 28px; font-weight: 900; cursor: pointer;
  font-size: 1rem; transition: background .15s;
}
.mkt-hero-search button:hover { background: var(--vh-gold2); }
.mkt-hero-stats {
  display: flex; gap: 28px; margin-top: 28px; flex-wrap: wrap;
}
.mkt-hero-stat strong { display: block; font-size: 1.6rem; font-weight: 900; color: var(--vh-gold); }
.mkt-hero-stat span { font-size: .82rem; color: rgba(255,255,255,.7); font-weight: 600; }
.mkt-hero-right {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
  position: relative; z-index: 1;
}
.mkt-hero-card-mini {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--r);
  padding: 18px; backdrop-filter: blur(8px);
}
.mkt-hero-card-mini h3 { font-size: 1rem; font-weight: 800; margin-bottom: 4px; }
.mkt-hero-card-mini p { font-size: .82rem; color: rgba(255,255,255,.72); }
.mkt-hero-card-mini .mkt-tag {
  display: inline-block; background: var(--vh-gold);
  color: var(--vh-black); font-size: .72rem; font-weight: 900;
  padding: 3px 9px; border-radius: var(--r-pill); margin-bottom: 10px;
}

/* ===================================================
   TRUST BAR
   =================================================== */
.mkt-trust-bar {
  background: var(--vh-amber-bg);
  border: 1px solid #f5d98a;
  border-radius: var(--r);
  padding: 16px 24px;
  display: flex; align-items: center; gap: 14px;
  flex-wrap: wrap; margin: 0 auto 32px;
}
.mkt-trust-bar span {
  display: flex; align-items: center; gap: 8px;
  font-size: .88rem; font-weight: 700; color: #7c5e0e;
}

/* ===================================================
   FILTER / SORT BAR
   =================================================== */
.mkt-filter-bar {
  display: flex; align-items: center; gap: 12px;
  padding: 18px 0; flex-wrap: wrap;
}
.mkt-filter-scroll {
  display: flex; gap: 10px; overflow-x: auto;
  scrollbar-width: none; flex: 1; min-width: 0;
}
.mkt-filter-scroll::-webkit-scrollbar { display: none; }
.mkt-filter-btn {
  flex: 0 0 auto; padding: 11px 18px;
  border: 1px solid var(--vh-line); border-radius: var(--r-pill);
  background: #fff; font-weight: 800; font-size: .88rem;
  cursor: pointer; white-space: nowrap;
  transition: background .15s, color .15s, border-color .15s;
}
.mkt-filter-btn:hover { border-color: var(--vh-gold); }
.mkt-filter-btn.active {
  background: var(--vh-black); color: #fff; border-color: var(--vh-black);
}
.mkt-sort-select {
  border: 1px solid var(--vh-line); background: #fff;
  border-radius: var(--r-pill); padding: 11px 16px;
  font-weight: 800; font-size: .88rem; cursor: pointer;
  appearance: none; outline: none; flex-shrink: 0;
}
.mkt-result-count {
  font-size: .88rem; font-weight: 800;
  color: var(--vh-muted); flex-shrink: 0;
}

/* ===================================================
   SECTION HEADINGS
   =================================================== */
.mkt-section { padding: 32px 0; }
.mkt-section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 16px; margin-bottom: 20px; flex-wrap: wrap;
}
.mkt-section-head h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 700; letter-spacing: -.02em; line-height: 1;
}
.mkt-section-head h2 em { color: var(--vh-gold2); font-style: italic; }
.mkt-section-label {
  font-size: .72rem; font-weight: 900; letter-spacing: .18em;
  text-transform: uppercase; color: var(--vh-gold2);
  display: block; margin-bottom: 6px;
}
.mkt-see-all {
  font-size: .88rem; font-weight: 900; color: var(--vh-gold2);
  border-bottom: 1px solid var(--vh-gold2); padding-bottom: 1px;
}

/* ===================================================
   PRODUCT GRID + CARDS
   =================================================== */
.mkt-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 22px;
}
.mkt-grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.mkt-grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }

.mkt-product-card {
  background: var(--vh-card);
  border: 1px solid var(--vh-line);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--vh-shadow-sm);
  display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.mkt-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 60px rgba(40,28,10,.14);
}
.mkt-product-image {
  position: relative; aspect-ratio: 4/5;
  background: var(--vh-soft); overflow: hidden;
}
.mkt-product-image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .35s;
}
.mkt-product-card:hover .mkt-product-image img { transform: scale(1.04); }
.mkt-product-image-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; color: var(--vh-line);
  background: linear-gradient(135deg, #f5ece0, #ede4d4);
}
.mkt-product-badge {
  position: absolute; left: 12px; top: 12px;
  background: var(--vh-black); color: var(--vh-gold);
  font-size: .7rem; font-weight: 900; letter-spacing: .08em;
  padding: 5px 11px; border-radius: var(--r-pill);
  text-transform: uppercase;
}
.mkt-product-badge.verified { background: var(--vh-green); color: #fff; }
.mkt-product-badge.discount { background: var(--vh-red); color: #fff; }
.mkt-wishlist-btn {
  position: absolute; right: 12px; top: 12px;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.92); border: 1px solid var(--vh-line);
  display: grid; place-items: center; cursor: pointer;
  font-size: 1rem; transition: transform .15s;
}
.mkt-wishlist-btn:hover { transform: scale(1.15); }
.mkt-wishlist-btn.active { background: var(--vh-red-bg); color: var(--vh-red); }

.mkt-product-body { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.mkt-product-store {
  font-size: .78rem; font-weight: 700; color: var(--vh-muted);
  margin-bottom: 5px; display: flex; align-items: center; gap: 5px;
}
.mkt-product-store-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--vh-green); display: inline-block;
}
.mkt-product-name {
  font-size: 1rem; font-weight: 800;
  line-height: 1.3; margin-bottom: 8px; color: var(--vh-ink);
}
.mkt-product-cat {
  font-size: .78rem; font-weight: 600; color: var(--vh-muted);
  margin-bottom: 10px;
}
.mkt-price-row {
  display: flex; align-items: baseline; gap: 8px; margin-bottom: 12px;
}
.mkt-price { font-size: 1.15rem; font-weight: 900; color: var(--vh-ink); }
.mkt-price-original {
  font-size: .88rem; font-weight: 700;
  color: var(--vh-muted); text-decoration: line-through;
}
.mkt-price-save {
  font-size: .75rem; font-weight: 900; color: var(--vh-green);
  background: var(--vh-green-bg); padding: 2px 7px;
  border-radius: var(--r-pill);
}
.mkt-stock-row {
  font-size: .78rem; font-weight: 700;
  color: var(--vh-muted); margin-bottom: 14px;
  display: flex; align-items: center; gap: 6px;
}
.mkt-stock-row.low { color: #c75b00; }
.mkt-stock-row.out { color: var(--vh-red); }
.mkt-rating {
  font-size: .78rem; font-weight: 700;
  color: #8a6c1a; margin-bottom: 14px;
}
.mkt-product-actions {
  display: grid; grid-template-columns: 1fr auto;
  gap: 8px; margin-top: auto;
}
.mkt-add-cart-btn {
  background: linear-gradient(135deg, #e8bd42, #c9981e);
  color: var(--vh-black); border: 0; border-radius: var(--r-pill);
  padding: 12px 16px; font-weight: 900; cursor: pointer;
  font-size: .9rem; transition: opacity .15s;
}
.mkt-add-cart-btn:hover { opacity: .88; }
.mkt-add-cart-btn:disabled { background: var(--vh-line); color: var(--vh-muted); cursor: not-allowed; }
.mkt-quick-btn {
  background: #fff; border: 1px solid var(--vh-line);
  border-radius: var(--r-pill); padding: 12px 14px;
  font-size: .88rem; cursor: pointer; font-weight: 800;
  transition: border-color .15s;
}
.mkt-quick-btn:hover { border-color: var(--vh-gold); }

/* ===================================================
   SERVICE CARD
   =================================================== */
.mkt-service-card {
  background: var(--vh-card);
  border: 1px solid var(--vh-line);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--vh-shadow-sm);
  display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.mkt-service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 60px rgba(40,28,10,.14);
}
.mkt-service-image {
  aspect-ratio: 16/9; background: var(--vh-soft);
  overflow: hidden; position: relative;
}
.mkt-service-image img {
  width: 100%; height: 100%; object-fit: cover;
}
.mkt-service-image-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem;
  background: linear-gradient(135deg, #e8e0d4, #d8cfc4);
}
.mkt-service-body { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.mkt-service-cat {
  font-size: .72rem; font-weight: 900; letter-spacing: .12em;
  text-transform: uppercase; color: var(--vh-gold2);
  margin-bottom: 8px;
}
.mkt-service-name { font-size: 1.05rem; font-weight: 800; margin-bottom: 6px; }
.mkt-service-store { font-size: .82rem; color: var(--vh-muted); margin-bottom: 10px; }
.mkt-service-meta {
  display: flex; gap: 10px; flex-wrap: wrap;
  font-size: .78rem; font-weight: 700; color: var(--vh-muted);
  margin-bottom: 14px;
}
.mkt-service-meta span { display: flex; align-items: center; gap: 4px; }
.mkt-service-price { font-size: 1.1rem; font-weight: 900; margin-bottom: 14px; }
.mkt-book-btn {
  background: var(--vh-black); color: #fff; border: 0;
  border-radius: var(--r-pill); padding: 13px 20px;
  font-weight: 900; cursor: pointer; width: 100%;
  transition: background .15s; margin-top: auto;
}
.mkt-book-btn:hover { background: var(--vh-ink); }

/* ===================================================
   STORE CARD (in marketplace)
   =================================================== */
.mkt-store-card {
  background: var(--vh-card);
  border: 1px solid var(--vh-line);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--vh-shadow-sm);
  transition: transform .2s, box-shadow .2s;
}
.mkt-store-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 60px rgba(40,28,10,.14);
}
.mkt-store-banner {
  height: 160px; overflow: hidden; position: relative;
  background: var(--vh-soft);
}
.mkt-store-banner img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .35s;
}
.mkt-store-card:hover .mkt-store-banner img { transform: scale(1.04); }
.mkt-store-avatar {
  position: absolute; left: 18px; bottom: -22px;
  width: 52px; height: 52px; border-radius: 14px;
  background: linear-gradient(135deg, #090806, #7b5a15);
  border: 3px solid #fff; color: #fff;
  display: grid; place-items: center;
  font-weight: 900; font-size: 1rem;
}
.mkt-store-body { padding: 30px 18px 18px; }
.mkt-store-name { font-size: 1.1rem; font-weight: 900; margin-bottom: 4px; }
.mkt-store-type { font-size: .82rem; color: var(--vh-muted); margin-bottom: 8px; }
.mkt-store-tagline { font-size: .88rem; color: var(--vh-muted); margin-bottom: 12px; line-height: 1.45; }
.mkt-store-chips { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 14px; }
.mkt-chip {
  font-size: .72rem; font-weight: 800;
  background: var(--vh-soft); color: var(--vh-muted);
  padding: 5px 10px; border-radius: var(--r-pill);
}
.mkt-chip.verified { background: var(--vh-green-bg); color: var(--vh-green); }
.mkt-chip.rating { background: #fffbe8; color: #8a6c1a; }
.mkt-store-visit-btn {
  display: block; text-align: center;
  background: var(--vh-black); color: #fff;
  border-radius: var(--r-pill); padding: 12px 16px;
  font-weight: 900; font-size: .9rem;
  transition: background .15s;
}
.mkt-store-visit-btn:hover { background: var(--vh-ink); }

/* ===================================================
   LIVE / PROMO BANNER
   =================================================== */
.mkt-live-banner {
  background: linear-gradient(90deg, #0d0d0d, #1a0e06 60%, #2d1c07);
  border-radius: var(--r); padding: 28px 32px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap; margin: 0 0 32px;
}
.mkt-live-badge {
  background: #dc2626; color: #fff;
  font-size: .72rem; font-weight: 900; letter-spacing: .12em;
  padding: 5px 11px; border-radius: var(--r-pill);
  text-transform: uppercase; display: inline-block; margin-bottom: 10px;
  animation: mktPulse 2s ease-in-out infinite;
}
@keyframes mktPulse { 0%,100% { opacity: 1; } 50% { opacity: .7; } }
.mkt-live-banner h3 { font-size: 1.4rem; font-weight: 900; color: #fff; margin-bottom: 4px; }
.mkt-live-banner p { font-size: .9rem; color: rgba(255,255,255,.72); }
.mkt-live-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }

/* ===================================================
   VENDOR FEATURE STRIP
   =================================================== */
.mkt-vendor-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px; margin-bottom: 32px;
}
.mkt-vendor-cell {
  background: var(--vh-card);
  border: 1px solid var(--vh-line);
  border-radius: var(--r);
  padding: 20px; display: flex; align-items: center; gap: 16px;
  transition: border-color .2s;
}
.mkt-vendor-cell:hover { border-color: var(--vh-gold); }
.mkt-vendor-cell-icon {
  width: 48px; height: 48px; border-radius: 14px;
  background: var(--vh-gold-light);
  display: grid; place-items: center;
  font-size: 1.4rem; flex-shrink: 0;
}
.mkt-vendor-cell h4 { font-size: .95rem; font-weight: 900; margin-bottom: 2px; }
.mkt-vendor-cell p { font-size: .8rem; color: var(--vh-muted); }

/* ===================================================
   EMPTY STATE
   =================================================== */
.mkt-empty {
  grid-column: 1 / -1;
  background: var(--vh-card);
  border: 1px dashed var(--vh-line);
  border-radius: var(--r); padding: 52px 24px;
  text-align: center;
}
.mkt-empty h3 { font-size: 1.4rem; font-weight: 900; margin-bottom: 10px; }
.mkt-empty p { color: var(--vh-muted); margin-bottom: 20px; }

/* ===================================================
   TOAST
   =================================================== */
.mkt-toast {
  position: fixed; bottom: 24px; left: 50%;
  transform: translateX(-50%) translateY(120px);
  background: var(--vh-black); color: #fff;
  border-radius: var(--r-pill); padding: 14px 24px;
  font-weight: 800; font-size: .92rem; z-index: 200;
  transition: transform .28s cubic-bezier(.34,1.56,.64,1);
  white-space: nowrap; pointer-events: none;
  max-width: 92vw; text-align: center;
}
.mkt-toast.show { transform: translateX(-50%) translateY(0); }
.mkt-toast.ok { background: var(--vh-green); }
.mkt-toast.err { background: var(--vh-red); }

/* ===================================================
   MODAL
   =================================================== */
.mkt-modal {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(8,7,5,.6);
  display: none; align-items: center; justify-content: center;
  padding: 20px;
}
.mkt-modal.open { display: flex; }
.mkt-modal-box {
  background: #fff; border-radius: 28px;
  max-width: 680px; width: 100%;
  max-height: 90vh; overflow-y: auto;
  padding: 28px; box-shadow: 0 40px 100px rgba(0,0,0,.3);
}
.mkt-cart-box { max-width: 760px; }
.mkt-search-box { max-width: 860px; }
.mkt-login-box { max-width: 500px; text-align: center; }
.mkt-modal-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px; gap: 14px;
}
.mkt-modal-head h2 { font-size: 1.3rem; font-weight: 900; }
.mkt-modal-close {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--vh-line); background: var(--vh-soft);
  cursor: pointer; font-size: 1rem; font-weight: 900;
  flex-shrink: 0; display: grid; place-items: center;
  transition: background .15s;
}
.mkt-modal-close:hover { background: var(--vh-line); }

/* ── Cart modal ── */
.mkt-cart-store-group { margin-bottom: 18px; }
.mkt-cart-store-name {
  font-size: .78rem; font-weight: 900; text-transform: uppercase;
  letter-spacing: .1em; color: var(--vh-muted); margin-bottom: 10px;
}
.mkt-cart-item {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 12px 0; border-bottom: 1px solid var(--vh-line);
}
.mkt-cart-item-img {
  width: 60px; height: 60px; border-radius: 10px;
  background: var(--vh-soft); overflow: hidden; flex-shrink: 0;
}
.mkt-cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.mkt-cart-item-info { flex: 1; min-width: 0; }
.mkt-cart-item-name { font-weight: 800; margin-bottom: 3px; font-size: .95rem; }
.mkt-cart-item-store { font-size: .78rem; color: var(--vh-muted); margin-bottom: 8px; }
.mkt-cart-qty-row { display: flex; align-items: center; gap: 10px; }
.mkt-qty-btn {
  width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--vh-line); background: #fff;
  cursor: pointer; font-size: 1rem; display: grid; place-items: center;
  transition: border-color .15s;
}
.mkt-qty-btn:hover { border-color: var(--vh-gold); }
.mkt-cart-item-price { font-weight: 900; font-size: 1.05rem; white-space: nowrap; }
.mkt-cart-remove { font-size: .78rem; color: var(--vh-red); cursor: pointer; font-weight: 700; }
.mkt-cart-summary { margin-top: 18px; }
.mkt-cart-row {
  display: flex; justify-content: space-between;
  padding: 10px 0; border-bottom: 1px solid var(--vh-line);
  font-size: .92rem;
}
.mkt-cart-row.total { font-weight: 900; font-size: 1.1rem; border-bottom: 0; padding-top: 14px; }
.mkt-cart-note {
  background: var(--vh-amber-bg); border: 1px solid #f5d98a;
  border-radius: var(--r-sm); padding: 12px 14px;
  font-size: .82rem; font-weight: 700; color: #7c5e0e;
  margin: 14px 0;
}
.mkt-checkout-btn {
  width: 100%; padding: 16px;
  background: linear-gradient(135deg, #e8bd42, #c9981e);
  color: var(--vh-black); border: 0; border-radius: var(--r-pill);
  font-weight: 900; font-size: 1rem; cursor: pointer;
  transition: opacity .15s; margin-top: 14px;
}
.mkt-checkout-btn:hover { opacity: .88; }

/* ── Booking modal ── */
.mkt-booking-summary {
  background: var(--vh-soft); border-radius: var(--r);
  padding: 16px; margin-bottom: 18px;
}
.mkt-booking-row {
  display: flex; justify-content: space-between;
  padding: 7px 0; font-size: .9rem;
  border-bottom: 1px solid var(--vh-line);
}
.mkt-booking-row:last-child { border-bottom: 0; font-weight: 900; }
.mkt-field { margin-bottom: 14px; }
.mkt-field label {
  display: block; font-size: .75rem; font-weight: 900;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--vh-muted); margin-bottom: 6px;
}
.mkt-field input, .mkt-field select, .mkt-field textarea {
  width: 100%; border: 1px solid var(--vh-line); border-radius: var(--r-sm);
  padding: 12px 14px; font-size: .95rem; background: #fff; outline: none;
  transition: border-color .15s;
}
.mkt-field input:focus, .mkt-field select:focus, .mkt-field textarea:focus {
  border-color: var(--vh-gold);
}
.mkt-field textarea { min-height: 90px; resize: vertical; }
.mkt-field-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mkt-slots-grid { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.mkt-slot {
  border: 1px solid var(--vh-line); border-radius: var(--r-pill);
  background: #fff; padding: 9px 14px; font-size: .85rem;
  font-weight: 800; cursor: pointer; transition: all .15s;
}
.mkt-slot:hover { border-color: var(--vh-gold); }
.mkt-slot.active { background: var(--vh-black); color: #fff; border-color: var(--vh-black); }
.mkt-slot.booked { background: var(--vh-soft); color: var(--vh-muted); cursor: not-allowed; opacity: .6; }
.mkt-alert {
  border-radius: var(--r-sm); padding: 12px 14px;
  font-size: .85rem; font-weight: 700; margin-bottom: 14px;
}
.mkt-alert.ok { background: var(--vh-green-bg); color: #14532d; }
.mkt-alert.err { background: var(--vh-red-bg); color: #7f1d1d; }
.mkt-alert.warn { background: var(--vh-amber-bg); color: #78350f; }

/* ── Login buttons — two clearly distinct CTAs ── */
.mkt-btn-icon {
  font-size: 1rem; line-height: 1; flex-shrink: 0;
}
.mkt-btn-customer {
  background: #fff;
  color: var(--vh-ink);
  border: 1.5px solid var(--vh-line);
  font-weight: 900;
  gap: 7px;
  padding: 12px 18px;
  min-height: 50px;
}
.mkt-btn-customer:hover {
  border-color: var(--vh-gold);
  background: var(--vh-amber-bg);
  opacity: 1;
  transform: translateY(-1px);
}
.mkt-btn-customer.mkt-btn-logged-in {
  background: var(--vh-green-bg);
  border-color: var(--vh-green);
  color: var(--vh-green);
}
.mkt-btn-store-owner {
  background: var(--vh-black);
  color: var(--vh-gold);
  border: 1.5px solid var(--vh-black);
  font-weight: 900;
  gap: 7px;
  padding: 12px 18px;
  min-height: 50px;
}
.mkt-btn-store-owner:hover {
  background: #1a1410;
  border-color: var(--vh-gold);
  opacity: 1;
  transform: translateY(-1px);
}
@media (max-width: 900px) {
  .mkt-btn-customer span.mkt-btn-icon,
  .mkt-btn-store-owner span.mkt-btn-icon { display: none; }
  .mkt-btn-customer, .mkt-btn-store-owner { padding: 11px 14px; font-size: .82rem; min-height: 44px; }
}
@media (max-width: 640px) {
  .mkt-header-actions { gap: 6px; }
  .mkt-btn-customer, .mkt-btn-store-owner { display: none; }
  /* show login links in nav strip on mobile */
  .mkt-mobile-login-chip { display: flex !important; }
}


.mkt-lock-icon {
  width: 64px; height: 64px; border-radius: 20px;
  background: linear-gradient(135deg, var(--vh-gold), var(--vh-gold2));
  font-size: 1.8rem; display: grid; place-items: center;
  margin: 0 auto 18px;
}
.mkt-login-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }

/* ===================================================
   FOOTER
   =================================================== */
.mkt-footer {
  background: var(--vh-black); color: rgba(255,255,255,.82);
  margin-top: 60px; padding: 44px min(5vw, 64px);
}
.mkt-footer-inner { margin-bottom: 24px; }
.mkt-footer-brand {
  display: flex; align-items: center; gap: 12px;
  font-size: 1.4rem; font-weight: 950; color: #fff; margin-bottom: 10px;
}
.mkt-footer-brand .mkt-logo-mark { width: 42px; height: 42px; font-size: .8rem; }
.mkt-footer-brand em { font-style: normal; color: var(--vh-gold); }
.mkt-footer p { font-size: .9rem; line-height: 1.6; margin-bottom: 6px; }
.mkt-footer-safe { color: var(--vh-gold); font-weight: 700; }
.mkt-footer-links {
  display: flex; gap: 24px; flex-wrap: wrap;
  font-size: .88rem; font-weight: 700; margin-bottom: 20px;
}
.mkt-footer-links a { color: rgba(255,255,255,.7); transition: color .15s; }
.mkt-footer-links a:hover { color: var(--vh-gold); }
.mkt-copyright { font-size: .78rem; color: rgba(255,255,255,.4); }

/* ===================================================
   PROMO SECTION (CTA)
   =================================================== */
.mkt-promo-block {
  background: linear-gradient(135deg, #090806, #1c1008 60%, #8d6818);
  color: #fff; border-radius: var(--r);
  padding: clamp(32px, 5vw, 64px);
  text-align: center; position: relative; overflow: hidden;
}
.mkt-promo-block::before {
  content: ''; position: absolute;
  right: -60px; top: -60px;
  width: 260px; height: 260px; border-radius: 50%;
  background: rgba(216,170,56,.15);
}
.mkt-promo-block h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 700; margin-bottom: 14px;
}
.mkt-promo-block h2 em { color: var(--vh-gold); font-style: italic; }
.mkt-promo-block p { color: rgba(255,255,255,.8); margin-bottom: 24px; font-size: 1.05rem; }
.mkt-promo-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ===================================================
   RESPONSIVE
   =================================================== */
@media (max-width: 1200px) {
  .mkt-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .mkt-hero { grid-template-columns: 1fr; }
  .mkt-hero-right { display: none; }
}
@media (max-width: 900px) {
  .mkt-header-main { grid-template-columns: auto 1fr; }
  .mkt-header-actions { display: none; } /* kept in mobile-adapted form */
  .mkt-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .mkt-grid-3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .mkt-vendor-strip { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .mkt-top-ticker { width: 100%; border-radius: 0; margin-top: 0; }
  .mkt-header-main { padding: 16px; }
  .mkt-nav-strip { padding: 0 16px 12px; }
  .mkt-hero { border-radius: 0; margin: 0 0 20px; }
  .mkt-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .mkt-grid-3 { grid-template-columns: 1fr; }
  .mkt-live-banner { flex-direction: column; }
  .mkt-field-2col { grid-template-columns: 1fr; }
  .mkt-modal-box { padding: 20px; border-radius: 22px; }
  .mkt-wrap, .mkt-wrap-sm { width: 92vw; }
}
@media (max-width: 420px) {
  .mkt-grid { grid-template-columns: 1fr; }
}
