/* === Single Listing Card === */
.bdir-single-card {
    background: #fff;
    padding: 20px;
    margin: 20px auto;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    max-width: 1250px;
    width: 100%;
}

/* === Header Title === */
.bdir-header h1 {
    font-size: 28px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.verified-icon {
    width: 100px;
    height: 100px;
    display: inline-block;
    margin-left: 8px;
    vertical-align: middle;
    object-fit: contain;
}



/* === Rating and Address === */
.bdir-rating {
    color: #ffbf00;
    font-size: 20px;
    margin: 8px 0;
}

.bdir-address {
    color: #444;
    font-size: 16px;
    margin-bottom: 10px;
}

.map-icon {
    color: red;
    font-weight: bold;
}

/* === Feature Image === */
.feature-image img {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
}

@media (min-width: 768px) {
    .feature-image img {
        max-height: 400px;
    }
}

/* === Contact Buttons === */
.contact-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 10px 0 20px 0;
}

.btn {
    padding: 10px 20px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 30px;
    color: white;
    display: inline-block;
    transition: 0.3s;
}

.btn.whatsapp {
    background: #25D366;
}

.btn.phone {
    background: #0073aa;
}

.btn.email {
    background: #f39c12;
}

.btn.website {
    background: #4a90e2;
    color: white;
}

.btn:hover {
    filter: brightness(85%);
    color: white;
}

/* === Tabs === */
.tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.tablink {
    background: #000;
    color: #fff;
    padding: 10px 20px;
    font-weight: bold;
    border-radius: 8px;
    border: none;
    cursor: pointer;
}

.tablink.active {
    background: #0073e6;
    color: #fff;
}

/* === Tab Content === */
.tabcontent-wrapper {
    width: 100%;
    margin-top: 20px;
    position: relative;
    display: block;
}

.tabcontent {
    display: none;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    animation: fadeIn 0.3s ease-in-out;
}

.tabcontent.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}


/* === Mobile Styles === */
@media screen and (max-width: 767px) {
    .bdir-single-card {
        padding: 15px;
        margin-bottom: 50px; /* or more if needed */
    }

    .tablink {
        padding: 8px 12px;
        font-size: 14px;
    }
}

/* === Archive Grid === */
.bdir-archive-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
    margin: 20px 0;
}

@media screen and (min-width: 768px) {
    .bdir-archive-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.bdir-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    padding: 15px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.bdir-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.feat-img img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 8px;
}

.bdir-info {
    padding-top: 10px;
    flex-grow: 1;
}

.bdir-info h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.bdir-info h3 a {
    text-decoration: none;
    color: #333;
}

.bdir-info h3 a:hover {
    color: #0073e6;
}

.bdir-rating {
    color: #ffbf00;
    font-size: 14px;
    margin: 4px 0;
}

.bdir-address {
    font-size: 13px;
    color: #666;
    margin-bottom: 10px;
}

.verified-icon {
    width: 18px;
    height: 18px;
    vertical-align: middle;
}

.bdir-search-wrapper {
    max-width: 500px;
    margin: 30px auto;
    position: relative;
    perspective: 1000px;
}

#bdir-search {
    width: 100%;
    padding: 15px 20px;
    border-radius: 50px;
    border: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
}

#bdir-search:focus {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
}

#bdir-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    list-style: none;
    margin: 5px 0 0;
    padding: 0;
    z-index: 999;
}

#bdir-suggestions li {
    background: #fff;
    padding: 12px 16px;
    margin: 4px 0;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: 0.2s ease;
    font-size: 16px;
    color: #333;
}

#bdir-suggestions li:hover {
    background: #0073e6;
    color: #fff;
    transform: scale(1.02);
}
#bdir-suggestions li {
    opacity: 0;
    animation: fadeIn 0.2s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.tabcontent ul li {
    background: #fff;
    border-left: 4px solid #0073e6;
    margin-bottom: 10px;
    padding: 10px 15px;
    border-radius: 6px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.08);
    font-size: 16px;
    list-style-type: none; /* Removes bullet points */
    position: relative;
    transition: all 0.3s ease;
}

.tabcontent ul li:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    background: #f4faff;
    border-left-color: #005bb5;
}
