/* ==========================================================================
   ShaadiAura — Design System
   ========================================================================== */

:root {
  /* Brand colours */
  --pearl: #F9F6EE;
  --pearl-dim: #F1EBDD;
  --taupe: #B3A394;
  --taupe-soft: #E4DCD0;
  --rose: #C2185B;
  --rose-dark: #9E1149;
  --maroon: #800020;
  --maroon-deep: #5C0017;
  --ink: #2B211C;
  --ink-soft: #5B4F47;
  --success: #4C7A54;

  /* Type */
  --font-display: "Cormorant Garamond", "Georgia", serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;

  /* Layout */
  --page-max: 1320px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --shadow-soft: 0 8px 24px rgba(43, 33, 28, 0.08);
  --shadow-lift: 0 16px 40px rgba(43, 33, 28, 0.14);
  --border-hair: 1px solid rgba(179, 163, 148, 0.45);

  --header-h: 84px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--pearl);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; color: var(--maroon); margin: 0; }
p { margin: 0; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--maroon); color: var(--pearl);
  padding: 12px 18px; z-index: 200; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Layout helpers ---------- */
.wrap {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 32px;
}
.section { padding: 88px 0; }
.section--tight { padding: 56px 0; }
.section--maroon { background: var(--maroon); color: var(--pearl); }
.section--taupe { background: var(--taupe-soft); }

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.section-head .eyebrow { color: var(--rose); }
.section-head h2 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.1; max-width: 680px; }
.section-head p.lede { color: var(--ink-soft); margin-top: 10px; max-width: 480px; font-size: 15px; }

.eyebrow {
  font-family: var(--font-body); font-weight: 700; font-size: 13px; letter-spacing: 0.02em;
  color: var(--rose); display: inline-block; margin-bottom: 10px;
}

.link-arrow { color: var(--rose); font-weight: 600; font-size: 15px; display: inline-flex; align-items: center; gap: 6px; }
button.link-arrow { background: none; border: none; padding: 0; font-family: inherit; }
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.2s ease; }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: var(--radius-sm); padding: 14px 26px; font-weight: 700; font-size: 15px;
  border: 1px solid transparent; transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--rose); color: var(--pearl); box-shadow: var(--shadow-soft); }
.btn-primary:hover { background: var(--rose-dark); box-shadow: var(--shadow-lift); }
.btn-dark { background: var(--maroon); color: var(--pearl); }
.btn-dark:hover { background: var(--maroon-deep); }
.btn-outline { background: transparent; color: var(--maroon); border-color: var(--taupe); }
.btn-outline:hover { border-color: var(--maroon); background: rgba(128,0,32,0.04); }
.btn-ghost { background: transparent; color: var(--pearl); border-color: rgba(249,246,238,0.4); }
.btn-ghost:hover { background: rgba(249,246,238,0.1); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(249, 246, 238, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: var(--border-hair);
  height: var(--header-h);
}
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { font-family: var(--font-display); font-size: 26px; font-weight: 700; color: var(--maroon); letter-spacing: 0.01em; }
.logo span { color: var(--rose); }

.main-nav { display: flex; align-items: center; gap: 32px; }
.main-nav a { font-size: 15px; font-weight: 600; color: var(--ink); padding: 8px 2px; position: relative; }
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--rose);
  transform: scaleX(0); transform-origin: left; transition: transform 0.2s ease;
}
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }
.main-nav a.active { color: var(--rose); }

.header-actions { display: flex; align-items: center; gap: 14px; }
.icon-btn {
  width: 42px; height: 42px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: transparent; border: 1px solid transparent; color: var(--ink); position: relative;
}
.icon-btn:hover { background: var(--taupe-soft); }
.icon-btn svg { width: 20px; height: 20px; }
.icon-badge {
  position: absolute; top: 2px; right: 2px; min-width: 16px; height: 16px; padding: 0 3px; border-radius: 8px;
  background: var(--rose); color: #fff; font-size: 10px; font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.header-signin { font-size: 15px; font-weight: 600; }
.menu-toggle { display: none; }

/* Mobile nav drawer */
.nav-drawer {
  position: fixed; inset: 0; z-index: 200; visibility: hidden;
}
.nav-drawer__backdrop { position: absolute; inset: 0; background: rgba(43,33,28,0.5); opacity: 0; transition: opacity 0.25s ease; }
.nav-drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(84vw, 360px); background: var(--pearl);
  padding: 24px; transform: translateX(100%); transition: transform 0.3s ease; overflow-y: auto;
  display: flex; flex-direction: column; gap: 22px;
}
.nav-drawer.open { visibility: visible; }
.nav-drawer.open .nav-drawer__backdrop { opacity: 1; }
.nav-drawer.open .nav-drawer__panel { transform: translateX(0); }
.nav-drawer__top { display: flex; align-items: center; justify-content: space-between; }
.nav-drawer nav { display: flex; flex-direction: column; gap: 4px; }
.nav-drawer nav a { font-size: 19px; font-weight: 600; padding: 12px 4px; border-bottom: var(--border-hair); }
.nav-drawer__foot { margin-top: auto; display: flex; flex-direction: column; gap: 10px; }

/* ---------- Hero (Home) ---------- */
.hero { position: relative; padding: 56px 0 ; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; }
.hero__copy h1 {
  font-size: clamp(40px, 5.2vw, 68px); line-height: 1.05; max-width: 620px; color: var(--maroon);
}
.hero__copy p.sub { margin-top: 22px; font-size: 18px; color: var(--ink-soft); max-width: 460px; }
.hero__stats { display: flex; gap: 32px; margin-top: 36px; }
.hero__stats div strong { display: block; font-family: var(--font-display); font-size: 28px; color: var(--rose); }
.hero__stats div span { font-size: 13px; color: var(--ink-soft); }

.hero__visual { position: relative; }
.hero__img-main { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lift); aspect-ratio: 4/5; object-fit: cover; position: center; }
.hero__img-float {
  position: absolute; left: -60px; bottom: -50px; width: 45%; border-radius: var(--radius-md); overflow: hidden;
  box-shadow: var(--shadow-lift); border: 6px solid var(--pearl); aspect-ratio: 1/1; justy-content: center; display: flex; align-items: center;
}
.hero__badge {
  position: absolute; top: 24px; right: -18px; background: var(--pearl); border-radius: var(--radius-md);
  box-shadow: var(--shadow-lift); padding: 14px 18px; display: flex; align-items: center; gap: 10px; max-width: 200px;
}
.hero__badge svg { width: 22px; height: 22px; color: var(--rose); flex-shrink: 0; }
.hero__badge span { font-size: 13px; font-weight: 700; line-height: 1.3; }

/* Search module overlapping hero */
.search-module {
  position: relative; margin-top: 170px; z-index: 5;
}
.search-card {
  background: var(--pearl); border: var(--border-hair); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift); padding: 28px; display: grid; grid-template-columns: 1.4fr 1fr 1fr auto; gap: 18px; align-items: end;
}
.search-field { display: flex; flex-direction: column; gap: 8px; }
.search-field label { font-size: 12px; font-weight: 700; color: var(--ink-soft); text-transform: none; }
.search-field select, .search-field input {
  border: var(--border-hair); background: var(--pearl-dim); border-radius: var(--radius-sm);
  padding: 13px 14px; font-size: 15px; color: var(--ink); appearance: none;
}
.search-field select:focus, .search-field input:focus { border-color: var(--rose); }
.search-module .btn { height: 50px; }
.search-below { margin-top: 18px; text-align: center; }

/* ---------- Horizontal scroller ---------- */
.hscroll {
  display: flex; gap: 20px; overflow-x: auto; padding-bottom: 12px; scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.hscroll::-webkit-scrollbar { height: 6px; }
.hscroll::-webkit-scrollbar-thumb { background: var(--taupe); border-radius: 6px; }
.hscroll > * { scroll-snap-align: start; flex: 0 0 auto; }

.cat-card {
  width: 220px; border-radius: var(--radius-md); overflow: hidden; background: var(--pearl);
  border: var(--border-hair); transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.cat-card:hover { box-shadow: var(--shadow-lift); transform: translateY(-3px); }
.cat-card__img { height: 150px; overflow: hidden; }
.cat-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.cat-card:hover .cat-card__img img { transform: scale(1.06); }
.cat-card__body { padding: 14px 16px 18px; }
.cat-card__body h3 { font-size: 19px; color: var(--maroon); }
.cat-card__body p { font-size: 13px; color: var(--ink-soft); margin-top: 4px; }

/* ---------- Cards: venues / vendors ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }

.vcard {
  background: var(--pearl); border-radius: var(--radius-lg); overflow: hidden; border: var(--border-hair);
  box-shadow: var(--shadow-soft); transition: box-shadow 0.25s ease, transform 0.25s ease; display: flex; flex-direction: column;
}
.vcard:hover { box-shadow: var(--shadow-lift); transform: translateY(-4px); }
.vcard__media { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.vcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.vcard:hover .vcard__media img { transform: scale(1.07); }
.vcard__price-tag {
  position: absolute; left: 14px; bottom: 14px; background: rgba(43,33,28,0.72); color: var(--pearl);
  font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 20px; backdrop-filter: blur(3px);
}
.vcard__body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.vcard__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.vcard__top h3 { font-size: 21px; }
.vcard__meta { font-size: 13px; color: var(--ink-soft); display: flex; align-items: center; gap: 6px; }
.vcard__rating { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 700; color: var(--maroon); }
.vcard__rating svg { width: 14px; height: 14px; color: var(--rose); }
.vcard__desc { font-size: 14px; color: var(--ink-soft); flex: 1; }
.tag-row { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  font-size: 11px; font-weight: 700; padding: 5px 10px; border-radius: 20px;
  background: var(--taupe-soft); color: var(--ink-soft);
}
.vcard__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 4px; }

.shortlist-btn {
  position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(249,246,238,0.9); border: none; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-soft); transition: transform 0.15s ease;
}
.shortlist-btn svg { width: 18px; height: 18px; color: var(--maroon); transition: fill 0.15s ease, color 0.15s ease; }
.shortlist-btn:hover { transform: scale(1.08); }
.shortlist-btn.active svg { fill: var(--rose); color: var(--rose); }
.shortlist-btn.pulse { animation: heartPulse 0.4s ease; }
@keyframes heartPulse { 0% { transform: scale(1); } 40% { transform: scale(1.35); } 100% { transform: scale(1); } }

/* ---------- Plan It Your Way ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
  border-radius: var(--radius-lg); padding: 36px 28px; background: var(--pearl-dim); border: var(--border-hair);
  min-height: 240px; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px;
}
.feature-card .num { font-family: var(--font-display); font-size: 40px; color: var(--rose); }
.feature-card h3 { font-size: 24px; }
.feature-card p { color: var(--ink-soft); font-size: 15px; }
.feature-card--dark { background: var(--maroon); color: var(--pearl); }
.feature-card--dark h3 { color: var(--pearl); }
.feature-card--dark p { color: rgba(249,246,238,0.75); }
.feature-card--dark .num { color: var(--pearl); opacity: 0.5; }

/* ---------- Real weddings editorial ---------- */
.story-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.story-card { display: flex; flex-direction: column; gap: 14px; }
.story-card__img { border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 3/4; }
.story-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.story-card:hover .story-card__img img { transform: scale(1.05); }
.story-card h3 { font-size: 24px; }
.story-card .meta { font-size: 13px; color: var(--ink-soft); }
.story-card p.excerpt { font-size: 14px; color: var(--ink-soft); }

.story-feature { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-soft); }
.story-feature__img { aspect-ratio: 4/3; overflow: hidden; }
.story-feature__img img { width: 100%; height: 100%; object-fit: cover; }
.story-feature__body { background: var(--pearl-dim); padding: 44px; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.story-feature__body h3 { font-size: clamp(28px, 3vw, 38px); }
.story-feature__body .meta { font-size: 13px; color: var(--rose); font-weight: 700; }
.story-feature__body p { color: var(--ink-soft); font-size: 15px; }

/* ---------- CTA banners ---------- */
.cta-banner { text-align: center; }
.cta-banner h2 { color: var(--pearl); font-size: clamp(30px, 4vw, 48px); max-width: 640px; margin: 0 auto; }
.cta-banner p { margin-top: 14px; color: rgba(249,246,238,0.8); }
.cta-banner .btn { margin-top: 28px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--maroon); color: var(--pearl); }
.footer-top { padding: 72px 0 40px; display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.footer-brand .logo { color: var(--pearl); }
.footer-brand .logo span { color: #F0A9C4; }
.footer-brand p { margin-top: 14px; color: rgba(249,246,238,0.72); max-width: 260px; font-size: 14px; }
.footer-social { display: flex; gap: 12px; margin-top: 22px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(249,246,238,0.3);
  display: flex; align-items: center; justify-content: center; transition: background 0.2s ease;
}
.footer-social a:hover { background: rgba(249,246,238,0.12); }
.footer-social svg { width: 17px; height: 17px; }
.footer-col h4 { color: var(--pearl); font-family: var(--font-body); font-size: 14px; font-weight: 700; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a { color: rgba(249,246,238,0.72); font-size: 14px; transition: color 0.15s ease; }
.footer-col a:hover { color: var(--pearl); }
.footer-bottom {
  border-top: 1px solid rgba(249,246,238,0.18); padding: 22px 0; display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 12px; font-size: 13px; color: rgba(249,246,238,0.65);
}
.footer-bottom .legal { display: flex; gap: 18px; }
.footer-bottom .legal a:hover { color: var(--pearl); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: 64px 0 40px; border-bottom: var(--border-hair); }
.page-hero h1 { font-size: clamp(36px, 4.4vw, 54px); max-width: 700px; }
.page-hero p.sub { margin-top: 14px; color: var(--ink-soft); font-size: 17px; max-width: 560px; }

/* Toolbar search (inner pages) */
.toolbar-search {
  background: var(--taupe-soft); border: var(--border-hair); border-radius: var(--radius-lg);
  padding: 22px; display: grid; grid-template-columns: 1.4fr 1fr 1fr auto; gap: 14px; align-items: end; margin-top: 28px;
}
.toolbar-search .search-field select, .toolbar-search .search-field input { background: var(--pearl); }

/* Pills */
.pill-row { display: flex; gap: 10px; flex-wrap: wrap; margin: 28px 0 0; }
.pill {
  padding: 10px 18px; border-radius: 24px; border: var(--border-hair); background: var(--pearl);
  font-size: 14px; font-weight: 700; color: var(--ink-soft); transition: all 0.15s ease;
}
.pill.active, .pill:hover { background: var(--maroon); color: var(--pearl); border-color: var(--maroon); }

/* Listing layout */
.listing { display: grid; grid-template-columns: 260px 1fr; gap: 36px; align-items: start; padding-top: 36px; }
.filters {
  border: var(--border-hair); border-radius: var(--radius-lg); padding: 22px; position: sticky; top: calc(var(--header-h) + 20px);
  background: var(--pearl-dim); display: flex; flex-direction: column; gap: 22px;
}
.filters h3 { font-size: 15px; text-transform: none; color: var(--maroon); letter-spacing: 0; }
.filter-group { display: flex; flex-direction: column; gap: 10px; border-top: var(--border-hair); padding-top: 18px; }
.filter-group:first-child { border-top: none; padding-top: 0; }
.filter-group h4 { font-size: 13px; font-weight: 700; color: var(--ink); }
.check-row { display: flex; align-items: center; gap: 9px; font-size: 14px; color: var(--ink-soft); }
.check-row input { accent-color: var(--rose); width: 16px; height: 16px; }
.range-labels { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-soft); }
.filters select { width: 100%; border: var(--border-hair); border-radius: var(--radius-sm); padding: 10px; background: var(--pearl); }

.results-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; flex-wrap: wrap; gap: 12px; }
.results-count { font-size: 14px; color: var(--ink-soft); }
.sort-select { border: var(--border-hair); border-radius: var(--radius-sm); padding: 10px 14px; background: var(--pearl); font-size: 14px; }

.filter-drawer-toggle { display: none; }

/* Map toggle */
.view-toggle { display: inline-flex; border: var(--border-hair); border-radius: 24px; overflow: hidden; }
.view-toggle button { padding: 8px 18px; font-size: 13px; font-weight: 700; background: var(--pearl); color: var(--ink-soft); border: none; }
.view-toggle button.active { background: var(--maroon); color: var(--pearl); }

.map-panel {
  border-radius: var(--radius-lg); overflow: hidden; border: var(--border-hair); position: sticky; top: calc(var(--header-h) + 20px);
  height: 620px; background: linear-gradient(135deg, #E9E2D4 0%, #DCD1BE 40%, #E4DCC F 100%);
  position: relative;
}
.map-panel__grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(179,163,148,0.35) 1px, transparent 1px), linear-gradient(90deg, rgba(179,163,148,0.35) 1px, transparent 1px);
  background-size: 34px 34px;
}
.map-pin {
  position: absolute; width: 30px; height: 30px; border-radius: 50% 50% 50% 0; background: var(--rose);
  transform: rotate(-45deg); box-shadow: var(--shadow-soft); border: 2px solid var(--pearl);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.map-pin span { transform: rotate(45deg); color: var(--pearl); font-size: 12px; font-weight: 800; }
.map-panel__note {
  position: absolute; bottom: 18px; left: 18px; right: 18px; background: rgba(249,246,238,0.92); border-radius: var(--radius-sm);
  padding: 12px 16px; font-size: 13px; color: var(--ink-soft); box-shadow: var(--shadow-soft);
}

.listing--venues .card-grid { grid-template-columns: repeat(2, 1fr); }

/* ---------- Inspiration masonry ---------- */
.masonry { columns: 4 260px; column-gap: 22px; }
.masonry-item { break-inside: avoid; margin-bottom: 22px; position: relative; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-soft); }
.masonry-item img { width: 100%; display: block; transition: transform 0.4s ease; cursor: pointer; }
.masonry-item:hover img { transform: scale(1.04); }
.masonry-item__overlay {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 14px; background: linear-gradient(to top, rgba(43,33,28,0.75), transparent);
  color: var(--pearl); display: flex; justify-content: space-between; align-items: flex-end; gap: 10px;
}
.masonry-item__overlay .cat { font-size: 11px; font-weight: 700; color: #F0C6D8; }
.masonry-item__overlay h4 { color: var(--pearl); font-size: 16px; font-weight: 600; font-family: var(--font-display); }
.masonry-item .shortlist-btn { top: 10px; right: 10px; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(20,14,11,0.9); z-index: 300; display: none; align-items: center; justify-content: center; padding: 40px; }
.lightbox.open { display: flex; }
.lightbox__inner { max-width: 720px; width: 100%; background: var(--pearl); border-radius: var(--radius-lg); overflow: hidden; }
.lightbox__img { aspect-ratio: 4/3; overflow: hidden; }
.lightbox__img img { width: 100%; height: 100%; object-fit: cover; }
.lightbox__body { padding: 22px 26px; display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.lightbox__close { position: absolute; top: 24px; right: 32px; color: var(--pearl); background: none; border: none; }
.lightbox__close svg { width: 28px; height: 28px; }

/* Magazine article section */
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.article-card { display: flex; flex-direction: column; gap: 12px; }
.article-card__img { aspect-ratio: 16/10; border-radius: var(--radius-md); overflow: hidden; }
.article-card__img img { width: 100%; height: 100%; object-fit: cover; }
.article-card .eyebrow { margin-bottom: 0; }
.article-card h3 { font-size: 21px; }
.article-card p { font-size: 14px; color: var(--ink-soft); }

/* ---------- Planner ---------- */
.planner-hero { background: var(--pearl-dim); }
.planner-tools { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; align-items: start; }
.tool-card { background: var(--pearl); border: var(--border-hair); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-soft); }
.tool-card h3 { font-size: 22px; margin-bottom: 6px; }
.tool-card .tool-sub { color: var(--ink-soft); font-size: 14px; margin-bottom: 22px; }

.checklist-tabs { display: flex; gap: 8px; overflow-x: auto; margin-bottom: 20px; }
.checklist-tabs button {
  padding: 9px 16px; border-radius: 20px; border: var(--border-hair); background: var(--pearl-dim); font-size: 13px;
  font-weight: 700; color: var(--ink-soft); white-space: nowrap;
}
.checklist-tabs button.active { background: var(--rose); color: var(--pearl); border-color: var(--rose); }
.checklist-progress { height: 8px; border-radius: 6px; background: var(--taupe-soft); overflow: hidden; margin-bottom: 20px; }
.checklist-progress__bar { height: 100%; background: var(--rose); border-radius: 6px; transition: width 0.3s ease; }
.checklist-items { display: flex; flex-direction: column; gap: 4px; }
.checklist-item { display: flex; align-items: center; gap: 12px; padding: 12px 6px; border-bottom: var(--border-hair); }
.checklist-item:last-child { border-bottom: none; }
.checklist-item input { width: 19px; height: 19px; accent-color: var(--rose); }
.checklist-item label { font-size: 15px; }
.checklist-item.done label { color: var(--ink-soft); text-decoration: line-through; }

/* ---------- Budget Planner (redesigned) ---------- */
.budget-panel__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.budget-panel__head .tool-sub { margin-bottom: 0; }

.budget-top-row {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: center;
  padding-bottom: 26px; margin-bottom: 26px; border-bottom: var(--border-hair);
}
.budget-total-edit label { font-size: 12px; font-weight: 700; color: var(--ink-soft); display: block; margin-bottom: 8px; }
.budget-total-edit__row {
  display: flex; align-items: center; gap: 6px; border: var(--border-hair); border-radius: var(--radius-sm);
  background: var(--pearl-dim); padding: 6px 14px; margin-bottom: 12px;
}
.budget-total-edit__row .currency { font-family: var(--font-display); font-size: 22px; color: var(--maroon); }
.budget-total-edit__row input {
  border: none; background: transparent; font-family: var(--font-display); font-size: 26px; font-weight: 700;
  color: var(--maroon); padding: 6px 0; width: 100%; -moz-appearance: textfield;
}
.budget-total-edit__row input::-webkit-outer-spin-button,
.budget-total-edit__row input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.budget-total-edit__row input:focus { outline: none; }
#budget-total-slider { width: 100%; accent-color: var(--rose); cursor: pointer; }

.budget-stats-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.budget-stat-chip {
  background: var(--pearl-dim); border: var(--border-hair); border-radius: var(--radius-md); padding: 14px 16px;
  display: flex; flex-direction: column; gap: 4px;
}
.budget-stat-chip span { font-size: 12px; color: var(--ink-soft); }
.budget-stat-chip strong { font-family: var(--font-display); font-size: 22px; color: var(--maroon); }
.budget-stat-chip.over strong { color: var(--rose); }

.budget-visual { display: grid; grid-template-columns: 240px 1fr; gap: 36px; align-items: start; }
.budget-donut-wrap { display: flex; justify-content: center; }
.budget-donut {
  width: 220px; height: 220px; border-radius: 50%; position: relative;
  transition: background 0.3s ease;
}
.budget-donut__hole {
  position: absolute; inset: 26px; border-radius: 50%; background: var(--pearl);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  box-shadow: inset 0 0 0 1px rgba(179,163,148,0.3);
}
.budget-donut__hole strong { font-family: var(--font-display); font-size: 22px; color: var(--maroon); line-height: 1.15; }
.budget-donut__hole span { font-size: 11px; color: var(--ink-soft); margin-top: 4px; }

.budget-legend { display: flex; flex-direction: column; gap: 2px; }
.budget-legend__row {
  display: grid; grid-template-columns: 14px 1fr 130px 46px 28px; align-items: center; gap: 10px;
  padding: 9px 0; border-bottom: var(--border-hair);
}
.budget-legend__row:last-child { border-bottom: none; }
.budget-legend__row .dot { width: 11px; height: 11px; border-radius: 50%; flex-shrink: 0; }
.budget-legend__row .label { font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.budget-legend__row .amount-edit {
  display: flex; align-items: center; gap: 4px; border: var(--border-hair); border-radius: var(--radius-sm);
  background: var(--pearl-dim); padding: 6px 8px;
}
.budget-legend__row .amount-edit span { font-size: 13px; color: var(--ink-soft); }
.budget-legend__row .amount-edit input {
  border: none; background: transparent; width: 100%; font-size: 13px; font-weight: 700; color: var(--ink);
  -moz-appearance: textfield;
}
.budget-legend__row .amount-edit input::-webkit-outer-spin-button,
.budget-legend__row .amount-edit input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.budget-legend__row .amount-edit input:focus { outline: none; }
.budget-legend__row .pct { font-size: 12px; color: var(--ink-soft); text-align: right; }
.budget-legend__row .remove-cat {
  width: 26px; height: 26px; border-radius: 50%; border: none; background: transparent; color: var(--ink-soft);
  display: flex; align-items: center; justify-content: center; font-size: 16px; line-height: 1;
}
.budget-legend__row .remove-cat:hover { background: rgba(194,24,91,0.1); color: var(--rose); }

.budget-add-form { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.budget-add-form input {
  border: var(--border-hair); border-radius: var(--radius-sm); padding: 9px 12px; background: var(--pearl-dim); font-size: 13px;
}
.budget-add-form input#budget-new-label { flex: 1.4; min-width: 140px; }
.budget-add-form input#budget-new-amount { flex: 1; min-width: 100px; }

.guest-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 20px; }
.guest-stat { background: var(--pearl-dim); border-radius: var(--radius-sm); padding: 16px; text-align: center; }
.guest-stat strong { font-family: var(--font-display); font-size: 28px; display: block; color: var(--maroon); }
.guest-stat span { font-size: 12px; color: var(--ink-soft); }
.guest-controls { display: flex; gap: 10px; }
.guest-controls select { flex: 1; border: var(--border-hair); border-radius: var(--radius-sm); padding: 10px; background: var(--pearl-dim); }

.planner-cta { text-align: left; display: grid; grid-template-columns: 1.2fr auto; gap: 24px; align-items: center; background: var(--maroon); border-radius: var(--radius-lg); padding: 40px; }
.planner-cta h3 { color: var(--pearl); font-size: 26px; }
.planner-cta p { color: rgba(249,246,238,0.78); margin-top: 8px; font-size: 15px; }

/* ---------- Account chip / dropdown ---------- */
.account-slot { position: relative; }
.account-chip {
  display: flex; align-items: center; gap: 9px; padding: 6px 12px 6px 6px; border-radius: 24px;
  border: 1px solid transparent; background: transparent; transition: background 0.15s ease;
}
.account-chip:hover { background: var(--taupe-soft); }
.account-chip__avatar {
  width: 32px; height: 32px; border-radius: 50%; background: var(--rose); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; flex-shrink: 0;
}
.account-chip__name { font-size: 14px; font-weight: 700; color: var(--ink); }
.account-menu {
  position: absolute; top: calc(100% + 10px); right: 0; background: var(--pearl); border: var(--border-hair);
  border-radius: var(--radius-md); box-shadow: var(--shadow-lift); min-width: 190px; padding: 8px; display: none; z-index: 60;
}
.account-menu.open { display: block; }
.account-menu .role-tag { font-size: 11px; color: var(--rose); font-weight: 800; padding: 6px 12px 8px; letter-spacing: 0.03em; text-transform: uppercase; }
.account-menu a, .account-menu button {
  display: block; width: 100%; text-align: left; padding: 10px 12px; border-radius: 8px; font-size: 14px;
  background: none; border: none; color: var(--ink); font-weight: 600;
}
.account-menu a:hover, .account-menu button:hover { background: var(--taupe-soft); }
.account-menu button { color: var(--rose); }

/* ---------- Auth page ---------- */
.auth-section { padding: 64px 0 100px; }
.auth-shell { max-width: 460px; margin: 0 auto; }
.auth-shell__head { text-align: center; margin-bottom: 28px; }
.auth-shell__head h1 { font-size: 34px; }
.auth-shell__head p { color: var(--ink-soft); margin-top: 8px; font-size: 15px; }

.role-toggle {
  display: grid; grid-template-columns: 1fr 1fr; border: var(--border-hair); border-radius: var(--radius-md);
  overflow: hidden; margin-bottom: 22px;
}
.role-toggle button {
  padding: 16px 10px; background: var(--pearl); border: none; font-weight: 700; font-size: 14px; color: var(--ink-soft);
  display: flex; flex-direction: column; align-items: center; gap: 4px; border-right: var(--border-hair);
}
.role-toggle button:last-child { border-right: none; }
.role-toggle button span.sub { font-weight: 500; font-size: 12px; }
.role-toggle button.active { background: var(--maroon); color: var(--pearl); }
.role-toggle button.active span.sub { color: rgba(249,246,238,0.75); }

.mode-toggle { display: flex; gap: 4px; background: var(--taupe-soft); border-radius: 24px; padding: 4px; margin-bottom: 26px; }
.mode-toggle button { flex: 1; padding: 10px; border-radius: 20px; border: none; background: transparent; font-weight: 700; font-size: 14px; color: var(--ink-soft); }
.mode-toggle button.active { background: var(--pearl); color: var(--maroon); box-shadow: var(--shadow-soft); }

.auth-card { background: var(--pearl); border: var(--border-hair); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-soft); }
.auth-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.auth-field label { font-size: 13px; font-weight: 700; color: var(--ink); }
.auth-field input, .auth-field select {
  border: var(--border-hair); background: var(--pearl-dim); border-radius: var(--radius-sm); padding: 13px 14px; font-size: 15px;
}
.auth-field input:focus, .auth-field select:focus { border-color: var(--rose); }
.auth-foot { text-align: center; margin-top: 18px; font-size: 14px; color: var(--ink-soft); }
.auth-foot a { color: var(--rose); font-weight: 700; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 22px 0; color: var(--ink-soft); font-size: 12px; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--taupe); }
.vendor-only { display: none; }
.vendor-only.show { display: flex; flex-direction: column; gap: 0; }

/* ---------- Dashboards ---------- */
.dash-hero { background: var(--pearl-dim); padding: 46px 0; border-bottom: var(--border-hair); }
.dash-hero__row { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.dash-hero h1 { font-size: 32px; }
.dash-hero p.sub { margin-top: 6px; }
.dash-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: -34px; position: relative; z-index: 2; }
.dash-stat { background: var(--pearl); border: var(--border-hair); border-radius: var(--radius-md); padding: 20px; box-shadow: var(--shadow-soft); }
.dash-stat strong { font-family: var(--font-display); font-size: 30px; color: var(--maroon); display: block; }
.dash-stat span { font-size: 13px; color: var(--ink-soft); }
.dash-stat .delta { font-size: 12px; color: var(--success); font-weight: 700; }

.dash-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 28px; align-items: start; }
.dash-panel { background: var(--pearl); border: var(--border-hair); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-soft); }
.dash-panel h3 { font-size: 21px; margin-bottom: 4px; }
.dash-panel .panel-sub { color: var(--ink-soft); font-size: 14px; margin-bottom: 20px; }

.service-row {
  display: grid; grid-template-columns: 84px 1fr auto; gap: 16px; align-items: center; padding: 14px 0; border-bottom: var(--border-hair);
}
.service-row:last-child { border-bottom: none; }
.service-row__img { width: 84px; height: 64px; border-radius: var(--radius-sm); overflow: hidden; }
.service-row__img img { width: 100%; height: 100%; object-fit: cover; }
.service-row h4 { font-size: 16px; }
.service-row .meta { font-size: 13px; color: var(--ink-soft); }
.service-row__actions { display: flex; gap: 8px; }
.icon-btn-sm { width: 34px; height: 34px; border-radius: 50%; border: var(--border-hair); background: var(--pearl); display: flex; align-items: center; justify-content: center; }
.icon-btn-sm:hover { background: var(--taupe-soft); }
.icon-btn-sm svg { width: 15px; height: 15px; }
.icon-btn-sm.danger { color: var(--rose); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 13px; font-weight: 700; }
.form-field input, .form-field select, .form-field textarea {
  border: var(--border-hair); background: var(--pearl-dim); border-radius: var(--radius-sm); padding: 12px 14px; font-size: 14px; font-family: inherit;
}
.form-field textarea { resize: vertical; min-height: 80px; }

.empty-state { text-align: center; padding: 40px 20px; color: var(--ink-soft); }
.empty-state svg { width: 40px; height: 40px; color: var(--taupe); margin-bottom: 12px; }

.gated-notice { text-align: center; padding: 90px 20px; }
.gated-notice h2 { font-size: 28px; margin-bottom: 10px; }
.gated-notice p { color: var(--ink-soft); margin-bottom: 22px; }

.saved-item {
  display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: var(--border-hair);
}
.saved-item:last-child { border-bottom: none; }
.saved-item__img { width: 60px; height: 60px; border-radius: var(--radius-sm); overflow: hidden; flex-shrink: 0; }
.saved-item__img img { width: 100%; height: 100%; object-fit: cover; }
.saved-item h4 { font-size: 15px; }
.saved-item .meta { font-size: 12px; color: var(--ink-soft); }

/* ---------- Generic modal (booking requests, etc.) ---------- */
.modal { position: fixed; inset: 0; z-index: 320; display: none; align-items: center; justify-content: center; padding: 24px; }
.modal.open { display: flex; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(20,14,11,0.55); }
.modal__panel {
  position: relative; background: var(--pearl); border-radius: var(--radius-lg); box-shadow: var(--shadow-lift);
  max-width: 460px; width: 100%; max-height: 90vh; overflow-y: auto; padding: 30px;
}
.modal__close {
  position: absolute; top: 16px; right: 16px; width: 34px; height: 34px; border-radius: 50%; border: none;
  background: var(--pearl-dim); display: flex; align-items: center; justify-content: center;
}
.modal__close svg { width: 16px; height: 16px; color: var(--ink); }
.modal__head { margin-bottom: 18px; padding-right: 30px; }
.modal__head h3 { font-size: 24px; }
.modal__head .meta { font-size: 13px; color: var(--ink-soft); margin-top: 3px; }

/* ---------- Booking request items (vendor dashboard) ---------- */
.booking-item { border: var(--border-hair); border-radius: var(--radius-md); padding: 16px; margin-bottom: 12px; background: var(--pearl); }
.booking-item__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 6px; }
.booking-item__top strong { font-size: 15px; }
.booking-item__meta { font-size: 12px; color: var(--ink-soft); margin-bottom: 8px; display: flex; flex-wrap: wrap; gap: 4px 12px; }
.booking-item__meta span { display: inline-flex; align-items: center; gap: 4px; }
.booking-item__meta svg { width: 13px; height: 13px; }
.booking-item p.msg { font-size: 13px; color: var(--ink-soft); margin-bottom: 12px; }
.booking-item__actions { display: flex; gap: 8px; }

.status-badge.pending { background: rgba(179,163,148,0.28); color: var(--ink-soft); }
.status-badge.accepted { background: rgba(76,122,84,0.14); color: var(--success); }
.status-badge.declined { background: rgba(194,24,91,0.12); color: var(--rose); }

/* ---------- Image upload control ---------- */
.upload-box {
  border: 1.5px dashed var(--taupe); border-radius: var(--radius-md); padding: 16px; display: flex; align-items: center;
  gap: 12px; cursor: pointer; background: var(--pearl-dim); transition: border-color 0.15s ease;
}
.upload-box:hover { border-color: var(--rose); }
.upload-box svg { width: 22px; height: 22px; color: var(--rose); flex-shrink: 0; }
.upload-box__text strong { display: block; font-size: 13px; }
.upload-box__text span { font-size: 12px; color: var(--ink-soft); }
.upload-box input[type="file"] { display: none; }
.upload-preview { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.upload-preview img { width: 60px; height: 60px; object-fit: cover; border-radius: var(--radius-sm); border: var(--border-hair); }
.upload-preview button { font-size: 12px; color: var(--rose); font-weight: 700; background: none; border: none; }

.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
.portfolio-grid__item { position: relative; aspect-ratio: 1/1; border-radius: var(--radius-sm); overflow: hidden; border: var(--border-hair); }
.portfolio-grid__item img { width: 100%; height: 100%; object-fit: cover; }
.portfolio-grid__item button {
  position: absolute; top: 5px; right: 5px; width: 24px; height: 24px; border-radius: 50%; background: rgba(43,33,28,0.65);
  border: none; display: flex; align-items: center; justify-content: center;
}
.portfolio-grid__item button svg { width: 12px; height: 12px; color: var(--pearl); }

/* ---------- File protocol notice ---------- */
.file-protocol-notice { background: #FFF4D6; border-bottom: 1px solid #E4C878; color: #5B4A1E; }
.file-protocol-notice__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 32px; font-size: 13px; line-height: 1.5; }
.file-protocol-notice code { background: rgba(91,74,30,0.1); padding: 1px 6px; border-radius: 4px; font-size: 12px; }
.file-protocol-notice button { background: none; border: none; font-size: 20px; line-height: 1; color: #5B4A1E; flex-shrink: 0; padding: 0 4px; }
@media (max-width: 700px) { .file-protocol-notice__row { padding: 10px 18px; font-size: 12px; } }

/* ---------- Vendor dashboard ---------- */
.svc-card {
  display: flex; gap: 16px; align-items: center; padding: 16px; border: var(--border-hair); border-radius: var(--radius-md);
  margin-bottom: 12px; background: var(--pearl);
}
.svc-card__img { width: 76px; height: 76px; border-radius: var(--radius-sm); overflow: hidden; flex-shrink: 0; }
.svc-card__img img { width: 100%; height: 100%; object-fit: cover; }
.svc-card__body { flex: 1; min-width: 0; }
.svc-card__body h4 { font-size: 16px; }
.svc-card__body .meta { font-size: 12px; color: var(--ink-soft); margin-top: 2px; }
.svc-card__actions { display: flex; gap: 8px; flex-shrink: 0; }
.svc-card__actions button {
  width: 34px; height: 34px; border-radius: 50%; border: var(--border-hair); background: var(--pearl-dim);
  display: flex; align-items: center; justify-content: center;
}
.svc-card__actions button:hover { background: var(--taupe-soft); }
.svc-card__actions button svg { width: 15px; height: 15px; color: var(--maroon); }
.svc-card__actions button.danger:hover { background: rgba(194,24,91,0.12); }
.svc-card__actions button.danger svg { color: var(--rose); }

.status-badge {
  display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 800; padding: 4px 10px;
  border-radius: 20px; background: rgba(76,122,84,0.14); color: var(--success); text-transform: uppercase; letter-spacing: 0.03em;
}

.mini-tabs { display: flex; gap: 6px; background: var(--taupe-soft); border-radius: 20px; padding: 4px; margin-bottom: 20px; }
.mini-tabs button { flex: 1; padding: 9px; border-radius: 16px; border: none; background: transparent; font-weight: 700; font-size: 13px; color: var(--ink-soft); }
.mini-tabs button.active { background: var(--pearl); color: var(--maroon); box-shadow: var(--shadow-soft); }

.enquiry-item { padding: 14px 0; border-bottom: var(--border-hair); }
.enquiry-item:last-child { border-bottom: none; }
.enquiry-item__top { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 4px; }
.enquiry-item__top strong { font-size: 14px; }
.enquiry-item__top span { font-size: 12px; color: var(--ink-soft); }
.enquiry-item p { font-size: 13px; color: var(--ink-soft); }

/* ---------- Forms / toasts ---------- */
.field-error { color: var(--rose); font-size: 12px; margin-top: 4px; display: none; }
.field-error.show { display: block; }
.input-invalid { border-color: var(--rose) !important; }

.toast-stack { position: fixed; bottom: 24px; right: 24px; z-index: 400; display: flex; flex-direction: column; gap: 10px; }
.toast {
  background: var(--maroon); color: var(--pearl); padding: 14px 20px; border-radius: var(--radius-sm); box-shadow: var(--shadow-lift);
  font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 10px; min-width: 220px;
  animation: toastIn 0.25s ease;
}
.toast svg { width: 18px; height: 18px; flex-shrink: 0; color: #F0A9C4; }
@keyframes toastIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- Filter drawer (mobile) ---------- */
.filter-drawer { position: fixed; inset: 0; z-index: 250; visibility: hidden; }
.filter-drawer__backdrop { position: absolute; inset: 0; background: rgba(43,33,28,0.5); opacity: 0; transition: opacity 0.25s ease; }
.filter-drawer__panel {
  position: absolute; left: 0; right: 0; bottom: 0; max-height: 82vh; background: var(--pearl); border-radius: 20px 20px 0 0;
  padding: 20px 22px 22px; transform: translateY(100%); transition: transform 0.3s ease; overflow-y: auto;
}
.filter-drawer.open { visibility: visible; }
.filter-drawer.open .filter-drawer__backdrop { opacity: 1; }
.filter-drawer.open .filter-drawer__panel { transform: translateY(0); }
.filter-drawer__handle { width: 42px; height: 4px; background: var(--taupe); border-radius: 4px; margin: 0 auto 16px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .listing--venues .card-grid { grid-template-columns: 1fr; }
  .feature-grid, .story-row, .article-grid { grid-template-columns: repeat(2, 1fr); }
  .planner-tools { grid-template-columns: 1fr; }
  .masonry { columns: 3 220px; }
  .budget-visual { grid-template-columns: 1fr; }
  .budget-donut-wrap { margin-bottom: 8px; }
}

@media (max-width: 900px) {
  .wrap { padding: 0 22px; }
  .main-nav { display: none; }
  .header-signin { display: none; }
  .menu-toggle { display: inline-flex; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero { padding-bottom: 260px; }
  .hero__visual { order: -1; }
  .hero__img-float { width: 40%; left: -20px; }
  .search-card { grid-template-columns: 1fr; }
  .listing { grid-template-columns: 1fr; }
  .filters { display: none; }
  .filter-drawer-toggle { display: inline-flex; }
  .story-feature { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: repeat(2, 1fr); }
  .planner-cta { grid-template-columns: 1fr; text-align: center; }
  .guest-stats { grid-template-columns: repeat(2, 1fr); }
  .dash-grid { grid-template-columns: 1fr; }
  .budget-top-row { grid-template-columns: 1fr; gap: 18px; }
  .budget-panel__head { flex-direction: column; align-items: stretch; }
  .dash-stats { grid-template-columns: repeat(2, 1fr); margin-top: 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .service-row { grid-template-columns: 60px 1fr auto; }
}

@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .card-grid, .feature-grid, .story-row, .article-grid { grid-template-columns: 1fr; }
  .toolbar-search { grid-template-columns: 1fr; }
  .hero__copy h1 { font-size: 36px; }
  .hero__stats { gap: 20px; }
  .masonry { columns: 2 160px; column-gap: 14px; }
  .masonry-item { margin-bottom: 14px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .hscroll { gap: 14px; }
  .cat-card { width: 180px; }
  .search-module { margin-top: -140px; }
  .budget-legend__row { grid-template-columns: 14px 1fr auto 28px; row-gap: 4px; }
  .budget-legend__row .pct { display: none; }
  .budget-stats-mini { grid-template-columns: 1fr; }
  .budget-donut { width: 180px; height: 180px; }
  .budget-donut__hole { inset: 20px; }
}