@import url("https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,opsz,wght@0,6..96,400;0,6..96,500;1,6..96,400&display=swap");

/* ==========================================================================
   Nocturno · Marina Inmobiliaria Almuñécar
   Thème enfant de Classic (PrestaShop 8.0.x)
   Couleurs : nuit #0E1A21 · os #ECE6DC · pierre #EFEAE2 · vert d'eau #A7CCC3
   ========================================================================== */

:root {
  --nx-ink: #0E1A21;
  --nx-ink-2: #15242D;
  --nx-bone: #ECE6DC;
  --nx-stone: #EFEAE2;
  --nx-stone-2: #F6F2EC;
  --nx-sea: #A7CCC3;
  --nx-sea-dark: #2F5E58;
  --nx-serif: "Bodoni Moda", Didot, "Bodoni 72", Georgia, serif;
  --nx-sans: Manrope, "Helvetica Neue", Arial, sans-serif;
  --nx-wrap: 1280px;
  --nx-gutter: 40px;
  --nx-section: 112px;

  /* contexte clair (par défaut) */
  --nx-text: #0E1A21;
  --nx-muted: #3C474B;
  --nx-soft: #5B666A;
  --nx-line: #CFC7BA;
  --nx-accent: #2F5E58;
}

/* contextes sombres */
#header,
.nx-dark,
.nx-dark-2,
.nx-hero,
.nx-footer,
.nx-footer-before,
body#product #wrapper,
body#contact #wrapper {
  --nx-text: #ECE6DC;
  --nx-muted: #B9C1C2;
  --nx-soft: #9AA6A9;
  --nx-line: #2E3F47;
  --nx-accent: #A7CCC3;
}

/* sections claires, y compris à l'intérieur d'une page sombre */
.nx-light {
  --nx-text: #0E1A21;
  --nx-muted: #3C474B;
  --nx-soft: #5B666A;
  --nx-line: #CFC7BA;
  --nx-accent: #2F5E58;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
body {
  overflow-x: hidden; /* appliqué au viewport : coupe le débord des sections pleine largeur */
  font-family: var(--nx-sans);
  color: var(--nx-text);
  background: var(--nx-stone);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--nx-accent);
}

a:hover,
a:focus {
  color: var(--nx-text);
  text-decoration: none;
}

#header .container,
#wrapper > .container,
#footer .container {
  width: 100%;
  max-width: var(--nx-wrap);
  padding-right: var(--nx-gutter);
  padding-left: var(--nx-gutter);
}

#wrapper {
  padding-top: 32px;
  padding-bottom: 0;
  background: var(--nx-stone);
}

body#product #wrapper,
body#contact #wrapper {
  background: var(--nx-ink);
  color: var(--nx-text);
}

body#index #wrapper {
  padding-top: 0;
}

body#index #wrapper .breadcrumb {
  display: none;
}

/* pas d'espace clair entre la dernière section pleine largeur et le pied de page */
body#index #main .page-footer,
body#product #main .page-footer,
body#contact #main .page-footer {
  margin: 0;
}

.nx-wrap {
  max-width: var(--nx-wrap);
  margin: 0 auto;
  padding-right: var(--nx-gutter);
  padding-left: var(--nx-gutter);
  box-sizing: border-box;
}

/* sections pleine largeur à l'intérieur du conteneur de Classic */
.nx-bleed {
  position: relative;
  width: 100vw;
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
}

.nx-section {
  padding-top: var(--nx-section);
  padding-bottom: var(--nx-section);
}

.nx-section--ruled {
  border-top: 1px solid var(--nx-line);
}

.nx-dark {
  color: var(--nx-text);
  background: var(--nx-ink);
}

.nx-dark-2 {
  color: var(--nx-text);
  background: var(--nx-ink-2);
}

.nx-light {
  color: var(--nx-text);
  background: var(--nx-stone);
}

.nx-dark a:not(.nx-btn),
.nx-dark-2 a:not(.nx-btn),
.nx-hero a:not(.nx-btn) {
  color: inherit;
}

/* --------------------------------------------------------------------------
   Typographie
   -------------------------------------------------------------------------- */
.nx-eyebrow {
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--nx-accent);
}

.nx-h1,
.nx-h2,
.nx-product__title,
.page-header h1,
.block-category .h1,
#js-product-list-header.h2 {
  margin: 0;
  font-family: var(--nx-serif);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--nx-text);
  text-wrap: balance;
}

.nx-h1 {
  font-size: clamp(42px, 5.4vw, 76px);
}

.nx-h2,
#js-product-list-header.h2 {
  font-size: clamp(34px, 4.2vw, 58px);
}

.nx-h1 em,
.nx-h2 em,
.nx-hero__text em {
  font-style: italic;
  color: var(--nx-accent);
}

.nx-lead {
  max-width: 540px;
  margin: 24px 0 0;
  font-size: 18px;
  line-height: 1.7;
  color: var(--nx-muted);
}

.nx-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 64px;
}

/* --------------------------------------------------------------------------
   Boutons et liens
   -------------------------------------------------------------------------- */
.nx-btn,
.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 30px;
  font-family: var(--nx-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: 0;
  box-shadow: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.nx-btn--light,
.nx-dark .btn-primary,
.nx-dark-2 .btn-primary,
.nx-footer-before .btn-primary {
  color: var(--nx-ink) !important;
  background: var(--nx-bone);
  border-color: var(--nx-bone);
}

.nx-btn--light:hover,
.nx-dark .btn-primary:hover,
.nx-footer-before .btn-primary:hover {
  color: var(--nx-ink) !important;
  background: var(--nx-sea);
  border-color: var(--nx-sea);
}

.nx-btn--dark,
.btn-primary {
  color: var(--nx-bone) !important;
  background: var(--nx-ink);
  border-color: var(--nx-ink);
}

.nx-btn--dark:hover,
.btn-primary:hover,
.btn-primary:focus {
  color: var(--nx-ink) !important;
  background: var(--nx-sea);
  border-color: var(--nx-sea);
}

.nx-btn--ghost,
.btn-secondary {
  color: var(--nx-text) !important;
  background: transparent;
  border-color: currentColor;
}

.nx-btn--ghost:hover,
.btn-secondary:hover {
  color: var(--nx-ink) !important;
  background: var(--nx-sea);
  border-color: var(--nx-sea);
}

.nx-link {
  display: inline-block;
  padding: 0 0 6px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--nx-text) !important;
  background: none;
  border: 0;
  border-bottom: 1px solid currentColor;
  cursor: pointer;
}

.nx-link:hover {
  color: var(--nx-accent) !important;
}

/* --------------------------------------------------------------------------
   Logo typographique
   -------------------------------------------------------------------------- */
.nx-wordmark {
  display: inline-flex;
  flex-direction: column;
  gap: 6px;
  color: var(--nx-text) !important;
}

.nx-wordmark__name {
  font-family: var(--nx-serif);
  font-size: 26px;
  line-height: 1;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.nx-wordmark__sub {
  font-family: var(--nx-sans);
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--nx-soft);
}

.nx-logo-heading {
  margin: 0;
  font-size: inherit;
  line-height: inherit;
}

/* --------------------------------------------------------------------------
   En-tête
   -------------------------------------------------------------------------- */
#header {
  color: var(--nx-text);
  background: var(--nx-ink);
  box-shadow: none;
}

#header a {
  color: var(--nx-text);
}

#header a:hover {
  color: var(--nx-sea);
}

#header .header-nav {
  max-height: none;
  border-bottom: 1px solid rgba(236, 230, 220, 0.14);
}

.nx-topline__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--nx-muted);
}

.nx-topline__right {
  display: flex;
  align-items: center;
  gap: 24px;
}

#header .header-nav #_desktop_contact_link #contact-link,
#header .header-nav .language-selector,
#header .header-nav .currency-selector,
#header .header-nav .user-info {
  margin: 0;
}

#header .header-nav .language-selector,
#header .header-nav .language-selector button,
#header .header-nav .language-selector .expand-more,
#header .header-nav .currency-selector button {
  color: var(--nx-text);
  letter-spacing: 0.1em;
}

/* boutique sans panier ni compte client */
#_desktop_cart,
#_mobile_cart,
#_desktop_user_info,
#_mobile_user_info {
  display: none !important;
}

#header .header-top {
  padding: 20px 0;
}

.nx-headbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.nx-headbar__logo {
  flex: 0 0 auto;
}

.nx-headbar__menu {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-width: 0;
}

.nx-headbar__cta {
  flex: 0 0 auto;
}

#header .top-menu[data-depth="0"] {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 28px;
}

#header .top-menu a[data-depth="0"] {
  padding: 8px 0;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--nx-text);
}

#header .top-menu a[data-depth="0"]:hover {
  color: var(--nx-sea);
}

#header .top-menu .sub-menu {
  color: var(--nx-ink);
  background: var(--nx-stone);
}

#header .top-menu .sub-menu a {
  color: var(--nx-ink);
}

/* recherche */
#header .header-top .search-widget {
  float: none;
}

#header .search-widget form input[type="text"] {
  min-width: 0;
  width: 190px;
  padding: 10px 10px 10px 36px;
  color: var(--nx-text);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(236, 230, 220, 0.35);
  border-radius: 0;
}

#header .search-widget form input[type="text"]::placeholder {
  color: var(--nx-soft);
}

#header .search-widget form button[type="submit"] {
  left: 0;
  right: auto;
  color: var(--nx-text);
}

/* mobile */
.nx-mobilebar {
  min-height: 56px;
}

#header .header-nav #menu-icon .material-icons {
  line-height: 56px;
  color: var(--nx-text);
}

#header .top-logo .nx-wordmark__name {
  font-size: 20px;
}

#header .top-logo .nx-wordmark__sub {
  display: none;
}

#mobile_top_menu_wrapper {
  margin: 0;
  padding: 16px 0;
  background: var(--nx-ink);
}

#mobile_top_menu_wrapper .top-menu a,
#mobile_top_menu_wrapper .js-top-menu-bottom a {
  color: var(--nx-text);
}

#mobile_top_menu_wrapper .js-top-menu-bottom .language-selector-wrapper,
#mobile_top_menu_wrapper .js-top-menu-bottom .currency-selector,
#mobile_top_menu_wrapper .js-top-menu-bottom #contact-link {
  padding: 12px 15px;
  color: var(--nx-muted);
}

#mobile_top_menu_wrapper .top-menu .collapse-icons .material-icons {
  color: var(--nx-text);
}

/* en-tête transparent au-dessus de la photo d'accueil */
body#index #header {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 50;
  background: transparent;
}

body#index #header .header-nav {
  border-bottom-color: rgba(236, 230, 220, 0.22);
}

body#index #mobile_top_menu_wrapper {
  background: rgba(14, 26, 33, 0.96);
}

/* --------------------------------------------------------------------------
   Fil d'Ariane
   -------------------------------------------------------------------------- */
#wrapper .breadcrumb {
  margin-bottom: 24px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

#wrapper .breadcrumb li a,
#wrapper .breadcrumb li::after,
#wrapper .breadcrumb li:last-child {
  color: var(--nx-soft);
}

/* --------------------------------------------------------------------------
   Accueil · photo d'ouverture
   -------------------------------------------------------------------------- */
.nx-hero {
  display: flex;
  align-items: flex-end;
  min-height: max(680px, 100vh);
  overflow: hidden;
  color: var(--nx-text);
  background: var(--nx-ink);
}

.nx-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 0%; /* on garde le haut de la photo (la mer), on coupe le bas */
}

.nx-hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(14, 26, 33, 0.75) 0%, rgba(14, 26, 33, 0) 24%),
    linear-gradient(0deg, rgba(14, 26, 33, 0.85) 0%, rgba(14, 26, 33, 0) 30%),
    linear-gradient(90deg, rgba(14, 26, 33, 0.9) 0%, rgba(14, 26, 33, 0.7) 38%, rgba(14, 26, 33, 0.22) 68%, rgba(14, 26, 33, 0.05) 100%);
}

.nx-hero__content {
  position: relative;
  width: 100%;
  padding-top: 200px;
  padding-bottom: 88px;
}

.nx-hero__text {
  max-width: 760px;
}

.nx-hero__text > :first-child {
  margin: 0 0 28px;
  font-family: var(--nx-serif);
  font-size: clamp(46px, 6.4vw, 92px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.015em;
  color: var(--nx-text);
  text-shadow: 0 2px 24px rgba(14, 26, 33, 0.45);
  text-wrap: balance;
}

.nx-hero__text > :not(:first-child) {
  max-width: 540px;
  margin: 0 0 16px;
  font-size: 18px;
  line-height: 1.7;
  color: #DCE1E1;
}

.nx-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

/* bande des zones */
.nx-zones {
  color: var(--nx-muted);
  background: var(--nx-ink);
  border-top: 1px solid #22323A;
  border-bottom: 1px solid #22323A;
  --nx-muted: #B9C1C2;
}

.nx-zones__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px 32px;
  padding-top: 26px;
  padding-bottom: 26px;
  font-family: var(--nx-serif);
  font-size: 22px;
  font-style: italic;
}

.nx-zones__dot {
  color: #4A5B62;
}

/* --------------------------------------------------------------------------
   Sélection de biens (accueil)
   -------------------------------------------------------------------------- */
.nx-featured {
  margin: 0;
}

.nx-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
  margin-bottom: 72px;
}

.nx-feature__media {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #DDD6CB;
}

.nx-feature__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.nx-feature__media:hover img {
  transform: scale(1.03);
}

.nx-feature__title {
  margin: 0 0 24px;
  font-family: var(--nx-serif);
  font-size: clamp(32px, 3.4vw, 44px);
  font-weight: 400;
  line-height: 1.08;
}

.nx-feature__title a {
  color: var(--nx-text);
}

.nx-feature__text {
  margin: 24px 0;
  font-size: 17px;
  line-height: 1.7;
  color: var(--nx-muted);
}

.nx-feature__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nx-feature__price {
  font-size: 26px;
  font-weight: 600;
}

/* chiffres clés */
.nx-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(120px, 100%), 1fr));
  margin: 0;
  border-top: 1px solid var(--nx-line);
  border-bottom: 1px solid var(--nx-line);
}

.nx-facts > div {
  display: flex;
  flex-direction: column-reverse;
  gap: 4px;
  padding: 16px 12px 16px 0;
}

.nx-facts dt {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--nx-soft);
}

.nx-facts dd {
  margin: 0;
  font-family: var(--nx-serif);
  font-size: 24px;
  line-height: 1.2;
  color: var(--nx-text);
}

.nx-facts--grid {
  grid-template-columns: repeat(auto-fit, minmax(min(140px, 100%), 1fr));
  border-bottom: 0;
}

.nx-facts--grid > div {
  flex-direction: column;
  border-bottom: 1px solid var(--nx-line);
}

.nx-facts--grid dd {
  font-family: var(--nx-sans);
  font-size: 19px;
}

.nx-facts--rows {
  display: flex;
  flex-direction: column;
  max-width: 460px;
  margin-top: 40px;
}

.nx-facts--rows > div {
  flex-direction: row;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
  border-top: 1px solid var(--nx-line);
}

.nx-facts--rows > div:first-child {
  border-top: 0;
}

.nx-facts--rows dd {
  font-family: var(--nx-sans);
  font-size: 16px;
  text-align: right;
}

/* --------------------------------------------------------------------------
   Cartes de biens (accueil, catégories, biens liés)
   -------------------------------------------------------------------------- */
.nx-cards,
.featured-products .nx-cards,
.product-accessories .nx-cards,
#products #js-product-list .products,
#js-product-list .products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
  gap: 56px 28px;
  margin: 0;
}

.nx-cards > .product,
.featured-products .nx-cards > .product,
#products #js-product-list .products > .product,
#js-product-list .products > .product {
  float: none;
  flex: none;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

.nx-card,
.nx-card.product-miniature {
  display: block;
  margin: 0;
  background: none;
}

.nx-card__link {
  display: flex;
  flex-direction: column;
  gap: 18px;
  color: var(--nx-text) !important;
}

.nx-card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #DDD6CB;
}

.nx-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.nx-card__link:hover .nx-card__media img {
  transform: scale(1.04);
}

.nx-card__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nx-card__meta {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--nx-accent);
}

.nx-card__title,
.product-miniature .nx-card__title.product-title {
  margin: 0;
  text-align: left;
  font-family: var(--nx-serif);
  font-size: 25px;
  font-weight: 400;
  line-height: 1.2;
  text-transform: none;
  color: var(--nx-text);
}

.nx-card__link:hover .nx-card__title {
  color: var(--nx-accent);
}

.nx-card__price,
.product-miniature .nx-card__price.product-price-and-shipping {
  margin: 0;
  text-align: left;
  color: var(--nx-text);
  font-size: 16px;
  font-weight: 600;
}

.nx-card__old {
  margin-right: 8px;
  font-weight: 400;
  text-decoration: line-through;
  color: var(--nx-soft);
}

/* --------------------------------------------------------------------------
   Citation, services, locations, contact (accueil)
   -------------------------------------------------------------------------- */
.nx-quote {
  max-width: 1000px;
  margin: 0 auto;
  padding-top: 128px;
  padding-bottom: 128px;
  text-align: center;
}

.nx-quote blockquote {
  margin: 0 0 28px;
  font-family: var(--nx-serif);
  font-size: clamp(30px, 3.6vw, 46px);
  font-style: italic;
  line-height: 1.3;
  text-wrap: balance;
}

.nx-quote figcaption {
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--nx-soft);
}

.nx-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 48px;
}

.nx-step {
  padding-top: 28px;
  border-top: 1px solid var(--nx-line);
}

.nx-step__num {
  display: block;
  margin-bottom: 16px;
  font-family: var(--nx-serif);
  font-size: 40px;
  color: var(--nx-accent);
}

.nx-step h3 {
  margin: 0 0 14px;
  font-family: var(--nx-serif);
  font-size: 28px;
  font-weight: 400;
  text-transform: none;
  color: var(--nx-text);
}

.nx-step p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--nx-muted);
}

.nx-split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 72px;
  align-items: start;
}

.nx-split__head .nx-btn {
  margin-top: 36px;
}

.nx-numlist {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nx-numlist li {
  display: flex;
  align-items: baseline;
  gap: 24px;
  padding: 24px 0;
  font-family: var(--nx-serif);
  font-size: 28px;
  border-top: 1px solid var(--nx-line);
}

.nx-numlist li:last-child {
  border-bottom: 1px solid var(--nx-line);
}

.nx-numlist span {
  font-family: var(--nx-sans);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--nx-soft);
}

.nx-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
}

.nx-cta__side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.nx-cta__line {
  font-size: 18px;
}

.nx-cta__side .nx-btn {
  margin-top: 16px;
}

.nx-richtext {
  font-size: 18px;
  line-height: 1.75;
  color: var(--nx-muted);
}

.nx-richtext h2,
.nx-richtext h3 {
  margin: 1.6em 0 0.6em;
  font-family: var(--nx-serif);
  font-weight: 400;
  text-transform: none;
  color: var(--nx-text);
}

.nx-richtext ul {
  padding-left: 1.2em;
}

/* --------------------------------------------------------------------------
   Fiche du bien
   -------------------------------------------------------------------------- */
body#product #wrapper .breadcrumb {
  margin-bottom: 32px;
}

.nx-product__top {
  padding-bottom: 104px;
}

.nx-product__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}

#product .nx-product #content,
.nx-product .page-content {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  background: none;
  border: 0;
}

.nx-product .product-cover {
  margin-bottom: 14px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--nx-ink-2);
}

.nx-product .product-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  box-shadow: none;
}

.nx-product .product-cover .layer {
  background: rgba(14, 26, 33, 0.35);
}

.nx-product .js-qv-mask {
  width: 100%;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: thin;
}

.nx-product .product-images > li.thumb-container {
  display: inline-block;
  margin-right: 8px;
}

.nx-product .product-images > li.thumb-container > .thumb {
  width: 120px;
  height: 90px;
  object-fit: cover;
  margin: 0;
  border: 2px solid transparent;
  opacity: 0.7;
  cursor: pointer;
}

.nx-product .product-images > li.thumb-container > .thumb.selected,
.nx-product .product-images > li.thumb-container > .thumb:hover {
  border-color: var(--nx-sea);
  opacity: 1;
}

.nx-product__all {
  margin-top: 18px;
}

.nx-product__info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.nx-product__title {
  font-size: clamp(38px, 4.2vw, 58px);
}

.nx-product .product-prices {
  margin: 0;
}

.nx-product .product-price,
.nx-product .current-price,
.nx-product .current-price-value {
  font-family: var(--nx-serif);
  font-size: 40px;
  font-weight: 400;
  color: var(--nx-text);
}

.nx-product .tax-shipping-delivery-label,
.nx-product .product-without-taxes {
  font-size: 13px;
  color: var(--nx-soft);
}

.nx-product__short {
  font-size: 17px;
  line-height: 1.7;
  color: var(--nx-muted);
}

.nx-product__short p:last-child {
  margin-bottom: 0;
}

.nx-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.nx-actions .nx-btn {
  flex: 1 1 auto;
  white-space: nowrap;
}

#product-modal .modal-content {
  background: var(--nx-ink);
}

/* --------------------------------------------------------------------------
   Pages catégorie (Propiedades, Alquileres)
   -------------------------------------------------------------------------- */
#js-product-list-header .block-category,
.block-category.card {
  min-height: 0;
  margin-bottom: 48px;
  padding: 24px 0 0;
  background: none;
  border: 0;
  box-shadow: none;
}

.block-category .h1 {
  font-size: clamp(44px, 5.4vw, 76px);
  margin-bottom: 20px;
}

.block-category #category-description {
  max-width: 640px;
  font-size: 18px;
  line-height: 1.7;
  color: var(--nx-muted) !important;
}

.block-category .category-cover {
  display: none;
}

.products-selection {
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--nx-line);
}

.products-selection .total-products p,
.products-selection .sort-by {
  font-size: 15px;
  color: var(--nx-muted);
}

.products-sort-order .select-title {
  color: var(--nx-text);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--nx-text);
  border-radius: 0;
  box-shadow: none;
}

.pagination {
  margin-top: 64px;
}

.pagination .page-list {
  padding: 0;
  background: none;
  box-shadow: none;
}

.pagination .page-list li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  font-weight: 500;
  color: var(--nx-text);
  border: 1px solid var(--nx-line);
}

.pagination .current a {
  color: var(--nx-bone) !important;
  background: var(--nx-ink);
  border-color: var(--nx-ink);
}

#subcategories {
  border-top: 0;
}

/* --------------------------------------------------------------------------
   Pages CMS (Servicios…)
   -------------------------------------------------------------------------- */
body#cms .page-header,
body#module-ets_blog-blog .page-header {
  margin-bottom: 40px;
}

.page-header h1 {
  font-size: clamp(42px, 5.4vw, 76px);
}

#content.page-cms {
  max-width: 820px;
  padding: 0 0 var(--nx-section);
  font-size: 18px;
  line-height: 1.75;
  text-align: left;
  color: var(--nx-muted);
  background: none;
}

#content.page-cms h2,
#content.page-cms h3,
#content.page-cms h4 {
  margin: 1.8em 0 0.6em;
  font-family: var(--nx-serif);
  font-weight: 400;
  text-transform: none;
  color: var(--nx-text);
}

#content.page-cms h2 {
  font-size: 38px;
}

#content.page-cms h3 {
  font-size: 28px;
}

.page-content.card,
.card {
  background: var(--nx-stone-2);
  border: 1px solid var(--nx-line);
  box-shadow: none;
}

/* --------------------------------------------------------------------------
   Formulaires
   -------------------------------------------------------------------------- */
.form-control,
.custom-select {
  min-height: 48px;
  color: var(--nx-ink);
  background: #fff;
  border: 1px solid var(--nx-line);
  border-radius: 0;
}

.form-control:focus {
  border-color: var(--nx-sea-dark);
  outline: 2px solid var(--nx-sea);
  outline-offset: 0;
}

.nx-dark .form-control,
.nx-dark .custom-select,
.nx-footer-before .form-control,
.nx-footer-before input[type="email"] {
  color: var(--nx-bone);
  background: transparent;
  border: 0;
  border-bottom: 1px solid #4A5B62;
}

.nx-dark .form-control:focus {
  border-bottom-color: var(--nx-sea);
  outline: 0;
}

.nx-dark select option {
  color: var(--nx-ink);
}

.nx-dark .form-control-label,
.nx-dark label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--nx-soft);
}

/* page contact */
body#contact #wrapper {
  padding-top: 0;
}

body#contact #wrapper .breadcrumb {
  display: none;
}

.nx-contact {
  margin-top: 0;
}

.nx-contact__form {
  margin: 0;
  padding: 40px;
  background: var(--nx-ink-2);
  border: 1px solid var(--nx-line);
}

.nx-contact__form .contact-form {
  padding: 0;
  color: var(--nx-text);
  background: none;
}

.nx-contact__form .contact-form h3 {
  display: none;
}

.nx-contact__form .form-group.row {
  display: block;
  margin: 0 0 24px;
}

.nx-contact__form .form-group.row > [class*="col-"] {
  float: none;
  width: 100%;
  max-width: 100%;
  padding: 0;
  text-align: left;
}

.nx-contact__form .form-control-comment {
  display: none;
}

.nx-contact__form .form-footer {
  text-align: left;
}

.nx-contact__form .bootstrap-filestyle .btn {
  min-height: 48px;
}

/* --------------------------------------------------------------------------
   Pied de page
   -------------------------------------------------------------------------- */
#footer {
  padding: 0;
  background: var(--nx-ink);
}

.nx-footer-before {
  color: var(--nx-text);
  background: var(--nx-ink);
  border-top: 1px solid #22323A;
}

.nx-footer-before .container > .row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 56px 0;
}

.nx-footer-before .row {
  margin-right: 0;
  margin-left: 0;
}

#footer .nx-footer-before .block_newsletter {
  max-width: none;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
}

#footer .nx-footer-before .block_newsletter form input[type="email"] {
  height: 52px;
  padding: 10px 0;
  color: var(--nx-bone);
  background: transparent;
  border: 0;
  border-bottom: 1px solid #4A5B62;
}

#footer .nx-footer-before .block_newsletter form input[type="email"]:focus {
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid var(--nx-sea);
}

#footer .nx-footer-before .block_newsletter form input[type="email"]::placeholder {
  color: var(--nx-soft);
}

#footer .nx-footer-before .block_newsletter form input.btn {
  height: 52px;
}

.nx-footer-before .block_newsletter p,
.nx-footer-before #block-newsletter-label {
  font-family: var(--nx-serif);
  font-size: 26px;
  line-height: 1.3;
  color: var(--nx-text);
}

.nx-footer-before .block_newsletter p.alert,
.nx-footer-before .block_newsletter .col-xs-12 > p:not(#block-newsletter-label) {
  font-family: var(--nx-sans);
  font-size: 13px;
  color: var(--nx-soft);
}

.nx-footer-before .block-social ul li {
  background-color: transparent;
  border: 1px solid #2E3F47;
}

.nx-footer-before .block-social ul li:hover {
  background-color: var(--nx-sea);
}

.nx-footer {
  margin: 0;
  padding: 72px 0 32px;
  color: var(--nx-muted);
  background: var(--nx-ink);
  border-top: 1px solid #22323A;
  box-shadow: none;
}

.nx-footer__brand {
  margin-bottom: 48px;
}

.nx-footer .h3,
.nx-footer .h4,
.nx-footer .block-contact-title,
.nx-footer .links .title .h3 {
  font-family: var(--nx-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--nx-soft);
}

.nx-footer li a,
.nx-footer .block-contact a,
.nx-footer a {
  font-size: 14px;
  color: var(--nx-text);
}

.nx-footer li a:hover,
.nx-footer a:hover {
  color: var(--nx-sea);
}

.nx-footer .block-contact {
  color: var(--nx-muted);
}

.nx-footer .links .collapse-icons .material-icons,
.nx-footer .navbar-toggler {
  color: var(--nx-text);
}

.nx-footer .links ul {
  background: none;
}

.nx-footer .links ul > li {
  border-bottom-color: #22323A;
}

.nx-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  margin-top: 48px;
  padding-top: 24px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--nx-soft);
  border-top: 1px solid #22323A;
}

/* --------------------------------------------------------------------------
   Blog sur l'accueil (module de blog)
   -------------------------------------------------------------------------- */
.nx-home-blog h4,
.nx-home-blog .title_blog,
.nx-home-blog .h2 {
  font-family: var(--nx-serif);
  font-size: clamp(34px, 4.2vw, 58px);
  font-weight: 400;
  text-transform: none;
  color: var(--nx-text);
}

.nx-home-blog a {
  color: var(--nx-text);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
  :root {
    --nx-gutter: 24px;
    --nx-section: 80px;
  }

  .nx-feature,
  .nx-split,
  .nx-product__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .nx-headbar__menu {
    justify-content: flex-end;
  }
}

@media (max-width: 767px) {
  :root {
    --nx-gutter: 16px;
    --nx-section: 64px;
  }

  .nx-hero {
    min-height: 620px;
  }

  .nx-hero__content {
    padding-top: 140px;
    padding-bottom: 56px;
  }

  .nx-hero__shade {
    background:
      linear-gradient(180deg, rgba(14, 26, 33, 0.8) 0%, rgba(14, 26, 33, 0) 22%),
      linear-gradient(0deg, rgba(14, 26, 33, 0.94) 0%, rgba(14, 26, 33, 0.72) 55%, rgba(14, 26, 33, 0.35) 100%);
  }

  .nx-hero__text > :not(:first-child) {
    font-size: 16px;
  }

  .nx-zones__inner {
    justify-content: center;
    font-size: 18px;
  }

  .nx-quote {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .nx-numlist li {
    font-size: 22px;
  }

  .nx-contact__form {
    padding: 24px;
  }

  #header .header-top {
    padding: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nx-card__media img,
  .nx-feature__media img {
    transition: none;
  }
}
