/**
 * Nelson Mobilier — child theme (mockup-aligned, pass 3)
 * Keep PrestaShop modules/functions; fix layout quality.
 */

@import url("fonts.css");

:root {
  --nm-ink: #333;
  --nm-dark: #444;
  --nm-dark-hover: #222;
  --nm-muted: #666;
  --nm-line: #e5e5e5;
  --nm-soft: #f5f5f5;
  --nm-panel: #f6f6f6;
  --nm-image: #f7f7f7;
  --nm-white: #fff;
  --nm-wrap: 1320px;
  --nm-gutter: 48px;
  --nm-section: 60px;
  --nm-font-body: "Roboto", Arial, sans-serif;
  --nm-font-display: "Roboto Condensed", Arial, sans-serif;
}

@media (max-width: 1100px) {
  :root { --nm-gutter: 24px; }
}
@media (max-width: 760px) {
  :root { --nm-gutter: 18px; --nm-section: 40px; }
}

/* -------------------------------------------------------------------------- */
/* Wide container + real horizontal padding                                   */
/* -------------------------------------------------------------------------- */

.container,
#wrapper .container,
#header .container,
#footer .container,
.footer-container .container {
  width: 100% !important;
  max-width: calc(var(--nm-wrap) + 2 * var(--nm-gutter)) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: var(--nm-gutter) !important;
  padding-right: var(--nm-gutter) !important;
}

@media (min-width: 576px), (min-width: 768px), (min-width: 992px), (min-width: 1200px) {
  .container {
    width: 100% !important;
    max-width: calc(var(--nm-wrap) + 2 * var(--nm-gutter)) !important;
  }
}

body {
  font-family: var(--nm-font-body);
  color: var(--nm-ink);
  background: #fff !important;
  font-size: 16px;
  line-height: 1.65;
}

#wrapper {
  background: #fff !important;
  padding-top: 0 !important;
}

h1, h2, h3, .h1, .h2, .h3,
.products-section-title {
  font-family: var(--nm-font-display);
  font-weight: 400;
  color: var(--nm-ink);
}

a { color: var(--nm-ink); }
a:hover { color: var(--nm-muted); }

/* Kill classic cyan */
.btn-primary,
.product-add-to-cart .add-to-cart,
#add-to-cart-or-refresh .add-to-cart,
.page-item.active .page-link,
.pagination .current a {
  background: var(--nm-dark) !important;
  border-color: var(--nm-dark) !important;
  color: #fff !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.btn-primary:hover,
.product-add-to-cart .add-to-cart:hover {
  background: var(--nm-dark-hover) !important;
  border-color: var(--nm-dark-hover) !important;
}

/* FX1-C: ATC icon + label on one centered row (PDP + quick view) */
:is(#product, .quickview) .add-to-cart,
#add-to-cart-or-refresh .add-to-cart,
.product-add-to-cart .add-to-cart {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  line-height: 1;
  height: auto;
  min-height: 48px;
  padding: 14px 22px;
}
:is(#product, .quickview) .add-to-cart .material-icons,
:is(#product, .quickview) .add-to-cart .shopping-cart,
#add-to-cart-or-refresh .add-to-cart .material-icons,
.product-add-to-cart .add-to-cart .material-icons {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  font-size: 20px;
  width: 20px;
  height: 20px;
  line-height: 1 !important;
  color: inherit;
  vertical-align: middle;
}

.btn,
a.btn,
button.btn {
  border-radius: 0 !important;
  min-height: 48px;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 14px 22px;
  box-shadow: none !important;
  text-transform: none;
}

.btn-secondary,
a.btn-secondary {
  background: #fff !important;
  border: 1px solid var(--nm-dark) !important;
  color: var(--nm-dark) !important;
}
.btn-secondary:hover,
a.btn-secondary:hover {
  background: var(--nm-dark) !important;
  color: #fff !important;
  text-decoration: none !important;
}

.nm-arrow-diagonal {
  display: inline-block;
  transform: rotate(-45deg);
  transition: transform 0.3s ease;
  vertical-align: middle;
  font-size: 18px !important;
}
a.nm-has-arrow:hover .nm-arrow-diagonal,
.btn:hover .nm-arrow-diagonal {
  transform: rotate(0deg);
}

.card,
.thumbnail-container {
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* -------------------------------------------------------------------------- */
/* Utility + header                                                           */
/* -------------------------------------------------------------------------- */

.nm-utility.header-nav {
  background: var(--nm-dark);
  color: #ddd;
  border: 0;
  min-height: 40px;
  font-size: 0.8125rem;
}
.nm-utility-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 40px;
  gap: 16px;
}
.nm-utility-left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 28px;
  min-width: 0;
}
.nm-utility-left:focus,
.nm-utility-left:focus-within {
  outline: none;
}
.nm-utility-phone,
.nm-utility-phone #nm_utility_contact_link,
.nm-utility-phone #_desktop_contact_link,
.nm-utility-phone #contact-link {
  display: flex;
  align-items: center;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  min-height: 0;
  height: auto;
  line-height: 1;
}
.nm-utility-phone:focus,
.nm-utility-phone:focus-within,
.nm-utility #nm_utility_contact_link:focus,
.nm-utility #_desktop_contact_link:focus,
.nm-utility #contact-link:focus {
  outline: none;
}
.nm-utility a,
.nm-utility #contact-link a { color: #eee !important; }
.nm-utility #contact-link {
  color: #eee;
  /* Classic adds margin-top:15px — kills vertical centering in the utility bar */
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* FX1-B: readable phone chip, vertically centered with WhatsApp */
.nm-utility-phone-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  text-decoration: none !important;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  margin: 0;
  padding: 0;
  outline: none;
}
.nm-utility-phone-link .material-icons {
  font-size: 16px;
  width: 16px;
  height: 16px;
  line-height: 1 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.9;
}
.nm-utility-phone-text {
  line-height: 1;
}
.nm-utility-phone-link:hover,
.nm-utility-phone-link:hover .nm-utility-phone-text {
  color: #fff !important;
}
.nm-utility-phone-link:focus-visible {
  outline: 1px solid #fff;
  outline-offset: 3px;
}

/* FX3-C: Download next to phone (D-FX-24) — no standing underline */
.nm-utility-download-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  text-decoration: none !important;
  color: #eee !important;
  line-height: 1;
  letter-spacing: 0.02em;
  outline: none;
}
.nm-utility-download-link .material-icons {
  font-size: 16px;
  width: 16px;
  height: 16px;
  line-height: 1 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.9;
}
.nm-utility-download-text {
  line-height: 1;
}
.nm-utility-download-link:hover,
.nm-utility-download-link:hover .nm-utility-download-text {
  color: #fff !important;
  text-decoration: none !important;
}
/* Focus ring only on Download (not parent wrapping the phone) */
.nm-utility-download-link:focus-visible {
  outline: 1px solid #fff;
  outline-offset: 3px;
}

/* -------------------------------------------------------------------------- */
/* Mobile utility + header bar + menu                                         */
/* -------------------------------------------------------------------------- */

@media (max-width: 767px) {
  .nm-utility.header-nav {
    min-height: 40px;
  }
  .nm-utility-inner {
    justify-content: space-between;
    align-items: center;
    gap: 10px;
  }
  .nm-utility-left {
    flex: 1 1 auto;
    min-width: 0;
    justify-content: flex-start;
    align-items: center;
    gap: 0;
    text-align: left;
  }
  /* Phone lives in the mobile menu only — download sits flush left */
  .nm-utility-phone {
    display: none !important;
  }
  .nm-utility-download-link {
    flex: 0 0 auto;
    margin-left: 0 !important;
    margin-right: auto;
  }
  .nm-utility .nm-wa-slot {
    margin-left: 0;
    flex: 0 0 auto;
  }

  .nm-header.header-top .container {
    padding-top: 0;
    padding-bottom: 0;
  }

  .nm-mobile-bar {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    padding: 12px 0 10px;
    text-align: left !important;
    float: none !important;
  }
  .nm-mobile-bar::after {
    display: none !important;
    content: none !important;
  }
  .nm-mobile-bar #menu-icon {
    order: 1;
    float: none !important;
    margin: 0 4px 0 0 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    cursor: pointer;
    line-height: 1;
    flex: 0 0 44px;
  }
  .nm-mobile-bar #menu-icon .material-icons {
    line-height: 1 !important;
    font-size: 28px;
  }
  .nm-mobile-bar .top-logo,
  .nm-mobile-bar #_mobile_logo {
    order: 2;
    float: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    line-height: 0;
    flex: 1 1 auto;
    min-width: 0;
  }
  .nm-mobile-bar #_mobile_logo img,
  .nm-mobile-bar .top-logo img {
    max-height: 36px;
    width: auto;
  }
  .nm-mobile-bar #_mobile_user_info {
    order: 3;
    float: none !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    height: 44px;
    flex: 0 0 auto;
  }
  .nm-mobile-bar #_mobile_cart {
    order: 4;
    float: none !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    margin: 0 0 0 4px !important;
    height: 44px;
    flex: 0 0 auto;
  }
  .nm-mobile-bar .nm-mobile-search {
    order: 5;
    width: 100%;
    flex: 0 0 100%;
    float: none !important;
    clear: none !important;
    margin-top: 8px;
  }
  .nm-mobile-bar #_mobile_user_info a,
  .nm-mobile-bar #_mobile_cart a,
  .nm-mobile-bar #_mobile_cart .header,
  .nm-mobile-bar .user-info a,
  .nm-mobile-bar .blockcart a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 4px;
    line-height: 1;
    vertical-align: middle;
  }
  .nm-mobile-bar .material-icons {
    line-height: 1 !important;
    vertical-align: middle;
  }
  .nm-mobile-bar .clearfix {
    display: none !important;
  }

  /* Mobile menu panel */
  #mobile_top_menu_wrapper {
    background: #fff;
    padding: 8px 0 20px;
  }
  #mobile_top_menu_wrapper .js-top-menu-bottom a,
  #mobile_top_menu_wrapper .js-top-menu-bottom #contact-link,
  #mobile_top_menu_wrapper .js-top-menu-bottom #contact-link a,
  #mobile_top_menu_wrapper .nm-mobile-menu-phone,
  #mobile_top_menu_wrapper .nm-utility-phone-link,
  #mobile_top_menu_wrapper .nm-utility-phone-text,
  #mobile_top_menu_wrapper .nm-mobile-menu-phone .material-icons {
    color: var(--nm-ink) !important;
  }
  #mobile_top_menu_wrapper .js-top-menu-bottom a:hover,
  #mobile_top_menu_wrapper .js-top-menu-bottom a:focus,
  #mobile_top_menu_wrapper .js-top-menu-bottom a:active,
  #mobile_top_menu_wrapper .nm-mobile-menu-phone:hover,
  #mobile_top_menu_wrapper .nm-mobile-menu-phone:focus,
  #mobile_top_menu_wrapper .nm-mobile-menu-phone:active,
  #mobile_top_menu_wrapper .nm-mobile-menu-phone:hover .nm-utility-phone-text,
  #mobile_top_menu_wrapper .nm-mobile-menu-phone:focus .nm-utility-phone-text,
  #mobile_top_menu_wrapper .nm-mobile-menu-phone:active .nm-utility-phone-text,
  #mobile_top_menu_wrapper .nm-mobile-menu-phone:hover .material-icons,
  #mobile_top_menu_wrapper .top-menu a:hover,
  #mobile_top_menu_wrapper .top-menu a:focus,
  #mobile_top_menu_wrapper .top-menu a:active {
    color: var(--nm-ink) !important;
    background: transparent !important;
  }
  #mobile_top_menu_wrapper #_mobile_contact_link {
    padding: 0.625rem;
  }
  #mobile_top_menu_wrapper .nm-mobile-menu-phone {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    text-decoration: none !important;
    font-weight: 500;
  }
  /* Number must stay visible (do not inherit topbar icon-only rules) */
  #mobile_top_menu_wrapper .nm-utility-phone-text,
  #mobile_top_menu_wrapper .nm-mobile-menu-phone .nm-utility-phone-text {
    display: inline !important;
    color: var(--nm-ink) !important;
    line-height: 1.2;
  }
  #mobile_top_menu_wrapper .nm-mobile-menu-phone .material-icons {
    font-size: 18px;
    color: var(--nm-ink) !important;
  }

  /* Open state: hamburger reads as close */
  #header.is-open #menu-icon {
    color: var(--nm-ink);
  }
}

/* Fallback when float layout still applies: center icons vertically with logo */
@media (max-width: 767px) {
  .nm-mobile-bar #_mobile_user_info,
  .nm-mobile-bar #_mobile_cart,
  .nm-mobile-bar #menu-icon {
    display: inline-flex;
    align-items: center;
    height: 44px;
  }
}

/* Listing grids: one card per row on phone (home + category/shop) */
@media (max-width: 767px) {
  body.page-category #js-product-list .products,
  body#category #js-product-list .products,
  body#new-products #js-product-list .products,
  body#prices-drop #js-product-list .products,
  body#best-sales #js-product-list .products,
  #search #js-product-list .products,
  #product .featured-products .products,
  #product .product-accessories .products {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    margin: 0;
    width: 100%;
  }
  body.page-category #js-product-list .products > .js-product,
  body#category #js-product-list .products > .js-product,
  body#new-products #js-product-list .products > .js-product,
  body#prices-drop #js-product-list .products > .js-product,
  body#best-sales #js-product-list .products > .js-product,
  #search #js-product-list .products > .js-product,
  #product .featured-products .js-product,
  #product .product-accessories .js-product {
    width: 100% !important;
    max-width: none !important;
    flex: none;
    float: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }
}

.nm-header.header-top,
#header .header-top.nm-header {
  background: #fff;
  border-bottom: 0;
  padding: 0 !important;
  margin: 0;
}

.nm-header-main {
  display: grid;
  grid-template-columns: minmax(140px, 200px) minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 28px;
  min-height: 92px;
  padding: 16px 0;
}

.nm-logo-heading { margin: 0; line-height: 0; font-size: inherit; }
.nm-brand img.logo,
#header .logo {
  max-height: 44px;
  width: auto;
  max-width: 100%;
}

.nm-search {
  min-width: 0;
  max-width: 720px;
  width: 100%;
  justify-self: center;
}

.nm-search #search_widget,
.nm-mobile-search #search_widget {
  width: 100%;
  max-width: 100%;
  height: 44px;
  margin: 0;
  padding: 0 12px;
  background: var(--nm-soft);
  border: 0;
  border-bottom: 1px solid var(--nm-line);
  border-radius: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.nm-search #search_widget form,
.nm-mobile-search #search_widget form {
  display: flex;
  align-items: center;
  width: 100%;
  min-width: 0;
  margin: 0;
  overflow: hidden;
}

.nm-search #search_widget form input[type="text"],
.nm-mobile-search #search_widget form input[type="text"] {
  flex: 1 1 auto;
  min-width: 0;
  width: auto !important;
  max-width: 100%;
  border: 0;
  background: transparent;
  box-shadow: none !important;
  padding: 10px 8px;
  font-size: 0.9rem;
  color: var(--nm-ink);
}

.nm-search-submit {
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--nm-muted);
  cursor: pointer;
  line-height: 0;
}
.nm-search-submit .material-icons { font-size: 22px; }
.nm-search #search_widget .clear { display: none !important; }

.nm-actions {
  display: flex;
  align-items: center;
  gap: 14px 18px;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.nm-actions .language-selector,
.nm-actions .currency-selector { display: none !important; }

/* FX1-F: logged-in Sign out + name on one row (override classic block/100% links) */
.nm-actions .user-info {
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  white-space: nowrap;
  gap: 10px 14px;
  margin: 0;
  padding: 0;
  text-align: left;
}

.nm-actions .user-info a,
.nm-actions .nm-cart-link,
.nm-actions .blockcart a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: auto;
  max-width: none;
  padding: 0;
  color: var(--nm-ink) !important;
  font-size: 0.875rem;
  text-decoration: none !important;
}

.nm-actions .user-info .account {
  margin-left: 0;
}

.nm-actions .cart-products-count {
  background: transparent !important;
  color: inherit !important;
  padding: 0 !important;
  min-width: 0 !important;
  height: auto !important;
}

.nm-cart-icon {
  display: inline-flex;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  line-height: 0;
}
.nm-cart-icon svg {
  display: block;
  width: 22px;
  height: 22px;
  fill: currentColor;
}
#header .blockcart .nm-cart-icon,
.nm-mobile-bar .nm-cart-icon {
  margin: 0;
}

/* WhatsApp in top bar (module kept, relocated by JS) */
.nm-wa-slot:empty { display: none; }
.nm-utility .nm-wa-slot {
  display: flex;
  align-items: center;
  align-self: center;
  margin-left: auto;
  height: 100%;
  min-height: 40px;
}
.ets_wa_whatsapp_block.nm-wa-block {
  position: static !important;
  right: auto !important;
  left: auto !important;
  bottom: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  z-index: auto;
  text-align: left;
  display: flex !important;
  align-items: center;
  line-height: 1;
}
.ets_wa_whatsapp_block.nm-wa-block > a,
.nm-wa-link {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  float: none !important;
  background: transparent;
  color: #eee !important;
  text-decoration: none !important;
  padding: 0 !important;
  margin: 0 !important;
  min-height: 0;
  font-size: 0.8125rem;
  line-height: 1;
}
.ets_wa_whatsapp_block.nm-wa-block img {
  width: 18px !important;
  height: 18px !important;
  float: none !important;
  display: block;
  margin: 0 !important;
}
.nm-wa-label {
  color: inherit;
  font-weight: 500;
  max-width: none;
  line-height: 1;
}
.nm-utility .nm-wa-link:hover { color: #fff !important; }

/* Nav */
.nm-nav-bar {
  border-top: 1px solid var(--nm-line);
  border-bottom: 0;
  margin: 0;
  padding: 0;
}
.nm-nav-bar .menu,
.nm-nav-bar #_desktop_top_menu {
  width: 100%;
  margin: 0;
  border: 0;
  background: transparent;
}
.nm-nav-bar .top-menu {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0 4px;
  min-height: 52px;
  margin: 0;
  padding: 0;
  border: 0;
  width: 100%;
}
.nm-nav-bar .top-menu > li { float: none !important; margin: 0; }
.nm-nav-bar .top-menu a[data-depth="0"] {
  font-family: var(--nm-font-display);
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--nm-ink) !important;
  padding: 15px 4px 13px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent !important;
  text-decoration: none !important;
  white-space: nowrap;
}
.nm-nav-bar .top-menu a[data-depth="0"]:hover {
  color: var(--nm-muted) !important;
  border-bottom-color: transparent;
  font-weight: 400;
  background: transparent !important;
}
.nm-nav-bar .top-menu > li.current > a[data-depth="0"],
.nm-nav-bar .top-menu > li.current > a[data-depth="0"]:hover {
  color: var(--nm-ink) !important;
  font-weight: 400;
  border-bottom-color: var(--nm-dark);
  background: transparent !important;
}

@media (max-width: 991px) {
  .nm-wa-label { display: none; }
}

/* -------------------------------------------------------------------------- */
/* FULL-WIDTH slider — flush under header, taller hero                        */
/* -------------------------------------------------------------------------- */

/* 100vw breakouts cause horizontal scrollbar; clip only on home */
body#index {
  overflow-x: clip;
}

#index #header,
#index .header-top,
#index .nm-header {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  box-shadow: none !important;
}

#index .header-banner {
  margin: 0 !important;
  padding: 0 !important;
  min-height: 0 !important;
  line-height: 0;
}

#index #wrapper {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  background: #fff !important;
}

/* Classic leaves breadcrumb + wrapper padding between header and slider */
#index .breadcrumb,
#index nav.breadcrumb {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

#index #notifications,
#index .notifications-container {
  margin: 0 !important;
  padding: 0 !important;
  min-height: 0 !important;
}

#index footer.page-footer {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  height: 0 !important;
  overflow: hidden;
}

#index #wrapper > .container {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

#index #content-wrapper,
#index #content-wrapper .row,
#index #content,
#index #main,
#index .page-content,
#index section#content,
#index .page-home {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

#index #carousel.carousel {
  --nm-hero-h: clamp(520px, 68vh, 780px);
  position: relative;
  left: auto;
  right: auto;
  width: auto;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: 0 !important;
  margin-bottom: 0;
  height: var(--nm-hero-h);
  background: var(--nm-soft);
  border-radius: 0;
  overflow: hidden;
}

/* Fixed stage height = no jump between slides */
#index #carousel .carousel-inner {
  position: relative;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

#index #carousel .carousel-item {
  height: 100%;
  margin: 0;
  padding: 0;
}

#index #carousel .carousel-item figure,
#index #carousel .carousel-item > a,
#index #carousel .carousel-item a > figure {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}

#index #carousel .carousel-item img {
  display: block;
  width: 100%;
  height: 100% !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center center;
}

/* FX1-G: one fixed motto bottom-left; white on scrim; Roboto Condensed (D-FX-12) */
#index #carousel .caption.nm-hero-caption {
  display: block;
  position: absolute;
  left: clamp(20px, 4vw, 56px);
  right: auto;
  bottom: clamp(48px, 7vh, 72px);
  z-index: 2;
  max-width: min(40rem, 78%);
  margin: 0;
  padding: 22px 26px;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.32) 0%,
    rgba(0, 0, 0, 0.62) 100%
  );
  color: #fff;
  text-align: left;
  pointer-events: none;
}

#index #carousel .caption .display-1,
#index #carousel .caption h2 {
  display: block;
  margin: 0 0 10px;
  padding: 0;
  font-family: var(--nm-font-display);
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
}

#index #carousel .caption-description,
#index #carousel .caption-description p,
#index #carousel .caption-description h1 {
  display: block;
  margin: 0;
  padding: 0;
  font-family: var(--nm-font-display);
  font-size: clamp(1.05rem, 1.85vw, 1.35rem);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.02em;
  color: #fff;
}

#index #carousel .caption-description h1 {
  /* Semantic page title only — keep motto look identical to previous div/p */
  text-transform: none;
}

#index #carousel .caption a,
#index #carousel .caption .btn {
  display: none !important;
}

/* Dots compact, lifted from slider bottom edge */
#index #carousel .carousel-indicators {
  right: 0;
  left: 0;
  bottom: 22px;
  z-index: 3;
  margin: 0;
  padding: 0;
  width: 100%;
  height: auto;
  min-height: 0;
  line-height: 0;
}

#index #carousel .carousel-indicators li {
  width: 28px;
  height: 3px;
  margin: 0 3px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #fff;
  opacity: 0.45;
  text-indent: 0;
  box-sizing: border-box;
}
#index #carousel .carousel-indicators .active {
  opacity: 1;
  background: #fff;
}

@media (max-width: 767px) {
  #index #carousel.carousel {
    --nm-hero-h: clamp(300px, 52vh, 460px);
  }
  #index #carousel .caption.nm-hero-caption {
    left: 16px;
    right: 16px;
    bottom: 40px;
    max-width: none;
    padding: 16px 18px;
  }
  #index #carousel .caption .display-1,
  #index #carousel .caption h2 {
    font-size: 1.4rem;
    margin-bottom: 8px;
  }
  #index #carousel .caption-description,
  #index #carousel .caption-description p,
  #index #carousel .caption-description h1 {
    font-size: 1rem;
  }
  #index #carousel .carousel-indicators {
    bottom: 16px;
  }
}

/* -------------------------------------------------------------------------- */
/* Intro / categories / editorial                                             */
/* -------------------------------------------------------------------------- */

#custom-text.nm-intro,
#custom-text {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: var(--nm-section) 0;
  border: 0;
  border-bottom: 1px solid var(--nm-line);
  background: #fff !important;
  text-align: left;
  box-sizing: border-box;
}

#custom-text .nm-intro-copy {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 42rem;
}

#custom-text p,
#custom-text.nm-intro p,
#custom-text h1,
#custom-text h2 {
  display: block;
  margin: 0 !important;
  padding: 0 !important;
  max-width: none;
  color: var(--nm-muted) !important;
  font-family: var(--nm-font-body) !important;
  font-size: 0.95rem !important;
  font-weight: 400 !important;
  line-height: 1.65 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  background: transparent !important;
  text-align: left !important;
}

#custom-text strong {
  font-weight: 500;
  color: var(--nm-ink);
}

.nm-text-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  flex: 0 0 auto;
  color: var(--nm-ink) !important;
  font-size: 0.875rem;
  font-weight: 400;
  text-decoration: none !important;
  white-space: nowrap;
}

.nm-text-link .material-icons {
  font-size: 18px;
  transition: transform 0.25s ease;
}

.nm-text-link:hover {
  color: var(--nm-muted) !important;
}

.nm-text-link:hover .material-icons {
  transform: translateX(4px);
}

@media (max-width: 767px) {
  #custom-text.nm-intro,
  #custom-text {
    display: block;
    padding: var(--nm-section) 0;
  }
  #custom-text p {
    font-size: 0.875rem;
  }
  #custom-text .nm-text-link {
    margin-top: 15px;
    white-space: normal;
  }
}

.nm-home-cats {
  padding: 56px 0 64px;
  border: 0;
  margin: 0;
}

.nm-cats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.nm-cat-card {
  display: block;
  background: var(--nm-soft);
  color: var(--nm-ink) !important;
  text-decoration: none !important;
}

.nm-cat-card:hover {
  text-decoration: none !important;
}

.nm-cat-image {
  height: 210px;
  padding: 24px;
  overflow: hidden;
}

.nm-cat-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform 0.3s ease;
}

.nm-cat-card:hover .nm-cat-image img {
  transform: scale(1.045);
}

.nm-cat-name {
  padding: 0 22px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--nm-font-display);
  font-size: 1.25rem;
}

.nm-cat-name .material-icons {
  font-size: 20px;
  transition: transform 0.25s ease;
}

.nm-cat-card:hover .nm-cat-name .material-icons {
  transform: translateX(4px);
}

@media (max-width: 991px) {
  .nm-cats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  .nm-cat-image {
    height: 145px;
    padding: 12px;
  }
}

.nm-editorial {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: center;
  margin: 0;
  padding: var(--nm-section) 0;
  border: 0;
  background: #fff;
}

.nm-editorial-media,
.nm-editorial-media a,
.nm-editorial-media img {
  display: block;
  width: 100%;
}

.nm-editorial-media img,
#index .nm-editorial-media img {
  height: 400px !important;
  width: 100% !important;
  max-width: 100% !important;
  object-fit: cover !important;
  object-position: center;
}

.nm-editorial-copy h2 {
  font-family: var(--nm-font-display);
  font-size: clamp(1.8rem, 3vw, 2.65rem);
  line-height: 1.1;
  text-transform: uppercase;
  margin: 0 0 18px;
}

.nm-editorial-copy p {
  color: var(--nm-muted);
  margin: 0 0 26px;
  max-width: 36rem;
}

.nm-editorial .btn {
  display: inline-flex;
  align-items: center;
  gap: 30px;
}

@media (max-width: 767px) {
  .nm-home-cats {
    padding: 35px 0 48px;
  }
  .nm-editorial {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: var(--nm-section) 0;
  }
  .nm-editorial-media img,
  #index .nm-editorial-media img {
    height: 260px !important;
  }
}

.nm-banner-img,
#index a.banner img,
a.banner img {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  margin: 0 auto;
  object-fit: cover;
  object-position: center;
}

/* -------------------------------------------------------------------------- */
/* Product sections + CTA                                                     */
/* -------------------------------------------------------------------------- */

.nm-products-section,
.featured-products {
  margin: 0;
  padding: 0;
  overflow: visible;
  clear: both;
}

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

.nm-section-head .products-section-title {
  margin: 0;
  border: 0;
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  text-transform: uppercase;
}

.nm-section-head .all-product-link,
.featured-products .all-product-link {
  float: none !important;
  position: static !important;
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  margin: 0 !important;
  padding: 0;
  color: var(--nm-ink);
  font-size: 0.9rem;
  font-weight: 400;
  text-decoration: none;
  visibility: visible !important;
  opacity: 1 !important;
  clear: none !important;
}

.nm-section-head .all-product-link:hover,
.nm-section-head .nm-text-link:hover {
  color: var(--nm-muted);
  text-decoration: none;
}

#index .nm-products-popular,
#index .nm-products-new,
#index .nm-products-sale {
  position: relative;
  background: transparent;
  margin: 0;
  width: auto;
  max-width: none;
  padding: var(--nm-section) 0;
  box-sizing: border-box;
  overflow: visible;
}

#index .nm-products-popular::before,
#index .nm-products-new::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  max-width: 100vw;
  transform: translateX(-50%);
  background: #f6f6f6;
  z-index: 0;
  pointer-events: none;
}

/* Sale section: white band (no grey wash), same vertical padding as siblings */
#index .nm-products-sale {
  background: #fff;
}
#index .nm-products-sale::before {
  display: none;
}

#index .nm-products-popular > *,
#index .nm-products-new > *,
#index .nm-products-sale > * {
  position: relative;
  z-index: 1;
}

#index .featured-products .products,
#index .nm-products-section .products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px 24px;
  margin: 0;
  width: 100%;
  float: none;
}

#index .featured-products .products::before,
#index .featured-products .products::after,
#index .nm-products-section .products::before,
#index .nm-products-section .products::after {
  display: none;
}

#index .featured-products .products > .js-product,
#index .nm-products-section .products > .js-product,
#index .featured-products .products > article,
#index .nm-products-section .products > article {
  width: 100% !important;
  max-width: none !important;
  flex: none;
  float: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

@media (max-width: 1100px) {
  #index .featured-products .products,
  #index .nm-products-section .products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px 18px;
    margin: 0;
    width: 100%;
  }
}

@media (max-width: 760px) {
  #index .featured-products .products,
  #index .nm-products-section .products {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    margin: 0;
    width: 100%;
  }
}

/* -------------------------------------------------------------------------- */
/* Product cards — home/catalog grid (foto1)                                  */
/* -------------------------------------------------------------------------- */

#products .products,
.featured-products .products,
#js-product-list .products {
  /* Bootstrap row gutters */
}

.product-miniature {
  margin-bottom: 15px;
  width: 100%;
  max-width: 100%;
}

.product-miniature.js-product-miniature,
.product-miniature.js-product-miniature.reviews-loaded {
  width: 100%;
  max-width: 100%;
}

#index .product-miniature {
  margin-bottom: 0;
}

.product-miniature .thumbnail-container,
.thumbnail-container {
  width: 100%;
  max-width: 100%;
  height: auto !important;
  border: 0 !important;
  background: #fff;
  margin: 0;
  position: relative;
  box-shadow: none !important;
}

.product-miniature .thumbnail-top {
  position: relative;
  background: #fff;
  border-bottom: 1px solid var(--nm-line);
  overflow: hidden;
}

.product-miniature .product-thumbnail {
  display: block;
  height: auto !important;
}

.product-miniature .product-thumbnail img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: 0 !important;
  margin: 0;
  background: #fff;
  transition: transform 0.3s ease;
}

.product-miniature:hover .product-thumbnail img {
  transform: scale(1.02);
}

/* Wishlist: black circle, white icon (blockwishlist injects .wishlist-button / .wishlist-button-add) */
.product-miniature .wishlist-button {
  position: absolute !important;
  top: 10px;
  right: 10px;
  z-index: 4;
  margin: 0 !important;
}

.product-miniature .wishlist-button-add,
.product-miniature .wishlist-button-add.wishlist-button-product,
#product .wishlist-button-add,
.quickview .wishlist-button-add,
.wishlist-product .wishlist-button-add {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 2.5rem !important;
  height: 2.5rem !important;
  min-width: 2.5rem !important;
  margin: 0 !important;
  padding: 0 !important;
  background: var(--nm-ink) !important;
  border: 0 !important;
  border-radius: 50% !important;
  box-shadow: none !important;
  color: var(--nm-white) !important;
}

.product-miniature .wishlist-button-add:hover,
#product .wishlist-button-add:hover,
.quickview .wishlist-button-add:hover,
.wishlist-product .wishlist-button-add:hover {
  opacity: 0.85;
  background: var(--nm-ink) !important;
}

.product-miniature .wishlist-button-add i,
.product-miniature .wishlist-button-add .material-icons,
#product .wishlist-button-add i,
#product .wishlist-button-add .material-icons,
.quickview .wishlist-button-add i,
.quickview .wishlist-button-add .material-icons,
.wishlist-product .wishlist-button-add i,
.wishlist-product .wishlist-button-add .material-icons {
  color: var(--nm-white) !important;
  font-size: 1.25rem !important;
}

.product-miniature .wishlist-button-add svg,
.product-miniature .wishlist-button-add svg path,
#product .wishlist-button-add svg,
#product .wishlist-button-add svg path,
.quickview .wishlist-button-add svg,
.quickview .wishlist-button-add svg path,
.wishlist-product .wishlist-button-add svg,
.wishlist-product .wishlist-button-add svg path {
  fill: var(--nm-white) !important;
  stroke: var(--nm-white) !important;
  color: var(--nm-white) !important;
}

/* Quick view (Anteprima): centered over image, cyan, white text stays white */
.product-miniature .highlighted-informations {
  position: absolute !important;
  inset: 0 !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  z-index: 3;
}

.product-miniature:hover .highlighted-informations,
.product-miniature:focus-within .highlighted-informations {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.product-miniature .quick-view {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 !important;
  padding: 12px 18px !important;
  background: var(--nm-dark) !important;
  border: 1px solid var(--nm-dark) !important;
  border-radius: 0 !important;
  color: #fff !important;
  font-size: 0.875rem !important;
  font-weight: 500;
  text-decoration: none !important;
  box-shadow: none !important;
}

.product-miniature .quick-view:hover,
.product-miniature .quick-view:focus,
.product-miniature .quick-view:active {
  background: var(--nm-dark-hover) !important;
  border-color: var(--nm-dark-hover) !important;
  color: #fff !important;
  text-decoration: none !important;
  opacity: 1;
}

.product-miniature .quick-view i,
.product-miniature .quick-view .material-icons {
  color: #fff !important;
  font-size: 1.125rem !important;
}

.product-miniature .product-description {
  text-align: left !important;
  width: 100%;
  box-sizing: border-box;
  padding: 16px !important;
  height: auto !important;
  position: static !important;
  background: #fff;
}

.product-miniature .product-title,
.product-miniature .product-title a {
  font-family: var(--nm-font-display);
  font-size: 1.05rem;
  font-weight: 400;
  text-align: left;
  color: var(--nm-ink);
  text-decoration: none;
  margin: 0 0 12px;
  line-height: 1.3;
}

.product-miniature .nm-price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 12px;
  margin: 0;
  width: 100%;
}

.product-miniature .price {
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--nm-ink);
  margin: 0;
}

.product-miniature .nm-card-action {
  flex: 0 0 auto;
  margin: 0;
  font-size: 0.8125rem;
  color: var(--nm-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}
.product-miniature .nm-card-action:hover {
  color: var(--nm-muted);
  text-decoration: none;
}

/* Classic grey hover line under title — remove */
.product-miniature .thumbnail-container:hover .product-description::after,
.product-miniature .thumbnail-container:focus .product-description::after,
.product-miniature .highlighted-informations::after {
  content: none !important;
  display: none !important;
  border: 0 !important;
  opacity: 0 !important;
}

/* Flag "Nuovo" — black instead of cyan */
.product-miniature .product-flag.new,
.product-flags .product-flag.new {
  background: var(--nm-ink) !important;
  color: #fff !important;
}

/* -------------------------------------------------------------------------- */
/* Footer + social + reassurance                                              */
/* -------------------------------------------------------------------------- */

#footer {
  background: #000 !important;
  color: #ddd;
  border: 0 !important;
  margin-top: 0 !important;
  padding: 0 !important;
}

.footer-container {
  background: #000 !important;
  color: #ddd;
  border: 0 !important;
  margin-top: 0 !important;
  padding-top: 56px;
  padding-bottom: 36px;
}

#footer > .container:first-child {
  display: none !important;
}

#footer .block-social,
#footer .nm-footer-social,
#footer .nm-footer-social-slot .block-social {
  padding: 0;
  margin: 16px 0 0;
  float: none;
  width: auto !important;
  max-width: 100%;
  text-align: left;
  background: transparent !important;
}

#footer .block-social.col-lg-4,
#footer .block-social.col-md-12,
#footer .block-social.col-sm-12 {
  flex: none !important;
  max-width: none !important;
}

@media (max-width: 767px) {
  #footer .nm-footer-main > [class*="col-"] {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
  #footer .nm-footer-store .title.hidden-md-up {
    display: none !important;
  }
  #footer .nm-footer-store #contact-infos.collapse {
    display: block !important;
    height: auto !important;
    overflow: visible !important;
  }
}

/* Home: keep space under editorial equal to the top (no extra footer margin) */
body#index #footer,
body#index .footer-container {
  margin-top: 0;
}

#footer a,
.footer-container a {
  color: #ddd;
}
#footer a:hover {
  color: #fff;
  text-decoration: none;
}

/* Menu column titles — beat classic #232323 rules */
#footer .h3,
#footer p.h3,
#footer span.h3,
#footer .h4,
#footer p.h4,
#footer .block-contact .h3,
#footer .block-contact .h4,
#footer .block-contact .block-contact-title,
#footer .wrapper .h3,
#footer .links .h3,
#footer .myaccount-title,
#footer .myaccount-title a,
#footer #block_myaccount_infos .myaccount-title a,
#footer .linklist .blockcms-title a,
.footer-container .h3,
.footer-container p.h3,
.footer-container .h4,
.footer-container .block-contact-title,
.footer-container .myaccount-title a {
  color: #fff !important;
  font-weight: 700;
}

/* Footer column links: same size in every column (incl. legal) */
#footer .links ul li a,
#footer .wrapper ul li a,
#footer .account-list li a,
#footer .nm-footer-legal ul li a {
  font-size: 0.875rem;
  line-height: 1.45;
  font-weight: 400;
}

/* Account column title is plain text, not a link */
#footer .myaccount-title,
#footer #block_myaccount_infos .myaccount-title {
  pointer-events: none;
}

/* Social icons: no grey square; relocated under store column */
#footer .block-social,
#footer .nm-footer-social {
  padding: 0;
  margin: 16px 0 0;
  float: none;
  width: auto;
  max-width: 100%;
  text-align: left;
}

#footer .block-social ul,
#footer .nm-footer-social ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  justify-content: flex-start;
}

#footer .block-social ul li,
#footer .nm-footer-social ul li,
.footer-container .block-social ul li {
  /*
   * Classic social SVGs are already fill="#FFFFFF".
   * Transparent plate on black footer = white glyphs, no chip.
   * Never set a light background-color and never invert (that made solid white squares).
   */
  background-color: transparent !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  margin: 0 !important;
  float: none !important;
  filter: none !important;
  -webkit-filter: none !important;
  opacity: 0.92;
  border-radius: 0;
  box-shadow: none !important;
}

#footer .block-social ul li::before,
#footer .nm-footer-social ul li::before,
.footer-container .block-social ul li::before {
  /* Classic hover/colored overlay — hide so only the white sprite shows */
  display: none !important;
  content: none !important;
  background: none !important;
}

#footer .block-social ul li:hover,
#footer .nm-footer-social ul li:hover,
.footer-container .block-social ul li:hover {
  background-color: transparent !important;
  filter: none !important;
  -webkit-filter: none !important;
  opacity: 1;
}

/* Desktop + mobile: no grey/white plates behind social icons */
@media (max-width: 767px) {
  #footer .block-social,
  #footer .nm-footer-social,
  #footer .nm-footer-social-slot,
  #footer .nm-footer-social-slot .block-social,
  #footer .block-social ul,
  #footer .nm-footer-social ul {
    background: transparent !important;
    background-color: transparent !important;
    text-align: left !important;
    box-shadow: none !important;
  }
  #footer .block-social ul li,
  #footer .nm-footer-social ul li,
  .footer-container .block-social ul li {
    background-color: transparent !important;
    filter: none !important;
    -webkit-filter: none !important;
    box-shadow: none !important;
  }
}

.nm-footer-social-slot:empty {
  display: none;
}

.footer-container .row {
  align-items: flex-start;
}

.nm-footer-main.row {
  display: flex;
  flex-wrap: wrap;
}

#footer .nm-footer-store {
  order: -1;
}

@media (min-width: 768px) {
  #footer .nm-footer-store #contact-infos.collapse {
    display: block !important;
    height: auto !important;
    overflow: visible !important;
  }
}

#footer .nm-footer-store .block-contact-title,
#footer .nm-footer-store > p.h4 {
  display: none !important;
}

#footer .nm-footer-payments {
  margin: 36px 0 8px;
  padding: 0;
}

#footer .nm-footer-payments .nm-pay-logos {
  justify-content: center;
  gap: 10px;
  margin: 0;
  width: 100%;
}

#footer .copyright,
#footer .text-sm-center {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 16px;
  margin-bottom: 0;
  padding-top: 12px;
  padding-bottom: 0;
  color: #999;
  font-size: 0.8125rem;
}

#footer .nm-copyright-line {
  margin: 0 0 6px;
}

#footer .nm-shop-registration {
  margin: 0;
  padding: 0 12px 4px;
  color: #888;
  font-size: 0.75rem;
  line-height: 1.45;
  max-width: 52rem;
  margin-left: auto;
  margin-right: auto;
}

#footer .text-sm-center a,
#footer .nm-copyright {
  color: #999;
  text-decoration: none;
}

#footer .nm-copyright:hover {
  color: #ccc;
  text-decoration: none;
}

.nm-pay-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
}

.nm-pay-logos li {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  padding: 0 8px;
  background: #fff;
  border-radius: 3px;
}

.nm-pay-logos img {
  display: block;
  height: 22px;
  width: auto;
  max-width: 64px;
  object-fit: contain;
}

.nm-pay-logos .nm-pay-wire {
  padding: 0 4px;
}

.nm-pay-logos .nm-pay-wire img {
  height: 22px;
  width: 22px;
}

/* Reassurance: compact horizontal cards */
#footer .blockreassurance,
.footer-container .blockreassurance {
  margin: 14px 0 0;
  padding: 0;
}

#footer .blockreassurance > .row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

#footer .blockreassurance > .row > [class*="col-"] {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 12px;
  row-gap: 2px;
  align-items: start;
  flex: 1 1 240px;
  max-width: 420px;
  width: auto !important;
  margin: 0 !important;
  padding: 10px 12px !important;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  float: none !important;
  text-align: left;
}

#footer .blockreassurance .block-icon {
  grid-row: 1 / span 2;
  align-self: center;
  flex: 0 0 30px;
  width: 30px !important;
  height: 30px !important;
  max-width: 30px !important;
  max-height: 30px !important;
  margin: 0;
  min-height: 0;
  line-height: 0;
}

/* Module CSS sets .block-icon { height: 70px } — beat it */
#footer .blockreassurance .block-icon,
#footer .blockreassurance .block-icon img,
#footer .blockreassurance .block-icon svg,
#footer .blockreassurance img.svg {
  width: 30px !important;
  height: 30px !important;
  max-width: 30px !important;
  max-height: 30px !important;
  object-fit: contain;
  filter: none;
  opacity: 1;
}

#footer .blockreassurance .block-title {
  grid-column: 2;
  color: #fff !important;
  font-family: var(--nm-font-display);
  font-size: 0.875rem !important;
  font-weight: 500;
  margin: 0 0 2px !important;
  line-height: 1.2;
}

#footer .blockreassurance p,
#footer .blockreassurance .block-content {
  grid-column: 2;
  color: #aaa !important;
  font-size: 0.75rem !important;
  line-height: 1.35 !important;
  margin: 0 !important;
}

@media (max-width: 767px) {
  #footer .blockreassurance > .row > [class*="col-"] {
    max-width: none;
    flex-basis: 100%;
  }
}

.breadcrumb {
  background: transparent;
  border: 0;
  padding: 16px 0 20px;
  color: var(--nm-muted);
  font-size: 0.8125rem;
}

#index .ets_blog_home_page_block,
#index .home_blog_post_area,
#index .ets-blog-latest-posts,
#left-column .ets_block_latest,
#left-column .ets_blog_ltr_mode,
#left-column .page_blog {
  display: none !important;
}

/* Category tree links duplicate the header menu; keep faceted filters only */
#left-column .block-categories,
#left-column .category-tree {
  display: none !important;
}

/* Sticky filters: desktop only. align-self lets the column stay shorter than the product list. */
@media (min-width: 992px) {
  #left-column:has(#search_filters) {
    position: sticky;
    top: 24px;
    align-self: flex-start;
    z-index: 2;
    max-height: calc(100vh - 48px);
    overflow-y: auto;
  }
}

/* Category header: description full width, height follows content (classic uses min-height:13.75rem) */
.block-category .block-category-inner,
.block-category #category-description {
  display: block;
  width: 100%;
  max-width: none;
  float: none;
}
body#category .block-category,
body#category .block-category.card,
body#category .block-category.card-block,
body#category #js-product-list-header .block-category {
  min-height: 0 !important;
  height: auto !important;
}
body#category .block-category .block-category-inner,
body#category .block-category #category-description {
  min-height: 0 !important;
  height: auto !important;
}
.category-cover {
  display: none !important;
}

/* Sort control: keep the box as tall as its label */
.products-selection .sort-by-row {
  align-items: center;
}
.products-sort-order .select-title {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  min-height: 0 !important;
  height: 40px !important;
  margin: 0;
  padding: 0 12px !important;
  line-height: 1.2 !important;
  font-size: 0.875rem;
  font-weight: 400;
  background: #fff;
  border: 1px solid var(--nm-line);
  border-radius: 0;
  box-shadow: none;
}
.products-sort-order .select-title .material-icons {
  float: none !important;
  font-size: 20px;
  line-height: 1;
  height: 20px;
  width: 20px;
}

/* Quantity: minus, number, plus on one line (touchspin builds vertical buttons) */
:is(#product, .quickview) .product-quantity {
  display: flex;
  align-items: center;
  gap: 12px;
  float: none;
}
:is(#product, .quickview) .product-quantity .qty,
:is(#product, .quickview) .product-quantity .add {
  float: none;
  margin: 0;
}
:is(#product, .quickview) .product-quantity .add {
  flex: 1 1 auto;
}
:is(#product, .quickview) .product-quantity .add .add-to-cart {
  width: 100%;
}
:is(#product, .quickview, #cart) .bootstrap-touchspin {
  display: inline-flex;
  flex-direction: row;
  align-items: stretch;
  float: none;
  width: auto;
  height: 40px;
  border: 1px solid #aaa;
  background: #fff;
}
:is(#product, .quickview) .bootstrap-touchspin {
  height: 48px;
}
:is(#product, .quickview, #cart) .bootstrap-touchspin input.form-control,
:is(#product, .quickview) #quantity_wanted,
#cart .js-cart-line-product-quantity {
  width: 42px;
  height: 40px !important;
  padding: 0 !important;
  border: 0 !important;
  line-height: 40px;
  text-align: center;
  background: transparent;
  box-shadow: none !important;
}
:is(#product, .quickview) .bootstrap-touchspin input.form-control,
:is(#product, .quickview) #quantity_wanted {
  height: 48px !important;
  line-height: 48px;
}
:is(#product, .quickview, #cart) .bootstrap-touchspin .input-group-btn-vertical {
  display: contents;
  width: auto;
  height: auto;
}
/* Order: decrease | qty | increase (plugin stacks both buttons after the input) */
:is(#product, .quickview, #cart) .bootstrap-touchspin > input.form-control,
:is(#product, .quickview, #cart) .bootstrap-touchspin input.form-control {
  order: 2;
}
:is(#product, .quickview, #cart) .bootstrap-touchspin .bootstrap-touchspin-down,
:is(#product, .quickview, #cart) .bootstrap-touchspin .btn-touchspin.bootstrap-touchspin-down {
  order: 1;
}
:is(#product, .quickview, #cart) .bootstrap-touchspin .bootstrap-touchspin-up,
:is(#product, .quickview, #cart) .bootstrap-touchspin .btn-touchspin.bootstrap-touchspin-up {
  order: 3;
}
:is(#product, .quickview, #cart) .bootstrap-touchspin .input-group-btn-vertical > .btn,
:is(#product, .quickview, #cart) .bootstrap-touchspin .btn-touchspin,
:is(#product, .quickview, #cart) .bootstrap-touchspin .bootstrap-touchspin-up,
:is(#product, .quickview, #cart) .bootstrap-touchspin .bootstrap-touchspin-down {
  flex: 0 0 34px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  min-height: 0 !important;
  height: 40px !important;
  width: 34px;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--nm-ink) !important;
  box-shadow: none !important;
}
:is(#product, .quickview) .bootstrap-touchspin .input-group-btn-vertical > .btn,
:is(#product, .quickview) .bootstrap-touchspin .btn-touchspin,
:is(#product, .quickview) .bootstrap-touchspin .bootstrap-touchspin-up,
:is(#product, .quickview) .bootstrap-touchspin .bootstrap-touchspin-down {
  height: 48px !important;
}
:is(#product, .quickview, #cart) .bootstrap-touchspin .input-group-btn-vertical .btn i,
:is(#product, .quickview, #cart) .bootstrap-touchspin .btn-touchspin i {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  display: block;
  width: 18px;
  height: 18px;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 18px !important;
  line-height: 18px !important;
  overflow: visible;
}
/* Down glyph is only styled inside the vertical group; we move that button beside the input */
:is(#product, .quickview, #cart) .bootstrap-touchspin .touchspin-up::after,
:is(#product, .quickview, #cart) .bootstrap-touchspin .touchspin-down::after {
  font-family: "Material Icons", Arial, sans-serif;
  font-size: 18px;
  line-height: 1;
  display: block;
}
:is(#product, .quickview, #cart) .bootstrap-touchspin .touchspin-up::after {
  content: "\E5CE";
}
:is(#product, .quickview, #cart) .bootstrap-touchspin .touchspin-down::after {
  content: "\E5CF";
}

/* Stock check sits on the same line as the label */
#product-availability {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  line-height: 1.2;
}
#product-availability .material-icons {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 18px !important;
  line-height: 18px !important;
  vertical-align: middle;
}

/* Product page — mockup layout, PrestaShop modules kept */
@media (min-width: 768px) {
  #product .nm-product-detail.row {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    column-gap: 72px;
    row-gap: 0;
    margin-left: 0;
    margin-right: 0;
  }
  #product .nm-product-detail > [class*="col-"] {
    width: auto;
    max-width: none;
    padding-left: 0;
    padding-right: 0;
    flex: none;
  }
}
#product #content {
  position: relative;
  max-width: 100% !important;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}
#product .product-container > [class*="col-"] {
  min-width: 0;
}
/* Classic QV vertical arrows conflict with Nelson horizontal thumb strip */
.quickview .arrows.js-arrows {
  display: none !important;
}
/* Classic QV uses horizontal flex (cover | vertical thumbs); Nelson strip is below cover */
.quickview .images-container {
  display: flex !important;
  flex-direction: column;
  align-items: stretch;
  min-height: 0;
  z-index: 1;
}
:is(#product, .quickview) .images-container {
  max-width: 100%;
  min-width: 0;
}
:is(#product, .quickview) .product-cover {
  background: var(--nm-image);
  padding: 20px;
  margin-bottom: 14px;
  width: 100%;
  box-sizing: border-box;
}
:is(#product, .quickview) .product-cover img,
:is(#product, .quickview) .product-cover .js-qv-product-cover {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
}
.quickview .nm-product-thumbs,
.quickview .nm-product-thumbs.scroll-box-arrows {
  width: 100%;
  max-width: 100%;
}
:is(#product, .quickview) .nm-product-thumbs,
:is(#product, .quickview) .nm-product-thumbs.scroll-box-arrows {
  display: flex !important;
  align-items: center;
  box-sizing: border-box;
  width: fit-content;
  max-width: 100%;
  gap: 2px;
  margin-top: 0;
  position: relative;
}
:is(#product, .quickview) .nm-product-thumbs .js-qv-mask,
#product #main .images-container .js-qv-mask,
#product #main .images-container .js-qv-mask.scroll,
.quickview .images-container .js-qv-mask,
.quickview .images-container .js-qv-mask.scroll {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  width: auto !important;
  max-width: 100%;
  margin: 0 !important;
  overflow: hidden;
}
:is(#product, .quickview) .js-qv-mask .js-qv-product-images {
  width: max-content;
  white-space: nowrap;
  margin: 0;
}
:is(#product, .quickview) .images-container .product-images > li.thumb-container .thumb {
  width: 84px;
  height: 84px;
  object-fit: contain;
  padding: 4px;
  margin-right: 12px;
  background: #fff;
}
:is(#product, .quickview) .product-images > li.thumb-container:last-child .thumb {
  margin-right: 0;
}
:is(#product, .quickview) .product-images > li.thumb-container .thumb.selected,
:is(#product, .quickview) .product-images > li.thumb-container .thumb:hover {
  border-color: var(--nm-dark) !important;
}
:is(#product, .quickview) .nm-product-thumbs > i.left,
:is(#product, .quickview) .nm-product-thumbs > i.right {
  display: none;
  position: static !important;
  top: auto !important;
  bottom: auto !important;
  left: auto !important;
  right: auto !important;
  flex: 0 0 32px;
  width: 32px;
  height: 84px;
  margin: 0;
  padding: 0;
  align-items: center;
  justify-content: center;
  line-height: 84px;
  font-size: 26px;
  cursor: pointer;
  color: var(--nm-ink);
  background: #f6f6f6;
}
:is(#product, .quickview) .nm-product-thumbs:has(.js-qv-product-images li:nth-child(2)) > i.left,
:is(#product, .quickview) .nm-product-thumbs:has(.js-qv-product-images li:nth-child(2)) > i.right,
:is(#product, .quickview) .nm-product-thumbs.scroll > i.left,
:is(#product, .quickview) .nm-product-thumbs.scroll > i.right,
:is(#product, .quickview) .nm-product-thumbs.nm-thumbs-nav > i.left,
:is(#product, .quickview) .nm-product-thumbs.nm-thumbs-nav > i.right {
  display: flex;
}
#product .nm-product-detail h1 {
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  line-height: 1.05;
  text-transform: uppercase;
  margin: 0 0 12px;
}
#product .nm-detail-subtitle {
  color: var(--nm-muted);
  margin: 0 0 24px;
}
#product .product-prices .current-price,
#product .product-prices .product-price,
#product .product-prices .current-price-value {
  color: var(--nm-ink) !important;
  font-size: 1.7rem;
  font-weight: 500;
}
#product .tax-shipping-delivery-label {
  font-size: 0.8rem;
  color: var(--nm-muted);
  margin-top: 5px;
}
#product .nm-product-description {
  margin: 0;
  padding: 22px 0;
  font-size: 0.95rem;
  color: #555;
}
#product #product-availability {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  margin: 18px 0 0;
  padding: 16px 0 8px;
  border-top: 1px solid #ddd;
  border-bottom: 0;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.4;
}
#product .nm-product-extra {
  margin-top: 28px;
}
#product .nm-product-extra .social-sharing {
  margin: 0 0 8px;
}
#product .product-additional-info .social-sharing {
  display: none !important;
}
#product .blockreassurance_product {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
#product .blockreassurance_product > div:not(.clearfix) {
  display: block;
  padding: 16px 18px;
  border: 1px solid #555;
  background: #f0f0f0;
  border-radius: 0;
}
#product .blockreassurance_product .item-product {
  display: none !important;
}
#product .blockreassurance_product .block-title {
  display: block;
  margin: 0 0 8px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--nm-ink);
}
#product .blockreassurance_product p {
  margin: 0;
  color: #555;
  font-size: 0.875rem;
  line-height: 1.55;
}

/* PayPal Express + BNPL on PDP: hooks inject inside .product-quantity (flex).
   Force a shared row at ~45% each; messaging/stripe take full width first. */
#product .product-quantity {
  flex-wrap: wrap;
  align-items: flex-start;
}
#product .product-quantity > [paypal-messaging-banner],
#product .product-quantity > div[style*="padding"],
#product .product-quantity > #stripe-express-checkout-element,
#product .product-quantity > #stripe-error-message,
#product .product-quantity > #payment-method-messaging-element {
  flex: 0 0 100%;
  width: 100%;
  max-width: 100%;
}
#product .product-quantity > .nm-paypal-btn,
#product .nm-paypal-btn {
  display: block !important;
  float: none !important;
  clear: none !important;
  flex: 0 0 45%;
  width: 45% !important;
  max-width: 45% !important;
  margin: 12px 0 0 !important;
  box-sizing: border-box;
  min-width: 0;
}
#product .product-quantity > [data-container-express-checkout],
#product .product-quantity > .nm-paypal-btn:not(.nm-paypal-bnpl) {
  margin-right: 5% !important;
}
#product .product-quantity > .nm-paypal-bnpl,
#product .nm-paypal-bnpl {
  margin-right: 0 !important;
}
#product .nm-paypal-btn [paypal-button-container],
#product .nm-paypal-btn [paypal-bnpl-button-container] {
  width: 100% !important;
  max-width: 100% !important;
  display: block !important;
}
#product .nm-paypal-btn [paypal-button-container] > div,
#product .nm-paypal-btn [paypal-bnpl-button-container] > div {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
}
#product .nm-paypal-btn iframe {
  max-width: 100% !important;
}
#product .product-actions > .clearfix,
#product .product-quantity > .clearfix {
  display: none;
}
@media (max-width: 767px) {
  #product .product-quantity > .nm-paypal-btn,
  #product .nm-paypal-btn {
    flex: 0 0 100%;
    width: 100% !important;
    max-width: 100% !important;
    margin: 10px 0 0 !important;
  }
  #product .product-quantity > [data-container-express-checkout],
  #product .product-quantity > .nm-paypal-btn:not(.nm-paypal-bnpl) {
    margin-right: 0 !important;
  }
}

#product .nm-accordion {
  margin-top: 20px;
  border-top: 1px solid #ddd;
}
#product .nm-accordion details {
  border-bottom: 1px solid #ddd;
  padding: 18px 0;
}
#product .nm-accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  font-weight: 500;
  list-style: none;
}
#product .nm-accordion summary::-webkit-details-marker,
#product .nm-accordion summary::marker {
  display: none;
  content: "";
}
#product .nm-accordion summary::after {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin-right: 4px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}
#product .nm-accordion details[open] summary::after {
  transform: rotate(-135deg);
  margin-top: 4px;
}
#product .nm-accordion details p,
#product .nm-accordion .product-description,
#product .nm-accordion .product-features,
#product .nm-accordion .js-product-details,
#product .nm-accordion .nm-product-attachments,
#product .nm-accordion details[open] > *:not(summary) {
  padding-top: 20px;
  margin-top: 4px;
  color: #666;
}
#product .nm-accordion .tab-pane,
#product .nm-accordion .js-product-details {
  display: block !important;
  opacity: 1 !important;
}

/* Attachment downloads: full-width black CTAs */
#product .nm-attachment {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 0 16px;
}
#product .nm-attachment:last-child {
  margin-bottom: 0;
}
#product .nm-attachment-desc {
  margin: 0;
  padding: 0;
  color: #888;
  font-size: 0.875rem;
  line-height: 1.4;
}
#product .nm-attachment-cta {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 14px 18px;
  background: #111;
  color: #fff !important;
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1.3;
  text-align: left;
  text-decoration: none !important;
  border: 0;
  border-radius: 0;
}
#product .nm-attachment-cta:hover,
#product .nm-attachment-cta:focus {
  background: #000;
  color: #fff !important;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
}

/* -------------------------------------------------------------------------- */
/* Listing (not home): filters like the mockup, modules kept                 */
/* -------------------------------------------------------------------------- */

/* Listing filters sit beside the products. Classic uses floats, so the row must become flex. */
@media (min-width: 992px) {
  #category #wrapper > .container > .row,
  #search #wrapper > .container > .row,
  #prices-drop #wrapper > .container > .row,
  #new-products #wrapper > .container > .row,
  #best-sales #wrapper > .container > .row,
  #manufacturer #wrapper > .container > .row,
  #supplier #wrapper > .container > .row {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
  }
  #category #wrapper > .container > .row::before,
  #category #wrapper > .container > .row::after,
  #search #wrapper > .container > .row::before,
  #search #wrapper > .container > .row::after,
  #prices-drop #wrapper > .container > .row::before,
  #prices-drop #wrapper > .container > .row::after,
  #new-products #wrapper > .container > .row::before,
  #new-products #wrapper > .container > .row::after,
  #best-sales #wrapper > .container > .row::before,
  #best-sales #wrapper > .container > .row::after,
  #manufacturer #wrapper > .container > .row::before,
  #manufacturer #wrapper > .container > .row::after,
  #supplier #wrapper > .container > .row::before,
  #supplier #wrapper > .container > .row::after {
    display: none;
    content: none;
  }
  #category #left-column,
  #search #left-column,
  #prices-drop #left-column,
  #new-products #left-column,
  #best-sales #left-column,
  #manufacturer #left-column,
  #supplier #left-column {
    float: none;
    flex: 0 0 230px;
    width: 230px;
    max-width: 230px;
  }
  #category #content-wrapper,
  #search #content-wrapper,
  #prices-drop #content-wrapper,
  #new-products #content-wrapper,
  #best-sales #content-wrapper,
  #manufacturer #content-wrapper,
  #supplier #content-wrapper {
    float: none;
    flex: 1 1 auto;
    width: auto;
    max-width: none;
    min-width: 0;
  }
}

/* Listing (category + new products): grey wrapper, white aside + title. */
body#category,
body#new-products {
  background: #f6f6f6;
}

body#category #wrapper,
body#new-products #wrapper {
  background: #f6f6f6 !important;
}

body#category #content-wrapper,
body#new-products #content-wrapper,
body#category #main,
body#new-products #main {
  background: transparent;
}

body#category .breadcrumb,
body#new-products .breadcrumb {
  background: transparent;
  padding-top: var(--nm-section);
  padding-bottom: 20px;
  margin-bottom: 0;
}

body#category #wrapper > .container > .row,
body#new-products #wrapper > .container > .row {
  background: transparent;
  box-shadow: none;
  padding-top: 0;
  padding-bottom: var(--nm-section);
}

body#category #left-column,
body#new-products #left-column {
  background: #fff;
  padding: 15px;
}

/* Mobile: left column is empty chrome (filters live in offcanvas) → white bar */
@media (max-width: 991px) {
  body#category #left-column,
  body#new-products #left-column,
  body#prices-drop #left-column,
  body#best-sales #left-column,
  body#search #left-column {
    display: none !important;
  }
}

body#category #js-product-list-header,
body#new-products #js-product-list-header {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 0 16px !important;
  min-height: 0 !important;
}

body#category #js-product-list-header .block-category,
body#category .block-category.card,
body#category .block-category.card-block {
  background: #fff !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  padding: 18px 20px !important;
  margin: 0 !important;
  min-height: 0 !important;
  border-radius: 0 !important;
}

body#category #js-product-list-header .block-category .h1,
body#category .block-category .h1 {
  margin: 0 0 10px;
  padding: 0;
}

body#category .block-category #category-description,
body#category .block-category #category-description p {
  margin: 0;
  padding: 0;
}

/* Kill thin white chrome above the category card */
body#category #js-product-list-header::before,
body#category #js-product-list-header::after,
body#category #content-wrapper > .card:empty,
body#category #main > .card:empty,
body#category #notifications:empty {
  display: none !important;
  content: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

@media (max-width: 767px) {
  body#category .breadcrumb,
  body#new-products .breadcrumb {
    padding-top: 16px;
    padding-bottom: 12px;
    background: transparent !important;
    border: 0 !important;
    min-height: 0 !important;
  }
  body#category #wrapper > .container,
  body#category #content-wrapper,
  body#category #main {
    background: transparent !important;
  }
  body#category #js-product-list-header {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
  body#category #js-product-list-header .block-category,
  body#category .block-category.card-block {
    padding: 16px 18px !important;
    border: 0 !important;
  }
}

body#new-products #js-product-list-header {
  background: #fff !important;
  padding: 16px 20px !important;
  margin-bottom: 16px;
}

body#category #search_filters_wrapper {
  background: transparent !important;
  padding: 0;
}

#search #search_filters_wrapper {
  background: #fff;
  border: 0;
  box-shadow: none;
  padding: 20px 18px 12px;
}
body.page-category #search_filters,
#search #search_filters {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

body.page-category #search_filters > .h6,
body.page-category #search_filters > p.h6,
#search #search_filters > .h6,
#search #search_filters > p.h6 {
  margin: 0 0 4px;
  font-family: var(--nm-font-display);
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--nm-ink);
}

body.page-category #search_filters .facet,
#search #search_filters .facet {
  margin: 18px 0 0;
  padding: 18px 0 0;
  border: 0;
  border-top: 1px solid var(--nm-line);
  background: transparent;
  box-shadow: none;
}

body.page-category #search_filters .facet-title,
#search #search_filters .facet-title {
  margin-bottom: 12px;
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: none;
  color: var(--nm-ink);
}

body.page-category #search_filters .facet-label,
#search #search_filters .facet-label {
  margin-bottom: 10px;
  font-size: 0.875rem;
  color: var(--nm-muted);
}

body.page-category #search_filters .custom-checkbox input,
#search #search_filters .custom-checkbox input {
  accent-color: var(--nm-dark);
}

body.page-category .products-selection,
body#new-products .products-selection,
#search .products-selection {
  margin-left: 0 !important;
  margin-right: 0 !important;
  margin-bottom: 18px;
  padding-bottom: 12px;
  width: 100%;
  border-bottom: 1px solid var(--nm-line);
}

body.page-category #js-product-list .products,
body#new-products #js-product-list .products,
#search #js-product-list .products {
  margin-top: 8px;
}

/* Offers / best-sellers: 60px air (new-products uses the grey listing chrome above) */
#prices-drop .breadcrumb,
#best-sales .breadcrumb {
  background: transparent;
  padding-top: var(--nm-section);
  padding-bottom: 20px;
  margin-bottom: 0;
}

#prices-drop #wrapper > .container > .row,
#best-sales #wrapper > .container > .row {
  padding-bottom: var(--nm-section);
}

/* Empty listing: left-aligned copy, no second search field */
#js-product-list,
#js-product-list .page-not-found,
#content.page-not-found,
section.page-not-found {
  text-align: left !important;
}

#content.page-not-found,
section.page-not-found {
  margin: 0 !important;
  padding: 0 !important;
  max-width: 36em;
  width: 100%;
}

.page-not-found h4 {
  margin: 0 0 8px;
  font-family: var(--nm-font-display);
  font-weight: 400;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--nm-ink);
}

.page-not-found p {
  margin: 0;
  color: var(--nm-muted);
  font-size: 0.875rem;
  line-height: 1.55;
}

.page-not-found #search_widget,
.page-not-found .search-widget {
  display: none !important;
}

/* -------------------------------------------------------------------------- */
/* Cart: real PrestaShop cart, quieter chrome                                 */
/* -------------------------------------------------------------------------- */

body#cart .breadcrumb {
  background: transparent;
  padding-top: var(--nm-section);
  padding-bottom: 20px;
  margin-bottom: 0;
}

body#cart .breadcrumb[data-depth="1"] {
  display: none;
}

body#cart #main {
  padding-top: var(--nm-section);
  padding-bottom: var(--nm-section);
}

#cart h1 {
  margin-bottom: 8px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
  text-transform: uppercase;
}

#cart .nm-cart-intro {
  margin: 0;
  color: var(--nm-muted);
  font-size: 0.875rem;
}

#cart .cart-container,
#cart .cart-summary {
  border: 1px solid var(--nm-line);
  border-radius: 0;
  box-shadow: none;
  background: #fff;
}

#cart .cart-container > .card-block {
  padding: 8px 8px 0;
}

#cart .cart-item {
  padding: 18px 8px;
  border-bottom: 1px solid var(--nm-line);
  background: #fff;
}

#cart .product-line-grid {
  align-items: center;
}

#cart .qty {
  display: flex;
  align-items: center;
  min-width: 118px;
  width: auto;
  max-width: none;
  float: none;
}

#cart .qty .bootstrap-touchspin {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: stretch !important;
  float: none !important;
  width: auto !important;
  height: 40px !important;
  margin: 0;
  overflow: hidden;
  border: 1px solid #aaa !important;
  background: #fff;
}

#cart .qty .bootstrap-touchspin .input-group-btn-vertical {
  display: contents !important;
  width: auto !important;
  float: none !important;
}

#cart .qty .js-cart-line-product-quantity,
#cart .qty .bootstrap-touchspin input.form-control {
  width: 42px !important;
  height: 40px !important;
  padding: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  line-height: 40px !important;
  text-align: center;
  -moz-appearance: textfield;
  appearance: textfield;
}

#cart .qty .js-cart-line-product-quantity::-webkit-inner-spin-button,
#cart .qty .js-cart-line-product-quantity::-webkit-outer-spin-button,
#cart .qty .bootstrap-touchspin input::-webkit-inner-spin-button,
#cart .qty .bootstrap-touchspin input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  appearance: none;
  display: none;
  margin: 0;
}

#cart .qty .bootstrap-touchspin .btn-touchspin,
#cart .qty .bootstrap-touchspin .bootstrap-touchspin-up,
#cart .qty .bootstrap-touchspin .bootstrap-touchspin-down {
  position: static !important;
  flex: 0 0 34px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  float: none !important;
  width: 34px !important;
  height: 40px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #fff !important;
  box-shadow: none !important;
}

#cart .qty .bootstrap-touchspin .btn-touchspin i,
#cart .qty .bootstrap-touchspin .touchspin-up,
#cart .qty .bootstrap-touchspin .touchspin-down {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  display: block !important;
  width: 18px;
  height: 18px;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 18px !important;
  line-height: 18px !important;
  overflow: visible;
}

#cart .product-line-actions > .row,
#cart .product-line-actions > .row > [class*="col-"],
#cart .product-line-actions > .row > [class*="col-"] > .row {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  margin-left: 0;
  margin-right: 0;
}

#cart .product-line-actions [class*="col-"] {
  width: auto;
  max-width: none;
  flex: 0 0 auto;
  float: none;
}

#cart .product-price,
#cart .current-price,
#cart .product-line-info .price {
  color: var(--nm-ink) !important;
}

#cart .cart-grid-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

#cart .cart-summary {
  padding: 20px 22px 16px;
  border-top: 1px solid var(--nm-line);
}

#cart .cart-summary .card-block {
  padding: 0 0 8px;
}

#cart .cart-detailed-actions {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

#cart .cart-detailed-actions .btn {
  width: 100%;
  margin: 0 0 14px;
}

/* Cart PayPal: full width, equal gaps from checkout CTA */
#cart .cart-detailed-actions .nm-paypal-btn,
#cart .cart-detailed-actions [data-container-express-checkout],
#cart .cart-detailed-actions [data-container-bnpl] {
  display: block !important;
  float: none !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  justify-content: stretch !important;
}
#cart .cart-detailed-actions [data-container-express-checkout] {
  margin-top: 0 !important;
}
#cart .cart-detailed-actions [paypal-button-container],
#cart .cart-detailed-actions [paypal-bnpl-button-container],
#cart .cart-detailed-actions [paypal-button-container] > div,
#cart .cart-detailed-actions [paypal-bnpl-button-container] > div,
#cart .cart-detailed-actions iframe {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box;
}
#cart .cart-detailed-actions .clearfix {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Cart policies: same card look as PDP */
#cart .blockreassurance_product {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: transparent;
  border: 0;
}
#cart .blockreassurance_product .item-product {
  display: none !important;
}
#cart .blockreassurance_product > div:not(.clearfix) {
  display: block;
  padding: 16px 18px;
  border: 1px solid #555;
  background: #f0f0f0;
  border-radius: 0;
}
#cart .blockreassurance_product .block-title {
  display: block;
  margin: 0 0 8px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--nm-ink);
}
#cart .blockreassurance_product p {
  margin: 0;
  color: #555;
  font-size: 0.875rem;
  line-height: 1.55;
}

#cart .label.nm-has-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  min-height: 0;
  padding: 0;
  border: 0 !important;
  background: transparent !important;
  color: var(--nm-ink) !important;
  font-size: 0.875rem;
}

#cart .label.nm-has-arrow:hover {
  background: transparent !important;
  color: var(--nm-muted) !important;
}

@media (min-width: 992px) {
  #cart .cart-grid-right {
    position: sticky;
    top: 24px;
    align-self: flex-start;
  }
}

/* -------------------------------------------------------------------------- */
/* Checkout: same store chrome, one hairline per step, payment modules stay   */
/* UX: current step is the only open block; future steps are a quiet list.    */
/* -------------------------------------------------------------------------- */

body#checkout .breadcrumb {
  display: none;
}

body#checkout #wrapper > .container {
  padding-top: var(--nm-section);
  padding-bottom: var(--nm-section);
}

/* Funnel chrome: keep topbar + Accedi/cart, drop catalog and search */
body#checkout #header {
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
  border-bottom: 1px solid var(--nm-line);
  background: #fff;
}

body#checkout #header .header-nav {
  max-height: none;
  padding: 0;
  margin: 0;
  border: 0;
  box-shadow: none;
}

body#checkout #header .nm-nav-bar,
body#checkout .nm-search,
body#checkout .nm-mobile-search {
  display: none !important;
}

body#checkout .nm-header-main {
  grid-template-columns: auto 1fr;
}

body#checkout .nm-actions {
  justify-self: end;
}

/* Steps: kill Classic box + title borders (those stacked into double lines) */
body#checkout section.checkout-step {
  margin: 0;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0;
  box-shadow: none !important;
  background: transparent;
}

body#checkout section.checkout-step + section.checkout-step {
  border-top: 1px solid var(--nm-line) !important;
}

body#checkout section.checkout-step .step-title,
body#checkout section.checkout-step.-current .step-title,
body#checkout section.checkout-step.-reachable .step-title,
body#checkout section.checkout-step.-complete .step-title,
body#checkout section.checkout-step.-current + .checkout-step .step-title,
body#checkout section.checkout-step.-complete:first-of-type .step-title {
  margin: 0 !important;
  padding: 16px 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  background: transparent;
  font-family: var(--nm-font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

body#checkout section.checkout-step:not(.-current) .step-title {
  padding: 14px 0 !important;
}

body#checkout section.checkout-step .content {
  padding: 4px 0 24px !important;
  margin: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
}

body#checkout section.checkout-step hr,
body#checkout .separator,
body#checkout .cart-grid-body hr {
  display: none !important;
}

body#checkout .cart-grid-body .card,
body#checkout .js-address-form,
body#checkout .delivery-options,
body#checkout .payment-options {
  border: 0 !important;
  box-shadow: none !important;
  background: transparent;
}

body#checkout section.checkout-step .step-number {
  background: #fff;
  border: 1px solid var(--nm-line);
  color: var(--nm-muted);
}

body#checkout section.checkout-step.-current .step-title {
  color: var(--nm-ink);
}

body#checkout section.checkout-step.-current .step-number {
  background: var(--nm-dark);
  border-color: var(--nm-dark);
  color: #fff;
}

body#checkout section.checkout-step.-complete .step-title .done {
  color: var(--nm-dark);
}

body#checkout section.checkout-step.-unreachable .step-title {
  opacity: 0.45;
}

body#checkout section.checkout-step .step-edit {
  font-family: var(--nm-font-body);
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.8125rem;
}

body#checkout section.checkout-step .continue,
body#checkout section.checkout-step .form-footer {
  margin-top: 8px;
  padding-top: 8px;
  border: 0 !important;
}

/* Continua: left, wider, text vertically centered */
body#checkout #checkout-personal-information-step button.continue,
body#checkout section.checkout-step button.continue {
  float: none !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  min-height: 48px;
  margin: 16px 0 0;
  padding: 0 24px !important;
  line-height: 1.2 !important;
  text-align: center;
}

/* Checkout personal-info: PayPal stack before Continua */
body#checkout .nm-paypal-signup {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  margin: 20px 0 0;
}
body#checkout .nm-paypal-signup .nm-paypal-btn,
body#checkout .nm-paypal-signup [data-container-express-checkout],
body#checkout .nm-paypal-signup [data-container-bnpl] {
  display: block !important;
  float: none !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  justify-content: stretch !important;
}
body#checkout .nm-paypal-signup [paypal-button-container],
body#checkout .nm-paypal-signup [paypal-bnpl-button-container],
body#checkout .nm-paypal-signup [paypal-button-container] > div,
body#checkout .nm-paypal-signup [paypal-bnpl-button-container] > div,
body#checkout .nm-paypal-signup iframe {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
}

body#checkout .delivery-option {
  border: 0;
  border-bottom: 1px solid var(--nm-line);
  padding: 12px 0;
  margin: 0;
}

body#checkout .delivery-option:last-of-type {
  border-bottom: 0;
}

/* Payment methods: light blocks, sharp corners (photo 6 reference) */
body#checkout .payment-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
body#checkout .payment-options > div {
  margin: 0;
}
body#checkout .payment-option {
  display: flex !important;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  float: none !important;
  clear: both !important;
  width: 100%;
  margin: 0 !important;
  padding: 16px 18px !important;
  border: 1px solid var(--nm-line) !important;
  border-radius: 0 !important;
  background: #f0f0f0;
  box-sizing: border-box;
}
body#checkout .payment-option .custom-radio {
  float: none !important;
  margin: 0;
  flex: 0 0 auto;
}
body#checkout .payment-option label {
  float: none !important;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  flex: 1 1 auto;
  margin: 0;
  font-weight: 500;
  color: var(--nm-ink);
  text-align: left;
  cursor: pointer;
}
body#checkout .payment-option label img {
  max-height: 24px;
  width: auto;
}
/* Selected: keep light grey (never white-on-white) + stronger border */
body#checkout .payment-option:has(input:checked) {
  border-color: var(--nm-dark) !important;
  border-width: 2px !important;
  background: #e8e8e8;
}
body#checkout .additional-information {
  margin: 0 0 4px;
  padding: 16px 18px;
  border: 1px solid var(--nm-dark);
  border-radius: 0;
  background: #f0f0f0;
}
/* Empty module forms must NOT paint a grey "bar" under the selected option */
body#checkout .js-payment-option-form {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  min-height: 0 !important;
  box-shadow: none !important;
}
body#checkout .js-payment-option-form.ps-hidden {
  display: none !important;
}
/* Hide forms that only wrap a hidden submit (bank wire / similar) */
body#checkout .js-payment-option-form:not(.ps-hidden):has(button[style*="display:none"]):not(:has(iframe)):not(:has(.paypal-buttons)):not(:has(input:not([type="hidden"]))) {
  display: none !important;
}

/* Terms: same visible container language as payment options */
body#checkout #conditions-to-approve,
body#checkout .js-conditions-to-approve {
  margin: 20px 0;
  padding: 16px 18px;
  background: #f6f6f6;
  border: 1px solid var(--nm-line);
  border-radius: 0;
}
body#checkout #conditions-to-approve ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
body#checkout #conditions-to-approve li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
}
body#checkout #conditions-to-approve .condition-label,
body#checkout #conditions-to-approve .condition-label label {
  margin: 0;
  color: var(--nm-ink);
  font-size: 0.9375rem;
  line-height: 1.45;
}

/* Order review before pay */
body#checkout #order-summary-content {
  margin: 0 0 24px;
  padding: 20px 22px;
  background: #f6f6f6;
  border: 0;
  border-radius: 0;
}
body#checkout #order-summary-content .h4 {
  margin-top: 0;
}
body#checkout #order-summary-content .row:has(.summary-selected-carrier) {
  margin-top: 20px;
}
body#checkout #order-summary-content .summary-selected-carrier {
  margin-top: 8px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--nm-line);
  border-radius: 0;
}
body#checkout #order-summary-content .card {
  background: transparent;
  border: 0;
  box-shadow: none;
}

/* Summary: one outer frame, one line before the totals, nothing else */
#checkout #js-checkout-summary,
#checkout .cart-summary {
  padding: 20px 22px 16px;
  border: 1px solid var(--nm-line) !important;
  border-radius: 0;
  box-shadow: none !important;
  background: #fff;
}

#checkout #js-checkout-summary .card-block,
#checkout #js-checkout-summary .cart-summary-subtotals-container,
#checkout #js-checkout-summary .cart-summary-products,
#checkout #js-checkout-summary .cart-voucher {
  padding: 0;
  margin: 0;
  border: 0 !important;
  box-shadow: none;
}

#checkout #js-checkout-summary .cart-summary-totals {
  margin: 12px 0 0;
  padding: 12px 0 0;
  border-top: 1px solid var(--nm-line);
  border-bottom: 0;
}

#checkout .cart-summary-line {
  border: 0 !important;
  padding-top: 4px;
  padding-bottom: 4px;
}

#checkout .blockreassurance_product {
  margin-top: 12px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 0 !important;
  background: transparent;
}

#checkout .blockreassurance_product > div:not(.clearfix) {
  display: block;
  float: none;
  padding: 16px 18px;
  border: 1px solid #555 !important;
  background: #f0f0f0;
  border-radius: 0;
}

#checkout .blockreassurance_product .item-product {
  display: none !important;
}

#checkout .blockreassurance_product .block-title {
  display: block;
  margin: 0 0 8px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--nm-ink);
}

#checkout .blockreassurance_product p {
  margin: 0;
  color: #555;
  font-size: 0.875rem;
  line-height: 1.55;
}

#checkout .form-control {
  border-radius: 0;
  border-color: var(--nm-line);
  box-shadow: none;
}

#checkout .form-group {
  margin-bottom: 0.85rem;
}

#checkout .form-control-comment {
  color: var(--nm-muted);
  font-size: 0.75rem;
}

#checkout .nav-inline {
  margin-bottom: 12px;
}

#checkout .nav-inline .nav-link {
  color: var(--nm-ink);
  border: 0;
  padding-left: 0;
}

#checkout .nav-inline .nav-link.active {
  color: var(--nm-ink);
  font-weight: 500;
  border-bottom: 1px solid var(--nm-ink);
}

@media (min-width: 992px) {
  body#checkout .cart-grid-right {
    position: sticky;
    top: 24px;
    align-self: flex-start;
  }
}

/* -------------------------------------------------------------------------- */
/* Account, login, legal CMS                                                  */
/* -------------------------------------------------------------------------- */

#authentication .page-header,
#registration .page-header,
#password .page-header,
#identity .page-header {
  text-align: center;
}

#authentication .page-header h1,
#registration .page-header h1,
#my-account .page-header h1,
#identity .page-header h1,
#addresses .page-header h1,
#address .page-header h1,
#history .page-header h1,
#order-detail .page-header h1,
#order-slip .page-header h1,
#discount .page-header h1,
#cms .page-header h1,
#contact .page-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
  text-transform: uppercase;
}

#authentication .form-control,
#registration .form-control,
#identity .form-control,
#address .form-control,
#contact .form-control {
  border-radius: 0;
  border-color: var(--nm-line);
  min-height: 44px;
  box-shadow: none;
}

#my-account #content .links a {
  border: 1px solid var(--nm-line);
  border-radius: 0;
  color: var(--nm-ink);
}

#my-account #content .links a:hover {
  border-color: var(--nm-dark);
  color: var(--nm-ink);
}

/* -------------------------------------------------------------------------- */
/* Addresses (/indirizzi)                                                     */
/* -------------------------------------------------------------------------- */

.page-addresses .address-panel-wrap {
  margin-bottom: 0;
  padding-left: 0;
}

.page-addresses .address-panel {
  background: var(--nm-panel);
  padding: 1.25rem;
  margin-bottom: 0;
}

.page-addresses .address {
  background: transparent;
  margin-bottom: 0;
  color: var(--nm-ink);
}

.page-addresses .address .address-body {
  padding: 0;
}

.page-addresses .address .address-body address {
  min-height: 0;
}

.page-addresses .address .address-footer {
  padding: 0.75rem 0 0;
  margin-top: 0.75rem;
  border-top-color: var(--nm-line);
}

.page-addresses .addresses-footer {
  margin: var(--nm-section) 0 0;
}

.page-addresses .addresses-footer a.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  line-height: 1;
  text-decoration: none;
}

.page-addresses .addresses-footer a.btn .material-icons,
.page-addresses .addresses-footer a.btn span {
  margin: 0;
  line-height: 1;
  vertical-align: middle;
}

.page-addresses .addresses-footer a.btn .material-icons,
.page-addresses .addresses-footer a.btn .nm-arrow-diagonal {
  transform: none !important;
  transition: none !important;
}

/* -------------------------------------------------------------------------- */
/* GDPR personal data — align panels with page title                          */
/* -------------------------------------------------------------------------- */

body#module-psgdpr-gdpr .psgdpr-personal-data {
  margin: 0;
  padding: 0;
}

body#module-psgdpr-gdpr .psgdprinfo17 {
  margin-top: 0;
  margin-bottom: 1rem;
  margin-left: 0;
  margin-right: 0;
  padding: 1.25rem;
  background: var(--nm-panel);
}

body#module-psgdpr-gdpr .psgdprinfo17:last-child {
  margin-bottom: 0;
}

body#module-psgdpr-gdpr .psgdprgetdatabtn17 {
  float: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0.5rem 0.5rem 0 0;
}

body#module-psgdpr-gdpr #exportDataToCsv,
body#module-psgdpr-gdpr #exportDataToPdf {
  margin-left: 0;
  margin-right: 0.5rem;
}

#cms .page-content,
#contact .contact-form {
  color: var(--nm-ink);
}

/* CMS / account / auth / search / order pages: 60px air (#wrapper padding-top is globally 0) */
body#cms .breadcrumb,
body#sitemap .breadcrumb,
body#stores .breadcrumb,
body#authentication .breadcrumb,
body#registration .breadcrumb,
body#my-account .breadcrumb,
body#identity .breadcrumb,
body#address .breadcrumb,
body#addresses .breadcrumb,
body#history .breadcrumb,
body#order-slip .breadcrumb,
body#order-confirmation .breadcrumb,
body#order-detail .breadcrumb,
body#order-follow .breadcrumb,
body#discount .breadcrumb,
body#password .breadcrumb,
body#guest-tracking .breadcrumb,
body#search .breadcrumb,
body#module-blockwishlist-lists .breadcrumb,
body#module-blockwishlist-view .breadcrumb,
body#module-psgdpr-gdpr .breadcrumb,
body#module-ps_emailalerts-account .breadcrumb,
body#module-ets_blog-comments .breadcrumb,
body#ets_blog_page .breadcrumb {
  background: transparent;
  padding-top: var(--nm-section);
  padding-bottom: 20px;
  margin-bottom: 0;
}

body#cms #main,
body#sitemap #main,
body#authentication #main,
body#registration #main,
body#my-account #main,
body#identity #main,
body#address #main,
body#addresses #main,
body#history #main,
body#order-slip #main,
body#order-confirmation #main,
body#order-detail #main,
body#order-follow #main,
body#discount #main,
body#password #main,
body#guest-tracking #main,
body#search #main,
body#module-blockwishlist-lists #main,
body#module-blockwishlist-view #main,
body#module-psgdpr-gdpr #main,
body#module-ps_emailalerts-account #main,
body#module-ets_blog-comments #main {
  padding-bottom: var(--nm-section);
}

/* FX4-post: blog article pages — 60px air + full-width content (no sidebar) */
body#ets_blog_page .ets_blog_content {
  padding-bottom: var(--nm-section);
}

body#ets_blog_page #wrapper > .container {
  padding-bottom: var(--nm-section);
}

body#ets_blog_page .ets-blog-related-posts {
  margin-bottom: 0;
  padding-bottom: var(--nm-section);
}

body#ets_blog_page:has(.ets-blog-wrapper-detail) .ets_blog_content {
  display: block;
  width: 100%;
}

body#ets_blog_page:has(.ets-blog-wrapper-detail) .ets_blog_content > #left-column {
  display: none !important;
}

body#ets_blog_page:has(.ets-blog-wrapper-detail) .ets_blog_content > #content-wrapper {
  float: none;
  width: 100%;
  max-width: none;
  flex: 0 0 100%;
  padding-left: 0;
  padding-right: 0;
}

body#ets_blog_page .ets-blog-wrapper-detail {
  width: 100%;
  max-width: none;
}

body#ets_blog_page .ets-blog-wrapper-detail .page-heading {
  font-family: var(--nm-font-display);
  color: var(--nm-ink);
  font-weight: 500;
  margin: 0 0 20px;
}

body#ets_blog_page .ets-blog-wrapper-detail .post-details,
body#ets_blog_page .ets-blog-wrapper-detail .ets-blog-wrapper-content {
  color: var(--nm-muted);
  line-height: 1.65;
}

body#cms .page-header,
body#sitemap .page-header {
  margin-bottom: 24px;
}

body#cms .page-content.page-cms {
  background: #f6f6f6;
  padding: 32px 36px;
  border: 0;
  box-shadow: none;
}

body#cms .page-cms h2,
body#cms .page-cms h3,
body#cms .page-cms h4 {
  color: var(--nm-ink);
  font-weight: 500;
}

body#cms .page-cms p {
  color: var(--nm-muted);
}

/* FX3-A: Storia timeline (CMS id=4) — full-width panel + sticky showroom */
body#cms .page-cms-4.page-cms {
  max-width: none;
  width: 100%;
}
body#cms .page-cms-4 .nm-storia {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  column-gap: clamp(1.5rem, 3vw, 3rem);
  row-gap: 1.5rem;
  align-items: start;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
body#cms .page-cms-4 .nm-storia__photo,
body#cms .page-cms-4 .nm-storia > img {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  position: sticky;
  top: 7.5rem;
  align-self: start;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
body#cms .page-cms-4 .nm-storia__photo img,
body#cms .page-cms-4 .nm-storia > img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
body#cms .page-cms-4 .nm-storia__body {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  max-width: 42rem;
}
body#cms .page-cms-4 .nm-storia__body h2 {
  font-family: "Roboto Condensed", Arial, sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--nm-ink);
  margin: 2.25rem 0 0.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--nm-line);
}
body#cms .page-cms-4 .nm-storia__body h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
body#cms .page-cms-4 .nm-storia__body p {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--nm-muted);
}
body#cms .page-cms-4 .nm-storia__body p + p {
  margin-top: 0.75rem;
}
@media (max-width: 991px) {
  body#cms .page-cms-4 .nm-storia {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 38%);
  }
}
@media (max-width: 767px) {
  body#cms .page-cms-4 .nm-storia {
    display: flex;
    flex-direction: column;
  }
  body#cms .page-cms-4 .nm-storia__photo,
  body#cms .page-cms-4 .nm-storia > img {
    position: static;
    width: 100%;
    max-width: none;
  }
  body#cms .page-cms-4 .nm-storia__body {
    max-width: none;
  }
}

/* FX3-B: Stores / Showroom — large photo + text fills remaining width (D-FX-22/23) */
body#stores #main {
  background: #f6f6f6;
  padding: 28px 36px 36px;
  margin-bottom: var(--nm-section);
}

body#stores .page-header {
  margin-bottom: 28px;
}

body#stores .page-header h1 {
  font-family: "Roboto Condensed", Arial, sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--nm-ink);
}

body#stores .page-content.page-stores {
  width: 100% !important;
  max-width: none;
  margin: 0 !important;
  background: transparent;
  padding: 0;
  border: 0;
  box-shadow: none;
}

body#stores .store-item.card {
  background: transparent;
  border: 0;
  box-shadow: none;
  margin-bottom: 0;
}

body#stores .page-stores .store-item-container {
  display: grid;
  grid-template-columns: minmax(320px, 1.05fr) minmax(0, 1fr);
  column-gap: clamp(1.75rem, 3.5vw, 3rem);
  row-gap: 1.25rem;
  align-items: start;
  width: 100%;
  padding: 0;
  border: 0;
}

body#stores .store-picture {
  width: 100%;
  min-width: 0;
}

body#stores .store-picture picture,
body#stores .store-picture img {
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  display: block;
  object-fit: cover;
}

body#stores .store-details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-width: 0;
  padding-top: 0.15rem;
}

body#stores .store-description {
  border: 0;
  margin: 0;
  padding: 0;
}

body#stores .store-description .card-title {
  font-family: "Roboto Condensed", Arial, sans-serif;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--nm-ink);
  margin: 0 0 0.5rem;
}

body#stores .store-description address {
  margin: 0 0 0.85rem;
  font-style: normal;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--nm-muted);
}

/* Collapse toggle: button reset + same look as before (no standing underline) */
body#stores .store-about-link,
body#stores .store-about-link:visited {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: var(--nm-ink) !important;
  text-decoration: none !important;
  font-size: 0.9375rem;
  font-weight: 500;
  font-family: inherit;
  line-height: inherit;
  text-align: left;
}

body#stores .store-about-link strong {
  font-weight: 500;
  text-decoration: none;
}

body#stores .store-about-link:hover,
body#stores .store-about-link:focus {
  color: var(--nm-dark-hover, #222) !important;
  text-decoration: none !important;
}

body#stores .store-about-link:hover strong,
body#stores .store-about-link:focus strong {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

body#stores .store-about-link .material-icons {
  font-size: 1.05rem;
  line-height: 1;
  text-decoration: none !important;
}

body#stores .store-hours {
  margin: 0;
  padding: 1rem 0 0;
  border: 0;
  border-top: 1px solid var(--nm-line);
}

body#stores .store-hours table {
  margin: 0;
  border: 0;
  width: auto;
}

body#stores .store-hours th,
body#stores .store-hours td {
  padding: 0.15rem 0;
  vertical-align: baseline;
  border: 0;
  font-size: 0.9375rem;
  line-height: 1.4;
  color: var(--nm-ink);
}

body#stores .store-hours th {
  padding-right: 1.25rem;
  font-weight: 500;
  color: var(--nm-muted);
  white-space: nowrap;
}

body#stores .store-hours td ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

body#stores .page-stores .store-item-footer {
  display: block;
  width: 100%;
  margin-top: 0;
  padding-top: 1rem;
  border-top: 1px solid var(--nm-line);
}

/* Contact block under hours (same details column); stable URL anchor */
body#stores .store-contact {
  margin: 0;
  padding: 0;
  scroll-margin-top: 1.25rem;
}

body#stores .store-item-footer .card-block {
  padding: 0;
  color: var(--nm-muted);
  line-height: 1.65;
}

body#stores .store-item-footer ul.card-block {
  list-style: none;
  margin: 0;
  padding: 0;
}

body#stores .store-item-footer ul.card-block + .card-block,
body#stores .store-item-footer .card-block + ul.card-block {
  margin-top: 0.75rem;
}

body#stores .store-item-footer li {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--nm-ink);
}

body#stores .store-item-footer a,
body#stores .store-item-footer a:visited {
  color: var(--nm-ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

@media (max-width: 991px) {
  body#stores .page-stores .store-item-container {
    grid-template-columns: minmax(260px, 0.95fr) minmax(0, 1fr);
  }
}

@media (max-width: 767px) {
  body#stores #main {
    padding: 24px 20px;
  }

  body#stores .page-stores .store-item-container {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* FX client feedback: hide blog comments (ets_blog hardcodes allowComments=true; no BO switch).
 * Single post body id is ets_blog_page (not module-ets_blog-blog). */
body#ets_blog_page .ets-blog-wrapper-comment,
body#ets_blog_page .ets_comment_form_blog,
body#ets_blog_page .ets_blog-comments-list,
body#ets_blog_page .ets-blog-latest-toolbar-comments,
.ets_block_latest .ets-blog-latest-toolbar-comments {
  display: none !important;
}
body#cms .page-cms-7 .nm-downloads > p {
  margin: 0 0 1.25rem;
  max-width: 42rem;
  color: var(--nm-muted);
  line-height: 1.65;
}
body#cms .page-cms-7 .nm-download-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--nm-line);
  width: 100%;
}
body#cms .page-cms-7 .nm-download-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--nm-line);
}
body#cms .page-cms-7 .nm-download-list__name {
  flex: 1 1 auto;
  min-width: 0;
  color: var(--nm-ink);
  font-size: 1rem;
  line-height: 1.4;
}
body#cms .page-cms-7 .nm-download-list__btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.5rem 1.1rem;
  background: var(--nm-dark);
  color: #fff !important;
  text-decoration: none !important;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
body#cms .page-cms-7 .nm-download-list__btn:hover,
body#cms .page-cms-7 .nm-download-list__btn:focus {
  background: var(--nm-dark-hover, #222);
  color: #fff !important;
  text-decoration: none !important;
}
@media (max-width: 767px) {
  body#cms .page-cms-7 .nm-download-list li {
    flex-wrap: wrap;
  }
}

/* Account pages: wrapper padding-top loses to global #wrapper { padding-top: 0 } */
.page-customer-account #footer {
  margin-top: 16px;
}

#authentication #content,
#registration #content,
#password #content {
  width: 100%;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  padding: 36px 48px 28px;
}

@media (min-width: 768px) {
  #authentication .form-group.row .form-control-label,
  #registration .form-group.row .form-control-label,
  #password .form-group.row .form-control-label {
    flex: 0 0 200px;
    max-width: 200px;
    text-align: left;
  }

  #authentication .form-group.row .js-input-column,
  #registration .form-group.row .js-input-column,
  #password .form-group.row .js-input-column {
    flex: 1 1 auto;
    max-width: none;
  }
}

#authentication .form-control-comment:empty,
#registration .form-control-comment:empty,
#password .form-control-comment:empty {
  display: none;
}

#authentication #content .forgot-password,
#authentication #content .forgot-password a,
#authentication #content .no-account,
#authentication #content .no-account a,
#registration #content .no-account,
#registration #content .no-account a {
  display: block;
  text-align: center;
}

#registration .form-footer,
#identity .form-footer,
#address .form-footer {
  display: flex;
  justify-content: center;
  clear: both;
  float: none;
  text-align: center;
}

#registration .form-footer .form-control-submit,
#identity .form-footer .form-control-submit,
#address .form-footer .form-control-submit {
  float: none !important;
  min-width: 220px;
  padding-left: 48px;
  padding-right: 48px;
}

/* Contact: 60px air, form stacked left (Classic offset-3 indented the title) */
body#contact .breadcrumb {
  background: transparent;
  padding-top: var(--nm-section);
  padding-bottom: 20px;
  margin-bottom: 0;
}

body#contact #main {
  padding-bottom: var(--nm-section);
}

#contact #wrapper > .container > .row {
  align-items: flex-start;
}

#contact #content-wrapper,
#contact #left-column {
  padding-top: 0;
}

#contact #content.page-content,
#contact #content.card,
#contact #content.card-block {
  padding: 0 !important;
  margin: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
}

#contact .contact-rich h4,
#contact .contact-form h3 {
  margin-top: 0;
  margin-bottom: 16px;
  line-height: 1.3;
}

#contact .contact-form .form-group.row:first-child {
  margin-top: 0;
  margin-bottom: 16px;
}

#contact #left-column .contact-rich .block,
#contact .contact-rich .block {
  margin-bottom: 16px;
}

#contact .contact-form {
  max-width: 36rem;
  margin: 0;
  text-align: left;
}

#contact .contact-form .form-group.row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 6px;
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 16px;
}

#contact .contact-form .col-md-offset-3,
#contact .contact-form .offset-md-3,
#contact .contact-form .col-md-6,
#contact .contact-form .col-md-9 {
  float: none;
  width: 100%;
  max-width: 100%;
  flex: 1 1 100%;
  margin-left: 0 !important;
  padding-left: 0;
  padding-right: 0;
  text-align: left;
}

#contact .contact-form .form-control-label {
  display: inline;
  order: 1;
  flex: 0 0 auto;
  width: auto;
  max-width: none;
  margin-bottom: 6px;
}

#contact .contact-form .form-control-comment {
  display: inline;
  order: 2;
  flex: 0 0 auto;
  width: auto;
  max-width: none;
  margin: 0 0 6px;
  padding: 0;
  color: var(--nm-muted);
}

#contact .contact-form .col-md-6,
#contact .contact-form .col-md-9 {
  order: 3;
}

#contact .contact-form .form-footer,
#contact .contact-form .form-footer.text-sm-right {
  margin-top: 8px;
  padding-top: 0;
  text-align: left !important;
}

/* FX1-E: privacy consent link readable as clickable (global a = ink) */
.gdpr_consent a,
.psgdpr_consent_message a {
  color: var(--nm-muted) !important;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.gdpr_consent a:hover,
.psgdpr_consent_message a:hover {
  color: var(--nm-dark-hover) !important;
}

#contact input[type="file"] {
  max-width: 100%;
}

#contact .group-span-filestyle .btn,
#contact .bootstrap-filestyle .btn {
  background: var(--nm-dark) !important;
  border-color: var(--nm-dark) !important;
  color: #fff !important;
  border-radius: 0;
}

/* Product page: viewed + same-category grey band; accessories stay white */
body#product {
  overflow-x: clip;
}

body#product .breadcrumb {
  background: transparent;
  padding-top: 60px;
  padding-bottom: 20px;
  margin-bottom: 0;
}

body#product footer.page-footer {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  height: 0 !important;
  overflow: hidden;
}

#product .featured-products,
#product .product-accessories {
  margin-top: 48px;
  margin-bottom: 8px;
}

body#product #wrapper,
body#product #wrapper > .container,
body#product #content-wrapper,
body#product #main {
  overflow: visible;
}

#product .featured-products {
  position: relative;
  margin: 0 !important;
  padding: var(--nm-section) 0 24px;
  overflow: visible;
  background: #f6f6f6;
}

#product .featured-products + .featured-products {
  padding-top: 24px;
  padding-bottom: var(--nm-section);
}

#product .featured-products::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  max-width: 100vw;
  transform: translateX(-50%);
  background: #f6f6f6;
  z-index: 0;
  pointer-events: none;
}

#product .featured-products > * {
  position: relative;
  z-index: 1;
}

#product .featured-products > h2,
#product .product-accessories > .h5,
#product .product-accessories > h2,
#product #main > section > h2 {
  margin: 0 0 28px;
}
#product .featured-products .products,
#product .product-accessories .products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 20px;
  width: 100%;
  margin: 0;
}
#product .featured-products .js-product,
#product .product-accessories .js-product {
  width: auto;
  max-width: none;
  padding: 0;
  margin: 0;
}
@media (max-width: 1100px) {
  #product .featured-products .products,
  #product .product-accessories .products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* -------------------------------------------------------------------------- */
/* S1 home tweaks: footer logo, legal size, WhatsApp not floating, leftovers  */
/* -------------------------------------------------------------------------- */

#footer .nm-footer-logo {
  margin: 0 0 18px;
}

#footer .nm-footer-logo a {
  display: inline-block;
  line-height: 0;
}

#footer .nm-footer-logo img,
#footer .nm-footer-store .logo {
  filter: none;
  max-height: 40px;
  width: auto;
  background: transparent;
}

#footer .blockwishlist,
#footer .wishlist,
.ets_wa_whatsapp_block .ets_wa_title {
  display: none !important;
}

.ets_wa_whatsapp_block[data-nm-wa="1"] {
  position: static !important;
  right: auto !important;
  left: auto !important;
  bottom: auto !important;
  z-index: auto !important;
  margin: 0 !important;
}

.product-miniature .highlighted-informations .variant-links {
  display: none !important;
}

.product-miniature .thumbnail-container:hover .product-description::after,
.product-miniature .thumbnail-container:focus .product-description::after {
  display: none !important;
  content: none !important;
}

a.quick-view:hover {
  color: #fff !important;
}

/* -------------------------------------------------------------------------- */
/* FX4 — home blog (ets_blog displayHome): 2 cards, Nelson tokens (D-FX-27/28/29) */
/* -------------------------------------------------------------------------- */

#index .ets_block_latest.page_home.nm-blog-home {
  clear: both;
  width: 100%;
  margin: 0 0 var(--nm-section);
  padding: var(--nm-section) 0;
  background: var(--nm-white);
  border: 0;
}

#index .ets_block_latest.page_home.nm-blog-home .container {
  max-width: calc(var(--nm-wrap) + 2 * var(--nm-gutter));
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--nm-gutter);
  padding-right: var(--nm-gutter);
}

#index .ets_block_latest.page_home.nm-blog-home .title_blog {
  font-family: var(--nm-font-display);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--nm-ink);
  margin: 0 0 28px;
  text-align: center;
}

#index .ets_block_latest.page_home.nm-blog-home .block_content.row {
  margin: 0;
}

#index .nm-blog-home-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 24px;
  list-style: none;
  float: none;
  width: 100%;
  margin: 0;
  padding: 0;
}

#index .nm-blog-home-item {
  float: none;
  width: auto;
  max-width: none;
  padding: 0 0 20px;
  margin: 0;
  background: var(--nm-soft);
}

#index .nm-blog-home-item .ets_item_img {
  float: none;
  display: block;
  width: 100%;
  margin: 0 0 16px;
  background: var(--nm-image);
}

#index .nm-blog-home-item .ets_item_img:before {
  padding-top: 66.666%;
}

#index .nm-blog-home-item .ets-blog-latest-post-content {
  float: none;
  width: 100%;
  padding: 0 20px;
}

#index .nm-blog-home-item .ets_title_block {
  float: none;
  display: block;
  font-family: var(--nm-font-display);
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.35;
  text-transform: none;
  color: var(--nm-ink);
  margin: 0 0 8px;
  padding: 0;
}

#index .nm-blog-home-item .ets_title_block:hover,
#index .nm-blog-home-item .ets_title_block:focus {
  color: var(--nm-muted);
}

#index .nm-blog-home-date {
  display: block;
  float: none;
  margin: 0 0 10px;
  font-size: 0.8125rem;
  color: var(--nm-muted);
}

#index .nm-blog-home-item .blog_description {
  color: var(--nm-muted);
  font-size: 0.9375rem;
  line-height: 1.5;
  margin: 0 0 14px;
}

#index .nm-blog-home-item .blog_description p {
  margin: 0;
}

#index .nm-blog-home-item .read_more {
  font-style: normal;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--nm-dark);
  border-bottom: 1px solid var(--nm-dark);
  padding-bottom: 2px;
  margin-top: 0;
}

#index .nm-blog-home-item .read_more:hover,
#index .nm-blog-home-item .read_more:focus {
  color: var(--nm-dark-hover);
  border-bottom-color: var(--nm-dark-hover);
}

#index .nm-blog-home-item .ets-blog-latest-toolbar {
  display: none;
}

#index .ets_block_latest.page_home.nm-blog-home .owl-controls,
#index .ets_block_latest.page_home.nm-blog-home .owl-nav,
#index .ets_block_latest.page_home.nm-blog-home .owl-dots {
  display: none !important;
}

/* Kill ETS cyan accents on home block */
#index .ets_block_latest.page_home a,
#index .ets_block_latest.page_home .title_blog {
  color: inherit;
}

@media (max-width: 767px) {
  #index .nm-blog-home-list {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  #index .ets_block_latest.page_home.nm-blog-home {
    padding: 40px 0;
  }
}
