/* ============================================================
   Container New Banner Section
   Mobile (<600px): Figma 664:4123 — 375×320, scales with width up to 600px.
   Mid (600–1023px) and desktop (≥1024px): edge to edge.
   ============================================================ */

/* Keep the page from scrolling sideways. The JS measures clientWidth (which
   excludes the scrollbar) so there should be no real overflow, but this is
   a safety net for any edge case. */
html, body {
  overflow-x: hidden;
}

/* ── Gap-closing: flush banner against fixed header ────────── */
.nl-banner-outer {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  display: flex;
  justify-content: center;
}

.nl-banner-frame {
  position: relative;
  box-sizing: border-box;
  flex: 0 0 auto;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  container-type: inline-size;
  container-name: nl-banner;
  font-family: "Geist", var(--bs-body-font-family, system-ui, -apple-system, "Segoe UI", sans-serif);
}

.nl-new-banner {
  position: relative;
  margin: 0 !important;
  padding: 0 !important;
  width: 100%;
  height: auto !important;
  min-height: 0 !important;
}

.mt_required .site-content .wp-block-cgb-container-new-banner-section,
.wp-block-cgb-container-new-banner-section {
  box-sizing: border-box !important;
  /* JS will override width/margin-left to make this full-bleed.
     The base CSS just ensures no padding and correct position context. */
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding: 0 !important;
  position: relative;
}

.entry-content > .wp-block-cgb-container-new-banner-section:first-child {
  margin-top: 0 !important;
}

.mt_required .site-content:has(> .wp-block-cgb-container-new-banner-section:first-child),
.mt_required .site-content:has(> .entry-content > .wp-block-cgb-container-new-banner-section:first-child) {
  padding-top: 0 !important;
  /* Trust bar lives inside .fixed-top; --header-height already includes it. */
  margin-top: var(--header-height, 72px) !important;
}

.entry-content:has(> .wp-block-cgb-container-new-banner-section:first-child) {
  padding-top: 0 !important;
  overflow: visible !important;
}

.entry-content > .wp-block-cgb-container-new-banner-section:first-child {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Slide height follows the 375/320 frame, and grows if a heading wraps. */
.nl-banner-swiper,
.nl-banner-swiper.swiper,
.nl-banner-swiper .swiper-wrapper,
.nl-banner-swiper .swiper-slide {
  height: auto !important;
  min-height: 0 !important;
}

.nl-banner-swiper .swiper-slide {
  display: flex !important;
  align-items: stretch;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box;
}

.nl-banner-swiper {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.nl-banner-swiper .swiper-wrapper {
  align-items: stretch;
}

.nl-banner-slide {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, calc(172 * 100cqw / 375));
  grid-template-rows: auto auto;
  column-gap: calc(7 * 100cqw / 375);
  align-content: start;
  align-items: center;
  flex: 1 1 auto;
  width: 100%;
  height: auto;
  min-height: 0;
  box-sizing: border-box;
  overflow: hidden;
  padding: calc(24 * 100cqw / 375) calc(16 * 100cqw / 375) calc(28 * 100cqw / 375);
  background: var(--nl-banner-bg, linear-gradient(to bottom, #ffd722 0%, #ffe275 55%, #ffffff 100%));
  pointer-events: none;
}

/* Heading is its own row. Button and image share the row below and stay
   centered with each other, so a longer heading grows the slide instead of
   covering the photo. */
.nl-banner-copy {
  display: contents;
}

.nl-banner-actions {
  grid-column: 1;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-self: center;
  justify-self: start;
  gap: calc(20 * 100cqw / 375);
  width: auto;
  max-width: 100%;
  margin-top: calc(16 * 100cqw / 375);
  padding-top: 0;
  min-width: 0;
}

.nl-new-banner__title {
  position: static;
  grid-column: 1 / -1;
  grid-row: 1;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
  font-family: inherit;
  font-size: calc(32 * 100cqw / 375) !important;
  font-weight: 700 !important;
  line-height: calc(40 * 100cqw / 375) !important;
  letter-spacing: 0;
  color: #111111 !important;
  white-space: normal;
  overflow-wrap: break-word;
  pointer-events: none;
}

.nl-new-banner__cta,
.nl-new-banner__cta:link,
.nl-new-banner__cta:visited {
  position: static;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  width: calc(156 * 100cqw / 375) !important;
  height: calc(44 * 100cqw / 375) !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: calc(156 * 100cqw / 375) !important;
  margin: 0 !important;
  padding: calc(12 * 100cqw / 375) calc(16 * 100cqw / 375) !important;
  border: none !important;
  border-radius: calc(24 * 100cqw / 375) !important;
  background-color: #ff9900 !important;
  color: #000000 !important;
  font-family: inherit !important;
  font-size: calc(14 * 100cqw / 375) !important;
  font-weight: 600 !important;
  line-height: calc(20 * 100cqw / 375) !important;
  text-align: center !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  overflow: hidden;
  pointer-events: auto;
  cursor: pointer;
}

.nl-new-banner__cta:hover,
.nl-new-banner__cta:focus {
  background-color: #e68a00 !important;
  color: #000000 !important;
  opacity: 1;
  text-decoration: none !important;
}

.nl-new-banner__how-it-works,
.nl-new-banner__how-it-works:link,
.nl-new-banner__how-it-works:visited,
.nl-new-banner__how-it-works:hover,
.nl-new-banner__how-it-works:focus,
.nl-new-banner__how-it-works:active {
  -webkit-appearance: none !important;
  appearance: none !important;
  position: static;
  display: inline-flex !important;
  align-items: center !important;
  gap: calc(4 * 100cqw / 375);
  width: auto !important;
  max-width: 100%;
  height: auto !important;
  align-items: flex-start !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
  background-color: transparent !important;
  color: #111111 !important;
  font-family: inherit !important;
  font-size: calc(14 * 100cqw / 375) !important;
  font-weight: 500 !important;
  line-height: calc(20 * 100cqw / 375) !important;
  text-align: left !important;
  text-decoration: none !important;
  cursor: pointer !important;
  pointer-events: auto;
}

.nl-new-banner__how-it-works svg {
  flex-shrink: 0;
  width: calc(16 * 100cqw / 375);
  height: calc(16 * 100cqw / 375);
  margin-top: calc(2 * 100cqw / 375);
  color: #111111;
}

.nl-new-banner__how-it-works span {
  display: block;
  width: auto;
  max-width: 100%;
  overflow: visible;
  white-space: normal;
  text-overflow: unset;
  text-decoration: underline;
  text-underline-offset: calc(2 * 100cqw / 375);
}

.nl-new-banner__how-it-works:hover {
  opacity: 0.75 !important;
}

.nl-banner-media {
  position: relative;
  grid-column: 2;
  grid-row: 2;
  align-self: center;
  justify-self: end;
  right: auto;
  bottom: auto;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 1;
  margin-top: calc(16 * 100cqw / 375);
  margin-right: 0;
  border-radius: 0 !important;
  overflow: visible;
  background: transparent;
  pointer-events: none;
}

.nl-banner-img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: center bottom;
  border-radius: 0 !important;
}

/* Pagination sits in the bottom strip of the 320 frame.
   Active: 12×4 pill. Inactive: 4×4 circles at 36% opacity. */
.nl-banner-pagination,
.nl-banner-frame > .nl-banner-pagination,
.nl-banner-frame .nl-banner-pagination.swiper-pagination-bullets.swiper-pagination-horizontal {
  position: absolute !important;
  bottom: 0 !important;
  top: auto !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  height: calc(20 * 100cqw / 375) !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: calc(8 * 100cqw / 375) !important;
  line-height: 0 !important;
  z-index: 10 !important;
  pointer-events: none !important;
  --swiper-pagination-bullet-size: 4px;
  --swiper-pagination-bullet-width: 4px;
  --swiper-pagination-bullet-height: 4px;
  --swiper-pagination-bullet-horizontal-gap: 0px;
  --swiper-pagination-bullet-vertical-gap: 0px;
  --swiper-pagination-bullet-inactive-color: #737373;
  --swiper-pagination-bullet-inactive-opacity: 0.36;
  --swiper-pagination-color: #000000;
  --swiper-pagination-bullet-opacity: 1;
}

.nl-banner-frame .nl-banner-pagination.swiper-pagination-horizontal .swiper-pagination-bullet,
.nl-banner-frame .nl-banner-pagination .nl-banner-bullet {
  flex: 0 0 auto;
  box-sizing: content-box !important;
  background: #737373 !important;
  background-color: #737373 !important;
  opacity: 0.36 !important;
  width: calc(4 * 100cqw / 375) !important;
  height: calc(4 * 100cqw / 375) !important;
  min-width: 0 !important;
  min-height: 0 !important;
  display: inline-block !important;
  border: 0 !important;
  border-radius: 50% !important;
  margin: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  pointer-events: auto !important;
  cursor: pointer !important;
  transition: width 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

.nl-banner-frame .nl-banner-pagination.swiper-pagination-horizontal .swiper-pagination-bullet-active,
.nl-banner-frame .nl-banner-pagination .nl-banner-bullet.swiper-pagination-bullet-active {
  width: calc(12 * 100cqw / 375) !important;
  height: calc(4 * 100cqw / 375) !important;
  border-radius: calc(2 * 100cqw / 375) !important;
  background: #000000 !important;
  background-color: #000000 !important;
  opacity: 1 !important;
}

/* Mid and desktop: same edge-to-edge banner, no extra width override. */
@media (min-width: 600px) {
  .nl-banner-outer {
    max-width: none !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .nl-banner-frame {
    min-width: 0 !important;
    max-width: none !important;
    width: 100% !important;
    flex: 1 1 auto;
  }
}

/* Mid widths: heading wraps beside the image, gaps stay fixed. */
@media (min-width: 600px) and (max-width: 1023.98px) {
  .nl-banner-slide {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    min-height: 280px;
    height: auto;
    padding: 40px 40px 32px;
  }

  .nl-banner-copy {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 28px;
    width: auto;
    min-width: 0;
  }

  .nl-banner-actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 24px;
    width: auto;
    max-width: none;
    margin-top: 0;
    padding-top: 0;
    grid-column: auto;
    grid-row: auto;
    align-self: auto;
  }

  .nl-new-banner__title {
    grid-column: auto;
    grid-row: auto;
    width: auto;
    max-width: 100%;
    min-height: 0;
    font-size: clamp(28px, 3.6vw, 36px) !important;
    font-weight: 600 !important;
    line-height: 1.15 !important;
    white-space: normal;
  }

  .nl-new-banner__cta,
  .nl-new-banner__cta:link,
  .nl-new-banner__cta:visited {
    width: 180px !important;
    max-width: 180px !important;
    height: 44px !important;
    padding: 12px 16px !important;
    border-radius: 24px !important;
    font-size: 14px !important;
    line-height: 20px !important;
  }

  .nl-new-banner__how-it-works,
  .nl-new-banner__how-it-works:link,
  .nl-new-banner__how-it-works:visited,
  .nl-new-banner__how-it-works:hover,
  .nl-new-banner__how-it-works:focus,
  .nl-new-banner__how-it-works:active {
    gap: 4px;
    max-width: none;
    height: 20px !important;
    font-size: 14px !important;
    line-height: 20px !important;
  }

  .nl-new-banner__how-it-works svg {
    width: 16px;
    height: 16px;
  }

  .nl-new-banner__how-it-works span {
    width: auto;
    max-width: none;
    white-space: nowrap;
    overflow: hidden;
  }

  .nl-new-banner__how-it-works svg {
    margin-top: 0;
  }

  .nl-banner-media {
    position: relative;
    right: auto;
    bottom: auto;
    flex: 0 0 clamp(160px, 28vw, 220px);
    width: clamp(160px, 28vw, 220px);
    height: clamp(160px, 28vw, 220px);
    margin-top: 0;
    margin-right: 0;
    grid-column: auto;
    grid-row: auto;
    align-self: center;
  }

  .nl-banner-pagination,
  .nl-banner-frame > .nl-banner-pagination,
  .nl-banner-pagination.swiper-pagination-bullets.swiper-pagination-horizontal {
    height: 22px !important;
    gap: 8px !important;
  }

  .nl-banner-frame .nl-banner-pagination.swiper-pagination-horizontal .swiper-pagination-bullet,
  .nl-banner-frame .nl-banner-pagination .nl-banner-bullet {
    width: 6px !important;
    height: 6px !important;
    border-radius: 50% !important;
    opacity: 0.36 !important;
  }

  .nl-banner-frame .nl-banner-pagination.swiper-pagination-horizontal .swiper-pagination-bullet-active,
  .nl-banner-frame .nl-banner-pagination .nl-banner-bullet.swiper-pagination-bullet-active {
    width: 18px !important;
    height: 6px !important;
    border-radius: 999px !important;
    opacity: 1 !important;
  }
}

/* Desktop — Figma 697:4482, 1440×320.
   Copy stays in the column left of the image. A long heading wraps,
   and the gap under the heading does not change with the line count. */
@media (min-width: 1024px) {
  .nl-banner-slide {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: calc(48 * 100cqw / 1440);
    min-height: calc(320 * 100cqw / 1440);
    height: auto;
    padding: calc(40 * 100cqw / 1440) calc(80 * 100cqw / 1440) calc(28 * 100cqw / 1440);
  }

  .nl-banner-copy {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: calc(36 * 100cqw / 1440);
    width: auto;
    max-width: calc(100% - 344 * 100cqw / 1440);
    min-width: 0;
    position: relative;
    z-index: 1;
  }

  .nl-banner-actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: calc(40 * 100cqw / 1440);
    width: auto;
    max-width: none;
    margin-top: 0 !important;
    padding-top: 0;
    grid-column: auto;
    grid-row: auto;
    align-self: auto;
  }

  .nl-new-banner__title {
    grid-column: auto;
    grid-row: auto;
    width: auto;
    max-width: 100%;
    min-height: 0;
    font-size: calc(48 * 100cqw / 1440) !important;
    font-weight: 600 !important;
    line-height: calc(56 * 100cqw / 1440) !important;
    white-space: normal;
  }

  .nl-new-banner__cta,
  .nl-new-banner__cta:link,
  .nl-new-banner__cta:visited {
    width: calc(208 * 100cqw / 1440) !important;
    max-width: calc(208 * 100cqw / 1440) !important;
    height: calc(44 * 100cqw / 1440) !important;
    padding: calc(12 * 100cqw / 1440) calc(16 * 100cqw / 1440) !important;
    border-radius: calc(24 * 100cqw / 1440) !important;
    font-size: calc(14 * 100cqw / 1440) !important;
    line-height: calc(20 * 100cqw / 1440) !important;
  }

  .nl-new-banner__how-it-works,
  .nl-new-banner__how-it-works:link,
  .nl-new-banner__how-it-works:visited,
  .nl-new-banner__how-it-works:hover,
  .nl-new-banner__how-it-works:focus,
  .nl-new-banner__how-it-works:active {
    gap: calc(4 * 100cqw / 1440);
    max-width: none;
    height: calc(20 * 100cqw / 1440) !important;
    font-size: calc(14 * 100cqw / 1440) !important;
    line-height: calc(20 * 100cqw / 1440) !important;
  }

  .nl-new-banner__how-it-works svg {
    width: calc(16 * 100cqw / 1440);
    height: calc(16 * 100cqw / 1440);
  }

  .nl-new-banner__how-it-works span {
    width: auto;
    max-width: none;
    white-space: nowrap;
    overflow: hidden;
    text-underline-offset: calc(2 * 100cqw / 1440);
  }

  .nl-new-banner__how-it-works svg {
    margin-top: 0;
  }

  .nl-banner-media {
    position: relative;
    right: auto;
    bottom: auto;
    flex: 0 0 calc(296 * 100cqw / 1440);
    width: calc(296 * 100cqw / 1440);
    height: calc(296 * 100cqw / 1440);
    margin-top: 0 !important;
    margin-right: 0 !important;
    grid-column: auto;
    grid-row: auto;
    align-self: center;
  }

  .nl-banner-pagination,
  .nl-banner-frame > .nl-banner-pagination,
  .nl-banner-pagination.swiper-pagination-bullets.swiper-pagination-horizontal {
    height: calc(22 * 100cqw / 1440) !important;
    gap: calc(8 * 100cqw / 1440) !important;
  }

  .nl-banner-frame .nl-banner-pagination.swiper-pagination-horizontal .swiper-pagination-bullet,
  .nl-banner-frame .nl-banner-pagination .nl-banner-bullet {
    width: calc(6 * 100cqw / 1440) !important;
    height: calc(6 * 100cqw / 1440) !important;
    border-radius: 50% !important;
    opacity: 0.36 !important;
  }

  .nl-banner-frame .nl-banner-pagination.swiper-pagination-horizontal .swiper-pagination-bullet-active,
  .nl-banner-frame .nl-banner-pagination .nl-banner-bullet.swiper-pagination-bullet-active {
    width: calc(18 * 100cqw / 1440) !important;
    height: calc(6 * 100cqw / 1440) !important;
    border-radius: 999px !important;
    opacity: 1 !important;
  }
}

/* ============================================================
   Trade-in overlay — appended to <body> by JS (direct child of body).
   Desktop (≥601px): centered white card over dimmed page.
   Mobile  (≤600px): white bottomsheet sliding up from the bottom.
   Show/hide is controlled entirely by JS inline style (display:none/flex)
   so no theme CSS can override visibility.
   ============================================================ */

.nl-tradein-overlay {
  /* JS sets display:flex when opening, display:none when closed.
     100dvh tracks Safari's visible viewport so the sheet sits on the
     visible bottom instead of leaving a gap above the toolbar. */
  display: none;
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  z-index: 100000 !important;
  align-items: flex-end;
  justify-content: center;
}

.nl-tradein-backdrop {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.55);
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nl-tradein-overlay.is-open .nl-tradein-backdrop {
  opacity: 1;
}

.nl-tradein-panel {
  position: relative;
  z-index: 1;
  align-self: flex-end;
  flex: 0 0 auto;
  width: 100%;
  max-width: 100%;
  height: auto;
  background-color: #ffffff !important;
  background: #ffffff !important;
  display: flex !important;
  flex-direction: column !important;
  border-radius: 16px 16px 0 0 !important;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
  overflow: hidden;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

.nl-tradein-overlay.is-open .nl-tradein-panel {
  transform: translateY(0);
}

.nl-tradein-handle {
  display: flex;
  justify-content: center;
  padding: 12px 0 0;
}

.nl-tradein-handle-bar {
  width: 40px;
  height: 5px;
  background: #ebebeb;
  border-radius: 3px;
}

.nl-tradein-title-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px;
}

/* × sits on the same row as the title, 20px to match the header. */
.nl-tradein-close {
  position: static !important;
  top: auto !important;
  right: auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 20px;
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  margin: 0 !important;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  padding: 0 !important;
  font-size: 20px !important;
  line-height: 20px !important;
  color: #666 !important;
  cursor: pointer !important;
  z-index: 2;
  -webkit-appearance: none !important;
  appearance: none !important;
}

.nl-tradein-close:hover {
  color: #000 !important;
}

.nl-tradein-content {
  display: flex !important;
  flex: 0 0 auto;
  flex-direction: column !important;
  gap: 16px;
  padding: 12px 16px 16px !important;
  overflow-y: auto;
  background: #ffffff !important;
}

.nl-tradein-title {
  font-size: 20px !important;
  font-weight: 600 !important;
  line-height: 28px !important;
  color: #000000 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.nl-tradein-desc {
  font-size: 15px !important;
  font-weight: 400 !important;
  line-height: 21px !important;
  color: #737373 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.nl-tradein-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px;
}

.nl-tradein-item {
  display: flex !important;
  gap: 12px;
  align-items: flex-start !important;
  margin: 0 !important;
  padding: 0 !important;
}

.nl-tradein-check {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 22px !important;
  height: 22px !important;
  min-width: 22px !important;
  background: #e8f6f0 !important;
  border-radius: 11px !important;
  flex-shrink: 0;
  margin-top: 1px;
}

.nl-tradein-check svg {
  display: block !important;
  width: 18px !important;
  height: 18px !important;
}

.nl-tradein-item > div {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.nl-tradein-item-title {
  font-size: 16px !important;
  font-weight: 500 !important;
  line-height: 24px !important;
  color: #000000 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.nl-tradein-item-desc {
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 20px !important;
  color: #737373 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* CTA button */
.nl-tradein-cta,
.nl-tradein-cta:link,
.nl-tradein-cta:visited {
  display: flex !important;
  width: 100% !important;
  align-items: center !important;
  justify-content: center !important;
  background-color: var(--bs-primary, #ff9900) !important;
  color: #000 !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 12px 16px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 20px !important;
  text-decoration: none !important;
  cursor: pointer !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  box-sizing: border-box !important;
}

.nl-tradein-cta:hover,
.nl-tradein-cta:focus,
.nl-tradein-cta:active {
  opacity: 0.9 !important;
  color: #000 !important;
  text-decoration: none !important;
}

body.nl-tradein-open {
  overflow: hidden !important;
}

@media (min-width: 601px) {
  /* Desktop: centered modal card.
     align-self:flex-end on the panel (mobile bottomsheet) would pin the
     card to the bottom, so center it explicitly on the viewport. */
  .nl-tradein-overlay {
    align-items: center !important;
    justify-content: center !important;
    padding: 24px;
  }

  .nl-tradein-panel {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    right: auto !important;
    bottom: auto !important;
    align-self: center !important;
    margin: 0 !important;
    width: 480px;
    max-width: calc(100% - 48px);
    border-radius: 16px !important;
    transform: translate(-50%, -50%) scale(0.95) !important;
    transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
  }

  .nl-tradein-overlay.is-open .nl-tradein-panel {
    transform: translate(-50%, -50%) scale(1) !important;
  }

  .nl-tradein-handle {
    display: none !important;
  }

  .nl-tradein-content {
    padding: 24px !important;
  }
}
