﻿/*
Theme Name: NaMagnesie Woo Layout
Theme URI: https://namagnesie.pl/
Author: NaMagnesie.pl
Description: Lekki motyw WooCommerce odtwarzajacy uklad sklepu NaMagnesie.pl.
Version: 1.10.1
Requires at least: 6.4
Tested up to: 6.6
Requires PHP: 8.0
Text Domain: namagnesie
*/

@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700;800;900&display=swap");

:root {
  --nm-black: #0a0a0a;
  --nm-text: #202020;
  --nm-muted: #707070;
  --nm-border: #dedede;
  --nm-bg: #ffffff;
  --nm-soft: #f5f5f5;
  --nm-accent: #1f8f4d;
  --nm-accent-dark: #176b39;
  --nm-sale: #d92d20;
  --nm-container: 1200px;
  --nm-radius: 4px;
  --nm-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

* {
  box-sizing: border-box;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--nm-bg);
  color: var(--nm-text);
  font-family: "Nunito", Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  overflow-wrap: break-word;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button,
input,
select,
textarea {
  max-width: 100%;
  font: inherit;
}

.nm-container {
  width: min(var(--nm-container), calc(100% - 32px));
  margin-inline: auto;
}

.nm-topbar {
  background: var(--nm-black);
  color: #fff;
  font-size: 14px;
  padding: 9px 0;
  text-align: center;
}

.nm-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--nm-border);
}

.admin-bar .nm-header {
  top: 32px;
}

.nm-header-main {
  display: grid;
  grid-template-columns: 250px minmax(260px, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 20px 0;
}

.nm-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}

.nm-logo img,
.nm-logo-wrap img {
  max-height: 72px;
  width: auto;
}

.nm-mobile-menu-toggle {
  position: relative;
  display: none;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--nm-border);
  border-radius: var(--nm-radius);
  background: #fff;
  padding: 0;
}

.nm-mobile-menu-toggle span:not(.screen-reader-text) {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--nm-black);
  position: absolute;
}

.nm-mobile-menu-toggle span:nth-child(1) {
  transform: translateY(-7px);
}

.nm-mobile-menu-toggle span:nth-child(3) {
  transform: translateY(7px);
}

.nm-search {
  display: flex;
  min-height: 44px;
  border: 1px solid var(--nm-border);
  border-radius: var(--nm-radius);
  overflow: hidden;
  background: #fff;
}

.nm-search input {
  width: 100%;
  border: 0;
  padding: 0 14px;
  font: inherit;
  outline: 0;
}

.nm-search button,
.nm-button,
.button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: var(--nm-radius);
  background: var(--nm-black);
  color: #fff;
  cursor: pointer;
  font-weight: 700;
  min-height: 44px;
  padding: 0 18px;
}

.nm-search button {
  min-width: 50px;
  padding: 0;
}

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

.nm-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.nm-action svg,
.nm-search svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.8;
}

.nm-nav {
  border-top: 1px solid var(--nm-border);
}

.nm-menu,
.nm-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nm-menu {
  display: flex;
  justify-content: center;
  gap: 28px;
}

.nm-menu > li {
  position: static;
}

.nm-menu a,
.nm-menu-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 48px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--nm-black);
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0;
}

.nm-menu a:hover,
.nm-menu-button:hover,
.nm-menu-has-mega.is-open .nm-menu-button {
  border-color: var(--nm-black);
  text-decoration: none;
}

.nm-menu-button svg {
  width: 14px;
  height: 14px;
  stroke-width: 2.5;
}

.nm-mega-menu {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 45;
  display: none;
  border-top: 1px solid var(--nm-border);
  border-bottom: 1px solid var(--nm-border);
  background: #fff;
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.04);
}

.nm-menu-has-mega:hover .nm-mega-menu,
.nm-menu-has-mega:focus-within .nm-mega-menu,
.nm-menu-has-mega.is-open .nm-mega-menu {
  display: block;
}

.nm-mega-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px 78px;
  padding-block: 36px 42px;
}

.nm-mega-column h3 {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 900;
}

.nm-mega-column h3 a {
  min-height: auto;
  border: 0;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
}

.nm-mega-column ul {
  display: grid;
  gap: 8px;
}

.nm-mega-column a {
  display: inline-flex;
  min-height: auto;
  border: 0;
  color: #2c2c2c;
  font-size: 15px;
  font-weight: 500;
}

.nm-mega-column a::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-right: 10px;
  border: solid var(--nm-black);
  border-width: 0 2px 2px 0;
  transform: rotate(-45deg);
}

.nm-mega-column a:hover {
  text-decoration: underline;
}

.nm-hero {
  position: relative;
  overflow: hidden;
  min-height: clamp(380px, 45vw, 650px);
  background: var(--nm-soft);
}

.nm-hero-link,
.nm-hero-slide {
  display: block;
  min-height: clamp(380px, 45vw, 650px);
}

.nm-hero img,
.nm-hero-link img,
.nm-hero-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nm-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.45s ease;
}

.nm-hero-slide.is-active {
  z-index: 1;
  opacity: 1;
}

.nm-hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--nm-black);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.14);
  transform: translateY(-50%);
}

.nm-hero-arrow svg {
  width: 26px;
  height: 26px;
  stroke-width: 2.4;
}

.nm-hero-arrow-prev {
  left: clamp(12px, 3vw, 34px);
}

.nm-hero-arrow-next {
  right: clamp(12px, 3vw, 34px);
}

.nm-hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: clamp(380px, 45vw, 650px);
  align-items: center;
}

.nm-hero-panel {
  max-width: 520px;
  color: #111;
}

.nm-kicker {
  display: inline-flex;
  margin-bottom: 14px;
  border-bottom: 2px solid var(--nm-black);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nm-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.02;
  letter-spacing: 0;
}

.nm-hero p {
  max-width: 430px;
  margin: 0 0 24px;
  color: #333;
  font-size: clamp(16px, 2vw, 19px);
}

.nm-section {
  padding: 56px 0;
}

.nm-section-title {
  margin: 0 0 26px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.15;
  text-align: center;
}

.nm-home-tabs,
.nm-product-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 36px;
  text-align: center;
}

.nm-home-tabs a,
.nm-product-tabs span {
  display: inline-flex;
  justify-content: center;
  justify-self: center;
  padding: 0 12px 10px;
  border-bottom: 2px solid transparent;
  font-size: clamp(14px, 1.15vw, 17px);
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
}

.nm-home-tabs .is-active,
.nm-product-tabs .is-active {
  border-color: var(--nm-black);
}

.nm-product-tabs {
  display: flex;
  justify-content: center;
  gap: 34px;
  margin-bottom: 24px;
}

.nm-product-tabs span {
  color: var(--nm-muted);
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 800;
}

.nm-product-tabs .is-active {
  color: var(--nm-text);
}

.nm-category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.nm-category-card {
  position: relative;
  min-height: 168px;
  overflow: hidden;
  border-radius: var(--nm-radius);
  background: #ddd;
}

.nm-category-card img {
  width: 100%;
  height: 100%;
  min-height: 168px;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.nm-category-card:hover img {
  transform: scale(1.035);
}

.nm-category-card span {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
}

.nm-banners {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.nm-banner {
  position: relative;
  overflow: hidden;
  border-radius: var(--nm-radius);
  aspect-ratio: 2.06 / 1;
  background: var(--nm-soft);
}

.nm-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nm-banner strong {
  position: absolute;
  left: 22px;
  bottom: 18px;
  color: #fff;
  font-size: 24px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.6);
}

.nm-steps {
  padding: 24px 0 52px;
}

.nm-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.nm-step {
  display: grid;
  gap: 6px;
  justify-items: center;
  text-align: center;
}

.nm-step span {
  display: block;
  color: var(--nm-black);
  font-size: 44px;
  font-weight: 900;
  line-height: 1;
}

.nm-step strong {
  font-size: 20px;
  font-weight: 500;
}

.nm-step small {
  color: var(--nm-muted);
  font-size: 15px;
}

.nm-product-grid,
.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 18px;
  margin: 0;
  padding: 0;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
  display: none;
}

.nm-product-card,
.woocommerce ul.products li.product {
  width: auto !important;
  margin: 0 !important;
  border: 1px solid transparent;
  border-radius: var(--nm-radius);
  background: #fff;
  list-style: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.nm-product-card:hover,
.woocommerce ul.products li.product:hover {
  border-color: var(--nm-border);
  box-shadow: var(--nm-shadow);
}

.nm-product-media,
.woocommerce ul.products li.product a img {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
  background: #f7f7f7;
}

.nm-product-body,
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .price {
  padding-inline: 14px;
}

.nm-product-card h3,
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  min-height: 54px;
  margin: 14px 0 6px;
  color: var(--nm-text);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.28;
  overflow-wrap: anywhere;
}

.nm-price,
.woocommerce ul.products li.product .price {
  display: block;
  margin: 0 0 14px;
  color: var(--nm-black);
  font-size: 18px;
  font-weight: 800;
}

.nm-product-card .nm-button,
.woocommerce ul.products li.product .button {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 14px 14px;
}

.wapf-wrapper,
.wapf-product-totals {
  margin: 22px 0;
}

.wapf-field-group {
  display: grid;
  gap: 16px;
}

.wapf-field-container {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  margin: 0;
}

.wapf-field-label {
  margin: 0;
  color: var(--nm-text);
  font-size: 15px;
  font-weight: 800;
}

.wapf-field-label label {
  margin: 0;
}

.wapf-input,
.wapf-field-input select,
.wapf-field-input input[type="text"],
.wapf-field-input input[type="email"],
.wapf-field-input input[type="number"],
.wapf-field-input textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--nm-border);
  border-radius: var(--nm-radius);
  background: #fff;
  color: var(--nm-text);
  font-family: inherit;
  font-size: 15px;
  padding: 10px 12px;
}

.wapf-field-input textarea {
  min-height: 110px;
}

.wapf-field-input select:focus,
.wapf-field-input input:focus,
.wapf-field-input textarea:focus {
  border-color: var(--nm-black);
  outline: 0;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.08);
}

.wapf-pricing-hint,
.wapf-product-totals {
  color: var(--nm-muted);
  font-size: 14px;
}

.wapf-product-total,
.wapf-grand-total {
  color: var(--nm-black);
  font-weight: 900;
}

.wapf-field-container input[type="file"] {
  width: 100%;
  border: 1px dashed var(--nm-border);
  border-radius: var(--nm-radius);
  padding: 14px;
  background: var(--nm-soft);
}

.nm-trust {
  background: var(--nm-soft);
}

.nm-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--nm-border);
  background: #fff;
}

.nm-trust-item {
  padding: 28px;
  text-align: center;
}

.nm-trust-item + .nm-trust-item {
  border-left: 1px solid var(--nm-border);
}

.nm-trust-item strong {
  display: block;
  margin-bottom: 6px;
}

.nm-footer {
  background: #111;
  color: #fff;
  padding: 46px 0;
}

.nm-footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 30px;
}

.nm-footer a,
.nm-footer p {
  color: rgba(255, 255, 255, 0.74);
}

.nm-footer h2,
.nm-footer h3 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 16px;
}

.nm-content,
.nm-page-intro,
.nm-about-page {
  max-width: 860px;
  margin-inline: auto;
}

.nm-content h2,
.nm-page-intro h2,
.nm-about-page h2,
.nm-contact-form h2 {
  margin: 0 0 18px;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.15;
  text-align: center;
}

.nm-page-intro {
  margin-bottom: 28px;
  text-align: center;
}

.nm-contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0 auto 34px;
  max-width: 980px;
}

.nm-contact-card,
.nm-social-box,
.nm-contact-form {
  border: 1px solid var(--nm-border);
  border-radius: var(--nm-radius);
  background: #fff;
  padding: 24px;
}

.nm-contact-card {
  display: grid;
  gap: 10px;
  text-align: center;
}

.nm-contact-card strong {
  font-size: 18px;
}

.nm-contact-card span,
.nm-social-box p {
  color: var(--nm-muted);
}

.nm-contact-form {
  max-width: 860px;
  margin: 0 auto 32px;
}

.nm-contact-form form {
  display: grid;
  gap: 16px;
}

.nm-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.nm-contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

.nm-contact-form input,
.nm-contact-form textarea {
  width: 100%;
  border: 1px solid var(--nm-border);
  border-radius: var(--nm-radius);
  font: inherit;
  padding: 12px;
}

.nm-checkbox {
  display: flex !important;
  grid-template-columns: none;
  align-items: flex-start;
  gap: 10px !important;
  color: var(--nm-muted);
  font-weight: 500 !important;
}

.nm-checkbox input {
  width: auto;
  margin-top: 5px;
}

.nm-form-success {
  border: 1px solid #b7e1c0;
  border-radius: var(--nm-radius);
  background: #e7f5ea;
  color: #176b39;
  padding: 12px;
}

.nm-social-box {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.nm-about-page p {
  color: #333;
  font-size: 17px;
}

.nm-about-image {
  margin: 30px auto 0;
  text-align: center;
}

.nm-about-image img {
  width: min(600px, 100%);
  margin-inline: auto;
}

@media (max-width: 980px) {
  .nm-header-main {
    grid-template-columns: 1fr auto;
  }

  .nm-search {
    grid-column: 1 / -1;
    order: 3;
  }

  .nm-menu {
    justify-content: flex-start;
    overflow: visible;
    gap: 24px;
  }

  .nm-mega-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }

  .nm-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nm-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 981px) and (max-width: 1199px) {
  .nm-product-grid,
  .woocommerce ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 641px) and (max-width: 980px) {
  .nm-product-grid,
  .woocommerce ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .nm-container {
    width: min(100% - 24px, var(--nm-container));
  }

  .nm-header-main {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 14px 0;
  }

  .nm-logo img,
  .nm-logo-wrap img {
    max-height: 54px;
  }

  .nm-actions {
    justify-content: space-between;
  }

  .nm-menu {
    gap: 18px;
  }

  .nm-mega-menu {
    max-height: 70vh;
    overflow: auto;
  }

  .nm-mega-grid {
    grid-template-columns: 1fr;
    padding-block: 24px;
  }

  .nm-hero,
  .nm-hero-link,
  .nm-hero-content {
    min-height: 430px;
  }

  .nm-hero img {
    object-position: 60% center;
  }

  .nm-hero-panel {
    width: min(100%, 380px);
  }

  .nm-banners,
  .nm-home-tabs,
  .nm-category-grid,
  .nm-product-grid,
  .woocommerce ul.products,
  .nm-trust-grid,
  .nm-steps-grid,
  .nm-contact-grid,
  .nm-form-row,
  .nm-footer-grid {
    grid-template-columns: 1fr;
  }

  .nm-home-tabs {
    gap: 10px;
    margin-bottom: 20px;
  }

  .nm-home-tabs a {
    font-size: 15px;
  }

  .wapf-field-container {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .nm-trust-item + .nm-trust-item {
    border-left: 0;
    border-top: 1px solid var(--nm-border);
  }
}

@media (max-width: 767px) {
  .admin-bar .nm-header {
    top: 46px;
  }

  .nm-header-main {
    grid-template-columns: 1fr auto;
    gap: 12px;
  }

  .nm-logo-wrap {
    grid-column: 1 / -1;
  }

  .nm-mobile-menu-toggle {
    display: inline-flex;
  }

  .nm-actions {
    grid-column: 1 / -1;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
    white-space: normal;
  }

  .nm-action {
    min-height: 44px;
    gap: 6px;
    font-size: 13px;
  }

  .nm-action span {
    max-width: 82px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nm-search {
    grid-column: 1 / -1;
    order: 3;
    width: 100%;
  }

  .nm-nav {
    display: none;
  }

  .nm-nav.is-open {
    display: block;
  }

  .nm-menu {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 8px 0;
    overflow: visible;
  }

  .nm-menu > li {
    border-bottom: 1px solid var(--nm-border);
  }

  .nm-menu a,
  .nm-menu-button {
    width: 100%;
    justify-content: space-between;
    min-height: 48px;
    border-bottom: 0;
    padding: 0;
    text-align: left;
  }

  .nm-mega-menu {
    position: static;
    display: none;
    max-height: none;
    border: 0;
    box-shadow: none;
  }

  .nm-menu-has-mega:hover .nm-mega-menu,
  .nm-menu-has-mega:focus-within .nm-mega-menu {
    display: none;
  }

  .nm-menu-has-mega.is-open .nm-mega-menu {
    display: block;
  }

  .nm-mega-grid {
    width: 100%;
    padding: 8px 0 18px;
  }
}

@media (max-width: 430px) {
  .nm-container {
    width: min(100% - 20px, var(--nm-container));
  }

  .nm-topbar {
    font-size: 12px;
    line-height: 1.35;
    padding: 8px 10px;
  }

  .nm-header-main {
    padding: 10px 0;
  }

  .nm-logo img,
  .nm-logo-wrap img {
    max-width: 210px;
    max-height: 48px;
  }

  .nm-hero,
  .nm-hero-link,
  .nm-hero-content,
  .nm-hero-slide {
    min-height: clamp(230px, 62vw, 300px);
  }

  .nm-section {
    padding: 34px 0;
  }

  .nm-banners {
    gap: 14px;
  }

  .nm-banner {
    aspect-ratio: 1.55 / 1;
  }

  .nm-product-tabs {
    gap: 18px;
  }

  .nm-product-tabs span {
    font-size: 24px;
  }

  .nm-step strong {
    font-size: 17px;
  }
}

@media (max-width: 390px) {
  .nm-action span {
    max-width: 70px;
  }

  .nm-search input {
    min-width: 0;
  }
}

@media (max-width: 360px) {
  .nm-container {
    width: min(100% - 16px, var(--nm-container));
  }

  .nm-logo img,
  .nm-logo-wrap img {
    max-width: 185px;
  }

  .nm-action {
    font-size: 12px;
  }

  .nm-action svg,
  .nm-search svg {
    width: 20px;
    height: 20px;
  }
}

/* Mobile-first responsive hardening, v1.6.0 */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

body {
  width: 100%;
  overflow-x: hidden;
}

.nm-container {
  width: 100%;
  max-width: var(--nm-container);
  margin-inline: auto;
  padding-inline: 16px;
}

.nm-section {
  padding-block: clamp(32px, 8vw, 64px);
}

.nm-topbar {
  font-size: clamp(12px, 3.4vw, 14px);
  line-height: 1.35;
  padding: 8px 16px;
}

.nm-header-main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding-block: 12px;
}

.nm-logo-wrap {
  width: 100%;
}

.nm-logo img,
.nm-logo-wrap img {
  width: auto;
  max-width: min(220px, calc(100% - 60px));
  max-height: 50px;
}

.nm-mobile-menu-toggle {
  display: inline-flex;
}

.nm-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 12px;
  white-space: normal;
}

.nm-action {
  min-height: 44px;
  max-width: 100%;
  font-size: clamp(12px, 3.3vw, 14px);
}

.nm-action span {
  max-width: 86px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nm-search {
  width: 100%;
  min-width: 0;
}

.nm-search input {
  min-width: 0;
}

.nm-nav {
  display: none;
}

.nm-nav.is-open {
  display: block;
}

.nm-menu {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  overflow: visible;
  padding-block: 8px;
}

.nm-menu > li {
  border-bottom: 1px solid var(--nm-border);
}

.nm-menu a,
.nm-menu-button {
  width: 100%;
  min-height: 48px;
  justify-content: space-between;
  border-bottom: 0;
  padding: 0;
  font-size: clamp(14px, 4vw, 16px);
  text-align: left;
}

.nm-mega-menu {
  position: static;
  display: none;
  max-height: none;
  border: 0;
  box-shadow: none;
}

.nm-menu-has-mega:hover .nm-mega-menu,
.nm-menu-has-mega:focus-within .nm-mega-menu {
  display: none;
}

.nm-menu-has-mega.is-open .nm-mega-menu {
  display: block;
}

.nm-mega-grid {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding-block: 8px 18px;
}

.nm-mega-column h3 {
  font-size: clamp(14px, 4vw, 16px);
}

.nm-mega-column a {
  overflow-wrap: anywhere;
}

.nm-hero,
.nm-hero-link,
.nm-hero-content,
.nm-hero-slide {
  min-height: clamp(230px, 62vw, 320px);
}

.nm-hero img,
.nm-hero-link img,
.nm-hero-slide img {
  max-width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% center;
}

.nm-hero h1 {
  font-size: clamp(28px, 10vw, 44px);
}

.nm-hero p,
.nm-about-page p {
  font-size: clamp(15px, 4vw, 17px);
}

.nm-home-tabs,
.nm-product-tabs,
.nm-banners,
.nm-category-grid,
.nm-steps-grid,
.nm-product-grid,
.woocommerce ul.products,
.nm-trust-grid,
.nm-contact-grid,
.nm-form-row,
.nm-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
}

.nm-home-tabs {
  gap: 10px;
}

.nm-product-tabs span,
.nm-section-title,
.nm-content h2,
.nm-page-intro h2,
.nm-about-page h2,
.nm-contact-form h2 {
  font-size: clamp(22px, 7vw, 34px);
  overflow-wrap: anywhere;
}

.nm-product-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 22px;
}

.nm-banners,
.nm-product-grid,
.woocommerce ul.products {
  gap: 18px;
}

.nm-banner {
  aspect-ratio: 1.55 / 1;
}

.nm-product-media,
.woocommerce ul.products li.product a img,
.nm-category-card img,
.nm-banner img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

.nm-product-media,
.woocommerce ul.products li.product a img {
  aspect-ratio: 1 / 1;
}

.nm-product-card,
.woocommerce ul.products li.product {
  min-width: 0;
}

.nm-product-card h3,
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  min-height: 0;
  font-size: clamp(14px, 4vw, 16px);
  overflow-wrap: anywhere;
}

.nm-button,
.button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.nm-search button {
  min-height: 44px;
}

.wapf-field-container {
  grid-template-columns: 1fr;
  gap: 8px;
}

.nm-contact-card,
.nm-social-box,
.nm-contact-form,
.nm-trust-item {
  padding: clamp(18px, 5vw, 28px);
}

.nm-footer {
  padding-block: clamp(34px, 8vw, 56px);
}

.nm-footer-grid {
  gap: 22px;
}

@media (min-width: 768px) {
  .nm-container {
    padding-inline: 24px;
  }

  .nm-header-main {
    grid-template-columns: minmax(180px, 240px) minmax(260px, 1fr) auto;
    align-items: center;
    gap: 20px;
    padding-block: 18px;
  }

  .nm-mobile-menu-toggle {
    display: none;
  }

  .nm-logo img,
  .nm-logo-wrap img {
    max-width: 240px;
    max-height: 68px;
  }

  .nm-actions {
    flex-wrap: nowrap;
    white-space: nowrap;
  }

  .nm-action span {
    max-width: none;
  }

  .nm-nav {
    display: block;
  }

  .nm-menu {
    display: flex;
    justify-content: center;
    gap: clamp(18px, 3vw, 28px);
    padding-block: 0;
  }

  .nm-menu > li {
    border-bottom: 0;
  }

  .nm-menu a,
  .nm-menu-button {
    width: auto;
    padding: 0;
  }

  .nm-mega-menu {
    position: absolute;
    left: 0;
    right: 0;
    display: none;
    border-top: 1px solid var(--nm-border);
    border-bottom: 1px solid var(--nm-border);
    box-shadow: 0 14px 24px rgba(0, 0, 0, 0.04);
  }

  .nm-menu-has-mega:hover .nm-mega-menu,
  .nm-menu-has-mega:focus-within .nm-mega-menu,
  .nm-menu-has-mega.is-open .nm-mega-menu {
    display: block;
  }

  .nm-mega-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    padding-block: 28px 34px;
  }

  .nm-hero,
  .nm-hero-link,
  .nm-hero-content,
  .nm-hero-slide {
    min-height: clamp(360px, 45vw, 560px);
  }

  .nm-home-tabs,
  .nm-steps-grid,
  .nm-contact-grid,
  .nm-trust-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .nm-banners,
  .nm-category-grid,
  .nm-product-grid,
  .woocommerce ul.products,
  .nm-form-row,
  .nm-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nm-banner {
    aspect-ratio: 2.06 / 1;
  }

  .wapf-field-container {
    grid-template-columns: minmax(150px, 190px) minmax(0, 1fr);
  }
}

@media (min-width: 1024px) {
  .nm-container {
    padding-inline: 32px;
  }

  .nm-header-main {
    grid-template-columns: minmax(210px, 250px) minmax(300px, 1fr) auto;
    gap: 28px;
  }

  .nm-mega-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 36px 78px;
  }

  .nm-category-grid,
  .nm-product-grid,
  .woocommerce ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .nm-footer-grid {
    grid-template-columns: 1.3fr repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1280px) {
  .nm-product-grid,
  .woocommerce ul.products {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .nm-category-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Sticky header reliability layer, v1.6.1 */
:root {
  --nm-admin-offset: 0px;
  --nm-sticky-header-height: 0px;
}

html,
body {
  overflow-x: clip;
}

.nm-header {
  position: sticky !important;
  top: var(--nm-admin-offset, 0px) !important;
  z-index: 2147483000 !important;
  overflow: visible !important;
  isolation: isolate;
  transform: none !important;
  will-change: top;
}

.admin-bar .nm-header {
  top: var(--nm-admin-offset, 32px) !important;
}

.nm-header-main,
.nm-nav,
.nm-menu,
.nm-menu > li {
  overflow: visible;
}

.nm-mega-menu {
  z-index: 2147482999;
}

.nm-mobile-menu-toggle {
  position: relative;
  z-index: 2147483001;
  pointer-events: auto;
}

.nm-header-spacer {
  display: none;
  height: var(--nm-sticky-header-height);
}

.nm-header-force-fixed .nm-header {
  position: fixed !important;
  top: var(--nm-admin-offset, 0px) !important;
  left: 0;
  right: 0;
  width: 100%;
}

.nm-header-force-fixed .nm-header-spacer {
  display: block;
}

@supports not (overflow-x: clip) {
  html,
  body {
    overflow-x: hidden;
  }
}

/* Mobile navigation and scroll-to-top, v1.7.0 */
.nm-scroll-top,
.nm-mobile-menu-head {
  display: none;
}

@media (max-width: 767px) {
  .nm-header {
    position: relative !important;
    top: auto !important;
    z-index: 50 !important;
  }

  .admin-bar .nm-header {
    top: auto !important;
  }

  .nm-header-force-fixed .nm-header {
    position: relative !important;
    top: auto !important;
  }

  .nm-header-force-fixed .nm-header-spacer {
    display: none !important;
  }

  .nm-scroll-top {
    position: fixed;
    right: 14px;
    bottom: 18px;
    z-index: 2147483000;
    display: inline-flex;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: var(--nm-black);
    color: #fff;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .nm-scroll-top.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nm-scroll-top svg {
    width: 26px;
    height: 26px;
    stroke-width: 2.6;
  }

  .nm-nav.is-open {
    position: fixed;
    inset: 0;
    z-index: 2147482998;
    display: block;
    overflow-y: auto;
    background: #fff;
  }

  .nm-nav.is-open > .nm-container {
    width: 100%;
    max-width: none;
    padding-inline: 0;
  }

  .nm-mobile-menu-head {
    position: sticky;
    top: 0;
    z-index: 2;
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    align-items: center;
    min-height: 62px;
    border-bottom: 1px solid var(--nm-border);
    background: #fff;
    padding-inline: 12px;
  }

  .nm-mobile-menu-head strong {
    justify-self: start;
    font-size: 17px;
    font-weight: 800;
  }

  .nm-mobile-menu-back,
  .nm-mobile-menu-close {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    color: var(--nm-black);
    padding: 0;
  }

  .nm-mobile-menu-back svg,
  .nm-mobile-menu-close svg {
    width: 24px;
    height: 24px;
    stroke-width: 2.4;
  }

  .nm-nav.is-open .nm-menu {
    padding: 0;
  }

  .nm-nav.is-open .nm-menu > li:not(.nm-menu-has-mega) {
    display: none;
  }

  .nm-nav.is-open .nm-menu-button {
    display: none;
  }

  .nm-nav.is-open .nm-mega-menu {
    display: block;
  }

  .nm-nav.is-open .nm-mega-grid {
    display: grid;
    gap: 0;
    padding: 20px 22px 80px;
  }

  .nm-nav.is-open .nm-mega-column {
    border-bottom: 1px solid #eee;
    padding: 0;
  }

  .nm-nav.is-open .nm-mega-column h3 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 52px;
    margin: 0;
    color: #333;
    font-size: 16px;
    font-weight: 500;
  }

  .nm-nav.is-open .nm-mega-column h3::after {
    content: ">";
    color: #333;
    font-size: 22px;
    line-height: 1;
  }

  .nm-nav.is-open .nm-mega-column ul {
    display: none;
  }

  .nm-nav.is-open .nm-mega-column:has(ul:empty) h3::after,
  .nm-nav.is-open .nm-mega-column:nth-last-child(-n + 2) h3::after {
    content: "";
  }

  .nm-mobile-nav-open {
    overflow: hidden;
  }
}

/* Home slider refinements, v1.7.1 */
@media (max-width: 767px) {
  .nm-hero,
  .nm-hero-link,
  .nm-hero-content,
  .nm-hero-slide {
    min-height: clamp(145px, 43vw, 210px);
  }

  .nm-hero img,
  .nm-hero-link img,
  .nm-hero-slide img {
    object-fit: contain;
    object-position: center;
    background: #f4f6f8;
  }

  .nm-hero-arrow {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16);
  }

  .nm-hero-arrow-prev {
    left: 8px;
  }

  .nm-hero-arrow-next {
    right: 8px;
  }

  .nm-home-tabs-section {
    padding-top: 22px;
  }

  .nm-home-tabs {
    display: none;
  }
}

@media (min-width: 768px) {
  .nm-home-tabs a {
    cursor: pointer;
  }
}

/* WooCommerce shop archive, v1.8.0 */
.nm-shop-page {
  padding: 26px 0 64px;
}

.nm-shop-breadcrumb,
.woocommerce .woocommerce-breadcrumb {
  margin: 0 0 22px;
  color: var(--nm-muted);
  font-size: 14px;
}

.nm-shop-breadcrumb a,
.woocommerce .woocommerce-breadcrumb a {
  color: var(--nm-text);
}

.nm-shop-layout {
  display: grid;
  grid-template-columns: minmax(240px, 296px) minmax(0, 1fr);
  gap: clamp(24px, 3vw, 42px);
  align-items: start;
}

.nm-shop-sidebar {
  display: grid;
  gap: 14px;
}

.nm-shop-widget {
  border: 1px solid var(--nm-border);
  border-radius: 10px;
  background: #fff;
  padding: 24px 28px 28px;
}

.nm-shop-widget h2 {
  margin: 0 0 24px;
  font-size: 21px;
  line-height: 1.2;
}

.nm-shop-category-group {
  border-bottom: 1px solid var(--nm-border);
  padding: 0;
}

.nm-shop-category-group summary,
.nm-shop-category-link {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  color: var(--nm-text);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  list-style: none;
}

.nm-shop-category-group summary::-webkit-details-marker {
  display: none;
}

.nm-shop-category-group summary::after {
  content: "";
  width: 8px;
  height: 8px;
  margin-left: 14px;
  border: solid var(--nm-text);
  border-width: 0 2px 2px 0;
  transform: rotate(-45deg);
  transition: transform 0.18s ease;
}

.nm-shop-category-group[open] summary::after {
  transform: rotate(45deg);
}

.nm-shop-category-group ul {
  display: grid;
  gap: 14px;
  margin: 4px 0 16px;
  padding: 0 0 0 16px;
  list-style: none;
}

.nm-shop-category-group li a,
.nm-shop-category-link {
  color: #30343b;
  font-size: 15px;
  font-weight: 500;
}

.nm-shop-category-link {
  border-bottom: 1px solid var(--nm-border);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.nm-shop-filter form {
  display: grid;
  gap: 18px;
}

.nm-shop-filter label {
  display: grid;
  gap: 8px;
}

.nm-shop-filter label span,
.nm-shop-filter strong {
  font-size: 14px;
  font-weight: 700;
}

.nm-shop-filter input {
  width: 100%;
  min-height: 40px;
  border: 0;
  border-bottom: 1px solid var(--nm-black);
  border-radius: 0;
  background: transparent;
  padding: 8px 0;
  font: inherit;
}

.nm-price-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.nm-price-fields input {
  min-height: 40px;
  border: 0;
  border-radius: 6px;
  background: #f2f2f2;
  padding: 0 12px;
}

.nm-shop-filter .nm-button {
  width: 100%;
  border-radius: 7px;
}

.nm-shop-main {
  min-width: 0;
}

.nm-shop-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: end;
  margin-bottom: 22px;
}

.nm-shop-header h1 {
  margin: 0 0 8px;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.12;
}

.nm-shop-header p {
  margin: 0;
  font-size: 14px;
}

.nm-shop-ordering .woocommerce-ordering {
  float: none;
  margin: 0;
}

.nm-shop-ordering select,
.woocommerce .woocommerce-ordering select {
  min-width: 210px;
  min-height: 42px;
  border: 0;
  border-bottom: 1px solid var(--nm-black);
  border-radius: 0;
  background: transparent;
  padding: 0 34px 0 0;
  font: inherit;
}

.nm-shop-layout ul.products {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px 26px;
}

.nm-shop-layout ul.products li.product {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.nm-shop-layout ul.products li.product:hover {
  border-color: transparent;
  box-shadow: none;
}

.nm-shop-layout ul.products li.product a img {
  aspect-ratio: 0.76 / 1;
  border-radius: 10px;
}

.nm-shop-layout ul.products li.product .woocommerce-loop-product__title,
.nm-shop-layout ul.products li.product .price {
  padding-inline: 0;
}

.nm-shop-layout ul.products li.product .woocommerce-loop-product__title {
  min-height: 44px;
  margin-top: 14px;
  font-size: 15px;
  font-weight: 500;
}

.nm-shop-layout ul.products li.product .price {
  margin-top: 6px;
  color: #d60027;
  font-size: 17px;
}

.nm-shop-layout ul.products li.product .button {
  margin: 10px 0 0;
  border-radius: 6px;
}

@media (max-width: 1023px) {
  .nm-shop-layout {
    grid-template-columns: minmax(210px, 260px) minmax(0, 1fr);
    gap: 22px;
  }

  .nm-shop-layout ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .nm-shop-page {
    padding-top: 18px;
  }

  .nm-shop-layout {
    grid-template-columns: 1fr;
  }

  .nm-shop-widget {
    padding: 18px;
  }

  .nm-shop-header {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .nm-shop-ordering select,
  .woocommerce .woocommerce-ordering select {
    width: 100%;
    min-width: 0;
  }

  .nm-shop-layout ul.products {
    grid-template-columns: 1fr;
  }
}

/* Single product page, v1.9.0 */
.nm-single-product-page {
  padding: 22px 0 70px;
}

.nm-product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: clamp(34px, 5vw, 70px);
  align-items: start;
}

.nm-product-gallery {
  min-width: 0;
}

.nm-product-main-image {
  display: flex;
  min-height: clamp(420px, 52vw, 720px);
  align-items: center;
  justify-content: center;
  background: #f4f7f6;
}

.nm-product-main-image img {
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 720px;
  object-fit: contain;
}

.nm-product-thumbs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.nm-product-thumbs a {
  display: block;
  border: 1px solid var(--nm-border);
  border-radius: 8px;
  overflow: hidden;
  background: #f4f7f6;
}

.nm-product-thumbs img {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
}

.nm-product-summary {
  min-width: 0;
  padding-top: 8px;
}

.nm-product-summary h1 {
  margin: 0 0 20px;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.13;
}

.nm-product-rating {
  margin-bottom: 12px;
}

.nm-product-price,
.nm-product-summary .price {
  margin: 0 0 22px;
  color: #8a8300;
  font-size: 22px;
  font-weight: 600;
}

.nm-product-price del {
  color: var(--nm-muted);
  font-size: 16px;
}

.nm-product-price ins {
  color: #d60027;
  text-decoration: none;
}

.nm-product-stock {
  margin: 0 0 18px;
  color: #8a8300;
  font-size: 15px;
}

.nm-product-cart {
  margin-bottom: 24px;
}

.nm-product-cart form.cart {
  display: grid;
  gap: 16px;
}

.nm-product-cart form.cart::before,
.nm-product-cart form.cart::after {
  display: none;
}

.nm-product-cart .quantity {
  display: inline-flex;
  width: auto;
  margin: 0 4px 0 0;
  float: none;
}

.nm-product-cart .quantity input.qty {
  width: 62px;
  min-height: 44px;
  border: 1px solid #888;
  border-radius: 0;
  padding: 0 8px;
  font: inherit;
}

.nm-product-cart .single_add_to_cart_button,
.woocommerce .nm-product-cart button.button.single_add_to_cart_button {
  min-width: 190px;
  min-height: 48px;
  border-radius: 6px;
  background: var(--nm-black);
  color: #fff;
  font-weight: 800;
}

.nm-product-cart .wapf-wrapper {
  margin: 0 0 4px;
}

.nm-product-cart .wapf-field-container {
  margin: 0 0 14px;
}

.nm-product-cart .wapf-field-label {
  margin-bottom: 7px;
  font-weight: 800;
}

.nm-product-cart .wapf-field-input select,
.nm-product-cart .wapf-field-input input,
.nm-product-cart .wapf-field-input textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--nm-border);
  border-radius: 6px;
  background: #fff;
  padding: 10px 12px;
  font: inherit;
}

.nm-phone-order,
.nm-product-delivery {
  border-top: 1px solid var(--nm-border);
  padding: 20px 0;
}

.nm-phone-order strong,
.nm-phone-order a {
  color: var(--nm-text);
}

.nm-phone-order-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  margin-top: 12px;
}

.nm-phone-order-form label {
  display: grid;
  gap: 6px;
}

.nm-phone-order-form span {
  font-size: 13px;
  font-weight: 700;
}

.nm-phone-order-form input {
  min-height: 44px;
  border: 1px solid var(--nm-border);
  border-radius: 6px;
  padding: 0 12px;
  font: inherit;
}

.nm-phone-order-form button {
  align-self: end;
  min-height: 44px;
  border: 0;
  border-radius: 6px;
  background: var(--nm-black);
  color: #fff;
  padding: 0 18px;
  font-weight: 800;
}

.nm-product-delivery h2 {
  margin: 0 0 12px;
  font-size: 20px;
}

.nm-product-delivery p {
  margin: 8px 0;
}

.nm-product-meta {
  border-top: 1px solid var(--nm-border);
  padding-top: 18px;
  color: var(--nm-muted);
  font-size: 14px;
}

.nm-product-meta a {
  color: var(--nm-text);
}

.nm-product-description {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 40px;
  margin-top: 54px;
  border-top: 1px solid var(--nm-border);
  padding-top: 38px;
}

.nm-product-description h2,
.nm-related-products h2 {
  margin: 0 0 18px;
  font-size: clamp(24px, 2.3vw, 32px);
}

.nm-product-description p,
.nm-product-description li {
  font-size: 16px;
  line-height: 1.7;
}

.nm-product-description ul {
  padding-left: 20px;
}

.nm-product-params {
  border: 1px solid var(--nm-border);
  border-radius: 10px;
  padding: 22px;
}

.nm-product-params table {
  width: 100%;
  border-collapse: collapse;
}

.nm-product-params th,
.nm-product-params td {
  border-bottom: 1px solid var(--nm-border);
  padding: 10px 0;
  text-align: left;
  vertical-align: top;
}

.nm-related-products {
  margin-top: 54px;
}

.nm-related-products ul.products {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1023px) {
  .nm-product-detail,
  .nm-product-description {
    grid-template-columns: 1fr;
  }

  .nm-product-main-image {
    min-height: clamp(320px, 62vw, 540px);
  }

  .nm-related-products ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .nm-single-product-page {
    padding-top: 16px;
  }

  .nm-product-detail {
    gap: 26px;
  }

  .nm-product-main-image {
    min-height: clamp(260px, 92vw, 410px);
  }

  .nm-product-summary h1 {
    font-size: clamp(25px, 8vw, 32px);
  }

  .nm-phone-order-form {
    grid-template-columns: 1fr;
  }

  .nm-product-thumbs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .nm-related-products ul.products {
    grid-template-columns: 1fr;
  }
}

/* Compact desktop mega menu and slider labels, v1.10.1 */
@media (min-width: 768px) {
  .nm-mega-grid {
    gap: 20px 58px;
    padding-block: 22px 26px;
  }

  .nm-mega-column h3 {
    margin-bottom: 4px;
    font-size: 14px;
    line-height: 1.3;
  }

  .nm-mega-column ul {
    gap: 1px;
  }

  .nm-menu .nm-mega-column a {
    width: auto;
    min-height: 28px;
    justify-content: flex-start;
    padding: 2px 0;
    font-size: 14px;
    line-height: 1.3;
  }

  .nm-menu .nm-mega-column h3 a::before {
    display: none;
  }

  .nm-menu .nm-mega-column li > a::before {
    content: "";
    display: block;
    flex: 0 0 auto;
    width: 5px;
    height: 5px;
    margin-right: 9px;
    border: 0;
    border-radius: 50%;
    background: currentColor;
    transform: none;
  }

  .nm-home-tabs-section {
    padding-block: 26px 38px;
  }

  .nm-home-tabs {
    gap: 18px;
    margin-bottom: 24px;
  }

  .nm-home-tabs a {
    min-height: 32px;
    padding: 3px 8px 6px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.25;
  }
}

@media (max-width: 767px) {
  .nm-nav.is-open .nm-mega-column h3 a {
    display: flex;
    width: 100%;
    min-height: 52px;
    align-items: center;
  }

  .nm-nav.is-open .nm-mega-column h3 a::before {
    display: none;
  }
}

