/*
 * قالب مدرن فیتنس (Modern Fitness) — نسخه ۳.۱ (لایهٔ موشن در mfc-motion.css)
 * تم روشن پیش‌فرض + دارک‌مود، راست‌چین، جلوه‌های سه‌بعدی و موشن
 */

/* ---------- متغیرها — تم روشن پیش‌فرض ---------- */
:root {
  --bg: #F5F6FA;
  --bg-2: #EDEFF5;
  --surface: #FFFFFF;
  --text: #15181F;
  --muted: #5A6170;
  --line: #E4E7EE;
  --accent: #F97316;
  --accent-2: #FB923C;
  --accent-ink: #C2410C;
  --accent-soft: rgba(249, 115, 22, .12);
  --grad-accent: linear-gradient(135deg, #F97316 0%, #FB923C 55%, #FDBA74 100%);
  --grad-text: linear-gradient(120deg, #EA580C, #F97316 45%, #FB923C);
  --shadow-1: 0 1px 2px rgba(21, 24, 31, .05), 0 4px 14px rgba(21, 24, 31, .07);
  --shadow-2: 0 4px 10px rgba(21, 24, 31, .08), 0 18px 44px rgba(21, 24, 31, .13);
  --radius: 18px;
  --radius-sm: 12px;
  --font: 'Vazirmatn', 'Tahoma', sans-serif;
  --header-h: 72px;
}
/* دارک‌مود — روی <html> با کلاس mfc-dark اعمال می‌شود */
html.mfc-dark {
  --bg: #0E1015;
  --bg-2: #14171F;
  --surface: #171B24;
  --text: #F2F4F8;
  --muted: #9AA3B2;
  --line: #262C38;
  --accent-soft: rgba(249, 115, 22, .16);
  --shadow-1: 0 1px 2px rgba(0, 0, 0, .4), 0 6px 18px rgba(0, 0, 0, .35);
  --shadow-2: 0 8px 22px rgba(0, 0, 0, .45), 0 24px 60px rgba(0, 0, 0, .5);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--accent-2); }
h1, h2, h3, h4 { line-height: 1.5; font-weight: 800; }
::selection { background: var(--accent); color: #fff; }
input, select, textarea { font-family: var(--font); }

/* ---------- چیدمان عمومی ---------- */
.mfc-wrap { max-width: 1240px; margin: 0 auto; padding: 0 22px; }
.mfc-section { padding: 84px 0; position: relative; }
.mfc-section-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.mfc-section-head h2 { font-size: clamp(26px, 4vw, 40px); margin: 0 0 10px; }
.mfc-section-head p { color: var(--muted); margin: 0; font-size: 17px; }

/* آشکارسازی هنگام اسکرول (JS کلاس می‌دهد) */
.js .mfc-reveal { opacity: 0; transform: translateY(28px); }
.js .mfc-reveal.mfc-in { opacity: 1; transform: none; transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .25, 1); }

/* ---------- دکمه‌ها ---------- */
.mfc-btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 26px; border-radius: 999px; border: 0; cursor: pointer;
  font-family: var(--font); font-size: 15.5px; font-weight: 700; line-height: 1.6;
  background: var(--grad-accent); color: #fff;
  box-shadow: 0 6px 18px rgba(249, 115, 22, .35);
  transition: transform .25s cubic-bezier(.2, .8, .25, 1), box-shadow .25s ease;
  position: relative; overflow: hidden;
}
.mfc-btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 12px 30px rgba(249, 115, 22, .45); }
.mfc-btn:active { transform: translateY(0); }
.mfc-btn.mfc-ghost { background: transparent; color: var(--text); border: 1.5px solid var(--line); box-shadow: none; }
.mfc-btn.mfc-ghost:hover { border-color: var(--accent); color: var(--accent); }
.mfc-btn.mfc-light { background: var(--surface); color: var(--text); box-shadow: var(--shadow-1); }
.mfc-btn.mfc-light:hover { color: var(--accent); }

/* ---------- برچسب‌ها ---------- */
.mfc-chip {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--accent-soft); color: var(--accent-ink);
  border: 1px solid rgba(249, 115, 22, .25);
  padding: 6px 16px; border-radius: 999px; font-size: 13.5px; font-weight: 700;
}
html.mfc-dark .mfc-chip { color: var(--accent-2); }
.mfc-chip::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--grad-accent); }

/* ============================================================
   هدر
   ============================================================ */
.mfc-topbar { background: var(--bg-2); border-bottom: 1px solid var(--line); font-size: 13.5px; }
.mfc-topbar .mfc-wrap { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 14px; }
.mfc-topbar a { color: var(--muted); }
.mfc-topbar a:hover { color: var(--accent); }
.mfc-topbar .mfc-tb-links { display: flex; gap: 18px; }
@media (max-width: 640px) { .mfc-topbar .mfc-tb-links { display: none; } }

.mfc-header {
  position: sticky; top: 0; z-index: 900;
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.mfc-header.mfc-scrolled { box-shadow: var(--shadow-1); }
.mfc-header .mfc-wrap { display: flex; align-items: center; gap: 26px; min-height: var(--header-h); }
.mfc-brand img { height: 44px; width: auto; display: block; }
.mfc-brand span { font-size: 20px; font-weight: 900; color: var(--text); }
.mfc-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.mfc-nav a {
  display: block; padding: 9px 15px; border-radius: 10px;
  color: var(--text); font-size: 15px; font-weight: 600;
  transition: background .2s ease, color .2s ease;
}
.mfc-nav a:hover { background: var(--accent-soft); color: var(--accent); }
.mfc-header-actions { display: flex; align-items: center; gap: 10px; margin-inline-start: auto; }
.mfc-icon-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--surface); color: var(--text); cursor: pointer; font-size: 18px;
  transition: border-color .2s ease, transform .2s ease, color .2s ease;
}
.mfc-icon-btn:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.mfc-cart-count {
  position: absolute; top: -7px; inset-inline-end: -7px;
  background: var(--grad-accent); color: #fff; border-radius: 999px;
  font-size: 11px; font-weight: 800; min-width: 19px; height: 19px;
  display: inline-flex; align-items: center; justify-content: center; padding: 0 5px;
}
.mfc-theme-toggle { width: 46px; font-size: 17px; }
.mfc-burger { display: none; }
@media (max-width: 1020px) {
  .mfc-nav { display: none; }
  .mfc-burger { display: inline-flex; }
}
.mfc-mobile-menu {
  display: none; border-top: 1px solid var(--line); background: var(--surface);
  padding: 14px 22px 20px;
}
.mfc-mobile-menu.mfc-open { display: block; animation: mfcFadeDown .3s ease; }
.mfc-mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mfc-mobile-menu a { display: block; padding: 11px 6px; color: var(--text); font-weight: 600; border-bottom: 1px dashed var(--line); }
@keyframes mfcFadeDown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ============================================================
   هیرو — چیدمان دوستونه با ویژوال سه‌بعدی
   ============================================================ */
.mfc-hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 480px at 88% -10%, var(--accent-soft), transparent 65%),
    radial-gradient(700px 420px at -8% 110%, rgba(59, 130, 246, .08), transparent 60%),
    var(--bg);
  padding: 72px 0 90px;
}
.mfc-hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center;
}
@media (max-width: 980px) { .mfc-hero-grid { grid-template-columns: 1fr; } }
.mfc-hero-copy .mfc-chip { margin-bottom: 18px; }
.mfc-hero-title { font-size: clamp(30px, 5.4vw, 56px); font-weight: 900; margin: 0 0 18px; line-height: 1.45; }
.mfc-hero-title .mfc-grad-text {
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent;
  display: inline-block; animation: mfcGradShift 6s ease-in-out infinite alternate; background-size: 160% 160%;
}
@keyframes mfcGradShift { from { background-position: 0% 40%; } to { background-position: 100% 60%; } }
.mfc-hero-sub { color: var(--muted); font-size: clamp(15.5px, 2vw, 18.5px); margin: 0 0 28px; max-width: 540px; }
.mfc-hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.mfc-hero-stats { display: flex; gap: 34px; flex-wrap: wrap; }
.mfc-stat b { display: block; font-size: 26px; font-weight: 900; color: var(--accent); }
.mfc-stat span { color: var(--muted); font-size: 14px; }

/* ویژوال هیرو */
.mfc-hero-in { perspective: 1200px; }
.mfc-hv-card {
  position: relative; border-radius: 26px; overflow: hidden; transform-style: preserve-3d;
  transform: rotateY(-9deg) rotateX(3deg);
  box-shadow: var(--shadow-2); border: 1px solid var(--line);
  animation: mfcHeroCard 9s ease-in-out infinite alternate;
}
@keyframes mfcHeroCard {
  from { transform: rotateY(-9deg) rotateX(3deg) translateY(0); }
  to { transform: rotateY(-5deg) rotateX(1.5deg) translateY(-14px); }
}
.mfc-hv-card img { display: block; width: 100%; height: 440px; object-fit: cover; }
.mfc-hv-chip {
  position: absolute; display: flex; align-items: center; gap: 9px;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid var(--line); border-radius: 14px; padding: 10px 15px;
  font-size: 13.5px; font-weight: 700; box-shadow: var(--shadow-1);
  animation: mfcFloat 5.5s ease-in-out infinite;
}
.mfc-hv-chip .mfc-hv-ico { width: 34px; height: 34px; border-radius: 10px; background: var(--accent-soft); display: grid; place-items: center; font-size: 17px; }
.mfc-hv-chip small { display: block; color: var(--muted); font-weight: 500; }
.mfc-hv-chip.c1 { top: 22px; inset-inline-start: 22px; animation-delay: .4s; }
.mfc-hv-chip.c2 { bottom: 96px; inset-inline-end: 18px; animation-delay: 1.6s; }
.mfc-hv-chip.c3 { bottom: 18px; inset-inline-start: 26px; animation-delay: 2.6s; }
@keyframes mfcFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-13px); } }
.mfc-blob { position: absolute; border-radius: 50%; filter: blur(58px); opacity: .5; pointer-events: none; z-index: -1; animation: mfcFloat 8s ease-in-out infinite; }
.mfc-blob.b1 { width: 260px; height: 260px; background: rgba(249, 115, 22, .4); top: -60px; inset-inline-end: -40px; }
.mfc-blob.b2 { width: 220px; height: 220px; background: rgba(59, 130, 246, .3); bottom: -70px; inset-inline-start: -60px; animation-delay: 2s; }
.mfc-blob.b3 { width: 160px; height: 160px; background: rgba(251, 146, 60, .35); top: 42%; inset-inline-start: 12%; animation-delay: 4s; }

/* ---------- نوار مارکی برندها ---------- */
.mfc-marquee { border-block: 1px solid var(--line); background: var(--surface); padding: 18px 0; overflow: hidden; }
.mfc-marquee-track { display: flex; gap: 12px; width: max-content; animation: mfcScroll 26s linear infinite; }
.mfc-marquee:hover .mfc-marquee-track { animation-play-state: paused; }
.mfc-marquee.mfc-marquee-rev .mfc-marquee-track { animation-direction: reverse; }
@keyframes mfcScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.mfc-marquee .mfc-ni {
  display: inline-flex; align-items: center; gap: 9px; white-space: nowrap;
  border: 1px solid var(--line); background: var(--bg); border-radius: 999px;
  padding: 9px 20px; font-size: 14.5px; font-weight: 700; color: var(--muted);
}
.mfc-marquee .mfc-ni::before { content: '◆'; color: var(--accent); font-size: 11px; }

/* ============================================================
   کارت‌های سه‌بعدی (tilt)
   ============================================================ */
.mfc-tilt { transform-style: preserve-3d; transition: transform .5s cubic-bezier(.2, .8, .25, 1), box-shadow .5s ease, border-color .3s ease; will-change: transform; }
.mfc-tilt:hover { box-shadow: var(--shadow-2); border-color: rgba(249, 115, 22, .4); }
.mfc-tilt .mfc-tilt-in { transform: translateZ(26px); }
.mfc-tilt-glow {
  position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%), rgba(249, 115, 22, .14), transparent 60%);
  transition: opacity .35s ease;
}
.mfc-tilt:hover .mfc-tilt-glow { opacity: 1; }

/* کارت‌های خدمات */
.mfc-cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.mfc-cards4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 1020px) { .mfc-cards3, .mfc-cards4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .mfc-cards3, .mfc-cards4 { grid-template-columns: 1fr; } }
.mfc-card {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 26px; overflow: hidden;
}
.mfc-card-ico {
  width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center;
  background: var(--accent-soft); font-size: 26px; margin-bottom: 18px;
  transition: transform .4s cubic-bezier(.2, .8, .25, 1);
}
.mfc-card:hover .mfc-card-ico { transform: translateZ(40px) scale(1.08) rotate(-4deg); }
.mfc-card h3 { margin: 0 0 9px; font-size: 19px; }
.mfc-card p { margin: 0; color: var(--muted); font-size: 14.8px; }
.mfc-card .mfc-card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 700; font-size: 14.5px; }

/* ============================================================
   دسته‌های فروشگاه
   ============================================================ */
.mfc-cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 1020px) { .mfc-cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .mfc-cat-grid { grid-template-columns: 1fr; } }
.mfc-cat {
  position: relative; border-radius: var(--radius); overflow: hidden; display: block;
  border: 1px solid var(--line); background: var(--surface); transform-style: preserve-3d;
  transition: transform .5s cubic-bezier(.2, .8, .25, 1), box-shadow .5s ease;
}
.mfc-cat:hover { box-shadow: var(--shadow-2); }
.mfc-cat img { width: 100%; height: 220px; object-fit: cover; display: block; transition: transform .7s cubic-bezier(.2, .8, .25, 1); }
.mfc-cat:hover img { transform: scale(1.07); }
.mfc-cat-body { position: absolute; inset-inline: 0; bottom: 0; padding: 40px 18px 16px; background: linear-gradient(to top, rgba(10, 12, 16, .82), transparent); color: #fff; }
.mfc-cat-body b { font-size: 17.5px; }
.mfc-cat-body span { display: block; font-size: 13px; opacity: .85; }

/* ============================================================
   بنرهای خدمات (چیدمان زیگزاگی)
   ============================================================ */
.mfc-banner { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; margin-bottom: 76px; }
.mfc-banner:last-child { margin-bottom: 0; }
.mfc-banner.mfc-banner-flip .mfc-banner-media { order: 2; }
@media (max-width: 900px) { .mfc-banner { grid-template-columns: 1fr; gap: 26px; margin-bottom: 56px; } .mfc-banner.mfc-banner-flip .mfc-banner-media { order: 0; } }
.mfc-banner-media { border-radius: 22px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-2); position: relative; transform-style: preserve-3d; }
.mfc-banner-media img { display: block; width: 100%; height: 340px; object-fit: cover; transition: transform .8s cubic-bezier(.2, .8, .25, 1); }
.mfc-banner:hover .mfc-banner-media img { transform: scale(1.05); }
.mfc-banner-media .mfc-banner-tag {
  position: absolute; top: 16px; inset-inline-start: 16px;
  background: rgba(15, 17, 21, .72); color: #fff; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border-radius: 10px; padding: 7px 14px; font-size: 13px; font-weight: 700;
}
.mfc-banner-copy h3 { font-size: clamp(22px, 3vw, 30px); margin: 12px 0 12px; }
.mfc-banner-copy p { color: var(--muted); margin: 0 0 20px; }
.mfc-banner-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
@media (max-width: 480px) { .mfc-banner-list { grid-template-columns: 1fr; } }
.mfc-banner-list li { display: flex; gap: 9px; align-items: flex-start; font-size: 14.6px; color: var(--muted); }
.mfc-banner-list li::before { content: '✓'; color: var(--accent); font-weight: 900; flex-shrink: 0; }

/* ============================================================
   محصولات ووکامرس
   ============================================================ */
ul.products, .woocommerce ul.products { display: grid !important; grid-template-columns: repeat(4, 1fr); gap: 22px; margin: 0 !important; padding: 0 !important; list-style: none; }
@media (max-width: 1020px) { ul.products, .woocommerce ul.products { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { ul.products, .woocommerce ul.products { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
.woocommerce ul.products li.product, ul.products li.product {
  width: auto !important; float: none !important; margin: 0 !important;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; position: relative;
  transition: transform .45s cubic-bezier(.2, .8, .25, 1), box-shadow .45s ease, border-color .3s ease;
}
.woocommerce ul.products li.product:hover, ul.products li.product:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); border-color: rgba(249, 115, 22, .35); }
.woocommerce ul.products li.product img, ul.products li.product img { width: 100%; height: 240px; object-fit: cover; margin: 0 !important; transition: transform .6s cubic-bezier(.2, .8, .25, 1); }
.woocommerce ul.products li.product:hover img, ul.products li.product:hover img { transform: scale(1.06); }
.woocommerce ul.products li.product .woocommerce-loop-product__title, ul.products li.product .woocommerce-loop-product__title { font-size: 16px !important; font-weight: 700; padding: 14px 16px 0 !important; color: var(--text); }
.woocommerce ul.products li.product .price, ul.products li.product .price { color: var(--accent) !important; font-weight: 800 !important; font-size: 16.5px !important; padding: 4px 16px 10px !important; margin: 0 !important; }
.woocommerce ul.products li.product .price del { color: var(--muted) !important; font-weight: 500; opacity: .75; }
.woocommerce ul.products li.product .price ins { text-decoration: none; }
.woocommerce ul.products li.product .button, ul.products li.product .button {
  margin: 4px 16px 16px !important; border-radius: 999px !important; text-align: center;
  background: var(--grad-accent) !important; color: #fff !important; font-weight: 700 !important; padding: 10px 18px !important;
  transition: transform .25s ease, box-shadow .25s ease;
}
.woocommerce ul.products li.product .button:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(249, 115, 22, .4); }
.woocommerce span.onsale, span.onsale {
  position: absolute; top: 14px; inset-inline-start: 14px; z-index: 5;
  background: var(--grad-accent) !important; color: #fff !important; border-radius: 999px !important;
  font-size: 12.5px !important; font-weight: 800; padding: 5px 14px !important; min-height: 0 !important; min-width: 0 !important; line-height: 1.7 !important; margin: 0 !important;
}
.mfc-loop-tools { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.mfc-search-form { display: flex; gap: 8px; flex: 1; max-width: 460px; }
.mfc-search-form input[type="search"], .mfc-input {
  width: 100%; padding: 12px 18px; border-radius: 12px; border: 1.5px solid var(--line);
  background: var(--surface); color: var(--text); font-size: 15px; transition: border-color .2s ease, box-shadow .2s ease;
}
.mfc-search-form input:focus, .mfc-input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.woocommerce .woocommerce-ordering select { padding: 10px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface); color: var(--text); font-family: var(--font); }
.woocommerce .woocommerce-result-count { color: var(--muted); }

/* صفحهٔ تک‌محصول */
.woocommerce div.product .woocommerce-tabs ul.tabs li { border: 1px solid var(--line); background: var(--surface); border-radius: 10px 10px 0 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { background: var(--accent-soft); border-color: var(--accent); }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { color: var(--text); font-weight: 700; }
.woocommerce div.product .woocommerce-tabs .panel { border: 1px solid var(--line); border-radius: 0 var(--radius) var(--radius) var(--radius); background: var(--surface); padding: 26px; }
.woocommerce div.product form.cart .button, .woocommerce #review_form #respond input#submit, .woocommerce a.button, .woocommerce button.button {
  border-radius: 999px !important; font-family: var(--font) !important;
}
.woocommerce div.product form.cart .button { background: var(--grad-accent) !important; color: #fff !important; font-weight: 800 !important; padding: 14px 34px !important; box-shadow: 0 8px 22px rgba(249, 115, 22, .35); }
.woocommerce div.product p.price { color: var(--accent) !important; font-weight: 900; font-size: 24px !important; }
.mfc-points-note {
  margin: 18px 0 0; padding: 14px 18px; border-radius: 14px; font-size: 14.5px;
  background: var(--accent-soft); border: 1px dashed rgba(249, 115, 22, .4); color: var(--text);
}

/* دکمهٔ مشاهده سریع و علاقه‌مندی روی کارت */
.mfc-qv {
  position: absolute; top: 14px; inset-inline-end: 14px; z-index: 5;
  width: 38px; height: 38px; border-radius: 11px; border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 92%, transparent); color: var(--text);
  display: grid; place-items: center; cursor: pointer; font-size: 17px;
  opacity: 0; transform: translateY(-6px); transition: all .3s ease;
}
ul.products li.product:hover .mfc-qv { opacity: 1; transform: none; }
.mfc-qv:hover { color: var(--accent); border-color: var(--accent); }

/* مودال مشاهده سریع */
.mfc-modal-back {
  position: fixed; inset: 0; z-index: 1200; display: none; align-items: center; justify-content: center;
  background: rgba(10, 12, 16, .6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); padding: 22px;
}
.mfc-modal-back.mfc-open { display: flex; animation: mfcFadeIn .25s ease; }
@keyframes mfcFadeIn { from { opacity: 0; } to { opacity: 1; } }
.mfc-modal {
  background: var(--surface); border: 1px solid var(--line); border-radius: 22px;
  max-width: 660px; width: 100%; max-height: 86vh; overflow: auto; padding: 30px; position: relative;
  animation: mfcPop .35s cubic-bezier(.2, .8, .25, 1);
}
@keyframes mfcPop { from { opacity: 0; transform: translateY(24px) scale(.97); } to { opacity: 1; transform: none; } }
.mfc-modal-close { position: absolute; top: 14px; inset-inline-end: 14px; width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--text); cursor: pointer; font-size: 16px; }
.mfc-modal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: center; }
@media (max-width: 560px) { .mfc-modal-grid { grid-template-columns: 1fr; } }
.mfc-modal-grid img { border-radius: 14px; width: 100%; height: 240px; object-fit: cover; }
.mfc-modal-grid h3 { margin: 0 0 8px; font-size: 21px; }
.mfc-modal-price { color: var(--accent); font-weight: 900; font-size: 20px; margin-bottom: 16px; }
.mfc-modal-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }

/* ============================================================
   پلن‌های باشگاه مشتریان
   ============================================================ */
.mfc-tier-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; align-items: stretch; }
@media (max-width: 1020px) { .mfc-tier-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .mfc-tier-grid { grid-template-columns: 1fr; } }
.mfc-tier {
  position: relative; border-radius: 20px; padding: 28px 22px; background: var(--surface);
  border: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px;
  transition: transform .45s cubic-bezier(.2, .8, .25, 1), box-shadow .45s ease;
}
.mfc-tier:hover { transform: translateY(-8px); box-shadow: var(--shadow-2); }
.mfc-tier.mfc-tier-hot { border: 2px solid var(--accent); box-shadow: 0 14px 40px rgba(249, 115, 22, .22); }
.mfc-tier-ico { font-size: 34px; margin-bottom: 6px; }
.mfc-tier h3 { margin: 0; font-size: 20px; }
.mfc-tier-rule { color: var(--muted); font-size: 14px; min-height: 44px; }
.mfc-tier-rate { font-size: 26px; font-weight: 900; color: var(--accent); }
.mfc-tier-rate small { font-size: 13px; color: var(--muted); font-weight: 600; }
.mfc-tier ul { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 7px; }
.mfc-tier li { font-size: 13.8px; color: var(--muted); display: flex; gap: 8px; }
.mfc-tier li::before { content: '✦'; color: var(--accent); }
.mfc-tier .mfc-tier-badge { position: absolute; top: -13px; inset-inline-start: 50%; transform: translateX(-50%); background: var(--grad-accent); color: #fff; border-radius: 999px; font-size: 12px; font-weight: 800; padding: 4px 16px; white-space: nowrap; }

/* ---------- نوار پیشرفت امتیاز ---------- */
.mfc-progress { background: var(--bg-2); border-radius: 999px; height: 12px; overflow: hidden; border: 1px solid var(--line); }
.mfc-progress-bar { height: 100%; border-radius: 999px; background: var(--grad-accent); transition: width 1.2s cubic-bezier(.2, .8, .25, 1); position: relative; }
.mfc-progress-bar::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35), transparent);
  animation: mfcShimmer 2.2s linear infinite;
}
@keyframes mfcShimmer { from { transform: translateX(-100%); } to { transform: translateX(100%); } }

/* ---------- جدول سطوح ---------- */
.mfc-tier-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table.mfc-tier-table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 640px; }
.mfc-tier-table th, .mfc-tier-table td { padding: 14px 18px; text-align: right; border-bottom: 1px solid var(--line); }
.mfc-tier-table thead th { background: var(--bg-2); font-size: 13.5px; color: var(--muted); }
.mfc-tier-table tbody tr:last-child td { border-bottom: 0; }
.mfc-tier-table .mfc-rate { color: var(--accent); font-weight: 800; }

/* ============================================================
   فرم‌ها (خدمات، مربی، تماس)
   ============================================================ */
.mfc-form-card { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 34px; box-shadow: var(--shadow-1); }
@media (max-width: 620px) { .mfc-form-card { padding: 22px; } }
.mfc-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
@media (max-width: 620px) { .mfc-form-grid { grid-template-columns: 1fr; } }
.mfc-field { display: flex; flex-direction: column; gap: 7px; }
.mfc-field.mfc-field-full { grid-column: 1 / -1; }
.mfc-field label { font-size: 13.8px; font-weight: 700; color: var(--text); }
.mfc-field label .mfc-req { color: var(--accent); }
.mfc-field input, .mfc-field select, .mfc-field textarea {
  padding: 12px 16px; border-radius: 12px; border: 1.5px solid var(--line);
  background: var(--bg); color: var(--text); font-size: 15px; transition: border-color .2s ease, box-shadow .2s ease; width: 100%;
}
.mfc-field input:focus, .mfc-field select:focus, .mfc-field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.mfc-field textarea { min-height: 120px; resize: vertical; }
.mfc-field .mfc-hint { font-size: 12.5px; color: var(--muted); }
.mfc-fieldset { border: 1px dashed var(--line); border-radius: 16px; padding: 20px; margin: 0; }
.mfc-fieldset legend { font-size: 14.5px; font-weight: 800; padding: 0 10px; color: var(--accent); }
.mfc-radio-row { display: flex; gap: 12px; flex-wrap: wrap; }
.mfc-radio-row label {
  display: inline-flex; align-items: center; gap: 7px; cursor: pointer;
  border: 1.5px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: 14px; font-weight: 600;
  transition: border-color .2s ease, background .2s ease;
}
.mfc-radio-row label:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-ink); }
html.mfc-dark .mfc-radio-row label:has(input:checked) { color: var(--accent-2); }
.mfc-radio-row input { accent-color: var(--accent); }

/* آپلود فایل */
.mfc-upload {
  border: 2px dashed var(--line); border-radius: 16px; padding: 26px 18px; text-align: center;
  cursor: pointer; transition: border-color .25s ease, background .25s ease; display: block;
}
.mfc-upload:hover, .mfc-upload.mfc-drag { border-color: var(--accent); background: var(--accent-soft); }
.mfc-upload-ico { font-size: 30px; margin-bottom: 6px; }
.mfc-upload b { font-size: 14.5px; }
.mfc-upload .mfc-hint { display: block; margin-top: 4px; }
.mfc-upload input[type="file"] { display: none; }
.mfc-file-list { display: grid; gap: 8px; margin-top: 12px; }
.mfc-file-item { display: flex; align-items: center; gap: 10px; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 9px 14px; font-size: 13.5px; }
.mfc-file-thumb { width: 44px; height: 44px; border-radius: 9px; object-fit: cover; border: 1px solid var(--line); }
.mfc-file-x { margin-inline-start: auto; width: 28px; height: 28px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); color: var(--text); cursor: pointer; font-size: 13px; }
.mfc-file-x:hover { color: #EF4444; border-color: #EF4444; }

/* انتخابگر چندبخشی (روبه‌رو/بغل/پشت) */
.mfc-slot-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 560px) { .mfc-slot-row { grid-template-columns: 1fr; } }
.mfc-photo-slot { border: 2px dashed var(--line); border-radius: 16px; padding: 18px 12px; text-align: center; cursor: pointer; transition: border-color .25s ease, background .25s ease; }
.mfc-photo-slot:hover, .mfc-photo-slot.mfc-has { border-color: var(--accent); background: var(--accent-soft); }
.mfc-photo-slot .mfc-ps-ico { font-size: 28px; }
.mfc-photo-slot b { display: block; font-size: 14.5px; margin-top: 6px; }
.mfc-photo-slot .mfc-ps-hint { font-size: 12px; color: var(--muted); }
.mfc-photo-slot.mfc-has .mfc-ps-hint { color: var(--accent); font-weight: 700; }
.mfc-photo-slot img.mfc-ps-prev { width: 74px; height: 74px; border-radius: 50%; object-fit: cover; margin: 8px auto 0; display: block; border: 3px solid var(--accent); }

/* خروجی فرم */
.mfc-form-ok { display: none; text-align: center; padding: 30px 10px; }
.mfc-form-ok.mfc-show { display: block; animation: mfcPop .4s cubic-bezier(.2, .8, .25, 1); }
.mfc-form-ok .mfc-ok-ico { width: 74px; height: 74px; margin: 0 auto 16px; border-radius: 50%; background: var(--grad-accent); color: #fff; font-size: 34px; display: grid; place-items: center; animation: mfcFloat 4s ease-in-out infinite; }
.mfc-form-ok h3 { margin: 0 0 8px; }
.mfc-form-ok p { color: var(--muted); margin: 0 0 6px; }
.mfc-form-ok .mfc-track-code { font-size: 22px; font-weight: 900; color: var(--accent); letter-spacing: 1px; direction: ltr; }

/* خطاها */
.mfc-form-err { display: none; background: rgba(239, 68, 68, .1); border: 1px solid rgba(239, 68, 68, .4); color: #B91C1C; border-radius: 12px; padding: 12px 18px; margin-bottom: 16px; font-size: 14px; }
html.mfc-dark .mfc-form-err { color: #FCA5A5; }
.mfc-form-err.mfc-show { display: block; }
.mfc-field.mfc-invalid input, .mfc-field.mfc-invalid select, .mfc-field.mfc-invalid textarea { border-color: #EF4444; }
.mfc-field .mfc-field-err { display: none; color: #DC2626; font-size: 12.5px; font-weight: 600; }
html.mfc-dark .mfc-field .mfc-field-err { color: #F87171; }
.mfc-field.mfc-invalid .mfc-field-err { display: block; }

/* ---------- آکاردئون ---------- */
.mfc-acc { display: grid; gap: 12px; }
.mfc-acc-item { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.mfc-acc-head {
  width: 100%; text-align: right; background: transparent; border: 0; cursor: pointer;
  padding: 18px 22px; font-family: var(--font); font-size: 15.8px; font-weight: 700; color: var(--text);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.mfc-acc-head::after { content: '+'; color: var(--accent); font-size: 20px; transition: transform .3s ease; }
.mfc-acc-item.mfc-open .mfc-acc-head::after { transform: rotate(45deg); }
.mfc-acc-body { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.mfc-acc-body > div { padding: 0 22px 20px; color: var(--muted); font-size: 14.8px; }

/* ============================================================
   تماس با ما
   ============================================================ */
.mfc-contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: start; }
@media (max-width: 940px) { .mfc-contact-grid { grid-template-columns: 1fr; } }
.mfc-contact-cards { display: grid; gap: 14px; }
.mfc-ccard { display: flex; gap: 15px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 20px; transition: transform .3s ease, border-color .3s ease; }
.mfc-ccard:hover { transform: translateY(-3px); border-color: rgba(249, 115, 22, .4); }
.mfc-ccard .mfc-cc-ico { width: 46px; height: 46px; border-radius: 13px; background: var(--accent-soft); display: grid; place-items: center; font-size: 20px; flex-shrink: 0; }
.mfc-ccard b { display: block; margin-bottom: 3px; font-size: 15.5px; }
.mfc-ccard p { margin: 0; color: var(--muted); font-size: 14.3px; }
.mfc-ccard a { font-weight: 700; }
.mfc-map-card { border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.mfc-map-card iframe { display: block; width: 100%; height: 380px; border: 0; filter: saturate(.92); }
html.mfc-dark .mfc-map-card iframe { filter: invert(.9) hue-rotate(180deg) saturate(.75); }
.mfc-map-foot { display: flex; gap: 10px; flex-wrap: wrap; padding: 15px 18px; align-items: center; justify-content: space-between; }
.mfc-map-foot b { font-size: 14.5px; }

/* ============================================================
   فوتر
   ============================================================ */
.mfc-footer { background: var(--bg-2); border-top: 1px solid var(--line); margin-top: 60px; }
.mfc-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 34px; padding: 54px 0 38px; }
@media (max-width: 940px) { .mfc-footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .mfc-footer-grid { grid-template-columns: 1fr; } }
.mfc-footer h4 { font-size: 16px; margin: 0 0 14px; }
.mfc-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.mfc-footer li a, .mfc-footer p { color: var(--muted); font-size: 14.3px; margin: 0; }
.mfc-footer li a:hover { color: var(--accent); }
.mfc-footer .mfc-f-social { display: flex; gap: 10px; margin-top: 16px; }
.mfc-footer .mfc-f-social a {
  width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface);
  display: grid; place-items: center; color: var(--text); font-size: 17px; transition: all .25s ease;
}
.mfc-footer .mfc-f-social a:hover { background: var(--grad-accent); color: #fff; border-color: transparent; transform: translateY(-3px); }
.mfc-f-trust { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.mfc-f-trust span { border: 1px dashed var(--line); border-radius: 10px; padding: 7px 14px; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.mfc-copy { border-top: 1px solid var(--line); padding: 18px 0; text-align: center; color: var(--muted); font-size: 13.5px; }
.mfc-copy b { color: var(--accent); }

/* ============================================================
   دکمهٔ بازگشت به بالا + پشتیبانی شناور
   ============================================================ */
.mfc-to-top {
  position: fixed; bottom: 26px; inset-inline-start: 26px; z-index: 800;
  width: 48px; height: 48px; border-radius: 14px; border: 1px solid var(--line);
  background: var(--surface); color: var(--text); font-size: 19px; cursor: pointer;
  box-shadow: var(--shadow-1); opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: all .35s ease;
}
.mfc-to-top.mfc-show { opacity: 1; visibility: visible; transform: none; }
.mfc-to-top:hover { background: var(--grad-accent); color: #fff; border-color: transparent; }
.mfc-fab { position: fixed; bottom: 26px; inset-inline-end: 26px; z-index: 800; display: grid; gap: 10px; }
.mfc-fab a {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 21px;
  background: var(--grad-accent); color: #fff; box-shadow: 0 10px 26px rgba(249, 115, 22, .4);
  transition: transform .25s ease;
}
.mfc-fab a:hover { transform: scale(1.1); color: #fff; }
.mfc-fab a.mfc-fab-ig { background: linear-gradient(135deg, #833AB4, #FD1D1D 55%, #FCAF45); box-shadow: 0 10px 26px rgba(225, 48, 108, .35); }
.mfc-fab a.mfc-fab-wa { background: #25D366; box-shadow: 0 10px 26px rgba(37, 211, 102, .35); }

/* ---------- سرصفحهٔ صفحات داخلی ---------- */
.mfc-page-head { background: var(--bg-2); border-bottom: 1px solid var(--line); padding: 46px 0; text-align: center; }
.mfc-page-head h1 { margin: 0 0 8px; font-size: clamp(26px, 4vw, 38px); }
.mfc-page-head p { margin: 0; color: var(--muted); }
.mfc-breadcrumb { display: flex; gap: 8px; justify-content: center; font-size: 13.5px; color: var(--muted); margin-bottom: 10px; }
.mfc-breadcrumb a { color: var(--muted); }
.woocommerce-breadcrumb { color: var(--muted) !important; font-size: 13.5px !important; margin-bottom: 20px !important; }
.woocommerce-breadcrumb a { color: var(--muted) !important; }

/* ---------- صفحات ووکامرس ---------- */
.woocommerce-message, .woocommerce-info, .woocommerce-error {
  border-radius: 14px !important; border: 1px solid var(--line) !important;
  background: var(--surface) !important; color: var(--text) !important;
  font-family: var(--font) !important; padding: 14px 20px !important;
}
.woocommerce-message { border-top-color: #22C55E !important; }
.woocommerce-error { border-top-color: #EF4444 !important; }
.woocommerce-info { border-top-color: var(--accent) !important; }
.woocommerce .button, .woocommerce a.button.wc-forward { font-family: var(--font) !important; }
.woocommerce table.shop_table { border-radius: 16px !important; border: 1px solid var(--line) !important; background: var(--surface); font-family: var(--font); }
.woocommerce-cart table.cart td.actions .coupon .input-text { border-radius: 10px !important; border: 1.5px solid var(--line) !important; padding: 10px 14px !important; font-family: var(--font) !important; }
.woocommerce .quantity .qty { border: 1.5px solid var(--line); border-radius: 10px; padding: 8px; background: var(--surface); color: var(--text); font-family: var(--font); }
.woocommerce-checkout #payment { background: var(--surface) !important; border-radius: 16px !important; border: 1px solid var(--line) !important; }
.select2-container--default .select2-selection--single { border: 1.5px solid var(--line) !important; border-radius: 12px !important; height: 46px !important; }
.select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 43px !important; padding-right: 14px !important; font-family: var(--font); }

/* ---------- حساب کاربری ---------- */
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; display: grid; gap: 8px; }
.woocommerce-account .woocommerce-MyAccount-navigation li a {
  display: block; padding: 12px 18px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font-weight: 600; font-size: 14.5px;
}
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a, .woocommerce-account .woocommerce-MyAccount-navigation li a:hover { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select {
  border: 1.5px solid var(--line) !important; border-radius: 12px !important; padding: 11px 14px !important; background: var(--bg) !important; color: var(--text) !important; font-family: var(--font) !important;
}
.woocommerce form .form-row label { font-weight: 700; font-size: 13.5px; }

/* ---------- پنل داشبورد امتیاز ---------- */
.mfc-points-panel { display: grid; grid-template-columns: 300px 1fr; gap: 26px; align-items: start; margin-top: 20px; }
@media (max-width: 820px) { .mfc-points-panel { grid-template-columns: 1fr; } }
.mfc-points-ring-card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 30px; text-align: center; }
.mfc-points-ring { width: 150px; height: 150px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--accent) calc(var(--p, 0) * 1%), var(--bg-2) 0); transition: background 1s ease; }
.mfc-points-ring > div { width: 118px; height: 118px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; }
.mfc-points-ring b { font-size: 34px; font-weight: 900; color: var(--accent); line-height: 1; }
.mfc-points-ring small { color: var(--muted); font-size: 12.5px; }
.mfc-points-history { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 26px; }

/* ---------- صفحهٔ عضویت (پلن‌های باشگاه) ---------- */
.mfc-membership-hero-note { text-align: center; color: var(--muted); max-width: 620px; margin: -26px auto 40px; font-size: 15.5px; }

/* ---------- پوشاک — شورت‌کد فروشگاه ---------- */
.mfc-store-hero {
  position: relative; border-radius: 26px; overflow: hidden; margin-bottom: 40px;
  background: linear-gradient(120deg, #1A1D26 0%, #232837 60%, #2B3040 100%);
  color: #fff; padding: 46px 40px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 30px; align-items: center;
}
@media (max-width: 820px) { .mfc-store-hero { grid-template-columns: 1fr; padding: 34px 24px; } }
.mfc-store-hero h2 { font-size: clamp(24px, 3.6vw, 38px); margin: 10px 0 12px; }
.mfc-store-hero p { color: #C9CEDA; margin: 0 0 22px; max-width: 480px; }
.mfc-store-hero img { border-radius: 18px; height: 300px; width: 100%; object-fit: cover; box-shadow: 0 24px 60px rgba(0, 0, 0, .45); transform: rotate(2.5deg); transition: transform .5s ease; }
.mfc-store-hero img:hover { transform: rotate(0deg) scale(1.02); }
.mfc-store-hero .mfc-sh-ico { font-size: 30px; }

/* ---------- موشن‌ها و ریسپانسیو نهایی ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
@media print {
  .mfc-header, .mfc-topbar, .mfc-footer, .mfc-fab, .mfc-to-top { display: none !important; }
}

/* ============================================================
   نسخهٔ ۵.۲ — برند‌نامهٔ هدر، گالری مربی، مستندات آزمایشی
   ============================================================ */

/* ---------- برند‌نامه زیر لوگو (جای نوار بالای حذف‌شده) ---------- */
.mfc-brand { display: flex; align-items: center; gap: 10px; }
.mfc-brand img { display: block; }
.mfc-brand-sub { display: flex; flex-direction: column; gap: 1px; margin-inline-start: 2px; line-height: 1.35; }
.mfc-brand-sub b { font-size: 15.5px; font-weight: 900; letter-spacing: .2px; background: var(--grad-text, linear-gradient(90deg,#F97316,#FDBA74)); -webkit-background-clip: text; background-clip: text; color: transparent; white-space: nowrap; }
.mfc-brand-sub span { font-size: 11px; color: var(--muted); white-space: nowrap; }
@media (max-width: 1120px) { .mfc-brand-sub { display: none; } }

/* ---------- آیکون‌های SVG برند (واتساپ/اینستاگرام) ---------- */
.mfc-fab-wa svg, .mfc-fab-ig svg, .mfc-fb-ig svg, .mfc-fb-wa svg { width: 22px; height: 22px; display: block; }
.mfc-fab-wa:hover svg { color: #25D366; }
.mfc-fab-ig:hover svg { color: #E1306C; }

/* ---------- هیرو: تصویر بزرگ‌تر و متحرک ---------- */
.mfc-hero-in { position: relative; }
.mfc-hv-card { overflow: hidden; }
.mfc-hv-card img { width: 100%; height: clamp(480px, 58vh, 640px); object-fit: cover; display: block; animation: mfcHeroBreath 9s ease-in-out infinite alternate; transition: transform .8s cubic-bezier(.2,.8,.25,1); }
.mfc-hv-card:hover img { animation-play-state: paused; transform: scale(1.045); }
@keyframes mfcHeroBreath {
  0%   { transform: scale(1) translateX(0); }
  50%  { transform: scale(1.07) translateX(-1.6%); }
  100% { transform: scale(1) translateX(0); }
}
@media (prefers-reduced-motion: reduce) { .mfc-hv-card img { animation: none; } }

/* ---------- آمار هیرو: بازطراحی لوکس ---------- */
.mfc-hero-stats { display: flex; gap: 14px; flex-wrap: wrap; }
.mfc-stat {
  --sglow: rgba(249, 115, 22, .35);
  position: relative; overflow: hidden; min-width: 148px;
  display: flex; flex-direction: column; gap: 2px; align-items: flex-start;
  padding: 16px 20px 14px; border-radius: 18px;
  background: linear-gradient(150deg, rgba(255,255,255,.075), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 14px 34px -18px var(--sglow), inset 0 1px 0 rgba(255,255,255,.14);
  transition: transform .35s cubic-bezier(.2,.8,.25,1), box-shadow .35s ease, border-color .35s ease;
}
.mfc-stat::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: var(--grad-accent, linear-gradient(90deg,#F97316,#FB923C));
  opacity: .9;
}
.mfc-stat::after {
  content: ''; position: absolute; width: 120px; height: 120px; border-radius: 50%;
  background: radial-gradient(circle, var(--sglow), transparent 70%);
  top: -58px; inset-inline-end: -46px; pointer-events: none; opacity: .55;
  transition: opacity .35s ease;
}
.mfc-stat:hover { transform: translateY(-5px); border-color: rgba(249,115,22,.5); box-shadow: 0 22px 44px -16px var(--sglow), inset 0 1px 0 rgba(255,255,255,.18); }
.mfc-stat:hover::after { opacity: 1; }
.mfc-stat b { display: flex; align-items: baseline; gap: 3px; font-size: 34px; font-weight: 900; line-height: 1.1; color: var(--accent); text-shadow: 0 0 22px rgba(249,115,22,.4); }
.mfc-stat b small { font-size: 18px; font-weight: 800; color: #FDBA74; }
.mfc-stat span { color: var(--muted); font-size: 13.2px; font-weight: 700; }
.mfc-light .mfc-stat { background: rgba(255,255,255,.75); border-color: rgba(21,24,31,.08); box-shadow: 0 14px 34px -20px rgba(21,24,31,.25); }
.mfc-light .mfc-stat span { color: #5A6170; }

/* ---------- گالری انتخاب مربی ---------- */
.mfc-coach-pick { display: grid; gap: 14px; align-content: start; }
.mfc-cp-head { margin: 0; font-size: 20px; font-weight: 900; }
.mfc-cp-sub { margin: 0; color: var(--muted); font-size: 13.5px; }
.mfc-coach-grid { display: grid; gap: 12px; }
.mfc-coach-card {
  position: relative; overflow: hidden; display: grid; grid-template-columns: 86px 1fr; gap: 4px 14px;
  text-align: start; padding: 12px; border-radius: 20px; cursor: pointer;
  background: var(--surface, rgba(255,255,255,.04)); border: 1.5px solid var(--line, rgba(255,255,255,.1));
  color: var(--text, #fff); font: inherit; transition: transform .3s cubic-bezier(.2,.8,.25,1), border-color .3s ease, box-shadow .3s ease, background .3s ease;
}
.mfc-coach-card:hover { transform: translateY(-3px); border-color: rgba(249,115,22,.45); box-shadow: 0 16px 34px -18px rgba(249,115,22,.4); }
.mfc-coach-card .mfc-coach-photo { grid-row: span 3; width: 86px; height: 86px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: #0B0D12; }
.mfc-coach-card .mfc-coach-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mfc-coach-card .mfc-coach-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mfc-coach-card .mfc-coach-info b { font-size: 15.5px; font-weight: 800; }
.mfc-coach-card .mfc-coach-info i { font-style: normal; font-size: 12.5px; color: var(--accent); font-weight: 700; }
.mfc-coach-card .mfc-coach-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.mfc-coach-card .mfc-coach-tags em { font-style: normal; font-size: 10.8px; font-weight: 700; color: var(--muted); background: rgba(255,255,255,.06); border: 1px solid var(--line); border-radius: 99px; padding: 2.5px 9px; }
.mfc-coach-card .mfc-coach-check {
  position: absolute; top: 10px; inset-inline-end: 10px;
  font-size: 11px; font-weight: 800; color: #fff; background: var(--grad-accent, linear-gradient(90deg,#F97316,#FB923C));
  border-radius: 99px; padding: 3.5px 11px; opacity: 0; transform: translateY(-6px) scale(.9);
  transition: all .3s cubic-bezier(.2,.8,.25,1); pointer-events: none; box-shadow: 0 6px 16px -6px rgba(249,115,22,.6);
}
.mfc-coach-card.is-picked { border-color: var(--accent); background: linear-gradient(150deg, rgba(249,115,22,.13), rgba(249,115,22,.03)); box-shadow: 0 18px 38px -18px rgba(249,115,22,.5); }
.mfc-coach-card.is-picked .mfc-coach-check { opacity: 1; transform: none; }
.mfc-coach-card.is-picked .mfc-coach-photo { border-color: rgba(249,115,22,.6); box-shadow: 0 0 0 2px rgba(249,115,22,.25); }
.mfc-coach-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.mfc-coach-note { display: grid; gap: 10px; margin-top: 4px; }
@media (max-width: 560px) { .mfc-coach-grid { grid-template-columns: 1fr; } }

/* ---------- باکس‌های آزمایش خون / آنالیز بدن ---------- */
.mfc-doc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 700px) { .mfc-doc-grid { grid-template-columns: 1fr; } }
.mfc-doc-box {
  position: relative; display: grid; gap: 12px; padding: 16px 18px; border-radius: 18px;
  background: var(--surface, rgba(255,255,255,.04)); border: 1.5px dashed var(--line, rgba(255,255,255,.14));
  transition: border-color .3s ease, box-shadow .3s ease, background .3s ease;
}
.mfc-doc-box:hover { border-color: rgba(249,115,22,.4); }
.mfc-doc-head { display: flex; align-items: center; gap: 12px; }
.mfc-doc-ico { width: 44px; height: 44px; flex-shrink: 0; display: grid; place-items: center; font-size: 21px; border-radius: 13px; background: rgba(249,115,22,.12); border: 1px solid rgba(249,115,22,.3); }
.mfc-doc-head > div { flex: 1; min-width: 0; display: grid; gap: 1px; }
.mfc-doc-head b { font-size: 14.5px; font-weight: 800; }
.mfc-doc-head i { font-style: normal; font-size: 12px; color: var(--muted); }
.mfc-doc-state { font-size: 11.5px; font-weight: 800; color: var(--muted); background: rgba(255,255,255,.06); border: 1px solid var(--line); border-radius: 99px; padding: 3px 10px; white-space: nowrap; max-width: 140px; overflow: hidden; text-overflow: ellipsis; }
.mfc-doc-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.mfc-doc-btn { font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; border-radius: 12px; padding: 9px 16px; transition: all .25s ease; }
.mfc-doc-yes { color: #fff; background: var(--grad-accent, linear-gradient(90deg,#F97316,#FB923C)); border: 0; box-shadow: 0 8px 20px -8px rgba(249,115,22,.55); }
.mfc-doc-yes:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -8px rgba(249,115,22,.65); }
.mfc-doc-no { color: var(--text); background: transparent; border: 1.5px solid var(--line); }
.mfc-doc-no:hover { border-color: rgba(239,68,68,.5); color: #F87171; }
.mfc-doc-no[aria-pressed="true"] { border-color: #EF4444; color: #F87171; background: rgba(239,68,68,.08); }
.mfc-doc-clear { font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; color: var(--muted); background: transparent; border: 0; padding: 4px 6px; }
.mfc-doc-clear:hover { color: #F87171; }
.mfc-doc-box.mfc-doc-has { border-style: solid; border-color: rgba(34,197,94,.55); background: rgba(34,197,94,.07); }
.mfc-doc-box.mfc-doc-has .mfc-doc-state { color: #4ADE80; border-color: rgba(34,197,94,.4); background: rgba(34,197,94,.1); }
.mfc-doc-box.mfc-doc-none { border-style: solid; border-color: rgba(148,163,184,.4); }
.mfc-doc-box.mfc-doc-none .mfc-doc-state { color: #CBD5E1; }
