/* Site-wide newsletter invitation popup. */
.newsletter-popup { width: min(940px, calc(100vw - 36px)); max-width: none; max-height: calc(100dvh - 36px); padding: 0; overflow: visible; color: var(--np-ivory); border: 0; background: transparent; }
.newsletter-popup[open] { display: block; }
.newsletter-popup::backdrop { background: rgba(7,7,6,.78); backdrop-filter: blur(4px); animation: newsletter-backdrop-in .45s ease both; }
.newsletter-popup__panel { position: relative; display: grid; max-height: calc(100dvh - 36px); grid-template-columns: minmax(0,1.04fr) minmax(250px,.96fr); align-items: center; gap: clamp(25px,4vw,54px); padding: clamp(36px,5.5vw,66px); overflow: auto; border: 1px solid rgba(184,154,90,.58); background: linear-gradient(145deg,#302d28 0%,#24221e 58%,#2c2822 100%); box-shadow: 0 26px 100px rgba(0,0,0,.42); animation: newsletter-popup-in .68s cubic-bezier(.2,.7,.2,1) both; }
.newsletter-popup__close { position: absolute; z-index: 2; top: 13px; right: 13px; display: grid; width: 36px; height: 36px; place-items: center; padding: 0; color: var(--np-ivory); border: 1px solid rgba(221,194,127,.5); border-radius: 50%; background: rgba(255,255,255,.035); cursor: pointer; transition: color .2s ease, border-color .2s ease, background .2s ease; }
.newsletter-popup__close:hover { color: #201e19; border-color: #ddc27f; background: #ddc27f; }
.newsletter-popup__close span { display: block; font: 300 25px/1 var(--np-sans); transform: translateY(-1px); }
.newsletter-popup__copy { position: relative; z-index: 1; max-width: 475px; }
.newsletter-popup__eyebrow { margin: 0 0 15px; color: var(--np-gold); font-size: 9px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.newsletter-popup__copy h2 { max-width: 480px; margin: 0; color: var(--np-ivory); font: 400 clamp(35px,4.4vw,52px)/1.05 var(--np-serif); letter-spacing: -.025em; text-wrap: balance; }
.newsletter-popup__description { max-width: 360px; margin: 18px 0 0; color: #d1c7b5; font-size: 13px; line-height: 1.8; }
.newsletter-popup__discount { display: flex; align-items: baseline; gap: 12px; margin: 7px 0 0; color: #e4cb8c; font: 700 clamp(56px,7vw,78px)/.98 var(--np-sans); letter-spacing: -.07em; white-space: nowrap; }
.newsletter-popup__discount span:last-child { font: 600 .52em/1 var(--np-sans); letter-spacing: .12em; }
.newsletter-popup__fine-print { margin: 2px 0 0; color: #d1c7b5; font-size: 13px; line-height: 1.6; }
.newsletter-popup__cta { display: flex; grid-column: 1 / -1; width: 100%; min-width: 0; box-sizing: border-box; justify-content: center; margin: 0; color: var(--np-charcoal); border: 1px solid rgba(255,250,241,.48); }
.newsletter-popup__cta:hover { color: var(--np-charcoal); border-color: #e3c77f; background: #e3c77f; }
.newsletter-popup__image { position: relative; display: grid; min-height: 350px; place-items: center; margin: 0; overflow: hidden; border: 1px solid rgba(184,154,90,.38); background: radial-gradient(ellipse at 50% 42%,#fffdf8 0%,#f2ece0 60%,#ded3bf 100%); }
.newsletter-popup__image::before { position: absolute; inset: 10px; content: ""; border: 1px solid rgba(141,112,56,.22); pointer-events: none; }
.newsletter-popup__product-image { display: block; width: 100%; height: 100%; max-height: 420px; padding: clamp(18px,3vw,36px); object-fit: contain; mix-blend-mode: multiply; }
.newsletter-popup__fallback-image { display: block; width: 100%; height: 100%; min-height: 350px; padding: 25px; object-fit: cover; opacity: .72; }
@keyframes newsletter-popup-in { from { opacity: 0; transform: translateY(24px) scale(.975); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes newsletter-backdrop-in { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 700px) {
	.newsletter-popup { width: calc(100vw - 24px); max-height: calc(100dvh - 24px); }
	.newsletter-popup__panel { max-height: calc(100dvh - 24px); grid-template-columns: minmax(0,1fr); gap: 20px; padding: 54px 22px 22px; }
	.newsletter-popup__copy h2 { max-width: 500px; font-size: clamp(32px,8.8vw,44px); }
	.newsletter-popup__description, .newsletter-popup__fine-print { font-size: 12px; }
	.newsletter-popup__discount { font-size: clamp(52px,14vw,68px); }
	.newsletter-popup__cta { width: 100%; }
	.newsletter-popup__image { min-height: clamp(160px,42vw,230px); }
	.newsletter-popup__product-image, .newsletter-popup__fallback-image { max-height: 230px; min-height: 0; }
}
