/* ── OVERLAY ── */
#hw-popup-overlay {
display: none;
position: fixed;
inset: 0;
background: rgba(116, 130, 111, 0.55);
z-index: 99998;
backdrop-filter: blur(3px);
-webkit-backdrop-filter: blur(3px);
animation: hwFadeIn 0.3s ease forwards;
align-items: center;
justify-content: center;
padding: 20px;
box-sizing: border-box;
}
#hw-popup-overlay.hw-open {
display: flex;
}
@keyframes hwFadeIn {
from { opacity: 0; }
to { opacity: 1; }
}
/* ── POPUP CARD ── */
#hw-popup-card {
position: relative;
background: #fcfbf9;
border-radius: 7px;
width: 100%;
max-width: 860px;
max-height: 90vh;
overflow: hidden;
display: grid;
grid-template-columns: 1fr 1fr;
box-shadow:
0 8px 40px rgba(58,48,40,0.18),
0 2px 10px rgba(58,48,40,0.10);
animation: hwSlideUp 0.4s cubic-bezier(0.16,1,0.3,1) forwards;
opacity: 0;
transform: translateY(28px);
}
@keyframes hwSlideUp {
to { opacity: 1; transform: translateY(0); }
}
/* ── CLOSE BUTTON ── */
#hw-popup-close {
position: absolute;
top: 14px;
right: 14px;
z-index: 10;
width: 32px;
height: 32px;
background: rgba(249,248,244,0.90);
border: none;
border-radius: 50%;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
backdrop-filter: blur(4px);
transition: background 0.2s ease;
}
#hw-popup-close:hover { background: rgba(249,248,244,1); }
#hw-popup-close svg {
width: 14px;
height: 14px;
stroke: #6a6865;
stroke-width: 2;
stroke-linecap: round;
}
/* ── IMAGE SIDE ── */
.hw-popup__image-wrap {
position: relative;
overflow: hidden;
border-radius: 7px 0 0 7px;
min-height: 400px;
}
.hw-popup__image {
width: 100%;
height: 100%;
object-fit: cover;
object-position: 28% top;
display: block;
}
.hw-popup__image-wrap::after {
content: '';
position: absolute;
inset: 0;
background: linear-gradient(160deg, rgba(178,186,169,0.15) 0%, rgba(106,104,101,0.06) 100%);
pointer-events: none;
}
/* ── DIAGONAL CORNER RIBBON ── */
.hw-popup__corner-ribbon {
position: absolute;
top: 104px;
left: -315px;
width: 630px;
height: 37px;
background: #838f80;
transform: rotate(-45deg);
transform-origin: center center;
z-index: 10;
overflow: hidden;
display: flex;
align-items: center;
box-shadow: 0 3px 10px rgba(58,48,40,0.10), 0 1px 3px rgba(58,48,40,0.07);
}
.hw-popup__corner-ribbon-track {
display: flex;
flex-direction: row;
white-space: nowrap;
animation: hwMarquee 26s linear infinite;
}
.hw-popup__corner-ribbon-track span {
font-family: 'Mulish', sans-serif;
font-size: 9px;
font-weight: 500;
letter-spacing: 0.18em;
text-transform: uppercase;
color: #ffffff;
padding: 0 7px;
white-space: nowrap;
}
.hw-popup__corner-ribbon-track span.dot {
font-size: 10px;
letter-spacing: 0;
padding: 0 1px;
opacity: 0.92;
color: #ffffff;
}
@keyframes hwMarquee {
0% { transform: translateX(0); }
100% { transform: translateX(-50%); }
}
/* ── CONTENT SIDE ── */
.hw-popup__content {
display: flex;
flex-direction: column;
justify-content: center;
padding: 32px 44px 30px;
position: relative;
overflow: hidden;
}
.hw-popup__content::after {
content: '';
position: absolute;
bottom: -50px;
right: -50px;
width: 200px;
height: 200px;
border-radius: 50%;
background: radial-gradient(circle, #f7f1ed 0%, transparent 70%);
opacity: 0.45;
pointer-events: none;
}
/* ── CONTENT ELEMENTS ── */
.hw-popup__eyebrow {
font-family: 'Mulish', sans-serif;
font-size: 10px;
font-weight: 500;
letter-spacing: 0.22em;
text-transform: uppercase;
color: #6a6865;
margin-bottom: 3px;
position: relative;
z-index: 1;
}
.hw-popup__headline {
font-family: 'Cormorant Garamond', Georgia, serif;
font-size: clamp(1.35rem, 1.7vw, 2.2rem);
font-weight: 500;
line-height: 1.18;
color: #6a6865;
margin-bottom: -2px;
position: relative;
z-index: 1;
}
.hw-popup__headline em {
font-style: italic;
color: #7e9583;
}
.hw-popup__body {
font-family: 'Mulish', sans-serif;
font-size: 14px;
font-weight: 300;
line-height: 1.75;
color: #6a6865;
margin-bottom: 28px;
position: relative;
z-index: 1;
max-width: 100%;
}
/* ── BUTTON ── */
#hw-popup-overlay a.hw-popup__btn,
#hw-popup-overlay a.hw-popup__btn:link,
#hw-popup-overlay a.hw-popup__btn:visited {
color: #ffffff !important;
text-decoration: none !important;
}
.hw-popup__btn {
display: inline-flex;
align-items: center;
gap: 10px;
background: #949e91;
color: #ffffff !important;
font-family: 'Mulish', sans-serif;
font-size: 10.5px;
font-weight: 500;
letter-spacing: 0.18em;
text-transform: uppercase;
text-decoration: none !important;
padding: 10px 22px;
border-radius: 3px;
position: relative;
z-index: 1;
width: fit-content;
overflow: hidden;
transition: box-shadow 0.3s ease;
cursor: pointer;
margin-bottom: 10px;
}
.hw-popup__btn::before {
content: '';
position: absolute;
inset: 0;
background: #d1d9ca;
transform: translateX(-105%);
transition: transform 0.45s cubic-bezier(0.16,1,0.3,1);
}
.hw-popup__btn:hover::before { transform: translateX(0); }
.hw-popup__btn:hover {
box-shadow: 0 4px 18px rgba(209,217,202,0.4);
color: #6a6865 !important;
}
.hw-popup__btn span,
.hw-popup__btn svg {
position: relative;
z-index: 1;
color: #ffffff !important;
}
.hw-popup__btn svg { transition: transform 0.3s ease; fill: none; }
.hw-popup__btn:hover svg { transform: translateX(4px); }
/* ── RESPONSIVE ── */
@media (max-width: 640px) {
#hw-popup-card {
grid-template-columns: 1fr;
grid-template-rows: 220px 36px auto;
max-height: 88vh;
overflow-y: auto;
}
.hw-popup__image-wrap {
min-height: 220px;
border-radius: 7px 7px 0 0;
}
/* Mobile ribbon — horizontal strip */
.hw-popup__corner-ribbon {
display: none;
}
.hw-popup__mobile-ribbon {
display: flex !important;
grid-row: 2;
background: #838f80;
overflow: hidden;
align-items: center;
height: 36px;
}
.hw-popup__mobile-ribbon-track {
display: flex;
flex-direction: row;
white-space: nowrap;
animation: hwMarquee 26s linear infinite;
}
.hw-popup__mobile-ribbon-track span {
font-family: 'Mulish', sans-serif;
font-size: 9px;
font-weight: 300;
letter-spacing: 0.18em;
text-transform: uppercase;
color: #ffffff;
padding: 0 12px;
white-space: nowrap;
}
.hw-popup__mobile-ribbon-track span.dot {
padding: 0 4px;
opacity: 0.92;
}
.hw-popup__content {
padding: 32px 32px 28px;
border-radius: 0 0 7px 7px;
}
.hw-popup__eyebrow {
text-align: center;
}
.hw-popup__headline {
text-align: center;
/* Constrain width so "Your motherhood was prepared for you." and
"It's time to walk in it." break to roughly equal line widths */
max-width: 280px;
margin-left: auto;
margin-right: auto;
}
.hw-popup__body {
margin-left: 10px;
margin-right: 10px;
}
.hw-popup__btn {
margin-bottom: 15px;
align-self: center;
}
}
@media (min-width: 641px) {
.hw-popup__mobile-ribbon { display: none; }
}