/*
Theme Name: Nivlenn Galerie Audio-Photo
Theme URI: https://www.instagram.com/nivlenn
Author: Nivlenn
Author URI: mailto:nicolas.julien@pm.me
Description: Galerie d'exposition audio-photographique interactive sous la Voie Lactée 4K (identité violet cosmique, triptyque moderne de 3 albums, lecteur SoundCloud dédié par photo et configurateur de tirages Fine Art compatible WooCommerce).
Version: 1.0.0
Requires at least: 6.2
Tested up to: 6.8
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: nivlenn-galerie
*/

:root {
  color-scheme: dark;
  --bg-deep: #04020a;
  --bg-panel: #080516;
  --bg-card: #0a0618;
  --text-main: #f5f5f7;
  --text-muted: #d1d5db;
  --text-dim: #9ca3af;
  --violet-primary: #c084fc;
  --violet-bright: #d8b4fe;
  --violet-soft: #e9d5ff;
  --violet-orchid: #e879f9;
  --violet-deep: #a855f7;
  --violet-ink: #070312;
  --border-subtle: rgb(255 255 255 / 0.12);
  --border-violet: rgb(192 132 252 / 0.28);
  --font-sans: "Montserrat", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-serif: "Playfair Display", Georgia, Cambria, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.nivlenn-body {
  margin: 0;
  background-color: var(--bg-deep);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.5;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

/* WordPress logged-in admin bar offset */
body.admin-bar .nv-header {
  top: 32px;
}
@media (max-width: 782px) {
  body.admin-bar .nv-header {
    top: 46px;
  }
}

/* Targeted typography balance & orphan prevention */
h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 500;
  text-wrap: balance;
}

p {
  margin: 0;
}

.nv-hero-lead,
.nv-album-desc,
.nv-manifesto-text {
  text-wrap: pretty;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

.sr-only {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Fixed 4K Milky Way Background */
.nv-sky-backdrop {
  position: fixed;
  inset: 0;
  z-index: -10;
  pointer-events: none;
  overflow: clip;
}

.nv-sky-backdrop picture,
.nv-sky-backdrop img {
  display: block;
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
}

.nv-sky-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgb(9 3 24 / 0.45),
    rgb(6 2 18 / 0.58),
    rgb(4 2 10 / 0.85)
  );
}

.nv-sky-nebula {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at top,
    rgb(168 85 247 / 0.17),
    transparent 65%
  );
}

.nv-shell {
  position: relative;
  z-index: 10;
  min-block-size: 100dvh;
  display: flex;
  flex-direction: column;
}

.nv-container {
  inline-size: 100%;
  max-inline-size: 80rem;
  margin-inline: auto;
}

/* Floating Celestial Navbar */
.nv-header {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 40;
  padding: 1rem 4%;
  background: rgb(5 2 13 / 0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgb(192 132 252 / 0.16);
}

.nv-header-inner {
  max-inline-size: 80rem;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nv-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
  text-decoration: none;
}

.nv-logo-name {
  font-weight: 600;
  font-size: clamp(1.2rem, 1rem + 0.6vw, 1.5rem);
  letter-spacing: 0.28em;
  color: var(--violet-primary);
  filter: drop-shadow(0 0 18px rgb(192 132 252 / 0.55));
  transition: color 0.25s ease;
}

.nv-logo:hover .nv-logo-name {
  color: var(--violet-soft);
}

.nv-logo-dot {
  color: var(--violet-orchid);
}

.nv-logo-sub {
  font-size: 0.62rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 300;
  margin-top: 0.25rem;
  transition: color 0.25s ease;
}

.nv-logo:hover .nv-logo-sub {
  color: var(--violet-soft);
}

.nv-nav {
  display: none;
}

@media (min-width: 1024px) {
  .nv-nav {
    display: block;
  }
}

.nv-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 2rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: #e5e7eb;
}

.nv-nav-list a {
  transition: color 0.2s ease;
}

.nv-nav-list a:hover {
  color: var(--violet-primary);
}

.nv-header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.nv-pill-violet-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgb(192 132 252 / 0.55);
  background: rgb(168 85 247 / 0.15);
  color: var(--violet-bright);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: all 0.22s ease;
}

.nv-pill-violet-outline:hover {
  background: var(--violet-primary);
  color: var(--violet-ink);
}

.nv-cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgb(192 132 252 / 0.28);
  background: rgb(255 255 255 / 0.05);
  color: #fff;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.nv-cart-btn:hover {
  border-color: rgb(192 132 252 / 0.65);
}

.nv-cart-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-inline-size: 1.25rem;
  block-size: 1.25rem;
  padding-inline: 0.38rem;
  border-radius: 999px;
  background: var(--violet-primary);
  color: var(--violet-ink);
  font-weight: 700;
  font-size: 0.75rem;
}

.nv-insta-top {
  display: none;
  padding: 0.5rem 0.65rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.nv-insta-top:hover {
  color: var(--violet-primary);
}

.nv-social-trio {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-left: 0.35rem;
  padding-left: 0.6rem;
  border-left: 1px solid rgba(192, 132, 252, 0.25);
}

.nv-social-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 9999px;
  border: 1px solid rgba(192, 132, 252, 0.3);
  background: rgba(255, 255, 255, 0.05);
  color: var(--violet-light);
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.08);
}

.nv-social-icon-btn svg {
  width: 1.05rem;
  height: 1.05rem;
  display: block;
  transition: transform 0.25s ease;
}

.nv-social-icon-btn:hover {
  transform: translateY(-1.5px) scale(1.06);
}

.nv-social-icon-btn:hover svg {
  transform: scale(1.08);
}

.nv-icon-instagram:hover {
  border-color: #e1306c;
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  color: #ffffff;
  box-shadow: 0 0 16px rgba(225, 48, 108, 0.45);
}

.nv-icon-soundcloud:hover {
  border-color: #ff5500;
  background: linear-gradient(135deg, #ff7700 0%, #ff3300 100%);
  color: #ffffff;
  box-shadow: 0 0 16px rgba(255, 85, 0, 0.45);
}

.nv-icon-applemusic:hover {
  border-color: #fc3c44;
  background: linear-gradient(135deg, #fc3c44 0%, #fa243c 50%, #d41238 100%);
  color: #ffffff;
  box-shadow: 0 0 16px rgba(252, 60, 68, 0.45);
}

@media (min-width: 640px) {
  .nv-insta-top {
    display: inline-block;
  }
}

/* Opening Stage: Frameless Hero + Modern 3-Album Triptych */
.nv-stage-section {
  min-block-size: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 7rem 5% 5rem;
  background: linear-gradient(
    to bottom,
    transparent,
    rgb(5 2 15 / 0.35),
    rgb(5 3 14 / 0.88)
  );
}

.nv-hero-frameless {
  text-align: center;
  margin-block-end: 3.25rem;
}

.nv-hero-title {
  font-size: clamp(2.2rem, 1.35rem + 3.4vw, 4.35rem);
  line-height: 1.08;
  letter-spacing: 0.02em;
  color: #fff;
  margin-block-end: 1.25rem;
  text-shadow: 0 6px 32px rgb(0 0 0 / 0.95);
  outline: none;
}

.nv-hero-intro {
  font-style: italic;
}

.nv-hero-accent {
  display: block;
  margin-block-start: 0.25rem;
  font-style: italic;
  color: var(--violet-primary);
  filter: drop-shadow(0 0 28px rgb(192 132 252 / 0.45));
}

.nv-hero-lead {
  font-size: clamp(0.98rem, 0.9rem + 0.3vw, 1.125rem);
  color: rgb(243 244 246 / 0.95);
  max-inline-size: 60ch;
  margin-inline: auto;
  line-height: 1.65;
  text-shadow: 0 3px 18px rgb(0 0 0 / 0.95);
}

/* 3-Album Triptych with CSS Subgrid */
.album-triptych {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.album-triptych {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 1.75rem;
  max-width: 1100px;
  margin: 0 auto;
}

.album-monolith {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  max-width: 340px;
  min-height: 560px;
  height: auto;
  padding: 2.25rem 1.75rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  /* Arche de galerie d'art : dôme plein cintre 170px, base adoucie 28px */
  border-radius: 170px 170px 2rem 2rem !important;
  transform: translateZ(0);
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  border: 1px solid rgb(255 255 255 / 0.18);
  box-shadow: 0 24px 70px -15px rgb(0 0 0 / 0.85);
  cursor: pointer;
  transition:
    transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.35s ease,
    box-shadow 0.45s ease;
}

/* Filet intérieur orfèvre épousant l'arche */
.album-monolith::after {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 163px 163px 1.5rem 1.5rem !important;
  border: 1px solid rgb(255 255 255 / 0.18);
  pointer-events: none;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
  z-index: 10;
}

.album-monolith:hover::after {
  border-color: rgb(192 132 252 / 0.75);
  box-shadow: inset 0 0 35px rgb(168 85 247 / 0.25);
}

@media (min-width: 768px) {
  .album-triptych {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: minmax(185px, 1fr) auto auto auto;
    gap: 1.75rem;
  }

  .album-monolith {
    grid-row: span 4;
    grid-template-rows: minmax(185px, 1fr) auto auto auto;
    grid-template-rows: subgrid;
  }
}

.album-monolith:hover {
  transform: translateY(-6px);
  border-color: rgb(192 132 252 / 0.72);
  box-shadow: 0 28px 75px -12px rgb(168 85 247 / 0.42);
}

.album-monolith-img {
  display: block;
  position: absolute;
  inset: 0;
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  border-radius: 50% 50% 28px 28px / 180px 180px 28px 28px !important;
  z-index: -20;
  transition: transform 0.7s ease-out;
}

.album-monolith:hover .album-monolith-img {
  transform: scale(1.08);
}

.album-monolith-scrim {
  position: absolute;
  inset: 0;
  z-index: -10;
  pointer-events: none;
  background: linear-gradient(
    to top,
    #05020d 0%,
    rgb(7 3 20 / 0.78) 52%,
    rgb(0 0 0 / 0.25) 100%
  );
}

.album-monolith-glow {
  position: absolute;
  inset: 0;
  z-index: -10;
  pointer-events: none;
  background: radial-gradient(
    circle at top right,
    rgb(192 132 252 / 0.28),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.45s ease;
}

.album-monolith:hover .album-monolith-glow {
  opacity: 1;
}

.nv-album-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding-block-end: 1rem;
  text-align: center;
}

.nv-chapter-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.nv-chapter-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--violet-soft);
}

.nv-chapter-line {
  display: inline-block;
  block-size: 1px;
  inline-size: 1.5rem;
  background: rgb(192 132 252 / 0.65);
  transition: inline-size 0.4s ease, background-color 0.4s ease;
}

.album-monolith:hover .nv-chapter-line {
  inline-size: 2.5rem;
  background: var(--violet-orchid);
}

.nv-chapter-word {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgb(229 231 235 / 0.9);
}

.nv-count-pill {
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  background: rgb(0 0 0 / 0.55);
  backdrop-filter: blur(10px);
  border: 1px solid rgb(192 132 252 / 0.3);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #f3f4f6;
}

.nv-mood-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 500;
  margin-block-end: 0.45rem;
}

.nv-mood-dot {
  inline-size: 6px;
  block-size: 6px;
  border-radius: 999px;
  background: currentColor;
}

.nv-album-card-title {
  font-size: clamp(1.45rem, 1.2rem + 0.6vw, 1.72rem);
  line-height: 1.22;
  color: #fff;
  inline-size: fit-content;
}

.nv-album-subtitle {
  font-size: 0.75rem;
  font-style: italic;
  color: rgb(216 180 254 / 0.88);
  margin-block: 0.2rem 0.75rem;
}

.nv-album-desc {
  font-size: 0.84rem;
  color: rgb(229 231 235 / 0.9);
  line-height: 1.58;
  margin-block-end: 1.25rem;
}

.nv-album-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding-block-start: 1rem;
  border-top: 1px solid rgb(255 255 255 / 0.15);
}

.nv-btn-explore {
  flex: 1;
  padding: 0.65rem 1.15rem;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgb(255 255 255 / 0.16);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  cursor: pointer;
  transition: all 0.22s ease;
}

.nv-btn-explore:hover {
  background: #fff;
  color: var(--violet-ink);
}

.nv-btn-violet {
  padding: 0.65rem 1.15rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--violet-primary);
  color: var(--violet-ink);
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  box-shadow: 0 0 22px rgb(192 132 252 / 0.4);
  cursor: pointer;
  transition: all 0.22s ease;
}

.nv-btn-violet:hover {
  background: #fff;
  color: var(--violet-ink);
}

/* Opened Single-Album Exhibition Room */
.nv-album-room[hidden],
.nv-triptych-wrap[hidden] {
  display: none !important;
}

.nv-room-topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-block-end: 2rem;
}

.nv-back-btn {
  padding: 0.55rem 1.05rem;
  border-radius: 999px;
  border: 1px solid rgb(192 132 252 / 0.4);
  background: rgb(255 255 255 / 0.08);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  cursor: pointer;
  transition: all 0.2s ease;
}

.nv-back-btn:hover {
  background: var(--violet-primary);
  color: var(--violet-ink);
}

.nv-room-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.nv-room-tab {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid rgb(255 255 255 / 0.15);
  background: rgb(0 0 0 / 0.45);
  color: #e5e7eb;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  cursor: pointer;
  transition: all 0.2s ease;
}

.nv-room-tab[aria-selected="true"] {
  background: var(--violet-primary);
  border-color: var(--violet-primary);
  color: var(--violet-ink);
  font-weight: 600;
  box-shadow: 0 0 18px rgb(192 132 252 / 0.35);
}

.nv-room-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-block-end: 2.5rem;
  padding-block-end: 1.5rem;
  border-bottom: 1px solid rgb(192 132 252 / 0.2);
}

.nv-eyebrow {
  display: inline-block;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--violet-primary);
  margin-block-end: 0.55rem;
}

.nv-room-title {
  font-size: clamp(2rem, 1.5rem + 2vw, 3.1rem);
  color: #fff;
  inline-size: fit-content;
  outline: none;
}

.nv-photo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .nv-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .nv-photo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .nv-photo-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.nv-photo-card {
  position: relative;
  border-radius: 0.85rem;
  overflow: clip;
  border: 1px solid rgb(255 255 255 / 0.12);
  background: var(--bg-card);
  box-shadow: 0 14px 35px rgb(0 0 0 / 0.65);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.nv-photo-card:hover {
  border-color: rgb(192 132 252 / 0.5);
}

.nv-photo-card.is-playing {
  border-color: var(--violet-primary);
  box-shadow: 0 0 35px rgb(168 85 247 / 0.36);
}

.nv-photo-stage {
  position: relative;
  block-size: 16.5rem;
  overflow: clip;
  cursor: pointer;
}

.nv-photo-stage img {
  display: block;
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.nv-photo-card:hover .nv-photo-stage img {
  transform: scale(1.05);
}

.nv-photo-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    #060310 0%,
    transparent 55%,
    rgb(0 0 0 / 0.35) 100%
  );
}

.nv-photo-top-controls {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.nv-audio-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 0.9rem;
  border-radius: 999px;
  backdrop-filter: blur(10px);
  border: 1px solid rgb(255 255 255 / 0.22);
  background: rgb(0 0 0 / 0.65);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.nv-audio-btn:hover {
  border-color: var(--violet-primary);
}

.nv-audio-btn.is-playing {
  background: var(--violet-primary);
  border-color: var(--violet-primary);
  color: var(--violet-ink);
}

.nv-photo-bottom {
  position: absolute;
  bottom: 1rem;
  inset-inline: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
}

.nv-photo-meta {
  font-size: 0.72rem;
  color: var(--violet-bright);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-block-end: 0.15rem;
}

.nv-photo-title {
  font-size: 1.45rem;
  color: #fff;
}

.nv-photo-print-btn {
  padding: 0.5rem 0.9rem;
  border-radius: 0.75rem;
  background: rgb(168 85 247 / 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgb(192 132 252 / 0.35);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.nv-photo-print-btn:hover {
  background: var(--violet-primary);
  color: var(--violet-ink);
}

/* Section: « Images les plus appréciées » (Featured Signature Gallery) */
.nv-featured-section {
  padding: 5.5rem 5%;
  background: linear-gradient(
    to bottom,
    rgb(5 3 14 / 0.88),
    rgb(7 3 22 / 0.94),
    rgb(5 2 13 / 0.95)
  );
  border-top: 1px solid rgb(192 132 252 / 0.16);
}

.nv-featured-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-block-end: 2.75rem;
  padding-block-end: 1.5rem;
  border-bottom: 1px solid rgb(192 132 252 / 0.2);
}

.nv-featured-masonry {
  columns: 2;
  column-gap: 0.85rem;
}

@media (min-width: 640px) {
  .nv-featured-masonry {
    columns: 3;
    column-gap: 1rem;
  }
}

@media (min-width: 1024px) {
  .nv-featured-masonry {
    columns: 4;
    column-gap: 1.15rem;
  }
}

.nv-featured-masonry > * {
  break-inside: avoid;
  margin-block-end: 0.85rem;
}

@media (min-width: 1024px) {
  .nv-featured-masonry > * {
    margin-block-end: 1.15rem;
  }
}

@supports (grid-template-rows: masonry) {
  .nv-featured-masonry {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(205px, 1fr));
    grid-template-rows: masonry;
    gap: 1.15rem;
    columns: unset;
  }

  .nv-featured-masonry > * {
    margin-block-end: 0;
  }
}

.nv-featured-card {
  position: relative;
  border-radius: 0.75rem;
  overflow: clip;
  border: 1px solid rgb(255 255 255 / 0.12);
  background: var(--bg-card);
  box-shadow: 0 12px 30px rgb(0 0 0 / 0.65);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.nv-featured-card:hover {
  border-color: rgb(192 132 252 / 0.55);
}

.nv-featured-card.is-playing {
  border-color: var(--violet-primary);
  box-shadow: 0 0 30px rgb(168 85 247 / 0.36);
}

.nv-featured-stage {
  position: relative;
  overflow: clip;
  cursor: pointer;
}

.nv-featured-img {
  display: block;
  inline-size: 100%;
  block-size: auto;
  transition: transform 0.7s ease;
}

.nv-featured-card:hover .nv-featured-img {
  transform: scale(1.04);
}

.nv-featured-card .nv-photo-top-controls {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  gap: 0.35rem;
}

.nv-featured-card .nv-audio-btn {
  padding: 0.28rem 0.65rem;
  font-size: 0.68rem;
}

.nv-featured-card .nv-photo-bottom {
  position: absolute;
  bottom: 0.65rem;
  inset-inline: 0.75rem;
  gap: 0.45rem;
}

.nv-featured-card .nv-photo-meta {
  font-size: 0.64rem;
  margin-block-end: 0.1rem;
}

.nv-featured-card .nv-photo-title {
  font-size: 1.05rem;
  line-height: 1.25;
}

.nv-featured-card .nv-photo-print-btn {
  padding: 0.32rem 0.65rem;
  font-size: 0.68rem;
  border-radius: 0.5rem;
}

/* Section: Print Store & Wall Scale Simulator */
.nv-shop-section {
  padding: 6.5rem 5%;
  background: rgb(6 3 15 / 0.88);
  backdrop-filter: blur(22px);
  border-top: 1px solid rgb(192 132 252 / 0.16);
}

.nv-shop-head {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-block-end: 2.5rem;
}

@media (min-width: 768px) {
  .nv-shop-head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.nv-section-title {
  font-size: clamp(2rem, 1.5rem + 2vw, 3rem);
  color: #fff;
}

.nv-shop-desc {
  max-inline-size: 28rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.nv-thumb-strip-label {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--text-dim);
  margin-block-end: 0.75rem;
}

.nv-thumb-strip {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding-block-end: 0.75rem;
  margin-block-end: 2.25rem;
  scrollbar-gutter: stable;
}

.nv-thumb-btn {
  flex-shrink: 0;
  inline-size: 5.75rem;
  block-size: 5.75rem;
  padding: 0;
  border-radius: 0.85rem;
  overflow: clip;
  border: 1px solid rgb(255 255 255 / 0.12);
  background: #000;
  opacity: 0.65;
  cursor: pointer;
  transition: all 0.2s ease;
}

.nv-thumb-btn:hover {
  opacity: 1;
  border-color: rgb(192 132 252 / 0.45);
}

.nv-thumb-btn.is-active {
  opacity: 1;
  border-color: var(--violet-primary);
  box-shadow: 0 0 0 2px rgb(192 132 252 / 0.55), 0 0 20px rgb(192 132 252 / 0.3);
}

.nv-thumb-btn img {
  display: block;
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
}

.nv-shop-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .nv-shop-grid {
    grid-template-columns: 7fr 5fr;
  }
}

.nv-sim-card {
  border-radius: 1.25rem;
  overflow: clip;
  border: 1px solid rgb(192 132 252 / 0.22);
  background: rgb(9 6 22 / 0.92);
  box-shadow: 0 25px 70px rgb(0 0 0 / 0.75);
}

.nv-sim-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: rgb(0 0 0 / 0.42);
  border-bottom: 1px solid var(--border-subtle);
}

.nv-sim-modes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.nv-sim-mode-btn {
  padding: 0.42rem 0.95rem;
  border-radius: 999px;
  border: 0;
  background: rgb(255 255 255 / 0.06);
  color: var(--text-muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: all 0.2s ease;
}

.nv-sim-mode-btn.is-active {
  background: var(--violet-primary);
  color: var(--violet-ink);
  font-weight: 600;
  box-shadow: 0 0 16px rgb(192 132 252 / 0.4);
}

.nv-sim-wall {
  position: relative;
  block-size: 30rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 2.25rem 1.5rem 1.25rem;
  background: linear-gradient(to bottom, #1b152d, #130f22, #0a0714);
  overflow: clip;
}

.nv-sim-wall.is-studio-zoom {
  justify-content: center;
  background: radial-gradient(circle at center, #25193d 0%, #090616 75%);
}

.nv-sim-spotlight {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  inline-size: 30rem;
  block-size: 24rem;
  pointer-events: none;
  background: radial-gradient(
    ellipse at top,
    rgb(233 213 255 / 0.16),
    transparent 70%
  );
}

.nv-sim-art-zone {
  flex: 1;
  inline-size: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.nv-frame {
  position: relative;
  inline-size: 100%;
  transition: all 0.45s ease;
}

.nv-frame img {
  display: block;
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
}

.nv-frame.finish-fine-art {
  background: #f6f4ef;
  padding: 0.75rem 0.75rem 1.35rem;
  box-shadow: 0 22px 52px rgb(0 0 0 / 0.8);
}

.nv-frame.finish-dibond {
  box-shadow: 0 25px 60px rgb(0 0 0 / 0.88);
}

.nv-frame.finish-acrylic {
  box-shadow: 0 28px 65px rgb(0 0 0 / 0.9);
  outline: 1px solid rgb(255 255 255 / 0.3);
}

.nv-frame.finish-acrylic::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgb(255 255 255 / 0.18) 50%,
    transparent 70%
  );
}

.nv-frame.finish-american-box {
  background: #111114;
  padding: 0.5rem;
  border: 6px solid #070709;
  box-shadow: 0 26px 58px rgb(0 0 0 / 0.92);
}

.nv-sim-caption-pill {
  margin-block-start: 0.75rem;
  padding: 0.28rem 0.85rem;
  border-radius: 999px;
  background: rgb(0 0 0 / 0.55);
  border: 1px solid rgb(192 132 252 / 0.22);
  font-size: 0.74rem;
  color: #e5e7eb;
}

.nv-sofa-scale {
  inline-size: 77%;
  max-inline-size: 28rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.nv-sofa-back {
  inline-size: 92%;
  block-size: 2.35rem;
  border-radius: 0.75rem 0.75rem 0 0;
  background: linear-gradient(to bottom, #2b2440, #1d182d);
  border: 1px solid rgb(255 255 255 / 0.1);
  border-bottom: 0;
}

.nv-sofa-base {
  inline-size: 100%;
  block-size: 1.65rem;
  border-radius: 0.5rem;
  background: linear-gradient(to bottom, #27203a, #171224);
  border: 1px solid rgb(255 255 255 / 0.1);
  box-shadow: 0 12px 28px rgb(0 0 0 / 0.85);
}

.nv-sofa-label {
  margin-block-start: 0.45rem;
  font-size: 0.72rem;
  color: var(--text-dim);
}

.nv-sim-footer {
  padding: 0.95rem 1.4rem;
  background: rgb(0 0 0 / 0.5);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.76rem;
  color: var(--text-muted);
}

.nv-config-panel {
  border-radius: 1.25rem;
  border: 1px solid rgb(192 132 252 / 0.22);
  background: rgb(14 9 29 / 0.88);
  padding: 1.75rem;
  box-shadow: 0 25px 60px rgb(0 0 0 / 0.7);
}

.nv-step-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #e5e7eb;
  margin-block-end: 0.8rem;
}

.nv-formats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.7rem;
  margin-block-end: 1.75rem;
}

@media (min-width: 640px) {
  .nv-formats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.nv-choice-btn {
  inline-size: 100%;
  text-align: left;
  padding: 0.85rem 0.95rem;
  border-radius: 0.85rem;
  border: 1px solid rgb(255 255 255 / 0.1);
  background: rgb(255 255 255 / 0.02);
  color: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
}

.nv-choice-btn:hover {
  border-color: rgb(192 132 252 / 0.45);
}

.nv-choice-btn.is-active {
  border-color: var(--violet-primary);
  background: rgb(168 85 247 / 0.16);
  box-shadow: 0 0 22px rgb(168 85 247 / 0.22);
}

.nv-finishes-stack {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-block-end: 1.5rem;
}

.nv-price-summary {
  padding-block-start: 1.25rem;
  border-top: 1px solid var(--border-subtle);
}

.nv-price-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-block-end: 1rem;
}

.nv-total-amount {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: #fff;
}

.nv-add-cart-cta {
  inline-size: 100%;
  padding: 1rem 1.25rem;
  border-radius: 0.85rem;
  border: 0;
  background: var(--violet-primary);
  color: var(--violet-ink);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  box-shadow: 0 0 28px rgb(168 85 247 / 0.45);
  cursor: pointer;
  transition: all 0.2s ease;
}

.nv-add-cart-cta:hover {
  background: #fff;
}

/* Manifesto & Footer */
.nv-manifesto {
  padding: 6rem 5%;
  background: linear-gradient(to top, #04020a, rgb(7 4 20 / 0.92));
  border-top: 1px solid rgb(192 132 252 / 0.16);
  text-align: center;
}

.nv-manifesto-inner {
  max-inline-size: 48rem;
  margin-inline: auto;
}

.nv-manifesto-text {
  color: var(--text-muted);
  line-height: 1.7;
  max-inline-size: 62ch;
  margin: 1.25rem auto 2.25rem;
}

.nv-manifesto-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.nv-footer {
  padding: 2.5rem 5% 11rem;
  background: #04020a;
  border-top: 1px solid rgb(192 132 252 / 0.15);
  font-size: 0.76rem;
  color: var(--text-dim);
}

.nv-footer-inner {
  max-inline-size: 80rem;
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.nv-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.nv-footer-links a:hover {
  color: var(--violet-primary);
}

/* Floating Spatial Audio Dock + On-Demand SoundCloud Bar */
.nv-audio-dock {
  position: fixed;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 30;
  inline-size: 94%;
  max-inline-size: 48rem;
  border-radius: 1.1rem;
  border: 1px solid rgb(192 132 252 / 0.28);
  background: rgb(8 5 22 / 0.93);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 0.75rem 1rem;
  box-shadow: 0 20px 60px rgb(0 0 0 / 0.88), 0 0 30px rgb(168 85 247 / 0.16);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.nv-dock-dismissed {
  display: none !important;
}

.nv-dock-close-btn {
  margin-left: 0.25rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #d1d5db;
  font-size: 0.75rem;
  transition: all 0.2s ease;
}

.nv-dock-close-btn:hover {
  background: rgba(239, 68, 68, 0.25);
  border-color: rgba(248, 113, 113, 0.5);
  color: #fecaca;
}

.nv-dock-sc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.35rem;
  font-size: 0.75rem;
}

.nv-dock-sc-label {
  color: var(--violet-primary);
  font-weight: 500;
}

.nv-btn-sc-dismiss {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #9ca3af;
  font-size: 0.68rem;
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.nv-btn-sc-dismiss:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.nv-dock-reopen-btn {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.85rem;
  border-radius: 9999px;
  background: rgba(8, 5, 22, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(192, 132, 252, 0.35);
  color: #c084fc;
  font-size: 0.75rem;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
  transition: all 0.2s ease;
}

.nv-dock-reopen-btn:hover {
  background: #150a2b;
  color: #e9d5ff;
}

.nv-dock-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.nv-dock-track {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-inline-size: 0;
}

.nv-dock-thumb {
  inline-size: 2.75rem;
  block-size: 2.75rem;
  padding: 0;
  border-radius: 0.65rem;
  overflow: clip;
  border: 1px solid rgb(192 132 252 / 0.35);
  background: #000;
  flex-shrink: 0;
  cursor: pointer;
}

.nv-dock-thumb img {
  display: block;
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
}

.nv-dock-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.nv-icon-btn {
  inline-size: 2rem;
  block-size: 2rem;
  border-radius: 999px;
  border: 0;
  background: rgb(255 255 255 / 0.07);
  color: #fff;
  cursor: pointer;
}

.nv-play-circle {
  inline-size: 2.5rem;
  block-size: 2.5rem;
  border-radius: 999px;
  border: 0;
  background: var(--violet-primary);
  color: var(--violet-ink);
  font-weight: 700;
  box-shadow: 0 0 16px rgb(192 132 252 / 0.4);
  cursor: pointer;
}

.nv-sc-wrap {
  margin-block-start: 0.65rem;
}

.nv-sc-wrap[hidden] {
  display: none !important;
}

.nv-sc-frame-box {
  border-radius: 0.75rem;
  overflow: clip;
  border: 1px solid rgb(192 132 252 / 0.35);
  background: rgb(0 0 0 / 0.7);
}

.nv-sc-frame-box iframe {
  display: block;
  inline-size: 100%;
  block-size: 80px;
  border: 0;
}

/* Native Top-Layer <dialog> Modals (Universal cross-browser support) */
dialog.nv-dialog:not([open]) {
  display: none !important;
  opacity: 0 !important;
}

dialog.nv-dialog[open] {
  position: fixed !important;
  inset: 0 !important;
  margin: auto !important;
  z-index: 99999 !important;
  display: block !important;
  opacity: 1 !important;
  transform: scale(1) translateY(0) !important;
  color: #fff;
  padding: 0;
  border: 1px solid rgb(192 132 252 / 0.28);
  background: rgb(7 4 20 / 0.96);
  transition-property: opacity, transform, display, overlay;
  transition-duration: 0.28s;
  transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}

dialog.nv-dialog[open]::backdrop {
  position: fixed !important;
  inset: 0 !important;
  z-index: 99998 !important;
  background-color: rgb(2 2 8 / 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition-property: background-color, backdrop-filter, display, overlay;
  transition-duration: 0.28s;
}

dialog.nv-dialog[data-closing] {
  opacity: 0 !important;
  transform: scale(0.96) translateY(8px) !important;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

dialog.nv-lightbox {
  margin: auto;
  inline-size: 95dvw;
  max-inline-size: 72rem;
  border-radius: 1.5rem;
  overflow: clip;
  box-shadow: 0 30px 100px rgb(0 0 0 / 0.95);
}

.nv-lightbox-grid {
  display: grid;
  grid-template-columns: 1fr;
  min-block-size: 72dvh;
}

@media (min-width: 1024px) {
  .nv-lightbox-grid {
    grid-template-columns: 8fr 4fr;
  }
}

.nv-lightbox-stage {
  position: relative;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

#nv-lb-loader {
  display: flex;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

#nv-lb-loader[hidden],
#nv-lb-loader.is-hidden {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.nv-lightbox-stage img {
  display: block;
  max-block-size: 70dvh;
  max-inline-size: 100%;
  inline-size: auto;
  object-fit: contain;
  border-radius: 0.5rem;
  box-shadow: 0 0 60px rgb(168 85 247 / 0.22);
}

.nv-lb-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  inline-size: 2.5rem;
  block-size: 2.5rem;
  border-radius: 999px;
  border: 1px solid rgb(255 255 255 / 0.22);
  background: rgb(0 0 0 / 0.65);
  color: #fff;
  cursor: pointer;
}

.nv-lb-arrow:hover {
  border-color: var(--violet-primary);
}

.nv-lb-prev {
  left: 0.85rem;
}

.nv-lb-next {
  right: 0.85rem;
}

.nv-lightbox-aside {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
  border-left: 1px solid var(--border-subtle);
}

dialog.nv-cart-drawer {
  margin: 0 0 0 auto;
  inline-size: 100%;
  max-inline-size: 27rem;
  max-block-size: 100dvh;
  block-size: 100dvh;
  padding: 1.5rem;
  background: var(--bg-panel);
  border: 0;
  border-left: 1px solid rgb(192 132 252 / 0.24);
  transform: translateX(100%);
}

:is(dialog.nv-cart-drawer[open]):where(:not([data-closing])) {
  transform: translateX(0);

  @starting-style {
    transform: translateX(100%);
  }
}

.nv-cart-layout {
  block-size: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.nv-cart-items {
  flex: 1;
  overflow-y: auto;
  padding-block: 1rem;
  overscroll-behavior: contain;
}

/* WordPress / WooCommerce Inner Pages (Checkout, Cart, Legal) */
.nv-wp-page-wrap {
  padding: 7.5rem 5% 6rem;
  flex: 1;
}

.nv-wp-page-card {
  max-inline-size: 68rem;
  margin-inline: auto;
  padding: 2rem;
  border-radius: 1.5rem;
  border: 1px solid rgb(192 132 252 / 0.22);
  background: rgb(8 5 22 / 0.9);
  backdrop-filter: blur(20px);
}

.nv-wp-entry-content {
  color: var(--text-muted);
  line-height: 1.7;
}

.nv-wp-entry-content p {
  margin-block-end: 1rem;
}

.nv-wp-entry-content a {
  color: var(--violet-primary);
}

.nv-wp-page-card input:not([type="checkbox"]):not([type="radio"]),
.nv-wp-page-card select,
.nv-wp-page-card textarea {
  background: rgb(255 255 255 / 0.05) !important;
  border: 1px solid rgb(192 132 252 / 0.3) !important;
  border-radius: 0.65rem !important;
  color: #fff !important;
  padding: 0.65rem 0.85rem !important;
}

.nv-wp-page-card .woocommerce button.button.alt,
.nv-wp-page-card .woocommerce button.button,
.nv-wp-page-card .wc-block-components-button {
  background: var(--violet-primary) !important;
  color: var(--violet-ink) !important;
  font-weight: 700 !important;
  border-radius: 0.75rem !important;
  border: 0 !important;
  padding: 0.85rem 1.75rem !important;
  cursor: pointer !important;
  transition: all 0.25s ease !important;
}

.nv-wp-page-card .woocommerce button.button.alt:hover,
.nv-wp-page-card .woocommerce button.button:hover {
  background: #fff !important;
  box-shadow: 0 0 25px rgb(192 132 252 / 0.5) !important;
}

.nv-wp-page-card .woocommerce table.shop_table,
.nv-wp-page-card .woocommerce table.shop_table th,
.nv-wp-page-card .woocommerce table.shop_table td {
  color: #f3e8ff !important;
  border-color: rgb(192 132 252 / 0.2) !important;
  background: transparent !important;
}

.nv-wp-page-card .woocommerce form.checkout label,
.nv-wp-page-card .woocommerce-checkout #payment label {
  color: #e2e8f0 !important;
}

.nv-wp-page-card .woocommerce-checkout #payment {
  background: rgb(255 255 255 / 0.03) !important;
  border: 1px solid rgb(192 132 252 / 0.25) !important;
  border-radius: 1rem !important;
  padding: 1.25rem !important;
}

.nv-wp-page-card .woocommerce-checkout #payment div.payment_box {
  background: rgb(255 255 255 / 0.06) !important;
  color: #d8b4fe !important;
  border-radius: 0.5rem !important;
}

.nv-wp-page-card .woocommerce-checkout #payment div.payment_box::before {
  border-bottom-color: rgb(255 255 255 / 0.06) !important;
}

.nv-wp-page-card .woocommerce-NoticeGroup-checkout,
.nv-wp-page-card .woocommerce-error,
.nv-wp-page-card .woocommerce-info,
.nv-wp-page-card .woocommerce-message {
  background: rgb(192 132 252 / 0.15) !important;
  color: #fff !important;
  border-color: #c084fc !important;
  border-radius: 0.75rem !important;
}

@media (min-width: 768px) {
  #nv-dock-spectrum-box {
    display: block !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  dialog.nv-dialog,
  dialog.nv-cart-drawer,
  .album-monolith,
  .album-monolith-img {
    transform: none !important;
    transition-duration: 0.1s !important;
  }

  @starting-style {
    :is(dialog.nv-dialog[open], dialog.nv-cart-drawer[open]):where(:not([data-closing])) {
      transform: none;
    }
  }

  ::view-transition-group(*),
  ::view-transition-old(*),
  ::view-transition-new(*) {
    animation: none !important;
  }
}

@media (forced-colors: active) {
  dialog,
  article,
  button,
  input,
  select,
  textarea,
  .album-monolith {
    border: 1px solid ButtonText;
  }
}

@keyframes nv-spin {
  to {
    transform: rotate(360deg);
  }
}

/* ============================================================
   OPTIMISATIONS RESPONSIVES POUSSÉES POUR MOBILE ET TABLETTE
   ============================================================ */

/* Ergonomie tactile globale */
button,
a,
input,
select,
.nv-choice-btn,
.nv-photo-stage,
.album-monolith {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

/* Bouton Menu Hamburger (affiché sur mobiles et tablettes < 1024px) */
.nv-mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  inline-size: 2.35rem;
  block-size: 2.35rem;
  border-radius: 9999px;
  border: 1px solid rgba(192, 132, 252, 0.35);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  padding: 0;
  color: #fff;
  transition: all 0.25s ease;
  margin-left: 0.25rem;
}

.nv-mobile-menu-btn:hover,
.nv-mobile-menu-btn:active {
  background: rgba(168, 85, 247, 0.22);
  border-color: var(--violet-primary);
}

.nv-burger-line {
  display: block;
  inline-size: 1.15rem;
  block-size: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

@media (max-width: 1023px) {
  .nv-mobile-menu-btn {
    display: flex;
  }
}

/* Tiroir de navigation mobile & tablette */
.nv-mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 99;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0.3s ease, opacity 0.3s ease;
  pointer-events: none;
}

.nv-mobile-drawer.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.nv-mobile-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 1, 8, 0.84);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.nv-mobile-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  inline-size: 88vw;
  max-inline-size: 330px;
  background: rgba(9, 5, 23, 0.97);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border-left: 1px solid rgba(192, 132, 252, 0.25);
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -15px 0 60px rgba(0, 0, 0, 0.9);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.nv-mobile-drawer.is-open .nv-mobile-drawer-panel {
  transform: translateX(0);
}

.nv-mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nv-mobile-close-btn {
  inline-size: 2.35rem;
  block-size: 2.35rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  color: #d1d5db;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.nv-mobile-close-btn:hover {
  background: rgba(239, 68, 68, 0.25);
  color: #fff;
  border-color: rgba(239, 68, 68, 0.5);
}

.nv-mobile-nav {
  margin-block: 1.75rem auto;
  flex: 1;
}

.nv-mobile-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.nv-mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(192, 132, 252, 0.14);
  background: rgba(255, 255, 255, 0.03);
  color: #f3f4f6;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: all 0.22s ease;
}

.nv-mobile-nav-link:hover,
.nv-mobile-nav-link:active {
  background: rgba(168, 85, 247, 0.2);
  border-color: var(--violet-primary);
  color: #fff;
  transform: translateX(4px);
}

.nv-mobile-drawer-footer {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.nv-mobile-footer-tag {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--violet-soft);
  margin-bottom: 0.85rem;
  font-weight: 600;
}

.nv-mobile-social-grid {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.nv-mobile-social-btn {
  display: block;
  padding: 0.65rem 0.85rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  color: #d1d5db;
  text-decoration: none;
  font-size: 0.78rem;
  transition: all 0.2s ease;
}

.nv-mobile-social-btn:hover {
  background: rgba(192, 132, 252, 0.12);
  color: #fff;
  border-color: rgba(192, 132, 252, 0.35);
}

/* En-tête sur petits écrans (< 460px) */
@media (max-width: 460px) {
  .nv-header-inner {
    padding-inline: 0.65rem;
    gap: 0.4rem;
  }

  .nv-logo-name {
    font-size: 1.15rem !important;
    letter-spacing: 0.22em !important;
  }

  .nv-logo-sub {
    font-size: 0.55rem !important;
    letter-spacing: 0.24em !important;
  }

  .nv-social-trio {
    gap: 0.3rem !important;
    padding-left: 0.35rem !important;
    margin-left: 0.2rem !important;
  }

  .nv-social-icon-btn {
    inline-size: 1.85rem !important;
    block-size: 1.85rem !important;
  }

  .nv-social-icon-btn svg {
    inline-size: 0.95rem !important;
    block-size: 0.95rem !important;
  }

  .nv-cart-btn {
    padding: 0.45rem 0.65rem !important;
    font-size: 0.68rem !important;
    gap: 0.35rem !important;
  }
}

/* Tablettes (640px à 1023px) : Triptyque équilibré et respirant */
@media (min-width: 640px) and (max-width: 1023px) {
  .album-triptych {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 1rem !important;
    padding-inline: 0.5rem !important;
  }

  .album-monolith {
    padding: 1.75rem 1.1rem 1.25rem !important;
    min-height: 480px !important;
    border-radius: 120px 120px 1.75rem 1.75rem !important;
  }

  .album-monolith::after {
    border-radius: 113px 113px 1.25rem 1.25rem !important;
  }

  .nv-album-card-title {
    font-size: 1.22rem !important;
  }

  .nv-album-desc {
    font-size: 0.78rem !important;
    line-height: 1.45 !important;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

/* Mobile (< 640px) : Monolithe grandiose centré */
@media (max-width: 639px) {
  .album-triptych {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
    max-inline-size: 380px !important;
    margin-inline: auto !important;
  }

  .album-monolith {
    max-inline-size: 100% !important;
    min-height: 520px !important;
    padding: 2.25rem 1.5rem 1.5rem !important;
  }
}

/* Salle d'album / Onglets sur mobile (< 640px) */
@media (max-width: 639px) {
  .nv-room-topbar {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.85rem !important;
  }

  .nv-room-tabs {
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 0.35rem;
    inline-size: 100%;
  }

  .nv-room-tabs::-webkit-scrollbar {
    display: none;
  }

  .nv-room-tab {
    flex-shrink: 0;
    white-space: nowrap;
    padding: 0.55rem 0.95rem !important;
  }

  .nv-back-btn {
    text-align: center;
    inline-size: 100%;
    padding: 0.65rem 1rem !important;
  }

  .nv-room-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 1rem !important;
  }

  .nv-room-title {
    font-size: 1.85rem !important;
  }

  /* Cartes photo sur mobile : aspect ratio fluide */
  .nv-photo-stage {
    block-size: auto !important;
    aspect-ratio: 4 / 3 !important;
    max-block-size: 340px !important;
  }

  .nv-photo-card {
    border-radius: 0.75rem !important;
  }
}

/* Visionneuse Plein Écran (Lightbox) sur mobile & tablette (< 1024px) */
@media (max-width: 1023px) {
  dialog.nv-lightbox {
    inline-size: 96dvw !important;
    max-inline-size: 96dvw !important;
    max-block-size: 92dvh !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    border-radius: 1.25rem !important;
    margin: auto;
  }

  .nv-lightbox-grid {
    display: flex !important;
    flex-direction: column !important;
    min-block-size: auto !important;
  }

  .nv-lightbox-stage {
    padding: 1rem 0.5rem !important;
    min-height: 240px;
  }

  .nv-lightbox-stage img {
    max-block-size: 48dvh !important;
    border-radius: 0.4rem !important;
  }

  .nv-lightbox-aside {
    border-left: 0 !important;
    border-top: 1px solid var(--border-subtle) !important;
    padding: 1.25rem 1rem 1.75rem !important;
    gap: 1rem !important;
  }

  .nv-lb-arrow {
    inline-size: 2.85rem !important;
    block-size: 2.85rem !important;
    background: rgba(0, 0, 0, 0.75) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  .nv-lb-prev {
    left: 0.5rem !important;
  }

  .nv-lb-next {
    right: 0.5rem !important;
  }
}

/* Lecteur Audio Flottant avec prise en charge Safe Area (iPhone / Android) */
@media (max-width: 639px) {
  .nv-audio-dock {
    bottom: calc(0.65rem + env(safe-area-inset-bottom, 0px)) !important;
    inline-size: 96% !important;
    padding: 0.65rem 0.85rem !important;
    border-radius: 1rem !important;
  }

  .nv-dock-thumb {
    inline-size: 2.45rem !important;
    block-size: 2.45rem !important;
  }

  #nv-dock-title {
    font-size: 0.78rem !important;
  }

  .nv-play-circle {
    inline-size: 2.35rem !important;
    block-size: 2.35rem !important;
  }

  .nv-icon-btn {
    inline-size: 1.85rem !important;
    block-size: 1.85rem !important;
  }
}

/* Panier tiroir pleine largeur sur mobile */
@media (max-width: 639px) {
  dialog.nv-cart-drawer {
    inline-size: 100% !important;
    max-inline-size: 100% !important;
    border-radius: 0 !important;
    padding: 1.25rem 1rem !important;
  }
}

/* Simulateur mural : adaptation hauteur sur mobile & tablette */
@media (max-width: 639px) {
  .nv-sim-wall {
    block-size: 23rem !important;
    padding: 1.5rem 1rem 1rem !important;
  }

  .nv-sofa-scale {
    inline-size: 85% !important;
  }

  .nv-config-panel {
    padding: 1.25rem 1rem !important;
  }
}

