/* ==========================================================================
   Vendors.Wedding — public site
   Palette: sindoor wine, marigold, mehendi green on a blush paper ground.
   Motif:   the mehrab (arch) — on photos, tiles and the hero window.
   ========================================================================== */
:root {
  --wine: #8e1b3a;
  --wine-dark: #5e0f26;
  --wine-soft: #f6e3e8;
  --marigold: #f2a007;
  --marigold-dark: #c27d00;
  --marigold-soft: #fff1cf;
  --mehendi: #4f6b2e;
  --mehendi-soft: #e9f0df;
  --blush: #fbf1ee;
  --paper: #ffffff;
  --ink: #2a1220;
  --muted: #74545f;
  --line: #ecd8d1;
  --gold: #c99a3b;
  --radius: 14px;
  --arch: 50% 50% 12px 12px / 34% 34% 12px 12px;
  --font-display: "Cormorant Garamond", "Lora", Georgia, serif;
  --font-body: "Figtree", "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;

  --bs-body-font-family: var(--font-body);
  --bs-body-color: var(--ink);
  --bs-body-bg: var(--blush);
  --bs-link-color: var(--wine);
  --bs-link-color-rgb: 142, 27, 58;
  --bs-link-hover-color: var(--wine-dark);
  --bs-link-hover-color-rgb: 94, 15, 38;
  --bs-border-color: var(--line);
  --bs-primary: var(--wine);
  --bs-primary-rgb: 142, 27, 58;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--ink); background: var(--blush); font-size: 1rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, .display-font { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.005em; color: var(--ink); line-height: 1.15; }
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.35rem; }
a { color: var(--wine); text-underline-offset: 3px; }
a:hover { color: var(--wine-dark); }
:focus-visible { outline: 3px solid var(--marigold); outline-offset: 2px; border-radius: 4px; }
img { max-width: 100%; height: auto; }
.text-muted, .muted { color: var(--muted) !important; }
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 6px; z-index: 2000; }
.skip-link:focus { left: 8px; }

/* Buttons ------------------------------------------------------------------ */
.btn { border-radius: 999px; font-weight: 600; padding: .55rem 1.2rem; }
.btn-sm { padding: .35rem .85rem; }
.btn-wine { background: var(--wine); border-color: var(--wine); color: #fff; }
.btn-wine:hover, .btn-wine:focus { background: var(--wine-dark); border-color: var(--wine-dark); color: #fff; }
.btn-marigold { background: var(--marigold); border-color: var(--marigold); color: var(--ink); }
.btn-marigold:hover { background: var(--marigold-dark); border-color: var(--marigold-dark); color: #fff; }
.btn-outline-wine { border: 1.5px solid var(--wine); color: var(--wine); background: transparent; }
.btn-outline-wine:hover { background: var(--wine); color: #fff; }
.btn-whatsapp { background: #1f9d55; border-color: #1f9d55; color: #fff; }
.btn-whatsapp:hover { background: #157a41; color: #fff; }
.btn-soft { background: var(--wine-soft); color: var(--wine); border: 0; }
.btn-soft:hover { background: #efd0d8; color: var(--wine-dark); }
.btn-primary { --bs-btn-bg: var(--wine); --bs-btn-border-color: var(--wine); --bs-btn-hover-bg: var(--wine-dark); --bs-btn-hover-border-color: var(--wine-dark); --bs-btn-active-bg: var(--wine-dark); }
.form-control, .form-select { border-radius: 10px; border-color: var(--line); padding: .6rem .85rem; background-color: #fff; }
.form-control:focus, .form-select:focus { border-color: var(--wine); box-shadow: 0 0 0 .2rem rgba(142, 27, 58, .15); }
.form-label { font-weight: 600; font-size: .92rem; margin-bottom: .3rem; }
.form-check-input:checked { background-color: var(--wine); border-color: var(--wine); }

/* Top bar + header --------------------------------------------------------- */
.topbar { background: var(--wine-dark); color: #f3dfe5; font-size: .85rem; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: var(--marigold); }
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 1030; }
.site-header .navbar { padding: .55rem 0; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; }
.brand img { max-height: 46px; width: auto; }
.brand-word { font-family: var(--font-display); font-size: 1.65rem; font-weight: 700; color: var(--wine); line-height: 1; }
.brand-word span { color: var(--marigold-dark); }
.site-header .nav-link { color: var(--ink); font-weight: 600; font-size: .95rem; padding: .5rem .8rem !important; border-radius: 999px; }
.site-header .nav-link:hover, .site-header .nav-link.active, .site-header .nav-link.show { color: var(--wine); background: var(--wine-soft); }
.mega { border: 1px solid var(--line); border-radius: 16px; padding: 1rem; box-shadow: 0 18px 40px rgba(42, 18, 32, .12); min-width: 520px; }
.mega a { display: flex; align-items: center; gap: .55rem; padding: .45rem .6rem; border-radius: 10px; color: var(--ink); text-decoration: none; font-size: .93rem; }
.mega a:hover { background: var(--blush); color: var(--wine); }
.mega a i { color: var(--wine); font-size: 1.05rem; width: 1.2rem; text-align: center; }
.mega .mega-all { font-weight: 700; color: var(--wine); }
.mega .count { margin-left: auto; color: var(--muted); font-size: .8rem; }
.header-search { max-width: 260px; }
.site-header .btn { white-space: nowrap; }
.brand { flex-shrink: 0; }
.header-search-btn { width: 42px; height: 42px; border-radius: 50%; background: var(--blush); color: var(--ink); place-items: center; flex-shrink: 0; text-decoration: none; }
.header-search-btn:hover { background: var(--wine-soft); color: var(--wine); }
@media (min-width: 1200px) { .site-header .nav-link { white-space: nowrap; } }
.header-search-btn { display: grid; border: 0; }
.header-search-pop { width: 340px; padding: .75rem; border-radius: 14px; border-color: var(--line); box-shadow: 0 16px 40px rgba(42, 18, 32, .16); }
@media (min-width: 1200px) and (max-width: 1399.98px) { .site-header .nav-link { padding: .5rem .5rem !important; font-size: .92rem; } }

.header-search .form-control { border-radius: 999px; padding-left: 2.2rem; background: var(--blush); border-color: transparent; }
.header-search i { position: absolute; left: .85rem; top: 50%; transform: translateY(-50%); color: var(--muted); }
@media (max-width: 1199.98px) { .mega { min-width: 0; box-shadow: none; border: 0; padding: 0 0 0 .5rem; } }

/* Flash + impersonation ---------------------------------------------------- */
.flash-wrap .alert { border-radius: 12px; border: 0; margin: 1rem 0 0; }
.impersonate-bar { background: var(--marigold); color: var(--ink); font-weight: 600; font-size: .9rem; }

/* Hero ---------------------------------------------------------------------- */
.hero { position: relative; padding: 3.5rem 0 4rem; background:
  radial-gradient(1200px 400px at 85% -10%, rgba(242, 160, 7, .14), transparent 60%),
  radial-gradient(900px 500px at -10% 110%, rgba(142, 27, 58, .10), transparent 60%), var(--blush); overflow: hidden; }
.hero h1 { font-size: clamp(2.1rem, 3.8vw, 3.1rem); font-weight: 600; max-width: 19ch; }
.hero-lede { font-size: 1.12rem; color: var(--muted); max-width: 46ch; }
.hero-search { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 1rem; box-shadow: 0 20px 50px rgba(94, 15, 38, .10); }
.hero-search .form-select, .hero-search .form-control { border: 0; background-color: var(--blush); }
.hero-search label { font-size: .8rem; color: var(--muted); font-weight: 600; margin: 0 0 .2rem .3rem; }
.hero-quick a { display: inline-block; margin: .25rem .35rem 0 0; padding: .3rem .8rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .85rem; color: var(--ink); text-decoration: none; }
.hero-quick a:hover { border-color: var(--wine); color: var(--wine); }

/* The arch window with a marigold toran across the top */
.arch-window { position: relative; max-width: 440px; margin-left: auto; }
.arch-window .frame { position: relative; aspect-ratio: 4 / 5; border-radius: 50% 50% 18px 18px / 40% 40% 18px 18px; overflow: hidden; border: 10px solid #fff; box-shadow: 0 0 0 1px var(--gold), 0 30px 60px rgba(94, 15, 38, .22); background: var(--wine-soft); }
.arch-window .frame img { width: 100%; height: 100%; object-fit: cover; }
.toran { position: absolute; left: -8%; right: -8%; top: 9%; z-index: 2; pointer-events: none; }
.toran svg { display: block; width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 4px 6px rgba(94, 15, 38, .25)); }
.arch-window .caption { position: absolute; left: 50%; bottom: -18px; transform: translateX(-50%); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .45rem 1rem; font-size: .85rem; white-space: nowrap; box-shadow: 0 10px 24px rgba(42, 18, 32, .12); max-width: 92%; overflow: hidden; text-overflow: ellipsis; }
.arch-window .caption a { color: var(--ink); text-decoration: none; font-weight: 600; }
@media (prefers-reduced-motion: no-preference) {
  .toran .bloom { transform-origin: center top; animation: sway 5s ease-in-out infinite; }
  @keyframes sway { 0%, 100% { transform: rotate(-1.2deg); } 50% { transform: rotate(1.2deg); } }
}

/* Sections ------------------------------------------------------------------ */
.section { padding: 3.5rem 0; }
.section-white { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.6rem; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head p { margin: .3rem 0 0; color: var(--muted); }
.rule-gold { width: 64px; height: 2px; background: var(--gold); border: 0; opacity: 1; margin: .6rem 0 0; }

/* Service tiles (arched) */
.tile { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .55rem; padding: 1.3rem .8rem 1.1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--arch); text-decoration: none; color: var(--ink); height: 100%; transition: border-color .2s, transform .2s; }
.tile:hover { border-color: var(--wine); color: var(--wine); transform: translateY(-2px); }
.tile .ico { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: var(--wine-soft); color: var(--wine); font-size: 1.45rem; }
.tile .name { font-weight: 600; line-height: 1.25; font-size: .95rem; }
.tile .count { font-size: .8rem; color: var(--muted); }

/* City cards */
.city { position: relative; display: block; border-radius: 18px; overflow: hidden; min-height: 180px; background: var(--wine); color: #fff; text-decoration: none; padding: 1.4rem; }
.city::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(42, 18, 32, .05), rgba(42, 18, 32, .78)); }
.city img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.city .in { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: end; height: 100%; min-height: 140px; }
.city h3 { color: #fff; margin: 0; font-size: 1.7rem; }
.city span { color: #f6dfe6; font-size: .9rem; }

/* Vendor card --------------------------------------------------------------- */
.vcard { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: .7rem .7rem 1rem; height: 100%; display: flex; flex-direction: column; }
.vcard-media { display: block; position: relative; aspect-ratio: 430 / 300; overflow: hidden; border-radius: var(--arch); background: var(--wine-soft); }
.vcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.vcard:hover .vcard-media img { transform: scale(1.04); }
.vcard .badge-plan { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); background: var(--marigold); color: var(--ink); font-size: .72rem; font-weight: 700; border-radius: 999px; padding: .2rem .65rem; }
.vcard .fav { position: absolute; top: 1.1rem; right: 1.1rem; z-index: 2; }
.vcard-body { padding: .8rem .35rem 0; display: flex; flex-direction: column; gap: .3rem; flex: 1; }
.vcard h3 { font-family: var(--font-body); font-size: 1.02rem; font-weight: 700; margin: 0; line-height: 1.3; }
.vcard h3 a { color: var(--ink); text-decoration: none; }
.vcard h3 a:hover { color: var(--wine); }
.vcard .loc { color: var(--muted); font-size: .86rem; }
.vcard .price { font-weight: 700; color: var(--wine); }
.vcard .price small { font-weight: 500; color: var(--muted); }
.vcard .actions { margin-top: auto; padding-top: .6rem; display: flex; gap: .4rem; flex-wrap: wrap; align-items: center; }
.vcard .actions .btn { padding: .32rem .75rem; font-size: .82rem; }
.verified { color: var(--mehendi); }
.fav-btn { width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--wine); display: grid; place-items: center; box-shadow: 0 4px 12px rgba(42, 18, 32, .15); }
.fav-btn.saved i::before { content: "\f415"; } /* bi-heart-fill */
.compare-check { font-size: .8rem; color: var(--muted); display: inline-flex; gap: .3rem; align-items: center; margin-left: auto; cursor: pointer; }
.stars { color: var(--marigold); letter-spacing: 1px; font-size: .85rem; }
.article-card .vcard-media { border-radius: 14px; }

/* Listing grid page --------------------------------------------------------- */
.page-head { background: #fff; border-bottom: 1px solid var(--line); padding: 1.6rem 0 1.4rem; }
.page-head h1 { margin: .2rem 0 .25rem; }
.breadcrumb { font-size: .85rem; margin: 0; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--wine); }
.breadcrumb-item + .breadcrumb-item::before { color: var(--gold); }
.chips { display: flex; gap: .45rem; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: .35rem; padding: .35rem .85rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-size: .87rem; text-decoration: none; }
.chip:hover, .chip.active { border-color: var(--wine); color: var(--wine); background: var(--wine-soft); }
.subcat-row { display: flex; gap: .6rem 1rem; align-items: baseline; flex-wrap: wrap; }
.subcat-label { font-weight: 700; font-size: .9rem; color: var(--wine); white-space: nowrap; }
.chip-sub { background: var(--blush); }
.chip-sub.active { background: var(--wine); border-color: var(--wine); color: #fff; }
.chip-sub.active .muted { color: #f6dfe6 !important; }
.budget-chips .chip.active { background: var(--marigold-soft); border-color: var(--marigold); color: #6b4700; }
.map-card { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: #fff; }
.map-card iframe { display: block; width: 100%; height: 340px; border: 0; }
.map-card .map-foot { display: flex; justify-content: space-between; gap: .6rem; flex-wrap: wrap; align-items: center; padding: .75rem 1rem; font-size: .92rem; }
.result-bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1rem; flex-wrap: wrap; }
.pagination { --bs-pagination-color: var(--wine); --bs-pagination-active-bg: var(--wine); --bs-pagination-active-border-color: var(--wine); --bs-pagination-border-color: var(--line); --bs-pagination-hover-color: var(--wine-dark); --bs-pagination-focus-box-shadow: 0 0 0 .2rem rgba(142,27,58,.15); }
.empty-state { background: #fff; border: 1px dashed var(--line); border-radius: 18px; padding: 2.5rem 1.5rem; text-align: center; }

/* Single listing ------------------------------------------------------------ */
.listing-head h1 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin: .4rem 0 .6rem; }
.listing-facts { display: flex; flex-wrap: wrap; gap: .5rem 1.1rem; color: var(--muted); font-size: .92rem; }
.listing-facts i { color: var(--wine); }
.gallery-main { border-radius: 18px; overflow: hidden; background: var(--wine-soft); position: relative; }
.gallery-main img { width: 100%; aspect-ratio: 870 / 580; object-fit: cover; }
.gallery-thumbs { display: flex; gap: .5rem; margin-top: .5rem; overflow-x: auto; }
.gallery-thumbs button { border: 2px solid transparent; padding: 0; border-radius: 10px; overflow: hidden; flex: 0 0 96px; height: 66px; background: none; }
.gallery-thumbs button.active, .gallery-thumbs button:hover { border-color: var(--wine); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.img-credit { font-size: .78rem; color: var(--muted); margin-top: .35rem; word-break: break-all; }
.action-row { display: flex; gap: .5rem; flex-wrap: wrap; margin: 1rem 0; }
.prose { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: clamp(1.2rem, 3vw, 2.2rem); font-size: 1.02rem; line-height: 1.75; overflow-wrap: anywhere; }
.prose h1, .prose h2 { font-size: 1.75rem; margin: 2rem 0 .7rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.prose > h1:first-child, .prose > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose h3 { font-size: 1.35rem; margin: 1.5rem 0 .5rem; }
.prose hr { display: none; }
.prose img { border-radius: 12px; height: auto !important; }
.prose iframe { max-width: 100%; border-radius: 12px; }
.prose table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: .95rem; }
.prose td, .prose th { border: 1px solid var(--line); padding: .5rem .7rem; }
.prose blockquote { border-left: 3px solid var(--gold); padding-left: 1rem; color: var(--muted); font-style: italic; }
.prose ul li::marker { color: var(--wine); }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1.3rem; box-shadow: 0 18px 40px rgba(94, 15, 38, .08); }
.contact-card .price-big { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--wine); line-height: 1.05; }
.contact-card .head { border-bottom: 1px dashed var(--line); padding-bottom: .9rem; margin-bottom: .9rem; }
.sticky-side { position: sticky; top: 92px; }
.tag-cloud a { display: inline-block; margin: 0 .35rem .45rem 0; padding: .28rem .75rem; border-radius: 999px; background: var(--marigold-soft); color: #6b4700; font-size: .84rem; text-decoration: none; }
.tag-cloud a:hover { background: var(--marigold); color: var(--ink); }
.review { border-bottom: 1px solid var(--line); padding: 1rem 0; }
.review:last-child { border-bottom: 0; }
.vendor-reply { background: var(--blush); border-left: 3px solid var(--wine); border-radius: 8px; padding: .6rem .9rem; margin-top: .6rem; font-size: .93rem; }
.rating-input { display: inline-flex; flex-direction: row-reverse; gap: .15rem; }
.rating-input input { display: none; }
.rating-input label { font-size: 1.6rem; color: #d8c4bb; cursor: pointer; }
.rating-input input:checked ~ label, .rating-input label:hover, .rating-input label:hover ~ label { color: var(--marigold); }
.rating-summary .big { font-family: var(--font-display); font-size: 3rem; font-weight: 700; line-height: 1; color: var(--wine); }
.mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1040; background: #fff; border-top: 1px solid var(--line); padding: .55rem .75rem; display: flex; gap: .5rem; box-shadow: 0 -8px 24px rgba(42, 18, 32, .1); }
.mobile-cta .btn { flex: 1; }
@media (min-width: 992px) { .mobile-cta { display: none; } }
@media (max-width: 991.98px) { body.has-mobile-cta { padding-bottom: 72px; } }

/* Vendors CTA band */
.vendor-band { background: var(--wine); color: #fbe6ec; border-radius: 24px; padding: clamp(1.6rem, 4vw, 3rem); position: relative; overflow: hidden; }
.vendor-band h2 { color: #fff; }
.vendor-band::after { content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 320px; border: 2px solid rgba(242, 160, 7, .45); border-radius: 50% 50% 0 0 / 40% 40% 0 0; }
.stat-line { display: flex; gap: 2.2rem; flex-wrap: wrap; }
.stat-line div b { display: block; font-family: var(--font-display); font-size: 2.1rem; color: var(--wine); line-height: 1; }
.stat-line div span { color: var(--muted); font-size: .9rem; }
.how li { margin-bottom: .9rem; }
.how li b { display: block; }

/* Plans */
.plan { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 1.8rem; height: 100%; }
.plan.highlight { border: 2px solid var(--wine); box-shadow: 0 24px 50px rgba(94, 15, 38, .12); }
.plan .price { font-family: var(--font-display); font-size: 2.8rem; font-weight: 700; color: var(--wine); line-height: 1; }
.plan li { margin-bottom: .45rem; }
.plan li i { color: var(--mehendi); margin-right: .35rem; }

/* Auth */
.auth-wrap { max-width: 520px; margin: 2.5rem auto; }
.auth-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: clamp(1.4rem, 4vw, 2.4rem); }
.type-switch { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.type-switch input { display: none; }
.type-switch label { border: 1.5px solid var(--line); border-radius: 14px; padding: .8rem; cursor: pointer; text-align: center; font-weight: 600; }
.type-switch label small { display: block; font-weight: 400; color: var(--muted); }
.type-switch input:checked + label { border-color: var(--wine); background: var(--wine-soft); color: var(--wine); }

/* Compare tray + table */
.compare-tray { position: fixed; right: 1rem; bottom: 1rem; z-index: 1050; background: var(--ink); color: #fff; border-radius: 999px; padding: .45rem .5rem .45rem 1.1rem; display: none; align-items: center; gap: .8rem; box-shadow: 0 14px 30px rgba(0, 0, 0, .25); }
.compare-tray.show { display: flex; }
.compare-tray .btn { padding: .35rem .9rem; }
body.has-mobile-cta .compare-tray { bottom: 84px; }
.compare-table th { width: 160px; color: var(--muted); font-weight: 600; }
.compare-table td, .compare-table th { vertical-align: top; }

/* Footer */
.site-footer { background: var(--ink); color: #d9c3cb; margin-top: 4rem; padding: 3.5rem 0 1.5rem; font-size: .93rem; }
.site-footer h4 { color: #fff; font-family: var(--font-body); font-size: 1rem; font-weight: 700; margin-bottom: .9rem; }
.site-footer a { color: #d9c3cb; text-decoration: none; }
.site-footer a:hover { color: var(--marigold); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .4rem; }
.site-footer .brand-word { color: #fff; }
.site-footer .bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 2.5rem; padding-top: 1.2rem; font-size: .85rem; }
.site-footer .form-control { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .15); color: #fff; }
.site-footer .form-control::placeholder { color: #b9a2ab; }
.social a { width: 36px; height: 36px; display: inline-grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .08); margin-right: .35rem; }

/* Toasts */
.toast-zone { position: fixed; top: 1rem; right: 1rem; z-index: 2000; display: flex; flex-direction: column; gap: .5rem; }
.vw-toast { background: var(--ink); color: #fff; border-radius: 12px; padding: .75rem 1rem; max-width: 340px; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); font-size: .92rem; }
.vw-toast.error { background: #9b1c1c; }

/* Gallery page */
.masonry { columns: 4 240px; column-gap: 1rem; }
.masonry a { display: block; margin-bottom: 1rem; border-radius: 14px; overflow: hidden; position: relative; break-inside: avoid; }
.masonry a span { position: absolute; left: 0; right: 0; bottom: 0; padding: .6rem .8rem; color: #fff; font-size: .85rem; background: linear-gradient(transparent, rgba(42, 18, 32, .8)); }

/* Ad slot */
.ad-slot { text-align: center; margin: 1rem 0; overflow: hidden; }
.ad-slot img { max-width: 100%; height: auto; }
.ad-slot img[data-src] { height: 75px; object-fit: cover; }

@media (max-width: 575.98px) {
  .hero { padding: 2rem 0 3.5rem; }
  .section { padding: 2.5rem 0; }
  .arch-window { max-width: 300px; margin: 2rem auto 1rem; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } html { scroll-behavior: auto; } }

/* Advice section */
.afilters { display: grid; gap: .6rem; }
.afilter { display: flex; gap: .4rem 1rem; align-items: baseline; flex-wrap: wrap; }
.afilter-label { font-weight: 700; font-size: .9rem; color: var(--wine); min-width: 7rem; }
.acard { background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; height: 100%; display: flex; flex-direction: column; }
.acard-top { display: block; aspect-ratio: 430 / 200; background: var(--wine-soft); overflow: hidden; }
.acard-top img { width: 100%; height: 100%; object-fit: cover; }
.acard-art { display: grid; place-items: center; width: 100%; height: 100%; font-size: 2.6rem; color: var(--wine); background: radial-gradient(circle at 70% 30%, var(--marigold-soft), var(--wine-soft)); }
/* articles without a photo get a short band with the topic icon instead of a large empty block */
.acard-top:has(.acard-art) { aspect-ratio: auto; height: 76px; }
.acard-top:has(.acard-art) .acard-art { font-size: 1.7rem; place-items: center start; padding-left: 1.1rem; }
.acard-body { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.acard-meta { display: flex; justify-content: space-between; gap: .5rem; font-size: .82rem; color: var(--muted); }
.acard-meta a { color: var(--wine); text-decoration: none; font-weight: 600; }
.acard h2 { font-family: var(--font-body); font-size: 1.05rem; font-weight: 700; line-height: 1.35; margin: 0; }
.acard h2 a { color: var(--ink); text-decoration: none; }
.acard h2 a:hover { color: var(--wine); }
.acard p { color: var(--muted); font-size: .92rem; margin: 0; }
.acard-tags { margin-top: auto; display: flex; gap: .35rem; flex-wrap: wrap; padding-top: .4rem; }
.acard-tags span { font-size: .75rem; background: var(--blush); border-radius: 999px; padding: .15rem .6rem; color: var(--muted); }
.toc { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 14px; padding: 1rem 1.2rem; margin-bottom: 1rem; }
.toc ol { margin: .5rem 0 0; padding-left: 1.2rem; }
.toc li { margin-bottom: .25rem; }
.cat-content .accordion-button { font-weight: 600; color: var(--ink); background: transparent; box-shadow: none; padding: .8rem 0; }
.cat-content .accordion-button:not(.collapsed) { color: var(--wine); }
.cat-content .accordion-body { padding: 0 0 1rem; color: var(--muted); }
.popular-searches a { display: inline-block; margin: 0 .9rem .5rem 0; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.popular-searches a:hover { color: var(--wine); border-color: var(--wine); }

/* Around the world: location cards on the home page */
.place-card { border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid var(--line); height: 100%; display: flex; flex-direction: column; }
.place-main { position: relative; display: block; min-height: 170px; color: #fff; text-decoration: none; background: var(--wine); }
.place-card.no-photo .place-main { background: radial-gradient(circle at 85% 15%, rgba(242, 160, 7, .55), transparent 55%), linear-gradient(135deg, var(--wine), #4a0d22); }
.place-main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.place-main::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(42, 18, 32, .05), rgba(42, 18, 32, .8)); }
.place-in { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: flex-end; min-height: 170px; padding: 1.1rem 1.2rem; }
.place-in h3 { color: #fff; margin: 0; font-size: 1.6rem; }
.place-count { font-size: .9rem; opacity: .92; }
.place-cur { position: absolute; top: .9rem; right: .9rem; background: rgba(255, 255, 255, .92); color: var(--wine); font-weight: 700; font-size: .8rem; border-radius: 999px; padding: .15rem .6rem; }
.place-links { display: flex; flex-wrap: wrap; gap: .35rem; padding: .75rem .9rem .9rem; }
.place-links a { font-size: .82rem; border: 1px solid var(--line); border-radius: 999px; padding: .2rem .65rem; color: var(--ink); text-decoration: none; background: var(--blush); }
.place-links a:hover { border-color: var(--wine); color: var(--wine); }
.world-empty { border: 1px dashed var(--line); border-radius: 18px; padding: 1.4rem; background: #fff; }

/* ---------- Filter panel ---------- */
.filters { background: #fff; border: 1px solid #f0dfe3; border-radius: 22px; padding: 1.35rem 1.25rem 1.4rem; box-shadow: 0 10px 30px rgba(94, 15, 38, .06); }
.filters.is-applying { opacity: .6; pointer-events: none; transition: opacity .15s; }
.filters-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.filters-title { margin: 0; font-size: 1.75rem; }
.filters-toggle { display: inline-flex; align-items: center; gap: .55rem; border: 0; background: none; padding: 0; font: inherit; color: var(--ink); }
.filters-toggle .bi-funnel { font-size: 1.35rem; }
.filters-toggle .toggle-chev { font-size: .9rem; color: var(--muted); transition: transform .2s; }
.filters-toggle[aria-expanded="true"] .toggle-chev { transform: rotate(180deg); }
.filters-clear { font-size: .95rem; font-weight: 500; white-space: nowrap; }
@media (min-width: 992px) { .filters-toggle { pointer-events: none; } .filters-toggle .toggle-chev { display: none; } }
.f-search { position: relative; margin-top: 1.1rem; }
.f-search .bi { position: absolute; left: .95rem; top: 50%; transform: translateY(-50%); font-size: 1.05rem; color: var(--ink); pointer-events: none; }
.f-search .form-control { padding: .7rem .9rem .7rem 2.6rem; border-radius: 12px; border-color: #e4d3d7; }
.f-search .form-control::-webkit-search-cancel-button { cursor: pointer; }
.filters .f-label { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin: 1.35rem 0 .6rem; font-family: var(--font-body); font-size: 1.05rem; font-weight: 700; color: var(--wine); }
.filters .f-label h3 { margin: 0; font-family: var(--font-body); font-size: 1.05rem; font-weight: 700; color: var(--wine); display: flex; align-items: center; }
.filters h3.f-label { justify-content: flex-start; }
.filters .f-label .bi { font-size: 1.15rem; margin-right: .6rem; color: var(--wine); }
.filters .f-label label { margin: 0; cursor: pointer; }
.f-all { font-size: .92rem; font-weight: 500; color: var(--muted); text-decoration: none; }
.f-all:hover, .f-all.active { color: var(--wine); }
.filters .zone-list, .filters .budget-list { max-height: none; overflow: visible; display: grid; gap: .5rem; }
.filters .zone-row, .filters .budget-row { display: flex; align-items: center; gap: .75rem; padding: .55rem .6rem .55rem .9rem; border: 1px solid #ead9dd; border-radius: 12px; background: #fff; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; transition: background .15s, border-color .15s; }
.filters .zone-row:hover, .filters .budget-row:hover { border-color: #d9b3bd; background: #fdf7f8; color: var(--ink); }
.filters .zone-row .bi { font-size: .85rem; color: var(--ink); }
.filters .zone-row .zn, .filters .budget-row .bn { flex: 1; min-width: 0; }
.filters summary.zone-row { list-style: none; cursor: pointer; }
.filters summary.zone-row::-webkit-details-marker { display: none; }
.filters .zone-row .bi-chevron-right { transition: transform .2s; }
.filters .zone-item[open] > .zone-row .bi-chevron-right { transform: rotate(90deg); }
.filters .zone-item[open] > .zone-row, .filters .zone-row.is-on { background: #f6dde4; border-color: #f6dde4; color: var(--wine); }
.filters .zone-item[open] > .zone-row .bi, .filters .zone-row.is-on .bi { color: var(--wine); }
.filters .zone-picked { font-weight: 500; font-size: .78rem; color: var(--wine); background: #fff; border-radius: 999px; padding: .05rem .45rem; margin-left: .25rem; white-space: nowrap; }
.filters .zone-row .bi-dot { font-size: 1.1rem; margin: 0 -.2rem; }
.filters .count { min-width: 2rem; padding: .1rem .55rem; border-radius: 999px; background: #f4ecee; color: var(--ink); font-size: .82rem; font-weight: 600; text-align: center; }
.filters .zone-item[open] > .zone-row .count, .filters .zone-row.is-on .count { background: rgba(255, 255, 255, .55); }
.filters .loc-list { margin: .35rem 0 .35rem 1.15rem; padding: .1rem 0 .1rem .75rem; border-left: 2px solid #e7b9c5; display: grid; gap: .15rem; }
.filters .loc-row { display: flex; align-items: center; gap: .75rem; padding: .38rem .6rem; border-radius: 10px; color: var(--ink); text-decoration: none; font-size: .93rem; }
.filters .loc-row:hover { background: #fbf2f4; color: var(--ink); }
.filters .loc-row .box { flex: none; width: 18px; height: 18px; border: 1.5px solid #b9a4aa; border-radius: 4px; display: grid; place-items: center; background: #fff; }
.filters .loc-row .box .bi { font-size: .8rem; color: #fff; opacity: 0; }
.filters .loc-row .ln { flex: 1; min-width: 0; }
.filters .loc-row .n { color: var(--muted); font-size: .85rem; }
.filters .loc-row.active { background: #f6dde4; color: var(--wine); font-weight: 600; }
.filters .loc-row.active .box { background: var(--wine); border-color: var(--wine); }
.filters .loc-row.active .box .bi { opacity: 1; }
.filters .loc-row .box.round { border-radius: 50%; }
.filters .loc-whole.active .box.round { background: #fff; border: 5px solid var(--wine); }
.filters .loc-whole .ln { font-style: normal; color: var(--muted); }
.filters .loc-whole.active .ln { color: var(--wine); }
.filters .loc-more { display: block; }
.filters .loc-more > summary { list-style: none; cursor: pointer; padding: .35rem .6rem; font-size: .88rem; font-weight: 600; color: var(--wine); }
.filters .loc-more > summary::-webkit-details-marker { display: none; }
.filters .loc-more[open] > summary { display: none; }
.filters .loc-picked { margin: .6rem 0 0; font-size: .88rem; color: var(--muted); }
.filters .budget-row small { color: var(--muted); font-weight: 400; }
.filters .budget-row .dot { flex: none; width: 16px; height: 16px; border: 1.5px solid #b9a4aa; border-radius: 50%; background: #fff; }
.filters .budget-row.active { background: #f6dde4; border-color: #f6dde4; color: var(--wine); }
.filters .budget-row.active .dot { border: 5px solid var(--wine); }
.filters .budget-row.active small { color: #8a5a66; }
.filters .form-select { border-radius: 10px; border-color: #e4d3d7; padding-top: .6rem; padding-bottom: .6rem; }
.f-switch { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.35rem; }
.f-switch label { display: flex; align-items: center; gap: .6rem; margin: 0; font-size: 1rem; cursor: pointer; }
.f-switch label .bi { font-size: 1.15rem; color: var(--wine); }
.f-switch .form-check-input { width: 2.9em; height: 1.55em; cursor: pointer; border-color: #e4d3d7; background-color: #f1e6e8; }
.f-switch .form-check-input:not(:checked) { --bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e"); }
.f-switch .form-check-input:checked { background-color: var(--wine); border-color: var(--wine); }
.filters .filters-apply { margin-top: 1.4rem; padding: .8rem 1rem; border-radius: 999px; font-size: 1.05rem; font-weight: 600; }
.result-count { font-size: 1rem; }
.result-count b { font-weight: 700; }
.result-bar label { font-size: .95rem; }
.sort-select { border: 0; background-color: transparent; font-weight: 600; padding-left: .25rem; width: auto; box-shadow: none; }
.sort-select:focus { box-shadow: 0 0 0 .2rem rgba(142, 27, 58, .15); }

#results.is-loading { opacity: .55; pointer-events: none; transition: opacity .15s; }
#near-you-body.is-loading { opacity: .55; transition: opacity .15s; }
.chips-sm .chip { padding: .3rem .7rem; font-size: .85rem; }
button.chip { font: inherit; cursor: pointer; }

/* thin progress line while the next page loads in place */
html.vw-loading::before { content: ""; position: fixed; top: 0; left: 0; height: 3px; width: 30%; background: #8e1b3a; z-index: 2000; animation: vwbar 1s ease-in-out infinite; }
@keyframes vwbar { 0% { left: -30%; } 100% { left: 100%; } }
html.vw-loading .panel-body, html.vw-loading #main { opacity: .7; transition: opacity .2s; }

.band-kicker { display: inline-block; background: rgba(255, 255, 255, .18); color: #fff; font-weight: 600; font-size: .85rem; letter-spacing: .02em; padding: .25rem .75rem; border-radius: 999px; margin-bottom: .6rem; }

.hero-vendor { margin-top: 1.4rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem 1.5rem; flex-wrap: wrap; max-width: 36rem; padding: 1rem 1.25rem; border-radius: 16px; background: var(--wine-dark); color: #fff; box-shadow: 0 14px 34px rgba(94, 15, 38, .22); }
.hero-vendor-text { display: grid; gap: .15rem; flex: 1 1 18rem; }
.hero-vendor-tag { font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--marigold); }
.hero-vendor strong { font-family: var(--font-display); font-size: 1.35rem; line-height: 1.2; font-weight: 600; }
.hero-vendor-text > span:last-child { font-size: .92rem; color: #f3dfe5; }
.hero-vendor-btn { flex: none; white-space: nowrap; font-weight: 700; border-radius: 999px; padding: .6rem 1.1rem; }
@media (max-width: 575.98px) { .hero-vendor { padding: .9rem 1rem; } .hero-vendor strong { font-size: 1.15rem; } .hero-vendor-btn { width: 100%; } }


/* ---------- List / grid view ---------- */
.view-toggle { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: .15rem; background: #fff; }
.view-toggle button { border: 0; background: transparent; color: var(--muted); width: 34px; height: 30px; border-radius: 999px; display: grid; place-items: center; font-size: 1.05rem; }
.view-toggle button[aria-pressed="true"] { background: var(--wine); color: #fff; }
/* list view (default): one vendor per row, photo on the left */
html:not(.view-grid) .vlist { --bs-columns: 1; }
html:not(.view-grid) .vlist > .col { flex: 0 0 100%; max-width: 100%; }
html:not(.view-grid) .vlist .vcard { flex-direction: row; gap: 1rem; padding: .7rem; align-items: stretch; }
html:not(.view-grid) .vlist .vcard-media { flex: 0 0 240px; width: 240px; aspect-ratio: 4 / 3; border-radius: 14px; }
html:not(.view-grid) .vlist .vcard-body { padding: .25rem .5rem .25rem 0; }
html:not(.view-grid) .vlist .vcard h3 { font-size: 1.15rem; }
html:not(.view-grid) .vlist .vcard .fav { top: 1rem; right: 1rem; }
html:not(.view-grid) .vlist .vcard .actions { padding-top: .8rem; }
@media (max-width: 575.98px) {
  html:not(.view-grid) .vlist .vcard-media { flex-basis: 128px; width: 128px; aspect-ratio: 1; }
  html:not(.view-grid) .vlist .vcard h3 { font-size: 1rem; }
  html:not(.view-grid) .vlist .vcard .actions .btn { padding: .28rem .55rem; font-size: .78rem; }
}

/* ---------- Wide listing pages + map ---------- */
.container-wide { max-width: none; padding-left: clamp(1rem, 3vw, 96px); padding-right: clamp(1rem, 3vw, 96px); }
.map-col { display: none; }
.map-col.show { display: block; order: -1; }
@media (min-width: 1200px) { .map-col { display: block; order: 0; } .js-map-toggle { display: none; } }
.map-sticky { position: sticky; top: 84px; }
.vmap { height: min(72vh, 760px); min-height: 320px; border-radius: 18px; border: 1px solid var(--line); background: var(--wine-soft); overflow: hidden; }
.map-col.show .vmap { height: 320px; }
.map-note { padding: .5rem .25rem 0; }
.vpin span { display: block; width: 22px; height: 22px; margin: 2px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--wine); border: 2px solid #fff; box-shadow: 0 3px 8px rgba(42, 18, 32, .35); }
.vpin.active span { background: var(--marigold); transform: rotate(-45deg) scale(1.2); }
.vpop { display: flex; gap: .6rem; align-items: flex-start; min-width: 200px; font-family: var(--font-body); }
.vpop img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; flex: none; }
.vpop a { color: var(--ink); text-decoration: none; } .vpop a:hover { color: var(--wine); }
.vpop-price { font-weight: 700; color: var(--wine); margin-top: .15rem; }
.leaflet-popup-content-wrapper { border-radius: 14px; } .leaflet-popup-content { margin: .7rem .8rem; }
.vcard.is-hot { box-shadow: 0 0 0 3px var(--marigold); }
@media (min-width: 1200px) and (max-width: 1399.98px) { .has-map .vlist.view-list .vcard-media, html:not(.view-grid) .has-map .vlist .vcard-media { flex-basis: 200px; width: 200px; } }
