/*
Theme Name: Duluth Bride
Theme URI: https://duluthbride.com
Author: Duluth Bride
Author URI: https://duluthbride.com
Description: Custom wedding vendor directory theme for Duluth, MN. Built with Playfair Display headings and a warm rose/sage/cream palette.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: duluth-bride
Tags: wedding, directory, vendor
*/

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --rose:      #c9897a;
  --rose-lt:   #e8c4bb;
  --rose-dk:   #b5756a;
  --sage:      #7a9b84;
  --sage-lt:   #c5d9c9;
  --cream:     #f7f2ec;
  --cream-dk:  #ede4d8;
  --charcoal:  #2e2926;
  --muted:     #7a6f68;
  --white:     #ffffff;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body:    'Jost', 'Inter', system-ui, sans-serif;

  --radius:    8px;
  --radius-lg: 16px;
  --shadow:    0 2px 12px rgba(46,41,38,.08);
  --shadow-md: 0 4px 24px rgba(46,41,38,.12);
  --transition: 0.2s ease;

  --max-w: 1200px;
  --gutter: 1.5rem;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--cream);
}

img, video { max-width: 100%; height: auto; display: block; }

a { color: var(--rose); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--rose-dk); }

ul { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
  color: var(--charcoal);
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.2rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: 4rem; }
.section--sm { padding-block: 2.5rem; }
.section--lg { padding-block: 6rem; }

.text-center { text-align: center; }
.text-muted { color: var(--muted); }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .02em;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
  line-height: 1;
}

.btn-primary {
  background: var(--rose);
  color: var(--white);
  border-color: var(--rose);
}
.btn-primary:hover {
  background: var(--rose-dk);
  border-color: var(--rose-dk);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(201,137,122,.35);
}

.btn-outline {
  background: transparent;
  color: var(--rose);
  border-color: var(--rose);
}
.btn-outline:hover {
  background: var(--rose);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-sage {
  background: var(--sage);
  color: var(--white);
  border-color: var(--sage);
}
.btn-sage:hover {
  background: #6a8a72;
  border-color: #6a8a72;
  color: var(--white);
}

/* ============================================================
   HEADER & NAVIGATION
   ============================================================ */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--cream-dk);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 8px rgba(46,41,38,.06);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 60px;
}

.site-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--charcoal);
  text-decoration: none;
  flex-shrink: 0;
}
.site-logo span { color: var(--rose); }
.site-logo:hover { color: var(--charcoal); }

/* Primary nav */
.primary-nav { display: flex; align-items: center; gap: 0; }
.primary-nav ul { display: flex; align-items: center; gap: 0; }
.primary-nav a {
  font-size: .8rem;
  font-weight: 500;
  color: var(--muted);
  padding: .375rem .55rem;
  border-radius: var(--radius);
  transition: all var(--transition);
  white-space: nowrap;
}
.primary-nav a:hover,
.primary-nav a:focus {
  color: var(--rose);
  background: var(--cream);
}

.header-cta { flex-shrink: 0; }
.header-cta .btn { padding: .45rem 1rem; font-size: .8rem; }

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
  color: var(--charcoal);
}
.menu-toggle svg { width: 24px; height: 24px; }

@media (max-width: 900px) {
  .primary-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--cream-dk);
    padding: 1rem var(--gutter);
    box-shadow: var(--shadow-md);
  }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { flex-direction: column; align-items: flex-start; gap: .25rem; }
  .primary-nav a { display: block; padding: .625rem .75rem; width: 100%; }
  .menu-toggle { display: flex; }
  .site-header { position: relative; }
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  background: linear-gradient(135deg, var(--cream-dk) 0%, var(--cream) 60%, #f0ebe5 100%);
  padding-block: 5rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--rose-lt) 0%, transparent 70%);
  opacity: 0.35;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--sage-lt) 0%, transparent 70%);
  opacity: 0.3;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 780px;
}

.hero-eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--rose);
  background: var(--rose-lt);
  padding: .35rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.25rem;
}

.hero h1 {
  margin-bottom: 1.25rem;
  color: var(--charcoal);
}

.hero .hero-sub {
  font-size: 1.15rem;
  color: var(--muted);
  margin-bottom: 2rem;
  max-width: 560px;
  margin-inline: auto;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  justify-content: center;
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--cream-dk);
  flex-wrap: wrap;
}

.hero-stat .stat-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--rose);
  line-height: 1;
}
.hero-stat .stat-label {
  font-size: .825rem;
  color: var(--muted);
  margin-top: .25rem;
}

/* ============================================================
   CATEGORY GRID
   ============================================================ */
.section-label {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: .5rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  color: var(--charcoal);
  margin-bottom: .75rem;
}

.section-sub {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 520px;
}

.section-header { margin-bottom: 2.5rem; }
.section-header.text-center .section-sub { margin-inline: auto; }

/* Category cards */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.25rem;
}

.category-card {
  background: var(--white);
  border: 1.5px solid var(--cream-dk);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.25rem;
  text-align: center;
  text-decoration: none;
  color: var(--charcoal);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
}

.category-card:hover {
  border-color: var(--rose-lt);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  color: var(--charcoal);
}

.category-card__icon {
  width: 60px;
  height: 60px;
  background: var(--cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: background var(--transition), transform var(--transition);
  overflow: hidden;
  padding: 6px;
}
.category-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.category-card:hover .category-card__icon {
  background: var(--rose-lt);
  transform: scale(1.08);
}

/* Hub section header icon */
.vendors-hub-cat-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
}

.category-card__name {
  font-size: .9rem;
  font-weight: 600;
  color: var(--charcoal);
  line-height: 1.3;
}

.category-card__count {
  font-size: .775rem;
  color: var(--muted);
}

/* ── Category card — with featured image ──────────────────────── */
.category-card--has-img {
  position: relative;
  overflow: hidden;
  border: none;
  border-radius: var(--radius-lg);
  height: 220px;               /* image needs a fixed height to fill */
  padding: 1.25rem 1.25rem 1.1rem;
  text-align: left;
  align-items: flex-start;     /* left-align text */
  justify-content: flex-end;   /* push text to bottom */
  gap: .3rem;
}

.category-card__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
  z-index: 0;
}

.category-card--has-img:hover .category-card__bg {
  transform: scale(1.07);
}

.category-card__overlay {
  position: absolute;
  inset: 0;
  /* strong at bottom for text legibility, fades to subtle at top */
  background: linear-gradient(
    to top,
    rgba(0,0,0,.72) 0%,
    rgba(0,0,0,.35) 45%,
    rgba(0,0,0,.08) 100%
  );
  z-index: 1;
}

/* hide the small icon when a full bg image is present */
.category-card--has-img .category-card__icon {
  display: none;
}

.category-card--has-img .category-card__name,
.category-card--has-img .category-card__count {
  position: relative;
  z-index: 2;
}

.category-card--has-img .category-card__name {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
  text-shadow: 0 1px 6px rgba(0,0,0,.45);
}

.category-card--has-img .category-card__count {
  color: rgba(255,255,255,.88);
  font-size: .78rem;
  text-shadow: 0 1px 4px rgba(0,0,0,.45);
}

.category-card--has-img:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,.22);
  transform: translateY(-3px);
}

/* ============================================================
   VENDOR CARDS
   ============================================================ */
.vendor-card {
  background: var(--white);
  border: 1.5px solid var(--cream-dk);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.vendor-card:hover {
  border-color: var(--rose-lt);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.vendor-card__image {
  height: 200px;
  background: var(--cream-dk);
  overflow: hidden;
}

.vendor-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.vendor-card:hover .vendor-card__image img {
  transform: scale(1.04);
}

.vendor-card__image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  background: linear-gradient(135deg, var(--cream-dk), var(--rose-lt));
}

.vendor-card__body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.vendor-card__category {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--rose);
}

.vendor-card__name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--charcoal);
  text-decoration: none;
}
.vendor-card__name:hover { color: var(--rose); }

.vendor-card__desc {
  font-size: .875rem;
  color: var(--muted);
  line-height: 1.55;
  flex: 1;
}

.vendor-card__meta {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-top: .5rem;
  flex-wrap: wrap;
}

.vendor-card__rating {
  font-size: .825rem;
  color: var(--charcoal);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: .25rem;
}

.stars { color: #f4b942; }

/* ============================================================
   INTRO / ABOUT STRIP
   ============================================================ */
.intro-strip {
  background: var(--charcoal);
  color: var(--white);
  padding-block: 3.5rem;
}

.intro-strip h2 {
  color: var(--white);
  margin-bottom: .75rem;
}

.intro-strip p { color: rgba(255,255,255,.7); font-size: 1.05rem; }

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.intro-features {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.intro-feature {
  display: flex;
  gap: .875rem;
  align-items: flex-start;
}

.intro-feature__icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: .1rem;
}

.intro-feature__text strong {
  display: block;
  color: var(--white);
  margin-bottom: .2rem;
  font-size: .95rem;
}

.intro-feature__text span {
  font-size: .85rem;
  color: rgba(255,255,255,.6);
}

.intro-cta { margin-top: 2rem; }

.intro-photo {
  display: flex;
  align-items: center;
  justify-content: center;
}
.intro-photo img {
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 40px rgba(0,0,0,.35);
}

@media (max-width: 768px) {
  .intro-grid { grid-template-columns: 1fr; gap: 2rem; }
  .intro-photo { display: none; }
}

/* ============================================================
   GET LISTED CTA BANNER
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--rose) 0%, #d4a090 100%);
  padding-block: 4rem;
  text-align: center;
  color: var(--white);
}

.cta-banner h2 { color: var(--white); margin-bottom: .75rem; }
.cta-banner p { color: rgba(255,255,255,.85); font-size: 1.05rem; margin-bottom: 2rem; max-width: 500px; margin-inline: auto; margin-top: .5rem; }

.cta-banner .btn-white {
  background: var(--white);
  color: var(--rose);
  border-color: var(--white);
}
.cta-banner .btn-white:hover {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--rose-dk);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--charcoal);
  color: rgba(255,255,255,.65);
  padding-block: 3.5rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-brand .site-logo {
  color: var(--white);
  font-size: 1.35rem;
  display: inline-block;
  margin-bottom: .75rem;
}

.footer-brand p {
  font-size: .875rem;
  line-height: 1.6;
  margin-bottom: 0;
  max-width: 280px;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--white);
  margin-bottom: .875rem;
}

.footer-col ul { display: flex; flex-direction: column; gap: .4rem; }

.footer-col a {
  font-size: .875rem;
  color: rgba(255,255,255,.6);
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--rose-lt); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p { font-size: .8rem; margin: 0; }

/* ============================================================
   PAGE TEMPLATES
   ============================================================ */

/* Archive / category page */
.archive-header {
  background: var(--cream-dk);
  padding-block: 3rem 2.5rem;
  position: relative;
  border-bottom: 1px solid rgba(201,137,122,.15);
}

/* Archive header — with hero image */
.archive-header--has-img {
  background-color: var(--charcoal);
  padding-block: 4rem 3.5rem;
  min-height: 260px;
  display: flex;
  align-items: flex-end;
}
.archive-header__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(46,41,38,.3) 0%, rgba(46,41,38,.7) 100%);
  z-index: 0;
}
.archive-header--has-img .breadcrumb a,
.archive-header--has-img .breadcrumb { color: rgba(255,255,255,.75); }
.archive-header--has-img .breadcrumb a:hover { color: var(--white); }
.archive-header--has-img .archive-title { color: var(--white); }
.archive-header--has-img .archive-count { color: rgba(255,255,255,.8); }

.archive-header .breadcrumb {
  font-size: .8rem;
  color: var(--muted);
  margin-bottom: .75rem;
}
.archive-header .breadcrumb a { color: var(--muted); }
.archive-header .breadcrumb a:hover { color: var(--rose); }

.archive-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: .5rem;
}

.archive-count { color: var(--muted); font-size: .9rem; }

.archive-content { padding-block: 2.5rem 4rem; }

/* ============================================================
   VENDORS HUB — /vendors/ category-by-category landing page
   ============================================================ */
.vendors-hub-header {
  background: var(--cream-dk);
  padding-block: 3rem 2.5rem;
  border-bottom: 1px solid rgba(201,137,122,.15);
}
.vendors-hub-header .breadcrumb { font-size: .8rem; color: var(--muted); margin-bottom: .75rem; }
.vendors-hub-header .breadcrumb a { color: var(--muted); }
.vendors-hub-header .breadcrumb a:hover { color: var(--rose); }
.vendors-hub-header__title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: .5rem;
}
.vendors-hub-header__sub { color: var(--muted); font-size: 1rem; max-width: 560px; }

.vendors-hub-category { padding-block: 3rem 3.5rem; background: var(--white); }
.vendors-hub-category--alt { background: var(--cream-dk); }

.vendors-hub-cat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.vendors-hub-cat-title {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.vendors-hub-cat-emoji { font-size: 1.75rem; line-height: 1; }
.vendors-hub-cat-title h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 3vw, 1.75rem);
  margin: 0;
}
.vendors-hub-cat-count {
  background: var(--cream-dk);
  color: var(--muted);
  font-size: .75rem;
  font-weight: 600;
  padding: .2rem .65rem;
  border-radius: 999px;
  letter-spacing: .03em;
}
.vendors-hub-category--alt .vendors-hub-cat-count { background: var(--white); }
.vendors-hub-see-all {
  font-size: .9rem;
  font-weight: 600;
  color: var(--rose);
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--transition);
}
.vendors-hub-see-all:hover { color: var(--rose-dk, #a05a4a); }

.vendors-hub-cat-footer {
  text-align: center;
  margin-top: 2rem;
}

@media (max-width: 600px) {
  .vendors-hub-cat-header { flex-direction: column; align-items: flex-start; }
  .vendors-hub-see-all { font-size: .85rem; }
}

.vendor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

/* Single vendor page */
.vendor-single { padding-block: 2.5rem 4rem; }

.vendor-single .container {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 900px) {
  .vendor-single .container { grid-template-columns: 1fr; }
}

.vendor-hero-img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: 1.75rem;
}

.vendor-hero-placeholder {
  width: 100%;
  height: 280px;
  background: linear-gradient(135deg, var(--cream-dk), var(--rose-lt));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  margin-bottom: 1.75rem;
}

.vendor-category-badge {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--rose);
  background: var(--rose-lt);
  padding: .3rem .875rem;
  border-radius: 50px;
  margin-bottom: .875rem;
}

.vendor-name {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: .75rem;
}

.vendor-rating-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.vendor-description { color: var(--charcoal); line-height: 1.75; margin-bottom: 2rem; }

.vendor-sidebar .card {
  background: var(--white);
  border: 1.5px solid var(--cream-dk);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}

.vendor-sidebar .card h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  margin-bottom: 1rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--cream-dk);
}

.contact-list { display: flex; flex-direction: column; gap: .75rem; }

.contact-item {
  display: flex;
  gap: .75rem;
  align-items: center;
  font-size: .9rem;
}
.contact-item a { color: var(--charcoal); }
.contact-item a:hover { color: var(--rose); }

.contact-icon { font-size: 1rem; flex-shrink: 0; }

.vendor-cta-buttons {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  margin-top: 1.25rem;
}
.vendor-cta-buttons .btn { width: 100%; justify-content: center; }

/* Inquiry / Get Listed page */
.page-hero {
  background: var(--cream-dk);
  padding-block: 3.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero h1 { margin-bottom: .75rem; }
.page-hero p { color: var(--muted); max-width: 520px; margin-inline: auto; }

/* With featured image — becomes a full hero banner */
.page-hero--has-image {
  padding-block: 5.5rem 5rem;
  min-height: 400px;
  display: flex;
  align-items: center;
}
.page-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 50%; /* overridden per-page via inline style */
  display: block;
  z-index: 0;
}
.page-hero--has-image h1 {
  color: var(--white);
  text-shadow: 0 2px 12px rgba(0,0,0,.35);
  font-size: clamp(2rem, 5vw, 3rem);
}
.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(30,25,22,.25) 0%, rgba(30,25,22,.6) 100%);
  z-index: 1;
}
.page-hero__content {
  position: relative;
  z-index: 2;
}

.inquiry-form-wrap {
  max-width: 680px;
  margin-inline: auto;
  padding-block: 3rem 5rem;
}

/* Blog */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.75rem;
}

.post-card {
  background: var(--white);
  border: 1.5px solid var(--cream-dk);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}
.post-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--rose-lt);
}

.post-card__image { height: 200px; background: var(--cream-dk); overflow: hidden; }
.post-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.post-card:hover .post-card__image img { transform: scale(1.04); }
.post-card__image-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, var(--cream-dk) 0%, #e8d5c4 100%); display: flex; align-items: center; justify-content: center; font-size: 2.5rem; opacity: .5; }

.post-card__body { padding: 1.25rem; }

.post-card__meta {
  font-size: .78rem;
  color: var(--muted);
  margin-bottom: .5rem;
}

.post-card__title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  margin-bottom: .5rem;
  line-height: 1.3;
}
.post-card__title a { color: var(--charcoal); }
.post-card__title a:hover { color: var(--rose); }

.post-card__excerpt { font-size: .875rem; color: var(--muted); line-height: 1.55; }

/* Single post */
.post-content { max-width: 720px; margin-inline: auto; padding-block: 2.5rem 2rem; }
.post-content h1 { margin-bottom: .75rem; }
.post-content .post-meta { font-size: .875rem; color: var(--muted); margin-bottom: 2rem; }

.post-body h2, .post-body h3 { margin-block: 1.75rem .75rem; }
.post-body p { margin-bottom: 1.25rem; }
.post-body ul, .post-body ol { margin-left: 1.5rem; margin-bottom: 1.25rem; }
.post-body ul li { list-style: disc; margin-bottom: .4rem; }
.post-body ol li { list-style: decimal; margin-bottom: .4rem; }
.post-body img { border-radius: var(--radius); margin-block: 1.5rem; }
.post-body blockquote {
  border-left: 3px solid var(--rose);
  padding-left: 1.25rem;
  margin: 1.75rem 0;
  font-style: italic;
  color: var(--muted);
}

/* 404 */
.error-404 {
  text-align: center;
  padding-block: 6rem;
}
.error-404 .error-num {
  font-family: var(--font-heading);
  font-size: clamp(5rem, 15vw, 10rem);
  color: var(--rose-lt);
  line-height: 1;
  margin-bottom: .5rem;
}
.error-404 h2 { margin-bottom: .75rem; }
.error-404 p { color: var(--muted); margin-bottom: 2rem; }

/* ============================================================
   SEARCH FORM
   ============================================================ */
.search-form {
  display: flex;
  gap: .5rem;
  max-width: 480px;
  margin-inline: auto;
}
.search-form input {
  flex: 1;
  padding: .75rem 1.25rem;
  border: 1.5px solid var(--cream-dk);
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: .95rem;
  background: var(--white);
  color: var(--charcoal);
  outline: none;
  transition: border-color var(--transition);
}
.search-form input:focus { border-color: var(--rose); }
.search-form button {
  padding: .75rem 1.5rem;
  background: var(--rose);
  color: var(--white);
  border: none;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition);
}
.search-form button:hover { background: var(--rose-dk); }

/* ============================================================
   ADMIN BAR OFFSET
   ============================================================ */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

/* ============================================================
   ACCESSIBILITY
   ============================================================ */
.screen-reader-text {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  top: -100%;
  left: .5rem;
  background: var(--charcoal);
  color: var(--white);
  padding: .5rem 1rem;
  border-radius: 0 0 var(--radius) var(--radius);
  font-size: .875rem;
  z-index: 9999;
  transition: top .2s;
}
.skip-link:focus { top: 0; color: var(--white); }

/* ============================================================
   WORDPRESS CORE (comments, alignments, etc.)
   ============================================================ */
.wp-caption { max-width: 100%; }
.alignleft { float: left; margin-right: 1.5rem; margin-bottom: 1rem; }
.alignright { float: right; margin-left: 1.5rem; margin-bottom: 1rem; }
.aligncenter { display: block; margin-inline: auto; }
.alignwide { max-width: 1000px; margin-inline: auto; }
.alignfull { margin-inline: calc(-1 * var(--gutter)); }
/* ============================================================
   Duluth Bride — Vendor Single Page Styles
   Add to: wp-content/themes/duluth-bride-theme/style.css
   (append to bottom, then bump DB_THEME_VERSION in functions.php)
   ============================================================ */

/* ── Gallery Mosaic Hero ───────────────────────────────────── */
.db-breadcrumb-bar {
  background: var(--cream-dk);
  border-bottom: 1px solid rgba(0,0,0,.06);
  padding: .65rem 0;
  font-size: .82rem;
  color: var(--muted);
}
.db-breadcrumb-bar a { color: var(--muted); }
.db-breadcrumb-bar a:hover { color: var(--rose); }

.db-gallery-hero {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 500px; /* forces the single row to exactly 500px */
  height: 500px;
  gap: 3px;
  background: #111; /* gap/border colour between panels */
  overflow: hidden;  /* safety clip if anything overflows */
}

@media (max-width: 768px) {
  .db-gallery-hero {
    grid-template-columns: 1fr;
    height: auto;
  }
  .db-gallery-hero__side { display: none; } /* hide side panels on mobile */
}

.db-gallery-hero__main {
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1a1a2e;
  height: 100%; /* fill the grid row */
}

.db-gallery-hero__main--no-img .db-gallery-hero__no-img-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.db-gallery-hero__side {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 3px;
}

.db-gallery-hero__slot {
  overflow: hidden;
  position: relative;
  background: #1a1a2e;
  height: 100%; /* fill the grid row */
}

/* The actual image in any slot */
.db-gallery-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.4s ease;
}
.db-gallery-hero__main:hover .db-gallery-hero__img,
.db-gallery-hero__slot:hover .db-gallery-hero__img {
  transform: scale(1.03);
}

/* Placeholder (no image yet) */
.db-gallery-hero__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  background: linear-gradient(135deg, #2d2926 0%, #1a1a2e 100%);
  color: rgba(255,255,255,.45);
  font-size: .8rem;
  text-align: center;
  padding: 1rem;
}
.db-gallery-hero__placeholder-icon { font-size: 1.75rem; opacity: .6; }

/* Claim CTA slot */
.db-gallery-hero__claim-cta {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  background: linear-gradient(135deg, #1a1a2e 0%, #2d2926 100%);
  color: rgba(255,255,255,.7);
  font-size: .8rem;
  text-align: center;
  padding: 1.25rem;
  text-decoration: none;
  transition: background .25s;
}
.db-gallery-hero__claim-cta:hover {
  background: linear-gradient(135deg, #2d2926 0%, #3d3533 100%);
  color: #fff;
}
.db-gallery-hero__claim-btn {
  margin-top: .5rem;
  background: #c9a56a;
  color: #fff;
  padding: .3rem .85rem;
  border-radius: 20px;
  font-size: .75rem;
  font-weight: 700;
}

/* ── Vendor Identity Bar (replaces hero overlay) ───────────── */
.db-vendor-identity-bar {
  background: #fff;
  border-bottom: 2px solid var(--cream-dk);
  padding: 1.1rem 0;
}

.db-vendor-identity {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  flex-wrap: wrap;
}

.db-vendor-identity__logo {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  object-fit: contain;
  background: #fff;
  border: 2px solid var(--cream-dk);
  padding: 4px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
}

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

.db-vendor-identity__top {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
  margin-bottom: .3rem;
}

.db-vendor-identity__name {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--charcoal);
  margin: 0 0 .3rem;
  line-height: 1.2;
}

.db-vendor-identity__rating {
  display: flex;
  align-items: center;
  gap: .35rem;
  flex-wrap: wrap;
  font-size: .9rem;
}

/* ── Hero ──────────────────────────────────────────────────── */
/* (kept for fallback / other uses) */
.db-vendor-hero {
  position: relative;
  height: 400px;
  background-size: cover;
  background-position: center;
  background-color: #1a1a2e; /* fallback if no photo */
}

.db-vendor-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.65) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.5rem 3rem;
}

.db-vendor-hero__cat {
  display: inline-block;
  background: #c9a56a;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 0.6rem;
  width: fit-content;
}

.db-vendor-hero__name {
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin: 0 0 0.75rem;
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.db-vendor-hero__rating {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
}

.db-rating__number {
  font-size: 1rem;
  font-weight: 700;
}

.db-rating__count {
  font-size: 0.85rem;
  opacity: 0.85;
}

/* ── Body layout ───────────────────────────────────────────── */
.db-vendor-body {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2.5rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

@media (max-width: 768px) {
  .db-vendor-body {
    grid-template-columns: 1fr;
  }
  .db-vendor-hero {
    height: 280px;
  }
  .db-vendor-hero__overlay {
    padding: 1.5rem;
  }
}

/* ── Section headings ──────────────────────────────────────── */
.db-section-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #2d2d2d;
  margin: 0 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #f0e8da;
}

/* ── About section ─────────────────────────────────────────── */
.db-vendor-about p {
  color: #444;
  line-height: 1.75;
  font-size: 1rem;
}

/* ── Map ───────────────────────────────────────────────────── */
.db-vendor-address {
  color: #555;
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.db-vendor-section {
  margin-bottom: 2.5rem;
}

.db-map-embed iframe {
  width: 100%;
  height: 320px;
  border: 0;
  border-radius: 12px;
}

/* ── Sidebar cards ─────────────────────────────────────────── */
.db-sidebar-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.db-sidebar-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #999;
  margin: 0 0 0.85rem;
}

/* ── Contact links ─────────────────────────────────────────── */
.db-contact-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #333;
  text-decoration: none;
  font-size: 0.95rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid #f5f5f5;
  transition: color 0.2s;
}

.db-contact-link:last-child {
  border-bottom: none;
}

.db-contact-link:hover {
  color: #c9a56a;
}

/* ── Social links ──────────────────────────────────────────── */
.db-social-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.5rem 0;
  border-bottom: 1px solid #f5f5f5;
  transition: opacity 0.2s;
}

.db-social-link:last-child {
  border-bottom: none;
}

.db-social-link:hover {
  opacity: 0.75;
}

.db-social-link--instagram { color: #c13584; }
.db-social-link--facebook  { color: #1877f2; }

.db-social-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ── Rating card ───────────────────────────────────────────── */
.db-sidebar-card--rating {
  text-align: center;
}

.db-rating-display {
  margin-bottom: 1rem;
}

.db-rating-big {
  font-size: 3rem;
  font-weight: 800;
  color: #2d2d2d;
  line-height: 1;
}

.db-rating-stars-lg {
  margin: 0.4rem 0;
  font-size: 1.4rem;
  display: flex;
  justify-content: center;
  gap: 3px;
}

.db-rating-meta {
  font-size: 0.85rem;
  color: #888;
  margin: 0.25rem 0 0;
}

/* ── Buttons ───────────────────────────────────────────────── */
.db-btn {
  display: inline-block;
  padding: 0.6rem 1.25rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition: all 0.2s;
}

.db-btn--outline {
  border: 2px solid #c9a56a;
  color: #c9a56a;
  background: transparent;
  width: 100%;
}

.db-btn--outline:hover {
  background: #c9a56a;
  color: #fff;
}

/* ── Primary button / full-width ──────────────────────────── */
.db-btn--primary {
  background: #c9a56a;
  color: #fff;
  border: 2px solid #c9a56a;
  cursor: pointer;
  font-family: inherit;
}

.db-btn--primary:hover {
  background: #b8924f;
  border-color: #b8924f;
}

.db-btn--full {
  display: block;
  width: 100%;
}

/* ── Contact / inquiry form ────────────────────────────────── */
.db-contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.db-form-field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.db-form-field label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #555;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.db-form-field input,
.db-form-field textarea {
  width: 100%;
  padding: 0.5rem 0.65rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 0.9rem;
  font-family: inherit;
  color: #2d2d2d;
  background: #fafafa;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.db-form-field input:focus,
.db-form-field textarea:focus {
  outline: none;
  border-color: #c9a56a;
  background: #fff;
}

.db-form-field textarea {
  resize: vertical;
}

.db-contact-success {
  color: #2e7d32;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem;
  background: #f0faf0;
  border-radius: 6px;
  border: 1px solid #a5d6a7;
  text-align: center;
}

.db-contact-error {
  color: #c62828;
  font-size: 0.85rem;
  padding: 0.6rem 0.75rem;
  background: #fff5f5;
  border-radius: 6px;
  border: 1px solid #ffcdd2;
}

/* ── Vendor hero: logo + name identity row ─────────────────── */
.db-vendor-hero__identity {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.db-vendor-hero__logo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255,255,255,0.85);
  flex-shrink: 0;
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

.db-vendor-hero__identity .db-vendor-hero__name {
  margin: 0;
}

/* ── Category split hero ────────────────────────────────────── */
.cat-split-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 160px;
}

.cat-split-hero__vendor {
  display: block; /* ensures <a> tag behaves like a div */
  position: relative;
  background-size: cover;
  background-position: center;
  min-height: 160px;
  overflow: hidden;
  text-decoration: none;
}

@media (max-width: 768px) {
  .cat-split-hero { grid-template-columns: 1fr; min-height: auto; }
  .cat-split-hero__vendor { min-height: 395px; }
  /* Hide description on mobile — frees room for the View Profile button */
  .cat-split-hero__vendor-desc { display: none; }
}

.cat-split-hero__vendor-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.72) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
}

.cat-split-hero__badge {
  display: inline-block;
  background: #c9a56a;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
  margin-bottom: 1rem;
  align-self: flex-start;
}

.cat-split-hero__vendor-info {
  display: flex;
  align-items: flex-end;
  gap: 1rem;
}

.cat-split-hero__logo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255,255,255,0.9);
  flex-shrink: 0;
  box-shadow: 0 2px 16px rgba(0,0,0,0.3);
}

.cat-split-hero__vendor-text { flex: 1; }

.cat-split-hero__vendor-name {
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 0.35rem;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
  font-family: 'Playfair Display', serif;
}

.cat-split-hero__rating {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #fff;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.cat-split-hero__review-count { color: rgba(255,255,255,0.7); font-size: 0.8rem; }

.cat-split-hero__vendor-desc {
  color: rgba(255,255,255,0.85);
  font-size: 0.875rem;
  margin: 0 0 0.9rem;
  line-height: 1.5;
}

.cat-split-hero__view-btn {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.5);
  color: #fff;
  padding: 0.45rem 1.1rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}

.cat-split-hero__view-btn:hover { background: rgba(255,255,255,0.28); color: #fff; }

.cat-split-hero__form {
  background: #faf7f4;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 2rem;
}

.cat-split-hero__form-inner { max-width: 420px; width: 100%; }

.cat-split-hero__form-eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #c9a56a;
  margin: 0 0 0.4rem;
}

.cat-split-hero__form-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #2d2d2d;
  margin: 0 0 0.25rem;
  font-family: 'Playfair Display', serif;
}

.cat-split-hero__form-sub {
  font-size: 0.875rem;
  color: #888;
  margin: 0 0 1.5rem;
  line-height: 1.55;
}

.cat-split-hero__cta-btn {
  display: block;
  width: 100%;
  text-align: center;
  box-sizing: border-box;
  font-size: 1rem;
  padding: .85rem 1.5rem;
}

.cat-split-hero__cta-note {
  font-size: .78rem;
  color: #aaa;
  text-align: center;
  margin: .6rem 0 0;
}

.cat-below-hero {
  background: var(--cream-dk, #f5f0ea);
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(201,165,106,0.15);
}

.cat-filter-bar {
  background: var(--cream-dk, #f5f0ea);
  padding: 0;
  border-bottom: 1px solid rgba(201,165,106,0.15);
}

/* Toggle row */
.cat-filter-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  cursor: pointer;
  user-select: none;
}

.cat-filter-toggle-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted, #888);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.cat-filter-toggle-icon {
  font-size: 0.7rem;
  color: var(--muted, #888);
  transition: transform 0.2s;
  display: inline-block;
}

.cat-filter-bar.is-open .cat-filter-toggle-icon {
  transform: rotate(180deg);
}

/* Collapsible pills area */
.cat-filter-pills-wrap {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.25s ease, padding 0.25s ease;
  padding-bottom: 0;
}

.cat-filter-bar.is-open .cat-filter-pills-wrap {
  max-height: 200px;
  padding-bottom: 0.85rem;
}

.cat-filter-pills { display: flex; gap: 0.5rem; flex-wrap: wrap; align-items: center; }

.cat-filter-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted, #888);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-right: 0.5rem;
}

/* ── Vendor cards: cover + logo overlay ────────────────────── */
.vendor-card__image {
  display: block;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  border-radius: 12px 12px 0 0;
}

.vendor-card__cover {
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
  transition: transform 0.35s ease;
}

.vendor-card:hover .vendor-card__cover { transform: scale(1.04); }

.vendor-card__cover--fallback {
  display: flex;
  align-items: center;
  justify-content: center;
}

.vendor-card__fallback-emoji { font-size: 3rem; opacity: 0.45; }

.vendor-card__badges {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  z-index: 2;
}

.vendor-card__badge {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 20px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  backdrop-filter: blur(4px);
}

.vendor-card__badge--featured { background: rgba(201,165,106,0.92); color: #fff; }
.vendor-card__badge--verified { background: rgba(46,125,50,0.85);   color: #fff; }
.vendor-card__badge--premium  { background: rgba(168,102,0,0.90);   color: #fff; }

.vendor-card__logo-wrap {
  position: absolute;
  top: 180px; /* 200px cover height − 20px overlap into card body */
  left: 1rem;
  z-index: 3;
}

.vendor-card__logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2.5px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
  display: block;
  background: #fff;
}

.vendor-card:has(.vendor-card__logo-wrap) .vendor-card__body { padding-top: 1.75rem; }

.vendor-card--featured {
  box-shadow: 0 0 0 2px #c9a56a, 0 4px 20px rgba(201,165,106,0.2);
}

.vendor-card__review-ct { font-weight: 400; color: var(--muted, #888); font-size: 0.82em; }

/* ── Contact section intro ─────────────────────────────────── */
.db-contact-intro {
  color: #666;
  font-size: 0.95rem;
  margin: 0 0 1.25rem;
}

/* ── Hero badges (Claimed / Featured) ──────────────────────── */
.db-hero-badges {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.6rem;
  margin-bottom: 0.25rem;
}

.db-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.db-hero-badge--claimed {
  background: rgba(46, 125, 50, 0.85);
  color: #fff;
  backdrop-filter: blur(4px);
}

.db-hero-badge--featured {
  background: rgba(201, 165, 106, 0.92);
  color: #fff;
  backdrop-filter: blur(4px);
}

/* ── Claim Bar ──────────────────────────────────────────────── */
.db-claim-bar {
  background: #1a1a2e;
  color: #fff;
  padding: 1.1rem 2rem;
}

.db-claim-bar__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.db-claim-bar__text {
  font-size: 0.9rem;
  color: #ccc;
  flex: 1;
}

.db-claim-bar__text strong {
  color: #fff;
}

.db-btn--claim {
  background: #c9a56a;
  color: #fff;
  border: 2px solid #c9a56a;
  border-radius: 8px;
  padding: 0.55rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s;
  display: inline-block;
}

.db-btn--claim:hover {
  background: #b8924f;
  border-color: #b8924f;
  color: #fff;
}

/* ── Back link ─────────────────────────────────────────────── */
.db-back-link {
  display: block;
  text-align: center;
  color: #888;
  font-size: 0.85rem;
  text-decoration: none;
  margin-top: 0.5rem;
  transition: color 0.2s;
}

.db-back-link:hover {
  color: #c9a56a;
}

/* ── Image quality fixes ────────────────────────────────────── */

/*
 * LOGOS — object-fit:contain so the full logo shows inside the circle.
 * White background fills any gaps left by non-square logos.
 */
.vendor-card__logo,
.db-vendor-hero__logo,
.cat-split-hero__logo {
  object-fit: contain !important;
  background-color: #ffffff;
  padding: 4px;
}
.db-vendor-hero__logo { padding: 5px; }
.cat-split-hero__logo { padding: 5px; }

/*
 * COVER PHOTOS — background-size:cover is correct and won't stretch.
 * center top keeps faces/signs in frame on portrait images.
 */
.vendor-card__cover {
  background-position: center top !important;
}
.db-vendor-hero {
  background-position: center top;
}

/*
 * SPLIT HERO BADGE — move ⭐ Featured to the TOP of the photo.
 * space-between pushes badge to top, vendor info stays at bottom.
 */
.cat-split-hero__vendor-overlay {
  justify-content: space-between;
  align-items: flex-start;
}
.cat-split-hero__vendor-info {
  align-self: flex-end;
  width: 100%;
}

/* ── Conflict override: cancel style.css vendor card rules ──── */
/*
 * style.css lines ~513-529 expected .vendor-card__image as a plain div
 * containing an <img> cover photo. The new structure uses:
 *   .vendor-card__image  → <a> link wrapping the image area
 *   .vendor-card__cover  → background-image div (no <img>)
 *   .vendor-card__logo   → circular <img>, now OUTSIDE .vendor-card__image
 *
 * These overrides neutralize the old rules so nothing breaks.
 */

/* Make .vendor-card the positioning parent for the logo-wrap */
.vendor-card {
  position: relative;
}

/* The old rule set height:200px on .vendor-card__image. Since the
   <a> now derives its height from .vendor-card__cover inside, we let
   it be auto so there's no double-height conflict. */
.vendor-card__image {
  height: auto;
  background: none;
}

/* The old .vendor-card__image img rule targeted a cover <img> that no
   longer exists. The logo <img> is now outside .vendor-card__image so
   it won't be matched — but add this just in case any stray <img> lands
   inside the link area (e.g. fallback placeholder). */
.vendor-card__image img {
  width: auto;
  height: auto;
  object-fit: unset;
  transform: none;
  transition: none;
}

/* Likewise cancel the hover-scale that old CSS applied to any img inside */
.vendor-card:hover .vendor-card__image img {
  transform: none;
}

/* ═══════════════════════════════════════════════════════════════
   VENDOR PAGE v2 — Compact Header Card + Gallery Card
   ═══════════════════════════════════════════════════════════════ */

/* ── Header card ───────────────────────────────────────────── */
.db-v2-header-card {
  background: #fff;
  border-bottom: 2px solid var(--cream-dk);
}

.db-v2-header-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 320px 1fr;
  min-height: 280px;
}

@media (max-width: 768px) {
  .db-v2-header-inner {
    grid-template-columns: 1fr;
  }
}

.db-v2-cover-slot {
  overflow: hidden;
  border-right: 2px solid var(--cream-dk);
  position: relative;
}

@media (max-width: 768px) {
  .db-v2-cover-slot {
    border-right: none;
    border-bottom: 2px solid var(--cream-dk);
    height: 220px;
  }
}

.db-v2-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.db-v2-cover-fallback {
  width: 100%;
  height: 100%;
  min-height: 280px;
  opacity: .55;
}

/* Info column */
.db-v2-info {
  padding: 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .85rem;
}

.db-v2-info__top {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-wrap: wrap;
}

/* Logo circle */
.db-v2-logo {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: contain;
  background: #fff;
  border: 2px solid var(--cream-dk);
  padding: 4px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,.1);
}

.db-v2-logo--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--rose);
  background: var(--cream-dk);
  border: 2px solid var(--border, #e8e0d6);
  padding: 0;
}

/* Vendor name */
.db-v2-name {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  color: var(--charcoal);
  line-height: 1.15;
  margin: 0;
  flex: 1;
}

/* Meta row: badges, rating, location */
.db-v2-meta {
  display: flex;
  align-items: center;
  gap: .55rem;
  flex-wrap: wrap;
  font-size: .88rem;
}

.db-v2-badge {
  display: inline-block;
  padding: .2rem .65rem;
  border-radius: 20px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .03em;
  text-decoration: none;
}

.db-v2-badge--cat {
  background: var(--cream-dk);
  color: var(--charcoal);
}

.db-v2-badge--featured {
  background: rgba(201,165,106,.15);
  color: #a07840;
  border: 1px solid rgba(201,165,106,.4);
}

.db-v2-badge--verified {
  background: rgba(46,125,50,.1);
  color: #2e7d32;
  border: 1px solid rgba(46,125,50,.3);
}
.db-v2-badge--premium {
  background: rgba(168,102,0,.12);
  color: #a86600;
  border: 1px solid rgba(168,102,0,.35);
  font-weight: 600;
}

/* Unclaimed disclaimer notice */
.db-unclaimed-notice {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-top: .6rem;
  padding: .35rem .75rem;
  background: rgba(180,120,0,.07);
  border: 1px solid rgba(180,120,0,.22);
  border-radius: 6px;
  font-size: .75rem;
  color: #7a5500;
  width: fit-content;
  line-height: 1.4;
}
.db-unclaimed-notice__dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c9a56a;
  flex-shrink: 0;
}
.db-unclaimed-notice__link {
  color: #a07840;
  font-weight: 600;
  text-decoration: underline;
  white-space: nowrap;
}
.db-unclaimed-notice__link:hover { color: #7a5500; }

.db-v2-rating {
  display: flex;
  align-items: center;
  gap: .3rem;
}

.db-v2-review-ct {
  color: var(--muted);
  font-size: .82rem;
}

.db-v2-location {
  color: var(--muted);
  font-size: .83rem;
}

/* Short description */
.db-v2-desc {
  color: #555;
  font-size: .9rem;
  line-height: 1.65;
  max-width: 520px;
  margin: 0;
}

/* CTA buttons */
.db-v2-actions {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  margin-top: .1rem;
}

/* ── Section cards (body content) ─────────────────────────── */
.db-section-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--cream-dk, #f0e8da);
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}

.db-section-label {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--muted);
  margin: 0 0 1rem;
  padding-bottom: .6rem;
  border-bottom: 1px solid var(--cream-dk, #f0e8da);
}

/* ── Gallery card states ───────────────────────────────────── */

/* Empty / unclaimed: single on-brand CTA panel */
.db-gallery-empty {
  border-radius: 10px;
  background: linear-gradient(135deg, #faf4ec 0%, #f0e6d6 60%, #ece0d0 100%);
  border: 1.5px dashed rgba(201,165,106,.45);
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 2rem;
  min-height: 140px;
}

.db-gallery-empty__icon {
  font-size: 2.75rem;
  opacity: .35;
  flex-shrink: 0;
}

.db-gallery-empty__text { flex: 1; }

.db-gallery-empty__headline {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: var(--charcoal);
  margin: 0 0 .3rem;
  opacity: .8;
}

.db-gallery-empty__sub {
  font-size: .83rem;
  color: var(--muted);
  line-height: 1.55;
  margin: 0 0 .85rem;
}

/* Gold-soft CTA button (used in gallery empty state) */
.db-btn--gold-soft {
  display: inline-block;
  background: rgba(201,165,106,.12);
  border: 1.5px solid rgba(201,165,106,.5);
  color: #a07840;
  font-size: .82rem;
  font-weight: 600;
  padding: .5rem 1.1rem;
  border-radius: 8px;
  text-decoration: none;
  transition: all .2s;
  font-family: inherit;
  cursor: pointer;
}

.db-btn--gold-soft:hover {
  background: var(--rose);
  border-color: var(--rose);
  color: #fff;
}

/* Shortcode gallery wrapper — let the plugin handle its own layout */
.db-gallery-shortcode {
  width: 100%;
}

/* ── Location card (replaces broken map iframe) ───────────── */
.db-location-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--cream, #faf7f4);
  border: 1px solid var(--cream-dk, #f0e8da);
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
}

.db-location-card__pin {
  font-size: 1.6rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: .1rem;
}

.db-location-card__body {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.db-location-card__address {
  font-size: .95rem;
  color: var(--charcoal);
  line-height: 1.5;
  font-weight: 500;
}

.db-location-card__btn {
  align-self: flex-start;
}

/* ── Featured vendor frame on category split hero ──────────── */
/*
 * A decorative gold inset border frames the featured vendor's photo
 * on category landing pages, making it feel like a curated spotlight.
 * Position:relative already set on .cat-split-hero__vendor.
 */
.cat-split-hero__vendor--framed::after {
  content: '';
  position: absolute;
  inset: 14px;
  border: 2px solid rgba(201,165,106,.7);
  box-shadow:
    inset 0 0 0 1px rgba(201,165,106,.25),
    0 0 20px rgba(201,165,106,.1);
  pointer-events: none;
  z-index: 5;
}

/* =============================================================
   HOMEPAGE HERO — background image variant
   ============================================================= */
.hero--has-image {
  background-image: var(--hero-bg) !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}
@media (max-width: 768px) {
  .hero--has-image {
    background-image: var(--hero-bg-mobile) !important;
  }
}
.hero--has-image::before,
.hero--has-image::after { display: none; }

.hero-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(20,10,5,.6) 0%, rgba(30,10,20,.45) 100%);
  pointer-events: none;
  z-index: 0;
}
.hero--has-image .hero-eyebrow {
  background: rgba(255,255,255,.18);
  color: #fff;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.hero--has-image h1,
.hero--has-image .hero-sub { color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,.35); }
.hero--has-image .hero-stats { border-top-color: rgba(255,255,255,.2); }
.hero--has-image .stat-num   { color: var(--rose-lt); }
.hero--has-image .stat-label { color: rgba(255,255,255,.75); }
.hero--has-image .btn-outline {
  border-color: rgba(255,255,255,.6);
  color: #fff;
}
.hero--has-image .btn-outline:hover {
  background: rgba(255,255,255,.15);
  border-color: #fff;
}

/* =============================================================
   FEATURED VENDOR CAROUSEL
   ============================================================= */
.db-carousel { position: relative; }

.db-carousel__wrapper { overflow: hidden; }

.db-carousel__track {
  display: flex;
  gap: 1.125rem;
  transition: transform .42s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}

/* 3-up default */
.db-carousel__slide {
  flex: 0 0 calc((100% - 2 * 1.125rem) / 3);
  min-width: 0;
}
@media (max-width: 860px) {
  .db-carousel__slide {
    flex: 0 0 calc((100% - 1.125rem) / 2);
  }
}
@media (max-width: 540px) {
  .db-carousel__slide { flex: 0 0 100%; }
}

/* Carousel inside slides: make vendor-card fill full height */
.db-carousel__slide .vendor-card { height: 100%; }

/* Featured badge on card image */
.vendor-card__featured-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--gold, #c9a56a);
  color: #fff;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .25rem .65rem;
  border-radius: 50px;
  pointer-events: none;
}
.vendor-card__image { position: relative; overflow: hidden; }

/* Logo overlay on card */
.vendor-card__logo-overlay {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,.25);
}

/* Prev / Next arrow buttons */
.db-carousel__btn {
  position: absolute;
  top: 38%;
  transform: translateY(-50%);
  background: #fff;
  border: 1px solid var(--cream-dk);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
  transition: box-shadow .2s, transform .2s;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  color: var(--charcoal);
}
.db-carousel__btn:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,.18);
  transform: translateY(-50%) scale(1.08);
}
.db-carousel__btn--prev { left: -22px; }
.db-carousel__btn--next { right: -22px; }
@media (max-width: 600px) {
  .db-carousel__btn--prev { left: 0; }
  .db-carousel__btn--next { right: 0; }
}

/* Dot indicators */
.db-carousel__dots {
  display: flex;
  justify-content: center;
  gap: .5rem;
  margin-top: 1.5rem;
}
.db-carousel__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--cream-dk);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background .2s, transform .2s;
}
.db-carousel__dot.active {
  background: var(--rose);
  transform: scale(1.3);
}

/* =============================================================
   FOOTER — logo image + text logo
   ============================================================= */
.footer-brand__logo-link {
  display: inline-block;
  margin-bottom: .75rem;
  text-decoration: none;
}
.footer-logo-img {
  max-height: 52px;
  width: auto;
  display: block;
  /* Invert to white so any colour logo shows on dark footer */
  filter: brightness(0) invert(1);
}
.footer-brand__text-logo {
  font-size: 1.35rem;
  color: var(--white);
  display: inline-block;
}

/* =============================================================
   GET LISTED PAGE — /get-listed/
   ============================================================= */

/* Hero */
.gl-hero {
  background: linear-gradient(135deg, #f9f3ec 0%, #f0e6d8 100%);
  padding: 3.5rem 0 2.5rem;
  text-align: center;
  border-bottom: 1px solid rgba(201,165,106,.2);
}
.gl-hero__eyebrow {
  font-size: .85rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold, #c9a56a);
  margin-bottom: .5rem;
  font-weight: 600;
}
.gl-hero__title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--charcoal, #2c2c2c);
  margin: 0 0 .75rem;
}
.gl-hero__sub {
  font-size: 1rem;
  color: var(--muted, #888);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Steps bar */
.gl-steps-bar {
  background: #fff;
  border-bottom: 1px solid #eee;
  padding: 1rem 0;
}
.gl-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.gl-step {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .85rem;
  color: var(--charcoal, #2c2c2c);
  font-weight: 500;
}
.gl-step__num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gold, #c9a56a);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.gl-step__arrow {
  color: var(--muted, #aaa);
  font-size: 1rem;
}

/* Main wrap */
.gl-wrap {
  padding: 2.5rem 0 4rem;
  background: var(--cream, #faf7f3);
  min-height: 60vh;
}

/* Form layout */
.gl-form {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Section cards */
.gl-section {
  background: #fff;
  border: 1px solid rgba(0,0,0,.07);
  border-radius: 12px;
  padding: 1.75rem 2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.gl-section__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--charcoal, #2c2c2c);
  margin: 0 0 .25rem;
}
.gl-section__note {
  font-size: .82rem;
  color: var(--muted, #888);
  margin: 0 0 1.25rem;
  line-height: 1.5;
}

/* Rows */
.gl-row {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
}
.gl-row:last-child { margin-bottom: 0; }
.gl-row--2col { grid-template-columns: 1fr 1fr; }
.gl-row--3col { grid-template-columns: 1fr 1fr 1fr; }

/* Fields */
.gl-field { display: flex; flex-direction: column; gap: .35rem; }
.gl-label  { font-size: .82rem; font-weight: 600; color: var(--charcoal, #2c2c2c); }
.gl-req    { color: var(--rose, #c0757a); }

.gl-input {
  width: 100%;
  padding: .6rem .85rem;
  border: 1.5px solid #ddd;
  border-radius: 8px;
  font-size: .9rem;
  color: var(--charcoal, #2c2c2c);
  background: #fff;
  box-sizing: border-box;
  transition: border-color .15s, box-shadow .15s;
  font-family: inherit;
}
.gl-input:focus {
  outline: none;
  border-color: var(--gold, #c9a56a);
  box-shadow: 0 0 0 3px rgba(201,165,106,.15);
}
.gl-select { cursor: pointer; }
.gl-textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.55;
}

/* Word counter */
.gl-word-counter {
  font-size: .78rem;
  color: var(--muted, #888);
  margin-top: .25rem;
}

/* Upload zones */
.gl-upload {
  position: relative;
  border: 2px dashed #ddd;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color .15s, background .15s;
  min-height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gl-upload:hover {
  border-color: var(--gold, #c9a56a);
  background: rgba(201,165,106,.04);
}
.gl-upload__input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
  z-index: 2;
}
.gl-upload__placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .3rem;
  padding: 1.5rem 1rem;
  pointer-events: none;
  text-align: center;
}
.gl-upload__icon  { font-size: 2rem; opacity: .5; }
.gl-upload__text  { font-size: .85rem; font-weight: 600; color: var(--charcoal, #2c2c2c); }
.gl-upload__hint  { font-size: .75rem; color: var(--muted, #aaa); }
.gl-upload__preview {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}
.gl-upload__remove {
  position: absolute;
  top: .5rem;
  right: .5rem;
  z-index: 3;
  background: rgba(0,0,0,.55);
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: .2rem .5rem;
  font-size: .75rem;
  cursor: pointer;
}
.gl-upload__remove:hover { background: rgba(0,0,0,.75); }

/* Submit row */
.gl-submit-row {
  text-align: center;
  padding: .5rem 0 1rem;
}
.gl-submit-btn {
  display: inline-block;
  padding: .85rem 2.5rem;
  background: var(--gold, #c9a56a);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background .15s, transform .1s;
  font-family: inherit;
}
.gl-submit-btn:hover:not(:disabled)  { background: #b8924e; transform: translateY(-1px); }
.gl-submit-btn:disabled { opacity: .65; cursor: not-allowed; }
.gl-submit-note {
  font-size: .78rem;
  color: var(--muted, #aaa);
  margin-top: .6rem;
}
.gl-error-msg {
  margin-top: .75rem;
  padding: .7rem 1rem;
  background: rgba(192,57,43,.08);
  border: 1px solid rgba(192,57,43,.25);
  border-radius: 6px;
  color: #c0392b;
  font-size: .88rem;
}

/* Success state */
.gl-success {
  max-width: 520px;
  margin: 2rem auto;
  text-align: center;
  padding: 3rem 2rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
}
.gl-success__icon  { font-size: 3.5rem; margin-bottom: 1rem; }
.gl-success__title { font-size: 1.6rem; color: var(--charcoal, #2c2c2c); margin: 0 0 .75rem; }
.gl-success__text  { color: var(--muted, #666); line-height: 1.6; margin-bottom: 1.5rem; }

/* Already listed banner */
.gl-already-listed {
  max-width: 780px;
  margin: 0 auto 1rem;
  padding: .65rem 1rem;
  background: rgba(201,165,106,.1);
  border: 1px solid rgba(201,165,106,.3);
  border-radius: 8px;
  font-size: .85rem;
  color: var(--charcoal, #2c2c2c);
  display: flex;
  align-items: center;
  gap: .6rem;
  flex-wrap: wrap;
}
.gl-already-listed a { color: #a07840; font-weight: 600; text-decoration: underline; }

/* Duplicate name warning */
.gl-duplicate-warning {
  margin-top: .4rem;
  padding: .55rem .75rem;
  background: rgba(201,165,106,.1);
  border: 1px solid rgba(201,165,106,.35);
  border-radius: 6px;
  font-size: .8rem;
  color: #7a5500;
  line-height: 1.6;
}
.gl-duplicate-warning a { color: #a07840; font-weight: 600; }

/* Claim listing banner (existing vendor card) */
.cl-vendor-banner {
  max-width: 780px;
  margin: 0 auto 1.25rem;
  padding: 1rem 1.25rem;
  background: #fff;
  border: 1.5px solid rgba(201,165,106,.4);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.cl-vendor-banner__info {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .9rem;
  font-weight: 600;
  color: var(--charcoal, #2c2c2c);
}
.cl-vendor-banner__logo {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #eee;
}
.cl-vendor-banner__cat  { font-weight: 400; color: var(--muted,#888); margin-left: .4rem; }
.cl-vendor-banner__addr { font-weight: 400; color: var(--muted,#888); font-size: .8rem; display: block; }
.cl-vendor-banner__view { font-size: .82rem; color: #a07840; font-weight: 600; white-space: nowrap; text-decoration: underline; }

/* No vendor ID state */
.cl-no-vendor {
  max-width: 520px;
  margin: 2rem auto;
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,.06);
}
.cl-no-vendor__text { margin-bottom: 1.5rem; color: var(--muted,#666); line-height: 1.6; }

/* Responsive */
@media (max-width: 680px) {
  .gl-section { padding: 1.25rem 1rem; }
  .gl-row--2col,
  .gl-row--3col { grid-template-columns: 1fr; }
  .gl-step__label { display: none; }
  .cl-vendor-banner { flex-direction: column; align-items: flex-start; }
}
