.directory-header {
    background: #FFFFFF99;
    backdrop-filter: blur(30px);
    border-radius: 12px;
    padding: 20px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    flex-wrap: wrap;
    gap: 16px;
    position: relative;
    z-index: 30;
    overflow: visible;
}

.directory-header h2,
.directory-header .directory-title {
    margin: 0;
    font-size: 34px;
    font-weight: 700;
    color: #111;
    font-family: "Outfit", sans-serif;
}

.directory-action {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.directory-filters {
    display: none;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    position: relative;
    background: #ffffff;
    border: none;
    padding: 6px;
    border-radius: 7px;
    border: 1px solid #8080802b;
}

.directory-header.is-searching .directory-filters {
    display: flex;
}

.search-wrapper {
    position: relative;
    width: 250px;
}

.search-wrapper .search-icon,
.search-wrapper > svg:not(.filter-icon) {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    pointer-events: none;
    z-index: 1;
}

.search-wrapper input {
    width: 100%;
    padding: 8px 12px 8px 36px;
    border: none;
    border-radius: 8px;
    background: #EDEDED99;
    outline: none;
    font-size: 13px;
    font-weight: 400;
    font-family: "Outfit", sans-serif;
}

.search-wrapper input:focus {
    background: #EDEDED99;
}

.dir-search-bar {
    width: 260px;
    max-width: 280px;
    flex: 0 0 auto;
}

.dir-search-bar input {
    padding: 10px 14px 10px 40px;
    border: none;
    border-radius: 999px;
    background: #EDEDED99;
    font-size: 13px;
    color: #111;
    box-shadow: none;
}

.dir-search-bar input:focus {
    background: #EDEDED99;
    border: none;
    box-shadow: none;
}

.dir-search-bar .search-icon {
    left: 14px;
    width: 14px;
    height: 14px;
    color: #888;
}

/* Filter icon only used on mobile */
.filter-icon-btn {
    display: none;
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border: none;
    background: transparent;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    cursor: pointer;
    padding: 0;
    z-index: 2;
}

.filter-icon-btn:hover,
.filter-icon-btn.active {
    background: #f3f4f6;
    color: #0056b3;
}

.filter-icon-btn.has-filters {
    color: #0056b3;
}

.filter-icon-btn.has-filters::after {
    content: '';
    position: absolute;
    top: 6px;
    right: 6px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #0056b3;
    border: 1.5px solid #fff;
}

.filter-dropdowns {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    position: static;
    width: auto;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.dir-filter-dd {
    position: relative;
}

.dir-filter-btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-width: 118px;
    padding: 9px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    font-size: 13px;
    font-weight: 400;
    font-family: "Outfit", sans-serif;
    color: #333;
    cursor: pointer;
    white-space: nowrap;
    line-height: 1.2;
}

.dir-filter-btn:hover,
.dir-filter-dd.is-open .dir-filter-btn,
.dir-filter-dd.has-value .dir-filter-btn {
    border-color: #c7d2e0;
}

.dir-filter-btn-label {
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 140px;
}

.dir-filter-chevron {
    flex-shrink: 0;
    color: #6b7280;
    transition: transform 0.15s ease;
}

.dir-filter-dd.is-open .dir-filter-chevron {
    transform: rotate(180deg);
}

.dir-filter-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 240px;
    max-width: 280px;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    z-index: 80;
    padding: 10px;
}

.dir-filter-dd.is-open .dir-filter-menu {
    display: block;
}

.dir-filter-dd:last-child .dir-filter-menu {
    left: auto;
    right: 0;
}

.dir-filter-menu-search {
    position: relative;
    margin-bottom: 8px;
}

.dir-filter-menu-search svg {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    pointer-events: none;
}

.dir-filter-menu-search input {
    width: 100%;
    padding: 8px 12px 8px 32px;
    border: 1px solid #ececec;
    border-radius: 8px;
    background: #f7f7f7;
    outline: none;
    font-size: 13px;
    font-family: "Outfit", sans-serif;
    color: #111;
}

.dir-filter-menu-search input:focus {
    background: #fff;
    border-color: #c7d2e0;
}

.dir-filter-menu-list {
    max-height: 220px;
    overflow-y: auto;
}

.dir-filter-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 6px;
    cursor: pointer;
    font-size: 13px;
    font-family: "Outfit", sans-serif;
    color: #222;
    margin: 0;
    font-weight: 400;
    border-radius: 6px;
    position: relative;
}

.dir-filter-option:hover {
    background: #f7f7f7;
}

.dir-filter-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.dir-radio {
    width: 16px;
    height: 16px;
    border: 1.5px solid #c5c5c5;
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
    background: #fff;
}

.dir-filter-option input:checked + .dir-radio {
    border-color: #0056b3;
}

.dir-filter-option input:checked + .dir-radio::after {
    content: '';
    position: absolute;
    inset: 3px;
    background: #0056b3;
    border-radius: 50%;
}

.dir-filter-option-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.directory-results-meta {
    font-family: "Outfit", sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin: 0 0 18px;
    padding: 0 4px;
}

.btn-add-business {
    background: #0056b3;
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-add-business:hover,
.btn-add-business:active,
.btn-add-business:focus {
    background: #004494;
    color: #fff;
    text-decoration: none;
}

.directory-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 60px 20px;
    color: #888;
    font-size: 14px;
}

.directory-loading::before {
    content: '';
    width: 20px;
    height: 20px;
    border: 2px solid #e0e0e0;
    border-top-color: #555;
    border-radius: 50%;
    animation: dir-spin 0.7s linear infinite;
    flex-shrink: 0;
}

@keyframes dir-spin {
    to {
        transform: rotate(360deg);
    }
}

.discover-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 40vh;
    padding: 40px 20px;
}

.discover-section h1 {
    font-size: 32px;
    font-weight: 700;
    color: #111;
    font-family: "Outfit", sans-serif;
    margin-bottom: 12px;
    margin-top: 0;
}

.discover-section p {
    font-size: 15px;
    color: #666;
    margin-bottom: 0;
    line-height: 1.5;
}

.discover-search-slot {
    width: 100%;
    max-width: 560px;
    margin-top: 28px;
    display: flex;
    justify-content: center;
}

.search-wrapper.dir-search-bar.discover-search {
    width: 100%;
    max-width: 500px;
}

.discover-search {
    width: 100%;
    max-width: 500px;
}

.discover-search .filter-icon-btn {
    display: none !important;
}

.discover-search input {
    padding: 14px 20px 14px 45px;
    font-size: 15px;
    border-radius: 30px;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #e0e0e0;
}

.discover-search input:focus {
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.discover-search .search-icon,
.discover-search svg {
    left: 18px;
    width: 18px;
    height: 18px;
}

/*business card*/

.directory-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    margin-bottom: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1px solid #f0f0f0;
}

.dir-card-cover {
    width: 100%;
    height: 120px;
    position: relative;
}

.dir-card-cover > a {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 0;
}

.dir-card-cover img.main-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dir-card-cover .events-users-list {
    background: #fff;
    height: 50px;
    z-index: 3;
    position: absolute;
    bottom: 0;
    right: 0;
    border-radius: 24px 0 0 0;
    display: flex;
    align-items: center;
    padding: 0 10px 0 14px;
    pointer-events: none;
}

.dir-card-cover .events-user-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--main-color, #0056b3);
    background: #fff;
    overflow: hidden;
    margin-left: -10px;
    flex-shrink: 0;
}

.dir-card-cover .events-users-list .events-user-avatar:first-child {
    margin-left: 0;
    z-index: 1;
}

.dir-card-cover .events-users-list .events-user-avatar:nth-child(2) {
    z-index: 2;
}

.dir-card-cover .events-users-list .events-user-avatar:nth-child(3) {
    z-index: 3;
}

.dir-card-cover .events-users-list .events-user-avatar:nth-child(4) {
    z-index: 4;
}

.dir-card-cover .events-user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dir-card-cover .events-user-avatar-count {
    font-family: "Outfit", sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: var(--main-color, #0056b3);
    background: #fff;
}

.dir-card-avatar {
    position: absolute;
    bottom: -20px;
    left: 16px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid #fff;
    z-index: 4;
    background: #fff;
}

.dir-card-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.dir-card-crown {
    position: absolute;
    bottom: 0px;
    right: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dir-card-body {
    padding: 28px 16px 16px 16px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dir-card-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0;
}

.dir-card-title {
    font-size: 16px;
    font-weight: 600;
    font-family: "Outfit", sans-serif;
    color: #111;
    margin: 0;
    line-height: 1.3;
    max-width: 150px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dir-card-rating {
    background: #fff;
    border: 1px solid #0000001A;
    border-radius: 8px;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 600;
    font-family: "Outfit", sans-serif;
    color: #727272;
}

.dir-card-rating svg {
    color: #ffb300;
    fill: #ffb300;
}

.dir-card-stats {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 0;
}

.dir-card-stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(28, 28, 28, 60%);
    font-family: "Outfit", sans-serif;
}

.dir-card-stat-item svg {
    width: 14px;
    height: 14px;
}

.dir-card-actions {
    display: flex;
    gap: 8px;
    margin-top: auto;
}

.dir-btn-join {
    flex: 1;
}

.dir-btn-join button,
.dir-btn-details a {
    width: 100%;
}

.dir-btn-details {
    flex: 1;
}

#directory-results.row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
    margin-left: 0;
    margin-right: 0;
}

#directory-results.row:before,

#directory-results.row:after {
    display: none;
    content: none;
}

#directory-results.row > [class*="col-"] {
    display: flex;
    float: none;
    width: 100%;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
}

#directory-results.row > .empty,
#directory-results.row > .directory-loading {
    grid-column: 1 / -1;
}

#directory-results .directory-card {
    width: 100%;
    height: 100%;
}

@media (max-width: 1199px) {
    #directory-results.row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/*create business*/

.iti {
    width: 100%;
    display: block;
}

#create-business-modal .modal-header {
    border: none;
    padding: 0;
    position: absolute;
    right: 20px;
    top: 20px;
    z-index: 10;
    background: transparent;
}

#create-business-modal .close {
    font-size: 28px;
    font-weight: 300;
    color: #999;
    opacity: 1;
}

#create-business-modal .close:hover {
    color: #333;
}

.cb-header {
    margin-bottom: 30px;
}

.cb-header h2 {
    font-size: 28px;
    font-weight: 600;
    color: #0056b3;
    margin: 0 0 10px 0;
    font-family: 'Segoe UI', Arial, sans-serif;
}

.cb-header h2 span {
    color: #ffb300;
}

.cb-step-indicator {
    font-size: 16px;
    color: #333;
}

.cb-step-indicator span {
    color: #0056b3;
    font-weight: 600;
}

.cb-step {
    display: none;
}

.cb-step.active {
    display: block;
}

.cb-form-group {
    margin-bottom: 18px;
}

.cb-form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    color: #333;
    background-color: #fff;
    box-shadow: none;
    transition: border-color 0.2s;
}

.cb-form-control:focus {
    border-color: #0056b3;
    outline: none;
}

.cb-form-control::placeholder {
    color: #999;
}

select.cb-form-control {
    appearance: none;
    -webkit-appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23666%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.4-12.8z%22%2F%3E%3C%2Fsvg%3E');
    background-repeat: no-repeat;
    background-position: right 15px top 50%;
    background-size: 12px auto;
}

.cb-row {
    display: flex;
    gap: 15px;
    margin-bottom: 18px;
}

.cb-row .cb-form-group {
    margin-bottom: 0;
}

.cb-col {
    flex: 1;
}

.cb-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-top: 30px;
}

.cb-btn {
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.2s, color 0.2s;
    border: none;
}

.cb-btn-primary {
    background-color: #0056b3;
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cb-btn-primary:hover {
    background-color: #004494;
}

.cb-btn-outline {
    background-color: transparent;
    color: #0056b3;
    border: 1px solid #0056b3;
}

.cb-btn-outline:hover {
    background-color: #f8fbff;
}

.cb-upload-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: 1px solid #0056b3;
    color: #0056b3;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    font-size: 14px;
    background: transparent;
}

.cb-upload-btn svg {
    width: 18px;
    height: 18px;
}

.cb-upload-btn:hover {
    background: #f8fbff;
}

.cb-gallery-placeholder {
    width: 120px;
    height: 140px;
    border: 2px dashed #0056b3;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0056b3;
    cursor: pointer;
    background-color: #fcfcfc;
}

.cb-gallery-placeholder:hover {
    background-color: #f5f9ff;
}

.cb-radio-group {
    display: flex;
    gap: 25px;
    align-items: center;
    margin-top: 10px;
}

.cb-radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    cursor: pointer;
    color: #333;
}

.cb-radio-label input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: #0056b3;
    cursor: pointer;
}

.cb-map-placeholder {
    width: 100%;
    height: 200px;
    background-image: url('https://developers.google.com/static/maps/images/landing/hero_maps_static_api.png');
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cb-map-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 2px solid #0056b3;
    background-color: rgba(0, 86, 179, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cb-map-dot {
    width: 12px;
    height: 12px;
    background-color: #0056b3;
    border-radius: 50%;
    border: 2px solid #fff;
}

.cb-social-link {
    display: flex;
    gap: 15px;
    align-items: center;
}

.cb-social-link select {
    width: 200px;
}

.cb-social-link input {
    flex: 1;
}

.cb-social-link button {
    background-color: #0056b3;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 12px 25px;
    font-weight: 600;
    cursor: pointer;
}

.cb-social-link button:hover {
    background-color: #004494;
}

.cb-label-title {
    font-weight: 500;
    margin-bottom: 8px;
    display: block;
    color: #111;
    font-size: 14px;
}

@keyframes cb-spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}



.dir-tabs {
    display: flex;
    align-items: center;
    justify-content: space-around;
    background: #fff;
    border-radius: 16px 16px 0 0;
    border-bottom: 1px solid #f3f5f5;
    overflow-x: auto;
}

.modern-tab {
    position: relative;
    padding: 20px 15px;
    text-decoration: none;
    color: #727272;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.modern-tab:hover {
    color: #015ba8;
}

.modern-tab.active {
    color: #015ba8;
    font-weight: 600;
}

.modern-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20%;
    width: 60%;
    height: 3px;
    background: #015ba8;
    border-radius: 10px;
}

.sun_pub_box.panel,
.dir-panel {
    border-radius: 0px 0px 16px 16px !important;
}

.wo_page_review_innr h4 {
    font-weight: 700;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: 0%;
    color: rgba(28, 28, 28, 1);

}

.dir-company-card {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    background: transparent;
}

.dir-company-info {
    flex: 1;
}

.dir-company-title {
    font-size: 28px;
    font-weight: 700;
    color: #222;
    margin-bottom: 25px;
}

.dir-info-row {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.dir-info-label {
    width: 180px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(114, 114, 114, 1);
    font-size: 14px;
    font-weight: 600;
}

.dir-info-label i {
    width: 18px;
    color: #888;
}

.dir-info-value {
    color: rgba(114, 114, 114, 1);
    font-size: 14px;
    font-weight: 600;
}

.dir-company-sidebar {
    width: 360px;
    background: rgba(1, 91, 168, 0.1);
    border-radius: 20px;
    padding: 25px;
    border: 1px solid #e2edf7;
}

.dir-status-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: rgba(28, 28, 28, 1);
    font-size: 14px;
    font-weight: 600;
}

.dir-status-item strong {
    margin-left: auto;
    font-weight: 600;
}

.dir-status-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: #fff;
}

.dir-socials {
    border-top: 1px solid #dbe7f1;
    display: flex;
    gap: 12px;
}

.dir-socials a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #fff;
    font-size: 15px;
}

.enquire-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.offers-header {
    padding: 25px;
    margin-bottom: 20px;
}

.offers-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.offers-title h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: rgba(28, 28, 28, 1);
}

.offers-title p {
    margin-top: 8px;
    color: #727272;
    font-size: 12px;
    font-weight: 600;
}


.offers-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.offer-tabs {
    display: flex;
    gap: 12px;
}

.offer-search {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #e3e3e3;
    border-radius: 30px;
    padding: 0 15px;
    min-width: 320px;
}

.offer-search i.fa-search {
    color: #888;
}

.offer-search input {
    border: none;
    outline: none;
    flex: 1;
    padding: 12px;
    background: transparent;
}

.filter-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    color: #555;
    font-size: 18px;
}


.search-box {
    margin-bottom: 16px;
}

.search-box input {
    width: 280px;
    height: 38px;
    border: 1px solid #ddd;
    border-radius: 30px;
    padding: 0 18px;
    outline: none;
    font-size: 14px;
}

.user-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0px;
    border-top: 1px solid #1c1c1c10;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.avatar-wrap {
    position: relative;
}

.avatar-wrap img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid #d8a31c;
    object-fit: cover;
}

.dir-card-crown {
    position: absolute;
    bottom: 0px;
    right: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
}

.name {
    font-size: 15px;
    font-weight: 600;
    color: #222;
}

.add-btn {
    background: #005bab;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 10px 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
}

.add-btn:hover {
    opacity: .9;
}


.dir-stack-stats-wrapper {
    display: flex;
    gap: 14px;
    background: #0f5da8;
    padding: 14px;
    border-radius: 16px;
    max-width: 560px;
    box-sizing: border-box;
}

.dir-stack-stat-card {
    flex: 1;
    background: #1d67b1;
    border-radius: 10px;
    padding: 20px 0px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    color: #fff;
    text-align: center;
}

.dir-stack-stat-number {
    font-size: 24px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 8px;
}

.dir-stack-stat-label {
    font-size: 14px;
    font-weight: 600;
    font-family: 'Outfit';
}

.dir-stack-star {
    color: #ffc107;
    font-size: 16px;
    vertical-align: middle;
}

.enquire-footer {
    display: flex;
    justify-content: end;
    margin-bottom: 14px;
}



/*Enquire components*/

.enquires-list {
    margin-top: 20px;
}

.enquire-card {
    width: 100%;
    border: 1px solid #0000001A;
    border-radius: 16px;
    padding: 20px;
    background-color: #FFFFFF99;
    margin-bottom: 20px;
    box-sizing: border-box;
    box-shadow: none;
}

.enquire-header {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.enquire-avatar-container {
    position: relative;
    width: 44px;
    height: 44px;
    margin-right: 15px;
    flex-shrink: 0;
}

.enquire-avatar {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
    padding: 0;
    border: none;
    background: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #adb5bd;
}

.enquire-avatar svg {
    width: 24px;
    height: 24px;
}

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

.enquire-user-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.enquire-user-name {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    text-decoration: none;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    display: block;
    margin-bottom: 3px;
}

.enquire-contact-details {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 14px;
    color: #727272;
    font-family: 'Outfit', sans-serif;
}

.enquire-contact-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.enquire-contact-item i {
    color: #999;
    font-size: 13px;
}

.enquire-text {
    color: #5B5B5B;
    line-height: 1.5;
    font-size: 14px;
    margin: 0;
    font-family: 'Outfit', sans-serif;
    font-weight: 400;
}


@media (max-width: 767px) {

    .directory-header {
        border-radius: 16px;
        padding: 10px 12px;
        gap: 10px;
    }

    .directory-header h2,
    .directory-header .directory-title {
        font-size: 17px;
    }

    .directory-action {
        width: 100%;
        justify-content: stretch;
        flex-wrap: nowrap;
        gap: 8px;
    }

    .directory-filters {
        flex: 1;
        min-width: 0;
    }

    .directory-header.is-searching .directory-title {
        display: none;
    }

    .directory-header.is-searching .directory-action {
        width: 100%;
        justify-content: stretch;
        flex-wrap: nowrap;
        gap: 8px;
    }

    .directory-header.is-searching .directory-filters {
        flex: 1;
        min-width: 0;
        background: transparent;
        border: none;
        backdrop-filter: none;
        padding: 0;
        border-radius: 0;
        position: relative;
        z-index: 40;
    }

    .directory-header.is-searching .dir-search-bar {
        width: 100%;
        max-width: none;
        min-width: 0;
        flex: 1;
    }

    .dir-search-bar {
        width: 100%;
        max-width: none;
        min-width: 0;
        flex: 1;
    }

    .dir-search-bar input {
        padding: 11px 42px 11px 40px;
        font-size: 14px;
        border: 1px solid #e5e7eb;
        border-radius: 999px;
        background: #fff;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    }

    .dir-search-bar input:focus {
        background: #fff;
        border-color: #c7d2e0;
        box-shadow: 0 2px 8px rgba(0, 86, 179, 0.08);
    }

    .dir-search-bar .search-icon {
        left: 16px;
        width: 16px;
        height: 16px;
    }

    .directory-header.is-searching .filter-icon-btn {
        display: inline-flex;
    }

    .discover-search input {
        padding: 14px 20px 14px 45px;
        font-size: 15px;
        border: 1px solid #e0e0e0;
        background: #fff;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    }

    .filter-dropdowns {
        display: none;
        flex-direction: column;
        width: 100%;
        padding: 10px 12px;
        background: #fff;
        border: 1px solid #e5e7eb;
        border-radius: 12px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        z-index: 50;
    }

    .filter-dropdowns.is-open {
        display: flex;
    }

    .dir-filter-dd,
    .dir-filter-btn {
        width: 100%;
        min-width: 0;
    }

    .dir-filter-menu {
        left: 0;
        right: 0;
        min-width: 0;
        max-width: none;
        width: 100%;
    }

    .btn-add-business {
        padding: 11px 16px;
        font-size: 13px;
        border-radius: 999px;
    }

    #wo_my_pages {
        position: relative;
        z-index: 1;
    }

    #directory-results.row {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-left: 0;
        margin-right: 0;
    }

    #directory-results.row > [class*="col-"] {
        width: 100%;
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
        float: none;
    }

    .directory-card {
        z-index: 1;
        margin-bottom: 0;
        width: 100%;
    }

    .dir-card-body {
        gap: 12px;
    }

    .dir-card-header-row {
        margin-bottom: 0;
    }

    .dir-card-stats {
        gap: 10px;
        margin-bottom: 0;
    }

    .dir-card-actions {
        flex-direction: column;
        gap: 10px;
    }

    .discover-section h1 {
        font-size: 20px;
    }

    .discover-section p {
        font-size: 13px;
    }

    .dir-stack-stat-card{
        padding: 6px 0px;
    }

    .dir-stack-stats-wrapper{
        padding: 10px;
    }

    /* Offers — responsive */
    .offers-header {
        padding: 16px;
        margin-bottom: 14px;
    }

    .offers-top {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        margin-bottom: 16px;
    }

    .offers-title h2 {
        font-size: 16px;
    }

    .offers-title p {
        margin-top: 4px;
        font-size: 12px;
        line-height: 1.45;
    }

    .offers-top .btn-create {
        width: 100%;
        padding: 11px 16px;
        font-size: 13px;
        border-radius: 10px;
    }

    .offers-toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .offer-tabs {
        display: flex;
        flex-wrap: nowrap;
        gap: 8px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        margin: 0 -4px;
        padding: 2px 4px 6px;
    }

    .offer-tabs::-webkit-scrollbar {
        display: none;
    }

    .offer-tabs .btn-tab {
        flex: 0 0 auto;
        padding: 8px 14px;
        font-size: 12px;
        white-space: nowrap;
        border-radius: 8px;
    }

    .offer-search {
        min-width: 0;
        width: 100%;
        padding: 0 12px;
    }

    .offer-search input {
        padding: 10px 8px;
        font-size: 14px;
        min-width: 0;
    }

    .page-offers #posts,
    .page-offers .post-container {
        max-width: 100%;
        overflow-x: hidden;
    }

    #create-offer-modal .modal-dialog,
    #edit-offer-modal .modal-dialog {
        margin: 10px;
        width: auto;
    }

    #create-offer-modal .modal-body .row > [class*="col-"] {
        width: 100%;
        float: none;
    }

    #edit-offer-modal .wow_form_row {
        flex-direction: column;
        gap: 0;
    }
}
/* ========== Mobile page profile (Wo_IsMobile) ========== */
.page-mobile-profile {
    padding: 0 15px 24px;
    max-width: 100%;
}

.pm-header-card {
    background: #fff;
    border-radius: 16px;
    overflow: visible;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0f0f0;
    margin-bottom: 14px;
}

.pm-cover {
    position: relative;
    height: 140px;
    background: #e8eef5;
    overflow: visible;
    border-radius: 16px 16px 0 0;
    z-index: 2;
}

.pm-cover #cover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 16px 16px 0 0;
}

.pm-cover .profile-cover-changer {
    position: absolute;
    right: 10px;
    top: 10px;
    z-index: 5;
}

.page-mobile-profile .pm-upload-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55) !important;
    color: #fff !important;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    opacity: 1 !important;
    padding: 0;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.page-mobile-profile .pm-upload-btn svg {
    stroke: #fff;
    color: #fff;
}

.page-mobile-profile .pm-upload-btn input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

.pm-avatar-wrap .profile-avatar-changer {
    position: absolute;
    inset: 0;
    z-index: 5;
}

.page-mobile-profile .pm-avatar-wrap .pm-upload-btn {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 36px;
    height: 36px;
}

.page-mobile-profile .pm-options-buttons {
    position: static !important;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 12px 0 0;
    justify-content: flex-start;
}

.page-mobile-profile .pm-options-buttons .boost-btn,
.page-mobile-profile .pm-options-buttons .btn,
.page-mobile-profile .pm-options-buttons .wo_setting_btn {
    margin: 0;
}

.page-mobile-profile .pm-options-buttons .dir-btn-join {
    flex: 0 0 auto;
}

.page-mobile-profile .pm-options-buttons .dir-btn-join button,
.page-mobile-profile .pm-options-buttons .btn.wo_follow_btn {
    width: auto;
    min-width: 0;
    padding: 8px 14px;
    border-radius: 10px;
    background: #015ba8;
    color: #fff;
    border: none;
    font-size: 13px;
    font-weight: 600;
}

.pm-avatar-wrap {
    position: absolute;
    left: 16px;
    bottom: -36px;
    width: 78px;
    height: 78px;
    z-index: 6;
}

.pm-avatar-wrap #page-avatar-image {
    width: 78px;
    height: 78px;
    border-radius: 50%;
    border: 3px solid #fff;
    object-fit: cover;
    display: block;
    background: #fff;
}

.pm-avatar-wrap .profile-avatar-changer {
    position: absolute;
    inset: 0;
    z-index: 2;
}

.pm-crown {
    position: absolute;
    right: -2px;
    bottom: -2px;
    width: 26px;
    height: 26px;
    line-height: 0;
    z-index: 3;
}

.pm-header-body {
    position: relative;
    z-index: 1;
    padding: 44px 16px 16px;
}

.pm-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.pm-title-block {
    min-width: 0;
    flex: 1;
}

.pm-name {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #111;
    font-family: "Outfit", sans-serif;
    display: flex;
    align-items: center;
    gap: 6px;
    line-height: 1.25;
}

.pm-verified {
    flex-shrink: 0;
}

.pm-category {
    margin: 4px 0 0;
    font-size: 13px;
    color: #727272;
    font-family: "Outfit", sans-serif;
}

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

.pm-join-wrap .dir-btn-join {
    flex: initial;
}

.pm-join-wrap .dir-btn-join button,
.pm-join-wrap .btn.wo_follow_btn {
    font-size: 13px;
    font-weight: 600;
    font-family: "Outfit", sans-serif;
}

.pm-join-wrap .dir-btn-join button::before {
    content: none;
}

.pm-more-dropdown {
    position: relative;
}

.pm-more-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
}

.pm-more-btn.dropdown-toggle::after,
.pm-more-btn .caret {
    display: none !important;
}

.pm-more-menu {
    min-width: 200px;
    padding: 6px 0;
    margin-top: 6px;
    border: 1px solid #eee;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    z-index: 50;
}

.pm-more-menu > li > a.pm-menu-item,
.pm-more-menu .pm-menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    color: #222;
    font-size: 13px;
    font-family: "Outfit", sans-serif;
    text-decoration: none;
    white-space: nowrap;
}

.pm-more-menu > li > a.pm-menu-item:hover,
.pm-more-menu .pm-menu-item:hover {
    background: #f5f7fa;
    color: #015ba8;
}

.pm-more-menu .pm-menu-cta,
.pm-more-menu .pm-menu-message {
    padding: 6px 10px;
}

.pm-more-menu .pm-menu-cta .btn,
.pm-more-menu .pm-menu-message .btn,
.pm-more-menu .pm-menu-cta a,
.pm-more-menu .pm-menu-message a {
    width: 100%;
    justify-content: flex-start;
    text-align: left;
}

.pm-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    margin-top: 12px;
}

.pm-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #727272;
    font-family: "Outfit", sans-serif;
}

.pm-about {
    margin: 12px 0 0;
    font-size: 13px;
    line-height: 1.55;
    color: #555;
    font-family: "Outfit", sans-serif;
}

.pm-tabs {
    border-radius: 16px 16px 0 0;
    justify-content: space-between;
    padding: 0 8px;
}

.pm-tabs .modern-tab {
    padding: 14px 10px;
    font-size: 14px;
    flex: 1;
    text-align: center;
}

.page-mobile-profile .dir-company-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.page-mobile-profile .dir-company-title {
    font-size: 16px;
    margin-bottom: 12px;
    padding: 0 14px;
}

/* Mobile overview: status + socials first look like screenshot */

.page-mobile-profile .dir-info-row{
    padding : 0 14px;
    justify-content: space-between;
}

.page-mobile-profile .dir-info-value{
    text-align: end;
}

.page-mobile-profile .dir-company-sidebar {
    width: 100%;
    padding: 14px;
}

.page-mobile-profile .dir-status-item {
    margin-bottom: 10px;
}

.page-mobile-profile .dir-socials {
    justify-content: flex-start;
    gap: 12px;
    margin-top: 4px;
}

.page-mobile-profile .dir-socials a {
    width: 40px;
    height: 40px;
}

.page-mobile-profile .dir-stack-stats-wrapper{
    margin-bottom: 14px;
}

/* Offers inside mobile page profile */
.page-mobile-profile .page-offers {
    width: 100%;
    max-width: 100%;
}

.page-mobile-profile .offers-top {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-bottom: 14px;
}

.page-mobile-profile .offers-title h2 {
    font-size: 16px;
}

.page-mobile-profile .offers-title p {
    margin-top: 4px;
    font-size: 12px;
    line-height: 1.45;
}

.page-mobile-profile .offers-top .btn-create {
    width: 100%;
    padding: 11px 16px;
    font-size: 13px;
}

.page-mobile-profile .offers-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
}

.page-mobile-profile .offer-tabs {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
}

.page-mobile-profile .offer-tabs::-webkit-scrollbar {
    display: none;
}

.page-mobile-profile .offer-tabs .btn-tab {
    flex: 0 0 auto;
    padding: 8px 14px;
    font-size: 12px;
    white-space: nowrap;
}

.page-mobile-profile .offer-search {
    min-width: 0;
    width: 100%;
}

.page-mobile-profile .page-offers #posts,
.page-mobile-profile .page-offers .sun_post,
.page-mobile-profile .page-offers .post-container {
    max-width: 100%;
    overflow-x: hidden;
}

.page-mobile-profile .page-offers .empty_state {
    padding: 28px 16px;
    text-align: center;
}
