.ast-weekend-banner[hidden],
body:has(.astrolantis-cookie-banner.is-visible, .astrolantis-cookie-panel.is-visible) .ast-weekend-banner {
    display: none !important;
}

.ast-weekend-banner {
    position: fixed;
    z-index: 790;
    inset-inline-end: max(24px, env(safe-area-inset-right));
    inset-block-end: max(24px, env(safe-area-inset-bottom));
    box-sizing: border-box;
    inline-size: min(372px, calc(100vw - 48px));
    max-block-size: calc(100dvh - 48px);
    overflow: auto;
    border: 1px solid #49625a;
    border-radius: 16px;
    background: #132e29;
    box-shadow: 0 14px 38px #101f2338;
    color: #fff9ec;
    font: 15px/1.4 system-ui, sans-serif;
    text-align: start;
    animation: ast-weekend-enter 420ms ease-out both;
}

.ast-weekend-banner a.ast-weekend-banner__link,
.ast-weekend-banner a.ast-weekend-banner__link:hover,
.ast-weekend-banner a.ast-weekend-banner__link:focus,
.ast-weekend-banner a.ast-weekend-banner__link:active {
    display: block;
    color: inherit;
    font: inherit;
    text-decoration: none;
}

.ast-weekend-banner a.ast-weekend-banner__link:focus-visible {
    outline: 3px solid #ffcf39;
    outline-offset: -4px;
    border-radius: inherit;
}

.ast-weekend-banner__hero {
    padding: 17px 20px 18px;
    background: linear-gradient(90deg, #061c2470, #061c2410 76%),
        url(sternenhimmel.webp) center 47% / cover no-repeat;
}

.ast-weekend-banner__close {
    position: absolute;
    z-index: 1;
    inset: 8px 8px auto auto;
    display: grid;
    place-items: center;
    inline-size: 44px;
    block-size: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #fff9ec;
    font: 26px/1 system-ui, sans-serif;
    cursor: pointer;
}

.ast-weekend-banner__close:hover,
.ast-weekend-banner__close:focus-visible {
    background: #ffffff20;
    color: #fff9ec;
    font-size: 26px;
    line-height: 1;
}

.ast-weekend-banner__masthead {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px 9px;
    margin: 0 30px 9px 0;
}

.ast-weekend-banner__brand {
    color: #fff4d9;
    font: 700 16px/1.15 Georgia, serif;
}

.ast-weekend-banner__label {
    padding: 5px 9px;
    border-radius: 4px;
    background: #ffcf39;
    color: #252000;
    font: 800 13px/1.25 system-ui, sans-serif;
    letter-spacing: .045em;
}

.ast-weekend-banner__product {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 112px;
    gap: 13px;
    align-items: center;
}

.ast-weekend-banner__pages {
    position: relative;
    aspect-ratio: 1 / 1.09;
}

.ast-weekend-banner .ast-weekend-banner__sheet {
    position: absolute;
    display: block;
    inline-size: 66%;
    block-size: auto;
    border-radius: 1px;
    box-shadow: 0 2px 7px #06161970;
}

.ast-weekend-banner__sheet:nth-child(1) {
    inset: 7% auto auto 7%;
    transform: rotate(-18deg);
}

.ast-weekend-banner__sheet:nth-child(2) {
    inset: 4% auto auto 14%;
    transform: rotate(-10deg);
}

.ast-weekend-banner__sheet:nth-child(3) {
    inset: 3% auto auto 21%;
    transform: rotate(-2deg);
}

.ast-weekend-banner__sheet--cover {
    inset: 4% 5% auto auto;
    transform: rotate(7deg);
}

.ast-weekend-banner #ast-weekend-banner-title {
    margin: 0;
    padding: 0;
    color: #fff9ec;
    font: 600 22px/1.14 Georgia, serif;
    text-transform: none;
}

.ast-weekend-banner .ast-weekend-banner__description {
    margin: 6px 0 0;
    color: #eee9db;
    font: 13px/1.35 system-ui, sans-serif;
}

.ast-weekend-banner__actions {
    padding: 12px 20px 16px;
    background: #fff9ee;
}

.ast-weekend-banner .ast-weekend-banner__offer {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 8px;
    align-items: center;
    margin: 0 0 8px;
    color: #18342c;
    font: 13px/1.35 system-ui, sans-serif;
}

.ast-weekend-banner .ast-weekend-banner__pricing {
    display: grid;
    gap: 2px;
    margin: 0;
    font: inherit;
}

.ast-weekend-banner__price-label {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .025em;
}

.ast-weekend-banner__price strong {
    font-size: 20px;
    line-height: 1;
}

.ast-weekend-banner__price > span,
.ast-weekend-banner__regular {
    color: #526059;
    font-size: 11px;
}

.ast-weekend-banner__discount {
    margin-inline-start: auto;
    padding: 4px 9px;
    border-radius: 5px;
    background: #ffcf39;
    color: #252000;
    font: 850 21px/1.15 system-ui, sans-serif;
    white-space: nowrap;
    animation: ast-weekend-wiggle 460ms ease-in-out 2s 1;
}

.ast-weekend-banner__discount > span {
    font-size: 12px;
    font-weight: 800;
}

.ast-weekend-banner .ast-weekend-banner__cta {
    display: grid;
    min-block-size: 44px;
    box-sizing: border-box;
    place-items: center;
    padding: 8px 9px;
    border-radius: 7px;
    background: #183e34;
    color: #fff9ec;
    font: 700 14px/1.35 system-ui, sans-serif;
    text-align: center;
    text-decoration: none;
}

.ast-weekend-banner__link:hover .ast-weekend-banner__cta,
.ast-weekend-banner__link:focus-visible .ast-weekend-banner__cta {
    background: #245447;
}

.ast-weekend-banner__close:focus-visible {
    outline: 2px solid #c18b33;
    outline-offset: 3px;
}

@keyframes ast-weekend-enter {
    from { opacity: 0; transform: translateX(28px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes ast-weekend-wiggle {
    0%, 100% { transform: rotate(0); }
    22% { transform: rotate(-6deg); }
    45% { transform: rotate(5deg); }
    68% { transform: rotate(-3deg); }
    82% { transform: rotate(2deg); }
}

@media (max-width: 600px) {
    .ast-weekend-banner {
        inset-inline: 12px;
        inset-block-end: calc(12px + env(safe-area-inset-bottom));
        inline-size: auto;
        max-block-size: 55dvh;
        border-radius: 12px;
    }

    .ast-weekend-banner__masthead { margin-block-end: 6px; }
    .ast-weekend-banner__close { inset: 2px 2px auto auto; }
    .ast-weekend-banner__hero { padding: 11px 14px 10px; }
    .ast-weekend-banner__actions { padding: 8px 14px 11px; }
    .ast-weekend-banner__product { grid-template-columns: minmax(0, 1fr) 90px; gap: 9px; }
    .ast-weekend-banner #ast-weekend-banner-title { font-size: 19px; }
    .ast-weekend-banner .ast-weekend-banner__description { margin-block-start: 4px; }
    .ast-weekend-banner .ast-weekend-banner__offer { margin-block-end: 6px; }
    .ast-weekend-banner__discount { font-size: 20px; }
}

@media (prefers-reduced-motion: reduce) {
    .ast-weekend-banner,
    .ast-weekend-banner__discount { animation: none; }
}

