/*
Theme Name: Notan
Theme URI: https://notan.example.com
Author: Notan Athletic Academy
Author URI: https://notan.example.com
Description: قالب کلاسیک و سبک وردپرس باشگاه ورزشی نوتان (NOTAN · SINCE 2026) — لایه نمایشی خالص (Pure Presentation) متصل به اکوسیستم جامع و بومی آکادمی نوتان (Notan Academy v3.0.0) و فروشگاه تجهیزات ورزشی ووکامرس.
Version: 3.1.0
Requires at least: 6.2
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: notan
Tags: sports, fitness, academy, woocommerce, rtl-language-support, custom-logo, custom-menu
*/

/* ==========================================================================
   ۱. متغیرهای برند نوتان (NOTAN Emerald & Deep Forest Design Tokens)
   ========================================================================== */
:root {
  --brand-50: #E8F8F1;
  --brand-100: #D1F2E3;
  --brand-200: #A3E4C8;
  --brand-300: #5EDAB4;
  --brand-400: #19C99A;
  --brand-500: #00A878;
  --brand-600: #00A878;
  --brand-700: #008F66;
  --brand-800: #065F46;
  --brand-900: #063F35;

  --ink-950: #031F1C;
  --ink-900: #052D29;
  --ink-800: #063F35;
  --ink-700: #152522;
  --ink-600: #435652;
  --ink-500: #71817C;

  --mist-50: #F5F8F8;
  --mist-100: #EDF3F1;
  --mist-200: #E5ECE9;
  --mist-300: #D1DDD8;
  --slate-300: #D1DDD8;
  --white: #FFFFFF;

  --amber-50: #FFFBEB;
  --amber-500: #F59E0B;
  --amber-600: #D97706;
  --amber-700: #B45309;
  --crimson-50: #FEF2F2;
  --crimson-600: #DC2626;
  --crimson-700: #B91C1C;

  --font-sans: 'Vazirmatn', 'Tahoma', 'Arial', system-ui, -apple-system, sans-serif;
  --font-display: 'Outfit', 'Vazirmatn', system-ui, -apple-system, sans-serif;

  --radius-md: 0.625rem;
  --radius-lg: 1rem;
  --radius-xl: 1.25rem;
  --radius-2xl: 1.5rem;
  --shadow-sm: 0 2px 8px rgba(5, 45, 41, 0.04);
  --shadow-card: 0 6px 24px rgba(5, 45, 41, 0.06);
  --shadow-lg: 0 18px 40px -12px rgba(5, 45, 41, 0.22);
}

/* ==========================================================================
   ۲. بازنشانی پایه و تایپوگرافی (Base & Reset)
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  line-height: 1.55;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--mist-50);
  color: var(--ink-700);
  font-family: var(--font-sans);
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
}

:focus-visible {
  outline: 2px solid var(--brand-500);
  outline-offset: 2px;
}

.tabular-nums { font-variant-numeric: tabular-nums; }
.text-balance { text-wrap: balance; }
.font-display { font-family: var(--font-display); }
.font-sans { font-family: var(--font-sans); }

/* ==========================================================================
   ۳. ساختار کانتینر و گرید (Layout, Container, Flex & Grid)
   ========================================================================== */
.notan-site-main { flex: 1 1 auto; }

.max-w-7xl { max-width: 80rem; }
.max-w-6xl { max-width: 72rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-xl { max-width: 36rem; }
.max-w-lg { max-width: 32rem; }
.max-w-md { max-width: 28rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.w-full { width: 100%; }
.min-w-0 { min-width: 0; }
.shrink-0 { flex-shrink: 0; }
.flex-1 { flex: 1 1 0%; }

.block { display: block; }
.inline-block { display: inline-block; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.hidden { display: none; }

.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.items-stretch { align-items: stretch; }
.self-start { align-self: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.justify-end { justify-content: flex-end; }

.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

.gap-1 { gap: 0.25rem; }
.gap-1\.5 { gap: 0.375rem; }
.gap-2 { gap: 0.5rem; }
.gap-2\.5 { gap: 0.625rem; }
.gap-3 { gap: 0.75rem; }
.gap-3\.5 { gap: 0.875rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-7 { gap: 1.75rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }

.space-y-1 > * + * { margin-top: 0.25rem; }
.space-y-1\.5 > * + * { margin-top: 0.375rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-2\.5 > * + * { margin-top: 0.625rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-5 > * + * { margin-top: 1.25rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-8 > * + * { margin-top: 2rem; }
.space-y-10 > * + * { margin-top: 2.5rem; }
.space-y-12 > * + * { margin-top: 3rem; }
.space-y-14 > * + * { margin-top: 3.5rem; }

/* ==========================================================================
   ۴. فاصله‌گذاری (Spacing & Sizing)
   ========================================================================== */
.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-2\.5 { padding: 0.625rem; }
.p-3 { padding: 0.75rem; }
.p-3\.5 { padding: 0.875rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.p-10 { padding: 2.5rem; }
.p-12 { padding: 3rem; }

.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-2\.5 { padding-left: 0.625rem; padding-right: 0.625rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-3\.5 { padding-left: 0.875rem; padding-right: 0.875rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-7 { padding-left: 1.75rem; padding-right: 1.75rem; }

.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-1\.5 { padding-top: 0.375rem; padding-bottom: 0.375rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-5 { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-14 { padding-top: 3.5rem; padding-bottom: 3.5rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }

.pt-2 { padding-top: 0.5rem; }
.pt-3 { padding-top: 0.75rem; }
.pt-4 { padding-top: 1rem; }
.pt-5 { padding-top: 1.25rem; }
.pt-6 { padding-top: 1.5rem; }
.pt-8 { padding-top: 2rem; }
.pt-10 { padding-top: 2.5rem; }
.pt-12 { padding-top: 3rem; }
.pt-14 { padding-top: 3.5rem; }
.pb-3 { padding-bottom: 0.75rem; }
.pb-5 { padding-bottom: 1.25rem; }
.pb-6 { padding-bottom: 1.5rem; }
.pb-8 { padding-bottom: 2rem; }
.pb-10 { padding-bottom: 2.5rem; }
.pb-12 { padding-bottom: 3rem; }

.mt-0\.5 { margin-top: 0.125rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }
.mt-14 { margin-top: 3.5rem; }
.mt-auto { margin-top: auto; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-1\.5 { margin-bottom: 0.375rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-2\.5 { margin-bottom: 0.625rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-9 { margin-bottom: 2.25rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-14 { margin-bottom: 3.5rem; }
.ml-1 { margin-left: 0.25rem; }
.mr-7 { margin-right: 1.75rem; }

.h-0\.5 { height: 0.125rem; }
.h-2 { height: 0.5rem; }
.h-7 { height: 1.75rem; }
.h-8 { height: 2rem; }
.h-9 { height: 2.25rem; }
.h-10 { height: 2.5rem; }
.h-11 { height: 2.75rem; }
.h-12 { height: 3rem; }
.h-14 { height: 3.5rem; }
.h-16 { height: 4rem; }
.h-48 { height: 12rem; }
.h-56 { height: 14rem; }
.h-72 { height: 18rem; }
.h-full { height: 100%; }
.min-h-\[160px\] { min-height: 160px; }
.min-h-\[300px\] { min-height: 300px; }

.w-7 { width: 1.75rem; }
.w-8 { width: 2rem; }
.w-9 { width: 2.25rem; }
.w-10 { width: 2.5rem; }
.w-12 { width: 3rem; }
.w-14 { width: 3.5rem; }
.w-16 { width: 4rem; }

.aspect-\[4\/3\] { aspect-ratio: 4 / 3; }
.aspect-\[16\/9\] { aspect-ratio: 16 / 9; }
.aspect-square { aspect-ratio: 1 / 1; }

/* ==========================================================================
   ۵. جایگذاری، پس‌زمینه، رنگ و حاشیه (Positioning, Colors, Borders)
   ========================================================================== */
.relative { position: relative; }
.absolute { position: absolute; }
.sticky { position: sticky; }
.top-0 { top: 0; }
.top-3 { top: 0.75rem; }
.right-3 { right: 0.75rem; }
.left-3 { left: 0.75rem; }
.inset-0 { inset: 0; }
.bottom-4 { bottom: 1rem; }
.right-5 { right: 1.25rem; }
.left-5 { left: 1.25rem; }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-30 { z-index: 30; }
.z-40 { z-index: 40; }

.overflow-hidden { overflow: hidden; }
.overflow-x-auto { overflow-x: auto; }
.opacity-80 { opacity: 0.8; }
.object-cover { object-fit: cover; }
.object-contain { object-fit: contain; }
.pointer-events-none { pointer-events: none; }
.cursor-pointer { cursor: pointer; }

.bg-white { background-color: var(--white); }
.bg-white\/95 { background-color: rgba(255, 255, 255, 0.96); }
.backdrop-blur { backdrop-filter: blur(10px); }

.bg-mist-50 { background-color: var(--mist-50); }
.bg-mist-100 { background-color: var(--mist-100); }
.bg-mist-200 { background-color: var(--mist-200); }

.bg-ink-950\/50 { background-color: rgba(3, 31, 28, 0.55); }
.bg-ink-900 { background-color: var(--ink-900); }
.bg-ink-800 { background-color: var(--ink-800); }
.bg-ink-800\/80 { background-color: rgba(6, 63, 53, 0.82); }

.bg-brand-50 { background-color: var(--brand-50); }
.bg-brand-50\/70 { background-color: rgba(232, 248, 241, 0.75); }
.bg-brand-100 { background-color: var(--brand-100); }
.bg-brand-400 { background-color: var(--brand-400); }
.bg-brand-500 { background-color: var(--brand-500); }
.bg-brand-600 { background-color: var(--brand-600); }
.bg-brand-700 { background-color: var(--brand-700); }
.bg-amber-50 { background-color: var(--amber-50); }
.bg-crimson-50 { background-color: var(--crimson-50); }

.bg-gradient-to-br { background-image: linear-gradient(to bottom right, var(--grad-from), var(--grad-to)); }
.bg-gradient-to-l { background-image: linear-gradient(to left, var(--grad-from, var(--ink-900)), var(--grad-to, var(--brand-600))); }
.bg-gradient-to-t { background-image: linear-gradient(to top, rgba(5, 45, 41, 0.9), rgba(5, 45, 41, 0.25), transparent); }
.from-ink-900 { --grad-from: var(--ink-900); }
.from-ink-800 { --grad-from: var(--ink-800); }
.to-ink-800 { --grad-to: var(--ink-800); }
.to-ink-900 { --grad-to: var(--ink-900); }

.text-white { color: var(--white); }
.text-mist-50 { color: #F5F8F8; }
.text-mist-200 { color: #C9DCD5; }
.text-ink-900 { color: var(--ink-700); }
.text-ink-800 { color: var(--ink-700); }
.text-ink-700 { color: var(--ink-700); }
.text-ink-600 { color: var(--ink-600); }
.text-ink-500 { color: var(--ink-500); }
.text-brand-300 { color: var(--brand-300); }
.text-brand-400 { color: var(--brand-400); }
.text-brand-500 { color: var(--brand-500); }
.text-brand-600 { color: var(--brand-600); }
.text-brand-700 { color: var(--brand-700); }
.text-brand-800 { color: var(--brand-800); }
.text-brand-900 { color: var(--brand-900); }
.text-amber-700 { color: var(--amber-700); }
.text-crimson-700 { color: var(--crimson-700); }

.border { border-width: 1px; border-style: solid; }
.border-t { border-top-width: 1px; border-top-style: solid; }
.border-b { border-bottom-width: 1px; border-bottom-style: solid; }
.border-y { border-top-width: 1px; border-bottom-width: 1px; border-style: solid; }
.border-b-2 { border-bottom-width: 2px; border-bottom-style: solid; }
.border-transparent { border-color: transparent; }
.border-mist-200 { border-color: var(--mist-200); }
.border-mist-300 { border-color: var(--mist-300); }
.border-slate-300 { border-color: var(--slate-300); }
.border-ink-800 { border-color: #0D4B40; }
.border-ink-700 { border-color: #135A4E; }
.border-ink-700\/80 { border-color: rgba(25, 201, 154, 0.22); }
.border-ink-600 { border-color: #1B6B5C; }
.border-brand-100 { border-color: var(--brand-100); }
.border-brand-200 { border-color: var(--brand-200); }
.border-brand-500 { border-color: var(--brand-500); }
.border-brand-600 { border-color: var(--brand-600); }

.divide-y > * + * { border-top: 1px solid var(--mist-200); }
.divide-mist-200 > * + * { border-color: var(--mist-200); }

.rounded-md { border-radius: 0.45rem; }
.rounded-lg { border-radius: var(--radius-md); }
.rounded-xl { border-radius: var(--radius-lg); }
.rounded-2xl { border-radius: var(--radius-xl); }
.rounded-3xl { border-radius: var(--radius-2xl); }
.rounded-full { border-radius: 9999px; }
.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-card { box-shadow: var(--shadow-card); }

/* ==========================================================================
   ۶. تایپوگرافی کاربردی (Typography Utilities)
   ========================================================================== */
.text-\[11px\] { font-size: 11px; }
.text-\[13px\] { font-size: 13px; line-height: 1.5; }
.text-\[15px\] { font-size: 15px; line-height: 1.6; }
.text-xs { font-size: 0.75rem; line-height: 1.35rem; }
.text-sm { font-size: 0.875rem; line-height: 1.55rem; }
.text-base { font-size: 1rem; line-height: 1.65rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.85rem; }
.text-2xl { font-size: 1.5rem; line-height: 2.1rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.35rem; }

.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }

.leading-none { line-height: 1; }
.leading-snug { line-height: 1.4; }
.leading-relaxed { line-height: 1.75; }
.tracking-tight { letter-spacing: -0.02em; }
.tracking-wider { letter-spacing: 0.05em; }
.tracking-\[0\.2em\] { letter-spacing: 0.2em; }
.tracking-\[0\.22em\] { letter-spacing: 0.22em; }

.text-right { text-align: right; }
.text-left { text-align: left; }
.text-center { text-align: center; }
.whitespace-nowrap { white-space: nowrap; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ==========================================================================
   ۷. وضعیت‌های تعاملی (Hover & Transitions)
   ========================================================================== */
.transition-colors { transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease; }
.transition-transform { transition: transform 180ms ease; }
.transition-all { transition: all 200ms ease; }

.hover\:bg-brand-600:hover { background-color: var(--brand-600); }
.hover\:bg-brand-700:hover { background-color: var(--brand-700); }
.hover\:bg-brand-50:hover { background-color: var(--brand-50); }
.hover\:bg-ink-800:hover { background-color: var(--ink-800); }
.hover\:bg-ink-700:hover { background-color: #0D5648; }
.hover\:bg-mist-100:hover { background-color: var(--mist-100); }
.hover\:bg-mist-200:hover { background-color: var(--mist-200); }
.hover\:text-mist-50:hover { color: #F5F8F8; }
.hover\:text-ink-900:hover { color: var(--ink-900); }
.hover\:text-brand-600:hover { color: var(--brand-600); }
.hover\:text-brand-700:hover { color: var(--brand-700); }
.hover\:text-brand-900:hover { color: var(--brand-900); }
.hover\:text-brand-300:hover { color: var(--brand-300); }
.hover\:border-brand-300:hover { border-color: var(--brand-300); }

/* ==========================================================================
   ۸. هدر و نوار بالایی نوتان (Utility Strip + Crisp Header)
   ========================================================================== */
.notan-topbar {
  background-color: var(--ink-900);
  color: #D2E8E0;
  font-size: 12px;
  border-bottom: 1px solid rgba(25, 201, 154, 0.14);
}

.notan-topbar-inner {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.notan-topbar-socials {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.notan-topbar-socials a {
  color: #A5D5C5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 150ms ease;
}

.notan-topbar-socials a:hover {
  color: var(--brand-400);
}

.notan-site-header {
  position: sticky;
  top: 0;
  z-index: 45;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--mist-200);
}

.notan-header-inner {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.notan-brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.notan-brand-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.notan-brand-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.05em;
  color: var(--ink-900);
}

.notan-brand-sub {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--ink-500);
}

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

.notan-nav-list li a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0.5rem 0.95rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-600);
  white-space: nowrap;
  transition: color 160ms ease, background-color 160ms ease;
}

.notan-nav-list li a:hover {
  color: var(--ink-900);
  background-color: var(--mist-100);
}

.notan-nav-list li.current-menu-item a,
.notan-nav-list li.current_page_item a,
.notan-nav-list li.current-menu-ancestor a {
  background-color: var(--brand-500);
  color: var(--white);
  font-weight: 700;
}

.notan-header-icon-btn {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--mist-200);
  background: var(--mist-50);
  color: var(--ink-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}

.notan-header-icon-btn:hover {
  background: var(--brand-50);
  border-color: var(--brand-300);
  color: var(--brand-700);
}

.notan-cart-pill-count {
  position: absolute;
  top: -5px;
  left: -5px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9999px;
  background: var(--brand-500);
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.notan-notif-dot {
  position: absolute;
  top: 7px;
  left: 7px;
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background: #EF4444;
  border: 1.5px solid #ffffff;
}

.notan-header-auth-cta {
  height: 40px;
  padding: 0 18px;
  border-radius: 10px;
  background: var(--ink-800);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: background-color 160ms ease;
}

.notan-header-auth-cta:hover {
  background: var(--brand-500);
  color: #ffffff;
}

.notan-search-bar-drop {
  background: #ffffff;
  border-top: 1px solid var(--mist-200);
  padding: 12px 0;
}

.notan-mobile-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.notan-mobile-nav-list li a {
  display: block;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-700);
}

.notan-mobile-nav-list li a:hover,
.notan-mobile-nav-list li.current-menu-item a {
  background-color: var(--brand-50);
  color: var(--brand-700);
  font-weight: 700;
}

/* ==========================================================================
   ۹. بخش Hero اصلی، دوره‌ها، مربیان، فروشگاه و مجله (صفحه اصلی)
   ========================================================================== */
.hero-surface,
.notan-hero-banner {
  background-color: var(--ink-900);
  background-image:
    radial-gradient(circle at 22% 45%, rgba(25, 201, 154, 0.24) 0%, transparent 48%),
    radial-gradient(circle at 80% 15%, rgba(0, 168, 120, 0.18) 0%, transparent 42%),
    linear-gradient(125deg, #042521 0%, #052D29 48%, #063F35 100%);
  color: #F5F8F8;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  background-image:
    radial-gradient(rgba(25, 201, 154, 0.14) 1px, transparent 1px);
  background-size: 28px 28px;
}

.notan-hero-highlight {
  color: var(--brand-400);
}

.notan-hero-cta-primary {
  height: 46px;
  padding: 0 24px;
  border-radius: 10px;
  background: var(--brand-500);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background-color 160ms ease, transform 160ms ease;
}

.notan-hero-cta-primary:hover {
  background: var(--brand-400);
  color: #042521;
}

.notan-hero-cta-outline {
  height: 46px;
  padding: 0 22px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(8px);
  transition: background-color 160ms ease, border-color 160ms ease;
}

.notan-hero-cta-outline:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: var(--brand-400);
}

.notan-hero-visual-box {
  position: relative;
  min-height: 310px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(25, 201, 154, 0.24);
  background: radial-gradient(circle at 50% 45%, rgba(25, 201, 154, 0.28), rgba(4, 37, 33, 0.92));
}

.notan-hero-glass-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.notan-hero-glass-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  padding: 16px 14px;
  text-align: center;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.notan-hero-glass-card:hover {
  border-color: rgba(25, 201, 154, 0.55);
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.notan-hero-glass-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(25, 201, 154, 0.16);
  color: var(--brand-400);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* سرعنوان بخش‌ها */
.notan-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}

.notan-section-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.notan-section-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--brand-50);
  color: var(--brand-600);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.notan-section-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-600);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.notan-section-link:hover {
  color: var(--brand-700);
}

/* کارت دوره‌های منتخب (شبیه رفرنس ۲) */
.notan-course-grid-card {
  background: #ffffff;
  border: 1px solid var(--mist-200);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.notan-course-grid-card:hover {
  border-color: var(--brand-300);
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}

.notan-course-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #052D29 0%, #095043 100%);
  overflow: hidden;
}

.notan-course-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.notan-emerald-pill {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 4px 11px;
  border-radius: 9999px;
  background: var(--brand-500);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  z-index: 2;
}

.notan-soft-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 11px;
  border-radius: 9999px;
  background: var(--brand-50);
  color: var(--brand-700);
  font-size: 11px;
  font-weight: 700;
}

/* کارت افقی مربیان (شبیه رفرنس ۲) */
.notan-coach-mini-card {
  background: #ffffff;
  border: 1px solid var(--mist-200);
  border-radius: 16px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: var(--shadow-sm);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.notan-coach-mini-card:hover {
  border-color: var(--brand-300);
  box-shadow: var(--shadow-card);
}

.notan-coach-avatar-sq {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--ink-900);
  color: var(--brand-400);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
  flex-shrink: 0;
}

.notan-coach-avatar-sq img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.notan-arrow-circle {
  width: 30px;
  height: 30px;
  border-radius: 9999px;
  background: var(--brand-50);
  color: var(--brand-600);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* چیدمان ۵ تایی فروشگاه در صفحه اصلی (۱ بنر تیره + ۴ کارت محصول) */
.notan-store-home-grid {
  display: grid;
  grid-template-columns: 1.55fr repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.notan-store-promo-card {
  border-radius: 18px;
  background: linear-gradient(145deg, #042521 0%, #063F35 60%, #09594A 100%);
  color: #ffffff;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(25, 201, 154, 0.24);
}

/* کارت محصول استاندارد فروشگاه و صفحه اصلی */
.notan-product-card {
  background: #ffffff;
  border: 1px solid var(--mist-200);
  border-radius: 18px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.notan-product-card:hover {
  border-color: var(--brand-300);
  box-shadow: var(--shadow-card);
}

.notan-product-img-box {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  background: var(--mist-50);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.notan-product-img-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.notan-wishlist-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
  border-radius: 9999px;
  border: 1px solid var(--mist-200);
  background: #ffffff;
  color: var(--ink-500);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: color 150ms ease, border-color 150ms ease, background-color 150ms ease;
}

.notan-wishlist-btn.is-liked,
.notan-wishlist-btn:hover {
  color: #DC2626;
  border-color: #FECACA;
  background: #FEF2F2;
}

.notan-cart-square-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--brand-500);
  color: #ffffff;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color 150ms ease;
}

.notan-cart-square-btn:hover {
  background: var(--brand-700);
  color: #ffffff;
}

.notan-cart-square-btn.added {
  background: var(--ink-900);
  color: var(--brand-400);
}

/* بنر CTA پایانی صفحه اصلی */
.notan-cta-banner {
  border-radius: 22px;
  background: linear-gradient(125deg, #042521 0%, #063F35 60%, #0A594A 100%);
  color: #ffffff;
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* کارت دسته‌بندی ۵ تایی (فروشگاه و مجله) */
.notan-cat-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.notan-cat-tile {
  background: #ffffff;
  border: 1px solid var(--mist-200);
  border-radius: 16px;
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-700);
  box-shadow: var(--shadow-sm);
  transition: border-color 160ms ease, transform 160ms ease, background-color 160ms ease;
}

.notan-cat-tile:hover,
.notan-cat-tile.is-active {
  border-color: var(--brand-500);
  background: var(--brand-50);
  color: var(--brand-800);
  transform: translateY(-2px);
}

.notan-cat-tile-thumb {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--mist-50);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-600);
  overflow: hidden;
}

.notan-cat-tile-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* چیدمان فروشگاه (سایدبار فیلتر راست + گرید محصول) */
.notan-shop-layout {
  display: grid;
  grid-template-columns: 265px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.notan-shop-sidebar {
  background: #ffffff;
  border: 1px solid var(--mist-200);
  border-radius: 18px;
  padding: 18px;
  position: sticky;
  top: 86px;
  box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   ۱۰. فوتر نوتان (Reference 2 Deep-Green Multi-Column Footer)
   ========================================================================== */
.notan-footer {
  background-color: var(--ink-900);
  color: #D2E8E0;
  border-top: 1px solid rgba(25, 201, 154, 0.16);
  margin-top: auto;
}

.notan-footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.notan-footer-menu li a {
  font-size: 0.85rem;
  color: #B7D2C8;
  transition: color 160ms ease;
}

.notan-footer-menu li a:hover {
  color: var(--brand-400);
}

.notan-newsletter-form {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  padding: 4px;
}

.notan-newsletter-form input[type="email"] {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 13px;
  padding: 6px 10px;
  outline: none;
}

.notan-newsletter-form input[type="email"]::placeholder {
  color: #9BBDB0;
}

.notan-newsletter-submit {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: none;
  background: var(--brand-500);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.notan-newsletter-submit:hover {
  background: var(--brand-400);
  color: var(--ink-900);
}

/* ==========================================================================
   ۱۱. فرم‌ها و کامپوننت‌های ووکامرس و صفحه‌بندی (Forms, WC, Pagination)
   ========================================================================== */
.notan-wp-login-wrap form#loginform {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.notan-wp-login-wrap form#loginform p { margin: 0; }

.notan-wp-login-wrap form#loginform label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink-700);
  margin-bottom: 0.375rem;
}

.notan-wp-login-wrap form#loginform input[type='text'],
.notan-wp-login-wrap form#loginform input[type='password'],
.notan-input {
  width: 100%;
  height: 2.75rem;
  padding: 0 0.875rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--mist-300);
  background-color: var(--mist-50);
  font-size: 0.875rem;
  color: var(--ink-700);
  transition: border-color 150ms ease, background-color 150ms ease;
}

.notan-wp-login-wrap form#loginform input[type='text']:focus,
.notan-wp-login-wrap form#loginform input[type='password']:focus,
.notan-input:focus {
  background-color: var(--white);
  border-color: var(--brand-500);
  outline: none;
}

.notan-wp-login-wrap form#loginform .login-remember label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  cursor: pointer;
  margin-bottom: 0;
}

.notan-wp-login-wrap form#loginform input[type='submit'],
.notan-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 2.75rem;
  padding: 0 1.5rem;
  border: none;
  border-radius: var(--radius-md);
  background-color: var(--brand-500);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 160ms ease;
}

.notan-wp-login-wrap form#loginform input[type='submit'] { width: 100%; }

.notan-wp-login-wrap form#loginform input[type='submit']:hover,
.notan-btn-primary:hover {
  background-color: var(--brand-700);
  color: var(--white);
}

.notan-custom-logo-wrap img {
  max-height: 2.5rem;
  width: auto;
  height: auto;
}

.notan-header-avatar {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 9999px;
  object-fit: cover;
  flex-shrink: 0;
}

.notan-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink-700);
  margin-bottom: 0.375rem;
}

.notan-alert-error {
  padding: 0.875rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid #FECACA;
  background-color: #FEF2F2;
  color: #991B1B;
  font-size: 0.8125rem;
  line-height: 1.6;
}

.notan-alert-success {
  padding: 0.875rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--brand-200);
  background-color: var(--brand-50);
  color: var(--brand-800);
  font-size: 0.8125rem;
  line-height: 1.6;
}

.notan-widget ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.notan-wc-add-btn.loading { opacity: 0.7; pointer-events: none; }
.notan-wc-add-btn.added { background-color: var(--ink-900); color: var(--brand-400); }
.added_to_cart.wc-forward {
  display: inline-block;
  margin-right: 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--brand-600);
}

/* ووکامرس فروشگاه و صفحه محصول تکی مطابق رفرنس ۱ */
.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
  gap: 1.15rem;
  margin: 1rem 0;
  padding: 0;
  list-style: none;
}

.woocommerce ul.products li.product {
  width: 100% !important;
  margin: 0 !important;
  padding: 0.95rem;
  background-color: var(--white);
  border: 1px solid var(--mist-200);
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.woocommerce ul.products li.product:hover {
  border-color: var(--brand-300);
  box-shadow: var(--shadow-card);
}

.woocommerce ul.products li.product img {
  border-radius: 12px;
  object-fit: contain;
  aspect-ratio: 1 / 1;
  background: var(--mist-50);
  padding: 8px;
  margin-bottom: 0.75rem;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink-700);
  margin: 0 0 0.4rem;
}

.woocommerce ul.products li.product .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price {
  color: var(--ink-700);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.woocommerce div.product p.price {
  font-size: 1.55rem;
  margin: 0.65rem 0 1rem;
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
  background-color: var(--brand-500);
  color: var(--white);
  border-radius: var(--radius-md);
  font-weight: 700;
  padding: 0.7rem 1.25rem;
  border: none;
  cursor: pointer;
  transition: background-color 150ms ease;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover {
  background-color: var(--brand-700);
  color: var(--white);
}

.woocommerce div.product {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.woocommerce div.product div.images,
.woocommerce div.product div.summary {
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
}

.woocommerce div.product .woocommerce-tabs {
  grid-column: 1 / -1;
  margin-top: 1.5rem;
}

.woocommerce div.product .related.products,
.woocommerce div.product .upsells.products {
  grid-column: 1 / -1;
}

/* گالری عمودی تصویر محصول مطابق صفحه محصول رفرنس ۱ */
.woocommerce div.product div.images.woocommerce-product-gallery {
  display: flex;
  flex-direction: row;
  gap: 14px;
  align-items: flex-start;
}

.woocommerce div.product .flex-viewport,
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper {
  flex: 1;
  min-width: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--mist-200);
  background: var(--mist-50);
}

.woocommerce div.product .flex-control-thumbs {
  width: 78px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.woocommerce div.product .flex-control-thumbs li {
  width: 100% !important;
  float: none !important;
}

.woocommerce div.product .flex-control-thumbs li img {
  border-radius: 10px;
  border: 1.5px solid var(--mist-200);
  background: var(--mist-50);
  opacity: 0.78;
}

.woocommerce div.product .flex-control-thumbs li img.flex-active,
.woocommerce div.product .flex-control-thumbs li img:hover {
  border-color: var(--brand-500);
  opacity: 1;
}

/* تب‌های زیرخط‌دار جزئیات محصول */
.woocommerce div.product .woocommerce-tabs ul.tabs {
  display: flex;
  gap: 1.5rem;
  padding: 0 0 2px;
  margin: 0 0 1.25rem;
  border-bottom: 1px solid var(--mist-200);
}

.woocommerce div.product .woocommerce-tabs ul.tabs::before { display: none !important; }

.woocommerce div.product .woocommerce-tabs ul.tabs li {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

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

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  padding: 0.75rem 0.25rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-500);
  border-bottom: 2.5px solid transparent;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
  color: var(--brand-600);
  font-weight: 800;
  border-bottom-color: var(--brand-500);
}

.notan-wc-stock-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 700;
  background: var(--brand-50);
  color: var(--brand-700);
  margin-bottom: 14px;
}

.notan-wc-stock-pill.is-out {
  background: var(--crimson-50);
  color: var(--crimson-700);
}

.notan-wc-specs-table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0 18px;
  font-size: 13px;
}

.notan-wc-specs-table tr {
  border-bottom: 1px solid var(--mist-200);
}

.notan-wc-specs-table th {
  text-align: right;
  padding: 8px 0;
  color: var(--ink-500);
  font-weight: 500;
  width: 38%;
}

.notan-wc-specs-table td {
  text-align: right;
  padding: 8px 0;
  color: var(--ink-700);
  font-weight: 700;
}

.notan-qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--mist-300);
  border-radius: 10px;
  background: var(--mist-50);
  overflow: hidden;
  height: 44px;
}

.notan-qty-stepper button {
  width: 36px;
  height: 100%;
  border: none;
  background: transparent;
  color: var(--ink-700);
  font-weight: 800;
  cursor: pointer;
}

.notan-qty-stepper button:hover {
  background: var(--brand-50);
  color: var(--brand-700);
}

.notan-qty-stepper input.qty {
  width: 44px;
  text-align: center;
  border: none !important;
  background: transparent !important;
  font-weight: 700;
  padding: 0 !important;
}

.woocommerce div.product .variations select,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce table.cart td.actions .coupon .input-text {
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--mist-300);
  border-radius: var(--radius-md);
  background-color: var(--mist-50);
  color: var(--ink-700);
}

.woocommerce table.shop_table {
  border: 1px solid var(--mist-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  font-variant-numeric: tabular-nums;
}

.woocommerce table.shop_table th {
  background-color: var(--mist-100);
  color: var(--ink-700);
  font-weight: 700;
}

.woocommerce-info,
.woocommerce-message {
  border-top-color: var(--brand-500);
  background-color: var(--mist-50);
  border-radius: var(--radius-md);
}

.wc-blocks-components-select .wc-blocks-components-select__select,
select.wc-blocks-components-select__select {
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  background-image: none !important;
}

/* حساب کاربری ووکامرس */
.woocommerce-account .woocommerce {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.woocommerce-account .woocommerce::before,
.woocommerce-account .woocommerce::after { display: none !important; content: none !important; }

.woocommerce-account .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce-MyAccount-content {
  float: none !important;
  width: 100% !important;
}

@media (min-width: 768px) {
  .woocommerce-account .woocommerce {
    grid-template-columns: 240px minmax(0, 1fr);
    align-items: start;
  }
}

.woocommerce-MyAccount-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--mist-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--mist-50);
}

.woocommerce-MyAccount-navigation li + li { border-top: 1px solid var(--mist-200); }

.woocommerce-MyAccount-navigation li a {
  display: block;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-700);
}

.woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-MyAccount-navigation li a:hover {
  background-color: var(--brand-50);
  color: var(--brand-700);
}

.woocommerce-MyAccount-content { min-width: 0; }

/* صفحه‌بندی وردپرس */
.navigation.pagination .nav-links,
.navigation.pagination ul.page-numbers {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navigation.pagination .nav-links { margin-top: 2.5rem; }

.navigation.pagination .page-numbers:not(ul) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.75rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--mist-200);
  background-color: var(--white);
  color: var(--ink-700);
  font-size: 0.875rem;
  font-weight: 600;
}

.navigation.pagination .page-numbers.current {
  background-color: var(--brand-500);
  border-color: var(--brand-500);
  color: var(--white);
}

.navigation.pagination a.page-numbers:hover { background-color: var(--mist-100); }

/* آکاردئون سرفصل‌های دوره و محتوای متنی */
.notan-curriculum-summary { list-style: none; user-select: none; }
.notan-curriculum-summary::-webkit-details-marker { display: none; }
.notan-curriculum-chevron { transition: transform 180ms ease; }
.notan-curriculum-topic[open] .notan-curriculum-chevron { transform: rotate(180deg); }

.notan-course-progress-track {
  width: 100%;
  height: 0.5rem;
  border-radius: 9999px;
  background-color: var(--brand-100);
  overflow: hidden;
}

.notan-course-progress-fill {
  height: 100%;
  border-radius: 9999px;
  background-color: var(--brand-500);
  transition: width 240ms ease;
}

.notan-prose p {
  margin-top: 0;
  margin-bottom: 1rem;
  line-height: 1.9;
  color: var(--ink-700);
}

.notan-prose h2,
.notan-prose h3 {
  color: var(--ink-900);
  font-weight: 800;
  margin-top: 1.65rem;
  margin-bottom: 0.75rem;
}

.notan-prose ul,
.notan-prose ol {
  padding-right: 1.25rem;
  margin-bottom: 1rem;
  color: var(--ink-700);
}

.notan-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8125rem;
  color: var(--ink-500);
}

.notan-breadcrumb a {
  color: var(--ink-600);
  font-weight: 600;
  transition: color 150ms ease;
}

.notan-breadcrumb a:hover {
  color: var(--brand-700);
}

.notan-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: 10px;
  background: var(--brand-50);
  color: var(--brand-700);
  border: 1px solid var(--brand-200);
  font-size: 0.75rem;
  font-weight: 800;
}

.notan-course-archive {
  min-height: 55vh;
}

.notan-single-course {
  padding-top: 2rem;
  padding-bottom: 3rem;
}

/* ==========================================================================
   ۱۲. نقاط شکست واکنش‌گرا (Responsive Breakpoints: sm / md / lg)
   ========================================================================== */
@media (max-width: 1023px) {
  .notan-hero-glass-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .notan-store-home-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .notan-store-promo-card {
    grid-column: 1 / -1;
  }
  .notan-cat-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .notan-shop-layout {
    grid-template-columns: 1fr;
  }
  .notan-shop-sidebar {
    position: static;
  }
  .woocommerce div.product {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 639px) {
  .notan-cat-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .notan-store-home-grid {
    grid-template-columns: 1fr;
  }
  .woocommerce div.product div.images.woocommerce-product-gallery {
    flex-direction: column-reverse;
  }
  .woocommerce div.product .flex-control-thumbs {
    width: 100%;
    flex-direction: row;
  }
  .woocommerce div.product .flex-control-thumbs li {
    width: 24% !important;
  }
}

@media (min-width: 640px) {
  .sm\:inline { display: inline; }
  .sm\:flex { display: flex; }
  .sm\:flex-row { flex-direction: row; }
  .sm\:items-center { align-items: center; }
  .sm\:items-end { align-items: flex-end; }
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sm\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sm\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .sm\:col-span-2 { grid-column: span 2 / span 2; }
  .sm\:col-span-4 { grid-column: span 4 / span 4; }
  .sm\:col-span-8 { grid-column: span 8 / span 8; }
  .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
  .sm\:p-5 { padding: 1.25rem; }
  .sm\:p-6 { padding: 1.5rem; }
  .sm\:p-8 { padding: 2rem; }
  .sm\:h-80 { height: 20rem; }
  .sm\:text-sm { font-size: 0.875rem; line-height: 1.55rem; }
  .sm\:text-base { font-size: 1rem; line-height: 1.65rem; }
  .sm\:text-lg { font-size: 1.125rem; line-height: 1.75rem; }
  .sm\:text-xl { font-size: 1.25rem; line-height: 1.85rem; }
  .sm\:text-2xl { font-size: 1.5rem; line-height: 2.1rem; }
  .sm\:text-3xl { font-size: 1.875rem; line-height: 2.35rem; }
  .sm\:text-4xl { font-size: 2.25rem; line-height: 2.75rem; }
  .sm\:gap-8 { gap: 2rem; }
}

@media (min-width: 768px) {
  .md\:flex { display: flex; }
  .md\:hidden { display: none; }
  .md\:flex-row { flex-direction: row; }
  .md\:items-center { align-items: center; }
  .md\:items-end { align-items: flex-end; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .md\:grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .md\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .md\:col-span-2 { grid-column: span 2 / span 2; }
  .md\:col-span-3 { grid-column: span 3 / span 3; }
  .md\:col-span-4 { grid-column: span 4 / span 4; }
  .md\:col-span-5 { grid-column: span 5 / span 5; }
}

@media (min-width: 1024px) {
  .lg\:flex,
  nav.lg\:flex { display: flex; }
  .lg\:hidden,
  button.lg\:hidden,
  div.lg\:hidden { display: none; }
  .lg\:flex-row { flex-direction: row; }
  .lg\:items-center { align-items: center; }
  .lg\:pt-0 { padding-top: 0; }
  .lg\:border-t-0 { border-top-width: 0; }
  .lg\:px-8 { padding-left: 2rem; padding-right: 2rem; }
  .lg\:py-16 { padding-top: 4rem; padding-bottom: 4rem; }
  .lg\:py-20 { padding-top: 5rem; padding-bottom: 5rem; }
  .lg\:pt-20 { padding-top: 5rem; }
  .lg\:pb-16 { padding-bottom: 4rem; }
  .lg\:h-full { height: 100%; }
  .lg\:sticky { position: sticky; }
  .lg\:top-24 { top: 6rem; }
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lg\:grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .lg\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .lg\:col-span-2 { grid-column: span 2 / span 2; }
  .lg\:col-span-3 { grid-column: span 3 / span 3; }
  .lg\:col-span-4 { grid-column: span 4 / span 4; }
  .lg\:col-span-5 { grid-column: span 5 / span 5; }
  .lg\:col-span-6 { grid-column: span 6 / span 6; }
  .lg\:col-span-7 { grid-column: span 7 / span 7; }
  .lg\:col-span-8 { grid-column: span 8 / span 8; }
  .lg\:col-span-9 { grid-column: span 9 / span 9; }
  .lg\:col-span-10 { grid-column: span 10 / span 10; }
  .lg\:text-\[3\.25rem\] { font-size: 3rem; line-height: 1.28; }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
