.lead-form { background:#fff; color:#111; border-top:5px solid #f5a623; width:100%; max-width:620px; padding:8px; scroll-margin-top:150px; box-shadow:0 12px 40px #0002 }
.lead-form iframe { display:block; width:100%; border:0; background:white }
.local-details article { display:none }
.local-details article:target { display:block; padding:30px 0 }
.product-dialog { max-width:min(560px,90vw); padding:24px; color:#111318; background:white; border:0; border-top:5px solid #f5a623; box-shadow:0 12px 48px #0004 }
.product-dialog::backdrop { background:#06091ab8 }
.close-dialog { display:block; margin:0 0 15px auto; padding:9px 16px; font:inherit; cursor:pointer }
.dialog-content p { margin:16px 0 23px }
@media(max-width:650px){.lead-form{scroll-margin-top:12px}}

.card-links {display:flex;flex-wrap:wrap;gap:.75rem 1.5rem;margin:1.5rem 0}
.card-links a {color:inherit;text-decoration:underline;text-underline-offset:.2em;font-weight:650}
.line-card-image {display:block;width:100%;height:auto;margin:1rem 0}
.product-dialog:has(.line-card-image) {width:min(92vw,1050px);max-width:92vw;max-height:90vh;overflow:auto}
.product-dialog:has(.line-card-image) .close-dialog {position:sticky;top:0;background:white}

.product-dialog:has(.photo-gallery){width:min(92vw,760px);max-width:92vw;max-height:90dvh;overflow:auto}
.photo-gallery figure{margin:0}
.photo-gallery figure[hidden]{display:none}
.photo-gallery figure img{display:block;width:100%;height:clamp(160px,36vh,340px);object-fit:contain;background:#f3f3f3}
.photo-gallery figcaption{padding:.45rem 0;font-size:.95rem;color:#25304a}
.photo-strip{display:flex;gap:.5rem;margin:.35rem 0 1rem}
.photo-strip button{background:white;padding:2px;border:2px solid transparent;cursor:pointer}
.photo-strip button[aria-pressed=true]{border-color:#152782}
.photo-strip img{display:block;width:clamp(43px,12vw,86px);height:48px;object-fit:cover}
.product-dialog:has(.photo-gallery) .close-dialog{position:sticky;top:0;z-index:1;background:white}
a.lighting-category{display:block;color:white;text-decoration:none}
a.lighting-category:focus-visible{outline:4px solid #f59c20;outline-offset:3px}
.fixture-preview{display:inline-block;margin-top:.75rem;color:white;text-decoration:underline;text-underline-offset:.25rem}
