.filmnacht-home-strip.filmnacht-home-strip-shipping {
    grid-template-columns: minmax(0, 1fr);
    gap: 9px;
}

.filmnacht-home-strip-shipping > nav {
    grid-template-columns: repeat(3, minmax(0, .9fr)) minmax(81px, 1.2fr);
}

.filmnacht-home-strip-shipping > nav > a {
    justify-content: center;
    min-height: 49px;
    border-radius: 9px;
}

.filmnacht-home-shipping {
    --ship-gold: #ffe19b;
    --ship-muted: #dfcde9;
    --ship-edge: #9873ab;
    --ship-backdrop: radial-gradient(ellipse at 6% 0, #553571, transparent 58%),
        linear-gradient(115deg, #35234d, #201a35 65%, #281c3b);
    min-width: 0;
    border: 1px solid var(--ship-edge);
    border-radius: 13px;
    background: var(--ship-backdrop);
    box-shadow: inset 0 1px #e4bdff23, 0 6px 16px #110a2045;
    color: var(--film-cream);
}

.home-ship-summary {
    display: grid;
    grid-template: "mascot copy toggle" auto "time time time" auto / 60px minmax(0, 1fr) 31px;
    align-items: center;
    gap: 3px 7px;
    padding: 4px 8px 8px;
    border-radius: 13px;
    cursor: pointer;
    list-style: none;
}

.home-ship-summary::-webkit-details-marker { display: none; }
.home-ship-summary:focus-visible { outline: 2px solid var(--film-mint); outline-offset: 2px; }

.home-ship-courier {
    grid-area: mascot;
    position: relative;
    display: block;
    height: 53px;
    overflow: clip;
    background: radial-gradient(ellipse at 54% 66%, #7889f656, transparent 69%);
}

/* Use the courier illustration on the left of the existing banner. */
.home-ship-courier img {
    position: absolute;
    left: -4px;
    bottom: 0;
    width: auto;
    max-width: none;
    height: 52px;
    clip-path: polygon(0 0, 38% 0, 37% 28%, 39.1% 41%, 39.1% 64%, 38.6% 100%, 0 100%);
    filter: drop-shadow(0 2px 3px #180c2d80);
}

.home-ship-copy { grid-area: copy; display: grid; gap: 2px; line-height: 1.2; }
.home-ship-copy > strong { font-size: clamp(.97rem, 2.6vw, 1.19rem); font-weight: 600; }
.home-ship-copy strong span { color: var(--film-mint); }

.home-ship-destinations {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 3px 6px;
    color: var(--ship-muted);
    font-size: .76rem;
}

.home-ship-flags { display: inline-flex; align-items: center; gap: 3px; }
.home-ship-flags > span { width: 14px; height: 10px; border-radius: 2px; box-shadow: 0 0 0 1px #fff5; }
.home-ship-nl { background: linear-gradient(#d74459 33.3%, #fff 33.3% 66.7%, #3864af 66.7%); }
.home-ship-be { background: linear-gradient(90deg, #1c1628 33.3%, #ffdc67 33.3% 66.7%, #f24a57 66.7%); }
.home-ship-trail { display: none; }

.home-ship-time {
    grid-area: time;
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 5px 34px 5px 8px;
    overflow: clip;
    border: 1px solid #c59266;
    border-radius: 8px;
    background: linear-gradient(110deg, #4c332d, #37262e 65%, #392532);
    box-shadow: inset 0 1px #ffddb225, 0 0 12px #ffc76713;
    color: var(--ship-gold);
}

.home-ship-clock {
    position: relative;
    width: 21px;
    height: 21px;
    flex: none;
    border: 1.5px solid #f8cb85;
    border-radius: 50%;
    box-shadow: 0 0 8px #ffd08230;
}

.home-ship-clock::before {
    content: "";
    position: absolute;
    top: 4px;
    left: 8px;
    width: 5px;
    height: 6px;
    border: solid var(--ship-gold);
    border-width: 0 0 1.5px 1.5px;
    border-radius: 0 0 0 1px;
}

.home-ship-time-copy {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 2px 7px;
    line-height: 1.12;
}

.home-ship-time-copy > span { color: #f7d9c2; font-size: .67rem; font-weight: 600; }
.home-ship-time-copy strong { font-size: 1.04rem; font-weight: 600; letter-spacing: -.025em; }

.home-ship-time::after {
    content: "";
    position: absolute;
    inset: -4px 0;
    background: linear-gradient(105deg, transparent 30%, #ffe3a653 50%, transparent 70%);
    opacity: 0;
    pointer-events: none;
}

.home-ship-sparkles { position: absolute; inset: 0 0 0 auto; width: 35px; pointer-events: none; }
.home-ship-sparkles span { position: absolute; color: #ffd088; font-size: 15px; line-height: 1; opacity: .65; }
.home-ship-sparkles span:nth-child(1) { right: 13px; top: 9px; --spark-delay: 50ms; }
.home-ship-sparkles span:nth-child(2) { right: 22px; top: 22px; font-size: 10px; --spark-delay: 155ms; }
.home-ship-sparkles span:nth-child(3) { right: 7px; top: 26px; font-size: 8px; --spark-delay: 235ms; }

.home-ship-toggle {
    grid-area: toggle;
    display: grid;
    place-items: center;
    justify-self: end;
    width: 29px;
    height: 29px;
    border: 1px solid #ac8aba75;
    border-radius: 8px;
    background: #c89de41a;
    color: var(--film-mint);
}

.home-ship-toggle::before {
    content: "";
    width: 7px;
    height: 7px;
    margin-top: -4px;
    border: solid currentColor;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.home-ship-summary:is(:hover, :focus-visible) .home-ship-toggle { border-color: #a6fff096; }
.filmnacht-home-shipping[open] .home-ship-toggle { border-color: #a6fff096; background: #70bfbb23; }
.filmnacht-home-shipping[open] .home-ship-toggle::before { margin-top: 3px; transform: rotate(225deg); }

.home-ship-notes {
    display: grid;
    box-sizing: border-box;
    gap: 7px;
    margin: 0 8px;
    padding: 9px 3px 10px;
    border-top: 1px dashed #b98bc06b;
}

.home-ship-notes div { min-width: 0; }
.home-ship-notes dt { font-size: .78rem; font-weight: 600; color: var(--film-mint); }
.home-ship-notes dd { margin: 0; font-size: .77rem; color: var(--ship-muted); }

@media (min-width: 560px) {
    .home-ship-summary {
        grid-template: "mascot copy time toggle" auto / 79px minmax(147px, 1fr) minmax(185px, 1.2fr) 34px;
        gap: 9px;
        min-height: 70px;
        padding: 5px 10px 5px 4px;
    }

    .home-ship-courier { height: 60px; }
    .home-ship-courier img { left: 3px; height: 62px; }
    .home-ship-destinations { font-size: .8rem; }
    .home-ship-time { min-height: 51px; gap: 9px; padding-left: 10px; }
    .home-ship-time-copy { flex-direction: column; align-items: flex-start; }
    .home-ship-time-copy > span { font-size: .68rem; }
    .home-ship-time-copy strong { font-size: clamp(1.12rem, 1.48vw, 1.43rem); }
    .filmnacht-home-shipping[data-dispatch-mode="same_day"] .home-ship-time-copy strong { font-size: clamp(1rem, 1.2vw, 1.2rem); }
    .home-ship-toggle { width: 32px; height: 32px; }
    .home-ship-notes { grid-template-columns: 1.05fr 1.12fr .86fr; gap: 13px; margin-inline: 11px; }
    .home-ship-notes div + div { padding-left: 11px; border-left: 1px solid #9873ab60; }
    .home-ship-rules { grid-column: span 2; }
}

@media (min-width: 1070px) {
    .filmnacht-home-strip.filmnacht-home-strip-shipping {
        grid-template-columns: auto minmax(0, 1fr);
        container-type: inline-size;
    }

    .filmnacht-home-strip-shipping > nav { grid-template-columns: repeat(4, auto); gap: 8px; }
    .filmnacht-home-strip-shipping > nav > a {
        min-height: 72px;
        padding-inline: clamp(11px, 1.2vw, 20px);
        font-size: clamp(.93rem, 1.05vw, 1.06rem);
    }
    .filmnacht-home-strip-shipping > nav svg { width: 21px; height: 21px; }
    .filmnacht-home-shipping { border: 0; background: none; box-shadow: none; }
    .filmnacht-home-shipping[data-dispatch-mode="same_day"] { --ship-time-track: minmax(220px, 40%); }

    .home-ship-summary {
        grid-template: "mascot copy trail time toggle" auto / 79px max-content minmax(0, 1fr) var(--ship-time-track, minmax(238px, 38%)) 34px;
        column-gap: clamp(8px, .85vw, 16px);
        min-height: 72px;
        border: 1px solid var(--ship-edge);
        background: var(--ship-backdrop);
        box-shadow: inset 0 1px #e4bdff23, 0 6px 16px #110a2045;
    }

    .home-ship-trail {
        grid-area: trail;
        position: relative;
        display: block;
        height: 15px;
        overflow: hidden;
        mask-image: linear-gradient(90deg, transparent, #000 14% 86%, transparent);
        background: radial-gradient(circle, #e0b2f185 1px, transparent 1.8px) center / 9px 7px repeat-x,
            linear-gradient(90deg, #af80dc16, #b588d04d, #f7ba6c3d) center / 100% 1px no-repeat;
    }

    .home-ship-trail::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg, transparent 23%, #bca9fd60 45%, #ffda93a0 56%, transparent 74%);
        opacity: 0;
    }

    .home-ship-notes {
        grid-template-columns: 1.1fr 1.35fr .9fr;
        width: 100cqw;
        margin: 7px 0 0 calc(100% - 100cqw);
        padding: 9px 13px;
        border: 1px solid #9873ab80;
        border-radius: 9px;
        background: linear-gradient(110deg, #322146, #251b37);
    }
}

@media (max-width: 352px) {
    .home-ship-sparkles { display: none; }
    .home-ship-time { padding-right: 8px; }
}

@media (prefers-reduced-motion: no-preference) {
    .pg-page:not(.pg-paused) .home-ship-courier img,
    .pg-page:not(.pg-paused) .home-ship-toggle::before { transition: transform .22s ease-out; }
    .pg-page:not(.pg-paused) .home-ship-summary:is(:hover, :focus-visible) .home-ship-courier img { transform: translateX(3px); }
    .filmnacht-home-shipping[open] .home-ship-notes { animation: home-ship-reveal .22s ease-out both; }
    .filmnacht-home-shipping[open] .home-ship-time::after { animation: home-ship-glint .74s .16s ease-out both; }
    .filmnacht-home-shipping[open] .home-ship-sparkles span { animation: home-ship-sparkle .57s var(--spark-delay) ease-out; }
    .filmnacht-home-shipping[open] .home-ship-courier img { animation: home-ship-hop .46s ease-out; }
    .filmnacht-home-shipping[open] .home-ship-trail::before { animation: home-ship-trail .56s ease-out both; }

    .pg-paused .filmnacht-home-shipping[open] .home-ship-notes { animation: none; }
    .pg-paused .filmnacht-home-shipping :is(.home-ship-sparkles span, .home-ship-courier img),
    .pg-paused .filmnacht-home-shipping .home-ship-time::after,
    .pg-paused .filmnacht-home-shipping .home-ship-trail::before { animation-play-state: paused; }
}

@keyframes home-ship-reveal {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes home-ship-glint {
    0% { opacity: 0; transform: translateX(-75%); }
    20% { opacity: 1; }
    100% { opacity: 0; transform: translateX(80%); }
}

@keyframes home-ship-sparkle {
    0%, 100% { opacity: .65; transform: scale(1); }
    38% { opacity: 1; transform: translateY(-3px) scale(1.45); color: #fff2ca; }
}

@keyframes home-ship-hop {
    0% { transform: translateX(0); }
    38% { transform: translate(5px, -2px) rotate(-3deg); }
    70% { transform: translate(2px, 0); }
}

@keyframes home-ship-trail {
    0% { transform: translateX(-110%); opacity: 0; }
    30% { opacity: 1; }
    100% { transform: translateX(125%); opacity: 0; }
}
