.purchase-notice {
    box-sizing: border-box;
    width: min(480px, calc(100% - 32px));
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
    overflow-y: auto;
    overflow-x: hidden;
    margin: auto;
    padding: 28px 28px 24px;
    border: 1px solid #ffffff26;
    border-radius: 36px 36px 40px 18px;
    background:
        radial-gradient(ellipse at 0% 0%, #64c68b70, transparent 60%),
        radial-gradient(ellipse at 100% 85%, #32b88645, transparent 55%),
        linear-gradient(145deg, #19734f 0%, #10563f 48%, #063e32 100%);
    color: #fff;
    box-shadow: 0 24px 80px #00251dcc;
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
    isolation: isolate;
}
.purchase-notice::before {
    content: "";
    position: absolute;
    inset: 60px 40px 80px;
    z-index: -1;
    background: url('logo-apotek.png') center / contain no-repeat;
    opacity: 0.08;
    filter: grayscale(1) brightness(0) invert(1) blur(2px);
    pointer-events: none;
}
.purchase-notice::backdrop { background: #052c28b8; backdrop-filter: blur(5px); }
.purchase-notice-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
}
.purchase-notice-close:hover { background: #ffffff18; }
.purchase-notice-label {
    display: inline-block;
    padding: 5px 14px;
    border: 1px solid #d0f5da55;
    border-radius: 24px;
    background: #d0f5da18;
    color: #e4f8d9;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}
.purchase-notice .purchase-notice-brand { margin: 14px 0 6px; color: #bfe4ce; font-size: 11px; font-weight: 700; letter-spacing: 2px; }
.purchase-notice h2 { margin: 0 0 14px; color: #fff; font-size: clamp(24px, 5vw, 30px); line-height: 1.18; letter-spacing: -0.7px; }
.purchase-notice h2:focus { outline: none; }
.purchase-notice p { margin: 0 0 12px; font-size: 14px; line-height: 1.6; color: #e6f2eb; }
.purchase-notice .purchase-notice-emphasis { color: #ffe36a; font-weight: 700; }
.purchase-notice-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 16px;
    padding: 11px 16px;
    border: 1px solid #ffffff40;
    border-radius: 28px;
    background: linear-gradient(110deg, #008c34, #12aa4c);
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
}
.purchase-notice-whatsapp:hover { background: #007e30; }
.purchase-notice-continue {
    display: block;
    width: 100%;
    margin-top: 8px;
    padding: 10px 16px;
    border: 1px solid #ffffff70;
    border-radius: 28px;
    background: transparent;
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}
.purchase-notice-continue:hover { background: #ffffff18; }
.purchase-notice-whatsapp svg { width: 24px; height: 24px; flex-shrink: 0; }
.purchase-notice button:focus-visible, .purchase-notice a:focus-visible { outline: 3px solid #ffda00; outline-offset: 3px; }
@media (max-width: 480px) {
    .purchase-notice { padding: 26px 20px 20px; border-radius: 28px 28px 32px 16px; }
    .purchase-notice p { font-size: 14px; }
    .purchase-notice-whatsapp { padding: 11px 12px; font-size: 13px; }
}
@media (max-height: 500px) {
    .purchase-notice { padding-block: 18px; }
    .purchase-notice .purchase-notice-brand { margin-top: 8px; }
    .purchase-notice h2 { font-size: 24px; margin-bottom: 10px; }
    .purchase-notice p { margin-bottom: 8px; line-height: 1.45; }
    .purchase-notice-whatsapp { margin-top: 10px; }
}
