/* ==========================================================================
   NAVARCH DISCOVERY PACK BUILDER — LUXURY DESIGN SYSTEM
   Matches Navarch Perfumes Website (Playfair Display, Jost, Obsidian & Gold)
   ========================================================================== */

/* Scoped Root & Design Tokens */
.ndp {
  --nv-bg: #07070a;
  --nv-bg-1: #0c0c0f;
  --nv-bg-2: #121215;
  --nv-bg-3: #18181c;
  --nv-ink: #f4efe2;
  --nv-ink-dim: #b7afa0;
  --nv-ink-faint: #726b5e;
  --nv-gold: #c9a45c;
  --nv-gold-light: #ecd6a2;
  --nv-gold-dim: #8a6f3f;
  --nv-line: rgba(201, 164, 92, 0.16);
  --nv-line-strong: rgba(201, 164, 92, 0.38);
  --nv-line-glow: rgba(201, 164, 92, 0.6);
  --nv-ease: cubic-bezier(0.16, 0.8, 0.24, 1);
  --nv-radius: 8px;
  --nv-radius-lg: 12px;

  font-family: 'Jost', Arial, -apple-system, sans-serif;
  color: var(--nv-ink);
  background-color: var(--nv-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

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

.ndp img {
  max-width: 100%;
  height: auto;
  display: block;
}

.ndp-wrap {
  width: min(1320px, 100% - 48px);
  margin-inline: auto;
}

@media (max-width: 640px) {
  .ndp-wrap {
    width: min(1320px, 100% - 32px);
  }
}

/* Typography */
.ndp h1,
.ndp h2,
.ndp h3,
.ndp h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  color: var(--nv-ink);
  letter-spacing: 0.02em;
  margin: 0;
  line-height: 1.2;
}

.ndp p {
  margin: 0;
  color: var(--nv-ink-dim);
}

.ndp-lock {
  overflow: hidden !important;
}

/* Eyebrow Label */
.ndp-eyebrow {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--nv-gold);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-weight: 600;
}

.ndp-eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--nv-gold-dim);
}

/* Section Header */
.ndp-sec-head {
  text-align: center;
  margin-bottom: 40px;
}

.ndp-sec-head .ndp-eyebrow {
  justify-content: center;
}

.ndp-sec-head .ndp-eyebrow::after {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--nv-gold-dim);
}

.ndp-sec-head h2 {
  font-size: clamp(28px, 3.8vw, 46px);
  color: var(--nv-ink);
}

/* ==========================================================================
   BUTTONS & CONTROLS — HIGH SPECIFICITY LUXURY STYLING
   ========================================================================== */
.ndp button,
.ndp .ndp-btn,
button.ndp-btn,
a.ndp-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  padding: 15px 30px !important;
  font-family: 'Jost', sans-serif !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
  border-radius: 4px !important;
  position: relative !important;
  overflow: hidden !important;
  cursor: pointer !important;
  text-decoration: none !important;
  line-height: 1.2 !important;
  transition: transform 0.3s var(--nv-ease), box-shadow 0.3s var(--nv-ease), background 0.3s, border-color 0.3s, color 0.3s !important;
}

/* --------------------------------------------------------------------------
   Signature Navarch Gold Button
   Radiant Metallic Gold with Champagne Luminous Hover
   -------------------------------------------------------------------------- */
.ndp .ndp-btn--gold,
button.ndp-btn--gold,
a.ndp-btn--gold,
.ndp [data-ndp-add],
.ndp [data-ndp-order].is-ready {
  background: linear-gradient(120deg, #c9a45c 0%, #ecd6a2 50%, #c9a45c 100%) !important;
  background-size: 200% auto !important;
  color: #0c0c0f !important;
  border: 1px solid #ecd6a2 !important;
  box-shadow: 0 8px 24px rgba(201, 164, 92, 0.3) !important;
  text-shadow: none !important;
}

.ndp .ndp-btn--gold:hover:not(:disabled),
button.ndp-btn--gold:hover:not(:disabled),
a.ndp-btn--gold:hover:not(:disabled),
.ndp [data-ndp-add]:hover:not(:disabled),
.ndp [data-ndp-order].is-ready:hover {
  background: linear-gradient(120deg, #ecd6a2 0%, #ffffff 50%, #ecd6a2 100%) !important;
  background-position: 100% 0 !important;
  color: #000000 !important;
  border-color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 14px 36px rgba(201, 164, 92, 0.55), 0 0 20px rgba(236, 214, 162, 0.4) !important;
}

/* --------------------------------------------------------------------------
   Luxury Ghost / Review Button
   Refined Gold Outline with Solid Gold Radiance on Hover
   -------------------------------------------------------------------------- */
.ndp .ndp-btn--ghost,
button.ndp-btn--ghost,
a.ndp-btn--ghost,
.ndp [data-ndp-review] {
  background: rgba(201, 164, 92, 0.08) !important;
  color: #ecd6a2 !important;
  border: 1px solid rgba(201, 164, 92, 0.45) !important;
  backdrop-filter: blur(8px) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4) !important;
}

.ndp .ndp-btn--ghost:hover:not(:disabled),
button.ndp-btn--ghost:hover:not(:disabled),
a.ndp-btn--ghost:hover:not(:disabled),
.ndp [data-ndp-review]:hover:not(:disabled) {
  background: linear-gradient(120deg, #c9a45c 0%, #ecd6a2 50%, #c9a45c 100%) !important;
  color: #0c0c0f !important;
  border-color: #ecd6a2 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 30px rgba(201, 164, 92, 0.45) !important;
}

.ndp [data-ndp-review].is-ready {
  background: rgba(201, 164, 92, 0.15) !important;
  border-color: #ecd6a2 !important;
  color: #ffffff !important;
}

.ndp [data-ndp-review].is-ready:hover {
  background: linear-gradient(120deg, #ecd6a2 0%, #ffffff 50%, #ecd6a2 100%) !important;
  color: #000000 !important;
  border-color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 14px 34px rgba(201, 164, 92, 0.55) !important;
}

/* --------------------------------------------------------------------------
   Primary Order Button in Summary
   -------------------------------------------------------------------------- */
.ndp [data-ndp-order]:not(.is-ready) {
  background: rgba(201, 164, 92, 0.12) !important;
  color: #ecd6a2 !important;
  border: 1px solid rgba(201, 164, 92, 0.35) !important;
  opacity: 0.9 !important;
}

.ndp [data-ndp-order]:not(.is-ready):hover {
  background: rgba(201, 164, 92, 0.22) !important;
  color: #ffffff !important;
  border-color: var(--nv-gold) !important;
  transform: translateY(-1px) !important;
}

.ndp [data-ndp-order].is-ready {
  animation: ndpPulseGold 3s ease-in-out infinite;
}

@keyframes ndpPulseGold {
  0%, 100% { box-shadow: 0 8px 24px rgba(201, 164, 92, 0.3); }
  50% { box-shadow: 0 12px 34px rgba(201, 164, 92, 0.6); }
}

/* --------------------------------------------------------------------------
   Sizes & Block Modifiers
   -------------------------------------------------------------------------- */
.ndp .ndp-btn--sm,
button.ndp-btn--sm {
  padding: 10px 18px !important;
  font-size: 11px !important;
  letter-spacing: 0.14em !important;
}

.ndp .ndp-btn--lg,
button.ndp-btn--lg {
  padding: 18px 38px !important;
  font-size: 12.5px !important;
}

.ndp .ndp-btn--block,
button.ndp-btn--block {
  width: 100% !important;
}

/* --------------------------------------------------------------------------
   Disabled Button State (Readable, never black-on-black)
   -------------------------------------------------------------------------- */
.ndp button:disabled,
.ndp .ndp-btn:disabled,
button.ndp-btn:disabled {
  opacity: 0.55 !important;
  cursor: not-allowed !important;
  background: rgba(255, 255, 255, 0.05) !important;
  color: rgba(244, 239, 226, 0.45) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: none !important;
  transform: none !important;
}

.ndp-btn:focus-visible,
.ndp-link:focus-visible,
.ndp input:focus-visible,
.ndp select:focus-visible {
  outline: 2px solid var(--nv-gold);
  outline-offset: 2px;
}

/* Spinner */
.ndp-spinner {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(16, 12, 5, 0.25);
  border-top-color: #100c05;
  border-radius: 50%;
  animation: ndpSpin 0.7s linear infinite;
  display: inline-block;
}

@keyframes ndpSpin {
  to { transform: rotate(360deg); }
}

/* Link buttons */
.ndp-link {
  background: none;
  border: 0;
  padding: 4px 0;
  font-family: 'Jost', sans-serif;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.25s, opacity 0.25s;
}

.ndp-link--gold {
  color: var(--nv-gold-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ndp-link--gold:hover {
  color: #fff;
}

.ndp-link--muted {
  color: var(--nv-ink-faint);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ndp-link--muted:hover {
  color: #e57373;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.ndp-hero {
  position: relative;
  background: radial-gradient(ellipse 900px 500px at 80% 20%, rgba(201, 164, 92, 0.12), transparent 70%),
              radial-gradient(ellipse 600px 400px at 20% 80%, rgba(201, 164, 92, 0.05), transparent 70%),
              var(--nv-bg);
  border-bottom: 1px solid var(--nv-line);
  padding: clamp(64px, 8vw, 110px) 0;
}

.ndp-hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.ndp-h1 {
  font-size: clamp(34px, 5.2vw, 64px);
  text-transform: uppercase;
  color: var(--nv-ink);
  line-height: 1.1;
  margin-bottom: 16px;
}

.ndp-sub {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: clamp(20px, 2.4vw, 28px);
  color: var(--nv-gold-light);
  margin-bottom: 18px;
}

.ndp-lead {
  max-width: 560px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--nv-ink-dim);
  margin-bottom: 32px;
}

.ndp-facts {
  display: flex;
  gap: 36px;
  list-style: none;
  padding: 0;
  margin: 36px 0 0;
  border-top: 1px solid var(--nv-line);
  padding-top: 24px;
}

.ndp-facts li {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--nv-ink-dim);
}

.ndp-facts strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--nv-gold-light);
  line-height: 1.1;
  margin-bottom: 4px;
}

.ndp-hero__art {
  display: flex;
  justify-content: center;
  align-items: center;
}

.ndp-hero__svg {
  width: 100%;
  max-width: 480px;
  filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.65)) drop-shadow(0 0 25px rgba(201, 164, 92, 0.15));
}

.ndp-hero__img {
  width: 100%;
  max-width: 500px;
  border-radius: var(--nv-radius);
  border: 1px solid var(--nv-line);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}

/* ==========================================================================
   BUILDER SECTION
   ========================================================================== */
.ndp-builder {
  background: var(--nv-bg);
  padding: clamp(56px, 7vw, 96px) 0;
  position: relative;
}

.ndp-progress {
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--nv-gold-light);
  margin: 12px 0;
  font-weight: 500;
}

.ndp-bar {
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  max-width: 440px;
  margin: 0 auto;
  border-radius: 2px;
  overflow: hidden;
}

.ndp-bar span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #c9a45c, #ecd6a2);
  box-shadow: 0 0 12px rgba(201, 164, 92, 0.75);
  transition: width 0.45s var(--nv-ease);
}

.ndp-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 36px;
  align-items: start;
}

/* --------------------------------------------------------------------------
   SLOTS GRID (The 6 Bottles)
   -------------------------------------------------------------------------- */
.ndp-slots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.ndp-slot {
  position: relative;
  background: var(--nv-bg-1);
  border: 1px solid var(--nv-line);
  border-radius: var(--nv-radius-lg);
  padding: 24px 18px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 320px;
  transition: border-color 0.35s var(--nv-ease), transform 0.35s var(--nv-ease), box-shadow 0.35s var(--nv-ease);
}

.ndp-slot:hover {
  border-color: var(--nv-line-strong);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(201, 164, 92, 0.1);
}

/* Empty Slot */
.ndp-slot--empty {
  border-style: dashed;
  border-color: rgba(201, 164, 92, 0.28);
  background: rgba(12, 12, 15, 0.5);
  cursor: pointer;
}

.ndp-slot--empty:hover {
  border-color: var(--nv-gold);
  background: rgba(201, 164, 92, 0.04);
}

.ndp-slot__no {
  position: absolute;
  top: 14px;
  left: 16px;
  font-family: 'Playfair Display', serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--nv-gold);
  opacity: 0.9;
}

.ndp-slot__ph {
  width: 76px;
  height: 110px;
  display: grid;
  place-items: center;
  margin: 14px 0 10px;
}

.ndp-slot__svg {
  width: 48px;
  height: auto;
}

.ndp-slot__empty-title {
  font-size: 17px !important;
  color: var(--nv-ink) !important;
  margin-bottom: 4px;
}

.ndp-slot__hint {
  font-size: 11.5px;
  color: var(--nv-gold-dim);
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}

/* Filled Slot */
.ndp-slot.is-filled {
  border-color: rgba(201, 164, 92, 0.24);
  background: linear-gradient(180deg, #101014 0%, #0c0c0f 100%);
}

.ndp-slot__img-wrap {
  width: 140px;
  height: 140px;
  margin: 6px 0 14px;
  border-radius: var(--nv-radius);
  background: radial-gradient(circle at 50% 50%, rgba(201, 164, 92, 0.09), transparent 72%);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}

.ndp-slot__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s var(--nv-ease);
}

.ndp-slot:hover .ndp-slot__img {
  transform: scale(1.05);
}

.ndp-slot__content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 14px;
}

/* Slot Perfume Name - High Contrast */
.ndp-slot__name {
  font-size: 17px !important;
  color: var(--nv-ink) !important;
  margin: 0 0 6px !important;
  line-height: 1.25;
  text-align: center;
  font-weight: 600;
}

.ndp-slot__fam {
  font-size: 12px;
  color: var(--nv-ink-dim);
  margin: 0 0 8px;
  line-height: 1.4;
  text-align: center;
  max-width: 200px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ndp-slot__ml {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--nv-gold-light);
  background: rgba(201, 164, 92, 0.1);
  border: 1px solid rgba(201, 164, 92, 0.28);
  padding: 3px 10px;
  border-radius: 20px;
  font-weight: 600;
}

.ndp-slot__acts {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--nv-line);
  width: 100%;
  justify-content: center;
}

.ndp-slot__acts-div {
  color: var(--nv-line-strong);
  font-size: 12px;
}

/* --------------------------------------------------------------------------
   STICKY SUMMARY SIDEBAR
   -------------------------------------------------------------------------- */
.ndp-summary {
  position: sticky;
  top: 96px;
  background: var(--nv-bg-1);
  border: 1px solid var(--nv-line-strong);
  border-radius: var(--nv-radius-lg);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.6), 0 0 30px rgba(201, 164, 92, 0.08);
  overflow: hidden;
}

.ndp-summary__toggle {
  display: none;
}

.ndp-summary__body {
  padding: 28px 24px 24px;
}

.ndp-summary__head {
  border-bottom: 1px solid var(--nv-line);
  padding-bottom: 14px;
  margin-bottom: 16px;
}

.ndp-summary h3 {
  font-size: 19px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--nv-ink);
  margin-bottom: 4px;
}

.ndp-summary__tagline {
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--nv-gold-light);
}

/* Bottle list */
.ndp-sum-list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ndp-sum-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  padding: 6px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.ndp-sum-list li.is-filled {
  border-color: var(--nv-line);
  background: rgba(201, 164, 92, 0.04);
}

.ndp-sum-list img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  padding: 2px;
}

.ndp-sum-list span {
  flex: 1;
  color: var(--nv-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 500;
}

.ndp-sum-list em {
  font-style: normal;
  color: var(--nv-gold-light);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}

.ndp-sum-list .is-empty {
  color: var(--nv-ink-faint);
}

.ndp-sum-list .is-empty span {
  color: var(--nv-ink-faint);
}

.ndp-dot {
  width: 32px;
  height: 32px;
  border: 1px dashed rgba(201, 164, 92, 0.35);
  border-radius: 4px;
  display: grid;
  place-items: center;
  font-family: 'Playfair Display', serif;
  font-size: 12px;
  color: var(--nv-gold);
  flex: none !important;
}

/* Metadata */
.ndp-sum-meta {
  margin: 0 0 18px;
  font-size: 12.5px;
  border-top: 1px solid var(--nv-line);
  padding-top: 14px;
}

.ndp-sum-meta div {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  color: var(--nv-ink-dim);
}

.ndp-sum-meta dt { margin: 0; }
.ndp-sum-meta dd {
  margin: 0;
  color: var(--nv-ink);
  font-weight: 600;
}

/* Price block */
.ndp-sum-price {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 0 0 20px;
  padding-top: 16px;
  border-top: 1px solid var(--nv-line);
}

.ndp-sum-price span {
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--nv-ink-dim);
}

.ndp-sum-price__values {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.ndp-sum-price del {
  color: var(--nv-ink-faint);
  font-size: 14px;
}

.ndp-sum-price strong {
  font-family: 'Playfair Display', serif;
  font-size: 30px;
  color: var(--nv-gold-light);
  line-height: 1;
}

/* Summary Actions */
.ndp-summary__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Error message banner */
.ndp-error {
  background: rgba(185, 28, 28, 0.15);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.4);
  padding: 12px 14px;
  border-radius: var(--nv-radius);
  margin-bottom: 14px;
  font-size: 13px;
  line-height: 1.4;
}

/* ==========================================================================
   LUXURY REVIEW MODAL (Front & Center Confirmation)
   ========================================================================== */
.ndp-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.ndp-modal[hidden] {
  display: none;
}

.ndp-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 4, 7, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.ndp-modal.is-open .ndp-modal__backdrop {
  opacity: 1;
}

.ndp-modal__panel {
  position: relative;
  background: var(--nv-bg-1);
  border: 1px solid var(--nv-line-strong);
  border-radius: 14px;
  width: min(780px, 100%);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.85), 0 0 40px rgba(201, 164, 92, 0.15);
  transform: translateY(20px) scale(0.97);
  opacity: 0;
  transition: transform 0.3s var(--nv-ease), opacity 0.3s ease;
  overflow: hidden;
  outline: none;
}

.ndp-modal.is-open .ndp-modal__panel {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.ndp-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  border-bottom: 1px solid var(--nv-line);
  background: rgba(255, 255, 255, 0.02);
}

.ndp-modal__head h3 {
  font-size: 24px;
  color: var(--nv-ink);
}

.ndp-modal__head .ndp-eyebrow {
  margin-bottom: 4px;
}

.ndp-x {
  background: none;
  border: none;
  color: var(--nv-ink-dim);
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
  transition: color 0.25s, transform 0.25s;
}

.ndp-x:hover {
  color: var(--nv-gold-light);
  transform: scale(1.1);
}

.ndp-modal__body {
  padding: 24px 28px;
  overflow-y: auto;
  flex: 1;
}

.ndp-modal__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.ndp-modal-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: var(--nv-radius);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--nv-line);
}

.ndp-modal-card__no {
  position: absolute;
  top: 6px;
  right: 10px;
  font-family: 'Playfair Display', serif;
  font-size: 11px;
  color: var(--nv-gold);
}

.ndp-modal-card__img {
  width: 54px;
  height: 54px;
  border-radius: 4px;
  background: radial-gradient(circle at 50% 50%, rgba(201, 164, 92, 0.1), transparent 70%);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.ndp-modal-card__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ndp-modal-card__info {
  flex: 1;
  min-width: 0;
}

.ndp-modal-card__info h4 {
  font-size: 15px !important;
  color: var(--nv-ink) !important;
  margin-bottom: 2px !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ndp-modal-card__fam {
  font-size: 11px;
  color: var(--nv-ink-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 4px;
}

.ndp-modal-card__ml {
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--nv-gold-light);
  font-weight: 600;
}

.ndp-modal__specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 16px;
  border-radius: var(--nv-radius);
  background: rgba(201, 164, 92, 0.05);
  border: 1px solid var(--nv-line);
  margin-bottom: 20px;
}

.ndp-modal__spec-item {
  text-align: center;
}

.ndp-modal__spec-item span {
  display: block;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--nv-ink-dim);
  margin-bottom: 2px;
}

.ndp-modal__spec-item strong {
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  color: var(--nv-gold-light);
}

.ndp-modal__price-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-top: 1px solid var(--nv-line);
}

.ndp-modal__price-bar span {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--nv-ink-dim);
}

.ndp-modal__price {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.ndp-modal__price del {
  color: var(--nv-ink-faint);
  font-size: 15px;
}

.ndp-modal__price strong {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  color: var(--nv-gold-light);
}

.ndp-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  padding: 18px 28px;
  border-top: 1px solid var(--nv-line);
  background: rgba(255, 255, 255, 0.02);
}

/* ==========================================================================
   INLINE REVIEW SECTION (Fallback Table)
   ========================================================================== */
.ndp-review {
  margin-top: 48px;
  background: var(--nv-bg-1);
  border: 1px solid var(--nv-line-strong);
  border-radius: var(--nv-radius-lg);
  padding: clamp(28px, 4vw, 44px);
}

.ndp-review h2 {
  font-size: clamp(26px, 3.2vw, 36px);
  margin-bottom: 20px;
}

.ndp-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
}

.ndp-table th,
.ndp-table td {
  padding: 14px 10px;
  border-bottom: 1px solid var(--nv-line);
  text-align: left;
  vertical-align: middle;
}

.ndp-table th:last-child,
.ndp-table td:last-child {
  text-align: right;
  white-space: nowrap;
}

.ndp-table th {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--nv-gold);
  font-weight: 600;
}

.ndp-table td {
  color: var(--nv-ink);
  font-size: 14px;
}

.ndp-table__no {
  font-family: 'Playfair Display', serif;
  font-size: 12px;
  color: var(--nv-gold);
  margin-right: 12px;
  display: inline-block;
}

.ndp-table td img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  vertical-align: middle;
  margin-right: 10px;
  display: inline-block;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 4px;
}

.ndp-table tfoot td {
  font-weight: 700;
  color: var(--nv-gold-light);
  border-bottom: 0;
  padding-top: 18px;
}

.ndp-review__price {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 12px;
  margin-bottom: 24px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--nv-ink-dim);
}

.ndp-review__price strong {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  color: var(--nv-gold-light);
}

.ndp-review__price del {
  color: var(--nv-ink-faint);
  font-size: 16px;
}

.ndp-review__actions {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  flex-wrap: wrap;
}

/* ==========================================================================
   CONTENT SECTIONS: WHY, HOW, EXPLORE, FINAL CTA
   ========================================================================== */
.ndp-why,
.ndp-how,
.ndp-explore {
  padding: clamp(56px, 7vw, 90px) 0;
  border-bottom: 1px solid var(--nv-line);
}

/* Why Create Your Own */
.ndp-why {
  background: radial-gradient(ellipse 800px 350px at 50% 0%, rgba(201, 164, 92, 0.07), transparent 70%), var(--nv-bg);
}

.ndp-why__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.ndp-why__list li {
  padding: 26px 22px;
  border-radius: var(--nv-radius);
  background: var(--nv-bg-1);
  border: 1px solid var(--nv-line);
  transition: transform 0.35s var(--nv-ease), border-color 0.35s, box-shadow 0.35s;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ndp-why__list li:hover {
  transform: translateY(-4px);
  border-color: var(--nv-line-strong);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 20px rgba(201, 164, 92, 0.08);
}

.ndp-why__num {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  color: var(--nv-gold);
  line-height: 1;
}

.ndp-why__list p {
  color: var(--nv-ink);
  font-size: 14.5px;
  line-height: 1.6;
}

/* How It Works */
.ndp-how {
  background: var(--nv-bg-1);
}

.ndp-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.ndp-steps li {
  padding: 30px 24px;
  background: var(--nv-bg);
  border: 1px solid var(--nv-line);
  border-radius: var(--nv-radius);
  transition: transform 0.35s var(--nv-ease), border-color 0.35s;
}

.ndp-steps li:hover {
  transform: translateY(-4px);
  border-color: var(--nv-gold);
}

.ndp-steps span {
  font-family: 'Playfair Display', serif;
  font-size: 38px;
  font-weight: 600;
  color: var(--nv-gold);
  display: block;
  margin-bottom: 8px;
  line-height: 1;
}

.ndp-steps h3 {
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
  color: var(--nv-ink);
}

.ndp-steps p {
  font-size: 13.5px;
  color: var(--nv-ink-dim);
  line-height: 1.6;
}

/* Fragrances You Can Choose (Pills) */
.ndp-explore {
  background: var(--nv-bg);
}

.ndp-explore__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  max-width: 1080px;
  margin: 0 auto;
}

.ndp-pill-link {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--nv-ink-dim);
  background: var(--nv-bg-1);
  border: 1px solid var(--nv-line);
  border-radius: 24px;
  text-decoration: none;
  transition: all 0.3s var(--nv-ease);
}

.ndp-pill-link:hover {
  color: var(--nv-gold-light);
  border-color: var(--nv-gold);
  background: rgba(201, 164, 92, 0.08);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

/* Final CTA Section */
.ndp-final {
  background: radial-gradient(ellipse 800px 300px at 50% 100%, rgba(201, 164, 92, 0.12), transparent 70%), var(--nv-bg-1);
  text-align: center;
  padding: clamp(64px, 8vw, 100px) 0;
}

.ndp-final h2 {
  font-size: clamp(28px, 4.4vw, 50px);
  text-transform: uppercase;
  color: var(--nv-ink);
  margin-bottom: 30px;
  letter-spacing: 0.04em;
}

/* ==========================================================================
   FRAGRANCE SELECTION DRAWER (Slide-over)
   ========================================================================== */
.ndp-drawer {
  position: fixed;
  inset: 0;
  z-index: 999999;
}

.ndp-drawer[hidden] {
  display: none;
}

.ndp-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 4, 7, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.ndp-drawer.is-open .ndp-drawer__backdrop {
  opacity: 1;
}

.ndp-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(780px, 100%);
  background: var(--nv-bg-1);
  border-left: 1px solid var(--nv-line-strong);
  box-shadow: -15px 0 50px rgba(0, 0, 0, 0.85);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s var(--nv-ease);
  outline: none;
  overflow: hidden;
}

.ndp-drawer.is-open .ndp-drawer__panel {
  transform: none;
}

.ndp-drawer__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 28px;
  background: var(--nv-bg);
  border-bottom: 1px solid var(--nv-line);
}

.ndp-drawer__head h3 {
  font-size: 22px;
  color: var(--nv-ink);
}

.ndp-drawer__head .ndp-eyebrow {
  margin-bottom: 2px;
}

.ndp-drawer__filters {
  display: flex;
  gap: 12px;
  padding: 16px 28px;
  background: var(--nv-bg);
  border-bottom: 1px solid var(--nv-line);
}

.ndp-search-wrap {
  position: relative;
  flex: 1.5;
}

.ndp-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--nv-ink-faint);
  pointer-events: none;
}

.ndp-drawer__filters input,
.ndp-drawer__filters select {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--nv-line);
  border-radius: var(--nv-radius);
  font-family: 'Jost', sans-serif;
  font-size: 13.5px;
  background: var(--nv-bg-2);
  color: var(--nv-ink);
  transition: border-color 0.25s, box-shadow 0.25s;
}

.ndp-drawer__filters input {
  padding-left: 38px;
}

.ndp-drawer__filters select {
  flex: 1;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23b7afa0' stroke-width='1.3' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 32px;
}

.ndp-drawer__filters input:focus,
.ndp-drawer__filters select:focus {
  outline: none;
  border-color: var(--nv-gold);
  box-shadow: 0 0 12px rgba(201, 164, 92, 0.2);
}

.ndp-drawer__status {
  padding: 10px 28px 0;
  font-size: 13px;
  color: var(--nv-ink-dim);
  min-height: 22px;
}

.ndp-grid {
  flex: 1;
  overflow-y: auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 14px 28px 24px;
  align-content: start;
}

.ndp-card {
  background: var(--nv-bg);
  border: 1px solid var(--nv-line);
  border-radius: var(--nv-radius);
  padding: 16px 12px 14px;
  text-align: center;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s, transform 0.3s;
}

.ndp-card:hover {
  border-color: var(--nv-line-strong);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

.ndp-card__img-wrap {
  aspect-ratio: 1;
  width: 100%;
  border-radius: 4px;
  background: radial-gradient(circle at 50% 50%, rgba(201, 164, 92, 0.08), transparent 70%);
  display: grid;
  place-items: center;
  margin-bottom: 12px;
}

.ndp-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ndp-card__info {
  margin-bottom: 12px;
  flex: 1;
}

.ndp-card h4 {
  font-size: 15px !important;
  color: var(--nv-ink) !important;
  margin-bottom: 4px !important;
  line-height: 1.25;
}

.ndp-card__fam {
  font-size: 11px;
  color: var(--nv-ink-dim);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
}

.ndp-card .ndp-btn,
.ndp .ndp-card [data-pick],
button[data-pick] {
  width: 100% !important;
  margin-top: auto !important;
  padding: 11px 12px !important;
  background: linear-gradient(120deg, #c9a45c 0%, #ecd6a2 50%, #c9a45c 100%) !important;
  background-size: 200% auto !important;
  color: #0c0c0f !important;
  border: 1px solid #ecd6a2 !important;
  font-family: 'Jost', sans-serif !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  border-radius: 4px !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45) !important;
  cursor: pointer !important;
}

.ndp-card .ndp-btn:hover:not(:disabled),
.ndp .ndp-card [data-pick]:hover:not(:disabled),
button[data-pick]:hover:not(:disabled) {
  background: linear-gradient(120deg, #ecd6a2 0%, #ffffff 50%, #ecd6a2 100%) !important;
  background-position: 100% 0 !important;
  color: #000000 !important;
  border-color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(201, 164, 92, 0.55) !important;
}

.ndp-card .ndp-btn:disabled,
.ndp .ndp-card [data-pick]:disabled,
button[data-pick]:disabled {
  background: rgba(255, 255, 255, 0.06) !important;
  color: rgba(244, 239, 226, 0.4) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  cursor: not-allowed !important;
  opacity: 0.65 !important;
  box-shadow: none !important;
  transform: none !important;
}

.ndp-drawer__more {
  padding: 0 28px 24px;
  text-align: center;
}

/* ==========================================================================
   RESPONSIVENESS & MOBILE COMPACT STYLES
   ========================================================================== */
@media (max-width: 980px) {
  .ndp-hero__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .ndp-hero__art {
    order: -1;
  }
  .ndp-hero__svg {
    max-width: 360px;
  }
  .ndp-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .ndp-slots {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
  .ndp-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .ndp-modal__grid {
    grid-template-columns: 1fr;
  }

  /* Compact Floating Summary Bar on Mobile/Tablet */
  .ndp-summary {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    z-index: 9990;
    border-radius: 16px 16px 0 0;
    border-top: 2px solid var(--nv-gold);
    border-left: none;
    border-right: none;
    border-bottom: none;
    box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.75);
    background: #0e0e12;
  }
  .ndp-summary__toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background: none;
    border: none;
    color: var(--nv-ink);
    padding: 16px 24px;
    font-family: 'Jost', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
  }
  .ndp-summary__price {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    color: var(--nv-gold-light);
    letter-spacing: 0;
  }
  .ndp-summary__body {
    display: none;
    max-height: 70vh;
    overflow-y: auto;
    padding: 0 24px 24px;
  }
  .ndp-summary.is-open .ndp-summary__body {
    display: block;
  }
  .ndp-summary__head {
    display: none;
  }
  .ndp-builder {
    padding-bottom: 120px;
  }
}

@media (max-width: 620px) {
  .ndp-slots {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .ndp-slot {
    padding: 16px 10px 14px;
    min-height: 270px;
  }
  .ndp-slot__img-wrap {
    width: 100px;
    height: 100px;
  }
  .ndp-slot__name {
    font-size: 14px !important;
  }
  .ndp-slot__fam {
    font-size: 11px;
  }
  .ndp-steps {
    grid-template-columns: 1fr;
  }
  .ndp-facts {
    gap: 20px;
  }
  .ndp-facts strong {
    font-size: 24px;
  }
  .ndp-drawer__filters {
    flex-direction: column;
    padding: 14px 18px;
  }
  .ndp-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 14px 16px;
    gap: 10px;
  }
  .ndp-card {
    padding: 12px 8px;
  }
  .ndp-card h4 {
    font-size: 13.5px !important;
  }
  .ndp-modal__specs {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .ndp-modal__actions {
    flex-direction: column;
  }
  .ndp-modal__actions .ndp-btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ndp * {
    transition: none !important;
    scroll-behavior: auto !important;
    animation: none !important;
  }
}
