/* --------------------------------------------------- TEASER (Mobile-first floating button in bottom-right corner) --------------------------------------------------- */ .promo-teaser { position: fixed; bottom: 20px; right: 20px; background-color: var(--promo-accent-bg, #3a5a40); /* Muted forest green */ color: var(--promo-accent-text, #ffffff);; padding: 12px 20px; border-radius: 50px; font-size: 14px; font-weight: 600; cursor: pointer; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15); display: flex; align-items: center; gap: 10px; transition: transform 0.3s ease, background-color 0.3s ease; z-index: 99999; user-select: none; } .promo-teaser:hover { transform: translateY(-3px); background-color: var(--promo-accent-bg-hover, #2b4231); color: var(--promo-accent-text, #ffffff); } .promo-teaser .promo-teaser-icon { font-size: 18px; line-height: 1; } .promo-teaser .promo-teaser-text { line-height: 1.2; } /* --------------------------------------------------- MODAL BACKDROP (Overlay with blur effect) --------------------------------------------------- */ .promo-modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.6); display: flex; justify-content: center; align-items: center; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 0.4s ease, visibility 0.4s ease; z-index: 100000; padding: 15px; } .promo-modal-overlay.active { opacity: 1; visibility: visible; pointer-events: auto; backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); } /* --------------------------------------------------- MODAL CONTENT (Warm cream card) --------------------------------------------------- */ .promo-modal-content { background-color: #faf8f5; width: 100%; max-width: 450px; border-radius: 12px; overflow: hidden; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2); position: relative; transform: translateY(20px); transition: transform 0.4s ease; } .promo-modal-overlay.active .promo-modal-content { transform: translateY(0); } /* --------------------------------------------------- CLOSE BUTTON ("X") --------------------------------------------------- */ .promo-modal-close { position: absolute; top: 15px; right: 15px; background: #ffffff; border: none; width: 32px; height: 32px; border-radius: 50%; font-size: 18px; line-height: 32px; text-align: center; cursor: pointer; color: #333333; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15); transition: background-color 0.2s, color 0.2s; z-index: 10; display: flex; align-items: center; justify-content: center; padding: 0; } .promo-modal-close:hover { background-color: #f0f0f0; color: #000000; } .promo-modal-close:focus, .promo-teaser:focus, .promo-btn:focus { outline: none; } .promo-modal-close:focus-visible, .promo-teaser:focus-visible, .promo-btn:focus-visible { outline: 2px solid var(--promo-accent-bg, #3a5a40); outline-offset: 2px; } /* --------------------------------------------------- MODAL HEADER IMAGE --------------------------------------------------- */ .promo-modal-header { width: 100%; height: 180px; background-size: cover; background-position: center; background-repeat: no-repeat; background-color: #e5e0d8; } /* --------------------------------------------------- MODAL TYPOGRAPHY AND CTA BUTTON (Mobile-first base) --------------------------------------------------- */ .promo-modal-body { padding: 22px 18px; text-align: center; } .promo-modal-body .promo-modal-title, .promo-modal-body h2 { font-family: "Andika", sans-serif; color: #2b4231; font-size: 20px; margin-top: 0; margin-bottom: 15px; font-weight: normal; line-height: 1.3; } .promo-modal-body .promo-modal-description { font-family: "Jost", sans-serif; text-align: left; font-weight: 300; color: #555555; font-size: 14px; line-height: 1.6; margin-bottom: 25px; } .promo-btn { display: inline-block; width: 100%; box-sizing: border-box; background-color: var(--promo-accent-bg, #3a5a40); color: var(--promo-accent-text, #ffffff) !important; text-decoration: none; padding: 14px 30px; border-radius: 8px; font-family: "Jost", sans-serif; font-weight: 400; font-size: 15px; transition: background-color 0.3s ease, transform 0.2s ease; line-height: 1.2; } .promo-btn:hover { background-color: var(--promo-accent-bg-hover, #2b4231); color: var(--promo-accent-text, #ffffff) !important; color: #ffffff !important; transform: translateY(-2px); } /* --------------------------------------------------- DESKTOP & TABLET BREAKPOINT (min-width: 601px) --------------------------------------------------- */ @media (min-width: 640px) { .promo-teaser { bottom: 30px; right: 30px; padding: 14px 24px; font-size: 15px; } .promo-modal-body { padding: 30px; } .promo-modal-body .promo-modal-title, .promo-modal-body h2 { font-size: 24px; } .promo-modal-body .promo-modal-description { font-size: 15px; } .promo-btn { width: auto; } } @media (min-width: 768px) { .promo-modal-body .promo-modal-title, .promo-modal-body h2 { font-size: 30px; margin-bottom: 2rem; } .promo-modal-body .promo-modal-description { font-size: 18px; } .promo-btn { margin-top: 1rem; font-size: 18px; } } @media (min-width: 1024px) { .promo-modal-content { display: flex; flex-basis: 50%; max-width: 45rem; } .promo-modal-body .promo-modal-title, .promo-modal-body h2 { text-align: left; } .promo-modal-content .promo-modal-header, .promo-modal-content .promo-modal-body { flex-basis: 50%; } .promo-modal-content .promo-modal-body { padding: 3rem; } .promo-modal-content .promo-modal-header { height: auto; } }