/* 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: 100px; 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: 14px; }
.yd-badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 7px; border-radius: 3px; background: #1765d0; color: #fff; font-weight: 700; }
.yd-business-level { display: inline-flex; align-items: center; gap: 5px; max-width: 100%; min-height: 27px; padding: 3px 9px 3px 4px; border: 1.5px solid #e4ae10; border-radius: 999px; background: #fff7da; color: #123a69; font-size: 13px; line-height: 1.1; font-weight: 800; text-transform: capitalize; white-space: nowrap; }
.yd-business-level img { display: block; flex: 0 0 auto; width: 18px; height: 18px; object-fit: contain; }
.yd-business-level--first { min-height: 34px; border-color: #D89000; background: #FCF4DC; color: #D89000; font-size: 16px; }
.yd-business-level--first img { width: 25px; height: 25px; }
.yd-business-level--business { min-height: 31px; border-color: #0060F8; background: #ECF4FC; color: #0060F8; font-size: 15px; }
.yd-business-level--business img { width: 22px; height: 22px; }
.yd-business-level--economy { border-color: #30B050; background: #ECFCF0; color: #30B050; }
.yd-business-level--sponsor { min-height: 34px; border-color: #F06008; background: #FCECE4; color: #F06008; font-size: 16px; }
.yd-business-level--sponsor img { width: 25px; height: 29px; }
.yd-business-sponsor-badge { display: inline-flex; align-items: center; gap: 5px; max-width: 100%; min-height: 31px; padding: 2px 9px 2px 3px; border: 1.5px solid #F06008; border-radius: 999px; background: #FCECE4; color: #F06008; font-size: 14px; line-height: 1.1; font-weight: 800; white-space: nowrap; }
.yd-business-sponsor-badge img { display: block; flex: 0 0 auto; width: 23px; height: 26px; object-fit: contain; }
.yd-business-verified-img { display: block; flex: 0 0 120px; width: 120px; height: auto; max-height: 42px; object-fit: contain; }
.yd-business-updated { color: #002867; font-size: 12px; font-weight: bold; white-space: nowrap; }
.yd-years, .yd-years strong { color: #13713c !important; 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: 14px; }
.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: 14px; }
.yd-rating { display: inline-flex; gap: 7px; align-items: center; margin: 1px 0 6px; color: #194d91; text-decoration: none; font-size: 14px; }
.yd-stars { color: #f6b90d; white-space: nowrap; }
.yd-business-contact { display: grid; gap: 3px; }
.yd-business-contact.phone { display: grid; gap: 3px 10px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.yd-business-contact a { display: flex; gap: 8px; align-items: baseline; color: #174f9f; text-decoration: none; overflow-wrap: anywhere; font-size: 14px; }
.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: 22px; }
.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: 14px; }
.yd-section-head a:hover { text-decoration: underline; }
.yd-prose { color: #3d526c; font-size: 14px; white-space: pre-line; overflow-wrap: anywhere; font-family: "Zawgyi-One"; }
.yd-prose.is-collapsed { max-height: calc(5 * 1.48em); overflow: hidden; }
.yd-about-toggle { margin-top: 4px; padding: 4px 0; border: 0; background: none; color: #1558af; font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; }
.yd-about-toggle[hidden] { display: none; }
.yd-about-toggle:focus-visible { outline: 2px solid #1558af; outline-offset: 2px; }
.yd-detail-banner { overflow: hidden; }
.yd-banner-slides { width: 100%; }
.yd-banner-slide { width: 100%; background: #f0f6fb; }
.yd-banner-slide img { display: block; width: 100%; height: auto; object-fit: contain; object-position: center; }
.yd-detail-banner .flickity-prev-next-button { width: 34px; height: 34px; background: rgba(255, 255, 255, .88); }
.yd-detail-banner .flickity-prev-next-button:hover { background: #fff; }
.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; font-family: "Zawgyi-One"; }
.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-location-layout { display: grid; gap: 14px; min-width: 0; }
.yd-location-layout.has-map { grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); }
.yd-location-info { min-width: 0; align-self: start; }
.yd-address { margin: 0 0 12px; color: #354f75; overflow-wrap: anywhere; }
.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: 200px; min-width: 0; border: 1px solid #dce8f3; border-radius: 3px; }
.yd-hours-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px 20px; margin: 0; }
.yd-hours-list > div { display: flex; gap: 8px; min-width: 0; color: #354f75; }
.yd-hours-list dt { min-width: 82px; font-weight: 700; }
.yd-hours-list dd { margin: 0; overflow-wrap: anywhere; }
.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-branch-phones { display: grid; gap: 3px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.yd-branch-phones a { display: flex; align-items: baseline; gap: 8px; color: #174f9f; text-decoration: none; font-size: 14px; }
.yd-branch-phones a:hover { text-decoration: underline; }
.yd-branch-phones .fa { flex: 0 0 13px; margin-right: 0; }
.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-link { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 13px; padding-top: 12px; border-top: 1px solid #e2ebf4; text-align: center; }
.yd-share-link h3 { margin: 0; color: #0b3177; font-size: 14px; font-weight: 700; }
.yd-share-link img { display: block; width: 123px; height: 123px; max-width: 100%; }
.yd-share-link a { max-width: 100%; color: #175da9; font-size: 12px; overflow-wrap: anywhere; }
.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-highlight strong { color: #0b3177; }
.yd-highlight-verified-icon { display: block; flex: 0 0 20px; width: 20px; height: 20px; object-fit: contain; }
.yd-highlight-verified span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.yd-highlight-verified small { color: #3f587a; font-size: 12px; line-height: 1.3; }
.yd-highlight-quality .fa { color: #f15b2a; }
.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; }
.yd-brand.fancybox:hover, .yd-brand.fancybox:focus-visible { border-color: #2b70ba; outline: 2px solid #2b70ba; outline-offset: 1px; }
.fancybox-image{ background: #fff; }
.details-default > .details-modal .modal-header .modal-picture img{
    width: 100%; height: auto;
}
@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-contact.phone { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .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); column-gap: 10px; row-gap: 3px; padding: 11px; }
    .yd-business-intro { display: contents; }
    .yd-business-logo { grid-column: 1; grid-row: 1; width: 74px; height: 60px; border: 1px solid #0b3177; border-radius: 0; background: #fff; }
    .yd-business-meta { grid-column: 2; grid-row: 1; flex-direction: row; flex-wrap: wrap; align-items: center; align-content: center; justify-content: flex-start; gap: 3px 5px; margin: 0; }
    .yd-business-updated { font-size: 11px; }
    .yd-business-card h1, .yd-business-categories, .yd-tagline, .yd-rating, .yd-business-contact { grid-column: 1 / -1; }
    .yd-business-card h1 { margin: 2px 0 0; font-size: 25px; line-height: 1.08; }
    .yd-business-categories a, .yd-business-contact a { text-decoration: underline; }
    .yd-business-contact.phone { grid-template-columns: minmax(2, minmax(0, 1fr)); }
    .yd-business-contact a { font-size: 14px; }
    .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-hours-list, .yd-detail-sidebar { grid-template-columns: minmax(0, 1fr); }
    .yd-location-layout.has-map { grid-template-columns: minmax(0, 1fr); }
    .yd-map { height: 210px; }
    .yd-gallery-item { flex-basis: 42%; }
    .yd-action { min-height: 44px; }
    .yd-deal-card { flex-wrap: wrap; }
}
