/* Metromize public site — JustDial-style directory components.
   Layered on top of templatemo-first-portfolio-style.css; reuses + overrides its CSS variables
   with the brand palette sampled from the app logo (Setting::app_logo) and the Nunito font
   already used by the backend admin theme, so the public site matches the brand. */

:root {
    --primary-color: #0B877D;
    --secondary-color: #03C3B7;
    --body-font-family: 'Nunito', sans-serif;
}

body {
    font-family: var(--body-font-family);
}

.brand-gradient {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.brand-logo-img {
    height: 42px;
    width: auto;
}

.brand-name {
    font-weight: var(--font-weight-bold);
    font-size: 22px;
    color: var(--dark-color);
    letter-spacing: normal;
}

/* The templatemo template was built as a single-page portfolio with the navbar
   floating transparently over one big hero image. This site has many pages with
   plain white content, so the nav needs to be a normal solid bar in flow. */
.navbar {
    position: relative;
    background: var(--white-color);
    box-shadow: 0 2px 14px rgba(0, 0, 0, .08);
    padding-top: 14px;
    padding-bottom: 14px;
}

/* templatemo's .navbar .custom-btn assumed a transparent navbar over a dark
   hero, so it styled these buttons white-on-transparent — invisible against
   the solid white navbar above. Re-style for visibility on a light bar. */
.navbar .custom-btn {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white-color);
}

.navbar .custom-btn:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--white-color);
}

.navbar .custom-btn.custom-border-btn {
    background: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.navbar .custom-btn.custom-border-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white-color);
}

/* templatemo's global `h2-h6 { color: dark }` and `p { color: gray }` rules
   override inherited white text — re-assert white for anything inside a
   brand-colored section so headings/copy stay legible. */
.search-hero h1,
.search-hero h2,
.search-hero h3,
.search-hero p,
.cta-banner h1,
.cta-banner h2,
.cta-banner h3,
.cta-banner p {
    color: var(--white-color);
}

/* Two-tier "JustDial style" site header: a thin dark utility bar (real
   contact info + account links) above a bold main bar whose centerpiece is
   the category+search combo — replaces the old single-row nav-links header. */
.utility-bar-top {
    background: var(--dark-color);
    padding: 8px 0;
    font-size: 13px;
}

.utility-bar-top a {
    color: rgba(255, 255, 255, .8);
    text-decoration: none;
    margin-right: 18px;
}

.utility-bar-top a:last-child {
    margin-right: 0;
}

.utility-bar-top a:hover {
    color: var(--secondary-color);
}

.utility-links button {
    background: none;
    border: none;
    padding: 0;
    color: rgba(255, 255, 255, .8);
    font-size: 13px;
}

.utility-links button:hover {
    color: var(--secondary-color);
}

.utility-promo a {
    color: rgba(255, 255, 255, .85);
    margin-right: 0;
}

.utility-promo a:hover {
    color: var(--secondary-color);
}

.utility-promo strong {
    color: var(--secondary-color);
}

.navbar.main-bar-jd {
    background: var(--white-color);
    padding-top: 16px;
    padding-bottom: 16px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, .1);
    border-bottom: 1px solid var(--border-color);
    position: relative;
    z-index: 20;
}

.main-bar-jd .brand-logo-img {
    height: 48px;
}

.main-bar-jd .container {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.main-bar-jd .brand-name {
    color: var(--dark-color);
}

/* Once jquery.sticky.js (custom.js) pins `.navbar` on scroll, templatemo's
   `.is-sticky .navbar .container` rule forces a plain white container
   background — the bar is already white/logo-matched, so keep it consistent
   in the sticky state too instead of templatemo's forced white differing in shadow. */
.is-sticky .navbar.main-bar-jd,
.is-sticky .navbar.main-bar-jd .container {
    background: var(--white-color);
}

.jd-location-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid transparent;
    background: none;
    padding: 6px 10px;
    margin: -6px 0;
    max-width: 220px;
    border-radius: var(--border-radius-small);
    color: var(--dark-color);
    transition: background-color .2s ease, border-color .2s ease;
}

.jd-location-btn:hover {
    color: var(--dark-color);
    background: var(--section-bg-color);
    border-color: var(--border-color);
}

.jd-location-btn:hover .jd-location-line2 {
    color: var(--primary-color);
}

.jd-location-icon {
    font-size: 20px;
    line-height: 1;
    color: var(--primary-color);
}

.jd-location-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    line-height: 1.25;
}

.jd-location-line1 {
    font-size: 12px;
    color: var(--p-color);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 190px;
}

.jd-location-line2 {
    font-size: 14px;
    font-weight: var(--font-weight-bold);
    color: var(--dark-color);
}

/* Location picker modal */
.location-section-label {
    font-size: 12px;
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: normal;
    color: var(--p-color);
    margin-bottom: 8px;
}

.location-city-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.location-city-chip {
    display: inline-block;
    padding: 6px 14px;
    border-radius: var(--border-radius-large);
    background: var(--section-bg-color);
    color: var(--dark-color);
    font-size: 13px;
    text-decoration: none;
}

.location-city-chip:hover {
    background: var(--primary-color);
    color: var(--white-color);
}

.location-search-results {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 5;
    background: var(--white-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-small);
    box-shadow: 0 12px 24px rgba(0, 0, 0, .12);
    max-height: 220px;
    overflow-y: auto;
    display: none;
}

.location-search-results.show {
    display: block;
}

.location-search-result-item {
    display: block;
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 10px 14px;
    font-size: 13px;
    border-bottom: 1px solid var(--border-color);
}

.location-search-result-item:last-child {
    border-bottom: none;
}

.location-search-result-item:hover {
    background: var(--section-bg-color);
}

.location-use-gps-btn {
    display: inline-flex;
    align-items: center;
    background: none;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: var(--border-radius-large);
    padding: 8px 16px;
    font-size: 13px;
    font-weight: var(--font-weight-bold);
    margin-top: 12px;
}

.location-use-gps-btn:hover {
    background: var(--primary-color);
    color: var(--white-color);
}

.location-picker-map {
    height: 280px;
    border-radius: var(--border-radius-medium);
    overflow: hidden;
    z-index: 1;
}

/* Active-location chip on the search results page */
.search-location-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--section-bg-color);
    border-radius: var(--border-radius-large);
    padding: 8px 14px;
    font-size: 13px;
    color: var(--dark-color);
}

.search-location-chip-clear {
    color: var(--p-color);
    margin-left: 4px;
}

.search-location-chip-clear:hover {
    color: var(--primary-color);
}

.jd-search-form {
    display: flex;
    align-items: stretch;
    flex: 1 1 480px;
    max-width: 700px;
    min-width: 0;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-small);
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .06);
    transition: box-shadow .2s ease;
}

.jd-search-form:focus-within {
    box-shadow: 0 0 0 3px rgba(3, 195, 183, .35), 0 2px 10px rgba(0, 0, 0, .12);
}

.jd-search-category {
    border: none;
    background: var(--section-bg-color);
    padding: 0 16px;
    font-size: 14px;
    max-width: 170px;
    min-width: 0;
    height: 46px;
    color: var(--p-color);
}

.jd-search-divider {
    width: 1px;
    background: var(--border-color);
}

.jd-search-input {
    flex: 1;
    border: none;
    padding: 0 18px;
    font-size: 14px;
    height: 46px;
    min-width: 0;
    background: var(--white-color);
}

.jd-search-category:focus,
.jd-search-input:focus {
    outline: none;
    box-shadow: none;
}

.jd-search-btn {
    background: var(--secondary-color);
    color: var(--white-color);
    border: none;
    padding: 0 24px;
    height: 46px;
    font-size: 18px;
    transition: background-color .2s ease;
}

.jd-search-btn:hover {
    background: var(--primary-color);
}

.jd-account-area {
    flex-shrink: 0;
}

.jd-signin-btn {
    color: var(--white-color);
    font-size: 14px;
    font-weight: var(--font-weight-bold);
    text-decoration: none;
    padding: 9px 20px;
    background: var(--secondary-color);
    border: 1px solid var(--secondary-color);
    border-radius: var(--border-radius-small);
    transition: background-color .2s ease, border-color .2s ease, transform .15s ease;
}

.jd-signin-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white-color);
    transform: translateY(-1px);
}

.jd-account-dropdown {
    display: flex;
    align-items: center;
    padding-left: 10px;
    margin-left: 4px;
    border-left: 1px solid var(--border-color);
}

.jd-account-avatar-link {
    display: inline-flex;
}

.jd-account-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-color);
    transition: border-color .2s ease;
}

.jd-account-avatar-link:hover .jd-account-avatar {
    border-color: var(--secondary-color);
}

.jd-account-menu {
    min-width: 220px;
    padding: 8px 0;
    border: none;
    border-radius: var(--border-radius-small);
    box-shadow: 0 12px 32px rgba(0, 0, 0, .16);
}

.jd-account-menu-name {
    padding: 6px 16px;
    font-size: 13px;
    font-weight: var(--font-weight-bold);
    color: var(--dark-color);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 4px;
}

.jd-account-menu .dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    font-size: 14px;
    color: var(--dark-color);
    transition: background-color .15s ease, color .15s ease;
}

.jd-account-menu .dropdown-item i {
    font-size: 15px;
    color: var(--p-color);
    width: 16px;
    text-align: center;
}

.jd-account-menu .dropdown-item:hover {
    background: var(--section-bg-color);
    color: var(--primary-color);
}

.jd-account-menu .dropdown-item:hover i {
    color: var(--primary-color);
}

@media (max-width: 767.98px) {
    .main-bar-jd .container {
        gap: 12px;
    }

    .jd-search-form {
        flex-basis: 100%;
        max-width: 100%;
    }

    .jd-signin-btn {
        padding: 8px 14px;
        font-size: 13px;
    }
}

@media (max-width: 575px) {
    .jd-search-category {
        max-width: 100px;
    }

    .jd-search-input {
        padding: 0 10px;
        font-size: 13px;
    }

    .jd-search-btn {
        padding: 0 16px;
    }
}

.header-icon-btn {
    position: relative;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: none;
    color: var(--dark-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    text-decoration: none;
    flex-shrink: 0;
    transition: background-color .2s ease, color .2s ease;
}

.header-icon-btn:hover {
    background: var(--section-bg-color);
    color: var(--primary-color);
}

.header-icon-btn.header-account-btn {
    background: var(--primary-color);
    color: var(--white-color);
    font-weight: var(--font-weight-bold);
    font-size: 16px;
}

.icon-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: var(--border-radius-large);
    background: var(--secondary-color);
    color: var(--white-color);
    font-size: 11px;
    font-weight: var(--font-weight-bold);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Bar 3 — categories + quick-link nav, sits below the sticky main bar so it
   scrolls away with the page (only .main-bar-jd is wrapped by jquery.sticky.js). */
.categories-bar {
    background: var(--primary-color);
    padding: 8px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .1);
    position: relative;
    z-index: 10;
}

.categories-bar-btn {
    background: rgba(255, 255, 255, .15);
    border: none;
    color: var(--white-color);
    font-weight: var(--font-weight-bold);
    font-size: 14px;
    padding: 8px 16px;
    border-radius: var(--border-radius-small);
}

.categories-bar-btn:hover,
.categories-bar-btn:focus {
    background: rgba(255, 255, 255, .25);
    color: var(--white-color);
}

.categories-bar-links {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.categories-bar-link {
    display: inline-flex;
    align-items: center;
    color: rgba(255, 255, 255, .85);
    text-decoration: none;
    font-size: 14px;
    font-weight: var(--font-weight-medium);
    padding: 8px 14px;
    border-radius: var(--border-radius-large);
    transition: background-color .2s ease, color .2s ease;
}

.categories-bar-link:hover {
    background: rgba(255, 255, 255, .14);
    color: var(--white-color);
}

.categories-bar-link.is-active {
    background: var(--white-color);
    color: var(--primary-color);
    font-weight: var(--font-weight-bold);
}

.categories-bar-recent {
    font-weight: var(--font-weight-bold);
}

/* Categories dropdown menu (triggered from the "Browse All Categories" button) */
.dropdown-categories {
    border: none;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .12);
    border-radius: var(--border-radius-medium);
    padding: 10px;
    min-width: 220px;
}

.dropdown-categories .dropdown-item {
    border-radius: var(--border-radius-small);
    padding: 8px 12px;
    font-size: 14px;
}

.dropdown-categories .dropdown-item:hover {
    background: var(--section-bg-color);
    color: var(--primary-color);
}

.site-section {
    padding: 48px 0;
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: normal;
    color: var(--secondary-color);
    margin-bottom: 8px;
}

.section-eyebrow::before {
    content: "";
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: var(--secondary-color);
    display: inline-block;
}

.site-section-title {
    font-size: 26px;
    font-weight: var(--font-weight-bold);
    letter-spacing: normal;
    line-height: 1.3;
    color: var(--dark-color);
    margin-bottom: 6px;
}

.site-section-subtitle {
    font-size: 14px;
    color: var(--p-color);
    margin-bottom: 24px;
}

/* Hero / search */
.search-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 90px 0 70px;
    color: var(--white-color);
}

.search-hero h1 {
    font-weight: var(--font-weight-bold);
    font-size: 42px;
}

.search-hero p.lead {
    opacity: .9;
}

.search-box {
    background: var(--white-color);
    border-radius: var(--border-radius-medium);
    padding: 14px;
    box-shadow: 0 20px 40px rgba(0,0,0,.15);
}

.search-box select,
.search-box input {
    border: none;
    height: 48px;
}

.search-box select:focus,
.search-box input:focus {
    box-shadow: none;
}

/* Primary action button — used site-wide (hero search, filters, forms, CTAs),
   not just inside .search-box. */
.btn-search {
    background: var(--secondary-color);
    color: var(--white-color);
    border: none;
    height: 48px;
    padding: 0 20px;
    font-weight: var(--font-weight-bold);
    border-radius: var(--border-radius-small);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.btn-search:hover {
    background: var(--primary-color);
    color: var(--white-color);
}

.search-box .btn-search {
    height: 48px;
}

/* Category grid */
.category-card {
    display: block;
    text-align: center;
    padding: 28px 12px;
    border-radius: var(--border-radius-medium);
    background: var(--white-color);
    border: 1px solid var(--border-color);
    transition: transform .15s ease, box-shadow .15s ease;
    text-decoration: none;
    color: var(--dark-color);
    height: 100%;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,.08);
    color: var(--primary-color);
}

.category-card .category-icon {
    font-size: 34px;
    color: var(--primary-color);
    margin-bottom: 12px;
    display: block;
}

.category-card .category-name {
    font-weight: var(--font-weight-bold);
    font-size: 15px;
}

.category-tile {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    border-radius: var(--border-radius-small);
    background: var(--white-color);
    border: 1px solid var(--border-color);
    text-decoration: none;
    color: var(--dark-color);
    height: 100%;
    transition: transform .15s ease, box-shadow .15s ease;
}

.category-tile:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, .08);
    color: var(--primary-color);
}

.category-tile-img {
    width: 32px;
    height: 32px;
    border-radius: var(--border-radius-small);
    object-fit: cover;
    flex-shrink: 0;
}

.category-tile-name {
    font-weight: var(--font-weight-bold);
    font-size: 14px;
}

.category-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: 1px solid var(--border-color);
    color: var(--primary-color);
    font-weight: var(--font-weight-bold);
    font-size: 13px;
    padding: 8px 18px;
    border-radius: var(--border-radius-large);
}

.category-toggle-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white-color);
}

@media (max-width: 767.98px) {
    #categoryGrid .category-extra-sm {
        display: none;
    }

    #categoryGrid.categories-expanded .category-extra-sm {
        display: block;
    }
}

@media (min-width: 768px) {
    #categoryGrid .category-extra-lg {
        display: none;
    }

    #categoryGrid.categories-expanded .category-extra-lg {
        display: block;
    }
}

/* Swiper's CSS defaults to align-items:stretch on the flex wrapper, which forces
   every slide (including off-screen ones) to match the tallest slide's height —
   blowing up short vendor cards into mostly-empty boxes. Slides should size to
   their own content instead. */
.swiper-wrapper {
    align-items: flex-start;
}

/* Vendor card */
.vendor-card {
    border-radius: var(--border-radius-medium);
    overflow: hidden;
    background: var(--white-color);
    border: 1px solid var(--border-color);
    height: 100%;
    transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}

.vendor-card:hover {
    box-shadow: 0 20px 36px rgba(0,0,0,.12);
    transform: translateY(-4px);
    border-color: rgba(11,135,125,.25);
}

.vendor-card .vendor-card-img {
    height: 188px;
    width: 100%;
    object-fit: cover;
    background: var(--section-bg-color);
    display: block;
    transition: transform .4s ease;
}

.vendor-card:hover .vendor-card-img {
    transform: scale(1.07);
}

.vendor-card .vendor-card-body {
    padding: 18px;
}

.vendor-card .vendor-card-name {
    font-weight: var(--font-weight-bold);
    font-size: 17px;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--dark-color);
    text-decoration: none;
}

.vendor-card .vendor-card-name:hover {
    color: var(--primary-color);
}

.vendor-card .vendor-card-category {
    font-size: 13px;
    color: var(--p-color);
}

.vendor-card .vendor-card-location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--p-color);
    margin-bottom: 0;
}

.vendor-card .vendor-card-location span:first-of-type {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vendor-card .vendor-card-location i {
    color: var(--primary-color);
    font-size: 12px;
    flex-shrink: 0;
}

.vendor-card-distance {
    margin-left: auto;
    flex-shrink: 0;
    background: var(--section-bg-color);
    color: var(--dark-color);
    font-size: 11px;
    font-weight: var(--font-weight-bold);
    padding: 2px 8px;
    border-radius: var(--border-radius-small);
}

.vendor-card-divider {
    height: 1px;
    background: var(--border-color);
    margin: 14px 0 12px;
}

.vendor-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.vendor-card-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.vendor-card-icon-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--section-bg-color);
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
    transition: background .15s ease, color .15s ease;
}

.vendor-card-icon-btn:hover {
    background: var(--primary-color);
    color: var(--white-color);
}

.vendor-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--primary-color);
    color: var(--white-color) !important;
    font-weight: var(--font-weight-bold);
    font-size: 12.5px;
    padding: 7px 14px;
    border-radius: var(--border-radius-large);
    text-decoration: none;
    white-space: nowrap;
    transition: background .15s ease, gap .15s ease;
}

.vendor-card-cta:hover {
    background: var(--secondary-color);
    gap: 7px;
}

.vendor-card .favorite-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255,255,255,.92);
    border: none;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0,0,0,.12);
    transition: transform .15s ease, background .15s ease;
}

.vendor-card .favorite-btn:hover {
    transform: scale(1.08);
    background: var(--white-color);
}

.vendor-card-img-wrap {
    position: relative;
    overflow: hidden;
}

.vendor-card-img-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 64px;
    background: linear-gradient(to top, rgba(0,0,0,.55), transparent);
    pointer-events: none;
    z-index: 1;
}

.vendor-card-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

.vendor-card-badges .vendor-card-badge {
    position: static;
    top: auto;
    left: auto;
}

.vendor-card-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--primary-color);
    color: var(--white-color);
    font-size: 11px;
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: normal;
    padding: 4px 10px;
    border-radius: var(--border-radius-small);
    z-index: 2;
}

.vendor-card-badge.badge-premium {
    background: linear-gradient(135deg, #f7c548, #d6900f);
    color: #2b1a00;
}

.vendor-card-category-chip {
    position: absolute;
    left: 12px;
    bottom: 10px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(255,255,255,.95);
    color: var(--primary-color);
    font-size: 11px;
    font-weight: var(--font-weight-bold);
    padding: 5px 10px;
    border-radius: var(--border-radius-small);
}

/* Premium vendor highlight */
.vendor-card.vendor-card-premium {
    border-color: #f0c14b;
    box-shadow: 0 6px 20px rgba(240,193,75,.22);
}

.vendor-card.vendor-card-premium:hover {
    box-shadow: 0 22px 38px rgba(240,193,75,.3);
}

.vendor-card-view {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary-color);
    font-weight: var(--font-weight-bold);
    font-size: 13px;
    text-decoration: none;
    padding: 7px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-large);
    transition: background .15s ease, color .15s ease, border-color .15s ease, gap .15s ease;
}

.vendor-card-view:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white-color);
    gap: 9px;
}

.add-business-card {
    border: 2px dashed var(--border-color);
    min-height: 220px;
}

.add-business-card:hover {
    border-color: var(--primary-color);
}

.vendor-card-badge.status-approved {
    background: #28a745;
}

.vendor-card-badge.status-rejected {
    background: #dc3545;
}

.mb-status-badge {
    position: static;
    flex-shrink: 0;
    margin-left: 12px;
}

/* Star rating */
.star-rating {
    color: #f5a623;
    font-size: 14px;
    white-space: nowrap;
}

.star-rating .bi-star-fill,
.star-rating .bi-star-half,
.star-rating .bi-star {
    margin-right: 1px;
}

.star-rating-input {
    display: inline-flex;
    gap: 4px;
    font-size: 22px;
    color: #f5a623;
}

.star-rating-input i {
    cursor: pointer;
}

.rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--secondary-color);
    color: var(--white-color);
    border-radius: var(--border-radius-small);
    padding: 2px 8px;
    font-size: 13px;
    font-weight: var(--font-weight-bold);
}

/* How it works */
.step-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--white-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin: 0 auto 16px;
}

/* CTA banner */
.cta-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white-color);
    border-radius: var(--border-radius-medium);
    padding: 50px;
}

.cta-banner .btn-cta {
    background: var(--white-color);
    color: var(--primary-color);
    border-radius: var(--border-radius-large);
    padding: 12px 30px;
    font-weight: var(--font-weight-bold);
    text-decoration: none;
    display: inline-block;
}

.cta-banner .btn-cta:hover {
    background: var(--dark-color);
    color: var(--white-color);
}

/* Filter sidebar */
.filter-card {
    background: var(--white-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-medium);
    padding: 20px;
}

.filter-card h6 {
    font-weight: var(--font-weight-bold);
    letter-spacing: normal;
    margin-bottom: 14px;
}

/* Vendor profile page */
.vendor-banner-img {
    height: 360px;
    width: 100%;
    object-fit: cover;
    border-radius: var(--border-radius-medium);
}

.vendor-header {
    background: var(--white-color);
    border-radius: var(--border-radius-medium);
    border: 1px solid var(--border-color);
    padding: 24px;
}

.contact-action-btn {
    border-radius: var(--border-radius-large);
    padding: 10px 22px;
    font-weight: var(--font-weight-bold);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.contact-action-btn.call {
    background: var(--primary-color);
    color: var(--white-color);
}

.contact-action-btn.whatsapp {
    background: #25D366;
    color: var(--white-color);
}

.contact-action-btn.save {
    background: var(--section-bg-color);
    color: var(--dark-color);
    border: 1px solid var(--border-color);
}

.contact-action-btn.save.is-saved {
    background: var(--primary-color);
    color: var(--white-color);
}

.service-card {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-medium);
    overflow: hidden;
    background: var(--white-color);
    height: 100%;
    transition: box-shadow .15s ease;
}

.service-card img {
    height: 140px;
    width: 100%;
    object-fit: cover;
}

.service-card .price-strike {
    text-decoration: line-through;
    color: var(--p-color);
    font-size: 13px;
}

.service-card:hover {
    box-shadow: 0 12px 28px rgba(0, 0, 0, .08);
}

.service-card-img {
    height: 180px !important;
}

.service-card-pill {
    display: inline-block;
    background: var(--section-bg-color);
    color: var(--p-color);
    font-size: 11px;
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: normal;
    padding: 3px 10px;
    border-radius: var(--border-radius-large);
}

.service-card-name {
    font-weight: var(--font-weight-bold);
    font-size: 15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.service-card-price-now {
    font-size: 18px;
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
}

.service-card-price-was {
    display: block;
    font-size: 12px;
    color: var(--p-color);
    text-decoration: line-through;
}

.service-card-clickable {
    cursor: pointer;
}

.service-card-clickable:hover {
    box-shadow: 0 12px 28px rgba(0, 0, 0, .08);
}

.service-detail-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: var(--border-radius-medium);
}

.service-detail-static-badge {
    position: static;
}

.service-detail-price {
    font-size: 16px;
}

.service-detail-price .service-card-price-was {
    margin-right: 8px;
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.service-list-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-medium);
    background: var(--white-color);
    transition: box-shadow .15s ease;
}

.service-list-main {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
    min-width: 0;
    cursor: pointer;
}

.service-list-main:hover .service-list-name {
    color: var(--primary-color);
}

.service-list-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.service-list-img {
    width: 84px;
    height: 84px;
    border-radius: var(--border-radius-small);
    object-fit: cover;
    flex-shrink: 0;
}

.service-list-body {
    flex: 1;
    min-width: 0;
}

.service-list-badge-row {
    flex-wrap: wrap;
    row-gap: 4px;
}

.service-list-name {
    font-weight: var(--font-weight-bold);
    font-size: 15px;
    white-space: nowrap;
    letter-spacing: normal;
    overflow: hidden;
    text-overflow: ellipsis;
}

.service-list-price {
    flex-shrink: 0;
    text-align: right;
}

.service-list-item-inactive {
    opacity: .6;
}

.service-list-item-inactive .service-list-img {
    filter: grayscale(.4);
}

.service-status-badge {
    display: inline-flex;
    align-items: center;
    background: #f1f1f1;
    color: #8a8a8a;
    font-size: 11px;
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: normal;
    padding: 3px 10px;
    border-radius: var(--border-radius-large);
}

.js-sale-status-toggle i {
    font-size: 16px;
}

.service-detail-status-row {
    padding-top: 14px;
    border-top: 1px solid var(--border-color);
}

#saleDetailStatusToggle i {
    margin-right: 4px;
}

@media (max-width: 575.98px) {
    .service-list-item {
        flex-wrap: wrap;
        align-items: flex-start;
    }

    .service-list-main {
        flex-wrap: wrap;
        width: 100%;
    }

    .service-list-price {
        width: 100%;
        text-align: left;
        margin-left: 100px;
    }

    .service-list-actions {
        width: 100%;
        margin-left: 100px;
        margin-top: 10px;
    }
}

.blog-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.blog-list-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-medium);
    background: var(--white-color);
    text-decoration: none;
    transition: box-shadow .15s ease;
}

.blog-list-item:hover {
    box-shadow: 0 12px 28px rgba(0, 0, 0, .08);
}

.blog-list-img {
    width: 84px;
    height: 84px;
    border-radius: var(--border-radius-small);
    object-fit: cover;
    flex-shrink: 0;
}

.blog-list-body {
    flex: 1;
    min-width: 0;
}

.blog-list-title {
    font-weight: var(--font-weight-bold);
    font-size: 15px;
    color: var(--dark-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.blog-list-date {
    font-size: 12px;
    color: var(--p-color);
}

.blog-list-arrow {
    color: var(--p-color);
    flex-shrink: 0;
}

@media (max-width: 575.98px) {
    .blog-list-arrow {
        display: none;
    }
}

.blog-detail-card {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-medium);
    background: var(--white-color);
    overflow: hidden;
}

.blog-detail-cover {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
}

.blog-detail-title {
    font-size: 26px;
    font-weight: var(--font-weight-bold);
    letter-spacing: normal;
    line-height: 1.3;
    color: var(--dark-color);
}

.blog-detail-date {
    font-size: 13px;
    color: var(--p-color);
}

.blog-detail-content {
    font-size: 15px;
    line-height: 1.7;
    color: var(--p-color);
}

.blog-detail-content img {
    max-width: 100%;
    border-radius: var(--border-radius-small);
}

@media (max-width: 575.98px) {
    .blog-detail-cover {
        height: 200px;
    }

    .blog-detail-title {
        font-size: 20px;
    }
}

/* My Business gallery */
.gallery-tile {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: var(--border-radius-medium);
    overflow: hidden;
    border: 1px solid var(--border-color);
    background: var(--section-bg-color);
}

.gallery-tile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    cursor: pointer;
    transition: transform .2s ease;
}

.gallery-tile:hover .gallery-tile-img {
    transform: scale(1.05);
}

.gallery-tile-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white-color);
    font-size: 22px;
    background: rgba(0, 0, 0, 0);
    opacity: 0;
    pointer-events: none;
    transition: opacity .15s ease, background .15s ease;
}

.gallery-tile:hover .gallery-tile-overlay {
    opacity: 1;
    background: rgba(0, 0, 0, .25);
}

.gallery-delete-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 2;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, .9);
    color: #dc3545;
}

.gallery-delete-btn:hover {
    background: #dc3545;
    color: var(--white-color);
}

/* Blog post editor (Quill) */
.blog-content-editor {
    background: var(--white-color);
    font-family: var(--body-font-family);
}

.blog-content-editor .ql-toolbar.ql-snow {
    border-color: var(--border-color);
    border-radius: var(--border-radius-medium) var(--border-radius-medium) 0 0;
}

.blog-content-editor .ql-container.ql-snow {
    border-color: var(--border-color);
    border-radius: 0 0 var(--border-radius-medium) var(--border-radius-medium);
    min-height: 420px;
    font-size: 15px;
}

/* Compact rich-text editor (Quill) — same styling as .blog-content-editor but
   shorter, for forms with several rich-text fields side by side (job description,
   responsibilities, requirements) rather than one large blog body. */
.rich-text-editor {
    background: var(--white-color);
    font-family: var(--body-font-family);
}

.rich-text-editor .ql-toolbar.ql-snow {
    border-color: var(--border-color);
    border-radius: var(--border-radius-medium) var(--border-radius-medium) 0 0;
}

.rich-text-editor .ql-container.ql-snow {
    border-color: var(--border-color);
    border-radius: 0 0 var(--border-radius-medium) var(--border-radius-medium);
    min-height: 150px;
    font-size: 14px;
}

/* Renders the HTML saved by .rich-text-editor (job description / responsibilities
   / requirements) — same reset as .blog-detail-content. */
.job-rich-content {
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--p-color);
}

.job-rich-content img {
    max-width: 100%;
    border-radius: var(--border-radius-small);
}

.job-rich-content p:last-child {
    margin-bottom: 0;
}

/* Pill-style multi-select checkboxes (Job Type / Work Mode) */
.pill-checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pill-checkbox {
    position: relative;
    display: inline-flex;
    cursor: pointer;
}

.pill-checkbox input {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    cursor: pointer;
}

.pill-checkbox span {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: var(--border-radius-large);
    border: 1px solid var(--border-color);
    background: var(--white-color);
    color: var(--p-color);
    font-size: 13px;
    font-weight: 600;
    transition: background .15s ease, border-color .15s ease, color .15s ease;
    user-select: none;
}

.pill-checkbox:hover span {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.pill-checkbox input:checked + span {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white-color);
}

.review-item {
    border-bottom: 1px solid var(--border-color);
    padding: 16px 0;
}

.review-item:last-child {
    border-bottom: none;
}

.enquiry-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.enquiry-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-medium);
    background: var(--white-color);
    transition: box-shadow .15s ease;
}

.enquiry-card:hover {
    box-shadow: 0 10px 24px rgba(0,0,0,.06);
}

.enquiry-card-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--section-bg-color);
    color: var(--primary-color);
    font-weight: var(--font-weight-bold);
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.enquiry-card-body {
    flex: 1;
    min-width: 0;
}

.enquiry-card-name {
    font-weight: var(--font-weight-bold);
    font-size: 15px;
    color: var(--dark-color);
}

.enquiry-card-ref {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--p-color);
}

.enquiry-card-date {
    font-size: 12px;
    color: var(--p-color);
    white-space: nowrap;
    flex-shrink: 0;
}

.enquiry-card-title {
    display: inline-flex;
    background: var(--section-bg-color);
    color: var(--primary-color);
    font-size: 12px;
    font-weight: var(--font-weight-bold);
    padding: 3px 10px;
    border-radius: var(--border-radius-large);
    margin-bottom: 8px;
}

.enquiry-card-message {
    font-size: 14px;
    color: var(--dark-color);
}

.enquiry-card-actions {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.thread-unread-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: var(--border-radius-large);
    background: var(--secondary-color);
    color: var(--white-color);
    font-size: 11px;
    font-weight: var(--font-weight-bold);
    flex-shrink: 0;
}

/* Chat inbox (messages.index) — a flat conversation list, not boxed cards */
.chat-inbox-panel {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-medium);
    background: var(--white-color);
    overflow: hidden;
}

.chat-inbox-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--border-color);
    color: var(--dark-color);
    transition: background .15s ease;
}

.chat-inbox-item:last-child {
    border-bottom: none;
}

.chat-inbox-item:hover {
    background: var(--section-bg-color);
    color: var(--dark-color);
}

.chat-inbox-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--section-bg-color);
    color: var(--primary-color);
    font-weight: var(--font-weight-bold);
    font-size: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.chat-inbox-item-unread .chat-inbox-avatar {
    background: var(--primary-color);
    color: var(--white-color);
}

.chat-inbox-body {
    flex: 1;
    min-width: 0;
}

.chat-inbox-top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
}

.chat-inbox-name {
    font-weight: var(--font-weight-bold);
    font-size: 15px;
    color: var(--dark-color);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.chat-inbox-time {
    font-size: 12px;
    color: var(--p-color);
    flex-shrink: 0;
}

.chat-inbox-item-unread .chat-inbox-time {
    color: var(--primary-color);
    font-weight: var(--font-weight-bold);
}

.chat-inbox-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 2px;
}

.chat-inbox-preview {
    font-size: 13.5px;
    color: var(--p-color);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.chat-inbox-item-unread .chat-inbox-preview {
    color: var(--dark-color);
    font-weight: var(--font-weight-bold);
}

.chat-inbox-preview-you {
    color: var(--p-color);
    font-weight: var(--font-weight-normal);
}

/* Chat thread (messages.show) */
.chat-thread-container {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.chat-thread-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-medium);
    background: var(--white-color);
    box-shadow: 0 10px 30px rgba(0,0,0,.06);
    overflow: hidden;
}

.chat-thread-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    background: var(--white-color);
}

.chat-thread-header-info {
    min-width: 0;
}

.chat-thread-subject {
    font-size: 12px;
    color: var(--p-color);
}

.chat-thread-body {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 4px;
    padding: 20px;
    min-height: 360px;
    max-height: 480px;
    overflow-y: auto;
    background: var(--white-color);
}

.chat-bubble-row {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 10px;
}

.chat-bubble-row-mine {
    justify-content: flex-end;
}

.chat-bubble {
    max-width: 70%;
    padding: 10px 14px;
    border-radius: var(--border-radius-medium);
    font-size: 14px;
    box-shadow: 0 1px 2px rgba(0,0,0,.05);
}

.chat-bubble-theirs {
    background: #eef0f2;
    color: var(--dark-color);
    border-bottom-left-radius: 4px;
}

.chat-bubble-mine {
    background: var(--primary-color);
    color: var(--white-color);
    border-bottom-right-radius: 4px;
}

.chat-bubble-text {
    margin: 0;
    white-space: pre-wrap;
    word-break: break-word;
}

.chat-bubble-time {
    display: block;
    margin-top: 4px;
    font-size: 11px;
    opacity: .7;
}

.chat-reply-bar {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    padding: 14px 16px;
    border-top: 1px solid var(--border-color);
    background: var(--white-color);
}

.chat-reply-input {
    flex: 1;
    resize: none;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-large);
    padding: 10px 18px;
    font-size: 14px;
    background: #eef0f2;
}

.chat-reply-input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--white-color);
}

.chat-reply-send-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: var(--primary-color);
    color: var(--white-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background .15s ease;
}

.chat-reply-send-btn:hover {
    background: var(--secondary-color);
}

.chat-reply-send-btn:disabled {
    opacity: .6;
}

.review-card-flex {
    display: flex;
    gap: 14px;
}

.review-card-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--font-weight-bold);
    font-size: 16px;
    flex-shrink: 0;
}

.review-card-body {
    flex: 1;
    min-width: 0;
}

.review-card-name {
    font-weight: var(--font-weight-bold);
    font-size: 14px;
    color: var(--dark-color);
}

.review-card-date {
    font-size: 12px;
    color: var(--p-color);
    margin-top: 2px;
}

.review-card-text {
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.5;
}

.reviews-tab-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.reviews-tab-title {
    font-weight: var(--font-weight-bold);
    color: var(--dark-color);
}

.reviews-tab-header .btn-contact-gradient {
    display: inline-block;
    width: auto;
    margin-bottom: 0;
    padding: 10px 22px;
    font-size: 14px;
}

.review-modal .modal-content,
.enquiry-modal .modal-content {
    border: none;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .25);
}

.review-modal-header,
.enquiry-modal-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white-color);
    border: none;
    align-items: flex-start;
    padding: 22px 24px;
}

.review-modal-header .modal-title,
.enquiry-modal-header .modal-title {
    color: var(--white-color);
    letter-spacing: normal;
    font-weight: var(--font-weight-bold);
}

.review-modal-subtitle,
.enquiry-modal-subtitle {
    color: rgba(255, 255, 255, .85);
    font-size: 13px;
}

.review-modal-header .btn-close,
.enquiry-modal-header .btn-close {
    filter: brightness(0) invert(1);
}

.review-modal .modal-body,
.enquiry-modal .modal-body {
    padding: 28px 24px;
}

.review-modal-stars {
    text-align: center;
}

.star-rating-input-lg {
    justify-content: center;
    font-size: 34px;
    gap: 8px;
}

.star-rating-input-lg i {
    transition: transform .12s ease;
}

.star-rating-input-lg i:hover {
    transform: scale(1.15);
}

.review-modal-stars-label {
    margin-top: 10px;
    font-size: 13px;
    font-weight: var(--font-weight-bold);
    color: var(--p-color);
}

.review-modal-footer,
.enquiry-modal-footer {
    border-top: 1px solid var(--border-color);
    padding: 16px 24px;
}

.review-modal-footer .btn-contact-gradient,
.enquiry-modal-footer .btn-contact-gradient {
    display: inline-block;
    width: auto;
    margin-bottom: 0;
    padding: 10px 22px;
    font-size: 14px;
}

.btn-cancel-outline {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--p-color);
    border-radius: var(--border-radius-large);
    padding: 10px 22px;
    font-weight: var(--font-weight-bold);
}

.btn-cancel-outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.contact-tab-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.contact-tab-header .btn-contact-gradient {
    display: inline-block;
    width: auto;
    margin-bottom: 0;
    padding: 10px 22px;
    font-size: 14px;
}

.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 20px;
}

.contact-details-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.contact-details-icon {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}

.contact-details-label {
    font-size: 12px;
    color: var(--p-color);
    margin-bottom: 2px;
}

.contact-details-value {
    font-size: 14px;
    font-weight: var(--font-weight-bold);
    color: var(--dark-color);
}

.contact-details-value a {
    color: var(--dark-color);
    text-decoration: none;
}

.contact-details-value a:hover {
    color: var(--primary-color);
}

.rating-badge-high {
    background-color: #1ea672 !important;
}

.rating-badge-mid {
    background-color: #f1a542 !important;
}

.rating-badge-low {
    background-color: #e6483a !important;
}

.review-empty {
    text-align: center;
    padding: 36px 0;
}

.vendor-pagination {
    margin-top: 16px;
}

.vendor-pagination .pagination {
    justify-content: center;
    gap: 4px;
    margin: 0;
}

.vendor-pagination .page-link {
    border-radius: var(--border-radius-small) !important;
    border: 1px solid var(--border-color);
    color: var(--dark-color);
    font-size: 13px;
    padding: 6px 12px;
}

.vendor-pagination .page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white-color);
}

.vendor-pagination .page-item.disabled .page-link {
    color: #ccc;
}

/* My Business dashboard — denser, app-like spacing than the marketing
   .site-section/.site-section-title (which are sized for full-page hero
   sections, not a sidebar-bound dashboard content area). */
.mb-section {
    padding: 32px 0;
}

.mb-page-title {
    font-weight: var(--font-weight-bold);
    font-size: 22px;
    line-height: 1.3;
    letter-spacing: normal;
    color: var(--dark-color);
    margin-bottom: 4px;
}

.mb-page-subtitle {
    color: var(--p-color);
    font-size: 14px;
    margin-bottom: 20px;
}

.mb-sidebar {
    background: var(--white-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-medium);
    padding: 18px;
}

.mb-sidebar a {
    display: block;
    padding: 10px 14px;
    border-radius: var(--border-radius-small);
    color: var(--dark-color);
    text-decoration: none;
    margin-bottom: 4px;
    font-size: 14px;
    font-weight: var(--font-weight-bold);
}

.mb-sidebar a.active,
.mb-sidebar a:hover {
    background: var(--primary-color);
    color: var(--white-color);
}

.mb-sidebar hr {
    margin: 12px 0;
    border-color: var(--border-color);
    opacity: 1;
}

.mb-sidebar-user {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 4px 4px 8px;
}

.mb-sidebar-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.mb-sidebar-user-info {
    min-width: 0;
}

.mb-sidebar-user-name {
    font-weight: var(--font-weight-bold);
    font-size: 15px;
    color: var(--dark-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mb-sidebar-user-email {
    font-size: 12px;
    color: var(--p-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mb-sidebar-logout-btn {
    display: block;
    width: 100%;
    text-align: left;
    padding: 10px 14px;
    border-radius: var(--border-radius-small);
    color: var(--primary-color);
    background: none;
    border: none;
    font-size: 14px;
    font-weight: var(--font-weight-bold);
}

.mb-sidebar-logout-btn:hover {
    background: var(--primary-color);
    color: var(--white-color);
}

/* The base template's generic `.form-check-input[type=checkbox]` rule (built
   for its big icon-tile checkboxes) sets width:100%/padding:40px 50px, which
   blows up an ordinary Bootstrap checkbox into a giant blob. Restore the
   normal checkbox sizing here. */
.working-hours-table .form-check-input[type="checkbox"] {
    width: 1em;
    height: 1em;
    padding: 0;
    margin: 0;
    border: 1px solid var(--border-color);
    border-radius: 0.25em;
}

.working-hours-table .form-check {
    display: flex;
    align-items: center;
    gap: 0.5em;
    padding-left: 0;
}

.working-hours-table .form-check-label {
    margin: 0;
}

.mb-stat-card {
    background: var(--white-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-medium);
    padding: 22px;
    text-align: center;
}

.mb-stat-card .stat-number {
    font-size: 30px;
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
}

a.mb-stat-card:hover {
    box-shadow: 0 12px 24px rgba(0, 0, 0, .08);
}

.pending-banner {
    background: #fff3cd;
    border: 1px solid #ffe69c;
    border-radius: var(--border-radius-medium);
    padding: 24px;
}

.auth-card {
    max-width: 480px;
    margin: 60px auto;
    background: var(--white-color);
    border-radius: var(--border-radius-medium);
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 45px rgba(0, 0, 0, .06);
    padding: 40px;
}

/* Login page — dedicated split layout (visual brand panel + form), separate
   from the plain .auth-card used by the other auth/registration pages.
   Shared by login, register (customer + vendor) and forgot-password — all of
   them wrap their card/split form in this same section. */
.login-section {
    padding: 60px 0;
    min-height: calc(100vh - 250px);
    display: flex;
    align-items: center;
    background:
        radial-gradient(circle at 12% 18%, rgba(11, 135, 125, 0.14) 0%, transparent 45%),
        radial-gradient(circle at 88% 82%, rgba(3, 195, 183, 0.14) 0%, transparent 45%),
        radial-gradient(circle at 50% 100%, rgba(11, 135, 125, 0.06) 0%, transparent 60%),
        linear-gradient(135deg, #fff8f6 0%, #fdf1ee 100%);
}

.login-section > .container {
    width: 100%;
}

.login-split {
    display: flex;
    max-width: 960px;
    margin: 0 auto;
    background: var(--white-color);
    border-radius: var(--border-radius-medium);
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 45px rgba(0, 0, 0, .08);
    overflow: hidden;
}

.login-split-visual {
    flex: 0 0 42%;
    position: relative;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white-color);
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.login-split-badge {
    display: inline-block;
    font-size: 13px;
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: normal;
    background: rgba(255, 255, 255, .18);
    border-radius: var(--border-radius-large);
    padding: 6px 16px;
    margin-bottom: 22px;
    width: fit-content;
}

.login-split-visual h2 {
    color: var(--white-color);
    font-weight: var(--font-weight-bold);
    margin-bottom: 14px;
}

.login-split-visual p {
    color: rgba(255, 255, 255, .85);
    margin-bottom: 0;
    max-width: 320px;
}

.login-split-image {
    align-self: center;
    width: 100%;
    max-width: 260px;
    margin-top: 24px;
}

.login-split-form {
    flex: 1;
    padding: 48px 44px;
}

.login-split-form h2 {
    color: var(--dark-color);
}

.login-input-group {
    position: relative;
    margin-bottom: 18px;
}

.login-input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--p-color);
    font-size: 16px;
}

.login-input {
    width: 100%;
    height: 50px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-medium);
    background: var(--section-bg-color);
    padding: 0 16px 0 44px;
    font-size: 14px;
    color: var(--dark-color);
}

.login-input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--white-color);
}

.login-link {
    font-size: 13px;
    font-weight: var(--font-weight-bold);
}

.login-submit-btn {
    height: 50px;
    border: none;
    border-radius: var(--border-radius-medium);
    background: var(--primary-color);
    color: var(--white-color);
    font-weight: var(--font-weight-bold);
    font-size: 15px;
}

.login-submit-btn:hover {
    background: var(--secondary-color);
}

.login-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 26px 0 18px;
    color: var(--p-color);
    font-size: 13px;
}

.login-divider::before,
.login-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-color);
}

.login-divider span {
    padding: 0 12px;
    white-space: nowrap;
}

.login-secondary-btn {
    height: 50px;
    line-height: 50px;
    background: none;
    border: 1px solid var(--primary-color);
    border-radius: var(--border-radius-medium);
    color: var(--primary-color);
    font-weight: var(--font-weight-bold);
    font-size: 15px;
    text-decoration: none;
    cursor: pointer;
}

.login-secondary-btn:hover {
    background: var(--primary-color);
    color: var(--white-color);
}

/* Vendor registration — wide multi-section form card, reuses the .login-*
   buttons/divider but with plain Bootstrap form-control/select fields since
   this form mixes text, select and textarea inputs. */
.vendor-form-card {
    max-width: 880px;
    margin: 0 auto;
    background: var(--white-color);
    border-radius: var(--border-radius-medium);
    box-shadow: 0 20px 45px rgba(0, 0, 0, .08);
    overflow: hidden;
}

.vendor-form-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 36px 40px;
    color: var(--white-color);
}

.vendor-form-hero h2 {
    color: var(--white-color);
    font-weight: var(--font-weight-bold);
    font-size: 26px;
    letter-spacing: normal;
    margin: 14px 0 6px;
}

.vendor-form-hero p {
    color: rgba(255, 255, 255, .85);
    margin-bottom: 0;
}

.vendor-form-body {
    padding: 40px;
}

.vendor-form-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: var(--font-weight-bold);
    color: var(--dark-color);
    margin: 0 0 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.vendor-form-section-title:not(:first-child) {
    margin-top: 32px;
}

.vendor-form-section-title i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white-color);
    font-size: 14px;
}

.vendor-form .form-label {
    font-size: 13px;
    font-weight: var(--font-weight-bold);
    color: var(--dark-color);
    margin-bottom: 6px;
}

.vendor-form .form-control,
.vendor-form .form-select {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-medium);
    background: var(--section-bg-color);
    padding: 10px 14px;
    font-size: 14px;
}

.vendor-form .form-control:focus,
.vendor-form .form-select:focus {
    border-color: var(--primary-color);
    background: var(--white-color);
    box-shadow: none;
}

@media (max-width: 767px) {
    .vendor-form-hero,
    .vendor-form-body {
        padding: 28px 24px;
    }

    .login-split {
        flex-direction: column;
    }

    .login-split-visual {
        flex: none;
        padding: 36px 28px;
    }

    .login-split-image {
        display: none;
    }

    .login-split-form {
        padding: 36px 28px;
    }
}

.auth-card h2 {
    color: var(--dark-color);
}

/* "Join Metromize" chooser — gradient hero + feature-list choice cards. */
.join-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 20px 0 20px;
    color: var(--white-color);
}

.join-hero-badge {
    display: inline-block;
    font-size: 13px;
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: normal;
    background: rgba(255, 255, 255, .18);
    border-radius: var(--border-radius-large);
    padding: 6px 18px;
    margin-bottom: 16px;
}

.join-hero-title {
    color: var(--white-color);
    font-weight: var(--font-weight-bold);
    font-size: 28px;
    margin-bottom: 10px;
}

.join-hero-subtitle {
    color: rgba(255, 255, 255, .85);
    margin-bottom: 0;
}

.join-choice-card {
    position: relative;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-medium);
    padding: 40px 32px;
    text-align: center;
    height: 100%;
    background: var(--white-color);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .04);
    transition: transform .15s ease, box-shadow .15s ease;
}

.join-choice-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .1);
}

.join-choice-card-highlight {
    border-color: var(--primary-color);
}

.join-choice-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    background: var(--secondary-color);
    color: var(--white-color);
    font-size: 11px;
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: normal;
    padding: 4px 10px;
    border-radius: var(--border-radius-large);
}

.join-choice-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white-color);
    font-size: 30px;
    margin-bottom: 20px;
}

.join-choice-card h4 {
    font-weight: var(--font-weight-bold);
    margin-bottom: 8px;
}

.join-choice-list {
    list-style: none;
    padding: 0;
    margin: 22px 0 28px;
    text-align: left;
}

.join-choice-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 14px;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.join-choice-list li i {
    color: var(--primary-color);
    margin-top: 2px;
}

.join-choice-btn {
    display: block;
    width: 100%;
    height: 48px;
    line-height: 48px;
    border-radius: var(--border-radius-medium);
    background: var(--primary-color);
    color: var(--white-color);
    font-weight: var(--font-weight-bold);
    text-decoration: none;
    font-size: 15px;
}

.join-choice-btn:hover {
    background: var(--secondary-color);
    color: var(--white-color);
}

.join-login-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 48px;
    padding-top: 28px;
    border-top: 1px solid var(--border-color);
}

.join-login-banner p {
    color: var(--p-color);
    font-size: 15px;
}

.join-login-btn {
    display: inline-flex;
    align-items: center;
    height: 42px;
    padding: 0 26px;
    border-radius: var(--border-radius-medium);
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: var(--font-weight-bold);
    font-size: 14px;
    text-decoration: none;
}

.join-login-btn:hover {
    background: var(--primary-color);
    color: var(--white-color);
}

/* Multi-column dark footer — overrides templatemo's original centered,
   single-row footer (text-align:center, inline-pill .footer-menu-link). */
.site-footer {
    background: var(--primary-color);
    text-align: left;
    border-top: none;
    padding-top: 60px;
    padding-bottom: 30px;
}

/* The logo has teal elements that vanish against the teal footer background
   (transparent PNG), so it sits on its own white badge for contrast. */
.footer-logo-badge {
    display: inline-flex;
    align-items: center;
    background: var(--white-color);
    border-radius: var(--border-radius-medium);
    padding: 10px 16px;
}

.site-footer .brand-name {
    color: var(--white-color);
}

.site-footer .footer-about {
    color: rgba(255, 255, 255, .6);
    font-size: 14px;
    line-height: 1.7;
    max-width: 360px;
}

.site-footer .site-footer-title {
    color: var(--white-color);
    font-size: 14px;
    letter-spacing: normal;
}

.site-footer .footer-menu-item {
    display: block;
    margin-right: 0;
    margin-bottom: 10px;
}

.site-footer .footer-menu-link {
    border: none;
    border-radius: 0;
    padding: 0;
    margin: 0;
    min-width: 0;
    color: rgba(255, 255, 255, .6);
    font-weight: var(--font-weight-normal);
}

.site-footer .footer-menu-link:hover {
    background: none;
    color: var(--secondary-color);
}

.footer-divider {
    border-color: rgba(255, 255, 255, .15);
    margin: 30px 0 20px;
}

.site-footer .copyright-text-wrap .copyright-text {
    border-right: none;
    margin-right: 0;
    padding-right: 0;
    color: rgba(255, 255, 255, .5);
}

.site-footer .copyright-text-wrap a {
    color: var(--white-color);
}

.footer-bottom-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-bottom-row .copyright-text {
    color: rgba(255, 255, 255, .5);
    font-size: 13px;
    border-right: none;
    padding-right: 0;
    margin-right: 0;
}

.footer-bottom-row .copyright-text a {
    color: var(--white-color);
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, .5);
    font-size: 13px;
    text-decoration: none;
}

.footer-bottom-links a:hover {
    color: var(--secondary-color);
}

@media (max-width: 575.98px) {
    .footer-bottom-row {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Contact page — channel cards (phone / whatsapp / email) */
.contact-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    height: 100%;
    padding: 22px 20px;
    background: var(--white-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-medium);
    text-decoration: none;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.contact-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, .08);
    border-color: var(--primary-color);
}

.contact-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--section-bg-color);
    color: var(--primary-color);
    font-size: 20px;
    margin-bottom: 4px;
}

.contact-card-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--p-color);
}

.contact-card-value {
    font-size: 16px;
    font-weight: var(--font-weight-bold);
    color: var(--dark-color);
}

/* Privacy Policy / Terms & Conditions — long-form legal copy */
.legal-content h5 {
    margin-top: 22px;
    margin-bottom: 10px;
}

.legal-content h5:first-child {
    margin-top: 0;
}

.legal-content p {
    color: var(--p-color);
    line-height: 1.7;
}

/* Hero trust/stats strip */
.stats-strip {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.stats-strip .stat-item {
    text-align: center;
}

.stats-strip .stat-item .stat-value {
    font-size: 26px;
    font-weight: var(--font-weight-bold);
    color: var(--white-color);
    display: block;
}

.stats-strip .stat-item .stat-label {
    font-size: 13px;
    color: rgba(255, 255, 255, .85);
}

/* Category card vendor-count caption */
.category-card .category-count {
    font-size: 12px;
    color: var(--p-color);
    display: block;
    margin-top: 2px;
}

/* Promo banner cards */
.promo-banner {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius-medium);
    padding: 36px;
    color: var(--white-color);
    height: 100%;
    display: grid;
    grid-template-columns: 52px 1fr;
    column-gap: 16px;
    align-content: center;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
}

.promo-banner:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(0,0,0,.18);
}

.promo-banner::after {
    content: "";
    position: absolute;
    top: -40px;
    right: -40px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
}

.promo-banner h3,
.promo-banner p {
    color: var(--white-color) !important;
}

.promo-banner h3 {
    grid-column: 2;
    font-size: 20px;
    margin-bottom: 4px !important;
}

.promo-banner p {
    grid-column: 2;
    font-size: 14px;
}

.promo-banner .promo-icon {
    grid-column: 1;
    grid-row: 1 / 3;
    align-self: start;
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    border-radius: 50%;
    background: rgba(255,255,255,.18);
    position: relative;
    z-index: 1;
}

.promo-banner.promo-1 {
    background: linear-gradient(135deg, var(--primary-color) 0%, #075E56 100%);
}

.promo-banner.promo-2 {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #027A72 100%);
}

.promo-banner .promo-link {
    grid-column: 1 / 3;
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 18px;
    padding: 8px 18px;
    border-radius: 999px;
    background: rgba(255,255,255,.16);
    font-weight: var(--font-weight-bold);
    color: var(--white-color);
    font-size: 14px;
    transition: background .2s ease, gap .2s ease;
    position: relative;
    z-index: 1;
}

.promo-banner:hover .promo-link {
    background: rgba(255,255,255,.28);
    gap: 10px;
}

/* Current offers grid */
.offer-card {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-medium);
    background: var(--white-color);
    overflow: hidden;
    height: 100%;
    text-decoration: none;
    color: var(--dark-color);
    display: block;
    transition: box-shadow .15s ease, transform .15s ease;
}

.offer-card:hover {
    box-shadow: 0 14px 28px rgba(0,0,0,.08);
    transform: translateY(-3px);
    color: var(--dark-color);
}

.offer-card .offer-card-img-wrap {
    position: relative;
}

.offer-card img {
    height: 140px;
    width: 100%;
    object-fit: cover;
}

.offer-card .offer-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--secondary-color);
    color: var(--white-color);
    font-size: 11px;
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: var(--border-radius-small);
}

.offer-card .offer-card-body {
    padding: 14px;
}

.offer-card .offer-vendor-name {
    font-size: 12px;
    color: var(--p-color);
}

/* Vendor gallery showcase */
.gallery-thumb {
    position: relative;
    border-radius: var(--border-radius-medium);
    overflow: hidden;
    display: block;
    height: 180px;
    cursor: pointer;
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s ease;
}

.gallery-thumb:hover img {
    transform: scale(1.06);
}

.gallery-thumb .gallery-thumb-label {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 10px 12px;
    background: linear-gradient(to top, rgba(0,0,0,.65), transparent);
    color: var(--white-color);
    font-size: 13px;
    font-weight: var(--font-weight-bold);
}

/* "Authorized Partners" showcase (home page) — a distinct, badge-driven
   treatment so it reads as a trust/credibility panel rather than another
   plain photo grid like the standalone gallery page. */
.partners-section {
    padding: 70px 0;
    background: linear-gradient(180deg, var(--section-bg-color) 0%, var(--white-color) 100%);
}

.partners-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary-color);
    color: var(--white-color);
    font-size: 12px;
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: .04em;
    padding: 6px 14px;
    border-radius: var(--border-radius-large);
    margin-bottom: 14px;
}

.partner-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--white-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-medium);
    overflow: hidden;
    height: 100%;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .04);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.partner-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 30px rgba(0, 0, 0, .1);
    border-color: var(--primary-color);
}

.partner-card-photo {
    position: relative;
    height: 220px;
    overflow: hidden;
    flex-shrink: 0;
}

.partner-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s ease;
}

.partner-card:hover .partner-card-photo img {
    transform: scale(1.06);
}

.partner-card-ribbon {
    position: absolute;
    top: 14px;
    left: 14px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, .95);
    color: var(--primary-color);
    font-size: 12px;
    font-weight: var(--font-weight-bold);
    padding: 5px 12px;
    border-radius: var(--border-radius-large);
    box-shadow: 0 2px 6px rgba(0, 0, 0, .12);
    white-space: nowrap;
}

.partner-card-category {
    position: absolute;
    bottom: 14px;
    left: 14px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(0, 0, 0, .55);
    color: var(--white-color);
    font-size: 12px;
    font-weight: var(--font-weight-bold);
    padding: 5px 12px;
    border-radius: var(--border-radius-large);
}

.partner-card-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px;
    flex: 1;
}

.partner-card-name {
    font-size: 19px;
    font-weight: var(--font-weight-bold);
    color: var(--dark-color);
}

.partner-card-location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--p-color);
}

.partner-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--border-color);
}

.partner-card-footer .rating-badge {
    font-size: 13px;
    padding: 5px 12px;
}

.partner-card-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.partner-card-icon-btn {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--section-bg-color);
    color: var(--primary-color);
    font-size: 15px;
    flex-shrink: 0;
}

.partner-card-icon-btn:hover {
    background: var(--primary-color);
    color: var(--white-color);
}

.partner-card-cta {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
    text-decoration: none;
    white-space: nowrap;
}

.partner-card-cta:hover {
    color: var(--secondary-color);
}

/* Feature icon strip */
.feature-strip {
    background: var(--section-bg-color);
    border-radius: var(--border-radius-medium);
    padding: 36px;
}

.feature-strip .feature-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.feature-strip .feature-icon {
    font-size: 30px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.feature-strip .feature-text strong {
    display: block;
}

.feature-strip .feature-text span {
    font-size: 13px;
    color: var(--p-color);
}

/* FAQ accordion */
.faq-accordion .accordion-item {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-medium) !important;
    margin-bottom: 12px;
    overflow: hidden;
}

.faq-accordion .accordion-button {
    font-weight: var(--font-weight-bold);
    color: var(--dark-color);
}

.faq-accordion .accordion-button:not(.collapsed) {
    background: var(--section-bg-color);
    color: var(--primary-color);
    box-shadow: none;
}

.faq-accordion .accordion-button:focus {
    box-shadow: none;
    border-color: var(--border-color);
}

/* Vendor detail page — minimal page-local header (logo, search, account) */
.navbar-minimal {
    position: relative;
    background: var(--white-color);
    box-shadow: 0 2px 14px rgba(0, 0, 0, .08);
    padding-top: 14px;
    padding-bottom: 14px;
}

.navbar-minimal .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.header-search-minimal {
    position: relative;
    width: 100%;
    max-width: 480px;
}

.header-search-minimal i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--p-color);
}

.header-search-minimal .form-control {
    border-radius: var(--border-radius-large);
    border: 1px solid var(--border-color);
    background: var(--section-bg-color);
    padding: 10px 16px 10px 40px;
}

.account-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--white-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--font-weight-bold);
    text-decoration: none;
    font-size: 18px;
}

.account-logout-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: var(--white-color);
    color: var(--p-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.account-logout-btn:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Vendor detail page — sticky sidebars */
.vendor-detail-sidebar {
    background: var(--white-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-medium);
    padding: 24px;
    position: sticky;
    top: 24px;
}

.vendor-detail-avatar-wrap {
    position: relative;
    width: 96px;
    margin: 0 auto 16px;
}

.vendor-detail-avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--section-bg-color);
}

.vendor-detail-fav {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--white-color);
    border: 1px solid var(--border-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.vendor-detail-name {
    font-size: 22px;
    color: var(--dark-color);
    letter-spacing: normal;
    margin-bottom: 6px;
    text-align: center;
}

.vendor-top-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-left: auto;
    margin-right: auto;
    color: var(--secondary-color);
    font-weight: var(--font-weight-bold);
    font-size: 14px;
}

.vendor-tag-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.vendor-tag-pill {
    display: inline-block;
    padding: 4px 12px;
    border-radius: var(--border-radius-large);
    font-size: 12px;
    font-weight: var(--font-weight-bold);
    background: var(--section-bg-color);
    color: var(--p-color);
}

.vendor-tag-pill.pill-category {
    background: rgba(11, 135, 125, .1);
    color: var(--primary-color);
}

.vendor-tag-pill.pill-premium {
    background: rgba(3, 195, 183, .12);
    color: var(--secondary-color);
}

.vendor-tag-pill.pill-rated {
    background: rgba(0, 0, 0, .06);
    color: var(--dark-color);
}

.vendor-detail-description {
    color: var(--p-color);
    font-size: 14px;
    line-height: 1.6;
    margin-top: 14px;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.vendor-detail-description.expanded {
    -webkit-line-clamp: unset;
    overflow: visible;
}

.read-more-btn {
    background: none;
    border: none;
    padding: 0;
    color: var(--primary-color);
    font-weight: var(--font-weight-bold);
    font-size: 13px;
    margin-bottom: 16px;
}

.vendor-detail-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}

.vendor-action-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    padding: 0;
    color: var(--dark-color);
    font-weight: var(--font-weight-bold);
    font-size: 14px;
    text-decoration: none;
}

.vendor-action-link:hover {
    color: var(--primary-color);
}

.vendor-social-links {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
}

.vendor-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--section-bg-color);
    color: var(--dark-color);
    font-size: 16px;
    text-decoration: none;
    flex-shrink: 0;
}

.vendor-social-link:hover {
    background: var(--primary-color);
    color: var(--white-color);
}

.btn-contact-gradient {
    display: block;
    text-align: center;
    width: 100%;
    padding: 13px 0;
    border: none;
    border-radius: var(--border-radius-large);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white-color);
    font-weight: var(--font-weight-bold);
    text-decoration: none;
    margin-bottom: 20px;
}

.btn-contact-gradient:hover {
    color: var(--white-color);
    opacity: .92;
}

.vendor-detail-info-row {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 12px;
    font-size: 13px;
}

.vendor-detail-info-row:last-child {
    margin-bottom: 0;
}

.vendor-detail-info-row .info-label {
    color: var(--p-color);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.vendor-detail-info-row .info-value {
    font-weight: var(--font-weight-bold);
    text-align: left;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}

.vendor-detail-info-row .info-value-link {
    color: var(--primary-color);
    text-decoration: none;
}

.vendor-detail-info-row .info-value-link:hover {
    text-decoration: underline;
}

/* Vendor detail page — tabs
   flex-nowrap + horizontal scroll instead of Bootstrap's default flex-wrap,
   since the tab count varies per vendor (Jobs tab only shows when a vendor
   has active postings) and wrapping to a second row looks broken. */
.vendor-detail-tabs {
    border-bottom: 1px solid var(--border-color);
    gap: 4px;
    margin-bottom: 24px;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.vendor-detail-tabs::-webkit-scrollbar {
    height: 4px;
}

.vendor-detail-tabs::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: var(--border-radius-large);
}

.vendor-detail-tabs .nav-item {
    flex-shrink: 0;
}

.vendor-detail-tabs .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: none;
    border-radius: var(--border-radius-small) var(--border-radius-small) 0 0;
    color: var(--p-color);
    font-weight: 600;
    font-size: 14px;
    padding: 11px 16px;
    white-space: nowrap;
    flex-shrink: 0;
    transition: color .15s ease, background .15s ease;
}

.vendor-detail-tabs .nav-link i {
    font-size: 14px;
    opacity: .75;
}

.vendor-detail-tabs .nav-link:hover {
    color: var(--dark-color);
    background: var(--section-bg-color);
}

.vendor-detail-tabs .nav-link.active {
    color: var(--primary-color);
    box-shadow: inset 0 -2px 0 var(--primary-color);
    background: rgba(11, 135, 125, .06);
    font-weight: var(--font-weight-bold);
}

.vendor-detail-tabs .nav-link.active i {
    opacity: 1;
}

.vendor-tab-link {
    background: none;
    border: none;
    padding: 0;
    color: var(--primary-color);
    font-size: 13px;
    font-weight: var(--font-weight-bold);
    text-decoration: underline;
}

.gallery-preview-thumb {
    position: relative;
    display: block;
    width: 100%;
    height: 90px;
    border: none;
    padding: 0;
    border-radius: var(--border-radius-small);
    overflow: hidden;
}

.gallery-preview-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-more-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .55);
    color: var(--white-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--font-weight-bold);
    font-size: 13px;
}

/* Vendor detail page — reviews summary + similar vendors sidebar */
.review-summary-score {
    font-size: 40px;
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
}

.rating-distribution-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 13px;
    color: var(--p-color);
}

.rating-distribution-bar {
    flex: 1;
    height: 8px;
    border-radius: var(--border-radius-large);
    background: var(--section-bg-color);
    overflow: hidden;
}

.rating-distribution-bar span {
    display: block;
    height: 100%;
    background: var(--secondary-color);
    border-radius: var(--border-radius-large);
}

.similar-vendor-mini {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.similar-vendor-mini:last-child {
    border-bottom: none;
}

.similar-vendor-mini img {
    width: 48px;
    height: 48px;
    border-radius: var(--border-radius-small);
    object-fit: cover;
    flex-shrink: 0;
}

.similar-vendor-name {
    font-weight: var(--font-weight-bold);
    font-size: 13px;
    color: var(--dark-color);
}

.similar-vendor-meta {
    font-size: 12px;
    color: var(--p-color);
}

.vendor-cover-wrap {
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(11, 135, 125, 0.12), rgba(3, 195, 183, 0.12));
}

.vendor-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.vendor-breadcrumb {
    font-size: 13px;
}

.vendor-section-title {
    font-size: 16px !important;
    font-weight: var(--font-weight-bold) !important;
    letter-spacing: normal !important;
    line-height: 1.4 !important;
    color: var(--dark-color) !important;
    margin-bottom: 16px;
}

@media (max-width: 991.98px) {
    .vendor-cover-wrap {
        height: 160px;
    }

    .vendor-detail-sidebar {
        position: static !important;
        top: auto !important;
    }
}

@media (max-width: 575.98px) {
    .vendor-cover-wrap {
        height: 120px;
    }
}

.vendor-hours-table {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #eee;
}

.vendor-hours-table .info-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--dark-color);
    font-weight: var(--font-weight-bold);
}

.vendor-hours-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
    font-size: 13px;
    color: var(--p-color);
}

.vendor-hours-row.is-today {
    color: var(--dark-color);
    font-weight: var(--font-weight-bold);
}

.vendor-hours-row.is-today .vendor-hours-time {
    color: var(--primary-color);
}

.vendor-hours-day {
    text-transform: capitalize;
}

.text-muted {
    font-size: 14px;
}

/* Browse on Map page */
.map-card {
    background: var(--white-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-medium);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .04);
    overflow: hidden;
}

.map-toolbar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    background: var(--section-bg-color);
}

.map-toolbar-label {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: var(--font-weight-bold);
    color: var(--dark-color);
}

.map-toolbar-count {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
    background: rgba(11, 135, 125, .08);
    padding: 6px 14px;
    border-radius: var(--border-radius-large);
}

.map-card-canvas {
    height: 560px;
    width: 100%;
}

.map-card-empty {
    height: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--p-color);
}

.map-card-empty i {
    font-size: 32px;
    color: var(--border-color);
}

.vendor-map-popup {
    font-size: 13px;
    line-height: 1.5;
    min-width: 220px;
    max-width: 260px;
    padding: 4px 2px 2px;
}

.vendor-map-popup-header {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.vendor-map-popup-avatar {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--font-weight-bold);
    font-size: 16px;
}

.vendor-map-popup-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    padding-right: 16px;
}

.vendor-map-popup-name {
    font-size: 14px;
    font-weight: var(--font-weight-bold);
    color: var(--dark-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vendor-map-popup-category {
    display: inline-block;
    width: fit-content;
    font-size: 11px;
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
    background: rgba(11, 135, 125, .08);
    padding: 2px 8px;
    border-radius: var(--border-radius-large);
}

.vendor-map-popup-city {
    font-size: 12px;
    color: var(--p-color);
}

.vendor-map-popup-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--border-color);
}

.vendor-map-popup-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: var(--font-weight-bold);
    color: var(--dark-color);
}

.vendor-map-popup-rating i {
    color: #ffb800;
}

.vendor-map-popup-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: var(--font-weight-bold);
    color: #fff;
    background: var(--primary-color);
    padding: 6px 12px;
    border-radius: var(--border-radius-large);
    white-space: nowrap;
    transition: background .2s ease;
}

.vendor-map-popup-btn:hover {
    background: var(--dark-color);
    color: #fff;
}

.gm-style .gm-style-iw-c {
    border-radius: 12px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .15) !important;
}

.gm-style .gm-style-iw-d {
    overflow: hidden !important;
}

.map-toolbar-location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: var(--font-weight-bold);
    color: #1a73e8;
    background: rgba(26, 115, 232, .08);
    padding: 5px 12px;
    border-radius: var(--border-radius-large);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 240px;
}

.map-toolbar-divider {
    width: 1px;
    height: 22px;
    background: var(--border-color);
    flex-shrink: 0;
}

/* Vendor subscription page */
.vendor-card-badge.status-pending {
    background: #f0ad4e;
    color: #2b1a00;
}

.vendor-card-badge.status-created {
    background: #6c757d;
}

.section-heading {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}

.section-heading i {
    color: var(--primary-color);
    font-size: 18px;
}

.section-heading h6 {
    margin: 0;
}

/* Current plan hero */
.subscription-hero {
    border-radius: var(--border-radius-medium);
    padding: 26px 30px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.subscription-hero::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
}

.subscription-hero.brand-gradient {
    color: var(--white-color);
}

.subscription-hero-muted {
    background: var(--white-color);
    border: 1px dashed var(--border-color);
    color: var(--dark-color);
}

.subscription-hero-left {
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    z-index: 1;
}

.subscription-hero-icon {
    width: 54px;
    height: 54px;
    flex-shrink: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    background: rgba(255, 255, 255, .18);
}

.subscription-hero-muted .subscription-hero-icon {
    background: rgba(11, 135, 125, .08);
    color: var(--primary-color);
}

.subscription-hero-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: normal;
    font-weight: var(--font-weight-bold);
    opacity: .85;
}

.subscription-hero-plan {
    font-size: 24px;
    font-weight: var(--font-weight-bold);
    line-height: 1.3;
}

.subscription-hero-meta {
    font-size: 13px;
    opacity: .9;
}

.subscription-hero-progress {
    width: 220px;
    height: 6px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .25);
    overflow: hidden;
    margin-top: 10px;
}

.subscription-hero-progress-bar {
    height: 100%;
    background: var(--white-color);
    border-radius: 10px;
}

.subscription-hero-right {
    position: relative;
    z-index: 1;
    text-align: right;
}

/* Plan cards */
.pricing-card {
    background: var(--white-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-medium);
    padding: 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}

.pricing-card:hover {
    box-shadow: 0 16px 32px rgba(0, 0, 0, .08);
    transform: translateY(-3px);
}

.pricing-card.pricing-card-current {
    border-color: var(--primary-color);
    box-shadow: 0 6px 20px rgba(11, 135, 125, .12);
}

.pricing-card-badge-best {
    position: absolute;
    top: -11px;
    right: 20px;
    background: linear-gradient(135deg, #f7c548, #d6900f);
    color: #2b1a00;
    font-size: 10px;
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: normal;
    padding: 4px 11px;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(214, 144, 15, .35);
}

.pricing-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    background: rgba(11, 135, 125, .08);
    color: var(--primary-color);
    margin-bottom: 14px;
}

.pricing-card-title {
    font-weight: var(--font-weight-bold);
    font-size: 18px;
    margin-bottom: 4px;
}

.pricing-card-desc {
    color: var(--p-color);
    font-size: 13px;
    margin-bottom: 14px;
}

.pricing-card-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
    flex-grow: 1;
}

.pricing-card-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    margin-bottom: 8px;
    color: var(--dark-color);
}

.pricing-card-benefits li i {
    color: #28a745;
    margin-top: 2px;
}

.pricing-card-price-was {
    text-decoration: line-through;
    color: var(--p-color);
    font-size: 13px;
    margin-right: 6px;
}

.pricing-card-price-now {
    font-weight: var(--font-weight-bold);
    font-size: 20px;
    color: var(--primary-color);
}

.savings-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(40, 167, 69, .1);
    color: #1e7e34;
    font-size: 11px;
    font-weight: var(--font-weight-bold);
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: 6px;
    vertical-align: middle;
}

.duration-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
}

.duration-pill {
    border: 1px solid var(--border-color);
    background: var(--white-color);
    border-radius: 20px;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: var(--font-weight-bold);
    color: var(--dark-color);
    cursor: pointer;
    transition: all .15s ease;
}

.duration-pill:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.duration-pill.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white-color);
}

.pricing-card-footer-btn {
    width: 100%;
    justify-content: center;
    margin-top: 14px;
}

/* History / transaction tables */
.mb-table-card thead th {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: normal;
    color: var(--p-color);
    font-weight: var(--font-weight-bold);
    background: rgba(0, 0, 0, .015);
    border-bottom-width: 1px;
}

.mb-table-card tbody tr:hover {
    background: rgba(11, 135, 125, .03);
}

.payment-ref {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 12px;
    color: var(--p-color);
}

/* Public gallery grid + reels-style viewer */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    grid-auto-rows: 200px;
    gap: 14px;
}

.gallery-grid-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .08);
}

.gallery-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.gallery-grid-item:hover img {
    transform: scale(1.06);
}

.gallery-grid-item::after {
    content: '\F52A';
    font-family: 'bootstrap-icons';
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .45);
    color: var(--white-color);
    border-radius: 50%;
    font-size: 14px;
    opacity: 0;
    transition: opacity .25s ease;
}

.gallery-grid-item:hover::after {
    opacity: 1;
}

.reels-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: #000;
    flex-direction: column;
}

.reels-overlay.is-open {
    display: flex;
}

.reels-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 5;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, .12);
    color: var(--white-color);
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reels-stage {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    padding: 60px 70px;
}

.reels-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    user-select: none;
}

.reels-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, .12);
    color: var(--white-color);
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

.reels-nav:hover {
    background: rgba(255, 255, 255, .25);
}

.reels-prev {
    left: 16px;
}

.reels-next {
    right: 16px;
}

.reels-vendor-info {
    flex-shrink: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, .85) 0%, rgba(0, 0, 0, .6) 100%);
    color: var(--white-color);
    padding: 18px 24px 26px;
}

.reels-vendor-name {
    font-size: 18px;
    font-weight: var(--font-weight-bold);
    margin-bottom: 6px;
}

.reels-vendor-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 13px;
    color: rgba(255, 255, 255, .75);
    margin-bottom: 12px;
}

.reels-vendor-meta i {
    color: var(--secondary-color);
    margin-right: 4px;
}

.reels-vendor-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.reels-vendor-cta {
    background: var(--primary-color);
    color: var(--white-color);
    padding: 8px 18px;
    border-radius: 24px;
    font-size: 13px;
    font-weight: var(--font-weight-bold);
    text-decoration: none;
}

.reels-vendor-call {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    color: var(--white-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 575.98px) {
    .reels-stage {
        padding: 60px 16px;
    }

    .reels-nav {
        width: 40px;
        height: 40px;
    }
}

/* ==========================================================================
   Job Portal — dedicated, in-flow classes (deliberately NOT reusing
   .vendor-card-badge / .vendor-card-category-chip, which are position:absolute
   and rely on the .vendor-card-img-wrap positioning context vendor cards have.
   Job cards have no cover photo, so those classes would escape to the nearest
   positioned ancestor and overlap unrelated content on the page.)
   ========================================================================== */

.job-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--white-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-medium);
    padding: 20px;
    transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}

.job-card:hover {
    box-shadow: 0 20px 36px rgba(0, 0, 0, .12);
    transform: translateY(-4px);
    border-color: rgba(11, 135, 125, .25);
}

.job-card-top {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.job-card-icon {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: var(--border-radius-small);
    background: linear-gradient(135deg, rgba(11, 135, 125, .12), rgba(3, 195, 183, .12));
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
}

.job-card-new-flag {
    margin-left: auto;
    flex-shrink: 0;
    background: linear-gradient(135deg, #f7c548, #d6900f);
    color: #2b1a00;
    font-size: 10px;
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: normal;
    padding: 3px 9px;
    border-radius: var(--border-radius-large);
}

.job-card-title {
    font-weight: var(--font-weight-bold);
    font-size: 16px;
    color: var(--dark-color);
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.35;
}

.job-card-title:hover {
    color: var(--primary-color);
}

.job-card-company {
    font-size: 13px;
    color: var(--p-color);
    margin-top: 3px;
    display: flex;
    align-items: center;
    gap: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.job-card-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
}

.job-card-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: var(--font-weight-bold);
    padding: 4px 10px;
    border-radius: var(--border-radius-large);
    white-space: nowrap;
}

.job-card-badge.job-type {
    background: var(--primary-color);
    color: var(--white-color);
}

.job-card-badge.work-mode {
    background: var(--section-bg-color);
    color: var(--dark-color);
    border: 1px solid var(--border-color);
}

.job-card-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--p-color);
    margin-bottom: 4px;
}

.job-card-meta i {
    color: var(--primary-color);
    font-size: 12px;
    flex-shrink: 0;
}

.job-card-meta span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.job-card-divider {
    height: 1px;
    background: var(--border-color);
    margin: 14px 0 12px;
}

.job-card-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.job-card-salary {
    font-size: 13px;
    font-weight: var(--font-weight-bold);
    color: var(--dark-color);
}

.job-card-salary.is-negotiable {
    color: var(--p-color);
    font-weight: 600;
}

/* Job detail page */
.job-detail-header {
    background: var(--white-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-medium);
    padding: 24px;
}

.job-detail-top {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.job-detail-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius-small);
    background: linear-gradient(135deg, rgba(11, 135, 125, .12), rgba(3, 195, 183, .12));
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
}

.job-detail-title {
    font-size: 24px;
    font-weight: var(--font-weight-bold);
    color: var(--dark-color);
    margin-bottom: 6px;
}

.job-detail-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.job-detail-company-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 14px;
    font-size: 14px;
    color: var(--p-color);
    margin-bottom: 6px;
}

.job-detail-company-row span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.job-detail-company-row i {
    color: var(--primary-color);
}

.job-detail-stats-note {
    font-size: 13px;
    color: var(--p-color);
}

.job-overview-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.job-overview-stat {
    display: flex;
    align-items: center;
    gap: 10px;
}

.job-overview-stat-icon {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: var(--border-radius-small);
    background: var(--section-bg-color);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}

.job-overview-stat-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: normal;
    color: var(--p-color);
    margin-bottom: 2px;
}

.job-overview-stat-value {
    font-size: 13.5px;
    font-weight: var(--font-weight-bold);
    color: var(--dark-color);
}

.job-detail-section-title {
    font-weight: var(--font-weight-bold);
    font-size: 16px;
    color: var(--dark-color);
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.job-skill-pill {
    display: inline-block;
    background: var(--section-bg-color);
    color: var(--dark-color);
    font-size: 12px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: var(--border-radius-large);
    border: 1px solid var(--border-color);
}

.job-apply-card {
    background: var(--white-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-medium);
    padding: 20px;
    position: sticky;
    top: 90px;
}

.job-apply-card h6 {
    font-weight: var(--font-weight-bold);
    margin-bottom: 14px;
}

.job-apply-resume-note {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--section-bg-color);
    border-radius: var(--border-radius-small);
    padding: 10px 12px;
    font-size: 12.5px;
    color: var(--p-color);
    margin-bottom: 14px;
}

.job-apply-resume-note i {
    color: var(--primary-color);
    font-size: 15px;
}

@media (max-width: 767.98px) {
    .job-overview-grid {
        grid-template-columns: 1fr;
    }

    .job-apply-card {
        position: static;
    }
}

/* Home page nudge banner prompting a logged-in user with no saved category
   preferences to set them, and the "Choose Your Interests" checkbox-chip
   picker used both here and on the Preferences account page. */
.preferences-nudge {
    background: var(--primary-color);
    color: var(--white-color);
    padding: 12px 0;
    font-size: 14px;
    font-weight: var(--font-weight-medium);
}

.preferences-nudge-btn {
    background: var(--white-color);
    color: var(--primary-color);
    border: none;
    font-weight: var(--font-weight-bold);
    font-size: 13px;
    padding: 8px 18px;
    border-radius: var(--border-radius-large);
    white-space: nowrap;
    transition: transform .15s ease;
}

.preferences-nudge-btn:hover {
    transform: translateY(-1px);
}

.category-picker-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    max-height: 360px;
    overflow-y: auto;
    padding: 2px;
}

.category-picker-chip {
    position: relative;
    display: inline-flex;
    cursor: pointer;
}

.category-picker-chip input {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    cursor: pointer;
}

.category-picker-chip span {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: var(--border-radius-large);
    border: 1px solid var(--border-color);
    background: var(--white-color);
    color: var(--dark-color);
    font-size: 13px;
    font-weight: var(--font-weight-medium);
    transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

.category-picker-chip input:checked + span {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white-color);
}

.category-picker-chip input:focus-visible + span {
    box-shadow: 0 0 0 3px rgba(11, 135, 125, .25);
}

.category-picker-chips-readonly {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.preference-chip {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: var(--border-radius-large);
    background: var(--section-bg-color);
    color: var(--primary-color);
    font-size: 13px;
    font-weight: var(--font-weight-bold);
}
