/* =========================================================
   My Shop Theme - استایل پایه
   این فایل شامل ریست، متغیرهای CSS، و ساختار کلی صفحه است.
   استایل هر ماژول (مینی‌کارت، نوار ارسال رایگان، اسلایدرها)
   در فایل CSS اختصاصی خودش نوشته و از همین جا import می‌شود
   تا از تکرار قوانین جلوگیری شود.
   ========================================================= */

:root {
	--color-primary: #93a254;
	--color-primary-dark: #f98938;
	--color-text: #222;
	--color-text-light: #666;
	--color-bg: #fff;
	--color-border: #e5e5e5;
	--color-success: #2e7d32;
	--radius: 8px;
	--container-max: 1280px;
	--header-height: 76px;
	--transition: 0.2s ease;
}
@font-face {
    font-family:PeydaFaNum;
    src: url('../../fonts/PeydaFaNumWeb-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family:PeydaFaNum;
    src: url('../../fonts/PeydaFaNumWeb-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
* , *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: 'PeydaFaNum', Tahoma, Arial, sans-serif;
	color: var(--color-text);
	background: var(--color-bg);
	direction: rtl;
	line-height: 1.7;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }

.content-container,
.header-container,
.footer-container {
	max-width: var(--container-max);
	margin: 0 auto;
	padding: 0 20px;
}
/* ---------- تنظیمات ---------- */
#km-support{
  --km-accent:#E61E28;   /* رنگ تأکید (قرمز بلک‌فرایدی) */
  --km-ink:#1A1A1A;      /* رنگ اصلی لوگو */
  --km-bg:#ffffff;
  --km-soft:#f6f6f8;
  --km-line:#ececf1;
  --km-muted:#6d6d78;
  --km-wa:#25D366;
  --km-side:20px;        /* فاصله از کنار صفحه */
}
#km-support{position:fixed;right:var(--km-side);bottom:calc(85px + env(safe-area-inset-bottom,0px));z-index:99999;direction:rtl;font-family:inherit;font-size:14px;line-height:1.75;color:var(--km-ink);-webkit-tap-highlight-color:transparent;text-align:right}
/* برای انتقال دکمه به سمت راست، به div اصلی کلاس km-right بدهید: <div id="km-support" class="km-right"> */
@media(min-width:900px){
	#km-support{
		bottom:calc(45px + env(safe-area-inset-bottom,0px));
	}
}
#km-support,#km-support *{box-sizing:border-box}

#km-support.km-right{left:auto;right:var(--km-side)}
#km-support button{font-family:inherit;margin:0}
#km-support a{text-decoration:none}
#km-support h2,#km-support p,#km-support ul,#km-support li{margin:0;padding:0;list-style:none}
#km-support svg{display:block;flex:none}

/* ---------- دکمه شناور ---------- */
#km-support .km-fab{position:relative;display:flex;align-items:center;gap:10px;height:56px;padding:0 20px 0 18px;border:0;border-radius:999px;background:var(--km-ink);color:#fff;font-size:14px;font-weight:800;cursor:pointer;box-shadow:0 10px 30px rgba(0,0,0,.35),inset 0 0 0 1px rgba(255,255,255,.1);transition:transform .15s ease,box-shadow .15s ease}
#km-support .km-fab:hover{transform:translateY(-2px);box-shadow:0 14px 34px rgba(0,0,0,.4),inset 0 0 0 1px rgba(255,255,255,.14)}
#km-support .km-fab:focus-visible{outline:3px solid var(--km-accent);outline-offset:3px}
#km-support .km-fab::after{content:"";position:absolute;inset:-5px;border-radius:inherit;border:2px solid var(--km-accent);opacity:0;pointer-events:none;animation:kmPulse 2.6s ease-out infinite}
#km-support:not([data-state="closed"]) .km-fab::after{animation:none}
#km-support .km-ico-close,#km-support .km-label-close{display:none}
#km-support:not([data-state="closed"]) .km-ico-open,#km-support:not([data-state="closed"]) .km-label-open{display:none}
#km-support:not([data-state="closed"]) .km-ico-close{display:block}
#km-support:not([data-state="closed"]) .km-label-close{display:inline}
@keyframes kmPulse{0%{opacity:.75;transform:scale(.96)}70%,100%{opacity:0;transform:scale(1.18)}}

/* ---------- منو و پنل (پایه مشترک) ---------- */
#km-support .km-menu,#km-support .km-panel{position:absolute;right:0;bottom:70px;background:var(--km-bg);border-radius:20px;box-shadow:0 18px 50px rgba(0,0,0,.28),0 0 0 1px rgba(0,0,0,.06);opacity:0;visibility:hidden;transform:translateY(12px) scale(.98);transform-origin:bottom left;transition:opacity .2s ease,transform .2s ease,visibility 0s linear .2s}
#km-support.km-right .km-menu,#km-support.km-right .km-panel{left:auto;right:0;transform-origin:bottom right}
#km-support[data-state="menu"] .km-menu,#km-support[data-state="faq"] .km-panel{opacity:1;visibility:visible;transform:none;transition:opacity .2s ease,transform .2s ease}

/* ---------- منوی دو گزینه‌ای ---------- */
#km-support .km-menu{width:310px;max-width:calc(100vw - 32px);padding:14px}
#km-support .km-menu-head{padding:4px 6px 12px}
#km-support .km-menu-head strong{display:block;font-size:15px;font-weight:800}
#km-support .km-menu-head span{display:block;font-size:12px;color:var(--km-muted)}
#km-support .km-opt{display:flex;align-items:center;gap:12px;width:100%;padding:12px;margin-top:8px;border:1px solid var(--km-line);border-radius:14px;background:var(--km-bg);color:var(--km-ink);text-align:right;cursor:pointer;transition:border-color .15s,background .15s,transform .15s}
#km-support .km-opt:hover{border-color:var(--km-ink);background:var(--km-soft)}
#km-support .km-opt:focus-visible{outline:3px solid var(--km-accent);outline-offset:2px}
#km-support .km-opt-ico{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;color:#fff}
#km-support .km-opt-wa .km-opt-ico{background:var(--km-wa)}
#km-support .km-opt-faq .km-opt-ico{background:var(--km-accent)}
#km-support .km-opt-txt{flex:1;min-width:0}
#km-support .km-opt-txt strong{display:block;font-size:14px;font-weight:800}
#km-support .km-opt-txt small{display:block;font-size:12px;color:var(--km-muted)}
#km-support .km-opt-chev{color:var(--km-muted)}

/* ---------- پنل سوالات متداول ---------- */
#km-support .km-panel{display:flex;flex-direction:column;width:420px;max-width:calc(100vw - 32px);height:min(640px,calc(100vh - 110px));overflow:hidden}
#km-support .km-panel-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px 12px 12px 14px;background:var(--km-ink);color:#fff}
#km-support .km-panel-title{flex:1;font-size:15px;font-weight:800}
#km-support .km-icon-btn{display:grid;place-items:center;width:36px;height:36px;border:0;border-radius:10px;background:rgba(255,255,255,.1);color:#fff;cursor:pointer;transition:background .15s}
#km-support .km-icon-btn:hover{background:rgba(255,255,255,.2)}
#km-support .km-icon-btn:focus-visible{outline:3px solid var(--km-accent);outline-offset:2px}
#km-support .km-panel-body{flex:1;overflow-y:auto;overscroll-behavior:contain;padding:16px 14px 8px;-webkit-overflow-scrolling:touch}
#km-support .km-panel-body:focus{outline:none}
#km-support .km-panel-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 14px calc(12px + env(safe-area-inset-bottom,0px));border-top:1px solid var(--km-line);background:#fafafb;font-size:12.5px;color:var(--km-muted)}
#km-support .km-wa-btn{display:inline-flex;align-items:center;gap:6px;padding:8px 14px;border-radius:999px;background:var(--km-wa);color:#fff;font-weight:800;white-space:nowrap}
#km-support .km-wa-btn:focus-visible{outline:3px solid var(--km-accent);outline-offset:2px}

/* ---------- ظاهر سوالات متداول (همان کلاس‌های km-faq-*) ---------- */
#km-support .km-faq-section{margin-bottom:22px}
#km-support .km-faq-section-title{display:flex;align-items:center;gap:10px;margin-bottom:10px}
#km-support .km-faq-section-icon{display:grid;place-items:center;flex:none;width:38px;height:38px;border-radius:11px;background:var(--km-soft);font-size:19px;line-height:1}
#km-support .km-faq-section-title h2{font-size:15px;font-weight:800;line-height:1.5;color:var(--km-ink);border:0;background:none}
#km-support .km-faq-section-title span{display:block;font-size:12px;color:var(--km-muted);line-height:1.5}
#km-support .km-faq-item{border:1px solid var(--km-line);border-radius:14px;margin-top:8px;background:var(--km-bg);overflow:hidden;transition:border-color .15s}
#km-support .km-faq-item.active{border-color:var(--km-ink)}
#km-support .km-faq-question{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;padding:12px 14px;border:0;background:none;color:var(--km-ink);text-align:right;cursor:pointer;font-size:13.5px;font-weight:700;line-height:1.7}
#km-support .km-faq-question:focus-visible{outline:3px solid var(--km-accent);outline-offset:-3px}
#km-support .km-faq-question-title{flex:1}
#km-support .km-faq-arrow{display:grid;place-items:center;flex:none;width:26px;height:26px;border-radius:50%;background:var(--km-soft);font-size:17px;font-weight:700;line-height:1;transition:background .15s,color .15s}
#km-support .km-faq-item.active .km-faq-arrow{background:var(--km-accent);color:#fff}
#km-support .km-faq-answer{display:none;padding:2px 14px 14px;font-size:13px;color:#3b3b44}
#km-support .km-faq-item.active .km-faq-answer{display:block;animation:kmFade .25s ease}
@keyframes kmFade{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}
#km-support .km-faq-answer p{margin:0 0 10px;font-size:13px;line-height:1.95;color:#3b3b44}
#km-support .km-faq-answer p:last-child{margin-bottom:0}
#km-support .km-faq-answer strong{color:var(--km-ink);font-weight:800}
#km-support .km-faq-answer small{display:block;margin-top:6px;font-size:12px;color:var(--km-muted);line-height:1.8}
#km-support .km-faq-highlight{padding:10px 12px;border-radius:10px;border-right:3px solid var(--km-accent);background:#fff4f4;color:var(--km-ink)!important;font-weight:700}
#km-support .km-faq-muted{color:var(--km-muted)!important;font-size:12px!important}
#km-support .km-faq-list{margin:0 0 10px;padding:0 18px 0 0}
#km-support .km-faq-list li{position:relative;list-style:none;margin:0 0 4px;padding-right:16px;font-size:13px;line-height:1.9}
#km-support .km-faq-list li::before{content:"";position:absolute;right:0;top:.8em;width:6px;height:6px;border-radius:50%;background:var(--km-accent)}
#km-support .km-shipping-card{display:flex;gap:12px;margin:8px 0;padding:12px;border-radius:12px;background:var(--km-soft)}
#km-support .km-shipping-card>div:last-child{flex:1;min-width:0}
#km-support .km-shipping-card strong{display:block;margin-bottom:2px;font-size:13.5px}
#km-support .km-shipping-card p{font-size:12.5px;line-height:1.9}
#km-support .km-shipping-icon{flex:none;font-size:24px;line-height:1.4}
#km-support .km-shipping-free{background:#fff4f4;border:1px dashed var(--km-accent)}
#km-support .km-faq-warning{display:block;margin:10px 0;padding:10px 12px;border-radius:10px;border:1px solid #f0d58a;background:#fff9e8;font-size:12.5px;line-height:1.9}
#km-support .km-faq-warning strong{display:block;margin-bottom:2px;color:#8a5a00}
#km-support .km-support-hours{margin:10px 0;padding:12px;border-radius:12px;background:var(--km-soft)}
#km-support .km-support-hours-title{margin-bottom:6px;font-weight:800;font-size:13px}
#km-support .km-hours-row{display:flex;justify-content:space-between;gap:10px;padding:6px 0;border-bottom:1px dashed #dcdce3;font-size:12.5px}
#km-support .km-hours-row:last-child{border-bottom:0}

/* ---------- موبایل ---------- */
#km-support .km-backdrop{display:none}
@media (max-width:600px){
  #km-support{--km-side:14px}
  #km-support .km-fab{width:56px;padding:0;justify-content:center}
  #km-support .km-fab-label{display:none!important}
  #km-support .km-panel{position:fixed;left:0;right:0;bottom:0;width:auto;max-width:none;height:min(88vh,calc(100dvh - 36px));border-radius:22px 22px 0 0;transform:translateY(24px);transform-origin:bottom center}
  #km-support.km-right .km-panel{left:0;right:0}
  #km-support[data-state="faq"] .km-fab{display:none}
  #km-support .km-backdrop{display:block;position:fixed;inset:0;background:rgba(10,10,12,.55);opacity:0;visibility:hidden;transition:opacity .2s ease,visibility 0s linear .2s}
  #km-support[data-state="faq"] .km-backdrop{opacity:1;visibility:visible;transition:opacity .2s ease}
		#km-support{
		bottom:calc(85px + env(safe-area-inset-bottom,0px));
	}
}
@media (prefers-reduced-motion:reduce){
  #km-support *,#km-support *::after{animation:none!important;transition:none!important}
}
@media print{#km-support{display:none!important}}
/* ===== Header ===== */
.site-header {
	height: var(--header-height);
	border-bottom: 1px solid var(--color-border);
	display: flex;
	align-items: center;
}
.header-container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
}
.header-actions { display: flex; align-items: center; gap: 16px; }

.header-search-toggle {
	background: none;
	border: none;
	cursor: pointer;
	font-size: 14px;
	color: var(--color-text);
	padding: 6px 10px;
	border-radius: var(--radius);
	transition: background-color var(--transition);
	font-family: inherit;
}

/* ===== Sections عمومی ===== */
.section { padding: 40px 0; }
.section-title { font-size: 22px; margin-bottom: 20px; }

/* ===== Placeholder های موقت (تا قدم‌های بعد جایگزین شوند) ===== */
.placeholder {
	background: #fafafa;
	border: 1px dashed var(--color-border);
	color: var(--color-text-light);
	text-align: center;
	padding: 40px 20px;
	border-radius: var(--radius);
}

/* ===== Grid عمومی محتوا ===== */
.content-container.has-sidebar {
	display: grid;
	grid-template-columns: 1fr 320px;
	gap: 40px;
}
@media (max-width: 900px) {
	.content-container.has-sidebar { grid-template-columns: 1fr; }
	.desk-ftr-photo{
		display:none;
	}
}

/* ===== فوتر ===== */
.site-footer {

}
.footer-columns {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 24px;
	margin-bottom: 24px;
}
.site-info { text-align: center; color: var(--color-text-light); font-size: 14px; }

/* =========================================================
   کامپوننت مشترک: اسکلت پایه‌ی مودال/پاپ‌آپ
   استفاده‌شده در: پاپ‌آپ اطلاعیه‌ی حساب کاربری (my-account.css) و
   لایت‌باکس گالری صفحه محصول (product-gallery.css). چون در هر دو
   بخش استفاده می‌شود، اینجا (main.css که همه‌جا لود می‌شود) تعریف شده
   تا صفحه محصول وابسته به my-account.css نباشد.
   ========================================================= */
.mytheme-modal {
	position: fixed;
	inset: 0;
	z-index: 9999;
	visibility: hidden;
	pointer-events: none;
	display: flex;
	align-items: center;
	justify-content: center;
}
.mytheme-modal.is-open { visibility: visible; pointer-events: auto; }

.mytheme-modal-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
	opacity: 0;
	transition: opacity var(--transition);
}
.mytheme-modal.is-open .mytheme-modal-overlay { opacity: 1; }

.mytheme-modal-box {
	position: relative;
	background: #fff;
	border-radius: var(--radius);
	max-width: 480px;
	width: 92%;
	max-height: 80vh;
	overflow-y: auto;
	padding: 28px 24px 24px;
	transform: scale(0.95);
	opacity: 0;
	transition: all 0.2s ease;
}
.mytheme-modal.is-open .mytheme-modal-box { transform: scale(1); opacity: 1; }

.mytheme-modal-close {
	position: absolute;
	top: 12px;
	left: 12px;
	background: none;
	border: none;
	font-size: 22px;
	cursor: pointer;
	color: var(--color-text-light);
}
.mytheme-modal-title { margin: 0 0 12px; font-size: 17px; }
.mytheme-modal-content { font-size: 14px; line-height: 1.8; }

/* ===== بلاگ ===== */
.archive-content .archive-main{
	width:70%;
}
.archive-content{
	display:flex;
}
.archive-content .sidebar{
	width:30%;
}
.content-area {
display: flex;
    gap: 30px;
}

.content-area .site-main{
     width:70%;
}

.content-area .sidebar{
    width:30%;
}

.breadcrumbs {
    margin-bottom: 20px;margin-top: 10px;
    color: #666;font-size:13px;
}

.breadcrumbs a {
    color: #333;
    text-decoration: none;
}

.post-thumbnail {
    margin-bottom: 20px;
}

.post-thumbnail img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.entry-title {
    color: #333333 !important;
    font-size: 25px !important;
    line-height: 1.95 !important;
    font-weight: 700 !important;
    margin-top: 0px !important;
}

.post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    
    border-radius: 6px;
    margin-bottom: 15px;
}

.author-date {
    display: flex;
    gap: 15px;
    color: #666;
}

.share-buttons {
    display: flex;
    gap: 10px;
}

.share-buttons a {
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
}

.share-buttons a svg{
object-fit:cover;
    width:100%;
    opacity:0.75;
}

.share-buttons a:hover svg{
    opacity:1;
}

.post-excerpt p{
font-size: 16px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 30px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 12px;
}

.entry-content {
    font-size: 16px;
    line-height:2.3;
    color: #333;
    margin-bottom: 30px;
}

.entry-content h2,.entry-content h3,.entry-content h4,.entry-content h5{
    margin: 30px 0 15px 0;
    font-size:24px !important;
}

.entry-content h6{
    margin: 10px 0 10px 0;
    font-size:16.5px !important;
}

.post-tags {
    margin: 30px 0;
}

.tags-title {
    font-weight: bold;
    color: #333;
    margin-left:-2px;
}

.podcast-meta .category{
	padding:4px 12px;
}

.post-tags a {
    display: inline-block;
    padding: 0px 2px 0px 4px;
    border-radius: 4px;
    margin: 0 0px;
    color: #666;
    text-decoration: none;
    font-size: 16px;
}

.sidebar .popular-posts{
width:100%;	  position: sticky;
  top: 0;
}

.popular-posts h3 {
    margin-bottom: 20px;
    font-size: 20px;
}

.comments-area {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

@media (max-width: 910px) {
.content-area {
        grid-template-columns: 1fr;
    }

.post-meta {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
.entry-title {
        font-size: 24px;
    }
}

.post-meta-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 30px 0;
    padding: 15px;
    background: #f8fafd;
    border-radius: 12px;
}

.post-shortlink {
    display: flex;
    align-items: center;
    gap: 10px;
}

.post-shortlink input {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 200px;
    font-size: 13px;
}

.copy-shortlink {
    background: #fe791a;
    color: #fff;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
    font-family: inherit;
}

.copy-shortlink:hover {
    background: #0056b3;
}

.comment-form-cookies-consent {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 15px 0;
    display:none;
}

.comment-form-cookies-consent input {
    margin: 0;
}

.comment-form-cookies-consent label {
    font-size: 14px;
    color: #666;
}

.comments-area {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

.comments-title {
    font-size: 24px;
    margin-bottom: 30px;
    color: #333;
}

.comment-form {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 40px;
}

.comment-form-author,
.comment-form-email {
    width: calc(50% - 10px);
    float: right;
}

.comment-form-email {
    margin-right: 20px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e1e1;
    border-radius: 6px;
    margin-bottom: 15px;
    font-size: 15px;
    transition: all 0.3s ease;
    background:#fff;
}

.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form textarea:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0,123,255,0.1);
}

.form-submit input[type="submit"] {
    background: #007bff;
    color: #fff;
    padding: 12px 25px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.form-submit input[type="submit"]:hover {
    background: #0056b3;
}

.comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comment {
    margin-bottom: 30px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.comment-body {
    padding: 20px;
    position: relative;
}

.comment .avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    float: right;
    margin-left: 15px;
}

.comment-author {
    margin-bottom: 10px;
}

.comment-author .fn {
    font-weight: bold;
    color: #333;
    font-size: 16px;
}

.comment-metadata {
    font-size: 13px;
    color: #777;
    margin-bottom: 15px;
}

.comment-metadata a {
    color: #777;
    text-decoration: none;
}

.comment-content {
    clear: both;
    margin-right: 75px;
    color: #444;
    line-height: 1.6;
}

.reply {
    margin-top: 15px;
    text-align: left;
}

.reply a {
    color: #007bff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.children {
    list-style: none;
    margin: 5px 0 0 0;
    padding-right: 0px;
    border-right: 0px solid #f0f0f0;
}

.must-log-in,
.logged-in-as {
    margin-bottom: 20px;
    font-size: 14px;
    color: #666;
}

.comment-form:after {
    content: '';
    display: table;
    clear: both;
}

@media (max-width: 910px) {
.comment-form-author,
    .comment-form-email {
        width: 100%;
        float: none;
    }

.comment-form-email {
        margin-right: 0;
    }

.comment-content {
        margin-right: 0;
        margin-top: 15px;
    }

.children {
        padding-right: 15px;
    }
}

.children .comment{
    background: #ffebd6;
}

.children .comment .reply{
	display:none;
}

.post-card {
    background: #fff;
    border-radius: 10px;
    /*--- box-shadow: 0 2px 10px rgba(0,0,0,0.05); ---*/
    overflow: hidden;
    transition: transform 0.3s ease;
}

.post-meta-top {
    padding: 15px 0px 0 0;
    display: flex;
    gap: 10px;
    align-items: center;
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.post-card .post-date {
    color: #000000;
}

.post-date {
    color: #fff;
    font-size: 13px;
}

.post-category {
     background: #f7f7f7;
    padding: 3px 12px;
    border-radius: 4px;
    color: #333;
    text-decoration: none;
    font-size: 12px;
    border-radius: 14px;
}

.post-content-wrapper {
    display: flex;
    padding: 25px 0px 25px 20px;border-bottom: 1px solid #f0f2f2;
}

.post-card .post-thumbnail {
    width: 360px;
    flex-shrink: 0;
    margin-left: 20px;    margin-bottom: 0;
}

.post-card  .post-thumbnail img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    border-radius: 16px;
}

.post-card .post-excerpt{
    font-size: 16px;
    line-height: 1.6;
    color: #5c5c5c;
    margin-bottom: 0px;
    padding: 0px 0px 10px 10px;
    background: #ffffff;
    border-radius: 6px;
}

.post-content {
    flex-grow: 1;
}

.post-title {
margin: 10px 0 10px 0;
    font-size: 20px;
	    color: #1a1a1a !important;
    line-height: 1.7 !important;
    font-weight: 700 !important;
}

.post-title a {
    color: #333;
    text-decoration: none;
}

.post-excerpt {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

.popular-posts h3 {
    margin-bottom: 20px;
    font-size: 20px;
    color: #333;
}

.sidebar-post {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
    padding: 12px;
    border: 1px solid #eee;
    background: #ffffff;
	align-items:center;
}

.sidebar-post:last-child {
    border-bottom: none;
}

.sidebar-post-thumbnail {
    width: 110px;
    height: 110px;
    flex-shrink: 0;
}

.sidebar-post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

.sidebar-post-content h4 {
    margin: 0 0 5px;
    font-size: 15px;
}

.sidebar-post-content a {
    color: #333;
    text-decoration: none;
}

@media (max-width: 910px) {
.post-content-wrapper {
        flex-direction: column;
    }

.post-thumbnail {
        width: 100%;
        margin: 0 0 15px;
    }
}


.latest-posts{
	width:70%;
}

.popular-posts{
	width:30%;
}

.grid-container .post-thumbnail{
	margin:0;
}

#five-lut .post-date{
	color: #777;
}

#five-lut .featured-post .post-category{
	margin-right:12px;
}

#five-lut .post-category{
	margin-left:12px;
}

.popular-posts h2{
	margin-bottom:26px;    padding-right: 8px !important;
    border-right-width: 6px !important;
    border-color: #ff791a !important;
    border-right-style: solid !important;
}

.popular-posts .post-date{
	color:#333
}

.popular-posts .views-count{
	background: #f7f7f7;
    padding: 3px 12px;
    border-radius: 4px;
    color: #333;
    text-decoration: none;
    font-size: 12px;
    border-radius: 14px;
}

#fullwid{
    width: 100%;
}

.entry-content img,.entry-content figure{
    max-width:100%;
}

.entry-content img, .entry-content figure {
 margin: 0 auto;
    margin-top: 20px;
    margin-bottom: 20px;
    display: block;
}

.ads-banner img {
    width: 100%;
    height: auto;
    display: block;
	margin-bottom:20px;
}

@media(max-width:768px) {
.post-meta {
    padding: 15px 0px;
}
}

@media(max-width:910px) {
.content-area .site-main{
     width:100%;
}

.content-area .sidebar{
    width:100%;
}

.entry-content img,.entry-content figure{
    width:100%;
}

.post-title {
    font-size: 18px !important;
}

.entry-title {
    font-size: 22px !important;
    line-height: 1.45 !important;
}

.popular-posts {
    width: 100%;
}

.sidebar-post-thumbnail {
    width: 100px;
    height: 100px;
}

.sidebar-post-content h4 {
    font-size: 12px;
}

.latest-posts {
    width: 100%;
}

.post-card .post-thumbnail {
    width: 100%;
    margin-left: 0;
}

.post-content-wrapper {
    padding: 25px 0px 25px 0px;
}

.content-area {
        display: flex;
        flex-direction: column;
    }

.breadcrumbs {
    margin-bottom: 10px;
    color: #bebebe;
    font-size: 12px;
}

.entry-title {
        text-align: center;
    }

.entry-content p {
    margin-bottom: 10px;
    color: #333333 !important;
    font-size: 16px !important;
}

.post-meta-bottom {
    justify-content: space-between;
    flex-direction: column;
}

.shortlink-title{
	display:none;
}

.post-tags {
    margin: 8px 0 0px 0;
}
.archive-content {
    display: flex;
    flex-direction: column;
}.archive-content .archive-main {
    width: 100%;
}.archive-content .sidebar {
    width: 100%;
}
.entry-content h2,.entry-content h3,.entry-content h4,.entry-content h5,.entry-content h6{
    font-size:16px !important;
}

.entry-content h2 strong,.entry-content h3 strong ,.entry-content h4 strong ,.entry-content h5 strong ,.entry-content h6{
    font-size:20px !important;
}
}

.math-captcha input{
    width: 100%;
    background: #ffffff;
    margin-bottom: 10px;
    border: 1px solid #c7c7c7;
    margin-top: 5px;
}

@media (min-width:910px) {
.editors-choice-container img,.popular-posts img,.latest-posts img,.bakorg img,.category-list img{
transition:0.3s all;
}
.mobile-ftr-photo{
	display:none;
}
.editors-choice-container img:hover,.popular-posts img:hover,.latest-posts img:hover,.bakorg img:hover,.category-list img:hover{
transform:scale(1.1);
transition:0.3s all;
}

.post-card .post-thumbnail{
    overflow: hidden;
    border-radius: 18px;    max-height: 230px;
    height: 230px;
}

.sidebar-post-thumbnail{
    overflow: hidden;
    border-radius: 12px;    max-height: 110px;
    height: 110px;
}

.grid-container .post-thumbnail {
    margin: 0;
    overflow: hidden;
    min-height: 215px;
    object-fit: cover;
    max-height: 215px;
}
}

.author-date{
display: flex
;
    align-items: center;
}

.author-date .author{
    display: flex;
    align-items: center;
    gap: 5px;
}

.author-date .author img{
    border-radius: 50px;
    width: 35px;
    height: 35px;
    object-fit: contain;
}

.post-thumbnail{
position:relative;
}

.exclusive-label{
right: -5px;
    background: #ff791a;
    position: absolute;
    top: 18px;
    color: #fff;
    padding: 2px 6px;
    border-radius: 4px;
}

.post-shortlink input {
    text-align: left;
    font-family: sans-serif;
}

.entry-content iframe{
margin-top:30px;
margin-bottom:30px;
}

@media (min-width: 910px) {
.post-meta{
padding-right:0px;

}

.author-date .author {
    gap: 10px;
}
}

@supports (-webkit-appearance: none) {
.footer-top-wrapper, .footer-widget, .footer-widgets, .form-submit, .gozaresh-box-photo-bigol-1, .gozaresh-box-photo-bigol-2, .grid-container, .grid-content, .grid-item, .grid-layout, .grid-menu, .grid-post {
  -webkit-font-smoothing: antialiased;
  -webkit-text-fill-color: currentColor;
  -webkit-transform: translateZ(0);
  -webkit-backface-visibility: hidden;
}

.post, .post-card, .post-date, .post-excerpt, .post-meta, .post-title, .price, .product, .product-grid, .profile, .promo {
  -webkit-font-smoothing: antialiased;
  -webkit-text-fill-color: currentColor;
  -webkit-transform: translateZ(0);
  -webkit-backface-visibility: hidden;
}

.radio, .rating, .read-more, .recent, .remove, .reply, .reset, .result, .review, .row, .sale, .search {
  -webkit-font-smoothing: antialiased;
  -webkit-text-fill-color: currentColor;
  -webkit-transform: translateZ(0);
  -webkit-backface-visibility: hidden;
}

@supports (-moz-appearance: none) {
.footer-top-wrapper, .footer-widget, .footer-widgets, .form-submit, .gozaresh-box-photo-bigol-1, .gozaresh-box-photo-bigol-2, .grid-container, .grid-content, .grid-item, .grid-layout, .grid-menu, .grid-post {
  -moz-osx-font-smoothing: grayscale;
  transform: translateZ(0);
  will-change: transform, opacity;
}

.post, .post-card, .post-date, .post-excerpt, .post-meta, .post-title, .price, .product, .product-grid, .profile, .promo {
  -moz-osx-font-smoothing: grayscale;
  transform: translateZ(0);
  will-change: transform, opacity;
}

.radio, .rating, .read-more, .recent, .remove, .reply, .reset, .result, .review, .row, .sale, .search {
  -moz-osx-font-smoothing: grayscale;
  transform: translateZ(0);
  will-change: transform, opacity;
}

@media (max-width: 768px) {
.entry-content h6{
    margin: 10px 0 10px 0;
    font-size:16px !important;
}
}
}
}

/* ===== نوار شناور پایین موبایل ===== */
.mytheme-mobile-bottom-nav {
	display: none;
}
@media (max-width: 767px) {
	body { padding-bottom: 0px; }
	.mytheme-mobile-bottom-nav {
		position: fixed;
		left: 10px;
		right: 10px;
		bottom: 10px;
		z-index: 9997;
		display: grid;
		grid-template-columns: repeat(4, 1fr);
		align-items: center;
		background: rgba(255, 255, 255, 0.96);
		border: 1px solid var(--color-border);
		border-radius: 16px;
		box-shadow: 0 8px 30px rgba(0,0,0,.14);
		padding: 7px 5px;
		backdrop-filter: blur(10px);
		-webkit-backdrop-filter: blur(10px);
	}
	.mytheme-mobile-bottom-nav__item {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 2px;
		min-width: 0;
		padding: 4px 2px;
		font-size: 10px;
		color: var(--color-text-light);
		white-space: nowrap;
	}
	.mytheme-mobile-bottom-nav__icon {
		font-size: 18px;
		line-height: 1.1;
	}
	.mytheme-mobile-bottom-nav__item:hover,
	.mytheme-mobile-bottom-nav__item:focus {
		color: var(--color-primary);
	}
}
/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    position: relative;
    isolation: isolate;
    margin-top: 70px;
    padding: 40px 0 18px;

    background: linear-gradient(
        #ffffff 0%,
        #ccdee2 55%,
        #79a0a6 100%
    );

    color: #fff;
    direction: rtl;
    overflow: hidden;
}
.site-footer::before {
    content: "";
content: "";
    position: absolute;
    inset: 0;
    background-image: url(https://koohmaan.com/wp-content/themes/kohman/assets/img/Koohmaan-Topography-Full.svg);
    background-position: center bottom;
    background-size: auto 90%;
    background-repeat: no-repeat;
    opacity: 0.8;
    z-index: -1;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #00000000 35%, #000 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, #00000045 35%, #000 100%);
}

.footer-container {
	width: min(100% - 40px, 1280px);
	margin: 0 auto;
}

.footer-main {
	display: grid;
	grid-template-columns: 1.05fr .78fr 1.35fr;
	align-items: stretch;
	min-height: 400px;
}

.footer-column {
	position: relative;
	padding: 26px 34px;
}


@media (min-width: 901px) {
	.footer-links { border-right: 1px solid rgb(138 172 178); }
	.footer-trust { border-right: 1px solid rgb(138 172 178); }
}

.footer-title {
	margin: 0 0 25px;
	color: #1a1a1a;
	font-size: 18px;
	font-weight: 800;
	line-height: 1.5;
}

.footer-title::after {
	content: "";
	display: block;
	width: 34px;
	height: 3px;
	margin-top: 10px;
	border-radius: 99px;
	background: #fa8a01;
}


/* =========================================================
   TRUST
   ========================================================= */

.footer-trust-logos {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
	margin-bottom: 25px;
}

.footer-trust-item {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 80px;
	padding: 10px;
	border-radius: 12px;
	background: #fff;
	border: 1px solid rgba(255, 255, 255, .06);
	transition:
		transform .25s ease,
		background-color .25s ease,
		border-color .25s ease;
}

.footer-trust-item:hover {
	transform: translateY(-4px);
	background: #fff;
	border-color: rgba(147, 162, 84, .35);
}

.footer-trust-item img {
	width: 100%;
	height: 80px;
	object-fit: contain;
}


.footer-address {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    color:#1a1a1a;
    flex-direction: column;
	margin-top:6px;
}
.footer-address div{
	display: flex;
    gap: 10px;
    align-items: center;
    justify-content: flex-start;
}
.footer-address-icon {
flex: 0 0 42px;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #958e0900;
    color: #fc6701;
    font-size: 25px;
    font-weight: 900;
}

.footer-address p {
	margin: 5px 0 0;
	font-size: 14px;
	line-height: 2;
}


/* =========================================================
   QUICK LINKS
   ========================================================= */

.footer-links {
	padding-right: 45px;
	padding-left: 45px;
}

.footer-links ul {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.footer-links li {
	margin: 0;
}

.footer-links a {
	display: flex;
	align-items: center;
	gap: 10px;
	color: #1a1a1a;
	font-size: 15px;
	font-weight: 600;
	transition:
		color .2s ease,
		transform .2s ease;
	position:relative;
}
.footer-links a::after{
	content: "";
    width: 6px;
    height: 6px;
    margin-inline-start: 2px;
    border-inline-end: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    transition: transform .2s ease, color .2s ease;
	    position: absolute;
    left: 0;transition: left 0.3s ease;
}
.footer-links a span {
	color: #93a254;
	font-size: 13px;
	line-height: 1;
}

.footer-links a:hover{
	color: #93a254;
	transform: translateX(-5px);
}
.footer-links a:hover::after {
    left: 6px;transition: left 0.3s ease;
}

/* =========================================================
   ABOUT
   ========================================================= */

.footer-description {
	margin: 0;
	color: #1a1a1a;
	font-size: 18px;
	line-height: 2.15;
	max-width: 620px;
}
.footer-pays div{
	    display: flex;
    gap: 10px;
	margin-bottom:12px;
}
.footer-pay-item{
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0px;
    border-radius: 12px;
    background: rgb(255, 255, 255);
    border-width: 1px;
    border-style: solid;
    border-color: rgba(255, 255, 255, 0.06);
    border-image: none;
    transition: transform 0.25s, background-color 0.25s, border-color 0.25s;
    overflow: hidden;
}
.footer-phones {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 24px;
}

.footer-phone {
    min-width: 160px;
    padding: 9px 22px;
    box-shadow: 0px 0.5px 1px 0px #1a1a1a59;
    border-radius: 999px;
    color: #1a1a1a;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
    width: 100%;
    background: #ffffff;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 10px;
    justify-content: center;
	    max-width: 78%;
}
.footer-phones h6 {
width: 100%;
    color: #1a1a1a;
    font-weight: 700;
    font-size: 17.5px;
        margin: 0;
}
.footer-phone-icon {
    color: #ff6600;
    width: 25px;
    height: 25px;
    flex-shrink: 0;
}
.footer-phone:hover {
	background: #93a254;
	border-color: #93a254;
	color: #fff;
	transform: translateY(-2px);
}

.order-noticex {
direction: rtl;
    font-family: inherit;
    display: flex;
    gap: 8px;
    background: linear-gradient(279deg, #ffede1, #ffffff);
    border-radius: 8px;
    padding: 4px;    border: 1px solid #fd6802;
}
.order-noticex_tx{
	
}
.order-notice__header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.order-notice__icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    color: #fd6802;
}

.order-noticex_tx strong {
    color: #fd6802;
    font-size: 14px;
    font-weight: 700;
}

.order-notice__text {
    margin: 0px 0 0;
    font-size: 12px;
    line-height: 1.4;
    color: #1a1a1a;
}
/* =========================================================
   MAP
   ========================================================= */

.footer-map {
	margin-top: 18px;
	overflow: hidden;
	border-radius: 5px;
}

.footer-map-link {
	display: block;
}

.footer-map-placeholder {
	position: relative;
	height: 125px;
	overflow: hidden;
    background: linear-gradient(90deg, rgb(48 53 27), rgba(0, 21, 47, .15)), linear-gradient(135deg, #dce0e3, #aeb5ba);
    border-radius: 10px;
}


/* =========================================================
   BOTTOM
   ========================================================= */

.footer-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-top: 22px;
	padding-top: 18px;
	border-top: 1px solid rgba(255, 255, 255, .12);
	color: rgba(255, 255, 255, .38);
	font-size: 12px;
}

.footer-credit {
	color: rgba(147, 162, 84, .55);
}

.site-info {
	color: rgba(255, 255, 255, .38);
	text-align: left;
}
.social-link ul{
	column-count: 5;
	margin-top:8px;
}
.social-link ul li{
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 6px;
}
.social-link ul li span{
font-size: 12px;
    color: #1a1a1a;
    text-align: center;
    width: 100%;
    display: block;
}
.social-link h6{
    width: 100%;
    color: #1a1a1a;
    font-weight: 700;
    font-size: 17.5px;
    margin: 0;
	margin-top:10px;
}
.social-link h6:after{
content: "";
    display: block;
    width: 34px;
    height: 3px;
    margin-top: 10px;
    border-radius: 99px;
    background: #fa8a01;
}
.social-links {     margin-top:20px;display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    direction: rtl;
    flex-wrap: nowrap; }
.social-item {
position: relative;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-width: 54px;
    height: 54px;
    padding: 5px 10px;
    border-radius: 12px;
    background: rgb(255 255 255);
    border: 1px solid rgba(255, 255, 255, .09);
    color: rgb(0 0 0) !important;
    text-decoration: none !important;
    font-size: 18px;
    font-weight: 600;
    transition: .3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
			 }
.social-item svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; transition: .3s ease; }
.social-item img { width: 100%; height: auto; fill: none; stroke: currentColor; stroke-width: 1.7; transition: .3s ease; }

.social-item.instagram svg rect, .social-item.instagram svg circle:first-of-type, .social-item.aparat svg rect { fill: none; stroke: currentColor; }
.social-item.instagram svg .instagram-dot, .social-item.aparat svg .aparat-play { fill: currentColor; stroke: none; }
/* رنگ اختصاصی */ 
.telegram svg{ stroke: #229ED9; color: #229ED9; }
.instagram svg{ stroke: #333;color: #333; }
.bale { --social-color: #2495FF; } 
.whatsapp { --social-color: #25D366; }
.aparat svg{     stroke: #E91E63;
    color: #E91E63; } /* Hover */

/* موبایل */ 
@media (max-width: 600px) { .social-links { gap: 8px; }
						   .social-item {
							          min-width: auto;
        height: 50px;
        padding: 0 11px;
        font-size: 12px;
        border-radius: 10px;
						   }
						   .social-item svg { width: 24px; height: 24px; } 
						  }


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

	.footer-main {
		grid-template-columns: 1fr 1fr;
	}

	.footer-about {
		grid-column: 1 / -1;
		border-top: 1px solid rgba(255, 255, 255, .13);
	}

	.footer-column:nth-child(3) {
		border-right: 0;
	}

	.footer-trust-logos {
		max-width: 430px;
	}

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 640px) {
.mytheme-categories-wrap{
	display:none;
}
	.site-footer {
		margin-top: 45px;
		padding: 25px 0 85px;
	}
.site-footer::before {
    background-position: center bottom;
    background-size: auto 60%;
    opacity: 0.85;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #00000000 35%, #000 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, #00000029 50%, #000 100%);
}
	.footer-container {
		width: min(100% - 0px, 1280px);
	}

	.footer-main {
		display: block;
		min-height: 0;
	}

	.footer-column {
		padding: 25px 8px;
	}

	.footer-column + .footer-column {
		border-right: 0;
		border-top: 1px solid rgba(255, 255, 255, .11);
	}

	.footer-title {
		font-size: 17px;
		margin-bottom: 20px;
	}

	.footer-trust-logos {
		gap: 8px;
	}

	.footer-trust-item {
		min-height: 90px;
		padding: 7px;
	}

	.footer-trust-item img {
		height: 90px;
	}

	.footer-address p {
		font-size: 13px;
	}

	.footer-links ul {
		gap: 15px;
	}

	.footer-links a {
		font-size: 14px;
	}

	.footer-description {
		font-size: 13px;
		line-height: 2;
	}

	.footer-phones {
		gap: 8px;
	}

	.footer-phone {
		flex: 1 1 140px;
		min-width: 0;
		padding: 9px 12px;
		font-size: 13px;
	}

	.footer-map-placeholder {
		height: 110px;
	}
.cart-icon-label{
	display:none;
}
	.footer-bottom {
		flex-direction: column;
		align-items: center;
		text-align: center;
		gap: 8px;
	}

	.site-info {
		text-align: center;
	}

}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

	.footer-trust-item,
	.footer-links a,
	.footer-phone {
		transition: none;
	}

}

/* جابه‌جایی واقعی دو ستون فوتر در دسکتاپ؛ عرض هر ستون همراه خودش جابه‌جا می‌شود. */
@media (min-width: 901px) {
	.footer-main { grid-template-columns: 1.05fr 1.08fr 1.05fr; }
	.footer-about { order: 1; }
	.footer-links { order: 2; }
	.footer-trust { order: 3; }
}


/* =========================================================
   HEADER / MEGA MENU / MOBILE NAV - نسخه پایدار
   ========================================================= */
.site-header { position: relative; z-index: 1000; }
.header-container { gap: 14px; }
.site-branding { flex: 0 0 auto; min-width: 0; }
.site-branding img { max-height: 50px; width: auto; }
.mytheme-categories-wrap { position: relative; flex: 0 0 auto; }
.mytheme-categories-toggle {
	display: inline-flex; align-items: center; gap: 9px; border: 0; background: transparent;
	font: inherit; font-size: 14px; font-weight: 800; color: var(--color-text); cursor: pointer;
	padding: 10px 12px; border-radius: 10px; white-space: nowrap;
}
.mytheme-categories-toggle:hover, .mytheme-categories-toggle[aria-expanded="true"] { background: #f5f7f8; color: var(--color-primary); }
.mytheme-categories-toggle__icon { font-size: 16px; line-height: 1; }
.mytheme-categories-toggle__chevron { font-size: 13px; transition: transform .2s ease; }
.mytheme-categories-toggle[aria-expanded="true"] .mytheme-categories-toggle__chevron { transform: rotate(180deg); }

.main-navigation { min-width: 0; flex: 1 1 auto; }
.main-navigation > ul { display: flex; align-items: center; justify-content: flex-start; gap: 3px; }
.main-navigation li { position: relative; }
.main-navigation a { display: flex; align-items: center; gap: 7px; padding: 9px 11px; border-radius: 9px; font-size: 14px; white-space: nowrap; }
.main-navigation > ul > li.menu-item-has-children > a::after {
	content: "";
	width: 6px;
	height: 6px;
	margin-inline-start: 2px;
	border-inline-end: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg) translateY(-2px);
	transition: transform .2s ease, color .2s ease;
	op: 0;
}
.main-navigation > ul > li.menu-item-has-children:hover > a::after,
.main-navigation > ul > li.menu-item-has-children:focus-within > a::after {
	transform: rotate(225deg) translateY(-1px);
}
.main-navigation > ul > li:hover > a, .main-navigation > ul > li:focus-within > a { background: #f5f7f8; color: var(--color-primary); }
.main-navigation .sub-menu { position: absolute; top: calc(100% + 7px); right: 0; min-width: 205px; padding: 7px; background: #fff; border: 1px solid var(--color-border); border-radius: 12px; box-shadow: 0 18px 45px rgba(0,0,0,.13); opacity: 0; visibility: hidden; transform: translateY(5px); transition: opacity .18s ease, transform .18s ease, visibility .18s ease; z-index: 1003; }
.main-navigation li:hover > .sub-menu, .main-navigation li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.main-navigation .sub-menu .sub-menu { top: -7px; right: calc(100% + 7px); }
.main-navigation .sub-menu a { padding: 9px 10px; }
.mytheme-menu-item-icon { display: inline-flex; align-items: center; justify-content: center; width: 22px; min-width: 22px; height: 22px; font-size: 15px; line-height: 1; }

.mytheme-mega-menu {
	position: absolute; top: 100%; right: 0; width: min(1160px, calc(100vw - 32px));
	padding: 10px; background: #fff; border: 1px solid rgba(20,40,60,.08); border-radius: 20px;
	box-shadow: 0 28px 80px rgba(0,20,45,.18); opacity: 0; visibility: hidden; pointer-events: none;
	transform: translateY(10px) scale(.985); transform-origin: top right;
	transition: opacity .2s ease, transform .2s ease, visibility .2s ease; overflow: hidden;
}
.mytheme-categories-wrap:hover .mytheme-mega-menu, .mytheme-categories-wrap:focus-within .mytheme-mega-menu, .mytheme-mega-menu.is-open { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0) scale(1); }
.mytheme-mega-menu__inner { position: relative; min-height: 405px; direction: ltr; }
.mytheme-mega-menu { 
background-color: #fff;
    background-image: linear-gradient(90deg, rgba(255, 255, 255, .08) 0%, rgba(255, 255, 255, .78) 39%, rgba(255, 255, 255, .98) 58%, #ffffff08 100%), var(--mytheme-mega-bg, none);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: right top;
}
.mytheme-mega-menu__categories { position: relative; z-index: 1; direction: rtl; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); grid-auto-rows: minmax(128px,auto); grid-auto-flow: dense; gap: 10px; min-width: 0; }
.mytheme-mega-card { min-width: 0; padding: 14px; border: 2px solid #edf0f2; border-radius: 14px; background: rgba(255,255,255,.94); backdrop-filter: blur(5px); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.mytheme-mega-card.is-featured { grid-column: span 2; background: linear-gradient(145deg,#f7fafc,#eef3f6); }
.mytheme-mega-card:hover {
	transform: translateY(-2px); 
	border-color: rgba(211,47,47,.18);
	border: 2px solid #f5a044;
	
	box-shadow: 0 10px 25px rgba(0,0,0,.07);
}
.mytheme-mega-card:hover .mytheme-mega-card__title{
	    font-size: 15px;
    font-weight: 800;
    color: #f5a044;
}

   .mytheme-mega-card:hover .mytheme-mega-card__arrow{
	   color: #f5a044;
   }

.mytheme-mega-card__head { display: flex; align-items: center; gap: 9px; min-width: 0; margin-bottom: 9px; }
.mytheme-mega-card__thumb { flex: 0 0 50px; width: 50px; height: 5px; display: grid; place-items: center; border-radius: 10px; overflow: hidden; background: #fff; border: 1px solid #edf0f2; color: var(--color-primary); }
.mytheme-mega-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.mytheme-mega-card__title { min-width: 0; flex: 1; font-size: 15px; font-weight: 800; color: #15263a; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mytheme-mega-card__arrow { color: #8a949c; font-size: 14px; }
.mytheme-mega-card ul { display: grid; gap: 3px; max-height: 78px; overflow: hidden; }
.mytheme-mega-card li a { display: block; font-size: 12px; color: #68727d; padding: 2px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mytheme-mega-card li a:hover { color: var(--color-primary); }

.header-actions { flex: 0 0 auto; display: flex; align-items: center; gap: 8px; }
.header-search-toggle, .header-account, .header-cart-icon { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.mytheme-header-icon { display: inline-flex; align-items: center; justify-content: center; font-size: 21px; line-height: 1; }
.mytheme-header-action-label { font-size: 13px; }
.mytheme-mobile-menu-toggle { display: none; }
.mytheme-mobile-menu { display: none; }
body.mytheme-mobile-menu-open { overflow: hidden; }

@media (max-width: 1100px) {
	.main-navigation > ul { gap: 0; }
	.main-navigation a { padding-inline: 8px; font-size: 13px; }
	.mytheme-mega-menu { width: min(980px, calc(100vw - 28px)); }
	.mytheme-mega-menu__inner { min-height: 405px; }
}

@media (max-width: 767px) {
	.mytheme-hero-slider .mytheme-slide-item__img {
    object-fit: cover !important;
    min-height: 190px;
}

	.site-header { height: 55px; }
	.header-container { padding-inline: 12px; gap: 7px; }
	.site-branding { order: 1; margin: 0; }
	.site-branding img { max-height: 46px; }
	.mytheme-categories-wrap { order: 2; }
	.mytheme-categories-toggle { padding: 8px 5px; gap: 5px; font-size: 12px; }
	.mytheme-categories-toggle__icon { display: none; }
	.mytheme-categories-toggle__chevron { font-size: 11px; }
	.main-navigation { display: none; }
	.header-actions { order: 3; margin-inline-start: auto; gap: 6px; }
	.header-actions .mytheme-header-action-label { display: none; }
	.header-actions .header-search-toggle, .header-actions .header-account, .header-actions .header-cart-icon { padding: 6px; }
	.mytheme-mobile-menu-toggle { order: 0; display: flex; width: 38px; height: 38px; flex: 0 0 38px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; border: 0; border-radius: 9px; background: transparent; cursor: pointer; }
	.mytheme-mobile-menu-toggle span { width: 20px; height: 1.6px; background: #222; border-radius: 2px; }
	.mytheme-mega-menu { display: none !important; }
	.mytheme-categories-toggle { background: transparent; }
	.mytheme-categories-toggle__icon { display: inline-flex; }
	.mytheme-categories-toggle__chevron { display: none; }
	.mytheme-mobile-menu { position: fixed; inset: 0; z-index: 10010; visibility: hidden; pointer-events: none; display: block; }
	.mytheme-mobile-menu.is-open { visibility: visible; pointer-events: auto; }
	.mytheme-mobile-menu__overlay { position: absolute; inset: 0; background: rgba(0,0,0,.45); opacity: 0; transition: opacity .2s ease; }
	.mytheme-mobile-menu.is-open .mytheme-mobile-menu__overlay { opacity: 1; }
	.mytheme-mobile-menu__panel { position: absolute; top: 0; right: 0; width: min(88vw,380px); height: 100%; background: #fff; transform: translateX(100%); transition: transform .25s ease; box-shadow: -18px 0 45px rgba(0,0,0,.16); display: flex; flex-direction: column; }
	.mytheme-mobile-menu.is-open .mytheme-mobile-menu__panel { transform: translateX(0); }
	.mytheme-mobile-menu__head { display: flex; align-items: center; justify-content: space-between; padding: 18px; border-bottom: 1px solid var(--color-border); }
	.mytheme-mobile-menu__close { border: 0; background: transparent; font-size: 28px; line-height: 1; cursor: pointer; color: #555; }
	.mytheme-mobile-menu__body { overflow-y: auto; padding: 14px 18px 30px; }
	.mytheme-mobile-menu__nav ul { display: grid; gap: 2px; }
	.mytheme-mobile-menu__nav li { position: relative; }
	.mytheme-mobile-menu__nav a { display: flex; align-items: center; gap: 8px; padding: 11px 4px; font-size: 14px; border-radius: 8px; }
	.mytheme-mobile-menu__nav a:hover { background: #f7f7f7; color: var(--color-primary); }
	.mytheme-mobile-menu__nav li.menu-item-has-children > a { padding-inline-end: 42px; }
	.mytheme-mobile-menu__nav .mytheme-mobile-submenu-toggle {
		position: absolute;
		top: 5px;
		left: 0;
		width: 34px;
		height: 34px;
		border: 0;
		border-radius: 9px;
		background: #f5f7f8;
		color: #68727d;
		cursor: pointer;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		transition: background .2s ease, color .2s ease, transform .2s ease;
	}
	.mytheme-mobile-menu__nav .mytheme-mobile-submenu-toggle::before {
		content: "";
		width: 7px;
		height: 7px;
		border-inline-end: 1.5px solid currentColor;
		border-bottom: 1.5px solid currentColor;
		transform: rotate(45deg) translateY(-2px);
		transition: transform .2s ease;
	}
	.mytheme-mobile-menu__nav li.submenu-open > .mytheme-mobile-submenu-toggle {
		background: #eef2e2;
		color: var(--color-primary);
	}
	.mytheme-mobile-menu__nav li.submenu-open > .mytheme-mobile-submenu-toggle::before {
		transform: rotate(315deg) translateY(-1px);
	}
	.mytheme-mobile-menu__nav .sub-menu {
		display: none;
		padding-right: 12px;
		border-right: 2px solid #eee;
	}
	.mytheme-mobile-menu__nav li.submenu-open > .sub-menu { display: grid; }
	.mytheme-mobile-menu__nav .sub-menu a { font-size: 13px; color: #68727d; }
	.mytheme-mobile-menu__categories { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--color-border); }
	.mytheme-mobile-menu__categories > strong { display: block; padding: 8px 0 12px; font-size: 14px; }
	.mytheme-mobile-category { border-bottom: 1px solid #eee; }
	.mytheme-mobile-category__row { display: flex; align-items: center; gap: 8px; min-height: 48px; }
	.mytheme-mobile-category__row a { flex: 1; font-size: 14px; font-weight: 700; }
	.mytheme-mobile-category__toggle { width: 34px; height: 34px; border: 0; background: #f5f6f7; border-radius: 8px; cursor: pointer; transition: transform .2s ease; }
	.mytheme-mobile-category__toggle[aria-expanded="true"] { transform: rotate(180deg); }
	.mytheme-mobile-category__children { display: none; padding: 0 12px 8px 0; }
	.mytheme-mobile-category__children.is-open { display: block; }
	.mytheme-mobile-category__children a { display: block; padding: 6px 0; color: #68727d; font-size: 13px; }
}




/*-------------*/

.koohmaan-google-btn {
    direction: rtl;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    margin: 15px 0;
    border: 1px solid #e5e7eb;
    border-radius: 9px;
    background: #fff;
    color: #333;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none !important;
    box-shadow: 0 2px 8px rgba(0,0,0,.05);
    transition: all .2s ease;
}

.koohmaan-google-btn:hover {
    color: #202124;
    border-color: #d2d6dc;
    box-shadow: 0 4px 12px rgba(0,0,0,.09);
    transform: translateY(-1px);
}

.koohmaan-google-icon {
    width: 19px;
    height: 19px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.koohmaan-google-icon svg {
    width: 19px;
    height: 19px;
    display: block;
}

.koohmaan-google-arrow {
    font-size: 14px;
    color: #777;
    margin-right: 2px;
    transition: transform .2s ease;
}

.koohmaan-google-btn:hover .koohmaan-google-arrow {
    transform: translateX(-3px);
    color: #4285F4;
}

/* ========================================================= Koohmaan Instagram Banner ========================================================= */ .koohmaan-instagram-banner { position: relative; width: 100%; margin: 30px 0; overflow: hidden; border-radius: 20px; isolation: isolate; } .koohmaan-instagram-banner .ads-banner-link { position: relative; display: block; width: 100%; min-height: 145px; overflow: hidden; text-decoration: none; color: #fff; background: radial-gradient( circle at 85% 15%, rgba(147, 162, 84, 0.28), transparent 34% ), radial-gradient( circle at 15% 90%, rgba(65, 125, 91, 0.20), transparent 35% ), linear-gradient( 135deg, #071d17 0%, #09261e 48%, #102e24 100% ); border: 1px solid rgba(147, 162, 84, 0.28); box-shadow: 0 12px 35px rgba(0, 0, 0, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.06); transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease; } /* Hover */ .koohmaan-instagram-banner .ads-banner-link:hover { transform: translateY(-3px); border-color: rgba(147, 162, 84, 0.55); box-shadow: 0 18px 45px rgba(0, 0, 0, 0.23), 0 0 30px rgba(147, 162, 84, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.08); } /* Glow */ .koohmaan-banner-glow { position: absolute; width: 230px; height: 230px; top: -120px; right: -50px; background: rgba(147, 162, 84, 0.22); border-radius: 50%; filter: blur(35px); pointer-events: none; } /* Content */ .koohmaan-banner-content { position: relative; z-index: 3; display: flex; align-items: center; gap: 18px; min-height: 145px; padding: 25px 30px 30px; } /* Instagram Icon */ .koohmaan-instagram-icon { flex: 0 0 58px; width: 58px; height: 58px; display: flex; align-items: center; justify-content: center; border-radius: 17px; color: #fff; background: linear-gradient( 145deg, #feda75 0%, #fa7e1e 25%, #d62976 52%, #962fbf 76%, #4f5bd5 100% ); box-shadow: 0 8px 22px rgba(214, 41, 118, 0.25); transition: transform 0.35s ease, box-shadow 0.35s ease; } .koohmaan-instagram-banner .ads-banner-link:hover .koohmaan-instagram-icon { transform: rotate(-5deg) scale(1.06); box-shadow: 0 10px 28px rgba(214, 41, 118, 0.34); } /* Text */ .koohmaan-banner-text { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 4px; max-width: 650px; } .koohmaan-banner-label { display: block; font-size: 12px; font-weight: 600; color: #aebd79; letter-spacing: 0.1px; } .koohmaan-banner-text strong { display: block; font-size: 20px; line-height: 1.5; font-weight: 800; color: #fff; } .koohmaan-banner-text p { margin: 0; font-size: 13px; line-height: 1.8; color: rgba(255, 255, 255, 0.68); } /* Arrow */ .koohmaan-banner-arrow { position: relative; z-index: 3; margin-right: auto; width: 43px; height: 43px; display: flex; align-items: center; justify-content: center; flex: 0 0 43px; border-radius: 50%; color: #d7e09f; background: rgba(147, 162, 84, 0.10); border: 1px solid rgba(147, 162, 84, 0.22); transition: transform 0.35s ease, background 0.35s ease, color 0.35s ease; } .koohmaan-instagram-banner .ads-banner-link:hover .koohmaan-banner-arrow { transform: translateX(-5px); color: #fff; background: rgba(147, 162, 84, 0.22); } /* Mountains */ .koohmaan-banner-mountains { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 72px; color: rgba(0, 0, 0, 0.15); pointer-events: none; } /* ========================================================= Mobile ========================================================= */ @media (max-width: 768px) { .koohmaan-instagram-banner { margin: 25px 0; border-radius: 17px; } .koohmaan-instagram-banner .ads-banner-link { min-height: 155px; } .koohmaan-banner-content { min-height: 155px; gap: 13px; padding: 22px 18px 28px; } .koohmaan-instagram-icon { flex: 0 0 48px; width: 48px; height: 48px; border-radius: 14px; } .koohmaan-instagram-icon svg { width: 25px; height: 25px; } .koohmaan-banner-text { gap: 3px; } .koohmaan-banner-label { font-size: 10px; } .koohmaan-banner-text strong { font-size: 16px; line-height: 1.6; } .koohmaan-banner-text p { display:none;font-size: 11px; line-height: 1.7; max-width: 270px; } .koohmaan-banner-arrow { width: 35px; height: 35px; flex: 0 0 35px; } .koohmaan-banner-arrow svg { width: 18px; height: 18px; } .koohmaan-banner-mountains { height: 55px; } } /* Small Mobile */ @media (max-width: 480px) { .koohmaan-banner-content { padding-right: 15px; padding-left: 15px; } .koohmaan-instagram-icon { flex: 0 0 44px; width: 44px; height: 44px; } .koohmaan-banner-text strong { font-size: 14px; } .koohmaan-banner-text p { font-size: 10px; } .koohmaan-banner-arrow { width: 32px; height: 32px; flex-basis: 32px; } }



/* =========================================
   Post Meta Bottom
========================================= */

.post-meta-bottom {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 18px;
}


/* =========================================
   Short Link
========================================= */

.post-shortlink {
    position: relative;
    width: 100%;
    padding: 18px;
    border: 1px solid rgba(0, 22, 50, 0.08);
    border-radius: 16px;
    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,0.98),
            rgba(247,249,252,0.96)
        );
    box-shadow:
        0 8px 30px rgba(0, 22, 50, 0.06),
        inset 0 1px 0 rgba(255,255,255,0.8);
    box-sizing: border-box;
}


/* عنوان */

.post-shortlink .shortlink-title {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 12px;
    color: #001632;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
}


/* آیکون لینک */

.post-shortlink .shortlink-icon {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: rgba(147, 162, 84, 0.12);
    color: #93a254;
}

.post-shortlink .shortlink-icon svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* =========================================
   Link Box
========================================= */

.post-shortlink .shortlink-box {
    width: 100%;
    display: flex;
    align-items: stretch;
    gap: 8px;
    padding: 5px;
    background: #fff;
    border: 1px solid rgba(0, 22, 50, 0.08);
    border-radius: 12px;
    box-sizing: border-box;
    transition:
        border-color .25s ease,
        box-shadow .25s ease;
}

.post-shortlink .shortlink-box:focus-within {
    border-color: rgba(147, 162, 84, 0.55);
    box-shadow: 0 0 0 4px rgba(147, 162, 84, 0.08);
}


/* لینک */

.post-shortlink input {
    flex: 1;
    min-width: 0;
    height: 44px;
    padding: 0 13px;
    border: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    color: #526174;
    font-size: 13px;
    font-weight: 500;
    direction: ltr;
    text-align: left;
    box-shadow: none !important;
}


/* =========================================
   Copy Button
========================================= */

.post-shortlink .copy-shortlink {
    flex: 0 0 auto;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 17px;
    border: 0;
    border-radius: 9px;
    background: #001632;
    color: #fff;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition:
        transform .2s ease,
        background .2s ease,
        box-shadow .2s ease;
}

.post-shortlink .copy-shortlink:hover {
    background: #93a254;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(147, 162, 84, 0.22);
}

.post-shortlink .copy-shortlink:active {
    transform: translateY(0);
}


/* آیکون کپی */

.post-shortlink .copy-shortlink svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* =========================================
   Copied State
========================================= */

.post-shortlink .copy-shortlink.copied {
    background: #93a254;
    box-shadow: 0 6px 18px rgba(147, 162, 84, 0.25);
}

.post-shortlink .copy-shortlink.copied .copy-icon {
    display: none;
}


/* =========================================
   Mobile
========================================= */

@media (max-width: 600px) {

    .post-shortlink {
        padding: 14px;
        border-radius: 14px;
    }

    .post-shortlink .shortlink-box {
        flex-direction: column;
        gap: 6px;
        padding: 5px;
    }

    .post-shortlink input {
        width: 100%;
        height: 42px;
        padding: 0 10px;
        font-size: 12px;
    }

    .post-shortlink .copy-shortlink {
        width: 100%;
        height: 42px;
    }

}

/* =========================================================
   POST META — Professional Modern Style
========================================================= */

.post-meta {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 16px;
    margin: 24px 0;
    box-sizing: border-box;

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,.98) 0%,
            rgba(248,250,252,.96) 100%
        );

    border: 1px solid rgba(0, 22, 50, .07);
    border-radius: 18px;

    box-shadow:
        0 8px 30px rgba(0, 22, 50, .055),
        0 2px 8px rgba(0, 22, 50, .025);

    direction: rtl;
}


/* =========================================================
   Author + Date
========================================================= */

.post-meta .author-date {
    display: flex;
    align-items: center;
    gap: 18px;
    min-width: 0;
}


/* =========================================================
   Author
========================================================= */

.post-meta .author {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #001632;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}


/* Avatar */

.post-meta .author-avatar {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px;

    object-fit: cover;
    border-radius: 50%;

    border: 2px solid #fff;

    box-shadow:
        0 3px 12px rgba(0, 22, 50, .14);

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.post-meta .author:hover .author-avatar {
    transform: scale(1.06);

    box-shadow:
        0 5px 16px rgba(0, 22, 50, .18);
}


/* Author Name */

.post-meta .author-name {
    line-height: 1.5;
    color: #001632;
}


/* =========================================================
   Date
========================================================= */

.post-meta .date {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    padding-right: 18px;

    color: #687789;
    font-size: 12px;
    font-weight: 500;

    border-right: 1px solid rgba(0, 22, 50, .10);

    white-space: nowrap;
}

.post-meta .date .meta-icon {
    flex-shrink: 0;
    color: #93a254;

    transition:
        transform .25s ease;
}

.post-meta .date:hover .meta-icon {
    transform: translateY(-1px);
}


/* =========================================================
   Google Source Button
========================================================= */

.post-meta .koohmaan-google-btn {
    position: relative;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    min-height: 42px;
    padding: 0 15px;

    color: #334155;
    text-decoration: none !important;

    background: #fff;

    border: 1px solid rgba(0, 22, 50, .08);
    border-radius: 11px;

    font-size: 12px;
    font-weight: 600;

    box-shadow:
        0 3px 12px rgba(0, 22, 50, .035);

    transition:
        all .25s ease;

    overflow: hidden;
}


/* نور ظریف روی دکمه */

.post-meta .koohmaan-google-btn::before {
    content: "";
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            120deg,
            transparent 20%,
            rgba(255,255,255,.8) 50%,
            transparent 80%
        );

    transform: translateX(-120%);
    transition: transform .55s ease;
}

.post-meta .koohmaan-google-btn:hover::before {
    transform: translateX(120%);
}


.post-meta .koohmaan-google-btn:hover {
    color: #001632;

    border-color: rgba(147, 162, 84, .35);

    transform: translateY(-2px);

    box-shadow:
        0 8px 22px rgba(0, 22, 50, .08),
        0 0 0 4px rgba(147, 162, 84, .06);
}


/* Google Icon */

.post-meta .koohmaan-google-icon {
    position: relative;
    z-index: 1;

    width: 28px;
    height: 28px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 8px;

    background: #f8fafc;
}

.post-meta .koohmaan-google-icon svg {
    display: block;
}


/* Text */

.post-meta .koohmaan-google-btn > span:not(.koohmaan-google-icon):not(.koohmaan-google-arrow) {
    position: relative;
    z-index: 1;
}


/* Arrow */

.post-meta .koohmaan-google-arrow {
    position: relative;
    z-index: 1;

    font-size: 17px;
    line-height: 1;

    color: #93a254;

    transition:
        transform .25s ease;
}

.post-meta .koohmaan-google-btn:hover .koohmaan-google-arrow {
    transform: translateX(-4px);
}


/* =========================================================
   Share Buttons
========================================================= */

.post-meta .share-buttons {
    display: flex;
    align-items: center;
    gap: 7px;
}


/* Shared Button */

.post-meta .share-popup {
    width: 38px;
    height: 38px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;

    text-decoration: none !important;

    background: #fff;

    border: 1px solid rgba(0, 22, 50, .07);

    color: #64748b;

    box-shadow:
        0 3px 10px rgba(0, 22, 50, .035);

    transition:
        transform .22s ease,
        color .22s ease,
        background .22s ease,
        border-color .22s ease,
        box-shadow .22s ease;
}


.post-meta .share-popup svg {
    display: block;
    transition:
        transform .22s ease;
}


/* Hover */

.post-meta .share-popup:hover {
    transform: translateY(-3px);

    color: #fff;

    border-color: transparent;

    box-shadow:
        0 8px 18px rgba(0, 22, 50, .14);
}

.post-meta .share-popup:hover svg {
    transform: scale(1.08);
}


/* =========================================================
   Individual Social Colors
========================================================= */

/* Twitter / X */

.post-meta .share-popup.twitter:hover {
    background: #000;
}


/* Facebook */

.post-meta .share-popup.facebook:hover {
    background: #1877f2;
}


/* LinkedIn */

.post-meta .share-popup.linkedin:hover {
    background: #0a66c2;
}


/* =========================================================
   Desktop Separation
========================================================= */

@media (min-width: 901px) {

    .post-meta .author-date {
        flex: 1;
    }

    .post-meta .koohmaan-google-btn {
        flex-shrink: 0;
    }

    .post-meta .share-buttons {
        flex-shrink: 0;

        padding-right: 14px;
        border-right: 1px solid rgba(0, 22, 50, .08);
    }
}


/* =========================================================
   Tablet
========================================================= */

@media (max-width: 900px) {
.section-title {
    font-size: 16px;
    margin-bottom: 10px;        margin-top: 0;
}
    .post-meta {
        flex-wrap: wrap;
        gap: 14px;
    }
.section {
    padding: 20px 0;
}
    .post-meta .author-date {
        flex: 1 1 auto;
    }

    .post-meta .koohmaan-google-btn {
        flex: 0 0 auto;
    }

    .post-meta .share-buttons {
        width: 100%;
        padding-top: 12px;

        border-top: 1px solid rgba(0, 22, 50, .07);

        justify-content: flex-start;
    }
}



.mytheme-sale-countdown {
display: flex;
    align-items: center;
    gap: 12px;
    direction: rtl;
    flex-direction: row-reverse;
}

.mytheme-sale-countdown__icon {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #ff3e3e;
    color: #fff;
    flex-shrink: 0;
}

.mytheme-sale-countdown__icon svg {
    width: 21px;
    height: 21px;
}

.mytheme-sale-countdown__items {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-direction: row-reverse;
}

.mytheme-sale-countdown__item {
    min-width: 48px;
    padding: 6px 8px;
    border-radius: 10px;
    background: #ffffff;
    text-align: center;
}

.mytheme-sale-countdown__item strong {
    display: block;
    font-size: 15px;
    line-height: 1.2;
    font-weight: 700;
    color: #222;
}

.mytheme-sale-countdown__item span {
    display: block;
    margin-top: 2px;
    font-size: 10px;
    color: #888;
}
.mytheme-mobile-bottom-nav__icon svg {
	width: 22px;
	height: 22px;
	display: block;
}
/* =========================================================
   V19 — Mega Menu compact / organized
   فقط اندازه و فاصله مگامنو؛ ساختار و منطق منو تغییر نمی‌کند.
   ========================================================= */
@media (min-width: 768px) {
	.mytheme-mega-menu {
		width: min(1080px, calc(100vw - 32px));
		padding: 26px;
		border-radius: 16px;
	}
    .mytheme-mega-card li a:before{
	content: "";
        background: #ffb3007a;
        border-radius: 100px;
        width: 5px;
        height: 5px;
        display: inline-block;
        margin-left: 3px;
	}
	.mytheme-mega-menu__inner {
		min-height: 0;
		max-height: min(70vh, 560px);
		overflow-y: auto;
		padding: 2px;
	}

	.mytheme-mega-menu__categories {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		grid-auto-rows: minmax(0, auto);
		gap: 8px;
	}

	.mytheme-mega-card,
	.mytheme-mega-card.is-featured {
		grid-column: span 1;
		padding: 10px;
		border-radius: 12px;
	}

	.mytheme-mega-card.is-featured {
		background: linear-gradient(145deg,#f7fafc,#eef3f6);
	}

	.mytheme-mega-card__head {
		gap: 7px;
		margin-bottom: 6px;
	}

	.mytheme-mega-card__thumb {
		flex-basis: 50px;
		width: 50px;
		height: 50px;
		border-radius: 8px;
	}

	.mytheme-mega-card__title {
		font-size: 15px;
	}

	.mytheme-mega-card__arrow {
		font-size: 12px;
	}

	.mytheme-mega-card ul {
		gap: 1px;
		        display: block;
        columns: 2;
        max-height: 75px;
	}

	.mytheme-mega-card li a {
		font-size: 13px;
		padding: 1px 0;
	}

	.mytheme-mega-menu__inner::-webkit-scrollbar {
		width: 5px;
	}

	.mytheme-mega-menu__inner::-webkit-scrollbar-thumb {
		background: #d8ddd7;
		border-radius: 999px;
	}
}

/* آیکون‌های تصویری SVG منو */
.mytheme-menu-item-icon--svg {
	width: 22px;
	height: 22px;
	margin-inline-end: 6px;
	flex: 0 0 22px;
}

.mytheme-menu-item-icon--svg img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

/* فیلد آپلود آیکون در مدیریت منو */
.mytheme-menu-svg-control {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 7px;
}

.mytheme-menu-svg-url {
	max-width: 360px;
}

.mytheme-menu-svg-upload {
	margin-inline-start: 0 !important;
}
/* ==========================================
   Header Account & Search
   Premium Animated Border
========================================== */
/* =========================================================
   HEADER ACCOUNT / SEARCH
   Premium Animated Border
   ========================================================= */

.header-account,
.header-search-toggle {
    position: relative;
    isolation: isolate;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    background: #ffffff;
    border: 2px solid #f4f4f4;
    border-radius: 100px;
    padding: 8px 10px;

    cursor: pointer;
    overflow: hidden;

    transition:
        background 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease,
        transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}


/* =========================================================
   ANIMATED BORDER
   ========================================================= */

.header-account::before,
.header-search-toggle::before {
    content: "";

    position: absolute;
    inset: -50%;

    z-index: -2;

    background: conic-gradient(
        from 0deg,

        transparent 0deg,
        transparent 300deg,

        rgba(255, 179, 0, 0.08) 315deg,

        rgba(255, 179, 0, 0.35) 330deg,

        #ffb300 345deg,

        #ffd166 352deg,

        #ffb300 358deg,

        transparent 360deg
    );

    opacity: 0;

    transform: rotate(0deg);

    transition:
        opacity 0.35s ease;

    animation: header-premium-border 2s linear infinite;
}


/* =========================================================
   INNER MASK
   ========================================================= */

.header-account::after,
.header-search-toggle::after {
    content: "";

    position: absolute;

    inset: 2px;

    z-index: -1;

    border-radius: inherit;

    background: #ffffff;

    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.95);

    transition:
        background 0.35s ease;
}


/* =========================================================
   HOVER
   ========================================================= */




/* =========================================================
   SHOW ANIMATION
   ========================================================= */

.header-account:hover::before,
.header-search-toggle:hover::before {
    opacity: 1;
}


/* =========================================================
   BORDER ROTATION
   ========================================================= */

@keyframes header-premium-border {

    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }

}


/* =========================================================
   ICON
   ========================================================= */

.header-account svg,
.header-search-toggle svg,

.header-account i,
.header-search-toggle i {

    position: relative;

    z-index: 2;

    transition:
        transform 0.4s cubic-bezier(
            0.34,
            1.56,
            0.64,
            1
        ),
        color 0.3s ease;
}


/* =========================================================
   ICON MICRO INTERACTION
   ========================================================= */

.header-account:hover svg,
.header-search-toggle:hover svg,

.header-account:hover i,
.header-search-toggle:hover i {

    transform: scale(1.08);

}


/* =========================================================
   OPTIONAL: SLIGHT ICON COLOR
   ========================================================= */

.header-account:hover svg,
.header-search-toggle:hover svg,

.header-account:hover i,
.header-search-toggle:hover i {

    color: #ffb300;

}

/* =========================================================
   Mobile
========================================================= */

@media (max-width: 600px) {
	.header-account, .header-search-toggle {
    border: 1px solid #f4f4f4;
}
	.content-container {
    padding: 0 12px;
}
    .post-meta {
        flex-direction: column;
        align-items: stretch;

        padding: 14px;

        border-radius: 15px;

        gap: 12px;
    }


    /* Author + Date */

    .post-meta .author-date {
        width: 100%;
        justify-content: space-between;
        gap: 10px;
    }


    .post-meta .author {
        font-size: 12px;
    }


    .post-meta .author-avatar {
        width: 38px !important;
        height: 38px !important;
        min-width: 38px;
    }


    .post-meta .date {
        padding-right: 12px;
        font-size: 11px;
    }


    /* Google */

    .post-meta .koohmaan-google-btn {
        width: 100%;
        box-sizing: border-box;
    }


    /* Share */

    .post-meta .share-buttons {
        width: 100%;

        justify-content: center;

        padding-top: 12px;
    }


    .post-meta .share-popup {
        width: 40px;
        height: 40px;
    }

}
.entry-content a{
    color: #3062ff;
    font-weight: 600;
}
.entry-content a:hover{
    color: #ffb300;
    font-weight: 600;
}



.snp-ftr-grid{
text-align: right;
    display: flex;
    align-items: center;
    direction: rtl;
    margin-top: 8px;
    font-size: 10px;
    background: #7fa4aa1f;
    border-radius: 8px;
    border: 1px solid #2979ff0f;
    padding: 4px;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 10px;    max-width: 100%;
    overflow: hidden;
    position: relative;
    text-decoration: none;
    text-overflow: ellipsis;
    vertical-align: bottom;
    white-space: nowrap;
}
.snp-ftr-grid span{
	display:flex;
}
.snp-ftr-grid svg{
width:18px;
}





.km-error-page .km-error-container {
    max-width: 1200px;
    margin: 40px auto 80px;
    padding: 0 20px;
    direction: rtl;
    font-family: inherit;
    box-sizing: border-box;
}

.km-error-page .km-error-container *,
.km-error-page .km-error-container *::before,
.km-error-page .km-error-container *::after {
    box-sizing: border-box;
}

.km-error-page .km-error-card {
    position: relative;
    overflow: hidden;
    padding: 60px 40px;
    color: #fff;
    text-align: center;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    border-radius: 32px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, .2);
    isolation: isolate;
}

.km-error-page .km-error-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: url("https://koohmaan.com/wp-content/uploads/2026/10/autumn-bnr-koohmaan-404.webp") center/cover no-repeat;
    opacity: .12;
    pointer-events: none;
}

.km-error-page .km-error-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    padding: 6px 16px;
    color: #fb923c;
    background: rgba(226, 88, 34, .2);
    border: 1px solid rgba(226, 88, 34, .4);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 800;
}

.km-error-page .km-error-card h1 {
    margin: 0 0 12px;
    color: #fff;
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 900;
    letter-spacing: -1px;
    line-height: 1.5;
}

.km-error-page .km-error-card p {
    max-width: 600px;
    margin: 0 auto 36px;
    color: #94a3b8;
    font-size: clamp(14px, 2vw, 17px);
    font-weight: 500;
    line-height: 1.9;
}

.km-error-page .km-error-search {
    position: relative;
    max-width: 540px;
    margin: 0 auto 50px;
}

.km-error-page .km-error-search form {
    display: flex;
    gap: 8px;
    padding: 6px;
    background: rgba(255, 255, 255, .08);
    border: 2px solid rgba(255, 255, 255, .15);
    border-radius: 18px;
    transition: border-color .3s, background .3s, box-shadow .3s;
}

.km-error-page .km-error-search form:focus-within {
    background: rgba(255, 255, 255, .12);
    border-color: #e25822;
    box-shadow: 0 0 0 4px rgba(226, 88, 34, .2);
}

.km-error-page .km-error-search .search-field {
    flex: 1;
    min-width: 0;
    padding: 12px 18px;
    color: #fff;
    background: transparent;
    border: 0;
    outline: none;
    font: inherit;
    font-size: 14px;
}

.km-error-page .km-error-search .search-field::placeholder {
    color: #94a3b8;
}

.km-error-page .km-error-search .search-submit {
    flex-shrink: 0;
    padding: 12px 22px;
    color: #fff;
    background: #e25822;
    border: 0;
    border-radius: 12px;
    font: inherit;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: background .2s, transform .2s;
}

.km-error-page .km-error-search .search-submit:hover {
    background: #c8491b;
    transform: translateY(-1px);
}

.km-error-page .km-error-links-title {
    margin-bottom: 20px;
    color: #cbd5e1;
    font-size: 15px;
    font-weight: 800;
}

.km-error-page .km-error-categories {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    max-width: 900px;
    margin: 0 auto;
}

.km-error-page .km-error-cat-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 18px 20px;
    color: #fff;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 16px;
    text-align: right;
    text-decoration: none;
    transition: background .25s, border-color .25s, transform .25s;
}

.km-error-page .km-error-cat-item:hover {
    color: #fff;
    background: #e25822;
    border-color: #e25822;
    transform: translateY(-3px);
}

.km-error-page .km-error-cat-info {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.km-error-page .km-error-cat-icon {
    flex-shrink: 0;
    font-size: 22px;
}

.km-error-page .km-error-cat-name {
    font-size: 14px;
    font-weight: 700;
}

.km-error-page .km-error-cat-arrow {
    flex-shrink: 0;
    opacity: .65;
    transition: transform .2s;
}

.km-error-page .km-error-cat-item:hover .km-error-cat-arrow {
    opacity: 1;
    transform: translateX(-4px);
}

.km-error-page .km-error-home-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 35px;
    color: #94a3b8;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: color .2s;
}

.km-error-page .km-error-home-btn:hover {
    color: #fff;
}

@media (max-width: 768px) {
    .km-error-page .km-error-card {
        padding: 40px 20px;
        border-radius: 24px;
    }

    .km-error-page .km-error-search form {
        flex-direction: column;
        padding: 8px;
    }

    .km-error-page .km-error-search .search-submit {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .km-error-page .km-error-container {
        margin: 24px auto 45px;
        padding: 0 12px;
    }

    .km-error-page .km-error-card {
        padding: 34px 16px;
    }

    .km-error-page .km-error-categories {
        grid-template-columns: 1fr;
    }

    .km-error-page .km-error-card h1 {
        font-size: 30px;
    }
}
