/* Guest-facing property and provider details; existing corporate tokens remain authoritative. */
#property-detail,#catalog-detail{min-width:0;padding-bottom:40px}
#property-detail .market-hero{position:relative;padding:32px 0 24px}
#property-detail .market-hero h1,#catalog-detail>h2{max-width:24ch;margin:12px 0 16px;font-size:clamp(30px,4vw,50px);line-height:1.15;letter-spacing:-.025em;overflow-wrap:anywhere;color:var(--brand-primary)}
#catalog-detail>p:first-of-type{color:var(--muted);font-size:15px;line-height:1.7;margin-bottom:24px}
#property-detail .market-photo{overflow:hidden;border:1px solid var(--line);border-radius:24px;background:#edf2f8}
#property-detail .market-photo>img{display:block;width:100%;height:clamp(260px,42vw,520px);object-fit:contain}
#property-detail .market-caption{margin:10px 0 0;font-size:13px;font-variant-numeric:tabular-nums}
#property-detail .property-layout{grid-template-columns:minmax(0,1.6fr) minmax(280px,.85fr);gap:40px;margin-top:36px;align-items:start}
#property-detail .property-layout>div>h2{margin:0 0 16px;font-size:28px;line-height:1.3}
#property-detail .property-layout>div>h3{margin:32px 0 12px;padding-top:24px;border-top:1px solid var(--line);font-size:20px}
#property-detail .property-layout>div>p{max-width:72ch;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}
#property-detail .property-layout>aside{position:sticky;top:24px;margin:0;padding:28px;border:1px solid var(--line);border-radius:20px;background:var(--brand-surface);box-shadow:none}
#property-detail .property-layout>aside>h2{margin:0 0 8px;font-size:32px;line-height:1.2}
#property-detail .property-layout>aside>p{font-size:14px;line-height:1.7;color:var(--muted)}
#property-detail .property-layout>aside>.button{display:flex;justify-content:center;align-items:center;min-height:48px;margin:24px 0 14px}
#property-detail .property-layout>aside>a:not(.button){display:block;margin:12px 0;line-height:1.6;color:var(--brand-primary);text-underline-offset:4px}
#property-detail .property-host{margin-top:32px;padding:24px;background:#edf5f2;border-radius:16px;align-items:flex-start}
#property-detail .property-host img{flex:0 0 64px;width:64px;height:64px}
#property-detail .property-host h3{margin:0 0 8px;font-size:18px;line-height:1.4}
#property-detail .property-host p{margin:0;line-height:1.7;overflow-wrap:anywhere}
#catalog-detail .catalog-media{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:24px 0 36px}
#catalog-detail .catalog-media figure{width:auto;min-width:0;margin:0;overflow:hidden;border-radius:18px;background:#edf2f8}
#catalog-detail .catalog-media img,#catalog-detail .catalog-media video{display:block;width:100%;height:100%;min-height:180px;max-height:520px;aspect-ratio:16/10;object-fit:cover;border-radius:0}
#catalog-detail .catalog-media figure:only-child{grid-column:1/-1}
#catalog-detail .catalog-media:has(>figure:nth-child(3)){grid-template-columns:minmax(0,1.7fr) minmax(0,1fr)}
#catalog-detail .catalog-media:has(>figure:nth-child(3))>figure:first-child{grid-row:span 2}
#catalog-detail .catalog-media:has(>figure:nth-child(3))>figure:first-child :is(img,video){aspect-ratio:auto}
#catalog-detail .health-listing-layout{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(300px,.85fr);gap:36px;align-items:start}
#catalog-detail .health-listing-content{min-width:0}
#catalog-detail .health-listing-content>p{line-height:1.8;max-width:72ch;color:var(--muted);overflow-wrap:anywhere}
#catalog-detail .health-profile{margin:0;padding:0;border:0;border-radius:0;background:transparent}
#catalog-detail .health-profile>h2{margin:8px 0 14px;font-size:30px;line-height:1.25;color:var(--brand-primary)}
#catalog-detail .health-profile>h3{margin:32px 0 16px;padding-top:24px;border-top:1px solid var(--line);font-size:20px;color:var(--brand-primary)}
#catalog-detail .health-profile>p{line-height:1.8;max-width:72ch}
#catalog-detail .health-treatment-grid{gap:16px}
#catalog-detail .health-treatment-card{padding:20px;border-radius:16px;background:var(--brand-surface);border-color:var(--line);display:flex;flex-direction:column;align-items:flex-start;gap:12px}
#catalog-detail .health-treatment-card h4{font-size:18px;line-height:1.4;margin:0;color:var(--brand-primary)}
#catalog-detail .health-treatment-card strong{font-size:19px;color:var(--brand-action)}
#catalog-detail .health-treatment-card p{margin:0;line-height:1.65;font-size:14px}
#catalog-detail .health-treatment-card .button{margin-top:auto;white-space:normal;text-align:left;min-height:44px}
#catalog-detail .health-treatment-photos{width:100%;margin:0 0 4px}
#catalog-detail .health-professional{margin:16px 0;padding:20px;border-color:var(--line);background:var(--brand-surface)}
#catalog-detail .health-request-panel{position:sticky;top:24px;margin:0;padding:24px;border-radius:20px;border-color:var(--line);max-height:calc(100dvh - 48px);overflow:auto}
#catalog-detail .health-request-panel>h2{margin:0 0 14px;font-size:24px;line-height:1.3;color:var(--brand-primary)}
#catalog-detail .health-request-panel>p{font-size:14px;line-height:1.7;color:var(--muted)}
#catalog-detail .health-request-form{grid-template-columns:minmax(0,1fr);padding:0;background:transparent;gap:8px}
#catalog-detail .health-request-form>label{grid-column:1;margin:8px 0;font-size:14px}
#catalog-detail .health-request-form :is(input,select,textarea):not([type=checkbox]){min-height:46px;font-size:16px}
#catalog-detail .health-request-form textarea{min-height:110px;line-height:1.6}
#catalog-detail .health-request-form .button{width:100%;min-height:48px;justify-self:stretch;margin-top:12px}
#catalog-detail .health-request-form .health-check{font-size:13px;line-height:1.6}
#catalog-detail .catalog-detail-grid{grid-template-columns:minmax(0,1.6fr) minmax(280px,.85fr);gap:36px;align-items:start}
#catalog-detail .catalog-detail-grid>div{min-width:0;line-height:1.8}
#catalog-detail .catalog-detail-grid>aside{border-color:var(--line);border-radius:20px}
@media(max-width:1000px){#property-detail .property-layout,#catalog-detail .health-listing-layout,#catalog-detail .catalog-detail-grid{grid-template-columns:minmax(0,1fr)}#property-detail .property-layout>aside,#catalog-detail .health-request-panel{position:static;max-height:none;overflow:visible}#catalog-detail .health-request-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 20px}#catalog-detail .health-request-form>label{grid-column:auto}}
@media(max-width:600px){#property-detail .market-hero{padding-top:20px}#property-detail .market-photo{border-radius:16px}#property-detail .market-photo>img{height:280px}#property-detail .property-layout{gap:24px;margin-top:28px}#property-detail .property-layout>aside,#catalog-detail .health-request-panel{padding:20px;border-radius:16px}#property-detail .property-host{padding:18px;gap:12px}#catalog-detail .catalog-media{gap:8px;margin:20px 0 28px}#catalog-detail .catalog-media,#catalog-detail .catalog-media:has(>figure:nth-child(3)){grid-template-columns:minmax(0,1fr)}#catalog-detail .catalog-media:has(>figure:nth-child(3))>figure:first-child{grid-row:auto}#catalog-detail .catalog-media img,#catalog-detail .catalog-media video{height:220px;min-height:0;aspect-ratio:16/10}#catalog-detail .health-request-form{grid-template-columns:minmax(0,1fr)}#catalog-detail .health-request-form>label{grid-column:1}#catalog-detail .health-treatment-grid{grid-template-columns:minmax(0,1fr)}#catalog-detail .health-profile>h2{font-size:26px}}
#catalog-detail>.health-request-shortcut{display:inline-flex;align-items:center;min-height:44px;margin:0 0 28px;color:var(--brand-primary);font-weight:650;text-decoration:underline;text-underline-offset:5px}
#catalog-detail #service-contact{scroll-margin-top:32px}
@media(max-width:600px){#catalog-detail .catalog-media{display:flex;flex-wrap:nowrap;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:8px}#catalog-detail .catalog-media figure{flex:0 0 88%;scroll-snap-align:start}#catalog-detail .catalog-media figure:only-child{flex-basis:100%}}
