/* Figma CTA tile: 516:30051 (L), 411:16236 (XS). Product card height follows its neighbours. */
body.theme-savoy .nm-products .dudette-flash-card .dudette-flash-inner { box-sizing: border-box; justify-content: space-between; gap: 24px; padding: 16px; height: calc(100cqi * 224 / 164 + 212px); }
body.theme-savoy .nm-products .dudette-flash-copy { flex: none; min-height: 0; overflow: visible; color: var(--dudette-pearly-white); }
body.theme-savoy .nm-products .dudette-flash-icon { display: block; width: 40px; height: 40px; object-fit: contain; margin: 0 0 16px; }
body.theme-savoy .nm-products .dudette-flash-copy h3 { padding: 0; margin: 0 0 8px; color: inherit; font: 400 24px/32px 'Futura Condensed PT',sans-serif; overflow-wrap: anywhere; }
body.theme-savoy .nm-products .dudette-flash-copy p { margin: 0; color: inherit; font: 400 18px/24px Jost,sans-serif; overflow-wrap: anywhere; }
body.theme-savoy .nm-products .dudette-flash-link { box-sizing: border-box; display: flex; flex: none; align-items: center; justify-content: center; min-height: 40px; width: 100%; padding: 8px 12px; border: 1px solid var(--dudette-pearly-white); border-radius: 4px; color: var(--dudette-pearly-white); background: transparent; font: 400 16px/24px Jost,sans-serif; text-align: center; }
body.theme-savoy .nm-products .dudette-flash-link:hover { background: rgba(169,178,169,.24); }
@media (min-width: 768px) { body.theme-savoy .nm-products .dudette-flash-card .dudette-flash-inner { padding: 24px; height: calc(100cqi * 224 / 164 + 180px); } }
@media (min-width: 1024px) { body.theme-savoy .nm-products .dudette-flash-card .dudette-flash-inner { padding: 24px; } }
@media (min-width: 1440px) { body.theme-savoy .nm-products .dudette-flash-card .dudette-flash-inner { padding: 40px; } }
body.theme-savoy .nm-products .flash-content-l .dudette-flash-copy p { font: 500 14px/20px Jost,sans-serif; }
body.theme-savoy .nm-products .flash-content-s .dudette-flash-copy p { font: 400 24px/32px 'Futura Condensed PT',sans-serif; }
body.theme-savoy .nm-products .dudette-flash-media { position: relative; flex: 1 1 0; min-height: 60px; width: 100%; display: flex; align-items: center; justify-content: center; }
body.theme-savoy .nm-products .dudette-flash-media img { position: absolute; inset: 0; display: block; width: 100%; max-height: 100%; height: 100%; object-fit: contain; }
body.theme-savoy .nm-products .flash-visuals-image .dudette-flash-inner,
body.theme-savoy .nm-products .flash-visuals-two-images .dudette-flash-inner { gap: 16px; }
@media (min-width: 1440px) { body.theme-savoy .nm-products .flash-visuals-image .dudette-flash-inner, body.theme-savoy .nm-products .flash-visuals-two-images .dudette-flash-inner { gap: 40px; } }
body.theme-savoy .nm-products .dudette-flash-link:focus-visible { outline: 2px solid var(--dudette-pearly-white); outline-offset: 3px; }
body.theme-savoy .nm-products .dudette-flash-card { --flash-bg: var(--dudette-moody-grey); --flash-fg: var(--dudette-pearly-white); }
body.theme-savoy .nm-products .dudette-flash-card .dudette-flash-inner { background: var(--flash-bg); color: var(--flash-fg); }
body.theme-savoy .nm-products .dudette-flash-copy { color: inherit; }
body.theme-savoy .nm-products .dudette-flash-link { color: inherit; border-color: currentColor; background: var(--flash-bg); order: 99; height: 40px; padding-block: 0; }
body.theme-savoy .nm-products .dudette-flash-link:hover { background: var(--flash-bg); background: color-mix(in srgb, var(--flash-bg) 88%, var(--flash-fg) 12%); }
body.theme-savoy .nm-products .flash-bg-jazzy-black { --flash-bg: var(--dudette-jazzy-black); }
body.theme-savoy .nm-products .flash-bg-dark-green { --flash-bg: var(--dudette-dark-green); }
body.theme-savoy .nm-products .flash-bg-cloudy-wine { --flash-bg: var(--dudette-cloudy-wine); }
body.theme-savoy .nm-products .flash-bg-green { --flash-bg: var(--dudette-green); --flash-fg: var(--dudette-jazzy-black); }
body.theme-savoy .nm-products .flash-bg-pearly-white { --flash-bg: var(--dudette-pearly-white); --flash-fg: var(--dudette-jazzy-black); }
body.theme-savoy .nm-products .flash-bg-peony-blush { --flash-bg: var(--dudette-peony-blush); --flash-fg: var(--dudette-jazzy-black); }
body.theme-savoy .nm-products .flash-placement-top .dudette-flash-media { order: 0; }
body.theme-savoy .nm-products .flash-placement-top .dudette-flash-copy { order: 1; }
body.theme-savoy .nm-products .flash-placement-bottom .dudette-flash-copy { order: 0; display: flex; flex-direction: column; }
body.theme-savoy .nm-products .flash-placement-bottom .dudette-flash-media { order: 1; }
body.theme-savoy .nm-products .flash-placement-bottom .dudette-flash-icon { order: 2; margin: 16px 0 0; }
/* Brainstorm: edge-cropped decorative art, separate from the readable text layer. */
body.theme-savoy .nm-products .flash-poster .dudette-flash-inner { position: relative; overflow: hidden; isolation: isolate; justify-content: flex-start; }
body.theme-savoy .nm-products .flash-poster .dudette-flash-copy { position: relative; z-index: 1; width: 100%; }
body.theme-savoy .nm-products .flash-poster .dudette-flash-copy h3 { margin-bottom: 16px; }
body.theme-savoy .nm-products .flash-poster.flash-text-center .dudette-flash-copy { margin-block: auto; }
body.theme-savoy .nm-products .flash-poster .dudette-flash-link { position: relative; z-index: 2; margin-top: auto; }
body.theme-savoy .nm-products .dudette-poster-art { position: absolute; pointer-events: none; z-index: 0; left: calc(50% + var(--art1-x, 0%)); width: var(--art1-scale, 210%); bottom: calc(0% - var(--art1-y, 0%)); transform: translateX(-50%) rotate(var(--art1-rotation, 0deg)); transform-origin: center; }
body.theme-savoy .nm-products .dudette-poster-art img { display: block; width: 100%; max-width: none; height: auto; }
body.theme-savoy .nm-products .flash-visuals-poster-top-bottom .poster-art-1 { top: calc(-8% + var(--art1-y, 0%)); bottom: auto; width: var(--art1-scale, 120%); }
body.theme-savoy .nm-products .flash-visuals-poster-top-bottom .poster-art-2 { left: calc(50% + var(--art2-x, 0%)); width: var(--art2-scale, 100%); bottom: calc(0% - var(--art2-y, 0%)); transform: translateX(-50%) rotate(var(--art2-rotation, 0deg)); }
body.theme-savoy .nm-products .flash-poster.flash-has-button .dudette-poster-art { margin-bottom: 64px; }
body.theme-savoy .nm-products .flash-brainstorm .dudette-poster-art img { height: 100%; }
body.theme-savoy .nm-products .flash-brainstorm.flash-visuals-poster-bottom .poster-art-1 { width: var(--art1-scale, calc(var(--poster-height, 432px) * 345 / 432)); aspect-ratio: 345 / 207; }
body.theme-savoy .nm-products .flash-brainstorm.flash-visuals-poster-top-bottom .poster-art-1 { width: var(--art1-scale, calc(var(--poster-height, 432px) * 159 / 432)); aspect-ratio: 159 / 198; }
body.theme-savoy .nm-products .flash-brainstorm.flash-visuals-poster-top-bottom .poster-art-2 { width: var(--art2-scale, min(100%, calc(var(--poster-height, 432px) * 240 / 432))); aspect-ratio: 164 / 98; }
/* JavaScript fills single-cell gaps in DOM order, preserving keyboard and product order. */
body.theme-savoy ul.nm-products.products:not(.slick-slider):not(.owl-carousel):has(> .flash-span-2) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: row; }
body.theme-savoy ul.nm-products.products:not(.slick-slider):not(.owl-carousel):has(> .flash-span-2)::before,
body.theme-savoy ul.nm-products.products:not(.slick-slider):not(.owl-carousel):has(> .flash-span-2)::after { display: none; }
body.theme-savoy ul.nm-products.products:not(.slick-slider):not(.owl-carousel):has(> .flash-span-2) > li.product { width: auto !important; min-width: 0; float: none; clear: none; }
body.theme-savoy ul.nm-products.products > .flash-span-2 { grid-column: span 2; }
@media (min-width: 768px) { body.theme-savoy ul.nm-products.products:not(.slick-slider):not(.owl-carousel):has(> .flash-span-2) { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { body.theme-savoy ul.nm-products.products:not(.slick-slider):not(.owl-carousel):has(> .flash-span-2) { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Optional bleed is clipped to the viewport and the card's vertical band. */
body.theme-savoy .nm-shop-products-col:has(.flash-bleed-neighbors, .flash-bleed-screen) { overflow: visible; }
body.theme-savoy .nm-products:has(.flash-bleed-neighbors, .flash-bleed-screen) { position: relative; isolation: isolate; }
body.theme-savoy .nm-products:has(.flash-bleed-neighbors, .flash-bleed-screen) > .dudette-product-card { position: relative; z-index: 2; }
body.theme-savoy .nm-products:has(.flash-bleed-neighbors, .flash-bleed-screen) > .dudette-product-card:not(.dudette-flash-card) > .nm-shop-loop-product-wrap { background: var(--dudette-jazzy-black); }
body.theme-savoy .nm-products > .flash-poster:is(.flash-bleed-neighbors, .flash-bleed-screen) { z-index: 1; }
body.theme-savoy .nm-products .flash-poster:is(.flash-bleed-neighbors, .flash-bleed-screen) .dudette-flash-inner {
 overflow: visible;
 clip-path: polygon(var(--flash-screen-left, 0px) 0, calc(var(--flash-screen-left, 0px) + var(--flash-screen-width, 100%)) 0, calc(var(--flash-screen-left, 0px) + var(--flash-screen-width, 100%)) 100%, var(--flash-screen-left, 0px) 100%);
}
/* Bleed changes clipping only: artwork size and position always use the card. */
body.theme-savoy .nm-products .flash-bg-none { --flash-bg: transparent; }
body.theme-savoy .nm-products .flash-bg-none .dudette-flash-inner { background: transparent; box-shadow: none; }
/* Text stays inside the padded card; the button retains its own row. */
body.theme-savoy .nm-products .flash-align-left .dudette-flash-copy { text-align: left; }
body.theme-savoy .nm-products .flash-align-center .dudette-flash-copy { text-align: center; }
body.theme-savoy .nm-products .flash-align-right .dudette-flash-copy { text-align: right; }
body.theme-savoy .nm-products .flash-poster.flash-text-bottom .dudette-flash-copy { margin-top: auto; margin-bottom: 0; }
body.theme-savoy .nm-products .flash-poster.flash-text-bottom .dudette-flash-link { margin-top: 0; }
/* Optional larger headline; existing cards keep their typography. */
body.theme-savoy .nm-products .flash-content-xl .dudette-flash-copy h3,
body.theme-savoy .nm-products .flash-content-xl .dudette-flash-copy p { font: 400 32px/1.2 'Futura Condensed PT',sans-serif; }
@media (min-width: 768px) {
 body.theme-savoy .nm-products .flash-content-xl .dudette-flash-copy h3,
 body.theme-savoy .nm-products .flash-content-xl .dudette-flash-copy p { font-size: 40px; }
}
