/* Novel Patterns - CART brochure modal
   Isolated under np-cart-* classes so it does not alter existing page styling. */

body.np-cart-modal-open {
  overflow: hidden !important;
}

.np-cart-brochure-trigger {
  cursor: pointer !important;
}

.np-cart-modal[hidden] {
  display: none !important;
}

.np-cart-modal {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: grid;
  place-items: center;
  padding: 24px;
  font-family: inherit;
}

.np-cart-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(1, 8, 22, 0.84);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: npCartBackdropIn 180ms ease-out both;
}

.np-cart-modal__dialog {
  position: relative;
  width: min(920px, 100%);
  max-height: min(760px, calc(100vh - 48px));
  overflow: auto;
  border: 1px solid rgba(135, 182, 255, 0.28);
  border-radius: 24px;
  color: #f8fbff;
  background:
    radial-gradient(circle at 12% 0%, rgba(54, 135, 255, 0.24), transparent 32%),
    radial-gradient(circle at 100% 100%, rgba(118, 89, 255, 0.20), transparent 38%),
    linear-gradient(145deg, #061127 0%, #071a35 48%, #071126 100%);
  box-shadow: 0 32px 110px rgba(0, 0, 0, 0.52), 0 0 0 1px rgba(255, 255, 255, 0.035) inset;
  animation: npCartDialogIn 220ms cubic-bezier(.2,.8,.2,1) both;
  isolation: isolate;
}

.np-cart-modal__dialog::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0.34;
  background-image:
    linear-gradient(rgba(113, 164, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(113, 164, 255, 0.08) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom right, #000, transparent 76%);
  -webkit-mask-image: linear-gradient(to bottom right, #000, transparent 76%);
}

.np-cart-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 5;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  color: #ffffff;
  background: rgba(7, 19, 42, 0.74);
  font-size: 24px;
  line-height: 1;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.np-cart-modal__close:hover,
.np-cart-modal__close:focus-visible {
  transform: rotate(5deg) scale(1.04);
  border-color: rgba(109, 174, 255, 0.64);
  background: rgba(25, 72, 143, 0.9);
  outline: none;
}

.np-cart-modal__layout {
  display: grid;
  grid-template-columns: minmax(245px, 0.78fr) minmax(0, 1.42fr);
  min-height: 610px;
}

.np-cart-modal__intro {
  padding: 48px 34px 38px;
  border-right: 1px solid rgba(255, 255, 255, 0.10);
  background: linear-gradient(180deg, rgba(22, 72, 148, 0.25), rgba(5, 17, 38, 0.10));
}

.np-cart-modal__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  margin-bottom: 18px;
  border: 1px solid rgba(125, 184, 255, 0.32);
  border-radius: 999px;
  color: #aad1ff;
  background: rgba(36, 105, 215, 0.14);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.np-cart-modal__eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #5eb6ff;
  box-shadow: 0 0 18px rgba(94, 182, 255, 0.9);
}

.np-cart-modal__intro h2 {
  margin: 0 0 15px;
  color: #ffffff;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.np-cart-modal__intro h2 span {
  display: block;
  color: #80bdff;
}

.np-cart-modal__intro p {
  margin: 0;
  color: #b5c5db;
  font-size: 14px;
  line-height: 1.7;
}

.np-cart-modal__highlights {
  display: grid;
  gap: 12px;
  margin: 27px 0 0;
  padding: 0;
  list-style: none;
}

.np-cart-modal__highlights li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
  align-items: start;
  color: #e8f2ff;
  font-size: 13px;
  line-height: 1.45;
}

.np-cart-modal__highlights li::before {
  content: "✓";
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(91, 175, 255, 0.42);
  border-radius: 7px;
  color: #8bd0ff;
  background: rgba(38, 118, 221, 0.14);
  font-size: 12px;
  font-weight: 900;
}

.np-cart-modal__privacy {
  margin-top: 30px !important;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  color: #8195b0 !important;
  font-size: 11.5px !important;
}

.np-cart-modal__form-wrap {
  padding: 44px 44px 34px;
}

.np-cart-modal__form-head {
  margin-bottom: 24px;
  padding-right: 42px;
}

.np-cart-modal__form-head h3 {
  margin: 0 0 7px;
  color: #ffffff;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.np-cart-modal__form-head p {
  margin: 0;
  color: #91a6c3;
  font-size: 13px;
  line-height: 1.55;
}

.np-cart-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px 16px;
}

.np-cart-field {
  min-width: 0;
}

.np-cart-field--full,
.np-cart-human,
.np-cart-submit,
.np-cart-feedback {
  grid-column: 1 / -1;
}

.np-cart-field label {
  display: block;
  margin: 0 0 7px;
  color: #dceaff;
  font-size: 11.5px;
  font-weight: 750;
  letter-spacing: 0.02em;
}

.np-cart-field label span {
  color: #73b9ff;
}

.np-cart-field input,
.np-cart-field textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(142, 174, 219, 0.24);
  border-radius: 12px;
  color: #f7fbff;
  background: rgba(5, 17, 39, 0.78);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.035) inset;
  font: inherit;
  font-size: 14px;
  line-height: 1.35;
  outline: none;
  transition: border-color 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.np-cart-field input {
  height: 46px;
  padding: 11px 13px;
}

.np-cart-field textarea {
  min-height: 94px;
  max-height: 180px;
  padding: 12px 13px;
  resize: vertical;
}

.np-cart-field input::placeholder,
.np-cart-field textarea::placeholder {
  color: #61748f;
}

.np-cart-field input:hover,
.np-cart-field textarea:hover {
  border-color: rgba(126, 178, 246, 0.42);
}

.np-cart-field input:focus,
.np-cart-field textarea:focus {
  border-color: #54a8ff;
  background: rgba(7, 23, 51, 0.95);
  box-shadow: 0 0 0 3px rgba(62, 145, 255, 0.16);
}

.np-cart-field input.np-cart-invalid,
.np-cart-field textarea.np-cart-invalid {
  border-color: #ff6f82;
  box-shadow: 0 0 0 3px rgba(255, 85, 111, 0.13);
}

.np-cart-human {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 11px 13px;
  border: 1px solid rgba(142, 174, 219, 0.22);
  border-radius: 12px;
  color: #d9e7f8;
  background: rgba(4, 15, 34, 0.56);
  cursor: pointer;
  user-select: none;
  font-size: 13px;
}

.np-cart-human input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #3d97ff;
}

.np-cart-human.np-cart-invalid {
  border-color: #ff6f82;
  box-shadow: 0 0 0 3px rgba(255, 85, 111, 0.12);
}

.np-cart-submit {
  position: relative;
  min-height: 48px;
  border: 0;
  border-radius: 12px;
  color: #ffffff;
  background: linear-gradient(135deg, #2879ef 0%, #3d91ff 55%, #7166ff 100%);
  box-shadow: 0 15px 34px rgba(34, 113, 236, 0.28);
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.01em;
  cursor: pointer;
  overflow: hidden;
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.np-cart-submit::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.22), transparent 70%);
  transform: translateX(-120%);
  transition: transform 420ms ease;
}

.np-cart-submit:hover:not(:disabled) {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 18px 42px rgba(34, 113, 236, 0.38);
}

.np-cart-submit:hover:not(:disabled)::after {
  transform: translateX(120%);
}

.np-cart-submit:focus-visible {
  outline: 3px solid rgba(110, 185, 255, 0.5);
  outline-offset: 3px;
}

.np-cart-submit:disabled {
  cursor: wait;
  opacity: 0.74;
}

.np-cart-feedback {
  min-height: 18px;
  margin: -3px 0 0;
  color: #9fb1ca;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.4;
  text-align: center;
}

.np-cart-feedback.is-error {
  color: #ff96a4;
}

.np-cart-feedback.is-success {
  color: #72e4bc;
}

.np-cart-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

@keyframes npCartBackdropIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes npCartDialogIn {
  from { opacity: 0; transform: translateY(16px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 760px) {
  .np-cart-modal {
    align-items: start;
    padding: 12px;
    overflow: auto;
  }

  .np-cart-modal__dialog {
    max-height: none;
    margin: 8px 0 20px;
    border-radius: 20px;
    overflow: visible;
  }

  .np-cart-modal__layout {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .np-cart-modal__intro {
    padding: 34px 24px 27px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  }

  .np-cart-modal__intro h2 {
    max-width: calc(100% - 35px);
  }

  .np-cart-modal__highlights {
    grid-template-columns: 1fr 1fr;
  }

  .np-cart-modal__privacy {
    margin-top: 22px !important;
  }

  .np-cart-modal__form-wrap {
    padding: 29px 24px 26px;
  }

  .np-cart-modal__form-head {
    padding-right: 0;
  }
}

@media (max-width: 520px) {
  .np-cart-modal {
    padding: 0;
  }

  .np-cart-modal__dialog {
    width: 100%;
    min-height: 100vh;
    margin: 0;
    border-width: 0;
    border-radius: 0;
  }

  .np-cart-modal__close {
    position: fixed;
    top: 12px;
    right: 12px;
  }

  .np-cart-modal__intro {
    padding: 31px 19px 23px;
  }

  .np-cart-modal__intro h2 {
    font-size: 29px;
  }

  .np-cart-modal__highlights {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .np-cart-modal__form-wrap {
    padding: 25px 19px 30px;
  }

  .np-cart-form {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .np-cart-field,
  .np-cart-field--full,
  .np-cart-human,
  .np-cart-submit,
  .np-cart-feedback {
    grid-column: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .np-cart-modal__backdrop,
  .np-cart-modal__dialog {
    animation: none;
  }

  .np-cart-modal *,
  .np-cart-modal *::before,
  .np-cart-modal *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

.np-cart-feedback.is-warning {
  color: #ffd27a;
}

/* Mobile popup correction v3
   Keeps the form as a centred modal card on phones instead of converting it
   into a full-screen page. The dialog itself scrolls when content is longer
   than the available viewport. */
@media (max-width: 760px) {
  .np-cart-modal {
    display: grid;
    place-items: center;
    align-items: center;
    padding: 18px;
    overflow: hidden;
  }

  .np-cart-modal__dialog {
    width: min(680px, 100%);
    max-height: min(88dvh, 760px);
    margin: 0;
    border: 1px solid rgba(135, 182, 255, 0.30);
    border-radius: 21px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-gutter: stable;
  }
}

@media (max-width: 520px) {
  .np-cart-modal {
    padding: 14px;
  }

  .np-cart-modal__dialog {
    width: 100%;
    max-width: 430px;
    min-height: 0;
    max-height: 88dvh;
    margin: 0;
    border-width: 1px;
    border-radius: 18px;
    overflow-x: hidden;
    overflow-y: auto;
  }

  .np-cart-modal__close {
    position: sticky;
    top: 10px;
    right: auto;
    z-index: 20;
    width: 38px;
    height: 38px;
    margin: 10px 10px -48px auto;
    font-size: 21px;
    background: rgba(6, 17, 39, 0.94);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  }

  .np-cart-modal__intro {
    padding: 25px 18px 18px;
  }

  .np-cart-modal__eyebrow {
    margin-bottom: 12px;
    padding: 6px 9px;
    font-size: 9.5px;
  }

  .np-cart-modal__intro h2 {
    max-width: calc(100% - 36px);
    margin-bottom: 10px;
    font-size: 25px;
    line-height: 1.06;
  }

  .np-cart-modal__intro p {
    font-size: 12px;
    line-height: 1.52;
  }

  .np-cart-modal__highlights {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 10px;
    margin-top: 17px;
  }

  .np-cart-modal__highlights li {
    grid-template-columns: 18px 1fr;
    gap: 6px;
    font-size: 10.5px;
    line-height: 1.35;
  }

  .np-cart-modal__highlights li::before {
    width: 18px;
    height: 18px;
    border-radius: 6px;
    font-size: 10px;
  }

  .np-cart-modal__privacy {
    margin-top: 16px !important;
    padding-top: 14px;
    font-size: 9.5px !important;
    line-height: 1.45 !important;
  }

  .np-cart-modal__form-wrap {
    padding: 21px 18px 24px;
  }

  .np-cart-modal__form-head {
    margin-bottom: 17px;
  }

  .np-cart-modal__form-head h3 {
    margin-bottom: 5px;
    font-size: 21px;
  }

  .np-cart-modal__form-head p {
    font-size: 11px;
    line-height: 1.45;
  }

  .np-cart-form {
    grid-template-columns: 1fr;
    gap: 11px;
  }

  .np-cart-field input {
    height: 44px;
  }

  .np-cart-field textarea {
    min-height: 82px;
  }
}

@media (max-width: 350px) {
  .np-cart-modal {
    padding: 10px;
  }

  .np-cart-modal__dialog {
    max-height: 90dvh;
    border-radius: 16px;
  }

  .np-cart-modal__highlights {
    grid-template-columns: 1fr;
  }
}
