:root{
	--bg:        #F7F3EA;
	--panel:     #FFFFFF;
	--panel-2:   #FBF8F1;
	--cream:     #2E2A22;
	--cream-dim: #7C7263;
	--gold:      #6B7D4F;
	--gold-soft: #A6AD87;
	--walnut:    #7A4326;
	--tag:       #C9402D;
	--header-strip: #3E3527;
	--radius:    3px;
}
*{box-sizing:border-box;}
body.sarmad{
	background:var(--bg);
	color:var(--cream);
	font-family:'Vazirmatn', sans-serif;
	font-weight:400;
	line-height:1.75;
	overflow-x:hidden;
}
.sarmad a{color:inherit; text-decoration:none;}
.sarmad img{display:block; max-width:100%;}
.sarmad .wrap{max-width:1180px; margin:0 auto; padding:0 28px;}

/* ---------- lattice motif (signature element, reused as dividers) ---------- */
.lattice-divider{
	width:100%; height:34px;
	background-repeat:repeat-x;
	background-size:68px 34px;
	background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='68' height='34' viewBox='0 0 68 34'><path d='M34 2 L58 17 L34 32 L10 17 Z M34 2 L34 32 M10 17 L58 17' fill='none' stroke='%236B7D4F' stroke-width='1.1' opacity='0.55'/></svg>");
	opacity:.6;
}

/* ---------- header ---------- */
.sarmad-header{
	position:sticky; top:0; z-index:50;
}

/* نوار بالایی تیره (تماس، حساب کاربری، سبد خرید) */
.sarmad-topbar{background:var(--header-strip);}
.sarmad-topbar-row{display:flex; align-items:center; justify-content:space-between; height:38px; font-size:12.5px;}
.sarmad-topbar-links{display:flex; gap:20px;}
.sarmad-topbar-links a{color:#D8D2C4;}
.sarmad-topbar-links a:hover{color:#fff;}
.sarmad-topbar-icons{display:flex; align-items:center; gap:16px; color:#D8D2C4; font-size:15px;}
.sarmad-topbar-icons a{display:flex; align-items:center; gap:4px; color:#D8D2C4;}
.sarmad-topbar-icons a:hover{color:#fff;}
.sarmad-topbar-icons span{font-size:14px;}

/* ردیف اصلی روشن: لوگو راست، منو وسط، دکمه‌ی موبایل چپ */
.sarmad-nav{
	display:flex; align-items:center; justify-content:space-between; gap:20px;
	height:78px;
	background:var(--panel);
	border-bottom:1px solid rgba(107,125,79,.18);
	box-shadow:0 2px 10px rgba(0,0,0,.04);
}
.sarmad-logo{
	flex:none;
	display:flex; align-items:center; gap:8px;
	font-size:22px; font-weight:800; letter-spacing:.5px; color:var(--cream);
}
.sarmad-logo-badge{
	display:inline-flex; align-items:center; justify-content:center;
	width:30px; height:30px; border-radius:50%;
	border:1px solid var(--gold); color:var(--gold); font-size:14px;
}
.sarmad-logo-text span{color:inherit;}
.sarmad-nav-links-wrap{flex:1; display:flex; justify-content:center; min-width:0;}
.sarmad-nav-links{display:flex; gap:26px; font-size:14.5px; color:var(--cream); flex-wrap:wrap; list-style:none; justify-content:center;}
.sarmad-nav-links a:hover{color:var(--gold);}
.sarmad-nav-toggle{display:none; flex:none; font-size:24px; background:none; border:none; color:var(--cream); cursor:pointer;}

/* ---------- hero ---------- */
.sarmad-hero{position:relative; padding:90px 0 70px; overflow:hidden;}
.sarmad-hero-grid{display:grid; grid-template-columns:1.05fr .95fr; gap:40px; align-items:center;}
.sarmad-hero h1{font-size:clamp(34px, 5vw, 58px); font-weight:800; line-height:1.28; color:var(--cream) !important; max-width:11.5em;}
.sarmad-hero p{margin-top:22px; max-width:34em; font-size:17px; color:var(--cream-dim) !important;}
.sarmad-hero-actions{display:flex; gap:14px; margin-top:34px;}

.btn{display:inline-flex; align-items:center; gap:8px; padding:14px 28px; font-size:15px; font-weight:500; border-radius:var(--radius); border:1px solid transparent; cursor:pointer; transition:transform .15s ease, background .2s ease;}
.btn-primary{background:var(--gold); color:#FFFFFF;}
.btn-primary:hover{background:#CBA76C; transform:translateY(-1px);}
.btn-ghost{border-color:rgba(46,42,34,.3); color:var(--cream);}
.btn-ghost:hover{border-color:var(--gold); color:var(--gold);}

.sarmad-hero-art{position:relative; aspect-ratio:1/1.05; background:radial-gradient(circle at 50% 45%, rgba(107,125,79,.18), transparent 60%), linear-gradient(160deg, var(--panel), #EFE9DA 80%); border:1px solid rgba(107,125,79,.25);}
.sarmad-hero-art svg{position:absolute; inset:0; width:100%; height:100%;}
.sarmad-hero-art .draw-path{fill:none; stroke:var(--gold); stroke-width:1.4; stroke-dasharray:2600; stroke-dashoffset:2600; animation:sarmad-draw 3.2s ease forwards .3s;}
@keyframes sarmad-draw{ to{ stroke-dashoffset:0; } }
.sarmad-hero-art .fill-shape{fill:var(--cream); opacity:0; animation:sarmad-fadein 1s ease forwards 2.6s;}
@keyframes sarmad-fadein{ to{opacity:.9;} }

/* ---------- slider ---------- */
.sarmad-slider{position:relative; aspect-ratio:1/1.05; border:1px solid rgba(107,125,79,.25); overflow:hidden; background:linear-gradient(160deg, var(--panel), #EFE9DA 80%);}
.sarmad-slide{position:absolute; inset:0; opacity:0; visibility:hidden; transition:opacity 1s ease; display:flex; align-items:flex-end;}
.sarmad-slide.is-active{opacity:1; visibility:visible;}
.sarmad-slide img{position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:.55;}
.sarmad-slide-caption{position:relative; z-index:2; padding:24px; background:linear-gradient(to top, rgba(22,19,15,.92), transparent);width:100%;}
.sarmad-slide-caption h3{color:var(--cream); font-size:19px; font-weight:700;}
.sarmad-slider-dots{position:absolute; bottom:16px; left:50%; transform:translateX(-50%); display:flex; gap:8px; z-index:3;}
.sarmad-slider-dots span{width:7px; height:7px; border-radius:50%; background:rgba(46,42,34,.35); cursor:pointer; transition:background .2s ease;}
.sarmad-slider-dots span.is-active{background:var(--gold);}

/* ---------- generic sections ---------- */
.sarmad-section{padding:74px 0;}
.sarmad-section-head{max-width:38em; margin-bottom:40px;}
.sarmad-section-head h2{font-size:28px; font-weight:700; color:var(--cream);}
.sarmad-section-head p{margin-top:10px; color:var(--cream-dim); font-size:15px;}

/* ---------- categories ---------- */
.sarmad-cat-slider{position:relative;}
.sarmad-cat-row{
	display:flex; gap:18px; overflow-x:auto; scroll-snap-type:x proximity;
	padding-bottom:6px; scrollbar-width:none; -ms-overflow-style:none;
}
.sarmad-cat-row::-webkit-scrollbar{display:none;}
.sarmad-cat-row .sarmad-cat-card{flex:0 0 190px; scroll-snap-align:start;}
.sarmad-cat-arrow{
	position:absolute; top:50%; transform:translateY(-50%); z-index:3;
	width:38px; height:38px; border-radius:50%;
	background:var(--panel); border:1px solid rgba(107,125,79,.3); color:var(--gold);
	font-size:18px; cursor:pointer; display:flex; align-items:center; justify-content:center;
	box-shadow:0 6px 14px rgba(46,42,34,.1);
}
.sarmad-cat-arrow:hover{background:var(--gold); color:#fff;}
.sarmad-cat-prev{right:-14px;}
.sarmad-cat-next{left:-14px;}
@media (max-width:640px){
	.sarmad-cat-arrow{display:none;}
}
.sarmad-cat-card{
	position:relative; background:var(--panel); padding:28px 16px; text-align:center;
	border:1px solid rgba(107,125,79,.18); border-radius:10px;
	box-shadow:0 4px 14px rgba(46,42,34,.05);
	transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.sarmad-cat-card:hover{transform:translateY(-3px); box-shadow:0 10px 22px rgba(46,42,34,.1); border-color:var(--gold-soft);}
.sarmad-cat-glyph{width:52px; height:52px; margin:0 auto 16px; border-radius:50%; display:flex; align-items:center; justify-content:center; color:#FFFFFF; font-size:20px; overflow:hidden; background:var(--header-strip);}
.sarmad-cat-glyph img{width:100%; height:100%; object-fit:cover;}
.sarmad-cat-card h3{font-size:16px; font-weight:600; color:var(--cream);}
.sarmad-cat-card p{margin-top:6px; font-size:12.5px; color:var(--cream-dim);}

/* ---------- product grid + card (shared: homepage featured AND WooCommerce shop loop) ---------- */
.sarmad-product-grid{display:grid; grid-template-columns:repeat(4, 1fr); gap:26px;}
.sarmad-product-card{position:relative;}
.sarmad-product-card{
	position:relative;
	background:var(--panel);
	border:1px solid rgba(107,125,79,.14);
	border-radius:12px;
	padding:14px 14px 20px;
	transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.sarmad-product-card:hover{
	transform:translateY(-5px);
	box-shadow:0 16px 30px rgba(46,42,34,.1);
	border-color:rgba(107,125,79,.3);
}
.sarmad-product-photo{position:relative; aspect-ratio:1/1; background:linear-gradient(160deg, var(--panel-2), #F2EEE3); border:1px solid rgba(107,125,79,.14); border-radius:8px; display:flex; align-items:center; justify-content:center; color:var(--gold-soft); font-size:12px; overflow:hidden;}
.sarmad-product-photo img{width:100%; height:100%; object-fit:cover; transition:transform .3s ease;}
.sarmad-product-card:hover .sarmad-product-photo img{transform:scale(1.05);}
.sarmad-product-photo::after{
	content:'↖'; position:absolute; z-index:2;
	top:24px; inset-inline-start:24px;
	width:34px; height:34px; border-radius:50%;
	background:var(--gold); color:#fff; font-size:15px;
	display:flex; align-items:center; justify-content:center;
	opacity:0; transform:translateY(6px); transition:opacity .2s ease, transform .2s ease;
}
.sarmad-product-card:hover .sarmad-product-photo::after{opacity:1; transform:translateY(0);}
.sarmad-product-tag{position:absolute; top:10px; right:10px; background:var(--bg); border:1px solid var(--gold-soft); color:var(--gold); font-size:11px; padding:4px 10px; z-index:2; border-radius:20px;}
.sarmad-product-card h4{margin-top:14px; font-size:15px; font-weight:500; color:var(--cream);}
.sarmad-product-card .sarmad-price{margin-top:6px; font-size:14px; color:var(--gold); font-weight:700;}
.sarmad-price small{color:var(--cream-dim); font-weight:400; font-size:12px;}
.sarmad-product-card .sarmad-add-btn{margin-top:12px; display:block; width:100%; text-align:center; padding:10px; border:1px solid var(--gold-soft); border-radius:6px; color:var(--gold); font-size:13px; background:transparent; cursor:pointer; transition:background .2s ease, color .2s ease;}
.sarmad-product-card .sarmad-add-btn:hover{background:var(--gold); color:#FFFFFF;}

/* ---------- WooCommerce shop/archive loop wrapper ---------- */
.woocommerce ul.products{
	display:grid;
	grid-template-columns:repeat(auto-fit, minmax(230px, 280px));
	justify-content:start;
	gap:26px;
	list-style:none;
	margin:0; padding:0;
}
.woocommerce ul.products li.product{
	list-style:none;
	width:100% !important;
	float:none !important;
	margin:0 !important;
}

/* ---------- process ---------- */
.sarmad-process{background:var(--panel); border-top:1px solid rgba(107,125,79,.18); border-bottom:1px solid rgba(107,125,79,.18);}
.sarmad-process-row{display:grid; grid-template-columns:repeat(3, 1fr); gap:36px;}
.sarmad-process-item{padding-right:26px; border-right:1px solid rgba(107,125,79,.3);}
.sarmad-process-item:last-child{border-right:none;}
.sarmad-process-n{font-size:13px; color:var(--gold); font-weight:700; margin-bottom:10px;}
.sarmad-process-item h3{font-size:18px; font-weight:700; color:var(--cream); margin-bottom:8px;}
.sarmad-process-item p{font-size:14px; color:var(--cream-dim);}

/* ---------- cta ---------- */
.sarmad-cta{text-align:center; padding:90px 0;}
.sarmad-cta h2{font-size:30px; font-weight:800; max-width:16em; margin:0 auto 18px; color:var(--cream) !important;}
.sarmad-cta p{color:var(--cream-dim); max-width:32em; margin:0 auto 30px; font-size:15px;}

/* ---------- footer ---------- */
.sarmad-footer{padding:44px 0; border-top:1px solid rgba(107,125,79,.18); text-align:center;}
.sarmad-footer-row{display:flex; flex-direction:column; justify-content:center; align-items:center; gap:10px;}
.sarmad-footer-row p{color:var(--cream-dim); font-size:13.5px;}
.sarmad-footer-credit{font-size:12px !important; opacity:.7; direction:ltr;}
.sarmad-footer p{font-size:13px; color:var(--cream-dim);}

/* ---------- generic page/archive content (about, contact, blog, shop sidebar override) ---------- */
.sarmad-page-header{padding:56px 0 30px; border-bottom:1px solid rgba(107,125,79,.18);}
.sarmad-page-header h1{font-size:32px; font-weight:800; color:var(--cream) !important;}
.sarmad-page-header .sarmad-breadcrumb, .sarmad-page-header .sarmad-breadcrumb a{color:var(--cream-dim) !important;}
.sarmad-breadcrumb{font-size:13px; color:var(--cream-dim); margin-bottom:10px;}

/* WooCommerce sidebar cleanup: hide default blog widgets (archive/search/recent-posts) on shop pages */
.woocommerce.archive .widget_search,
.woocommerce.archive .widget_archive,
.woocommerce.archive .widget_recent_entries{
	display:none;
}

/* WooCommerce archive controls (result count + ordering dropdown) */
.woocommerce-result-count{color:var(--cream-dim); font-size:13.5px;}
.woocommerce-ordering select{
	background:var(--panel);
	color:var(--cream);
	border:1px solid rgba(107,125,79,.3);
	padding:8px 12px;
	font-family:'Vazirmatn', sans-serif;
}
.woocommerce-pagination ul{display:flex; gap:8px; list-style:none; margin-top:40px;}
.woocommerce-pagination a, .woocommerce-pagination span{
	display:flex; align-items:center; justify-content:center;
	width:36px; height:36px;
	border:1px solid rgba(107,125,79,.3);
	color:var(--cream-dim);
}
.woocommerce-pagination .current{background:var(--gold); color:#FFFFFF; border-color:var(--gold);}

/* generic page content (about / contact) */
.sarmad-page-content{font-size:15.5px; color:var(--cream-dim) !important;}
.sarmad-page-content h2, .sarmad-page-content h3{color:var(--cream) !important; margin:28px 0 12px;}
.sarmad-page-content p{margin-bottom:16px;}
.sarmad-page-content a{color:var(--gold); text-decoration:underline;}
.sarmad-page-content img{margin:20px 0; border:1px solid rgba(107,125,79,.2);}

/* ---------- responsive ---------- */
@media (max-width:900px){
	.sarmad-hero-grid{grid-template-columns:1fr;}
	.sarmad-hero-art{order:-1; aspect-ratio:16/10;}
	.sarmad-product-grid, .woocommerce ul.products{grid-template-columns:repeat(2, 1fr);}
	.sarmad-process-row{grid-template-columns:1fr; gap:26px;}
	.sarmad-process-item{border-right:none; padding-right:0; border-bottom:1px solid rgba(107,125,79,.3); padding-bottom:22px;}
	.sarmad-process-item:last-child{border-bottom:none;}
}
@media (max-width:860px){
	.sarmad-nav-links{display:none;}
	.sarmad-nav-toggle{display:block;}
	.sarmad-topbar-links{display:none;}
}
@media (max-width:640px){
	.sarmad-product-grid{grid-template-columns:1fr 1fr;}
	.woocommerce ul.products{grid-template-columns:1fr 1fr;}
	.sarmad-hero{padding:56px 0 40px;}
	.sarmad-section{padding:52px 0;}
	.wrap{padding:0 20px;}
}
@media (max-width:380px){
	.wrap{padding:0 16px;}
	.sarmad-topbar-icons{gap:12px; font-size:16px;}
	.sarmad-logo{font-size:19px;}
	.sarmad-hero-actions{flex-direction:column; align-items:stretch;}
	.btn{justify-content:center;}
}
@media (prefers-reduced-motion: reduce){
	.sarmad-hero-art .draw-path, .sarmad-hero-art .fill-shape{ animation:none; stroke-dashoffset:0; opacity:.9; }
}

/* --- نوار اعتماد سراسری --- */
.sarmad-trustbar{background:var(--panel-2); border-top:1px solid rgba(107,125,79,.15); padding:30px 0;}
.sarmad-trustbar-row{display:grid; grid-template-columns:repeat(4, 1fr); gap:20px;}
.sarmad-trustbar-item{display:flex; align-items:center; gap:12px;}
.sarmad-trustbar-item span{font-size:24px; flex:none;}
.sarmad-trustbar-item strong{display:block; font-size:14px; color:var(--cream);}
.sarmad-trustbar-item small{display:block; font-size:12px; color:var(--cream-dim); margin-top:2px;}
@media (max-width:640px){
	.sarmad-trustbar-row{grid-template-columns:1fr 1fr;}
}
.sarmad-whatsapp-float{
	position:fixed; bottom:22px; left:22px; z-index:500;
	width:56px; height:56px; border-radius:50%;
	background:#25D366; color:#fff;
	display:flex; align-items:center; justify-content:center;
	box-shadow:0 6px 18px rgba(0,0,0,.35);
	transition:transform .2s ease;
}
.sarmad-whatsapp-float:hover{transform:scale(1.08); color:#fff;}
@media (max-width:640px){
	.sarmad-whatsapp-float{width:50px; height:50px; bottom:16px; left:16px;}
}

/* --- نشان‌های اعتماد --- */
.sarmad-trust-badges{
	display:flex; flex-direction:column; gap:10px;
	margin-top:20px; padding-top:20px;
	border-top:1px solid rgba(107,125,79,.18);
}
.sarmad-trust-badge{display:flex; align-items:center; gap:10px; font-size:13.5px; color:var(--cream-dim);}
.sarmad-trust-badge span:first-child{font-size:16px; flex:none;}

/* --- ریزتنظیم‌های ریسپانسیو --- */
@media (max-width:640px){
	.sarmad-hero h1{font-size:26px !important;}
	.sarmad-single-product .summary .product_title{font-size:26px !important;}
	.sarmad-contact-form-wrap h2{font-size:18px;}
}

/* =====================================================================
   صفحه اختصاصی محصول (single-product) — قبلاً استایل نداشت و پیش‌فرض/
   شکسته دیده می‌شد. این بخش روی خروجی استاندارد ووکامرس (گالری، فرم
   افزودن به سبد، تب‌ها، محصولات مرتبط) استایل سرمد رو پیاده می‌کنه،
   بدون این‌که عملکردشون (زوم عکس، تنوع محصول، نظرات) دست‌کاری بشه.
   ===================================================================== */
.sarmad-single-product div.product{
	display:grid !important;
	grid-template-columns:1fr 1fr !important;
	gap:52px;
	align-items:flex-start;
}

/* --- گالری اسلایدر سفارشی --- */
.sarmad-gallery{position:relative; max-width:100%;}
@media (min-width:901px){
	.sarmad-gallery{max-width:420px;}
}
.sarmad-gallery-badge{
	position:absolute; top:14px; right:14px; z-index:6;
	background:var(--bg); border:1px solid var(--gold-soft); color:var(--gold);
	font-size:12px; padding:5px 12px; border-radius:var(--radius);
}
.sarmad-gallery-main{
	position:relative; overflow:hidden;
	border:1px solid rgba(107,125,79,.25);
	background:linear-gradient(160deg, var(--panel-2), var(--panel));
	aspect-ratio:1/1;
}
.sarmad-gallery-track{
	display:flex; height:100%;
	transition:transform .5s cubic-bezier(.65,0,.35,1);
}
.sarmad-gallery-slide{flex:0 0 100%; height:100%;}
.sarmad-gallery-slide img{width:100%; height:100%; object-fit:cover; display:block;}
.sarmad-gallery-arrow{
	position:absolute; top:50%; transform:translateY(-50%); z-index:5;
	width:42px; height:42px; border-radius:50%;
	background:rgba(22,19,15,.72); color:#F5F1E8;
	border:1px solid rgba(107,125,79,.4); font-size:22px; line-height:1;
	cursor:pointer; display:flex; align-items:center; justify-content:center;
	transition:background .2s ease, color .2s ease;
}
.sarmad-gallery-arrow:hover{background:var(--gold); color:#FFFFFF;}
.sarmad-gallery-prev{right:14px;}
.sarmad-gallery-next{left:14px;}
.sarmad-gallery-thumbs{display:flex; gap:10px; margin-top:14px; flex-wrap:wrap;}
.sarmad-gallery-thumb{
	width:64px; height:64px; padding:0; flex:none;
	border:1px solid rgba(107,125,79,.25); background:none; cursor:pointer;
	opacity:.55; transition:opacity .2s ease, border-color .2s ease;
}
.sarmad-gallery-thumb img{width:100%; height:100%; object-fit:cover; display:block;}
.sarmad-gallery-thumb.is-active, .sarmad-gallery-thumb:hover{opacity:1; border-color:var(--gold);}
.sarmad-gallery-dots{display:flex; gap:8px; justify-content:center; margin-top:14px;}
.sarmad-gallery-dot{width:7px; height:7px; border-radius:50%; background:rgba(107,125,79,.3); transition:background .2s ease, transform .2s ease;}
.sarmad-gallery-dot.is-active{background:var(--gold); transform:scale(1.3);}
@media (max-width:900px){
	.sarmad-gallery-thumb{width:52px; height:52px;}
	.sarmad-gallery-arrow{width:36px; height:36px; font-size:18px;}
}

/* --- لایت‌باکس بزرگ‌نمایی --- */
.sarmad-lightbox{
	position:fixed; inset:0; z-index:9999;
	background:rgba(10,8,6,.92);
	display:flex; align-items:center; justify-content:center;
	opacity:0; visibility:hidden;
	transition:opacity .2s ease;
}
.sarmad-lightbox.is-open{opacity:1; visibility:visible;}
.sarmad-lightbox-stage{max-width:90vw; max-height:88vh;}
.sarmad-lightbox-stage img{
	max-width:90vw; max-height:88vh; width:auto; height:auto;
	object-fit:contain; display:block; margin:0 auto;
	border:1px solid rgba(107,125,79,.3);
}
.sarmad-lightbox-close{
	position:absolute; top:22px; left:22px; z-index:2;
	width:42px; height:42px; border-radius:50%;
	background:rgba(255,255,255,.12); color:#F5F1E8;
	border:1px solid rgba(255,255,255,.3); font-size:26px; line-height:1;
	cursor:pointer; display:flex; align-items:center; justify-content:center;
}
.sarmad-lightbox-close:hover{background:var(--gold); color:#FFFFFF;}
.sarmad-lightbox-arrow{
	position:absolute; top:50%; transform:translateY(-50%); z-index:2;
	width:48px; height:48px; border-radius:50%;
	background:rgba(255,255,255,.12); color:#F5F1E8;
	border:1px solid rgba(255,255,255,.3); font-size:26px; line-height:1;
	cursor:pointer; display:flex; align-items:center; justify-content:center;
}
.sarmad-lightbox-arrow:hover{background:var(--gold); color:#FFFFFF;}
.sarmad-lightbox-prev{right:24px;}
.sarmad-lightbox-next{left:24px;}
@media (max-width:600px){
	.sarmad-lightbox-arrow{width:38px; height:38px; font-size:20px;}
	.sarmad-lightbox-close{width:36px; height:36px; font-size:20px; top:14px; left:14px;}
	.sarmad-lightbox-prev{right:10px;}
	.sarmad-lightbox-next{left:10px;}
}

/* --- ستون اطلاعات محصول (summary) --- */
.sarmad-single-product .summary.entry-summary{color:var(--cream-dim);}
.sarmad-single-product .summary .product_title{
	position:relative;
	display:inline-block;
	font-size:34px; font-weight:800; line-height:1.45; margin-bottom:24px;
	letter-spacing:.2px;
	background-image:linear-gradient(90deg,
		var(--cream) 0%, var(--cream) 38%,
		#fff6df 47%, var(--gold) 50%, #fff6df 53%,
		var(--cream) 62%, var(--cream) 100%);
	background-size:250% 100%;
	background-clip:text;
	-webkit-background-clip:text;
	color:transparent;
	-webkit-text-fill-color:transparent;
	animation:sarmad-laser-sweep 5s linear infinite;
}
.sarmad-single-product .summary .product_title::before,
.sarmad-single-product .summary .product_title::after{
	content:'✦';
	position:absolute;
	color:var(--gold);
	text-shadow:0 0 6px rgba(107,125,79,.7);
	animation:sarmad-star-spin 6s linear infinite, sarmad-star-pulse 1.8s ease-in-out infinite;
}
.sarmad-single-product .summary .product_title::before{
	top:-16px; right:-10px; font-size:15px;
}
.sarmad-single-product .summary .product_title::after{
	bottom:-12px; left:-8px; font-size:10px;
	animation-delay:0s, .9s;
	animation-direction:reverse, normal;
}
@keyframes sarmad-laser-sweep{
	0%{ background-position:250% 0; }
	60%{ background-position:-150% 0; }
	100%{ background-position:-150% 0; }
}
@keyframes sarmad-star-spin{
	from{ transform:rotate(0deg); }
	to{ transform:rotate(360deg); }
}
@keyframes sarmad-star-pulse{
	0%,100%{ opacity:.35; }
	50%{ opacity:1; }
}
@media (prefers-reduced-motion: reduce){
	.sarmad-single-product .summary .product_title{ animation:none; background-position:0 0; -webkit-text-fill-color:var(--cream); color:var(--cream); }
	.sarmad-single-product .summary .product_title::before,
	.sarmad-single-product .summary .product_title::after{ animation:none; }
}
.sarmad-single-product .summary .woocommerce-product-rating{
	display:flex; align-items:center; gap:10px; margin-bottom:16px; font-size:13px;
}
.sarmad-single-product .star-rating{color:var(--gold); font-size:14px;}
.sarmad-single-product .summary p.price,
.sarmad-single-product .summary .price{
	font-size:24px; font-weight:700; color:var(--gold); margin-bottom:20px;
}
.sarmad-single-product .summary p.price ins,
.sarmad-single-product .summary .price ins{text-decoration:none; margin-inline-start:8px;}
.sarmad-single-product .summary p.price del,
.sarmad-single-product .summary .price del{color:var(--cream-dim); opacity:.6; font-size:16px; font-weight:400;}
.sarmad-single-product .woocommerce-product-details__short-description{
	font-size:15px; line-height:1.9; margin-bottom:26px; padding-bottom:26px;
	border-bottom:1px solid rgba(107,125,79,.18);
}
.sarmad-single-product .woocommerce-product-details__short-description p{margin-bottom:10px;}

/* --- فرم افزودن به سبد + تنوع محصول --- */
.sarmad-single-product form.cart{display:flex; flex-wrap:wrap; align-items:center; gap:16px; margin-bottom:26px;}
.sarmad-single-product table.variations{width:100%; margin-bottom:6px;}
.sarmad-single-product table.variations tr{display:flex; flex-direction:column; margin-bottom:14px;}
.sarmad-single-product table.variations label{
	font-size:13.5px; color:var(--cream); margin-bottom:8px; font-weight:600;
}
.sarmad-single-product table.variations select{
	background:var(--panel); color:var(--cream); border:1px solid rgba(107,125,79,.3);
	padding:10px 14px; font-family:'Vazirmatn', sans-serif; font-size:14px; border-radius:var(--radius);
	width:100%; max-width:320px;
}
.sarmad-single-product .woocommerce-variation-price .price{font-size:20px; margin:10px 0 0;}
.sarmad-single-product a.reset_variations{font-size:12.5px; color:var(--gold-soft); margin-inline-start:10px;}

.sarmad-single-product .quantity{display:inline-flex;}
.sarmad-single-product .quantity input.qty{
	width:64px; text-align:center; background:var(--panel); color:var(--cream);
	border:1px solid rgba(107,125,79,.3); padding:12px 8px; font-size:15px;
	font-family:'Vazirmatn', sans-serif; border-radius:var(--radius);
}
.sarmad-single-product button.single_add_to_cart_button{
	display:inline-flex; align-items:center; gap:8px;
	padding:14px 32px; font-size:15px; font-weight:600;
	background:var(--gold); color:#FFFFFF; border:1px solid transparent; border-radius:var(--radius);
	cursor:pointer; transition:transform .15s ease, background .2s ease; font-family:'Vazirmatn', sans-serif;
}
.sarmad-single-product button.single_add_to_cart_button:hover{background:#CBA76C; transform:translateY(-1px);}
.sarmad-single-product button.single_add_to_cart_button.disabled,
.sarmad-single-product button.single_add_to_cart_button.disabled:hover{
	opacity:.45; cursor:not-allowed; transform:none; background:var(--gold-soft);
}
.sarmad-single-product p.stock{font-size:13.5px; margin-top:4px;}
.sarmad-single-product p.stock.in-stock{color:#8FBF7A;}
.sarmad-single-product p.stock.out-of-stock{color:var(--tag);}
.sarmad-single-product p.availability{margin-top:8px;}

/* --- متادیتای محصول (کد کالا، دسته، برچسب) --- */
.sarmad-single-product .product_meta{
	margin-top:20px; padding-top:18px; border-top:1px solid rgba(107,125,79,.18);
	font-size:13px; display:flex; flex-direction:column; gap:6px;
}
.sarmad-single-product .product_meta > span{color:var(--cream-dim);}
.sarmad-single-product .product_meta a{color:var(--gold);}

/* --- تب‌ها: توضیحات / اطلاعات تکمیلی / نظرات --- */
.sarmad-single-product .woocommerce-tabs{grid-column:1 / -1; margin-top:26px;}
.sarmad-single-product ul.tabs{
	display:flex; gap:6px; list-style:none; margin:0 0 -1px; padding:0;
	border-bottom:1px solid rgba(107,125,79,.25); flex-wrap:wrap;
}
.sarmad-single-product ul.tabs li{margin:0;}
.sarmad-single-product ul.tabs li a{
	display:block; padding:14px 22px; font-size:14.5px; color:var(--cream-dim);
	border:1px solid transparent; border-bottom:none;
}
.sarmad-single-product ul.tabs li.active a{
	color:var(--cream); background:var(--panel);
	border-color:rgba(107,125,79,.25);
}
.sarmad-single-product .woocommerce-Tabs-panel{
	background:var(--panel); border:1px solid rgba(107,125,79,.25);
	padding:32px; font-size:15px; line-height:1.9; color:var(--cream-dim);
}
.sarmad-single-product .woocommerce-Tabs-panel h2{
	font-size:19px; font-weight:700; color:var(--cream); margin-bottom:16px;
}
.sarmad-single-product table.woocommerce-product-attributes{width:100%; border-collapse:collapse;}
.sarmad-single-product table.woocommerce-product-attributes th,
.sarmad-single-product table.woocommerce-product-attributes td{
	padding:10px 14px; border:1px solid rgba(107,125,79,.18); font-size:14px;
}
.sarmad-single-product table.woocommerce-product-attributes th{color:var(--cream); font-weight:600; text-align:right;}

/* نظرات */
.sarmad-single-product #reviews .commentlist{list-style:none; margin:0 0 30px; padding:0;}
.sarmad-single-product #reviews .comment{
	padding:20px 0; border-bottom:1px solid rgba(107,125,79,.18); display:flex; gap:16px;
}
.sarmad-single-product #reviews .comment img{border-radius:50%; width:48px; height:48px;}
.sarmad-single-product #reviews .comment_container p.meta{font-size:12.5px; color:var(--cream-dim); margin-bottom:6px;}
.sarmad-single-product #reviews .comment strong{color:var(--cream);}
.sarmad-single-product #review_form input[type=text],
.sarmad-single-product #review_form input[type=email],
.sarmad-single-product #review_form textarea{
	width:100%; background:var(--bg); color:var(--cream); border:1px solid rgba(107,125,79,.3);
	padding:12px 14px; font-family:'Vazirmatn', sans-serif; font-size:14px; margin-bottom:14px; border-radius:var(--radius);
}
.sarmad-single-product #review_form textarea{min-height:120px; resize:vertical;}
.sarmad-single-product #review_form .form-submit input{
	background:var(--gold); color:#FFFFFF; border:none; padding:12px 26px;
	font-size:14px; font-weight:600; cursor:pointer; border-radius:var(--radius); font-family:'Vazirmatn', sans-serif;
}
.sarmad-single-product .comment-form-rating select{
	background:var(--panel); color:var(--cream); border:1px solid rgba(107,125,79,.3); padding:8px 12px; margin-bottom:14px;
}

/* --- محصولات مرتبط (از همون گرید ul.products استفاده می‌کنه) --- */
.sarmad-single-product .related.products{grid-column:1 / -1; margin-top:60px; padding-top:50px; border-top:1px solid rgba(107,125,79,.18);}
.sarmad-single-product .related.products > h2{font-size:24px; font-weight:700; color:var(--cream); margin-bottom:28px;}

@media (max-width:900px){
	.sarmad-single-product div.product{grid-template-columns:1fr;}
}

/* =====================================================================
   صفحه تماس با ما (page-contact-us.php)
   ===================================================================== */
.sarmad-contact-grid{
	display:grid; grid-template-columns:.85fr 1.15fr; gap:48px; align-items:start;
}
.sarmad-contact-info{display:flex; flex-direction:column; gap:16px;}
.sarmad-contact-card{
	display:flex; align-items:flex-start; gap:16px;
	background:var(--panel); border:1px solid rgba(107,125,79,.2);
	padding:22px; border-radius:var(--radius);
}
.sarmad-contact-icon{
	flex:none; width:44px; height:44px; border-radius:50%;
	border:1px solid var(--gold-soft); color:var(--gold);
	display:flex; align-items:center; justify-content:center; font-size:18px;
}
.sarmad-contact-card h3{font-size:15px; font-weight:700; color:var(--cream); margin-bottom:6px;}
.sarmad-contact-card p, .sarmad-contact-card a{font-size:14px; color:var(--cream-dim); line-height:1.8;}
.sarmad-contact-card a:hover{color:var(--gold);}
.sarmad-contact-social{display:flex; gap:12px; margin-top:6px;}
.sarmad-contact-social a{
	width:38px; height:38px; border:1px solid rgba(107,125,79,.3); border-radius:50%;
	display:flex; align-items:center; justify-content:center; color:var(--gold-soft); font-size:15px;
	transition:border-color .2s ease, color .2s ease;
}
.sarmad-contact-social a:hover{border-color:var(--gold); color:var(--gold);}
.sarmad-contact-map{
	margin-top:6px; border:1px solid rgba(107,125,79,.2); overflow:hidden; aspect-ratio:16/11;
}
.sarmad-contact-map iframe{width:100%; height:100%; border:0; filter:grayscale(.3) invert(.92) contrast(.9);}

.sarmad-contact-form-wrap{
	background:var(--panel); border:1px solid rgba(107,125,79,.2); padding:36px; border-radius:var(--radius);
}
.sarmad-contact-form-wrap h2{font-size:20px; font-weight:700; color:var(--cream); margin-bottom:6px;}
.sarmad-contact-form-wrap > p{font-size:13.5px; color:var(--cream-dim); margin-bottom:26px;}
.sarmad-contact-form-row{display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-bottom:16px;}
.sarmad-contact-form-wrap label{display:block; font-size:13px; color:var(--cream); margin-bottom:8px; font-weight:600;}
.sarmad-contact-form-wrap input[type=text],
.sarmad-contact-form-wrap input[type=tel],
.sarmad-contact-form-wrap input[type=email],
.sarmad-contact-form-wrap textarea{
	width:100%; background:var(--bg); color:var(--cream); border:1px solid rgba(107,125,79,.3);
	padding:13px 14px; font-family:'Vazirmatn', sans-serif; font-size:14.5px; border-radius:var(--radius);
	transition:border-color .2s ease;
}
.sarmad-contact-form-wrap input:focus,
.sarmad-contact-form-wrap textarea:focus{outline:none; border-color:var(--gold);}
.sarmad-contact-form-wrap textarea{min-height:140px; resize:vertical; margin-bottom:20px;}
.sarmad-contact-form-wrap .field-group{margin-bottom:16px;}
.sarmad-contact-form-wrap button[type=submit]{
	width:100%; justify-content:center;
}
.sarmad-contact-honeypot{position:absolute; left:-9999px; opacity:0; height:0; width:0;}
.sarmad-contact-alert{
	padding:14px 18px; border-radius:var(--radius); font-size:14px; margin-bottom:22px;
}
.sarmad-contact-alert.success{background:rgba(143,191,122,.12); border:1px solid rgba(143,191,122,.4); color:#8FBF7A;}
.sarmad-contact-alert.error{background:rgba(201,64,45,.12); border:1px solid rgba(201,64,45,.4); color:var(--tag);}

@media (max-width:900px){
	.sarmad-contact-grid{grid-template-columns:1fr;}
}
.sarmad-price-fallback{
	font-size:13px; color:var(--gold-soft); font-weight:500;
}
@media (max-width:560px){
	.sarmad-contact-form-row{grid-template-columns:1fr;}
	.sarmad-contact-form-wrap{padding:24px;}
}
