.nevash-offer-popup[hidden]{display:none!important}
.nevash-offer-popup{position:fixed;inset:0;z-index:9999;display:grid;place-items:center;padding:2rem;opacity:0;visibility:hidden;transition:opacity .25s ease,visibility .25s ease}
.nevash-offer-popup.is-open{opacity:1;visibility:visible}
.nevash-offer-popup__backdrop{position:absolute;inset:0;width:100%;height:100%;padding:0;border:0;background:rgba(25,18,18,.62);backdrop-filter:blur(5px);cursor:pointer}
.nevash-offer-popup__dialog{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,.9fr) minmax(32rem,1.1fr);width:min(92rem,100%);max-height:min(82rem,calc(100dvh - 4rem));overflow:auto;background:#fff;box-shadow:0 3rem 8rem rgba(20,12,12,.3);transform:translateY(2rem) scale(.98);transition:transform .3s cubic-bezier(.22,.8,.3,1)}
.is-open .nevash-offer-popup__dialog{transform:none}
.nevash-offer-popup__dialog--text-only{grid-template-columns:minmax(0,1fr);width:min(56rem,100%)}
.nevash-offer-popup__media{min-height:50rem;background:#f3efeb}
.nevash-offer-popup__media img{display:block;width:100%;height:100%;object-fit:cover}
.nevash-offer-popup__content{display:flex;flex-direction:column;justify-content:center;padding:clamp(3.2rem,5vw,6rem)}
.nevash-offer-popup__eyebrow{margin:0 0 1.4rem;color:var(--nevash-wine);font-size:1.15rem;font-weight:800;letter-spacing:.16em;text-transform:uppercase}
.nevash-offer-popup__content h2{margin:0;font-size:clamp(3.6rem,5vw,5.6rem);line-height:1.02}
.nevash-offer-popup__text{margin-top:1.8rem;color:rgba(var(--color-foreground),.72);font-size:1.55rem;line-height:1.65}
.nevash-offer-popup__text p{margin:0}
.nevash-offer-popup__code-wrap{margin-top:2.4rem}
.nevash-offer-popup__code-label{display:block;margin-bottom:.7rem;font-size:1.15rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.nevash-offer-popup__code{display:flex;align-items:center;justify-content:space-between;gap:2rem;width:100%;min-height:5.4rem;padding:1rem 1.5rem;border:1px dashed currentColor;background:rgba(var(--color-foreground),.035);color:rgb(var(--color-foreground));cursor:pointer}
.nevash-offer-popup__code strong{font-size:1.65rem;letter-spacing:.12em}
.nevash-offer-popup__code span{color:var(--nevash-wine);font-size:1.2rem;font-weight:800;text-transform:uppercase}
.nevash-offer-popup__button{width:100%;margin-top:2rem}
.nevash-offer-popup__note{margin:1.4rem 0 0;color:rgba(var(--color-foreground),.56);font-size:1.1rem;line-height:1.5;text-align:center}
.nevash-offer-popup__close{position:absolute;top:1.2rem;right:1.2rem;z-index:2;display:grid;width:4.2rem;height:4.2rem;padding:0;place-items:center;border:1px solid rgba(33,27,27,.12);border-radius:50%;background:rgba(255,255,255,.92);color:#211b1b;cursor:pointer;transition:background .2s ease,color .2s ease,transform .2s ease}
.nevash-offer-popup__close span{font-size:2.8rem;font-weight:300;line-height:1;transform:translateY(-.1rem)}
.nevash-offer-popup__close:hover{background:var(--nevash-wine);color:#fff;transform:rotate(5deg)}
body.nevash-popup-open{overflow:hidden}
@media screen and (max-width:749px){
  .nevash-offer-popup{align-items:end;padding:1rem}
  .nevash-offer-popup__dialog{grid-template-columns:1fr;width:100%;max-height:calc(100dvh - 2rem)}
  .nevash-offer-popup__media{min-height:0;aspect-ratio:16/8}
  .nevash-offer-popup__content{padding:2.5rem 2rem 2.2rem}
  .nevash-offer-popup__content h2{font-size:3.4rem}
  .nevash-offer-popup__text{margin-top:1.2rem;font-size:1.4rem}
  .nevash-offer-popup__code-wrap{margin-top:1.7rem}
  .nevash-offer-popup__button{margin-top:1.5rem;min-height:4.8rem}
  .nevash-offer-popup__close{top:.8rem;right:.8rem;width:3.8rem;height:3.8rem}
}
@media (prefers-reduced-motion:reduce){.nevash-offer-popup,.nevash-offer-popup__dialog{transition:none}}
