/* EHTYMODEL — Pop-up Guide, CSS autonome */

.ehty-popup-overlay, .ehty-popup-overlay *{box-sizing:border-box;}
.ehty-popup-overlay{
  position:fixed; inset:0; z-index:999999;
  background:rgba(0,0,0,.7);
  display:flex; align-items:center; justify-content:center;
  padding:20px;
  font-family:'DM Sans', sans-serif;
  opacity:0; transition:opacity .25s ease;
}
.ehty-popup-overlay.is-visible{opacity:1;}
.ehty-popup-overlay[hidden]{display:none;}

.ehty-popup-box{
  position:relative; width:100%; max-width:580px;
  background:#0d0d0d; border:1px solid rgba(205,175,175,.25); border-radius:4px;
  display:flex; overflow:hidden;
  transform:translateY(12px); transition:transform .25s ease;
}
.ehty-popup-overlay.is-visible .ehty-popup-box{transform:translateY(0);}

.ehty-popup-close{
  position:absolute; top:10px; right:10px; z-index:2;
  width:30px; height:30px; border-radius:50%; border:none; cursor:pointer;
  background:rgba(0,0,0,.55); color:#fff; font-size:13px;
}
.ehty-popup-close:hover{background:rgba(0,0,0,.8);}

.ehty-popup-image{width:46%; flex-shrink:0; aspect-ratio:1414/2000; overflow:hidden;}
.ehty-popup-image img{width:100%; height:100%; object-fit:cover; display:block;}

.ehty-popup-body{padding:30px 26px; display:flex; flex-direction:column; justify-content:center; gap:12px;}
.ehty-popup-body h2{
  font-family:'Playfair Display', serif; font-weight:700; font-size:21px; line-height:1.25; color:#fff; margin:0;
}
.ehty-popup-body p{font-size:13px; color:rgba(255,255,255,.6); line-height:1.65; margin:0;}

.ehty-popup-btn{
  display:inline-flex; align-items:center; justify-content:center; margin-top:6px;
  background:#CDAFAF; color:#000; border-radius:2px; padding:12px 16px;
  font-size:11px; font-weight:500; letter-spacing:.08em; text-transform:uppercase;
  text-decoration:none; transition:background .2s;
}
.ehty-popup-btn:hover{background:#b89090;}

@media (max-width:480px){
  .ehty-popup-box{flex-direction:column; max-width:340px;}
  .ehty-popup-image{width:100%; aspect-ratio:1414/2000; max-height:50vh;}
}
