.nl-sale-cars,
.nl-sale-detail {
  --nl-sale-brand: var(--brand, #103466);
  --nl-sale-brand-dark: var(--brand-700, #0a264f);
  --nl-sale-accent: #f58220;
  --nl-sale-text: #182333;
  --nl-sale-muted: #647184;
  --nl-sale-border: #e1e7ef;
  --nl-sale-bg: #f5f8fc;
  box-sizing: border-box;
  color: var(--nl-sale-text);
  font-family: inherit;
}

.nl-sale-cars *,
.nl-sale-detail * {
  box-sizing: border-box;
}

.nl-sale-cars {
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px 20px;
}

.nl-sale-cars__title {
  position: relative;
  z-index: 0;
  margin: 0;
  color: var(--nl-sale-brand);
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 900;
  line-height: 1.05;
  text-align: center;
}

.nl-sale-cars__title::before {
  content: attr(data-title);
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  width: 100%;
  transform: translate(-50%, -55%) scale(1.12);
  color: rgba(16, 52, 102, .06);
  font-size: 1.65em;
  white-space: nowrap;
}

.nl-sale-cars__intro {
  margin: 14px auto 34px;
  color: var(--nl-sale-muted);
  text-align: center;
}

.nl-sale-cars__all {
  margin: -18px 0 28px;
  text-align: center;
}

.nl-sale-cars__all a {
  color: var(--nl-sale-brand);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.nl-sale-cars__carousel {
  position: relative;
}

.nl-sale-cars__track {
  display: flex;
  gap: 26px;
  overflow-x: auto;
  padding: 6px 2px 16px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.nl-sale-cars__track::-webkit-scrollbar {
  display: none;
}

.nl-sale-card {
  flex: 0 0 calc((100% - 52px) / 3);
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--nl-sale-border);
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(21, 42, 71, .08);
  scroll-snap-align: start;
  transition: transform .2s ease, box-shadow .2s ease;
}

.nl-sale-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(21, 42, 71, .14);
}

.nl-sale-card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #e9eef5;
}

.nl-sale-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.nl-sale-card:hover .nl-sale-card__media img {
  transform: scale(1.035);
}

.nl-sale-card__body {
  display: flex;
  min-height: 196px;
  flex-direction: column;
  padding: 20px;
}

.nl-sale-card__name {
  margin: 0;
  color: var(--nl-sale-brand);
  font-size: 21px;
  line-height: 1.2;
}

.nl-sale-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.nl-sale-card__meta span {
  display: inline-flex;
  align-items: center;
  min-height: 29px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #edf3fa;
  color: var(--nl-sale-brand);
  font-size: 12px;
  font-weight: 700;
}

.nl-sale-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 20px;
}

.nl-sale-card__price {
  color: var(--nl-sale-text);
  font-size: 19px;
  font-weight: 900;
}

.nl-sale-card__button,
.nl-sale-detail__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 43px;
  padding: 10px 16px;
  border: 0;
  border-radius: 10px;
  background: var(--nl-sale-brand);
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}

.nl-sale-card__button:hover,
.nl-sale-detail__button:hover {
  background: var(--nl-sale-brand-dark);
  color: #fff;
  transform: translateY(-1px);
}

.nl-sale-cars__nav {
  position: absolute;
  z-index: 3;
  top: 50%;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--nl-sale-border);
  border-radius: 50%;
  background: #fff;
  color: var(--nl-sale-brand);
  box-shadow: 0 8px 20px rgba(21, 42, 71, .14);
  cursor: pointer;
  transform: translateY(-50%);
}

.nl-sale-cars__nav--prev { left: -20px; }
.nl-sale-cars__nav--next { right: -20px; }
.nl-sale-cars__nav:disabled { opacity: .35; cursor: default; }

.nl-sale-detail {
  min-height: 60vh;
  background: var(--nl-sale-bg);
  padding: 42px 20px 80px;
}

.nl-sale-detail__container {
  max-width: 1180px;
  margin: 0 auto;
}

.nl-sale-detail__back {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--nl-sale-brand);
  font-weight: 800;
  text-decoration: none;
}

.nl-sale-detail__hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(310px, .65fr);
  gap: 30px;
}

.nl-sale-gallery,
.nl-sale-detail__summary,
.nl-sale-detail__panel,
.nl-sale-form {
  border: 1px solid var(--nl-sale-border);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(21, 42, 71, .07);
}

.nl-sale-gallery {
  overflow: hidden;
  padding: 14px;
}

.nl-sale-gallery__main {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 12px;
  background: #e9eef5;
}

.nl-sale-gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nl-sale-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.nl-sale-gallery__thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 9px;
  background: #eef3f8;
  cursor: pointer;
}

.nl-sale-gallery__thumb.is-active { border-color: var(--nl-sale-brand); }
.nl-sale-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }

.nl-sale-detail__summary {
  display: flex;
  flex-direction: column;
  padding: 30px;
}

.nl-sale-detail__eyebrow {
  color: var(--nl-sale-accent);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.nl-sale-detail__heading {
  margin: 8px 0 16px;
  color: var(--nl-sale-brand);
  font-size: clamp(29px, 4vw, 44px);
  line-height: 1.05;
}

.nl-sale-detail__price {
  margin: 0 0 22px;
  color: var(--nl-sale-text);
  font-size: 30px;
  font-weight: 900;
}

.nl-sale-detail__old-price {
  margin-left: 8px;
  color: var(--nl-sale-muted);
  font-size: 16px;
  font-weight: 600;
  text-decoration: line-through;
}

.nl-sale-detail__description {
  color: #4f5d70;
  line-height: 1.65;
}

.nl-sale-detail__summary .nl-sale-detail__button {
  align-self: flex-start;
  margin-top: auto;
}

.nl-sale-detail__panel {
  margin-top: 30px;
  padding: 30px;
}

.nl-sale-detail__panel h2,
.nl-sale-form h2 {
  margin: 0 0 22px;
  color: var(--nl-sale-brand);
  font-size: 27px;
}

.nl-sale-specs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.nl-sale-spec {
  min-height: 82px;
  padding: 15px;
  border-radius: 12px;
  background: var(--nl-sale-bg);
}

.nl-sale-spec dt {
  margin-bottom: 6px;
  color: var(--nl-sale-muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.nl-sale-spec dd { margin: 0; font-weight: 800; }

.nl-sale-accessories {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.nl-sale-accessories h3 { margin: 0 0 12px; color: var(--nl-sale-brand); }
.nl-sale-accessories ul { margin: 0; padding-left: 20px; columns: 2; }
.nl-sale-accessories li { margin-bottom: 7px; break-inside: avoid; }

.nl-sale-form {
  margin-top: 30px;
  padding: 30px;
  scroll-margin-top: 30px;
}

.nl-sale-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.nl-sale-form__field { display: flex; flex-direction: column; gap: 7px; }
.nl-sale-form__field--full { grid-column: 1 / -1; }
.nl-sale-form__field label { font-size: 14px; font-weight: 800; }

.nl-sale-form__input,
.nl-sale-form__textarea {
  width: 100%;
  border: 1px solid #cfd8e4;
  border-radius: 10px;
  background: #fff;
  color: var(--nl-sale-text);
  font: inherit;
  padding: 12px 13px;
}

.nl-sale-form__textarea { min-height: 130px; resize: vertical; }
.nl-sale-form__input:focus,
.nl-sale-form__textarea:focus { outline: 3px solid rgba(16, 52, 102, .13); border-color: var(--nl-sale-brand); }

.nl-sale-form__privacy {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: #4f5d70;
  font-size: 14px;
}

.nl-sale-form__privacy input { margin-top: 3px; }
.nl-sale-form__honeypot { position: absolute !important; left: -10000px !important; }

.nl-sale-alert {
  margin-bottom: 20px;
  padding: 14px 16px;
  border-radius: 10px;
  font-weight: 700;
}

.nl-sale-alert--success { background: #e4f7eb; color: #176b38; }
.nl-sale-alert--error { background: #fde9e7; color: #9a2b21; }
.nl-sale-alert ul { margin: 0; padding-left: 20px; }

@media (max-width: 900px) {
  .nl-sale-card { flex-basis: calc((100% - 26px) / 2); }
  .nl-sale-detail__hero { grid-template-columns: 1fr; }
  .nl-sale-specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .nl-sale-cars { padding: 52px 16px; }
  .nl-sale-cars__title::before { display: none; }
  .nl-sale-card { flex-basis: 100%; }
  .nl-sale-cars__nav--prev { left: -5px; }
  .nl-sale-cars__nav--next { right: -5px; }
  .nl-sale-card__footer { align-items: flex-start; flex-direction: column; }
  .nl-sale-card__button { width: 100%; }
  .nl-sale-detail { padding: 28px 12px 55px; }
  .nl-sale-detail__summary,
  .nl-sale-detail__panel,
  .nl-sale-form { padding: 21px; }
  .nl-sale-specs,
  .nl-sale-form__grid,
  .nl-sale-accessories { grid-template-columns: 1fr; }
  .nl-sale-accessories ul { columns: 1; }
}

/* Scheda dettaglio: replica del layout sitovendita_auto/scheda_auto.php. */
body.nl-sale-detail-page {
  margin: 0;
  background: #f6f8fb;
  color: #0e1726;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", Arial, sans-serif;
}

.nl-sale-detail-page .nl-sale-detail {
  min-height: 60vh;
  padding: 0 20px;
  background: #f6f8fb;
  color: #0e1726;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", Arial, sans-serif;
}

.nl-sale-detail-page .nl-sale-detail__container {
  max-width: 1400px;
  margin: 28px auto;
}

.nl-sale-detail-page .nl-sale-detail__hero {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 24px;
}

.nl-sale-detail-page .nl-sale-gallery {
  display: grid;
  grid-template-columns: 1fr minmax(180px, 240px);
  gap: 16px;
  overflow: visible;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.nl-sale-detail-page .nl-sale-gallery--single {
  grid-template-columns: 1fr;
}

.nl-sale-detail-page .nl-sale-gallery__main {
  position: relative;
  overflow: hidden;
  aspect-ratio: auto;
  border-radius: 10px;
  background: #e6ebf2;
}

.nl-sale-detail-page .nl-sale-gallery__main img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.nl-sale-detail-page .nl-sale-gallery__thumbs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 0;
}

.nl-sale-detail-page .nl-sale-gallery__thumb {
  overflow: hidden;
  width: 100%;
  aspect-ratio: auto;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: #e6ebf2;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .12);
}

.nl-sale-detail-page .nl-sale-gallery__thumb.is-active {
  border: 0;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .12), 0 0 0 3px #103466;
}

.nl-sale-detail-page .nl-sale-gallery__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.nl-sale-detail-page .nl-sale-detail__summary {
  display: flex;
  gap: 15px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.nl-sale-detail-page .nl-sale-detail__title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.nl-sale-detail-page .nl-sale-detail__heading {
  margin: 0;
  color: #123766;
  font-size: clamp(28px, 4.4vw, 40px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: .5px;
}

.nl-sale-detail-page .nl-sale-detail__badge {
  align-self: flex-start;
  padding: 10px 14px;
  border-radius: 10px;
  background: #ff7d1c;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
}

.nl-sale-detail-page .nl-sale-detail__price-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 14px;
}

.nl-sale-detail-page .nl-sale-detail__price-label {
  color: #1b2a41;
  font-size: clamp(18px, 1.8vw, 24px);
  font-weight: 600;
}

.nl-sale-detail-page .nl-sale-detail__price {
  margin: 0;
  color: #103466;
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 900;
}

.nl-sale-detail-page .nl-sale-detail__old-price {
  margin: 0;
  color: #5a6b86;
  font-size: 16px;
  font-weight: 600;
  text-decoration: line-through;
}

.nl-sale-detail-page .nl-sale-detail__separator {
  width: 100%;
  height: 1px;
  margin: 8px 0 4px;
  border: 0;
  background: #e6ebf2;
}

.nl-sale-detail-page .nl-sale-detail__summary h3 {
  margin: 8px 0 4px;
  color: #1c1c1c;
  font-size: clamp(18px, 2.4vw, 26px);
}

.nl-sale-detail-page .nl-sale-detail__description {
  margin-top: 0;
  color: #23354e;
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.6;
}

.nl-sale-detail-page .nl-sale-detail__summary .nl-sale-detail__button {
  align-self: stretch;
  width: 100%;
  min-height: 0;
  margin-top: 8px;
  padding: 16px 18px;
  border-radius: 10px;
  background: #103466;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: .4px;
  text-transform: uppercase;
}

.nl-sale-detail-page .nl-sale-detail__summary .nl-sale-detail__button:hover {
  background: #0a264f;
}

.nl-sale-detail-page .nl-sale-detail__panel {
  margin-top: 28px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.nl-sale-detail-page .nl-sale-detail__panel h2,
.nl-sale-detail-page .nl-sale-form__title {
  margin: 0 0 10px;
  color: #1c1c1c;
  font-size: clamp(22px, 3vw, 34px);
}

.nl-sale-detail-page .nl-sale-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 0;
}

.nl-sale-detail-page .nl-sale-spec {
  display: flex;
  min-height: 0;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid #e6e8ef;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 2px 0 rgba(0, 0, 0, .02) inset;
}

.nl-sale-detail-page .nl-sale-spec dt {
  margin: 0;
  color: #6b7687;
  font-size: 14px;
  font-weight: 400;
  text-transform: none;
}

.nl-sale-detail-page .nl-sale-spec dd {
  margin: 3px 0 0;
  color: #122a55;
  font-size: 16px;
  font-weight: 800;
}

.nl-sale-detail-page .nl-sale-detail__panel--accessories {
  margin-top: 44px;
}

.nl-sale-detail-page .nl-sale-detail__panel--accessories h2 {
  margin-bottom: 16px;
}

.nl-sale-detail-page .nl-sale-accessories {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.nl-sale-detail-page .nl-sale-accessories > div {
  padding: 18px 20px;
  border: 1px solid #e6e8ef;
  border-radius: 14px;
  background: #fff;
}

.nl-sale-detail-page .nl-sale-accessories h3 {
  margin: 0 0 12px;
  color: #0e2a55;
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 800;
}

.nl-sale-detail-page .nl-sale-accessories ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin: 0;
  padding: 0;
  color: #1f2c3f;
  font-size: 16px;
  columns: auto;
}

.nl-sale-detail-page .nl-sale-accessories li {
  margin: 0 0 0 18px;
}

.nl-sale-detail-page .nl-sale-accessories li::marker {
  color: #a1acbd;
}

.nl-sale-detail-page .nl-sale-detail__panel--energy {
  margin-top: 28px;
}

.nl-sale-detail-page .nl-sale-form__title {
  margin: 28px 0 16px;
  scroll-margin-top: 30px;
}

.nl-sale-detail-page .nl-sale-form {
  margin-top: 0;
  padding: 28px;
  border: 1px solid #e6e8ef;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .04);
}

.nl-sale-detail-page .nl-sale-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.nl-sale-detail-page .nl-sale-form__field {
  gap: 6px;
}

.nl-sale-detail-page .nl-sale-form__field label {
  color: #0e2a55;
  font-size: 15px;
  font-weight: 700;
}

.nl-sale-detail-page .nl-sale-form__input,
.nl-sale-detail-page .nl-sale-form__textarea {
  padding: 12px 14px;
  border: 1px solid #d4dbe7;
  border-radius: 8px;
  outline: none;
  background: #f6f8fb;
  font-family: inherit;
  font-size: 15px;
}

.nl-sale-detail-page .nl-sale-form__input:focus,
.nl-sale-detail-page .nl-sale-form__textarea:focus {
  border-color: #103466;
  outline: none;
  background: #fff;
}

.nl-sale-detail-page .nl-sale-form__textarea {
  min-height: 120px;
}

.nl-sale-detail-page .nl-sale-form .nl-sale-detail__button {
  width: 100%;
  min-height: 0;
  padding: 14px;
  border-radius: 10px;
  background: #103466;
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
}

.nl-sale-detail-page .nl-sale-form .nl-sale-detail__button:hover {
  background: #0a264f;
}

@media (max-width: 980px) {
  .nl-sale-detail-page .nl-sale-detail__hero {
    grid-template-columns: 1fr;
  }

  .nl-sale-detail-page .nl-sale-gallery {
    grid-template-columns: 1fr;
  }

  .nl-sale-detail-page .nl-sale-gallery__thumbs {
    grid-auto-flow: column;
    grid-auto-columns: minmax(140px, 1fr);
    grid-template-columns: none;
    overflow-x: auto;
    gap: 12px;
    padding-bottom: 6px;
    scrollbar-width: none;
  }

  .nl-sale-detail-page .nl-sale-gallery__thumbs::-webkit-scrollbar {
    display: none;
  }
}

@media (max-width: 900px) {
  .nl-sale-detail-page .nl-sale-accessories {
    grid-template-columns: 1fr;
  }

  .nl-sale-detail-page .nl-sale-accessories ul {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .nl-sale-detail-page .nl-sale-specs {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .nl-sale-detail-page .nl-sale-form__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .nl-sale-detail-page .nl-sale-detail {
    padding: 0 20px;
  }

  .nl-sale-detail-page .nl-sale-detail__heading {
    font-size: 20px;
  }

  .nl-sale-detail-page .nl-sale-detail__title-row {
    align-items: center;
  }

  .nl-sale-detail-page .nl-sale-detail__summary {
    gap: 10px;
  }
}

@media (max-width: 520px) {
  .nl-sale-detail-page .nl-sale-specs {
    grid-template-columns: 1fr;
  }
}

/* Catalogo completo delle auto in vendita. */
.nl-sale-catalog {
  max-width: 1400px;
  min-height: 60vh;
  margin: 0 auto;
  padding: 42px 20px 80px;
  color: #0e1726;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", Arial, sans-serif;
}

.nl-sale-catalog__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

.nl-sale-catalog__eyebrow {
  color: #ff7d1c;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.nl-sale-catalog__header h1 {
  margin: 5px 0 9px;
  color: #123766;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1;
}

.nl-sale-catalog__header p {
  max-width: 760px;
  margin: 0;
  color: #5a6b86;
  font-size: 17px;
}

.nl-sale-catalog__filter-toggle {
  display: none;
  padding: 11px 18px;
  border: 0;
  border-radius: 10px;
  background: #103466;
  color: #fff;
  font: inherit;
  font-weight: 800;
}

.nl-sale-catalog__layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.nl-sale-filters {
  position: sticky;
  top: 18px;
  padding: 22px;
  border: 1px solid #e1e7ef;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(21, 42, 71, .06);
}

.nl-sale-filters__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.nl-sale-filters__heading h2 {
  margin: 0;
  color: #103466;
  font-size: 23px;
}

.nl-sale-filters__heading a {
  color: #5a6b86;
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
}

.nl-sale-filters__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
  color: #0e2a55;
  font-size: 14px;
  font-weight: 750;
}

.nl-sale-filters__field input,
.nl-sale-filters__field select,
.nl-sale-results__toolbar select {
  width: 100%;
  min-height: 42px;
  padding: 9px 11px;
  border: 1px solid #d4dbe7;
  border-radius: 8px;
  outline: none;
  background: #f6f8fb;
  color: #0e1726;
  font: inherit;
  font-weight: 400;
}

.nl-sale-filters__field input:focus,
.nl-sale-filters__field select:focus,
.nl-sale-results__toolbar select:focus {
  border-color: #103466;
  background: #fff;
}

.nl-sale-filters__price {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.nl-sale-filters__submit {
  width: 100%;
  padding: 13px;
  border: 0;
  border-radius: 9px;
  background: #103466;
  color: #fff;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.nl-sale-filters__submit:hover {
  background: #0a264f;
}

.nl-sale-results__toolbar {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.nl-sale-results__toolbar p {
  margin: 0;
  color: #5a6b86;
}

.nl-sale-results__toolbar label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #5a6b86;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.nl-sale-results__toolbar select {
  min-width: 180px;
}

.nl-sale-catalog__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.nl-sale-catalog__grid .nl-sale-card {
  min-width: 0;
  width: auto;
}

.nl-sale-results__empty {
  padding: 70px 24px;
  border: 1px solid #e1e7ef;
  border-radius: 14px;
  background: #fff;
  text-align: center;
}

.nl-sale-results__empty h2 {
  margin-top: 0;
  color: #103466;
}

.nl-sale-results__empty a {
  display: inline-flex;
  margin-top: 12px;
  padding: 11px 16px;
  border-radius: 9px;
  background: #103466;
  color: #fff;
  font-weight: 800;
}

.nl-sale-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 34px;
}

.nl-sale-pagination a {
  display: inline-flex;
  min-width: 40px;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border: 1px solid #d4dbe7;
  border-radius: 8px;
  background: #fff;
  color: #103466;
  font-weight: 800;
}

.nl-sale-pagination a.is-current {
  border-color: #103466;
  background: #103466;
  color: #fff;
}

@media (max-width: 1150px) {
  .nl-sale-catalog__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .nl-sale-catalog__filter-toggle {
    display: inline-flex;
  }

  .nl-sale-catalog__layout {
    grid-template-columns: 1fr;
  }

  .nl-sale-filters {
    position: static;
    display: none;
  }

  .nl-sale-filters.is-open {
    display: block;
  }
}

@media (max-width: 640px) {
  .nl-sale-catalog {
    padding: 30px 16px 55px;
  }

  .nl-sale-catalog__header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nl-sale-results__toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .nl-sale-results__toolbar form,
  .nl-sale-results__toolbar label,
  .nl-sale-results__toolbar select {
    width: 100%;
  }

  .nl-sale-catalog__grid {
    grid-template-columns: 1fr;
  }
}
