/* =========================================================
   MangalUtsav - Event Vendor Directory
   Design System
   ========================================================= */

:root {
  --gold: #A83A5E;
  --gold-dark: #7F2647;
  --gold-light: #F2D2DC;
  --blush: #FBF1F3;
  --blush-dark: #F4DCE2;
  --ink: #221E27;
  --ink-soft: #6E6875;
  --cream: #FFFCF8;
  --white: #FFFFFF;
  --success: #3E8E5A;
  --danger: #C24C4C;
  /* Premium accent — reserved for star ratings, premium badges & plan tags */
  --amber: #C79A44;
  --amber-dark: #A67C2E;
  --amber-light: #F4E8CE;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 10px rgba(46, 38, 33, 0.06);
  --shadow-md: 0 8px 30px rgba(46, 38, 33, 0.10);
  --shadow-lg: 0 16px 50px rgba(46, 38, 33, 0.16);
  --font-head: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background-color: var(--cream);
  padding-bottom: 72px; /* space for mobile bottom nav */
}

@media (min-width: 992px) {
  body { padding-bottom: 0; }
}

h1, h2, h3, h4, h5, h6, .font-head {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--ink);
}

a { text-decoration: none; }

.text-gold { color: var(--gold-dark) !important; }
.bg-gold { background-color: var(--gold) !important; }
.bg-blush { background-color: var(--blush) !important; }
.bg-cream { background-color: var(--cream) !important; }

.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  border: none;
  color: #fff;
  font-weight: 600;
  border-radius: 50px;
  padding: 0.65rem 1.6rem;
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn-gold:hover, .btn-gold:focus {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-outline-gold {
  border: 1.5px solid var(--gold-dark);
  color: var(--gold-dark);
  font-weight: 600;
  border-radius: 50px;
  padding: 0.6rem 1.5rem;
  background: transparent;
}
.btn-outline-gold:hover {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}
.btn-pill {
  border-radius: 50px;
}

/* ---------- Top Navbar ---------- */
.navbar-brand-logo {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--ink) !important;
  padding-top: 0;
  padding-bottom: 0;
}
.navbar-brand-logo span { color: var(--gold-dark); }

/* Uploaded logo: constrain by height and let width follow, so square,
   portrait and wide wordmarks all sit correctly in the bar. */
.site-logo {
  height: auto;
  width: auto;
  max-height: 44px;
  max-width: 190px;
  object-fit: contain;
  display: block;
}
@media (max-width: 575.98px) {
  .site-logo { max-height: 36px; max-width: 140px; }
}

.site-navbar {
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  padding-top: .7rem;
  padding-bottom: .7rem;
}
.site-navbar .nav-link {
  font-weight: 500;
  color: var(--ink-soft);
  margin: 0 .4rem;
}
.site-navbar .nav-link.active,
.site-navbar .nav-link:hover {
  color: var(--gold-dark);
}
.navbar-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--blush);
  color: var(--ink);
  border: none;
  position: relative;
}
.navbar-icon-btn:hover { background: var(--gold-light); }
.badge-dot {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 16px;
  height: 16px;
  font-size: .6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--danger);
  color: #fff;
  border: 2px solid #fff;
}

/* ---------- Mobile bottom app-like nav ---------- */
.mobile-tabbar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1050;
  background: var(--white);
  box-shadow: 0 -4px 20px rgba(46,38,33,.10);
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: .4rem 0 .3rem;
}
@media (min-width: 992px) {
  .mobile-tabbar { display: none; }
}
.mobile-tabbar a {
  flex: 1;
  text-align: center;
  color: var(--ink-soft);
  font-size: .68rem;
  font-weight: 500;
  padding: .2rem 0;
}
.mobile-tabbar a i {
  display: block;
  font-size: 1.25rem;
  margin-bottom: 2px;
}
.mobile-tabbar a.active { color: var(--gold-dark); }
.mobile-tabbar a.fab-item {
  position: relative;
  top: -18px;
}
.mobile-tabbar a.fab-item .fab-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2px;
  box-shadow: var(--shadow-md);
  font-size: 1.4rem;
}

/* ---------- Offcanvas mobile menu ---------- */
.offcanvas-brand {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.3rem;
}
.offcanvas .list-group-item {
  border: none;
  padding: .8rem .5rem;
  font-weight: 500;
  color: var(--ink);
}
.offcanvas .list-group-item i { width: 26px; color: var(--gold-dark); }

/* ---------- Hero ---------- */
.hero-section {
  background: linear-gradient(180deg, var(--blush) 0%, var(--cream) 100%);
  padding: 3.5rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.hero-section h1 {
  font-size: 2.4rem;
  line-height: 1.2;
}
@media (min-width: 992px) {
  .hero-section h1 { font-size: 3.2rem; }
}
.hero-search-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 1.25rem;
}
.hero-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}
.hero-stats .stat-num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--gold-dark);
}

/* ---------- Section titles ---------- */
.section-title-wrap { margin-bottom: 2rem; }
.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: .75rem;
  font-weight: 600;
  color: var(--gold-dark);
}

/* ---------- Category card ---------- */
.category-card {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 1.5rem 1rem;
  text-align: center;
  height: 100%;
  transition: transform .2s ease, box-shadow .2s ease;
  border: 1px solid rgba(201,166,74,.12);
}
.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.category-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--blush);
  color: var(--gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 1rem;
}
.category-card h6 { margin-bottom: .25rem; }
.category-card small { color: var(--ink-soft); }

/* ---------- Vendor card ---------- */
.vendor-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  height: 100%;
  transition: transform .2s ease, box-shadow .2s ease;
  border: 1px solid rgba(46,38,33,.06);
}
.vendor-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.vendor-card .vendor-img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.vendor-card .vendor-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.vendor-badge-plan {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: .68rem;
  font-weight: 600;
  padding: .3rem .65rem;
  border-radius: 50px;
}
.vendor-badge-plan.premium {
  background: linear-gradient(135deg, var(--amber) 0%, var(--amber-dark) 100%);
  color: #fff;
}
.vendor-badge-plan.free {
  background: #fff;
  color: var(--ink-soft);
  border: 1px solid #e2ddd6;
}
.vendor-fav-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,.9);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--danger);
}
.vendor-card .vendor-body { padding: 1rem; }
.vendor-card .vendor-cat {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold-dark);
  font-weight: 600;
}
.rating-stars { color: var(--amber); font-size: .85rem; }
.vendor-card .vendor-loc { color: var(--ink-soft); font-size: .82rem; }
.vendor-card .price-tag { font-weight: 600; color: var(--ink); }

/* ---------- Pricing cards ---------- */
.pricing-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 2rem 1.75rem;
  height: 100%;
  border: 1px solid rgba(46,38,33,.06);
  position: relative;
}
.pricing-card.featured {
  border: 2px solid var(--amber);
  box-shadow: var(--shadow-lg);
  transform: scale(1.02);
}
.pricing-card .ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--amber) 0%, var(--amber-dark) 100%);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  padding: .35rem 1rem;
  border-radius: 50px;
  white-space: nowrap;
}
.pricing-card .price {
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 700;
}
.pricing-card ul { list-style: none; padding-left: 0; }
.pricing-card ul li {
  padding: .45rem 0;
  color: var(--ink-soft);
  display: flex;
  align-items: flex-start;
  gap: .6rem;
}
.pricing-card ul li i { color: var(--success); margin-top: .2rem; }
.pricing-card ul li.disabled { color: #c7c0b8; }
.pricing-card ul li.disabled i { color: #c7c0b8; }

/* ---------- Testimonial ---------- */
.testimonial-card {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 1.75rem;
  height: 100%;
}
.testimonial-card .avatar {
  width: 48px; height: 48px; border-radius: 50%; object-fit: cover;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #d8d0c6;
  padding: 3.5rem 0 1.5rem;
}
.site-footer h6 { color: #fff; margin-bottom: 1.1rem; }
/* Same constrain-by-height approach as the navbar logo, so any aspect
   ratio sits correctly on the dark footer. */
.footer-logo {
  height: auto;
  width: auto;
  max-height: 52px;
  max-width: 200px;
  object-fit: contain;
  display: block;
}
.site-footer a { color: #b9ae9f; }
.site-footer a:hover { color: var(--gold-light); }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: .5rem;
  color: #fff;
}
.footer-social a:hover { background: var(--gold-dark); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  font-size: .85rem;
  color: #93897a;
}

/* ---------- Page header / breadcrumb banner ---------- */
.page-banner {
  background: var(--blush);
  padding: 2.5rem 0;
}
.page-banner .breadcrumb { margin-bottom: .5rem; }
.page-banner .breadcrumb a { color: var(--ink-soft); }
.page-banner .breadcrumb .active { color: var(--gold-dark); }

/* ---------- Cookie notice ---------- */
.cookie-notice {
  position: fixed;
  left: 0;
  right: 0;
  /* Clears the mobile tabbar (fixed, ~68px tall, z-index 1050). */
  bottom: 68px;
  z-index: 1055;
  background: var(--white);
  border-top: 3px solid var(--gold);
  box-shadow: 0 -6px 28px rgba(46, 38, 33, .14);
  padding: .9rem 0;
  transform: translateY(115%);
  transition: transform .3s ease;
}
.cookie-notice.is-visible { transform: translateY(0); }
/* Layouts without the mobile tabbar sit flush to the bottom edge. */
.cookie-notice--flush { bottom: 0; }
@media (min-width: 992px) {
  .cookie-notice { bottom: 0; }
}
.cookie-notice-inner {
  display: flex;
  align-items: center;
  gap: .9rem;
}
.cookie-notice-icon {
  font-size: 1.5rem;
  color: var(--gold-dark);
  flex-shrink: 0;
}
.cookie-notice-text {
  flex: 1;
  font-size: .88rem;
  line-height: 1.5;
  color: var(--ink-soft);
}
.cookie-notice-text a {
  color: var(--gold-dark);
  text-decoration: underline;
  white-space: nowrap;
}
.cookie-notice-btn {
  flex-shrink: 0;
  padding-inline: 1.5rem;
}
@media (max-width: 575.98px) {
  .cookie-notice-inner { flex-wrap: wrap; gap: .6rem .75rem; }
  .cookie-notice-icon { font-size: 1.25rem; }
  .cookie-notice-text { flex: 1 1 100%; order: 2; font-size: .82rem; }
  .cookie-notice-btn { margin-left: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .cookie-notice { transition: none; }
}

/* ---------- Legal pages (privacy, terms) ---------- */
.legal-content {
  color: var(--ink-soft);
  line-height: 1.75;
  /* Anchor links from the sticky TOC land below the sticky navbar. */
  scroll-behavior: smooth;
}
.legal-content section {
  scroll-margin-top: 90px;
  padding-bottom: 2rem;
}
.legal-content section + section {
  border-top: 1px solid var(--blush-dark);
  padding-top: 2rem;
}
.legal-content h2 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}
.legal-content h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  margin: 1.5rem 0 .6rem;
}
.legal-content p { margin-bottom: 1rem; }
.legal-content ul { padding-left: 1.15rem; margin-bottom: 1rem; }
.legal-content li { margin-bottom: .5rem; }
.legal-content strong { color: var(--ink); }
.legal-content a { color: var(--gold-dark); text-decoration: underline; }
.legal-content a:hover { color: var(--gold); }

/* Callout used for the clauses users most often miss. */
.legal-content .notice {
  border-radius: var(--radius-sm);
  padding: 1rem 1.1rem;
  border-left: 3px solid;
}
.legal-content .notice i { margin-right: .35rem; }
.legal-content .notice-warning {
  background: var(--amber-light);
  border-left-color: var(--amber-dark);
  color: #6b5220;
}
.legal-content .notice-info {
  background: var(--blush);
  border-left-color: var(--gold);
  color: var(--ink);
}
.legal-contact li { display: flex; align-items: center; gap: .55rem; }

.legal-table {
  width: 100%;
  margin-bottom: 1rem;
  font-size: .88rem;
  border-collapse: collapse;
}
.legal-table th,
.legal-table td {
  padding: .7rem .8rem;
  border: 1px solid var(--blush-dark);
  vertical-align: top;
  text-align: left;
}
.legal-table th { background: var(--blush); color: var(--ink); font-weight: 600; }
.legal-table td:last-child { white-space: nowrap; }
.legal-content code {
  background: var(--blush);
  color: var(--gold-dark);
  padding: .1rem .35rem;
  border-radius: 4px;
  font-size: .85em;
}

.legal-toc { position: sticky; top: 90px; }
.legal-toc ol { counter-reset: toc; }
.legal-toc li { counter-increment: toc; margin-bottom: .45rem; font-size: .9rem; }
.legal-toc li::before {
  content: counter(toc) ".";
  color: var(--gold-dark);
  font-weight: 600;
  margin-right: .4rem;
}
.legal-toc a { color: var(--ink-soft); }
.legal-toc a:hover { color: var(--gold-dark); }

@media (max-width: 991.98px) {
  .legal-toc { position: static; }
}

/* ---------- Filters sidebar ---------- */
.filter-card {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 1.25rem;
}
.filter-card h6 { font-weight: 700; }
.filter-card hr { margin: 1rem 0; border-color: #eee4d8; }
.form-check-label { color: var(--ink-soft); font-size: .92rem; }

/* ---------- Auth pages ---------- */
.auth-wrap {
  min-height: calc(100vh - 76px);
  display: flex;
  align-items: center;
  padding: 3rem 0;
}
.auth-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.auth-side {
  background: linear-gradient(160deg, var(--gold-dark), var(--gold));
  color: #fff;
  padding: 3rem 2.25rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.form-control, .form-select {
  border-radius: var(--radius-sm);
  padding: .65rem .9rem;
  border-color: #e6ddcf;
}
.form-control:focus, .form-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 .2rem rgba(201,166,74,.18);
}
.input-group-text {
  background: #fff;
  border-color: #e6ddcf;
}

/* ---------- Dashboard layout ---------- */
.dash-wrap { display: flex; min-height: calc(100vh - 76px); }
.dash-sidebar {
  width: 260px;
  background: #fff;
  border-right: 1px solid #f0e9dd;
  padding: 1.5rem 1rem;
  flex-shrink: 0;
}
@media (max-width: 991.98px) {
  .dash-sidebar { display: none; }
}
.dash-sidebar .nav-link {
  color: var(--ink-soft);
  font-weight: 500;
  border-radius: var(--radius-sm);
  padding: .65rem .9rem;
  margin-bottom: .25rem;
}
.dash-sidebar .nav-link i { width: 22px; }
.dash-sidebar .nav-link.active {
  background: var(--blush);
  color: var(--gold-dark);
  font-weight: 600;
}
.dash-main { flex: 1; padding: 1.75rem; min-width: 0; }
.dash-profile-mini {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .75rem;
  background: var(--blush);
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
}
.dash-profile-mini img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }

.stat-card {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 1.25rem;
  height: 100%;
}
.stat-card .stat-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; color: #fff;
  margin-bottom: .75rem;
}
.stat-card .stat-value { font-family: var(--font-head); font-size: 1.7rem; font-weight: 700; }
.stat-card .stat-label { color: var(--ink-soft); font-size: .85rem; }

.plan-tag {
  font-size: .7rem;
  font-weight: 700;
  padding: .25rem .6rem;
  border-radius: 50px;
}
.plan-tag.premium { background: var(--amber-light); color: var(--amber-dark); }
.plan-tag.free { background: #eee; color: #777; }

/* ---------- Admin drag-to-reorder ---------- */
.drag-handle:active { cursor: grabbing !important; }
.sortable-ghost { opacity: .4; background: var(--gold-light); }
.sortable-chosen td { background: #fbf6f1; }

/* ---------- Browse by City groups ---------- */
.city-group-heading { margin-top: 3rem; margin-bottom: 1rem; }
.city-group:first-child .city-group-heading { margin-top: 1.5rem; }

/* ---------- Vendor spotlight carousel ---------- */
/* Fixed (not min-) heights so the list card and the carousel line up
   exactly, regardless of how many rows the list happens to render. */
.top-rated-list,
.vendor-spotlight-carousel,
.vendor-spotlight-carousel .carousel-inner,
.vendor-spotlight-carousel .carousel-item {
  height: 460px;
}
.top-rated-list { overflow-y: auto; }
.vendor-spotlight-carousel,
.vendor-spotlight-carousel .carousel-inner {
  border-radius: var(--radius-md);
}
.vendor-spotlight-carousel .carousel-item > a {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}
.vendor-spotlight-carousel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.vendor-spotlight-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2rem 1.75rem 1.5rem;
  background: linear-gradient(0deg, rgba(20,15,17,.88) 0%, rgba(20,15,17,.35) 65%, rgba(20,15,17,0) 100%);
}
.vendor-spotlight-overlay h3 { color: #fff; }
.vendor-spotlight-overlay .vendor-loc,
.vendor-spotlight-overlay .vendor-cat { color: rgba(255,255,255,.85); }
.vendor-spotlight-overlay .rating-stars { color: var(--amber); }
.vendor-spotlight-carousel .vendor-badge-plan { position: static; display: inline-block; }
.vendor-spotlight-carousel .carousel-control-prev,
.vendor-spotlight-carousel .carousel-control-next {
  width: 3rem;
}
.vendor-spotlight-carousel .carousel-control-prev-icon,
.vendor-spotlight-carousel .carousel-control-next-icon {
  background-color: rgba(255,255,255,.15);
  border-radius: 50%;
  padding: 1.1rem;
  backdrop-filter: blur(2px);
}
.vendor-spotlight-carousel .carousel-indicators { margin-bottom: .5rem; }

/* ---------- Misc ---------- */
.card-soft {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 1.5rem;
}
.table thead th {
  border-bottom: 2px solid #f0e9dd;
  color: var(--ink-soft);
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .5px;
  font-weight: 600;
}
.badge-status {
  font-size: .72rem;
  font-weight: 600;
  padding: .35rem .7rem;
  border-radius: 50px;
}
.badge-status.new { background: #E5F1FF; color: #2166B8; }
.badge-status.contacted { background: #FFF3D6; color: #9A7000; }
.badge-status.closed { background: #E4F5EA; color: var(--success); }
.badge-status.pending { background: #FFF3D6; color: #9A7000; }
.badge-status.approved { background: #E4F5EA; color: var(--success); }
.badge-status.rejected { background: #FCE7E7; color: var(--danger); }

.upload-box {
  border: 2px dashed #e6ddcf;
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  color: var(--ink-soft);
  background: var(--cream);
}
.gallery-thumb {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 1/1;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb .gallery-remove {
  position: absolute; top: 6px; right: 6px;
  width: 26px; height: 26px; border-radius: 50%;
  background: rgba(0,0,0,.55); color: #fff; border: none;
  display: flex; align-items: center; justify-content: center;
}

/* Google sign-in button */
.btn-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  padding: .7rem 1rem;
  background: #fff;
  border: 1px solid rgba(34,30,39,.16);
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  transition: background .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.btn-google:hover {
  background: #fafafa;
  border-color: rgba(34,30,39,.28);
  box-shadow: 0 4px 14px rgba(34,30,39,.08);
  color: var(--ink);
}
.btn-google svg { flex-shrink: 0; }

.auth-divider {
  display: flex;
  align-items: center;
  gap: .85rem;
  margin: 1.35rem 0;
  color: var(--ink-soft);
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(34,30,39,.12);
}

/* Vendor profile: masked phone reveal */
#revealPhoneBtn .reveal-hint {
  display: inline-block;
  margin-left: .45rem;
  padding: .1rem .5rem;
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  background: rgba(255,255,255,.22);
  border-radius: 50px;
}
#revealPhoneBtn.revealed .reveal-hint { display: none; }

/* Vendor dashboard: leads locked behind a paid plan */
.lead-locked {
  filter: blur(4px);
  user-select: none;
  pointer-events: none;
}
.lead-upgrade-note {
  background: var(--blush);
  border: 1px dashed var(--gold-light);
  border-radius: var(--radius-sm);
  padding: .6rem .85rem;
  font-size: .85rem;
  color: var(--gold-dark);
}

/* Home: browse by event type */
.event-type-card {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: 1rem 1.1rem;
  height: 100%;
  background: #fff;
  border: 1px solid rgba(34,30,39,.07);
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.event-type-card i {
  font-size: 1.4rem;
  color: var(--gold);
  flex-shrink: 0;
}
.event-type-card span { line-height: 1.25; }
.event-type-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold-light);
  box-shadow: 0 10px 26px rgba(34,30,39,.09);
  color: var(--gold-dark);
}

/* Home: browse by city */
.city-chip {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .55rem 1rem;
  background: #fff;
  border: 1px solid rgba(34,30,39,.09);
  border-radius: 50px;
  text-decoration: none;
  color: var(--ink);
  font-size: .93rem;
  transition: all .22s ease;
}
.city-chip i { color: var(--gold); font-size: .9rem; }
.city-chip-count {
  background: var(--blush);
  color: var(--gold-dark);
  border-radius: 50px;
  padding: .05rem .5rem;
  font-size: .78rem;
  font-weight: 600;
}
.city-chip:hover {
  border-color: var(--gold);
  color: var(--gold-dark);
  box-shadow: 0 6px 18px rgba(168,58,94,.12);
}
.city-chip:hover .city-chip-count { background: var(--gold); color: #fff; }

/* Home: sponsored offer cards */
.offer-card {
  display: block;
  height: 100%;
  background: #fff;
  border: 1px solid rgba(34,30,39,.07);
  border-radius: var(--radius-sm);
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
  transition: transform .25s ease, box-shadow .25s ease;
}
.offer-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}
.offer-card-body { padding: 1.15rem 1.25rem 1.35rem; }
.offer-card-body h5 { margin: 0 0 .4rem; font-size: 1.05rem; }
.offer-card-body p { margin: 0; color: var(--ink-soft); font-size: .92rem; }
.offer-card-expiry { display: inline-block; margin-top: .7rem; color: var(--amber); font-weight: 600; font-size: .8rem; }
.offer-card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(34,30,39,.12); }

/* Rendered rich-text (WYSIWYG) content */
.rich-content > *:last-child { margin-bottom: 0; }
.rich-content p { margin: 0 0 .85rem; }
.rich-content h3,
.rich-content h4,
.rich-content h5 {
  font-family: var(--font-head, 'Fraunces', Georgia, serif);
  color: var(--ink);
  margin: 1.35rem 0 .5rem;
}
.rich-content h3 { font-size: 1.15rem; }
.rich-content h4 { font-size: 1.05rem; }
.rich-content h5 { font-size: 1rem; }
.rich-content ul,
.rich-content ol { margin: 0 0 .85rem; padding-left: 1.35rem; }
.rich-content li { margin-bottom: .35rem; }
.rich-content a { color: var(--gold); }
.rich-content blockquote {
  margin: 0 0 .85rem;
  padding: .65rem 1rem;
  border-left: 3px solid var(--gold-light);
  background: var(--blush);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* Clickable gallery thumbnail (opens the lightbox) */
button.gallery-thumb {
  padding: 0;
  border: 0;
  width: 100%;
  display: block;
  background: none;
  cursor: zoom-in;
}
button.gallery-thumb img { transition: transform .35s ease; }
button.gallery-thumb:hover img,
button.gallery-thumb:focus-visible img { transform: scale(1.06); }
button.gallery-thumb:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.gallery-thumb .gallery-zoom {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(34,30,39,.35);
  color: #fff; font-size: 1.1rem;
  opacity: 0; transition: opacity .25s ease;
}
button.gallery-thumb:hover .gallery-zoom,
button.gallery-thumb:focus-visible .gallery-zoom { opacity: 1; }

/* Photo lightbox */
.lightbox .modal-content {
  background: transparent;
  border: 0;
}
.lightbox .modal-body {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  min-height: 60vh;
}
.lightbox-img {
  max-width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 18px 60px rgba(0,0,0,.5);
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border: 0; border-radius: 50%;
  background: rgba(255,255,255,.9);
  color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 4px 16px rgba(0,0,0,.3);
}
.lightbox-nav:hover { background: #fff; }
.lightbox-prev { left: -4px; }
.lightbox-next { right: -4px; }
.lightbox-close {
  position: absolute; top: -46px; right: 0;
  width: 40px; height: 40px;
  border: 0; border-radius: 50%;
  background: rgba(255,255,255,.9);
  color: var(--ink);
  display: flex; align-items: center; justify-content: center;
}
.lightbox-counter {
  position: absolute; top: -40px; left: 0;
  color: #fff; font-size: .875rem; letter-spacing: .03em;
}
@media (min-width: 992px) {
  .lightbox-prev { left: -60px; }
  .lightbox-next { right: -60px; }
}

.step-indicator {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2.5rem;
}
.step-indicator .step {
  flex: 1;
  text-align: center;
  position: relative;
  color: var(--ink-soft);
  font-size: .85rem;
  font-weight: 500;
}
.step-indicator .step .circle {
  width: 34px; height: 34px; border-radius: 50%;
  background: #fff; border: 2px solid #e6ddcf;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto .5rem; font-weight: 700; color: var(--ink-soft);
}
.step-indicator .step.active .circle,
.step-indicator .step.done .circle {
  background: var(--gold); border-color: var(--gold); color: #fff;
}
.step-indicator .step.active { color: var(--ink); font-weight: 700; }
.step-indicator .step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 17px; left: 50%; width: 100%;
  height: 2px; background: #e6ddcf; z-index: -1;
}

.sticky-cta {
  position: sticky;
  bottom: 80px;
}
@media (min-width: 992px) {
  .sticky-cta { bottom: 1.5rem; }
}

.avatar-lg { width: 90px; height: 90px; border-radius: 50%; object-fit: cover; border: 4px solid #fff; box-shadow: var(--shadow-sm); }
.cover-photo { height: 220px; object-fit: cover; width: 100%; border-radius: var(--radius-md); }

.chip {
  display: inline-block;
  background: var(--blush);
  color: var(--ink);
  border-radius: 50px;
  padding: .35rem .9rem;
  font-size: .82rem;
  margin: 0 .35rem .5rem 0;
}
