/*
  تم سراسری سایت + کارت محصول
  بر اساس: pruduct card/product-card.css
*/

:root {
  --neyl-cream: #e7e2da;
  --neyl-black: #000000;
  --neyl-white: #ffffff;
  --neyl-clay: #c4a484;
  --neyl-sand: #e4d5c3;
  --neyl-slate: #3e4650;
  --neyl-sale: #7a2e26;
  --neyl-font: "Vazirmatn", "Segoe UI", Tahoma, system-ui, sans-serif;

  /* Elementor Kit typography → Vazirmatn */
  --e-global-typography-primary-font-family: "Vazirmatn";
  --e-global-typography-secondary-font-family: "Vazirmatn";
  --e-global-typography-text-font-family: "Vazirmatn";
  --e-global-typography-accent-font-family: "Vazirmatn";
}

html,
body {
  background: var(--neyl-cream) !important;
  font-family: var(--neyl-font) !important;
}

/*
  فونت سراسری فارسی — همهٔ صفحات، برگه‌ها، نوشته‌ها، ویجت‌ها، پلاگین‌ها
  آیکون‌فونت‌ها مستثنی شده‌اند تا گلیف خراب نشود
*/
html body,
html body button,
html body input,
html body select,
html body textarea,
html body optgroup,
html body .site,
html body .site-content,
html body .entry-content,
html body .entry-title,
html body .widget,
html body .widget-title,
html body .woocommerce,
html body .elementor,
html body .elementor-widget,
html body .elementor-widget-container,
html body .elementor-heading-title,
html body .elementor-button-text,
html body .elementor-icon-list-text,
html body .elementor-nav-menu,
html body .elementor-tab-title,
html body .elementor-tab-content,
html body .nft-frame,
html body .nsp-page,
html body .neyl-mh,
html body .neyl-splash {
  font-family: var(--neyl-font) !important;
}

html body *:not(script):not(style):not(svg):not(path):not(i):not(.fa):not(.fas):not(.far):not(.fab):not(.fal):not(.fad):not([class*="fa-"]):not(.eicon):not([class*="eicon"]):not(.dashicons):not([class*="dashicons"]):not(.elementor-icon) {
  font-family: var(--neyl-font) !important;
}

body,
.site,
.site-content,
.elementor-page,
.elementor-kit-15 {
  background-color: var(--neyl-cream) !important;
  color: var(--neyl-black);
}

.site-footer,
#site-footer,
.site-footer .footer-inner,
.dynamic-footer {
  background: var(--neyl-black) !important;
  color: var(--neyl-white) !important;
  border: 0 !important;
}

.site-footer .site-description,
.site-footer .copyright,
#site-footer a {
  color: var(--neyl-sand) !important;
}

/*
  حذف کامل استایل صورتی-قرمز دیفالت Hello Elementor (#c36 / #CC3366)
  شامل: رنگ لینک، بوردر دکمه، و بک‌گراند هاور/فوکوس دکمه — در کل سایت
*/
html body a,
html body a:visited {
  color: inherit !important;
}

html body a:hover,
html body a:active,
html body a:focus,
html body a:focus-visible {
  color: inherit !important;
  outline: none !important;
  box-shadow: none !important;
}

html body button,
html body [type="button"],
html body [type="submit"],
html body [type="reset"] {
  border-color: transparent !important;
  color: inherit !important;
  background-color: transparent !important;
}

html body button:hover,
html body button:focus,
html body button:active,
html body button:focus-visible,
html body [type="button"]:hover,
html body [type="button"]:focus,
html body [type="button"]:active,
html body [type="button"]:focus-visible,
html body [type="submit"]:hover,
html body [type="submit"]:focus,
html body [type="submit"]:active,
html body [type="submit"]:focus-visible,
html body [type="reset"]:hover,
html body [type="reset"]:focus,
html body [type="reset"]:active {
  background-color: transparent !important;
  color: inherit !important;
  border-color: transparent !important;
  outline: none !important;
  box-shadow: none !important;
}

/* منوی نیل — رنگ‌ها و هاور اختصاصی (بدون صورتی Hello) */
.neyl-mh a,
.neyl-mh button,
.neyl-mh .neyl-mh__nav-btn,
.neyl-mh .neyl-mh__nav-link,
.neyl-mh .neyl-mh__btn,
.neyl-mh .neyl-mh__burger,
.neyl-mh .neyl-mh__mobile-toggle,
.neyl-mh .neyl-mh__sublink,
.neyl-mh .neyl-mh__footer-links a,
.neyl-mh .neyl-mh__mobile-link {
  border: 0 !important;
  box-shadow: none !important;
  outline: none !important;
}

.neyl-mh .neyl-mh__nav-btn,
.neyl-mh .neyl-mh__nav-link,
.neyl-mh .neyl-mh__burger,
.neyl-mh .neyl-mh__mobile-toggle {
  background-color: transparent !important;
  color: var(--neyl-mh-muted) !important;
}

.neyl-mh .neyl-mh__nav-btn:hover,
.neyl-mh .neyl-mh__nav-link:hover,
.neyl-mh .neyl-mh__nav-btn.is-open,
.neyl-mh .neyl-mh__nav-btn:focus,
.neyl-mh .neyl-mh__nav-btn:focus-visible {
  background-color: var(--neyl-mh-hover) !important;
  color: var(--neyl-mh-white) !important;
}

.neyl-mh .neyl-mh__btn--ghost {
  border: 1px solid var(--neyl-mh-border) !important;
  background-color: transparent !important;
  color: var(--neyl-mh-white) !important;
}

.neyl-mh .neyl-mh__btn--ghost:hover {
  background-color: var(--neyl-mh-hover) !important;
  color: var(--neyl-mh-white) !important;
}

.neyl-mh .neyl-mh__sublink,
.neyl-mh .neyl-mh__sublink:visited {
  color: var(--neyl-mh-white) !important;
  background-color: transparent !important;
}

.neyl-mh .neyl-mh__sublink:hover,
.neyl-mh .neyl-mh__sublink.is-active,
.neyl-mh .neyl-mh__sublink:focus {
  color: var(--neyl-mh-sand) !important;
  background-color: transparent !important;
}

.neyl-mh .neyl-mh__badge {
  background: var(--neyl-mh-clay) !important;
  color: #111111 !important;
}

.neyl-mh .neyl-mh__btn--solid {
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.55) 0%,
      rgba(255, 255, 255, 0.1) 38%,
      rgba(255, 255, 255, 0) 62%
    ),
    #ffffff !important;
  color: #111111 !important;
}

.neyl-mh .neyl-mh__btn--solid:hover {
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.45) 0%,
      rgba(255, 255, 255, 0.14) 42%,
      rgba(255, 255, 255, 0) 64%
    ),
    #e4d5c3 !important;
  color: #111111 !important;
}

/* ---------- Product card (exact theme) ---------- */
.pcard {
  --pcard-font: "Vazirmatn", "Segoe UI", Tahoma, system-ui, sans-serif;
  --pcard-serif: "Vazirmatn", "Segoe UI", Tahoma, system-ui, sans-serif;

  position: relative;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: min(100%, 360px);
  max-width: 360px;
  height: 540px;
  min-height: 540px;
  margin: 0 auto;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 16px;
  background: #000;
  color: #fff;
  font-family: var(--pcard-font);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.45;
  text-align: left;
  opacity: 1;
  -webkit-font-smoothing: antialiased;
}

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

.pcard p,
.pcard h2,
.pcard fieldset {
  margin: 0;
  padding: 0;
}

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

.pcard .pcard__photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  margin: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  object-fit: cover;
  object-position: center 22%;
}

.pcard__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    #000 0%,
    #000 72px,
    rgba(0, 0, 0, 0.94) 18%,
    rgba(0, 0, 0, 0.72) 34%,
    rgba(0, 0, 0, 0.28) 52%,
    rgba(0, 0, 0, 0) 70%
  );
  pointer-events: none;
}

.pcard__price {
  position: absolute;
  top: 28px;
  left: 24px;
  right: 24px;
  z-index: 2;
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0;
  color: #000;
  opacity: 1;
}

.pcard__now {
  color: #000;
  font-family: var(--pcard-serif);
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  opacity: 1;
}

.pcard__was {
  color: #000;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  text-decoration: line-through;
  opacity: 1;
}

.pcard__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  margin-top: auto;
}

.pcard__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px 24px 18px;
  color: #fff;
  opacity: 1;
}

.pcard__kicker {
  color: #fff;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
  opacity: 1;
}

.pcard__title {
  margin: 0;
  color: #fff;
  font-family: var(--pcard-serif);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
  opacity: 1;
}

.pcard .pcard__title a {
  color: #fff;
  text-decoration: none;
  opacity: 1;
}

.pcard .pcard__title a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pcard__note,
.pcard__count {
  color: #fff;
  font-size: 14px;
  line-height: 1.4;
  opacity: 1;
}

.pcard__rating {
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 1;
}

.pcard__stars {
  position: relative;
  display: inline-block;
  color: #5c5c5c;
  font-family: system-ui, sans-serif;
  font-size: 13px;
  letter-spacing: 2px;
  line-height: 1;
  opacity: 1;
}

.pcard__stars-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--rating, 100%);
  overflow: hidden;
  color: #fff;
  white-space: nowrap;
  opacity: 1;
}

.pcard__colors {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-inline-size: 0;
  width: auto;
  margin: 4px 0 0;
  padding: 0;
  border: 0;
}

.pcard__colors legend,
.pcard__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.pcard__colors label {
  position: relative;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin: 0;
  cursor: pointer;
}

.pcard__colors input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
}

.pcard__swatch {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--swatch, #ccc);
  box-shadow: inset 0 0 0 1px #000;
}

.pcard__colors input:checked + .pcard__swatch {
  box-shadow:
    0 0 0 2px #000,
    0 0 0 3.5px #fff;
}

.pcard__colors input:focus-visible + .pcard__swatch {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.pcard .pcard__btn {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 56px;
  margin: 0;
  padding: 16px 24px;
  border: 0 !important;
  border-radius: 0 !important;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.28) 0%,
      rgba(255, 255, 255, 0.08) 38%,
      rgba(255, 255, 255, 0) 62%
    ),
    #000 !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45) !important;
  color: #fff !important;
  font-family: var(--pcard-font);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
  text-align: center;
  text-decoration: none !important;
  opacity: 1;
  cursor: pointer;
}

.pcard .pcard__btn:hover,
.pcard .pcard__btn:focus-visible {
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.38) 0%,
      rgba(255, 255, 255, 0.1) 42%,
      rgba(255, 255, 255, 0) 64%
    ),
    #000 !important;
  color: #fff !important;
}

.pcard .pcard__btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -4px;
}

/* ---------- WooCommerce products (exact theme) ---------- */
.woocommerce ul.products,
.woocommerce-page ul.products,
ul.wc-block-grid__products,
ul.wc-block-product-template {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(260px, 360px));
  justify-content: center;
  gap: 28px;
  width: 100%;
  margin: 0 !important;
  padding: 0;
  list-style: none;
}

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

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
.wc-block-grid__products .wc-block-grid__product,
ul.wc-block-product-template > li {
  position: relative;
  display: flex !important;
  flex-direction: column;
  justify-content: flex-end;
  width: 100% !important;
  max-width: 360px;
  height: auto !important;
  aspect-ratio: 2 / 3;
  margin: 0 !important;
  padding: 24px 24px 80px !important;
  float: none !important;
  clear: none !important;
  overflow: hidden;
  box-sizing: border-box;
  border: 0 !important;
  border-radius: 16px;
  background: #000 !important;
  box-shadow: none !important;
  color: #fff;
  text-align: left;
}

.woocommerce ul.products li.product::after,
.woocommerce-page ul.products li.product::after,
.wc-block-grid__products .wc-block-grid__product::after,
ul.wc-block-product-template > li::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    #000 0%,
    #000 72px,
    rgba(0, 0, 0, 0.94) 18%,
    rgba(0, 0, 0, 0.72) 34%,
    rgba(0, 0, 0, 0.28) 52%,
    rgba(0, 0, 0, 0) 70%
  );
  pointer-events: none;
}

.woocommerce ul.products li.product a:not(.button):not(.add_to_cart_button),
.woocommerce ul.products li.product div:not(.star-rating),
.wc-block-grid__product a:not(.button):not(.add_to_cart_button),
.wc-block-grid__product div:not(.star-rating),
ul.wc-block-product-template > li a:not(.button):not(.add_to_cart_button),
ul.wc-block-product-template > li div:not(.star-rating) {
  position: static !important;
}

.woocommerce ul.products li.product img,
.woocommerce-page ul.products li.product img,
.wc-block-grid__product img,
ul.wc-block-product-template > li img {
  position: absolute !important;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  border: 0;
  border-radius: 0;
  box-shadow: none !important;
  object-fit: cover;
  object-position: center 22%;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h2,
.woocommerce ul.products li.product h3,
.wc-block-grid__product .wc-block-grid__product-title,
ul.wc-block-product-template > li h2,
ul.wc-block-product-template > li h3 {
  margin: 0 0 8px !important;
  color: #fff !important;
  font-family: "Vazirmatn", "Segoe UI", Tahoma, system-ui, sans-serif;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-align: left;
  opacity: 1;
}

.woocommerce ul.products li.product a,
.wc-block-grid__product a,
ul.wc-block-product-template > li a {
  color: #fff !important;
  text-decoration: none !important;
  opacity: 1;
}

.woocommerce ul.products li.product .price,
.wc-block-grid__product .price,
ul.wc-block-product-template > li .price,
.wc-block-components-product-price {
  position: absolute !important;
  top: 28px;
  left: 24px;
  right: 24px;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  margin: 0 !important;
  color: #000 !important;
  font-family: "Vazirmatn", "Segoe UI", Tahoma, system-ui, sans-serif;
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  text-align: left;
  opacity: 1;
}

.woocommerce ul.products li.product .price *,
.wc-block-grid__product .price *,
ul.wc-block-product-template > li .price * {
  color: #000 !important;
  opacity: 1;
}

.woocommerce ul.products li.product .price del,
.wc-block-grid__product .price del,
ul.wc-block-product-template > li .price del {
  order: 2;
  font-size: 16px;
  font-weight: 500;
  text-decoration: line-through;
}

.woocommerce ul.products li.product .price ins,
.wc-block-grid__product .price ins,
ul.wc-block-product-template > li .price ins {
  order: 1;
  background: none;
  font-weight: 600;
  text-decoration: none;
}

.woocommerce ul.products li.product .star-rating,
.wc-block-grid__product .star-rating {
  margin: 0 0 8px !important;
  color: #5c5c5c;
  opacity: 1;
}

.woocommerce ul.products li.product .star-rating span,
.wc-block-grid__product .star-rating span {
  color: #fff;
}

.woocommerce ul.products li.product .onsale,
.wc-block-grid__product .wc-block-grid__product-onsale {
  position: absolute !important;
  top: 16px !important;
  right: 16px !important;
  left: auto !important;
  z-index: 4;
  min-height: 0;
  margin: 0 !important;
  padding: 5px 9px;
  border-radius: 999px;
  background: #7a2e26;
  color: #fff !important;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .add_to_cart_button,
.wc-block-grid__product .add_to_cart_button,
.wc-block-grid__product .wp-block-button__link,
ul.wc-block-product-template > li .add_to_cart_button,
ul.wc-block-product-template > li .wp-block-button__link {
  position: absolute !important;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 3;
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: auto !important;
  min-height: 56px;
  margin: 0 !important;
  padding: 16px 24px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.28) 0%,
      rgba(255, 255, 255, 0.08) 38%,
      rgba(255, 255, 255, 0) 62%
    ),
    #000 !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45) !important;
  color: #fff !important;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
  text-align: center;
  text-decoration: none !important;
  opacity: 1;
}

.woocommerce ul.products li.product .button:hover,
.woocommerce ul.products li.product .add_to_cart_button:hover,
.wc-block-grid__product .add_to_cart_button:hover,
.wc-block-grid__product .wp-block-button__link:hover,
ul.wc-block-product-template > li .wp-block-button__link:hover {
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.38) 0%,
      rgba(255, 255, 255, 0.1) 42%,
      rgba(255, 255, 255, 0) 64%
    ),
    #000 !important;
  color: #fff !important;
}

/* ===== NEYL Menu Header ===== */

/* Elementor atomic/flex ویجت شورت‌کد را باریک می‌کند — آزادسازی به عرض کامل */
.elementor-location-header .elementor-widget-shortcode,
.elementor-location-header .elementor-element:has(> .elementor-widget-shortcode),
.elementor-location-header .elementor-element:has(.neyl-mh),
.elementor-location-header .elementor-shortcode {
  width: 100% !important;
  max-width: 100% !important;
  flex: 1 1 100% !important;
  align-self: stretch !important;
  min-width: 0 !important;
}

.neyl-mh {
  /* پالت هماهنگ با product card */
  --neyl-mh-font: "Vazirmatn", "Segoe UI", Tahoma, system-ui, sans-serif;
  --neyl-mh-serif: "Vazirmatn", "Segoe UI", Tahoma, system-ui, sans-serif;
  --neyl-mh-cream: #e7e2da;
  --neyl-mh-black: #000000;
  --neyl-mh-white: #ffffff;
  --neyl-mh-muted: rgba(255, 255, 255, 0.72);
  --neyl-mh-muted-2: rgba(255, 255, 255, 0.48);
  --neyl-mh-border: rgba(255, 255, 255, 0.16);
  --neyl-mh-hover: rgba(255, 255, 255, 0.1);
  --neyl-mh-clay: #c4a484;
  --neyl-mh-sand: #e4d5c3;
  --neyl-mh-slate: #3e4650;
  --neyl-mh-sale: #7a2e26;

  position: relative;
  z-index: 50;
  display: flex;
  justify-content: center;
  overflow: visible;
  /* خروج از پدینگ Elementor — هم‌عرض فوتر */
  width: 100vw !important;
  max-width: 100vw !important;
  margin-inline: calc(50% - 50vw);
  /* هم‌عرض فوتر موبایل (.nft-frame padding) */
  padding: 0.75rem;
  font-family: var(--neyl-mh-font);
  box-sizing: border-box;
  color: var(--neyl-mh-white);
}

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

.neyl-mh__shell {
  position: relative;
  z-index: 10050;
  width: 100%;
  max-width: none;
}

.neyl-mh__card {
  position: relative;
  overflow: visible;
  border-radius: 16px;
  /* عین پنل فوتر (.w17__panel) */
  border: 1px solid rgba(255, 255, 255, 0.18);
  background:
    linear-gradient(
      165deg,
      rgba(255, 255, 255, 0.16) 0%,
      rgba(255, 255, 255, 0.05) 40%,
      rgba(255, 255, 255, 0.02) 100%
    ),
    rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -1px 0 rgba(0, 0, 0, 0.18),
    0 28px 70px -28px rgba(0, 0, 0, 0.4);
}

@media (max-width: 520px) {
  .neyl-mh {
    padding: 0.5rem;
  }
}

.neyl-mh__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
}

@media (min-width: 640px) {
  .neyl-mh__top {
    gap: 1rem;
    padding: 0.75rem 1.25rem;
  }
}

.neyl-mh__brand {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.neyl-mh__brand-img {
  width: 100%;
  height: 100%;
  border-radius: 50% !important;
  object-fit: cover;
  display: block;
}

/* دسکتاپ: عرض دقیقاً هم‌اندازه پنل فوتر (1456/1600 = 91vw) */
@media (min-width: 1024px) {
  .neyl-mh {
    padding-block: 0.75rem;
    padding-inline: 0;
  }

  .neyl-mh__shell {
    width: 91vw;
    max-width: 91vw;
    margin-inline: auto;
  }

  .neyl-mh__top {
    gap: 0.75rem;
    padding: 3px 1.25rem;
    min-height: calc(2.75rem + 6px);
    height: calc(2.75rem + 6px);
    box-sizing: border-box;
  }

  .neyl-mh__brand {
    width: 2.75rem;
    height: 2.75rem;
  }

  .neyl-mh__brand-img {
    width: 100% !important;
    height: 100% !important;
    max-width: none;
    max-height: none;
  }

  .neyl-mh__btn {
    min-height: 2.75rem;
    height: 2.75rem;
    padding-block: 0;
    line-height: 1;
  }

  .neyl-mh__nav-btn,
  .neyl-mh__nav-link {
    min-height: 2.75rem;
    height: 2.75rem;
    padding-block: 0;
    line-height: 1;
  }
}

.neyl-mh__nav {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

.neyl-mh__actions {
  display: none;
  flex-shrink: 0;
  align-items: center;
  gap: 0.75rem;
}

@media (min-width: 1024px) {
  .neyl-mh__nav,
  .neyl-mh__actions {
    display: flex;
  }
  .neyl-mh__burger {
    display: none !important;
  }
}

.neyl-mh__nav-btn,
.neyl-mh__nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  border: 0;
  background: transparent;
  border-radius: 9999px;
  padding: 0.5rem 1rem;
  font-size: 15px;
  font-weight: 500;
  font-family: inherit;
  color: var(--neyl-mh-muted);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}

.neyl-mh__nav-btn:hover,
.neyl-mh__nav-link:hover,
.neyl-mh__nav-btn.is-open {
  background: var(--neyl-mh-hover);
  color: var(--neyl-mh-white);
}

.neyl-mh__chevron {
  transition: transform 0.3s;
}

.neyl-mh__nav-btn.is-open .neyl-mh__chevron,
.neyl-mh__mobile-toggle.is-open .neyl-mh__chevron {
  transform: rotate(180deg);
}

.neyl-mh__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  border-radius: 9999px;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background-color 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.neyl-mh__btn--ghost {
  border: 1px solid var(--neyl-mh-border);
  background: transparent;
  color: var(--neyl-mh-white);
}

.neyl-mh__btn--ghost:hover {
  background: var(--neyl-mh-hover);
  border-color: rgba(255, 255, 255, 0.35);
}

.neyl-mh__btn--solid {
  border: 0;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.34) 0%,
      rgba(255, 255, 255, 0.1) 38%,
      rgba(255, 255, 255, 0) 62%
    ),
    var(--neyl-mh-white);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
  color: var(--neyl-mh-black);
}

.neyl-mh__btn--solid:hover {
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.45) 0%,
      rgba(255, 255, 255, 0.14) 42%,
      rgba(255, 255, 255, 0) 64%
    ),
    var(--neyl-mh-cream);
  color: var(--neyl-mh-black);
}

.neyl-mh__burger {
  display: inline-flex;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 9999px;
  background: transparent;
  color: var(--neyl-mh-white);
  cursor: pointer;
}

.neyl-mh__burger:hover {
  background: var(--neyl-mh-hover);
}

.neyl-mh__mega {
  display: none;
  padding: 0.5rem 2rem 2rem;
  border-top: 1px solid var(--neyl-mh-border);
}

/* دسکتاپ: زیرمنو روی محتوا باز شود و چیزی را پایین نراند */
@media (min-width: 1024px) {
  .neyl-mh {
    overflow: visible;
  }

  .neyl-mh__mega {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 10060;
    margin-top: 0;
    padding: 1rem 2rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0 0 16px 16px;
    /* مات توپر — رنگ نزدیک ظاهر فوتر روی کرم، بدون شیشه/blur */
    background: #3a3835;
    background-image: none;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: 0 22px 48px -18px rgba(0, 0, 0, 0.45);
  }

  .neyl-mh__mega.is-open {
    display: block;
  }

  .neyl-mh__card:has(.neyl-mh__mega.is-open) {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }
}

.neyl-mh__mega-grid {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 2.5rem;
}

.neyl-mh__col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.neyl-mh__eyebrow {
  width: fit-content;
  border-radius: 9999px;
  border: 1px solid var(--neyl-mh-border);
  padding: 0.375rem 1rem;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--neyl-mh-muted);
}

.neyl-mh__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.neyl-mh__sublink {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--neyl-mh-serif);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--neyl-mh-white);
  text-decoration: none;
  transition: color 0.2s, opacity 0.2s;
}

.neyl-mh__sublink:hover,
.neyl-mh__sublink.is-active {
  color: var(--neyl-mh-sand);
}

.neyl-mh__badge {
  border-radius: 9999px;
  background: var(--neyl-mh-sale);
  color: var(--neyl-mh-white);
  padding: 0.125rem 0.5rem;
  font-family: var(--neyl-mh-font);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.neyl-mh__footer-links {
  margin-top: auto;
  padding-top: 4rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.neyl-mh__footer-links a {
  font-size: 0.875rem;
  color: var(--neyl-mh-muted-2);
  text-decoration: none;
}

.neyl-mh__footer-links a:hover {
  color: var(--neyl-mh-sand);
}

.neyl-mh__preview-pair {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 1.25rem;
  flex-shrink: 0;
}

/* کادر نامرئی هم‌اندازه عکس — در RTL سمت راست عکس */
.neyl-mh__preview-desc {
  width: 18rem;
  height: 16rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1rem;
  overflow: hidden;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.neyl-mh__preview-desc-text {
  margin: 0;
  max-width: 100%;
  max-height: 100%;
  overflow: hidden;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.75;
  color: var(--neyl-mh-muted);
  text-align: center;
  transition: opacity 0.25s ease;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 8;
  line-clamp: 8;
}

.neyl-mh__preview-desc-text.is-fading {
  opacity: 0;
}

.neyl-mh__preview {
  position: relative;
  width: 18rem;
  height: 16rem;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 16px;
  background: var(--neyl-mh-slate);
}

.neyl-mh__preview-link {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  text-decoration: none;
  color: #fff;
}

.neyl-mh__preview-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.neyl-mh__preview-img.is-fading {
  opacity: 0;
  transform: scale(1.03);
}

/* Mobile panel */
.neyl-mh__mobile {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  max-height: min(75dvh, calc(100dvh - 5.5rem));
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0 1rem 1.25rem;
  border-top: 1px solid var(--neyl-mh-border);
}

.neyl-mh__mobile.is-open {
  display: flex;
}

@media (min-width: 1024px) {
  .neyl-mh__mobile {
    display: none !important;
  }
}

.neyl-mh__mobile-toggle,
.neyl-mh__mobile-top,
.neyl-mh__mobile-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  min-height: 3rem;
  width: 100%;
  border: 0;
  background: transparent;
  border-radius: 0.75rem;
  padding: 0.75rem;
  font-size: 1rem;
  font-weight: 500;
  font-family: inherit;
  color: var(--neyl-mh-muted);
  text-align: right;
  text-decoration: none;
  cursor: pointer;
}

.neyl-mh__mobile-toggle:hover,
.neyl-mh__mobile-top:hover,
.neyl-mh__mobile-link:hover {
  background: var(--neyl-mh-hover);
  color: var(--neyl-mh-white);
}

.neyl-mh__mobile-sub {
  margin-right: 0.5rem;
  padding-right: 0.75rem;
  border-right: 1px solid var(--neyl-mh-border);
}

.neyl-mh__mobile-eyebrow {
  margin: 0;
  padding: 0.5rem 0.75rem 0.25rem;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--neyl-mh-muted-2);
}

.neyl-mh__mobile-sub .neyl-mh__mobile-link {
  min-height: 2.75rem;
  font-size: 0.875rem;
  color: var(--neyl-mh-muted);
  justify-content: flex-start;
}

.neyl-mh__mobile-actions {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-top: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--neyl-mh-border);
}

.neyl-mh__mobile-actions .neyl-mh__btn {
  width: 100%;
}

body.neyl-mh-lock {
  overflow: hidden;
}

/* مخفی کردن لوگوی بزرگ هویت سایت در هدر/فوتر قالب */
#site-header .site-logo,
#site-header .custom-logo,
#site-header .custom-logo-link,
.site-header .site-logo,
.site-header .custom-logo,
.site-header .custom-logo-link,
#site-footer .site-logo,
#site-footer .custom-logo,
#site-footer .custom-logo-link,
.site-footer .site-logo,
.site-footer .custom-logo,
.site-footer .custom-logo-link,
.site-footer .site-branding .site-logo,
.site-footer .site-branding.show-logo .site-logo {
  display: none !important;
}
