/*
Theme Name: Sahar Farahani
Theme URI: https://sabkekar.ir
Author: Ahmad Pourrostami (احمد پوررستمی)
Author URI: https://sabkekar.ir
Description: قالب اختصاصی وردپرس برای مدرس فن بیان و گویندگی. راست‌چین، سبک و کاملاً قابل سفارشی‌سازی از بخش «سفارشی‌سازی» وردپرس.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: sahar-farahani
Tags: rtl-language-support, custom-logo, custom-menu, featured-images, translation-ready
*/

@font-face{font-family:'Vazirmatn';src:url('assets/fonts/Vazirmatn-var.woff2') format('woff2');font-weight:100 900;font-display:swap}

:root{
  --rose:#c4636d;
  --rose-dark:#a94e58;
  --rose-soft:#f6e3e1;
  --blush:#fdf6f5;
  --ink:#262324;
  --muted:#8b8283;
  --line:#efdcda;
  --white:#fff;
  --radius:18px;
  --shadow:0 8px 26px rgba(150,90,95,.10);
  --container:1180px;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:'Vazirmatn',Tahoma,sans-serif;background:var(--blush);color:var(--ink);line-height:1.8;font-size:16px;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
a:focus-visible,button:focus-visible{outline:2px solid var(--rose);outline-offset:3px}
.container{width:100%;max-width:var(--container);margin-inline:auto;padding-inline:20px}
.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}

/* ---------- Header ---------- */
.site-header{position:relative;z-index:50;background:rgba(255,255,255,.9);backdrop-filter:blur(8px);border-bottom:1px solid var(--line)}
.admin-bar.home .site-header{top:32px}
@media (max-width:782px){.admin-bar.home .site-header{top:46px}}
.home .site-header{position:absolute;inset:0 0 auto 0;background:transparent;backdrop-filter:none;border-bottom:0}
.header-inner{display:flex;align-items:center;gap:28px;height:84px}
.site-branding{display:flex;align-items:center;gap:10px;font-weight:700;font-size:26px;color:var(--rose-dark)}
.site-branding .custom-logo{max-height:52px;width:auto}
.site-branding svg{width:34px;height:42px;color:var(--rose)}
.main-nav{flex:1}
.main-nav ul{list-style:none;margin:0;padding:0;display:flex;gap:30px}
.main-nav li{position:relative}
.main-nav a{font-size:14px;font-weight:500;display:inline-flex;align-items:center;gap:6px;padding:8px 0}
.main-nav a:hover,.main-nav .current-menu-item>a{color:var(--rose)}
.main-nav .menu-item-has-children>a::after{content:"";width:6px;height:6px;border-inline-end:1.6px solid currentColor;border-bottom:1.6px solid currentColor;transform:rotate(45deg) translateY(-2px)}
.main-nav .sub-menu{position:absolute;top:100%;inset-inline-start:0;min-width:190px;background:#fff;border-radius:14px;box-shadow:var(--shadow);padding:10px;display:none;flex-direction:column;gap:0;z-index:20}
.main-nav li:hover>.sub-menu,.main-nav li:focus-within>.sub-menu{display:flex}
.main-nav .sub-menu a{display:flex;padding:8px 12px;border-radius:10px}
.main-nav .sub-menu a:hover{background:var(--rose-soft)}
.search-toggle,.nav-toggle{width:42px;height:42px;border-radius:50%;border:0;background:rgba(255,255,255,.85);color:var(--ink);display:grid;place-items:center;cursor:pointer;box-shadow:0 2px 10px rgba(0,0,0,.08)}
.search-toggle svg{width:18px;height:18px}
.nav-toggle{display:none}
.header-search{display:none;position:absolute;inset:84px 0 auto 0;background:#fff;padding:16px 0;box-shadow:var(--shadow)}
.header-search.is-open{display:block}
.header-search form{display:flex;gap:10px}
.header-search input[type=search]{flex:1;padding:12px 18px;border:1px solid var(--line);border-radius:999px;font:inherit;background:var(--blush)}

/* ---------- Buttons ---------- */
.btn{display:inline-flex;align-items:center;gap:10px;background:var(--rose);color:#fff;border:0;border-radius:999px;padding:11px 28px;font:inherit;font-size:14px;font-weight:500;cursor:pointer;box-shadow:0 8px 18px rgba(196,99,109,.28);transition:background .2s}
.btn:hover{background:var(--rose-dark)}
.chev{order:2;flex:none}
.btn .chev{width:8px;height:8px;border-left:1.8px solid currentColor;border-bottom:1.8px solid currentColor;transform:rotate(45deg)}
.pill{display:inline-flex;align-items:center;gap:8px;background:var(--rose-soft);border-radius:999px;padding:6px 18px;font-size:12px;color:var(--ink)}
.pill .chev{width:6px;height:6px;border-left:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg)}
.pill:hover{background:#f0d3d0}

/* ---------- Hero ---------- */
.hero{position:relative;min-height:560px;padding-top:84px;background:linear-gradient(180deg,#fbeeed 0,var(--blush) 100%);overflow:hidden}
.hero::before{content:"";position:absolute;right:0;top:0;bottom:0;width:60%;background:radial-gradient(60% 70% at 40% 50%,rgba(255,255,255,.9),transparent 70%)}
.hero-wave{position:absolute;top:60px;bottom:0;left:0;right:auto;width:62%;height:100%;color:#f1d9d9;opacity:.75;pointer-events:none}
.hero-photo{position:absolute;left:0;right:auto;bottom:0;height:100%;width:44%;max-width:620px;-webkit-mask-image:linear-gradient(to left,transparent 0,#000 30%);mask-image:linear-gradient(to left,transparent 0,#000 30%)}
.hero-photo img{height:100%;width:100%;object-fit:cover;object-position:top center}
.hero-photo.is-empty{background:linear-gradient(160deg,#f3d4d1,#e9bfc0)}
.hero-inner{position:relative;display:flex;justify-content:flex-start;padding-block:60px 90px}
.hero-text{max-width:560px}
.hero-eyebrow{display:flex;align-items:center;gap:14px;font-size:14px;color:#4a4445;margin:0 0 14px}
.hero-eyebrow::after{content:"";width:46px;height:2px;background:var(--rose);border-radius:2px}
.hero-name{margin:0;font-size:clamp(40px,5.2vw,62px);font-weight:800;line-height:1.25}
.hero-title{margin:0 0 12px;font-size:clamp(30px,4vw,48px);font-weight:800;line-height:1.35;color:var(--rose)}
.hero-sub{margin:0 0 28px;font-size:18px;font-weight:500;color:#3a3536}
.hero-wavebars{position:absolute;left:42%;right:auto;bottom:90px;display:flex;align-items:center;gap:4px;height:120px;opacity:.55}
.hero-wavebars span{width:3px;background:linear-gradient(var(--rose),#e8a9ae);border-radius:3px}
.hero-mic{position:absolute;right:4%;left:auto;bottom:78px;width:62px;color:var(--rose);opacity:.35}

/* ---------- Features strip ---------- */
.features{position:relative;z-index:5;margin-top:-52px}
.features-box{background:var(--white);border-radius:22px;box-shadow:var(--shadow);display:grid;grid-template-columns:repeat(5,1fr);padding:22px 10px;max-width:880px;margin-inline:auto}
.feature{display:flex;flex-direction:column;align-items:center;gap:6px;font-size:14px;font-weight:500;padding:4px 10px;position:relative}
.feature+.feature::before{content:"";position:absolute;inset-inline-start:0;top:8px;bottom:8px;width:1px;background:var(--line)}
.feature svg{width:30px;height:30px;color:var(--rose)}
.feature:hover{color:var(--rose)}

/* ---------- Sections ---------- */
.section{padding-block:54px 0}
.section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}
.section-title{display:flex;align-items:center;gap:14px;margin:0;font-size:22px;font-weight:800;flex:1}
.section-title::after{content:"";height:1.5px;width:70px;background:var(--rose);opacity:.6;border-radius:2px}

.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.card{background:var(--white);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);position:relative;display:flex;flex-direction:column}
.card-thumb{position:relative;aspect-ratio:16/8.4;background:var(--rose-soft);overflow:hidden}
.card-thumb img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.card:hover .card-thumb img{transform:scale(1.04)}
.card-thumb::after{content:"";position:absolute;inset:auto 0 -1px 0;height:22px;background:var(--white);border-radius:60% 40% 0 0/100% 100% 0 0}
.badge{position:absolute;z-index:2;top:14px;left:14px;background:var(--rose);color:#fff;border-radius:999px;padding:3px 14px;font-size:12px;display:inline-flex;gap:5px;align-items:center}
.card-body{padding:6px 22px 18px;display:flex;flex-direction:column;gap:2px;flex:1}
.card-title{margin:0;font-size:17px;font-weight:700;line-height:1.6}
.card-sub{font-size:13px;color:var(--muted);margin:0}
.card-foot{display:flex;align-items:center;justify-content:space-between;margin-top:12px}
.card-meta{display:flex;align-items:center;gap:14px;font-size:12px;color:var(--muted)}
.card-meta span{display:inline-flex;align-items:center;gap:5px}
.card-meta svg{width:14px;height:14px;color:var(--rose)}
.card-meta i{width:1px;height:12px;background:var(--line)}
.card-go{width:34px;height:34px;border-radius:50%;background:var(--rose);color:#fff;display:grid;place-items:center}
.card-go::before{content:"";width:7px;height:7px;border-left:2px solid #fff;border-bottom:2px solid #fff;transform:rotate(45deg);margin-left:3px}
.card-link{position:absolute;inset:0;z-index:1}
.card--post .card-thumb::after{height:0}
.card--post .card-body{padding-top:14px}
.card--post .card-foot{margin-top:6px}

.gallery{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}
.gallery-item{border-radius:14px;overflow:hidden;aspect-ratio:1/0.82;background:var(--rose-soft)}
.gallery-item img{width:100%;height:100%;object-fit:cover}

/* ---------- CTA ---------- */
.cta{margin-top:54px}
.cta-box{position:relative;display:flex;align-items:center;gap:30px;justify-content:space-between;background:linear-gradient(100deg,#f7e4e2,#f3d6d5);border-radius:22px;padding:30px 44px;overflow:hidden}
.cta-text{max-width:430px;font-size:15px;font-weight:500;line-height:2;margin:0;position:relative;z-index:1}
.cta-script{font-size:26px;font-weight:600;color:var(--rose);position:relative;z-index:1;margin:0}
.cta-mic{position:absolute;right:30px;left:auto;top:50%;transform:translateY(-50%);width:100px;color:var(--rose);opacity:.2}

/* ---------- Footer ---------- */
.site-footer{margin-top:54px;padding:26px 0 30px;font-size:13px;color:#6b6264;text-align:center}
.site-footer .copy{margin:0 0 4px}
.site-footer .credit a{color:var(--rose-dark);font-weight:600}
.site-footer .heart{color:#e0485a;margin-inline:3px}
.footer-menu{list-style:none;display:flex;justify-content:center;gap:20px;margin:0 0 10px;padding:0}

/* ---------- Inner pages ---------- */
.page-wrap{padding-block:50px 0}
.entry{background:#fff;border-radius:var(--radius);box-shadow:var(--shadow);padding:34px}
.entry-title{margin:0 0 12px;font-size:28px;font-weight:800}
.entry-meta{font-size:13px;color:var(--muted);margin-bottom:20px}
.entry-content{font-size:16px;line-height:2.1}
.entry-content a{color:var(--rose-dark);text-decoration:underline}
.entry-thumb{border-radius:14px;overflow:hidden;margin-bottom:22px}
.archive-title{font-size:26px;font-weight:800;margin:0 0 26px}
.pagination{display:flex;gap:8px;justify-content:center;margin-top:30px}
.pagination .page-numbers{min-width:38px;height:38px;display:grid;place-items:center;border-radius:50%;background:#fff;box-shadow:var(--shadow);font-size:14px}
.pagination .current{background:var(--rose);color:#fff}

/* ---------- Responsive ---------- */
@media (max-width:991px){
  .nav-toggle{display:grid;order:3}
  .main-nav{position:absolute;inset:84px 0 auto 0;background:#fff;box-shadow:var(--shadow);padding:14px 20px;display:none}
  .main-nav.is-open{display:block}
  .main-nav ul{flex-direction:column;gap:2px}
  .main-nav .sub-menu{position:static;display:flex;box-shadow:none;padding:0 14px}
  .cards{grid-template-columns:repeat(2,1fr)}
  .gallery{grid-template-columns:repeat(3,1fr)}
  .hero-wavebars,.hero-mic{display:none}
  .cta-box{padding:26px}
}
@media (max-width:640px){
  .hero{min-height:0;padding-top:84px}
  .hero-photo{position:relative;width:70%;height:340px;margin:0 auto -60px;inset:auto}
  .hero{display:flex;flex-direction:column-reverse}
  .hero-wave{display:none}
  .hero-inner{padding-block:10px 80px}
  .features-box{grid-template-columns:repeat(3,1fr);row-gap:16px}
  .cards{grid-template-columns:1fr}
  .gallery{grid-template-columns:repeat(2,1fr)}
  .cta-box{flex-direction:column;text-align:center}
  .cta-mic{display:none}
  .section-title::after{width:30px}
}
@media (prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

/* ---------- hints, gallery archive, lightbox ---------- */
.empty-hint{margin:0;padding:18px;border:1.5px dashed var(--line);border-radius:14px;color:var(--muted);font-size:13px;text-align:center;background:rgba(255,255,255,.6)}
.gallery-item a{display:block;height:100%;cursor:zoom-in}
.gallery-item img{transition:transform .5s}
.gallery-item:hover img{transform:scale(1.05)}
.gallery--archive{grid-template-columns:repeat(4,1fr)}
@media (max-width:991px){.gallery--archive{grid-template-columns:repeat(3,1fr)}}
@media (max-width:640px){.gallery--archive{grid-template-columns:repeat(2,1fr)}}
.sf-lightbox{position:fixed;inset:0;z-index:9999;background:rgba(30,20,22,.88);display:grid;place-items:center;padding:24px;cursor:zoom-out}
.sf-lightbox img{max-width:100%;max-height:100%;border-radius:12px}

.card-price{margin-top:8px;font-size:15px;font-weight:700;color:var(--rose-dark)}
.card-price del{color:var(--muted);font-weight:400;font-size:12px;margin-inline-end:6px}
.card-price ins{text-decoration:none}
.card-price .woocommerce-Price-currencySymbol{font-size:12px;font-weight:500;margin-inline-start:3px}
.card-price.is-free{color:#3f8f6b}

/* =====================  صفحه وبلاگ  ===================== */
body:not(.home) .main-nav>ul>.current-menu-item>a,body:not(.home) .main-nav>ul>.current_page_item>a{color:var(--ink);box-shadow:inset 0 -2px 0 var(--rose)}
body:not(.home) .search-toggle{background:var(--rose-soft);box-shadow:none}
.btn--light{background:#fff;color:var(--rose-dark);box-shadow:0 4px 12px rgba(150,90,95,.12);padding:8px 22px}
.btn--light:hover{background:var(--rose-soft)}
.btn svg{width:14px;height:14px}

.blog-hero{position:relative;overflow:hidden;min-height:270px;background:linear-gradient(180deg,#fceeed,#fdf6f5)}
.blog-hero__photo{position:absolute;left:0;top:0;bottom:0;width:42%;-webkit-mask-image:linear-gradient(to left,transparent 0,#000 38%);mask-image:linear-gradient(to left,transparent 0,#000 38%)}
.blog-hero__photo img{width:100%;height:100%;object-fit:cover}
.blog-hero__photo.is-empty{background:linear-gradient(160deg,#f3d4d1,#e9bfc0)}
.blog-hero__leaf{position:absolute;right:10px;top:10px;width:70px;color:var(--rose);opacity:.7;transform:rotate(14deg)}
.blog-hero__inner{position:relative;padding-block:56px 78px}
.blog-hero__title{margin:0 0 6px;font-size:clamp(38px,5vw,56px);font-weight:800;line-height:1.3}
.blog-hero__sub{margin:0;font-size:16px;font-weight:500;color:#3a3536}
.blog-hero__wave{position:absolute;inset:auto 0 -1px 0;width:100%;height:60px}

.blog-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:30px;padding-top:30px;align-items:start}
.blog-sort{display:flex;justify-content:flex-start;margin-bottom:18px}
.blog-sort details{position:relative}
.blog-sort summary{list-style:none;cursor:pointer;display:inline-flex;align-items:center;gap:8px;background:#fff;border-radius:12px;box-shadow:var(--shadow);padding:8px 18px;font-size:13px;font-weight:500}
.blog-sort summary::-webkit-details-marker{display:none}
.blog-sort summary svg{width:14px;height:14px}
.blog-sort ul{position:absolute;z-index:10;top:calc(100% + 6px);inset-inline-start:0;min-width:170px;list-style:none;margin:0;padding:8px;background:#fff;border-radius:14px;box-shadow:var(--shadow)}
.blog-sort li a{display:block;padding:8px 12px;border-radius:10px;font-size:13px}
.blog-sort li a:hover,.blog-sort li a.is-current{background:var(--rose-soft);color:var(--rose-dark)}

.cards--blog{grid-template-columns:repeat(2,minmax(0,1fr))}
.card--blog .card-thumb{aspect-ratio:16/9}
.card--blog .card-thumb::after{height:22px}
.chip{position:absolute;z-index:2;top:14px;right:14px;background:rgba(255,255,255,.92);color:var(--ink);border-radius:999px;padding:3px 14px;font-size:12px;font-weight:500}
.card--blog .card-body{padding:4px 22px 18px}
.card--blog .card-title{font-size:18px;margin-bottom:6px}
.card-excerpt{margin:0 0 14px;font-size:13px;line-height:1.95;color:var(--muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.card--blog .card-foot{margin-top:auto}
.read-more{display:inline-flex;align-items:center;gap:8px;background:var(--rose-soft);color:var(--rose-dark);border-radius:999px;padding:7px 18px;font-size:12px;font-weight:600}
.read-more svg{width:14px;height:14px}
.card--blog:hover .read-more{background:var(--rose);color:#fff}

.blog-main .pagination{margin-top:34px}
.pagination .page-numbers{transition:background .2s}
.pagination a.page-numbers:hover{background:var(--rose-soft)}

.blog-sidebar{display:flex;flex-direction:column;gap:20px}
.widget-box{background:#fff;border-radius:var(--radius);box-shadow:var(--shadow);padding:20px 22px}
.widget-title{display:flex;align-items:center;gap:12px;margin:0 0 14px;font-size:18px;font-weight:800}
.widget-title::after{content:"";flex:1;max-width:60px;height:1.5px;background:var(--rose);opacity:.55}
.widget-title--star svg{width:20px;height:20px;color:var(--rose);order:3;margin-inline-start:auto}
.widget-title--star::after{order:2}
.sb-search{display:flex;flex-direction:row-reverse;gap:8px;align-items:center}
.sb-search input{flex:1;min-width:0;border:1px solid var(--line);border-radius:12px;padding:10px 14px;font:inherit;font-size:13px;background:var(--blush)}
.sb-search button{flex:none;width:40px;height:40px;border:0;border-radius:12px;background:var(--rose);color:#fff;display:grid;place-items:center;cursor:pointer}
.sb-search button svg{width:17px;height:17px}
.sb-cats{list-style:none;margin:0;padding:0}
.sb-cats a{display:flex;align-items:center;gap:12px;padding:9px 0;font-size:14px}
.sb-cats svg{width:18px;height:18px;color:var(--rose)}
.sb-cats a:hover,.sb-cats a.is-current{color:var(--rose)}
.widget-promo{background:linear-gradient(120deg,#f8e6e4,#f3d6d5);display:flex;align-items:center;gap:10px;overflow:hidden}
.promo-text{flex:1}
.promo-text p{margin:0 0 12px;font-size:14px;font-weight:600;line-height:2}
.promo-img{width:96px;flex:none;color:var(--rose);opacity:.9}
.promo-img img,.promo-img svg{width:100%;height:auto;max-height:130px;object-fit:contain}
.sb-popular{list-style:none;margin:0;padding:0}
.sb-popular li+li{border-top:1px solid var(--line)}
.sb-popular a{display:flex;align-items:center;gap:12px;padding:12px 0}
.sb-popular__text{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}
.sb-popular__text strong{font-size:14px;line-height:1.7;font-weight:700}
.sb-popular__text small{display:inline-flex;align-items:center;gap:5px;font-size:11px;color:var(--muted)}
.sb-popular__text small svg{width:13px;height:13px;color:var(--rose)}
.sb-popular__img{width:86px;height:60px;flex:none;border-radius:10px;overflow:hidden}
.sb-popular__img img{width:100%;height:100%;object-fit:cover}
.sb-popular a:hover strong{color:var(--rose)}

.newsletter{margin-top:46px}
.newsletter-box{position:relative;display:flex;align-items:center;justify-content:space-between;gap:30px;padding:30px 44px;border-radius:22px;background:linear-gradient(100deg,#f7e4e2,#f3d6d5);overflow:hidden}
.newsletter-text{position:relative;z-index:1}
.newsletter-text h2{margin:0 0 4px;font-size:19px;font-weight:800}
.newsletter-text p{margin:0;font-size:14px;color:#4a4445}
.newsletter-form,.newsletter-sc{position:relative;z-index:1;flex:0 1 420px}
.newsletter-form{display:flex;align-items:center;background:#fff;border-radius:999px;padding:5px;box-shadow:0 4px 14px rgba(150,90,95,.1)}
.newsletter-form input{flex:1;min-width:0;border:0;background:transparent;padding:8px 18px;font:inherit;font-size:13px;outline:0}
.newsletter-form .btn{box-shadow:none;padding:9px 26px}
.newsletter-leaf{position:absolute;left:14px;bottom:-6px;width:56px;color:var(--rose);opacity:.55;transform:rotate(-12deg)}
.newsletter-plane{position:absolute;left:44%;top:14px;width:46px;color:var(--rose);opacity:.7}

/* ---- فوتر ---- */
.site-footer{position:relative;margin-top:50px;padding:0 0 22px;text-align:initial;background:#fbeceb;font-size:13px;color:#5d5557}
.footer-wave{position:absolute;inset:-48px 0 auto 0;width:100%;height:50px;pointer-events:none}
.site-footer .container{position:relative}
.footer-top{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:20px;padding-block:34px 18px}
.footer-brand{display:flex;flex-direction:column;gap:4px;align-items:flex-start}
.footer-brand .site-branding{font-size:30px}
.footer-brand p{margin:0 0 0 4px;font-size:12px}
.footer-menu{list-style:none;display:flex;flex-wrap:wrap;justify-content:center;gap:0;margin:0;padding:0}
.footer-menu li+li::before{content:"|";color:#cdb4b3;margin-inline:12px}
.footer-menu a:hover{color:var(--rose)}
.footer-social{display:flex;gap:18px;justify-content:flex-end}
.footer-social a{width:26px;height:26px;display:grid;place-items:center;color:var(--ink)}
.footer-social a:hover{color:var(--rose)}
.footer-social svg{width:24px;height:24px}
.footer-bottom{display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap;padding-top:14px;border-top:1px solid #f0d9d8}
.footer-bottom p{margin:0}

@media (max-width:991px){
  .blog-layout{grid-template-columns:1fr}
  .footer-top{grid-template-columns:1fr;justify-items:center;text-align:center}
  .footer-brand{align-items:center}
  .footer-social{justify-content:center}
  .footer-bottom{justify-content:center;text-align:center}
  .newsletter-box{flex-direction:column;align-items:stretch;padding:26px}
  .newsletter-form,.newsletter-sc{flex-basis:auto}
  .newsletter-plane{display:none}
}
@media (max-width:640px){
  .cards--blog{grid-template-columns:1fr}
  .blog-hero__photo{opacity:.35;width:100%}
}

/* =====================  صفحه نوشته تکی  ===================== */
.blog-hero--single{min-height:220px}
.blog-hero--single .blog-hero__inner{padding-block:30px 60px}
.breadcrumb{display:flex;align-items:center;gap:8px;font-size:12px;color:#4a4445;margin-bottom:16px;flex-wrap:wrap}
.breadcrumb a{display:inline-flex;align-items:center;gap:5px}
.breadcrumb a:hover{color:var(--rose)}
.breadcrumb svg{width:15px;height:15px}
.breadcrumb i{font-style:normal;color:var(--muted)}
.single-title{font-size:clamp(26px,3.6vw,40px);margin:0 0 14px;position:relative;padding-bottom:14px}
.single-title::after{content:"";position:absolute;right:0;bottom:0;width:60px;height:2px;background:var(--rose);border-radius:2px}
.single-meta{display:flex;flex-wrap:wrap;gap:26px;font-size:13px;color:#3a3536}
.single-meta span{display:inline-flex;align-items:center;gap:7px}
.single-meta svg{width:18px;height:18px;color:var(--rose)}

.single-main{min-width:0}
.single-thumb{border-radius:14px;overflow:hidden;margin-bottom:24px}
.single-thumb img{width:100%;height:auto;max-height:430px;object-fit:cover}
.single-article .entry-content{font-size:15.5px;line-height:2.25;text-align:justify;color:#2e2a2b}
.single-article .entry-content p{margin:0 0 18px}
.single-article .entry-content h2,.single-article .entry-content h3{font-weight:800;margin:28px 0 12px;line-height:1.7}
.single-article .entry-content img{border-radius:12px}
.single-article .entry-content ul,.single-article .entry-content ol{padding-inline-start:24px;margin:0 0 18px}
.entry-content blockquote{position:relative;margin:24px 0;padding:18px 62px 18px 22px;background:var(--rose-soft);border-radius:14px;font-style:italic;color:#4a3f41}
.entry-content blockquote::before{content:"”";position:absolute;right:20px;top:2px;font-size:54px;line-height:1.2;color:var(--rose);font-style:normal;font-family:Georgia,serif}
.entry-content blockquote p{margin:0}

.author-box{position:relative;display:flex;align-items:center;gap:20px;margin-top:30px;padding:22px 26px;background:linear-gradient(100deg,#fbeceb,#fdf3f2);border:1px solid #f4e1df;border-radius:18px;overflow:hidden}
.author-box__avatar{flex:none;width:84px;height:84px;border-radius:50%;overflow:hidden;border:3px solid #fff;box-shadow:var(--shadow)}
.author-box__avatar img{width:100%;height:100%;object-fit:cover}
.author-box__text{display:flex;flex-direction:column;gap:2px;position:relative;z-index:1}
.author-box__text strong{font-size:17px;font-weight:800}
.author-box__text span{font-size:13px;color:var(--rose-dark)}
.author-box__text p{margin:4px 0 0;font-size:13px;color:var(--muted)}
.author-box__leaf{position:absolute;left:16px;top:50%;transform:translateY(-50%) rotate(-10deg);width:60px;color:var(--rose);opacity:.55}

.single-section{margin-top:34px}
.section-title--sm{font-size:16px;margin-bottom:16px}
.cards--related{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.cards--related .card-title{font-size:14px}
.cards--related .card-body{padding:12px 16px 14px}

.comment-box{background:#fff;border-radius:var(--radius);box-shadow:var(--shadow);padding:22px 24px}
.comment-empty{margin:0 0 14px;font-size:12px;color:var(--muted)}
.comment-list{list-style:none;margin:0 0 20px;padding:0}
.comment-list .children{list-style:none;padding-inline-start:30px}
.comment-list .comment-body{padding:14px 0;border-bottom:1px solid var(--line);font-size:14px}
.comment-list .comment-author{display:flex;align-items:center;gap:10px;font-weight:700}
.comment-list .comment-author img{border-radius:50%}
.comment-list .comment-metadata{font-size:11px;color:var(--muted);margin:2px 0 6px}
.comment-list .comment-metadata a{color:inherit}
.comment-list .reply a{font-size:12px;color:var(--rose-dark);font-weight:600}
.comment-form{display:flex;flex-wrap:wrap;gap:12px}
.comment-form>p{margin:0}
.comment-form-author,.comment-form-email{flex:1 1 220px}
.comment-form-comment,.form-submit{flex:1 1 100%}
.comment-form input,.comment-form textarea{width:100%;border:1px solid var(--line);border-radius:12px;background:var(--blush);padding:12px 16px;font:inherit;font-size:14px;outline:0}
.comment-form input:focus,.comment-form textarea:focus{border-color:var(--rose)}
.comment-form textarea{resize:vertical;min-height:130px}
.comment-form .form-submit{text-align:left}
.comment-form .btn{padding:10px 30px}

.footer-social a{background:#fff;border-radius:50%;width:38px;height:38px;box-shadow:0 3px 10px rgba(150,90,95,.1)}
.footer-social svg{width:18px;height:18px}

@media (max-width:640px){
  .cards--related{grid-template-columns:1fr}
  .single-meta{gap:14px}
  .author-box{flex-direction:column;text-align:center}
  .author-box__leaf{display:none}
  .comment-form .form-submit{text-align:center}
}

/* =====================  آرشیو تجربه‌های من  ===================== */
.blog-hero--mirror{min-height:300px}
.blog-hero__photo--right{left:auto;right:0;width:44%;-webkit-mask-image:linear-gradient(to right,transparent 0,#000 32%);mask-image:linear-gradient(to right,transparent 0,#000 32%)}
.blog-hero__photo--right img{object-position:center top}
.blog-hero__inner--mirror{display:flex;justify-content:flex-end;padding-block:44px 80px}
.mirror-text{width:min(48%,520px);text-align:right}
.mirror-text .single-title{font-size:clamp(34px,4.6vw,54px)}
.mirror-text .single-title::after{right:auto;left:auto;inset-inline-start:0;width:90px}
.mirror-text .breadcrumb{margin-bottom:12px}
.hero-deco{position:absolute;inset:0 auto 0 0;width:44%;pointer-events:none;color:var(--rose)}
.hero-deco__mic{position:absolute;left:3%;top:34px;width:58px;opacity:.16}
.hero-deco__mic svg{width:100%;height:auto}
.hero-deco__bars{position:absolute;left:8%;bottom:110px;display:flex;align-items:center;gap:4px;height:100px;opacity:.28}
.hero-deco__bars i{display:block;width:3px;background:var(--rose);border-radius:3px}
.hero-deco__leaf{position:absolute;left:6px;bottom:30px;width:64px;opacity:.6;transform:rotate(-20deg)}

.exp-filter{display:flex;flex-wrap:wrap;gap:12px;justify-content:center;margin:26px 0 30px}
.exp-filter a{display:inline-flex;align-items:center;gap:8px;padding:11px 24px;border-radius:14px;background:#fff;border:1px solid var(--line);font-size:14px;font-weight:500;box-shadow:0 3px 10px rgba(150,90,95,.05);transition:background .2s,color .2s}
.exp-filter svg{width:18px;height:18px;color:var(--rose)}
.exp-filter a:hover{background:var(--rose-soft)}
.exp-filter a.is-active{background:var(--rose);border-color:var(--rose);color:#fff;box-shadow:0 8px 18px rgba(196,99,109,.28)}
.exp-filter a.is-active svg{color:#fff}

.exp-page{padding-top:6px}
.cards--exp{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.card--exp .card-thumb{aspect-ratio:16/7.2}
.card--exp .card-thumb::after{height:0}
.date-badge{position:absolute;z-index:2;top:14px;left:14px;display:inline-flex;align-items:center;gap:6px;background:rgba(255,255,255,.92);border-radius:999px;padding:3px 14px;font-size:12px;color:#4a4445}
.date-badge svg{width:14px;height:14px;color:var(--rose)}
.card--exp .card-body{padding:16px 24px 18px;gap:6px}
.card--exp .card-title{font-size:18px}
.card--exp .card-excerpt{margin:0;min-height:3.9em}
.more-link{display:inline-flex;align-items:center;gap:8px;margin-top:8px;font-size:13px;font-weight:600;color:var(--rose-dark)}
.more-link svg{width:15px;height:15px}
.card--exp:hover .more-link{color:var(--rose)}
.exp-page .pagination{margin-top:30px}

.newsletter--alt .newsletter-leaf{left:auto;right:16px;transform:rotate(14deg)}
.newsletter--alt .newsletter-plane{left:26px;right:auto;top:50%;transform:translateY(-50%);width:54px;opacity:.8}
.newsletter--alt .newsletter-box{padding-inline:90px}
.newsletter--alt .newsletter-text{order:0}

@media (max-width:991px){
  .blog-hero__photo--right{width:100%;opacity:.28}
  .mirror-text{width:100%}
  .hero-deco{display:none}
  .newsletter--alt .newsletter-box{padding-inline:26px}
}
@media (max-width:640px){
  .cards--exp{grid-template-columns:1fr}
  .exp-filter a{padding:9px 16px;font-size:13px}
}

/* لایت‌باکس با توضیح */
.sf-lightbox figure{margin:0;max-width:min(920px,100%);max-height:100%;display:flex;flex-direction:column;gap:12px;align-items:center}
.sf-lightbox img{max-height:72vh;width:auto;max-width:100%}
.sf-lightbox figcaption{color:#fff;text-align:center;max-width:640px;display:flex;flex-direction:column;gap:4px;line-height:1.9}
.sf-lightbox figcaption strong{font-size:18px}
.sf-lightbox figcaption small{opacity:.75;font-size:12px}
.sf-lightbox figcaption p{margin:0;font-size:14px;opacity:.9}

/* =====================  درباره من  ===================== */
.about-hero{position:relative;overflow:hidden;min-height:420px;background:linear-gradient(180deg,#fbeceb,#fdf6f5)}
.about-hero__photo{position:absolute;left:0;bottom:0;height:100%;width:46%;max-width:620px;-webkit-mask-image:linear-gradient(to left,transparent 0,#000 28%);mask-image:linear-gradient(to left,transparent 0,#000 28%)}
.about-hero__photo img{width:100%;height:100%;object-fit:cover;object-position:top center}
.about-hero__photo.is-empty{background:linear-gradient(160deg,#f3d4d1,#e9bfc0)}
.film-strip{position:absolute;pointer-events:none}
.about-hero__film{left:0;bottom:30px;width:70%;height:130px}
.about-hero__masks{position:absolute;left:46%;top:46px;width:140px;color:#9b8a8e;opacity:.4}
.about-hero__inner{position:relative;padding-block:50px 110px}
.about-hero__text{max-width:520px}
.about-eyebrow{display:flex;align-items:center;gap:14px;margin:0 0 6px;font-size:18px;font-weight:600}
.about-eyebrow::before,.about-eyebrow::after{content:"";width:46px;height:2px;background:var(--rose);border-radius:2px}
.about-name{margin:0 0 8px;font-size:clamp(44px,6vw,74px);font-weight:800;line-height:1.3;color:#33262c}
.about-sub{margin:0 0 22px;font-size:18px;font-weight:600;color:#3a3536}
.about-script{display:inline-block;margin:0;padding-bottom:10px;font-size:22px;font-style:italic;color:var(--rose);background:linear-gradient(90deg,transparent,var(--rose)) bottom/100% 2px no-repeat}
.about-hero__wave{height:70px}

.about-body{padding-bottom:10px}
.about-section{margin-top:30px}
.about-tab{display:flex;margin-bottom:-1px;position:relative;z-index:1}
.about-tab h2{margin:0;font-size:17px;font-weight:800;color:var(--rose-dark);background:linear-gradient(100deg,#f7dedd,#f9e9e8);padding:10px 20px 10px 66px;border-radius:18px 18px 0 0;order:2}
.about-tab__ico{order:1;width:46px;height:46px;border-radius:50%;background:var(--rose);color:#fff;display:grid;place-items:center;margin-inline-end:-30px;margin-top:-4px;box-shadow:0 6px 14px rgba(196,99,109,.3);position:relative;z-index:2}
.about-tab__ico svg{width:24px;height:24px}
.about-card{background:#fff;border:1px solid var(--line);border-radius:18px 0 18px 18px;box-shadow:var(--shadow)}
.about-card{border-start-start-radius:0}

.about-personal{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:16px;align-items:stretch}
.about-info{display:grid;grid-template-columns:1fr 1fr;padding:22px 28px}
.about-info__col{display:flex;flex-direction:column;gap:12px;justify-content:center}
.about-info__col+.about-info__col{border-inline-start:1px solid var(--rose);border-inline-start-color:rgba(196,99,109,.5);padding-inline-start:28px}
.about-row{margin:0;font-size:15px;display:flex;gap:8px;flex-wrap:wrap;align-items:baseline}
.about-row span{color:#5b5254;font-weight:500}
.about-row strong{font-weight:700;color:var(--ink)}
.about-row.is-small{font-size:13px}
.about-row--pair{gap:10px}
.about-row--pair i{width:1px;height:16px;background:var(--rose);margin-inline:8px;align-self:center}
.about-contact{position:relative;background:linear-gradient(120deg,#f7e2e0,#f2d3d3);border-radius:18px;padding:22px 24px;display:flex;align-items:center}
.about-contact ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px;position:relative;z-index:1}
.about-contact li{display:flex;align-items:center;gap:12px;font-size:13px;direction:rtl}
.about-contact .ico{width:22px;height:22px;flex:none;color:var(--rose)}
.about-contact .ico svg{width:100%;height:100%}
.about-contact a{unicode-bidi:plaintext;text-align:left;word-break:break-all}
.about-contact a:hover{color:var(--rose-dark)}
.about-contact__leaf{position:absolute;left:-52px;top:-30px;width:90px;color:var(--rose);opacity:.7;transform:rotate(-8deg)}

.about-resume{position:relative;overflow:hidden;min-height:270px;display:flex;flex-direction:column;justify-content:center}
.about-resume__img{position:absolute;left:0;top:0;bottom:0;width:44%;-webkit-mask-image:linear-gradient(to right,#000 55%,transparent 100%);mask-image:linear-gradient(to right,#000 55%,transparent 100%)}
.about-resume__img img{width:100%;height:100%;object-fit:cover}
.about-resume__img.is-empty{background:linear-gradient(120deg,#f3d4d1,#fbeceb)}
.about-resume__body{position:relative;width:60%;margin-right:0;margin-left:auto;padding:24px 28px 44px 20px}
.about-sub-title{display:flex;align-items:center;gap:10px;margin:0 0 14px;font-size:17px;font-weight:800}
.about-sub-title svg{width:24px;height:24px;color:var(--rose)}
.about-list{margin:0;padding-inline-start:20px;display:flex;flex-direction:column;gap:7px;font-size:14px;line-height:1.9}
.about-list li::marker{color:var(--rose)}
.about-highlight{position:relative;z-index:2;display:flex;align-items:center;gap:16px;margin:-30px 0 0 auto;width:66%;background:linear-gradient(100deg,#f7dedd,#f9e9e8);border:1px solid #f1d3d1;border-radius:16px;padding:16px 24px;box-shadow:var(--shadow)}
.about-highlight__ico{flex:none;width:44px;color:#c98089}
.about-highlight__ico svg{width:100%;height:auto}
.about-highlight p{margin:0;font-size:14px;line-height:2;color:#4a4445}

.about-work{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:26px;align-items:center;padding:18px}
.about-work__photos{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.about-work__photo{aspect-ratio:3/4;border-radius:12px;overflow:hidden;background:var(--rose-soft)}
.about-work__photo img{width:100%;height:100%;object-fit:cover}
.about-work__text p{margin:0 0 16px;font-size:14px;line-height:2.1;color:#3a3536}

.about-quote{position:relative;overflow:hidden;margin-top:44px;border-radius:22px;background:linear-gradient(100deg,#f1cfcf,#f6e0df);padding:44px 70px;min-height:150px;display:flex;align-items:center}
.about-quote p{position:relative;z-index:1;margin:0;font-size:22px;font-weight:700;line-height:2;color:#33262c}
.about-quote__mark{position:relative;z-index:1;font-size:70px;line-height:.8;color:var(--rose);font-family:Georgia,serif;margin-inline-end:14px;align-self:flex-start}
.about-quote__film{left:0;bottom:-20px;width:62%;height:120px;opacity:.9}
.about-quote__chair{position:absolute;left:4%;bottom:10px;width:74px;color:#7a4b53;opacity:.85}

@media (max-width:991px){
  .about-hero__photo{width:60%;opacity:.55}
  .about-hero__masks{display:none}
  .about-personal{grid-template-columns:1fr}
  .about-resume__img{width:100%;opacity:.25}
  .about-resume__body{width:100%}
  .about-highlight{width:100%;margin-top:14px}
  .about-work{grid-template-columns:1fr}
}
@media (max-width:640px){
  .about-info{grid-template-columns:1fr;gap:14px}
  .about-info__col+.about-info__col{border:0;padding:0}
  .about-work__photos{grid-template-columns:repeat(2,1fr)}
  .about-quote{padding:34px 24px}
  .about-quote p{font-size:18px}
  .about-quote__chair{display:none}
}

/* ویدئوی بنر درباره من */
.about-quote__text{position:relative;z-index:1;display:flex;align-items:flex-start}
.about-quote__text p{margin:0}
.about-quote--video{justify-content:space-between;gap:36px;padding:30px 44px;min-height:0}
.about-quote--video .about-quote__film{opacity:.5}
.about-quote__video{position:relative;z-index:1;flex:0 0 min(46%,460px);aspect-ratio:16/9;border-radius:16px;overflow:hidden;background:#2b1f23;box-shadow:0 12px 30px rgba(120,60,70,.28)}
.about-quote__video video,.about-quote__video iframe{position:absolute;inset:0;width:100%;height:100%;border:0;object-fit:cover}
@media (max-width:991px){
  .about-quote--video{flex-direction:column;align-items:stretch;padding:26px}
  .about-quote__video{flex-basis:auto;width:100%}
}

/* ---- ویدئوی بنر درباره من: نسخهٔ نهایی ---- */
.about-quote--video{justify-content:space-between;align-items:center;gap:30px;padding:28px 36px 28px 26px;min-height:0;isolation:isolate}
.about-quote--video .about-quote__film{z-index:0;opacity:.45}
.about-quote--video .about-quote__text{flex:1;min-width:0}
.about-quote--video .about-quote__video{flex:0 0 min(52%,560px);z-index:1;aspect-ratio:16/9;border-radius:22px;overflow:hidden;background:#2b1f23;border:6px solid rgba(255,255,255,.7);box-shadow:0 18px 40px rgba(120,60,70,.30),0 0 0 1px rgba(196,99,109,.18);transform:translateZ(0)}
.about-quote--video .about-quote__video video,.about-quote--video .about-quote__video iframe{border-radius:16px;background:#2b1f23}
@media (max-width:991px){
  .about-quote--video{flex-direction:column;align-items:stretch;padding:24px}
  .about-quote--video .about-quote__video{flex-basis:auto;width:100%}
}

/* =====================  آرشیو دوره‌ها (Tutor)  ===================== */
.blog-hero--courses{min-height:260px}
.courses-page .exp-filter{margin-top:26px}
.cards--course{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.card--course .card-thumb{aspect-ratio:16/8.6}
.card--course .card-thumb::after{height:0}
.card--course .card-body{padding:16px 20px 18px;gap:4px}
.card--course .card-title{font-size:18px}
.card-meta--course{display:flex;gap:18px;margin-top:6px;font-size:12px;color:var(--muted)}
.card-meta--course span{display:inline-flex;align-items:center;gap:6px}
.card-meta--course svg{width:16px;height:16px;color:var(--rose)}
.card--course .card-foot{margin-top:12px}
.card--course .card-price{margin:0}
.pill--rose{background:#f7dcdc;color:var(--rose-dark);padding:8px 18px;font-weight:600}
.card--course:hover .pill--rose{background:var(--rose);color:#fff}

/* بنر خبرنامه (دوره‌ها): فرم سمت راست، متن وسط، جملهٔ دست‌نویس سمت چپ */
.newsletter-script{position:relative;z-index:1;margin:0;font-size:24px;font-style:italic;color:var(--rose);padding-bottom:8px;background:linear-gradient(90deg,transparent,var(--rose)) bottom/100% 2px no-repeat;white-space:nowrap}
.newsletter--courses .newsletter-box{padding-inline:80px 90px;gap:34px}
.newsletter--courses .newsletter-form,.newsletter--courses .newsletter-sc{flex:0 1 320px}
.newsletter--courses .newsletter-text{flex:1}
.newsletter--courses .newsletter-plane{left:auto;right:30px;top:12px;width:46px}
.newsletter--courses .newsletter-leaf{left:14px;right:auto}

@media (max-width:991px){
  .cards--course{grid-template-columns:repeat(2,minmax(0,1fr))}
  .newsletter--courses .newsletter-box{padding-inline:26px}
  .newsletter-script{white-space:normal}
}
@media (max-width:640px){
  .cards--course{grid-template-columns:1fr}
}

/* =====================  پنل کاربری (ووکامرس)  ===================== */
.container--wide{max-width:1320px}
.account-wrap{padding:0 0 10px}
.account-wrap .container--wide{padding-inline:0}
.entry--narrow{max-width:520px;margin:50px auto}
.entry--narrow .woocommerce form.login,.entry--narrow .woocommerce form.register{border:0;padding:0;margin:0}
.account-shell{display:grid;grid-template-columns:260px minmax(0,1fr);gap:0;align-items:start}
.account-side{position:sticky;top:0;align-self:stretch;background:#fff;border-inline-end:1px solid var(--line);padding:24px 14px 0;display:flex;flex-direction:column;min-height:640px}
.acc-menu{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}
.acc-menu a{display:flex;align-items:center;gap:14px;padding:12px 16px;border-radius:14px;font-size:15px;font-weight:500;color:#2b2728;transition:background .2s}
.acc-menu__ico{width:24px;height:24px;flex:none;color:#4a4445}
.acc-menu__ico svg{width:100%;height:100%}
.acc-menu__label{flex:1}
.acc-menu a:hover{background:var(--rose-soft)}
.acc-menu .is-active a{background:linear-gradient(100deg,#f7dcdc,#fbeaea);color:var(--rose-dark);font-weight:700;box-shadow:0 4px 12px rgba(196,99,109,.15)}
.acc-menu .is-active .acc-menu__ico{color:var(--rose)}
.acc-menu__badge{min-width:22px;height:22px;border-radius:999px;background:#c4485a;color:#fff;font-size:11px;display:grid;place-items:center;padding:0 6px;order:-1}
.acc-side-deco{margin-top:auto;padding:30px 10px 0;color:var(--rose);opacity:.85;display:flex;justify-content:center}
.acc-side-deco img{max-width:180px;height:auto}
.acc-side-deco svg{width:90px;height:auto;opacity:.5}
.account-main{padding:24px 28px 10px;min-width:0}
.account-main .woocommerce-MyAccount-content{width:100%;float:none}

.acc-box{background:#fff;border:1px solid var(--line);border-radius:20px;box-shadow:var(--shadow);padding:20px 22px}
.acc-hero{position:relative;display:flex;align-items:center;gap:30px;overflow:hidden;min-height:190px;padding:22px 34px;border-radius:22px;background:linear-gradient(100deg,#f5d9d9,#fbeceb)}
.acc-hero__user{position:relative;z-index:1;display:flex;align-items:center;gap:22px}
.acc-avatar{position:relative;width:140px;height:140px;border-radius:50%;padding:6px;background:#fff;box-shadow:var(--shadow)}
.acc-avatar img{width:100%;height:100%;border-radius:50%;object-fit:cover}
.acc-avatar__edit{position:absolute;bottom:6px;left:6px;width:34px;height:34px;border-radius:50%;background:var(--rose);color:#fff;display:grid;place-items:center;border:3px solid #fff}
.acc-avatar__edit svg{width:15px;height:15px}
.acc-hero__meta{display:flex;flex-direction:column;gap:6px;align-items:flex-start}
.acc-hero__meta h2{margin:0;font-size:24px;font-weight:800}
.acc-hero__badge{font-size:15px;color:#4a4445}
.acc-hero__meta small{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:#4a4445}
.acc-hero__meta small svg{width:16px;height:16px;color:var(--rose)}
.acc-hero__greet{position:relative;z-index:1;flex:1;text-align:right}
.acc-hero__greet h1{margin:0 0 6px;font-size:clamp(28px,3.4vw,42px);font-weight:800;font-style:italic;color:#3a2a30}
.acc-hero__greet p{margin:0;font-size:15px}
.acc-hero__heart{position:absolute;left:8%;top:20px;width:44px;color:var(--rose)}
.acc-hero__deco{position:absolute;inset:0 auto 0 0;width:44%;pointer-events:none}
.acc-hero__film{left:0;bottom:-14px;width:100%;height:110px;opacity:.7}
.acc-hero__clapper{position:absolute;left:34px;top:46px;width:110px;transform:rotate(-8deg);filter:drop-shadow(0 6px 8px rgba(0,0,0,.18))}
.acc-hero__leaf{position:absolute;left:4px;top:8px;width:60px;color:var(--rose);opacity:.6;transform:rotate(-24deg)}

.acc-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:14px;margin-top:16px}
.acc-stat{display:flex;align-items:center;gap:14px;background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow);padding:16px 18px;transition:transform .2s}
.acc-stat:hover{transform:translateY(-2px)}
.acc-stat__ico{width:46px;height:46px;flex:none;border-radius:14px;background:#fdecec;color:var(--rose);display:grid;place-items:center}
.acc-stat__ico svg{width:26px;height:26px}
.acc-stat__txt{flex:1;display:flex;flex-direction:column;line-height:1.5}
.acc-stat__txt strong{font-size:22px;font-weight:800}
.acc-stat__txt strong .woocommerce-Price-amount{font-size:16px}
.acc-stat__txt small{font-size:12px;color:var(--muted)}
.acc-stat__go{width:34px;height:34px;border-radius:50%;background:var(--rose-soft);flex:none;display:grid;place-items:center}
.acc-stat__go::before{content:"";width:7px;height:7px;border-left:2px solid var(--rose);border-bottom:2px solid var(--rose);transform:rotate(45deg);margin-left:3px}

.acc-tabbox{margin-top:16px;padding:18px 20px}
.acc-tabs{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:18px}
.acc-tabs button{display:flex;align-items:center;justify-content:center;gap:10px;padding:13px 10px;border:0;border-radius:14px;background:transparent;font:inherit;font-size:14px;font-weight:600;color:#4a4445;cursor:pointer;transition:background .2s,color .2s}
.acc-tabs button svg{width:22px;height:22px}
.acc-tabs button:hover{background:var(--rose-soft)}
.acc-tabs button.is-active{background:var(--rose);color:#fff;box-shadow:0 8px 18px rgba(196,99,109,.28)}
.acc-panel{display:none}
.acc-panel.is-active{display:block}
.acc-panel__head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.acc-panel__head h3{display:flex;align-items:center;gap:10px;margin:0;font-size:17px;font-weight:800}
.acc-panel__head h3 svg{width:24px;height:24px;color:var(--rose)}
.pill--plain{background:transparent;color:var(--rose-dark);font-weight:600}
.acc-empty{margin:0;padding:22px;text-align:center;color:var(--muted);font-size:14px;background:var(--blush);border-radius:14px}

.acc-courses{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.acc-course{background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden;box-shadow:0 4px 14px rgba(150,90,95,.06)}
.acc-course__thumb{position:relative;aspect-ratio:16/7.4;background:var(--rose-soft)}
.acc-course__thumb img{width:100%;height:100%;object-fit:cover}
.acc-status{position:absolute;z-index:2;top:12px;right:12px;display:inline-flex;align-items:center;gap:6px;background:rgba(255,255,255,.94);border-radius:999px;padding:4px 12px 4px 10px;font-size:12px;color:#2f7d57}
.acc-status svg{width:18px;height:18px}
.acc-course__body{padding:14px 16px 16px;display:flex;flex-direction:column;gap:10px}
.acc-course__body h4{margin:0;font-size:16px;font-weight:700;line-height:1.6}
.acc-progress{display:flex;align-items:center;gap:10px;font-size:12px;color:var(--muted)}
.acc-progress__txt{white-space:nowrap}
.acc-progress__bar{flex:1;height:7px;border-radius:7px;background:#f3e3e1;overflow:hidden;direction:rtl}
.acc-progress__bar i{display:block;height:100%;border-radius:7px;background:linear-gradient(90deg,#e8a0a6,var(--rose))}
.acc-course .pill{align-self:flex-start}
.acc-course .pill svg{width:16px;height:16px}

.acc-bottom{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;margin-top:16px}
.acc-list{list-style:none;margin:0;padding:0}
.acc-list li+li{border-top:1px solid var(--line)}
.acc-list a{display:flex;align-items:center;gap:14px;padding:12px 0}
.acc-list__img{width:76px;height:58px;flex:none;border-radius:10px;overflow:hidden;background:var(--rose-soft)}
.acc-list__img img{width:100%;height:100%;object-fit:cover}
.acc-list__txt{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
.acc-list__txt strong{font-size:14px;font-weight:700;line-height:1.7}
.acc-list__txt small{display:inline-flex;align-items:center;gap:5px;font-size:11px;color:var(--muted)}
.acc-list__txt small svg{width:13px;height:13px;color:var(--rose)}
.acc-chip{flex:none;border-radius:999px;padding:6px 20px;font-size:12px;font-weight:600;background:#f7dcdc;color:var(--rose-dark)}
.acc-chip.is-ok{background:#e4f3ea;color:#2f7d57}
.acc-chip.is-bad{background:#fbe0e0;color:#b23a48}
.acc-info{list-style:none;margin:0;padding:0}
.acc-info li{display:flex;align-items:center;gap:10px;padding:11px 0;font-size:14px}
.acc-info li+li{border-top:1px solid var(--line)}
.acc-info .ico{width:22px;height:22px;color:var(--rose);flex:none}
.acc-info .ico svg{width:100%;height:100%}
.acc-info .lbl{color:#5b5254}

/* صفحه‌های داخلی ووکامرس (ویرایش پروفایل، سفارش‌ها، ...) */
.account-main .woocommerce-MyAccount-content>*:first-child{margin-top:0}
.woocommerce-MyAccount-content h2,.woocommerce-MyAccount-content h3{font-weight:800}
.woocommerce-MyAccount-content form .form-row{margin-bottom:14px}
.woocommerce-MyAccount-content label{display:block;margin-bottom:6px;font-size:14px;font-weight:500}
.woocommerce-MyAccount-content input.input-text,.woocommerce-MyAccount-content select,.woocommerce-MyAccount-content textarea,.entry--narrow input.input-text{width:100%;border:1px solid var(--line);border-radius:12px;background:#fff;padding:11px 14px;font:inherit;font-size:14px}
.woocommerce-MyAccount-content fieldset{border:1px solid var(--line);border-radius:14px;padding:14px 18px;margin:18px 0}
.woocommerce .button,.woocommerce button.button,.woocommerce a.button,.woocommerce input.button{background:var(--rose);color:#fff;border:0;border-radius:999px;padding:11px 26px;font:inherit;font-size:14px;font-weight:600;cursor:pointer;box-shadow:0 8px 18px rgba(196,99,109,.25)}
.woocommerce .button:hover{background:var(--rose-dark);color:#fff}
.woocommerce table.shop_table{width:100%;border-collapse:separate;border-spacing:0;background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden;box-shadow:var(--shadow)}
.woocommerce table.shop_table th,.woocommerce table.shop_table td{padding:12px 16px;border-bottom:1px solid var(--line);text-align:right;font-size:14px}
.woocommerce table.shop_table thead th{background:var(--blush);font-weight:700}
.woocommerce-message,.woocommerce-info,.woocommerce-error{list-style:none;margin:0 0 16px;padding:14px 18px;border-radius:14px;background:#fff;border:1px solid var(--line);border-inline-start:4px solid var(--rose);font-size:14px}
.woocommerce-error{border-inline-start-color:#c4485a}
.woocommerce-MyAccount-content .woocommerce-message .button{float:left;margin-inline-start:12px}

@media (max-width:991px){
  .account-shell{grid-template-columns:1fr}
  .account-side{position:static;min-height:0;border-inline-end:0;border-bottom:1px solid var(--line);padding:14px}
  .acc-menu{flex-direction:row;overflow-x:auto;gap:8px;padding-bottom:6px}
  .acc-menu a{white-space:nowrap;padding:10px 14px}
  .acc-side-deco{display:none}
  .account-main{padding:18px 14px}
  .acc-courses{grid-template-columns:repeat(2,minmax(0,1fr))}
  .acc-bottom{grid-template-columns:1fr}
  .acc-hero{flex-direction:column;align-items:flex-start;padding:22px}
  .acc-hero__deco{opacity:.35}
}
@media (max-width:640px){
  .acc-courses{grid-template-columns:1fr}
  .acc-tabs{grid-template-columns:repeat(2,1fr)}
  .acc-hero__user{flex-direction:column;align-items:flex-start}
}

/* =====================  ورود / ثبت‌نام با موبایل  ===================== */
[hidden]{display:none!important}
.otp-page{padding:46px 0 10px}
.otp-card{position:relative;overflow:hidden;max-width:460px;margin:0 auto;background:#fff;border:1px solid var(--line);border-radius:24px;box-shadow:0 18px 44px rgba(150,90,95,.14);padding:34px 34px 26px}
.otp-card::before{content:"";position:absolute;inset:0 0 auto 0;height:6px;background:linear-gradient(90deg,#e8a0a6,var(--rose))}
.otp-card__deco{position:absolute;left:18px;top:22px;width:46px;color:var(--rose);opacity:.2}
.otp-title{margin:0 0 6px;font-size:24px;font-weight:800}
.otp-sub{margin:0 0 22px;font-size:14px;line-height:2;color:#5b5254}
.otp-step label{display:block;margin-bottom:8px;font-size:14px;font-weight:600}
.otp-field{display:flex;align-items:center;gap:10px;border:1.5px solid var(--line);border-radius:14px;background:var(--blush);padding:0 14px;transition:border-color .2s,box-shadow .2s}
.otp-field:focus-within{border-color:var(--rose);box-shadow:0 0 0 4px rgba(196,99,109,.12)}
.otp-field__ico{width:20px;height:20px;color:var(--rose);flex:none}
.otp-field__ico svg{width:100%;height:100%}
.otp-field input{flex:1;min-width:0;border:0;background:transparent;outline:0;padding:14px 0;font:inherit;font-size:18px;letter-spacing:2px;text-align:left}
.otp-field input::placeholder{letter-spacing:1px;color:#c3b3b3}
.otp-btn{width:100%;justify-content:center;margin-top:16px;padding:13px 20px;font-size:15px}
.otp-btn:disabled{opacity:.65;cursor:wait}
.otp-btn.is-loading::after{content:"";width:14px;height:14px;border:2px solid #fff;border-top-color:transparent;border-radius:50%;animation:otpspin .7s linear infinite}
@keyframes otpspin{to{transform:rotate(360deg)}}
.otp-sent{margin:0 0 16px;font-size:14px;line-height:2}
.otp-sent b{font-weight:700}
.otp-link{border:0;background:none;padding:0;font:inherit;font-size:13px;font-weight:600;color:var(--rose-dark);cursor:pointer;text-decoration:underline}
.otp-resend{margin:14px 0 0;text-align:center;font-size:13px;color:var(--muted)}
.otp-msg{min-height:22px;margin:14px 0 0;font-size:13px;text-align:center}
.otp-msg.is-err{color:#b23a48}
.otp-msg.is-ok{color:#2f7d57}
.otp-terms{margin:8px 0 0;font-size:12px;text-align:center;color:var(--muted)}
.otp-logged{text-align:center;margin:30px 0}
@media (max-width:640px){.otp-card{padding:28px 20px 22px;border-radius:20px}}

/* ---- دکمهٔ حساب کاربری در هدر ---- */
.header-account{display:flex;align-items:center}
.header-login{padding:9px 20px;font-size:13px;white-space:nowrap}
.header-login svg{width:18px;height:18px}
.header-profile{position:relative}
.header-profile__btn{display:flex;align-items:center;gap:10px;background:rgba(255,255,255,.9);border-radius:999px;padding:4px 14px 4px 6px;box-shadow:0 2px 10px rgba(0,0,0,.08);font-size:13px;font-weight:600;white-space:nowrap}
.header-profile__avatar{width:34px;height:34px;border-radius:50%;overflow:hidden;border:2px solid var(--rose-soft)}
.header-profile__avatar img{width:100%;height:100%;object-fit:cover}
.header-profile__menu{position:absolute;top:calc(100% + 8px);inset-inline-start:0;min-width:180px;list-style:none;margin:0;padding:8px;background:#fff;border-radius:14px;box-shadow:var(--shadow);display:none;z-index:30}
.header-profile:hover .header-profile__menu,.header-profile:focus-within .header-profile__menu{display:block}
.header-profile__menu a{display:block;padding:9px 12px;border-radius:10px;font-size:13px}
.header-profile__menu a:hover{background:var(--rose-soft);color:var(--rose-dark)}
@media (max-width:640px){
  .header-inner{gap:10px}
  .header-login span,.header-profile__label{display:none}
  .header-login{padding:10px;border-radius:50%}
  .header-profile__btn{padding:3px}
}

/* ---- اصلاح منوی پروفایل: بدون فاصلهٔ خالی و با کمی تأخیر در بسته‌شدن ---- */
.header-profile__menu{display:block;opacity:0;visibility:hidden;transform:translateY(4px);transition:opacity .15s ease,transform .15s ease,visibility 0s linear .25s}
.header-profile__menu::before{content:"";position:absolute;top:-12px;left:0;right:0;height:12px}
.header-profile:hover .header-profile__menu,.header-profile:focus-within .header-profile__menu{opacity:1;visibility:visible;transform:none;transition-delay:0s}

/* =====================  فروشگاه  ===================== */
.blog-hero--shop{min-height:230px}
.shop-hero__leaf{left:44%;right:auto;top:14px;width:84px;transform:rotate(8deg);opacity:.55}
.shop-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:20px;font-size:13px}
.shop-sort{display:flex;align-items:center;gap:12px;color:#4a4445}
.shop-sort .woocommerce-ordering{margin:0}
.shop-sort select{appearance:none;-webkit-appearance:none;min-width:150px;border:1px solid var(--line);border-radius:12px;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23444' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat 12px center/14px;padding:9px 16px 9px 34px;font:inherit;font-size:13px;box-shadow:var(--shadow);cursor:pointer}
.shop-count{color:#4a4445}
.cards--shop{list-style:none;margin:0;padding:0;grid-template-columns:repeat(3,minmax(0,1fr))}
.card--shop .card-thumb{aspect-ratio:1/.8;background:#f6ece9}
.card--shop .card-thumb::after{height:0}
.card--shop .card-thumb img{width:100%;height:100%;object-fit:cover}
.card--shop .card-body{padding:14px 18px 18px;gap:4px}
.card--shop .card-title{font-size:16px}
.card--shop .card-sub{font-size:12px}
.shop-badge{position:absolute;z-index:2;top:12px;right:12px;border-radius:999px;padding:3px 14px;font-size:12px;font-weight:600;color:#fff;background:var(--rose)}
.shop-badge.is-sale{background:#e0566a}
.shop-badge.is-out{background:#8b8283}
.shop-price{margin-top:8px;font-size:14px;font-weight:700;color:var(--ink);display:flex;gap:8px;align-items:baseline;flex-wrap:wrap}
.shop-price del{order:2;color:#a79c9d;font-weight:400;font-size:12px}
.shop-price ins{order:1;text-decoration:none;color:#d6455c}
.shop-price .woocommerce-Price-currencySymbol{font-size:12px;font-weight:500;margin-inline-start:3px}
.shop-btn{margin-top:12px;display:flex;justify-content:center;position:relative;z-index:2}
.sf-product .button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:78%;padding:10px 18px;font-size:12px;border-radius:999px;background:var(--rose);color:#fff;border:0;box-shadow:0 8px 16px rgba(196,99,109,.25);cursor:pointer}
.sf-product .button::after{content:"";width:16px;height:16px;background:currentColor;order:-1;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4h2.500l2.200 11h10.600L20.500 7H6.500'/%3E%3Ccircle cx='9' cy='19.500' r='1.400'/%3E%3Ccircle cx='17' cy='19.500' r='1.400'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4h2.500l2.200 11h10.600L20.500 7H6.500'/%3E%3Ccircle cx='9' cy='19.500' r='1.400'/%3E%3Ccircle cx='17' cy='19.500' r='1.400'/%3E%3C/svg%3E") center/contain no-repeat}
.sf-product .button.loading{opacity:.6}
.sf-product .button.added{display:none}
.sf-product .added_to_cart{display:inline-flex;font-size:12px;font-weight:600;color:var(--rose-dark);padding:9px 18px;border-radius:999px;background:var(--rose-soft)}

.shop-sidebar .widget-title--icon{justify-content:flex-start}
.widget-title--icon .wt-ico{width:22px;height:22px;color:var(--rose);order:3;margin-inline-start:auto}
.widget-title--icon::after{order:2}
.widget-title--icon .wt-ico svg{width:100%;height:100%}
.sb-cats--count a{justify-content:space-between;gap:10px;padding:8px 0}
.sb-cats--count em{font-style:normal;min-width:30px;height:24px;border-radius:999px;background:#f6e9e7;color:#6b6264;font-size:12px;display:grid;place-items:center;padding:0 8px}
.sb-cats--count a.is-current em{background:var(--rose);color:#fff}
.sb-cats--count a:hover span{color:var(--rose)}

.range{position:relative;height:28px;margin:6px 6px 8px}
.range__track{position:absolute;top:50%;inset-inline:0;height:4px;margin-top:-2px;border-radius:4px;background:#f1dede}
.range__track i{position:absolute;top:0;bottom:0;border-radius:4px;background:linear-gradient(90deg,#e8a0a6,var(--rose))}
.range input[type=range]{position:absolute;inset:0;width:100%;height:28px;margin:0;background:none;pointer-events:none;-webkit-appearance:none;appearance:none}
.range input[type=range]::-webkit-slider-runnable-track{background:none;height:28px}
.range input[type=range]::-moz-range-track{background:none}
.range input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;pointer-events:auto;width:18px;height:18px;margin-top:5px;border-radius:50%;background:#fff;border:3px solid var(--rose);cursor:pointer;box-shadow:0 2px 6px rgba(196,99,109,.35)}
.range input[type=range]::-moz-range-thumb{pointer-events:auto;width:12px;height:12px;border-radius:50%;background:#fff;border:3px solid var(--rose);cursor:pointer}
.range__label{margin:6px 0 0;font-size:12px;color:#5b5254}
.shop-filter{display:flex;flex-direction:column;gap:20px}
.shop-checks{list-style:none;margin:0 0 14px;padding:0;display:flex;flex-direction:column;gap:10px}
.shop-checks label{display:flex;align-items:center;gap:10px;font-size:14px;cursor:pointer}
.shop-checks input{appearance:none;-webkit-appearance:none;width:18px;height:18px;border:1.8px solid var(--rose);border-radius:5px;background:#fff;display:grid;place-items:center;cursor:pointer;margin:0}
.shop-checks input:checked{background:var(--rose)}
.shop-checks input:checked::after{content:"";width:9px;height:5px;border-left:2px solid #fff;border-bottom:2px solid #fff;transform:rotate(-45deg) translate(1px,-1px)}
.shop-filter__btn{width:100%;justify-content:center;padding:10px 18px}
.widget-gift{position:relative;overflow:hidden;background:linear-gradient(130deg,#f8e6e4,#f3d6d5);text-align:right}
.widget-gift__ico{display:grid;place-items:center;width:46px;height:46px;border-radius:50%;background:#fff;color:var(--rose);margin-inline-start:auto;margin-bottom:10px;box-shadow:var(--shadow)}
.widget-gift__ico svg{width:24px;height:24px}
.widget-gift__leaf{position:absolute;left:8px;top:6px;width:44px;color:var(--rose);opacity:.55;transform:rotate(-14deg)}
.widget-gift h3{margin:0 0 6px;font-size:17px;font-weight:800}
.widget-gift p{margin:0 0 14px;font-size:13px;line-height:2;color:#4a4445}

/* لیست محصولات مرتبط/پیشنهادی در صفحهٔ تک‌محصول */
.woocommerce ul.products{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.woocommerce ul.products::before,.woocommerce ul.products::after{display:none}

@media (max-width:991px){
  .cards--shop,.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}
  .shop-hero__leaf{display:none}
}
@media (max-width:640px){
  .cards--shop,.woocommerce ul.products{grid-template-columns:1fr}
  .shop-toolbar{flex-direction:column;align-items:stretch}
}
