/* JoDate — Wedding Vendors directory, design v2 (1.58.0).
   Loaded only by wedding-vendors/index on top of wedding.css; every rule is scoped to .wv2. */
.wv2 {
    --v2-ivory: #fbf7ef;
    --v2-ivory-2: #f5eedf;
    --v2-gold-line: #ecdcb5;
    --v2-serif: 'Fraunces', Georgia, 'Times New Roman', serif;
}

/* ---------- sub navigation ---------- */
.wv2 .wv-subnav { gap: 8px; }
.wv2 .wv-subnav a { border-radius: 999px; }

/* ---------- Hero ---------- */
.wv2 .wd-hero {
    color: var(--wd-ink);
    background:
        radial-gradient(520px 320px at 92% 8%, rgba(244, 185, 66, .22), transparent 70%),
        radial-gradient(420px 300px at 0% 100%, rgba(18, 64, 60, .07), transparent 70%),
        var(--v2-ivory);
    border: 1px solid var(--v2-gold-line);
    padding: 54px 52px 46px;
    gap: 40px;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
}
.wv2 .wd-hero::after {
    background-image: radial-gradient(rgba(18, 64, 60, .09) 1px, transparent 1px);
    mask-image: linear-gradient(90deg, transparent 40%, #000 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 40%, #000 100%);
}
.wv2 .wd-hero--slim { padding: 30px 36px; grid-template-columns: 1fr; }
.wv2 .wd-eyebrow {
    display: inline-flex; align-items: center; gap: 7px;
    background: #fff; color: var(--wd-gold-ink); border: 1px solid var(--v2-gold-line);
    font-weight: 800; letter-spacing: .04em;
}
.wv2 .wd-hero h1 { color: #10221f; font-size: clamp(32px, 4.2vw, 54px); letter-spacing: -.025em; margin: 18px 0 14px; }
.wv2 .wd-hero--slim h1 { font-size: clamp(26px, 3vw, 38px); margin: 12px 0 18px; }
.wv2 .wd-hero h1 em {
    font-family: var(--v2-serif); font-style: italic; font-weight: 600; letter-spacing: -.01em;
    color: #b07a10;
}
.wv2 .wd-hero p { color: #4b5d59; font-size: 17px; }

.wv2 .wd-search {
    border: 1px solid #e6dcc6;
    box-shadow: 0 1px 2px rgba(16, 40, 37, .05), 0 18px 40px rgba(16, 40, 37, .10);
    border-radius: 22px;
}
.wv2 .wd-search-field > span { color: var(--wd-gold-ink); }
.wv2 .wd-search-btn { background: var(--wd-pine); color: #fff; border-radius: 16px; padding: 0 26px; }
.wv2 .wd-search-btn:hover { filter: none; background: #0e3532; }

.wv2 .wd-popular > span { color: var(--wd-muted); }
.wv2 .wd-popular a {
    background: #fff; color: var(--wd-ink); border: 1px solid #e6dcc6;
}
.wv2 .wd-popular a:hover { border-color: var(--wd-pine); color: var(--wd-pine); background: #fff; }

.wv2 .wd-stats { border-top: 1px solid var(--v2-gold-line); gap: 34px; }
.wv2 .wd-stats strong { color: var(--wd-pine); font-family: var(--wd-head); font-size: 28px; }
.wv2 .wd-stats span { color: var(--wd-muted); }

/* arch photo collage */
.wv2 .wv2-arches { position: relative; z-index: 1; height: 430px; }
.wv2 .wv2-arch {
    position: absolute; display: block; overflow: hidden;
    border-radius: 999px 999px 26px 26px;
    background: linear-gradient(160deg, #e8efe9, #d5e4df);
    border: 6px solid #fff;
    box-shadow: 0 2px 4px rgba(16, 40, 37, .06), 0 24px 50px rgba(16, 40, 37, .16);
}
.wv2 .wv2-arch img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.wv2 .wv2-arch:hover img { transform: scale(1.05); }
.wv2 .wv2-arch--1 { width: 54%; height: 92%; left: 23%; top: 0; z-index: 2; }
.wv2 .wv2-arch--2 { width: 36%; height: 62%; left: 0; bottom: 4%; }
.wv2 .wv2-arch--3 { width: 36%; height: 62%; right: 0; bottom: 4%; }
.wv2 .wv2-arch--empty { display: flex; align-items: center; justify-content: center; color: rgba(18, 64, 60, .35); }
.wv2 .wv2-arch--empty svg { width: 34%; height: auto; }
.wv2 .wv2-float {
    position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 7px;
    padding: 10px 14px; border-radius: 14px; background: #fff; color: var(--wd-ink);
    font-size: 13px; font-weight: 600; white-space: nowrap;
    box-shadow: 0 14px 30px rgba(16, 40, 37, .16);
}
.wv2 .wv2-float b { color: #b07a10; }
.wv2 .wv2-float--a { left: 6%; top: 10%; }
.wv2 .wv2-float--b { right: 2%; bottom: 0; color: var(--wd-pine); font-weight: 700; }

/* ---------- Free planning tools ---------- */
.wv2 .wd-tools { background: #fff; border: 1px solid var(--wd-line); padding: 28px; }
.wv2 .wd-tools-head h2 { margin: 0; }
.wv2 .wd-tool {
    position: relative; padding: 18px 18px 20px; border: 1px solid var(--wd-line); border-radius: 18px;
    background: linear-gradient(180deg, #fff, #fbfcfb);
}
.wv2 .wd-tool:hover { border-color: var(--wd-pine); box-shadow: var(--wd-shadow); }
.wv2 .wd-tool-ic {
    display: inline-flex; align-items: center; justify-content: center;
    width: 46px; height: 46px; border-radius: 14px; margin-bottom: 10px;
    background: var(--v2-ivory-2); color: var(--wd-pine);
    transition: background .15s, color .15s;
}
.wv2 .wd-tool-ic svg { width: 22px; height: 22px; }
.wv2 .wd-tool:hover .wd-tool-ic { background: var(--wd-pine); color: var(--wd-sun); }
.wv2 .wd-tool > span:nth-of-type(2) { font-size: 13px; color: var(--wd-muted); }
.wv2 .wv2-arrow {
    position: absolute; right: 16px; top: 18px; font-style: normal; font-weight: 700;
    color: var(--wd-muted); opacity: 0; transform: translateX(-4px); transition: opacity .2s, transform .2s;
}
.wv2 .wd-tool:hover .wv2-arrow { opacity: 1; transform: none; color: var(--wd-pine); }

/* ---------- How it works ---------- */
.wv2 .wv2-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: none; }
.wv2 .wv2-steps li {
    position: relative; padding: 24px 22px 22px; border-radius: 20px;
    background: var(--v2-ivory); border: 1px solid var(--v2-gold-line);
}
.wv2 .wv2-steps strong { display: block; font-family: var(--wd-head); font-size: 19px; color: #10221f; margin: 14px 0 6px; }
.wv2 .wv2-steps p { margin: 0; color: #4b5d59; font-size: 14.5px; line-height: 1.55; }
.wv2 .wv2-step-n {
    display: inline-flex; align-items: center; justify-content: center;
    width: 38px; height: 38px; border-radius: 50%;
    background: var(--wd-pine); color: var(--wd-sun); font-weight: 800; font-size: 16px;
}

/* ---------- Categories ---------- */
.wv2 .wd-cat { padding: 18px 16px; border-radius: 18px; }
.wv2 .wd-cat-ic { width: 48px; height: 48px; border-radius: 50%; background: var(--v2-ivory-2); color: #9a6a0c; }
.wv2 .wd-cat:hover .wd-cat-ic { background: var(--wd-pine); color: var(--wd-sun); }
.wv2 .wd-section-head h2 { font-size: clamp(22px, 2.4vw, 28px); letter-spacing: -.015em; }

/* ---------- Featured (photo cards with the name on the picture) ---------- */
.wv2 .wv2-feat { position: relative; border: 0; border-radius: 22px; background: #0f2c29; }
.wv2 .wv2-feat .wd-feat-photo { aspect-ratio: 4 / 5; }
.wv2 .wv2-feat .wd-feat-photo::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(10, 25, 23, 0) 40%, rgba(10, 25, 23, .82) 100%);
}
.wv2 .wv2-feat .wd-feat-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 18px; color: #fff; }
.wv2 .wv2-feat .wd-card-cat { color: var(--wd-sun); }
.wv2 .wv2-feat strong { color: #fff; font-size: 18px; }
.wv2 .wv2-feat .wd-card-meta, .wv2 .wv2-feat .wd-dim { color: rgba(255, 255, 255, .82); }
.wv2 .wv2-feat .wd-feat-photo .wd-badge { z-index: 2; }

/* ---------- Filters ---------- */
.wv2 .wd-filters { border-radius: 22px; padding: 22px; box-shadow: 0 1px 2px rgba(16, 40, 37, .04); }
.wv2 .wd-fgroup select,
.wv2 .wd-fgroup input[type=search],
.wv2 .wd-fgroup input[type=date],
.wv2 .wd-fgroup input[type=number] {
    width: 100%; box-sizing: border-box; padding: 10px 12px; min-height: 42px;
    border-radius: 12px; border: 1px solid var(--wd-line); background: var(--wd-soft);
    font: 500 14px 'DM Sans', sans-serif; color: var(--wd-ink); box-shadow: none;
}
.wv2 .wd-fgroup select:focus,
.wv2 .wd-fgroup input:focus { outline: 0; border-color: var(--wd-pine); background: #fff; box-shadow: 0 0 0 3px rgba(18, 64, 60, .12); }
.wv2 .wd-fgroup input[type=number] { -moz-appearance: textfield; }
.wv2 .wd-fcats a.is-active { background: var(--wd-pine); color: #fff; }

/* ---------- Results ---------- */
.wv2 .wd-results-bar { padding-bottom: 14px; border-bottom: 1px solid var(--wd-line); margin-bottom: 18px; }
.wv2 .wd-count { font-family: var(--wd-head); font-size: 22px; }
.wv2 .wd-card { border-radius: 20px; }
.wv2 .wd-card-name { font-size: 17px; }
.wv2 .wd-price { font-size: 16px; }

/* ---------- Vendor call to action ---------- */
.wv2 .wd-cta { padding: 40px 40px; border-radius: 28px; align-items: center; }
.wv2 .wd-cta .wd-eyebrow { background: rgba(255, 255, 255, .1); color: var(--wd-sun); border-color: rgba(244, 185, 66, .4); }
.wv2 .wd-cta h2 { font-size: clamp(24px, 2.8vw, 32px); }
.wv2 .wv2-cta-list { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.wv2 .wv2-cta-list li { position: relative; padding-left: 24px; color: #fff; font-weight: 600; font-size: 14.5px; }
.wv2 .wv2-cta-list li::before {
    content: "✓"; position: absolute; left: 0; top: 0; width: 17px; height: 17px; border-radius: 50%;
    background: var(--wd-sun); color: #2a1d00; font-size: 11px; font-weight: 900; line-height: 17px; text-align: center;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .wv2 .wd-hero { grid-template-columns: 1fr; }
    .wv2 .wv2-arches { height: 340px; max-width: 560px; width: 100%; margin: 0 auto; }
}
@media (max-width: 760px) {
    .wv2 .wd-hero { padding: 30px 20px 26px; border-radius: 22px; }
    .wv2 .wv2-arches { height: 270px; }
    .wv2 .wv2-arch { border-width: 4px; }
    .wv2 .wv2-float { font-size: 12px; padding: 8px 11px; }
    .wv2 .wv2-steps { grid-template-columns: 1fr; }
    .wv2 .wd-stats { gap: 18px; }
    .wv2 .wd-stats strong { font-size: 22px; }
    .wv2 .wd-cta { padding: 28px 22px; }
    .wv2 .wd-search-btn { justify-content: center; padding: 14px 20px; min-height: 48px; }
    .wv2 .wd-tools { padding: 20px 16px; }
    .wv2 .wd-tools-grid { grid-template-columns: 1fr; gap: 10px; }
    .wv2 .wd-tool { display: grid; grid-template-columns: 46px 1fr; column-gap: 14px; align-items: center; padding: 14px 16px; }
    .wv2 .wd-tool-ic { grid-row: span 2; margin: 0; }
    .wv2 .wv2-arrow { opacity: 1; transform: none; top: 50%; margin-top: -11px; }
}

/* =====================================================================
   Vendor page (wedding-vendors/show) — .wv2v
   ===================================================================== */
.wv2v .wv2-i { flex: none; vertical-align: -3px; }
.wv2v .wd-crumbs nav a { color: var(--wd-muted); font-weight: 600; }
.wv2v .wd-crumbs nav a:hover { color: var(--wd-pine); }

/* gallery */
.wv2v .wd-gallery { gap: 10px; border-radius: 28px; background: var(--v2-ivory-2); height: clamp(280px, 44vw, 500px); margin-bottom: 0; }
.wv2v .wd-gallery img { border-radius: 0; }
.wv2v .wd-gallery-all { box-shadow: 0 8px 24px rgba(0, 0, 0, .18); }

/* profile header: an ivory card that overlaps the photos */
.wv2v .wd-vhead {
    position: relative; z-index: 2; align-items: center; gap: 20px;
    margin: -46px 24px 18px; padding: 22px 26px;
    background: #fff; border: 1px solid var(--v2-gold-line); border-radius: 24px;
    box-shadow: 0 2px 4px rgba(16, 40, 37, .05), 0 18px 40px rgba(16, 40, 37, .10);
}
.wv2v .wd-gallery + .wd-vhead { margin-top: -46px; }
.wv2v .wd-crumbs + .wd-vhead { margin: 0 0 18px; }
.wv2v .wv2-avatar {
    flex: none; display: flex; align-items: center; justify-content: center;
    width: 76px; height: 76px; border-radius: 22px; overflow: hidden;
    background: var(--wd-pine); color: var(--wd-sun); font: 800 32px var(--wd-head);
    box-shadow: 0 0 0 4px #fff, 0 0 0 5px var(--v2-gold-line);
}
.wv2v .wv2-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; background: #fff; }
.wv2v .wd-vhead-main { flex: 1; }
.wv2v .wd-vhead h1 { font-size: clamp(26px, 3.2vw, 38px); margin: 4px 0 8px; }
.wv2v .wd-vtagline { font-family: var(--v2-serif); font-style: italic; font-weight: 600; color: #8a6510; font-size: 17px; margin: 6px 0 0; }
.wv2v .wv2-views { display: inline-flex; align-items: center; gap: 5px; }
.wv2v .wd-vchip--cat { background: var(--v2-ivory-2); color: #7a5300; }

/* sticky in-page tabs */
.wv2v .wd-anchors { border-radius: 999px; padding: 5px; box-shadow: 0 6px 18px rgba(16, 40, 37, .06); }
.wv2v .wd-anchors a { border-radius: 999px; }
.wv2v .wd-anchors a:hover { background: var(--wd-pine); color: #fff; }
.wv2v .wd-anchors a:hover span { background: rgba(255, 255, 255, .2); color: #fff; }

/* panels */
.wv2v .wd-panel { border-radius: 24px; padding: 26px 28px; }
.wv2v .wd-panel h2, .wv2v .wd-side-card h2 { position: relative; padding-bottom: 10px; }
.wv2v .wd-panel h2::after, .wv2v .wd-side-card h2::after {
    content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 3px; border-radius: 3px; background: var(--wd-sun);
}
.wv2v .wd-panel-head h2 { padding-bottom: 10px; }
.wv2v .wd-facts div { position: relative; background: var(--v2-ivory); border: 1px solid #f1e6cc; padding: 14px 14px 14px 14px; }
.wv2v .wv2-fact-ic { display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; border-radius: 10px; background: #fff; color: #9a6a0c; margin-bottom: 8px; font-style: normal; }
.wv2v .wv2-fact-ic svg { width: 19px; height: 19px; }
.wv2v .wd-trust-ic { background: var(--wd-pine); color: var(--wd-sun); border-radius: 12px; }
.wv2v .wd-service { border-radius: 16px; }
.wv2v .wd-service-ic { background: var(--wd-pine); color: var(--wd-sun); border-radius: 50%; }
.wv2v .wv2-noreview-ic { color: var(--wd-sun); }

/* booking / action card */
.wv2v .wd-action { padding: 20px; overflow: hidden; border-radius: 24px; border-color: var(--v2-gold-line); gap: 10px; }
.wv2v .wd-action-price {
    margin: -20px -20px 8px; padding: 22px 22px 18px; border: 0;
    background: radial-gradient(260px 140px at 100% 0, rgba(244, 185, 66, .28), transparent 70%), var(--wd-pine);
    color: #fff;
}
.wv2v .wd-action-price small { color: rgba(255, 255, 255, .7); }
.wv2v .wd-action-price strong { color: #fff; }
.wv2v .wd-action-rating { color: rgba(255, 255, 255, .8); }
.wv2v .wd-action-rating .wd-stars { color: var(--wd-sun); }
.wv2v .wd-action .wd-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.wv2v .wd-action-note { display: flex; gap: 6px; align-items: flex-start; }
.wv2v .vp-response { display: flex; align-items: center; gap: 6px; }

.wv2v .wd-side-card { border-radius: 22px; }
.wv2v .wd-contact a > svg { background: var(--v2-ivory-2); color: #9a6a0c; }
.wv2v .wd-contact a:hover { background: var(--v2-ivory); }
.wv2v .wd-quote { border-top: 4px solid var(--wd-sun); }

@media (max-width: 900px) {
    .wv2v .wd-action { margin-top: 0; }
}
@media (max-width: 760px) {
    .wv2v .wd-vhead { margin: -30px 10px 16px; padding: 18px; flex-wrap: wrap; gap: 14px; }
    .wv2v .wv2-avatar { width: 58px; height: 58px; border-radius: 17px; font-size: 24px; }
    .wv2v .wd-vhead-actions { width: 100%; }
    .wv2v .wd-panel { padding: 22px 18px; }
}

/* =====================================================================
   Landing (wedding-vendors/index) and search page extras (1.58)
   ===================================================================== */
.wv2 .wv2-allcats { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 14px; font-weight: 700; color: var(--wd-pine); text-decoration: none; }
.wv2 .wv2-allcats:hover { text-decoration: underline; }
.wv2-catalog .wv2-group-nav { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 6px; margin: 0 0 8px; scrollbar-width: none; }
.wv2-catalog .wv2-group-nav::-webkit-scrollbar { display: none; }
.wv2-catalog .wv2-group-nav a { flex: none; padding: 8px 14px; border-radius: 999px; background: var(--v2-ivory); border: 1px solid var(--v2-gold-line); color: #6b4a06; font-size: 13.5px; font-weight: 700; text-decoration: none; }
.wv2-catalog .wv2-group-nav a:hover { background: var(--wd-pine); border-color: var(--wd-pine); color: #fff; }
.wv2-catalog .wv2-group { margin-top: 26px; scroll-margin-top: 20px; }
.wv2-catalog .wv2-group h3 { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; font-family: var(--wd-head); font-size: 18px; color: #10221f; }
.wv2-catalog .wv2-group h3::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--v2-gold-line), transparent); }
.wv2-catalog .wd-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.wv2-catalog .wv2-cat--empty span:last-child { color: #a8b3b0; }


/* ===== v1.64 category catalogue: uniform tiles, 4 across (2 on phones) ===== */
.wv2-catalog .wv2-group { margin-top: 30px; }
.wv2-catalog .wv2-group-head { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; }
.wv2-catalog .wv2-group-head h3 { margin: 0; font-family: var(--wd-head); font-size: 19px; color: #10221f; white-space: nowrap; }
.wv2-catalog .wv2-group-head h3::after { content: none; }
.wv2-catalog .wv2-group-head::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--v2-gold-line), transparent); order: 3; }
.wv2-catalog .wv2-group-meta { order: 4; flex: none; font-size: 13px; color: #7b6a45; font-weight: 600; }
.wv2-catalog .wv2-group-ic { flex: none; width: 36px; height: 36px; border-radius: 12px; background: var(--wd-pine); color: var(--wd-sun); display: grid; place-items: center; }
.wv2-catalog .wv2-group-ic svg { width: 19px; height: 19px; }
.wv2-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.wv2-tile { display: flex; align-items: center; gap: 14px; height: 86px; padding: 0 16px; border-radius: 18px; background: #fff; border: 1px solid #ece4d3; text-decoration: none !important; color: #10221f; box-shadow: 0 1px 2px rgba(18,64,60,.04); transition: border-color .18s, box-shadow .18s, transform .18s; }
.wv2-tile:hover { border-color: var(--wd-pine); box-shadow: 0 10px 24px rgba(18,64,60,.1); transform: translateY(-2px); }
.wv2-tile-ic { flex: none; width: 48px; height: 48px; border-radius: 14px; background: var(--v2-ivory-2, #f6efe0); color: #9a6a0c; display: grid; place-items: center; transition: background .18s, color .18s; }
.wv2-tile-ic svg { width: 24px; height: 24px; }
.wv2-tile:hover .wv2-tile-ic { background: var(--wd-pine); color: var(--wd-sun); }
.wv2-tile-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.wv2-tile-txt strong { font-size: 14.5px; line-height: 1.25; font-weight: 700; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.wv2-tile-txt small { font-size: 12.5px; color: #1d7a52; font-weight: 600; }
.wv2-tile.is-empty .wv2-tile-txt small { color: #a8b3b0; font-weight: 500; }
.wv2-tile-go { flex: none; color: #c9bfa8; transition: color .18s, transform .18s; }
.wv2-tile:hover .wv2-tile-go { color: var(--wd-pine); transform: translateX(2px); }
@media (max-width: 1100px) { .wv2-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
    .wv2-tiles { gap: 10px; }
    .wv2-tile { flex-direction: column; align-items: flex-start; justify-content: flex-start; height: 132px; padding: 14px; gap: 10px; }
    .wv2-tile-ic { width: 40px; height: 40px; border-radius: 12px; }
    .wv2-tile-ic svg { width: 21px; height: 21px; }
    .wv2-tile-go { display: none; }
    .wv2-tile-txt strong { font-size: 13.5px; }
    .wv2-catalog .wv2-group-meta { display: none; }
    .wv2-catalog .wv2-group-head h3 { font-size: 17px; white-space: normal; }
}
