
/* Match the approved home layout on WordPress pages. */
body.selmi-interior{--selmi-page-width:1080px;--selmi-page-gutter:24px}
body.selmi-interior #masthead .site-primary-header-wrap.ast-container,
body.selmi-interior #masthead #main-header>.mid-content{
 width:min(var(--selmi-page-width),calc(100% - 2 * var(--selmi-page-gutter)));
 max-width:none;margin-inline:auto;padding-inline:0;
}
body.selmi-interior #content>.ast-container{
 width:100%;max-width:none;padding-inline:0;
}
body.selmi-interior #main article.page>.entry-content,
body.selmi-interior #main article.page>.entry-header{
 box-sizing:border-box;
 width:min(var(--selmi-page-width),calc(100vw - 2 * var(--selmi-page-gutter)))!important;
 max-width:100%!important;margin-inline:auto!important;padding-inline:0!important;
}
body.selmi-interior #main .entry-content :is(.alignfull,.alignwide,.os-opt-page,.selmi-contact-full,.siteorigin-panels-stretch){
 box-sizing:border-box;width:100%!important;max-width:100%!important;
 left:auto!important;right:auto!important;margin-inline:0!important;
}
body.selmi-interior #main .entry-content .siteorigin-panels-stretch{padding-inline:0!important}
body.selmi-interior #main .entry-content #selmi-services{padding-inline:0}
body.selmi-interior #main .entry-content .os-opt-hero{
 min-height:0!important;padding-block:clamp(32px,5vw,65px);
}
body.selmi-interior #main .entry-content .os-opt-main{padding-top:36px}
@media(max-width:850px){body.selmi-interior{--selmi-page-gutter:16px}}

/* Apply the home width directly to the blue section rendered by the shortcode. */
body.selmi-interior.selmi-contact-page .selmi-contact-full,
body.selmi-interior.selmi-contact-page #main .entry-content .selmi-contact-full{
 box-sizing:border-box;
 width:min(100%,var(--selmi-page-width),calc(100vw - 2 * var(--selmi-page-gutter)))!important;
 max-width:var(--selmi-page-width)!important;
 margin-inline:auto!important;
}
body.selmi-contact-page .selmi-contact-full .selmi-hero{
 min-height:clamp(250px,30vw,350px);
}

/* The active contact-lens template sets blue on the body, not only on its panel. */
body.selmi-interior.selmi-contact-page.osc-full-page,
body.selmi-interior.selmi-contact-page.osc-full-page #page,
body.selmi-interior.selmi-contact-page.osc-full-page #content{
 background:#f9f8f5!important;
}
body.selmi-interior.selmi-contact-page.osc-full-page #primary .entry-content{
 box-sizing:border-box;
 width:min(var(--selmi-page-width),calc(100% - 2 * var(--selmi-page-gutter)))!important;
 max-width:100%!important;margin-inline:auto!important;
}
body.selmi-interior.selmi-contact-page.osc-full-page #os-contact{
 width:100%!important;max-width:100%!important;margin-inline:auto!important;
 position:static!important;left:auto!important;right:auto!important;
}

/* Shared interior proportions, with page-specific adjustments. */
body.selmi-interior #masthead .site-primary-header-wrap.ast-container{
 width:min(1080px,calc(100% - 2 * var(--selmi-page-gutter)))!important;
 max-width:1080px!important;margin-inline:auto!important;
}
body.selmi-interior #primary .entry-content .os-opt-page .os-opt-hero{
 min-height:0!important;padding:clamp(28px,4vw,56px) 0!important;
}
body.selmi-interior #primary .entry-content .os-opt-page .os-opt-container{
 width:calc(100% - 2 * clamp(20px,4vw,44px));max-width:none;
}
body.selmi-interior #primary .entry-content .os-opt-page .os-opt-main{padding:32px 0 44px}
body.selmi-interior #primary .entry-content .os-opt-page .os-opt-intro{margin-bottom:26px}
body.selmi-interior #primary .entry-content .os-opt-page .os-opt-grid article{padding:24px}
body.selmi-interior #primary .entry-content #os-contact .osc-hero{
 min-height:clamp(240px,27vw,350px)!important;
 padding:clamp(24px,4vw,48px)!important;
}
body.selmi-interior #primary .entry-content #os-contact .osc-body{
 margin-top:0!important;padding:12px clamp(20px,4vw,48px) 24px!important;
}
body.selmi-interior .selmi-collection-title{
 font:400 clamp(36px,4.5vw,52px)/1.1 Georgia,serif;
 margin:24px 0 18px!important;text-align:center;color:#253039;
}
body.selmi-interior.page-id-12418 #primary .entry-content .wp-block-image img{
 display:block;max-width:100%!important;height:auto!important;
}
body.selmi-interior.page-id-11503 .wp-block-gallery{
 gap:16px;margin:24px 0;
}
body.selmi-interior.page-id-11503 .selmi-sede-directions,
body.selmi-interior.page-id-11501 .entry-content a[href^="tel:"],
body.selmi-interior.page-id-11501 .entry-content a[href*="google.com/maps"]{
 color:#246590;text-underline-offset:4px;font-weight:600;
}
body.selmi-interior.page-id-11508 #osl{width:100%!important;max-width:none!important}
body.selmi-interior.page-id-11501 .entry-content{padding-block:24px 40px!important}
@media(max-width:780px){
 body.selmi-interior #primary .entry-content .os-opt-page .os-opt-grid article{padding:20px}
 body.selmi-interior #primary .entry-content #os-contact .osc-hero{min-height:240px!important}
}

/* Astra in the supplied backup: the approved 1080px home is the shared frame. */
body.selmi-interior #content>.ast-container{
 box-sizing:border-box;width:min(1080px,calc(100% - 48px))!important;max-width:1080px!important;
 margin:0 auto!important;padding:0!important;
}
body.selmi-interior #primary{width:100%!important;max-width:none!important;margin:0!important;padding:0!important;border:0!important;float:none!important}
body.selmi-interior #secondary{display:none!important}
body.selmi-interior #main article.page{width:100%!important;max-width:none!important;padding:0!important;margin:0!important;background:transparent!important;border:0!important}
body.selmi-interior #main article.page>.entry-header,
body.selmi-interior .ast-page-title-bar{display:none!important}
body.selmi-interior #main article.page>.entry-content{width:100%!important;max-width:none!important;padding:0 0 36px!important;margin:17px auto 0!important}
body.selmi-interior #content{padding:0!important}
body.selmi-interior #masthead .site-primary-header-wrap.ast-container{padding-inline:0!important}
body.selmi-interior .selmi-page-heading,body.selmi-interior .selmi-collection-title{
 font:400 clamp(36px,4.5vw,52px)/1.1 Georgia,serif!important;letter-spacing:-.03em;
 color:#253039!important;margin:0 0 18px!important;text-align:left;
}
body.selmi-interior.page-id-12418 .selmi-collection-title{text-align:center}
body.selmi-interior.page-id-12418 .entry-content .wp-block-image{margin:0 0 24px!important}
body.selmi-interior.page-id-12418 .entry-content .wp-block-image img{width:100%!important;height:auto!important}
body.selmi-interior.page-id-12418 .selmi-brands{padding:24px 12px 14px}
body.selmi-interior.page-id-12418 .selmi-brands-title{font:400 28px/1.15 Georgia,serif;letter-spacing:0;text-transform:none;margin:0 0 20px}
body.selmi-interior.page-id-12418 .selmi-brands-grid{gap:18px 22px}
body.selmi-interior.page-id-12418 .selmi-brand{height:94px;padding:10px}
body.selmi-interior.page-id-12418 .selmi-brand img{max-height:78px}
body.selmi-interior.page-id-11503 .entry-content>.wp-block-gallery{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:20px 0!important}
body.selmi-interior.page-id-11503 .wp-block-gallery figure.wp-block-image{width:100%!important;max-width:none!important;margin:0!important}
body.selmi-interior.page-id-11503 .wp-block-gallery figure.wp-block-image img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover}
body.selmi-interior.page-id-11503 .entry-content>p{font-size:16px;margin:0 0 16px}
body.selmi-interior.page-id-11508 #osl{margin:0 auto;font:16px/1.6 system-ui,sans-serif}
body.selmi-interior.page-id-11508 #osl .osl-hero{grid-template-columns:minmax(0,1fr) minmax(0,40%);align-items:center;gap:clamp(24px,4vw,48px)}
body.selmi-interior.page-id-11508 #osl h1{font:400 clamp(36px,4.5vw,52px)/1.1 Georgia,serif!important;letter-spacing:-.03em!important}
body.selmi-interior.page-id-11508 #osl .osl-intro{max-width:440px;font-size:18px!important}
body.selmi-interior.page-id-11508 #osl .osl-lens{width:100%!important;height:auto!important;max-height:340px;object-fit:contain;object-position:right center}
body.selmi-interior.page-id-11508 #osl .osl-note p{font:400 16px/1.65 system-ui,sans-serif!important}
body.selmi-interior.page-id-11508 #osl .osl-caption{font:400 28px/1.2 Georgia,serif!important;text-transform:none;letter-spacing:0!important;color:#253039}
body.selmi-interior.selmi-contact-page.osc-full-page #content>.ast-container{width:min(1080px,calc(100% - 48px))!important;max-width:1080px!important;margin:0 auto!important;padding:0!important}
body.selmi-interior.selmi-contact-page.osc-full-page #main article.page>.entry-content{width:100%!important;max-width:none!important;margin:17px auto 36px!important;padding:0!important}
body.selmi-interior.selmi-contact-page.osc-full-page #os-contact{width:100%!important;max-width:none!important;position:static!important;left:auto!important;right:auto!important;margin:0!important;padding-bottom:24px}
body.selmi-interior.selmi-contact-page #os-contact h1{font:400 clamp(36px,4.5vw,52px)/1.1 Georgia,serif!important;letter-spacing:-.03em!important}
body.selmi-interior.selmi-contact-page #os-contact h2{font:400 27px/1.2 Georgia,serif!important}
body.selmi-interior.selmi-contact-page #os-contact p,body.selmi-interior.selmi-contact-page #os-contact li{font-family:system-ui,sans-serif!important}
body.selmi-interior.selmi-contact-page #os-contact .osc-hero{min-height:clamp(260px,31vw,350px)!important}
body.selmi-interior.selmi-contact-page #os-contact .osc-body{margin-top:0!important;padding:12px clamp(24px,4vw,48px) 12px!important;max-width:none}
body.selmi-interior.selmi-contact-page #os-contact .osc-details{gap:32px}
body.selmi-interior .os-opt-page .os-opt-hero{min-height:340px!important;background-position:center}
body.selmi-interior .os-opt-page .os-opt-hero h1{font:400 clamp(36px,4.5vw,52px)/1.1 Georgia,serif;letter-spacing:-.03em}
body.selmi-interior .os-opt-page .os-opt-main h2{font:400 clamp(23px,2.5vw,30px)/1.2 Georgia,serif}
body.selmi-interior .os-opt-page .os-opt-main{background:#f4f6f6}
body.selmi-interior .os-opt-page .os-opt-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:16px}
body.selmi-interior .os-opt-page .os-opt-grid article{grid-column:span 2;border:1px solid #e2e6e7;box-shadow:none}
body.selmi-interior .os-opt-page .os-opt-grid article.selmi-opt-detail{grid-column:span 3}
body.selmi-interior .os-opt-page .os-opt-note{margin-top:28px;padding-top:24px}
body.selmi-interior .selmi-contacts-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
body.selmi-interior .selmi-contacts-grid>div{border:1px solid #e2e6e7;padding:clamp(24px,4vw,44px);background:#fff;overflow-wrap:anywhere}
body.selmi-interior .selmi-contacts-grid h2{font:400 30px/1.2 Georgia,serif;color:#253039;margin:0 0 18px}
body.selmi-interior .selmi-contacts-grid a{color:#245470;text-underline-offset:4px}
@media(max-width:850px){
 body.selmi-interior #content>.ast-container,body.selmi-interior.selmi-contact-page.osc-full-page #content>.ast-container{width:calc(100% - 32px)!important}
 body.selmi-interior .os-opt-page .os-opt-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.selmi-interior .os-opt-page .os-opt-grid article,body.selmi-interior .os-opt-page .os-opt-grid article.selmi-opt-detail{grid-column:span 1}
}
@media(max-width:650px){
 body.selmi-interior.page-id-11508 #osl .osl-hero{grid-template-columns:1fr}
 body.selmi-interior.page-id-11508 #osl .osl-lens{max-width:300px!important;justify-self:center;object-position:center}
 body.selmi-interior.page-id-11508 #osl .osl-types{grid-template-columns:1fr}
 body.selmi-interior .selmi-contacts-grid,body.selmi-interior .os-opt-page .os-opt-grid,body.selmi-interior.page-id-11503 .entry-content>.wp-block-gallery{grid-template-columns:1fr}
 body.selmi-interior.selmi-contact-page #os-contact .osc-details{grid-template-columns:1fr}
 body.selmi-interior .os-opt-page .os-opt-hero{min-height:280px!important}
 body.selmi-interior .os-opt-page .os-opt-container{width:calc(100% - 36px)!important}
}

/* V343 — editorial interior pages. */
body.selmi-interior :is(.selmi-lenses,.selmi-opt-revised,.selmi-contact-revised){color:#253039;font:16px/1.65 system-ui,sans-serif}
body.selmi-interior :is(.selmi-lenses,.selmi-opt-revised,.selmi-contact-revised) *{box-sizing:border-box}
body.selmi-interior :is(.selmi-lenses,.selmi-opt-revised,.selmi-contact-revised) h1{font:400 clamp(38px,5vw,58px)/1.07 Georgia,serif;letter-spacing:-.035em;color:inherit;margin:0 0 18px}
body.selmi-interior :is(.selmi-lenses,.selmi-opt-revised,.selmi-contact-revised) h2{font:400 clamp(25px,3vw,34px)/1.16 Georgia,serif;color:#253039;margin:0 0 18px}
body.selmi-interior .selmi-kicker{display:block;color:#245470;text-transform:uppercase;letter-spacing:.13em;font-size:12px;font-weight:600;margin-bottom:16px}
.selmi-lens-hero,.selmi-opt-hero,.selmi-contact-hero{display:grid;grid-template-columns:1fr 1fr;align-items:stretch;background:#e9eff2}
.selmi-lens-hero>div,.selmi-opt-hero>div,.selmi-contact-hero>div{padding:clamp(28px,5vw,58px);align-self:center}
.selmi-lens-hero img,.selmi-opt-hero img,.selmi-contact-hero img{display:block;width:100%;height:100%;max-height:420px;min-height:300px;object-fit:cover}
.selmi-lens-copy p,.selmi-opt-hero p{font-size:clamp(17px,2vw,21px);margin:0;max-width:410px}
.selmi-lens-types{padding:36px 0}
.selmi-lens-types ul{list-style:none;margin:0!important;padding:0!important;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0 24px}
.selmi-lens-types li{font-size:17px;padding:17px 0;border-top:1px solid #cbd8de;margin:0!important}
.selmi-lenses .osl-note,.selmi-opt-revised .os-opt-note{background:#e8f1f5;padding:clamp(25px,4vw,44px);margin:0 0 28px}
.selmi-lenses .osl-note p:last-of-type,.selmi-opt-revised .os-opt-disclaimer{font-size:13px;color:#51636e}
.selmi-blue-link,.selmi-sede-directions a{display:inline-block;color:#245470;text-underline-offset:4px;font-weight:600;padding:8px 0}
.selmi-lenses .osl-partners{text-align:center;padding:12px 0 0}
.selmi-lenses .osl-caption{font:400 28px/1.2 Georgia,serif;margin:0 0 18px}
.selmi-lenses .osl-logos{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:20px;align-items:center}
.selmi-lenses .osl-logos a{display:flex;justify-content:center;align-items:center;min-height:80px;padding:10px}
.selmi-lenses .osl-logos img{max-width:135px;width:100%;max-height:54px;object-fit:contain}
.selmi-lenses .osl-logos .osl-zeiss{max-width:55px;max-height:60px}
.selmi-lenses .osl-logos .osl-black{filter:brightness(0)}
.selmi-opt-revised .os-opt-intro{max-width:860px;padding:34px 0 10px;margin:0}
.selmi-opt-main{display:grid;grid-template-columns:1fr 1fr;gap:24px;padding-bottom:30px}
.selmi-opt-main>article{border-top:2px solid #87b6cc;padding:22px 0}
.selmi-opt-training{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;background:#e9eff2;align-items:center}
.selmi-opt-training img{width:100%;height:100%;max-height:320px;object-fit:cover}
.selmi-opt-training article{padding:clamp(24px,4vw,44px)}
.selmi-opt-tech{padding:12px 0 30px}
.selmi-opt-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 30px}
.selmi-opt-detail-grid article{border-top:1px solid #cbd8de;padding:22px 0}
body.selmi-interior .selmi-opt-detail-grid h2{font-size:25px}
.selmi-contact-hero a:not(.selmi-button){color:#244e69;overflow-wrap:anywhere}
.selmi-button{display:inline-flex;align-items:center;min-height:44px;background:#245f83;color:white!important;padding:10px 20px;text-decoration:none!important}
.selmi-map{padding-top:30px}
.selmi-map iframe{border:0;width:100%;height:300px;display:block;background:#e8edf0}
body.selmi-interior.page-id-12418 .selmi-brands-title{font:400 30px/1.2 Georgia,serif;letter-spacing:0;text-transform:none}
body.selmi-interior.page-id-12418 .selmi-brand img[alt="Anne et Valentin"],body.selmi-interior.page-id-12418 .selmi-brand img[alt="Piero Massaro"]{width:180px;max-width:100%}
body.selmi-interior.page-id-12418 .selmi-brand img[alt="Retrosuperfuture"]{width:82px;max-height:78px}
body.selmi-interior.page-id-11503 .entry-content>p:not(.selmi-sede-directions){font-size:18px}
body.selmi-interior.selmi-contact-page #os-contact .osc-caption{font:400 24px/1.2 Georgia,serif!important;letter-spacing:0!important;text-transform:none!important}
body.selmi-interior.selmi-contact-page #os-contact .osc-logos img:is([alt="Alcon"],[alt="TS LAC"]){max-width:120px!important;max-height:37px!important}
body.selmi-interior.selmi-contact-page #os-contact .osc-hero{min-height:clamp(240px,27vw,310px)!important}
@media(max-width:850px){
 .selmi-lens-types ul{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:650px){
 body.selmi-interior #content>.ast-container,body.selmi-interior.selmi-contact-page.osc-full-page #content>.ast-container{width:calc(100% - 24px)!important}
 .selmi-lens-hero,.selmi-opt-hero,.selmi-contact-hero,.selmi-opt-training,.selmi-opt-main,.selmi-opt-detail-grid{grid-template-columns:1fr}
 .selmi-lens-hero>div,.selmi-opt-hero>div,.selmi-contact-hero>div{padding:26px 22px}
 .selmi-lens-hero img,.selmi-opt-hero img,.selmi-contact-hero img{min-height:0;height:auto;aspect-ratio:1.75}
 .selmi-lens-types{padding:26px 6px}
 .selmi-lens-types ul{gap:0 12px}
 .selmi-lens-types li{font-size:15px;padding:12px 0}
 .selmi-lenses .osl-logos{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
 .selmi-lenses .osl-logos a:last-child{grid-column:1/-1}
 .selmi-opt-revised .os-opt-intro,.selmi-opt-main>article,.selmi-opt-tech{padding-inline:6px}
 .selmi-opt-main{gap:8px}
 .selmi-opt-training img{aspect-ratio:1.8}
 .selmi-map iframe{height:240px}
 body.selmi-interior.page-id-12418 .selmi-brands-grid{gap:8px 12px}
 body.selmi-interior.page-id-12418 .selmi-brand{height:76px;padding:8px}
 body.selmi-interior.selmi-contact-page #os-contact .osc-details{grid-template-columns:1fr!important}
 body.selmi-interior.selmi-contact-page #os-contact .osc-hero{min-height:330px!important}
 body.selmi-interior.selmi-contact-page #os-contact .osc-logos{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
body.selmi-interior.page-id-11503 .wp-block-gallery figure.wp-block-image a{display:block;width:100%;height:100%}
body.selmi-interior.page-id-11503 .selmi-sede-directions a{display:inline-flex;min-height:44px;align-items:center;padding:8px 16px;background:#e8f1f5;text-decoration:none}
@media(max-width:700px){
 body.selmi-interior #masthead .site-primary-header-wrap.ast-container{width:calc(100% - 24px)!important}
 body.selmi-interior #colophon :is(.ast-footer-copyright,.site-info){font-size:14px;line-height:1.55}
}

/* V344: precise alignment and more economical spacing. */
@media(min-width:651px){
 .selmi-opt-hero,.selmi-contact-hero{position:relative;grid-template-columns:1fr 1fr}
 .selmi-opt-hero>img,.selmi-contact-hero>img{position:absolute;inset:0 0 0 50%;width:50%!important;height:100%!important;max-height:none!important;min-height:0;object-fit:cover;margin:0!important}
 .selmi-opt-hero>div,.selmi-contact-hero>div{grid-column:1;padding:clamp(28px,4vw,48px)}
 body.selmi-interior .selmi-opt-revised .selmi-opt-hero h1{font-size:clamp(34px,4vw,45px);line-height:1.12}
 .selmi-opt-detail-grid article{padding:16px 0}
 .selmi-lens-types li{font-size:19px}
}
body.selmi-interior .selmi-opt-revised .os-opt-note{width:100%;max-width:none!important;margin-inline:0!important}
body.selmi-interior .selmi-lenses .osl-note{padding:clamp(22px,3vw,32px)}
body.selmi-interior .selmi-lenses .osl-note p{margin-bottom:12px}
body.selmi-interior .selmi-contact-hero a:not(.selmi-button){font-size:18px;font-weight:600;line-height:1.65}
body.selmi-interior .selmi-contact-hero .selmi-button{background:#2178a9}

/* V345: optical sizing uses trimmed artwork, not the original empty canvas. */
body.selmi-interior.page-id-12418 .selmi-brands{padding:12px 12px 16px!important}
body.selmi-interior.page-id-12418 .selmi-brands-title{font:400 28px/1.2 Georgia,serif!important;letter-spacing:0!important;text-transform:none!important;margin:0 0 16px!important}
body.selmi-interior.page-id-12418 .selmi-brand img{width:auto!important;height:auto!important;max-width:min(100%,150px)!important;max-height:46px!important;object-fit:contain}
body.selmi-interior.page-id-12418 .selmi-brand img[alt="Kuboraum"],body.selmi-interior.page-id-12418 .selmi-brand img[alt="Retrosuperfuture"],body.selmi-interior.page-id-12418 .selmi-brand img[alt="Eyepetizer"]{max-height:58px!important;max-width:90px!important}
body.selmi-interior.page-id-12418 .selmi-brand img[alt="Anne et Valentin"],body.selmi-interior.page-id-12418 .selmi-brand img[alt="Piero Massaro"]{width:140px!important;max-height:49px!important;max-width:100%!important}
body.selmi-interior.page-id-12418 .selmi-brand img[alt="Minchillo"],body.selmi-interior.page-id-12418 .selmi-brand img[alt="W-Eye"]{max-width:min(100%,138px)!important}
@media(min-width:651px){
 body.selmi-interior.page-id-12418 .selmi-brand{height:88px!important}
}
@media(max-width:650px){
 body.selmi-interior.page-id-12418 .entry-content .wp-block-image{margin-bottom:10px!important}
 body.selmi-interior.page-id-12418 .selmi-brands{padding:10px 6px 12px!important}
 body.selmi-interior.page-id-12418 .selmi-brands-title{font-size:25px!important;margin-bottom:12px!important}
 body.selmi-interior.page-id-12418 .selmi-brands-grid{gap:4px 12px!important}
 body.selmi-interior.page-id-12418 .selmi-brand{height:70px!important;padding:8px!important}
 body.selmi-interior.page-id-12418 .selmi-brand img{max-width:min(100%,125px)!important;max-height:42px!important}
 body.selmi-interior.page-id-12418 .selmi-brand img[alt="Kuboraum"],body.selmi-interior.page-id-12418 .selmi-brand img[alt="Retrosuperfuture"],body.selmi-interior.page-id-12418 .selmi-brand img[alt="Eyepetizer"]{max-height:52px!important;max-width:76px!important}
 body.selmi-interior.page-id-12418 .selmi-brand img[alt="Anne et Valentin"],body.selmi-interior.page-id-12418 .selmi-brand img[alt="Piero Massaro"]{width:118px!important;max-height:43px!important}
 body.selmi-interior .selmi-lenses .osl-note{padding:20px!important;margin-bottom:18px}
 body.selmi-interior .selmi-lenses .osl-note p{margin-bottom:10px}
 body.selmi-interior .selmi-opt-revised .os-opt-intro{padding-top:22px;padding-bottom:4px}
 body.selmi-interior .selmi-opt-main>article,.selmi-opt-detail-grid article{padding-top:15px;padding-bottom:12px}
 body.selmi-interior .selmi-opt-main article p,.selmi-opt-detail-grid article p{margin-bottom:8px}
 body.selmi-interior .selmi-opt-training article,.selmi-opt-revised .os-opt-note{padding:20px!important}
 body.selmi-interior .selmi-opt-tech{padding-top:6px;padding-bottom:16px}
 body.selmi-interior .selmi-opt-main{padding-bottom:18px}
 body.selmi-interior.selmi-contact-page #os-contact .osc-hero{min-height:0!important;display:block!important;padding:24px 24px 90px!important}
 body.selmi-interior.selmi-contact-page #os-contact .osc-hero:before{inset:auto 0 0;height:100px;background-size:cover;background-position:center 55%;opacity:.9;mask-image:linear-gradient(180deg,transparent 0%,#000 38%,#000 75%,transparent 100%);-webkit-mask-image:linear-gradient(180deg,transparent 0%,#000 38%,#000 75%,transparent 100%);}
 body.selmi-interior.selmi-contact-page #os-contact .osc-body{padding-top:0!important}
}

/* V346: opening hours in the existing contact panel. */
body.selmi-interior .selmi-opening-hours{margin:0 0 20px}
body.selmi-interior .selmi-opening-hours h3{font:400 22px/1.2 Georgia,serif;color:#253039;margin:0 0 10px}
body.selmi-interior .selmi-opening-hours dl{margin:0;font-size:15px;line-height:1.55}
body.selmi-interior .selmi-opening-hours dl>div{margin:0 0 8px}
body.selmi-interior .selmi-opening-hours dt{font-weight:600}
body.selmi-interior .selmi-opening-hours dd{margin:0}

/* V348: show the complete storefront photograph at its native proportions. */
@media(min-width:651px){
 body.selmi-interior .selmi-contact-hero{grid-template-columns:1fr 1fr;align-items:center}
 body.selmi-interior .selmi-contact-hero>img{position:static!important;inset:auto!important;width:100%!important;height:auto!important;max-height:none!important;min-height:0!important;aspect-ratio:auto!important;object-fit:contain!important;align-self:center;display:block;margin:0!important;padding:0 24px 0 0;box-sizing:border-box}
}
@media(max-width:650px){
 body.selmi-interior .selmi-contact-hero>img{height:auto!important;aspect-ratio:auto!important;object-fit:contain!important}
}

/* V349 — a full photograph and a separate, useful hours/map section. */
body.selmi-interior .selmi-contact-hero{background:#e9eff2}
body.selmi-interior .selmi-contact-hero>img{padding:0!important;align-self:start!important}
body.selmi-interior .selmi-contact-hero>div{padding:28px 32px!important}
body.selmi-interior .selmi-contact-hero h1{font-size:clamp(34px,4vw,48px);margin-bottom:12px}
body.selmi-interior .selmi-contact-hero h2{margin-bottom:10px;font-size:28px}
body.selmi-interior .selmi-contact-hero p{margin:0 0 14px}
body.selmi-interior .selmi-contact-info{display:grid;grid-template-columns:1fr 2fr;gap:24px;margin-top:24px;align-items:start}
body.selmi-interior .selmi-contact-info .selmi-opening-hours{padding:22px 24px;background:#e9eff2;margin:0}
body.selmi-interior .selmi-contact-info .selmi-opening-hours h3{font-size:27px;margin:0 0 18px}
body.selmi-interior .selmi-contact-info .selmi-opening-hours dl{font-size:16px}
body.selmi-interior .selmi-contact-info .selmi-opening-hours dl>div{margin-bottom:14px}
body.selmi-interior .selmi-contact-info .selmi-map{padding-top:0}
@media(min-width:651px){
 body.selmi-interior .selmi-contact-hero{grid-template-columns:1fr 1.15fr}
 body.selmi-interior .selmi-contact-hero>img{align-self:center!important}
 body.selmi-interior .selmi-contact-info .selmi-map iframe{height:250px}
}
@media(max-width:650px){
 body.selmi-interior .selmi-contact-hero>div{padding:24px 22px!important}
 body.selmi-interior .selmi-contact-info{grid-template-columns:1fr;gap:20px;margin-top:20px}
}

/* V350: align hours and map precisely to the two columns above. */
@media(min-width:651px){
 body.selmi-interior .selmi-contact-info{grid-template-columns:1fr 1.15fr;gap:0;align-items:stretch}
 body.selmi-interior .selmi-contact-info .selmi-opening-hours{margin:0;padding:24px 32px}
 body.selmi-interior .selmi-contact-info .selmi-map{padding:24px 0 0!important;min-width:0}
 body.selmi-interior .selmi-contact-info .selmi-map h2{font-size:27px;margin:0 0 18px;line-height:1.2}
}

/* V351: self-contained contact layout, independent from previous iterations. */
#selmi-contact-final{width:100%;margin:0;color:#253039;font:16px/1.5 system-ui,sans-serif}
#selmi-contact-final *{box-sizing:border-box}
#selmi-contact-final .scf-hero{display:grid;grid-template-columns:45fr 55fr;align-items:center;background:#e9eff2;margin:0}
#selmi-contact-final .scf-copy{padding:24px 32px;min-width:0}
#selmi-contact-final .scf-kicker{display:block;color:#245470;font-size:11px;font-weight:600;letter-spacing:.13em;text-transform:uppercase;margin:0 0 10px}
#selmi-contact-final h1{font:400 clamp(32px,3.8vw,48px)/1.08 Georgia,serif;letter-spacing:-.03em;color:#253039;margin:0 0 14px!important}
#selmi-contact-final h2{font:400 27px/1.2 Georgia,serif;color:#253039;margin:0!important}
#selmi-contact-final p{margin:0 0 12px!important;font-size:16px;line-height:1.55}
#selmi-contact-final .scf-address strong{font:400 25px/1.3 Georgia,serif;display:inline-block;margin-bottom:3px}
#selmi-contact-final .scf-recapiti a{font-weight:600;color:#245470;overflow-wrap:anywhere;text-underline-offset:3px}
#selmi-contact-final .scf-button{display:inline-flex;align-items:center;min-height:44px;background:#2178a9;color:#fff;text-decoration:none;padding:10px 18px;font-size:14px;font-weight:600}
#selmi-contact-final .scf-photo{display:block!important;width:100%!important;height:auto!important;max-width:100%!important;max-height:none!important;margin:0!important;padding:0!important;object-fit:contain;aspect-ratio:auto!important}
#selmi-contact-final .scf-hours{display:grid;grid-template-columns:1fr 1.25fr 1fr;gap:24px;align-items:center;background:#e9eff2;padding:22px 32px;margin:20px 0 26px}
#selmi-contact-final .scf-hours>div{border-left:1px solid #bdcdd5;padding-left:24px;min-width:0}
#selmi-contact-final .scf-hours strong,#selmi-contact-final .scf-hours span{display:block;font-size:16px;line-height:1.5}
#selmi-contact-final .scf-hours strong{font-weight:600;margin-bottom:4px}
#selmi-contact-final .scf-map h2{margin-bottom:14px!important}
#selmi-contact-final .scf-map iframe{width:100%!important;height:300px;display:block;border:0;margin:0!important}
@media(max-width:850px){
 #selmi-contact-final .scf-hero{grid-template-columns:1fr}
 #selmi-contact-final .scf-copy{padding:24px}
 #selmi-contact-final .scf-hours{grid-template-columns:1fr 1fr;padding:20px 24px;gap:16px}
 #selmi-contact-final .scf-hours h2{grid-column:1/-1}
 #selmi-contact-final .scf-hours>div:first-of-type{border-left:0;padding-left:0}
}
@media(max-width:480px){
 #selmi-contact-final .scf-hours{grid-template-columns:1fr;gap:12px}
 #selmi-contact-final .scf-hours>div{padding:10px 0 0!important;border-left:0;border-top:1px solid #bdcdd5}
 #selmi-contact-final .scf-map iframe{height:250px}
}
#selmi-contact-final .scf-map-gate{background:#e9eff2;padding:24px;min-height:180px;display:grid;align-items:center;text-align:center}
#selmi-contact-final .scf-map-gate p{max-width:680px;margin:0 auto 14px!important}
#selmi-contact-final .scf-map-gate a{display:inline-block;margin:8px;color:#245470}
#selmi-contact-final .scf-map-gate:has(iframe){padding:0;background:transparent}
#selmi-contact-final .scf-map-disable{justify-self:end;background:transparent;color:#245470;text-decoration:underline;border:0;padding:12px}
#selmi-contact-final button.scf-button{border:0;cursor:pointer}
