/* ===== PAGE WRAPPER ===== */
.bp-page-section {
    background: #f4f5f7;
    padding: 80px 0 80px;
    min-height: 100vh;
}

/* ===== SIDEBAR CARDS ===== */
.bp-sidebar .card {
    border: none;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    margin-bottom: 18px;
    overflow: hidden;
}

.bp-sidebar .card .card-body {
    padding: 20px 22px;
}

.bp-sidebar .card-title {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #1a1a1a;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 2px solid #0078ff;
    display: inline-block;
}

/* ===== SEARCH FIELD ===== */
.bp-search-wrap {
    position: relative;
}

.bp-search-wrap .bp-search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 14px;
}

.bp-search-wrap input {
    width: 100%;
    border: 1.5px solid #e5e5e5;
    border-radius: 8px;
    padding: 10px 14px 10px 36px;
    font-size: 14px;
    background: #fff;
    color: #333;
    transition: border-color 0.2s;
    outline: none;
}

.bp-search-wrap input:focus {
    border-color: #0078ff;
}

/* ===== SORT SELECT ===== */
.bp-sort-select {
    width: 100%;
    border: 1.5px solid #e5e5e5;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 14px;
    background: #fff;
    color: #333;
    outline: none;
    cursor: pointer;
    transition: border-color 0.2s;
}

.bp-sort-select:focus {
    border-color: #0078ff;
}

/* ===== VIEW BY BUTTONS ===== */
.bp-view-options {
    display: flex;
    gap: 10px;
    margin-top: 6px;
}

.bp-view-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 64px;
    border-radius: 10px;
    border: 2px solid #e5e5e5;
    background: #fff;
    cursor: pointer;
    transition: all 0.25s;
    gap: 5px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #666;
}

.bp-view-btn i {
    font-size: 18px;
    color: #888;
}

.bp-view-btn.bp-view-active {
    background: #0078ff;
    border-color: #0078ff;
    color: #fff;
}

.bp-view-btn.bp-view-active i {
    color: #fff;
}

.bp-view-btn:hover:not(.bp-view-active) {
    border-color: #0078ff;
    color: #0078ff;
}

.bp-view-btn:hover:not(.bp-view-active) i {
    color: #0078ff;
}

/* ===== FILTER CHECKBOXES ===== */
.bp-filter-item {
    margin-bottom: 8px;
}

.bp-filter-item .custom-control-label {
    font-size: 13.5px;
    color: #444;
    cursor: pointer;
}

.bp-filter-item .custom-control-input:checked~.custom-control-label::before {
    background-color: #0078ff;
    border-color: #0078ff;
}

/* ===== PRODUCT LIST CONTAINER ===== */
#bp-product-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

#bp-product-container.bp-gallery-view {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

/* ===== PRODUCT CARD (LIST VIEW) ===== */
.bp-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: row;
    overflow: hidden;
    border: 1px solid #f0f0f0;
    border-left: 4px solid var(--bp-primary, #0078ff);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    padding: 16px;
    gap: 18px;
    margin-bottom: 20px;
    width: 100%;
    box-sizing: border-box;
    align-items: stretch;
}

.bp-card:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

/* Image Side */
.bp-card-image-wrap {
    flex-shrink: 0;
    width: 200px;
    height: 200px;
    min-width: 200px;
    max-width: 200px;
    flex: 0 0 200px;
    position: relative;
    background: #f8f9fa;
    overflow: hidden;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bp-card-image-link {
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 8px;
}

.bp-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

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

.bp-card-no-image {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #999;
    font-size: 36px;
    border-radius: 8px;
}

.bp-card-no-image i {
    margin-bottom: 6px;
    opacity: 0.5;
    font-size: 32px;
}

.bp-card-no-image span {
    font-size: 12px;
    font-weight: 500;
    color: #888;
}

/* Badge */
.bp-badge-wrap {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    gap: 6px;
    z-index: 10;
}

.bp-badge {
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    line-height: 1.2;
}

.bp-badge-new {
    background: var(--bp-primary, #0078ff);
}

.bp-badge-out {
    background: #8a8a8a;
}

/* Body Side */
.bp-card-body {
    flex: 1;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
}

.bp-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 6px;
}

.bp-product-title {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.3;
    word-break: break-word;
}

.bp-category-tag {
    flex-shrink: 0;
    background: #b1e1fd;
    color: #0078ff;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.bp-shop-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.bp-shop-info {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    flex: 1;
    min-width: 0;
}

.bp-shop-icon {
    color: var(--bp-primary, #0078ff);
    font-size: 14px;
    flex-shrink: 0;
}

.bp-shop-name {
    color: #2c2c2c;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
}

.bp-shop-name:hover {
    color: var(--bp-primary, #0078ff);
    text-decoration: none;
}

.bp-rating-wrap {
    flex-shrink: 0;
}

.bp-rating-text {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: #999;
    white-space: nowrap;
}

.bp-rating-text i {
    font-size: 11px;
}

/* Price & Meta Block */
.bp-price-meta-block {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: auto;
    margin-bottom: 14px;
}

.bp-price-row {
    display: flex;
    align-items: baseline;
}

.bp-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--bp-primary, #0078ff);
    line-height: 1.2;
}

.bp-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    font-size: 11px;
    color: #666;
    width: 100%;
}

.bp-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.bp-meta-item i {
    color: var(--bp-primary, #0078ff);
    font-size: 12px;
}

.bp-meta-item.bp-date-info {
    margin-left: auto;
}

.bp-out-of-stock {
    color: #999;
    font-weight: 600;
}

/* ===== ACTION ROW ===== */
.bp-action-row {
    display: flex;
    align-items: stretch;
    gap: 10px;
    max-width: 340px;
    width: 100%;
}

.bp-reserve-btn-card,
.bp-view-btn-card {
    flex: 1 1 0;
    box-sizing: border-box;
    padding: 10px 14px;
    background: linear-gradient(135deg, var(--bp-primary, #0078ff) 0%, var(--bp-primary-dark, #0056b3) 100%);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    text-align: center;
    font-family: inherit;
    min-width: 0;
    min-height: 42px;
    white-space: nowrap;
    line-height: 1;
}

.bp-reserve-btn-card i,
.bp-view-btn-card i {
    font-size: 13px;
    flex-shrink: 0;
}

.bp-reserve-btn-card span,
.bp-view-btn-card span {
    overflow: hidden;
    text-overflow: ellipsis;
}

.bp-reserve-btn-card:hover,
.bp-view-btn-card:hover {
    background: linear-gradient(135deg, var(--bp-primary-dark, #0056b3) 0%, #003d80 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 120, 255, 0.3);
    color: #fff;
    text-decoration: none;
}

.bp-reserve-btn-card:active,
.bp-view-btn-card:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 120, 255, 0.25);
}

/* ===== GALLERY VIEW OVERRIDE ===== */
#bp-product-container.bp-gallery-view .bp-card {
    flex-direction: column;
    border-left: none;
    border-top: 4px solid #0078ff;
    min-height: unset;
}

#bp-product-container.bp-gallery-view .bp-card-image-wrap {
    width: 100%;
    min-height: 180px;
    height: 180px;
}

#bp-product-container.bp-gallery-view .bp-card-no-image {
    min-height: 180px;
    height: 180px;
}

#bp-product-container.bp-gallery-view .bp-card-body {
    padding: 14px 16px;
}

#bp-product-container.bp-gallery-view .bp-meta {
    align-items: flex-start;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
}

/* ===== EMPTY STATE ===== */
.bp-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    text-align: center;
    background: #fafbfc;
    border-radius: 16px;
    border: 2px dashed #e0e4e8;
}

#bp-product-container.bp-gallery-view .bp-empty-state {
    grid-column: 1 / -1;
}

.bp-empty-icon {
    font-size: 64px;
    color: #c0c8d0;
    margin-bottom: 20px;
}

.bp-empty-icon i {
    display: inline-block;
    background: #f0f2f5;
    border-radius: 50%;
    padding: 20px;
}

.bp-empty-title {
    font-size: 22px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
}

.bp-empty-text {
    font-size: 15px;
    color: #7f8c9b;
    margin-bottom: 6px;
    max-width: 360px;
    line-height: 1.5;
}

.bp-empty-hint {
    font-size: 14px;
    color: #aab2bd;
}

/* ===== SPINNER ===== */
#bp-loading-spinner {
    text-align: center;
    padding: 40px 0;
    font-size: 28px;
    color: #0078ff;
}

/* ============================================================
   RESPONSIVE — 1024px  (tablet landscape)
============================================================ */
@media (max-width: 1024px) {
    .bp-page-section {
        padding: 160px 0 60px;
    }

    .bp-card-image-wrap {
        width: 180px;
    }

    .bp-product-title {
        font-size: 15px;
    }

    .bp-price {
        font-size: 18px;
    }

    #bp-product-container.bp-gallery-view {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    #bp-product-container.bp-gallery-view .bp-card-image-wrap {
        height: 160px;
        min-height: 160px;
    }
}

/* ============================================================
   RESPONSIVE — 768px  (tablet portrait / Bootstrap md)
============================================================ */
@media (max-width: 768px) {
    .bp-page-section {
        padding: 140px 0 50px;
    }

    /* sidebar goes full width — Bootstrap handles col stacking */
    .bp-sidebar {
        margin-bottom: 20px;
    }

    .bp-sidebar .card {
        margin-bottom: 12px;
    }

    .bp-sidebar .card .card-body {
        padding: 14px 16px;
    }

    /* listing wrapper tighter on tablet */
    .listing-wrapper {
        padding: 16px;
    }

    /* view-by buttons row wraps */
    .bp-view-options {
        flex-wrap: wrap;
    }

    /* card flips to column */
    .bp-card {
        flex-direction: column;
        border-left: none;
        border-top: 4px solid #0078ff;
    }

    .bp-card-image-wrap {
        width: 100%;
        min-height: 200px;
        height: 200px;
    }

    .bp-card-no-image {
        min-height: 200px;
        height: 200px;
    }

    .bp-card-body {
        padding: 14px 16px;
    }

    /* gallery → single column */
    #bp-product-container.bp-gallery-view {
        grid-template-columns: 1fr;
    }

    #bp-product-container.bp-gallery-view .bp-card-image-wrap {
        height: 200px;
        min-height: 200px;
    }

    /* bvm toggle label wraps */
    .bvm-toggle-label {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }
}

/* ============================================================
   RESPONSIVE — 425px  (mobile large)
============================================================ */
@media (max-width: 425px) {
    .bp-page-section {
        padding: 120px 0 40px;
    }

    .listing-wrapper {
        padding: 12px;
        border-radius: 10px;
    }

    .bp-sidebar .card .card-body {
        padding: 12px 14px;
    }

    .bp-sidebar .card-title {
        font-size: 11px;
        letter-spacing: 0.8px;
    }

    .bp-search-wrap input {
        font-size: 13px;
        padding: 9px 12px 9px 32px;
    }

    .bp-sort-select {
        font-size: 13px;
        padding: 9px 12px;
    }

    .bp-view-btn {
        width: 64px;
        height: 56px;
        font-size: 10px;
    }

    .bp-view-btn i {
        font-size: 16px;
    }

    .bp-card-image-wrap {
        height: 180px;
        min-height: 180px;
    }

    .bp-card-no-image {
        height: 180px;
        min-height: 180px;
    }

    .bp-card-body {
        padding: 12px 14px;
    }

    .bp-product-title {
        font-size: 14px;
    }

    .bp-category-tag {
        font-size: 9px;
        padding: 2px 7px;
    }

    .bp-shop-row {
        font-size: 12px;
        gap: 6px;
    }

    .bp-price {
        font-size: 17px;
    }

    .bp-meta-item {
        font-size: 11px;
    }

    .bp-view-btn-card {
        font-size: 13px;
        padding: 9px;
    }

    .bp-reserve-btn-card {
        font-size: 13px;
        padding: 9px;
    }

    .bp-reserve-btn-card {
        font-size: 13px;
        padding: 9px;
    }

    .bp-empty-state {
        padding: 50px 16px;
    }

    .bp-empty-icon {
        font-size: 48px;
    }

    .bp-empty-icon i {
        padding: 16px;
    }

    .bp-empty-title {
        font-size: 18px;
    }

    .bp-empty-text {
        font-size: 13px;
        max-width: 280px;
    }

    .bp-empty-hint {
        font-size: 13px;
    }

    .bvm-toggle-label span {
        font-size: 12px;
    }

    .bvm-toggle-switch {
        width: 50px;
        height: 26px;
    }
}

/* ============================================================
   RESPONSIVE — 375px  (mobile medium / iPhone SE)
============================================================ */
@media (max-width: 375px) {
    .bp-page-section {
        padding: 20px 0 36px;
    }

    .listing-wrapper {
        padding: 10px;
        border-radius: 8px;
    }

    .bp-sidebar .card .card-body {
        padding: 10px 12px;
    }

    .bp-sidebar .card-title {
        font-size: 10.5px;
    }

    .bp-search-wrap input {
        font-size: 12px;
        padding: 8px 10px 8px 30px;
    }

    .bp-sort-select {
        font-size: 12px;
        padding: 8px 10px;
    }

    .bp-view-btn {
        width: 58px;
        height: 52px;
        font-size: 9.5px;
    }

    .bp-view-btn i {
        font-size: 15px;
    }

    .bp-card-image-wrap {
        height: 160px;
        min-height: 160px;
    }

    .bp-card-no-image {
        height: 160px;
        min-height: 160px;
    }

    .bp-card-body {
        padding: 10px 12px;
    }

    .bp-product-title {
        font-size: 13.5px;
    }

    .bp-price {
        font-size: 16px;
    }

    .bp-shop-row {
        font-size: 11.5px;
    }

    .bp-meta-item {
        font-size: 10.5px;
    }

    .bp-view-btn-card {
        font-size: 12.5px;
        padding: 8px;
    }

    .bp-reserve-btn-card {
        font-size: 12.5px;
        padding: 8px;
    }

    .bp-empty-state {
        padding: 40px 12px;
    }

    .bp-empty-icon {
        font-size: 40px;
    }

    .bp-empty-icon i {
        padding: 14px;
    }

    .bp-empty-title {
        font-size: 16px;
    }

    .bp-empty-text,
    .bp-empty-hint {
        font-size: 12px;
    }

    .bp-empty-text {
        max-width: 240px;
    }

    .bvm-toggle-label span {
        font-size: 11px;
    }

    .bvm-toggle-switch {
        width: 46px;
        height: 24px;
    }
}

/* ============================================================
/* ===== TOGGLE SWITCH STYLING ===== */
.bvm-toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.bvm-toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.bvm-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.35s;
    border-radius: 24px;
}

.bvm-toggle-circle {
    position: absolute;
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.35s;
    border-radius: 50%;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.bvm-toggle-switch input:checked+.bvm-slider {
    background-color: #0078ff;
}

.bvm-toggle-switch input:checked+.bvm-slider .bvm-toggle-circle {
    left: 27px;
}

/* ===== RESPONSIVE — 300px  (tiny / very small screens)
============================================================ */
@media (max-width: 300px) {
    .bp-page-section {
        padding: 100px 0 28px;
    }

    .listing-wrapper {
        padding: 8px;
        border-radius: 6px;
    }

    .bp-sidebar .card .card-body {
        padding: 8px 10px;
    }

    .bp-sidebar .card-title {
        font-size: 10px;
        letter-spacing: 0.4px;
    }

    .bp-search-wrap input {
        font-size: 11px;
        padding: 7px 8px 7px 28px;
    }

    .bp-sort-select {
        font-size: 11px;
        padding: 7px 8px;
    }

    .bp-view-options {
        gap: 6px;
    }

    .bp-view-btn {
        width: 52px;
        height: 46px;
        font-size: 9px;
    }

    .bp-view-btn i {
        font-size: 13px;
    }

    .bp-card {
        border-radius: 8px;
    }

    .bp-card-image-wrap {
        height: 130px;
        min-height: 130px;
    }

    .bp-card-no-image {
        height: 130px;
        min-height: 130px;
    }

    .bp-card-body {
        padding: 8px 10px;
    }

    .bp-card-top {
        flex-direction: column;
        gap: 4px;
    }

    .bp-product-title {
        font-size: 12.5px;
    }

    .bp-category-tag {
        font-size: 8.5px;
        padding: 2px 5px;
    }

    .bp-shop-row {
        font-size: 11px;
        gap: 4px;
    }

    .bp-rating-text {
        margin-left: 0;
    }

    .bp-price {
        font-size: 14px;
    }

    .bp-meta-item {
        font-size: 10px;
    }

    .bp-view-btn-card {
        font-size: 11.5px;
        padding: 7px 6px;
        gap: 5px;
    }

    .bp-reserve-btn-card {
        font-size: 11.5px;
        padding: 7px 6px;
        gap: 5px;
    }

    .bp-empty-state {
        padding: 32px 8px;
        border-radius: 10px;
    }

    .bp-empty-icon {
        font-size: 34px;
        margin-bottom: 10px;
    }

    .bp-empty-icon i {
        padding: 10px;
    }

    .bp-empty-title {
        font-size: 14px;
    }

    .bp-empty-text,
    .bp-empty-hint {
        font-size: 11px;
    }

    .bp-empty-text {
        max-width: 200px;
    }

    .bvm-toggle-section {
        padding: 10px;
    }

    .bvm-toggle-label {
        padding: 8px;
        gap: 6px;
    }

    .bvm-toggle-label span {
        font-size: 10px;
    }

    .bvm-toggle-switch {
        width: 42px;
        height: 22px;
    }
}

/* ===== PRODUCT CARD ===== */
.bp-product-card {
    border: 1px solid #e9ecef;
    border-radius: 10px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}
.bp-product-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.bp-product-img {
    padding: .5rem !important;
}
.bp-product-img img {
    border-radius: 10px 0 0 10px;
}
.bp-product-title {
    font-size: 16px;
    font-weight: 700;
    margin: 0;
}
.bp-product-title a {
    color: #1a1a2e;
    text-decoration: none;
}
.bp-product-title a:hover {
    color: var(--primary, #1a8e8e);
}
.bp-product-category {
    font-size: 13px;
    color: #6c757d;
}
.bp-product-price {
    font-size: 17px;
    font-weight: 700;
    color: #dc3545;
    margin: 0;
}
.bp-product-rating {
    font-size: 13px;
    color: #f4a623;
}
.bp-product-rating i {
    font-size: 12px;
}
.bp-product-rating span {
    color: #6c757d;
    margin-left: 4px;
}
.bp-product-desc {
    font-size: 13px;
    color: #6c757d;
    margin: 0;
}
.bp-product-meta-right {
    font-size: 13px;
    color: #6c757d;
}
.bp-meta-line {
    font-size: 13px;
    color: #6c757d;
}
.bp-meta-line i {
    color: var(--primary, #1a8e8e);
    width: 14px;
    margin-right: 4px;
}
.btn-bp-reserve {
    background-color: var(--primary, #1a8e8e);
    color: #fff;
    border: none;
    padding: 6px 20px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
}
.btn-bp-reserve:hover {
    background-color: var(--primary-dark, #1a8e8e);
    color: #fff;
}

/* ===== BUSINESS COVER/BANNER ===== */
.bp-cover {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 0;
}
.bp-cover-img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    display: block;
}
.bp-cover-actions {
    position: absolute;
    bottom: 16px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 5;
}
.bp-cover-actions .share-btn-container {
    position: relative;
}
.bp-cover-actions .share-options {
    position: absolute;
    bottom: calc(100% + 8px);
    top: auto;
    right: 0;
    left: auto;
    min-width: 140px;
    z-index: 25;
}
.bp-cover-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #0d9488;
    color: #fff !important;
    padding: 8px 18px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    cursor: pointer;
}
.bp-cover-btn:hover {
    background-color: #0f766e;
    color: #fff !important;
}
.bp-cover-btn.saved {
    background-color: #198754;
}

/* Profile Bar below Cover */
.bp-profile-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 4px 18px 4px;
    position: relative;
    margin-bottom: 10px;
}
.bp-profile-left {
    display: flex;
    align-items: center;
    gap: 16px;
}
.bp-cover-rank {
    color: #1e293b;
    font-size: 15px;
    font-weight: 700;
    flex-shrink: 0;
}
.bp-cover-rank strong {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
}
.bp-cover-logo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #fff;
    box-shadow: 0 4px 14px rgba(0,0,0,0.12);
    flex-shrink: 0;
    background: #fff;
    margin-top: -60px;
    position: relative;
    z-index: 6;
}
.bp-cover-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.bp-cover-details {
    flex: 1;
    min-width: 0;
}
.bp-cover-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.bp-cover-name {
    font-size: 21px;
    font-weight: 800;
    color: #1e293b;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    line-height: 1.2;
}
.bp-cover-verified {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 600;
    color: #2563eb;
}
.bp-cover-verified i {
    color: #2563eb;
    font-size: 13px;
}
.bp-cover-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 4px;
}
.bp-cover-location {
    color: #64748b;
    font-size: 13px;
    font-weight: 500;
}
.bp-cover-rating {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    color: #f59e0b;
    font-size: 12px;
}
.bp-cover-rating .far.fa-star {
    color: #cbd5e1;
}
.bp-cover-stats {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-left: auto;
    flex-shrink: 0;
}
.bp-cover-stats span {
    color: #64748b;
    font-size: 13px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.bp-cover-stats i {
    color: #64748b;
    font-size: 14px;
}
.bp-cover-stats strong {
    color: #1e293b;
    font-weight: 700;
}

/* ===== BUSINESS PROFILE COVER RESPONSIVE ===== */
@media (max-width: 991px) {
    .bp-cover-img {
        height: 260px;
    }
    .bp-cover-name {
        font-size: 18px;
    }
    .bp-cover-logo {
        width: 90px;
        height: 90px;
        margin-top: -45px;
    }
    .bp-cover-rank strong {
        font-size: 16px;
    }
    .bp-cover-stats {
        gap: 16px;
    }
    .bp-cover-stats span {
        font-size: 12px;
    }
}
@media (max-width: 767px) {
    .bp-cover-img {
        height: 200px;
    }
    .bp-cover-actions {
        bottom: 12px;
        right: 12px;
        gap: 6px;
    }
    .bp-cover-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
    .bp-profile-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 8px 0 16px;
    }
    .bp-profile-left {
        display: flex;
        align-items: center;
        gap: 10px;
        width: 100%;
    }
    .bp-cover-rank {
        font-size: 11px;
        line-height: 1.15;
        text-align: center;
        background: #f1f5f9;
        padding: 4px 6px;
        border-radius: 6px;
        border: 1px solid #e2e8f0;
        flex-shrink: 0;
        min-width: 44px;
    }
    .bp-cover-rank strong {
        display: block;
        font-size: 15px;
        font-weight: 800;
        color: #0f172a;
    }
    .bp-cover-logo {
        width: 72px;
        height: 72px;
        margin-top: -36px;
        flex-shrink: 0;
        border-width: 3px;
    }
    .bp-cover-details {
        flex: 1;
        min-width: 0;
    }
    .bp-cover-title-row {
        gap: 4px 8px;
    }
    .bp-cover-name {
        font-size: 16px;
        line-height: 1.25;
        word-break: break-word;
    }
    .bp-cover-verified {
        font-size: 11px;
        white-space: nowrap;
    }
    .bp-cover-meta {
        flex-wrap: wrap;
        gap: 4px 8px;
        margin-top: 2px;
    }
    .bp-cover-location {
        font-size: 12px;
    }
    .bp-cover-rating {
        font-size: 11px;
        white-space: nowrap;
    }
    .bp-cover-stats {
        width: 100%;
        margin-left: 0;
        justify-content: space-around;
        padding: 8px 12px;
        background: #f8fafc;
        border-radius: 8px;
        border: 1px solid #e2e8f0;
        box-sizing: border-box;
    }
    .bp-cover-stats span {
        font-size: 12px;
    }
}
@media (max-width: 480px) {
    .bp-cover-img {
        height: 170px;
    }
    .bp-cover-actions {
        bottom: 8px;
        right: 8px;
        gap: 6px;
    }
    .bp-cover-btn {
        padding: 5px 10px;
        font-size: 11px;
    }
    .bp-profile-left {
        gap: 8px;
    }
    .bp-cover-rank {
        padding: 3px 5px;
        min-width: 38px;
        font-size: 10px;
    }
    .bp-cover-rank strong {
        font-size: 14px;
    }
    .bp-cover-logo {
        width: 64px;
        height: 64px;
        margin-top: -32px;
    }
    .bp-cover-name {
        font-size: 14px;
    }
    .bp-cover-stats {
        padding: 6px 8px;
        gap: 8px;
    }
    .bp-cover-stats span {
        font-size: 11px;
    }
}
