:root {
  --nmk-green: #146236;
  --nmk-green-dark: #0e512b;
  --nmk-brown: #674532;
  --nmk-text: #203128;
  --nmk-border: #dfe8e1;
  --nmk-focus: #ffbf47;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  color: var(--nmk-text);
}

img {
  max-width: 100%;
}

a,
button,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--nmk-focus);
  outline-offset: 3px;
}

.hdr-content-sticky {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(8px);
}

.search-input {
  min-height: 44px;
  border-radius: 6px;
}

.hdr-wrap .search-input[type] {
  border: 1px solid var(--nmk-border);
  border-radius: 6px;
  background-color: #fff;
}

.hdr-wrap .search-input[type]:focus {
  border-color: var(--nmk-green);
  box-shadow: 0 0 0 3px rgba(20, 98, 54, .12);
}

.has-sticky .hdr-content.hdr-content-sticky {
  z-index: 1030 !important;
}

.prd {
  transition: transform .18s ease, box-shadow .18s ease;
}

.prd-inside {
  border: 1px solid rgba(20, 98, 54, .08);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.prd:hover .prd-inside,
.prd:focus-within .prd-inside {
  border-color: rgba(20, 98, 54, .22);
  box-shadow: 0 10px 28px rgba(31, 69, 43, .10);
  transform: translateY(-2px);
}

.prd-img-area {
  background: #f7f9f6;
}

.btn,
.prd-action .btn {
  min-height: 42px;
  border-radius: 22px;
  font-weight: 700;
}

.qty-changer .decrease,
.qty-changer .increase {
  min-width: 38px;
  min-height: 38px;
}

#dropdnMinicart .nmk-mini-cart-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 14px;
  padding: 14px;
  border: 1px solid #e7eee8;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(20,70,35,.06);
}

#dropdnMinicart .nmk-mini-cart-image {
  flex: 0 0 82px;
  max-width: 82px;
  padding: 0;
}

#dropdnMinicart .nmk-mini-cart-image img {
  width: 82px;
  height: 82px;
  object-fit: cover;
  border-radius: 12px;
  background: #f5f7f4;
}

#dropdnMinicart .nmk-mini-cart-info {
  min-width: 0;
  padding: 0;
}

#dropdnMinicart .nmk-mini-cart-tag {
  font-size: 10px;
  letter-spacing: .12em;
  font-weight: 700;
  color: #6b8a72;
  margin: 0 0 5px;
}

#dropdnMinicart .nmk-mini-cart-name {
  font-size: 14px;
  line-height: 1.4;
  font-weight: 650;
  margin: 0 0 6px;
}

#dropdnMinicart .nmk-mini-cart-name a {
  color: #243329;
  text-decoration: none;
}

#dropdnMinicart .nmk-mini-cart-variant {
  color: #68756c;
  font-weight: 500;
}

#dropdnMinicart .nmk-mini-cart-price {
  font-size: 16px;
  font-weight: 750;
  color: var(--nmk-green);
  margin: 0 0 10px;
}

#dropdnMinicart .nmk-mini-cart-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

#dropdnMinicart .nmk-mini-qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid #dce6de;
  border-radius: 10px;
  overflow: hidden;
  background: #f8faf8;
}

#dropdnMinicart .nmk-mini-qty-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 0;
  background: #edf4ee;
  color: var(--nmk-green);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

#dropdnMinicart .nmk-mini-qty-btn:hover {
  background: #dcebdd;
}

#dropdnMinicart .nmk-mini-qty-btn:disabled {
  opacity: .4;
  cursor: not-allowed;
}

#dropdnMinicart .nmk-mini-cart-item {
  position: relative;
}

#dropdnMinicart .nmk-mini-qty-control,
#dropdnMinicart .nmk-mini-qty-btn,
#dropdnMinicart .nmk-mini-remove-btn {
  position: relative;
  z-index: 5;
  pointer-events: auto;
}

#dropdnMinicart .nmk-mini-qty-btn,
#dropdnMinicart .nmk-mini-remove-btn {
  touch-action: manipulation;
}

#dropdnMinicart .nmk-mini-qty-control {
  display: inline-flex;
  visibility: visible;
  opacity: 1;
}

#dropdnMinicart button.nmk-mini-qty-btn {
  display: inline-flex;
  visibility: visible;
  opacity: 1;
  width: 32px;
  min-width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  line-height: 1;
  color: var(--nmk-green);
  background: #edf4ee;
  border: 0;
  font-size: 20px;
  cursor: pointer;
}

#dropdnMinicart .minicart-prd-qty-value {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  font-size: 13px;
  font-weight: 700;
  color: #25372a;
}

#dropdnMinicart .nmk-mini-remove-btn {
  border: 0;
  background: transparent;
  color: #9a4545;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 2px;
  cursor: pointer;
}

#dropdnMinicart .nmk-mini-remove-btn:hover {
  color: #c22f2f;
  text-decoration: underline;
}

#dropdnMinicart .nmk-cart-toast {
  position: sticky;
  top: 0;
  z-index: 20;
  margin: 0 0 12px;
  padding: 11px 14px;
  border-radius: 12px;
  background: #e9f6ec;
  color: var(--nmk-green);
  border: 1px solid #cce8d2;
  font-size: 13px;
  font-weight: 650;
  box-shadow: 0 4px 14px rgba(20,70,35,.08);
}

#dropdnMinicart .nmk-cart-toast.is-error {
  background: #fff0f0;
  color: #a32626;
  border-color: #f0cccc;
}

#dropdnMinicart .minicart-drop-actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  margin: 15px 0 25px;
}

#dropdnMinicart .minicart-drop-actions .btn {
  display: flex;
  flex: 1 1 0;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  margin: 0;
  text-align: center;
}

#show-cartsucces {
  background-color: var(--nmk-green);
  color: #fff;
  border-color: var(--nmk-green-dark);
}

.nmk-back-to-top {
  position: fixed;
  right: 84px;
  bottom: 20px;
  z-index: 99998;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--nmk-green);
  box-shadow: 0 4px 16px rgba(0,0,0,.18);
  font-size: 22px;
  line-height: 48px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .18s ease, visibility .18s ease, transform .18s ease;
}

.nmk-back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nmk-floating-whatsapp,
.nmk-floating-cart {
  position: fixed;
  bottom: 20px;
  z-index: 99999;
  display: flex;
  flex: 0 0 60px;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  touch-action: manipulation;
}

.nmk-floating-whatsapp {
  left: 20px;
}

.nmk-floating-whatsapp img {
  display: block;
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.nmk-floating-cart {
  right: 20px;
  background: var(--nmk-green);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0,0,0,.24);
}

.nmk-floating-cart:hover,
.nmk-floating-cart:focus {
  background: var(--nmk-green-dark);
  color: #fff;
}

.nmk-floating-cart .icon-shopping-cart {
  display: block;
  width: 28px;
  height: 28px;
  font-size: 26px;
  line-height: 28px;
  text-align: center;
}

.nmk-floating-cart-count {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 21px;
  height: 21px;
  padding: 0 5px;
  border: 2px solid #fff;
  border-radius: 11px;
  background: #e33c32;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.nmk-floating-cart-count[hidden] {
  display: none;
}

.nmk-floating-whatsapp:focus-visible,
.nmk-floating-cart:focus-visible {
  outline: 3px solid var(--nmk-focus);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (max-width: 767px) {
  html {
    overflow-x: hidden;
  }

  .nmk-floating-whatsapp,
  .nmk-floating-cart {
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  }

  #dropdnMinicart .minicart-drop-actions {
    flex-direction: column;
    gap: 10px;
    margin: 10px 0 20px;
  }

  #dropdnMinicart .minicart-drop-actions .btn {
    width: 100%;
    flex: none;
  }

  .nmk-back-to-top {
    right: 76px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 480px) {
  .nmk-floating-whatsapp,
  .nmk-floating-cart {
    flex-basis: 54px;
    width: 54px;
    height: 54px;
  }

  .nmk-floating-whatsapp {
    left: max(14px, env(safe-area-inset-left, 0px));
  }

  .nmk-floating-whatsapp img {
    width: 54px;
    height: 54px;
  }

  .nmk-floating-cart {
    right: max(14px, env(safe-area-inset-right, 0px));
  }

  #dropdnMinicart .nmk-mini-cart-item {
    padding: 11px;
    gap: 10px;
  }

  #dropdnMinicart .nmk-mini-cart-image {
    flex-basis: 68px;
    max-width: 68px;
  }

  #dropdnMinicart .nmk-mini-cart-image img {
    width: 68px;
    height: 68px;
  }

  #dropdnMinicart .nmk-mini-cart-name {
    font-size: 13px;
  }

  #dropdnMinicart .nmk-mini-cart-bottom {
    gap: 6px;
  }
}

.hdr-wrap .hdr-links-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.hdr-wrap .hdr-inline-link {
  align-items: center;
  gap: 4px;
  margin: 0;
}

.hdr-wrap .hdr-inline-link .dropdn-link {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.qty-changer button {
  width: 38px;
  max-width: 38px;
  min-width: 38px;
  height: 38px;
  min-height: 38px;
}

.qty-changer button:before {
  left: calc(50% - 4.5px);
}

.qty-changer button.increase:after {
  top: calc(50% - 4.5px);
}

@media (min-width: 1025px) {
  .hdr-wrap .hdr-content > .container > .row {
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr) max-content;
    column-gap: 16px;
    align-items: center;
  }

  .hdr-wrap .hdr-content > .container > .row > .hdr-banner {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    width: 100%;
  }

  .hdr-wrap .hdr-content > .container > .row > .hdr-logo {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    justify-content: flex-start;
    width: 160px;
    max-width: 160px;
    margin: 0;
    padding-right: 0;
    padding-left: 0;
  }

  .hdr-wrap .hdr-content > .container > .row > .hdr-links-wrap {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    width: auto;
    margin-left: 0 !important;
    padding-right: 0;
    padding-left: 8px;
    white-space: nowrap;
  }

  .hdr-wrap .hdr-links-wrap .hdr-inline-link {
    display: flex;
    flex: 0 0 auto;
    gap: 8px;
  }

  .hdr-wrap .hdr-banner .search {
    width: 100% !important;
    max-width: none;
    padding-right: 0;
  }

  .hdr-wrap .hdr-banner .search-input[type] {
    width: 100% !important;
    padding-right: 12px !important;
  }

  .hdr-wrap .hdr-banner > .container {
    width: 100%;
    max-width: none;
    padding-right: 0;
    padding-left: 0;
  }
}

@media (max-width: 1024px) {
  .hdr-wrap .hdr-content > .container > .row {
    position: relative;
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) auto;
    grid-template-rows: 64px auto;
    column-gap: 4px;
    align-items: center;
  }

  .hdr-wrap .hdr-content > .container > .row > .show-mobile {
    grid-column: 1;
    grid-row: 1;
    width: 58px;
    max-width: 58px;
    padding: 5px 0 !important;
  }

  .hdr-wrap .hdr-content > .container > .row > .hdr-logo {
    position: absolute;
    top: 0;
    left: 50%;
    z-index: 2;
    display: flex;
    width: 160px;
    max-width: 40vw;
    height: 64px;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0 !important;
    transform: translateX(-50%);
  }

  .hdr-wrap .hdr-content > .container > .row > .hdr-logo img {
    width: 100%;
    max-height: 52px;
    object-fit: contain;
  }

  .hdr-wrap .hdr-content > .container > .row > .hdr-banner {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    padding: 0 10px 8px !important;
  }

  .hdr-wrap .hdr-content > .container > .row > .hdr-links-wrap {
    grid-column: 3;
    grid-row: 1;
    z-index: 3;
    width: auto;
    max-width: 100%;
    margin-left: 0;
  }

  .hdr-wrap .hdr-banner > .container {
    width: 100%;
    max-width: none;
    padding-right: 0;
    padding-left: 0;
  }
}

@media (max-width: 767px) {
  .hdr-wrap .hdr-links-wrap > span {
    display: none;
  }
}

.prd-grid.prd-carousel.slick-slider > .prd.slick-slide {
  margin-right: 8px;
  margin-left: 8px;
}

.prd-grid.product-listing:not(.slick-slider) {
  margin-top: -14px;
}

.prd-grid.product-listing:not(.slick-slider) > .prd {
  margin-top: 14px;
  margin-bottom: 12px;
}

.prd-grid.product-listing .qty-changer button {
  font-size: 22px;
  font-weight: 600;
  line-height: 1;
}

@media (max-width: 767px) {
  .prd-grid.prd-carousel {
    min-height: 0;
  }

  .prd-grid.prd-carousel .prd {
    min-height: 0;
  }

  .prd-grid.prd-carousel .prd-img-area {
    min-height: 160px;
  }

  .prd-grid.prd-carousel .prd-title {
    min-height: 42px;
  }

  .prd-grid.product-listing .prd {
    min-height: 0;
  }

  .prd-grid.product-listing .prd-img-area {
    min-height: 160px;
  }

  .prd-grid.product-listing .prd-title {
    min-height: 42px;
  }

  .prd-grid.prd-carousel.slick-slider > .prd.slick-slide {
    margin-right: 4px;
    margin-left: 4px;
  }
}
