/* The original portrait ends exactly at the original banner edge. */
body.hap-info-page .showroom-hero.showroom-hero--restored{display:block;position:relative;margin:0 0 52px;padding:0;background:transparent;color:#fff;overflow:visible}
body.hap-info-page .showroom-hero.showroom-hero--restored::after{display:none;content:none}
body.hap-info-page .showroom-hero--restored .showroom-hero__stage{background:#181a1b url('../images/showroom/hero-showroom.jpg') no-repeat center bottom;background-size:100% auto}
body.hap-info-page .showroom-hero--restored .showroom-hero__stage>.container{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);grid-template-areas:'intro portrait';gap:36px;align-items:end;padding-top:40px;padding-bottom:0;box-sizing:border-box}
body.hap-info-page .showroom-hero--restored .showroom-hero__inner{grid-area:intro;min-width:0;align-self:center;padding:0 0 40px;background:transparent}
body.hap-info-page .showroom-hero--restored .showroom-hero__inner h1{max-width:710px;margin:0 0 26px;color:#fff!important;font-size:clamp(32px,3.3vw,46px);font-weight:300;line-height:1.18;letter-spacing:-.025em}
body.hap-info-page .showroom-hero--restored .showroom-hero__inner p{max-width:67ch;margin:0 0 18px;color:#fff!important;font-size:16px;line-height:1.7}
body.hap-info-page .showroom-hero--restored .showroom-hero__inner p:last-child{margin-bottom:0}
body.hap-info-page .showroom-hero--restored .showroom-hero__portrait{grid-area:portrait;display:block;align-self:end;justify-self:center;min-width:0;width:100%;max-width:588px;margin:0!important;padding:0!important;line-height:0;background:transparent}
body.hap-info-page .showroom-hero--restored .showroom-hero__portrait img{display:block;vertical-align:bottom;width:100%!important;max-width:100%!important;height:auto!important;max-height:none!important;margin:0!important;padding:0!important;object-fit:contain!important;object-position:center bottom}
body.hap-info-page .showroom-hero--restored .showroom-hero__documents{background:#f5f7fa;padding:24px 0;color:#20242a}
body.hap-info-page .showroom-hero--restored .showroom-hero__documents>.container{display:block}
body.hap-info-page .showroom-hero--restored .showroom-hero__certs{position:static;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;width:100%;min-width:0;max-width:850px;margin:0}
body.hap-info-page .showroom-hero--restored .showroom-hero__certs .cert-item{display:grid;grid-template-columns:82px minmax(0,1fr);gap:18px;align-items:center;width:auto;min-width:0;max-width:none;margin:0;padding:18px 20px;background:#fff;border:1px solid #dce2ea;border-radius:10px;color:#20242a;box-sizing:border-box;text-align:left;text-decoration:none;font:inherit;cursor:pointer}
body.hap-info-page .showroom-hero--restored .showroom-hero__certs .cert-item:hover{border-color:#1a6fd4}
body.hap-info-page .showroom-hero--restored .showroom-hero__certs .cert-image{display:block;width:82px;min-width:0;height:auto}
body.hap-info-page .showroom-hero--restored .showroom-hero__certs .cert-image img{display:block;width:82px!important;max-width:100%!important;height:auto!important;max-height:118px!important;object-fit:contain!important}
body.hap-info-page .showroom-hero--restored .showroom-hero__certs .cert-content{display:block;min-width:0}
body.hap-info-page .showroom-hero--restored .showroom-hero__certs :is(h4,.cert-title){display:block;margin:0 0 8px;color:#20242a;font-size:17px;line-height:1.35;font-weight:500}
body.hap-info-page .showroom-hero--restored .showroom-hero__certs :is(p,.cert-description){display:block;margin:0;color:#626a75;font-size:14px;line-height:1.6}

/* Navigation stays links; dialogs and slider controls are real buttons. */
body.hap-info-page--showroom :is(.btn-yellow,.showroom-catalog__btn,.slider-section__btn>a,.showroom-cats .cat-title-area>a){display:inline-flex;align-items:center;justify-content:center;min-height:46px;max-width:100%;padding:12px 20px;border:1px solid #1a6fd4;border-radius:8px;box-sizing:border-box;background:#1a6fd4;color:#fff;font:inherit;font-size:15px;font-weight:600;line-height:1.4;text-align:center;text-decoration:none;cursor:pointer;white-space:normal}
body.hap-info-page--showroom :is(.btn-yellow,.showroom-catalog__btn,.slider-section__btn>a,.showroom-cats .cat-title-area>a):hover{background-color:#145bb6;border-color:#145bb6;color:#fff}
body.hap-info-page--showroom .btn-video{display:inline-flex;align-items:center;justify-content:center;min-height:46px;max-width:100%;margin:0;padding:12px 20px 12px 48px;border:1px solid #1a6fd4;border-radius:8px;box-sizing:border-box;background:#fff url('../images/showroom/play.svg') no-repeat 16px center;background-size:22px;color:#1a6fd4;font:inherit;font-size:15px;font-weight:600;line-height:1.4;text-decoration:none;cursor:pointer}
body.hap-info-page--showroom .showroom-about__info>.btn-yellow{margin:0 12px 12px 0}
body.hap-info-page--showroom .showroom-about__connect a{display:inline-flex;align-items:center;min-height:44px;max-width:100%;overflow-wrap:anywhere}
body.hap-info-page--showroom .showroom-cats .cat-title-area>a{min-height:40px;padding:8px 12px;font-size:14px}
body.hap-info-page--showroom .showroom-catalog__btn{display:flex;width:max-content;min-width:220px;margin:24px auto 0}
body.hap-info-page--showroom :is(.btn-yellow,.btn-video,.cert-item,.showroom-catalog__btn,.carousel-3D-swiper-button-prev,.carousel-3D-swiper-button-next,.close-modal-button):focus-visible{outline:2px solid #1a6fd4;outline-offset:4px}
body.hap-info-page--showroom :is(.carousel-3D-swiper-button-prev,.carousel-3D-swiper-button-next){display:grid;place-items:center;width:44px;height:44px;margin:0;padding:0;border:1px solid #1a6fd4;border-radius:50%;background:#fff;color:#1a6fd4;font-size:30px;line-height:1;transform:none;cursor:pointer}
body.hap-info-page--showroom :is(.carousel-3D-swiper-button-prev,.carousel-3D-swiper-button-next):disabled{opacity:.4;cursor:default}
body.hap-info-page--showroom :is(#certModal,#videoModal){position:fixed;inset:0;z-index:1000001;align-items:center;justify-content:center;padding:20px;box-sizing:border-box;background:rgba(0,0,0,.74);overflow:auto}
body.hap-info-page--showroom :is(#certModal,#videoModal)[hidden]{display:none!important}
body.hap-info-page--showroom :is(#certModal,#videoModal) .modal-content{position:relative;width:100%;max-width:900px;max-height:calc(100dvh - 40px);margin:auto;padding:54px 20px 20px;border-radius:10px;box-sizing:border-box;background:#fff;overflow:auto}
body.hap-info-page--showroom :is(#certModal,#videoModal) .close-modal-button{position:absolute;top:7px;right:8px;display:grid;place-items:center;width:40px;height:40px;margin:0;padding:0;border:0;background:transparent;color:#20242a;font-size:32px;line-height:1;cursor:pointer}
body.hap-info-page--showroom #certModal #modalImage{display:block;width:auto;max-width:100%!important;height:auto;max-height:calc(100dvh - 120px)!important;margin:auto;object-fit:contain!important}
body.hap-info-page--showroom #videoModal iframe{display:block;width:100%;height:auto;aspect-ratio:16/9;border:0}
@media(max-width:1050px){body.hap-info-page .showroom-hero--restored .showroom-hero__stage>.container{column-gap:24px;padding-top:32px}body.hap-info-page .showroom-hero--restored .showroom-hero__inner h1{font-size:34px}}
@media(max-width:760px){
  body.hap-info-page--showroom .floating-max{display:grid;place-items:center;gap:0;width:52px!important;min-width:52px!important;max-width:52px!important;height:52px;min-height:52px;padding:0!important;border-radius:50%}
  body.hap-info-page--showroom .floating-max__label{display:none}
  body.hap-info-page--showroom .floating-max__icon{display:grid;place-items:center;width:36px;height:36px;margin:0}
  body.hap-info-page .showroom-hero.showroom-hero--restored{margin-bottom:36px}
  body.hap-info-page .showroom-hero--restored .showroom-hero__stage>.container{grid-template-columns:minmax(0,1fr);grid-template-areas:'intro' 'portrait';gap:0;padding-top:28px;padding-bottom:0}
  body.hap-info-page .showroom-hero--restored .showroom-hero__inner{padding-bottom:26px}
  body.hap-info-page .showroom-hero--restored .showroom-hero__inner h1{font-size:30px;line-height:1.2;margin-bottom:20px}
  body.hap-info-page .showroom-hero--restored .showroom-hero__inner p{font-size:15px;line-height:1.75}
  body.hap-info-page .showroom-hero--restored .showroom-hero__portrait{width:min(84vw,360px);max-width:100%}
  body.hap-info-page .showroom-hero--restored .showroom-hero__documents{padding:20px 0}
  body.hap-info-page .showroom-hero--restored .showroom-hero__certs{grid-template-columns:minmax(0,1fr);gap:14px;max-width:none}
  body.hap-info-page .showroom-hero--restored .showroom-hero__certs .cert-item{grid-template-columns:76px minmax(0,1fr);gap:16px;padding:18px}
  body.hap-info-page .showroom-hero--restored .showroom-hero__certs .cert-image,body.hap-info-page .showroom-hero--restored .showroom-hero__certs .cert-image img{width:76px!important}
  body.hap-info-page--showroom .showroom-about__info>:is(.btn-yellow,.btn-video){display:flex;width:100%;margin:0 0 12px}
  body.hap-info-page--showroom :is(#certModal,#videoModal){padding:12px}
  body.hap-info-page--showroom :is(#certModal,#videoModal) .modal-content{max-height:calc(100dvh - 24px);padding:50px 14px 14px}
}
