/* =====================================================================
   VENDOR PROFILE — modern layer over vendor-detail.css
   ===================================================================== */

.vp-page.vendor-detail-page { max-width: 1240px; padding: 20px 24px 96px; overflow-x: clip !important; }
.vp-page .vd-crumbs { margin: 0 0 16px; }

/* ---------- Gallery ---------- */
.vp-gallery { position: relative; margin-bottom: 26px; border-radius: 26px; overflow: hidden; }
.vp-gallery.is-mosaic {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 210px 210px;
    gap: 8px;
}
.vp-shot { position: relative; padding: 0; border: 0; overflow: hidden; background: #ece6e1; cursor: zoom-in; }
.vp-shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), filter .3s var(--ease); }
.vp-shot:hover img { transform: scale(1.04); filter: brightness(.92); }
.vp-shot-0 { grid-row: span 2; }
.vp-gallery.is-mosaic .vp-shot:nth-child(n+6) { display: none; }
.vp-gallery.is-cover { height: 300px; }
.vp-cover {
    position: relative;
    height: 100%;
    background: #fbf6f1;
}
/* Shown when a business has no photos: its initials and name, matching the
   badge on the listing cards. A logo, when there is one, covers this. */
.vp-cover-mono {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 20px;
    text-align: center;
}
.vp-cover-mono-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 104px;
    height: 104px;
    border-radius: 50%;
    background: var(--brand-gradient);
    color: #fff;
    font-family: var(--font-serif);
    font-size: 42px;
    font-weight: 500;
    letter-spacing: .02em;
    box-shadow: 0 16px 30px -16px rgba(250, 87, 84, .85);
}
.vp-cover-mono-name {
    max-width: 90%;
    font-family: var(--font-serif);
    font-size: 22px;
    line-height: 1.25;
    color: var(--ink);
}
/* The white behind the logo hides the badge when the logo has a see-through background. */
.vp-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #fff; }
.vp-all-photos {
    position: absolute;
    right: 16px;
    bottom: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border: 1px solid rgba(15, 23, 42, .1);
    border-radius: 12px;
    background: #fff;
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
    box-shadow: var(--shadow);
    cursor: pointer;
}
.vp-all-photos:hover { background: var(--surface-2); }

/* ---------- Identity ---------- */
.vp-identity {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-bottom: 24px;
    margin-bottom: 0;
}
.vp-avatar {
    position: relative;
    flex-shrink: 0;
    width: 84px;
    height: 84px;
    border-radius: 24px;
    overflow: hidden;
    background: var(--brand-gradient);
    box-shadow: var(--shadow);
    border: 3px solid #fff;
}
.vp-avatar::before {
    content: attr(data-initial);
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-size: 32px;
    letter-spacing: .02em;
    color: #fff;
}
.vp-avatar img { position: relative; width: 100%; height: 100%; object-fit: cover; background: #fff; }
.vp-identity-main { flex: 1; min-width: 0; }
.vp-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.vp-badge {
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--surface-2);
    border: 1px solid var(--line-soft);
    font-size: 12px;
    font-weight: 600;
    color: var(--text);
}
.vp-badge.is-verified { background: #ecfdf5; border-color: #bbf7d0; color: #047857; }
.vp-badge.is-verified i { font-size: 11px; margin-right: 3px; }
.vp-name {
    margin: 0 0 6px;
    font-family: var(--font-serif) !important;
    font-weight: 500 !important;
    font-size: clamp(2rem, 4vw, 2.9rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--ink);
}
.vp-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 14.5px; color: var(--muted); }
.vp-meta i.fa-map-marker-alt { color: var(--brand); margin-right: 4px; font-size: 13px; }
.vp-dot { width: 4px; height: 4px; border-radius: 50%; background: #cbd5e1; }
.vp-rating { color: var(--ink) !important; }
.vp-rating i { color: #f59e0b; }
.vp-rating:hover { text-decoration: underline; }
.vp-new { padding: 2px 9px; border-radius: 999px; background: #ecfdf5; color: #047857; font-weight: 600; font-size: 12.5px; }
.vp-actions { display: flex; gap: 8px; flex-shrink: 0; }
.vp-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 42px;
    padding: 0 16px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    font-size: 14px;
    font-weight: 600;
    color: var(--ink) !important;
    cursor: pointer;
    transition: border-color .2s var(--ease), background .2s var(--ease);
}
.vp-btn:hover { border-color: #cbd5e1; background: var(--surface-2); text-decoration: none; }
.vp-btn.is-saved { border-color: var(--brand-100); background: var(--brand-50); color: var(--brand) !important; }
.vp-btn.is-saved i { color: var(--brand); }

/* ---------- Section tabs ---------- */
.vendor-tabs.vp-tabs {
    position: sticky;
    top: 72px;
    z-index: 30;
    display: flex;
    gap: 2px;
    margin: 0 0 28px;
    padding: 6px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255, 255, 255, .92);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    overflow-x: auto;
    scrollbar-width: none;
}
.vp-tabs::-webkit-scrollbar { display: none; }
.vp-tabs a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 16px !important;
    border: 0 !important;
    border-radius: 11px !important;
    font-size: 14px;
    font-weight: 600 !important;
    color: var(--muted) !important;
    white-space: nowrap;
    background: transparent;
}
.vp-tabs a span {
    padding: 1px 7px;
    border-radius: 999px;
    background: var(--surface-2);
    font-size: 11.5px;
    color: var(--muted);
}
.vp-tabs a:hover { color: var(--ink) !important; background: var(--surface-2); text-decoration: none; }
.vp-tabs a.active { background: var(--ink) !important; color: #fff !important; }
.vp-tabs a.active span { background: rgba(255, 255, 255, .15); color: #fff; }

/* ---------- Layout ---------- */
.detail-page-grid-container.vp-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 40px;
    margin-top: 0;
    align-items: start;
}
.vp-section { padding: 0 0 40px !important; margin: 0 0 40px !important; border-bottom: 1px solid var(--line-soft) !important; scroll-margin-top: 150px; }
.vp-section:last-child { border-bottom: 0 !important; }
.vp-h2 {
    margin: 0 0 6px !important;
    font-family: var(--font-serif) !important;
    font-weight: 500 !important;
    font-size: 1.85rem !important;
    letter-spacing: -0.015em !important;
    color: var(--ink) !important;
}
.vp-section-head { margin-bottom: 20px; }
.vp-section-head p { margin: 0; color: var(--muted); font-size: 14.5px; }
.vp-h3 { margin: 26px 0 12px; font-size: 1rem; font-weight: 700; color: var(--ink); }

/* Facts */
.vp-facts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0 0 40px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
}
.vp-facts li { list-style: none; display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-left: 1px solid var(--line-soft); min-width: 0; }
.vp-facts li:first-child { border-left: 0; }
.vp-fact-ic { flex-shrink: 0; width: 40px; height: 40px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; font-size: 15px; }
.vp-facts strong { display: block; font-size: 1.12rem; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.vp-facts small { display: block; font-size: 12.5px; color: var(--muted); }

/* About */
.vp-about { position: relative; max-height: 9.6em; overflow: hidden; font-size: 15.5px; line-height: 1.75; color: var(--text); }
.vp-about p { margin: 0; color: var(--text); }
.vp-about::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3em; background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff); }
.vp-about.is-open { max-height: none; }
.vp-about.is-open::after { display: none; }
.vp-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    padding: 0;
    border: 0;
    background: none;
    font-weight: 700;
    font-size: 14px;
    color: var(--ink);
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}
.vp-more i { font-size: 11px; }
.vp-services { display: flex; flex-wrap: wrap; gap: 8px; }
.vp-service {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 6px 14px 6px 6px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: #fff;
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
}
.vp-service-ic { width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; }
.vp-service-ic > i { font-size: 11px; }

/* Package filters */
#service-filters.vp-filters {
    display: flex;
    gap: 8px;
    margin: 0 0 18px;
    padding: 0 0 4px;
    overflow-x: auto;
    scrollbar-width: none;
}
#service-filters.vp-filters::-webkit-scrollbar { display: none; }
#service-filters.vp-filters .filter-item {
    flex-direction: row;
    flex-shrink: 0;
    gap: 8px;
    padding: 6px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    opacity: 1 !important;
    transform: none !important;
}
#service-filters.vp-filters .filter-item:first-child { padding-left: 14px; }
#service-filters.vp-filters .filter-item:has(.vp-filter-ic) { padding-left: 6px; }
#service-filters.vp-filters .filter-name { margin: 0 !important; font-size: 13.5px; font-weight: 600; color: var(--text); white-space: nowrap; }
#service-filters.vp-filters .filter-item:hover { border-color: #cbd5e1; }
#service-filters.vp-filters .filter-item.active { background: var(--ink); border-color: var(--ink); }
#service-filters.vp-filters .filter-item.active .filter-name { color: #fff; }
#service-filters.vp-filters .filter-item:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.vp-filter-ic { width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; }
.vp-filter-ic > i { font-size: 10px; }
.filter-item.active .vp-filter-ic { background: rgba(255, 255, 255, .15) !important; color: #fff !important; }

/* Package cards */
.packages-grid-container.vp-packages { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0; }
.package-card.vp-package {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 18px;
    padding: 22px !important;
    border: 1px solid var(--line) !important;
    border-radius: 20px !important;
    background: #fff;
    box-shadow: none !important;
    transform: none;
    transition: box-shadow .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.package-card.vp-package:hover { border-color: transparent !important; box-shadow: var(--shadow) !important; transform: translateY(-2px); }
.vp-package-service {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--brand-50);
    color: var(--brand);
    font-size: 12px;
    font-weight: 700;
}
.vp-package-service i { font-size: 10px; }
.vp-package-name.package-name { margin: 0 0 6px !important; font-family: var(--font-display) !important; font-size: 1.15rem !important; font-weight: 700 !important; color: var(--ink) !important; letter-spacing: -0.01em !important; }
.vp-package-desc.package-description { margin: 0; font-size: 14px; line-height: 1.65; color: var(--muted); }
.vp-package-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line-soft); }
.vp-package-price small { display: block; font-size: 12px; color: var(--muted); }
.vp-package-price strong { font-size: 1.45rem; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
/* What the price is for (per plate, per day) and the smallest order */
.vp-package-unit { font-style: normal; font-size: 13px; font-weight: 600; letter-spacing: 0; color: var(--muted); margin-left: 3px; }
.vp-package-price .vp-package-min { margin-top: 2px; font-weight: 600; color: var(--ink); }
/* Quick facts on a package card: "12 dishes", "Album included" */
.vp-package-facts { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; padding: 0; list-style: none; }
.vp-package-facts li { padding: 4px 10px; font-size: 12.5px; font-weight: 600; color: var(--ink); background: #f3f6f4; border-radius: 999px; }
.vp-package-facts li i { margin-right: 3px; font-size: 10px; color: #17804d; }
.vp-package-facts li.is-more { color: var(--muted); background: transparent; padding-left: 2px; }
.vp-package-actions.package-actions { display: flex; align-items: center; gap: 6px; margin: 0; padding: 0; border: 0; }
.vp-link-btn.btn-action {
    padding: 9px 12px !important;
    border: 1px solid var(--line) !important;
    border-radius: 10px !important;
    background: #fff !important;
    color: var(--ink) !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    cursor: pointer;
}
.vp-link-btn.btn-action:hover { border-color: var(--ink) !important; }
.vp-primary-btn.btn-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 14px !important;
    border: 0 !important;
    border-radius: 10px !important;
    background: var(--ink) !important;
    color: #fff !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
}
.vp-primary-btn.btn-action i { font-size: 11px; }
.vp-primary-btn.btn-action:hover { background: var(--brand) !important; text-decoration: none; }
.vp-empty-note { grid-column: 1 / -1; padding: 18px; border-radius: 14px; background: var(--surface-2); color: var(--muted); text-align: center; }
.vp-empty-card {
    grid-column: 1 / -1;
    padding: 36px 20px;
    border: 1px dashed var(--line);
    border-radius: 20px;
    background: var(--surface-2);
    text-align: center;
    color: var(--muted);
}
.vp-empty-card i { font-size: 22px; color: var(--brand); margin-bottom: 8px; }
.vp-empty-card p { margin: 0; }

/* Portfolio */
.portfolio-gallery.vp-portfolios { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0; }
.portfolio-card.vp-portfolio {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    border: 0 !important;
    border-radius: 18px !important;
    overflow: hidden;
    background: #ece6e1;
    box-shadow: none !important;
    isolation: isolate;
}
.vp-portfolio .portfolio-thumbnail { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; z-index: -2; transition: transform .7s var(--ease) !important; }
.vp-portfolio::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 8, 14, 0) 45%, rgba(10, 8, 14, .78) 100%); }
.vp-portfolio:hover .portfolio-thumbnail { transform: scale(1.05); opacity: 1 !important; }
.vp-portfolio:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.vp-portfolio-info.portfolio-info { position: absolute; left: 14px; right: 14px; bottom: 12px; padding: 0 !important; background: none !important; }
.vp-portfolio .portfolio-name { margin: 0 !important; font-size: 15px !important; font-weight: 700 !important; color: #fff !important; }
.vp-portfolio .portfolio-description { margin: 2px 0 0 !important; font-size: 12.5px !important; color: rgba(255, 255, 255, .8) !important; }
.vp-portfolio-count {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 9px;
    border-radius: 999px;
    background: rgba(15, 10, 12, .5);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
}

/* Photo viewer */
.vp-lb {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    background: rgba(12, 9, 16, .94);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    color: #fff;
    animation: vp-lb-in .18s ease-out;
}
.vp-lb[hidden] { display: none; }
@keyframes vp-lb-in { from { opacity: 0; } to { opacity: 1; } }

.vp-lb-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 24px; }
.vp-lb-heading { display: flex; align-items: center; gap: 12px; min-width: 0; }
.vp-lb-heading strong { overflow: hidden; font-family: var(--font-serif); font-size: 19px; font-weight: 500; white-space: nowrap; text-overflow: ellipsis; }
.vp-lb-heading span { flex: 0 0 auto; padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .85); font-size: 12.5px; font-weight: 600; font-variant-numeric: tabular-nums; }

.vp-lb-close,
.vp-lb-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: background .15s, transform .15s, border-color .15s;
}
.vp-lb-close:hover,
.vp-lb-nav:hover { background: rgba(255, 255, 255, .22); border-color: rgba(255, 255, 255, .4); }
.vp-lb-nav:active { transform: scale(.94); }
.vp-lb-close:focus-visible,
.vp-lb-nav:focus-visible,
.vp-lb-thumbs button:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

.vp-lb-stage { display: flex; align-items: center; gap: 18px; min-height: 0; padding: 0 24px; }
.vp-lb-figure { position: relative; display: flex; align-items: center; justify-content: center; flex: 1 1 auto; align-self: stretch; min-width: 0; min-height: 0; margin: 0; }
.vp-lb-figure img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    border-radius: 14px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .55);
    object-fit: contain;
    transition: opacity .22s ease;
}
.vp-lb-figure img:not([src]) { visibility: hidden; }
.vp-lb.is-loading .vp-lb-figure img { opacity: .25; }
.vp-lb-spinner {
    position: absolute;
    width: 34px;
    height: 34px;
    border: 3px solid rgba(255, 255, 255, .22);
    border-top-color: #fff;
    border-radius: 50%;
    opacity: 0;
    animation: vp-lb-spin .8s linear infinite;
}
.vp-lb.is-loading .vp-lb-spinner { opacity: 1; transition: opacity .2s .15s; }
@keyframes vp-lb-spin { to { transform: rotate(360deg); } }
.vp-lb.is-single .vp-lb-nav,
.vp-lb.is-single .vp-lb-thumbs { display: none; }

.vp-lb-bottom { padding: 14px 24px 18px; }
.vp-lb-caption { max-width: 760px; margin: 0 auto; text-align: center; }
.vp-lb .vp-lb-caption #carousel-title { margin: 0; color: #fff; font-family: var(--font-serif); font-size: 18px; font-weight: 500; }
.vp-lb-caption h3:empty,
.vp-lb-caption p:empty { display: none; }
.vp-lb .vp-lb-caption #carousel-description {
    display: -webkit-box;
    margin: 6px 0 0;
    overflow: hidden;
    color: rgba(255, 255, 255, .72);
    font-size: 13.5px;
    line-height: 1.55;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.vp-lb-thumbs { display: flex; gap: 8px; width: fit-content; max-width: 100%; margin: 14px auto 0; padding: 4px; overflow-x: auto; scrollbar-width: none; }
.vp-lb-thumbs::-webkit-scrollbar { display: none; }
.vp-lb-thumbs button { flex: 0 0 auto; width: 64px; height: 48px; padding: 0; overflow: hidden; border: 2px solid transparent; border-radius: 10px; background: rgba(255, 255, 255, .08); opacity: .5; cursor: pointer; transition: opacity .15s, border-color .15s, transform .15s; }
.vp-lb-thumbs button:hover { opacity: .85; }
.vp-lb-thumbs button.is-current { border-color: #fff; opacity: 1; transform: translateY(-2px); }
.vp-lb-thumbs img { display: block; width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 767px) {
    .vp-lb-top { padding: 12px 14px; }
    .vp-lb-heading strong { font-size: 16px; }
    .vp-lb-stage { position: relative; gap: 0; padding: 0 10px; }
    .vp-lb-nav { position: absolute; top: 50%; z-index: 1; width: 40px; height: 40px; margin-top: -20px; background: rgba(12, 9, 16, .55); }
    .vp-lb-prev { left: 16px; }
    .vp-lb-next { right: 16px; }
    .vp-lb-figure img { border-radius: 10px; }
    .vp-lb-bottom { padding: 12px 14px 14px; }
    .vp-lb-caption h3 { font-size: 16px; }
    .vp-lb-thumbs button { width: 54px; height: 42px; }
}
@media (prefers-reduced-motion: reduce) {
    .vp-lb, .vp-lb-figure img, .vp-lb-thumbs button { animation: none; transition: none; }
}

/* Reviews */
.vp-reviews { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 28px; align-items: start; }
.vp-score {
    position: sticky;
    top: 150px;
    padding: 24px;
    border-radius: 20px;
    background: var(--surface-2);
    text-align: center;
}
.vp-score strong { display: block; font-family: var(--font-serif); font-weight: 500; font-size: 3.4rem; line-height: 1; color: var(--ink); }
.vp-score small { display: block; margin-top: 6px; color: var(--muted); }
.vp-stars { color: #f59e0b; font-size: 13px; letter-spacing: 2px; }
.vp-review-list { display: grid; gap: 14px; }
.vp-review.review-card { padding: 20px 22px !important; border: 1px solid var(--line) !important; border-radius: 18px !important; background: #fff; box-shadow: none !important; margin: 0 !important; }
.vp-review-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.vp-review-head > div { flex: 1; min-width: 0; }
.vp-review-head strong { display: block; font-size: 14.5px; color: var(--ink); }
.vp-review-head small { font-size: 12.5px; color: var(--muted); }
.vp-review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-50);
    color: var(--brand);
    font-weight: 700;
}
.vp-review-title { margin: 0 0 4px; font-size: 15px; font-weight: 700; color: var(--ink); }
.vp-review-text { margin: 0; color: var(--text); line-height: 1.7; }
.vp-all-reviews { justify-self: start; }
.vp-reviews-empty {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 22px 24px;
    border: 1px dashed var(--line);
    border-radius: 20px;
    background: var(--surface-2);
}
.vp-reviews-empty > div { flex: 1; }
.vp-reviews-empty strong { display: block; color: var(--ink); }
.vp-reviews-empty span { font-size: 14px; color: var(--muted); }
.vp-reviews-empty-ic { width: 46px; height: 46px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; background: #fff; color: #f59e0b; box-shadow: var(--shadow-sm); }

/* Location */
.vp-location { display: flex; align-items: center; gap: 16px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.vp-location > div { flex: 1; min-width: 0; }
.vp-location strong { display: block; color: var(--ink); }
.vp-location span { font-size: 14px; color: var(--muted); }
.vp-location-ic { flex-shrink: 0; width: 46px; height: 46px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; background: var(--brand-50); color: var(--brand); font-size: 17px; }
.vp-location .btn-ghost i { font-size: 11px; }

/* ---------- Sidebar contact card ---------- */
.vendor-sidebar-panel.vp-aside { position: sticky; top: 150px; scroll-margin-top: 90px; }
.vp-aside-card {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 24px !important;
    background: #fff;
    box-shadow: 0 24px 50px -24px rgba(15, 23, 42, .28);
}
.vp-aside-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--line-soft); }
.vp-aside-price small { width: 100%; font-size: 12.5px; color: var(--muted); }
.vp-aside-price strong { font-size: 1.9rem; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.vp-aside-rating { font-size: 14px; font-weight: 600; color: var(--ink); }
.vp-aside-rating i { color: #f59e0b; font-size: 12px; }
.vp-aside-rating em { font-style: normal; color: var(--muted); font-weight: 400; }

.vp-aside .contact-widget-vendor-detail { padding: 0 !important; border: 0 !important; box-shadow: none !important; background: transparent !important; margin: 0 !important; }
.vp-aside .contact-widget-vendor-detail h3 { margin: 0 0 4px !important; font-size: 1.15rem !important; font-weight: 700 !important; color: var(--ink) !important; text-align: left !important; }
.vp-aside .contact-widget-vendor-detail > p { margin: 0 0 16px !important; font-size: 14px; color: var(--muted); }
.vp-aside .contact-widget-vendor-detail input,
.vp-aside .contact-widget-vendor-detail textarea {
    width: 100%;
    margin: 0 0 4px !important;
    padding: 12px 14px !important;
    border: 1px solid var(--line) !important;
    border-radius: 12px !important;
    background: #fff;
    font-size: 14.5px !important;
    color: var(--ink);
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.vp-aside .contact-widget-vendor-detail input:focus,
.vp-aside .contact-widget-vendor-detail textarea:focus { outline: none; border-color: var(--brand) !important; box-shadow: 0 0 0 4px var(--brand-50) !important; }
.vp-aside .contact-widget-vendor-detail textarea { min-height: 110px; resize: vertical; }
.vp-aside .msg-error { display: block; min-height: 4px; margin-bottom: 8px; font-size: 12.5px; }
.vp-aside .btn-primary-contact {
    width: 100%;
    height: 50px;
    margin-top: 6px;
    border: 0 !important;
    border-radius: 14px !important;
    background: var(--brand-gradient) !important;
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    box-shadow: var(--shadow-brand);
    cursor: pointer;
}
.vp-aside .btn-primary-contact:hover { filter: brightness(1.05); }
.vp-aside .contact-details { margin-top: 16px !important; padding-top: 14px !important; border-top: 1px solid var(--line-soft) !important; display: grid; gap: 6px; }
.vp-aside .contact-details p { margin: 0 !important; font-size: 14px; color: var(--muted); }
.vp-aside .contact-details a { color: var(--ink) !important; font-weight: 600; word-break: break-word; }
.vp-aside .g-recaptcha { transform-origin: 0 0; }
.vp-assure { margin: 18px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line-soft); display: grid; gap: 10px; }
.vp-assure li { list-style: none; display: flex; gap: 10px; font-size: 13.5px; color: var(--text); }
.vp-assure i { width: 16px; margin-top: 3px; color: #16a34a; font-size: 12px; text-align: center; }
.vp-social { margin-top: 14px !important; padding: 18px 20px !important; border: 1px solid var(--line) !important; border-radius: 20px !important; box-shadow: none !important; }
.vp-social h3 { font-size: 14px !important; font-weight: 700 !important; margin: 0 0 10px !important; text-align: left !important; }
.vp-social .social-icons-container { display: flex; gap: 8px; justify-content: flex-start !important; }
.vp-social .social-icon-link {
    width: 40px !important;
    height: 40px !important;
    border-radius: 12px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    background: var(--surface-2) !important;
    color: var(--ink) !important;
    font-size: 15px;
}
.vp-social .social-icon-link:hover { background: var(--brand) !important; color: #fff !important; }

/* Mobile contact bar */
.vp-mobile-bar { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .detail-page-grid-container.vp-grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; }
    .packages-grid-container.vp-packages { grid-template-columns: 1fr; }
}
@media (max-width: 991px) {
    .detail-page-grid-container.vp-grid { grid-template-columns: 1fr; }
    .vendor-sidebar-panel.vp-aside { position: static; }
    .vp-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .vp-facts li:nth-child(3) { border-left: 0; }
    .vp-facts li:nth-child(n+3) { border-top: 1px solid var(--line-soft); }
    .vp-reviews { grid-template-columns: 1fr; }
    .vp-score { position: static; display: flex; align-items: center; gap: 14px; text-align: left; }
    .vp-score strong { font-size: 2.6rem; }
    .vp-score small { margin: 0; }
    .portfolio-gallery.vp-portfolios { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .packages-grid-container.vp-packages { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .vp-mobile-bar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 900;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
        background: rgba(255, 255, 255, .96);
        -webkit-backdrop-filter: blur(12px);
        backdrop-filter: blur(12px);
        border-top: 1px solid var(--line);
        box-shadow: 0 -10px 30px -12px rgba(15, 23, 42, .2);
        transition: transform .3s var(--ease);
    }
    .vp-mobile-bar.is-hidden { transform: translateY(110%); }
    .vp-mobile-bar small { display: block; font-size: 12px; color: var(--muted); }
    .vp-mobile-bar strong { font-size: 1.2rem; font-weight: 700; color: var(--ink); }
    .vp-mobile-bar .theme-btn-one { padding: 12px 20px; }
    .vp-page.vendor-detail-page { padding-bottom: 120px; }
}
@media (max-width: 767px) {
    .vp-page.vendor-detail-page { padding: 14px 16px 120px; }
    .vp-gallery { border-radius: 18px; margin-bottom: 18px; }
    .vp-gallery.is-mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 110px; }
    .vp-shot-0 { grid-column: span 2; grid-row: auto; }
    .vp-gallery.is-mosaic .vp-shot:nth-child(n+4) { display: none; }
    .vp-gallery.is-cover { height: 200px; }
    .vp-identity { flex-wrap: wrap; gap: 14px; }
    .vp-avatar { width: 64px; height: 64px; border-radius: 18px; }
    .vp-avatar::before { font-size: 24px; }
    .vp-cover-mono-badge { width: 76px; height: 76px; font-size: 30px; }
    .vp-cover-mono-name { font-size: 17px; }
    .vp-actions { width: 100%; }
    .vp-actions .vp-btn { flex: 1; justify-content: center; }
    .vendor-tabs.vp-tabs { top: 120px; }
    .packages-grid-container.vp-packages,
    .portfolio-gallery.vp-portfolios { grid-template-columns: 1fr; }
    .vp-package-foot { flex-wrap: wrap; }
    .vp-location,
    .vp-reviews-empty { flex-wrap: wrap; }
    .vp-location .btn-ghost,
    .vp-reviews-empty .btn-ghost { width: 100%; justify-content: center; }
}

/* Neutralise the legacy coral package header */
.vp-package .vp-package-name.package-name {
    min-height: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    background: none !important;
    color: var(--ink) !important;
}
.vp-package-actions .btn-action { white-space: nowrap; }

/* Service chips: balanced padding and a crisper outline */
.vp-services { gap: 10px; }
.vp-service {
    gap: 10px;
    height: 40px;
    padding: 0 16px 0 6px;
    border: 1px solid #dfe3ea;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .05);
    line-height: 1;
    white-space: nowrap;
}
.vp-service-ic { flex: 0 0 28px; width: 28px; height: 28px; }
.vp-service-ic > i { font-size: 12px; line-height: 1; }

/* Legacy .filter-name caps the label at 90px, so long service names spilled past the pill */
#service-filters.vp-filters .filter-name { max-width: none; line-height: 1.2; }
#service-filters.vp-filters .filter-item { height: 40px; align-items: center; }
#service-filters.vp-filters { padding: 2px 2px 6px; }
