/* Layout matched to the live Collection NOMAD archive. */
body.pm-noel-ready { --pm-noel-paper: #faf8f3; }
.pm-noel-ready :is(.qodef-content, .qodef-content-inner, .qodef-container,
.qodef-page-header, .qodef-page-header .qodef-logo-area,
.qodef-page-header .qodef-logo-area .qodef-vertical-align-containers,
.qodef-page-header .qodef-menu-area, .qodef-sticky-header .qodef-sticky-holder,
.qodef-mobile-header .qodef-mobile-header-inner) { background: var(--pm-noel-paper) !important; }
.pm-noel-ready :is(.qodef-page-header, .qodef-sticky-header, .qodef-mobile-header) :is(.qodef-logo-wrapper, .qodef-mobile-logo-wrapper, .qodef-logo-wrapper a, .qodef-mobile-logo-wrapper a) {
    background: var(--pm-noel-paper) !important;
}
.pm-noel-ready :is(.qodef-logo-wrapper, .qodef-mobile-logo-wrapper) a { isolation: isolate; }
.pm-noel-ready :is(.qodef-logo-wrapper, .qodef-mobile-logo-wrapper) img {
    background: transparent !important; mix-blend-mode: multiply !important;
}
.pm-noel-ready .qodef-title-holder[hidden],
.pm-noel-ready .term-description[hidden] { display: none !important; }

.pm-noel-hero {
    display: grid; grid-template-columns: repeat(2, minmax(0, 660px)); justify-content: center;
    overflow: hidden; text-align: left; margin: 0; background: var(--pm-noel-paper);
}
.pm-noel-copy { align-self: center; box-sizing: border-box; padding: 30px 36px; min-width: 0; }
.pm-noel-kicker {
    display: block; margin-bottom: 20px; font: 700 17px/1.4 "Helvetica Neue", Arial, sans-serif;
    letter-spacing: .14em; text-transform: uppercase; color: #384d3d;
}
.pm-noel-hero .pm-noel-copy h1 {
    margin: 0 0 18px; font: 500 clamp(34px, 3.2vw, 48px)/1.12 Poppins, sans-serif;
    letter-spacing: -.035em; text-transform: none; color: #242820;
}
.pm-noel-hero h1 em { font-style: normal; color: #61734f; }
.pm-noel-hero .pm-noel-copy p {
    margin: 0; max-width: 510px; font: 400 16px/1.7 "Helvetica Neue", Arial, sans-serif;
    letter-spacing: 0; color: #505449;
}
.pm-noel-intro-details {
    display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px;
    border-top: 1px solid #dcded2; padding-top: 15px; margin-top: 22px;
    font-family: "Helvetica Neue", Arial, sans-serif;
}
.pm-noel-intro-details span:first-child {
    font-size: 10px; font-weight: 700; letter-spacing: .09em; line-height: 1.5;
    text-transform: uppercase; color: #384d3d;
}
.pm-noel-intro-details span + span { color: #686d60; font-size: 12px; letter-spacing: .015em; line-height: 1.5; }
.pm-noel-visual { position: relative; align-self: center; min-width: 0; aspect-ratio: 16 / 9; overflow: hidden; }
.pm-noel-visual img {
    position: absolute; inset: 0; display: block; width: 100%; height: 100%;
    object-fit: cover; object-position: 50% 58%;
}
.pm-noel-visual::after {
    content: ""; position: absolute; inset: 0 auto 0 0; width: 18%; max-width: 120px;
    pointer-events: none; background: linear-gradient(to right, var(--pm-noel-paper), transparent);
}
.pm-noel-ready .qodef-pl-main-holder > ul.pm-noel-products {
    display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 36px 24px; margin: 0 !important; padding: 0 !important;
}
.pm-noel-ready ul.pm-noel-products::before, .pm-noel-ready ul.pm-noel-products::after { display: none !important; }
.pm-noel-ready .qodef-pl-main-holder > ul.pm-noel-products > li {
    min-width: 0; list-style: none; float: none !important; clear: none !important;
    width: auto !important; margin: 0 !important; padding: 0 !important;
}
.pm-noel-ready ul.pm-noel-products > .product .qodef-pl-image {
    position: relative; width: 100%; aspect-ratio: 1; overflow: hidden; background: #f2f1ed;
}
.pm-noel-ready ul.pm-noel-products > .product .qodef-pl-image > img {
    display: block; width: 100% !important; height: 100% !important; object-fit: contain;
}
.pm-noel-ready ul.pm-noel-products > .product .qodef-pl-text-wrapper { margin-top: 25px; padding-top: 0; text-align: center; }
.pm-noel-ready ul.pm-noel-products > .product .qodef-product-list-title {
    margin: 0 0 8px; font: 500 13px/1.5 Poppins, sans-serif; letter-spacing: .025em; text-transform: uppercase;
}
.pm-noel-ready ul.pm-noel-products > .product .price { display: block; }
.pm-noel-ready ul.pm-noel-products > .product .star-rating { float: none; margin: 8px auto; }
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
    .pm-noel-ready ul.pm-noel-products > .product .qodef-pl-image > img { transition: transform .3s; }
    .pm-noel-ready ul.pm-noel-products > .product .qodef-pl-inner:hover .qodef-pl-image > img { transform: scale(1.025); }
}
.pm-noel-ready ul.pm-noel-products > li.pm-noel-trust {
    position: relative; aspect-ratio: 1; align-self: start; background: #e8ecdf;
    color: #283d32; container-type: inline-size; box-sizing: border-box;
}
.pm-noel-trust-inner { position: absolute; inset: 0; box-sizing: border-box; padding: 16px 18px; }
.pm-noel-trust dl { display: flex; flex-direction: column; height: 100%; margin: 0; }
.pm-noel-trust dl > div { display: flex; flex: 1; flex-direction: column; justify-content: center; min-height: 0; padding: 9px 0; }
.pm-noel-trust dl > div + div { border-top: 1px solid #283d3226; }
.pm-noel-trust dt { font-weight: 600; font-size: clamp(11.5px, 4.6cqw, 15px); line-height: 1.35; margin: 0; }
.pm-noel-trust dd { font-size: clamp(10.5px, 4.1cqw, 13.5px); line-height: 1.5; margin: 7px 0 0; color: #505b49; }

@media (max-width: 1024px) {
    .pm-noel-copy { padding: 24px; }
    .pm-noel-hero .pm-noel-copy h1 { font-size: 34px; }
    .pm-noel-ready .qodef-pl-main-holder > ul.pm-noel-products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .pm-noel-ready ul.pm-noel-products > li.pm-noel-trust { grid-column: span 2; aspect-ratio: auto; }
    .pm-noel-trust-inner { position: static; padding: 18px; }
    .pm-noel-trust dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
    .pm-noel-trust dl > div { padding: 0; justify-content: flex-start; }
    .pm-noel-trust dl > div + div { border-top: 0; }
    .pm-noel-trust dt { font-size: 13px; }
    .pm-noel-trust dd { font-size: 12px; margin-top: 4px; }
}
@media (max-width: 768px) {
    .pm-noel-hero { grid-template-columns: minmax(0, 1fr); }
    .pm-noel-visual { display: none; }
    .pm-noel-copy { padding: 22px 24px 16px; }
    .pm-noel-kicker { font-size: 14px; margin-bottom: 15px; }
    .pm-noel-hero .pm-noel-copy h1 { font-size: 30px; margin-bottom: 12px; }
    .pm-noel-hero .pm-noel-copy p { font-size: 14px; line-height: 1.6; }
    .pm-noel-intro-details { margin-top: 16px; padding-top: 12px; gap: 8px 14px; }
    .pm-noel-intro-details span + span { font-size: 11px; }
    .pm-noel-ready .qodef-pl-main-holder > ul.pm-noel-products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
    .pm-noel-ready ul.pm-noel-products > .product .qodef-product-list-title { font-size: 12px; }
    .pm-noel-ready ul.pm-noel-products > .product .qodef-pl-text-wrapper { margin-bottom: 0 !important; }
    .pm-noel-ready ul.pm-noel-products > li.pm-noel-trust { grid-column: 1 / -1; }
    .pm-noel-trust dl { grid-template-columns: 1fr; gap: 14px; }
    .pm-noel-trust dl > div + div { border-top: 1px solid #283d3226; padding-top: 14px; }
}

/* One source for the gap below the Noël intro. */
.pm-noel-ready .qodef-content-inner > .pm-noel-hero + .pm-noel-listing { margin-top: 0 !important; padding-top: 24px !important; }
.pm-noel-ready .pm-noel-listing > .qodef-container-inner,
.pm-noel-ready .pm-noel-listing .qodef-grid-row,
.pm-noel-ready .pm-noel-listing .qodef-page-content-holder,
.pm-noel-ready .pm-noel-listing .qodef-pl-main-holder { margin-top: 0 !important; padding-top: 0 !important; }
.pm-noel-ready ul.pm-noel-products > .product .qodef-pl-inner { isolation: isolate; }
.pm-noel-ready ul.pm-noel-products > .product .qodef-pl-inner .qodef-pl-text {
    background: transparent !important; pointer-events: none;
}
.pm-noel-ready ul.pm-noel-products > .product .qodef-pl-inner .qodef-pl-text :is(a, button) { pointer-events: auto; }
.pm-noel-ready ul.pm-noel-products > .product .qodef-pl-inner > a.woocommerce-loop-product__link { z-index: 2; }
.pm-noel-ready ul.pm-noel-products > .product .qodef-pl-image .pmqa { z-index: 30; }
.pm-noel-ready ul.pm-noel-products > .product .qodef-pl-image:has(.pmqa, .pm-noel-options) .qodef-pl-text { display: none; }
.pm-noel-preorder {
    position: absolute; bottom: 12px; left: 12px; z-index: 3; pointer-events: none;
    max-width: calc(100% - 66px); box-sizing: border-box; padding: 6px 9px;
    background: rgba(255,255,255,.96); color: #211f1f;
    font-size: 12px; font-weight: 500; line-height: 1.4; text-align: left;
}
.pm-noel-options {
    position: absolute; right: 10px; bottom: 10px; z-index: 30; width: 44px; height: 44px;
}
.pmqa ~ .pm-noel-options, .qodef-pl-image:has(.pmqa) .pm-noel-options { display: none; }
.pm-noel-options-button {
    display: grid; place-items: center; box-sizing: border-box; width: 100%; height: 100%;
    color: #25372e; background: rgba(248,245,238,.94); border-radius: 50%;
}
.pm-noel-options-button svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }
.pm-noel-options-button:focus-visible { outline: 2px solid #a85334; outline-offset: 2px; }
@media (hover:hover) and (pointer:fine) {
    .pm-noel-options-button { opacity: 0; pointer-events: none; }
    .qodef-pl-image:hover .pm-noel-options-button, .pm-noel-options-button:focus { opacity: 1; pointer-events: auto; }
}
@media (max-width: 768px) {
    .pm-noel-ready .qodef-content-inner > .pm-noel-hero + .pm-noel-listing { padding-top: 12px !important; }
    .pm-noel-preorder { bottom: 6px; left: 6px; padding: 3px 5px; max-width: calc(100% - 50px); font-size: 9px; line-height: 1.25; }
}
@media (max-width: 600px) {
    .pm-noel-options { right: 1px; bottom: 1px; width: 40px; height: 40px; }
    .pm-noel-options-button { background: radial-gradient(circle,rgba(248,245,238,.94) 14px,transparent 14px); }
    .pm-noel-options-button svg { width: 16px; height: 16px; }
}

.pm-noel-variant-link { position: absolute; inset: 0; display: block; z-index: 2; }
.pm-noel-variant-link:focus-visible { outline: 2px solid #384d3d; outline-offset: -3px; }
.pm-noel-sold-out {
    position: absolute; top: 12px; right: 12px; z-index: 3; pointer-events: none;
    background: rgba(255,255,255,.96); color: #211f1f; padding: 4px 8px; font-size: 11px;
}

.pm-happy-hero [hidden], .term-happy-friday-fr.pm-noel-ready .qodef-content-inner :is(.woocommerce-info, .woocommerce-no-products-found)[hidden] {
    display: none !important;
}
.pm-happy-hero .pm-noel-visual img { object-position: center; }
.pm-happy-offer {
    position: absolute; top: 12px; left: 12px; z-index: 3; max-width: calc(100% - 24px);
    box-sizing: border-box; padding: 4px 8px; background: #f7f3eb; color: #384d3d;
    font-size: 11px; line-height: 1.35; pointer-events: none;
}
@media (max-width: 768px) {
    .pm-happy-offer { top: 6px; left: 6px; padding: 3px 5px; font-size: 9px; }
}

.pm-noel-hero.pm-noel-contained { max-width: 1100px; width: calc(100% - 48px); margin-inline: auto; }
.pm-noel-hero h1 em { color: var(--pm-noel-accent, #61734f); }
.pm-noel-visual { background: var(--pm-noel-image_bg, #e2e4d9); }
.pm-noel-caption { position: absolute; z-index: 1; bottom: 12px; right: 16px; padding: 4px 8px; background: var(--pm-noel-paper); color: #242820; }
.pm-noel-copy a.pm-noel-cta { display: inline-flex; align-items: center; min-height: 44px; margin-top: 18px; padding: 0 18px; background: var(--pm-noel-button_bg, #283d32); color: #fff; }
.pm-noel-grid-anchor { scroll-margin-top: 110px; }
.pm-noel-grid-intro { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.pm-noel-grid-intro .pm-noel-kicker { margin-bottom: 8px; }
.pm-noel-grid-intro h2 { margin: 0; font: 500 clamp(23px, 2.4vw, 34px)/1.2 Poppins, sans-serif; color: #242820; }
.pm-noel-grid-intro p { margin: 0; max-width: 430px; }
.pm-noel-ready .qodef-pl-main-holder > ul.pm-noel-products { grid-template-columns: repeat(var(--pm-noel-columns, 4), minmax(0, 1fr)); gap: var(--pm-noel-gap_y, 36px) var(--pm-noel-gap_x, 24px); }
.pm-noel-ready ul.pm-noel-products > .product .qodef-pl-text-wrapper { margin-top: var(--pm-noel-title_gap, 25px); }
.pm-noel-ready ul.pm-noel-products > li.pm-noel-trust { background: var(--pm-noel-trust_bg, #e8ecdf); }
@media (max-width: 1024px) {
    .pm-noel-ready .qodef-pl-main-holder > ul.pm-noel-products { grid-template-columns: repeat(clamp(1, var(--pm-noel-columns, 4), 3), minmax(0, 1fr)); }
    .pm-noel-ready ul.pm-noel-products > li.pm-noel-trust { grid-column: span 2; }
    .pm-noel-ready ul.pm-noel-products > li.pm-noel-trust { grid-column: span clamp(1, var(--pm-noel-columns, 4), 2); }
}
@media (max-width: 768px) {
    .pm-noel-hero.pm-noel-mobile-photo .pm-noel-visual { display: block; }
    .pm-noel-grid-intro { display: block; }
    .pm-noel-grid-intro p { margin-top: 8px; }
    .pm-noel-ready .qodef-pl-main-holder > ul.pm-noel-products { grid-template-columns: repeat(var(--pm-noel-columns_mobile, 2), minmax(0, 1fr)); gap: calc(var(--pm-noel-gap_y, 36px) * 7 / 9) calc(var(--pm-noel-gap_x, 24px) * 2 / 3); }
    .pm-noel-ready ul.pm-noel-products > li.pm-noel-trust { grid-column: 1 / -1; }
}

/* Keep the longer second line in proportion to the Noël intro column. */
.term-selection-de-noel .pm-noel-hero .pm-noel-copy { container-type: inline-size; }
.term-selection-de-noel .pm-noel-hero .pm-noel-copy h1 { font-size: 27px; }
.term-selection-de-noel .pm-noel-hero .pm-noel-copy h1 em { font-size: .91em; }
@media (min-width: 769px) {
    .term-selection-de-noel .pm-noel-hero .pm-noel-copy h1 {
        font-size: clamp(22px, 7.7cqw, 42px);
    }
    .term-selection-de-noel .pm-noel-hero .pm-noel-copy h1 em {
        font-size: clamp(19px, 6.25cqw, 38px);
    }
}
