*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --mh-bg: #f6f7f8;
  --mh-surface: #ffffff;
  --mh-surface-soft: #fbfcfd;
  --mh-border: #e5e7eb;
  --mh-text: #111827;
  --mh-text-soft: #6b7280;
  --mh-primary: #1f6a33;
  --mh-primary-strong: #165126;
  --mh-accent: #d6452f;
  --mh-price-default: #111827;
  --mh-price-promo: #d6452f;
  --mh-price-muted: #8b95a7;
  --mh-radius-sm: 8px;
  --mh-radius-md: 12px;
  --mh-radius-lg: 16px;
  --mh-shadow-sm: 0 6px 18px rgba(17, 24, 39, 0.06);
  --mh-shadow-md: 0 14px 30px rgba(17, 24, 39, 0.1);
  --mh-container: 1600px;
}

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  font-family: "Open Sans", sans-serif;
  color: var(--mh-text);
  background: var(--mh-bg);
  font-size: 14px;
  line-height: 1.45;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[role="button"]:focus-visible {
  outline: 3px solid rgba(31, 106, 51, 0.28);
  outline-offset: 2px;
}

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

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

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

.main {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 28px 20px 56px;
}

.mh-policy-page {
  max-width: 1120px;
}

.mh-policy-article {
  border: 1px solid var(--mh-border);
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfd 100%);
  box-shadow: var(--mh-shadow-sm);
  padding: 34px;
}

.mh-policy-header {
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--mh-border);
}

.mh-policy-kicker {
  margin: 0 0 10px;
  color: var(--mh-primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mh-policy-page h1 {
  margin: 0 0 14px;
  font-size: 38px;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.mh-policy-page h2 {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.mh-policy-page h3 {
  margin: 18px 0 10px;
  font-size: 18px;
  line-height: 1.25;
}

.mh-policy-page p,
.mh-policy-page li,
.mh-policy-page address {
  color: #334155;
  font-size: 15px;
  line-height: 1.75;
}

.mh-policy-page p {
  margin: 0 0 14px;
}

.mh-policy-section + .mh-policy-section {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--mh-border);
}

.mh-policy-list {
  margin: 0 0 16px 20px;
  padding: 0;
}

.mh-policy-list li + li {
  margin-top: 8px;
}

.mh-policy-address {
  margin-top: 10px;
  padding: 18px 20px;
  border: 1px solid rgba(31, 106, 51, 0.14);
  border-radius: 18px;
  background: rgba(31, 106, 51, 0.04);
}

.mh-policy-address strong {
  display: block;
  margin-bottom: 8px;
  color: var(--mh-text);
  font-size: 14px;
}

.mh-policy-address address {
  margin: 0;
  font-style: normal;
}

@media (max-width: 767px) {
  .mh-policy-article {
    padding: 24px 18px;
    border-radius: 18px;
  }

  .mh-policy-page h1 {
    font-size: 30px;
  }

  .mh-policy-page h2 {
    font-size: 21px;
  }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 350;
  background: #fff;
  border-bottom: 1px solid var(--mh-border);
}

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

.mh-header-utility {
  background: #f8faf9;
  border-bottom: 1px solid var(--mh-border);
}

.mh-utility-inner {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.mh-utility-left,
.mh-utility-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.mh-utility-link {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  font-size: 12px;
  font-weight: 700;
  color: #374151;
}

.mh-utility-link:hover {
  color: var(--mh-primary);
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  border: 1px solid var(--mh-border);
  border-radius: 999px;
  padding: 0 12px;
  background: #fff;
  font-size: 12px;
  font-weight: 700;
}

.lang-switcher .fa-globe {
  color: var(--mh-primary);
}

.lang-switcher .lang-link {
  color: #64748b;
}

.lang-switcher .lang-link.is-active {
  color: #111827;
}

.lang-switcher .lang-sep {
  color: #9ca3af;
}

#trp-floater-ls,
.site-header .mh-main-inner .trp-language-switcher,
.site-header .mh-main-inner .trp-ls-shortcode-current-language,
.site-header .mh-main-inner .trp-ls-shortcode-language {
  display: none !important;
}

.mh-header-main {
  border-bottom: 1px solid var(--mh-border);
  background: #fff;
}

.mh-main-inner {
  min-height: 96px;
  display: grid;
  grid-template-columns: minmax(190px, 240px) minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  padding: 14px 0;
}

.header-logo {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 64px;
}

.site-logo {
  max-height: 58px;
  width: auto;
}

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

.search-form {
  position: relative;
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) 128px;
  align-items: stretch;
  height: 54px;
  border: 1px solid var(--mh-border);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
  overflow: hidden;
}

.search-form:focus-within {
  border-color: var(--mh-primary);
  box-shadow: 0 0 0 3px rgba(31, 106, 51, 0.15);
}

.s-cat-select,
.s-input {
  border: 0;
  outline: 0;
  font: inherit;
  background: transparent;
}

.s-cat-select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-right: 1px solid var(--mh-border);
  min-width: 0;
  padding: 0 36px 0 16px;
  color: #334155;
  font-weight: 600;
  background-image:
    linear-gradient(45deg, transparent 50%, #64748b 50%),
    linear-gradient(135deg, #64748b 50%, transparent 50%);
  background-position:
    calc(100% - 20px) calc(50% - 3px),
    calc(100% - 14px) calc(50% - 3px);
  background-size: 6px 6px;
  background-repeat: no-repeat;
}

.s-input {
  min-width: 0;
  padding: 0 18px;
  color: #111827;
}

.s-input::placeholder {
  color: #94a3b8;
}

.s-btn {
  border: 0;
  border-left: 1px solid var(--mh-border);
  border-radius: 0 16px 16px 0;
  background: var(--mh-primary);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  padding: 0 18px;
  cursor: pointer;
}

.s-btn:hover {
  background: var(--mh-primary-strong);
}

.search-suggestions {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  z-index: 380;
  background: #fff;
  border: 1px solid var(--mh-border);
  border-radius: var(--mh-radius-md);
  box-shadow: var(--mh-shadow-md);
  overflow: hidden;
  overflow-y: auto;
  display: none;
  max-height: 420px;
}

.search-suggestions.is-open {
  display: block;
}

.search-suggestions .sc-search-section {
  padding: 8px 0;
}

.search-suggestions .sc-search-title {
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  padding: 4px 14px 8px;
}

.search-suggestions .sc-search-item {
  width: 100%;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  padding: 10px 14px;
  cursor: pointer;
}

.search-suggestions .sc-search-item:hover,
.search-suggestions .sc-search-item.is-active,
.search-suggestions .sc-cat-item:hover,
.search-suggestions .sc-cat-item.is-active {
  background: #f1f5f9;
}

.search-suggestions .sc-thumb {
  width: 40px;
  height: 40px;
  border: 1px solid var(--mh-border);
  border-radius: 8px;
  overflow: hidden;
  flex: 0 0 40px;
}

.search-suggestions .sc-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.search-suggestions .sc-meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.search-suggestions .sc-name {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-suggestions .sc-price {
  font-size: 12px;
  color: var(--mh-primary);
  font-weight: 700;
}

.search-suggestions .sc-cat-item,
.search-suggestions .sc-search-footer {
  display: block;
  padding: 10px 14px;
}

.search-suggestions .sc-search-footer {
  border-top: 1px solid var(--mh-border);
  font-size: 13px;
  font-weight: 700;
  color: var(--mh-primary);
}

.search-suggestions .sc-search-empty {
  padding: 14px;
  font-size: 13px;
  color: #64748b;
}

.mh-main-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  justify-self: end;
}

.mh-account-link,
.cart-wrap {
  position: relative;
  width: 48px;
  height: 48px;
  border: 1px solid var(--mh-border);
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #1f2937;
  background: #fff;
  transition: border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease,
    transform 0.18s ease;
}

.mh-account-link i,
.cart-wrap i {
  font-size: 19px;
}

.mh-account-link:hover,
.cart-wrap:hover,
.mh-menu-toggle:hover,
.all-cats-toggle:hover {
  color: var(--mh-primary);
  border-color: rgba(31, 106, 51, 0.35);
  background: #f8fcf9;
}

.mh-account-link:active,
.cart-wrap:active,
.mh-menu-toggle:active,
.all-cats-toggle:active {
  transform: translateY(1px);
}

.cart-wrap {
  text-decoration: none;
}

.cart-num {
  position: absolute;
  top: -8px;
  right: -7px;
  min-width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--mh-primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
}

.mh-menu-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  height: 48px;
  border: 1px solid var(--mh-border);
  border-radius: 16px;
  padding: 0 16px;
  background: #fff;
  color: #1f2937;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.mh-header-nav {
  background: #fff;
  border-bottom: 1px solid var(--mh-border);
}

.nav-bar {
  min-height: 68px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px 0;
}

.all-cats {
  position: relative;
  display: inline-flex;
  white-space: nowrap;
  align-self: stretch;
}

.all-cats-toggle {
  min-height: 52px;
  min-width: 230px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-content: space-between;
  padding: 0 16px;
  border: 1px solid var(--mh-border);
  border-radius: 16px;
  background: #fff;
  font-size: 14px;
  font-weight: 800;
  color: #111827;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

.all-cats-toggle span {
  flex: 1 1 auto;
  text-align: left;
}

.all-cats .chv {
  font-size: 10px;
  color: #64748b;
  transition: transform 0.22s ease;
}

.categories-dropdown {
  display: block;
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 320px;
  max-width: 360px;
  background: #fff;
  border: 1px solid var(--mh-border);
  border-radius: 18px;
  box-shadow: 0 20px 42px rgba(15, 23, 42, 0.14);
  overflow: visible;
  z-index: 390;
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px) scale(0.98);
  transform-origin: top left;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
}

.all-cats:hover .categories-dropdown,
.all-cats:focus-within .categories-dropdown,
.all-cats.is-open .categories-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  transition-delay: 0s;
}

.all-cats.is-open .chv {
  transform: rotate(180deg);
}

.cat-menu,
.sub-menu,
.nav-menu,
.dropdown {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cat-menu > li {
  position: relative;
  padding: 0 8px;
}

.cat-menu > li > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 46px;
  padding: 11px 16px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  color: #1f2937;
  transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.cat-menu > li > a:hover,
.cat-menu > li > a:focus-visible,
.sub-menu li a:focus-visible,
.sub-menu li a:hover {
  color: var(--mh-primary);
  background: #f4f8f5;
}

.cat-menu .has-sub > a::after {
  content: "\203A";
  color: #64748b;
  font-size: 13px;
}

.cat-menu .has-sub {
  position: relative;
}

.cat-menu .has-sub > .sub-menu {
  display: block;
  position: absolute;
  top: -10px;
  left: calc(100% - 14px);
  min-width: 250px;
  padding: 10px 0;
  border: 1px solid var(--mh-border);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.14);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
  z-index: 392;
}

.cat-menu .has-sub > .sub-menu::before {
  content: "";
  position: absolute;
  top: 0;
  left: -22px;
  width: 22px;
  height: 100%;
}

.cat-menu .has-sub:hover > .sub-menu,
.cat-menu .has-sub:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
  transition-delay: 0s;
}

.sub-menu li {
  padding: 0 8px;
}

.sub-menu li a {
  display: block;
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 12px;
  color: #475569;
}

.top-nav {
  min-width: 0;
  flex: 1;
}

.nav-menu {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.nav-menu > li {
  position: relative;
}

.nav-menu > li > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 52px;
  padding: 0 14px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 700;
  color: #111827;
  transition: color 0.18s ease, background-color 0.18s ease;
}

.nav-menu > li > a:hover,
.nav-menu > li > a:focus-visible,
.nav-menu > li > a.is-selected {
  color: var(--mh-primary);
  background: #f4f8f5;
}

.nav-menu .caret {
  font-size: 10px;
  color: #64748b;
}

.dropdown {
  display: block;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  border: 1px solid var(--mh-border);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.12);
  overflow: hidden;
  z-index: 390;
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0.18s;
}

.nav-menu > li:hover > .dropdown,
.nav-menu > li:focus-within > .dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition-delay: 0s;
}

.dropdown li a {
  display: block;
  margin: 0 8px;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 13px;
  color: #334155;
}

.dropdown li a:hover,
.dropdown li a:focus-visible {
  color: var(--mh-primary);
  background: #f4f8f5;
}

/* Homepage */
.mh-home-main {
  display: grid;
  gap: 28px;
  width: 100%;
}

.mh-home-section {
  display: grid;
  gap: 16px;
}

.mh-section-title {
  margin: 0;
  font-size: 30px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.mh-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.mh-section-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #1f6a33;
  text-decoration: none;
}

.mh-section-link:hover,
.mh-section-link:focus-visible {
  color: #164f25;
}

.mh-hero-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.mh-hero-card {
  aspect-ratio: 5 / 2;
  min-height: 200px;
  border-radius: var(--mh-radius-lg);
  padding: 20px;
  /*background: linear-gradient(140deg, #DDDDDD 0%, #DDDDDD  65%, #DDDDDD  100%);*/
  background: #ffffff;
  color: #3c73ea;
  position: relative;
  display: flex;
  overflow: hidden;
  box-shadow: var(--mh-shadow-sm);
  text-decoration: none;
  isolation: isolate;
}

.mh-hero-card__media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  filter: brightness(1.09) contrast(1.05) saturate(1.08);
  transform: scale(1.015);
  transform-origin: center;
  will-change: transform, filter;
}

.mh-hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: none;
  pointer-events: none;
}

.mh-hero-card--image::after {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.18) 100%),
    linear-gradient(125deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.08) 44%, rgba(255, 255, 255, 0) 72%);
}

.mh-hero-card:not(.mh-hero-card--image) .mh-hero-date,
.mh-hero-card:not(.mh-hero-card--image) .mh-hero-badge {
  background: rgba(60, 115, 234, 0.08);
  border-color: rgba(60, 115, 234, 0.18);
}

.mh-hero-card__inner,
.mh-hero-meta,
.mh-hero-copy,
.mh-hero-badge,
.mh-hero-date,
.mh-hero-eyebrow,
.mh-hero-title,
.mh-hero-subtitle,
.mh-hero-subtitle-secondary {
  position: relative;
  z-index: 1;
}

.mh-hero-card__inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
}

.mh-hero-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.mh-hero-date,
.mh-hero-badge {
  width: fit-content;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  backdrop-filter: blur(6px);
}

.mh-hero-copy {
  display: grid;
  gap: 5px;
  align-content: end;
}

.mh-hero-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.84;
}

.mh-hero-title {
  font-size: 22px;
  line-height: 1.08;
  font-weight: 800;
  text-shadow: 0 10px 24px rgba(7, 16, 10, 0.26);
}

.mh-hero-subtitle {
  font-size: 13px;
  opacity: 0.92;
  text-shadow: 0 8px 20px rgba(7, 16, 10, 0.22);
}

.mh-hero-subtitle-secondary {
  font-size: 12px;
  opacity: 0.76;
}

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

.mh-category-card {
  display: grid;
  gap: 10px;
  border: 1px solid var(--mh-border);
  border-radius: var(--mh-radius-md);
  padding: 12px;
  background: #fff;
  min-height: 126px;
}

.mh-category-card:hover {
  box-shadow: var(--mh-shadow-sm);
}

.mh-category-media {
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: 10px;
  overflow: hidden;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mh-category-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mh-category-placeholder {
  font-size: 12px;
  color: #64748b;
  font-weight: 700;
}

.mh-category-name {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
}

/* Homepage/shop/category product grids */
#mh-products-grid,
body.post-type-archive-product .woocommerce ul.products,
body.tax-product_cat .woocommerce ul.products,
body.tax-product_tag .woocommerce ul.products {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  gap: 16px !important;
  width: 100%;
  max-width: 1600px;
  align-items: stretch !important;
  justify-content: stretch !important;
  justify-items: stretch !important;
}

/* Disable WooCommerce float clearfix pseudo-elements inside CSS grid */
#mh-products-grid::before,
body.post-type-archive-product .woocommerce ul.products::before,
body.tax-product_cat .woocommerce ul.products::before,
body.tax-product_tag .woocommerce ul.products::before,
#mh-products-grid::after,
body.post-type-archive-product .woocommerce ul.products::after,
body.tax-product_cat .woocommerce ul.products::after,
body.tax-product_tag .woocommerce ul.products::after {
  content: none !important;
  display: none !important;
}

#mh-products-grid > li,
#mh-products-grid > li.product,
body.post-type-archive-product .woocommerce ul.products > li.product,
body.tax-product_cat .woocommerce ul.products > li.product,
body.tax-product_tag .woocommerce ul.products > li.product {
  margin: 0 !important;
  width: auto !important;
  max-width: 100% !important;
  min-width: 0;
  float: none !important;
  clear: none !important;
  list-style: none;
  box-sizing: border-box;
}

.woocommerce ul.products.mh-shop-grid {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  gap: 16px !important;
  width: 100%;
  max-width: 1600px;
  align-items: stretch !important;
  justify-content: stretch !important;
  justify-items: stretch !important;
}

#mh-promotional-products-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
}

.woocommerce ul.products.mh-shop-grid::before,
.woocommerce ul.products.mh-shop-grid::after {
  content: none !important;
  display: none !important;
}

.woocommerce ul.products.mh-shop-grid > li,
.woocommerce ul.products.mh-shop-grid > li.product {
  margin: 0 !important;
  width: auto !important;
  max-width: 100% !important;
  min-width: 0;
  float: none !important;
  clear: none !important;
  list-style: none;
  box-sizing: border-box;
}

#mh-products-grid li.product.mh-loop-card,
.woocommerce ul.products li.product.mh-loop-card {
  background: var(--mh-surface);
  border: 1px solid var(--mh-border);
  border-radius: var(--mh-radius-md);
  box-shadow: var(--mh-shadow-sm);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#mh-products-grid li.product.mh-loop-card:hover,
.woocommerce ul.products li.product.mh-loop-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--mh-shadow-md);
}

#mh-products-grid li.product.mh-loop-card.outofstock,
.woocommerce ul.products li.product.mh-loop-card.outofstock {
  background: #f8fafc;
  border-color: #d9e2ec;
}

#mh-products-grid li.product.mh-loop-card.outofstock:hover,
.woocommerce ul.products li.product.mh-loop-card.outofstock:hover {
  transform: none;
  box-shadow: var(--mh-shadow-sm);
}

#mh-products-grid li.product.mh-loop-card .mh-card-inner,
.woocommerce ul.products li.product.mh-loop-card .mh-card-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 12px;
  gap: 10px;
  position: relative;
  min-width: 0;
}

#mh-products-grid li.product.mh-loop-card.outofstock .mh-card-inner,
.woocommerce ul.products li.product.mh-loop-card.outofstock .mh-card-inner {
  opacity: 0.7;
}

.woocommerce span.onsale,
#mh-products-grid li.product .onsale,
.woocommerce ul.products li.product .onsale {
  display: none !important;
}

#mh-products-grid li.product.mh-loop-card .mh-thumb-wrap,
.woocommerce ul.products li.product.mh-loop-card .mh-thumb-wrap {
  display: block;
  width: 100%;
  border: 1px solid #eef1f4;
  border-radius: 10px;
  overflow: hidden;
  background: var(--mh-surface-soft);
}

#mh-products-grid li.product.mh-loop-card .mh-thumb-wrap img,
.woocommerce ul.products li.product.mh-loop-card .mh-thumb-wrap img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: 12px;
}

#mh-products-grid li.product.mh-loop-card.outofstock .mh-thumb-wrap img,
.woocommerce ul.products li.product.mh-loop-card.outofstock .mh-thumb-wrap img {
  filter: grayscale(1);
}

#mh-products-grid li.product.mh-loop-card .mh-info,
.woocommerce ul.products li.product.mh-loop-card .mh-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

#mh-products-grid li.product.mh-loop-card .mh-title,
.woocommerce ul.products li.product.mh-loop-card .mh-title {
  margin: 0;
  font-size: 16px;
  line-height: 1.35;
  color: #0f172a;
  font-weight: 700;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
}

#mh-products-grid li.product.mh-loop-card .mh-title a,
.woocommerce ul.products li.product.mh-loop-card .mh-title a {
  color: inherit;
}

#mh-products-grid li.product.mh-loop-card .mh-price-row,
.woocommerce ul.products li.product.mh-loop-card .mh-price-row {
  margin: 0;
  min-height: 28px;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  line-height: 1.2;
  color: var(--mh-price-default);
}

#mh-products-grid li.product.mh-loop-card .mh-price-row .price,
.woocommerce ul.products li.product.mh-loop-card .mh-price-row .price {
  color: var(--mh-price-default);
}

#mh-products-grid li.product.mh-loop-card .mh-price-row ins,
.woocommerce ul.products li.product.mh-loop-card .mh-price-row ins {
  color: var(--mh-price-default);
  text-decoration: none;
}

#mh-products-grid li.product.mh-loop-card .mh-price-row .woocommerce-Price-amount,
#mh-products-grid li.product.mh-loop-card .mh-price-row .amount,
.woocommerce ul.products li.product.mh-loop-card .mh-price-row .woocommerce-Price-amount,
.woocommerce ul.products li.product.mh-loop-card .mh-price-row .amount {
  font-size: 26px;
  font-weight: 800;
  color: var(--mh-price-default);
  font-variant-numeric: tabular-nums;
}

#mh-products-grid li.product.mh-loop-card .mh-price-row del .amount,
#mh-products-grid li.product.mh-loop-card .mh-price-row del .woocommerce-Price-amount,
.woocommerce ul.products li.product.mh-loop-card .mh-price-row del .amount,
.woocommerce ul.products li.product.mh-loop-card .mh-price-row del .woocommerce-Price-amount {
  color: var(--mh-price-muted);
  font-size: 17px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

#mh-promotional-products-grid li.product.mh-loop-card .mh-price-row {
  color: var(--mh-price-promo);
}

#mh-promotional-products-grid li.product.mh-loop-card .mh-price-row .price,
#mh-promotional-products-grid li.product.mh-loop-card .mh-price-row ins,
#mh-promotional-products-grid li.product.mh-loop-card .mh-price-row .woocommerce-Price-amount,
#mh-promotional-products-grid li.product.mh-loop-card .mh-price-row .amount {
  color: var(--mh-price-promo);
}

#mh-promotional-products-grid li.product.mh-loop-card .mh-price-row del .amount,
#mh-promotional-products-grid li.product.mh-loop-card .mh-price-row del .woocommerce-Price-amount {
  color: var(--mh-price-muted);
}

#mh-products-grid li.product.mh-loop-card .mh-buy-row,
.woocommerce ul.products li.product.mh-loop-card .mh-buy-row {
  margin-top: auto;
  display: grid;
  grid-template-columns: minmax(0, 112px) minmax(0, 1fr);
  gap: 10px;
  align-items: stretch;
}

#mh-products-grid li.product.mh-loop-card .mh-qty,
.woocommerce ul.products li.product.mh-loop-card .mh-qty {
  display: grid;
  grid-template-columns: 34px 1fr 34px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  min-height: 46px;
  overflow: hidden;
  width: 112px;
  min-width: 112px;
  max-width: 112px;
}

#mh-products-grid li.product.mh-loop-card .mh-qty-btn,
.woocommerce ul.products li.product.mh-loop-card .mh-qty-btn {
  border: 0;
  background: #fff;
  color: #6b7280;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

#mh-products-grid li.product.mh-loop-card .mh-qty input.qty,
.woocommerce ul.products li.product.mh-loop-card .mh-qty input.qty {
  margin: 0;
  border: 0;
  border-left: 1px solid #d1d5db;
  border-right: 1px solid #d1d5db;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  color: #111827;
  width: 100%;
  min-width: 0;
  -moz-appearance: textfield;
}

#mh-products-grid li.product.mh-loop-card .mh-qty input.qty::-webkit-inner-spin-button,
#mh-products-grid li.product.mh-loop-card .mh-qty input.qty::-webkit-outer-spin-button,
.woocommerce ul.products li.product.mh-loop-card .mh-qty input.qty::-webkit-inner-spin-button,
.woocommerce ul.products li.product.mh-loop-card .mh-qty input.qty::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

#mh-products-grid li.product.mh-loop-card .mh-atc-btn,
.woocommerce ul.products li.product.mh-loop-card .mh-atc-btn {
  margin: 0;
  min-height: 46px;
  border: 2px solid #2f6a5e;
  border-radius: 12px;
  background: #fff;
  color: #2f6a5e;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  width: 100%;
  min-width: 0;
  position: relative;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease, opacity 0.18s ease;
}

#mh-products-grid li.product.mh-loop-card .mh-atc-btn:hover,
.woocommerce ul.products li.product.mh-loop-card .mh-atc-btn:hover {
  color: #fff;
  background: #2f6a5e;
}

#mh-products-grid li.product.mh-loop-card .mh-atc-btn.is-adding,
.woocommerce ul.products li.product.mh-loop-card .mh-atc-btn.is-adding,
.single-product div.product form.cart .single_add_to_cart_button.is-adding {
  opacity: 0.82;
  cursor: progress;
}

#mh-products-grid li.product.mh-loop-card .mh-atc-btn.is-added,
.woocommerce ul.products li.product.mh-loop-card .mh-atc-btn.is-added,
.single-product div.product form.cart .single_add_to_cart_button.is-added {
  border-color: #1f7a46;
  background: #1f7a46;
  color: #fff;
}

#mh-products-grid li.product.mh-loop-card .mh-atc-btn.is-error,
.woocommerce ul.products li.product.mh-loop-card .mh-atc-btn.is-error,
.single-product div.product form.cart .single_add_to_cart_button.is-error {
  border-color: #b42318;
  color: #b42318;
}

[data-cart-count] {
  transition: transform 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

[data-cart-count].is-updated {
  transform: scale(1.1);
}

#mh-products-grid li.product.mh-loop-card.outofstock .mh-qty--disabled,
.woocommerce ul.products li.product.mh-loop-card.outofstock .mh-qty--disabled {
  background: #f3f4f6;
  border-color: #d1d5db;
}

#mh-products-grid li.product.mh-loop-card.outofstock .mh-qty--disabled .mh-qty-btn,
#mh-products-grid li.product.mh-loop-card.outofstock .mh-qty--disabled input.qty,
.woocommerce ul.products li.product.mh-loop-card.outofstock .mh-qty--disabled .mh-qty-btn,
.woocommerce ul.products li.product.mh-loop-card.outofstock .mh-qty--disabled input.qty {
  background: #f3f4f6;
  color: #9ca3af;
  cursor: not-allowed;
}

#mh-products-grid li.product.mh-loop-card.outofstock .mh-atc-btn--disabled,
.woocommerce ul.products li.product.mh-loop-card.outofstock .mh-atc-btn--disabled {
  border-color: #d1d5db;
  background: #e5e7eb;
  color: #6b7280;
  pointer-events: none;
  cursor: not-allowed;
}

/* Footer */
footer,
.site-footer {
  margin-top: 46px;
  background: linear-gradient(180deg, #0f2944 0%, #0b1f34 100%);
  color: #e5edf7;
}

.mh-footer-trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 20px 0 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mh-trust-item {
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 10px;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.ft-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 24px;
  padding: 32px 0;
}

.ft-col h4 {
  margin: 0 0 12px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.ft-col p {
  margin: 0 0 12px;
  color: #dbe7f5;
  font-size: 13px;
  line-height: 1.55;
}

.ft-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.ft-col ul li a {
  font-size: 13px;
  color: #e6effa;
  text-decoration: none;
}

.ft-col ul li a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-branding {
  margin-bottom: 14px;
}

.footer-logo {
  max-height: 46px;
  width: auto;
}

.mh-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #dbe7f5;
}

.mh-contact-list i {
  margin-top: 3px;
}

.ft-bottom {
  padding: 14px 16px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #c9d8ea;
  font-size: 12px;
}

/* WooCommerce generic */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  border-radius: 10px;
  border-color: var(--mh-border);
}

.woocommerce .button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce a.button {
  border-radius: 10px;
  min-height: 40px;
}

.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce button.button.alt,
.woocommerce a.button.alt,
.woocommerce input.button.alt {
  border: 0;
  box-shadow: none;
  transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.woocommerce #respond input#submit.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce a.button.checkout-button {
  background: var(--mh-primary);
  color: #fff;
}

.woocommerce #respond input#submit.alt:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover,
.woocommerce a.button.checkout-button:hover {
  background: var(--mh-primary-strong);
  color: #fff;
}

.shop-container.main .woocommerce-notices-wrapper {
  margin-bottom: 16px;
}

.woocommerce-breadcrumb {
  margin: 0 0 18px;
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
}

.woocommerce-breadcrumb a {
  color: #475569;
}

.woocommerce .page-title,
.single-product .related.products > h2,
.woocommerce-cart .cart_totals h2,
.woocommerce-checkout #order_review_heading {
  margin: 0 0 18px;
  font-size: 30px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering {
  margin: 0 0 18px;
}

.woocommerce .woocommerce-result-count {
  color: #64748b;
  font-size: 14px;
}

.woocommerce .woocommerce-ordering select.orderby,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce .select2-container--default .select2-selection--single {
  min-height: 46px;
  border: 1px solid var(--mh-border);
  border-radius: 12px;
  background: #fff;
  color: #0f172a;
}

.woocommerce .woocommerce-ordering select.orderby,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
  padding: 10px 14px;
}

.woocommerce form .form-row textarea {
  min-height: 120px;
  resize: vertical;
}

.woocommerce .select2-container--default .select2-selection--single {
  display: flex;
  align-items: center;
  padding: 0 14px;
}

.woocommerce .select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 1.4;
  padding: 0;
}

.woocommerce .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 44px;
  right: 10px;
}

.woocommerce nav.woocommerce-pagination ul.page-numbers {
  border: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
}

.woocommerce nav.woocommerce-pagination ul.page-numbers li {
  border: 0;
}

.woocommerce nav.woocommerce-pagination ul.page-numbers a,
.woocommerce nav.woocommerce-pagination ul.page-numbers span {
  width: 42px;
  height: 42px;
  border: 1px solid var(--mh-border);
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  font-weight: 700;
}

.woocommerce nav.woocommerce-pagination ul.page-numbers span.current {
  background: var(--mh-primary);
  border-color: var(--mh-primary);
  color: #fff;
}

.woocommerce .quantity {
  display: grid;
  grid-template-columns: 38px minmax(72px, 1fr) 38px;
  align-items: stretch;
  min-height: 44px;
  border: 1px solid var(--mh-border);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.woocommerce .quantity .qty-btn {
  position: relative;
  border: 0;
  border-right: 1px solid var(--mh-border);
  background: #f8fafc;
  color: transparent;
  font-size: 0;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.woocommerce .quantity .qty-btn::before {
  content: attr(data-symbol);
  position: absolute;
  inset: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0f172a;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}

.woocommerce .quantity .qty-btn.plus {
  border-right: 0;
  border-left: 1px solid var(--mh-border);
}

.woocommerce .quantity .qty-btn[disabled] {
  cursor: not-allowed;
  opacity: 0.45;
}

.woocommerce .quantity .qty {
  width: 100%;
  min-width: 0;
  border: 0;
  padding: 0 8px;
  text-align: center;
  background: transparent;
  font-weight: 700;
}

.woocommerce .quantity .qty::-webkit-inner-spin-button,
.woocommerce .quantity .qty::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.single-product div.product {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 30px;
  align-items: start;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--mh-border);
  border-radius: 20px;
  box-shadow: var(--mh-shadow-sm);
}

.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary.entry-summary {
  width: auto;
  float: none;
  margin: 0;
}

.single-product div.product .woocommerce-product-gallery {
  position: sticky;
  top: 118px;
}

.single-product div.product .woocommerce-product-gallery__wrapper,
.single-product div.product .woocommerce-product-gallery__image--placeholder,
.single-product div.product .woocommerce-product-gallery__image a {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--mh-border);
  background: #fbfcfd;
}

.single-product div.product .woocommerce-product-gallery img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.single-product div.product .summary.entry-summary {
  display: grid;
  gap: 16px;
}

.single-product div.product .product_title {
  margin: 0;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.single-product div.product p.price,
.single-product div.product span.price,
.single-product div.product .woocommerce-variation-price .price {
  margin: 0;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--mh-price-default);
  font-size: 30px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.single-product div.product p.price .woocommerce-Price-amount,
.single-product div.product p.price .amount,
.single-product div.product span.price .woocommerce-Price-amount,
.single-product div.product span.price .amount,
.single-product div.product .woocommerce-variation-price .price .woocommerce-Price-amount,
.single-product div.product .woocommerce-variation-price .price .amount {
  color: inherit;
}

.single-product div.product p.price ins,
.single-product div.product span.price ins,
.single-product div.product .woocommerce-variation-price .price ins {
  color: inherit;
  text-decoration: none;
}

.single-product div.product p.price del,
.single-product div.product span.price del,
.single-product div.product .woocommerce-variation-price .price del {
  opacity: 0.45;
  font-size: 0.72em;
  color: var(--mh-price-muted);
}

.single-product .woocommerce-product-details__short-description {
  color: #475569;
  font-size: 15px;
}

.single-product div.product form.cart {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 18px;
  border: 1px solid var(--mh-border);
  border-radius: 18px;
  background: #fbfcfd;
}

.single-product div.product form.cart .quantity {
  margin: 0 12px 0 0;
}

.single-product div.product form.cart .single_add_to_cart_button {
  min-height: 50px;
  padding: 0 24px;
  font-size: 16px;
  font-weight: 700;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, opacity 0.18s ease;
}

.single-product div.product .product_meta {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid var(--mh-border);
  color: #475569;
}

.single-product div.product .product_meta a {
  color: var(--mh-primary);
}

.single-product div.product .onsale {
  left: 18px;
  top: 18px;
  min-width: 72px;
  border-radius: 999px;
  padding: 6px 12px;
  background: var(--mh-accent);
  font-weight: 800;
}

.single-product .woocommerce-tabs {
  margin-top: 28px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--mh-border);
  border-radius: 20px;
}

.single-product .woocommerce-tabs ul.tabs {
  margin: 0 0 18px;
  padding: 0;
  border: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.single-product .woocommerce-tabs ul.tabs li {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
}

.single-product .woocommerce-tabs ul.tabs li::before,
.single-product .woocommerce-tabs ul.tabs li::after {
  display: none;
}

.single-product .woocommerce-tabs ul.tabs li a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--mh-border);
  background: #f8fafc;
  text-decoration: none;
}

.single-product .woocommerce-tabs ul.tabs li.active a {
  background: var(--mh-primary);
  border-color: var(--mh-primary);
  color: #fff;
}

.single-product .mh-specification-tab {
  display: grid;
  gap: 18px;
}

.single-product .mh-specification-header {
  display: grid;
  gap: 6px;
}

.single-product .mh-specification-heading {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
  color: #0f172a;
}

.single-product .mh-specification-intro {
  margin: 0;
  color: #64748b;
  font-size: 13px;
}

.single-product .mh-specification-table {
  width: 100%;
  margin: 0;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--mh-border);
  border-radius: 16px;
  overflow: hidden;
}

.single-product .mh-specification-table tr:nth-child(even) {
  background: #f8fafc;
}

.single-product .mh-specification-table th,
.single-product .mh-specification-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--mh-border);
  text-align: left;
  vertical-align: top;
}

.single-product .mh-specification-table tr:last-child th,
.single-product .mh-specification-table tr:last-child td {
  border-bottom: 0;
}

.single-product .mh-specification-table th {
  width: 220px;
  font-weight: 700;
  color: #0f172a;
}

.single-product .mh-specification-table td {
  color: #334155;
}

.single-product .mh-specification-extra {
  margin-top: 6px;
}

.single-product .mh-specification-extra .shop_attributes {
  margin: 0;
  border: 1px solid var(--mh-border);
  border-radius: 16px;
  overflow: hidden;
}

.single-product .mh-specification-extra .shop_attributes th,
.single-product .mh-specification-extra .shop_attributes td {
  padding: 14px 16px;
}

.single-product .related.products {
  margin-top: 34px;
}

.woocommerce-cart .woocommerce-cart-form,
.woocommerce-cart .cart_totals,
.woocommerce-checkout .woocommerce-billing-fields,
.woocommerce-checkout .woocommerce-shipping-fields,
.woocommerce-checkout .woocommerce-additional-fields,
.woocommerce-checkout #order_review,
.woocommerce-checkout #payment {
  background: #fff;
  border: 1px solid var(--mh-border);
  border-radius: 18px;
}

.woocommerce-cart .woocommerce-cart-form {
  padding: 18px;
}

.woocommerce-cart .shop_table.cart,
.woocommerce-checkout table.shop_table {
  width: 100%;
  border: 0;
  border-collapse: separate;
  border-spacing: 0;
}

.woocommerce-cart .shop_table.cart th,
.woocommerce-cart .shop_table.cart td,
.woocommerce-checkout table.shop_table th,
.woocommerce-checkout table.shop_table td {
  padding: 14px 12px;
  border-color: var(--mh-border);
}

.woocommerce-cart .shop_table.cart .product-thumbnail img {
  width: 76px;
  border-radius: 14px;
  border: 1px solid var(--mh-border);
  background: #fbfcfd;
}

.woocommerce-cart .shop_table.cart .product-name a {
  font-weight: 700;
  text-decoration: none;
}

.woocommerce-cart .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.woocommerce-cart .coupon {
  display: flex;
  flex: 1 1 320px;
  gap: 10px;
}

.woocommerce-cart .coupon .input-text {
  min-width: 0;
  flex: 1 1 auto;
  min-height: 44px;
  border: 1px solid var(--mh-border);
  border-radius: 12px;
  padding: 0 14px;
}

.woocommerce-cart .actions > .button,
.woocommerce-cart .coupon .button {
  min-height: 44px;
}

body.mh-js .woocommerce-cart .actions button[name="update_cart"],
body.mh-js .woocommerce-cart .actions input[name="update_cart"] {
  display: none;
}

.woocommerce-cart .woocommerce-cart-form.is-updating,
.woocommerce-cart .cart_totals.is-updating,
.woocommerce-checkout #order_review.is-updating {
  opacity: 0.62;
  pointer-events: none;
  transition: opacity 0.18s ease;
}

.woocommerce-cart .cart-collaterals {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
  gap: 24px;
  margin-top: 24px;
}

.woocommerce-cart .cart_totals {
  padding: 22px;
}

.woocommerce-cart .cart_totals table.shop_table td,
.woocommerce-cart .cart_totals table.shop_table th,
.woocommerce-checkout table.shop_table td,
.woocommerce-checkout table.shop_table th {
  padding-left: 0;
  padding-right: 0;
}

.woocommerce-checkout form.checkout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 24px;
  align-items: start;
}

.woocommerce-checkout .col2-set,
.woocommerce-checkout #order_review_heading,
.woocommerce-checkout #order_review,
.woocommerce-checkout #payment {
  width: auto;
  float: none;
}

.woocommerce-checkout .col2-set {
  display: grid;
  gap: 24px;
}

.woocommerce-checkout .woocommerce-billing-fields,
.woocommerce-checkout .woocommerce-shipping-fields,
.woocommerce-checkout .woocommerce-additional-fields,
.woocommerce-checkout #order_review,
.woocommerce-checkout #payment {
  padding: 22px;
}

.woocommerce-checkout .form-row {
  margin-bottom: 14px;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table {
  margin-bottom: 0;
}

.woocommerce-checkout #payment ul.payment_methods {
  padding: 0 0 14px;
  border-bottom: 1px solid var(--mh-border);
}

.woocommerce-checkout #payment div.payment_box {
  border-radius: 14px;
  background: #f8fafc;
}

.woocommerce-checkout #payment div.payment_box::before {
  border-bottom-color: #f8fafc;
}

.woocommerce-checkout #payment .place-order {
  margin-bottom: 0;
}

.woocommerce-checkout #payment #place_order {
  width: 100%;
  min-height: 52px;
  font-size: 16px;
}

.woocommerce .woocommerce-form-coupon-toggle .woocommerce-info,
.woocommerce .woocommerce-form-login-toggle .woocommerce-info,
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-message,
.woocommerce .woocommerce-error {
  padding: 16px 18px;
  background: #fff;
}

@media (max-width: 1099px) {
  .mh-main-inner {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
      "logo actions"
      "search search";
    min-height: auto;
    gap: 14px;
    padding: 12px 0;
  }

  .header-logo {
    grid-area: logo;
  }

  .search-wrap {
    grid-area: search;
  }

  .mh-main-actions {
    grid-area: actions;
    justify-self: end;
  }

  .nav-menu > li > a {
    padding: 0 10px;
    font-size: 14px;
  }

  .single-product div.product,
  .woocommerce-checkout form.checkout,
  .woocommerce-cart .cart-collaterals {
    grid-template-columns: 1fr;
  }

  .single-product div.product .woocommerce-product-gallery {
    position: static;
  }

  #mh-products-grid,
  .woocommerce ul.products.mh-shop-grid,
  body.post-type-archive-product .woocommerce ul.products,
  body.tax-product_cat .woocommerce ul.products,
  body.tax-product_tag .woocommerce ul.products {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }

  #mh-promotional-products-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 1023px) {
  body.admin-bar .site-header {
    top: 46px;
  }

  .site-logo {
    max-height: 42px;
  }

  .search-form {
    grid-template-columns: 132px minmax(0, 1fr) 108px;
    height: 50px;
  }

  .mh-menu-toggle {
    display: inline-flex;
  }

  body.mh-js .mh-header-nav {
    display: none;
    border-top: 1px solid var(--mh-border);
  }

  body.mh-js .mh-header-nav.is-open {
    display: block;
  }

  .nav-bar {
    display: grid;
    gap: 12px;
    padding: 12px 0 14px;
    min-height: 0;
  }

  .all-cats {
    min-height: 46px;
    display: block;
  }

  .categories-dropdown {
    position: static;
    display: none;
    min-width: 100%;
    max-width: 100%;
    margin-top: 10px;
    box-shadow: none;
    padding: 8px 0;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    transition: none;
  }

  .all-cats-toggle {
    width: 100%;
    min-height: 48px;
  }

  .all-cats.is-open .categories-dropdown {
    display: block;
  }

  .top-nav .nav-menu {
    display: grid;
    border: 1px solid var(--mh-border);
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
  }

  .top-nav .nav-menu > li > a {
    min-height: 46px;
    padding: 0 14px;
    border-bottom: 1px solid #f1f5f9;
  }

  .top-nav .nav-menu > li:last-child > a {
    border-bottom: 0;
  }

  .top-nav .nav-menu .dropdown {
    position: static;
    display: block;
    box-shadow: none;
    border: 0;
    border-top: 1px solid #f1f5f9;
    border-radius: 0;
    padding: 8px 0 0;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    transition: none;
  }

  .cat-menu > li,
  .sub-menu li {
    padding-left: 0;
    padding-right: 0;
  }

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

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

  #mh-products-grid,
  .woocommerce ul.products.mh-shop-grid,
  body.post-type-archive-product .woocommerce ul.products,
  body.tax-product_cat .woocommerce ul.products,
  body.tax-product_tag .woocommerce ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  #mh-promotional-products-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  }

  .mh-section-title {
    font-size: 26px;
  }
}

@media (max-width: 767px) {
  body.admin-bar .site-header {
    top: 0;
  }

  .mh-container,
  .main {
    width: calc(100% - 24px);
    padding-left: 0;
    padding-right: 0;
  }

  .mh-header-utility {
    display: none;
  }

  .mh-main-inner {
    grid-template-columns: auto auto;
    grid-template-areas:
      "logo actions"
      "search search";
    gap: 10px;
    padding: 10px 0;
  }

  .site-logo {
    max-height: 34px;
  }

  .search-form {
    height: 46px;
    grid-template-columns: 96px minmax(0, 1fr) 88px;
  }

  .s-cat-select {
    padding: 0 8px;
    font-size: 12px;
  }

  .s-btn {
    font-size: 13px;
  }

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

  .mh-hero-card {
    min-height: 150px;
    padding: 14px;
  }

  .mh-hero-title {
    font-size: 18px;
  }

  .mh-section-title {
    font-size: 22px;
  }

  #mh-products-grid,
  .woocommerce ul.products.mh-shop-grid,
  body.post-type-archive-product .woocommerce ul.products,
  body.tax-product_cat .woocommerce ul.products,
  body.tax-product_tag .woocommerce ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
  }

  #mh-promotional-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  #mh-products-grid li.product.mh-loop-card .mh-card-inner,
  .woocommerce ul.products li.product.mh-loop-card .mh-card-inner {
    padding: 10px;
    gap: 8px;
  }

  #mh-products-grid li.product.mh-loop-card .mh-title,
  .woocommerce ul.products li.product.mh-loop-card .mh-title {
    font-size: 14px;
  }

  #mh-products-grid li.product.mh-loop-card .mh-price-row .amount,
  #mh-products-grid li.product.mh-loop-card .mh-price-row .woocommerce-Price-amount,
  .woocommerce ul.products li.product.mh-loop-card .mh-price-row .amount,
  .woocommerce ul.products li.product.mh-loop-card .mh-price-row .woocommerce-Price-amount {
    font-size: 20px;
  }

  #mh-products-grid li.product.mh-loop-card .mh-buy-row,
  .woocommerce ul.products li.product.mh-loop-card .mh-buy-row {
    grid-template-columns: minmax(0, 76px) minmax(0, 1fr) !important;
    gap: 6px;
  }

  #mh-products-grid li.product.mh-loop-card .mh-atc-btn,
  .woocommerce ul.products li.product.mh-loop-card .mh-atc-btn {
    min-height: 42px;
    font-size: 15px;
    padding: 0;
  }

  #mh-products-grid li.product.mh-loop-card .mh-qty,
  .woocommerce ul.products li.product.mh-loop-card .mh-qty {
    grid-template-columns: 24px 1fr 24px;
    min-height: 42px;
    width: 76px;
    min-width: 76px;
    max-width: 76px;
  }

  #mh-products-grid li.product.mh-loop-card .mh-qty-btn,
  .woocommerce ul.products li.product.mh-loop-card .mh-qty-btn {
    font-size: 18px;
  }

  #mh-products-grid li.product.mh-loop-card .mh-qty input.qty,
  .woocommerce ul.products li.product.mh-loop-card .mh-qty input.qty {
    font-size: 16px;
  }

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

  .ft-inner {
    grid-template-columns: 1fr 1fr;
    gap: 20px 16px;
  }

  .single-product div.product {
    padding: 18px;
    gap: 20px;
  }

  .single-product .woocommerce-tabs,
  .woocommerce-cart .woocommerce-cart-form,
  .woocommerce-cart .cart_totals,
  .woocommerce-checkout .woocommerce-billing-fields,
  .woocommerce-checkout .woocommerce-shipping-fields,
  .woocommerce-checkout .woocommerce-additional-fields,
  .woocommerce-checkout #order_review,
  .woocommerce-checkout #payment {
    padding: 18px;
  }

  .woocommerce-cart .actions,
  .woocommerce-cart .coupon {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .single-product .mh-specification-table,
  .single-product .mh-specification-table tbody,
  .single-product .mh-specification-table tr,
  .single-product .mh-specification-table th,
  .single-product .mh-specification-table td {
    display: block;
    width: 100%;
  }

  .single-product .mh-specification-table tr {
    border-bottom: 1px solid var(--mh-border);
  }

  .single-product .mh-specification-table tr:last-child {
    border-bottom: 0;
  }

  .single-product .mh-specification-table th,
  .single-product .mh-specification-table td {
    border-bottom: 0;
    padding: 12px 14px;
  }

  .single-product .mh-specification-table td {
    padding-top: 0;
  }
}

@media (max-width: 479px) {
  .mh-container,
  .main {
    width: calc(100% - 20px);
  }

  .mh-main-inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "logo"
      "actions"
      "search";
    justify-items: start;
  }

  .mh-main-actions {
    width: 100%;
    justify-content: space-between;
  }

  .search-form {
    grid-template-columns: 84px minmax(0, 1fr) 76px;
  }

  .mh-account-link,
  .cart-wrap,
  .mh-menu-toggle {
    width: 42px;
    height: 42px;
  }

  .mh-menu-toggle {
    min-width: 0;
    padding: 0 12px;
  }

  .mh-menu-toggle span {
    display: none;
  }

  .mh-hero-grid,
  .mh-category-grid {
    grid-template-columns: 1fr;
  }

  .ft-inner {
    grid-template-columns: 1fr;
  }

  .single-product div.product .product_title,
  .woocommerce .page-title,
  .single-product .related.products > h2,
  .woocommerce-cart .cart_totals h2,
  .woocommerce-checkout #order_review_heading {
    font-size: 24px;
  }

  .single-product div.product p.price {
    font-size: 24px;
  }

  .woocommerce .quantity {
    grid-template-columns: 34px minmax(64px, 1fr) 34px;
  }
}

body.marhaba-rtl {
  direction: rtl;
}

body.marhaba-rtl .search-form {
  direction: rtl;
}

body.marhaba-rtl .s-cat-select {
  border-right: 0;
  border-left: 1px solid var(--mh-border);
  padding-right: 16px;
  padding-left: 36px;
  background-position:
    20px calc(50% - 3px),
    26px calc(50% - 3px);
}

body.marhaba-rtl .s-btn {
  border-left: 0;
  border-right: 1px solid var(--mh-border);
  border-radius: 16px 0 0 16px;
}

body.marhaba-rtl .all-cats-toggle span,
body.marhaba-rtl .nav-menu > li > a,
body.marhaba-rtl .cat-menu > li > a,
body.marhaba-rtl .sub-menu li a,
body.marhaba-rtl .dropdown li a {
  text-align: right;
}

body.marhaba-rtl .categories-dropdown,
body.marhaba-rtl .dropdown {
  left: auto;
  right: 0;
  transform-origin: top right;
}

body.marhaba-rtl .cat-menu .has-sub > .sub-menu {
  left: auto;
  right: calc(100% - 14px);
  transform: translateX(-10px);
}

body.marhaba-rtl .cat-menu .has-sub > .sub-menu::before {
  left: auto;
  right: -22px;
}

body.marhaba-rtl .cat-menu .has-sub:hover > .sub-menu,
body.marhaba-rtl .cat-menu .has-sub:focus-within > .sub-menu {
  transform: translateX(0);
}

body.marhaba-rtl .cart-num {
  right: auto;
  left: -7px;
}

body.marhaba-rtl .search-suggestions .sc-search-item {
  text-align: right;
}
