/* ── Vendor directory grid ───────────────────────────────── */
.vendor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px;
}

.vendor-card {
  border-radius: 12px;
  border: 1px solid #e8e8e8;
  background: #fff;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}

.vendor-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,.1);
  transform: translateY(-3px);
}

.vendor-card__link {
  display: flex;
  gap: 16px;
  padding: 20px;
  text-decoration: none;
  color: inherit;
}

.vendor-card__logo {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #eee;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f5;
}

.vendor-card__logo-img { width: 100%; height: 100%; object-fit: cover; }

.vendor-card__logo-placeholder {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  background: #eef0ff;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
}

.vendor-card__logo-placeholder--lg {
  width: 80px;
  height: 80px;
  font-size: 28px;
}

.vendor-card__body { flex: 1; min-width: 0; }

.vendor-card__name {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 4px;
  line-height: 1.3;
}

.vendor-card__location {
  font-size: 12px;
  color: #888;
  margin: 0 0 8px;
}

.vendor-card__excerpt {
  font-size: 13px;
  color: #555;
  line-height: 1.5;
  margin: 0 0 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.vendor-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.vendor-card__tours {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  background: #fff0f3;
  padding: 3px 8px;
  border-radius: 20px;
}

.vendor-card__cta {
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
}

/* ── CTA bar ─────────────────────────────────────────────── */
.vendor-cta-bar {
  text-align: center;
  padding: 40px 24px 60px;
  font-size: 16px;
  color: #555;
}

.vendor-cta-bar p { margin-bottom: 16px; }

/* ── Single vendor hero ──────────────────────────────────── */
.vendor-hero {
  background: var(--primary);
  color: #fff;
  padding: 40px 0 32px;
}

.vendor-hero__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.vendor-hero__logo {
  width: 90px;
  height: 90px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  border: 3px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.vendor-hero__logo-img { width: 100%; height: 100%; object-fit: cover; }

.vendor-hero__name {
  font-size: 28px;
  font-weight: 800;
  margin: 4px 0 8px;
}

.vendor-hero__meta {
  font-size: 14px;
  color: rgba(255,255,255,.75);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.vendor-hero .st-breadcrumb { color: rgba(255,255,255,.6); margin-bottom: 4px; }
.vendor-hero .st-breadcrumb a { color: rgba(255,255,255,.7); }
.vendor-hero .st-breadcrumb a:hover { color: #fff; }

/* ── Single vendor layout ────────────────────────────────── */
.vendor-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px 60px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: start;
}

@media (max-width: 800px) {
  .vendor-layout { grid-template-columns: 1fr; }
}

.vendor-sidebar__card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 16px;
}

.vendor-sidebar__card h3 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #999;
  margin: 0 0 12px;
}

.vendor-about { font-size: 14px; line-height: 1.7; color: #444; }

.vendor-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}

.vendor-contact-list a {
  color: var(--primary);
  text-decoration: none;
}

.vendor-contact-list a:hover { text-decoration: underline; }

.vendor-sidebar__submit-link {
  display: block;
  text-align: center;
  padding: 12px;
  border: 2px dashed var(--accent);
  border-radius: 10px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background .15s;
}

.vendor-sidebar__submit-link:hover {
  background: #fff0f3;
}

.vendor-main__heading {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 24px;
}

/* ── Short hero variant for directory page ───────────────── */
.vt-hero--short { min-height: 220px; }
.vt-hero--short .vt-hero__content h1 { font-size: 32px; }

/* ── Submit-a-Tour form page ─────────────────────────────── */
.submit-tour-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.submit-tour-page h1 {
  font-size: 30px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
}

.submit-tour-page .submit-intro {
  color: #666;
  margin-bottom: 36px;
  font-size: 15px;
  line-height: 1.6;
}

.submit-form { display: flex; flex-direction: column; gap: 0; }

.submit-form__section {
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 20px;
  background: #fff;
}

.submit-form__section-title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #999;
  margin: 0 0 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f0f0f0;
}

.submit-form__row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.submit-form__row:last-child { margin-bottom: 0; }

.submit-form__row label {
  font-size: 13px;
  font-weight: 600;
  color: #333;
}

.submit-form__row input,
.submit-form__row select,
.submit-form__row textarea {
  padding: 10px 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  color: #333;
  background: #fafafa;
  transition: border-color .15s;
  width: 100%;
  box-sizing: border-box;
}

.submit-form__row input:focus,
.submit-form__row select:focus,
.submit-form__row textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
}

.submit-form__row--half {
  flex-direction: row;
  gap: 16px;
}

.submit-form__row--half > div {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.submit-form__hint {
  font-size: 11px;
  color: #aaa;
  margin-top: 2px;
}

.submit-form__submit {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  align-self: flex-start;
  transition: opacity .15s;
}

.submit-form__submit:hover { opacity: .88; }

.submit-success {
  text-align: center;
  padding: 60px 24px;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
}

.submit-error {
  background: #fff0f0;
  border: 1px solid #fcc;
  border-radius: 8px;
  padding: 12px 16px;
  color: #c00;
  font-size: 14px;
  margin-bottom: 20px;
}

@media (prefers-color-scheme: dark) {
  .vendor-card { background: #1e1e2e; border-color: #2e2e3e; }
  .vendor-card__name { color: #e0e0f0; }
  .vendor-card__excerpt { color: #aaa; }
  .vendor-hero .st-breadcrumb { color: rgba(255,255,255,.55); }
  .vendor-sidebar__card { background: #1e1e2e; border-color: #2e2e3e; }
  .submit-form__section { background: #1e1e2e; border-color: #2e2e3e; }
  .submit-form__row input,
  .submit-form__row select,
  .submit-form__row textarea { background: #15151f; border-color: #3a3a4a; color: #e0e0f0; }
  .submit-success { background: #1e1e2e; border-color: #2e2e3e; }
}
