/*
Theme Name: فروشگاه پوشاک زرجینی
Theme URI: https://zarjiniclothing.ir
Author: Mohammad Zarjini
Author URI: https://zarjiniclothing.ir
Description: قالب مستقل و حرفه‌ای فروشگاه پوشاک محمد زرجینی سازگار با ووکامرس، استوری‌های اینستاگرام، سئو پیشرفته و پنل مدیریت
Version: 3.6.0
Tested up to: 6.7
Requires at least: 5.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mz-boutique
Tags: e-commerce, woocommerce, rtl-language-support, dark-mode, custom-colors, classic-theme, street-wear
*/

/* ==========================================================================
   1. RESET & CSS VARIABLES
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --mz-primary: #3E5A36;
  --mz-primary-hover: #4B6F44;
  --mz-primary-light: #4B6F44;
  --mz-secondary: #4B6F44;
  --mz-primary-bg: rgba(62, 90, 54, 0.1);
  --mz-black: #111417;
  --mz-dark-bg: #0D0F11;
  --mz-dark-surface: #15191C;
  --mz-dark-card: #191E23;
  --mz-dark-border: #242C33;
  --mz-dark-text: #F1F5F9;
  --mz-dark-muted: #94A3B8;
  --mz-light-bg: #F8F9FA;
  --mz-light-surface: #FFFFFF;
  --mz-light-border: #E2E8F0;
  --mz-light-text: #1E293B;
  --mz-light-muted: #64748B;
  --mz-accent-red: #E11D48;
  --mz-accent-gold: #F59E0B;
  --mz-radius-sm: 8px;
  --mz-radius: 14px;
  --mz-radius-lg: 22px;
  --mz-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --mz-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  --mz-shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.1);
  --mz-font: 'Vazirmatn', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --mz-transition: all 0.22s ease-in-out;

  /* Fluid App-Grade Typography Scale for Vazirmatn (Mobile -> Desktop) */
  --mz-fs-h1: clamp(1.375rem, 1.15rem + 1.25vw, 2.25rem);
  --mz-fs-h2: clamp(1.1875rem, 1.04rem + 0.85vw, 1.75rem);
  --mz-fs-h3: clamp(1.0625rem, 0.96rem + 0.5vw, 1.375rem);
  --mz-fs-h4: clamp(0.95rem, 0.9rem + 0.3vw, 1.15rem);
  --mz-fs-h5: clamp(0.875rem, 0.84rem + 0.2vw, 1rem);
  --mz-fs-h6: clamp(0.8125rem, 0.79rem + 0.15vw, 0.9375rem);
  --mz-fs-body: clamp(0.875rem, 0.84rem + 0.2vw, 1rem);
  --mz-fs-small: clamp(0.75rem, 0.72rem + 0.15vw, 0.84375rem);

  /* Balanced Line-Heights for Persian Script */
  --mz-lh-tight: 1.35;
  --mz-lh-heading: 1.42;
  --mz-lh-subheading: 1.5;
  --mz-lh-ui: 1.52;
  --mz-lh-body: 1.82;
}

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

html {
  font-size: 14.5px;
  line-height: var(--mz-lh-body);
  scroll-behavior: smooth;
  direction: rtl;
  -webkit-text-size-adjust: 100%;
  font-feature-settings: "ss01";
}

@media (min-width: 640px) {
  html {
    font-size: 15.25px;
  }
}

@media (min-width: 1024px) {
  html {
    font-size: 16px;
  }
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--mz-font);
  font-size: var(--mz-fs-body);
  background-color: var(--mz-light-bg);
  color: var(--mz-light-text);
  line-height: var(--mz-lh-body);
  direction: rtl;
  text-align: right;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.mz-site-wrapper {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
}

body.dark-mode {
  background-color: var(--mz-dark-bg);
  color: var(--mz-dark-text);
}

h1 { font-size: var(--mz-fs-h1); line-height: var(--mz-lh-tight); font-weight: 900; letter-spacing: -0.015em; }
h2 { font-size: var(--mz-fs-h2); line-height: var(--mz-lh-heading); font-weight: 800; letter-spacing: -0.01em; }
h3 { font-size: var(--mz-fs-h3); line-height: var(--mz-lh-heading); font-weight: 800; }
h4 { font-size: var(--mz-fs-h4); line-height: var(--mz-lh-subheading); font-weight: 700; }
h5 { font-size: var(--mz-fs-h5); line-height: var(--mz-lh-subheading); font-weight: 700; }
h6 { font-size: var(--mz-fs-h6); line-height: var(--mz-lh-ui); font-weight: 700; }
p { font-size: var(--mz-fs-body); line-height: var(--mz-lh-body); }
li, dd, dt, blockquote { line-height: 1.78; }
small { font-size: var(--mz-fs-small); line-height: 1.55; }
label { line-height: var(--mz-lh-ui); }

a {
  color: inherit;
  text-decoration: none;
  line-height: 1.48;
  transition: var(--mz-transition);
}

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

button {
  font-family: var(--mz-font);
  line-height: 1.48;
}

input, select, textarea {
  font-family: var(--mz-font);
  font-size: clamp(0.84375rem, 0.81rem + 0.18vw, 0.9375rem);
  line-height: 1.55;
}

/* ==========================================================================
   2. CORE UTILITIES & LAYOUT (SELF-CONTAINED)
   ========================================================================== */
.mz-container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.mz-flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mz-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.mz-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.mz-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (max-width: 1024px) {
  .mz-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .mz-grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .mz-grid-4 { grid-template-columns: 1fr; }
  .mz-grid-3 { grid-template-columns: 1fr; }
  .mz-grid-2 { grid-template-columns: 1fr; }
}

/* ==========================================================================
   3. TOPBAR COMPONENT (Zero-Jitter Smooth Auto-Hide on Scroll Down / Show on Scroll Up)
   ========================================================================== */
.mz-topbar {
  background-color: #111417;
  color: #E2E8F0;
  font-size: 0.78rem;
  padding-top: 0.45rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid #1E252B;
  max-height: 44px;
  opacity: 1;
  visibility: visible;
  overflow: hidden;
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  overflow-anchor: none;
  will-change: max-height, padding, opacity, transform;
  transition:
    max-height 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    padding-top 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    padding-bottom 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.24s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    border-bottom-width 0.24s ease,
    visibility 0s linear 0s;
}

.mz-topbar .mz-topbar-inner {
  transform: translate3d(0, 0, 0);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.22s ease;
}

#mz-site-header.topbar-hidden .mz-topbar,
.mz-site-header-sticky.topbar-hidden .mz-topbar,
.mz-topbar.is-topbar-hidden {
  max-height: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translate3d(0, -100%, 0) !important;
  -webkit-transform: translate3d(0, -100%, 0) !important;
  border-bottom-width: 0 !important;
  pointer-events: none !important;
  transition:
    max-height 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    padding-top 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    padding-bottom 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.2s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    border-bottom-width 0.2s ease,
    visibility 0s linear 0.32s;
}

#mz-site-header.topbar-hidden .mz-topbar .mz-topbar-inner,
.mz-topbar.is-topbar-hidden .mz-topbar-inner {
  transform: translate3d(0, -8px, 0);
  opacity: 0;
}

.mz-topbar a:hover {
  color: #34D399;
}

.mz-pulse-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #10B981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.75);
  flex-shrink: 0;
}

/* ==========================================================================
   4. UNIFIED STICKY HEADER & MAIN HEADER COMPONENT
   ========================================================================== */
.mz-site-header-sticky {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  width: 100%;
  background-color: var(--mz-light-surface);
  transition: box-shadow 0.25s ease, background-color 0.25s ease;
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: transform;
  contain: layout style;
  overflow-anchor: none;
}

body.dark-mode .mz-site-header-sticky {
  background-color: var(--mz-dark-surface);
}

@media (min-width: 783px) {
  body.admin-bar .mz-site-header-sticky {
    top: 32px;
  }
}

@media (min-width: 601px) and (max-width: 782px) {
  body.admin-bar .mz-site-header-sticky {
    top: 46px;
  }
}

@media (max-width: 600px) {
  body.admin-bar .mz-site-header-sticky {
    top: 0 !important;
  }
}

.mz-site-header-sticky.is-scrolled {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

body.dark-mode .mz-site-header-sticky.is-scrolled {
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.5);
}

.mz-main-header {
  background-color: var(--mz-light-surface);
  border-bottom: 1px solid var(--mz-light-border);
  padding: 0.45rem 0;
  position: relative;
  z-index: 991;
  width: 100%;
}

@media (min-width: 1024px) {
  #mz-site-header,
  .mz-site-header-sticky {
    padding-right: 58px;
  }
  .mz-header-inner {
    min-height: 64px;
    padding: 0.15rem 0;
  }
}

body.dark-mode .mz-main-header {
  background-color: var(--mz-dark-surface);
  border-bottom-color: var(--mz-dark-border);
}

.mz-logo-badge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background-color: var(--mz-primary);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.35rem;
  letter-spacing: -1px;
}

.mz-search-box {
  flex: 1 1 260px;
  min-width: 200px;
  max-width: 520px;
  margin: 0 1.25rem;
  position: relative;
}

.mz-search-input {
  width: 100%;
  padding: 0.65rem 1rem 0.65rem 2.5rem;
  background-color: #F1F5F9;
  border: 1px solid #E2E8F0;
  border-radius: var(--mz-radius);
  font-size: 0.8rem;
  color: inherit;
  outline: none;
  transition: var(--mz-transition);
}

body.dark-mode .mz-search-input {
  background-color: #1A2026;
  border-color: #27313A;
  color: #F1F5F9;
}

.mz-search-input:focus {
  border-color: var(--mz-primary);
  box-shadow: 0 0 0 3px rgba(31, 74, 46, 0.15);
}

.mz-btn-action {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  border-radius: var(--mz-radius);
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid var(--mz-light-border);
  background: transparent;
  color: inherit;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: var(--mz-transition);
}

body.dark-mode .mz-btn-action {
  border-color: var(--mz-dark-border);
}

.mz-btn-action:hover {
  background-color: rgba(0, 0, 0, 0.04);
}

body.dark-mode .mz-btn-action:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.mz-btn-cart {
  background-color: #111417;
  color: #FFFFFF;
  border: none;
  padding: 0.6rem 1.15rem;
  border-radius: var(--mz-radius);
  font-size: 0.82rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: var(--mz-transition);
}

body.dark-mode .mz-btn-cart {
  background-color: #3E5A36;
}

.mz-btn-cart:hover {
  background-color: #000000;
  transform: translateY(-1px);
}

.mz-cart-badge {
  background-color: var(--mz-primary);
  color: #FFFFFF;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
}

body.dark-mode .mz-cart-badge {
  background-color: #111417;
}

/* ==========================================================================
   5. NAVIGATION BAR
   ========================================================================== */
.mz-navbar {
  background-color: var(--mz-light-surface);
  border-bottom: 1px solid var(--mz-light-border);
  padding: 0.35rem 0;
  min-height: 44px;
  font-size: 0.8rem;
  font-weight: 700;
}

body.dark-mode .mz-navbar {
  background-color: var(--mz-dark-surface);
  border-bottom-color: var(--mz-dark-border);
}

.mz-nav-all-btn {
  background-color: var(--mz-primary);
  color: #FFFFFF;
  padding: 0.45rem 1rem;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--mz-transition);
}

.mz-nav-all-btn:hover {
  background-color: var(--mz-primary-hover);
}

.mz-nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.mz-nav-links a:hover,
.mz-nav-links a.active {
  color: var(--mz-primary);
}

body.dark-mode .mz-nav-links a:hover,
body.dark-mode .mz-nav-links a.active {
  color: #34D399;
}

/* Hover Mega Menu (Desktop Navigation) */
.mz-navbar {
  position: relative;
  z-index: 95;
}

.mz-mega-menu-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0;
}

.mz-mega-chevron {
  transition: transform 0.22s ease;
}

.mz-mega-menu-wrapper:hover .mz-mega-chevron,
.mz-mega-menu-wrapper:focus-within .mz-mega-chevron,
.mz-mega-menu-wrapper.is-open .mz-mega-chevron {
  transform: rotate(180deg);
}

/* Invisible hover bridge so moving cursor from button to panel never closes the menu */
.mz-mega-menu-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  padding-top: 0.55rem;
  width: 820px;
  max-width: calc(100vw - 2rem);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.22s;
}

.mz-mega-menu-wrapper:hover .mz-mega-menu-dropdown,
.mz-mega-menu-wrapper:focus-within .mz-mega-menu-dropdown,
.mz-mega-menu-wrapper.is-open .mz-mega-menu-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.mz-mega-menu-inner {
  display: grid;
  grid-template-columns: 245px 1fr;
  background-color: var(--mz-light-surface);
  border: 1px solid var(--mz-light-border);
  border-radius: 22px;
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.16);
  overflow: hidden;
}

body.dark-mode .mz-mega-menu-inner {
  background-color: #151A1F;
  border-color: #263038;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

.mz-mega-cats-col {
  padding: 1rem;
  background-color: #F8FAFC;
  border-left: 1px solid var(--mz-light-border);
}

body.dark-mode .mz-mega-cats-col {
  background-color: #111519;
  border-left-color: #242D35;
}

.mz-mega-cats-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0.5rem 0.6rem;
  margin-bottom: 0.6rem;
  border-bottom: 1px solid var(--mz-light-border);
}

body.dark-mode .mz-mega-cats-header {
  border-bottom-color: #242D35;
}

.mz-mega-cats-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.mz-mega-cat-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 0.65rem;
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  transition: all 0.18s ease;
}

.mz-mega-cat-item:hover {
  background-color: #FFFFFF;
}

body.dark-mode .mz-mega-cat-item:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.mz-mega-cat-item.active {
  background-color: var(--mz-primary);
  color: #FFFFFF;
  box-shadow: 0 6px 16px rgba(31, 74, 46, 0.25);
}

.mz-mega-cat-thumb {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.mz-mega-cat-name {
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mz-mega-cat-count {
  font-size: 0.66rem;
  color: #94A3B8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mz-mega-cat-item.active .mz-mega-cat-count {
  color: #A7F3D0;
}

.mz-mega-cat-arrow {
  font-size: 0.85rem;
  opacity: 0.65;
  flex-shrink: 0;
}

.mz-mega-cat-item.active .mz-mega-cat-arrow {
  opacity: 1;
  color: #FFFFFF;
}

.mz-mega-prods-col {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mz-mega-prods-pane {
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  min-height: 270px;
}

.mz-mega-prods-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.mz-mega-prod-card {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem;
  border-radius: 14px;
  border: 1px solid var(--mz-light-border);
  background-color: #F8FAFC;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

body.dark-mode .mz-mega-prod-card {
  background-color: #1B2228;
  border-color: #2B353E;
}

.mz-mega-prod-card:hover {
  border-color: var(--mz-primary);
  transform: translateY(-2px);
  box-shadow: var(--mz-shadow-sm);
}

.mz-mega-prod-img {
  width: 48px;
  height: 56px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

.mz-mega-prod-title {
  font-size: 0.76rem;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mz-mega-prod-fabric {
  font-size: 0.65rem;
  color: #94A3B8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}

.mz-mega-prod-price {
  font-size: 0.72rem;
  font-weight: 900;
  color: var(--mz-primary);
  margin-top: 4px;
}

body.dark-mode .mz-mega-prod-price {
  color: #34D399;
}

.mz-mega-footer-bar {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--mz-light-border);
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 0.85rem !important;
  flex-wrap: nowrap !important;
  font-size: 0.73rem;
  color: #64748B;
}

body.dark-mode .mz-mega-footer-bar {
  border-top-color: #263038;
  color: #CBD5E1;
}

.mz-mega-footer-cta {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.4rem !important;
  padding: 0.48rem 0.95rem !important;
  border-radius: 12px !important;
  background-color: #3E5A36 !important;
  color: #FFFFFF !important;
  font-size: 0.74rem !important;
  font-weight: 800 !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  box-shadow: 0 4px 12px rgba(62, 90, 54, 0.25);
  transition: all 0.2s ease;
}

.mz-mega-footer-cta:hover {
  background-color: #4B6F44 !important;
  color: #FFFFFF !important;
  transform: translateY(-1px);
}

body.dark-mode .mz-mega-footer-cta {
  background-color: #4B6F44 !important;
  color: #FFFFFF !important;
}

/* ==========================================================================
   6. HERO BANNER
   ========================================================================== */
.mz-hero {
  position: relative;
  height: 480px;
  border-radius: var(--mz-radius-lg);
  overflow: hidden;
  margin: 0.75rem 0;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  box-shadow: var(--mz-shadow-lg);
}

.mz-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(13, 15, 17, 0.92) 0%, rgba(13, 15, 17, 0.65) 50%, rgba(13, 15, 17, 0.3) 100%);
}

.mz-hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  padding: 0 3rem;
  color: #FFFFFF;
}

.mz-hero-title {
  font-size: 2.75rem;
  font-weight: 900;
  line-height: 1.2;
  margin: 0.75rem 0 1rem;
}

.mz-hero-subtitle {
  font-size: 0.95rem;
  color: #CBD5E1;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.mz-btn-cta {
  background-color: var(--mz-primary);
  color: #FFFFFF;
  padding: 0.85rem 1.85rem;
  border-radius: var(--mz-radius);
  font-weight: 800;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 4px 15px rgba(31, 74, 46, 0.4);
  transition: var(--mz-transition);
}

.mz-btn-cta:hover {
  background-color: var(--mz-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(31, 74, 46, 0.5);
}

/* ==========================================================================
   7. CATEGORY STORY CIRCLES
   ========================================================================== */
.mz-categories-carousel {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  padding: 0.5rem 0;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
  -webkit-overflow-scrolling: touch;
  transform: translate3d(0, 0, 0);
}
.mz-categories-carousel::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

.mz-cat-circle {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  text-align: center;
  flex-shrink: 0;
  transform: translate3d(0, 0, 0);
}

.mz-cat-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  padding: 2.5px;
  border: 2.5px solid #E11D48 !important;
  background: transparent !important;
  box-shadow: 0 3px 10px rgba(225, 29, 72, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
  box-sizing: border-box;
  transform: translate3d(0, 0, 0) !important;
}

body.dark-mode .mz-cat-avatar,
html.dark .mz-cat-avatar {
  border-color: #E11D48 !important;
}

.mz-cat-avatar-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #FFFFFF;
  padding: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-sizing: border-box;
}

body.dark-mode .mz-cat-avatar-inner,
html.dark .mz-cat-avatar-inner {
  background: #111417;
}

.mz-cat-circle:hover .mz-cat-avatar {
  transform: translate3d(0, 0, 0) !important;
  border-color: #BE123C !important;
  box-shadow: 0 4px 14px rgba(225, 29, 72, 0.35) !important;
}

/* Red Story Ring on all story circles including special */
.mz-cat-circle.special .mz-cat-avatar {
  border: 2.5px solid #E11D48 !important;
  padding: 2.5px !important;
  background: transparent !important;
  box-shadow: 0 4px 15px rgba(225, 29, 72, 0.32) !important;
}

.mz-cat-circle.special:hover .mz-cat-avatar {
  transform: translate3d(0, 0, 0) !important;
  border-color: #BE123C !important;
  box-shadow: 0 6px 18px rgba(225, 29, 72, 0.42) !important;
}

.mz-cat-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.mz-cat-name {
  font-size: 0.78rem;
  font-weight: 700;
  color: #1E293B;
  transition: color 0.2s ease;
}

body.dark-mode .mz-cat-name,
html.dark .mz-cat-name {
  color: #F1F5F9;
}

.mz-cat-circle.special .mz-cat-name {
  font-weight: 800;
  color: #0F172A;
}

body.dark-mode .mz-cat-circle.special .mz-cat-name {
  color: #FFFFFF;
}

/* ==========================================================================
   8. STREETWEAR PRODUCT CARDS (HIGH-CONVERSION)
   ========================================================================== */
.mz-product-card {
  position: relative;
  z-index: 1;
  background-color: var(--mz-light-surface);
  border: 1px solid var(--mz-light-border);
  border-radius: var(--mz-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--mz-shadow-sm);
  transform: translate3d(0, 0, 0) scale(1);
  will-change: transform, box-shadow;
  transition:
    transform 0.34s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.36s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.3s ease;
}

body.dark-mode .mz-product-card {
  background-color: var(--mz-dark-surface);
  border-color: var(--mz-dark-border);
}

.mz-product-card:hover {
  z-index: 4;
  transform: translate3d(0, -4px, 0) scale(1.02);
  box-shadow: 0 20px 38px -10px rgba(17, 20, 23, 0.16), 0 8px 16px -6px rgba(62, 90, 54, 0.10);
  border-color: rgba(62, 90, 54, 0.4);
}

body.dark-mode .mz-product-card:hover {
  border-color: rgba(140, 229, 99, 0.35);
  box-shadow: 0 22px 42px -10px rgba(0, 0, 0, 0.62), 0 8px 18px -6px rgba(140, 229, 99, 0.10);
}

.mz-card-thumb {
  position: relative;
  aspect-ratio: 4 / 5;
  background-color: #F1F5F9;
  overflow: hidden;
}

.mz-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.mz-product-card:hover .mz-card-thumb img {
  transform: scale(1.06);
}

.mz-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: linear-gradient(135deg, rgba(62, 90, 54, 0.95) 0%, rgba(30, 58, 42, 0.96) 100%);
  color: #FFFFFF;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  padding: 0.26rem 0.72rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 3;
  line-height: 1.3;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "ss01", "tnum";
}

.mz-badge::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: #34D399;
  box-shadow: 0 0 6px #34D399;
  flex-shrink: 0;
}

.mz-badge.mz-badge-discount,
.mz-badge.mz-badge-sale {
  background: linear-gradient(135deg, #E11D48 0%, #BE123C 100%);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 4px 14px rgba(225, 29, 72, 0.3);
}

.mz-badge.mz-badge-discount::before,
.mz-badge.mz-badge-sale::before {
  background-color: #FDE047;
  box-shadow: 0 0 6px #FDE047;
}

.mz-badge.mz-badge-vip {
  background: linear-gradient(135deg, #111827 0%, #1F2937 100%);
  border-color: rgba(245, 158, 11, 0.45);
  color: #FDE68A;
}

.mz-badge.mz-badge-vip::before {
  background-color: #F59E0B;
  box-shadow: 0 0 6px #F59E0B;
}

/* Global Persian Numerals & Tabular Alignment for All Price Elements */
.mz-card-price,
.woocommerce-Price-amount,
.woocommerce-Price-amount bdi,
.price,
.mz-dk-final-price,
.mz-dk-old-price,
.mz-side-cart-price,
.mz-invoice-val,
.tabular-nums {
  font-variant-numeric: tabular-nums !important;
  font-feature-settings: "ss01" 1, "tnum" 1 !important;
  -moz-font-feature-settings: "ss01" 1, "tnum" 1 !important;
  -webkit-font-feature-settings: "ss01" 1, "tnum" 1 !important;
}

.mz-card-body {
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.mz-fabric-spec {
  font-size: 0.72rem;
  color: var(--mz-light-muted);
  font-weight: 500;
  display: block;
  margin-bottom: 0.35rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.dark-mode .mz-fabric-spec {
  color: var(--mz-dark-muted);
}

.mz-card-title {
  font-size: 0.88rem;
  font-weight: 800;
  margin: 0 0 0.6rem 0;
  line-height: 1.4;
}

.mz-card-price {
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--mz-primary);
  margin-bottom: 0.85rem;
}

body.dark-mode .mz-card-price {
  color: #34D399;
}

.mz-size-selector {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.mz-size-pill {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid var(--mz-light-border);
  background: transparent;
  color: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--mz-transition);
}

body.dark-mode .mz-size-pill {
  border-color: var(--mz-dark-border);
}

.mz-size-pill:hover, .mz-size-pill.active {
  background-color: #111417;
  color: #FFFFFF;
  border-color: #111417;
}

body.dark-mode .mz-size-pill.active {
  background-color: #FFFFFF;
  color: #111417;
  border-color: #FFFFFF;
}

.mz-btn-add {
  width: 100%;
  padding: 0.65rem 1rem;
  background-color: #111417;
  color: #FFFFFF;
  border: none;
  border-radius: var(--mz-radius);
  font-weight: 700;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: var(--mz-transition);
}

body.dark-mode .mz-btn-add {
  background-color: #3E5A36;
}

.mz-btn-add:hover {
  background-color: #000000;
}

/* ==========================================================================
   9. COUNTDOWN PROMO BANNER (STANDALONE)
   ========================================================================== */
.mz-promo-banner {
  background: #F1F6F2;
  border: 1px solid #D1E7DD;
  border-radius: var(--mz-radius-lg);
  padding: 2.5rem;
  margin: 3rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

body.dark-mode .mz-promo-banner {
  background-color: #13171B;
  border-color: #212930;
}

@media (max-width: 900px) {
  .mz-promo-banner {
    flex-direction: column;
    text-align: center;
  }
}

.mz-countdown-box {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.5rem 0;
}

@media (max-width: 900px) {
  .mz-countdown-box { justify-content: center; }
}

.mz-cd-unit {
  background-color: var(--mz-light-surface);
  border: 1px solid var(--mz-light-border);
  border-radius: var(--mz-radius);
  padding: 0.6rem 0.85rem;
  min-width: 62px;
  text-align: center;
}

body.dark-mode .mz-cd-unit {
  background-color: #1B2228;
  border-color: #2D3944;
}

.mz-cd-num {
  font-size: 1.35rem;
  font-weight: 900;
  display: block;
  line-height: 1;
}

.mz-cd-label {
  font-size: 0.68rem;
  color: var(--mz-light-muted);
  display: block;
  margin-top: 0.3rem;
}

/* ==========================================================================
   10. FEATURES SECTION (4 TRUST BADGES)
   ========================================================================== */
.mz-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin: 3rem 0;
}

@media (max-width: 900px) {
  .mz-features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 500px) {
  .mz-features-grid { grid-template-columns: 1fr; }
}

.mz-feature-card {
  background-color: var(--mz-light-surface);
  border: 1px solid var(--mz-light-border);
  border-radius: var(--mz-radius);
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--mz-shadow-sm);
}

body.dark-mode .mz-feature-card {
  background-color: var(--mz-dark-surface);
  border-color: var(--mz-dark-border);
}

.mz-feature-icon {
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
  display: block;
}

.mz-feature-title {
  font-size: 0.88rem;
  font-weight: 800;
  margin: 0 0 0.35rem 0;
}

.mz-feature-desc {
  font-size: 0.74rem;
  color: var(--mz-light-muted);
  margin: 0;
  line-height: 1.5;
}

@media (min-width: 1024px) {
  .mz-feature-desc {
    white-space: nowrap !important;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: clamp(0.68rem, 0.82vw, 0.76rem) !important;
    letter-spacing: -0.015em;
  }
}

body.dark-mode .mz-feature-desc {
  color: var(--mz-dark-muted);
}

/* ==========================================================================
   11. FOOTER
   ========================================================================== */
.mz-footer {
  background-color: #0B0E10;
  color: #94A3B8;
  padding: 1.85rem 0 1.1rem;
  border-top: 1px solid #1C2329;
  font-size: 0.78rem;
}

.mz-footer-heading {
  color: #F8FAFC;
  font-size: 0.82rem;
  font-weight: 800;
  margin: 0 0 0.55rem 0;
}

.mz-footer a:hover {
  color: #34D399;
}

.mz-footer-bottom {
  border-top: 1px solid #1C2329;
  padding-top: 0.85rem;
  margin-top: 0.9rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.74rem;
}

@media (max-width: 768px) {
  .mz-footer-bottom {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }
}

/* ==========================================================================
   12. CLASSIC PAGES: FORMS, DASHBOARD, AUTH, CONTACT & ABOUT
   ========================================================================== */
.mz-page-hero {
  background: linear-gradient(135deg, #111417 0%, #1A2227 100%);
  color: #FFFFFF;
  padding: 3.5rem 0;
  text-align: center;
  border-bottom: 1px solid #232B32;
  margin-bottom: 2.5rem;
}

.mz-page-hero h1 {
  font-size: 2.25rem;
  font-weight: 900;
  margin: 0 0 0.5rem 0;
}

.mz-page-hero p {
  color: #94A3B8;
  font-size: 0.9rem;
  margin: 0;
}

.mz-card-panel {
  background-color: var(--mz-light-surface);
  border: 1px solid var(--mz-light-border);
  border-radius: var(--mz-radius-lg);
  padding: 2rem;
  box-shadow: var(--mz-shadow-sm);
}

body.dark-mode .mz-card-panel {
  background-color: var(--mz-dark-surface);
  border-color: var(--mz-dark-border);
}

.mz-form-group {
  margin-bottom: 1.25rem;
  text-align: right;
}

.mz-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--mz-light-text);
}

body.dark-mode .mz-label {
  color: var(--mz-dark-text);
}

.mz-input, .mz-textarea, .mz-select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--mz-light-border);
  border-radius: var(--mz-radius);
  background-color: #F8FAFC;
  color: inherit;
  font-size: 0.85rem;
  outline: none;
  transition: var(--mz-transition);
}

body.dark-mode .mz-input, 
body.dark-mode .mz-textarea, 
body.dark-mode .mz-select {
  background-color: #171C21;
  border-color: #27313A;
  color: #F1F5F9;
}

.mz-input:focus, .mz-textarea:focus, .mz-select:focus {
  border-color: var(--mz-primary);
  background-color: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(31, 74, 46, 0.15);
}

body.dark-mode .mz-input:focus, 
body.dark-mode .mz-textarea:focus, 
body.dark-mode .mz-select:focus {
  background-color: #1A2127;
}

.mz-btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.85rem 1.5rem;
  background-color: var(--mz-primary);
  color: #FFFFFF;
  border: none;
  border-radius: var(--mz-radius);
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
  transition: var(--mz-transition);
  box-shadow: 0 4px 14px rgba(31, 74, 46, 0.3);
}

.mz-btn-submit:hover {
  background-color: var(--mz-primary-hover);
  transform: translateY(-1px);
}

.mz-alert-success {
  background-color: rgba(16, 185, 129, 0.1);
  border: 1px solid #10B981;
  color: #065F46;
  padding: 0.85rem 1.25rem;
  border-radius: var(--mz-radius);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

body.dark-mode .mz-alert-success {
  background-color: rgba(16, 185, 129, 0.15);
  color: #34D399;
}

.mz-alert-error {
  background-color: rgba(239, 68, 68, 0.1);
  border: 1px solid #EF4444;
  color: #991B1B;
  padding: 0.85rem 1.25rem;
  border-radius: var(--mz-radius);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

body.dark-mode .mz-alert-error {
  color: #F87171;
}

/* Tabs */
.mz-tabs-nav {
  display: flex;
  border-bottom: 1px solid var(--mz-light-border);
  margin-bottom: 1.75rem;
  gap: 1rem;
}

body.dark-mode .mz-tabs-nav {
  border-bottom-color: var(--mz-dark-border);
}

.mz-tab-btn {
  padding: 0.75rem 1.25rem;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--mz-light-muted);
  cursor: pointer;
  transition: var(--mz-transition);
}

.mz-tab-btn.active {
  color: var(--mz-primary);
  border-bottom-color: var(--mz-primary);
}

body.dark-mode .mz-tab-btn.active {
  color: #34D399;
  border-bottom-color: #34D399;
}

/* Dashboard & Club Stats */
.mz-stat-card {
  background-color: var(--mz-light-surface);
  border: 1px solid var(--mz-light-border);
  border-radius: var(--mz-radius);
  padding: 1.5rem;
  text-align: center;
}

body.dark-mode .mz-stat-card {
  background-color: var(--mz-dark-surface);
  border-color: var(--mz-dark-border);
}

.mz-stat-val {
  font-size: 2rem;
  font-weight: 900;
  color: var(--mz-primary);
  display: block;
}

body.dark-mode .mz-stat-val {
  color: #34D399;
}

.mz-stat-label {
  font-size: 0.78rem;
  color: var(--mz-light-muted);
}

/* Tables */
.mz-table-wrapper {
  width: 100%;
  overflow-x: auto;
}

.mz-table {
  width: 100%;
  border-collapse: collapse;
  text-align: right;
  font-size: 0.82rem;
}

.mz-table th {
  background-color: #F1F5F9;
  padding: 0.85rem 1rem;
  font-weight: 800;
  border-bottom: 1px solid var(--mz-light-border);
}

body.dark-mode .mz-table th {
  background-color: #171D22;
  border-bottom-color: var(--mz-dark-border);
}

.mz-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--mz-light-border);
}

body.dark-mode .mz-table td {
  border-bottom-color: var(--mz-dark-border);
}

/* ==========================================================================
   13. BLOG CARDS, PAGINATION & COMMENTS (CLASSIC NATIVE)
   ========================================================================== */
.mz-blog-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.mz-blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--mz-shadow-lg);
}

.mz-hover-green:hover {
  color: var(--mz-primary) !important;
}

body.dark-mode .mz-hover-green:hover {
  color: #34D399 !important;
}

.mz-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0.26rem 0.72rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
}

.mz-pagination, 
.pagination, 
.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin: 2.5rem 0;
  font-size: 0.85rem;
  font-weight: 700;
}

.mz-pagination .page-numbers,
.pagination .page-numbers,
.nav-links .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 0.75rem;
  border-radius: 10px;
  border: 1px solid var(--mz-light-border);
  background: var(--mz-light-surface);
  color: var(--mz-light-text);
  transition: var(--mz-transition);
}

body.dark-mode .mz-pagination .page-numbers,
body.dark-mode .pagination .page-numbers,
body.dark-mode .nav-links .page-numbers {
  border-color: var(--mz-dark-border);
  background: var(--mz-dark-surface);
  color: var(--mz-dark-text);
}

.mz-pagination .page-numbers.current,
.pagination .page-numbers.current,
.nav-links .page-numbers.current {
  background: var(--mz-primary);
  color: #FFFFFF;
  border-color: var(--mz-primary);
}

.mz-pagination .page-numbers:hover:not(.current),
.pagination .page-numbers:hover:not(.current),
.nav-links .page-numbers:hover:not(.current) {
  border-color: var(--mz-primary);
  color: var(--mz-primary);
}

/* Comment Form & Comment List */
.comment-list .comment {
  background: var(--mz-light-surface);
  border: 1px solid var(--mz-light-border);
  border-radius: var(--mz-radius);
  padding: 1.25rem;
}

body.dark-mode .comment-list .comment {
  background: var(--mz-dark-surface);
  border-color: var(--mz-dark-border);
}

.comment-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.comment-author .avatar {
  border-radius: 50%;
}

.comment-metadata {
  font-size: 0.72rem;
  color: var(--mz-light-muted);
  margin-bottom: 0.75rem;
}

.comment-content {
  font-size: 0.85rem;
  line-height: 1.8;
}

.reply {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--mz-primary);
}

.mz-comment-form p {
  margin-bottom: 1rem;
}

.mz-comment-form label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.mz-comment-form input[type="text"],
.mz-comment-form input[type="email"],
.mz-comment-form input[type="url"],
.mz-comment-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--mz-light-border);
  border-radius: var(--mz-radius);
  background-color: #F8FAFC;
  color: inherit;
  font-size: 0.85rem;
  outline: none;
  transition: var(--mz-transition);
}

body.dark-mode .mz-comment-form input[type="text"],
body.dark-mode .mz-comment-form input[type="email"],
body.dark-mode .mz-comment-form input[type="url"],
body.dark-mode .mz-comment-form textarea {
  background-color: #171C21;
  border-color: #27313A;
  color: #F1F5F9;
}

/* ==========================================================================
   20. WOOCOMMERCE ARCHIVE & CATALOG STYLING
   ========================================================================== */
.woocommerce-products-header {
  margin-bottom: 2rem;
}

.woocommerce-products-header__title {
  font-size: 2.2rem;
  font-weight: 900;
  margin: 0;
}

.mz-woocommerce-archive ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 1.5rem !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 1.5rem 0 !important;
}

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

.mz-woocommerce-archive ul.products li.product {
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
}

@media (max-width: 1024px) {
  .mz-woocommerce-archive ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem !important;
  }
}

@media (max-width: 640px) {
  .mz-woocommerce-archive ul.products {
    grid-template-columns: 1fr !important;
  }
}

.woocommerce-ordering,
.woocommerce-result-count {
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
}

.woocommerce-ordering select {
  padding: 0.5rem 1rem;
  border: 1px solid var(--mz-light-border);
  border-radius: var(--mz-radius);
  background-color: var(--mz-light-surface);
  color: inherit;
  font-family: inherit;
  font-size: 0.8rem;
}

body.dark-mode .woocommerce-ordering select {
  background-color: var(--mz-dark-surface);
  border-color: var(--mz-dark-border);
  color: var(--mz-dark-text);
}

/* ==========================================================================
   App-like Mobile Bottom Navigation Bar (Floating & Glassmorphism)
   ========================================================================== */
.mz-mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-top: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06);
  padding: 0.4rem 0.75rem max(0.4rem, env(safe-area-inset-bottom));
}

body.dark-mode .mz-mobile-bottom-bar {
  background: rgba(15, 20, 28, 0.92);
  border-top-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 -4px 25px rgba(0, 0, 0, 0.35);
}

.mz-bottom-bar-inner {
  display: flex;
  justify-content: space-around;
  align-items: center;
  max-width: 500px;
  margin: 0 auto;
}

.mz-bottom-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  text-decoration: none;
  color: #64748B;
  padding: 0.35rem 0.65rem;
  border-radius: 14px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 0.68rem;
  font-weight: 700;
  position: relative;
  -webkit-tap-highlight-color: transparent;
}

body.dark-mode .mz-bottom-item {
  color: #94A3B8;
}

.mz-bottom-item:active {
  transform: scale(0.92);
}

.mz-bottom-item.active {
  color: var(--mz-primary);
  font-weight: 900;
}

body.dark-mode .mz-bottom-item.active {
  color: #34D399;
}

.mz-bottom-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.mz-cart-badge-dot {
  position: absolute;
  top: -4px;
  right: -8px;
  background: #EF4444;
  color: #FFFFFF;
  font-size: 0.6rem;
  font-weight: 900;
  min-width: 17px;
  height: 17px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 2px;
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.4);
  border: 2px solid #FFFFFF;
}

body.dark-mode .mz-cart-badge-dot {
  border-color: #0F141C;
}

.mz-cart-badge-dot.hidden {
  display: none !important;
}

@media (max-width: 768px) {
  .mz-mobile-bottom-bar {
    display: block;
  }
  body {
    padding-bottom: 70px !important;
  }
}

/* ==========================================================================
   Instagram-Style Video & Photo Story Viewer Modal
   ========================================================================== */
.mz-story-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(25px);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: mzModalFadeIn 0.25s ease-out;
}

@keyframes mzModalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.mz-story-modal-container {
  width: 100%;
  max-width: 420px;
  height: 92vh;
  max-height: 820px;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  background: #111417;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
}

@media (max-width: 480px) {
  .mz-story-modal-container {
    max-width: 100%;
    height: 100vh;
    max-height: 100vh;
    border-radius: 0;
  }
}

.mz-story-progress-wrapper {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  z-index: 10;
  display: flex;
  gap: 5px;
}

.mz-story-progress-bar {
  flex: 1;
  height: 3px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 3px;
  overflow: hidden;
}

.mz-story-progress-fill {
  height: 100%;
  background: #FFFFFF;
  width: 0%;
  border-radius: 3px;
  transition: width 0.1s linear;
}

.mz-story-modal-header {
  position: absolute;
  top: 26px;
  left: 14px;
  right: 14px;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #FFFFFF;
}

.mz-story-author-info {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.mz-story-author-avatar img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid #10B981;
  object-fit: cover;
}

.mz-story-author-name {
  font-size: 0.88rem;
  font-weight: 800;
  margin: 0;
  color: #FFFFFF;
}

.mz-story-time {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.75);
}

.mz-story-header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mz-story-close-btn,
.mz-story-mute-btn {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.mz-story-close-btn:hover,
.mz-story-mute-btn:hover {
  background: rgba(0, 0, 0, 0.6);
  transform: scale(1.05);
}

.mz-story-media-stage {
  flex: 1;
  width: 100%;
  height: 100%;
  position: relative;
  background: #000000;
}

.mz-story-caption-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  padding: 3.5rem 1.25rem 1.5rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 60%, transparent 100%);
  color: #FFFFFF;
}

.mz-story-caption-text {
  font-size: 0.85rem;
  font-weight: 600;
  margin: 0 0 1rem 0;
  line-height: 1.6;
  color: #FFFFFF;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

.mz-story-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--mz-primary);
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.82rem;
  padding: 0.75rem 1.25rem;
  border-radius: 14px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  transition: all 0.2s;
}

.mz-story-cta-btn:hover {
  background: var(--mz-primary-hover);
  transform: translateY(-2px);
}

.mz-story-nav-touch {
  position: absolute;
  top: 60px;
  bottom: 100px;
  width: 40%;
  z-index: 5;
  cursor: pointer;
}
.mz-story-touch-prev { left: 0; }
.mz-story-touch-next { right: 0; }

/* ==========================================================================
   Enhanced Dark Mode Overrides (Pure White Text & High Contrast Fields)
   ========================================================================== */
body.dark-mode {
  background-color: #0B0E14 !important;
  color: #FFFFFF !important;
}

/* ==========================================================================
   20. MOBILE BOTTOM NAVIGATION (APP-LIKE EXPERIENCE)
   ========================================================================== */
.mz-mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1050;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 -8px 28px rgba(15, 23, 42, 0.08);
  padding: 6px 10px;
  padding-bottom: max(8px, env(safe-area-inset-bottom));
}

@media (max-width: 1023.98px) {
  .mz-mobile-bottom-nav {
    display: block !important;
  }
  body {
    padding-bottom: 78px !important;
  }
}

.mz-mobile-bottom-inner {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  max-width: 520px;
  margin: 0 auto;
}

.mz-mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #64748B;
  text-decoration: none;
  font-size: 0.69rem;
  font-weight: 800;
  padding: 4px 4px;
  border-radius: 12px;
  transition: all 0.2s ease;
  position: relative;
}

.mz-mobile-nav-item:hover,
.mz-mobile-nav-item.active {
  color: var(--mz-primary);
}

.mz-mobile-nav-item.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  width: 18px;
  height: 3px;
  border-radius: 99px;
  background: var(--mz-primary);
}

.mz-mobile-nav-icon {
  margin-bottom: 3px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  transition: transform 0.2s ease;
}

.mz-mobile-nav-item.active .mz-mobile-nav-icon {
  transform: translateY(-2px);
}

/* Center Elevated Cart Orb in Mobile App Nav */
.mz-mobile-nav-cart-center {
  position: relative;
}

.mz-mobile-nav-cart-orb {
  width: 46px;
  height: 46px;
  margin-top: -18px;
  margin-bottom: 2px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3E5A36 0%, #112A1A 100%);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 8px 20px rgba(31, 74, 46, 0.35);
  border: 3px solid #FFFFFF;
  transition: transform 0.2s ease;
}

body.dark-mode .mz-mobile-nav-cart-orb {
  border-color: #12161C;
}

.mz-mobile-nav-cart-center:active .mz-mobile-nav-cart-orb {
  transform: scale(0.93);
}

.mz-mobile-cart-badge,
.mz-mobile-wish-badge {
  position: absolute;
  top: -5px;
  left: -6px;
  background: #E11D48;
  color: #FFFFFF;
  font-size: 0.64rem;
  font-weight: 900;
  min-width: 18px;
  height: 18px;
  line-height: 18px;
  border-radius: 9999px;
  text-align: center;
  padding: 0 4px;
  box-shadow: 0 2px 6px rgba(225, 29, 72, 0.4);
}

/* Dark Mode for Mobile Nav */
body.dark-mode .mz-mobile-bottom-nav {
  background: rgba(15, 19, 24, 0.96);
  border-top-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 -6px 28px rgba(0, 0, 0, 0.5);
}

body.dark-mode .mz-mobile-nav-item {
  color: #94A3B8;
}

body.dark-mode .mz-mobile-nav-item:hover,
body.dark-mode .mz-mobile-nav-item.active {
  color: #34D399;
}

body.dark-mode .mz-mobile-nav-item.active::after {
  background: #34D399;
}

/* ==========================================================================
   21. INSTAGRAM STORY VIEWER MODAL
   ========================================================================== */
.mz-story-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mz-story-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(20px);
}

.mz-story-container {
  position: relative;
  width: 100%;
  max-width: 440px;
  height: 100%;
  max-height: 860px;
  background: #000000;
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

@media (max-width: 480px) {
  .mz-story-container {
    max-height: 100%;
    border-radius: 0;
    border: none;
  }
}

.mz-story-progress-wrapper {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  z-index: 10;
  display: flex;
  gap: 5px;
}

.mz-story-progress-bar {
  flex: 1;
  height: 3px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  overflow: hidden;
}

.mz-story-progress-fill {
  height: 100%;
  width: 0%;
  background: #FFFFFF;
  border-radius: 999px;
  transition: width 0.1s linear;
}

.mz-story-header {
  position: absolute;
  top: 26px;
  left: 16px;
  right: 16px;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #FFFFFF;
}

.mz-story-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mz-story-avatar {
  width: 60px !important;
  height: 60px !important;
  min-width: 60px !important;
  min-height: 60px !important;
  border-radius: 50% !important;
  background: #FFFFFF !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1.5px solid rgba(255, 255, 255, 0.4) !important;
  padding: 5px !important;
  overflow: hidden !important;
  flex-shrink: 0 !important;
  box-shadow: none !important;
}

.mz-story-avatar img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  display: block !important;
  box-shadow: none !important;
}

.mz-story-badge {
  display: inline-block;
  font-size: 0.68rem;
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.3);
  color: #34D399;
  margin-right: 6px;
}

.mz-story-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mz-story-controls button {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}

.mz-story-controls button:hover {
  background: rgba(0, 0, 0, 0.7);
}

.mz-story-media-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}

.mz-story-video,
.mz-story-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mz-story-nav-tap {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 40%;
  z-index: 5;
  cursor: pointer;
}

.mz-story-tap-prev {
  right: 0;
}

.mz-story-tap-next {
  left: 0;
}

.mz-story-footer {
  position: absolute;
  bottom: 20px;
  left: 16px;
  right: 16px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mz-story-caption {
  color: #FFFFFF;
  font-size: 0.86rem;
  margin: 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
  line-height: 1.5;
}

.mz-story-cta-button {
  background: #FFFFFF;
  color: #000000;
  padding: 12px 20px;
  border-radius: 14px;
  font-weight: 800;
  font-size: 0.88rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s, background 0.2s;
}

.mz-story-cta-button:hover {
  background: #F3F4F6;
  transform: translateY(-2px);
}

/* ==========================================================================
   14. MOBILE & TABLET HEADER (< 1024PX) & SMOOTH RTL OFF-CANVAS DRAWER
   Strictly Hidden on Desktop (>= 1024px)
   ========================================================================== */
.mz-mobile-header-row {
  display: none;
  align-items: center;
  justify-content: space-between;
  position: relative;
  min-height: 76px;
  width: 100%;
}

.mz-desktop-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.mz-header-brand-zone {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
  white-space: nowrap;
}

.mz-logo-link {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  flex-shrink: 0;
  white-space: nowrap;
}

.mz-logo-title {
  display: block;
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1.2;
  white-space: nowrap;
}

.mz-logo-subtitle {
  display: block;
  font-size: 0.68rem;
  color: #94A3B8;
  white-space: nowrap;
}

.mz-header-actions-zone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  white-space: nowrap;
}

.mz-mobile-menu-trigger,
.mz-mobile-search-trigger,
.mz-touch-target-48 {
  min-width: 46px;
  min-height: 46px;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid var(--mz-light-border);
  background: transparent;
  color: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.18s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s ease;
}

.mz-btn-cart-mobile {
  min-width: 46px !important;
  min-height: 46px !important;
  width: 46px !important;
  height: 46px !important;
  border-radius: 14px !important;
  background: #111417 !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
  margin-right: auto !important;
  margin-left: 0 !important;
  flex-shrink: 0 !important;
}

body.dark-mode .mz-btn-cart-mobile {
  background: #3E5A36 !important;
  border-color: rgba(167, 243, 208, 0.3) !important;
}

.mz-mobile-menu-trigger:active,
.mz-touch-target-48:active {
  transform: scale(0.94);
}

body.dark-mode .mz-mobile-menu-trigger,
body.dark-mode .mz-mobile-search-trigger,
body.dark-mode .mz-touch-target-48 {
  border-color: var(--mz-dark-border);
}

/* Off-Canvas Sliding Drawer (Strictly Hidden on Desktop >= 1024px) */
.mz-offcanvas-root {
  position: fixed !important;
  inset: 0 !important;
  z-index: 999999 !important;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0.38s cubic-bezier(0.16, 1, 0.3, 1);
}

.mz-offcanvas-root.is-open {
  visibility: visible;
  pointer-events: auto;
}

.mz-offcanvas-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(11, 14, 17, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.36s cubic-bezier(0.16, 1, 0.3, 1);
}

.mz-offcanvas-root.is-open .mz-offcanvas-backdrop {
  opacity: 1;
}

.mz-offcanvas-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 88vw;
  max-width: 360px;
  background: var(--mz-light-surface);
  color: inherit;
  border-left: 1px solid var(--mz-light-border);
  box-shadow: -16px 0 40px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  z-index: 2;
  transform: translate3d(100%, 0, 0);
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
  backface-visibility: hidden;
}

body.dark-mode .mz-offcanvas-panel {
  background: #0E1214;
  border-left-color: #1F272D;
}

.mz-offcanvas-root.is-open .mz-offcanvas-panel {
  transform: translate3d(0, 0, 0);
}

.mz-offcanvas-header {
  min-height: 80px;
  padding: 0.85rem 1.1rem;
  background: #111417 !important;
  color: #FFFFFF !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 10;
}

body.dark-mode .mz-offcanvas-header {
  background: #0B0E11 !important;
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.mz-offcanvas-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.mz-offcanvas-close {
  min-width: 42px;
  min-height: 42px;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF !important;
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  touch-action: manipulation;
  transition: transform 0.15s ease, background 0.2s ease;
}

.mz-offcanvas-close:active {
  transform: scale(0.93);
}

.mz-offcanvas-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
  padding: 0.55rem;
  background: rgba(0, 0, 0, 0.03);
  border-bottom: 1px solid var(--mz-light-border);
}

body.dark-mode .mz-offcanvas-tabs {
  background: #12171B;
  border-bottom-color: #1F272D;
}

.mz-offcanvas-tab {
  min-height: 48px;
  border-radius: 12px;
  border: none;
  background: transparent;
  color: inherit;
  font-weight: 800;
  font-size: 0.8rem;
  cursor: pointer;
  touch-action: manipulation;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.mz-offcanvas-tab.active {
  background: var(--mz-primary);
  color: #FFFFFF;
}

.mz-offcanvas-body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mz-offcanvas-item {
  min-height: 48px;
  padding: 0 1rem;
  border-radius: 12px;
  border: 1px solid var(--mz-light-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  color: inherit;
  touch-action: manipulation;
  transition: background 0.15s ease, transform 0.15s ease;
}

.mz-offcanvas-item:active {
  transform: scale(0.985);
}

body.dark-mode .mz-offcanvas-item {
  border-color: #1F272D;
}

.mz-offcanvas-item:hover {
  background: rgba(31, 74, 46, 0.08);
}

/* Strictly Hide Mobile & Tablet Menu on Desktop (>= 1024px) */
@media (min-width: 1024px) {
  .mz-mobile-header-row,
  .mz-offcanvas-root,
  .mz-mobile-bottom-nav {
    display: none !important;
  }

  .mz-desktop-header-row {
    display: flex !important;
  }
}

/* Mobile & Tablet Breakpoint (< 1024px) */
@media (max-width: 1023.98px) {
  .mz-topbar,
  .mz-navbar,
  .mz-desktop-only,
  .mz-desktop-header-row {
    display: none !important;
  }

  .mz-site-header-sticky {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 9990 !important;
    width: 100% !important;
  }

  .mz-mobile-header-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    position: relative !important;
    min-height: 76px !important;
    width: 100% !important;
  }

  .mz-main-header {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 9991;
    width: 100%;
    padding: 0.25rem 0;
    background-color: var(--mz-light-surface);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  }

  body.dark-mode .mz-main-header {
    background-color: var(--mz-dark-surface);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
  }

  .mz-logo-title {
    font-size: 0.95rem;
  }

  .mz-logo-subtitle,
  .mz-hide-xs,
  .mz-cart-label {
    display: none !important;
  }

  .mz-btn-cart {
    min-width: 48px;
    min-height: 48px;
    width: 48px;
    height: 48px;
    padding: 0;
    justify-content: center;
  }
}

/* ==========================================================================
   15. COMPLETE SECTION, GRID, BLOG, TESTIMONIAL, ARCHIVE & SVG UTILITIES
   ========================================================================== */
.w-3\.5, .h-3\.5 { width: 14px; height: 14px; }
.w-4, .h-4 { width: 16px; height: 16px; }
.w-5, .h-5 { width: 20px; height: 20px; }
.w-7, .h-7 { width: 28px; height: 28px; }
.w-8, .h-8 { width: 32px; height: 32px; }
.inline-block { display: inline-block; }
.align-middle { vertical-align: middle; }
.fill-current { fill: currentColor; }
.mz-star-svg { width: 14px; height: 14px; fill: #F59E0B; color: #F59E0B; display: inline-block; vertical-align: middle; }
.mz-feature-svg { width: 28px; height: 28px; stroke: currentColor; }

.mz-section {
  padding: 1.5rem 0;
}

.mz-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.mz-section-tag {
  display: inline-block;
  padding: 0.3rem 0.85rem;
  border-radius: 20px;
  background-color: rgba(31, 74, 46, 0.1);
  color: var(--mz-primary);
  font-size: 0.74rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

body.dark-mode .mz-section-tag {
  background-color: rgba(52, 211, 153, 0.12);
  color: #34D399;
}

.mz-section-title {
  font-size: 1.75rem;
  font-weight: 900;
  margin: 0 0 0.35rem 0;
  line-height: 1.3;
}

.mz-section-subtitle {
  font-size: 0.85rem;
  color: var(--mz-light-muted);
  margin: 0;
}

body.dark-mode .mz-section-subtitle {
  color: var(--mz-dark-muted);
}

.mz-filter-pills {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mz-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1.1rem;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 800;
  border: 1px solid var(--mz-light-border);
  background-color: var(--mz-light-surface);
  color: var(--mz-light-text);
  transition: var(--mz-transition);
}

.mz-pill.active,
.mz-pill:hover {
  background-color: var(--mz-primary);
  border-color: var(--mz-primary);
  color: #FFFFFF;
}

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

@media (max-width: 1023.98px) {
  .mz-product-grid,
  .products-grid,
  .mz-shop-products-area .mz-product-grid,
  .mz-shop-products-area .products-grid,
  .tax-product_cat .mz-product-grid,
  .tax-product_cat .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }
}

.mz-btn,
.mz-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--mz-radius);
  background-color: var(--mz-primary);
  color: #FFFFFF !important;
  font-size: 0.84rem;
  font-weight: 800;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: var(--mz-transition);
}

.mz-btn:hover,
.mz-btn-primary:hover {
  background-color: var(--mz-primary-hover);
  transform: translateY(-1px);
}

/* Feature Cards SVG Badge */
.mz-feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(31, 74, 46, 0.09);
  color: var(--mz-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.9rem;
}

body.dark-mode .mz-feature-icon {
  background: rgba(52, 211, 153, 0.12);
  color: #34D399;
}

/* Category Banner Cards */
.mz-cat-banner-card {
  position: relative;
  height: 280px;
  border-radius: var(--mz-radius-lg);
  overflow: hidden;
  display: block;
  box-shadow: var(--mz-shadow);
}

.mz-cat-banner-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.mz-cat-banner-card:hover img {
  transform: scale(1.06);
}

.mz-cat-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.86) 0%, rgba(0,0,0,0.38) 60%, transparent 100%);
}

.mz-cat-banner-content {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 1.5rem;
  color: #FFFFFF;
}

.mz-cat-banner-content h3 {
  font-size: 1.25rem;
  font-weight: 900;
  margin: 0 0 0.35rem 0;
}

.mz-cat-banner-content p {
  font-size: 0.78rem;
  color: #CBD5E1;
  margin: 0 0 0.85rem 0;
}

.mz-cat-banner-cta {
  font-size: 0.78rem;
  font-weight: 800;
  color: #34D399;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* Promo Banner Additions */
.mz-promo-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.85rem;
  border-radius: 20px;
  background: rgba(225, 29, 72, 0.1);
  color: #E11D48;
  font-size: 0.75rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.mz-promo-title {
  font-size: 1.85rem;
  font-weight: 900;
  margin: 0 0 0.75rem 0;
  line-height: 1.3;
}

.mz-promo-desc {
  font-size: 0.85rem;
  color: #64748B;
  margin: 0 0 1.5rem 0;
  line-height: 1.7;
}

.mz-promo-showcase-card {
  width: 280px;
  padding: 1.25rem;
  border-radius: var(--mz-radius);
  background: var(--mz-light-surface);
  border: 1px solid var(--mz-light-border);
  box-shadow: var(--mz-shadow);
  display: block;
  flex-shrink: 0;
}

body.dark-mode .mz-promo-showcase-card {
  background: var(--mz-dark-surface);
  border-color: var(--mz-dark-border);
}

.mz-promo-showcase-thumb {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 0.85rem;
  background: #F1F5F9;
}

.mz-promo-showcase-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Testimonials Section */
.mz-rating-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.9rem;
  border-radius: 12px;
  background: rgba(245, 158, 11, 0.1);
  color: #D97706;
  font-size: 0.78rem;
  font-weight: 800;
}

.mz-stars-row {
  color: #F59E0B;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.mz-testimonial-card {
  background-color: var(--mz-light-surface);
  border: 1px solid var(--mz-light-border);
  border-radius: var(--mz-radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--mz-shadow-sm);
}

body.dark-mode .mz-testimonial-card {
  background-color: var(--mz-dark-surface);
  border-color: var(--mz-dark-border);
}

.mz-verified-badge {
  font-size: 0.68rem;
  background: rgba(16, 185, 129, 0.1);
  color: #10B981;
  padding: 0.15rem 0.55rem;
  border-radius: 12px;
  font-weight: 700;
}

.mz-testimonial-text {
  font-size: 0.84rem;
  line-height: 1.75;
  margin: 0 0 1.25rem 0;
}

.mz-testimonial-footer {
  border-top: 1px solid var(--mz-light-border);
  padding-top: 0.85rem;
}

body.dark-mode .mz-testimonial-footer {
  border-top-color: var(--mz-dark-border);
}

.mz-testimonial-author {
  display: block;
  font-size: 0.84rem;
  font-weight: 800;
}

.mz-testimonial-meta {
  font-size: 0.72rem;
  color: var(--mz-light-muted);
}

.mz-testimonial-date {
  font-size: 0.68rem;
  color: var(--mz-light-muted);
}

/* Blog Section & Cards */
.mz-view-all-link {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--mz-primary);
}

.mz-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 900px) {
  .mz-blog-grid {
    grid-template-columns: 1fr;
  }
}

/* Style Guide & Fabric Knowledge (Magazine) Carousel Architecture */
.mz-blog-carousel-section {
  position: relative !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.mz-blog-carousel-viewport {
  width: 100% !important;
  max-width: 100% !important;
  overflow: visible !important;
  position: relative !important;
  padding: 4px 0 10px 0 !important;
  box-sizing: border-box !important;
}

.mz-blog-carousel-track {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  overflow-y: visible !important;
  scroll-snap-type: none !important;
  -webkit-overflow-scrolling: touch !important;
  touch-action: pan-y pinch-zoom !important;
  overscroll-behavior-x: contain !important;
  overscroll-behavior-y: auto !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
  gap: 16px !important;
  padding: 8px 4px 16px 4px !important;
  margin: 0 !important;
  width: 100% !important;
  box-sizing: border-box !important;
  cursor: default !important;
}

.mz-blog-carousel-track::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

.mz-blog-carousel-slide {
  flex: 0 0 320px !important;
  width: 320px !important;
  min-width: 320px !important;
  max-width: 320px !important;
  box-sizing: border-box !important;
  scroll-snap-align: none !important;
  flex-shrink: 0 !important;
  flex-grow: 0 !important;
  margin: 0 !important;
  transition: transform 0.25s ease !important;
}

.mz-blog-carousel-slide .mz-blog-card {
  height: 100% !important;
  margin: 0 !important;
}

@media (max-width: 768px) {
  .mz-blog-carousel-slide {
    flex: 0 0 280px !important;
    width: 280px !important;
    min-width: 280px !important;
    max-width: 280px !important;
  }
}

@media (max-width: 480px) {
  .mz-blog-carousel-slide {
    flex: 0 0 250px !important;
    width: 250px !important;
    min-width: 250px !important;
    max-width: 250px !important;
  }
}

.mz-blog-card {
  background-color: var(--mz-light-surface);
  border: 1px solid var(--mz-light-border);
  border-radius: var(--mz-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--mz-shadow-sm);
  transition: var(--mz-transition);
}

body.dark-mode .mz-blog-card {
  background-color: var(--mz-dark-surface);
  border-color: var(--mz-dark-border);
}

.mz-blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--mz-shadow-lg);
}

.mz-blog-img-wrap {
  position: relative;
  height: 200px;
  background-color: #F1F5F9;
  overflow: hidden;
}

.mz-blog-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mz-blog-cat {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(17, 20, 23, 0.85);
  color: #FFFFFF;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
}

.mz-blog-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.mz-blog-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.72rem;
  color: var(--mz-light-muted);
  margin-bottom: 0.6rem;
}

.mz-blog-title {
  font-size: 1rem;
  font-weight: 800;
  margin: 0 0 0.6rem 0;
  line-height: 1.45;
}

.mz-blog-excerpt {
  font-size: 0.8rem;
  color: var(--mz-light-muted);
  line-height: 1.7;
  margin: 0 0 1rem 0;
  flex: 1;
}

.mz-blog-readmore {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--mz-primary);
}

/* Shop Archive Layout */
.mz-shop-archive-wrapper {
  padding: 2rem 0 4rem;
}

.mz-shop-hero-header {
  background: var(--mz-light-surface);
  border: 1px solid var(--mz-light-border);
  border-radius: var(--mz-radius-lg);
  padding: 2rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

body.dark-mode .mz-shop-hero-header {
  background: var(--mz-dark-surface);
  border-color: var(--mz-dark-border);
}

.mz-shop-page-title {
  font-size: 1.75rem;
  font-weight: 900;
  margin: 0.25rem 0;
}

.mz-shop-archive-wrapper {
  overflow: visible !important;
}

.mz-shop-archive-wrapper .mz-container {
  max-width: 1360px !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
  overflow: visible !important;
}

@media (min-width: 1024px) {
  .mz-shop-archive-wrapper .mz-container {
    padding-right: 92px !important;
    padding-left: 28px !important;
  }
}

.mz-shop-layout-grid {
  display: grid;
  grid-template-columns: 265px minmax(0, 1fr);
  gap: 1.75rem;
  align-items: start !important;
  justify-content: center !important;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  overflow: visible !important;
}

@media (max-width: 1023.98px) {
  .mz-shop-layout-grid {
    grid-template-columns: 1fr;
  }
}

.mz-shop-sidebar {
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 96px !important;
  align-self: start !important;
  height: fit-content !important;
  max-height: calc(100vh - 112px);
  overflow-y: auto;
  z-index: 30;
}

.mz-filter-card {
  background: var(--mz-light-surface);
  border: 1px solid var(--mz-light-border);
  border-radius: var(--mz-radius);
  padding: 1.25rem;
  margin-bottom: 0;
}

.mz-filter-desc,
.mz-shop-sidebar .mz-filter-card:nth-of-type(n+2) {
  display: none !important;
}

body.dark-mode .mz-filter-card {
  background: var(--mz-dark-surface);
  border-color: var(--mz-dark-border);
}

.mz-filter-title {
  font-size: 0.95rem;
  font-weight: 800;
  margin: 0 0 1rem 0;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--mz-light-border);
}

.mz-filter-cat-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mz-filter-cat-list li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.65rem;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 700;
}

.mz-filter-cat-list li a:hover,
.mz-filter-cat-list li a.active {
  background: rgba(31, 74, 46, 0.08);
  color: var(--mz-primary);
}

/* ==========================================================================
   22. INTERACTIVE SIDE CART DRAWER (سبد خرید کناری کشویی با هاور و کلیک)
   ========================================================================== */
.mz-side-cart-root {
  position: fixed;
  inset: 0;
  z-index: 99999;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.mz-side-cart-root.is-open {
  visibility: visible;
  pointer-events: auto;
}

.mz-side-cart-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(11, 15, 20, 0.62);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

.mz-side-cart-root.is-open .mz-side-cart-backdrop {
  opacity: 1;
}

.mz-side-cart-panel {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 92vw;
  max-width: 430px;
  background: var(--mz-light-surface);
  color: var(--mz-light-text);
  border-right: 1px solid var(--mz-light-border);
  box-shadow: 20px 0 50px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  transform: translate3d(-100%, 0, 0);
  transition: transform 0.36s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
  z-index: 2;
}

body.dark-mode .mz-side-cart-panel {
  background: #11161B;
  color: #F8FAFC;
  border-right-color: #222B34;
}

.mz-side-cart-root.is-open .mz-side-cart-panel {
  transform: translate3d(0, 0, 0);
}

.mz-side-cart-header {
  padding: 1rem 1.15rem;
  border-bottom: 1px solid var(--mz-light-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--mz-light-surface);
}

body.dark-mode .mz-side-cart-header {
  background: #11161B;
  border-bottom-color: #222B34;
}

.mz-side-cart-title-wrap,
.mz-side-cart-header-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mz-side-cart-icon-box,
.mz-side-cart-bag-badge {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: rgba(62, 90, 54, 0.12);
  color: #3E5A36;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

body.dark-mode .mz-side-cart-icon-box,
body.dark-mode .mz-side-cart-bag-badge {
  background: rgba(167, 243, 208, 0.14);
  color: #A7F3D0;
}

.mz-side-cart-title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1.3;
}

.mz-side-cart-subtitle {
  margin: 2px 0 0;
  font-size: 0.74rem;
  color: #64748B;
  font-weight: 700;
}

body.dark-mode .mz-side-cart-subtitle {
  color: #94A3B8;
}

.mz-side-cart-fullpage-link {
  font-size: 0.74rem;
  font-weight: 800;
  padding: 0.44rem 0.8rem;
  border-radius: 11px;
  border: 1px solid rgba(62, 90, 54, 0.28);
  background: rgba(62, 90, 54, 0.1);
  color: #3E5A36;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

body.dark-mode .mz-side-cart-fullpage-link {
  background: rgba(75, 111, 68, 0.25) !important;
  border-color: rgba(167, 243, 208, 0.3) !important;
  color: #A7F3D0 !important;
}

.mz-side-cart-fullpage-link:hover {
  background: #3E5A36 !important;
  border-color: #3E5A36 !important;
  color: #FFFFFF !important;
}

.mz-side-cart-close {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid var(--mz-light-border);
  background: transparent;
  color: inherit;
  font-size: 1rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.18s ease;
}

body.dark-mode .mz-side-cart-close {
  border-color: rgba(255, 255, 255, 0.14);
  color: #F8FAFC;
}

.mz-side-cart-close:hover {
  background: rgba(225, 29, 72, 0.12);
  color: #E11D48;
  border-color: rgba(225, 29, 72, 0.35);
}

.mz-side-cart-inner-wrap,
.mz-side-cart-body-container,
.mz-side-cart-dynamic-wrap {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.mz-side-cart-shipping-bar {
  padding: 0.85rem 1.15rem;
  background: #F8FAFC;
  border-bottom: 1px solid var(--mz-light-border);
  flex-shrink: 0;
}

body.dark-mode .mz-side-cart-shipping-bar {
  background: #14191F;
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.mz-side-cart-shipping-text {
  font-size: 0.76rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #334155;
  font-weight: 700;
}

body.dark-mode .mz-side-cart-shipping-text {
  color: #E2E8F0;
}

.mz-side-cart-progress-track {
  width: 100%;
  height: 7px;
  border-radius: 99px;
  background: #E2E8F0;
  overflow: hidden;
}

body.dark-mode .mz-side-cart-progress-track {
  background: #232C36;
}

.mz-side-cart-progress-fill {
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, #3E5A36 0%, #4B6F44 100%);
  transition: width 0.35s ease;
}

.mz-side-cart-quick-cats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  padding: 0.8rem 1.15rem;
  border-bottom: 1px solid var(--mz-light-border);
  background: #FFFFFF;
  flex-shrink: 0;
}

body.dark-mode .mz-side-cart-quick-cats {
  background: #0F1318;
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.mz-side-cart-cat-chip {
  font-size: 0.74rem;
  font-weight: 800;
  padding: 0.5rem 0.75rem;
  border-radius: 12px;
  border: 1px solid var(--mz-light-border);
  background: #F8FAFC;
  color: #1E293B;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: all 0.2s ease;
  white-space: nowrap;
}

body.dark-mode .mz-side-cart-cat-chip {
  background: #171D24;
  border-color: rgba(255, 255, 255, 0.1);
  color: #F1F5F9;
}

.mz-side-cart-cat-chip:hover {
  border-color: #4B6F44;
  background: rgba(75, 111, 68, 0.12);
  color: #3E5A36;
}

body.dark-mode .mz-side-cart-cat-chip:hover {
  border-color: #A7F3D0;
  background: rgba(75, 111, 68, 0.25);
  color: #FFFFFF;
}

.mz-side-cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.15rem;
  display: flex;
  flex-direction: column;
}

.mz-side-cart-items,
.mz-side-cart-items-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.mz-side-cart-item {
  display: flex;
  gap: 0.85rem;
  padding: 0.85rem;
  border-radius: 16px;
  border: 1px solid var(--mz-light-border);
  background: #FFFFFF;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
}

body.dark-mode .mz-side-cart-item {
  background: #161C23;
  border-color: rgba(255, 255, 255, 0.09);
}

.mz-side-cart-thumb,
.mz-side-cart-item-thumb {
  width: 72px;
  height: 86px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  background: #F1F5F9;
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.mz-side-cart-thumb img,
.mz-side-cart-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mz-side-cart-info,
.mz-side-cart-item-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mz-side-cart-item-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
}

.mz-side-cart-item-title {
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.45;
  color: inherit;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mz-side-cart-remove,
.mz-side-cart-remove-btn {
  width: 26px;
  height: 26px;
  background: rgba(225, 29, 72, 0.08);
  border: 1px solid rgba(225, 29, 72, 0.2);
  color: #E11D48;
  cursor: pointer;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.18s ease;
}

.mz-side-cart-remove:hover,
.mz-side-cart-remove-btn:hover {
  background: #E11D48;
  color: #FFFFFF;
}

.mz-side-cart-meta,
.mz-side-cart-item-meta {
  font-size: 0.72rem;
  color: #64748B;
  margin-top: 4px;
}

body.dark-mode .mz-side-cart-meta,
body.dark-mode .mz-side-cart-item-meta {
  color: #94A3B8;
}

.mz-side-cart-item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.65rem;
  gap: 0.5rem;
}

.mz-side-cart-qty,
.mz-side-cart-qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--mz-light-border);
  border-radius: 10px;
  overflow: hidden;
  background: #F8FAFC;
}

body.dark-mode .mz-side-cart-qty,
body.dark-mode .mz-side-cart-qty-stepper {
  background: #101419;
  border-color: rgba(255, 255, 255, 0.12);
}

.mz-qty-btn {
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  color: inherit;
  font-weight: 900;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mz-qty-btn:hover {
  background: rgba(62, 90, 54, 0.14);
  color: #3E5A36;
}

.mz-qty-val {
  min-width: 26px;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 900;
}

.mz-side-cart-price,
.mz-side-cart-item-price {
  font-size: 0.84rem;
  font-weight: 900;
  color: #3E5A36;
}

body.dark-mode .mz-side-cart-price,
body.dark-mode .mz-side-cart-item-price {
  color: #A7F3D0;
}

.mz-side-cart-footer {
  padding: 1rem 1.15rem 1.25rem;
  border-top: 1px solid var(--mz-light-border);
  background: var(--mz-light-surface);
  flex-shrink: 0;
}

body.dark-mode .mz-side-cart-footer {
  background: #11161C;
  border-top-color: rgba(255, 255, 255, 0.09);
}

.mz-side-cart-club-bonus {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.8rem;
  border-radius: 12px;
  background: rgba(62, 90, 54, 0.1);
  border: 1px solid rgba(62, 90, 54, 0.2);
  color: #3E5A36;
  font-size: 0.74rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
}

body.dark-mode .mz-side-cart-club-bonus {
  background: rgba(75, 111, 68, 0.22);
  border-color: rgba(167, 243, 208, 0.25);
  color: #A7F3D0;
}

.mz-side-cart-summary-row,
.mz-side-cart-subtotal-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.9rem;
  font-size: 0.88rem;
  font-weight: 800;
}

.mz-side-cart-total-amount,
.mz-side-cart-subtotal-val {
  font-size: 1.05rem;
  font-weight: 900;
  color: #3E5A36;
}

body.dark-mode .mz-side-cart-total-amount,
body.dark-mode .mz-side-cart-subtotal-val {
  color: #A7F3D0;
}

.mz-side-cart-cta-grid,
.mz-side-cart-actions {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 0.6rem;
}

.mz-side-cart-btn-checkout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.82rem 1rem;
  border-radius: 14px;
  background: linear-gradient(135deg, #3E5A36 0%, #4B6F44 100%) !important;
  color: #FFFFFF !important;
  font-size: 0.82rem;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(62, 90, 54, 0.28);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.mz-side-cart-btn-checkout:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(62, 90, 54, 0.38);
}

.mz-side-cart-btn-viewcart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.82rem 0.95rem;
  border-radius: 14px;
  border: 1px solid #BE123C !important;
  background: linear-gradient(135deg, #E11D48 0%, #BE123C 100%) !important;
  color: #FFFFFF !important;
  font-size: 0.8rem;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 5px 15px rgba(225, 29, 72, 0.25);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.mz-side-cart-btn-viewcart:hover {
  background: linear-gradient(135deg, #BE123C 0%, #9F1239 100%) !important;
  transform: translateY(-1px);
}

/* Luxury Empty State inside Side Cart Drawer */
.mz-side-cart-empty,
.mz-side-cart-empty-state {
  flex: 1;
  padding: 1.85rem 1.15rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: rgba(248, 250, 252, 0.65);
  border: 1px dashed rgba(148, 163, 184, 0.35);
  border-radius: 20px;
  margin: auto 0;
}

body.dark-mode .mz-side-cart-empty,
body.dark-mode .mz-side-cart-empty-state {
  background: rgba(22, 28, 35, 0.7);
  border-color: rgba(255, 255, 255, 0.12);
}

.mz-side-cart-empty-icon {
  position: relative;
  width: 72px;
  height: 72px;
  border-radius: 22px;
  background: linear-gradient(135deg, #3E5A36 0%, #4B6F44 100%);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
  box-shadow: 0 10px 24px rgba(62, 90, 54, 0.28);
}

.mz-side-cart-empty h4,
.mz-side-cart-empty-title {
  font-size: 1rem;
  font-weight: 900;
  margin: 0 0 0.5rem;
  color: inherit;
}

.mz-side-cart-empty p,
.mz-side-cart-empty-desc {
  font-size: 0.78rem;
  color: #64748B;
  line-height: 1.8;
  margin: 0 0 1.35rem;
}

body.dark-mode .mz-side-cart-empty p,
body.dark-mode .mz-side-cart-empty-desc {
  color: #94A3B8;
}

.mz-side-cart-empty-actions {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

/* ==========================================================================
   23. LUXURY CART PAGE & EMPTY CART SHOWCASE (template-mz-cart.php)
   ========================================================================== */
.mz-checkout-steps-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.75rem;
  border-radius: 20px;
  background: var(--mz-light-surface);
  border: 1px solid var(--mz-light-border);
  margin-bottom: 1.75rem;
  overflow-x: auto;
}

body.dark-mode .mz-checkout-steps-bar {
  background: var(--mz-dark-surface);
  border-color: var(--mz-dark-border);
}

.mz-checkout-step {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  opacity: 0.55;
  flex-shrink: 0;
}

.mz-checkout-step.active {
  opacity: 1;
}

.mz-step-num {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: #E2E8F0;
  color: #334155;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mz-checkout-step.active .mz-step-num {
  background: var(--mz-primary);
  color: #FFFFFF;
  box-shadow: 0 6px 16px rgba(31, 74, 46, 0.25);
}

.mz-checkout-step strong {
  display: block;
  font-size: 0.86rem;
}

.mz-checkout-step small {
  font-size: 0.72rem;
  color: #64748B;
}

.mz-checkout-step-divider {
  flex: 1;
  height: 2px;
  min-width: 30px;
  background: var(--mz-light-border);
}

.mz-cart-free-shipping-banner {
  padding: 1.15rem 1.5rem;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(31, 74, 46, 0.08) 0%, rgba(16, 185, 129, 0.05) 100%);
  border: 1px solid rgba(31, 74, 46, 0.2);
  margin-bottom: 1.5rem;
}

.mz-cart-shipping-info {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.75rem;
}

.mz-cart-shipping-icon {
  font-size: 1.5rem;
}

.mz-cart-shipping-bar-wrap {
  width: 100%;
  height: 8px;
  border-radius: 99px;
  background: rgba(31, 74, 46, 0.12);
  overflow: hidden;
}

.mz-cart-shipping-bar-fill {
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, #3E5A36 0%, #10B981 100%);
}

.mz-wc-cart-surface {
  background: var(--mz-light-surface);
  border: 1px solid var(--mz-light-border);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: var(--mz-shadow);
}

body.dark-mode .mz-wc-cart-surface {
  background: var(--mz-dark-surface);
  border-color: var(--mz-dark-border);
}

.mz-wc-cart-surface-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-bottom: 1.25rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--mz-light-border);
}

.mz-cart-trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

@media (max-width: 768px) {
  .mz-cart-trust-strip {
    grid-template-columns: 1fr;
  }
}

.mz-cart-trust-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.25rem;
  border-radius: 16px;
  background: var(--mz-light-surface);
  border: 1px solid var(--mz-light-border);
}

body.dark-mode .mz-cart-trust-item {
  background: var(--mz-dark-surface);
  border-color: var(--mz-dark-border);
}

.mz-cart-trust-icon {
  font-size: 1.45rem;
}

.mz-cart-trust-item strong {
  display: block;
  font-size: 0.84rem;
}

.mz-cart-trust-item small {
  font-size: 0.72rem;
  color: #64748B;
}

/* Bespoke Empty Cart Card */
.mz-empty-cart-luxury-card {
  position: relative;
  overflow: hidden;
  background: var(--mz-light-surface);
  border: 1px solid var(--mz-light-border);
  border-radius: 28px;
  padding: 3.5rem 2rem;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
}

body.dark-mode .mz-empty-cart-luxury-card {
  background: var(--mz-dark-surface);
  border-color: var(--mz-dark-border);
}

.mz-empty-cart-emblem-wrap {
  position: relative;
  width: 112px;
  height: 112px;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mz-empty-cart-pulse-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 74, 46, 0.18) 0%, transparent 72%);
  animation: mzPulse 2.6s infinite;
}

.mz-empty-cart-emblem {
  position: relative;
  width: 84px;
  height: 84px;
  border-radius: 26px;
  background: linear-gradient(135deg, #3E5A36 0%, #112A1A 100%);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 16px 35px rgba(31, 74, 46, 0.3);
}

.mz-empty-cart-zero-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #E11D48;
  color: #FFFFFF;
  font-size: 0.85rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--mz-light-surface);
}

.mz-empty-cart-kicker,
.mz-empty-wishlist-kicker {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  color: var(--mz-primary);
  background: rgba(31, 74, 46, 0.09);
  padding: 0.3rem 0.9rem;
  border-radius: 99px;
  margin-bottom: 0.65rem;
}

.mz-empty-cart-title,
.mz-empty-wishlist-title {
  font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem);
  font-weight: 900;
  margin: 0 0 0.65rem;
}

.mz-empty-cart-subtitle,
.mz-empty-wishlist-subtitle {
  max-width: 600px;
  margin: 0 auto 1.75rem;
  font-size: 0.88rem;
  color: #64748B;
  line-height: 1.8;
}

.mz-empty-cart-cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2.5rem;
}

.mz-empty-cart-cats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  max-width: 960px;
  margin: 0 auto 2rem;
  text-align: right;
}

@media (max-width: 900px) {
  .mz-empty-cart-cats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .mz-empty-cart-cats-grid {
    grid-template-columns: 1fr;
  }
}

.mz-empty-cat-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  border: 1px solid var(--mz-light-border);
  background: #F8FAFC;
  text-decoration: none;
  transition: all 0.2s ease;
}

body.dark-mode .mz-empty-cat-card {
  background: #151C23;
  border-color: #242E38;
}

.mz-empty-cat-card:hover {
  border-color: var(--mz-primary);
  transform: translateY(-2px);
  box-shadow: var(--mz-shadow-sm);
}

.mz-empty-cat-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  box-shadow: var(--mz-shadow-sm);
}

body.dark-mode .mz-empty-cat-icon {
  background: #1E2730;
}

.mz-empty-cat-card strong {
  display: block;
  font-size: 0.82rem;
}

.mz-empty-cat-card small {
  font-size: 0.7rem;
  color: #64748B;
}

.mz-empty-cat-arrow {
  margin-right: auto;
  font-weight: 900;
  color: var(--mz-primary);
}

.mz-empty-cart-perks {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--mz-light-border);
  font-size: 0.78rem;
  font-weight: 700;
  color: #475569;
}

body.dark-mode .mz-empty-cart-perks {
  border-top-color: #242E38;
  color: #94A3B8;
}

/* ==========================================================================
   24. LUXURY WISHLIST PAGE & EMPTY WISHLIST STATE (template-mz-wishlist.php)
   ========================================================================== */
.mz-wishlist-hero-banner {
  background: var(--mz-light-surface);
  border: 1px solid var(--mz-light-border);
  border-radius: 24px;
  padding: 2rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  box-shadow: var(--mz-shadow-sm);
}

body.dark-mode .mz-wishlist-hero-banner {
  background: var(--mz-dark-surface);
  border-color: var(--mz-dark-border);
}

.mz-wishlist-hero-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.mz-wishlist-hero-icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(225, 29, 72, 0.14) 0%, rgba(225, 29, 72, 0.05) 100%);
  color: #E11D48;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mz-wishlist-kicker {
  font-size: 0.74rem;
  font-weight: 800;
  color: #E11D48;
}

.mz-wishlist-count-pill {
  font-size: 0.72rem;
  font-weight: 900;
  padding: 0.2rem 0.65rem;
  border-radius: 99px;
  background: rgba(31, 74, 46, 0.1);
  color: var(--mz-primary);
}

.mz-wishlist-page-title {
  font-size: 1.55rem;
  font-weight: 900;
  margin: 0.25rem 0;
}

.mz-wishlist-page-subtitle {
  font-size: 0.82rem;
  color: #64748B;
  margin: 0;
}

.mz-wishlist-hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.mz-btn-danger-outline {
  color: #E11D48 !important;
  border-color: rgba(225, 29, 72, 0.3) !important;
}

.mz-btn-danger-outline:hover {
  background: rgba(225, 29, 72, 0.08) !important;
}

.mz-wishlist-toolbar-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0.9rem 1.25rem;
  border-radius: 16px;
  background: var(--mz-light-surface);
  border: 1px solid var(--mz-light-border);
  margin-bottom: 1.5rem;
}

body.dark-mode .mz-wishlist-toolbar-bar {
  background: var(--mz-dark-surface);
  border-color: var(--mz-dark-border);
}

.mz-wishlist-item-card-shell {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mz-wishlist-item-actions-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mz-wishlist-quick-cart-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.6rem 0.85rem;
  border-radius: 12px;
  border: 1px solid rgba(31, 74, 46, 0.25);
  background: rgba(31, 74, 46, 0.08);
  color: var(--mz-primary);
  font-size: 0.76rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mz-wishlist-quick-cart-btn:hover {
  background: var(--mz-primary);
  color: #FFFFFF;
}

.mz-wishlist-remove-card-btn {
  padding: 0.6rem 0.85rem;
  border-radius: 12px;
  border: 1px solid rgba(225, 29, 72, 0.25);
  background: rgba(225, 29, 72, 0.06);
  color: #E11D48;
  font-size: 0.75rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mz-wishlist-remove-card-btn:hover {
  background: #E11D48;
  color: #FFFFFF;
}

/* Bespoke Empty Wishlist Card ("علاقه‌مندی وجود ندارد") */
.mz-empty-wishlist-luxury-card {
  position: relative;
  overflow: hidden;
  background: var(--mz-light-surface);
  border: 1px solid var(--mz-light-border);
  border-radius: 28px;
  padding: 3.5rem 2rem;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
}

body.dark-mode .mz-empty-wishlist-luxury-card {
  background: var(--mz-dark-surface);
  border-color: var(--mz-dark-border);
}

.mz-empty-wishlist-emblem-wrap {
  position: relative;
  width: 116px;
  height: 116px;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mz-empty-wishlist-ring-outer {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(225, 29, 72, 0.16) 0%, transparent 72%);
  animation: mzPulse 2.8s infinite;
}

.mz-empty-wishlist-emblem {
  position: relative;
  width: 84px;
  height: 84px;
  border-radius: 26px;
  background: linear-gradient(135deg, #E11D48 0%, #9F1239 100%);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 16px 35px rgba(225, 29, 72, 0.3);
}

.mz-empty-wishlist-plus-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--mz-primary);
  color: #FFFFFF;
  font-size: 1rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--mz-light-surface);
}

.mz-empty-wishlist-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto 2rem;
  text-align: right;
}

@media (max-width: 820px) {
  .mz-empty-wishlist-steps-grid {
    grid-template-columns: 1fr;
  }
}

.mz-empty-wishlist-step-card {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1.15rem;
  border-radius: 18px;
  border: 1px solid var(--mz-light-border);
  background: #F8FAFC;
}

body.dark-mode .mz-empty-wishlist-step-card {
  background: #151C23;
  border-color: #242E38;
}

.mz-wish-step-badge {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--mz-primary);
  color: #FFFFFF;
  font-weight: 900;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mz-empty-wishlist-step-card strong {
  display: block;
  font-size: 0.84rem;
  margin-bottom: 0.25rem;
}

.mz-empty-wishlist-step-card p {
  font-size: 0.74rem;
  color: #64748B;
  margin: 0;
  line-height: 1.6;
}

.mz-empty-wishlist-cats {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.mz-wish-cat-pill {
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.5rem 1rem;
  border-radius: 99px;
  border: 1px solid var(--mz-light-border);
  background: #F8FAFC;
  text-decoration: none;
}

body.dark-mode .mz-wish-cat-pill {
  background: #151C23;
  border-color: #242E38;
}

.mz-wish-cat-pill:hover {
  border-color: var(--mz-primary);
  color: var(--mz-primary);
}

/* ==========================================================================
   Step-by-Step 5-Stage Parcel Tracking Page (template-mz-tracking.php)
   ========================================================================== */
.mz-tracking-hero-card {
  background: var(--mz-light-surface);
  border: 1px solid var(--mz-light-border);
  border-radius: 26px;
  padding: 2rem;
  margin-bottom: 1.75rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.04);
}

body.dark-mode .mz-tracking-hero-card,
body.dark-mode .mz-tracking-result-card {
  background: var(--mz-dark-surface);
  border-color: var(--mz-dark-border);
}

.mz-tracking-hero-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.mz-tracking-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
  font-size: 0.74rem;
  font-weight: 800;
  padding: 0.35rem 0.9rem;
  border-radius: 99px;
  margin-bottom: 0.65rem;
}

.mz-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.25);
}

.mz-tracking-main-title {
  font-size: 1.65rem;
  font-weight: 900;
  margin: 0 0 0.4rem;
}

.mz-tracking-main-sub {
  font-size: 0.84rem;
  color: var(--mz-light-muted);
  margin: 0;
  line-height: 1.7;
}

.mz-tracking-admin-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(31, 74, 46, 0.1);
  color: var(--mz-primary);
  border: 1px solid rgba(31, 74, 46, 0.25);
  padding: 0.6rem 1.1rem;
  border-radius: 14px;
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
  transition: all 0.2s ease;
}

.mz-tracking-admin-btn:hover {
  background: var(--mz-primary);
  color: #FFFFFF;
}

.mz-tracking-inputs-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr auto;
  gap: 0.85rem;
  align-items: end;
}

@media (max-width: 768px) {
  .mz-tracking-inputs-grid {
    grid-template-columns: 1fr;
  }
}

.mz-tracking-input-wrap label {
  display: block;
  font-size: 0.76rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
}

.mz-tracking-input-wrap input {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--mz-light-border);
  background: #F8FAFC;
  font-family: monospace;
  font-size: 0.88rem;
  font-weight: 700;
  color: inherit;
}

body.dark-mode .mz-tracking-input-wrap input {
  background: #14191F;
  border-color: #26303A;
}

.mz-tracking-submit-btn {
  height: 48px;
  padding: 0 1.5rem;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 900;
  white-space: nowrap;
}

.mz-tracking-quick-picks {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--mz-light-border);
}

.mz-quick-label {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--mz-light-muted);
}

.mz-quick-order-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border-radius: 10px;
  border: 1px solid var(--mz-light-border);
  background: #F8FAFC;
  font-size: 0.74rem;
  font-weight: 800;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

body.dark-mode .mz-quick-order-chip {
  background: #14191F;
  border-color: #26303A;
}

.mz-quick-order-chip.active,
.mz-quick-order-chip:hover {
  border-color: #10B981;
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
}

.mz-tracking-error-box {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #DC2626;
  padding: 1rem 1.25rem;
  border-radius: 16px;
  margin-bottom: 1.5rem;
  font-size: 0.84rem;
}

.mz-tracking-result-card {
  background: var(--mz-light-surface);
  border: 1px solid var(--mz-light-border);
  border-radius: 26px;
  padding: 2rem;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.05);
}

.mz-tracking-status-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--mz-light-border);
  margin-bottom: 1.75rem;
}

.mz-tracking-order-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
}

.mz-order-num-badge {
  background: #3E5A36;
  color: #FFFFFF;
  font-family: monospace;
  font-weight: 900;
  font-size: 0.82rem;
  padding: 0.3rem 0.8rem;
  border-radius: 10px;
}

.mz-carrier-pill {
  background: rgba(245, 158, 11, 0.14);
  color: #D97706;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.3rem 0.75rem;
  border-radius: 10px;
}

.mz-stage-active-pill {
  background: rgba(16, 185, 129, 0.14);
  color: #059669;
  font-size: 0.76rem;
  font-weight: 900;
  padding: 0.3rem 0.85rem;
  border-radius: 10px;
}

.mz-tracking-recipient-title {
  font-size: 1.2rem;
  font-weight: 900;
  margin: 0;
}

.mz-tracking-recipient-title small {
  font-size: 0.85rem;
  color: var(--mz-light-muted);
  font-weight: 700;
  margin-right: 0.4rem;
}

.mz-tracking-eta-box {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 16px;
  padding: 0.85rem 1.25rem;
  text-align: left;
}

.mz-eta-label {
  display: block;
  font-size: 0.72rem;
  color: var(--mz-light-muted);
}

.mz-eta-value {
  display: block;
  font-size: 0.95rem;
  font-weight: 900;
  color: #059669;
  margin: 0.15rem 0;
}

.mz-eta-updated {
  font-size: 0.68rem;
  color: var(--mz-light-muted);
}

/* 5-Stage Visual Stepper */
.mz-stepper-section {
  margin-bottom: 2rem;
}

.mz-stepper-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.mz-stepper-title {
  font-size: 0.86rem;
  font-weight: 900;
}

.mz-stepper-pct {
  font-size: 0.78rem;
  font-weight: 900;
  color: #10B981;
  background: rgba(16, 185, 129, 0.12);
  padding: 0.25rem 0.75rem;
  border-radius: 99px;
}

.mz-stepper-track-wrap {
  position: relative;
}

.mz-stepper-line-bg {
  height: 6px;
  background: #E2E8F0;
  border-radius: 99px;
  margin-bottom: 1.25rem;
  overflow: hidden;
}

body.dark-mode .mz-stepper-line-bg {
  background: #242E38;
}

.mz-stepper-line-fill {
  height: 100%;
  background: linear-gradient(90deg, #10B981 0%, #3E5A36 100%);
  border-radius: 99px;
  transition: width 0.4s ease;
}

.mz-stepper-nodes-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.85rem;
}

@media (max-width: 860px) {
  .mz-stepper-nodes-grid {
    grid-template-columns: 1fr;
  }
}

.mz-stepper-node {
  padding: 1rem;
  border-radius: 18px;
  border: 1px solid var(--mz-light-border);
  background: #F8FAFC;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  transition: all 0.25s ease;
}

body.dark-mode .mz-stepper-node {
  background: #14191F;
  border-color: #242E38;
}

.mz-stepper-node.completed {
  border-color: rgba(16, 185, 129, 0.4);
  background: rgba(16, 185, 129, 0.05);
}

.mz-stepper-node.current {
  border: 2px solid #10B981;
  background: rgba(16, 185, 129, 0.1);
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.15);
  transform: translateY(-3px);
}

.mz-stepper-circle {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.9rem;
  background: #E2E8F0;
  color: #64748B;
}

.mz-stepper-node.completed .mz-stepper-circle {
  background: #10B981;
  color: #FFFFFF;
}

.mz-stepper-node.current .mz-stepper-circle {
  background: #3E5A36;
  color: #FFFFFF;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.25);
}

.mz-node-step-tag {
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--mz-light-muted);
  display: block;
}

.mz-node-title {
  display: block;
  font-size: 0.82rem;
  font-weight: 900;
  margin: 0.15rem 0 0.3rem;
}

.mz-node-desc {
  font-size: 0.71rem;
  color: var(--mz-light-muted);
  line-height: 1.55;
  margin: 0 0 0.5rem;
}

.mz-node-status-chip {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  background: rgba(100, 116, 139, 0.12);
  color: #64748B;
}

.mz-stepper-node.completed .mz-node-status-chip {
  background: rgba(16, 185, 129, 0.15);
  color: #059669;
}

.mz-stepper-node.current .mz-node-status-chip {
  background: #3E5A36;
  color: #FFFFFF;
}

.mz-tracking-admin-report-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .mz-tracking-admin-report-grid {
    grid-template-columns: 1fr;
  }
}

.mz-admin-note-box {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1.15rem;
  border-radius: 18px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.28);
}

.mz-admin-note-icon {
  font-size: 1.5rem;
}

.mz-admin-note-label {
  display: block;
  font-size: 0.74rem;
  font-weight: 900;
  color: #059669;
  margin-bottom: 0.25rem;
}

.mz-admin-note-text {
  font-size: 0.82rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.65;
}

.mz-current-location-box {
  padding: 1.15rem;
  border-radius: 18px;
  border: 1px solid var(--mz-light-border);
  background: #F8FAFC;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

body.dark-mode .mz-current-location-box {
  background: #14191F;
  border-color: #242E38;
}

.mz-loc-label {
  font-size: 0.72rem;
  color: var(--mz-light-muted);
  font-weight: 800;
}

.mz-loc-value {
  font-size: 0.88rem;
  font-weight: 900;
  margin: 0.25rem 0;
}

.mz-loc-origin {
  font-size: 0.7rem;
  color: var(--mz-light-muted);
}

.mz-barcode-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.35rem;
  border-radius: 18px;
  background: #111827;
  color: #FFFFFF;
  margin-bottom: 1rem;
}

.mz-barcode-label {
  display: block;
  font-size: 0.72rem;
  color: #9CA3AF;
  margin-bottom: 0.25rem;
}

.mz-barcode-code {
  font-family: monospace;
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 1.5px;
  color: #34D399;
}

.mz-copy-barcode-btn {
  background: #10B981;
  color: #FFFFFF;
  border: none;
  padding: 0.6rem 1.15rem;
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 900;
  cursor: pointer;
}

.mz-tracking-order-meta-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 0.85rem;
}

@media (max-width: 768px) {
  .mz-tracking-order-meta-grid {
    grid-template-columns: 1fr;
  }
}

.mz-meta-box {
  padding: 0.95rem 1.1rem;
  border-radius: 14px;
  border: 1px solid var(--mz-light-border);
  background: #F8FAFC;
}

body.dark-mode .mz-meta-box {
  background: #14191F;
  border-color: #242E38;
}

.mz-meta-box span {
  display: block;
  font-size: 0.72rem;
  color: var(--mz-light-muted);
  margin-bottom: 0.25rem;
}

.mz-meta-box strong {
  font-size: 0.82rem;
  font-weight: 800;
}

/* ==========================================================================
   BRAND GREEN PALETTE (#3E5A36 & #4B6F44), DARK MODE CONTRAST,
   PURE WHITE HEADER/FOOTER LOGO FILTER, FAQ & INLINE BUTTON ALIGNMENT
   ========================================================================== */

/* 1. Adaptive Header/Footer Logo Filter (.mz-header-logo-img & .mz-theme-adaptive-logo):
      Pure White on Homepage Hero, Mobile Offcanvas Header, Footer & Dark Mode; Crisp Dark on White Subpage Header in Light Mode */
.mz-header-logo-img,
.mz-theme-adaptive-logo,
.mz-custom-logo,
.mz-brand-logo-link,
.mz-header-logo-img:hover,
.mz-header-logo-img:focus,
.mz-header-logo-img:active {
  display: inline-block;
  width: auto;
  max-height: 50px !important;
  object-fit: contain;
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  transition: filter 0.25s ease, transform 0.25s ease;
}

@media (min-width: 640px) {
  .mz-header-logo-img,
  .mz-theme-adaptive-logo,
  .mz-custom-logo {
    max-height: 70px !important;
  }
}

.mz-header-is-home-hero .mz-header-logo-img,
.mz-header-is-home-hero .mz-theme-adaptive-logo,
.mz-offcanvas-header .mz-header-logo-img,
.mz-offcanvas-header .mz-theme-adaptive-logo,
html.dark .mz-header-logo-img,
body.dark-mode .mz-header-logo-img,
body.dark .mz-header-logo-img,
body.mz-dark-mode .mz-header-logo-img,
[data-theme="dark"] .mz-header-logo-img,
.dark .mz-header-logo-img,
.mz-logo-dark-active .mz-header-logo-img,
.mz-footer .mz-header-logo-img,
footer .mz-header-logo-img,
html.dark .mz-theme-adaptive-logo,
body.dark-mode .mz-theme-adaptive-logo,
body.dark .mz-theme-adaptive-logo,
body.mz-dark-mode .mz-theme-adaptive-logo,
[data-theme="dark"] .mz-theme-adaptive-logo,
.mz-footer .mz-theme-adaptive-logo,
footer .mz-theme-adaptive-logo {
  filter: none !important;
  -webkit-filter: none !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

body:not(.dark-mode):not(.dark):not(.mz-dark-mode) .mz-header-is-subpage .mz-header-logo-img,
body:not(.dark-mode):not(.dark):not(.mz-dark-mode) .mz-header-is-subpage .mz-theme-adaptive-logo {
  filter: none !important;
  -webkit-filter: none !important;
}

/* 2. Global Button Icon & Text Inline Side-by-Side Alignment */
button,
.mz-btn,
.mz-btn-primary,
.mz-btn-outline,
.mz-btn-action,
.mz-btn-cart,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  vertical-align: middle;
  line-height: 1.35;
}

button svg,
.mz-btn svg,
.mz-btn-primary svg,
.mz-btn-action svg,
.mz-btn-cart svg,
a svg {
  flex-shrink: 0;
  vertical-align: middle;
}

/* 3. Dark Mode Text & Green Contrast Conversion (#3E5A36 / #4B6F44 -> White & Luminous Mint) */
body.dark-mode h1, body.dark-mode h2, body.dark-mode h3,
body.dark-mode h4, body.dark-mode h5, body.dark-mode h6,
body.dark-mode strong, body.dark-mode b, body.dark-mode label {
  color: #FFFFFF !important;
}

body.dark-mode .mz-btn-primary,
body.dark-mode .mz-btn-cart {
  background-color: #4B6F44 !important;
  border-color: rgba(167, 243, 208, 0.35) !important;
  color: #FFFFFF !important;
}

body.dark-mode .mz-btn-primary:hover,
body.dark-mode .mz-btn-cart:hover {
  background-color: #5C8754 !important;
  color: #FFFFFF !important;
}

body.dark-mode .mz-price,
body.dark-mode .mz-section-tag {
  color: #A7F3D0 !important;
}

/* 4. FAQ Section (پرسش‌های متداول خریداران) Light & Dark Mode */
.mz-faq-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  background: rgba(62, 90, 54, 0.1);
  color: #3E5A36;
  border: 1px solid rgba(62, 90, 54, 0.25);
}

.mz-faq-title {
  color: #111417;
}

.mz-faq-subtitle {
  color: #64748B;
}

.mz-faq-item {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 1.15rem 1.25rem;
  cursor: pointer;
  transition: all 0.22s ease;
}

.mz-faq-item[open] {
  border-color: #3E5A36;
  box-shadow: 0 6px 20px rgba(62, 90, 54, 0.08);
}

.mz-faq-summary {
  font-size: 0.92rem;
  font-weight: 800;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  list-style: none;
  color: #111417;
}

.mz-faq-summary::-webkit-details-marker {
  display: none;
}

.mz-faq-q-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.mz-faq-num {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background: rgba(62, 90, 54, 0.12);
  color: #3E5A36;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 900;
  flex-shrink: 0;
}

.mz-faq-item[open] .mz-faq-num {
  background: #4B6F44;
  color: #FFFFFF;
}

.mz-faq-arrow {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #F1F5F9;
  color: #475569;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  flex-shrink: 0;
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.mz-faq-item[open] .mz-faq-arrow {
  transform: rotate(180deg);
  background: #4B6F44;
  color: #FFFFFF;
}

.mz-faq-answer {
  font-size: 0.86rem;
  color: #334155;
  line-height: 1.9;
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid #F1F5F9;
}

body.dark-mode .mz-faq-pill,
body.dark .mz-faq-pill {
  background: rgba(75, 111, 68, 0.3);
  border-color: rgba(167, 243, 208, 0.4);
  color: #FFFFFF !important;
}

body.dark-mode .mz-faq-title,
body.dark .mz-faq-title {
  color: #FFFFFF !important;
}

body.dark-mode .mz-faq-subtitle,
body.dark .mz-faq-subtitle {
  color: #E2E8F0 !important;
}

body.dark-mode .mz-faq-item,
body.dark .mz-faq-item {
  background: #14191E !important;
  border-color: #26313A !important;
}

body.dark-mode .mz-faq-item[open],
body.dark .mz-faq-item[open] {
  background: #17211A !important;
  border-color: #4B6F44 !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

body.dark-mode .mz-faq-summary,
body.dark-mode .mz-faq-question,
body.dark .mz-faq-summary,
body.dark .mz-faq-question {
  color: #FFFFFF !important;
}

body.dark-mode .mz-faq-num,
body.dark .mz-faq-num {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF !important;
}

body.dark-mode .mz-faq-item[open] .mz-faq-num,
body.dark .mz-faq-item[open] .mz-faq-num {
  background: #4B6F44 !important;
  color: #FFFFFF !important;
}

body.dark-mode .mz-faq-arrow,
body.dark .mz-faq-arrow {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF !important;
}

body.dark-mode .mz-faq-item[open] .mz-faq-arrow,
body.dark .mz-faq-item[open] .mz-faq-arrow {
  background: #4B6F44 !important;
  color: #FFFFFF !important;
}

body.dark-mode .mz-faq-answer,
body.dark .mz-faq-answer {
  color: #F1F5F9 !important;
  border-top-color: rgba(255, 255, 255, 0.12) !important;
}

/* ==========================================================================
   5. HIDE SMALL LIGHT-GREEN SECTION PILL SPANS ACROSS ALL PAGES
   ========================================================================== */
.mz-section-tag,
.mz-faq-pill {
  display: none !important;
}

/* ==========================================================================
   6. SLIDING SIDE CART — RED VIEW CART BUTTON (.mz-side-cart-btn-viewcart)
   ========================================================================== */
.mz-side-cart-btn-viewcart,
body.dark-mode .mz-side-cart-btn-viewcart,
body.dark .mz-side-cart-btn-viewcart {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.45rem !important;
  width: 100%;
  padding: 0.78rem 1rem !important;
  border-radius: 14px !important;
  background: linear-gradient(135deg, #E11D48 0%, #BE123C 100%) !important;
  background-color: #E11D48 !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  font-size: 0.8rem !important;
  font-weight: 900 !important;
  text-decoration: none !important;
  cursor: pointer !important;
  box-shadow: 0 6px 18px -2px rgba(225, 29, 72, 0.35) !important;
  transition: all 0.22s ease !important;
}

.mz-side-cart-btn-viewcart:hover,
body.dark-mode .mz-side-cart-btn-viewcart:hover,
body.dark .mz-side-cart-btn-viewcart:hover {
  background: linear-gradient(135deg, #BE123C 0%, #9F1239 100%) !important;
  background-color: #BE123C !important;
  color: #FFFFFF !important;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px -3px rgba(225, 29, 72, 0.48) !important;
}

/* ==========================================================================
   7. THEME-AWARE FLOATING SCROLL-TO-TOP BUTTON (#mz-back-to-top)
   ========================================================================== */
#mz-back-to-top,
.mz-scroll-top-btn {
  position: fixed;
  bottom: 1.75rem;
  left: 1.5rem;
  z-index: 980;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background-color: #3E5A36;
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 25px -4px rgba(62, 90, 54, 0.42);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s ease, background-color 0.2s ease;
}

#mz-back-to-top.is-visible,
.mz-scroll-top-btn.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

#mz-back-to-top:hover,
.mz-scroll-top-btn:hover {
  background-color: #4B6F44 !important;
  transform: translateY(-2px);
}

body.dark-mode #mz-back-to-top,
body.dark #mz-back-to-top,
body.dark-mode .mz-scroll-top-btn {
  background-color: #4B6F44 !important;
  border-color: rgba(167, 243, 208, 0.38) !important;
  color: #FFFFFF !important;
  box-shadow: 0 10px 26px -4px rgba(0, 0, 0, 0.65);
}

body.dark-mode #mz-back-to-top:hover,
body.dark #mz-back-to-top:hover {
  background-color: #5C8754 !important;
}

@media (max-width: 1023.98px) {
  #mz-back-to-top,
  .mz-scroll-top-btn {
    bottom: 5.1rem;
    left: 1rem;
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }
}

/* ==========================================================================
   8. FOOTER MOBILE LAYOUT (2-COL LINKS SIDE-BY-SIDE + ORDERED END LOGO & GUARANTEES)
   ========================================================================== */
.mz-side-cart-fullpage-link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.35rem !important;
  padding: 0.44rem 0.82rem !important;
  border-radius: 11px !important;
  background: rgba(62, 90, 54, 0.12) !important;
  color: #3E5A36 !important;
  border: 1px solid rgba(62, 90, 54, 0.28) !important;
  font-size: 0.74rem !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  transition: all 0.2s ease !important;
}

.mz-side-cart-fullpage-link:hover {
  background: #3E5A36 !important;
  color: #FFFFFF !important;
}

body.dark-mode .mz-side-cart-fullpage-link,
body.dark .mz-side-cart-fullpage-link {
  background: rgba(75, 111, 68, 0.32) !important;
  color: #FFFFFF !important;
  border-color: rgba(167, 243, 208, 0.35) !important;
}

body.dark-mode .mz-side-cart-fullpage-link:hover,
body.dark .mz-side-cart-fullpage-link:hover {
  background: #4B6F44 !important;
}

.mz-footer-end-logo-img {
  height: 96px !important;
  width: auto !important;
  object-fit: contain !important;
  filter: none !important;
  -webkit-filter: none !important;
}

.mz-social-icon-btn:hover {
  transform: translateY(-2px);
  background: #4B6F44 !important;
  border-color: #A7F3D0 !important;
  color: #FFFFFF !important;
}

@media (max-width: 767.98px) {
  .mz-footer {
    padding: 1.5rem 0 4.75rem !important;
  }

  .mz-footer-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.85rem !important;
  }

  .mz-footer-col {
    width: 100% !important;
    padding-bottom: 0;
    border-bottom: none;
  }

  .mz-footer-col-brand .mz-footer-logo-anchor {
    display: flex !important;
    justify-content: center !important;
    margin-bottom: 0.55rem !important;
  }

  .mz-footer-col-brand .mz-footer-socials {
    justify-content: center !important;
  }

  /* Keep Quick Links & Customer Service Side-by-Side (2 Columns) on Mobile */
  .mz-footer-links-cols {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.6rem !important;
  }

  .mz-footer-links-group {
    padding: 0.8rem 0.7rem !important;
    border-radius: 14px !important;
  }

  .mz-footer-trust-box {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.5rem !important;
    padding: 0.85rem !important;
  }

  .mz-footer-gateways-row {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0.45rem !important;
  }

  .mz-footer-seals-row {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.45rem !important;
  }

  .mz-footer-end-showcase {
    margin-top: 0.9rem !important;
    padding-top: 0.85rem !important;
    gap: 0.6rem !important;
  }

  .mz-footer-guarantees-grid {
    grid-template-columns: 1fr !important;
    gap: 0.45rem !important;
  }
}

/* ==========================================================================
   9. MOBILE BUTTON FONT SIZE & MOBILE TYPOGRAPHY OPTIMIZATION (<= 640px)
   ========================================================================== */
@media (max-width: 640px) {
  body {
    font-size: 13.5px;
    line-height: 1.68;
  }

  h1, .mz-hero-title {
    font-size: 1.35rem !important;
    line-height: 1.38 !important;
  }

  h2, .mz-section-title, .mz-faq-title {
    font-size: 1.18rem !important;
    line-height: 1.4 !important;
  }

  h3, .mz-product-title, .mz-blog-title {
    font-size: 0.95rem !important;
    line-height: 1.45 !important;
  }

  p, li, .mz-section-subtitle, .mz-faq-answer {
    font-size: 0.78rem !important;
    line-height: 1.72 !important;
  }

  .mz-btn,
  .mz-btn-primary,
  .mz-btn-outline,
  .mz-btn-action,
  .mz-pill,
  .mz-side-cart-btn-viewcart,
  .mz-side-cart-btn-checkout,
  .button {
    font-size: 0.72rem !important;
    padding: 0.62rem 0.9rem !important;
    gap: 0.35rem !important;
    line-height: 1.3 !important;
    white-space: nowrap;
  }
}

/* ==========================================================================
   10. STRICT DESKTOP MOBILE-MENU HIDING & FULL-CANVAS SPLIT-SCREEN AUTH
   ========================================================================== */
@media (min-width: 1024px) {
  .mz-mobile-header-row,
  .mz-mobile-menu-trigger,
  .mz-mobile-center-logo,
  .mz-btn-cart-mobile,
  #mz-offcanvas-root,
  .mz-offcanvas-root,
  .mz-mobile-bottom-nav {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  .mz-desktop-only {
    display: flex !important;
  }
}

@media (max-width: 1023.98px) {
  .mz-mobile-header-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }
}

/* Full-Canvas Split-Screen Auth Section */
.mz-auth-split-section {
  padding: 2.75rem 0 4.5rem;
}

.mz-auth-split-canvas {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--mz-light-border);
  background: #FFFFFF;
  box-shadow: 0 24px 60px -15px rgba(15, 23, 42, 0.12);
  min-height: 620px;
}

body.dark-mode .mz-auth-split-canvas,
body.dark .mz-auth-split-canvas {
  background: #141920;
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 28px 65px -15px rgba(0, 0, 0, 0.55);
}

.mz-auth-showcase-pane {
  background: #0B0E11;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.mz-auth-pure-image-pane {
  padding: 0 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: #0B0E11;
  min-height: 100%;
}

.mz-auth-cover-wrapper {
  width: 100%;
  height: 100%;
  min-height: 580px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0B0E11;
}

.mz-auth-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.mz-auth-split-canvas:hover .mz-auth-cover-img {
  transform: scale(1.02);
}

.mz-auth-welcome-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: rgba(75, 111, 68, 0.28);
  border: 1px solid rgba(167, 243, 208, 0.3);
  color: #A7F3D0;
  font-size: 0.74rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.mz-auth-showcase-title {
  font-size: 1.55rem;
  font-weight: 900;
  line-height: 1.45;
  color: #FFFFFF !important;
  margin: 0 0 0.75rem;
}

.mz-auth-showcase-desc {
  font-size: 0.84rem;
  line-height: 1.95;
  color: #CBD5E1 !important;
  margin: 0;
}

.mz-auth-benefits-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.mz-auth-benefit-card {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.95rem 1.05rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.mz-auth-benefit-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(75, 111, 68, 0.35);
  border: 1px solid rgba(167, 243, 208, 0.28);
  color: #A7F3D0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mz-auth-benefit-card strong {
  display: block;
  font-size: 0.84rem;
  font-weight: 900;
  color: #FFFFFF;
  margin-bottom: 0.2rem;
}

.mz-auth-benefit-card p {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.7;
  color: #CBD5E1 !important;
}

.mz-auth-showcase-footer {
  padding-top: 1.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mz-auth-form-pane {
  padding: 2.5rem 2.35rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #FFFFFF;
}

body.dark-mode .mz-auth-form-pane,
body.dark .mz-auth-form-pane {
  background: #141920;
  color: #FFFFFF;
}

.mz-auth-tab-switcher {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.45rem;
  padding: 0.4rem;
  border-radius: 16px;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  margin-bottom: 1.85rem;
}

body.dark-mode .mz-auth-tab-switcher,
body.dark .mz-auth-tab-switcher {
  background: #0D1116;
  border-color: rgba(255, 255, 255, 0.1);
}

.mz-auth-tab-btn {
  padding: 0.72rem 0.85rem;
  border-radius: 12px;
  border: none;
  background: transparent;
  color: #64748B;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  white-space: nowrap !important;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

body.dark-mode .mz-auth-tab-btn,
body.dark .mz-auth-tab-btn {
  color: #94A3B8;
}

.mz-auth-tab-btn.active {
  background: #3E5A36 !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 14px rgba(62, 90, 54, 0.28);
}

.mz-auth-form-header {
  margin-bottom: 1.4rem;
}

.mz-auth-form-header h2 {
  font-size: 1.28rem;
  font-weight: 900;
  margin: 0 0 0.3rem;
}

.mz-auth-form-header p {
  font-size: 0.78rem;
  color: #64748B;
  margin: 0;
}

body.dark-mode .mz-auth-form-header p,
body.dark .mz-auth-form-header p {
  color: #94A3B8;
}

.mz-auth-submit-btn {
  width: 100%;
  padding: 0.9rem 1.2rem !important;
  border-radius: 14px !important;
  background: linear-gradient(135deg, #3E5A36 0%, #4B6F44 100%) !important;
  color: #FFFFFF !important;
  font-size: 0.88rem !important;
  font-weight: 900 !important;
  border: none !important;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(62, 90, 54, 0.28);
}

.mz-auth-bottom-switch {
  margin-top: 1.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--mz-light-border);
  text-align: center;
  font-size: 0.8rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

body.dark-mode .mz-auth-bottom-switch,
body.dark .mz-auth-bottom-switch {
  border-top-color: rgba(255, 255, 255, 0.1);
}

.mz-auth-inline-switch-btn {
  background: transparent;
  border: none;
  color: #3E5A36;
  font-weight: 900;
  font-size: 0.8rem;
  cursor: pointer;
  padding: 0;
}

body.dark-mode .mz-auth-inline-switch-btn,
body.dark .mz-auth-inline-switch-btn {
  color: #A7F3D0;
}

@media (max-width: 991.98px) {
  .mz-auth-split-canvas {
    grid-template-columns: 1fr;
  }

  .mz-auth-showcase-pane {
    order: 2;
    padding: 2rem 1.4rem;
  }

  .mz-auth-form-pane {
    order: 1;
    padding: 1.85rem 1.35rem;
  }
}

/* ==========================================================================
   11. MEGA MENU SINGLE-LINE EMPTY SHOWCASE, ANIMATED NAVBAR CLUB BUTTON &
       SMOOTH ANIMATED MOVING BORDER FOR FOOTER TRUST BOX (.mz-footer-trust-box)
   ========================================================================== */
@keyframes mzSpinAnimatedBorder {
  0% {
    transform: translate3d(-50%, -50%, 0) rotate(0deg);
  }
  100% {
    transform: translate3d(-50%, -50%, 0) rotate(360deg);
  }
}

/* Polished Mega Menu Empty State with Single-Line Text */
.mz-mega-empty-wrap {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  min-height: 220px;
}

.mz-mega-empty-showcase {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  text-align: center;
  padding: 1.35rem 1rem;
  border-radius: 16px;
  border: 1.5px dashed rgba(62, 90, 54, 0.25);
  background: linear-gradient(135deg, rgba(62, 90, 54, 0.04) 0%, rgba(75, 111, 68, 0.09) 100%);
  gap: 0.55rem;
}

body.dark-mode .mz-mega-empty-showcase,
body.dark .mz-mega-empty-showcase {
  background: linear-gradient(135deg, rgba(22, 29, 36, 0.85) 0%, rgba(62, 90, 54, 0.16) 100%);
  border-color: rgba(167, 243, 208, 0.25);
}

.mz-mega-empty-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(62, 90, 54, 0.14);
  color: #3E5A36;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.15rem;
}

body.dark-mode .mz-mega-empty-icon,
body.dark .mz-mega-empty-icon {
  background: rgba(75, 111, 68, 0.32);
  color: #A7F3D0;
}

.mz-mega-empty-badge {
  font-size: 0.78rem;
  font-weight: 900;
  color: #3E5A36;
  display: block;
}

body.dark-mode .mz-mega-empty-badge,
body.dark .mz-mega-empty-badge {
  color: #A7F3D0 !important;
}

.mz-mega-empty-singleline {
  font-size: 0.77rem !important;
  font-weight: 800 !important;
  color: #334155 !important;
  white-space: nowrap !important;
  margin: 0 !important;
  line-height: 1.6 !important;
  letter-spacing: -0.01em;
}

body.dark-mode .mz-mega-empty-singleline,
body.dark .mz-mega-empty-singleline {
  color: #E2E8F0 !important;
}

/* Customer Club Button at the End of Desktop Navbar (Zero Scroll Jitter via GPU Compositing & Containment) */
.mz-nav-club-animated-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.5px;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none !important;
  isolation: isolate;
  contain: layout paint style;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  box-shadow: 0 2px 10px rgba(62, 90, 54, 0.18);
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
  flex-shrink: 0;
  border: 1px solid rgba(52, 211, 153, 0.42);
  background: linear-gradient(135deg, #3E5A36 0%, #34D399 50%, #F59E0B 100%);
}

.mz-nav-club-animated-btn::before {
  content: none !important;
  display: none !important;
  animation: none !important;
}

.mz-nav-club-animated-inner {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.42rem;
  padding: 0.38rem 0.9rem;
  border-radius: 10px;
  background: #111417;
  color: #FFFFFF !important;
  font-size: 0.76rem;
  font-weight: 900;
  white-space: nowrap;
  transition: background-color 0.2s ease;
}

.mz-nav-club-animated-inner svg {
  color: #FBBF24;
  flex-shrink: 0;
}

.mz-nav-club-animated-btn:hover {
  box-shadow: 0 4px 14px rgba(52, 211, 153, 0.28);
}

.mz-nav-club-animated-btn:hover .mz-nav-club-animated-inner {
  background: #182026;
}

/* Hardware-Accelerated Smooth Glowing Border for Footer Trust Box (.mz-footer-trust-box) - Zero Jitter */
.mz-footer-trust-box {
  position: relative !important;
  border-radius: 16px !important;
  background: #12171C !important;
  border: 1px solid rgba(52, 211, 153, 0.28) !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35), 0 0 16px rgba(52, 211, 153, 0.12) !important;
  overflow: hidden !important;
  isolation: isolate !important;
  contain: paint !important;
}

.mz-footer-trust-box::before {
  content: "" !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  width: 250% !important;
  height: 250% !important;
  background: conic-gradient(
    from 0deg,
    rgba(255, 255, 255, 0.05) 0deg,
    #3E5A36 60deg,
    #34D399 120deg,
    #A7F3D0 160deg,
    rgba(255, 255, 255, 0.05) 200deg,
    #4B6F44 260deg,
    #F59E0B 310deg,
    #34D399 350deg,
    rgba(255, 255, 255, 0.05) 360deg
  ) !important;
  animation: mzSpinAnimatedBorder 5s linear infinite !important;
  will-change: transform !important;
  transform-origin: center center !important;
  backface-visibility: hidden !important;
  -webkit-backface-visibility: hidden !important;
  z-index: 0 !important;
  pointer-events: none !important;
  display: block !important;
}

.mz-footer-trust-box::after {
  content: "" !important;
  position: absolute !important;
  inset: 1.8px !important;
  border-radius: 14.5px !important;
  background: #12171C !important;
  z-index: 1 !important;
  pointer-events: none !important;
  display: block !important;
}

.mz-footer-trust-box > * {
  position: relative !important;
  z-index: 2 !important;
}

/* ==========================================================================
   12. MOBILE SINGLE-LINE WISHLIST HEADINGS, ENHANCED SPLIT-SCREEN AUTH WITH
       SIDE IMAGE & MOBILE FLOATING DARK/LIGHT MODE BUTTON OPPOSITE BACK-TO-TOP
   ========================================================================== */

/* 12.1 Single-Line Wishlist Titles on Mobile */
@media (max-width: 767.98px) {
  .mz-empty-wishlist-luxury-card {
    padding: 2.25rem 0.85rem !important;
  }

  h2.mz-empty-wishlist-title,
  .mz-empty-wishlist-title {
    white-space: nowrap !important;
    font-size: clamp(0.68rem, 3.25vw, 0.98rem) !important;
    line-height: 1.45 !important;
    letter-spacing: -0.015em !important;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  h2.mz-wishlist-popular-title,
  .mz-wishlist-popular-title,
  .mz-wishlist-page-wrapper .mz-section-title {
    white-space: nowrap !important;
    font-size: clamp(0.66rem, 3.05vw, 0.94rem) !important;
    line-height: 1.45 !important;
    letter-spacing: -0.015em !important;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    display: block;
  }

  .mz-wishlist-page-wrapper .mz-section-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.45rem !important;
  }

  .mz-wishlist-page-wrapper .mz-section-header > div {
    width: 100%;
    min-width: 0;
  }
}

/* 12.2 Split-Screen Auth Side Showcase Image, Smooth Animated Form Switching & Variables */
.mz-auth-showcase-pane {
  overflow: hidden;
  isolation: isolate;
}

.mz-auth-showcase-bg-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.mz-auth-showcase-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
  transition: transform 0.6s ease;
}

.mz-auth-split-canvas:hover .mz-auth-showcase-bg-img {
  transform: scale(1.05);
}

.mz-auth-showcase-bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  backdrop-filter: blur(1.5px);
  -webkit-backdrop-filter: blur(1.5px);
}

.mz-auth-benefit-card {
  background: rgba(15, 20, 26, 0.62) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.mz-auth-benefit-card:hover {
  transform: translateY(-2px);
  border-color: rgba(167, 243, 208, 0.35) !important;
}

/* Smooth Animated Tab & Form Switching in Split-Screen Auth */
.mz-auth-tab-btn {
  transition: background-color 0.28s cubic-bezier(0.22, 1, 0.36, 1),
              color 0.28s ease,
              box-shadow 0.28s ease,
              transform 0.18s ease !important;
}

.mz-auth-tab-btn.active {
  background: var(--mz-auth-primary, #3E5A36) !important;
  color: #FFFFFF !important;
  box-shadow: 0 6px 16px -3px rgba(62, 90, 54, 0.35) !important;
}

@keyframes mzAuthPaneSlideFade {
  0% {
    opacity: 0;
    transform: translateY(10px) scale(0.99);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.mz-auth-form-body {
  display: none;
  opacity: 0;
  transform: translateY(8px);
}

.mz-auth-form-body.is-active-pane {
  display: block;
  animation: mzAuthPaneSlideFade 0.34s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.mz-auth-submit-btn {
  background: linear-gradient(135deg, var(--mz-auth-primary, #3E5A36) 0%, var(--mz-auth-secondary, #4B6F44) 100%) !important;
}

.mz-auth-inline-switch-btn {
  color: var(--mz-auth-primary, #3E5A36);
}

@media (max-width: 767.98px) {
  .mz-auth-split-section {
    padding: 1.25rem 0 3.5rem !important;
  }

  .mz-auth-split-canvas {
    border-radius: 22px !important;
    min-height: auto !important;
  }

  .mz-auth-form-pane {
    padding: 1.35rem 1rem !important;
  }

  .mz-auth-showcase-pane {
    padding: 1.5rem 1.1rem !important;
    gap: 1.25rem !important;
  }

  .mz-auth-showcase-title {
    font-size: 1.15rem !important;
    line-height: 1.5 !important;
  }

  .mz-auth-showcase-desc {
    font-size: 0.77rem !important;
    line-height: 1.8 !important;
  }

  .mz-auth-benefit-card {
    padding: 0.75rem 0.85rem !important;
    gap: 0.65rem !important;
  }

  .mz-auth-tab-btn {
    padding: 0.62rem 0.5rem !important;
    font-size: 0.73rem !important;
  }
}

/* 12.3 Compact, Minimal Mobile Header Dark/Light Theme Toggle (Top-Right) */
.mz-mobile-header-right-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  position: relative;
  z-index: 3;
  flex-shrink: 0;
}

#mz-mobile-header-dark-toggle,
.mz-mobile-header-theme-btn {
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  min-height: 34px !important;
  border-radius: 10px !important;
  background-color: #F1F5F9;
  color: #334155 !important;
  border: 1px solid #E2E8F0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0 !important;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.16s ease;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}

#mz-mobile-header-dark-toggle:active,
.mz-mobile-header-theme-btn:active {
  transform: scale(0.92);
}

/* Show Moon in Light Mode, Sun in Dark Mode */
#mz-mobile-header-dark-toggle .mz-icon-sun,
.mz-mobile-header-theme-btn .mz-icon-sun {
  display: none;
}

#mz-mobile-header-dark-toggle .mz-icon-moon,
.mz-mobile-header-theme-btn .mz-icon-moon {
  display: block;
  color: #334155;
}

body.dark-mode #mz-mobile-header-dark-toggle,
body.dark #mz-mobile-header-dark-toggle,
body.dark-mode .mz-mobile-header-theme-btn {
  background-color: #181E24 !important;
  border-color: rgba(251, 191, 36, 0.35) !important;
  color: #FBBF24 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

body.dark-mode #mz-mobile-header-dark-toggle .mz-icon-moon,
body.dark #mz-mobile-header-dark-toggle .mz-icon-moon,
body.dark-mode .mz-mobile-header-theme-btn .mz-icon-moon {
  display: none;
}

body.dark-mode #mz-mobile-header-dark-toggle .mz-icon-sun,
body.dark #mz-mobile-header-dark-toggle .mz-icon-sun,
body.dark-mode .mz-mobile-header-theme-btn .mz-icon-sun {
  display: block;
  color: #FBBF24;
}

@media (min-width: 1024px) {
  #mz-mobile-header-dark-toggle,
  .mz-mobile-header-theme-btn {
    display: none !important;
  }
}

/* 12.4 Comprehensive Dark Mode WCAG AA Contrast & Surface Standards */
body.dark-mode,
body.dark {
  background-color: #0B0E11 !important;
  color: #F1F5F9 !important;
}

body.dark-mode .mz-header-main,
body.dark .mz-header-main {
  background-color: rgba(15, 19, 24, 0.96) !important;
  border-bottom-color: rgba(255, 255, 255, 0.08) !important;
}

body.dark-mode .mz-btn-hamburger-mobile,
body.dark .mz-btn-hamburger-mobile {
  background-color: #181E24 !important;
  border-color: #2A343E !important;
  color: #F8FAFC !important;
}

body.dark-mode .mz-btn-cart-mobile,
body.dark .mz-btn-cart-mobile {
  background-color: #3E5A36 !important;
  border-color: rgba(167, 243, 208, 0.25) !important;
  color: #FFFFFF !important;
}

body.dark-mode .mz-auth-split-canvas,
body.dark .mz-auth-split-canvas {
  background-color: #12171D !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  color: #F8FAFC !important;
}

body.dark-mode .mz-auth-form-pane,
body.dark .mz-auth-form-pane {
  background-color: #12171D !important;
  color: #F8FAFC !important;
}

body.dark-mode .mz-auth-form-title,
body.dark .mz-auth-form-title {
  color: #FFFFFF !important;
}

body.dark-mode .mz-auth-form-subtitle,
body.dark .mz-auth-form-subtitle {
  color: #CBD5E1 !important;
}

body.dark-mode .mz-auth-tab-switcher,
body.dark .mz-auth-tab-switcher {
  background-color: #0B0E12 !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

body.dark-mode .mz-auth-tab-btn:not(.active),
body.dark .mz-auth-tab-btn:not(.active) {
  color: #CBD5E1 !important;
}

body.dark-mode .mz-auth-field-group label,
body.dark .mz-auth-field-group label {
  color: #E2E8F0 !important;
}

body.dark-mode .mz-auth-input-wrap input,
body.dark .mz-auth-input-wrap input {
  background-color: #181F26 !important;
  border-color: #2C3742 !important;
  color: #FFFFFF !important;
}

body.dark-mode .mz-auth-input-wrap input::placeholder,
body.dark .mz-auth-input-wrap input::placeholder {
  color: #94A3B8 !important;
}

body.dark-mode .mz-auth-captcha-box,
body.dark .mz-auth-captcha-box {
  background-color: #0E1318 !important;
  border-color: rgba(167, 243, 208, 0.22) !important;
}

body.dark-mode .mz-auth-captcha-label,
body.dark .mz-auth-captcha-label,
body.dark-mode .mz-auth-inline-switch-btn,
body.dark .mz-auth-inline-switch-btn {
  color: #A7F3D0 !important;
}

body.dark-mode .mz-mobile-bottom-nav,
body.dark .mz-mobile-bottom-nav {
  background-color: rgba(15, 19, 24, 0.96) !important;
  border-top-color: rgba(255, 255, 255, 0.1) !important;
}

/* ==========================================================================
   13. NATIVE WOOCOMMERCE #reviews FALLBACK & SCROLLABLE COMMENTS STYLING
   ========================================================================== */
#reviews.woocommerce-Reviews #comments ol.commentlist {
  max-height: 480px;
  overflow-y: auto;
  list-style: none;
  padding: 0 0 0 6px;
  margin: 0 0 1.25rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.woocommerce .comment-form-rating p.stars a {
  display: inline-block;
  padding: 4px 10px;
  margin-left: 6px;
  border-radius: 8px;
  border: 1px solid #E2E8F0;
  background: #FFFBEB;
  color: #D97706 !important;
  font-size: 11.5px;
  font-weight: 800;
  text-decoration: none !important;
}

.woocommerce .comment-form-rating p.stars a:hover,
.woocommerce .comment-form-rating p.stars a.active {
  background: #F59E0B;
  border-color: #F59E0B;
  color: #FFFFFF !important;
}

/* Luxury Headline Banner - Special Typography */
.mz-boutique-headline-banner {
  margin-bottom: 24px;
  padding: 14px 20px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.08) 0%, rgba(62, 90, 54, 0.09) 50%, rgba(245, 158, 11, 0.04) 100%);
  border: 1.5px solid rgba(245, 158, 11, 0.35);
  box-shadow: 0 8px 24px -6px rgba(15, 23, 42, 0.06);
  position: relative;
  overflow: hidden;
}
body.dark-mode .mz-boutique-headline-banner {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.12) 0%, rgba(62, 90, 54, 0.14) 50%, rgba(245, 158, 11, 0.06) 100%);
  border-color: rgba(245, 158, 11, 0.32);
}
.mz-headline-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}
.mz-headline-brand-col {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.mz-headline-monogram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: #3E5A36;
  color: #FFFFFF;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.5px;
  box-shadow: 0 3px 8px rgba(62,90,54,0.3);
  flex-shrink: 0;
}
.mz-headline-pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #F59E0B;
  box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7);
  animation: mzPulseDot 2s infinite;
  flex-shrink: 0;
}
.mz-headline-title {
  margin: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13.5px;
  line-height: 1.6;
}
.mz-hl-brand {
  font-weight: 900;
  color: #0F172A;
  letter-spacing: -0.2px;
}
body.dark-mode .mz-hl-brand { color: #FFFFFF; }
.mz-hl-branch-pill {
  display: inline-flex;
  align-items: center;
  background: rgba(62, 90, 54, 0.12);
  color: #3E5A36;
  padding: 2px 9px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 11px;
  border: 1px solid rgba(62, 90, 54, 0.2);
}
body.dark-mode .mz-hl-branch-pill {
  background: rgba(62, 90, 54, 0.25);
  color: #A3E635;
  border-color: rgba(163, 230, 53, 0.25);
}
.mz-hl-pipe {
  color: #CBD5E1;
  font-weight: 300;
}
.mz-hl-shipping {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 800;
  color: #334155;
  font-size: 12.5px;
}
body.dark-mode .mz-hl-shipping { color: #CBD5E1; }
.mz-hl-shipping svg {
  color: #3E5A36;
  flex-shrink: 0;
}
body.dark-mode .mz-hl-shipping svg { color: #A3E635; }
.mz-headline-badge-col {
  flex-shrink: 0;
}
.mz-headline-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  color: #FFFFFF !important;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  box-shadow: 0 3px 10px rgba(245, 158, 11, 0.38);
  white-space: nowrap;
  letter-spacing: -0.1px;
  position: relative;
  overflow: hidden;
}
.mz-badge-shimmer {
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  animation: mzBadgeShimmer 3s infinite;
}

/* ==========================================================================
   UNIVERSAL SINGLE-LINE ACCOUNT / LOGIN BUTTON ARCHITECTURE (NO-BREAK ON MOBILE)
   ========================================================================== */
.mz-btn-action,
.mz-btn-account-cta,
.mz-auth-tab-btn,
.mz-auth-submit-btn,
.mz-auth-inline-switch-btn,
button.mz-btn-account-cta,
a.mz-btn-account-cta {
  white-space: nowrap !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  min-width: max-content !important;
  max-width: 100% !important;
  text-align: center !important;
  box-sizing: border-box !important;
}

.mz-btn-account-label,
.mz-btn-account-cta b,
.mz-btn-account-cta span {
  white-space: nowrap !important;
  display: inline-block !important;
  line-height: 1.15 !important;
}

@media (max-width: 768px) {
  .mz-header-actions-zone {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    flex-wrap: nowrap !important;
  }
  .mz-btn-action,
  .mz-btn-account-cta {
    padding: 0.45rem 0.65rem !important;
    gap: 0.35rem !important;
  }
  .mz-btn-account-label {
    font-size: clamp(10.5px, 2.7vw, 12px) !important;
  }
}

@media (max-width: 480px) {
  .mz-btn-action,
  .mz-btn-account-cta {
    padding: 0.4rem 0.55rem !important;
    gap: 0.25rem !important;
  }
  .mz-btn-account-label {
    font-size: 11px !important;
  }
}

/* ==========================================================================
   CART-COLLATERALS & CART TOTALS FLEXBOX/GRID ARCHITECTURE (DAY & NIGHT MODES)
   ========================================================================== */
.cart-collaterals,
.mz-dk-cart-collaterals-card {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 24px !important;
  padding: 26px 28px !important;
  box-shadow: none !important;
  transition: background 0.25s ease, border-color 0.25s ease;
  margin-top: 0;
  width: 100%;
  box-sizing: border-box;
}

body.dark-mode .cart-collaterals,
body.dark .cart-collaterals,
body.dark-mode .mz-dk-cart-collaterals-card,
body.dark .mz-dk-cart-collaterals-card {
  background: #141920 !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  box-shadow: none !important;
  color: #F1F5F9 !important;
}

.cart-collaterals .cart_totals > h2,
.mz-dk-cart-collaterals-card .cart_totals > h2 {
  font-size: 16px !important;
  font-weight: 900 !important;
  color: #0F172A !important;
  margin: 0 0 16px 0 !important;
  padding-bottom: 12px !important;
  border-bottom: 1.5px solid #F1F5F9 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
}

body.dark-mode .cart-collaterals .cart_totals > h2,
body.dark .cart-collaterals .cart_totals > h2,
body.dark-mode .mz-dk-cart-collaterals-card .cart_totals > h2,
body.dark .mz-dk-cart-collaterals-card .cart_totals > h2 {
  color: #FFFFFF !important;
  border-bottom-color: rgba(255, 255, 255, 0.1) !important;
}

/* Modern Flexbox Breakdown Table */
.cart-collaterals .cart_totals table.shop_table,
.mz-dk-cart-collaterals-card table.shop_table {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  border: none !important;
  border-collapse: separate !important;
  margin: 0 0 16px 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

.cart-collaterals .cart_totals table.shop_table tbody,
.mz-dk-cart-collaterals-card table.shop_table tbody {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  gap: 9px !important;
  border: none !important;
  padding: 0 !important;
}

.cart-collaterals .cart_totals table.shop_table tr,
.mz-dk-cart-collaterals-card table.shop_table tr {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  box-sizing: border-box !important;
  padding: 12px 14px !important;
  border-radius: 14px !important;
  background: #F8FAFC !important;
  border: 1px solid #EEF2F6 !important;
  transition: background 0.2s ease, border-color 0.2s ease !important;
}

body.dark-mode .cart-collaterals .cart_totals table.shop_table tr,
body.dark .cart-collaterals .cart_totals table.shop_table tr,
body.dark-mode .mz-dk-cart-collaterals-card table.shop_table tr,
body.dark .mz-dk-cart-collaterals-card table.shop_table tr {
  background: #1A212A !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

.cart-collaterals .cart_totals table.shop_table th,
.mz-dk-cart-collaterals-card table.shop_table th {
  display: flex !important;
  align-items: center !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #475569 !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  width: auto !important;
  text-align: right !important;
  background: transparent !important;
}

body.dark-mode .cart-collaterals .cart_totals table.shop_table th,
body.dark .cart-collaterals .cart_totals table.shop_table th,
body.dark-mode .mz-dk-cart-collaterals-card table.shop_table th,
body.dark .mz-dk-cart-collaterals-card table.shop_table th {
  color: #94A3B8 !important;
}

.cart-collaterals .cart_totals table.shop_table td,
.mz-dk-cart-collaterals-card table.shop_table td {
  display: flex !important;
  align-items: center !important;
  font-size: 13.5px !important;
  font-weight: 800 !important;
  color: #0F172A !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  width: auto !important;
  text-align: left !important;
  background: transparent !important;
}

body.dark-mode .cart-collaterals .cart_totals table.shop_table td,
body.dark .cart-collaterals .cart_totals table.shop_table td,
body.dark-mode .mz-dk-cart-collaterals-card table.shop_table td,
body.dark .mz-dk-cart-collaterals-card table.shop_table td {
  color: #F8FAFC !important;
}

/* Shipping Rows */
.cart-collaterals .cart_totals table.shop_table tr.woocommerce-shipping-totals,
.cart-collaterals .cart_totals table.shop_table tr.shipping,
.mz-dk-cart-collaterals-card table.shop_table tr.woocommerce-shipping-totals,
.mz-dk-cart-collaterals-card table.shop_table tr.shipping {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 8px !important;
  background: #F1F5F9 !important;
  border-color: #E2E8F0 !important;
}

body.dark-mode .cart-collaterals .cart_totals table.shop_table tr.woocommerce-shipping-totals,
body.dark .cart-collaterals .cart_totals table.shop_table tr.woocommerce-shipping-totals,
body.dark-mode .mz-dk-cart-collaterals-card table.shop_table tr.woocommerce-shipping-totals,
body.dark .mz-dk-cart-collaterals-card table.shop_table tr.woocommerce-shipping-totals {
  background: #182029 !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

/* Grand Total Row */
.cart-collaterals .cart_totals table.shop_table tr.order-total,
.mz-dk-cart-collaterals-card table.shop_table tr.order-total {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 16px 18px !important;
  border-radius: 16px !important;
  background: linear-gradient(135deg, rgba(62,90,54,0.08) 0%, rgba(16,185,129,0.08) 100%) !important;
  border: 1.5px solid rgba(62,90,54,0.25) !important;
  margin-top: 6px !important;
}

body.dark-mode .cart-collaterals .cart_totals table.shop_table tr.order-total,
body.dark .cart-collaterals .cart_totals table.shop_table tr.order-total,
body.dark-mode .mz-dk-cart-collaterals-card table.shop_table tr.order-total,
body.dark .mz-dk-cart-collaterals-card table.shop_table tr.order-total {
  background: linear-gradient(135deg, rgba(62,90,54,0.22) 0%, rgba(16,185,129,0.12) 100%) !important;
  border-color: rgba(52,211,153,0.35) !important;
}

.cart-collaterals .cart_totals table.shop_table tr.order-total th,
.mz-dk-cart-collaterals-card table.shop_table tr.order-total th {
  font-size: 14.5px !important;
  font-weight: 900 !important;
  color: #0F172A !important;
}

body.dark-mode .cart-collaterals .cart_totals table.shop_table tr.order-total th,
body.dark .cart-collaterals .cart_totals table.shop_table tr.order-total th {
  color: #FFFFFF !important;
}

.cart-collaterals .cart_totals table.shop_table tr.order-total td,
.mz-dk-cart-collaterals-card table.shop_table tr.order-total td {
  font-size: 17.5px !important;
  font-weight: 900 !important;
  color: #15803D !important;
}

body.dark-mode .cart-collaterals .cart_totals table.shop_table tr.order-total td,
body.dark .cart-collaterals .cart_totals table.shop_table tr.order-total td {
  color: #6EE7B7 !important;
  text-shadow: 0 0 16px rgba(110,231,183,0.3);
}

/* Proceed to Checkout CTA Button */
.cart-collaterals .wc-proceed-to-checkout,
.mz-dk-cart-collaterals-card .wc-proceed-to-checkout {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  margin: 16px 0 0 0 !important;
  padding: 0 !important;
}

.cart-collaterals .wc-proceed-to-checkout a.checkout-button,
.mz-dk-cart-collaterals-card .wc-proceed-to-checkout a.checkout-button {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  width: 100% !important;
  min-height: 52px !important;
  padding: 14px 20px !important;
  border-radius: 14px !important;
  background: linear-gradient(135deg, #2D4327 0%, #3E5A36 60%, #4D7344 100%) !important;
  color: #FFFFFF !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  text-decoration: none !important;
  border: 1px solid rgba(255,255,255,0.2) !important;
  box-shadow: 0 10px 24px -4px rgba(62,90,54,0.4) !important;
  white-space: nowrap !important;
  cursor: pointer !important;
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease !important;
}

.cart-collaterals .wc-proceed-to-checkout a.checkout-button:hover,
.mz-dk-cart-collaterals-card .wc-proceed-to-checkout a.checkout-button:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 14px 30px -4px rgba(62,90,54,0.5) !important;
  filter: brightness(1.06) !important;
}

/* Mobile Responsive Cart Collaterals */
@media (max-width: 768px) {
  .cart-collaterals,
  .mz-dk-cart-collaterals-card {
    padding: 18px 16px !important;
    border-radius: 18px !important;
    margin-top: 16px !important;
  }
  .cart-collaterals .cart_totals table.shop_table tr,
  .mz-dk-cart-collaterals-card table.shop_table tr {
    padding: 8px 10px !important;
    font-size: 12.5px !important;
    gap: 10px !important;
  }
  .cart-collaterals .cart_totals table.shop_table tr.order-total,
  .mz-dk-cart-collaterals-card table.shop_table tr.order-total {
    padding: 13px 14px !important;
    border-radius: 14px !important;
  }
  .cart-collaterals .cart_totals table.shop_table tr.order-total td,
  .mz-dk-cart-collaterals-card table.shop_table tr.order-total td {
    font-size: 16.5px !important;
  }
  .cart-collaterals .wc-proceed-to-checkout a.checkout-button,
  .mz-dk-cart-collaterals-card .wc-proceed-to-checkout a.checkout-button {
    min-height: 48px !important;
    font-size: 13.5px !important;
    padding: 12px 14px !important;
    border-radius: 14px !important;
  }
}

/* ==========================================================================
   LUXURY WOOCOMMERCE NOTICES & INLINE VALIDATION ERRORS (DAY & NIGHT)
   ========================================================================== */
.mz-dk-notice-box {
  border-radius: 18px;
  padding: 18px 22px;
  margin: 0 0 24px 0;
  box-shadow: 0 10px 28px -6px rgba(15, 23, 42, 0.08);
  transition: all 0.25s ease;
  width: 100%;
  box-sizing: border-box;
  animation: mzNoticeSlideDown 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes mzNoticeSlideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.mz-dk-notice-error,
.woocommerce-error {
  background: #FFF1F2 !important;
  border: 1.5px solid #FECDD3 !important;
  color: #9F1239 !important;
  border-radius: 18px !important;
  padding: 16px 20px !important;
  margin: 0 0 24px 0 !important;
  list-style: none !important;
  box-sizing: border-box !important;
  box-shadow: 0 10px 26px -6px rgba(225, 29, 72, 0.12) !important;
}

body.dark-mode .mz-dk-notice-error,
body.dark .mz-dk-notice-error,
body.dark-mode .woocommerce-error,
body.dark .woocommerce-error {
  background: #1F1216 !important;
  border-color: rgba(244, 63, 94, 0.35) !important;
  color: #FDA4AF !important;
  box-shadow: 0 10px 30px -6px rgba(0, 0, 0, 0.6) !important;
}

.mz-dk-notice-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(244, 63, 94, 0.2);
}

body.dark-mode .mz-dk-notice-header,
body.dark .mz-dk-notice-header {
  border-bottom-color: rgba(244, 63, 94, 0.25);
}

.mz-dk-notice-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: rgba(225, 29, 72, 0.12);
  color: #E11D48;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

body.dark-mode .mz-dk-notice-icon-wrap,
body.dark .mz-dk-notice-icon-wrap {
  background: rgba(244, 63, 94, 0.22);
  color: #FB7185;
}

.mz-dk-notice-title-group {
  flex: 1;
}

.mz-dk-notice-title {
  font-size: 14px !important;
  font-weight: 900 !important;
  color: #9F1239 !important;
  margin: 0 0 3px 0 !important;
}

body.dark-mode .mz-dk-notice-title,
body.dark .mz-dk-notice-title {
  color: #FECDD3 !important;
}

.mz-dk-notice-subtitle {
  font-size: 11.5px !important;
  color: #BE123C !important;
  margin: 0 !important;
  line-height: 1.5 !important;
}

body.dark-mode .mz-dk-notice-subtitle,
body.dark .mz-dk-notice-subtitle {
  color: #FDA4AF !important;
}

.mz-dk-error-list,
.woocommerce-error {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}

.mz-dk-error-item,
.woocommerce-error li {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #881337 !important;
  padding: 9px 13px !important;
  background: rgba(255, 255, 255, 0.7) !important;
  border: 1px solid rgba(244, 63, 94, 0.18) !important;
  border-radius: 11px !important;
  margin: 0 !important;
  transition: background 0.2s ease, transform 0.15s ease;
}

body.dark-mode .mz-dk-error-item,
body.dark .mz-dk-error-item,
body.dark-mode .woocommerce-error li,
body.dark .woocommerce-error li {
  background: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(244, 63, 94, 0.25) !important;
  color: #FFE4E6 !important;
}

.mz-dk-error-item:hover,
.woocommerce-error li:hover {
  transform: translateX(-3px);
  background: rgba(255, 255, 255, 0.95) !important;
}

body.dark-mode .mz-dk-error-item:hover,
body.dark-mode .woocommerce-error li:hover {
  background: rgba(255, 255, 255, 0.08) !important;
}

.mz-dk-error-item a,
.woocommerce-error li a {
  color: #E11D48 !important;
  font-weight: 900 !important;
  text-decoration: none !important;
  border-bottom: 1px dashed #E11D48;
  transition: color 0.15s ease;
}

.mz-dk-error-item a:hover,
.woocommerce-error li a:hover {
  color: #BE123C !important;
  border-bottom-style: solid;
}

body.dark-mode .mz-dk-error-item a,
body.dark-mode .woocommerce-error li a {
  color: #FDA4AF !important;
  border-bottom-color: #FDA4AF;
}

.mz-dk-error-bullet {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #E11D48;
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.checkout-inline-error-message {
  color: #E11D48 !important;
  font-size: 11.5px !important;
  font-weight: 800 !important;
  margin: 6px 0 0 0 !important;
  padding: 4px 10px !important;
  border-radius: 8px !important;
  background: rgba(225, 29, 72, 0.08) !important;
  border: 1px solid rgba(225, 29, 72, 0.18) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
}

body.dark-mode .checkout-inline-error-message,
body.dark .checkout-inline-error-message {
  color: #FDA4AF !important;
  background: rgba(244, 63, 94, 0.18) !important;
  border-color: rgba(244, 63, 94, 0.3) !important;
}

.woocommerce-invalid input.input-text,
.woocommerce-invalid select,
.woocommerce-invalid .select2-selection {
  border-color: #E11D48 !important;
  box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.15) !important;
}

/* ==========================================================================
   FEATURED PRODUCTS LUXURY AUTO-SCROLLING CAROUSEL & INDIVIDUAL SIZE PILLS
   ========================================================================== */
.mz-featured-carousel-section {
  position: relative;
  overflow: hidden;
  padding: 20px 0;
}

.mz-carousel-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.mz-carousel-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.mz-carousel-accent-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.6);
  display: inline-block;
  animation: mz-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.mz-carousel-count-badge {
  font-size: 11px;
  font-weight: 900;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(62, 90, 54, 0.12);
  color: #3E5A36;
  border: 1px solid rgba(62, 90, 54, 0.2);
}

body.dark-mode .mz-carousel-count-badge {
  background: rgba(52, 211, 153, 0.15);
  color: #6EE7B7;
  border-color: rgba(52, 211, 153, 0.3);
}

.mz-carousel-controls-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mz-carousel-nav-btns {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mz-carousel-btn {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1.5px solid #E2E8F0;
  background: #FFFFFF;
  color: #0F172A;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.mz-carousel-btn:hover {
  background: #3E5A36;
  color: #FFFFFF;
  border-color: #3E5A36;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(62, 90, 54, 0.25);
}

body.dark-mode .mz-carousel-btn {
  background: #181E24;
  border-color: rgba(255, 255, 255, 0.12);
  color: #F8FAFC;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

body.dark-mode .mz-carousel-btn:hover {
  background: #3E5A36;
  border-color: #4B6F44;
  color: #FFFFFF;
  box-shadow: 0 6px 18px rgba(62, 90, 54, 0.45);
}

.mz-view-all-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
  padding: 8px 16px;
  border-radius: 999px;
  background: #F1F5F9;
  color: #334155;
  text-decoration: none;
  transition: all 0.2s ease;
}

.mz-view-all-pill:hover {
  background: #3E5A36;
  color: #FFFFFF;
}

body.dark-mode .mz-view-all-pill {
  background: #1A2229;
  color: #CBD5E1;
}

body.dark-mode .mz-view-all-pill:hover {
  background: #3E5A36;
  color: #FFFFFF;
}

/* Track & Viewport (No Scroll-Snap Locking so Vertical Page Scroll Remains 100% Free) */
.mz-featured-carousel-section .mz-carousel-viewport,
.mz-carousel-viewport {
  position: relative;
  width: 100%;
  overflow: visible;
  scroll-snap-type: none !important;
}

.mz-carousel-track {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 16px !important;
  overflow-x: auto !important;
  overflow-y: visible !important;
  scroll-snap-type: none !important;
  -webkit-overflow-scrolling: touch !important;
  overscroll-behavior-x: contain !important;
  overscroll-behavior-y: auto !important;
  touch-action: pan-y pinch-zoom !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
  padding: 8px 4px 16px !important;
  margin: 0 !important;
  width: 100% !important;
  box-sizing: border-box !important;
  cursor: default;
}

.mz-carousel-track::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

.mz-featured-carousel-section .mz-carousel-slide,
.mz-carousel-slide {
  flex: 0 0 270px !important;
  width: 270px !important;
  min-width: 270px !important;
  max-width: 270px !important;
  box-sizing: border-box !important;
  scroll-snap-align: none !important;
  scroll-snap-stop: normal !important;
  flex-shrink: 0 !important;
  flex-grow: 0 !important;
  margin: 0 !important;
  transition: transform 0.25s ease;
}

.mz-carousel-slide .mz-product-card {
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

@media (max-width: 640px) {
  .mz-carousel-slide {
    flex: 0 0 215px !important;
    width: 215px !important;
    min-width: 215px !important;
    max-width: 215px !important;
  }
}

/* Hide Legacy Progress Footer Bar & Hint */
.mz-carousel-footer-bar,
.mz-carousel-progress-track,
.mz-carousel-hint,
.mz-carousel-accent-dot,
.mz-carousel-count-badge {
  display: none !important;
}

/* Digikala-Style Pagination Dots (Rounded Rectangle Pill for Active, Circle for Inactive) */
.mz-carousel-dots-nav {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  margin: 14px auto 0 auto !important;
  padding: 6px 14px !important;
  width: fit-content !important;
  border-radius: 999px !important;
  background: rgba(15, 23, 42, 0.035) !important;
  border: 1px solid rgba(15, 23, 42, 0.06) !important;
}

body.dark-mode .mz-carousel-dots-nav {
  background: rgba(255, 255, 255, 0.04) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

.mz-carousel-dot {
  width: 8px !important;
  height: 8px !important;
  min-width: 8px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  border-radius: 999px !important;
  background: #CBD5E1 !important;
  cursor: pointer !important;
  transition: width 0.32s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease !important;
  outline: none !important;
}

body.dark-mode .mz-carousel-dot {
  background: rgba(255, 255, 255, 0.24) !important;
}

.mz-carousel-dot:hover {
  background: #94A3B8 !important;
  transform: scale(1.12) !important;
}

body.dark-mode .mz-carousel-dot:hover {
  background: rgba(255, 255, 255, 0.45) !important;
}

.mz-carousel-dot.is-active {
  width: 28px !important;
  min-width: 28px !important;
  height: 8px !important;
  border-radius: 999px !important;
  background: #3E5A36 !important;
  box-shadow: 0 2px 8px rgba(62, 90, 54, 0.35) !important;
  transform: none !important;
}

body.dark-mode .mz-carousel-dot.is-active {
  background: #10B981 !important;
  box-shadow: 0 2px 10px rgba(16, 185, 129, 0.4) !important;
}

/* Individual Size Pill Boxes (Guaranteed Separate Box for Each Size) */
.mz-size-selector {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 8px 0 12px 0;
}

.mz-size-pill {
  min-width: 32px;
  height: 28px;
  padding: 2px 9px;
  border-radius: 8px;
  border: 1.5px solid #E2E8F0;
  background: #F8FAFC;
  color: #334155;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.mz-size-pill:hover {
  border-color: #3E5A36;
  color: #3E5A36;
  background: #FFFFFF;
  transform: translateY(-1px);
}

.mz-size-pill.active {
  border-color: #3E5A36;
  background: #3E5A36;
  color: #FFFFFF;
  box-shadow: 0 2px 6px rgba(62, 90, 54, 0.3);
}

body.dark-mode .mz-size-pill {
  background: #181E24;
  border-color: rgba(255, 255, 255, 0.12);
  color: #CBD5E1;
}

body.dark-mode .mz-size-pill:hover {
  border-color: #6EE7B7;
  color: #6EE7B7;
  background: #1E262E;
}

body.dark-mode .mz-size-pill.active {
  background: #3E5A36;
  border-color: #4B6F44;
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(62, 90, 54, 0.45);
}

/* ==========================================================================
   DIGIKALA-STYLE 3-COLUMN SIDE-BY-SIDE SINGLE PRODUCT GRID ARCHITECTURE
   ========================================================================== */
.mz-dk-3col-grid {
  display: grid !important;
  grid-template-columns: 1fr 2fr 1fr !important;
  gap: 1.5rem !important;
  align-items: start !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.mz-dk-col-gallery,
.mz-dk-col-info,
.mz-dk-col-buybox {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  align-items: stretch !important;
  grid-column: auto !important;
  min-width: 0 !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.mz-dk-col-gallery {
  gap: 1rem !important;
}

.mz-dk-col-info {
  gap: 1.15rem !important;
}

.mz-dk-col-gallery > *,
.mz-dk-col-info > *,
.mz-dk-col-buybox > * {
  min-width: 0 !important;
  box-sizing: border-box !important;
}

.mz-dk-col-buybox {
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 1.5rem !important;
  z-index: 10 !important;
  align-self: start !important;
  gap: 1rem !important;
}

.mz-dk-buybox-card {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  padding: 1.5rem !important;
  box-sizing: border-box !important;
}

@media (max-width: 1023px) {
  .mz-dk-3col-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }
  .mz-dk-col-buybox {
    position: static !important;
    top: auto !important;
  }
}

@media (max-width: 640px) {
  .mz-dk-buybox-card {
    padding: 1.15rem !important;
  }
}

/* ==========================================================================
   SINGLE ARTICLE AUTHOR BADGE & NIGHT/DARK MODE ENHANCEMENTS
   ========================================================================== */
.mz-article-author-logo-wrap {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1.5px solid rgba(62, 90, 54, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px;
  box-sizing: border-box;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  flex-shrink: 0;
  overflow: hidden;
  transition: all 0.2s ease;
}

body.dark-mode .mz-article-author-logo-wrap {
  background: #182026;
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.mz-article-author-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.mz-article-quote-box {
  background: rgba(62, 90, 54, 0.06);
  border-right: 4px solid var(--mz-primary);
  color: var(--mz-primary);
}

body.dark-mode .mz-article-quote-box {
  background: rgba(52, 211, 153, 0.08);
  border-right-color: #34D399;
  color: #A7F3D0;
}

body.dark-mode .mz-single-article .mz-card-panel {
  background: #141920 !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  color: #F1F5F9 !important;
}

body.dark-mode .mz-single-article .mz-card-panel h1,
body.dark-mode .mz-single-article .mz-card-panel h2 {
  color: #FFFFFF !important;
}

body.dark-mode .mz-single-article .mz-article-meta-row {
  color: #94A3B8 !important;
}

/* ==========================================================================
   FULL-SITE RESPONSIVE SYSTEM (MOBILE <= 480px, <= 640px, TABLET <= 1023px)
   ========================================================================== */
.mz-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: nowrap;
  min-width: 0;
}

.mz-topbar-slogan-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
}

.mz-topbar-slogan-text {
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.mz-topbar-opening-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  color: #FFFFFF;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.35);
  white-space: nowrap;
  flex-shrink: 0;
}

.mz-topbar-actions-wrap {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

.mz-topbar-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
  text-decoration: none;
  color: inherit;
}

.mz-topbar-phone {
  direction: ltr;
  font-weight: 700;
}

.mz-topbar-divider {
  opacity: 0.3;
  font-style: normal;
}

.mz-topbar-theme-btn {
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  padding: 4px;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 767.98px) {
  .mz-topbar {
    font-size: 0.72rem;
    padding-top: 0.38rem;
    padding-bottom: 0.38rem;
  }

  .mz-topbar-phone,
  .mz-topbar-orders,
  .mz-topbar-divider {
    display: none !important;
  }

  .mz-topbar-opening-badge {
    font-size: 10px;
    padding: 2px 8px;
  }
}

@media (max-width: 1023.98px) {
  .mz-featured-carousel-section {
    padding: 28px 0 24px 0 !important;
  }

  .mz-carousel-slide {
    flex: 0 0 245px !important;
    width: 245px !important;
    min-width: 245px !important;
    max-width: 245px !important;
  }
}

@media (max-width: 640px) {
  .mz-carousel-header {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    margin-bottom: 14px !important;
  }

  .mz-carousel-btn {
    width: 36px !important;
    height: 36px !important;
    border-radius: 10px !important;
  }

  .mz-view-all-pill {
    font-size: 11px !important;
    padding: 6px 12px !important;
  }

  .mz-carousel-track {
    gap: 12px !important;
    padding: 6px 2px 12px 2px !important;
  }

  .mz-carousel-slide {
    flex: 0 0 215px !important;
    width: 215px !important;
    min-width: 215px !important;
    max-width: 215px !important;
  }

  .mz-carousel-dots-nav {
    gap: 6px !important;
    padding: 5px 12px !important;
    margin-top: 10px !important;
    max-width: 100% !important;
  }

  .mz-carousel-dot {
    width: 7px !important;
    height: 7px !important;
    min-width: 7px !important;
  }

  .mz-carousel-dot.is-active {
    width: 22px !important;
    min-width: 22px !important;
    height: 7px !important;
  }

  .mz-promo-banner {
    flex-direction: column !important;
    padding: 1.5rem 1.15rem !important;
    gap: 1.5rem !important;
    text-align: right !important;
  }

  .mz-promo-showcase-card {
    width: 100% !important;
    max-width: 100% !important;
  }

  .mz-countdown-box {
    flex-wrap: wrap !important;
    gap: 0.45rem !important;
  }
}

/* ==========================================================================
   Hoverable Category Sidebar Rail & Solid High-Contrast Backdrop (No Frosted Blur)
   ========================================================================== */
.mz-cat-frosted-backdrop {
  position: fixed;
  inset: 0;
  z-index: 890 !important;
  background: rgba(0, 0, 0, 0.65) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease-out;
}

body.dark-mode .mz-cat-frosted-backdrop {
  background: rgba(0, 0, 0, 0.75) !important;
}

.mz-cat-frosted-backdrop.is-active {
  opacity: 1;
  pointer-events: auto;
}

body.mz-cat-sidebar-open #mz-main-content,
body.mz-cat-sidebar-open main,
body.mz-cat-sidebar-open .mz-footer,
body.mz-cat-sidebar-open footer {
  filter: none !important;
  -webkit-filter: none !important;
}

.mz-cat-hover-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 900 !important;
  width: 58px;
  background: #FFFFFF !important;
  border-left: 1px solid #E2E8F0 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: -4px 0 18px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s ease;
  overflow: hidden;
  user-select: none;
}

body.dark-mode .mz-cat-hover-sidebar {
  background: #111417 !important;
  border-left-color: #242D35 !important;
  color: #F1F5F9;
}

.mz-cat-hover-sidebar:hover,
.mz-cat-hover-sidebar.is-expanded {
  width: 272px;
  box-shadow: -12px 0 36px rgba(0, 0, 0, 0.25);
}

.mz-cat-rail-header {
  height: 64px;
  padding: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center !important;
  gap: 0 !important;
  width: 100%;
  border-bottom: 1px solid #F1F5F9;
  color: inherit !important;
  text-decoration: none !important;
  flex-shrink: 0;
}

body.dark-mode .mz-cat-rail-header {
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

.mz-cat-hover-sidebar:hover .mz-cat-rail-header,
.mz-cat-hover-sidebar.is-expanded .mz-cat-rail-header {
  justify-content: flex-start !important;
  padding: 0 16px !important;
  gap: 14px !important;
}

.mz-cat-rail-hamburger {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  margin: 0 auto;
}

.mz-cat-hover-sidebar:hover .mz-cat-rail-hamburger,
.mz-cat-hover-sidebar.is-expanded .mz-cat-rail-hamburger {
  margin: 0;
}

.mz-cat-rail-header-title {
  display: none;
  font-size: 0.95rem;
  font-weight: 900;
  white-space: nowrap;
  opacity: 0;
  width: 0;
  overflow: hidden;
  transition: opacity 0.2s ease;
}

.mz-cat-hover-sidebar:hover .mz-cat-rail-header-title,
.mz-cat-hover-sidebar.is-expanded .mz-cat-rail-header-title {
  display: inline-block;
  opacity: 1;
  width: auto;
}

.mz-cat-rail-list {
  flex: 1;
  overflow-y: auto;
  padding: 12px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.mz-cat-hover-sidebar:hover .mz-cat-rail-list,
.mz-cat-hover-sidebar.is-expanded .mz-cat-rail-list {
  align-items: stretch;
  padding: 12px 8px;
}

.mz-cat-rail-item {
  display: flex;
  align-items: center;
  justify-content: center !important;
  gap: 0 !important;
  width: 44px;
  height: 44px;
  padding: 0 !important;
  margin: 0 auto;
  border-radius: 12px;
  color: #1E293B !important;
  text-decoration: none !important;
  transition: background-color 0.2s ease, color 0.2s ease;
}

body.dark-mode .mz-cat-rail-item {
  color: #E2E8F0 !important;
}

.mz-cat-hover-sidebar:hover .mz-cat-rail-item,
.mz-cat-hover-sidebar.is-expanded .mz-cat-rail-item {
  width: 100%;
  height: auto;
  justify-content: flex-start !important;
  padding: 10px 12px !important;
  gap: 14px !important;
}

.mz-cat-rail-item:hover {
  background: #F1F5F9;
  color: #000000 !important;
}

body.dark-mode .mz-cat-rail-item:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #FFFFFF !important;
}

.mz-cat-rail-icon-box {
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  min-height: 20px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin: 0 auto;
}

.mz-cat-hover-sidebar:hover .mz-cat-rail-icon-box,
.mz-cat-hover-sidebar.is-expanded .mz-cat-rail-icon-box {
  margin: 0;
}

.mz-cat-rail-svg,
.mz-cat-rail-custom-logo {
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  min-height: 20px !important;
  object-fit: contain;
}

/* Compact Site Pages Icons (آیکون صفحات سایت) */
#mz-pages-list-container .mz-cat-rail-icon-box,
.mz-page-icon-box {
  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  min-height: 24px !important;
  border-radius: 6px !important;
}

#mz-pages-list-container .mz-cat-rail-svg,
.mz-page-rail-svg {
  width: 14px !important;
  height: 14px !important;
  min-width: 14px !important;
  min-height: 14px !important;
}

.mz-cat-rail-short-text {
  font-size: 0.82rem;
  font-weight: 900;
}

.mz-cat-rail-label {
  display: none;
  font-size: 0.9rem;
  font-weight: 800;
  white-space: nowrap;
  opacity: 0;
  width: 0;
  overflow: hidden;
  transition: opacity 0.2s ease;
}

.mz-cat-hover-sidebar:hover .mz-cat-rail-label,
.mz-cat-hover-sidebar.is-expanded .mz-cat-rail-label {
  display: inline-block;
  opacity: 1;
  width: auto;
  flex: 1;
  text-align: right;
}

.mz-cat-rail-footer {
  padding: 10px 8px;
  border-top: 1px solid #F1F5F9;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mz-cat-hover-sidebar:hover .mz-cat-rail-footer,
.mz-cat-hover-sidebar.is-expanded .mz-cat-rail-footer {
  padding: 12px;
}

body.dark-mode .mz-cat-rail-footer {
  border-top-color: rgba(255, 255, 255, 0.08);
}

.mz-cat-rail-tracking-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 42px;
  height: 42px;
  min-width: 42px;
  padding: 0;
  margin: 0 auto;
  border-radius: 12px;
  background: #0A1910;
  color: #FFFFFF !important;
  text-decoration: none !important;
  font-size: 0.86rem;
  font-weight: 800;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(10, 25, 16, 0.18);
}

.mz-cat-hover-sidebar:hover .mz-cat-rail-tracking-btn,
.mz-cat-hover-sidebar.is-expanded .mz-cat-rail-tracking-btn {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  gap: 10px;
  border-radius: 10px;
}

.mz-cat-rail-tracking-btn:hover {
  background: #132A1C;
}

.mz-cat-rail-tracking-icon {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
}

.mz-cat-rail-tracking-text {
  display: none;
  white-space: nowrap;
  opacity: 0;
  width: 0;
  overflow: hidden;
}

.mz-cat-hover-sidebar:hover .mz-cat-rail-tracking-text,
.mz-cat-hover-sidebar.is-expanded .mz-cat-rail-tracking-text {
  display: inline-block;
  opacity: 1;
  width: auto;
}

/* Mobile Product Card & Slider Card Polish */
@media (max-width: 640px) {
  .mz-product-card .mz-card-body {
    padding: 0.72rem 0.78rem 0.82rem !important;
    gap: 0.45rem !important;
  }
  .mz-product-card .mz-card-title {
    font-size: 0.84rem !important;
    line-height: 1.45 !important;
    margin-bottom: 0.2rem !important;
  }
  .mz-product-card .mz-fabric-spec {
    font-size: 0.66rem !important;
    padding: 2px 7px !important;
  }
  .mz-product-card .mz-size-selector {
    gap: 4px !important;
    margin-bottom: 0.4rem !important;
    flex-wrap: wrap !important;
  }
  .mz-product-card .mz-size-pill {
    min-width: 26px !important;
    height: 24px !important;
    padding: 0 6px !important;
    font-size: 0.68rem !important;
    border-radius: 6px !important;
  }
  .mz-product-card .mz-card-price-cta-row {
    padding-top: 0.45rem !important;
    gap: 0.4rem !important;
  }
  .mz-product-card .mz-card-price {
    font-size: 0.88rem !important;
  }
  .mz-product-card .mz-btn-add {
    padding: 0.42rem 0.65rem !important;
    font-size: 0.72rem !important;
    border-radius: 9px !important;
  }
}

@media (max-width: 1023.98px) {
  .mz-cat-hover-sidebar,
  .mz-cat-frosted-backdrop {
    display: none !important;
  }
}

/* ==========================================================================
   HERO SECTION (2242x702) & SEAMLESS DESKTOP-ONLY HERO LOGO MEDIA QUERIES
   ========================================================================== */
.mz-inst-desc {
  color: #0284C7 !important;
  font-weight: 900 !important;
}

#mz-site-header.mz-header-is-home-hero,
.mz-hero-integrated-wrapper.mz-header-is-home-hero,
.mz-header-is-home-hero .mz-hero-integrated-stage {
  width: 100% !important;
  max-width: 100% !important;
  aspect-ratio: 2242 / 702 !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

.mz-header-is-home-hero .mz-hero-top-header-bar {
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

/* Remove all extra margins, paddings, and borders around the logo in Hero for seamless edges */
.mz-header-is-home-hero .mz-header-brand-zone,
.mz-header-is-home-hero .mz-brand-logo-link,
.mz-header-is-home-hero .mz-logo-pure-white,
.mz-header-is-home-hero .mz-header-logo-img,
.mz-header-is-home-hero .mz-custom-logo,
.mz-header-is-home-hero .mz-theme-adaptive-logo {
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
  background-color: transparent !important;
  border-radius: 0 !important;
  filter: none !important;
  -webkit-filter: none !important;
}

/* Desktop (>= 1024px): Display Hero Logo seamlessly */
@media (min-width: 1024px) {
  .mz-header-is-home-hero .mz-header-brand-zone,
  .mz-header-is-home-hero .mz-brand-logo-link,
  .mz-header-is-home-hero .mz-header-logo-img {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
}

/* Mobile & Tablet (< 1024px): Completely hide Hero Logo & Mobile Header Cart via Media Queries */
@media (max-width: 1023.98px) {
  .mz-header-is-home-hero .mz-header-brand-zone,
  .mz-header-is-home-hero .mz-mobile-center-logo,
  .mz-header-is-home-hero .mz-brand-logo-link,
  .mz-header-is-home-hero .mz-logo-pure-white,
  .mz-header-is-home-hero .mz-header-logo-img,
  .mz-mobile-header-row .mz-side-cart-trigger,
  .mz-mobile-header-row .mz-cart-trigger {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    pointer-events: none !important;
  }
}

/* Off-Canvas Header: Pure White (#FFFFFF) with Clean 48px Transparent Logo */
.mz-offcanvas-header {
  background: #FFFFFF !important;
  background-color: #FFFFFF !important;
  color: #111417 !important;
  border-bottom: 1px solid #E5E7EB !important;
}

.mz-offcanvas-header .mz-header-logo-img,
.mz-offcanvas-header .mz-theme-adaptive-logo,
.mz-offcanvas-header .mz-custom-logo {
  height: 48px !important;
  max-height: 48px !important;
  width: auto !important;
  object-fit: contain !important;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  filter: none !important;
  -webkit-filter: none !important;
}

/* ==========================================================================
   NEW COLLECTION PRODUCT CARDS — FROSTED GLASS FIT-CONTENT CTA & 4-COL DESKTOP / 2-COL MOBILE GRID
   ========================================================================== */
.mz-home-products-section,
#shop-grid {
  width: 100%;
  margin-left: auto !important;
  margin-right: auto !important;
  overflow: visible !important;
  padding-top: 12px;
}

.products-grid,
.mz-product-grid,
#mz-home-products-grid,
#mz-wishlist-items-grid,
#mz-related-slider-section .products-grid,
#mz-related-slider-section .mz-product-grid,
.mz-dk-related-section .products-grid,
.mz-dk-related-section .mz-product-grid,
.single-product .products-grid,
.single-product .mz-product-grid,
.mz-wishlist-page-wrapper .products-grid,
.mz-wishlist-page-wrapper .mz-product-grid,
.mz-shop-products-area .products-grid,
.mz-shop-products-area .mz-product-grid,
.mz-woocommerce-archive ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 24px 18px !important;
  max-width: 1280px !important;
  margin-top: 18px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  justify-content: center !important;
  align-items: stretch !important;
  width: 100% !important;
  overflow: visible !important;
  box-sizing: border-box !important;
  list-style: none;
  padding: 12px 4px 18px 4px !important;
}

.mz-shop-products-area .products-grid,
.mz-shop-products-area .mz-product-grid,
.mz-shop-products-area .mz-woocommerce-archive ul.products,
.mz-dk-related-section .products-grid,
.mz-dk-related-section .mz-product-grid {
  max-width: 100% !important;
  gap: 22px 16px !important;
}

@media (min-width: 1024px) {
  .mz-dk-related-section,
  #mz-related-slider-section {
    padding-right: 84px !important;
    padding-left: 20px !important;
    overflow: visible !important;
    box-sizing: border-box !important;
  }
}

/* اگر تعداد کل کارت‌های موجود در گرید دسکتاپ کمتر از ۴ عدد باشد، دقیقاً در وسط صفحه قرار بگیرند */
@media (min-width: 1024px) {
  .products-grid:has(> :nth-child(1):last-child),
  .mz-product-grid:has(> :nth-child(1):last-child) {
    grid-template-columns: minmax(0, 310px) !important;
    justify-content: center !important;
  }
  .products-grid:has(> :nth-child(2):last-child),
  .mz-product-grid:has(> :nth-child(2):last-child) {
    grid-template-columns: repeat(2, minmax(0, 310px)) !important;
    justify-content: center !important;
  }
  .products-grid:has(> :nth-child(3):last-child),
  .mz-product-grid:has(> :nth-child(3):last-child) {
    grid-template-columns: repeat(3, minmax(0, 310px)) !important;
    justify-content: center !important;
  }
}

/* هدر بخش‌ها به سبک خط‌دار راست‌چین با رنگ تم زرجینی (.wd-tabs-header) */
.wd-tabs-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  direction: rtl;
  width: 100%;
  border-bottom: 1.5px solid #E5E7EB;
  margin-bottom: 24px;
  position: relative;
}

body.dark-mode .wd-tabs-header {
  border-bottom-color: rgba(255, 255, 255, 0.14);
}

.wd-tabs-header .wd-tabs-loader {
  display: none;
}

.wd-tabs-header .tabs-name.title {
  display: inline-flex;
  align-items: center;
  position: relative;
  padding-bottom: 10px;
  margin: 0 0 -1.5px 0;
  border-bottom: 3px solid #3E5A36;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 900;
  color: #111417;
  line-height: 1.35;
  letter-spacing: -0.02em;
  z-index: 2;
}

body.dark-mode .wd-tabs-header .tabs-name.title {
  color: #FFFFFF;
  border-bottom-color: #8CE563;
}

.wd-tabs-header .wd-nav-wrapper {
  flex: 1;
  min-width: 16px;
}

/* گرید ۵ ستونه بخش تخفیفات بالای کالکشن جدید */
.mz-sale-products-grid {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 14px !important;
  width: 100% !important;
  max-width: 1280px !important;
  margin: 18px auto 0 auto !important;
  padding: 12px 4px 16px 4px !important;
  overflow: visible !important;
  box-sizing: border-box !important;
}

@media (max-width: 1023.98px) {
  .mz-sale-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px 10px !important;
  }
}

/* حذف کامل باکس امتیاز باشگاه مشتریان در سبد خرید کناری */
.mz-side-cart-club-bonus {
  display: none !important;
}

/* حالت عادی کارت محصول — بدون بوردر ردیوس در حالت عادی (صفر) */
.product-card {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: #ffffff;
  border: 1px solid transparent;
  border-radius: 0 !important;
  overflow: hidden;
  box-shadow: 0 0 0 0 rgba(17, 20, 23, 0), 0 0 0 0 rgba(62, 90, 54, 0);
  transform: translate3d(0, 0, 0) scale(1);
  will-change: transform, box-shadow;
  transition:
    transform 0.34s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.36s cubic-bezier(0.22, 1, 0.36, 1),
    border-radius 0.34s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.3s ease;
  cursor: pointer;
  min-width: 0;
  width: 100%;
}

body.dark-mode .product-card {
  background: #14181C;
  border-color: transparent;
  box-shadow: 0 0 0 0 rgba(0, 0, 0, 0), 0 0 0 0 rgba(140, 229, 99, 0);
}

/* حالت هاور کارت — دریافت بوردر ردیوس، بزرگ‌نمایی ظریف و سایه نرم */
.product-card:hover {
  z-index: 20;
  border-color: rgba(62, 90, 54, 0.42);
  border-radius: 16px !important;
  box-shadow: 0 20px 38px -10px rgba(17, 20, 23, 0.16), 0 8px 16px -6px rgba(62, 90, 54, 0.10);
  transform: translate3d(0, -4px, 0) scale(1.02);
  overflow: hidden;
}

.product-card:active {
  transform: translate3d(0, -1px, 0) scale(0.995);
  transition-duration: 0.14s;
}

body.dark-mode .product-card:hover {
  border-color: rgba(140, 229, 99, 0.38);
  box-shadow: 0 22px 42px -10px rgba(0, 0, 0, 0.62), 0 8px 18px -6px rgba(140, 229, 99, 0.10);
}

@media (prefers-reduced-motion: reduce) {
  .product-card,
  .product-card:hover,
  .product-card:active,
  .mz-product-card,
  .mz-product-card:hover {
    transform: none !important;
    transition: box-shadow 0.25s ease, border-color 0.25s ease, border-radius 0.25s ease !important;
  }
}

/* باکس تصویر — بدون بوردر ردیوس در حالت عادی و گرد شدن هنگام هاور */
.product-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 3.8;
  background-color: #f3f4f6;
  border-radius: 0 !important;
  overflow: hidden;
  transition: border-radius 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-card:hover .product-image-wrapper {
  border-radius: 16px !important;
}

body.dark-mode .product-image-wrapper {
  background-color: #1E252B;
}

/* بج درصد تخفیف قرمز روی تصویر کارت محصول */
.discount-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 5;
  background-color: #EF4444;
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 999px;
  line-height: 1.3;
  letter-spacing: 0.01em;
  box-shadow: 0 4px 10px rgba(239, 68, 68, 0.3);
  pointer-events: none;
}

.product-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-image-wrapper img.product-img-primary {
  position: relative;
  z-index: 1;
}

.product-image-wrapper img.product-img-secondary {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  z-index: 2;
  pointer-events: none;
}

.product-card:hover .product-image-wrapper img.product-img-primary,
.product-image-wrapper:hover img.product-img-primary {
  transform: scale(1.05);
}

.product-card:hover .product-image-wrapper.has-secondary-img img.product-img-primary,
.product-image-wrapper.has-secondary-img:hover img.product-img-primary {
  opacity: 0;
}

.product-card:hover .product-image-wrapper img.product-img-secondary,
.product-image-wrapper:hover img.product-img-secondary {
  opacity: 1;
  transform: scale(1.05);
}

/* پنل شیشه‌ای فیت با محتوا روی عکس */
.cta-overlay {
  position: absolute;
  left: 50%;
  bottom: 12px;
  width: max-content;
  padding: 5px 6px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: 0 8px 24px rgba(17, 20, 23, 0.16);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  opacity: 0;
  transform: translate(-50%, 12px);
  transition: opacity 0.28s ease, transform 0.28s ease;
  z-index: 4;
}

.product-card:hover .cta-overlay,
.product-image-wrapper:hover .cta-overlay {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* دکمه‌های آیکونی کال‌تو‌اکشن */
.action-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.22s ease;
  padding: 0;
}

.action-icon-btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease, fill 0.2s ease, stroke 0.2s ease;
}

.action-icon-btn:hover svg {
  transform: scale(1.1);
}

/* دکمه سبد خرید با رنگ برند زرجینی (#111417 و #3E5A36) */
.cart-btn {
  background-color: #111417;
  color: #ffffff;
}

.cart-btn:hover {
  background-color: #3E5A36;
  box-shadow: 0 4px 12px rgba(62, 90, 54, 0.4);
}

/* دکمه علاقه‌مندی‌ها */
.wishlist-btn {
  background-color: rgba(255, 255, 255, 0.92);
  color: #111417;
  border: 1px solid rgba(226, 232, 240, 0.95);
}

.wishlist-btn:hover {
  background-color: #ffffff;
  color: #e11d48;
  border-color: #fecdd3;
}

.wishlist-btn.active,
.wishlist-btn.is-active {
  background-color: #fff1f2;
  color: #e11d48;
  border-color: #fecdd3;
}

.wishlist-btn.active svg,
.wishlist-btn.is-active svg {
  fill: #e11d48;
  stroke: #e11d48;
}

/* باکس اطلاعات پایین کارت */
.product-info {
  padding: 12px 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background-color: #ffffff;
  transition: all 0.3s ease;
}

body.dark-mode .product-info {
  background-color: #14181C;
}

/* افکت شیشه‌ای باکس اطلاعات هنگام هاور */
.product-card:hover .product-info {
  background: linear-gradient(135deg, rgba(244, 247, 243, 0.85), rgba(255, 255, 255, 0.65));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

body.dark-mode .product-card:hover .product-info {
  background: linear-gradient(135deg, rgba(30, 37, 43, 0.88), rgba(20, 24, 28, 0.75));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.product-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.product-title {
  font-size: 13.5px;
  font-weight: 800;
  color: #111417;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
}

body.dark-mode .product-title {
  color: #F3F4F6;
}

.product-category {
  font-size: 11.5px;
  font-weight: 600;
  background: rgba(62, 90, 54, 0.08);
  color: #3E5A36;
  padding: 2px 7px;
  border-radius: 6px;
  flex-shrink: 0;
}

body.dark-mode .product-category {
  background: rgba(140, 229, 99, 0.12);
  color: #8CE563;
}

.product-prices {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}

.old-price {
  font-size: 12px;
  font-weight: 600;
  color: #9CA3AF;
  text-decoration: line-through;
}

body.dark-mode .old-price {
  color: #6B7280;
}

.final-price {
  font-size: 14px;
  font-weight: 900;
  color: #3E5A36;
}

body.dark-mode .final-price {
  color: #8CE563;
}

.final-price span,
.old-price span {
  font-size: 11.5px;
  font-weight: 600;
  margin-right: 3px;
}

/* واکنش‌گرا (ریسپانسیو): دسکتاپ ۴ ستونه و موبایل دقیقاً ۲ ستونه بهینه‌شده بدون اسکرول افقی */
@media (max-width: 1023.98px) {
  .products-grid,
  .mz-product-grid,
  #mz-home-products-grid,
  #mz-wishlist-items-grid,
  #mz-related-slider-section .products-grid,
  #mz-related-slider-section .mz-product-grid,
  .mz-dk-related-section .products-grid,
  .mz-dk-related-section .mz-product-grid,
  .single-product .products-grid,
  .single-product .mz-product-grid,
  .mz-wishlist-page-wrapper .products-grid,
  .mz-wishlist-page-wrapper .mz-product-grid,
  .mz-shop-products-area .products-grid,
  .mz-shop-products-area .mz-product-grid,
  .tax-product_cat .products-grid,
  .tax-product_cat .mz-product-grid,
  .mz-woocommerce-archive ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px 12px !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
    margin-top: 14px !important;
    padding: 10px 2px 14px 2px !important;
  }
  .mz-grid-card-slot,
  .product-card {
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .cta-overlay {
    opacity: 1;
    transform: translate(-50%, 0);
    bottom: 7px !important;
    padding: 3.5px 4.5px !important;
    gap: 5px !important;
    border-radius: 10px !important;
  }
  .action-icon-btn {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    min-height: 28px !important;
    border-radius: 7px !important;
  }
  .action-icon-btn svg {
    width: 14px !important;
    height: 14px !important;
  }
}

@media (max-width: 640px) {
  .products-grid,
  .mz-product-grid,
  #mz-home-products-grid,
  #mz-wishlist-items-grid,
  #mz-related-slider-section .products-grid,
  #mz-related-slider-section .mz-product-grid,
  .mz-dk-related-section .products-grid,
  .mz-dk-related-section .mz-product-grid,
  .single-product .products-grid,
  .single-product .mz-product-grid,
  .mz-wishlist-page-wrapper .products-grid,
  .mz-wishlist-page-wrapper .mz-product-grid,
  .mz-shop-products-area .products-grid,
  .mz-shop-products-area .mz-product-grid,
  .tax-product_cat .products-grid,
  .tax-product_cat .mz-product-grid,
  .mz-woocommerce-archive ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
    margin-top: 12px !important;
    padding: 8px 2px 12px 2px !important;
  }
  .discount-badge {
    top: 8px !important;
    right: 8px !important;
    font-size: 10.5px !important;
    padding: 2px 7px !important;
  }
  .cta-overlay {
    opacity: 1;
    transform: translate(-50%, 0);
    bottom: 6px !important;
    padding: 3px 4px !important;
    gap: 4px !important;
    border-radius: 9px !important;
  }
  .action-icon-btn {
    width: 26px !important;
    height: 26px !important;
    min-width: 26px !important;
    min-height: 26px !important;
    border-radius: 7px !important;
  }
  .action-icon-btn svg {
    width: 13.5px !important;
    height: 13.5px !important;
  }
  .product-info {
    padding: 8px 6px 10px !important;
    gap: 4px !important;
  }
  .product-header {
    gap: 4px !important;
  }
  .product-title {
    font-size: 11.5px !important;
    line-height: 1.35 !important;
  }
  .product-category {
    font-size: 9.5px !important;
    padding: 1.5px 5px !important;
  }
  .product-prices {
    gap: 5px !important;
  }
  .final-price {
    font-size: 12px !important;
  }
  .old-price {
    font-size: 10.5px !important;
  }
  .final-price span,
  .old-price span {
    font-size: 10px !important;
  }
}

/* ==========================================================================
   ACCESSIBLE FOCUS (:focus-visible), TRANSPARENT MOBILE TAP HIGHLIGHT & CLEAN :active STATES
   ========================================================================== */
html,
body,
*,
*::before,
*::after,
a,
button,
[role="button"],
input,
select,
textarea,
label,
summary,
.product-card,
.mz-btn,
.action-icon-btn,
.mz-pure-header-icon,
.mz-archive-cat-chip,
.mz-side-cart-cat-chip {
  -webkit-tap-highlight-color: transparent;
}

a,
button,
[role="button"],
.mz-btn,
.action-icon-btn,
.mz-pure-header-icon,
.mz-archive-cat-chip,
.mz-side-cart-cat-chip,
.woocommerce a.button,
.woocommerce button.button {
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
}

/* حذف کادر آبی پیش‌فرض پس از کلیک ماوس یا لمس موبایل، بدون حذف کامل outline برای کیبورد */
a:focus:not(:focus-visible),
button:focus:not(:focus-visible),
[role="button"]:focus:not(:focus-visible),
[tabindex]:focus:not(:focus-visible),
.mz-btn:focus:not(:focus-visible),
.action-icon-btn:focus:not(:focus-visible),
.mz-pure-header-icon:focus:not(:focus-visible),
.product-card:focus:not(:focus-visible),
.woocommerce a.button:focus:not(:focus-visible),
.woocommerce button.button:focus:not(:focus-visible) {
  outline: none !important;
  box-shadow: none;
}

/* مدیریت Focus در دسکتاپ با :focus-visible برای ناوبری با کلید Tab */
a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible,
[tabindex]:not([tabindex="-1"]):focus-visible,
.mz-btn:focus-visible,
.action-icon-btn:focus-visible,
.mz-pure-header-icon:focus-visible,
.mz-archive-cat-chip:focus-visible,
.mz-side-cart-cat-chip:focus-visible,
.mz-dk-size-pill-btn:focus-visible,
.mz-dk-color-swatch-pill:focus-visible,
.mz-dk-tab-link:focus-visible,
.woocommerce a.button:focus-visible,
.woocommerce button.button:focus-visible {
  outline: 2px solid #3E5A36 !important;
  outline-offset: 2px !important;
  box-shadow: 0 0 0 4px rgba(62, 90, 54, 0.18);
}

body.dark-mode a:focus-visible,
body.dark-mode button:focus-visible,
body.dark-mode [role="button"]:focus-visible,
body.dark-mode [tabindex]:not([tabindex="-1"]):focus-visible,
body.dark-mode .mz-btn:focus-visible,
body.dark-mode .action-icon-btn:focus-visible,
body.dark-mode .woocommerce a.button:focus-visible,
body.dark-mode .woocommerce button.button:focus-visible {
  outline: 2px solid #8CE563 !important;
  outline-offset: 2px !important;
  box-shadow: 0 0 0 4px rgba(140, 229, 99, 0.2);
}

/* حالت :active تمیز و استاندارد برای دکمه‌ها در کلیک ماوس و لمس موبایل */
button:not(:disabled),
[role="button"]:not(:disabled),
.mz-btn,
.action-icon-btn,
.mz-pure-header-icon,
.mz-archive-cat-chip,
.mz-side-cart-cat-chip,
.mz-dk-size-pill-btn,
.mz-dk-color-swatch-pill,
.woocommerce a.button,
.woocommerce button.button {
  transition: transform 0.12s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
}

button:not(:disabled):active,
[role="button"]:not(:disabled):active,
.mz-btn:active,
.mz-pure-header-icon:active,
.mz-archive-cat-chip:active,
.mz-side-cart-cat-chip:active,
.mz-dk-size-pill-btn:active,
.mz-dk-color-swatch-pill:active,
.woocommerce a.button:active,
.woocommerce button.button:active {
  transform: scale(0.96);
}

.action-icon-btn:active {
  transform: scale(0.92) !important;
}

.cart-btn:active {
  background-color: #2D4327 !important;
  color: #ffffff !important;
}

.wishlist-btn:active {
  background-color: #ffe4e6 !important;
  color: #e11d48 !important;
  border-color: #fecdd3 !important;
}

/* ==========================================================================
   SNAPP! PAY COMPONENT — #d9263e BACKGROUND, COORDINATED BORDER & BLUE TEXT
   ========================================================================== */
.mz-snapppay-widget,
.mz-snapppay-surface {
  background: #d9263e !important;
  background-color: #d9263e !important;
  border: 1.5px solid #F43F5E !important;
  border-radius: 16px;
  padding: 12px 14px;
  color: #DBEAFE !important;
  box-shadow: 0 8px 20px -8px rgba(217, 38, 62, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  box-sizing: border-box;
  margin-top: 12px;
}

.mz-snapppay-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.mz-snapppay-title {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #BAE6FD !important;
  font-size: clamp(0.75rem, 1.4vw, 0.84rem);
  font-weight: 900;
  line-height: 1.4;
  text-shadow: 0 1px 2px rgba(80, 0, 15, 0.45);
}

.mz-snapppay-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 9px;
  border-radius: 8px;
  background: #B01C30 !important;
  border: 1px solid rgba(255, 255, 255, 0.32) !important;
  color: #BAE6FD !important;
  font-size: clamp(0.66rem, 1.1vw, 0.72rem);
  font-weight: 900;
  white-space: nowrap;
}

.mz-snapppay-text {
  margin: 0;
  color: #DBEAFE !important;
  font-size: clamp(0.72rem, 1.3vw, 0.8rem);
  font-weight: 700;
  line-height: 1.6;
  text-shadow: 0 1px 2px rgba(80, 0, 15, 0.4);
}

.mz-snapppay-text strong,
.mz-snapppay-widget strong,
.mz-snapppay-surface strong {
  color: #BAE6FD !important;
  font-weight: 900;
}

.mz-inst-segment--snapppay {
  background: #d9263e !important;
  background-color: #d9263e !important;
  border: 1.5px solid #F43F5E !important;
  color: #DBEAFE !important;
}

.mz-inst-segment--snapppay .mz-inst-badge {
  background: #B01C30 !important;
  border: 1px solid rgba(255, 255, 255, 0.32) !important;
  color: #BAE6FD !important;
}

.mz-inst-segment--snapppay .mz-inst-desc {
  color: #DBEAFE !important;
  background: transparent !important;
  font-weight: 900 !important;
  text-shadow: 0 1px 2px rgba(80, 0, 15, 0.45);
}

@media (max-width: 640px) {
  .mz-snapppay-widget,
  .mz-snapppay-surface {
    padding: 10px 12px;
    border-radius: 14px;
  }
  .mz-inst-segment--snapppay .mz-inst-desc {
    font-size: 0.7rem !important;
    line-height: 1.3 !important;
  }
}

