/* YangonDirectory business detail layout. Scoped to the Default theme widget. */
.yd-business-detail {
    background: #eef7fc;
    color: #193b6d;
    font-size: 14px;
    line-height: 1.48;
    padding: 12px 0 34px;
}
.yd-business-detail * { box-sizing: border-box; }
.yd-detail-shell { max-width: 1220px; margin: 0 auto; padding: 0 18px; }
.yd-breadcrumb { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; margin: 0 0 10px; color: #426792; font-size: 12px; }
.yd-breadcrumb a { color: #1963b3; text-decoration: none; }
.yd-breadcrumb a:hover { text-decoration: underline; }
.yd-detail-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(265px, 3fr); gap: 12px; align-items: start; }
.yd-detail-main, .yd-detail-sidebar { min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.yd-card { background: #fff; border: 1px solid #dfebf4; border-radius: 5px; box-shadow: 0 1px 2px rgba(20, 55, 100, .035); }
.yd-business-card { display: grid; grid-template-columns: 128px minmax(0, 1fr) auto; align-items: start; gap: 16px; padding: 16px; }
.yd-business-logo { width: 128px; height: 128px; display: flex; align-items: center; justify-content: center; overflow: hidden; border-radius: 4px; background: #e8f2fb; }
.yd-business-logo img { width: 100%; height: 100%; object-fit: contain; }
.yd-logo-initial { font-size: 52px; font-weight: 700; color: #0b4188; }
.yd-business-intro { min-width: 0; }
.yd-business-meta { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; margin-bottom: 5px; font-size: 11px; }
.yd-badge { padding: 3px 7px; border-radius: 3px; background: #1765d0; color: #fff; font-weight: 700; }
.yd-years { color: #13713c; font-weight: 600; }
.yd-business-card h1 { margin: 0 0 3px; color: #082b6f; font-size: clamp(20px, 2.1vw, 29px); line-height: 1.18; font-weight: 750; overflow-wrap: anywhere; }
.yd-business-categories { color: #426792; font-size: 12px; }
.yd-business-categories a { color: #426792; text-decoration: none; }
.yd-business-categories a:hover { text-decoration: underline; }
.yd-tagline { margin: 5px 0 6px; color: #48617d; font-size: 12px; }
.yd-rating { display: inline-flex; gap: 7px; align-items: center; margin: 1px 0 6px; color: #194d91; text-decoration: none; font-size: 12px; }
.yd-stars { color: #f6b90d; white-space: nowrap; }
.yd-business-contact { display: grid; gap: 3px; }
.yd-business-contact a { display: flex; gap: 8px; align-items: baseline; color: #174f9f; text-decoration: none; overflow-wrap: anywhere; font-size: 12px; }
.yd-business-contact a:hover { text-decoration: underline; }
.yd-business-contact .fa { flex: 0 0 13px; }
.yd-business-totals { align-self: stretch; min-width: 88px; padding-left: 12px; border-left: 1px solid #e3ecf4; display: flex; align-items: center; }
.yd-business-totals a { display: flex; flex-direction: column; align-items: center; gap: 1px; color: #1558af; text-decoration: none; text-align: center; font-size: 11px; }
.yd-business-totals .fa { color: #e61c35; font-size: 21px; }
.yd-business-totals strong { color: #082b6f; font-size: 20px; line-height: 1; }
.yd-section { padding: 12px 16px 15px; }
.yd-section h2, .yd-side-card h2 { display: flex; align-items: center; gap: 9px; margin: 0 0 9px; color: #0b3177; font-size: 17px; line-height: 1.25; font-weight: 700; }
.yd-section h2 .fa, .yd-side-card h2 .fa { flex: 0 0 19px; text-align: center; font-size: 18px; }
.yd-section-head { display: flex; gap: 10px; align-items: baseline; justify-content: space-between; }
.yd-section-head a { color: #2066b5; text-decoration: none; white-space: nowrap; font-size: 12px; }
.yd-section-head a:hover { text-decoration: underline; }
.yd-prose { color: #3d526c; font-size: 13px; white-space: pre-line; overflow-wrap: anywhere; }
.yd-product-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px 20px; padding: 0; margin: 0; list-style: none; }
.yd-product-list li { display: flex; gap: 9px; min-width: 0; color: #354f75; }
.yd-product-list .fa { color: #0c5cae; margin-top: 3px; }
.yd-video-frame { width: min(100%, 630px); aspect-ratio: 16 / 9; background: #0e2547; }
.yd-video-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.yd-gallery-list { display: flex; gap: 7px; overflow-x: auto; padding-bottom: 4px; scroll-snap-type: x proximity; }
.yd-gallery-item { flex: 0 0 20%; min-width: 115px; aspect-ratio: 4 / 3; overflow: hidden; border: 1px solid #dce7f2; border-radius: 3px; scroll-snap-align: start; }
.yd-gallery-item img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; }
.yd-deals-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.yd-deal-card { display: flex; gap: 9px; min-width: 0; padding: 7px; border: 1px solid #dce8f3; border-radius: 4px; color: #174b8c; text-decoration: none; }
.yd-deal-card:hover { border-color: #2b70ba; }
.yd-deal-card img { flex: 0 0 72px; width: 72px; height: 72px; object-fit: cover; border-radius: 2px; }
.yd-deal-copy { display: flex; flex-direction: column; min-width: 0; gap: 3px; overflow-wrap: anywhere; }
.yd-deal-copy small { color: #576c84; font-size: 11px; }
.yd-deal-price { align-self: flex-end; margin-left: auto; color: #dc3b2d; white-space: nowrap; font-size: 11px; font-weight: 700; }
.yd-address { margin: 0 0 7px; color: #354f75; }
.yd-small-cta { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 3px; background: #ffd632; color: #12294e; text-decoration: none; font-weight: 700; }
.yd-map { height: 250px; margin-top: 11px; border: 1px solid #dce8f3; border-radius: 3px; }
.yd-branch-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.yd-branch { display: flex; flex-direction: column; gap: 5px; padding: 10px; border: 1px solid #dce8f3; border-radius: 4px; min-width: 0; }
.yd-branch strong { color: #0b3678; }
.yd-branch span, .yd-branch a { color: #49617e; overflow-wrap: anywhere; }
.yd-branch .fa { color: #0c5cae; margin-right: 7px; }
.yd-review-summary { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin-bottom: 8px; }
.yd-review-summary strong { font-size: 23px; line-height: 1; color: #083374; }
.yd-review { padding: 9px 0; border-top: 1px solid #e4ecf4; color: #415a79; }
.yd-review > div:first-child { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.yd-review time { color: #71849a; font-size: 11px; }
.yd-review p { margin: 3px 0 0; }
.yd-side-card { padding: 13px 14px; }
.yd-side-card h2 { font-size: 16px; }
.yd-actions { display: grid; gap: 6px; }
.yd-action { display: flex; justify-content: center; align-items: center; gap: 9px; min-height: 35px; padding: 6px 10px; border: 1px solid #b8cde4; border-radius: 3px; color: #143c79; text-decoration: none; text-align: center; font-weight: 700; }
.yd-action:hover { background: #f0f7fd; text-decoration: none; }
.yd-action-primary { border-color: #f4c400; background: #ffd529; color: #17294b; }
.yd-action-primary:hover { background: #ffdf55; }
.yd-share-action { border: 1px solid #b8cde4; border-radius: 3px; text-align: center; }
.yd-share-action .share-icon { width: 100%; min-height: 34px; display: flex; justify-content: center; align-items: center; gap: 7px; color: #143c79; font-size: 13px; font-weight: 700; cursor: pointer; }
.yd-highlight { display: flex; align-items: center; gap: 10px; padding: 7px 0; margin: 0; border-top: 1px solid #edf2f7; color: #3f587a; }
.yd-highlight .fa { color: #0f69b8; font-size: 20px; }
.yd-stat { display: flex; align-items: baseline; gap: 8px; color: #1558a7; text-decoration: none; }
.yd-stat strong { font-size: 22px; color: #d32237; }
.yd-category-links { margin: 0; padding: 0; list-style: none; }
.yd-category-links li { padding: 4px 0; border-top: 1px solid #edf2f7; }
.yd-category-links a { color: #175da9; text-decoration: none; }
.yd-category-links a::before { content: '›'; margin-right: 9px; font-weight: 700; }
.yd-category-links a:hover { text-decoration: underline; }
.yd-social-links { display: flex; flex-wrap: wrap; gap: 8px; }
.yd-social-links a { width: 35px; height: 35px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: #1764bb; color: #fff; font-size: 18px; }
.yd-brand-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.yd-brand { min-width: 0; min-height: 52px; display: flex; align-items: center; justify-content: center; padding: 5px; border: 1px solid #dce8f3; border-radius: 3px; text-align: center; font-size: 11px; }
.yd-brand img { max-width: 100%; max-height: 48px; object-fit: contain; }
@media (max-width: 960px) {
    .yd-detail-grid { grid-template-columns: minmax(0, 1fr) 260px; }
    .yd-business-card { grid-template-columns: 100px minmax(0, 1fr); }
    .yd-business-logo { width: 100px; height: 100px; }
    .yd-business-totals { grid-column: 2; justify-self: start; border-left: 0; padding-left: 0; }
}
@media (max-width: 760px) {
    .yd-detail-grid { grid-template-columns: minmax(0, 1fr); }
    .yd-detail-sidebar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
}
@media (max-width: 560px) {
    .yd-business-detail { padding-top: 8px; }
    .yd-detail-shell { padding: 0 10px; }
    .yd-business-card { grid-template-columns: 74px minmax(0, 1fr); gap: 10px; padding: 11px; }
    .yd-business-logo { width: 74px; height: 74px; }
    .yd-business-card h1 { font-size: 21px; }
    .yd-business-meta { font-size: 10px; }
    .yd-business-contact a { font-size: 12px; }
    .yd-business-totals { grid-column: 1 / -1; }
    .yd-section { padding: 11px; }
    .yd-section h2 { font-size: 16px; }
    .yd-product-list, .yd-deals-list, .yd-branch-list, .yd-detail-sidebar { grid-template-columns: minmax(0, 1fr); }
    .yd-gallery-item { flex-basis: 42%; }
    .yd-action { min-height: 44px; }
    .yd-deal-card { flex-wrap: wrap; }
}
