.newsletter-popup-section{--newsletter-popup-max-width: 420px;--newsletter-popup-padding: 24px;--newsletter-popup-radius: 12px;--newsletter-popup-bg: var(--drawer-bg);--newsletter-popup-border: var(--drawer-border);--newsletter-popup-inset: var(--space-4, 16px)}.newsletter-popup{position:fixed;top:0;right:0;bottom:0;left:0;z-index:220;opacity:0;visibility:hidden;transition:opacity var(--transition-normal),visibility var(--transition-normal)}.newsletter-popup[aria-hidden=false]{opacity:1;visibility:visible}.newsletter-popup__overlay{position:absolute;top:0;right:0;bottom:0;left:0;background-color:color-mix(in srgb,var(--drawer-overlay) calc(var(--drawer-overlay-opacity) * 100%),transparent);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}.newsletter-popup__content{position:absolute;width:calc(100% - var(--newsletter-popup-inset) * 2);max-width:var(--newsletter-popup-max-width);max-height:calc(100vh - var(--newsletter-popup-inset) * 2);overflow-y:auto;overscroll-behavior:contain;background-color:var(--newsletter-popup-bg);border-radius:var(--newsletter-popup-radius);box-shadow:0 8px 32px #00000026;transition:transform var(--transition-slow),opacity var(--transition-normal)}.newsletter-popup--center .newsletter-popup__content{top:50%;left:50%;transform:translate(-50%,-50%) scale(.95);opacity:0}.newsletter-popup--center[aria-hidden=false] .newsletter-popup__content{transform:translate(-50%,-50%) scale(1);opacity:1}.newsletter-popup--bottom .newsletter-popup__content{bottom:var(--newsletter-popup-inset);left:50%;transform:translate(-50%) translateY(calc(100% + var(--newsletter-popup-inset)))}.newsletter-popup--bottom[aria-hidden=false] .newsletter-popup__content{transform:translate(-50%) translateY(0)}.newsletter-popup__close{position:absolute;top:var(--space-3, 12px);right:var(--space-3, 12px);display:flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;border:none;background:transparent;color:var(--drawer-text);border-radius:var(--radius-full);cursor:pointer;transition:background-color var(--transition-fast),color var(--transition-fast);z-index:10}.newsletter-popup__close:hover{background-color:var(--drawer-fill);color:var(--drawer-heading)}.newsletter-popup__close [data-lucide]{width:20px;height:20px}.newsletter-popup__form-state{padding:var(--newsletter-popup-padding)}.newsletter-popup__form{display:flex;flex-direction:column;gap:var(--space-4, 16px)}.newsletter-popup__image{margin:calc(var(--newsletter-popup-padding) * -1);margin-bottom:0;overflow:hidden;border-radius:var(--newsletter-popup-radius) var(--newsletter-popup-radius) 0 0}.newsletter-popup__image img{width:100%;height:auto;aspect-ratio:var(--image-aspect-ratio, 16/9);object-fit:cover;display:block}.newsletter-popup__heading{font-family:var(--font-heading--family);font-size:var(--heading-size, 24px);font-weight:var(--heading-weight, 600);text-align:var(--heading-align, center);color:var(--color-heading);line-height:1.2;margin:0}.newsletter-popup__text{font-family:var(--font-body--family);font-size:var(--text-size, 14px);text-align:var(--text-align, center);color:var(--drawer-text);line-height:1.5;margin:0}.newsletter-popup__input-wrapper,.newsletter-popup__input-wrapper .input{width:100%}.newsletter-popup__input--rectangle .input__wrapper{border-radius:var(--radius-sm, 4px)}.newsletter-popup__input--squircle .input__wrapper{border-radius:var(--radius-md, 8px)}.newsletter-popup__input--round .input__wrapper{border-radius:var(--radius-full, 9999px)}.newsletter-popup__helper-text{font-family:var(--font-body--family);font-size:12px;color:var(--drawer-text-secondary);margin:var(--space-1, 4px) 0 0 0;text-align:center}.newsletter-popup__button-wrapper,.newsletter-popup__button-wrapper .btn--full{width:100%}.newsletter-popup__error{font-family:var(--font-body--family);font-size:13px;color:var(--color-error, #ef4444);text-align:center;padding:var(--space-2, 8px) var(--space-3, 12px);background:#ef44441a;border-radius:var(--radius-sm);display:none}.newsletter-popup__error:not(:empty){display:block;margin-top:var(--space-2, 8px)}.newsletter-popup__success-state{display:none;padding:var(--newsletter-popup-padding)}.newsletter-popup.is-success .newsletter-popup__form-state{display:none}.newsletter-popup.is-success .newsletter-popup__success-state{display:block}.newsletter-popup__success-content{display:flex;flex-direction:column;align-items:center;gap:var(--space-4, 16px);text-align:center}.newsletter-popup__success-icon{display:flex;align-items:center;justify-content:center;width:64px;height:64px;background:var(--color-success-light, rgba(34, 197, 94, .1));color:var(--color-success, #22c55e);border-radius:var(--radius-full)}.newsletter-popup__success-icon [data-lucide]{width:32px;height:32px}.newsletter-popup__success-title{font-family:var(--font-heading--family);font-size:var(--heading-size, 24px);font-weight:var(--heading-weight, 700);text-align:var(--heading-align, center);color:var(--color-heading);line-height:1.2;margin:0}.newsletter-popup__success-message{font-family:var(--font-body--family);font-size:var(--text-size, 14px);text-align:var(--text-align, center);color:var(--drawer-text);line-height:1.5;margin:0}.newsletter-popup__discount{display:flex;align-items:center;justify-content:center;width:100%;padding:var(--space-4, 16px);background:var(--drawer-fill);border:1px dashed var(--color-border-default);border-radius:var(--radius-md)}.newsletter-popup__discount-code{font-family:var(--font-mono, monospace);font-size:20px;font-weight:700;letter-spacing:.1em;color:var(--drawer-heading);text-align:center}.newsletter-popup__continue{font-family:var(--font-body--family);font-size:14px;font-weight:500;color:var(--drawer-text);background:none;border:none;cursor:pointer;padding:var(--space-2, 8px) var(--space-4, 16px);text-decoration:underline;text-underline-offset:2px;transition:color var(--transition-fast)}.newsletter-popup__continue:hover{color:var(--drawer-heading)}@media (max-width: 600px){.newsletter-popup__content{bottom:var(--newsletter-popup-inset);left:var(--newsletter-popup-inset);right:var(--newsletter-popup-inset);top:auto;width:auto;max-width:none;max-height:calc(90vh - var(--newsletter-popup-inset) * 2)}.newsletter-popup--center .newsletter-popup__content{top:auto;left:var(--newsletter-popup-inset);right:var(--newsletter-popup-inset);bottom:var(--newsletter-popup-inset);transform:translateY(calc(100% + var(--newsletter-popup-inset)))}.newsletter-popup--center[aria-hidden=false] .newsletter-popup__content{transform:translateY(0)}.newsletter-popup--bottom .newsletter-popup__content{left:var(--newsletter-popup-inset);right:var(--newsletter-popup-inset);transform:translateY(calc(100% + var(--newsletter-popup-inset)))}.newsletter-popup--bottom[aria-hidden=false] .newsletter-popup__content{transform:translateY(0)}.newsletter-popup__form-state,.newsletter-popup__success-state{padding:var(--space-5, 20px)}.newsletter-popup__heading{font-size:calc(var(--heading-size, 24px) * .85)}}.newsletter-popup.is-loading .newsletter-popup__submit{pointer-events:none;opacity:.7}body.newsletter-popup-open{overflow:hidden}@keyframes newsletter-popup-success-icon{0%{transform:scale(0);opacity:0}50%{transform:scale(1.1)}to{transform:scale(1);opacity:1}}.newsletter-popup.is-success .newsletter-popup__success-icon{animation:newsletter-popup-success-icon .4s ease-out forwards}@keyframes newsletter-popup-fade-in-up{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.newsletter-popup.is-success .newsletter-popup__success-title,.newsletter-popup.is-success .newsletter-popup__success-message,.newsletter-popup.is-success .newsletter-popup__discount,.newsletter-popup.is-success .newsletter-popup__continue{animation:newsletter-popup-fade-in-up .3s ease-out forwards}.newsletter-popup.is-success .newsletter-popup__success-title{animation-delay:.15s;opacity:0}.newsletter-popup.is-success .newsletter-popup__success-message{animation-delay:.25s;opacity:0}.newsletter-popup.is-success .newsletter-popup__discount{animation-delay:.35s;opacity:0}.newsletter-popup.is-success .newsletter-popup__continue{animation-delay:.45s;opacity:0}
/*# sourceMappingURL=/cdn/shop/t/18/assets/newsletter-popup.css.map */
