/* FRONTEND-03R1: authorized HomeID-inspired detail exception; existing Myra fonts/icons only. */
.myra-property-detail{--detail-header-offset:100px;padding:28px 0 52px;font-family:'DM Sans',sans-serif;color:var(--appearance-body,var(--myra-charcoal))}
.myra-property-detail .detail-container{max-width:1240px;padding:0 24px;margin:0 auto}
.myra-property-detail .detail-breadcrumb ol{display:flex;flex-wrap:wrap;gap:8px;list-style:none;padding:0;margin:0 0 24px;font-size:13px}
.myra-property-detail .detail-breadcrumb li+li:before{content:'/';padding-right:8px;color:var(--appearance-muted,#696969)}
.myra-property-detail .detail-gallery{display:grid;grid-template-columns:2fr 1fr 1fr;grid-template-rows:repeat(2,minmax(0,1fr));gap:8px;height:clamp(280px,38vw,500px);margin:0 16px 40px;position:relative;overflow:hidden;border-radius:4px}
.myra-property-detail .detail-photo{display:block;position:relative;min-width:0;min-height:0;overflow:hidden}
.myra-property-detail .detail-photo[hidden]{display:none}
.myra-property-detail .detail-photo img{display:block;width:100%;height:100%;object-fit:cover}
.myra-property-detail .detail-photo:first-child{grid-row:1 / span 2}
.myra-property-detail .photos-1{grid-template-columns:1fr;grid-template-rows:1fr;height:clamp(260px,40vw,500px)}
.myra-property-detail .photos-2{grid-template-columns:2fr 1fr;grid-template-rows:1fr;height:clamp(260px,34vw,440px)}
.myra-property-detail .photos-1 .detail-photo:first-child,.myra-property-detail .photos-2 .detail-photo:first-child{grid-row:auto}
.myra-property-detail .photos-3{grid-template-columns:2fr 1fr}
.myra-property-detail .photos-4{grid-template-columns:2fr 1fr;grid-template-rows:repeat(3,minmax(0,1fr))}
.myra-property-detail .photos-4 .detail-photo:first-child{grid-row:1 / span 3}
.myra-property-detail .detail-gallery-button{position:absolute;bottom:16px;right:16px;border:1px solid var(--appearance-secondary-border,#E6E9EC);background:var(--appearance-secondary-bg,#fff);color:var(--appearance-secondary-text,var(--myra-charcoal));border-radius:3px;padding:10px 16px;font-size:13px;font-weight:500}
.myra-property-detail .detail-gallery-button .fa{margin-right:8px}
.myra-property-detail .detail-photo-more{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:rgba(var(--appearance-overlay-rgb,15,15,20),.55);color:var(--appearance-cta-text,#fff);font-size:20px;font-weight:700}
.myra-property-detail .detail-body{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:48px;align-items:stretch}
.myra-property-detail .detail-main,.myra-property-detail .detail-sidebar{min-width:0}
.myra-property-detail .detail-heading{display:flex;gap:24px;justify-content:space-between;align-items:flex-start;margin:0 0 30px}
.myra-property-detail .detail-heading>div{min-width:0;flex:1}
.myra-property-detail .detail-title{font-size:32px;line-height:1.25;margin:14px 0 16px;font-weight:700}
.myra-property-detail .detail-badges{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.myra-property-detail .detail-badges>span{font-size:11px;text-transform:uppercase;font-weight:700;background:var(--appearance-accent,var(--myra-gold));color:var(--appearance-body,var(--myra-charcoal));padding:4px 9px;border-radius:2px}
.myra-property-detail .detail-badges>.detail-availability{background:none;padding-left:0;color:var(--appearance-muted,#696969);text-transform:none;font-size:13px;font-weight:400}
.myra-property-detail .detail-location{font-size:14px;color:var(--appearance-muted,#696969);margin:0}
.myra-property-detail .detail-location .fa{margin-right:7px}
.myra-property-detail .detail-price{font-size:23px;line-height:1.35;font-weight:700;margin:45px 0 0;max-width:220px;text-align:right}
.myra-property-detail .detail-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px 18px;margin:0 0 32px}
.myra-property-detail .detail-facts>div{display:flex;align-items:center;gap:12px;min-width:0}
.myra-property-detail .detail-fact-icon{display:flex;align-items:center;justify-content:center;width:46px;height:46px;flex-shrink:0;border:1px solid var(--appearance-border,#E6E9EC);border-radius:3px;background:var(--appearance-surface,#fff);color:var(--appearance-accent,var(--myra-gold));font-size:24px}
.myra-property-detail .detail-facts dt{font-size:11px;text-transform:uppercase;letter-spacing:.6px;font-weight:400;line-height:1.4;margin:0 0 5px}
.myra-property-detail .detail-facts dd{font-size:14px;font-weight:600;line-height:1.4;margin:0}
.myra-property-detail .detail-section{padding:32px 0;border-top:1px solid var(--appearance-border,#E6E9EC)}
.myra-property-detail .detail-section h2{font-size:23px;line-height:1.35;margin:0 0 20px;font-weight:500}
.myra-property-detail .detail-section p{font-size:15px;line-height:1.9;color:var(--appearance-muted,#696969);margin:0 0 18px}
.myra-property-detail .detail-section h3{font-size:16px;margin:24px 0 16px;font-weight:600}
.myra-property-detail .detail-rows{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 30px;margin:0}
.myra-property-detail .detail-rows>div{display:grid;grid-template-columns:minmax(90px, .8fr) minmax(0,1fr);gap:12px;font-size:14px;line-height:1.6}
.myra-property-detail .detail-rows dt{font-weight:500;margin:0}
.myra-property-detail .detail-rows dd{color:var(--appearance-muted,#696969);margin:0}
.myra-property-detail .detail-amenities{list-style:none;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 20px;margin:0}
.myra-property-detail .detail-amenities li{font-size:14px;line-height:1.7;color:var(--appearance-muted,#696969)}
.myra-property-detail .detail-amenities .fa{color:var(--appearance-accent,var(--myra-gold));margin-right:8px}
.myra-property-detail .detail-contact-card{position:sticky;top:var(--detail-header-offset);max-height:calc(100vh - var(--detail-header-offset) - 20px);max-height:calc(100dvh - var(--detail-header-offset) - 20px);overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding:24px;background:var(--appearance-surface,#fff);border:1px solid var(--appearance-border,#E6E9EC);border-radius:3px;box-shadow:0 10px 30px rgba(13,38,59,.05)}
.myra-property-detail .detail-contact-title{font-size:19px;margin:0 0 20px;font-weight:600}
.myra-property-detail .detail-contact-tabs{display:flex;gap:0;margin:0 0 24px;border-bottom:1px solid var(--appearance-border,#E6E9EC)}
.myra-property-detail .detail-contact-tab{flex:1;border:0;border-bottom:2px solid transparent;background:var(--appearance-alternate,#F6F8F9);font-size:13px;line-height:1.5;padding:12px 8px;color:var(--appearance-body,var(--myra-charcoal));border-radius:0}
.myra-property-detail .detail-contact-tab.active{background:var(--appearance-surface,#fff);border-bottom-color:var(--appearance-accent,var(--myra-gold));font-weight:600}
.myra-property-detail .detail-contact-form p,.myra-property-detail .detail-contact-card>p{font-size:12px;line-height:1.7;color:var(--appearance-muted,#696969);margin:0 0 16px}
.myra-property-detail .detail-contact-form .detail-preference-note{font-size:14px;font-weight:600;color:var(--appearance-body,var(--myra-charcoal))}
.myra-property-detail .detail-contact-form label{display:block;font-size:13px;font-weight:500;line-height:1.5;margin:0 0 7px}
.myra-property-detail .detail-field{margin:0 0 18px}
.myra-property-detail .detail-contact-form input:not([type=checkbox]):not([type=hidden]),.myra-property-detail .detail-contact-form textarea{display:block;box-sizing:border-box;min-width:0;width:100%;border:1px solid var(--appearance-border,#E6E9EC);background:var(--appearance-alternate,#F6F8F9);padding:12px;font-size:14px;line-height:1.6;border-radius:2px;color:var(--appearance-body,var(--myra-charcoal))}
.myra-property-detail .detail-contact-form input:focus,.myra-property-detail .detail-contact-form textarea:focus{border-color:var(--appearance-accent,var(--myra-gold));background:var(--appearance-surface,#fff)}
.myra-property-detail .detail-preference-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;margin:0 0 18px}
.myra-property-detail .detail-preference-grid input{padding:10px 6px!important;font-size:13px!important}
.myra-property-detail .detail-consent{display:flex;align-items:flex-start;gap:10px;margin:18px 0}
.myra-property-detail .detail-consent input{margin-top:4px;flex-shrink:0;accent-color:var(--appearance-primary,var(--myra-gold))}
.myra-property-detail .detail-consent label{font-size:12px;font-weight:400;cursor:pointer}
.myra-property-detail .detail-submit{display:block;width:100%;padding:14px 12px;font-size:13px;font-weight:600;white-space:normal;height:auto;min-height:48px}
.myra-property-detail .detail-contact-form .alert h3{font-size:16px;margin:0 0 8px}
.myra-property-detail .detail-contact-form .alert ul{padding-left:18px;font-size:13px}
.myra-property-detail .detail-desktop-links{display:flex;justify-content:space-between;gap:12px;border-top:1px solid var(--appearance-border,#E6E9EC);margin-top:24px;padding-top:18px;font-size:13px;flex-wrap:wrap}
.myra-property-detail .detail-desktop-links .fa{color:var(--appearance-accent,var(--myra-gold))}
.myra-property-detail .detail-mobile-contact{display:none}
@media(max-width:1100px){.myra-property-detail .detail-body{grid-template-columns:minmax(0,1fr) 330px;gap:28px}.myra-property-detail .detail-heading{display:block}.myra-property-detail .detail-price{margin:20px 0 0;text-align:left;max-width:none}.myra-property-detail .detail-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.myra-property-detail .detail-rows{grid-template-columns:1fr}}
@media(max-width:991.98px){body.myra-detail-page{padding-bottom:var(--detail-mobile-clearance,86px)}.myra-property-detail{padding-top:20px}.myra-property-detail .detail-body{display:block}.myra-property-detail .detail-contact-card{position:static;max-height:none;overflow:visible;margin-top:24px}.myra-property-detail .detail-mobile-contact{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:1005;gap:0;padding:10px 16px calc(10px + env(safe-area-inset-bottom));background:var(--appearance-surface,#fff);border-top:1px solid var(--appearance-border,#E6E9EC)}.myra-property-detail .detail-mobile-contact>a,.myra-property-detail .detail-mobile-contact>span{flex:1;display:flex;align-items:center;justify-content:center;gap:6px;flex-direction:column;font-size:13px;line-height:1.3;font-weight:500;min-height:48px}.myra-property-detail .detail-mobile-contact .fa{font-size:19px;color:var(--appearance-accent,var(--myra-gold))}.myra-property-detail .detail-contact-unavailable{color:var(--appearance-muted,#696969)}.myra-property-detail .detail-contact-unavailable small{font-size:10px}.myra-detail-page.detail-keyboard-active .detail-mobile-contact,.myra-detail-page.detail-gallery-open .detail-mobile-contact{visibility:hidden;pointer-events:none}.myra-detail-page .scrollToHome{bottom:calc(var(--detail-mobile-clearance,86px) + 12px)}}
@media(max-width:575.98px){.myra-property-detail .detail-container{padding:0 16px}.myra-property-detail .detail-gallery{margin:0 8px 28px;height:280px;gap:4px}.myra-property-detail .photos-1,.myra-property-detail .photos-2{height:250px}.myra-property-detail .photos-5{grid-template-columns:1.6fr 1fr 1fr}.myra-property-detail .detail-gallery-button{right:10px;bottom:10px;padding:8px 10px;font-size:12px}.myra-property-detail .detail-title{font-size:28px}.myra-property-detail .detail-price{font-size:22px}.myra-property-detail .detail-facts{gap:20px 12px}.myra-property-detail .detail-fact-icon{width:38px;height:38px;font-size:21px}.myra-property-detail .detail-facts>div{gap:8px}.myra-property-detail .detail-facts dt{font-size:10px}.myra-property-detail .detail-facts dd{font-size:13px}.myra-property-detail .detail-rows>div{grid-template-columns:105px minmax(0,1fr)}.myra-property-detail .detail-contact-card{padding:20px 16px}.myra-property-detail .detail-amenities{gap:14px 10px}.myra-property-detail .detail-preference-grid{grid-template-columns:1fr}.myra-property-detail .detail-preference-grid input{font-size:14px!important}.myra-property-detail .detail-section{padding:28px 0}}
.myra-property-detail .detail-rows dd,.myra-property-detail .detail-facts dd,.myra-property-detail .detail-title,.myra-property-detail .detail-breadcrumb li{overflow-wrap:anywhere;min-width:0}

/* B3-05 additions use existing detail sections, theme buttons and card grid. */
.myra-detail .detail-video-player { aspect-ratio: 16 / 9; width: 100%; min-height: 200px; }
.myra-detail .detail-video-player iframe { width: 100%; height: 100%; border: 0; }
.myra-detail .detail-share input { width: 100%; }
.myra-detail [hidden] { display: none !important; }
/* B3-06: full, uncropped provider viewport keeps Google attribution visible. */
.myra-detail .detail-map-player { width: 100%; height: 400px; }
.myra-detail .detail-map-player iframe { width: 100%; height: 100%; border: 0; }

/* Supported property-description lists retain native text styling. */
.listing-description ul{list-style-type:disc;padding-left:1.5rem}
.listing-description ol{list-style-type:decimal;padding-left:1.5rem}
.listing-description li{list-style:inherit;margin-bottom:.25rem}

/* User-approved lower-edge fade; full sanitized content remains readable without JS. */
.listing-description.is-collapsed{position:relative;max-height:var(--description-limit);overflow:hidden}
.listing-description.is-collapsed:after{content:"";position:absolute;bottom:0;left:0;right:0;height:1.5em;background:linear-gradient(transparent,var(--appearance-page,var(--myra-ivory)));pointer-events:none}
[data-description-toggle][hidden]{display:none}
.detail-fact-icon .myra-wc-icon{width:26px;height:26px}

/* LISTING-URLS-01: the native h0 mobile header is outside document flow.
   Reuse the existing measured header +20px offset so breadcrumbs stay visible. */
@media(max-width:991.98px){.myra-property-detail{padding-top:var(--detail-header-offset)}}
