#ninon-popup-noel[hidden] { display: none !important; }
#ninon-popup-noel {
    position: fixed;
    z-index: 9990;
    left: 40px;
    bottom: 40px;
    width: min(640px, calc(100% - 80px));
    max-height: calc(100dvh - 80px);
    overflow: auto;
    display: grid;
    grid-template-columns: 32% 1fr;
    background: white;
    color: #171715;
    text-align: left;
    box-shadow: 0 4px 28px rgb(0 0 0 / 12%);
}
#ninon-popup-noel, #ninon-popup-noel * { box-sizing: border-box; }
#ninon-popup-noel .np-photo { display: block; position: absolute; inset: 0 auto 0 0; width: 32%; height: 100%; min-height: 0; object-fit: cover; object-position: 65% center; }
#ninon-popup-noel .np-copy { grid-column: 2; padding: 28px 42px 22px 24px; align-self: center; }
#ninon-popup-noel h2 { margin: 0 0 10px; color: inherit; font: 400 32px/1.05 "Didot", Georgia, serif; letter-spacing: -.015em; text-transform: none; }
#ninon-popup-noel p { margin: 0 0 10px; max-width: 35ch; font: 400 16px/1.45 "Josefin Sans", Arial, sans-serif; }
#ninon-popup-noel a { display: inline-block; padding: 4px 0; color: inherit; font: 600 14px/1.3 "Josefin Sans", Arial, sans-serif; text-decoration: none; text-transform: uppercase; }
#ninon-popup-noel a:hover { text-decoration: underline; }
#ninon-popup-noel a span { margin-left: 5px; }
#ninon-popup-noel .np-close { position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 44px; height: 44px; min-height: 0; padding: 0; border: 0; border-radius: 0; background: white; color: #282825; box-shadow: none; cursor: pointer; font: 300 25px/1 Arial, sans-serif; }
#ninon-popup-noel :focus-visible { outline: 2px solid currentColor; outline-offset: -2px; }
@media (max-width: 767px) {
    #ninon-popup-noel { --gutter: max(16px, env(safe-area-inset-left), env(safe-area-inset-right)); left: var(--gutter); right: var(--gutter); bottom: calc(16px + env(safe-area-inset-bottom)); width: auto; max-height: calc(100dvh - 48px - env(safe-area-inset-bottom)); --photo-size: clamp(112px, 35vw, 152px); height: var(--photo-size); grid-template-columns: var(--photo-size) minmax(0, 1fr); grid-template-rows: 100%; }
    #ninon-popup-noel .np-photo { position: static; width: 100%; height: 100%; aspect-ratio: 1; align-self: stretch; }
    #ninon-popup-noel .np-copy { padding: 8px 22px 8px 10px; max-height: 100%; overflow-y: auto; }
    #ninon-popup-noel h2 { font-size: clamp(17px, 4.6vw, 22px); margin-bottom: 5px; }
    #ninon-popup-noel p { font-size: 12px; line-height: 1.22; margin-bottom: 4px; }
    #ninon-popup-noel a { font-size: 11px; padding-block: 2px; }
    #ninon-popup-noel .np-close { top: 0; right: 0; width: 24px; height: 24px; font-size: 19px; }
}

/* A separate header row grows with the text and leaves the logo row intact. */
.ninon-noel-bandeau {
    box-sizing: border-box;
    position: relative;
    width: 100%;
    flex: 0 0 auto;
    grid-column: 1 / -1;
    text-align: center;
    background-color: rgba(36, 24, 17, .64);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}
.ninon-noel-bandeau a {
    display: block;
    padding: 9px 16px;
    color: #fff !important;
    font: 400 14px/1.4 "Josefin Sans", Arial, sans-serif;
    letter-spacing: normal;
    text-transform: none;
    text-decoration: none;
    text-wrap: balance;
}
.ninon-noel-bandeau .np-short, #ninon-popup-noel .np-short { display: none; }
.ninon-noel-bandeau a strong { font-weight: 600; }
.ninon-noel-bandeau a:focus-visible { outline: 2px solid white; outline-offset: -3px; }
@media (max-width: 767px) {
    .ninon-noel-bandeau .np-long, #ninon-popup-noel .np-long { display: none; }
    #ninon-popup-noel .np-short { display: inline; }
    .ninon-noel-bandeau .np-short { display: inline; white-space: nowrap; }
    .ninon-noel-bandeau a { padding: 6px 8px; font-size: clamp(12px, 3.4vw, 14px); }
}
@media (max-width: 767px) {
    body.single-product #header [data-device="mobile"] .ct-sticky-container {
        min-height: var(--np-mobile-header-height, 0px);
    }
    body.single-product #header [data-device="mobile"] .ninon-noel-bandeau + [data-row] {
        background-color: white;
    }
    body.single-product #header [data-device="mobile"] .ninon-noel-bandeau + [data-row] > .ct-container {
        min-height: 52px;
    }
}

/* Author link at the end of the book's product page. */
body.postid-5517 .nl-story-link a strong::after {
    content: "›";
    content: "›" / "";
    display: inline-block;
    margin-inline-start: calc(.25em + 5px);
    font: 600 1em/1 "Josefin Sans", Arial, sans-serif;
}
