/* Ambiance jour / nuit — Napoléon Souvenirs */
html.nap-amb {
  --nap-bg: #f4efe3; --nap-paper: #fffdf8; --nap-ink: #1d2232; --nap-muted: #5f6576; --nap-line: #ddd3bc;
  --nap-gold: #a8822a; --nap-accent: #8e2626; --nap-hdr: #fffdf8; --nap-hdr-ink: #14234a;
}
html.nap-amb[data-nap-mode="nuit"] {
  --nap-bg: #0c1020; --nap-paper: #151b2f; --nap-ink: #ece5d3; --nap-muted: #a5aab8; --nap-line: #29314d;
  --nap-gold: #e0b65a; --nap-accent: #e8a07f; --nap-hdr: #090c18; --nap-hdr-ink: #f0e5c6;
  color-scheme: dark;
}

/* ---------- switch + sound ---------- */
.nap-ctrl { display: flex; align-items: center; gap: 8px; font-family: inherit; }
.nap-ctrl-desk { margin-right: 14px; }
.nap-ctrl-float { display: none; position: fixed; z-index: 1040; left: max(12px, env(safe-area-inset-left, 0px)); bottom: max(12px, env(safe-area-inset-bottom, 0px));
  background: var(--nap-paper); border: 1px solid var(--nap-line); border-radius: 999px; padding: 5px; box-shadow: 0 4px 16px rgba(0,0,0,.18); }
.nap-ctrl-float.nap-always { display: flex; }
@media (max-width: 991px) { .nap-ctrl-desk { display: none; } .nap-ctrl-float { display: flex; } .nap-snd-l { display: none; } }
.nap-switch { position: relative; width: 58px; height: 30px; border-radius: 999px; border: 1px solid var(--nap-line); padding: 0; cursor: pointer;
  background: linear-gradient(90deg, #9fc4e8, #f3d98d); flex: none; }
html[data-nap-mode="nuit"] .nap-switch { background: linear-gradient(90deg, #1b2650, #3b3070); }
.nap-knob { position: absolute; top: 2px; left: 2px; width: 24px; height: 24px; border-radius: 50%; background: #fff6d8; box-shadow: 0 0 8px #ffd76a;
  transition: transform .45s cubic-bezier(.6,.1,.3,1); }
html[data-nap-mode="nuit"] .nap-knob { transform: translateX(28px); background: #eef0ff; box-shadow: inset -6px -3px 0 #c9cde6, 0 0 8px #aab4ff; }
.nap-snd { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--nap-line); background: transparent; color: inherit; border-radius: 999px;
  padding: 5px 11px; font-size: 13px; font-weight: 600; cursor: pointer; line-height: 1; }
.nap-snd .nap-wave { opacity: .35; }
.nap-snd.on .nap-wave { opacity: 1; }
.nap-switch:focus-visible, .nap-snd:focus-visible, .nap-cta:focus-visible { outline: 2px solid var(--nap-gold); outline-offset: 2px; }

/* ---------- home scene ---------- */
.nap-scene { position: relative; overflow: hidden; width: 100%; aspect-ratio: 16 / 6; min-height: 320px; max-height: 540px; background: #05070f; margin-bottom: 24px; }
.nap-hidden-slider { display: none !important; }
.nap-art { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .9s, visibility .9s; }
html[data-nap-mode="nuit"] .nap-art-nuit, html[data-nap-mode="jour"] .nap-art-jour { opacity: 1; visibility: visible; }
.nap-art-jour img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; max-width: none; }
.nap-arc { position: absolute; left: 0; width: 100%; aspect-ratio: 1400 / 1044; top: -56%; }
.nap-arc img { display: block; width: 100%; height: 100%; max-width: none; filter: grayscale(1) brightness(.66) sepia(1) hue-rotate(185deg) saturate(2.3) contrast(1.05); }
.nap-sky { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(3,5,16,.9) 0%, rgba(6,10,30,.7) 40%, rgba(10,14,36,.15) 62%, rgba(0,0,0,0) 74%); }
.nap-stars { position: absolute; inset: 0 0 48% 0; }
.nap-stars i { position: absolute; width: 2px; height: 2px; border-radius: 50%; background: #fff; }
.nap-glow { position: absolute; width: 5%; aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%); mix-blend-mode: screen;
  background: radial-gradient(circle, rgba(255,226,150,1) 0 7%, rgba(255,190,90,.55) 18%, rgba(255,170,70,.18) 42%, rgba(255,170,70,0) 70%); }
.nap-scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,7,15,.78) 0%, rgba(5,7,15,.42) 38%, rgba(5,7,15,0) 62%); }
html[data-nap-mode="jour"] .nap-scrim { background: linear-gradient(90deg, rgba(20,16,8,.64) 0%, rgba(20,16,8,.3) 38%, rgba(0,0,0,0) 62%); }
.nap-copy { position: absolute; left: max(24px, 5%); bottom: 28px; max-width: min(560px, 80%); color: #f7ecd2; }
.nap-eye { font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #e7c46c; }
.nap-title { font-family: Cinzel, Georgia, "Times New Roman", serif; font-weight: 700; font-size: clamp(26px, 3.6vw, 46px); line-height: 1.08; margin: 8px 0 6px; color: #f7ecd2;
  letter-spacing: .03em; text-shadow: 0 2px 14px rgba(0,0,0,.5); text-transform: none; }
.nap-text { font-family: Georgia, "Times New Roman", serif; font-style: italic; font-size: clamp(16px, 1.6vw, 20px); margin: 0 0 16px; color: #f7ecd2; text-shadow: 0 1px 8px rgba(0,0,0,.6); }
.nap-cta { display: inline-block; padding: 12px 20px; border-radius: 3px; background: #e0b65a; color: #14182b !important; font-weight: 700; text-decoration: none !important; }
.nap-cta:hover { background: #ecc670; }
.nap-credit { position: absolute; right: 12px; bottom: 8px; max-width: 46ch; text-align: right; font-size: 11px; line-height: 1.3; color: rgba(247,236,210,.8); text-shadow: 0 1px 4px #000; }
@media (max-width: 767px) {
  .nap-scene { aspect-ratio: auto; height: 440px; }
  .nap-arc { left: -62%; width: 224%; top: -44%; }
  .nap-copy { left: 16px; right: 16px; bottom: 44px; max-width: none; }
  .nap-credit { left: 16px; right: 16px; text-align: left; max-width: none; }
  .nap-scrim { background: linear-gradient(0deg, rgba(5,7,15,.85) 0%, rgba(5,7,15,.35) 55%, rgba(5,7,15,0) 75%) !important; }
}
@media (prefers-reduced-motion: no-preference) {
  html[data-nap-mode="jour"] .nap-art-jour img { animation: napKb 40s ease-in-out infinite alternate; }
  @keyframes napKb { from { transform: scale(1.02); } to { transform: scale(1.12) translate(-2%, -1.5%); } }
  .nap-glow { animation: napFlick 3s infinite ease-in-out; }
  .nap-glow:nth-of-type(2) { animation-duration: 2.3s; animation-delay: -.8s; }
  .nap-glow:nth-of-type(3) { animation-duration: 3.7s; animation-delay: -1.6s; }
  .nap-glow:nth-of-type(4) { animation-duration: 2.9s; animation-delay: -2.2s; }
  @keyframes napFlick { 0%,100% { opacity: .85; transform: translate(-50%,-50%) scale(1); } 47% { opacity: 1; transform: translate(-50%,-50%) scale(1.08); } 52% { opacity: .7; } }
  .nap-tw { animation: napTw 4s infinite ease-in-out; }
  @keyframes napTw { 50% { opacity: .2; } }
}

/* ---------- night colours for the ZOne theme ---------- */
html[data-nap-mode="nuit"] body,
html[data-nap-mode="nuit"] #wrapper,
html[data-nap-mode="nuit"] .main-content,
html[data-nap-mode="nuit"] #main,
html[data-nap-mode="nuit"] .page-content,
html[data-nap-mode="nuit"] .breadcrumb-wrapper { background-color: var(--nap-bg) !important; color: var(--nap-ink); }
html[data-nap-mode="nuit"] body { color: var(--nap-ink) !important; }
html[data-nap-mode="nuit"] #header,
html[data-nap-mode="nuit"] .header-nav,
html[data-nap-mode="nuit"] .main-header,
html[data-nap-mode="nuit"] .header-bottom,
html[data-nap-mode="nuit"] .header-main-menu,
html[data-nap-mode="nuit"] #amegamenu,
html[data-nap-mode="nuit"] .mobile-header-version,
html[data-nap-mode="nuit"] .sticky-header,
html[data-nap-mode="nuit"] .header-mobile { background-color: var(--nap-hdr) !important; color: var(--nap-hdr-ink) !important; border-color: var(--nap-line) !important; }
html[data-nap-mode="nuit"] #header a,
html[data-nap-mode="nuit"] #header .material-icons,
html[data-nap-mode="nuit"] #amegamenu a { color: var(--nap-hdr-ink) !important; }
html[data-nap-mode="nuit"] #header .dropdown-menu,
html[data-nap-mode="nuit"] .cart-dropdown-wrapper,
html[data-nap-mode="nuit"] #amegamenu .adropdown,
html[data-nap-mode="nuit"] .dropdown-menu { background-color: var(--nap-paper) !important; color: var(--nap-ink) !important; border-color: var(--nap-line) !important; }
html[data-nap-mode="nuit"] .search-widget form input[type="text"],
html[data-nap-mode="nuit"] input[type="text"], html[data-nap-mode="nuit"] input[type="email"], html[data-nap-mode="nuit"] input[type="search"],
html[data-nap-mode="nuit"] input[type="password"], html[data-nap-mode="nuit"] input[type="tel"], html[data-nap-mode="nuit"] textarea,
html[data-nap-mode="nuit"] select, html[data-nap-mode="nuit"] .form-control { background-color: #1a2240 !important; color: var(--nap-ink) !important; border-color: var(--nap-line) !important; }
html[data-nap-mode="nuit"] ::placeholder { color: var(--nap-muted) !important; }
html[data-nap-mode="nuit"] h1, html[data-nap-mode="nuit"] h2, html[data-nap-mode="nuit"] h3, html[data-nap-mode="nuit"] h4,
html[data-nap-mode="nuit"] .h1, html[data-nap-mode="nuit"] .h2, html[data-nap-mode="nuit"] .h3, html[data-nap-mode="nuit"] .h4,
html[data-nap-mode="nuit"] .title-block, html[data-nap-mode="nuit"] .page-heading { color: var(--nap-ink) !important; }
html[data-nap-mode="nuit"] a { color: var(--nap-gold); }
html[data-nap-mode="nuit"] .block, html[data-nap-mode="nuit"] .aone-tabs .nav-tabs, html[data-nap-mode="nuit"] .aone-tabs .nav-link,
html[data-nap-mode="nuit"] .sidebar-column .column-block, html[data-nap-mode="nuit"] .column-block,
html[data-nap-mode="nuit"] .card, html[data-nap-mode="nuit"] .card-block, html[data-nap-mode="nuit"] .box, html[data-nap-mode="nuit"] .light-box-bg,
html[data-nap-mode="nuit"] .product-information, html[data-nap-mode="nuit"] .tabs, html[data-nap-mode="nuit"] .product-tabs,
html[data-nap-mode="nuit"] .cart-grid-body, html[data-nap-mode="nuit"] .cart-summary, html[data-nap-mode="nuit"] .modal-content { background-color: var(--nap-paper) !important; color: var(--nap-ink) !important; border-color: var(--nap-line) !important; }
html[data-nap-mode="nuit"] .aone-tabs .nav-link.active { color: var(--nap-gold) !important; }
html[data-nap-mode="nuit"] .product-miniature .product-container,
html[data-nap-mode="nuit"] .product-miniature .third-block,
html[data-nap-mode="nuit"] .product-miniature .second-third-block,
html[data-nap-mode="nuit"] .product-miniature .second-block,
html[data-nap-mode="nuit"] .product-miniature .third-block-left { background-color: var(--nap-paper) !important; border-color: var(--nap-line) !important; }
html[data-nap-mode="nuit"] .product-name a, html[data-nap-mode="nuit"] .product-title a, html[data-nap-mode="nuit"] .product-name { color: var(--nap-ink) !important; }
html[data-nap-mode="nuit"] .price, html[data-nap-mode="nuit"] .product-price, html[data-nap-mode="nuit"] .current-price { color: var(--nap-gold) !important; }
html[data-nap-mode="nuit"] .regular-price { color: var(--nap-muted) !important; }
html[data-nap-mode="nuit"] .footer-top, html[data-nap-mode="nuit"] .footer-main, html[data-nap-mode="nuit"] .footer-bottom,
html[data-nap-mode="nuit"] #footer { background-color: #070a14 !important; color: var(--nap-muted) !important; border-color: var(--nap-line) !important; }
html[data-nap-mode="nuit"] #footer a, html[data-nap-mode="nuit"] #footer h3, html[data-nap-mode="nuit"] #footer h4, html[data-nap-mode="nuit"] #footer .h4 { color: var(--nap-hdr-ink) !important; }
html[data-nap-mode="nuit"] #header .language-selector .dropdown-toggle,
html[data-nap-mode="nuit"] #header .currency-selector .dropdown-toggle,
html[data-nap-mode="nuit"] #header .desktop-dropdown .dropdown-toggle,
html[data-nap-mode="nuit"] #header .js-dropdown > a,
html[data-nap-mode="nuit"] #header .js-dropdown > button { background: transparent !important; color: var(--nap-hdr-ink) !important; border-color: var(--nap-line) !important; }
html[data-nap-mode="nuit"] #header .header-banner, html[data-nap-mode="nuit"] #header .header-banner * { color: #1d2232 !important; }
html[data-nap-mode="nuit"] .cookie-message-wrapper { background-color: var(--nap-paper) !important; color: var(--nap-ink) !important; }
html[data-nap-mode="nuit"] hr, html[data-nap-mode="nuit"] .table, html[data-nap-mode="nuit"] .table td, html[data-nap-mode="nuit"] .table th { border-color: var(--nap-line) !important; color: var(--nap-ink); }
html[data-nap-mode="nuit"] .product-miniature .product-name a,
html[data-nap-mode="nuit"] .product-miniature .product-name { color: var(--nap-ink) !important; }
html[data-nap-mode="nuit"] .left-nav-trigger, html[data-nap-mode="nuit"] .left-nav-icon { background-color: var(--nap-paper) !important; color: var(--nap-hdr-ink) !important; }
html[data-nap-mode="nuit"] .product-miniature .product-name, html[data-nap-mode="nuit"] .product-miniature h5 { background-color: var(--nap-paper) !important; }
html[data-nap-mode="nuit"] .shadow-box, html[data-nap-mode="nuit"] .main-product-details, html[data-nap-mode="nuit"] .bg-white,
html[data-nap-mode="nuit"] .category-cover, html[data-nap-mode="nuit"] .block-category, html[data-nap-mode="nuit"] #js-product-list-top,
html[data-nap-mode="nuit"] .products-selection, html[data-nap-mode="nuit"] .facet, html[data-nap-mode="nuit"] #search_filters,
html[data-nap-mode="nuit"] .checkout-step, html[data-nap-mode="nuit"] .cart-container, html[data-nap-mode="nuit"] .cart-item,
html[data-nap-mode="nuit"] .page-wrapper, html[data-nap-mode="nuit"] .page-header, html[data-nap-mode="nuit"] .page-footer { background-color: var(--nap-paper) !important; color: var(--nap-ink) !important; border-color: var(--nap-line) !important; }
html[data-nap-mode="nuit"] .nav-tabs, html[data-nap-mode="nuit"] .nav-tabs .nav-link { background-color: transparent !important; color: var(--nap-muted) !important; border-color: var(--nap-line) !important; }
html[data-nap-mode="nuit"] .nav-tabs .nav-link.active { background-color: var(--nap-paper) !important; color: var(--nap-gold) !important; }
html[data-nap-mode="nuit"] .product-reference span, html[data-nap-mode="nuit"] .product-reference label, html[data-nap-mode="nuit"] label, html[data-nap-mode="nuit"] .label { color: var(--nap-ink) !important; }

/* ---------- background mode: the artwork sits behind the whole site ---------- */
html.nap-bgmode { --nap-panel: rgba(255, 253, 248, .78); background: #e9e1cc; }
html.nap-bgmode[data-nap-mode="nuit"] { --nap-panel: rgba(17, 22, 40, .8); background: #05070f; }
.nap-backdrop { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background: #05070f; }
html[data-nap-mode="jour"] .nap-backdrop { background: #d9cfb6; }
.nap-bd { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .9s, visibility .9s; }
html[data-nap-mode="nuit"] .nap-bd-nuit, html[data-nap-mode="jour"] .nap-bd-jour { opacity: 1; visibility: visible; }
.nap-bd-jour img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 65%; max-width: none; display: block; }
/* the engraving box covers the screen while keeping its own proportions, so the lamp glows stay on the lamps */
.nap-bd-box { position: absolute; left: 50%; top: 50%; width: max(100vw, 134vh); aspect-ratio: 1400 / 1044; transform: translate(-50%, -46%); }
.nap-bd-box img { width: 100%; height: 100%; display: block; max-width: none; filter: grayscale(1) brightness(.6) sepia(1) hue-rotate(185deg) saturate(2.3) contrast(1.05); }
.nap-bd-box .nap-sky { background: linear-gradient(180deg, rgba(3,5,16,.75) 0%, rgba(6,10,30,.35) 35%, rgba(0,0,0,0) 60%); }
.nap-bd-veil { position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(5,7,15,0) 40%, rgba(5,7,15,.55) 100%); }
html[data-nap-mode="jour"] .nap-bd-veil { background: linear-gradient(180deg, rgba(244,239,227,.15), rgba(244,239,227,.35)); }
@media (prefers-reduced-motion: no-preference) {
  html[data-nap-mode="jour"] .nap-bd-jour img { animation: napKb 60s ease-in-out infinite alternate; }
}
/* let the artwork show through the page margins, keep content on readable panels */
html.nap-bgmode body, html.nap-bgmode #wrapper, html.nap-bgmode .main-content, html.nap-bgmode #main,
html.nap-bgmode .top-column-content, html.nap-bgmode .bottom-column-content, html.nap-bgmode .breadcrumb-wrapper,
html.nap-bgmode .aone-homepage, html.nap-bgmode #content-wrapper, html.nap-bgmode .center-wrapper,
html.nap-bgmode .page-content.page-home, html.nap-bgmode #left-column, html.nap-bgmode .column-wrapper { background: transparent !important; }
html.nap-bgmode .aone-homepage > .block, html.nap-bgmode .home-blocks-top > .block, html.nap-bgmode .block_id_2, html.nap-bgmode .block_id_6,
html.nap-bgmode .shadow-box, html.nap-bgmode .column-block, html.nap-bgmode .block-category, html.nap-bgmode #js-product-list-top,
html.nap-bgmode #js-product-list, html.nap-bgmode .page-content:not(.page-home), html.nap-bgmode .cart-grid-body, html.nap-bgmode .cart-summary,
html.nap-bgmode .checkout-step, html.nap-bgmode .product-tabs, html.nap-bgmode .page-header { background-color: var(--nap-panel) !important; border-radius: 6px; }
html.nap-bgmode .aone-homepage > .block, html.nap-bgmode .block_id_2, html.nap-bgmode .block_id_6 { padding: 16px; margin-bottom: 24px; }
html.nap-bgmode .breadcrumb-wrapper .breadcrumb { background: var(--nap-panel) !important; display: inline-flex; padding: 6px 12px; border-radius: 4px; }
html.nap-bgmode .nap-foot-credit { font-size: 11px; opacity: .75; margin: 8px 0 0; text-align: center; }

/* ---------- night: photo mounts take the dark colour (a white background inside a photo itself stays white) ---------- */
html[data-nap-mode="nuit"] .product-miniature .first-block,
html[data-nap-mode="nuit"] .product-miniature .product-thumbnail,
html[data-nap-mode="nuit"] .product-miniature .product-cover-link,
html[data-nap-mode="nuit"] .product-cover, html[data-nap-mode="nuit"] .product-images, html[data-nap-mode="nuit"] .js-qv-mask,
html[data-nap-mode="nuit"] .product-thumbs, html[data-nap-mode="nuit"] .thumb-container, html[data-nap-mode="nuit"] .images-container,
html[data-nap-mode="nuit"] .product-cover-wrapper, html[data-nap-mode="nuit"] .slick-slide { background-color: var(--nap-paper) !important; }
html[data-nap-mode="nuit"] .product-miniature .product-thumbnail img, html[data-nap-mode="nuit"] .product-cover img { border-radius: 3px; }

/* ---------- mega menu (ZOne amegamenu) at night ---------- */
html[data-nap-mode="nuit"] body #amegamenu .anav-top .amenu-item .amenu-link,
html[data-nap-mode="nuit"] body #amegamenu .anav-top .amenu-item .amenu-link > span { color: var(--nap-hdr-ink) !important; }
html[data-nap-mode="nuit"] body #amegamenu .dropdown-wrapper, html[data-nap-mode="nuit"] body #amegamenu .adropdown,
html[data-nap-mode="nuit"] body #amegamenu .dropdown-content, html[data-nap-mode="nuit"] body #amegamenu .category-item,
html[data-nap-mode="nuit"] body #amegamenu .dropdown-bgimage { background-color: var(--nap-paper) !important; border-color: var(--nap-line) !important; }
html[data-nap-mode="nuit"] body #amegamenu .dropdown-wrapper a, html[data-nap-mode="nuit"] body #amegamenu .dropdown-wrapper .category-title,
html[data-nap-mode="nuit"] body #amegamenu .dropdown-wrapper p, html[data-nap-mode="nuit"] body #amegamenu .dropdown-wrapper span { color: var(--nap-hdr-ink) !important; }
html[data-nap-mode="nuit"] body #amegamenu .dropdown-wrapper a:hover { color: var(--nap-gold) !important; }
html[data-nap-mode="nuit"] body #amegamenu .amenu-item:hover > .amenu-link,
html[data-nap-mode="nuit"] body #amegamenu .amenu-item.active > .amenu-link { background-color: var(--nap-paper) !important; color: var(--nap-gold) !important; }

/* light transparency: the artwork shows through the panels, a soft blur keeps the text crisp */
html.nap-bgmode .shadow-box, html.nap-bgmode .column-block, html.nap-bgmode .page-content:not(.page-home),
html.nap-bgmode .product-tabs, html.nap-bgmode .aone-homepage > .block { -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
/* no double layer when a panel sits inside another one */
html.nap-bgmode .page-content .shadow-box, html.nap-bgmode .page-content .contact-form { background-color: transparent !important; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none !important; }
html.nap-bgmode[data-nap-mode="nuit"] body .sidebar-column .column-block, html.nap-bgmode[data-nap-mode="nuit"] body .column-block,
html.nap-bgmode[data-nap-mode="nuit"] body .shadow-box, html.nap-bgmode[data-nap-mode="nuit"] body .page-content:not(.page-home),
html.nap-bgmode[data-nap-mode="nuit"] body .product-tabs, html.nap-bgmode[data-nap-mode="nuit"] body .aone-homepage > .block,
html.nap-bgmode[data-nap-mode="nuit"] body .block-category, html.nap-bgmode[data-nap-mode="nuit"] body #js-product-list-top { background-color: var(--nap-panel) !important; }
html.nap-bgmode[data-nap-mode="nuit"] body .page-content .shadow-box, html.nap-bgmode[data-nap-mode="nuit"] body .page-content .contact-form { background-color: transparent !important; }

/* ---------- night: white baked into photos (shot on white, or PrestaShop's white padding) melts into a parchment mount ---------- */
html[data-nap-mode="nuit"] body .product-miniature .product-cover-link,
html[data-nap-mode="nuit"] body .product-miniature .first-block,
html[data-nap-mode="nuit"] body .product-cover,
html[data-nap-mode="nuit"] body .product-images .thumb-container,
html[data-nap-mode="nuit"] body .js-qv-mask .thumb-container { background: #d9ccad !important; }
html[data-nap-mode="nuit"] body .product-miniature .product-cover-link img,
html[data-nap-mode="nuit"] body .product-cover img,
html[data-nap-mode="nuit"] body .product-images .thumb-container img { mix-blend-mode: multiply; }
/* product page main image = Magic Zoom (MagicToolbox) module */
html[data-nap-mode="nuit"] body .MagicToolboxContainer .magic-slide,
html[data-nap-mode="nuit"] body .MagicToolboxContainer figure.mz-figure,
html[data-nap-mode="nuit"] body .MagicToolboxContainer .mz-thumb,
html[data-nap-mode="nuit"] body .product-cover .zoomWrapper, html[data-nap-mode="nuit"] body .product-cover picture { background: #d9ccad !important; }
html[data-nap-mode="nuit"] body .MagicToolboxContainer figure.mz-figure > img,
html[data-nap-mode="nuit"] body .MagicToolboxContainer .mz-thumb img { mix-blend-mode: multiply; }
/* embedded widgets (Google store-rating badge, etc.): keep their light scheme so the browser does not paint a white box behind them */
html[data-nap-mode="nuit"] iframe { color-scheme: light; }
/* stores page card, category toolbar */
html[data-nap-mode="nuit"] body .box-bg { background-color: var(--nap-paper) !important; color: var(--nap-ink) !important; border-color: var(--nap-line) !important; }
html[data-nap-mode="nuit"] body .store-item table td, html[data-nap-mode="nuit"] body .store-item table th { color: var(--nap-ink) !important; border-color: var(--nap-line) !important; }
html[data-nap-mode="nuit"] body .display-select { background-color: transparent !important; border-color: var(--nap-line) !important; }
html[data-nap-mode="nuit"] body .total-products, html[data-nap-mode="nuit"] body .total-products p { color: var(--nap-muted) !important; }
/* mobile pill: always on top and lifted above the cookie bar / Safari toolbar / theme bottom bars */
.nap-ctrl-float { z-index: 2147483000 !important; bottom: calc(96px + env(safe-area-inset-bottom, 0px)) !important; left: max(10px, env(safe-area-inset-left, 0px)) !important; }
@media (max-width: 991px) { html.nap-amb .nap-ctrl-float { display: flex !important; } }
/* footer: same light transparency as the other panels (day and night) */
html.nap-bgmode body #footer .footer-top, html.nap-bgmode body #footer .footer-main, html.nap-bgmode body #footer .footer-bottom { background-color: transparent !important; }
html.nap-bgmode body #footer { background-color: var(--nap-panel) !important; -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
/* search autocomplete dropdown (jQuery UI) at night */
html[data-nap-mode="nuit"] body .ui-autocomplete.ui-menu { background-color: rgba(17, 22, 40, .92) !important; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); border-color: var(--nap-line) !important; }
html[data-nap-mode="nuit"] body .ui-autocomplete .ui-menu-item, html[data-nap-mode="nuit"] body .ui-autocomplete .search-item { background: transparent !important; border-color: var(--nap-line) !important; }
html[data-nap-mode="nuit"] body .ui-autocomplete .search-item, html[data-nap-mode="nuit"] body .ui-autocomplete .search-item * { color: var(--nap-ink) !important; }
html[data-nap-mode="nuit"] body .ui-autocomplete .search-item .price, html[data-nap-mode="nuit"] body .ui-autocomplete .search-item [class*="price"] { color: var(--nap-gold) !important; }
html[data-nap-mode="nuit"] body .ui-autocomplete .search-item:hover, html[data-nap-mode="nuit"] body .ui-autocomplete .ui-state-active, html[data-nap-mode="nuit"] body .ui-autocomplete .ui-state-focus { background: rgba(224, 182, 90, .15) !important; border-color: transparent !important; }
/* day: same light transparency for the dropdown */
html.nap-bgmode[data-nap-mode="jour"] body .ui-autocomplete.ui-menu { background-color: rgba(255, 253, 248, .9) !important; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
