/*
	Theme Name:   Savoy Child
	Theme URI:    http://themeforest.net/item/savoy-minimalist-ajax-woocommerce-theme/12537825
	Description:  Savoy child theme
	Author:       NordicMade
	Author URI:   http://www.nordicmade.com
	Template:     savoy
	Version:      1.0
*/

/* Child theme CSS
--------------------------------------------------------------- */

/* Header: Montigo-inspired navigation shell
--------------------------------------------------------------- */

:root {
  --nm-brand-orange: #c6943b;
  --nm-brand-gold: #c6943b;
  --nm-brand-brown: #8a5a2b;
  --nm-brand-navy: #132a4f;
  --nm-brand-blue: #132a4f;
  --nm-brand-white: #fff;
  --nm-brand-cream: #f7f3e8;
  --nm-header-surface: #f7f3e8;
}

/* Editable Contact page */
.nm-contact-editorial {
  width: min(1320px, calc(100% - 80px));
  margin: 0 auto;
  padding: clamp(75px, 8vw, 130px) 0 clamp(90px, 10vw, 150px);
  color: #132a4f;
}

.nm-contact-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr);
  align-items: end;
  gap: 60px;
  padding-bottom: clamp(70px, 8vw, 120px);
}

.nm-contact-hero > p:first-child,
.nm-contact-form-panel > p:first-child {
  grid-column: 1 / -1;
  margin: 0 0 18px;
  color: #3159aa;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
}

.nm-contact-hero h1 {
  margin: 0;
  color: #132a4f;
  font-size: clamp(58px, 7.3vw, 112px);
  font-weight: 700;
  letter-spacing: -.065em;
  line-height: .9;
}

.nm-contact-hero > p:last-child {
  max-width: 500px;
  margin: 0 0 8px;
  color: #52698f;
  font-size: 18px;
  line-height: 1.7;
}

.nm-contact-layout {
  display: grid;
  grid-template-columns: minmax(300px, .72fr) minmax(0, 1.28fr);
  overflow: hidden;
  border: 1px solid #dbe2ef;
  border-radius: 30px;
  background: #fff;
}

.nm-contact-info {
  padding: clamp(34px, 5vw, 68px);
  background: #132a4f;
  color: #fff;
}

.nm-contact-info > div {
  padding: 34px 0;
  border-bottom: 1px solid rgba(255,255,255,.17);
}

.nm-contact-info > div:first-child { padding-top: 0; }
.nm-contact-info > div:last-child { padding-bottom: 0; border-bottom: 0; }

.nm-contact-info span {
  display: block;
  margin-bottom: 18px;
  color: #f0ab31;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
}

.nm-contact-info h2 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 24px;
}

.nm-contact-info p {
  margin: 0 0 13px;
  color: rgba(255,255,255,.72);
  line-height: 1.65;
}

.nm-contact-info a {
  color: #fff;
  font-weight: 700;
  border-bottom: 1px solid rgba(255,255,255,.4);
}

.nm-contact-form-panel {
  padding: clamp(38px, 6vw, 82px);
  background: #f5f7fc;
}

.nm-contact-form-panel h2 {
  margin: 0 0 12px;
  color: #132a4f;
  font-size: clamp(36px, 4vw, 58px);
  letter-spacing: -.045em;
  line-height: 1;
}

.nm-contact-form-panel > p:nth-child(3) {
  margin-bottom: 38px;
  color: #647797;
}

.nm-contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.nm-contact-form label {
  display: block;
  margin-bottom: 20px;
  color: #132a4f;
  font-size: 13px;
  font-weight: 700;
}

.nm-contact-form label > span { color: #e05c45; }
.nm-contact-form label small { color: #7d8ca7; font-weight: 400; }

.nm-contact-form input[type=text],
.nm-contact-form input[type=email],
.nm-contact-form select,
.nm-contact-form textarea {
  width: 100%;
  margin-top: 8px;
  padding: 14px 16px;
  border: 1px solid #d4ddeb;
  border-radius: 12px;
  background: #fff;
  color: #132a4f;
  font: inherit;
  font-weight: 400;
  outline: 0;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.nm-contact-form input[type=text],
.nm-contact-form input[type=email],
.nm-contact-form select { height: 50px; }

.nm-contact-form textarea { min-height: 145px; resize: vertical; }

.nm-contact-form input:focus,
.nm-contact-form select:focus,
.nm-contact-form textarea:focus {
  border-color: #3159aa;
  box-shadow: 0 0 0 3px rgba(49,89,170,.12);
}

.nm-contact-form .nm-contact-form__consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #687a98;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
}

.nm-contact-form__consent input { margin-top: 3px; accent-color: #132a4f; }

.nm-contact-form button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-width: 190px;
  min-height: 52px;
  padding: 0 21px;
  border: 0;
  border-radius: 999px;
  background: #132a4f;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.nm-contact-form__website {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.nm-contact-alert {
  margin-bottom: 24px;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.55;
}

.nm-contact-alert.is-success { background: #dff2e7; color: #17633b; }
.nm-contact-alert.is-error { background: #fde6e1; color: #9d3425; }

@media (max-width: 900px) {
  .nm-contact-editorial { width: calc(100% - 36px); }
  .nm-contact-hero { grid-template-columns: 1fr; gap: 25px; }
  .nm-contact-layout { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .nm-contact-editorial { width: calc(100% - 24px); padding-top: 58px; }
  .nm-contact-hero h1 { font-size: 52px; }
  .nm-contact-form__row { grid-template-columns: 1fr; gap: 0; }
  .nm-contact-info, .nm-contact-form-panel { padding: 30px 22px; }
}

/* Site-wide brand foundations. */
body,
.nm-page-wrap,
.nm-page-wrap-inner {
  background-color: var(--nm-brand-white);
  color: var(--nm-brand-navy);
}
::selection {
  background: var(--nm-brand-gold);
  color: var(--nm-brand-navy);
}
a:hover,
a:focus-visible {
  color: var(--nm-brand-brown);
}
button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  border-color: var(--nm-brand-navy);
  background-color: var(--nm-brand-navy);
  color: var(--nm-brand-white);
}
button:hover,
button:focus-visible,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover,
.button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
  border-color: var(--nm-brand-gold);
  background-color: var(--nm-brand-gold);
  color: var(--nm-brand-navy);
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="search"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
  border-color: var(--nm-brand-gold);
}
.woocommerce .price,
.woocommerce-Price-amount,
.nm-shop-loop-price {
  color: var(--nm-brand-brown);
}
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  border-color: var(--nm-brand-gold);
  background-color: var(--nm-brand-cream);
  color: var(--nm-brand-navy);
}

/* Announcement bar: a light, compact pill above the main navigation. */
.nm-top-bar {
  width: calc(100% - 40px);
  max-width: 1400px;
  min-height: 36px;
  line-height: 35px;
  margin: 10px auto 0;
  padding-bottom: 0;
  border: 0;
  border-radius: 999px;
  background: var(--nm-header-surface) !important;
  overflow: hidden;
}
.nm-top-bar:before,
.nm-top-bar:after {
  position: absolute;
  top: 0;
  z-index: 2;
  width: 48px;
  height: 36px;
  color: var(--nm-brand-navy);
  font-size: 22px;
  font-weight: 300;
  line-height: 34px;
  text-align: center;
  pointer-events: none;
}
.nm-top-bar:before {
  content: "\2039";
  left: 10px;
}
.nm-top-bar:after {
  content: "\203A";
  right: 10px;
}
.nm-top-bar-text,
.nm-top-bar-text a {
  color: var(--nm-brand-navy) !important;
  font-size: 13px;
  font-weight: 600;
}
.nm-top-bar-text a:hover {
  color: var(--nm-brand-orange);
}
.nm-top-bar-cycles,
.nm-top-bar-cycles .cycle {
  height: 36px;
}
.nm-top-bar-right {
  display: none;
}

/* Main navigation: the navy rounded shell carries the menu and actions. */
.nm-header {
  background: transparent !important;
  padding-top: 10px;
  padding-bottom: 0;
}
.header-border-1 .nm-header {
  border-bottom: none;
}
.nm-header-inner {
  width: calc(100% - 40px);
  max-width: 1600px;
  margin: 0 auto;
  padding: 12px 30px;
  background: var(--nm-brand-navy);
  border-radius: 28px;
  box-shadow: none;
  transition:
    box-shadow 150ms linear,
    transform 150ms linear;
}
.header-on-scroll .nm-header-inner {
  box-shadow: 0 10px 30px rgba(19, 42, 79, 0.18);
}

/* Use the white asset in the dark header; nm_logo() remains unchanged for the footer. */
.nm-header .nm-logo {
  display: none !important;
}
.nm-header .nm-alt-logo {
  display: inline-block !important;
}
.nm-header .nm-header-logo img,
.nm-header .nm-header-logo svg {
  width: auto;
  max-width: 190px;
  height: 38px !important;
}
.nm-header-placeholder {
  height: 98px !important;
}

/* Menu: sit at the bottom of the 50px header row instead of the middle
   (parent theme uses "vertical-align: middle", which leaves empty space
   below the menu — that empty space is the gap between the header and
   the dropdown). This makes the <li> (the dropdown's position: relative
   anchor) reach all the way down to the header's bottom edge. */
.nm-header .nm-main-menu > ul,
.nm-header .nm-right-menu > ul {
  vertical-align: bottom !important;
}

/* Top-level navigation and action icons stay white on the navy shell. */
.nm-header .nm-menu > li > a,
.nm-header .nm-menu > li > a i,
.nm-header .nm-menu > li > a .count,
.nm-header .nm-menu > li > a .nm-menu-cart-title {
  color: #fff !important;
}
.nm-header .nm-menu > li > a {
  font-size: 14px;
  font-weight: 600;
}
.nm-header .nm-menu > li > a:hover,
.nm-header .nm-menu > li.current-menu-item > a {
  color: #fff !important;
  opacity: 0.82;
}

/* Menu: swipe-underline effect on top-level links (like shopmontigo.com) */
.nm-header .nm-menu > li > a {
  position: relative;
}
.nm-header .nm-menu > li > a:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 100%;
  height: 1px;
  background: var(--nm-brand-orange);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

/* Keep Savoy's hamburger readable against the dark mobile header. */
.nm-header .nm-menu-icon span {
  background: #fff !important;
}

/* Compact cart count badge, matching the rounded action language. */
.nm-header .nm-menu-cart .count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  margin-left: 3px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--nm-brand-orange);
  font-size: 10px;
  line-height: 18px;
}
.nm-header .nm-menu > li > a:hover:after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Desktop dropdowns and mega menus: spacious white panels below the navy shell. */
@media (min-width: 992px) {
  .nm-header-inner {
    padding-right: 22px;
    padding-left: 22px;
  }
  .nm-header-inner > .nm-row {
    max-width: none;
    padding-right: 0;
    padding-left: 0;
  }

  .nm-header .nm-menu > li > .sub-menu {
    top: 100%;
    left: -14px;
    min-width: 280px;
    margin: 0;
    padding: 14px 8px 16px;
    border: 1px solid rgba(19, 42, 79, 0.1);
    border-radius: 20px;
    background: #fff !important;
    box-shadow: 0 20px 50px rgba(19, 42, 79, 0.14);
    animation: nm-child-menu-in 180ms ease both;
  }

  /* Protect the final few pixels at the panel edge. */
  .nm-header .nm-menu > li > .sub-menu > .nm-sub-menu-bridge {
    display: block;
    position: absolute;
    right: 0;
    bottom: 100%;
    left: 0;
    z-index: 10011;
    height: 4px;
    background: transparent;
    pointer-events: auto;
  }

  /*
	 * Savoy vertically centres each menu item inside a taller header, leaving
	 * a real hover gap below the link even when the panel looks visually flush.
	 * Attach the bridge to the trigger itself so only that item's path is
	 * covered (a full-width panel bridge would block the other header links).
	 */
  .nm-header .nm-menu > li.menu-item-has-children > a:before {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 10012;
    width: 100%;
    height: 34px;
    background: transparent;
    pointer-events: auto;
  }

  /* Standard dropdown rows. */
  .nm-header .nm-menu > li:not(.megamenu) > .sub-menu > ul > li > a {
    margin: 1px 0;
    padding: 11px 16px;
    border-radius: 10px;
    color: var(--nm-brand-navy) !important;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.25;
    transition:
      color 160ms ease,
      background-color 160ms ease,
      transform 160ms ease;
  }
  .nm-header .nm-menu > li:not(.megamenu) > .sub-menu > ul > li > a:hover {
    color: var(--nm-brand-navy) !important;
    background: var(--nm-header-surface);
    transform: translateX(3px);
  }

  /* Nested standard dropdowns open as matching side cards. */
  .nm-header .nm-menu > li:not(.megamenu) .sub-menu .sub-menu {
    top: -15px;
    left: calc(100% + 9px);
    padding: 14px 8px 16px;
    border: 1px solid rgba(19, 42, 79, 0.1);
    border-radius: 16px;
    background: #fff !important;
    box-shadow: 0 18px 42px rgba(19, 42, 79, 0.12);
  }
  .nm-header .nm-menu .sub-menu li.menu-item-has-children > a:after {
    color: var(--nm-brand-navy);
  }

  /* Multi-column mega menu shell. */
  .nm-header .nm-menu .megamenu > .sub-menu {
    padding: 25px 12px 19px;
  }
  .nm-header .nm-menu .megamenu.col-2 > .sub-menu {
    width: min(620px, calc(100vw - 40px));
  }
  .nm-header .nm-menu .megamenu.col-3 > .sub-menu {
    width: min(840px, calc(100vw - 40px));
  }
  .nm-header .nm-menu .megamenu.col-4 > .sub-menu,
  .nm-header .nm-menu .megamenu.col-5 > .sub-menu,
  .nm-header .nm-menu .megamenu.col-6 > .sub-menu {
    width: min(1180px, calc(100vw - 40px));
  }
  .nm-header .nm-menu .megamenu > .sub-menu > ul > li {
    margin-bottom: 0;
    padding: 0 10px 10px;
  }
  .nm-header
    .nm-menu
    .megamenu
    > .sub-menu
    > ul
    > li:not(.nm-menu-item-has-image)
    > a {
    padding: 5px 16px 11px;
    color: var(--nm-brand-navy) !important;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
  }
  .nm-header .nm-menu .megamenu .sub-menu .sub-menu {
    padding: 0;
    border: 0;
    background: transparent !important;
    box-shadow: none;
  }
  .nm-header .nm-menu .megamenu .sub-menu .sub-menu li a {
    margin: 1px 0;
    padding: 7px 16px;
    border-radius: 9px;
    color: color-mix(in srgb, var(--nm-brand-navy) 72%, #fff) !important;
    font-size: 13px;
    line-height: 1.35;
    transition:
      color 160ms ease,
      background-color 160ms ease;
  }
  .nm-header .nm-menu .megamenu .sub-menu .sub-menu li a:hover {
    color: var(--nm-brand-navy) !important;
    background: var(--nm-header-surface);
  }

  /* Full-width image mega menu: visual collection cards like Montigo. */
  .nm-header .nm-menu .megamenu.full > .sub-menu {
    left: 0;
    width: 100%;
    padding: 24px 22px 20px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
  }
  .nm-header .nm-menu .megamenu.full > .sub-menu > ul {
    display: flex;
    max-width: none;
    gap: 12px;
  }
  .nm-header
    .nm-menu
    .megamenu.full
    > .sub-menu
    > ul
    > li.nm-menu-item-has-image {
    flex: 1 1 0;
    width: auto;
    margin: 0;
    padding: 0;
    border-right: 0;
  }
  .nm-header
    .nm-menu
    .megamenu.full
    > .sub-menu
    > ul
    > li.nm-menu-item-has-image
    > a {
    padding: 8px;
    border-radius: 14px;
    color: var(--nm-brand-navy) !important;
    font-size: 13px;
    font-weight: 700;
    transition:
      background-color 160ms ease,
      transform 160ms ease;
  }
  .nm-header
    .nm-menu
    .megamenu.full
    > .sub-menu
    > ul
    > li.nm-menu-item-has-image
    > a:hover {
    background: var(--nm-header-surface);
    transform: translateY(-2px);
  }
  .nm-header .nm-menu .megamenu.full > .sub-menu > ul > li > a img {
    width: 100%;
    max-height: none;
    aspect-ratio: 4 / 3;
    margin: 0 0 12px;
    border-radius: 12px;
    object-fit: cover;
  }
  .nm-header .nm-menu .sub-menu li a .label.bubble {
    color: var(--nm-brand-navy) !important;
    background: var(--nm-header-surface);
  }
}

@keyframes nm-child-menu-in {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 991px) {
  .nm-top-bar {
    width: calc(100% - 30px);
    margin-top: 8px;
  }
  .nm-top-bar:before,
  .nm-top-bar:after {
    width: 32px;
  }
  .nm-top-bar-text,
  .nm-top-bar-text a {
    font-size: 12px;
  }
  .nm-header {
    padding-top: 8px;
  }
  .nm-header-inner {
    width: calc(100% - 30px);
    min-height: 62px;
    padding: 6px 16px;
    border-radius: 22px;
  }
  .nm-header .nm-header-logo img,
  .nm-header .nm-header-logo svg {
    max-width: 150px;
    height: 30px !important;
  }
  .nm-header-placeholder {
    height: 78px !important;
  }
  .nm-header .nm-menu > li > a {
    font-size: 15px;
  }
}

@media (max-width: 400px) {
  .nm-header-inner {
    padding-right: 12px;
    padding-left: 12px;
  }
  .nm-header .nm-header-logo img,
  .nm-header .nm-header-logo svg {
    max-width: 126px;
    height: 27px !important;
  }
}

/* Homepage: product category row, like shopmontigo.com
--------------------------------------------------------------- */

.nm-home-categories {
  padding: 10px 20px 10px;
}
.nm-home-categories-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 32px;
  overflow-x: auto;
  scrollbar-width: none;
}
.nm-home-categories-inner::-webkit-scrollbar {
  display: none;
}
.nm-home-category {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  width: 90px;
  padding-top: 10px;
}
.nm-home-category-image {
  position: relative;
  display: block;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--nm-brand-cream);
  border: 1px solid rgba(19, 42, 79, 0.1);
}
.nm-home-category-image img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}
/* Ring on hover: SVG stroke draws itself starting from the bottom, all the way around
   (an actual stroked circle — no gradient/mask seam issues, and the stroke-width
   below controls how thin the ring is) */
.nm-home-category-ring {
  position: absolute;
  inset: -5px;
  width: calc(100% + 10px);
  height: calc(100% + 10px);
  transform: rotate(90deg);
  pointer-events: none;
}
.nm-home-category-ring circle {
  fill: none;
  stroke: var(--nm-brand-orange);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-dasharray: 301.6; /* 2 * PI * r(48) */
  stroke-dashoffset: 301.6;
}
.nm-home-category:hover .nm-home-category-ring circle {
  animation: nm-home-category-ring-draw 0.9s ease forwards;
}
@keyframes nm-home-category-ring-draw {
  to {
    stroke-dashoffset: 0;
  }
}
.nm-home-category-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--nm-brand-navy);
  white-space: nowrap;
}

@media (max-width: 699px) {
  .nm-home-categories {
    padding-right: 0;
    padding-left: 0;
  }
  .nm-home-categories-inner {
    justify-content: flex-start;
    gap: 22px;
    padding-right: 20px;
    padding-left: 20px;
    scroll-padding-left: 20px;
  }
}

/* Homepage: Montigo-inspired campaign hero slider
--------------------------------------------------------------- */

.nm-home-hero {
  width: calc(100% - 40px);
  max-width: 1400px;
  margin: 22px auto 70px;
}
.nm-home-hero-slider {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: var(--nm-brand-navy);
  box-shadow: 0 18px 50px rgba(19, 42, 79, 0.08);
  touch-action: pan-y;
}
.nm-home-hero-slides {
  position: relative;
  aspect-ratio: 2.5 / 1;
}
.nm-home-hero-slide {
  position: absolute;
  inset: 0;
  z-index: 0;
  visibility: hidden;
  clip-path: inset(0 0 0 100%);
  transform: perspective(1400px) rotateY(8deg) scale(1.015);
  transform-origin: right center;
  transition:
    clip-path 1200ms cubic-bezier(0.77, 0, 0.18, 1),
    transform 1200ms cubic-bezier(0.77, 0, 0.18, 1),
    visibility 1200ms;
  will-change: clip-path, transform;
}
.nm-home-hero-slide.is-active {
  z-index: 2;
  visibility: visible;
  clip-path: inset(0 0 0 0);
  transform: perspective(1400px) rotateY(0deg) scale(1);
}
.nm-home-hero-slide.is-leaving {
  z-index: 1;
  visibility: visible;
  clip-path: inset(0 0 0 0);
  transform: none;
  transition: none;
}
.nm-home-hero-link {
  position: absolute;
  inset: 0;
  display: block;
  cursor: pointer;
}
.nm-home-hero-link::after {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 70px;
  background: linear-gradient(
    90deg,
    rgba(19, 42, 79, 0),
    rgba(19, 42, 79, 0.22),
    rgba(255, 255, 255, 0.18)
  );
  content: "";
  opacity: 0;
  pointer-events: none;
}
.nm-home-hero-slide.is-active .nm-home-hero-link::after {
  animation: nm-hero-page-edge 1200ms cubic-bezier(0.77, 0, 0.18, 1);
}
@keyframes nm-hero-page-edge {
  0% {
    left: 100%;
    opacity: 0.65;
    transform: translateX(-100%);
  }
  85% {
    opacity: 0.38;
  }
  100% {
    left: 0;
    opacity: 0;
    transform: translateX(-100%);
  }
}
.nm-home-hero-link:focus-visible {
  outline: 3px solid #fff;
  outline-offset: -6px;
}
.nm-home-hero-image,
.nm-home-hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.nm-home-hero-image {
  object-fit: cover;
  border-radius: 0;
}
.nm-home-hero-shade {
  background: linear-gradient(
    0deg,
    rgba(19, 42, 79, 0.52) 0%,
    rgba(19, 42, 79, 0.1) 48%,
    rgba(19, 42, 79, 0.08) 100%
  );
}
.nm-home-hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: min(76%, 980px);
  color: #fff;
  text-align: center;
  text-shadow: 0 3px 24px rgba(19, 42, 79, 0.38);
  transform: translate(-50%, -44%);
}
.nm-home-hero-slide.align-right .nm-home-hero-content {
  right: auto;
  left: 50%;
}
.nm-home-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin: 0 0 17px;
  padding: 6px 13px;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}
.nm-home-hero-title {
  max-width: 900px;
  margin: 0 auto;
  color: inherit;
  font-size: clamp(38px, 4.2vw, 68px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.045em;
}
.nm-home-hero-description {
  max-width: 620px;
  margin: 20px auto 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(14px, 1.15vw, 17px);
  line-height: 1.55;
}
.nm-home-hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 48px;
  margin-top: 28px;
  padding: 10px 22px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 999px;
  background: #fff;
  color: var(--nm-brand-navy);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  transition:
    color 180ms ease,
    background-color 180ms ease,
    transform 180ms ease;
}
.nm-home-hero-cta:hover,
.nm-home-hero-cta:focus-visible {
  background: var(--nm-brand-orange);
  color: #fff;
  transform: translateY(-2px);
}
.nm-home-hero-slide.theme-dark .nm-home-hero-shade {
  background: linear-gradient(
    0deg,
    rgba(247, 243, 232, 0.62) 0%,
    rgba(247, 243, 232, 0.14) 54%,
    rgba(247, 243, 232, 0.08) 100%
  );
}
.nm-home-hero-slide.theme-dark .nm-home-hero-content {
  color: var(--nm-brand-navy);
  text-shadow: 0 3px 24px rgba(255, 255, 255, 0.72);
}
.nm-home-hero-slide.theme-dark .nm-home-hero-description {
  color: rgba(19, 42, 79, 0.78);
}
.nm-home-hero-slide.theme-dark .nm-home-hero-eyebrow {
  border-color: rgba(19, 42, 79, 0.24);
  background: rgba(255, 255, 255, 0.62);
}
.nm-home-hero-slide.theme-dark .nm-home-hero-cta {
  border-color: var(--nm-brand-navy);
  background: var(--nm-brand-navy);
  color: #fff;
}
.nm-home-hero-slide.theme-dark .nm-home-hero-cta:hover,
.nm-home-hero-slide.theme-dark .nm-home-hero-cta:focus-visible {
  border-color: var(--nm-brand-orange);
  background: var(--nm-brand-orange);
}

/* Montigo-like vertical slide previews */
.nm-home-hero-thumbs {
  position: absolute;
  top: auto;
  right: 18px;
  bottom: 18px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 7px;
  transform: none;
}
.nm-home-hero-thumb {
  position: relative;
  width: 68px;
  height: 42px;
  padding: 2px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.18);
  opacity: 0.62;
  overflow: hidden;
  transition:
    opacity 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}
.nm-home-hero-thumb img {
  width: 100%;
  height: 100%;
  border-radius: 5px;
  object-fit: cover;
}
.nm-home-hero-thumb:hover,
.nm-home-hero-thumb:focus-visible,
.nm-home-hero-thumb.is-active {
  border-color: #fff;
  opacity: 1;
  transform: translateX(-3px);
}

@media (max-width: 991px) {
  .nm-home-hero {
    width: calc(100% - 30px);
    margin-top: 16px;
    margin-bottom: 50px;
  }
  .nm-home-hero-slides {
    aspect-ratio: 2.5 / 1;
  }
  .nm-home-hero-slide.position-community .nm-home-hero-image {
    object-position: 68% center;
  }
  .nm-home-hero-slide.position-collection .nm-home-hero-image {
    object-position: 32% center;
  }
  .nm-home-hero-slide.position-city .nm-home-hero-image {
    object-position: 31% center;
  }
  .nm-home-hero-shade,
  .nm-home-hero-slide.theme-dark .nm-home-hero-shade {
    background: linear-gradient(
      0deg,
      rgba(19, 42, 79, 0.94) 0%,
      rgba(19, 42, 79, 0.62) 34%,
      rgba(19, 42, 79, 0) 68%
    );
  }
  .nm-home-hero-slide.theme-dark .nm-home-hero-content,
  .nm-home-hero-slide.theme-dark .nm-home-hero-description {
    color: #fff;
  }
  .nm-home-hero-content,
  .nm-home-hero-slide.align-right .nm-home-hero-content {
    top: auto;
    right: 28px;
    bottom: 38px;
    left: 28px;
    width: auto;
    text-align: center;
    text-shadow: 0 3px 20px rgba(19, 42, 79, 0.46);
    transform: none;
  }
  .nm-home-hero-title {
    max-width: 600px;
    font-size: clamp(38px, 7vw, 58px);
  }
  .nm-home-hero-description {
    max-width: 540px;
  }
  .nm-home-hero-thumbs {
    top: auto;
    right: 14px;
    bottom: 12px;
    flex-direction: row;
    gap: 8px;
    transform: none;
  }
  .nm-home-hero-thumb {
    width: 26px;
    height: 4px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.48);
    overflow: visible;
  }
  .nm-home-hero-thumb img {
    display: none;
  }
  .nm-home-hero-thumb.is-active {
    width: 48px;
    background: #fff;
    transform: none;
  }
}

@media (max-width: 550px) {
  .nm-home-hero {
    margin-bottom: 40px;
  }
  .nm-home-hero-slider {
    border-radius: 18px;
  }
  .nm-home-hero-content,
  .nm-home-hero-slide.align-right .nm-home-hero-content {
    right: 20px;
    bottom: 32px;
    left: 20px;
  }
  .nm-home-hero-eyebrow {
    margin-bottom: 12px;
  }
  .nm-home-hero-title {
    font-size: clamp(34px, 10.5vw, 48px);
  }
  .nm-home-hero-description {
    display: none;
  }
  .nm-home-hero-cta {
    min-height: 44px;
    margin-top: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nm-home-hero-slide,
  .nm-home-hero-cta,
  .nm-home-hero-thumb {
    transition-duration: 1ms !important;
  }
  .nm-home-hero-link::after {
    animation-duration: 1ms !important;
  }
}

/* Homepage product customisation highlight
--------------------------------------------------------------- */

.nm-product-customizer {
  --nm-tumbler-color: #132a4f;
  --nm-tumbler-accent: #c6943b;
  width: calc(100% - 40px);
  max-width: 1600px;
  margin: 0 auto;
  padding: 74px clamp(38px, 5vw, 86px);
  border-radius: 32px;
  background: transparent;
  box-shadow: none;
  color: var(--nm-brand-navy);
  overflow: hidden;
}
.nm-product-customizer-grid {
  display: grid;
  grid-template-columns: minmax(230px, 0.9fr) minmax(380px, 1.55fr) minmax(
      260px,
      0.95fr
    );
  align-items: center;
  gap: clamp(30px, 4vw, 70px);
}
.nm-product-customizer-options {
  display: flex;
  flex-direction: column;
  gap: 50px;
}
.nm-product-customizer-option {
  --option-color: #132a4f;
  --option-accent: #c6943b;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 335px);
  min-height: 50px;
  padding: 10px 40px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--nm-brand-navy);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  transition:
    border-color 300ms ease,
    background-color 300ms ease,
    transform 300ms ease;
}
.nm-product-customizer-option::before,
.nm-product-customizer-option::after {
  position: absolute;
  inset: -1px;
  z-index: 1;
  border: 1px solid var(--option-accent);
  border-radius: inherit;
  content: "";
  pointer-events: none;
}
.nm-product-customizer-option::before {
  opacity: 0.88;
  -webkit-mask-image: linear-gradient(
    90deg,
    #000 0%,
    #000 58%,
    rgba(0, 0, 0, 0.48) 76%,
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    #000 0%,
    #000 58%,
    rgba(0, 0, 0, 0.48) 76%,
    transparent 100%
  );
  transition: opacity 320ms ease;
}
.nm-product-customizer-option::after {
  opacity: 0;
  transition: opacity 320ms ease;
}
.nm-product-customizer-option:hover,
.nm-product-customizer-option:focus-visible,
.nm-product-customizer-option.is-active {
  background: rgba(255, 255, 255, 0.62);
}
.nm-product-customizer-option:hover::after,
.nm-product-customizer-option:focus-visible::after,
.nm-product-customizer-option.is-active::after {
  opacity: 1;
}
.nm-product-customizer-option:hover::before,
.nm-product-customizer-option:focus-visible::before,
.nm-product-customizer-option.is-active::before {
  opacity: 0;
}
.nm-product-customizer-option-thumb {
  position: absolute;
  top: 50%;
  left: 18px;
  z-index: 2;
  width: 96px;
  height: 112px;
  transform: translateY(-50%);
}
.nm-product-customizer-option-thumb img,
.nm-product-customizer-option-thumb span {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.nm-product-customizer-option-thumb span {
  background: var(--option-color);
  -webkit-mask: var(--nm-tumbler-mask) center / contain no-repeat;
  mask: var(--nm-tumbler-mask) center / contain no-repeat;
  mix-blend-mode: multiply;
  opacity: 0.9;
}
.nm-product-customizer-option > span:last-child {
  position: relative;
  z-index: 2;
}
.nm-product-customizer-option:hover .nm-product-customizer-option-thumb img,
.nm-product-customizer-option.is-active
  .nm-product-customizer-option-thumb
  img {
  transform: scale(1.08);
}
.nm-product-customizer-preview {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 620px;
}
.nm-product-customizer-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(95%, 560px);
  aspect-ratio: 1;
  border: 1px solid
    color-mix(in srgb, var(--nm-tumbler-accent) 42%, transparent);
  border-radius: 50%;
  background: radial-gradient(
    circle at 50% 45%,
    rgba(255, 255, 255, 0.98) 0 36%,
    color-mix(in srgb, var(--nm-tumbler-color) 18%, #fff) 68%,
    transparent 69%
  );
  transform: translate(-50%, -50%);
  transition:
    border-color 500ms ease,
    background 500ms ease;
}
.nm-product-customizer-orbit::before,
.nm-product-customizer-orbit::after {
  position: absolute;
  border: 1px solid
    color-mix(in srgb, var(--nm-tumbler-accent) 28%, transparent);
  border-radius: 50%;
  content: "";
}
.nm-product-customizer-orbit::before {
  inset: 10%;
}
.nm-product-customizer-orbit::after {
  inset: 22%;
}
.nm-product-customizer-tumbler {
  position: relative;
  z-index: 2;
  width: min(88%, 500px);
  aspect-ratio: 2 / 3;
  filter: drop-shadow(0 28px 26px rgba(19, 42, 79, 0.14));
}
.nm-product-customizer-tumbler img,
.nm-product-customizer-tumbler-color {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.nm-product-customizer-tumbler-color {
  background: var(--nm-tumbler-color);
  -webkit-mask: var(--nm-tumbler-mask) center / contain no-repeat;
  mask: var(--nm-tumbler-mask) center / contain no-repeat;
  mix-blend-mode: multiply;
  opacity: 0.92;
  transition: background-color 500ms ease;
}
.nm-product-customizer-tumbler.is-changing {
  animation: nm-tumbler-color-change 550ms cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes nm-tumbler-color-change {
  0% {
    opacity: 0.72;
    transform: scale(0.965) rotate(-1.5deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0);
  }
}
.nm-product-customizer-copy {
  max-width: 360px;
}
.nm-product-customizer-kicker {
  margin: 0 0 18px !important;
  color: #8a5a2b !important;
  font-size: 12px !important;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.nm-product-customizer-copy h2 {
  margin: 0;
  color: var(--nm-brand-navy);
  font-size: clamp(34px, 3vw, 52px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.04em;
}
.nm-product-customizer-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 270px;
  min-height: 56px;
  margin-top: 30px;
  padding: 11px 32px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--nm-brand-navy) !important;
  font-size: 15px;
  font-weight: 700;
  isolation: isolate;
  transition:
    background-color 180ms ease,
    transform 180ms ease;
}
.nm-product-customizer-cta::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  padding: 2px;
  border-radius: inherit;
  background: linear-gradient(
    90deg,
    #42dfa0 0%,
    #20cad6 22%,
    #ffd42a 45%,
    #ff7043 63%,
    #e600ff 82%,
    #42dfa0 100%
  );
  background-size: 220% 100%;
  content: "";
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: nm-customizer-cta-border 2.8s linear infinite;
  pointer-events: none;
}
@keyframes nm-customizer-cta-border {
  0% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
.nm-product-customizer-cta:hover {
  background: #fff;
  color: var(--nm-brand-navy) !important;
  transform: translateY(-2px);
}

@media (max-width: 1100px) {
  .nm-product-customizer-grid {
    grid-template-columns: minmax(210px, 0.9fr) minmax(330px, 1.35fr) minmax(
        230px,
        0.85fr
      );
    gap: 25px;
  }
  .nm-product-customizer-preview {
    min-height: 540px;
  }
}

@media (max-width: 991px) {
  .nm-product-customizer {
    padding: 54px 32px;
  }
  .nm-product-customizer-grid {
    grid-template-columns: 1fr;
  }
  .nm-product-customizer-copy {
    order: 1;
    max-width: 620px;
    margin: 0 auto;
    text-align: center;
  }
  .nm-product-customizer-preview {
    order: 2;
    min-height: 580px;
  }
  .nm-product-customizer-options {
    order: 3;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
  .nm-product-customizer-option {
    width: min(100%, 335px);
    justify-self: center;
  }
}

@media (max-width: 550px) {
  .nm-product-customizer {
    width: calc(100% - 30px);
    margin: 54px auto;
    padding: 42px 20px 28px;
    border-radius: 22px;
  }
  .nm-product-customizer-copy h2 {
    font-size: clamp(32px, 10vw, 44px);
  }
  .nm-product-customizer-preview {
    min-height: 430px;
  }
  .nm-product-customizer-tumbler {
    width: min(96%, 350px);
  }
  .nm-product-customizer-options {
    grid-template-columns: 1fr;
    padding-left: 4px;
  }
  .nm-product-customizer-option {
    width: min(100%, 320px);
    min-height: 62px;
    padding: 10px 70px;
  }
  .nm-product-customizer-option-thumb {
    left: 12px;
    width: 82px;
    height: 98px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nm-product-customizer-tumbler.is-changing,
  .nm-product-customizer-option,
  .nm-product-customizer-option::before,
  .nm-product-customizer-option::after {
    animation-duration: 1ms !important;
    transition-duration: 1ms !important;
  }
  .nm-product-customizer-cta::before {
    animation-duration: 1ms !important;
  }
}

/* Homepage best sellers
--------------------------------------------------------------- */

body.home.woocommerce-shop #nm-shop > .nm-shop-header,
body.home.woocommerce-shop #nm-shop > .nm-shop-products {
  display: none;
}

.nm-home-best-sellers {
  width: calc(100% - 110px);
  max-width: 1775px;
  margin: 0 auto 60px;
  padding: 40px 0 40px;
  color: var(--nm-brand-navy);
  clip-path: inset(0 -100vmax);
}
.nm-home-best-sellers-header {
  display: flex;
  align-items: baseline;
  gap: 38px;
  margin-bottom: 40px;
}
.nm-home-best-sellers-header h2 {
  margin: 0;
  color: var(--nm-brand-navy);
  font-size: clamp(36px, 2.5vw, 42px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.035em;
}
.nm-home-best-sellers-header > a {
  display: inline-flex;
  align-items: center;
  padding-bottom: 2px;
  border-bottom: 1px solid currentColor;
  color: var(--nm-brand-navy);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.1;
}

/* About Us and FAQs content pages. */
.nm-story-page {
  --story-navy: #132a4f;
  --story-blue: #294591;
  --story-muted: #62749a;
  --story-line: rgba(19, 42, 79, 0.14);
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(42px, 6vw, 86px) 0 96px;
  color: var(--story-navy);
}
.nm-story-page *,
.nm-story-page *::before,
.nm-story-page *::after {
  box-sizing: border-box;
}
.nm-story-page :where(h1, h2, h3, p) {
  margin-top: 0;
}
.nm-story-eyebrow {
  display: block;
  margin-bottom: 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.nm-story-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(380px, 0.88fr);
  min-height: 560px;
  border-radius: 32px;
  overflow: hidden;
  color: #fff;
  background: var(--story-navy);
}
.nm-story-hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(42px, 6vw, 82px);
}
.nm-story-hero h1 {
  max-width: 720px;
  margin-bottom: 24px;
  color: #fff;
  font-size: clamp(48px, 6vw, 84px);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: -0.055em;
}
.nm-story-hero p {
  max-width: 610px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
  line-height: 1.7;
}
.nm-story-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 52px;
  padding: 13px 24px;
  border-radius: 999px;
  color: #fff;
  background: var(--story-blue);
  font-size: 13px;
  font-weight: 700;
}
.nm-story-button:hover {
  color: #fff;
  background: #1e3767;
}
.nm-story-hero__visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 460px;
  overflow: hidden;
  background: #e9eef9;
}
.nm-story-hero__visual strong {
  position: relative;
  z-index: 2;
  color: var(--story-navy);
  font-size: clamp(42px, 5vw, 72px);
  letter-spacing: -0.06em;
}
.nm-story-hero__visual small {
  position: relative;
  z-index: 2;
  margin-top: 5px;
  color: var(--story-muted);
  letter-spacing: 0.08em;
}
.nm-story-orbit {
  position: absolute;
  border: 1px solid rgba(41, 69, 145, 0.22);
  border-radius: 50%;
}
.nm-story-orbit--one {
  width: 360px;
  height: 360px;
}
.nm-story-orbit--two {
  width: 520px;
  height: 520px;
}
.nm-story-orbit--one::after {
  content: "";
  position: absolute;
  top: 22px;
  right: 50px;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: #e8a73c;
  box-shadow: -220px 220px 0 #ee8c78;
}
.nm-story-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 7vw, 110px);
  padding: clamp(74px, 9vw, 128px) clamp(0px, 4vw, 60px);
}
.nm-story-intro h2,
.nm-story-section-head h2,
.nm-story-cta h2,
.nm-faq-contact h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.045em;
}
.nm-story-intro__copy p {
  color: var(--story-muted);
  font-size: 16px;
  line-height: 1.8;
}
.nm-story-intro__copy p:last-child {
  margin-bottom: 0;
}
.nm-story-journey,
.nm-story-values {
  padding: clamp(50px, 7vw, 90px);
  border-radius: 30px;
}
.nm-story-journey {
  background: #f4f6fa;
}
.nm-story-section-head {
  max-width: 760px;
  margin-bottom: 52px;
}
.nm-story-timeline {
  margin: 0;
  padding: 0;
  list-style: none;
}
.nm-story-timeline li {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 26px;
  padding: 28px 0;
  border-top: 1px solid var(--story-line);
}
.nm-story-timeline li:last-child {
  border-bottom: 1px solid var(--story-line);
}
.nm-story-timeline > li > span {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  color: #fff;
  background: var(--story-blue);
  font-size: 12px;
  font-weight: 700;
}
.nm-story-timeline h3 {
  margin-bottom: 8px;
  font-size: 20px;
  font-weight: 700;
}
.nm-story-timeline p {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--story-muted);
  line-height: 1.7;
}
.nm-story-values {
  margin-top: 28px;
  border: 1px solid var(--story-line);
}
.nm-story-value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.nm-story-value-grid article {
  min-height: 250px;
  padding: 28px;
  border-radius: 20px;
  background: #f4f6fa;
}
.nm-story-value-grid article > span {
  display: block;
  margin-bottom: 52px;
  color: var(--story-muted);
  font-size: 11px;
  font-weight: 700;
}
.nm-story-value-grid h3 {
  margin-bottom: 11px;
  font-size: 20px;
}
.nm-story-value-grid p {
  margin-bottom: 0;
  color: var(--story-muted);
  line-height: 1.65;
}
.nm-story-cta {
  display: grid;
  grid-template-columns: 1fr 0.75fr;
  gap: 50px;
  margin-top: 28px;
  padding: clamp(48px, 7vw, 86px);
  border-radius: 30px;
  color: #fff;
  background: var(--story-blue);
}
.nm-story-cta h2 {
  color: #fff;
}
.nm-story-cta p {
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
}
.nm-story-button--light {
  color: var(--story-navy);
  background: #fff;
}
.nm-story-button--light:hover {
  color: #fff;
  background: var(--story-navy);
}

.nm-faq-hero {
  max-width: 850px;
  padding: 10px 0 clamp(54px, 7vw, 90px);
}
.nm-faq-hero h1 {
  margin-bottom: 20px;
  font-size: clamp(52px, 7vw, 92px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.06em;
}
.nm-faq-hero p {
  max-width: 650px;
  margin-bottom: 0;
  color: var(--story-muted);
  font-size: 17px;
  line-height: 1.7;
}
.nm-faq-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 82px;
}
.nm-faq-links br {
  display: none;
}
.nm-faq-links a {
  display: flex;
  flex-direction: column;
  gap: 32px;
  min-height: 132px;
  padding: 22px;
  border: 1px solid var(--story-line);
  border-radius: 18px;
  color: var(--story-navy);
  background: #fff;
  font-size: 16px;
  font-weight: 700;
}
.nm-faq-links a:hover {
  color: #fff;
  background: var(--story-blue);
  transform: translateY(-3px);
}
.nm-faq-links span {
  font-size: 10px;
  letter-spacing: 0.12em;
  opacity: 0.65;
}
.nm-faq-group {
  display: grid;
  grid-template-columns: minmax(230px, 0.62fr) minmax(0, 1.38fr);
  gap: clamp(35px, 7vw, 105px);
  padding: 52px 0;
  border-top: 1px solid var(--story-line);
  scroll-margin-top: 110px;
}
.nm-faq-group__title > span {
  display: block;
  margin-bottom: 18px;
  color: var(--story-muted);
  font-size: 11px;
  font-weight: 700;
}
.nm-faq-group__title h2 {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.035em;
}
.nm-faq-list details {
  border-bottom: 1px solid var(--story-line);
}
.nm-faq-list details:first-child {
  border-top: 1px solid var(--story-line);
}
.nm-faq-list summary {
  position: relative;
  padding: 23px 52px 23px 0;
  color: var(--story-navy);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  cursor: pointer;
  list-style: none;
}
.nm-faq-list summary::-webkit-details-marker {
  display: none;
}
.nm-faq-list summary::before,
.nm-faq-list summary::after {
  content: "";
  position: absolute;
  top: 32px;
  right: 8px;
  width: 15px;
  height: 1px;
  background: currentColor;
  transition: transform 0.2s ease;
}
.nm-faq-list summary::after {
  transform: rotate(90deg);
}
.nm-faq-list details[open] summary::after {
  transform: rotate(0);
}
.nm-faq-list details p {
  max-width: 740px;
  margin: -5px 52px 24px 0;
  color: var(--story-muted);
  line-height: 1.75;
}
.nm-faq-list details a {
  color: var(--story-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.nm-faq-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 42px;
  margin-top: 55px;
  padding: clamp(38px, 6vw, 72px);
  border-radius: 28px;
  background: #f4f6fa;
}
.nm-faq-contact h2 {
  max-width: 680px;
}
.nm-faq-note {
  max-width: 820px;
  margin: 24px auto 0;
  color: var(--story-muted);
  font-size: 11px;
  line-height: 1.7;
  text-align: center;
}

@media (max-width: 900px) {
  .nm-story-hero,
  .nm-story-intro,
  .nm-story-cta,
  .nm-faq-group {
    grid-template-columns: 1fr;
  }
  .nm-story-hero__visual {
    min-height: 360px;
  }
  .nm-story-value-grid {
    grid-template-columns: 1fr;
  }
  .nm-story-value-grid article {
    min-height: 0;
  }
  .nm-story-value-grid article > span {
    margin-bottom: 28px;
  }
  .nm-faq-links {
    grid-template-columns: repeat(2, 1fr);
  }
  .nm-faq-contact {
    align-items: flex-start;
    flex-direction: column;
  }
}
@media (max-width: 600px) {
  .nm-story-page {
    width: min(100% - 28px, 1320px);
    padding-top: 30px;
  }
  .nm-story-hero {
    border-radius: 22px;
  }
  .nm-story-hero__content {
    padding: 38px 24px 46px;
  }
  .nm-story-hero h1 {
    font-size: 45px;
  }
  .nm-story-hero__visual {
    min-height: 280px;
  }
  .nm-story-intro {
    padding: 68px 4px;
  }
  .nm-story-journey,
  .nm-story-values,
  .nm-story-cta {
    padding: 34px 22px;
    border-radius: 22px;
  }
  .nm-story-timeline li {
    grid-template-columns: 46px 1fr;
    gap: 15px;
  }
  .nm-story-timeline > li > span {
    width: 42px;
    height: 42px;
  }
  .nm-faq-hero h1 {
    font-size: 51px;
  }
  .nm-faq-links {
    grid-template-columns: 1fr 1fr;
    gap: 9px;
    margin-bottom: 58px;
  }
  .nm-faq-links a {
    min-height: 108px;
    padding: 17px;
  }
  .nm-faq-group {
    padding: 40px 0;
  }
  .nm-faq-contact {
    padding: 34px 24px;
    border-radius: 22px;
  }
}
.nm-home-best-sellers-header > a::after {
  margin-left: 10px;
  font-size: 18px;
  font-weight: 400;
  content: "\2192";
}
.nm-home-best-sellers-carousel {
  position: relative;
}
.nm-home-best-sellers-products .woocommerce {
  margin: 0;
}
.nm-home-best-sellers-products ul.products {
  display: flex !important;
  flex-wrap: nowrap !important;
  justify-content: flex-start;
  gap: clamp(12px, 1vw, 18px);
  margin: 0 !important;
  padding: 0 0 12px !important;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.nm-home-best-sellers-products ul.products::-webkit-scrollbar {
  display: none;
}
.nm-home-best-sellers-products ul.products > li.product {
  float: none !important;
  display: flex;
  flex: 0 0 calc((100% - clamp(48px, 4vw, 72px)) / 5);
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  scroll-snap-align: start;
}
.nm-home-best-sellers-products .nm-shop-loop-product-wrap {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: auto;
  aspect-ratio: auto;
  padding: 16px 16px 18px;
  border: 1px solid rgba(19, 42, 79, 0.07);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(19, 42, 79, 0.055);
  transition:
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}
.nm-home-best-sellers-products li.product:hover .nm-shop-loop-product-wrap {
  border-color: rgba(19, 42, 79, 0.12);
  box-shadow: 0 16px 36px rgba(19, 42, 79, 0.09);
  transform: translateY(-2px);
}
.nm-home-best-sellers-products .nm-shop-loop-thumbnail {
  position: relative;
  flex: 0 0 auto;
  aspect-ratio: 1 / 1.08;
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}
.nm-home-best-sellers-products
  .nm-shop-loop-thumbnail
  > .nm-shop-loop-thumbnail-link {
  display: block;
  width: 100%;
  height: 100%;
}
.nm-home-best-sellers-products .nm-shop-loop-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 550ms cubic-bezier(0.22, 1, 0.36, 1);
}
.nm-home-best-sellers-products li.product:hover .nm-shop-loop-thumbnail img {
  transform: scale(1.025);
}

.nm-home-best-sellers-products .nm-card-quickview-cart {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(19, 42, 79, 0.14);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 5px 18px rgba(19, 42, 79, 0.1);
  color: var(--nm-brand-navy);
  opacity: 0;
  transform: translateY(7px) scale(0.94);
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

.nm-home-best-sellers-products .nm-card-quickview-cart svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nm-home-best-sellers-products li.product:hover .nm-card-quickview-cart,
.nm-home-best-sellers-products li.product:focus-within .nm-card-quickview-cart {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.nm-home-best-sellers-products .nm-card-quickview-cart:hover,
.nm-home-best-sellers-products .nm-card-quickview-cart:focus-visible {
  border-color: rgba(19, 42, 79, 0.2);
  background: #e8eaed;
  color: var(--nm-brand-navy);
}

.nm-home-best-sellers-products .nm-card-quickview-cart:focus-visible {
  outline: 2px solid var(--nm-brand-navy);
  outline-offset: 3px;
}
.nm-home-best-sellers-products .nm-shop-loop-details {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 18px 2px 0;
}
.nm-home-best-sellers-products .nm-shop-loop-title-price {
  display: flex;
  flex-direction: column;
}
.nm-best-seller-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 26px;
  margin-bottom: 12px;
}
.nm-best-seller-swatches {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.nm-home-best-sellers-products button.nm-best-seller-swatch {
  position: relative;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;
  margin: 0;
  padding: 0;
  border: 2px solid #fff !important;
  border-radius: 50%;
  background-color: var(--swatch-color) !important;
  background-image: none !important;
  box-shadow: 0 0 0 1px rgba(19, 42, 79, 0.08);
  color: transparent !important;
  cursor: pointer;
  appearance: none;
  overflow: hidden;
  transition:
    box-shadow 160ms ease,
    transform 160ms ease;
}
.nm-home-best-sellers-products button.nm-best-seller-swatch img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
  pointer-events: none;
}
.nm-home-best-sellers-products button.nm-best-seller-swatch.is-selected {
  box-shadow: 0 0 0 1px var(--nm-brand-navy);
  transform: scale(1.08);
}
.nm-home-best-sellers-products button.nm-best-seller-swatch:hover {
  transform: scale(1.12);
}
.nm-home-best-sellers-products button.nm-best-seller-swatch:focus-visible {
  outline: 2px solid var(--nm-brand-navy);
  outline-offset: 3px;
}
.nm-home-best-sellers-products
  li.product.is-changing-variation
  .nm-shop-loop-thumbnail
  img {
  animation: nm-best-seller-variation-change 300ms ease both;
}
@keyframes nm-best-seller-variation-change {
  0% {
    opacity: 0.48;
    transform: scale(0.975);
  }
  100% {
    opacity: 1;
    transform: scale(1.025);
  }
}
.nm-best-seller-swatch-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 22px;
  padding: 0 6px;
  border: 1px solid #efe2c5;
  border-radius: 999px;
  background: #fff;
  color: var(--nm-brand-navy);
  font-size: 11px;
  font-weight: 700;
}
.nm-best-seller-capacity {
  margin-left: auto;
  color: rgba(19, 42, 79, 0.86);
  font-size: 12px;
  white-space: nowrap;
}
.nm-home-best-sellers-products .woocommerce-loop-product__title {
  font-size: 15px;
  font-weight: 700;
}
.nm-home-best-sellers-products .price {
  display: block !important;
  color: rgba(19, 42, 79, 0.72);
  font-size: 14px;
  opacity: 1 !important;
  visibility: visible !important;
}
.nm-home-best-sellers-products .nm-shop-loop-actions {
  position: static;
  display: block;
  width: 100%;
  margin-top: auto;
  opacity: 1;
}
.nm-home-best-sellers-products .nm-shop-loop-actions > a {
  display: none;
}
.nm-best-seller-categories {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  min-width: 0;
  padding-top: 16px;
  overflow: hidden;
}
.nm-best-seller-categories span {
  display: inline-flex;
  flex: 0 1 auto;
  align-items: center;
  min-width: 0;
  min-height: 24px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--nm-brand-cream);
  color: var(--nm-brand-navy);
  font-size: clamp(10px, 0.68vw, 12px);
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}
.nm-home-best-sellers-arrow {
  position: absolute;
  top: 46%;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  padding: 0;
  border: 1px solid #efe2c5;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 24px rgba(19, 42, 79, 0.08);
  color: var(--nm-brand-navy);
  font-size: 28px;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%);
  transition:
    opacity 180ms ease,
    background-color 180ms ease,
    transform 180ms ease;
}
.nm-home-best-sellers-carousel:hover .nm-home-best-sellers-arrow:not(:disabled),
.nm-home-best-sellers-carousel:focus-within
  .nm-home-best-sellers-arrow:not(:disabled) {
  opacity: 1;
  pointer-events: auto;
}
.nm-home-best-sellers-arrow:hover:not(:disabled) {
  background: #fff;
  transform: translateY(-50%) scale(1.04);
}
.nm-home-best-sellers-arrow:disabled {
  opacity: 0;
  pointer-events: none;
  cursor: default;
}
.nm-home-best-sellers-arrow.is-unavailable {
  display: none;
}
.nm-home-best-sellers-arrow[hidden] {
  display: none !important;
}
.nm-home-best-sellers-arrow.is-prev {
  left: -43px;
}
.nm-home-best-sellers-arrow.is-next {
  right: -43px;
}

/* Montigo-style cart drawer. */
.nm-page-overlay.nm-cart-panel-overlay {
  background: rgba(19, 42, 79, 0.28);
  backdrop-filter: blur(3px);
}

body.cart-panel-open {
  overflow: hidden;
}

.nm-cart-panel-holder,
.cart-panel-open .nm-cart-panel-holder,
.cart-panel-closing .nm-cart-panel-holder {
  z-index: 1000200;
}

.cart-panel-open .nm-cart-panel-holder,
.cart-panel-closing .nm-cart-panel-holder {
  width: 100vw;
}

#nm-cart-panel {
  left: auto;
  right: 0;
  width: min(550px, 100%);
  max-width: 550px;
  color: #18336f;
  background: #fff;
  box-shadow: -22px 0 60px rgba(19, 42, 79, 0.14);
  transform: translate3d(100%, 0, 0);
}

.cart-panel-open #nm-cart-panel {
  transform: translate3d(0, 0, 0);
}

.nm-cart-panel-header {
  flex: 0 0 auto;
  padding: 0 24px;
  color: #18336f;
  background: #fff;
  border-bottom: 1px solid rgba(24, 51, 111, 0.16);
}

.nm-cart-panel-header-inner {
  display: flex;
  align-items: center;
  height: 80px;
  border-bottom: 0;
}

.nm-child-cart-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}

.nm-child-cart-heading svg {
  display: block;
  width: 27px;
  height: 27px;
}

#nm-cart-panel-close {
  position: absolute;
  top: 50%;
  right: 0;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  color: #18336f;
  transform: translateY(-50%);
}

.nm-cart-panel-close-title {
  margin: 0;
}

#nm-cart-panel-close .nm-font-close2 {
  font-size: 21px;
}

#nm-cart-panel .widget_shopping_cart_content {
  background: #fff;
  transition: opacity 160ms ease;
}

#nm-cart-panel.nm-child-cart-fragment-pending .widget_shopping_cart_content {
  opacity: 0;
  pointer-events: none;
}

#nm-cart-panel.nm-child-cart-fragment-pending::after {
  content: "Đang đồng bộ giỏ hàng…";
  position: absolute;
  top: 112px;
  left: 50%;
  z-index: 110;
  color: #5870a5;
  font-size: 13px;
  transform: translateX(-50%);
  white-space: nowrap;
}

.nm-child-cart-shipping {
  flex: 0 0 auto;
  padding: 26px 24px 22px;
  color: #19377d;
}

.nm-child-cart-shipping p {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.45;
  text-align: center;
}

.nm-child-cart-shipping p strong {
  font-weight: 700;
}

.nm-child-cart-shipping__track {
  position: relative;
  height: 9px;
  border: 2px solid #27418b;
  border-radius: 999px;
  background: transparent;
  overflow: hidden;
}

.nm-child-cart-shipping__track span {
  display: block;
  width: var(--nm-child-cart-progress, 0%);
  height: 100%;
  border-radius: inherit;
  background: #27418b;
  transition: width 350ms ease;
}

.nm-child-cart-shipping.is-qualified .nm-child-cart-shipping__track span {
  background: #4f7437;
}

#nm-cart-panel .nm-cart-panel-list-wrap {
  flex: 1 1 auto;
  padding: 22px 24px 24px;
  overflow-x: hidden;
  overflow-y: auto;
}

#nm-cart-panel .product_list_widget {
  display: block;
  color: #18336f;
}

#nm-cart-panel .product_list_widget > li.woocommerce-mini-cart-item {
  position: relative;
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  align-items: start;
  gap: 22px;
  min-height: 132px;
  padding: 0 0 24px;
  border: 0;
}

#nm-cart-panel
  .product_list_widget
  > li.woocommerce-mini-cart-item
  + li.woocommerce-mini-cart-item {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(24, 51, 111, 0.12);
}

#nm-cart-panel .nm-cart-panel-item-thumbnail {
  align-self: start;
  width: 104px;
}

#nm-cart-panel .nm-cart-panel-thumbnail-wrap {
  display: grid;
  place-items: center;
  width: 104px;
  height: 126px;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}

#nm-cart-panel .product_list_widget li .nm-cart-panel-thumbnail-wrap img {
  display: block;
  width: 100%;
  max-width: none;
  height: 126px;
  border-radius: 0;
  object-fit: contain;
}

#nm-cart-panel .nm-cart-panel-item-details {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-content: start;
  column-gap: 14px;
  min-width: 0;
  padding-top: 2px;
}

#nm-cart-panel .nm-cart-panel-item-details > *:not(:last-child) {
  margin-bottom: 0;
}

#nm-cart-panel .product_list_widget li .nm-cart-panel-product-title {
  display: -webkit-box;
  grid-column: 1;
  margin: 0;
  padding: 0;
  color: #18336f;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

#nm-cart-panel .nm-cart-panel-item-price {
  grid-column: 2;
  grid-row: 1;
  float: none;
  color: #18336f;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  align-self: start;
  white-space: nowrap;
}

#nm-cart-panel .nm-cart-panel-item-price .amount {
  color: inherit;
  font-size: inherit;
}

#nm-cart-panel .variation {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 3px 7px;
  margin: 15px 0 0;
  color: #5870a5;
  font-size: 13px;
  line-height: 1.4;
}

#nm-cart-panel .variation dt,
#nm-cart-panel .variation dd,
#nm-cart-panel .variation li,
#nm-cart-panel .variation p {
  margin: 0;
  padding: 0;
  font: inherit;
}

#nm-cart-panel .variation dt {
  display: none;
}

#nm-cart-panel .variation dd:not(:last-child)::after,
#nm-cart-panel .variation li:not(:last-child)::after {
  content: "/";
  margin-left: 7px;
}

#nm-cart-panel .nm-child-cart-variation {
  grid-column: 1 / -1;
  margin: 15px 0 0;
  color: #5870a5;
  font-size: 13px;
  line-height: 1.4;
}

#nm-cart-panel .nm-cart-panel-quantity-pricing {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  margin-top: 22px;
  overflow: visible;
}

#nm-cart-panel .nm-cart-panel-quantity-pricing > span.quantity,
#nm-cart-panel .product-quantity {
  float: none;
  font-size: 14px;
}

#nm-cart-panel .nm-quantity-wrap {
  width: 106px;
  height: 38px;
  border: 1px solid #d9dfef;
  border-radius: 999px;
  background: #f4f6fb;
  overflow: hidden;
}

#nm-cart-panel .nm-quantity-wrap .quantity {
  display: grid;
  grid-template-columns: 34px 38px 34px;
  align-items: center;
  width: 106px;
  height: 36px;
  margin: 0;
}

#nm-cart-panel .quantity .nm-qty-minus,
#nm-cart-panel .quantity .nm-qty-plus,
#nm-cart-panel .quantity .qty {
  display: grid;
  place-items: center;
  width: 100%;
  height: 36px;
  padding: 0;
  color: #18336f;
  font-size: 14px;
  font-weight: 600;
  line-height: 36px;
  text-align: center;
  border: 0;
  background: transparent;
}

#nm-cart-panel .product_list_widget .remove {
  position: static;
  display: inline-block;
  width: auto;
  height: auto;
  padding: 2px 0;
  border-bottom: 1px solid currentColor;
  color: #5870a5;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.08em;
  opacity: 1;
  text-align: left;
  text-transform: uppercase;
}

#nm-cart-panel .nm-cart-panel-summary {
  flex: 0 0 auto;
  margin-top: auto;
  padding: 24px;
  color: #5870a5;
  background: #fff;
  box-shadow: 0 -18px 30px rgba(251, 250, 245, 0.94);
}

#nm-cart-panel .nm-child-cart-summary-note {
  margin: 0 0 26px;
  font-size: 13px;
  line-height: 1.5;
}

#nm-cart-panel .buttons {
  margin: 0;
}

#nm-cart-panel .buttons .button,
#nm-cart-panel .buttons a:first-child,
#nm-cart-panel .buttons .button.checkout {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  margin: 0;
  padding: 14px 22px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: #27418b;
  font-size: 15px;
  font-weight: 700;
  opacity: 1;
}

#nm-cart-panel .buttons .button:hover,
#nm-cart-panel .buttons a:first-child:hover {
  color: #fff;
  background: #18336f;
}

/* Graceful fallback while an old WooCommerce fragment is being replaced. */
#nm-cart-panel .nm-cart-panel-item-details > .remove {
  display: none;
}

#nm-cart-panel .nm-cart-panel-quantity-pricing .nm-cart-panel-item-price {
  float: none;
  margin-left: auto;
}

#nm-cart-panel .nm-cart-panel-summary .woocommerce-mini-cart__total,
#nm-cart-panel .nm-cart-panel-summary .button.checkout {
  display: none;
}

#nm-cart-panel .product_list_widget .empty {
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding: 10vh 0;
  color: #5870a5;
}

#nm-cart-panel .nm-cart-panel-empty .product_list_widget .empty {
  display: flex;
}

.nm-child-empty-cart-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  color: #18336f;
  background: #f0f2f7;
  font-size: 24px;
}

/* The drawer always uses the light Montigo palette, even when Savoy's
   cart-panel-dark option is enabled in the theme settings. */
.cart-panel-dark #nm-cart-panel,
.cart-panel-dark #nm-cart-panel-loader,
.cart-panel-dark #nm-cart-panel .widget_shopping_cart_content,
.cart-panel-dark #nm-cart-panel .product_list_widget,
.cart-panel-dark #nm-cart-panel .nm-cart-panel-summary {
  color: #18336f;
  background: #fff;
}

.cart-panel-dark #nm-cart-panel-close,
.cart-panel-dark
  #nm-cart-panel
  .product_list_widget
  li
  .nm-cart-panel-product-title,
.cart-panel-dark #nm-cart-panel .nm-cart-panel-item-price,
.cart-panel-dark #nm-cart-panel .nm-cart-panel-item-price .amount,
.cart-panel-dark #nm-cart-panel .nm-quantity-wrap .quantity .nm-qty-minus,
.cart-panel-dark #nm-cart-panel .nm-quantity-wrap .quantity .nm-qty-plus,
.cart-panel-dark #nm-cart-panel .nm-quantity-wrap .quantity .qty {
  color: #18336f;
}

.cart-panel-dark .nm-cart-panel-header-inner {
  border-color: transparent;
}

.cart-panel-dark #nm-cart-panel .nm-cart-panel-thumbnail-loader {
  background: rgba(255, 255, 255, 0.9);
}

@media (max-width: 550px) {
  #nm-cart-panel {
    width: 100%;
    max-width: 100%;
  }
  .nm-cart-panel-header,
  #nm-cart-panel .nm-cart-panel-list-wrap,
  #nm-cart-panel .nm-cart-panel-summary {
    padding-right: 20px;
    padding-left: 20px;
  }
  .nm-child-cart-shipping {
    padding-right: 20px;
    padding-left: 20px;
  }
  #nm-cart-panel .product_list_widget > li.woocommerce-mini-cart-item {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 16px;
  }
  #nm-cart-panel .nm-cart-panel-item-thumbnail,
  #nm-cart-panel .nm-cart-panel-thumbnail-wrap {
    width: 88px;
  }
}

/* Product Quick View: right-side drawer shared by Home and Shop cards. */
#nm-quickview-overlay {
  z-index: 1000100;
  display: block;
  background: rgba(19, 42, 79, 0.34);
  backdrop-filter: blur(3px);
}

.mfp-wrap.nm-mfp-quickview {
  z-index: 1000101;
}

.mfp-wrap.nm-mfp-quickview .mfp-container {
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  padding: 0;
  text-align: left;
}

.mfp-wrap.nm-mfp-quickview .mfp-container::before {
  display: none;
}

.mfp-wrap.nm-mfp-quickview .mfp-content {
  display: block;
  width: min(550px, 100vw);
  height: 100dvh;
  margin: 0 0 0 auto;
  vertical-align: top;
}

.mfp-wrap.nm-mfp-quickview #nm-quickview {
  --nm-product-ink: #132a4f;
  --nm-product-accent: #c6943b;
  --nm-product-surface: #f4f6f9;
  --nm-product-muted: #6d7b91;
  --nm-product-line: rgba(19, 42, 79, 0.14);
  --nm-product-shadow-sm: 0 6px 18px rgba(19, 42, 79, 0.055);
  width: 100%;
  max-width: none;
  height: 100%;
  min-height: 100dvh;
  margin: 0;
  background: #fff;
  box-shadow: -24px 0 70px rgba(19, 42, 79, 0.18);
  overflow-x: hidden;
  overflow-y: auto;
  transform: translateX(102%);
  transition:
    transform 380ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 180ms ease;
}

.mfp-wrap.nm-mfp-quickview.mfp-ready #nm-quickview {
  transform: translateX(0);
}

.mfp-wrap.nm-mfp-quickview.mfp-removing #nm-quickview {
  transform: translateX(102%);
}

.mfp-wrap.nm-mfp-quickview #nm-quickview .mfp-close {
  top: 14px;
  right: 18px;
  z-index: 20;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f4f4f2;
  box-shadow: none;
}

.mfp-wrap.nm-mfp-quickview #nm-quickview > .product {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  grid-template-rows: auto auto auto auto;
  min-height: 100%;
  color: #132a4f;
}

.mfp-wrap.nm-mfp-quickview #nm-quickview .nm-qv-drawer-header {
  grid-column: 1 / -1;
  grid-row: 1;
  padding: 20px 64px 18px 28px;
  border-bottom: 1px solid #e7e7e2;
}

.mfp-wrap.nm-mfp-quickview #nm-quickview .nm-qv-drawer-header h2 {
  margin: 0;
  color: #132a4f;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}

.mfp-wrap.nm-mfp-quickview #nm-quickview .nm-qv-product-image {
  grid-column: 1;
  grid-row: 2;
  float: none;
  width: 112px;
  height: 112px;
  margin: 24px 0 24px 28px;
  border-radius: 12px;
  background: #f7f7f3;
  overflow: hidden;
}

.mfp-wrap.nm-mfp-quickview
  #nm-quickview
  .nm-qv-product-image
  :where(#nm-quickview-slider, .slick-list, .slick-track, .slick-slide),
.mfp-wrap.nm-mfp-quickview
  #nm-quickview
  .nm-qv-product-image
  .slick-slide
  > div {
  height: 112px !important;
}

.mfp-wrap.nm-mfp-quickview #nm-quickview .nm-qv-product-image img {
  display: block;
  width: 100%;
  height: 112px;
  object-fit: contain;
}

.mfp-wrap.nm-mfp-quickview #nm-quickview .nm-qv-product-image .slick-arrow,
.mfp-wrap.nm-mfp-quickview #nm-quickview .nm-qv-product-image .slick-dots {
  display: none !important;
}

.mfp-wrap.nm-mfp-quickview #nm-quickview .nm-qv-summary {
  display: contents;
  float: none;
  width: auto;
}

.mfp-wrap.nm-mfp-quickview #nm-quickview #nm-qv-product-summary {
  display: contents;
}

.mfp-wrap.nm-mfp-quickview #nm-quickview .nm-qv-summary-top {
  grid-column: 2;
  grid-row: 2;
  align-self: center;
  min-width: 0;
  padding: 22px 64px 22px 20px;
}

.mfp-wrap.nm-mfp-quickview #nm-quickview .nm-qv-summary-top .product_title {
  display: -webkit-box;
  margin: 0 0 8px;
  color: #132a4f;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.35;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.mfp-wrap.nm-mfp-quickview #nm-quickview .nm-qv-summary-top .price {
  margin: 0 0 8px;
  padding: 0;
  color: #50699d;
  font-size: 15px;
  line-height: 1.4;
}

.mfp-wrap.nm-mfp-quickview
  #nm-quickview
  .nm-qv-summary-top
  .woocommerce-product-rating {
  display: none;
}

.mfp-wrap.nm-mfp-quickview #nm-quickview .nm-qv-inline-details {
  display: inline-block;
  padding-bottom: 2px;
  border-bottom: 1px solid currentColor;
  color: #132a4f;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
}

.mfp-wrap.nm-mfp-quickview #nm-quickview .nm-qv-summary-content,
.mfp-wrap.nm-mfp-quickview #nm-quickview .nm-qv-summary-content.align-bottom {
  position: static !important;
  grid-column: 1 / -1;
  grid-row: 3;
  float: none;
  width: auto !important;
  padding: 24px 28px 28px !important;
  border-top: 1px solid #e7e7e2;
  transform: none !important;
}

.mfp-wrap.nm-mfp-quickview #nm-quickview .nm-qv-summary-content form.cart,
.mfp-wrap.nm-mfp-quickview
  #nm-quickview
  .nm-qv-summary-content
  .variations_form {
  margin: 0;
}

.mfp-wrap.nm-mfp-quickview #nm-quickview .variations {
  margin: 0 0 18px;
}

.mfp-wrap.nm-mfp-quickview #nm-quickview .variations tr,
.mfp-wrap.nm-mfp-quickview #nm-quickview .variations tbody {
  display: block;
}

.mfp-wrap.nm-mfp-quickview #nm-quickview .variations tr + tr {
  margin-top: 18px;
}

.mfp-wrap.nm-mfp-quickview #nm-quickview .variations,
.mfp-wrap.nm-mfp-quickview #nm-quickview .variations tr,
.mfp-wrap.nm-mfp-quickview #nm-quickview .variations th,
.mfp-wrap.nm-mfp-quickview #nm-quickview .variations td {
  border: 0 !important;
  background: transparent !important;
}

.mfp-wrap.nm-mfp-quickview #nm-quickview .variations th,
.mfp-wrap.nm-mfp-quickview #nm-quickview .variations td {
  display: block;
  width: 100%;
  padding: 0;
  text-align: left;
}

.mfp-wrap.nm-mfp-quickview #nm-quickview .variations th label,
.mfp-wrap.nm-mfp-quickview #nm-quickview .nm-product-static-attribute__label {
  display: block;
  margin: 0 0 9px;
  color: #132a4f;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.mfp-wrap.nm-mfp-quickview #nm-quickview .nm-select-hidden {
  display: none;
}

.mfp-wrap.nm-mfp-quickview #nm-quickview .nm-variation-control {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  margin: 0;
  padding: 0 0 4px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.mfp-wrap.nm-mfp-quickview
  #nm-quickview
  .nm-variation-control::-webkit-scrollbar {
  display: none;
}

.mfp-wrap.nm-mfp-quickview #nm-quickview .nm-variation-control li {
  position: relative;
  flex: 0 0 auto;
  list-style: none;
  cursor: pointer;
}

.mfp-wrap.nm-mfp-quickview #nm-quickview .nm-variation-control-color li {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 4px;
  border: 1.5px solid transparent;
  border-radius: 50%;
  background: #fff;
}

.mfp-wrap.nm-mfp-quickview
  #nm-quickview
  .nm-variation-control-color
  li.selected,
.mfp-wrap.nm-mfp-quickview #nm-quickview .nm-variation-control-color li:hover {
  border-color: #173878;
}

.mfp-wrap.nm-mfp-quickview #nm-quickview .nm-variation-control-color li i {
  display: block;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(19, 42, 79, 0.1);
  border-radius: 50%;
  background: var(--nm-swatch-color, #d6d8d4);
  overflow: hidden;
}

.mfp-wrap.nm-mfp-quickview #nm-quickview .nm-variation-control-color li i img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mfp-wrap.nm-mfp-quickview #nm-quickview .nm-variation-control-color li span {
  position: absolute;
  bottom: calc(100% + 7px);
  left: 50%;
  z-index: 3;
  padding: 4px 7px;
  border-radius: 5px;
  color: #fff;
  background: #132a4f;
  font-size: 10px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 3px);
  transition:
    opacity 150ms ease,
    transform 150ms ease;
  white-space: nowrap;
}

.mfp-wrap.nm-mfp-quickview
  #nm-quickview
  .nm-variation-control-color
  li:hover
  span {
  opacity: 1;
  transform: translate(-50%, 0);
}

.mfp-wrap.nm-mfp-quickview #nm-quickview .nm-variation-control-size li {
  min-width: 48px;
  border: 1px solid #dcdedb;
  border-radius: 8px;
}

.mfp-wrap.nm-mfp-quickview #nm-quickview .nm-variation-control-size li span {
  display: grid;
  place-items: center;
  min-height: 40px;
  padding: 0 13px;
  color: #132a4f;
  font-size: 12px;
  font-weight: 600;
}

.mfp-wrap.nm-mfp-quickview #nm-quickview .nm-variation-control-size li.selected,
.mfp-wrap.nm-mfp-quickview #nm-quickview .nm-variation-control-size li:hover {
  border-color: #173878;
  box-shadow: inset 0 0 0 1px #173878;
}

.mfp-wrap.nm-mfp-quickview #nm-quickview .reset_variations {
  display: inline-block;
  margin-top: 8px;
  font-size: 11px;
}

.mfp-wrap.nm-mfp-quickview #nm-quickview .single_variation_wrap {
  margin-top: 20px;
}

.mfp-wrap.nm-mfp-quickview #nm-quickview .woocommerce-variation-price {
  margin-bottom: 12px;
}

.mfp-wrap.nm-mfp-quickview #nm-quickview .woocommerce-variation-add-to-cart,
.mfp-wrap.nm-mfp-quickview #nm-quickview form.cart:not(.variations_form) {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 10px;
}

.mfp-wrap.nm-mfp-quickview #nm-quickview .nm-quantity-wrap {
  width: 118px;
  height: 50px;
  margin: 24px 0 0;
  border: 1px solid #dcdedb;
  border-radius: 8px;
  overflow: visible;
}

.mfp-wrap.nm-mfp-quickview #nm-quickview .nm-quantity-wrap label {
  display: none !important;
}

.mfp-wrap.nm-mfp-quickview #nm-quickview .nm-quantity-wrap::before {
  content: "SỐ LƯỢNG";
  position: absolute;
  top: -24px;
  left: 0;
  color: #132a4f;
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  letter-spacing: 0.06em;
}

.mfp-wrap.nm-mfp-quickview #nm-quickview .quantity {
  display: grid;
  grid-template-columns: 34px 1fr 34px;
  align-items: center;
  width: 100%;
  height: 48px;
  margin: 0;
  border: 0;
}

.mfp-wrap.nm-mfp-quickview
  #nm-quickview
  .quantity
  :where(.nm-qty-minus, .nm-qty-plus, .qty) {
  width: 100%;
  height: 48px;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: center;
}

.mfp-wrap.nm-mfp-quickview #nm-quickview .single_add_to_cart_button {
  grid-column: 2;
  grid-row: 1;
  align-self: end;
  width: 100%;
  min-height: 50px;
  margin: 0;
  border-radius: 8px;
  background: #132a4f;
  font-size: 13px;
  font-weight: 700;
}

.mfp-wrap.nm-mfp-quickview #nm-quickview .nm-product-customise-button,
.mfp-wrap.nm-mfp-quickview #nm-quickview .nm-product-payment-note {
  grid-column: 1 / -1;
}

.mfp-wrap.nm-mfp-quickview #nm-quickview .nm-product-customise-button {
  grid-row: 2;
  margin: 2px 0 0;
}

.mfp-wrap.nm-mfp-quickview #nm-quickview .nm-product-payment-note {
  grid-row: 3;
}

.mfp-wrap.nm-mfp-quickview #nm-quickview .nm-product-collection {
  margin: 22px 0 20px;
}

.mfp-wrap.nm-mfp-quickview #nm-quickview .nm-product-collection__track {
  padding: 10px;
  border-radius: 18px;
}

.mfp-wrap.nm-mfp-quickview #nm-quickview .nm-product-feature-panel {
  margin-top: 26px;
  padding-top: 22px;
}

.mfp-wrap.nm-mfp-quickview #nm-quickview .nm-product-feature-grid {
  gap: 12px;
}

.mfp-wrap.nm-mfp-quickview #nm-quickview .nm-product-accordions {
  margin-top: 26px;
  padding: 0;
}

.mfp-wrap.nm-mfp-quickview #nm-quickview .nm-qv-product-information {
  grid-column: 1 / -1;
  grid-row: 4;
  padding: 0 28px 36px;
}

.mfp-wrap.nm-mfp-quickview #nm-quickview .nm-qv-feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.mfp-wrap.nm-mfp-quickview #nm-quickview .nm-qv-feature-pills span {
  padding: 7px 11px;
  border-radius: 999px;
  color: #40577f;
  background: #f3f4f8;
  font-size: 11px;
  font-weight: 600;
}

.mfp-wrap.nm-mfp-quickview #nm-quickview .nm-qv-info-row {
  border-top: 1px solid #e7e7e2;
}

.mfp-wrap.nm-mfp-quickview #nm-quickview .nm-qv-info-row:last-child {
  border-bottom: 1px solid #e7e7e2;
}

.mfp-wrap.nm-mfp-quickview #nm-quickview .nm-qv-info-row summary {
  position: relative;
  padding: 17px 28px 17px 0;
  color: #132a4f;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.mfp-wrap.nm-mfp-quickview
  #nm-quickview
  .nm-qv-info-row
  summary::-webkit-details-marker {
  display: none;
}

.mfp-wrap.nm-mfp-quickview #nm-quickview .nm-qv-info-row summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 2px;
  font-size: 20px;
  font-weight: 400;
  transform: translateY(-50%);
}

.mfp-wrap.nm-mfp-quickview #nm-quickview .nm-qv-info-row[open] summary::after {
  content: "\2212";
}

.mfp-wrap.nm-mfp-quickview #nm-quickview .nm-qv-info-row > div {
  padding: 0 0 18px;
  color: #667085;
  font-size: 12px;
  line-height: 1.65;
}

.mfp-wrap.nm-mfp-quickview #nm-quickview .nm-qv-info-row table {
  margin: 0;
}

@media (max-width: 991px) {
  .nm-home-best-sellers {
    width: calc(100% - 50px);
  }
  .nm-home-best-sellers-products ul.products > li.product {
    flex-basis: calc((100% - 20px) / 2.15);
  }
  .nm-home-best-sellers-arrow {
    display: none;
  }
  .mfp-wrap.nm-mfp-quickview .mfp-content {
    width: min(550px, 100vw);
  }
  .mfp-wrap.nm-mfp-quickview #nm-quickview {
    border-radius: 18px 0 0 18px;
  }
}

@media (max-width: 550px) {
  .nm-home-best-sellers {
    width: calc(100% - 30px);
    margin: 0 auto 82px;
    padding: 46px 0 50px;
  }
  .nm-home-best-sellers-header {
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 26px;
  }
  .nm-home-best-sellers-header h2 {
    font-size: 32px;
  }
  .nm-home-best-sellers-header > a {
    flex: 0 0 auto;
    font-size: 12px;
  }
  .nm-home-best-sellers-products ul.products {
    gap: 16px;
  }
  .nm-home-best-sellers-products ul.products > li.product {
    flex-basis: 82%;
  }
  .nm-home-best-sellers-products .nm-card-quickview-cart {
    right: 10px;
    bottom: 10px;
    width: 40px;
    height: 40px;
    opacity: 1;
    transform: none;
  }
  .mfp-wrap.nm-mfp-quickview #nm-quickview {
    border-radius: 0;
  }
  .mfp-wrap.nm-mfp-quickview #nm-quickview > .product {
    grid-template-columns: 116px minmax(0, 1fr);
  }
  .mfp-wrap.nm-mfp-quickview #nm-quickview .nm-qv-drawer-header {
    padding: 18px 54px 16px 20px;
  }
  .mfp-wrap.nm-mfp-quickview #nm-quickview .mfp-close {
    top: 11px;
    right: 12px;
  }
  .mfp-wrap.nm-mfp-quickview #nm-quickview .nm-qv-product-image {
    width: 88px;
    height: 88px;
    margin: 20px 0 20px 18px;
  }
  .mfp-wrap.nm-mfp-quickview
    #nm-quickview
    .nm-qv-product-image
    :where(#nm-quickview-slider, .slick-list, .slick-track, .slick-slide),
  .mfp-wrap.nm-mfp-quickview
    #nm-quickview
    .nm-qv-product-image
    .slick-slide
    > div,
  .mfp-wrap.nm-mfp-quickview #nm-quickview .nm-qv-product-image img {
    height: 88px !important;
  }
  .mfp-wrap.nm-mfp-quickview #nm-quickview .nm-qv-summary-top {
    padding: 18px 50px 18px 12px;
  }
  .mfp-wrap.nm-mfp-quickview #nm-quickview .nm-qv-summary-top .product_title {
    font-size: 16px;
  }
  .mfp-wrap.nm-mfp-quickview #nm-quickview .nm-qv-summary-content,
  .mfp-wrap.nm-mfp-quickview #nm-quickview .nm-qv-summary-content.align-bottom {
    padding: 22px 20px 24px !important;
  }
  .mfp-wrap.nm-mfp-quickview #nm-quickview .nm-qv-product-information {
    padding: 0 20px 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nm-home-best-sellers-products ul.products {
    scroll-behavior: auto;
  }
  .nm-home-best-sellers-products .nm-shop-loop-thumbnail img {
    transition-duration: 1ms !important;
  }
}

/* Static card copy must not display a text-entry caret when clicked. */
:where(
    .nm-elefante-home,
    .nm-home-collab-card,
    .nm-home-best-sellers-products li.product,
    .nm-collection-catalog-head,
    .nm-collection-sections,
    .nm-footer-benefits
  )
  :where(h1, h2, h3, h4, h5, h6, p, span, small) {
  caret-color: transparent;
  cursor: default;
}

:where(
    .nm-elefante-home,
    .nm-home-collab-card,
    .nm-home-best-sellers-products li.product,
    .nm-collection-catalog-head,
    .nm-collection-sections,
    .nm-footer-benefits
  )
  :where(a, button, [role="button"]),
:where(
    .nm-elefante-home,
    .nm-home-collab-card,
    .nm-home-best-sellers-products li.product,
    .nm-collection-catalog-head,
    .nm-collection-sections,
    .nm-footer-benefits
  )
  :where(a, button, [role="button"])
  :where(span, small) {
  cursor: pointer;
}

/* Homepage lifestyle story (section 7)
--------------------------------------------------------------- */

.nm-home-lifestyle {
  position: relative;
  width: 100%;
  min-height: clamp(510px, 43vw, 700px);
  color: var(--nm-brand-navy);
  overflow: hidden;
  isolation: isolate;
}
.nm-home-lifestyle h2 {
  position: absolute;
  top: 42%;
  left: 50%;
  z-index: 3;
  width: max-content;
  max-width: 70%;
  margin: 0;
  color: var(--nm-brand-navy);
  font-size: clamp(44px, 5vw, 76px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.055em;
  text-align: center;
  transform: translate(-50%, -50%);
}
.nm-home-lifestyle-art {
  position: absolute;
  inset: 0;
}
.nm-home-lifestyle-orb {
  position: absolute;
  z-index: 2;
  border-radius: 50%;
  background: var(--nm-brand-cream);
  box-shadow: 0 12px 34px rgba(19, 42, 79, 0.08);
  overflow: hidden;
}
.nm-home-lifestyle-orb img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    opacity 520ms ease,
    transform 850ms cubic-bezier(0.22, 1, 0.36, 1);
}
.nm-home-lifestyle-orb img.is-default {
  opacity: 1;
}
.nm-home-lifestyle-orb img.is-hover {
  opacity: 0;
  transform: scale(1.08) rotate(-2deg);
}
/* Images swap when the section's end-of-block marker scrolls into view
   (.is-revealed, added by lifestyle-scroll.js) — not on hover. */
.nm-home-lifestyle.is-revealed .nm-home-lifestyle-orb img.is-default {
  opacity: 0;
  transform: scale(0.96) rotate(2deg);
}
.nm-home-lifestyle.is-revealed .nm-home-lifestyle-orb img.is-hover {
  opacity: 1;
  transform: scale(1.035) rotate(0deg);
}
.nm-home-lifestyle-orb.is-top {
  top: 2.5%;
  left: 47.5%;
  width: clamp(145px, 14vw, 220px);
  aspect-ratio: 1;
  transform: translateX(-50%);
  animation: nm-lifestyle-rock-top 5.8s ease-in-out infinite;
}
.nm-home-lifestyle-orb.is-left {
  top: 40%;
  left: 8%;
  width: clamp(190px, 20vw, 310px);
  aspect-ratio: 1;
  animation: nm-lifestyle-rock-left 7.2s ease-in-out -1.4s infinite;
}
.nm-home-lifestyle-orb.is-right {
  top: 58%;
  right: 10%;
  width: clamp(165px, 17vw, 260px);
  aspect-ratio: 1;
  animation: nm-lifestyle-rock-right 6.4s ease-in-out -2.7s infinite;
}
@keyframes nm-lifestyle-rock-top {
  0%,
  100% {
    transform: translateX(-50%) translateY(0) rotate(-1.5deg);
  }
  50% {
    transform: translateX(-50%) translateY(7px) rotate(1.8deg);
  }
}
@keyframes nm-lifestyle-rock-left {
  0%,
  100% {
    transform: translateY(0) rotate(1.4deg);
  }
  50% {
    transform: translateY(-9px) rotate(-1.7deg);
  }
}
@keyframes nm-lifestyle-rock-right {
  0%,
  100% {
    transform: translateY(0) rotate(-1.6deg);
  }
  50% {
    transform: translateY(8px) rotate(1.5deg);
  }
}
.nm-home-lifestyle-burst {
  position: absolute;
  z-index: 1;
  display: block;
  width: clamp(54px, 6vw, 92px);
  aspect-ratio: 1;
  background: var(--nm-brand-gold);
  clip-path: polygon(
    48% 0,
    57% 36%,
    100% 18%,
    68% 48%,
    95% 67%,
    61% 62%,
    52% 100%,
    43% 65%,
    8% 89%,
    32% 54%,
    0 40%,
    39% 39%
  );
}
.nm-home-lifestyle-burst.is-lime {
  top: 32%;
  left: 6%;
  transform: rotate(-14deg);
}
.nm-home-lifestyle-burst.is-cyan {
  right: 32%;
  bottom: 14%;
  width: clamp(30px, 3vw, 52px);
  background: var(--nm-brand-navy);
  transform: rotate(20deg);
}
.nm-home-lifestyle-start-marker,
.nm-home-lifestyle-end-marker {
  position: absolute;
  left: 0;
  width: 1px;
  height: 1px;
}
.nm-home-lifestyle-start-marker {
  top: 0;
}
.nm-home-lifestyle-end-marker {
  bottom: 0;
}
.nm-home-lifestyle-pixel {
  position: absolute;
  top: 14%;
  right: 26%;
  z-index: 2;
  color: var(--nm-brand-gold);
  font-size: clamp(54px, 6vw, 94px);
  font-weight: 900;
  line-height: 1;
  text-shadow: 7px 7px 0 var(--nm-brand-brown);
  transform: rotate(-18deg);
}
.nm-home-lifestyle-marquee {
  position: absolute;
  right: -4%;
  bottom: -2%;
  left: -4%;
  z-index: 0;
  width: 108%;
  height: 45%;
  overflow: visible;
}
.nm-home-lifestyle-marquee path {
  fill: none;
}
.nm-home-lifestyle-marquee text {
  fill: #f1d59a;
  font-family: inherit;
  font-size: 29px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

@media (prefers-reduced-motion: reduce) {
  .nm-home-lifestyle-orb {
    animation: none !important;
  }
  .nm-home-lifestyle-orb img {
    transition-duration: 1ms !important;
  }
}

@media (max-width: 991px) {
  .nm-home-lifestyle {
    min-height: 560px;
    margin-bottom: 70px;
  }
  .nm-home-lifestyle h2 {
    top: 38%;
    max-width: 80%;
    font-size: clamp(40px, 8vw, 62px);
  }
  .nm-home-lifestyle-orb.is-left {
    left: 5%;
  }
  .nm-home-lifestyle-orb.is-right {
    right: 7%;
  }
  .nm-home-lifestyle-pixel {
    right: 14%;
  }
}

@media (max-width: 550px) {
  .nm-home-lifestyle {
    min-height: 520px;
    margin: 10px 0 55px;
  }
  .nm-home-lifestyle h2 {
    top: 42%;
    width: 82%;
    max-width: none;
    font-size: 34px;
    line-height: 1.02;
  }
  .nm-home-lifestyle-orb.is-top {
    left: 52%;
    width: 126px;
  }
  .nm-home-lifestyle-orb.is-left {
    top: 43%;
    left: -11%;
    width: 180px;
  }
  .nm-home-lifestyle-orb.is-right {
    top: 55%;
    right: -9%;
    width: 155px;
  }
  .nm-home-lifestyle-burst.is-lime {
    top: 28%;
    left: 2%;
  }
  .nm-home-lifestyle-pixel {
    top: 16%;
    right: 6%;
  }
  .nm-home-lifestyle-marquee {
    bottom: 0;
    height: 36%;
  }
  .nm-home-lifestyle-marquee text {
    font-size: 36px;
  }
}

/* Homepage collaboration collections
--------------------------------------------------------------- */

.nm-home-collabs {
  width: calc(100% - 40px);
  max-width: 1420px;
  margin: 82px auto 100px;
  color: var(--nm-brand-navy);
  clip-path: inset(0 -100vmax);
}
.nm-home-collabs-header {
  margin-bottom: 32px;
  text-align: center;
}
.nm-home-collabs-header h2 {
  margin: 0;
  color: var(--nm-brand-navy);
  font-size: clamp(29px, 2.2vw, 35px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.035em;
}
.nm-home-collabs-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 2vw, 34px);
}
.nm-home-collab-card {
  min-width: 0;
}
.nm-home-collab-image {
  display: block;
  aspect-ratio: 4 / 5;
  border-radius: 16px;
  background: var(--nm-brand-cream);
  overflow: hidden;
}
.nm-home-collab-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}
.nm-home-collab-card:hover .nm-home-collab-image img {
  transform: scale(1.035);
}
.nm-home-collab-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 0 0;
}
.nm-home-collab-content h3 {
  margin: 0;
  font-size: clamp(17px, 1.25vw, 19px);
  font-weight: 500;
  line-height: 1.15;
}
.nm-home-collab-content h3 a {
  color: var(--nm-brand-navy);
}
.nm-home-collab-cta {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 24px;
  border: 1px solid var(--nm-brand-navy);
  border-radius: 999px;
  background: var(--nm-brand-navy);
  color: #fff !important;
  font-size: 13px;
  font-weight: 700;
  transition:
    background-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}
.nm-home-collab-cta::after {
  margin-left: 10px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  content: "\2192";
}
.nm-home-collab-cta:hover {
  background: transparent;
  color: var(--nm-brand-navy) !important;
  transform: translateY(-2px);
}

@media (max-width: 900px) {
  .nm-home-collabs {
    width: calc(100% - 30px);
    margin: 64px auto 76px;
    padding: 48px 0 34px;
    overflow: hidden;
  }
  .nm-home-collabs-header {
    margin-bottom: 30px;
    text-align: left;
  }
  .nm-home-collabs-track {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .nm-home-collabs-track::-webkit-scrollbar {
    display: none;
  }
  .nm-home-collab-card {
    flex: 0 0 min(84vw, 420px);
    scroll-snap-align: start;
  }
}

@media (max-width: 550px) {
  .nm-home-collabs-header h2 {
    font-size: 31px;
  }
  .nm-home-collab-image {
    border-radius: 20px;
  }
  .nm-home-collab-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding-top: 18px;
  }
  .nm-home-collab-content h3 {
    font-size: 21px;
  }
  .nm-home-collab-cta {
    min-height: 42px;
    padding: 9px 17px;
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nm-home-collab-image img,
  .nm-home-collab-cta,
  .nm-home-collabs-track {
    transition-duration: 1ms !important;
    scroll-behavior: auto;
  }
}

/* Footer: shopmontigo.com-style layout, Elefante brand colors, merged into a single block
--------------------------------------------------------------- */

#nm-footer {
  padding: 0 20px 24px;
}
.nm-footer-widgets {
  padding: 0;
  border: 0;
  background: transparent;
}
.nm-footer-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1600px;
  margin: 0 auto 34px;
  padding: 42px 60px;
  border-radius: 26px;
  background: var(--nm-brand-cream);
}
.nm-footer-benefit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 68px;
  padding: 0 28px;
  text-align: left;
}
.nm-footer-benefit + .nm-footer-benefit {
  border-left: 1px solid rgba(19, 42, 79, 0.14);
}
.nm-footer-benefit-icon {
  display: inline-flex;
  flex: 0 0 42px;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(19, 42, 79, 0.2);
  border-radius: 50%;
  font-size: 19px;
}
.nm-footer-benefit p {
  margin: 0;
  color: rgba(19, 42, 79, 0.72);
  font-size: 13px;
  line-height: 1.5;
}
.nm-footer-benefit .nm-footer-benefit-title {
  margin-bottom: 4px;
  color: var(--nm-brand-navy);
  font-size: 16px;
  font-weight: 700;
}
.nm-footer-benefit a {
  color: var(--nm-brand-navy);
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.nm-footer-card {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  border-radius: 30px;
  background: var(--nm-brand-navy);
  color: var(--nm-brand-cream);
  overflow: hidden;
}
.nm-footer-card-inner {
  padding: 40px 80px 30px;
}
.nm-footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  margin-bottom: 20px;
}
.nm-footer-brand-logo {
  display: block;
  flex: 0 0 auto;
}
.nm-footer-brand-logo img {
  display: block;
  width: 400px;
  max-width: 100%;
  height: auto;
}
.nm-footer-newsletter {
  width: min(100%, 475px);
}
.nm-footer-newsletter > p {
  margin: 0 0 14px;
  color: var(--nm-brand-cream);
  font-size: 15px;
}
.nm-footer-newsletter-form {
  display: flex;
  gap: 10px;
}
.nm-footer-newsletter-form input[type="email"] {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  height: 46px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  box-shadow: none;
  color: #fff;
}
.nm-footer-newsletter-form input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.72);
}
.nm-footer-newsletter-form input[type="email"]:focus {
  outline: 2px solid rgba(255, 255, 255, 0.65);
  outline-offset: 2px;
}
.nm-footer-newsletter-form button {
  flex: 0 0 auto;
  min-width: 150px;
  height: 46px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--nm-brand-navy);
  font-size: 13px;
  font-weight: 700;
  transition:
    color 180ms ease,
    background-color 180ms ease;
}
.nm-footer-newsletter-form button:hover {
  background: var(--nm-brand-orange);
  color: #fff;
}
.nm-footer-columns {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}
.nm-footer-column {
  flex: 0 1 220px;
  min-width: 0;
}
.nm-footer-column-title {
  margin: 0 0 18px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}
.nm-footer-column-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.nm-footer-column-list li {
  margin: 0 0 5px;
}
.nm-footer-card .nm-footer-column-list a {
  color: rgba(255, 255, 255, 0.86) !important;
  font-size: 13px;
  line-height: 1.4;
  transition:
    color 180ms ease,
    opacity 180ms ease;
}
.nm-footer-card .nm-footer-column-list a:hover {
  color: #fff !important;
}
.nm-footer-column-social {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nm-footer-column-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 0;
  color: #fff;
  font-size: 15px;
  transition:
    color 180ms ease,
    background-color 180ms ease,
    transform 180ms ease;
}
.nm-footer-card .nm-footer-column-social a,
.nm-footer-card .nm-footer-column-social a i {
  color: #fff !important;
}
.nm-footer-column-social a:hover {
  background: transparent;
  color: var(--nm-brand-orange);
  transform: translateY(-2px);
}
.nm-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 12px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.nm-footer-bottom p {
  margin: 0;
  color: rgba(247, 243, 232, 0.62);
  font-size: 12px;
}
.nm-footer-payments {
  display: flex;
  align-items: center;
  gap: 7px;
  width: min(100%, 530px);
}
.nm-footer-payments small {
  margin-right: auto;
  color: rgba(255, 255, 255, 0.68);
  font-size: 11px;
}
.nm-footer-payments span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 25px;
  padding: 3px 8px;
  border-radius: 5px;
  background: #fff;
  color: var(--nm-brand-navy);
  font-size: 9px;
  font-weight: 700;
}
.nm-footer-payments .payment-amex {
  background: var(--nm-brand-navy);
  color: #fff;
}
.nm-footer-payments .payment-apple {
  color: var(--nm-brand-navy);
}
.nm-footer-payments .payment-mastercard {
  background: var(--nm-brand-navy);
  color: var(--nm-brand-gold);
}
.nm-footer-payments .payment-visa {
  background: var(--nm-brand-brown);
  color: #fff;
}

@media (max-width: 991px) {
  .nm-footer-benefits {
    padding: 34px 24px;
  }
  .nm-footer-benefit {
    padding: 0 16px;
  }
  .nm-footer-card-inner {
    padding: 48px 34px 26px;
  }
  .nm-footer-top {
    align-items: flex-start;
    margin-bottom: 20px;
  }
  .nm-footer-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 699px) {
  #nm-footer {
    padding: 0 15px 15px;
  }
  .nm-footer-benefits {
    grid-template-columns: 1fr;
    margin-bottom: 20px;
    padding: 14px 22px;
    border-radius: 20px;
  }
  .nm-footer-benefit {
    justify-content: flex-start;
    padding: 18px 0;
  }
  .nm-footer-benefit + .nm-footer-benefit {
    border-top: 1px solid rgba(19, 42, 79, 0.14);
    border-left: 0;
  }
  .nm-footer-card {
    border-radius: 22px;
  }
  .nm-footer-card-inner {
    padding: 38px 24px 24px;
  }
  .nm-footer-top {
    flex-direction: column;
    gap: 32px;
    margin-bottom: 20px;
  }
  .nm-footer-brand-logo img {
    width: 220px;
    height: auto;
  }
  .nm-footer-newsletter {
    width: 100%;
  }
  .nm-footer-newsletter-form {
    flex-direction: column;
  }
  .nm-footer-newsletter-form button {
    width: 100%;
  }
  .nm-footer-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 20px;
  }
  .nm-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 40px;
  }
}

@media (max-width: 400px) {
  .nm-footer-columns {
    grid-template-columns: 1fr;
  }
}
