/* =====================================================================
   VENDOOR CONNECT  |  FINISHING LAYER
   Loaded last on every page. Gives the inside pages the same warmth as
   the homepage: a blush page header with the woven strip, a steady
   rhythm of white, sand and blush sections, and cards that sit on a
   tinted ground instead of white on white.
   ===================================================================== */
:root {
    --vc-blush: #F3E7DA;
    --vc-sand: #F8F2EA;
    --vc-linen: #EFE3D4;
    --vc-line: #E6D6C4;
    --vc-cocoa: #4A3729;
    --vc-gold: #B8955A;
    --vc-terra: #C97A5A;
    --vc-section: 96px;
}

/* Sections that are limited in width still paint their colour edge to edge */
.vc-bleed { box-shadow: 0 0 0 100vmax var(--bleed); clip-path: inset(0 -100vmax); background: var(--bleed); }

/* ---------- 1. Page header band ---------- */
body .page-header, body .mem-hero, body .el-hero {
    background: var(--vc-blush) !important;
    border-bottom: 0 !important;
    padding: 88px 95px 84px !important;
    position: relative;
}
body .page-header::after, body .mem-hero::after, body .el-hero::after {
    display: block !important; content: '' !important;
    position: absolute; left: 0; right: 0; bottom: 0; height: 8px;
    background: repeating-linear-gradient(90deg,
      #5B4636 0 18px, #C8A96A 18px 24px, #C97A5A 24px 34px, #F3E7DA 34px 37px,
      #5B4636 37px 50px, #C97A5A 50px 56px, #C8A96A 56px 70px, #F3E7DA 70px 73px);
}
body .page-header > *, body .mem-hero > *, body .el-hero > * { max-width: var(--ed-wrap, 1240px); }
body .page-header h1, body .mem-hero h1, body .el-hero h1 { margin-bottom: 18px; }
body .page-header p, body .mem-hero p, body .el-hero p { color: #5A4E45; }
body .page-header .page-header-quote,
body .mem-hero .mem-hero-line,
body .el-hero .el-hero-line { color: var(--ink); }

/* The policy and small pages get a shorter band */
body.vc-short .page-header { padding: 64px 95px 60px !important; }

/* ---------- 2. Section rhythm ---------- */
.vc-sand  { background: var(--vc-sand) !important; }
.vc-blush { background: var(--vc-blush) !important; }
.vc-white { background: #fff !important; }
.vc-sand.vc-bleed  { --bleed: var(--vc-sand); }
.vc-blush.vc-bleed { --bleed: var(--vc-blush); }

/* hairline between two sections of the same colour */
.vc-rule-top { border-top: 1px solid var(--vc-line); }

/* Section headings: one size and spacing everywhere */
main h2, body > section h2 { font-size: clamp(30px, 3.2vw, 40px); line-height: 1.12; }

/* ---------- 3. Cards on tinted ground ---------- */
.template-card, .value-card, .mem-plan, .listing-card {
    background: #fff; border: 1px solid var(--vc-line) !important; box-shadow: none !important;
}
.template-card:hover, .listing-card:hover { border-color: var(--vc-gold) !important; }

/* Forms: white fields on sand, one border colour, one radius */
.contact-form input, .contact-form select, .contact-form textarea,
.mem-form input, .mem-form select, .mem-form textarea,
.review-form-card input, .review-form-card select, .review-form-card textarea,
.search-section input, .feed-toolbar select {
    background: #fff !important; border: 1px solid #DCCBB7 !important; border-radius: 0 !important;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus,
.mem-form input:focus, .mem-form select:focus, .mem-form textarea:focus,
.review-form-card input:focus, .review-form-card select:focus, .review-form-card textarea:focus,
.search-section input:focus { border-color: var(--vc-cocoa) !important; outline: none; box-shadow: 0 0 0 3px rgba(201,122,90,.15) !important; }

/* Filter chips */
.filters .filter-btn, .filters button {
    background: #fff; border: 1px solid #DCCBB7; color: var(--ink-soft);
}
.filters .filter-btn.active, .filters button.active,
.filters .filter-btn[aria-pressed="true"], .filters button[aria-pressed="true"] {
    background: var(--vc-cocoa); border-color: var(--vc-cocoa); color: #fff;
}

/* A side panel: tinted block with a gold top edge */
.vc-panel { background: var(--vc-blush) !important; border: 0 !important; border-top: 3px solid var(--vc-gold) !important; padding: 40px 40px 44px !important; }
.vc-panel-sand { background: var(--vc-sand) !important; border: 0 !important; border-top: 3px solid var(--vc-gold) !important; padding: 40px 40px 44px !important; }

/* ---------- 4. Page specific ---------- */

/* About */
.about-hero + .story-section { padding-top: var(--vc-section); padding-bottom: var(--vc-section); }
.values-section { padding-top: var(--vc-section) !important; padding-bottom: var(--vc-section) !important; }
.values-section .value-card { padding: 34px 32px 36px; border-top: 3px solid var(--vc-gold) !important; }
.values-section .value-card::before { display: none !important; }
.promo-banner { background: var(--vc-cocoa) !important; }
.promo-banner .btn, .promo-banner a.btn, .promo-banner .btn-gold, .promo-banner .ed-btn {
    background: #fff !important; color: var(--vc-cocoa) !important; border-color: #fff !important;
}
.promo-banner .btn:hover, .promo-banner .btn-gold:hover { background: var(--vc-terra) !important; border-color: var(--vc-terra) !important; color: #fff !important; }

/* Find vendors: directory block white, request + join block on sand */
.directory-head { padding-top: 72px !important; }
.find-vendors-page .contact-section, .vc-sand.contact-section { padding-top: var(--vc-section) !important; padding-bottom: var(--vc-section) !important; }
.vendor-join { background: #fff; border-top: 3px solid var(--vc-gold); padding: 40px 40px 44px; align-self: start; }

/* Planners */
.templates-section.vc-sand { padding-top: 64px !important; padding-bottom: var(--vc-section) !important; }
.search-section + .filters { padding-bottom: 36px !important; }
.related.vc-blush .template-card { background: #fff; }

/* Reviews */
.review-form-card { background: var(--vc-sand) !important; border: 0 !important; border-top: 3px solid var(--vc-gold) !important; box-shadow: none !important; padding: 36px 34px 40px !important; }
.how-reviews.vc-blush { padding-top: var(--vc-section) !important; padding-bottom: var(--vc-section) !important; }
.how-reviews .how-reviews-grid > * { border-top-color: var(--vc-gold); }

/* Vendor packages */
.mem-plans.vc-sand { padding-top: 80px !important; }
.mem-steps-section.vc-blush span { color: var(--vc-terra); }
.mem-trust { background: #fff; }
.mem-enquire.vc-sand { padding-top: var(--vc-section) !important; padding-bottom: var(--vc-section) !important; }
.mem-enquire .mem-form { background: #fff; border: 1px solid var(--vc-line); box-shadow: none; }

/* Contact */
.contact-info-wrap.vc-panel h2 { margin-top: 0; }
.contact-info-wrap .contact-method { border-bottom: 1px solid #E3CFBA; padding: 0 0 16px; margin: 0 0 18px; }
.contact-info-wrap .contact-method:last-child { border-bottom: 0; margin-bottom: 0; }

/* Custom planner */
.process-section.vc-sand { padding-top: 80px !important; padding-bottom: 80px !important; }
.process-number { color: var(--vc-terra) !important; }

/* Policies: readable column on white, contents list on the side */
.policy { padding-top: 64px; padding-bottom: 96px; }
.policy h2 { font-size: 26px !important; padding-top: 22px; border-top: 1px solid var(--vc-line); margin-top: 40px; }
.policy h2:first-of-type { border-top: 0; padding-top: 0; }
.policy-nav { background: var(--vc-sand); padding: 26px 28px; border-top: 3px solid var(--vc-gold); }

/* Single planner */
.template-detail { background: var(--vc-blush) !important; }
.related { padding-top: var(--vc-section) !important; padding-bottom: var(--vc-section) !important; }

/* Cart, thank you, 404, profile */
.cart-section { min-height: 40vh; }
.confirmation-section { background: var(--vc-sand); }

@media (max-width: 860px) {
    body .page-header, body .mem-hero, body .el-hero { padding: 56px 22px 52px !important; }
    body.vc-short .page-header { padding: 44px 22px 40px !important; }
    .vc-panel, .vc-panel-sand, .vendor-join { padding: 30px 24px 32px !important; }
    :root { --vc-section: 64px; }
}

/* ---------- 5. Event Liaison: the one package ---------- */
.el-intro { padding-top: var(--vc-section) !important; padding-bottom: var(--vc-section) !important; }
.vc-pkg { background: var(--vc-sand); padding: var(--vc-section) 93px; }
.vc-pkg-wrap { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 5fr 7fr; gap: 0; background: #fff; border: 1px solid var(--vc-line); }
.vc-pkg-side { background: var(--vc-cocoa); color: #E9DCCB; padding: 56px 48px 52px; position: relative; }
.vc-pkg-side::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 8px;
    background: repeating-linear-gradient(90deg, #5B4636 0 18px, #C8A96A 18px 24px, #C97A5A 24px 34px, #F3E7DA 34px 37px, #5B4636 37px 50px, #C97A5A 50px 56px, #C8A96A 56px 70px, #F3E7DA 70px 73px); }
.vc-pkg-side .vc-pkg-kicker { font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase; color: #D9BE8A; margin: 0 0 18px; }
.vc-pkg-side h2 { color: #fff; font-size: clamp(32px, 3.2vw, 42px); line-height: 1.08; margin: 0 0 20px; }
.vc-pkg-side .vc-pkg-lead { color: #E9DCCB; font-size: 16.5px; line-height: 1.75; font-weight: 300; margin: 0 0 30px; }
.vc-pkg-facts { margin: 0 0 34px; padding: 0; border-top: 1px solid rgba(233,220,203,.22); }
.vc-pkg-facts div { display: flex; justify-content: space-between; gap: 18px; padding: 14px 0; border-bottom: 1px solid rgba(233,220,203,.22); }
.vc-pkg-facts dt { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: #CDB89B; }
.vc-pkg-facts dd { margin: 0; color: #fff; font-size: 15.5px; text-align: right; }
.vc-pkg-side .btn { background: #fff !important; color: var(--vc-cocoa) !important; border-color: #fff !important; }
.vc-pkg-side .btn:hover { background: var(--vc-terra) !important; border-color: var(--vc-terra) !important; color: #fff !important; }
.vc-pkg-side .vc-pkg-note { font-size: 13.5px; line-height: 1.7; color: #CDB89B; margin: 30px 0 14px; }
.vc-pkg-list { padding: 52px 56px 48px; }
.vc-pkg-group { display: grid; grid-template-columns: 190px 1fr; column-gap: 32px; padding: 26px 0; border-bottom: 1px solid var(--vc-line); }
.vc-pkg-group:first-child { padding-top: 0; }
.vc-pkg-group h3 { grid-row: span 3; font-size: 21px; line-height: 1.25; margin: 0; color: var(--ink); }
.vc-pkg-group p { margin: 0 0 10px; font-size: 15.5px; line-height: 1.7; color: var(--ink-soft); }
.vc-pkg-group p:last-child { margin-bottom: 0; }
.vc-pkg-other { margin: 26px 0 0; font-size: 15px; color: var(--ink-soft); font-style: italic; }
.el-compare.vc-blush .el-col:not(.el-col-gold) { background: #fff; }
.el-compare.vc-blush .el-col-gold { background: var(--vc-cocoa); }
.mem-steps-section.vc-white { border-bottom: 1px solid var(--vc-line); }
@media (max-width: 960px) {
    .vc-pkg { padding: 64px 20px; }
    .vc-pkg-wrap { grid-template-columns: 1fr; }
    .vc-pkg-side { padding: 40px 28px 44px; }
    .vc-pkg-list { padding: 34px 26px 36px; }
    .vc-pkg-group { grid-template-columns: 1fr; }
    .vc-pkg-group h3 { margin-bottom: 10px; }
}

/* Homepage liaison block: headline and copy line up at the top */
.ed-liaison-top { align-items: start !important; }

/* Header text keeps a comfortable reading width */
body .page-header h1, body .mem-hero h1, body .el-hero h1 { max-width: 20ch !important; }
body .page-header p, body .mem-hero p, body .el-hero p { max-width: 60ch !important; }
body .page-header .page-header-quote, body .mem-hero .mem-hero-line, body .el-hero .el-hero-line { max-width: 44ch !important; }

/* About: no white gap above the closing banner */
.values-section + .promo-banner, .promo-banner { margin-top: 0 !important; }

/* Empty directory: a proper note, not loose text */
.directory-empty { background: var(--vc-sand); border-top: 3px solid var(--vc-gold); padding: 44px 48px 48px !important; max-width: 760px; margin: 12px 0 0 !important; }
.directory-empty h3 { font-size: 26px; margin: 0 0 10px; }
.directory-empty p { font-size: 15.5px; line-height: 1.75; }
.feed-empty { background: var(--vc-sand); border-top: 3px solid var(--vc-gold); padding: 36px 40px 40px; }

/* Policies: text column with the policy links beside it */
.policy { display: grid; grid-template-columns: minmax(0, 720px) 250px; column-gap: 88px; max-width: 1180px !important; margin: 0 auto; padding: 64px 40px 96px !important; }
.policy > *:not(.policy-nav) { grid-column: 1; }
.policy-nav { grid-column: 2; grid-row: 1 / span 200; align-self: start; position: sticky; top: 28px; display: flex; flex-direction: column; gap: 12px; margin: 0 !important; }
.policy-nav::before { content: 'Policies'; font-family: var(--font-heading); font-size: 20px; color: var(--ink); margin-bottom: 6px; }
.policy-nav a { color: var(--ink-soft); text-decoration: none; font-size: 15px; border-bottom: 1px solid #E3CFBA; padding-bottom: 10px; }
.policy-nav a:hover { color: var(--vc-terra); }

/* Cart and custom planner */
.cart-section h1 { color: var(--ink) !important; }
.review-form-block { margin-left: auto !important; margin-right: auto !important; }
.review-form-block + p, .review-form-block ~ .form-note { text-align: center; }

@media (max-width: 960px) {
    .policy { grid-template-columns: 1fr; padding: 44px 22px 72px !important; }
    .policy-nav { grid-column: 1; grid-row: auto; position: static; margin-top: 40px !important; }
}
.policy-nav a[aria-current="page"] { color: var(--vc-terra); }
.policy { padding-left: 0 !important; padding-right: 0 !important; }
.policy-nav { text-align: left !important; }
@media (max-width: 1240px) { .policy { padding-left: 40px !important; padding-right: 40px !important; } }

/* Closing banner sits on blush so it doesn't run into the footer */
.promo-banner { background: var(--vc-blush) !important; position: relative; }
.promo-banner h2, .promo-banner h3 { color: var(--ink) !important; }
.promo-banner p { color: var(--ink-soft) !important; }
.promo-banner .btn, .promo-banner a.btn, .promo-banner .btn-gold, .promo-banner .ed-btn {
    background: var(--vc-cocoa) !important; color: #fff !important; border-color: var(--vc-cocoa) !important; }
.promo-banner::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 8px;
    background: repeating-linear-gradient(90deg, #5B4636 0 18px, #C8A96A 18px 24px, #C97A5A 24px 34px, #F3E7DA 34px 37px, #5B4636 37px 50px, #C97A5A 50px 56px, #C8A96A 56px 70px, #F3E7DA 70px 73px); }
.values-section.vc-sand + .promo-banner { border-top: 1px solid var(--vc-line); }

/* ---------- 6. Verified reviews ---------- */
.event-fields { border: 0; border-top: 1px solid #E3CFBA; margin: 18px 0 6px; padding: 18px 0 0; }
.event-fields legend { font-family: var(--font-heading); font-size: 20px; color: var(--ink); padding: 0 12px 0 0; }
.field-hint { font-size: 13px; line-height: 1.6; color: #8A7C6F; margin: 6px 0 14px; }
.invite-box { background: #fff; border-left: 3px solid var(--vc-gold); padding: 16px 18px; margin: 0 0 18px; }
.invite-box span { display: block; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: #8A7C6F; }
.invite-box strong { display: block; font-family: var(--font-heading); font-weight: 500; font-size: 21px; color: var(--ink); margin: 4px 0; }
.invite-box p { margin: 0; font-size: 14.5px; color: var(--ink-soft); }
.verified-tag { display: inline-block; margin-left: 10px; font-family: var(--font-body); font-size: 11.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: #6E7F5A; vertical-align: middle; }
.verified-tag::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #6E7F5A; margin-right: 6px; vertical-align: middle; position: relative; top: -1px; }
.how-reviews-grid { grid-template-columns: repeat(2, 1fr); }

/* Vendor dashboard: reviews waiting for a response, and review links */
.vc-waiting { background: var(--vc-blush); border-top: 3px solid var(--vc-gold); padding: 26px 26px 10px; margin: 0 0 28px; }
.vc-waiting h3, .vc-invite h3 { font-size: 22px; margin: 0 0 8px; }
.dash-waiting { background: #fff; border: 1px solid var(--vc-line); padding: 22px 22px 18px; margin: 0 0 18px; }
.dash-event { margin: 10px 0 14px; padding: 0; border-top: 1px solid var(--vc-line); }
.dash-event div { display: grid; grid-template-columns: 90px 1fr; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--vc-line); font-size: 14px; }
.dash-event dt { color: #8A7C6F; }
.dash-event dd { margin: 0; color: var(--ink); }
.dash-waiting .row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.btn-small.btn-small-line, button.btn-small.btn-small-line { background: #fff !important; color: var(--vc-cocoa) !important; border: 1px solid var(--vc-cocoa) !important; }
.btn-small.btn-small-line:hover { background: var(--vc-cocoa) !important; color: #fff !important; }
.follow-form { margin-top: 14px; }
.follow-form textarea, .vc-invite input, .vc-invite select { width: 100%; }
.vc-invite { background: var(--vc-sand) !important; border: 0 !important; border-top: 3px solid var(--vc-gold) !important; padding: 26px !important; }
.vc-invite .form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.vc-invite .inv-date { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.vc-invite .row { display: flex; gap: 12px; align-items: center; margin-top: 14px; flex-wrap: wrap; }
.vc-invite #invLink { margin-top: 12px; }
.inv-sent { margin-top: 18px; font-size: 14px; }
.inv-sent summary { cursor: pointer; color: var(--ink); }
.inv-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: baseline; margin: 10px 0 0; font-size: 14px; }
.inv-row span { margin-left: auto; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; }
.inv-done { color: #6E7F5A; } .inv-open { color: #8A7C6F; }
.inv-general { margin-top: 18px; border-top: 1px solid #E3CFBA; padding-top: 14px; }
@media (max-width: 640px) { .vc-invite .form-row-2 { grid-template-columns: 1fr; } }
.event-fields, #platformFields, #phoneField { display: flex; flex-direction: column; gap: 16px; }
.event-fields[hidden], #platformFields[hidden], #phoneField[hidden] { display: none !important; }
.review-form-card input[type="tel"] { width: 100%; padding: 12px 14px; border: 1px solid #DCCBB7; background: #fff; color: var(--cocoa); font-size: 15px; font-family: var(--font-body); }
.review-form-card .field-hint { margin: -6px 0 0; }

/* Can't find your vendor? */
.refer-box { background: #fff; border: 1px solid var(--vc-line); padding: 0; margin-top: 4px; }
.refer-box summary { cursor: pointer; padding: 13px 16px; font-size: 14.5px; font-weight: 500; color: var(--ink); list-style: none; display: flex; justify-content: space-between; align-items: center; }
.refer-box summary::-webkit-details-marker { display: none; }
.refer-box summary::after { content: '+'; font-size: 20px; line-height: 1; color: var(--vc-gold); }
.refer-box[open] summary::after { content: '\2212'; }
.refer-box > p, .refer-box .refer-fields { padding: 0 16px; }
.refer-box > p { font-size: 14px; line-height: 1.65; color: var(--ink-soft); margin: 0 0 14px; }
.refer-fields { display: flex; flex-direction: column; gap: 14px; }
.refer-fields .field-label { margin-bottom: -6px; }
.refer-status { font-size: 13.5px; color: var(--vc-terra); margin: 0; min-height: 1px; }
.refer-box .refer-share { border-top: 1px solid var(--vc-line); padding-top: 12px; padding-bottom: 14px; margin: 14px 0 0; font-size: 13.5px; }
.refer-share a, .directory-refer a { color: var(--vc-terra); }
.directory-refer { margin: 28px 0 0; font-size: 15px; color: var(--ink-soft); }

/* "Email me when new vendors join" */
.vc-optin { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; line-height: 1.5; color: var(--ink-soft); cursor: pointer; font-weight: 400; }
.vc-optin input { width: 16px !important; height: 16px; margin: 2px 0 0 !important; padding: 0 !important; flex: none; accent-color: var(--vc-cocoa); }
.contact-form .vc-optin { margin: 4px 0 6px; }
.directory-refer { margin: 36px 0 0; padding-top: 28px; border-top: 1px solid var(--vc-line); display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.directory-refer > p { margin: 0; font-size: 15.5px; line-height: 1.7; }
.vc-signup label { display: block; font-family: var(--font-heading); font-size: 20px; color: var(--ink); margin: 0 0 10px; }
.vc-signup > div { display: flex; }
.vc-signup input { flex: 1; min-width: 0; padding: 13px 14px; border: 1px solid #DCCBB7; border-right: 0; font: inherit; font-size: 15px; background: #fff; }
.vc-signup .btn { white-space: nowrap; }
.vc-signup-note { font-size: 13px; color: #8A7C6F; margin: 8px 0 0; }
.vc-signup-done { font-family: var(--font-heading); font-size: 20px; color: var(--ink); margin: 0; }
@media (max-width: 760px) { .directory-refer { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- 7. Planner images: square, edge to edge ---------- */
.ed-hero-art img,
.template-card img, .scroll-card img,
.template-preview img, .template-detail #previewImage {
    aspect-ratio: 1 / 1 !important; object-fit: cover !important; object-position: center; display: block;
    border: 0 !important; background: var(--vc-blush) !important;
}
.template-card img { margin: 0 0 18px !important; }
.ed-hero-art a { padding: 10px !important; }
.template-detail #previewImage { box-shadow: 0 18px 40px rgba(74,55,41,.14) !important; }
.preview-modal-image-wrap img { width: 100%; height: auto; max-height: 82vh; object-fit: contain; }
.cart-item img { width: 88px !important; height: 88px !important; object-fit: cover; }

/* Vendor dashboard: listing plan */
.plan-box .pkg-live { line-height: 1.6; }
.plan-box .badge-founding { margin-right: 4px; }
.plan-grace .pkg-live, .plan-unpaid .pkg-live { color: #8A4A2C; }
.plan-paused .pkg-live { color: #8A4A2C; }
.plan-grace, .plan-paused, .plan-unpaid { background: #FBF1EA; padding: 14px 14px 6px !important; border-top: 2px solid var(--vc-terra) !important; }
.profile-paused { background: var(--vc-sand); border-left: 3px solid var(--vc-gold); padding: 12px 16px; margin: 0 0 14px; font-size: 15px; line-height: 1.6; color: var(--ink-soft); }
