/* Generated theme — light */
:root {
  --primary-100: #FCFBF8;
  --primary-200: #F6F2E9;
  --primary-300: #EDE6D4;
  --primary-400: #EDD597;
  --primary-500: #E3BC59;
  --primary-600: #DBA824;
  --primary-700: #AF861D;
  --primary-800: #836416;
  --primary-900: #513D0B;
  --secondary-100: #FBFAF9;
  --secondary-200: #F3F1ED;
  --secondary-300: #E7E3DA;
  --secondary-400: #D6CBAD;
  --secondary-500: #BEAC7E;
  --secondary-600: #A99256;
  --secondary-700: #887544;
  --secondary-800: #665833;
  --secondary-900: #3F361D;
  --tertiary-100: #F9FCF8;
  --tertiary-200: #EDF5EA;
  --tertiary-300: #DCEBD6;
  --tertiary-400: #B2E69E;
  --tertiary-500: #85D765;
  --tertiary-600: #5FCB34;
  --tertiary-700: #4CA22A;
  --tertiary-800: #397A1F;
  --tertiary-900: #214B11;
  --neutral-100: #FAFAFA;
  --neutral-200: #F0F0EF;
  --neutral-300: #E1E1DF;
  --neutral-400: #C5C4BF;
  --neutral-500: #A3A199;
  --neutral-600: #868379;
  --neutral-700: #6B6961;
  --neutral-800: #504F49;
  --neutral-900: #31302B;
  --error-100: #FCF8F8;
  --error-200: #F6EAE9;
  --error-300: #EDD5D3;
  --error-400: #ED9B96;
  --error-500: #E36059;
  --error-600: #DA2E25;
  --error-700: #AF251D;
  --error-800: #831C16;
  --error-900: #510E0B;
  --bs-primary: #E3BC59;
  --bs-primary-rgb: 227, 188, 89;
  --bs-secondary: #BEAC7E;
  --bs-secondary-rgb: 190, 172, 126;
  --bs-success: #198748;
  --bs-success-rgb: 25, 135, 72;
  --bs-info: #0EE0EF;
  --bs-info-rgb: 14, 224, 239;
  --bs-warning: #FEC008;
  --bs-warning-rgb: 254, 192, 8;
  --bs-danger: #E36059;
  --bs-danger-rgb: 227, 96, 89;
  --bs-light: #f8f9fa;
  --bs-dark: #212529;

  --bs-link-color: #E3BC59;
  --bs-link-color-rgb: 227, 188, 89;
  --bs-link-hover-color: #AF861D;
  --bs-link-decoration: none;
}

/* Core overrides mapping to CSS variables */
.btn-primary { background-color: var(--bs-primary) !important; border-color: var(--bs-primary) !important; color: white !important; }
.btn-primary:hover { background-color: var(--primary-700) !important; border-color: var(--primary-700) !important; }
.btn-secondary { background-color: var(--bs-secondary) !important; border-color: var(--bs-secondary) !important; color: white !important; }
.btn-secondary:hover { background-color: var(--secondary-700) !important; border-color: var(--secondary-700) !important; }
.btn-success { background-color: var(--bs-success) !important; border-color: var(--bs-success) !important; }
.btn-info { background-color: var(--bs-info) !important; border-color: var(--bs-info) !important; }
.btn-warning { background-color: var(--bs-warning) !important; border-color: var(--bs-warning) !important; }
.btn-danger { background-color: var(--bs-danger) !important; border-color: var(--bs-danger) !important; }

.btn-outline-primary { color: var(--bs-primary) !important; border-color: var(--bs-primary) !important; background-color: transparent !important; }
.btn-outline-primary:hover { color: white !important; background-color: var(--bs-primary) !important; border-color: var(--bs-primary) !important; }
.btn-outline-secondary { color: var(--bs-secondary) !important; border-color: var(--bs-secondary) !important; background-color: transparent !important; }
.btn-outline-secondary:hover { color: white !important; background-color: var(--bs-secondary) !important; border-color: var(--bs-secondary) !important; }

.bg-primary { background-color: var(--bs-primary) !important; }
.bg-secondary { background-color: var(--bs-secondary) !important; }
.bg-success { background-color: var(--bs-success) !important; }
.bg-info { background-color: var(--bs-info) !important; }
.bg-warning { background-color: var(--bs-warning) !important; }
.bg-danger { background-color: var(--bs-danger) !important; }

.bg-primary-subtle { background-color: var(--primary-100) !important; color: var(--primary-700) !important; }
.bg-secondary-subtle { background-color: var(--secondary-100) !important; color: var(--secondary-700) !important; }

.text-primary { color: var(--bs-primary) !important; }
.text-secondary { color: var(--bs-secondary) !important; }
.text-success { color: var(--bs-success) !important; }
.text-info { color: var(--bs-info) !important; }
.text-warning { color: var(--bs-warning) !important; }
.text-danger { color: var(--bs-danger) !important; }

.border-primary { border-color: var(--bs-primary) !important; }
.border-primary-subtle { border-color: var(--primary-200) !important; }
.border-secondary { border-color: var(--bs-secondary) !important; }
.border-success { border-color: var(--bs-success) !important; }
.border-info { border-color: var(--bs-info) !important; }
.border-warning { border-color: var(--bs-warning) !important; }
.border-danger { border-color: var(--bs-danger) !important; }

.shadow-primary { box-shadow: 0 0.5rem 1rem rgba(var(--bs-primary-rgb), 0.15) !important; }
.shadow-primary-sm { box-shadow: 0 0.125rem 0.25rem rgba(var(--bs-primary-rgb), 0.075) !important; }

a { color: var(--bs-primary); text-decoration: none !important; }
a:hover { color: var(--primary-700); text-decoration: none !important; }
a:focus { color: var(--primary-700); text-decoration: none !important; }
.btn-link { color: var(--bs-primary); text-decoration: none !important; }
.btn-link:hover { color: var(--primary-700); text-decoration: none !important; }
.btn-link:focus { color: var(--primary-700); text-decoration: none !important; }

.link-primary { color: var(--bs-primary) !important; }
.link-primary:hover { color: var(--primary-700) !important; }
.link-secondary { color: var(--bs-secondary) !important; }
.link-secondary:hover { color: var(--secondary-700) !important; }

.pagination .page-link { color: var(--primary-700); background-color: transparent; border-color: var(--primary-200); }
.pagination .page-link:hover { color: var(--primary-800); background-color: var(--primary-100); border-color: var(--primary-300); }
.pagination .page-item.active .page-link { color: white; background-color: var(--bs-primary); border-color: var(--bs-primary); }
.pagination .page-item.disabled .page-link { color: var(--primary-400); background-color: transparent; border-color: var(--primary-200); }

/* Generated theme — dark */
[data-bs-theme="dark"] {
  --primary-100: #362907;
  --primary-200: #523D0A;
  --primary-300: #725712;
  --primary-400: #9F7919;
  --primary-500: #D4A220;
  --primary-600: #E4B94E;
  --primary-700: #EACB7B;
  --primary-800: #F1DCA7;
  --primary-900: #F0EADB;
  --secondary-100: #2A2413;
  --secondary-200: #3F361D;
  --secondary-300: #594C2C;
  --secondary-400: #7A693D;
  --secondary-500: #A28C52;
  --secondary-600: #BBA877;
  --secondary-700: #CCBE99;
  --secondary-800: #DDD4BB;
  --secondary-900: #EBE8E0;
  --tertiary-100: #16330A;
  --tertiary-200: #214C10;
  --tertiary-300: #316B1A;
  --tertiary-400: #439424;
  --tertiary-500: #5AC530;
  --tertiary-600: #7ED75B;
  --tertiary-700: #9EE184;
  --tertiary-800: #BEEBAD;
  --tertiary-900: #E1EFDC;
  --neutral-100: #211F1C;
  --neutral-200: #322F2A;
  --neutral-300: #46443E;
  --neutral-400: #615E56;
  --neutral-500: #827D73;
  --neutral-600: #9F9B93;
  --neutral-700: #B7B4AE;
  --neutral-800: #CFCDC9;
  --neutral-900: #E6E6E5;
  --error-100: #360A07;
  --error-200: #510E0B;
  --error-300: #721813;
  --error-400: #9D211A;
  --error-500: #D22D23;
  --error-600: #E25850;
  --error-700: #E9827C;
  --error-800: #F0ACA8;
  --error-900: #F0DCDB;
  --bs-primary: #D4A220;
  --bs-primary-rgb: 212, 162, 32;
  --bs-secondary: #A28C52;
  --bs-secondary-rgb: 162, 140, 82;
  --bs-success: #198748;
  --bs-success-rgb: 25, 135, 72;
  --bs-info: #0DE0F0;
  --bs-info-rgb: 13, 224, 240;
  --bs-warning: #FEC008;
  --bs-warning-rgb: 254, 192, 8;
  --bs-danger: #D22D23;
  --bs-danger-rgb: 210, 45, 35;
  --bs-light: #f8f9fa;
  --bs-dark: #212529;

  --bs-link-color: #D4A220;
  --bs-link-color-rgb: 212, 162, 32;
  --bs-link-hover-color: #9F7919;
}


/* Dynamic Font Face - Only Selected Font */
@font-face {
    font-family: 'Dana';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/assets/fonts/dana/dana-fanum-regular.woff2') format('woff2'),
         url('/assets/fonts/dana/dana-fanum-regular.woff') format('woff');
}

/* Dynamic Font Family */
body { font-family: 'Dana', sans-serif !important; }


/* Custom Global CSS */
/* =========================================
   Mahla Header - Classic Elegant Redesign
   مخصوص Header 1: header-ecommerce-classic
========================================= */

:root {
  --mh-bg: #fffdfb;
  --mh-surface: #ffffff;
  --mh-text: #3d3232;
  --mh-muted: #8a7777;
  --mh-accent: #c9a96e;
  --mh-accent-2: #b99156;
  --mh-line: #f0e4e4;
  --mh-soft: #fff7f7;
  --mh-shadow: 0 10px 30px rgba(45, 26, 26, 0.08);

  --mehla-bg: #fdf6f6;
  --mehla-bg-soft: #fffdfb;
  --mehla-blush: #fbeeee;
  --mehla-gold: #C9A96E;
  --mehla-gold-dark: #b3925a;
  --mehla-ink: #241d1d;
  --mehla-muted: #6b5a5a;
  --mehla-muted-2: #8a7d7d;
  --mehla-line: #f1e7dc;
  --mehla-line-2: #e0c8c8;
  --mehla-pink: #f7e8e8;
}

/* کل هدر */
.header-ecommerce-classic {
  position: sticky;
  top: 0;
  z-index: 1050;
  background: rgba(255, 253, 251, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--mh-line);
  box-shadow: var(--mh-shadow);
}

/* Top Bar */
.header-ecommerce-classic .top-bar {
  background: linear-gradient(90deg, #fff8f8 0%, #fffdfb 50%, #fff8f8 100%) !important;
  border-bottom: 1px solid var(--mh-line) !important;
  padding-block: 0.45rem !important;
}

.header-ecommerce-classic .top-bar .small,
.header-ecommerce-classic .top-bar .text-muted {
  color: var(--mh-muted) !important;
  font-size: 13px;
}

.header-ecommerce-classic .top-bar a {
  color: var(--mh-accent-2) !important;
  font-weight: 600;
  transition: color 0.25s ease, transform 0.25s ease;
}

.header-ecommerce-classic .top-bar a:hover {
  color: #a37d47 !important;
  transform: translateY(-1px);
}

/* Navbar اصلی */
.header-ecommerce-classic .navbar {
  background: transparent !important;
  border-bottom: 0 !important;
  padding-block: 0.65rem;
}

/* لوگو */
.header-ecommerce-classic .navbar-brand img {
  height: 48px !important;
  object-fit: contain;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.header-ecommerce-classic .navbar-brand:hover img {
  transform: scale(1.03);
  filter: drop-shadow(0 5px 12px rgba(201, 169, 110, 0.28));
}

/* لینک‌های منو */
.header-ecommerce-classic .nav-link {
  position: relative;
  color: var(--mh-text) !important;
  font-size: 15px;
  font-weight: 600;
  padding: 0.6rem 0.75rem !important;
  transition: color 0.25s ease;
}

.header-ecommerce-classic .nav-link::after {
  content: "";
  position: absolute;
  right: 0.75rem;
  left: 0.75rem;
  bottom: 0.35rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--mh-accent), transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.header-ecommerce-classic .nav-link:hover,
.header-ecommerce-classic .nav-link.active {
  color: var(--mh-accent-2) !important;
}

.header-ecommerce-classic .nav-link:hover::after,
.header-ecommerce-classic .nav-link.active::after {
  transform: scaleX(1);
}

/* باکس جستجو */
.header-ecommerce-classic form[role="search"] .input-group {
  border: 1px solid #ecdede;
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.header-ecommerce-classic form[role="search"] .input-group:focus-within {
  border-color: #e2c9a2;
  box-shadow: 0 0 0 4px rgba(201, 169, 110, 0.14);
}

.header-ecommerce-classic form[role="search"] .form-control {
  border: 0 !important;
  box-shadow: none !important;
  background: transparent;
  color: var(--mh-text);
  font-size: 14px;
  padding-inline: 14px;
}

.header-ecommerce-classic form[role="search"] .form-control::placeholder {
  color: #b09d9d;
}

.header-ecommerce-classic form[role="search"] .btn {
  border: 0 !important;
  background: linear-gradient(135deg, var(--mh-accent) 0%, var(--mh-accent-2) 100%) !important;
  color: #fff !important;
  padding-inline: 14px;
  transition: filter 0.25s ease;
}

.header-ecommerce-classic form[role="search"] .btn:hover {
  filter: brightness(0.95);
}

/* دکمه سبد */
.header-ecommerce-classic [data-cart-link] {
  border-radius: 999px !important;
  border: 1px solid #ead3b2 !important;
  color: var(--mh-accent-2) !important;
  background: #fffaf1 !important;
  min-width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.header-ecommerce-classic [data-cart-link]:hover {
  background: linear-gradient(135deg, var(--mh-accent) 0%, var(--mh-accent-2) 100%) !important;
  color: #fff !important;
  border-color: transparent !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 22px rgba(185, 145, 86, 0.35);
}

.header-ecommerce-classic [data-cart-link] i {
  font-size: 18px;
}

/* Badge سبد */
.header-ecommerce-classic [data-cart-count] {
  min-width: 19px;
  height: 19px;
  border: 2px solid #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  line-height: 1;
}

/* همبرگری */
.header-ecommerce-classic .navbar-toggler {
  border: 1px solid #ecdede;
  border-radius: 12px;
  padding: 0.4rem 0.6rem;
  box-shadow: none !important;
}

/* Responsive */
@media (max-width: 1199.98px) {
  .header-ecommerce-classic form[role="search"] {
    width: 240px !important;
  }
}

@media (max-width: 991.98px) {
  .header-ecommerce-classic .top-bar .row > div {
    text-align: center !important;
  }

  .header-ecommerce-classic .top-bar .row > div + div {
    margin-top: 6px;
  }

  .header-ecommerce-classic .navbar-collapse {
    margin-top: 0.8rem;
    padding: 0.8rem;
    border: 1px solid var(--mh-line);
    border-radius: 14px;
    background: var(--mh-surface);
    box-shadow: 0 14px 28px rgba(35, 20, 20, 0.08);
  }

  .header-ecommerce-classic .navbar-nav {
    margin-bottom: 0.8rem !important;
  }

  .header-ecommerce-classic .nav-link {
    border-radius: 10px;
  }

  .header-ecommerce-classic .nav-link:hover {
    background: var(--mh-soft);
  }

  .header-ecommerce-classic form[role="search"] {
    width: 100% !important;
  }

  .header-ecommerce-classic .d-flex.align-items-center.gap-3 {
    flex-direction: column;
    align-items: stretch !important;
    gap: 0.75rem !important;
  }

  .header-ecommerce-classic [data-cart-link] {
    align-self: flex-start;
  }
}

/* دکمه‌های شناور شبکه‌های اجتماعی - هماهنگ با تم طلایی مهلا */
#social-media-toggle,
#social-media-menu .social-media-btn {
  width: 52px !important;
  height: 52px !important;
  background: #fff !important;
  color: #C9A96E !important;
  border: 1.5px solid rgba(201, 169, 110, 0.35) !important;
  box-shadow: 0 8px 24px -8px rgba(201, 169, 110, 0.45) !important;
  transition: all 0.3s ease !important;
}

#social-media-toggle:hover,
#social-media-menu .social-media-btn:hover {
  background: #C9A96E !important;
  color: #fff !important;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px -8px rgba(201, 169, 110, 0.6) !important;
}

#social-media-toggle i,
#social-media-menu .social-media-btn i {
  font-size: 22px !important;
  transition: transform 0.3s ease;
}

#social-media-menu .social-media-btn div[style*="mask-image"] {
  background-color: #C9A96E !important;
  transition: background-color 0.3s ease;
}

#social-media-menu .social-media-btn:hover div[style*="mask-image"] {
  background-color: #fff !important;
}

#social-media-items {
  gap: 14px !important;
}

@media (max-width: 576px) {
  #social-media-toggle,
  #social-media-menu .social-media-btn {
    width: 46px !important;
    height: 46px !important;
  }

  #social-media-toggle i,
  #social-media-menu .social-media-btn i {
    font-size: 19px !important;
  }
}

/* =========================================================
   فروشگاه — mz-page-shop
   ========================================================= */

body.mz-page-shop {
  background: var(--mehla-bg);
  color: var(--mehla-ink);
}

body.mz-page-shop .mz-main--shop {
  background: var(--mehla-bg);
  padding-bottom: 48px;
}

body.mz-page-shop .page-header {
  background:
    linear-gradient(160deg, rgba(253, 246, 246, 0.92) 0%, rgba(251, 238, 238, 0.9) 100%),
    url('/assets/images/page-header-bg.jpg') center / cover no-repeat !important;
  padding: 72px 20px !important;
  margin-bottom: 0 !important;
  border-bottom: 1px solid var(--mehla-line);
}

body.mz-page-shop .page-header h1 {
  color: var(--mehla-ink);
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 10px !important;
}

body.mz-page-shop .page-header .text-muted,
body.mz-page-shop .page-header p {
  color: var(--mehla-gold) !important;
  font-style: italic;
  letter-spacing: 1px;
  margin: 0;
}

/* breadcrumb */
body.mz-page-shop .breadcrumb,
body.mz-page-product .breadcrumb {
  background: transparent;
  padding: 18px 0 8px;
  margin-bottom: 0;
  font-size: 0.9rem;
}

body.mz-page-shop .breadcrumb-item a,
body.mz-page-product .breadcrumb-item a {
  color: var(--mehla-gold);
  text-decoration: none;
  transition: color 0.2s ease;
}

body.mz-page-shop .breadcrumb-item a:hover,
body.mz-page-product .breadcrumb-item a:hover {
  color: var(--mehla-gold-dark);
}

body.mz-page-shop .breadcrumb-item.active,
body.mz-page-product .breadcrumb-item.active {
  color: var(--mehla-muted);
}

body.mz-page-shop .breadcrumb-item + .breadcrumb-item::before,
body.mz-page-product .breadcrumb-item + .breadcrumb-item::before {
  color: var(--mehla-line-2);
}

/* سایدبار دسته */
body.mz-page-shop .sidebar .card {
  background: #fff;
  border: 1px solid var(--mehla-line) !important;
  border-radius: 24px !important;
  overflow: hidden;
  box-shadow: 0 16px 40px -24px rgba(201, 169, 110, 0.28);
}

body.mz-page-shop .sidebar .card-header {
  background: linear-gradient(180deg, var(--mehla-blush) 0%, #fff 100%);
  border-bottom: 1px solid var(--mehla-line);
  padding: 14px 16px;
}

body.mz-page-shop .sidebar .card-header .btn-link {
  color: var(--mehla-ink) !important;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: none !important;
}

body.mz-page-shop .sidebar .card-body {
  padding: 14px 18px 18px !important;
}

body.mz-page-shop .sidebar .category-item {
  margin-bottom: 6px !important;
}

body.mz-page-shop .sidebar .category-item a {
  display: block;
  padding: 10px 14px;
  border-radius: 14px;
  color: var(--mehla-muted) !important;
  transition: all 0.25s ease;
}

body.mz-page-shop .sidebar .category-item a:hover {
  background: var(--mehla-blush);
  color: var(--mehla-gold-dark) !important;
}

/* نوار مرتب‌سازی */
body.mz-page-shop .toolbox-info {
  color: var(--mehla-muted);
  font-size: 0.95rem;
}

body.mz-page-shop .toolbox-info strong {
  color: var(--mehla-gold);
}

body.mz-page-shop label[for="sortby"] {
  color: var(--mehla-ink);
  font-weight: 600;
}

body.mz-page-shop #sortby {
  border-radius: 14px;
  border-color: var(--mehla-line-2);
  color: var(--mehla-ink);
  background: #fff;
  min-width: 180px;
}

body.mz-page-shop #sortby:focus {
  border-color: var(--mehla-gold);
  box-shadow: 0 0 0 0.2rem rgba(201, 169, 110, 0.2);
}

/* کارت محصول فروشگاه */
body.mz-page-shop .product-card-grid {
  background: #fff;
  border: 1px solid var(--mehla-line) !important;
  border-radius: 24px !important;
  overflow: hidden;
  box-shadow: 0 16px 40px -24px rgba(201, 169, 110, 0.28) !important;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

body.mz-page-shop .product-card-grid:hover {
  transform: translateY(-6px);
  border-color: rgba(201, 169, 110, 0.4) !important;
  box-shadow: 0 28px 55px -22px rgba(201, 169, 110, 0.35) !important;
}

body.mz-page-shop .product-card-grid .position-relative {
  background: var(--mehla-blush);
}

body.mz-page-shop .product-card-grid .card-img-top {
  height: 280px !important;
  object-fit: cover !important;
  object-position: top center;
  border-radius: 0 !important;
}

body.mz-page-shop .product-card-grid .card-body {
  padding: 22px 18px 24px !important;
  text-align: center;
}

body.mz-page-shop .product-card-grid .card-title a {
  color: var(--mehla-ink) !important;
  font-weight: 700;
  transition: color 0.2s ease;
}

body.mz-page-shop .product-card-grid .card-title a:hover {
  color: var(--mehla-gold) !important;
}

body.mz-page-shop .product-card-grid .fw-bold {
  color: var(--mehla-gold) !important;
}

body.mz-page-shop .product-card-grid .btn-primary {
  background: var(--mehla-gold) !important;
  border-color: var(--mehla-gold) !important;
  border-radius: 999px !important;
  font-weight: 600;
  box-shadow: 0 12px 24px -10px rgba(201, 169, 110, 0.5);
}

body.mz-page-shop .product-card-grid .btn-primary:hover {
  background: var(--mehla-gold-dark) !important;
  border-color: var(--mehla-gold-dark) !important;
}

body.mz-page-shop .product-card-grid .badge {
  border-radius: 999px;
  background: var(--mehla-gold) !important;
  border: none;
  font-weight: 600;
  padding: 0.4rem 0.85rem;
}

/* pagination */
body.mz-page-shop .pagination .page-link {
  border-radius: 999px !important;
  margin: 0 4px;
  border-color: var(--mehla-line-2);
  color: var(--mehla-muted);
  min-width: 40px;
  text-align: center;
}

body.mz-page-shop .pagination .page-item.active .page-link,
body.mz-page-shop .pagination .page-link:hover {
  background: var(--mehla-gold);
  border-color: var(--mehla-gold);
  color: #fff;
}

body.mz-page-shop .pagination .page-item.disabled .page-link {
  color: #cbb8b8;
  background: #fff;
}

@media (max-width: 768px) {
  body.mz-page-shop .page-header {
    padding: 48px 16px !important;
  }

  body.mz-page-shop .page-header h1 {
    font-size: 1.7rem;
  }

  body.mz-page-shop .product-card-grid .card-img-top {
    height: 220px !important;
  }
}

/* =========================================================
   صفحه محصول — mz-page-product
   ========================================================= */

body.mz-page-product {
  background: var(--mehla-bg);
  color: var(--mehla-ink);
}

body.mz-page-product .mz-main--product {
  background: var(--mehla-bg);
  padding-bottom: 48px;
}

body.mz-page-product .page-content {
  background: transparent;
}

/* کارت‌های عمومی */
body.mz-page-product .page-content .card {
  background: #fff;
  border: 1px solid var(--mehla-line) !important;
  border-radius: 24px !important;
  box-shadow: 0 16px 40px -24px rgba(201, 169, 110, 0.28) !important;
  overflow: hidden;
}

body.mz-page-product .page-content .card.shadow-primary-sm {
  box-shadow: 0 16px 40px -24px rgba(201, 169, 110, 0.28) !important;
}

/* گالری */
body.mz-page-product .product-image-gallery {
  background: var(--mehla-blush);
}

body.mz-page-product .product-gallery-main {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover !important;
  object-position: top center;
  border-radius: 24px 24px 0 0;
  display: block;
  background: var(--mehla-pink);
}

body.mz-page-product .product-image-gallery .card-body {
  background: #fff;
  padding: 16px 18px 20px !important;
}

body.mz-page-product .product-gallery-thumb img {
  width: 72px !important;
  height: 90px !important;
  border-radius: 40px 40px 8px 8px !important;
  object-fit: cover !important;
  border: 1.5px solid var(--mehla-line-2) !important;
  box-shadow: 0 0 0 4px #fff, 0 0 0 5px var(--mehla-line-2);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

body.mz-page-product .product-gallery-thumb:hover img {
  transform: translateY(-2px);
}

body.mz-page-product .product-gallery-thumb.is-active img,
body.mz-page-product .product-gallery-thumb[aria-pressed="true"] img {
  border-color: var(--mehla-gold) !important;
  border-width: 2px !important;
  box-shadow: 0 0 0 4px #fff, 0 0 0 5.5px var(--mehla-gold);
}

/* پنل اطلاعات خرید */
body.mz-page-product .col-md-6 > .card.p-4 {
  background: linear-gradient(180deg, #fff 0%, var(--mehla-bg-soft) 100%);
  padding: 32px 28px !important;
}

body.mz-page-product .col-md-6 > .card h1 {
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--mehla-ink);
  line-height: 1.5;
  margin-bottom: 1.25rem !important;
}

/* وریانت */
body.mz-page-product .product-variant-selector .form-label {
  color: var(--mehla-ink);
  font-size: 0.95rem;
}

body.mz-page-product .product-variant-select {
  border-radius: 14px;
  border-color: var(--mehla-line-2);
  background: #fff;
  color: var(--mehla-ink);
  padding: 0.7rem 1rem;
  box-shadow: none;
}

body.mz-page-product .product-variant-select:focus {
  border-color: var(--mehla-gold);
  box-shadow: 0 0 0 0.2rem rgba(201, 169, 110, 0.2);
}

/* باکس قیمت */
body.mz-page-product .product-purchase-price {
  background: linear-gradient(135deg, var(--mehla-blush) 0%, #fff 100%) !important;
  border: 1px solid rgba(201, 169, 110, 0.35);
  border-radius: 20px !important;
}

body.mz-page-product .product-price-current {
  color: var(--mehla-gold) !important;
  font-size: 2rem !important;
  font-weight: 700 !important;
}

body.mz-page-product .product-price-hint,
body.mz-page-product .product-price-range {
  color: var(--mehla-muted) !important;
}

body.mz-page-product .product-price-original .text-muted {
  color: #b3a3a3 !important;
}

/* موجودی */
body.mz-page-product .product-stock-badge {
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.2px;
  padding: 0.45rem 0.9rem;
}

body.mz-page-product .product-stock-badge.text-bg-danger {
  background: #c97b7b !important;
}

body.mz-page-product .product-stock-badge.text-bg-success {
  background: var(--mehla-gold) !important;
  color: #fff !important;
}

/* تعداد + دکمه سبد */
body.mz-page-product .product-add-to-cart-form .form-label {
  color: var(--mehla-ink);
  font-weight: 600;
}

body.mz-page-product .product-quantity-input {
  min-height: 48px;
  border-radius: 14px;
  border-color: var(--mehla-line-2);
  text-align: center;
  padding: 0.75rem 1rem;
}

body.mz-page-product .product-quantity-input:focus {
  border-color: var(--mehla-gold);
  box-shadow: 0 0 0 0.2rem rgba(201, 169, 110, 0.2);
}

body.mz-page-product .product-add-to-cart-btn {
  background: var(--mehla-gold) !important;
  border-color: var(--mehla-gold) !important;
  border-radius: 999px !important;
  font-weight: 600;
  padding: 0.9rem 1.25rem;
  box-shadow: 0 14px 30px -12px rgba(201, 169, 110, 0.55);
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

body.mz-page-product .product-add-to-cart-btn:hover:not(:disabled) {
  background: var(--mehla-gold-dark) !important;
  border-color: var(--mehla-gold-dark) !important;
  transform: translateY(-2px);
  box-shadow: 0 18px 34px -12px rgba(201, 169, 110, 0.6);
}

body.mz-page-product .product-add-to-cart-btn:disabled {
  opacity: 0.65;
  box-shadow: none;
}

/* اشتراک */
body.mz-page-product .product-share-inline .btn {
  border-radius: 999px;
  border-color: rgba(201, 169, 110, 0.45);
  color: var(--mehla-gold);
  transition: all 0.25s ease;
}

body.mz-page-product .product-share-inline .btn:hover {
  background: var(--mehla-blush);
  border-color: var(--mehla-gold);
  color: var(--mehla-gold-dark);
}

/* توضیحات / مشخصات / نظرات */
body.mz-page-product .page-content .card-body h3,
body.mz-page-product .product-technical-attributes-section h3 {
  color: var(--mehla-ink);
  font-weight: 700;
  font-size: 1.35rem;
  position: relative;
  padding-bottom: 12px;
}

body.mz-page-product .page-content .card-body h3::after {
  content: '';
  display: block;
  width: 56px;
  height: 2px;
  margin-top: 10px;
  background: linear-gradient(to left, var(--mehla-gold), transparent);
}

body.mz-page-product .editor-content {
  color: var(--mehla-muted);
  font-size: 1rem;
  line-height: 2;
}

body.mz-page-product .editor-content p {
  margin-bottom: 0.85rem;
}

body.mz-page-product .editor-content strong {
  color: var(--mehla-ink);
}

body.mz-page-product .product-technical-attributes-table {
  --bs-table-striped-bg: var(--mehla-blush);
}

body.mz-page-product .product-technical-attributes-table td {
  color: var(--mehla-muted);
  border-color: var(--mehla-line);
  padding: 0.85rem 1rem;
}

/* سایدبار محصولات مرتبط */
body.mz-page-product aside .card-header {
  background: var(--mehla-gold) !important;
  color: #fff !important;
  border: none;
  padding: 14px 18px;
}

body.mz-page-product aside .card-header h6 {
  font-weight: 700;
  letter-spacing: 0.2px;
}

body.mz-page-product aside .card-body {
  background: var(--mehla-bg-soft);
  padding: 18px !important;
}

body.mz-page-product aside .card-body .border-bottom {
  border-color: var(--mehla-line) !important;
}

body.mz-page-product aside .card-body img {
  border-radius: 28px 28px 6px 6px !important;
  outline: 1px solid var(--mehla-line-2);
  box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--mehla-line-2);
}

body.mz-page-product aside .card-body h6 a {
  color: var(--mehla-ink) !important;
  transition: color 0.2s ease;
}

body.mz-page-product aside .card-body h6 a:hover {
  color: var(--mehla-gold) !important;
}

body.mz-page-product aside .card-body .fw-bold {
  color: var(--mehla-gold) !important;
}

/* ---- فرم نظرات (ارتفاع درست) ---- */
body.mz-page-product .card .form-label {
  color: var(--mehla-ink);
  font-weight: 600;
  margin-bottom: 0.45rem;
}

body.mz-page-product .card .form-control {
  min-height: 48px;
  padding: 0.75rem 1.1rem;
  font-size: 0.95rem;
  line-height: 1.5;
  border-radius: 14px !important;
  border-color: var(--mehla-line-2);
  color: var(--mehla-ink);
  background: #fff;
}

body.mz-page-product .card textarea.form-control {
  min-height: 140px;
  padding-top: 0.9rem;
  border-radius: 16px !important;
  resize: vertical;
}

body.mz-page-product .card .form-control:focus {
  border-color: var(--mehla-gold);
  box-shadow: 0 0 0 0.2rem rgba(201, 169, 110, 0.2);
}

body.mz-page-product .card .btn-primary {
  background: var(--mehla-gold);
  border-color: var(--mehla-gold);
  border-radius: 999px;
  font-weight: 600;
  min-height: 48px;
  padding: 0.75rem 1.6rem;
}

body.mz-page-product .card .btn-primary:hover {
  background: var(--mehla-gold-dark);
  border-color: var(--mehla-gold-dark);
}

body.mz-page-product .badge.text-bg-secondary {
  background: var(--mehla-pink) !important;
  color: var(--mehla-gold-dark) !important;
  border-radius: 999px;
}

@media (max-width: 768px) {
  body.mz-page-product .col-md-6 > .card h1 {
    font-size: 1.45rem;
  }

  body.mz-page-product .product-price-current {
    font-size: 1.6rem !important;
  }

  body.mz-page-product .product-gallery-main {
    aspect-ratio: 3 / 3.8;
  }

  body.mz-page-product .col-md-6 > .card.p-4 {
    padding: 24px 20px !important;
  }

  body.mz-page-product aside .sticky-top {
    position: static !important;
  }
}

/* =========================================================
   مهلا گالری — فوتر (footer-simple)
   ========================================================= */

.footer-simple {
  background:
    linear-gradient(180deg, #fffdfb 0%, #fbeeee 55%, #f7e8e8 100%) !important;
  margin-top: 0 !important;
  border-top: 1px solid var(--mehla-line);
  color: var(--mehla-ink);
}

.footer-simple > .container.py-5 {
  padding-top: 64px !important;
  padding-bottom: 48px !important;
}

.footer-simple h5 {
  color: var(--mehla-gold) !important;
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 1rem !important;
  letter-spacing: 0.2px;
}

.footer-simple h5::after {
  content: '';
  display: block;
  width: 56px;
  height: 2px;
  margin-top: 12px;
  background: linear-gradient(to left, var(--mehla-gold), transparent);
}

.footer-simple .text-muted.small {
  color: var(--mehla-muted) !important;
  font-size: 0.95rem;
  line-height: 1.9;
  max-width: 320px;
}

.footer-simple h6 {
  color: var(--mehla-ink);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1rem !important;
}

.footer-simple h6::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  margin-top: 10px;
  background: linear-gradient(to left, var(--mehla-gold), transparent);
}

.footer-simple .social-icons-container .social-icon {
  width: 40px !important;
  height: 40px !important;
  background-color: #fff !important;
  color: var(--mehla-gold) !important;
  border: 1px solid rgba(201, 169, 110, 0.35);
  box-shadow: 0 8px 18px -12px rgba(201, 169, 110, 0.55);
  transition: all 0.3s ease;
}

.footer-simple .social-icons-container .social-icon i {
  font-size: 16px !important;
  color: var(--mehla-gold) !important;
}

.footer-simple .social-icons-container .social-icon:hover {
  background-color: var(--mehla-gold) !important;
  border-color: var(--mehla-gold);
  transform: translateY(-3px);
  box-shadow: 0 14px 24px -12px rgba(201, 169, 110, 0.65);
}

.footer-simple .social-icons-container .social-icon:hover i {
  color: #fff !important;
}

.footer-simple .social-icons-container .social-icon:hover div {
  background-color: #fff !important;
}

.footer-simple .contact-info {
  color: var(--mehla-muted);
}

.footer-simple .contact-info .mb-2 {
  margin-bottom: 0.85rem !important;
}

.footer-simple .contact-info i {
  color: var(--mehla-gold) !important;
  font-size: 0.95rem;
}

.footer-simple .contact-info a {
  color: var(--mehla-muted) !important;
  transition: color 0.2s ease;
}

.footer-simple .contact-info a:hover {
  color: var(--mehla-gold-dark) !important;
}

.footer-simple .contact-info div[style*="color: var(--neutral-700)"] {
  color: var(--mehla-muted) !important;
}

.footer-simple .mt-3.d-flex.gap-2.flex-wrap {
  align-items: center;
  gap: 12px !important;
  color: var(--mehla-muted-2);
  font-size: 0.8rem;
  line-height: 1.8;
}

.footer-simple .mt-3.d-flex.gap-2.flex-wrap img {
  max-height: 72px;
  width: auto;
  border-radius: 12px;
  background: #fff;
  padding: 6px;
  border: 1px solid var(--mehla-line);
  box-shadow: 0 8px 20px -14px rgba(201, 169, 110, 0.4);
}

.footer-simple > .border-top.py-3 {
  background:
    linear-gradient(180deg, rgba(201, 169, 110, 0.12) 0%, rgba(201, 169, 110, 0.2) 100%) !important;
  border-top: 1px solid rgba(201, 169, 110, 0.28) !important;
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
}

.footer-simple > .border-top.py-3 p,
.footer-simple > .border-top.py-3 span {
  color: var(--mehla-muted) !important;
}

.footer-simple > .border-top.py-3 span[style*="primary-700"] {
  color: var(--mehla-gold-dark) !important;
}

.footer-simple .mizekar-credit-link {
  color: var(--mehla-ink) !important;
  font-weight: 600;
  transition: color 0.2s ease;
}

.footer-simple .mizekar-credit-link:hover {
  color: var(--mehla-gold) !important;
  text-decoration: underline !important;
}

.footer-simple .btn:hover {
  background-color: var(--mehla-blush) !important;
  color: var(--mehla-gold-dark) !important;
}

@media (max-width: 768px) {
  .footer-simple > .container.py-5 {
    padding-top: 48px !important;
    padding-bottom: 36px !important;
  }

  .footer-simple h5 {
    font-size: 1.2rem;
  }

  .footer-simple .text-muted.small {
    max-width: none;
  }

  .footer-simple > .border-top.py-3 .d-flex {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 8px !important;
  }
}
/* =========================================================
   مهلا گالری — صفحه تماس با ما
   scope: body.mz-page-contact
   ========================================================= */

body.mz-page-contact {
  --mehla-bg: #fdf6f6;
  --mehla-bg-soft: #fffdfb;
  --mehla-blush: #fbeeee;
  --mehla-gold: #C9A96E;
  --mehla-gold-dark: #b3925a;
  --mehla-ink: #241d1d;
  --mehla-muted: #6b5a5a;
  --mehla-muted-2: #8a7d7d;
  --mehla-line: #f1e7dc;
  --mehla-line-2: #e0c8c8;
  --mehla-pink: #f7e8e8;

  background: var(--mehla-bg);
  color: var(--mehla-ink);
}

body.mz-page-contact .mz-main--contact {
  background: var(--mehla-bg);
  padding-bottom: 24px;
}

body.mz-page-contact .mz-main--contact > section.py-5 {
  padding-top: 64px !important;
  padding-bottom: 72px !important;
}

/* ---- عنوان صفحه ---- */
body.mz-page-contact .text-center.mb-5 h1 {
  color: var(--mehla-ink);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 14px !important;
}

body.mz-page-contact .text-center.mb-5 h1::after {
  content: '';
  display: block;
  width: 64px;
  height: 2px;
  margin: 16px auto 0;
  background: linear-gradient(to left, transparent, var(--mehla-gold), transparent);
}

body.mz-page-contact .text-center.mb-5 .lead,
body.mz-page-contact .text-center.mb-5 .text-muted {
  color: var(--mehla-muted) !important;
  font-size: 1.05rem;
  line-height: 1.9;
  max-width: 28em;
  margin-inline: auto;
}

/* ---- کارت‌ها ---- */
body.mz-page-contact .card {
  background: #fff;
  border: 1px solid var(--mehla-line) !important;
  border-radius: 24px !important;
  box-shadow: 0 16px 40px -24px rgba(201, 169, 110, 0.28) !important;
  overflow: hidden;
}

body.mz-page-contact .card.shadow-lg {
  box-shadow: 0 24px 50px -22px rgba(201, 169, 110, 0.35) !important;
}

body.mz-page-contact .card-body.p-5 {
  padding: 40px 36px !important;
  background: linear-gradient(180deg, #fff 0%, var(--mehla-bg-soft) 100%);
}

/* ---- فرم ---- */
body.mz-page-contact .form-label {
  color: var(--mehla-ink);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.45rem;
}

body.mz-page-contact .form-label .text-danger {
  color: #c97b7b !important;
}

body.mz-page-contact .form-control,
body.mz-page-contact .form-control-lg {
  min-height: 52px;
  padding: 0.8rem 1.15rem;
  font-size: 0.98rem;
  line-height: 1.5;
  border-radius: 14px !important;
  border: 1px solid var(--mehla-line-2) !important;
  color: var(--mehla-ink);
  background: #fff;
  box-shadow: none !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

body.mz-page-contact textarea.form-control {
  min-height: 160px;
  padding-top: 0.95rem;
  border-radius: 16px !important;
  resize: vertical;
}

body.mz-page-contact .form-control:focus,
body.mz-page-contact .form-control-lg:focus {
  border-color: var(--mehla-gold) !important;
  box-shadow: 0 0 0 0.2rem rgba(201, 169, 110, 0.2) !important;
}

body.mz-page-contact .form-control::placeholder {
  color: #b09d9d;
}

body.mz-page-contact .field-validation-error,
body.mz-page-contact .text-danger.field-validation-valid {
  font-size: 0.85rem;
}

/* ---- دکمه ارسال ---- */
body.mz-page-contact .btn-primary {
  background: linear-gradient(135deg, var(--mehla-gold) 0%, var(--mehla-gold-dark) 100%) !important;
  border: none !important;
  border-radius: 999px !important;
  font-weight: 700;
  min-height: 54px;
  padding: 0.9rem 1.5rem;
  box-shadow: 0 14px 30px -12px rgba(201, 169, 110, 0.55);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

body.mz-page-contact .btn-primary:hover {
  filter: brightness(0.97);
  transform: translateY(-2px);
  box-shadow: 0 18px 34px -12px rgba(201, 169, 110, 0.65);
  color: #fff !important;
}

/* ---- کارت اطلاعات تماس / شبکه‌ها ---- */
body.mz-page-contact .row.mt-5 .card {
  background: linear-gradient(180deg, #fff 0%, var(--mehla-blush) 120%);
}

body.mz-page-contact .row.mt-5 .card-body {
  padding: 28px 24px !important;
}

body.mz-page-contact .card-title {
  color: var(--mehla-ink);
  font-weight: 700;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
}

body.mz-page-contact .card-title i {
  color: var(--mehla-gold);
  font-size: 1.2rem;
}

body.mz-page-contact .card-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  margin-top: 12px;
  margin-right: auto;
  background: linear-gradient(to left, var(--mehla-gold), transparent);
}

body.mz-page-contact .row.mt-5 .card-title {
  flex-wrap: wrap;
  margin-bottom: 1.25rem !important;
}

body.mz-page-contact .row.mt-5 .card-title::after {
  flex-basis: 100%;
  margin-right: 0;
}

body.mz-page-contact .contact-info {
  color: var(--mehla-muted);
  font-size: 0.95rem !important;
}

body.mz-page-contact .contact-info .mb-2 {
  margin-bottom: 0.9rem !important;
}

body.mz-page-contact .contact-info i {
  color: var(--mehla-gold) !important;
  font-size: 1rem;
}

body.mz-page-contact .contact-info a {
  color: var(--mehla-muted) !important;
  transition: color 0.2s ease;
}

body.mz-page-contact .contact-info a:hover {
  color: var(--mehla-gold-dark) !important;
}

body.mz-page-contact .contact-info div[style*="color: var(--neutral-700)"] {
  color: var(--mehla-muted) !important;
  line-height: 1.85 !important;
}

/* آیکن‌های شبکه اجتماعی در کارت تماس */
body.mz-page-contact .social-icons-container .social-icon {
  width: 48px !important;
  height: 48px !important;
  background: #fff !important;
  color: var(--mehla-gold) !important;
  border: 1.5px solid rgba(201, 169, 110, 0.35) !important;
  box-shadow: 0 8px 20px -12px rgba(201, 169, 110, 0.5);
  transition: all 0.3s ease;
}

body.mz-page-contact .social-icons-container .social-icon i {
  color: var(--mehla-gold) !important;
  font-size: 18px !important;
}

body.mz-page-contact .social-icons-container .social-icon:hover {
  background: var(--mehla-gold) !important;
  border-color: var(--mehla-gold) !important;
  transform: translateY(-3px);
  box-shadow: 0 14px 24px -12px rgba(201, 169, 110, 0.6);
}

body.mz-page-contact .social-icons-container .social-icon:hover i {
  color: #fff !important;
}

body.mz-page-contact .social-icons-container .social-icon div[style*="mask-image"] {
  background-color: var(--mehla-gold) !important;
}

body.mz-page-contact .social-icons-container .social-icon:hover div[style*="mask-image"] {
  background-color: #fff !important;
}

@media (max-width: 768px) {
  body.mz-page-contact .mz-main--contact > section.py-5 {
    padding-top: 40px !important;
    padding-bottom: 48px !important;
  }

  body.mz-page-contact .card-body.p-5 {
    padding: 28px 20px !important;
  }

  body.mz-page-contact .text-center.mb-5 h1 {
    font-size: 1.7rem;
  }
}
/* =========================================================
   مهلا گالری — صفحات استاتیک (درباره ما / قوانین / ...)
   scope: body.mz-page-static
   ========================================================= */

body.mz-page-static {
  --mehla-bg: #fdf6f6;
  --mehla-bg-soft: #fffdfb;
  --mehla-blush: #fbeeee;
  --mehla-gold: #C9A96E;
  --mehla-gold-dark: #b3925a;
  --mehla-ink: #241d1d;
  --mehla-muted: #6b5a5a;
  --mehla-muted-2: #8a7d7d;
  --mehla-line: #f1e7dc;
  --mehla-line-2: #e0c8c8;
  --mehla-pink: #f7e8e8;

  background: var(--mehla-bg);
  color: var(--mehla-ink);
}

body.mz-page-static .mz-main--static {
  background: var(--mehla-bg);
  padding-bottom: 48px;
}

/* ---- هدر صفحه ---- */
body.mz-page-static .page-header {
  background:
    linear-gradient(160deg, rgba(253, 246, 246, 0.94) 0%, rgba(251, 238, 238, 0.9) 100%),
    url('/assets/images/page-header-bg.jpg') center / cover no-repeat !important;
  padding: 72px 20px !important;
  margin-bottom: 0 !important;
  border-bottom: 1px solid var(--mehla-line);
}

body.mz-page-static .page-header h1 {
  color: var(--mehla-ink);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 10px !important;
}

body.mz-page-static .page-header h1::after {
  content: '';
  display: block;
  width: 64px;
  height: 2px;
  margin: 16px auto 0;
  background: linear-gradient(to left, transparent, var(--mehla-gold), transparent);
}

body.mz-page-static .page-header .text-muted,
body.mz-page-static .page-header p {
  color: var(--mehla-gold) !important;
  font-style: italic;
  letter-spacing: 0.5px;
  margin: 12px 0 0;
  font-size: 0.95rem;
}

/* ---- breadcrumb ---- */
body.mz-page-static .breadcrumb {
  background: transparent;
  padding: 18px 0 8px;
  margin-bottom: 0;
  font-size: 0.9rem;
}

body.mz-page-static nav[aria-label="breadcrumb"] {
  margin-bottom: 1.5rem !important;
}

body.mz-page-static .breadcrumb-item a {
  color: var(--mehla-gold);
  text-decoration: none;
  transition: color 0.2s ease;
}

body.mz-page-static .breadcrumb-item a:hover {
  color: var(--mehla-gold-dark);
}

body.mz-page-static .breadcrumb-item.active {
  color: var(--mehla-muted);
}

body.mz-page-static .breadcrumb-item + .breadcrumb-item::before {
  color: var(--mehla-line-2);
}

/* ---- تصویر بالای محتوا ---- */
body.mz-page-static .page-content > .container.mb-4 {
  margin-bottom: 1.75rem !important;
}

body.mz-page-static .page-content > .container.mb-4 img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  object-position: center;
  border-radius: 24px !important;
  border: 1px solid var(--mehla-line);
  box-shadow: 0 18px 40px -24px rgba(201, 169, 110, 0.35);
  background: var(--mehla-blush);
}

/* ---- کارت محتوا ---- */
body.mz-page-static .page-content .card {
  background: #fff;
  border: 1px solid var(--mehla-line) !important;
  border-radius: 24px !important;
  box-shadow: 0 16px 40px -24px rgba(201, 169, 110, 0.28) !important;
  overflow: hidden;
}

body.mz-page-static .page-content .card-body {
  padding: 40px 36px !important;
  background: linear-gradient(180deg, #fff 0%, var(--mehla-bg-soft) 100%);
}

/* ---- متن ادیتور ---- */
body.mz-page-static .editor-content {
  color: var(--mehla-muted);
  font-size: 1.05rem !important;
  line-height: 2.05 !important;
}

body.mz-page-static .editor-content h1,
body.mz-page-static .editor-content h2,
body.mz-page-static .editor-content h3,
body.mz-page-static .editor-content h4 {
  color: var(--mehla-ink);
  font-weight: 700;
  line-height: 1.55;
  margin-top: 1.5rem;
  margin-bottom: 0.85rem;
}

body.mz-page-static .editor-content h2 {
  font-size: 1.55rem;
  padding-bottom: 10px;
}

body.mz-page-static .editor-content h2::after {
  content: '';
  display: block;
  width: 56px;
  height: 2px;
  margin-top: 12px;
  background: linear-gradient(to left, var(--mehla-gold), transparent);
}

body.mz-page-static .editor-content h3 {
  font-size: 1.25rem;
  color: var(--mehla-gold-dark);
}

body.mz-page-static .editor-content p {
  margin-bottom: 1rem;
}

body.mz-page-static .editor-content strong {
  color: var(--mehla-ink);
  font-weight: 700;
}

body.mz-page-static .editor-content a {
  color: var(--mehla-gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(201, 169, 110, 0.35);
  transition: color 0.2s ease, border-color 0.2s ease;
}

body.mz-page-static .editor-content a:hover {
  color: var(--mehla-gold-dark);
  border-bottom-color: var(--mehla-gold-dark);
}

body.mz-page-static .editor-content ul,
body.mz-page-static .editor-content ol {
  padding-right: 1.25rem;
  margin-bottom: 1.1rem;
}

body.mz-page-static .editor-content li {
  margin-bottom: 0.45rem;
}

body.mz-page-static .editor-content blockquote {
  margin: 1.5rem 0;
  padding: 1.1rem 1.25rem;
  border-right: 3px solid var(--mehla-gold);
  border-radius: 14px;
  background: var(--mehla-blush);
  color: var(--mehla-ink);
  font-style: italic;
}

body.mz-page-static .editor-content img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  margin: 1.25rem 0;
}

@media (max-width: 768px) {
  body.mz-page-static .page-header {
    padding: 48px 16px !important;
  }

  body.mz-page-static .page-content .card-body {
    padding: 28px 20px !important;
  }

  body.mz-page-static .page-content > .container.mb-4 img {
    max-height: 260px;
    border-radius: 18px !important;
  }

  body.mz-page-static .editor-content {
    font-size: 1rem !important;
  }
}
/* =========================================================
   مهلا — فیکس اسکرول افقی موبایل
   ========================================================= */

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

.mz-site,
.mz-main,
.mz-main--home {
  max-width: 100%;
  overflow-x: hidden;
}

/* ---- هدر: top-bar روی موبایل جمع شود ---- */
@media (max-width: 991.98px) {
  .header-ecommerce-classic .top-bar .row {
    flex-direction: column;
    gap: 4px;
  }

  .header-ecommerce-classic .top-bar .col-md-6 {
    width: 100%;
    max-width: 100%;
    text-align: center !important;
  }

  .header-ecommerce-classic .top-bar .small {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 10px;
    word-break: break-word;
  }

  .header-ecommerce-classic .container,
  .header-ecommerce-classic .navbar .container {
    max-width: 100%;
    padding-inline: 16px;
  }
}

/* ---- هیرو: جلوگیری از بیرون‌زدگی ---- */
.hero-mehla {
  overflow-x: clip;
  overflow-x: hidden;
  max-width: 100%;
}

.hero-mehla .mehla-container,
.hero-mehla .hero-grid,
.hero-mehla .hero-visual {
  max-width: 100%;
}

.hero-mehla .hero-ornament {
  max-width: none;
}

@media (max-width: 768px) {
  .hero-mehla {
    padding: 48px 16px 72px;
  }

  .hero-mehla .hero-ornament--tr,
  .hero-mehla .hero-ornament--bl {
    width: 220px !important;
    height: 220px !important;
    left: auto !important;
    right: auto !important;
    opacity: 0.35;
  }

  .hero-mehla .hero-ornament--tr {
    top: -60px !important;
    inset-inline-start: -40px !important;
  }

  .hero-mehla .hero-ornament--bl {
    bottom: -80px !important;
    inset-inline-end: -40px !important;
  }

  .hero-mehla .hero-arch {
    max-width: min(320px, 100%) !important;
    width: 100%;
  }

  /* badge نباید صفحه را پهن کند */
  .hero-mehla .hero-floating-badge {
    left: 50% !important;
    right: auto !important;
    bottom: -14px !important;
    transform: translateX(-50%);
    max-width: calc(100% - 24px);
    white-space: normal;
    text-align: center;
  }

  .hero-mehla .hero-title {
    font-size: 30px !important;
    word-wrap: break-word;
  }

  .hero-mehla .hero-subtitle {
    max-width: 100%;
  }
}

/* ---- سکشن‌های عمومی ---- */
.mz-section,
.categories-section-arch,
.experience-mehla,
.products-section-arch,
.path-mehla,
.smart-mehla,
.rules-mehla,
.articles-mehla,
.instagram-mehla,
.mehla-snapp,
.mehla-trust {
  max-width: 100%;
  overflow-x: hidden;
}

.mehla-container {
  max-width: min(1180px, 100%);
  width: 100%;
  margin-inline: auto;
  padding-inline: 16px;
  box-sizing: border-box;
}

/* اینستاگرام: اسکرول فقط داخل ردیف، نه کل صفحه */
.instagram-mehla .insta-row-wrap {
  max-width: 100%;
  overflow: hidden;
}

.instagram-mehla .insta-row {
  max-width: 100%;
}

/* اسنپ‌پی */
@media (max-width: 768px) {
  .mehla-snapp__grid {
    width: 100%;
  }

  .mehla-snapp__logo {
    max-width: min(260px, 100%) !important;
  }
}

/* trust */
@media (max-width: 768px) {
  .mehla-trust__panel {
    width: 100%;
  }
}

/* فوتر */
.footer-simple {
  max-width: 100%;
  overflow-x: hidden;
}

.footer-simple .container {
  max-width: 100%;
  padding-inline: 16px;
}
/* —— Blog post · هماهنگ با تم طلایی مهلا —— */

.mz-page-blog-post {
  --blog-ink: var(--neutral-800);
  --blog-muted: var(--neutral-600);
  --blog-line: var(--primary-300);
  --blog-soft: var(--primary-100);
}

/* Hero: گرادیان روی تصویر با رنگ برند به‌جای مشکی خالص */
.mz-page-blog-post .position-relative > .position-absolute.w-100.h-100[style*="linear-gradient"] {
  background: linear-gradient(
    to top,
    rgba(81, 61, 11, 0.78) 0%,
    rgba(81, 61, 11, 0.35) 45%,
    rgba(81, 61, 11, 0) 100%
  ) !important;
}

.mz-page-blog-post .display-4 {
  font-weight: 700;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
}

.mz-page-blog-post article .lead {
  color: var(--neutral-700) !important;
  font-size: 1.15rem;
  line-height: 1.9;
  border-inline-start: 3px solid var(--primary-500);
  padding-inline-start: 1rem;
  margin: 0;
}

/* —— محتوای ادیتور —— */
.mz-page-blog-post .editor-content {
  color: var(--blog-ink);
  font-size: 1.05rem;
  line-height: 2;
}

.mz-page-blog-post .editor-content h2 {
  color: var(--primary-800);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.8;
  margin: 0 0 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--blog-line);
}

.mz-page-blog-post .editor-content h3 {
  color: var(--primary-700);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 2.25rem 0 1rem;
  position: relative;
  padding-inline-start: 0.85rem;
}

.mz-page-blog-post .editor-content h3::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.35em;
  bottom: 0.35em;
  width: 3px;
  border-radius: 2px;
  background: var(--primary-500);
}

.mz-page-blog-post .editor-content p {
  margin: 0 0 1.1rem;
  color: var(--neutral-800);
}

.mz-page-blog-post .editor-content ul {
  margin: 0.5rem 0 1.5rem;
  padding: 1rem 1.25rem 1rem 0;
  list-style: none;
  background: linear-gradient(135deg, var(--primary-100), var(--primary-200));
  border-radius: 12px;
  border: 1px solid var(--primary-300);
}

.mz-page-blog-post .editor-content ul li {
  position: relative;
  padding: 0.35rem 0 0.35rem 0;
  padding-inline-start: 1.5rem;
  margin-inline-start: 0.5rem;
}

.mz-page-blog-post .editor-content ul li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.85em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary-600);
  box-shadow: 0 0 0 3px var(--primary-300);
}

.mz-page-blog-post .editor-content ul li p {
  margin: 0;
}

.mz-page-blog-post .editor-content a {
  color: var(--primary-700);
  border-bottom: 1px solid var(--primary-400);
  transition: color 0.2s, border-color 0.2s;
}

.mz-page-blog-post .editor-content a:hover {
  color: var(--primary-900);
  border-bottom-color: var(--primary-700);
}

.mz-page-blog-post .editor-content blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  background: var(--primary-100);
  border-inline-start: 4px solid var(--primary-500);
  border-radius: 0 12px 12px 0;
  color: var(--neutral-700);
}

.mz-page-blog-post .editor-content table {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--primary-300);
}

.mz-page-blog-post .editor-content th {
  background: var(--primary-200) !important;
  color: var(--primary-900);
  border-color: var(--primary-300) !important;
}

.mz-page-blog-post .editor-content td {
  border-color: var(--primary-200) !important;
}

.mz-page-blog-post .editor-content hr {
  border-top-color: var(--primary-300) !important;
  margin: 2rem 0;
}

/* —— اشتراک‌گذاری —— */
.mz-page-blog-post .btn-outline-primary.rounded-circle {
  border-width: 1.5px;
  color: var(--primary-700) !important;
  border-color: var(--primary-400) !important;
  background: var(--primary-100) !important;
  transition: transform 0.2s, background 0.2s, color 0.2s;
}

.mz-page-blog-post .btn-outline-primary.rounded-circle:hover {
  background: var(--primary-600) !important;
  border-color: var(--primary-600) !important;
  color: #fff !important;
  transform: translateY(-2px);
}

/* —— دکمه شناور شبکه اجتماعی: بنفش پیش‌فرض با طلایی تم عوض شود —— */
#social-media-toggle {
  background: linear-gradient(135deg, var(--primary-500), var(--primary-700)) !important;
  box-shadow: 0 4px 14px rgba(219, 168, 36, 0.45) !important;
}

#scroll-top {
  background: var(--primary-600) !important;
  border-color: var(--primary-600) !important;
  box-shadow: 0 4px 14px rgba(219, 168, 36, 0.35);
}

/* موبایل */
@media (max-width: 767.98px) {
  .mz-page-blog-post .display-4 {
    font-size: 1.75rem;
  }

  .mz-page-blog-post .editor-content {
    font-size: 1rem;
    line-height: 1.9;
  }

  .mz-page-blog-post .editor-content h2 {
    font-size: 1.15rem;
  }
}
.bi-geo-alt-fill + div > div:first-child {
  white-space: pre-line;
}