/* BulkPostAds - Business Detail Page */

.business-detail-page {
    width: 100%;
    min-height: 50vh;
}

.business-detail-container {
    max-width: 1100px;
    margin: 50px auto;
    padding: 24px;
}

@media (max-width: 767px) {
    .business-detail-container {
        margin: 24px auto;
        padding: 16px;
    }
}


/* STEP 20N-Q: Claim listing frontend */
.business-claim-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 32px;
    padding: 24px;
    border: 1px solid #dbe5f1;
    border-radius: 16px;
    background: #f8fafc;
}
.business-claim-box h2 {
    margin: 0 0 8px;
    font-size: 21px;
    color: #0f172a;
}
.business-claim-box p {
    margin: 0;
    line-height: 1.6;
    color: #475569;
}
.business-claim-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 20px;
    border-radius: 10px;
    background: #175cd3;
    color: #fff !important;
    font-weight: 700;
    text-decoration: none;
}
.business-claim-button:hover {
    background: #1247a6;
}
.claim-listing-page {
    padding: 40px 18px 70px;
}
.claim-listing-container {
    width: 100%;
    max-width: 850px;
    margin: 0 auto;
}
.claim-listing-card {
    border: 1px solid #dbe5f1;
    border-radius: 18px;
    padding: 30px;
    background: #fff;
}
.claim-listing-card h1 {
    margin: 0 0 12px;
    color: #0f172a;
}
.claim-listing-intro {
    color: #475569;
    line-height: 1.7;
}
.claim-listing-notice {
    margin: 22px 0;
    padding: 15px 18px;
    border-radius: 10px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    color: #9a3412;
    line-height: 1.6;
}
.claim-listing-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}
.claim-listing-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-width: 0;
}
.claim-listing-field label {
    font-weight: 600;
    color: #334155;
}
.claim-listing-field input,
.claim-listing-field select,
.claim-listing-field textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 12px;
    border: 1px solid #cbd5e1;
    border-radius: 9px;
    background: #fff;
    color: #0f172a;
    font: inherit;
}
.claim-listing-field textarea {
    min-height: 110px;
    resize: vertical;
}
.claim-listing-wide {
    grid-column: 1 / -1;
}
.claim-listing-disabled {
    padding: 13px 20px;
    border: 0;
    border-radius: 10px;
    background: #94a3b8;
    color: #fff;
    font-weight: 700;
    cursor: not-allowed;
}
.claim-listing-back {
    display: inline-block;
    margin-top: 20px;
}
@media (max-width: 650px) {
    .claim-listing-card {
        padding: 20px;
    }
    .claim-listing-form {
        grid-template-columns: 1fr;
    }
}


/* Private business profile redesign */
.business-detail-page{background:#f5f7fb;color:#14233d;padding:32px 18px 76px;min-height:65vh}
.business-detail-container{max-width:1180px;margin:0 auto}
.bd-breadcrumb{display:flex;flex-wrap:wrap;align-items:center;gap:9px;font-size:13px;color:#718097;margin-bottom:24px}
.bd-breadcrumb a{color:#536987;text-decoration:none}
.bd-breadcrumb a:hover{color:#1568dc;text-decoration:underline}
.bd-heading{margin-bottom:28px}
.bd-eyebrow{font-size:11px;letter-spacing:2px;font-weight:800;color:#2563eb}
.bd-heading h1{font-size:clamp(27px,3vw,42px);line-height:1.2;letter-spacing:-.8px;margin:9px 0 16px;color:#0e2342;font-weight:800}
.bd-heading-meta{display:flex;align-items:center;flex-wrap:wrap;gap:10px}
.bd-pill{display:inline-flex;padding:7px 13px;border-radius:999px;background:#e8f0ff;color:#1556b4;font-size:12px;font-weight:700}
.bd-location{font-size:13px;color:#63758f}
.bd-layout{display:grid;grid-template-columns:minmax(0,1.85fr) minmax(280px,1fr);align-items:start;gap:24px}
.bd-main,.bd-sidebar{display:grid;gap:24px;min-width:0}
.bd-card{background:#fff;border:1px solid #e4eaf2;border-radius:16px;box-shadow:0 6px 24px rgba(16,35,70,.045);padding:26px}
.bd-gallery{padding:12px}
.bd-hero-link{display:block;background:#eef2f7;border-radius:11px;overflow:hidden}
.bd-hero-image{width:100%;height:clamp(250px,35vw,440px);object-fit:contain;display:block}
.bd-image-placeholder{height:320px;display:grid;place-items:center;background:#edf3fa;color:#7c8ba0;border-radius:11px;text-align:center}
.bd-gallery-thumbs{display:grid;grid-template-columns:repeat(auto-fill,minmax(100px,1fr));gap:10px;margin-top:12px}
.bd-gallery-thumbs a{display:block;overflow:hidden;border-radius:9px;border:1px solid #e6edf5;background:#f6f8fc}
.bd-gallery-thumbs img{width:100%;height:94px;object-fit:cover;display:block;transition:transform .2s}
.bd-gallery-thumbs a:hover img{transform:scale(1.05)}
.bd-section-heading{display:flex;align-items:center;gap:11px;margin-bottom:20px}
.bd-section-heading h2{font-size:20px;line-height:1.3;color:#142744;margin:0;font-weight:750}
.bd-section-icon{display:grid;place-items:center;flex:none;width:36px;height:36px;background:#eaf2ff;color:#2464cf;border-radius:10px;font-size:19px;font-weight:800}
.bd-summary{font-size:16px;line-height:1.8;color:#35465d;font-weight:500;margin:0 0 16px}
.bd-description{font-size:15px;line-height:1.9;color:#52617a;overflow-wrap:anywhere}
.bd-muted{color:#75849a;line-height:1.7}
.bd-category-list{display:flex;flex-wrap:wrap;gap:10px}
.bd-category-link{padding:9px 14px;border-radius:9px;background:#f0f5fd;color:#1959b4;font-size:13px;font-weight:700;text-decoration:none}
.bd-category-link:hover{background:#e2edff}
.bd-info-item{display:flex;gap:13px;padding:15px 0;border-bottom:1px solid #edf1f6;align-items:flex-start}
.bd-info-item:first-of-type{padding-top:0}
.bd-info-item:last-of-type{border-bottom:0}
.bd-info-icon{flex:none;display:grid;place-items:center;width:35px;height:35px;border-radius:10px;background:#f0f5fb;font-size:16px}
.bd-info-label{display:block;font-size:12px;font-weight:750;text-transform:uppercase;letter-spacing:.6px;color:#7b8aa0;margin-bottom:5px}
.bd-info-item p{margin:0;color:#263c5a;line-height:1.6;overflow-wrap:anywhere}
.bd-info-item a{color:#1564d1;text-decoration:none}
.bd-primary-button,.bd-secondary-button{display:block;text-align:center;text-decoration:none;padding:13px 16px;border-radius:10px;font-size:14px;font-weight:750;transition:background .2s}
.bd-primary-button{background:#1765db;color:#fff;margin-top:18px}
.bd-primary-button:hover{background:#0f50b7;color:#fff}
.bd-claim{background:#f1f6ff;border-color:#dce9ff}
.bd-claim-symbol{display:grid;place-items:center;width:43px;height:43px;background:#dceaff;color:#155cc5;border-radius:12px;font-size:24px;font-weight:800}
.bd-claim h2{font-size:20px;color:#15335e;margin:16px 0 9px}
.bd-claim p{font-size:14px;color:#596e8d;line-height:1.7;margin:0 0 20px}
.bd-secondary-button{background:#fff;color:#175bc2;border:1px solid #bed4f7}
.bd-secondary-button:hover{background:#e8f1ff}
@media(max-width:850px){.bd-layout{grid-template-columns:1fr}.bd-sidebar{grid-template-columns:repeat(2,minmax(0,1fr))}.bd-heading h1{font-size:30px}}
@media(max-width:600px){.business-detail-page{padding:20px 12px 48px}.bd-layout,.bd-main,.bd-sidebar{grid-template-columns:1fr;gap:16px}.bd-card{padding:19px;border-radius:13px}.bd-gallery{padding:8px}.bd-hero-image{height:280px}.bd-heading h1{font-size:27px}.bd-section-heading h2{font-size:18px}.bd-gallery-thumbs{grid-template-columns:repeat(3,minmax(0,1fr))}.bd-gallery-thumbs img{height:80px}}


/* Detail enhancement 92C */
.bd-social-links{display:flex;flex-wrap:wrap;gap:9px;margin-top:18px}
.bd-social-links a{display:inline-flex;padding:9px 12px;border-radius:9px;background:#edf4ff;color:#1656ac;font-size:13px;font-weight:700;text-decoration:none}
.bd-social-links a:hover{background:#dbeaff}
.bd-map iframe{display:block;width:100%;height:255px;border:0;border-radius:11px;background:#edf2f8}
.bd-map-link{display:inline-block;margin-top:13px;font-size:13px;font-weight:700;color:#1765db;text-decoration:none}
.bd-related{margin-top:24px}
.bd-related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.bd-related-item{display:flex;flex-direction:column;gap:10px;min-width:0;padding:20px;border:1px solid #e2eaf4;border-radius:12px;text-decoration:none;background:#fbfcff;transition:box-shadow .2s,transform .2s}
.bd-related-item:hover{box-shadow:0 10px 24px rgba(16,35,70,.09);transform:translateY(-2px)}
.bd-related-item strong{color:#142744;font-size:16px;line-height:1.45}
.bd-related-item>span{color:#697b95;font-size:13px;line-height:1.5;overflow-wrap:anywhere}
.bd-related-item p{color:#52617a;font-size:13px;line-height:1.65;margin:0;overflow-wrap:anywhere}
.bd-related-item .bd-related-more{margin-top:auto;color:#1765db;font-weight:750}
@media(max-width:850px){.bd-related-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.bd-related-grid{grid-template-columns:1fr}.bd-related{margin-top:16px}}


/* Original GeoDirectory details and related R2 images */
.bd-tags-list{display:flex;flex-wrap:wrap;gap:9px}
.bd-tag{display:inline-flex;max-width:100%;overflow-wrap:anywhere;padding:8px 12px;border-radius:999px;background:#eef4fd;color:#285181;font-size:13px;font-weight:650}
.bd-hours-list{list-style:none;padding:0;margin:0 0 12px}
.bd-hours-list li{padding:9px 0;border-bottom:1px solid #edf1f7;color:#304563;font-size:14px}
.bd-hours .bd-muted{font-size:12px;line-height:1.6}
.bd-review{padding:16px 0;border-bottom:1px solid #e8edf5}
.bd-review:last-child{border-bottom:0}
.bd-review-top{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.bd-review-top strong{color:#182e50}
.bd-review-top span{color:#a66a00;font-weight:750}
.bd-review p{margin:10px 0;line-height:1.7;overflow-wrap:anywhere}
.bd-review small{color:#77859b}
.bd-related-image{display:block;width:100%;height:160px;object-fit:cover;border-radius:9px;background:#edf2f8}
.bd-related-image-placeholder{display:grid;place-items:center;min-height:160px;padding:12px;border-radius:9px;background:#edf2f8;color:#77859b;text-align:center;font-size:13px}


/* Secure moderated business review form */
.bd-review-form{display:grid;gap:11px;margin-top:18px}
.bd-review-form label{font-weight:700;font-size:14px;color:#203a5b}
.bd-review-form input,.bd-review-form select,.bd-review-form textarea{
 width:100%;box-sizing:border-box;border:1px solid #cbd8e9;border-radius:9px;
 padding:12px;font:inherit;color:#1e3552;background:#fff
}
.bd-review-form textarea{resize:vertical}
.bd-review-form button{
 border:0;border-radius:9px;background:#1765db;color:#fff;
 padding:13px 18px;font:inherit;font-weight:750;cursor:pointer;margin-top:7px
}
.bd-review-form button:hover{background:#0f50b7}
.bd-review-honeypot{position:absolute!important;left:-10000px!important;width:1px;height:1px;overflow:hidden}
.bd-review-notice{padding:13px;border-radius:9px;background:#edf8ef;color:#21673b}
.bd-review-errors{padding:12px;border-radius:9px;background:#fff0ef;color:#a02a23}
.bd-review-errors p{margin:4px 0}


/* Original migrated additional business information */
.bd-extra-details{margin-top:22px}
.bd-extra-item{padding:15px 0;border-top:1px solid #e5edf5}
.bd-extra-item h3{font-size:16px;font-weight:750;margin:0 0 8px;color:#183b65}
.bd-extra-item p{margin:0;line-height:1.75;overflow-wrap:anywhere}
.bd-extra-item a{color:#1765db;font-weight:700;text-decoration:underline}


/* Screenshot-style accessible business review form */
.bd-review-form{gap:16px}
.bd-review-form textarea{min-height:205px;resize:vertical}
.bd-review-form input:not([type="hidden"]):not([type="radio"]),
.bd-review-form textarea{border:1px solid #d0d0df;border-radius:9px;padding:13px 17px;font-size:16px;line-height:1.5}
.bd-review-form input::placeholder,.bd-review-form textarea::placeholder{color:#9491a5;opacity:1}
.bd-review-form input:focus-visible,.bd-review-form textarea:focus-visible{outline:2px solid #1765db;outline-offset:2px}
.bd-review-sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.bd-star-rating{display:flex;align-items:center;flex-wrap:wrap;gap:8px;min-width:0;margin:0;padding:15px 17px;border:1px solid #d0d0df;border-radius:9px}
.bd-star-options{display:flex;flex-direction:row-reverse;justify-content:flex-end;align-items:center}
.bd-star-options input{position:absolute;opacity:0;width:1px;height:1px}
.bd-star-options label{font-size:25px;line-height:1;color:#a9a9a9;cursor:pointer;font-weight:400;transition:color .15s ease}
.bd-star-options label:hover,.bd-star-options label:hover~label,
.bd-star-options input:checked~label{color:#f4b400}
.bd-star-options input:focus-visible+label{outline:2px solid #1765db;outline-offset:2px;border-radius:3px}
.bd-rating-hint{font-size:12px;color:#333;background:#f7f7f9;border:1px solid #e5e5ea;border-radius:5px;padding:5px 9px}
@media(max-width:520px){.bd-star-rating{padding:13px 12px}.bd-star-options label{font-size:23px}.bd-review-form textarea{min-height:180px}}


/* GeoDirectory-inspired business location map */
.bd-map{overflow:visible}
.bd-map-details{margin:0 0 16px}
.bd-map-details strong{display:block;color:#152c4c;font-size:17px}
.bd-map-details p{margin:6px 0 0;color:#65758c;font-size:14px;line-height:1.6}
.bd-map-frame{overflow:hidden;border:1px solid #e0e7f0;border-radius:13px;background:#edf2f8}
.bd-map .bd-map-frame iframe{display:block;width:100%;height:390px;border:0;border-radius:0}
.bd-map-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:16px}
.bd-map-directions{display:inline-flex;align-items:center;justify-content:center;padding:12px 18px;border-radius:9px;background:#1765db;color:#fff!important;font-size:14px;font-weight:700;text-decoration:none}
.bd-map-directions:hover{background:#104eac}
.bd-map-actions .bd-map-link{margin-top:0}
@media(max-width:767px){.bd-map .bd-map-frame iframe{height:300px}.bd-map-actions{align-items:stretch}.bd-map-directions{flex:1}}


/* Business location overlay - preserves original Google Maps iframe */
.bd-map-popup-frame{position:relative;isolation:isolate}
.bd-map-info{
 position:absolute;
 top:12px;
 left:12px;
 z-index:2;
 width:min(290px,calc(100% - 24px));
 max-height:calc(100% - 24px);
 overflow:auto;
 background:#fff;
 border:1px solid #dce5f1;
 border-radius:11px;
 box-shadow:0 5px 22px rgba(15,35,65,.18);
 font-size:13px
}
.bd-map-info summary{
 display:flex;
 align-items:center;
 gap:7px;
 padding:11px 12px;
 cursor:pointer;
 list-style:none
}
.bd-map-info summary::-webkit-details-marker{display:none}
.bd-map-info-pin{flex:none;font-size:17px}
.bd-map-info-title{flex:1;min-width:0;font-weight:800;color:#18345b;line-height:1.4}
.bd-map-info-toggle{font-size:11px;color:#1765db;font-weight:700}
.bd-map-info-body{padding:0 12px 12px}
.bd-map-info-body p{margin:2px 0 9px;color:#566b84;line-height:1.5;overflow-wrap:anywhere}
.bd-map-info-body a{color:#1765db;font-weight:800;text-decoration:none}
.bd-map-info-body a:hover{text-decoration:underline}
@media(max-width:520px){
 .bd-map-info{top:8px;left:8px;width:min(245px,calc(100% - 16px))}
 .bd-map-info summary{padding:9px}
 .bd-map-info-body{padding:0 9px 10px}
}


/* OpenStreetMap business marker */
.bd-osm-frame{position:relative}
.bd-osm-interactive{position:relative;width:100%;height:390px;background:#e8eef5;z-index:1}
.bd-osm-loading{display:grid;place-items:center;height:100%;color:#61728b;font-size:14px}
.bd-osm-fallback{display:none!important}
.bd-osm-failed .bd-osm-interactive{display:none}
.bd-osm-failed .bd-osm-fallback{display:block!important}
.bd-osm-interactive .leaflet-popup-content{line-height:1.5;min-width:170px}
.bd-osm-interactive .leaflet-tooltip{white-space:normal;max-width:260px}
.bd-osm-marker{background:transparent;border:0}
.bd-osm-marker-pin{display:block;width:28px;height:28px;background:#e32b35;border:3px solid #fff;border-radius:50% 50% 50% 0;transform:rotate(-45deg);box-shadow:0 2px 9px rgba(0,0,0,.35)}
.bd-osm-marker-pin:after{content:"";position:absolute;top:7px;left:7px;width:8px;height:8px;background:#fff;border-radius:50%}
.bd-osm-popup-name{display:block;font-weight:800;color:#193557;margin-bottom:5px}
.bd-osm-popup-address{color:#596a80;margin-bottom:8px}
.bd-osm-popup-link{color:#1765db;font-weight:800}
.bd-osm-frame.bd-osm-fullscreen{position:fixed!important;inset:12px!important;z-index:99999!important;border-radius:12px!important;box-shadow:0 0 0 100vmax rgba(0,0,0,.75)}
.bd-osm-fullscreen .bd-osm-interactive{height:100%!important}
body.bd-osm-fullscreen-active{overflow:hidden}
@media(max-width:767px){.bd-osm-interactive{height:300px}}


/* STEP 101F: Related listing card design */
.bd-related-item{padding:0 0 16px;gap:10px;background:#fff;overflow:hidden;border-radius:13px}
.bd-related-image-link{display:block;text-decoration:none}
.bd-related-image{width:100%;height:210px;object-fit:contain;border-radius:0;background:#fff}
.bd-related-image-placeholder{min-height:210px;border-radius:0}
.bd-related-title{display:block;padding:0 14px;color:#142744;font-size:16px;font-weight:800;line-height:1.45;text-decoration:none;overflow-wrap:anywhere}
.bd-related-title:hover{color:#1765db}
.bd-related-toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 14px}
.bd-related-social{display:flex;align-items:center;gap:7px}
.bd-related-social a{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:5px;background:#91aebd;color:#fff;text-decoration:none;font-size:16px;font-weight:800}
.bd-related-social .bd-related-facebook{background:#1877f2}
.bd-related-favorite-form{margin:0}
.bd-related-favorite{display:inline-flex;align-items:center;gap:4px;font-size:12px;color:#1765db;white-space:nowrap;background:transparent;border:0;padding:5px 3px;cursor:pointer;text-decoration:none;font-family:inherit;font-weight:700}
.bd-related-favorite:hover{color:#104eac;text-decoration:underline}
.bd-related-favorite.is-saved{color:#d13c65}
.bd-related-favorite:focus-visible{outline:2px solid #1765db;outline-offset:3px}
.bd-related-rating{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:0 14px;color:#1973d0;font-size:12px}
.bd-related-stars{color:#f4b400;font-size:18px;letter-spacing:-2px}
.bd-related-stars-empty{color:#9ba5b3}
.bd-related-address{padding:0 14px;color:#697b95;font-size:12px;line-height:1.5}
.bd-related-item .bd-related-excerpt{padding:0 14px;margin:0;color:#52617a;font-size:12px;line-height:1.6;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.bd-related-item .bd-related-more{display:inline-flex;align-self:flex-start;align-items:center;justify-content:center;margin:4px 14px 0;padding:10px 15px;border-radius:6px;background:#1765db;color:#fff;font-size:12px;font-weight:750;text-decoration:none}
.bd-related-item .bd-related-more:hover{background:#104eac}

/* STEP 103Q: GeoDirectory-style expandable opening hours */
.bd-opening-widget{
    width:100%;
    border:1px solid #dfe7f2;
    border-radius:9px;
    background:#fff;
    overflow:hidden;
}
.bd-opening-summary{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:13px 15px;
    cursor:pointer;
    color:#28425f;
    font-size:14px;
    font-weight:750;
    list-style:none;
}
.bd-opening-summary::-webkit-details-marker{display:none}
.bd-opening-summary::marker{content:""}
.bd-opening-summary:hover{background:#f5f8fc}
.bd-opening-summary:focus-visible{
    outline:2px solid #1765db;
    outline-offset:-3px;
}
.bd-opening-summary-label{
    display:inline-flex;
    align-items:center;
    gap:9px;
}
.bd-opening-chevron{
    font-size:20px;
    line-height:1;
    color:#778397;
    transition:transform .2s ease;
}
.bd-opening-widget[open] .bd-opening-chevron{
    transform:rotate(180deg);
}
.bd-opening-days{
    list-style:none;
    margin:0;
    padding:0 15px 8px;
    border-top:1px solid #edf1f7;
}
.bd-opening-days li{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:12px;
    padding:10px 0;
    border-bottom:1px solid #edf1f7;
    font-size:13px;
    line-height:1.5;
}
.bd-opening-days li:last-child{border-bottom:0}
.bd-opening-day{font-weight:700;color:#34445e}
.bd-opening-time{color:#52617a;text-align:right}
.bd-related-hours .bd-opening-widget-small{
    border-radius:7px;
    background:#f8fafd;
}
.bd-opening-widget-small .bd-opening-summary{
    padding:10px 11px;
    font-size:12px;
}
.bd-opening-widget-small .bd-opening-days{
    padding:0 10px 5px;
}
.bd-opening-widget-small .bd-opening-days li{
    gap:7px;
    padding:7px 0;
    font-size:11px;
}
@media(max-width:420px){
    .bd-opening-days li{gap:8px}
    .bd-opening-time{font-size:12px}
}

/* STEP 102D: Related business hours */
.bd-related-hours{display:flex;align-items:flex-start;gap:7px;padding:0 14px;color:#52617a;font-size:12px;line-height:1.55;overflow-wrap:anywhere}
.bd-related-hours strong{color:#34445e;font-weight:750}

/* STEP 103W: Main business favorite action */
.bd-main-favorite{display:flex;align-items:center;flex-shrink:0}
.bd-main-favorite form{margin:0}
.bd-main-favorite-button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    min-height:42px;
    padding:10px 17px;
    border:1px solid #d4deec;
    border-radius:9px;
    background:#fff;
    color:#294666;
    font:inherit;
    font-size:14px;
    font-weight:750;
    line-height:1.3;
    text-decoration:none;
    cursor:pointer;
    transition:background .15s ease,border-color .15s ease;
}
.bd-main-favorite-button:hover{
    background:#f0f5fc;
    border-color:#b9cbe3;
}
.bd-main-favorite-button.is-saved{
    background:#fff0f3;
    border-color:#efb6c3;
    color:#ba294c;
}
.bd-main-favorite-button:focus-visible{
    outline:2px solid #1765db;
    outline-offset:3px;
}
@media(max-width:600px){
    .bd-main-favorite{width:100%}
    .bd-main-favorite form,
    .bd-main-favorite-button{width:100%}
}

/* STEP 104A: GeoDirectory-style status and popup */
.bd-hours-status{display:inline-flex;align-items:center;gap:6px}
.bd-hours-status::before{
    content:"";display:inline-block;width:8px;height:8px;
    border-radius:50%;background:#8794a6;flex-shrink:0
}
.bd-hours-status-open{color:#16834b}
.bd-hours-status-open::before{background:#19a35c}
.bd-hours-status-closed{color:#cf3548}
.bd-hours-status-closed::before{background:#e04455}
.bd-hours-status-unknown{color:#53647c}
.bd-opening-widget{position:relative;overflow:visible}
.bd-opening-widget[open] .bd-opening-days{
    position:absolute;z-index:30;top:100%;left:0;
    width:100%;box-sizing:border-box;
    background:#fff;border:1px solid #dfe7f2;
    border-radius:0 0 9px 9px;
    box-shadow:0 12px 28px rgba(25,45,75,.16);
    max-height:340px;overflow-y:auto
}
.bd-related-hours{position:relative}
.bd-opening-widget-small[open] .bd-opening-days{
    min-width:220px
}
@media(max-width:600px){
    .bd-opening-widget-small[open] .bd-opening-days{
        min-width:0;width:100%
    }
}

/* STEP 104C: Prevent related hours popup clipping */
.bd-related-item:has(.bd-opening-widget[open]){
    overflow:visible;
    position:relative;
    z-index:40;
}
.bd-related-item .bd-opening-widget[open]{
    z-index:41;
}
.bd-related-item .bd-opening-widget[open] .bd-opening-days{
    z-index:42;
}


/* STEP 105E: Floating opening-hours popup */
.bd-opening-widget {
    position: relative;
    overflow: visible;
}

.bd-opening-widget > .bd-opening-days {
    display: none;
    position: absolute;
    z-index: 100;
    top: calc(100% + 7px);
    left: 0;
    width: min(340px, 85vw);
    max-height: min(420px, 65vh);
    overflow-y: auto;
    padding: 8px 15px;
    margin: 0;
    background: #fff;
    border: 1px solid #d9e3f0;
    border-radius: 10px;
    box-shadow: 0 14px 38px rgba(20, 40, 75, .2);
}

.bd-opening-widget[open] > .bd-opening-days {
    display: block;
}

.bd-opening-widget-small > .bd-opening-days {
    width: min(320px, 85vw);
    padding: 8px 12px;
}

.bd-opening-widget .bd-opening-days li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
}

.bd-opening-widget .bd-opening-days li:last-child {
    border-bottom: 0;
}

@media (max-width: 600px) {
    .bd-opening-widget > .bd-opening-days {
        width: min(310px, 85vw);
    }
}


/* STEP 105G: Opening hours modal */
.bd-hours-modal {
    position: fixed;
    inset: 0;
    box-sizing: border-box;
    width: min(430px, calc(100vw - 32px));
    max-width: 430px;
    max-height: min(650px, calc(100vh - 40px));
    margin: auto;
    padding: 0;
    overflow: hidden;
    border: 1px solid #dfe7f2;
    border-radius: 16px;
    background: #fff;
    color: #24364e;
    box-shadow: 0 24px 75px rgba(0,0,0,.25);
    z-index: 999999;
}
.bd-hours-modal::backdrop {
    background: rgba(14,25,45,.55);
}
.bd-hours-modal-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    border-bottom: 1px solid #e6edf5;
    font-size: 18px;
}
.bd-hours-modal-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 8px;
    background: #f1f5f9;
    color: #24364e;
    cursor: pointer;
    font-size: 26px;
    line-height: 1;
}
.bd-hours-modal-content {
    max-height: calc(100vh - 155px);
    overflow-y: auto;
}
.bd-hours-modal-content > .bd-opening-days {
    display: block !important;
    position: static !important;
    width: auto !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 8px 20px 16px !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: #fff !important;
}
.bd-hours-modal-content .bd-opening-days li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid #edf1f7;
    font-size: 14px;
}
.bd-hours-modal-content .bd-opening-days li:last-child {
    border-bottom: 0;
}
.bd-hours-modal-content .bd-opening-day {
    font-weight: 700;
}
.bd-hours-modal-content .bd-opening-time {
    text-align: right;
}


/* STEP 105H: Anchored opening hours popup */
.bd-opening-chevron {
    display: none !important;
}
.bd-hours-anchored-popup[hidden] {
    display: none !important;
}
.bd-hours-anchored-popup {
    position: fixed;
    z-index: 999999;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    max-width: calc(100vw - 24px);
    overflow: hidden;
    background: #fff;
    border: 1px solid #dbe5f0;
    border-radius: 12px;
    box-shadow: 0 14px 38px rgba(20,40,75,.22);
    color: #24364e;
}
.bd-hours-popup-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 15px;
    border-bottom: 1px solid #e8edf5;
    flex-shrink: 0;
}
.bd-hours-popup-close {
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 6px;
    background: #f1f5f9;
    color: #24364e;
    cursor: pointer;
    font-size: 23px;
    line-height: 1;
}
.bd-hours-popup-content {
    overflow-y: auto;
    min-height: 0;
}
.bd-hours-popup-content > .bd-opening-days {
    display: block !important;
    position: static !important;
    width: auto !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 5px 15px 10px !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: #fff !important;
}
.bd-hours-popup-content .bd-opening-days li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px solid #edf1f7;
    font-size: 13px;
}
.bd-hours-popup-content .bd-opening-days li:last-child {
    border-bottom: 0;
}



/* STEP 110B: Premium detail design and ad-safe gutters */

/* Desktop side-ad reservation: 120px on each side */
@media (min-width: 1200px) {
    .business-detail-page {
        padding-left: 120px;
        padding-right: 120px;
        box-sizing: border-box;
    }

    .business-detail-page .business-detail-container {
        width: 100%;
        max-width: 1440px;
        margin-left: auto;
        margin-right: auto;
        padding-left: 0;
        padding-right: 0;
        box-sizing: border-box;
    }
}

/* Premium page background */
.business-detail-page {
    background:
        radial-gradient(ellipse at 8% 0%, rgba(59,130,246,.075), transparent 36%),
        radial-gradient(ellipse at 95% 20%, rgba(14,165,233,.045), transparent 38%),
        #f5f7fc;
    color: #172b49;
}

/* Better content proportions */
.business-detail-page .bd-layout {
    grid-template-columns: minmax(0, 1.8fr) minmax(260px, 1fr);
    gap: 26px;
}

.business-detail-page .bd-main,
.business-detail-page .bd-sidebar {
    min-width: 0;
    gap: 24px;
}

/* Premium business heading */
.business-detail-page .bd-heading {
    padding: 27px 30px;
    margin-bottom: 25px;
    background: linear-gradient(125deg, #ffffff 0%, #f7faff 100%);
    border: 1px solid #e1e9f5;
    border-radius: 20px;
    box-shadow: 0 10px 32px rgba(25,49,88,.055);
}

.business-detail-page .bd-eyebrow {
    color: #2563eb;
    font-size: 11px;
    letter-spacing: 2.2px;
}

.business-detail-page .bd-heading h1 {
    color: #102545;
    letter-spacing: -.9px;
    overflow-wrap: anywhere;
}

.business-detail-page .bd-pill {
    background: #eaf2ff;
    color: #1757ad;
    border: 1px solid #d8e7ff;
}

/* Premium card system */
.business-detail-page .bd-card {
    min-width: 0;
    background: #fff;
    border: 1px solid #e0e8f3;
    border-radius: 19px;
    box-shadow:
        0 3px 8px rgba(20,42,78,.025),
        0 12px 34px rgba(20,42,78,.055);
    transition: box-shadow .22s ease, border-color .22s ease;
}

.business-detail-page .bd-card:hover {
    border-color: #d0def0;
    box-shadow:
        0 5px 12px rgba(20,42,78,.035),
        0 17px 40px rgba(20,42,78,.075);
}

/* Image gallery */
.business-detail-page .bd-gallery {
    padding: 12px;
    overflow: hidden;
}

.business-detail-page .bd-hero-link,
.business-detail-page .bd-image-placeholder {
    background: linear-gradient(145deg, #f1f5fb, #eaf1fa);
    border-radius: 14px;
}

.business-detail-page .bd-gallery-thumbs a {
    border-radius: 11px;
    border-color: #dfe8f4;
}

/* Section headings */
.business-detail-page .bd-section-heading h2 {
    color: #152d50;
    font-weight: 800;
    letter-spacing: -.35px;
}

.business-detail-page .bd-section-icon {
    background: linear-gradient(145deg, #eaf3ff, #dceaff);
    border: 1px solid #d4e5ff;
    border-radius: 12px;
}

/* Better text readability */
.business-detail-page .bd-summary {
    color: #344b69;
    line-height: 1.8;
}

.business-detail-page .bd-description {
    color: #485d77;
    line-height: 1.85;
}

.business-detail-page .bd-info-item p,
.business-detail-page .bd-extra-item {
    overflow-wrap: anywhere;
}

/* Refined contact and action buttons */
.business-detail-page .bd-primary-button,
.business-detail-page .bd-related-more {
    background: linear-gradient(120deg, #2563eb, #1555c8);
    color: #fff;
    border-radius: 11px;
    box-shadow: 0 5px 13px rgba(37,99,235,.14);
}

.business-detail-page .bd-primary-button:hover,
.business-detail-page .bd-related-more:hover {
    background: #174fb3;
    color: #fff;
}

.business-detail-page .bd-secondary-button {
    border-radius: 11px;
    border-color: #bfd5f6;
}

/* Premium contact panel */
.business-detail-page .bd-contact {
    border-top: 3px solid #3478e9;
}

.business-detail-page .bd-info-icon {
    background: #edf4ff;
    border: 1px solid #e1ebfa;
    border-radius: 11px;
}

/* Related businesses */
.business-detail-page .bd-related-item {
    border-radius: 15px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e1e8f2;
}

.business-detail-page .bd-related-item:hover {
    border-color: #bfd4f3;
    box-shadow: 0 13px 30px rgba(19,48,93,.10);
}

.business-detail-page .bd-related-grid {
    gap: 18px;
}

/* Keyboard accessibility */
.business-detail-page a:focus-visible,
.business-detail-page button:focus-visible,
.business-detail-page summary:focus-visible {
    outline: 3px solid #60a5fa;
    outline-offset: 3px;
}

/* Responsive tablet layout */
@media (max-width: 1199px) {
    .business-detail-page {
        padding-left: 20px;
        padding-right: 20px;
    }

    .business-detail-page .business-detail-container {
        width: 100%;
        box-sizing: border-box;
    }
}

@media (max-width: 850px) {
    .business-detail-page .bd-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .business-detail-page .bd-sidebar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Mobile */
@media (max-width: 600px) {
    .business-detail-page {
        padding-left: 14px;
        padding-right: 14px;
    }

    .business-detail-page .bd-heading {
        padding: 21px 18px;
        border-radius: 15px;
    }

    .business-detail-page .bd-layout,
    .business-detail-page .bd-main,
    .business-detail-page .bd-sidebar {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .business-detail-page .bd-card {
        border-radius: 15px;
        padding: 19px;
    }

    .business-detail-page .bd-gallery {
        padding: 9px;
    }

    .business-detail-page .bd-related-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .business-detail-page .bd-heading h1 {
        font-size: 27px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .business-detail-page .bd-card {
        transition: none;
    }
}
