/*
Theme Name: Dimit Theme
Theme URI: https://dimit.ir
Author: Dimit Team
Description: Lightweight bilingual-ready brand theme for Dimit dates.
Version: 1.1.0
Text Domain: dimit-theme
*//* --------- Custom Typography & Vazirmatn Fallback --------- */
@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;700;800&display=swap');

body, button, input, textarea, select, h1, h2, h3, h4, h5, h6 {
  font-family: 'Vazirmatn', Tahoma, Arial, sans-serif !important;
  letter-spacing: -0.015em;
}


*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }

:root {
  --jade-950: #092b24;
  --jade-900: #103c31;
  --jade-800: #185243;
  --jade-100: #eaf1eb;
  --gold: #c9a44c;
  --gold-light: #e2c879;
  --ink: #17251f;
  --muted: #66756e;
  --paper: #f8f8f3;
  --white: #fff;
  --line: rgba(16, 60, 49, .13);
  --container: 1160px;
  --radius: 22px;
}

body {
  color: var(--ink);
  background: var(--paper);
  font-family: system-ui, -apple-system, "Segoe UI", Tahoma, Arial, sans-serif;
  line-height: 1.8;
}
html[dir="rtl"] body { direction: rtl; }
html[dir="ltr"] body { direction: ltr; }
.container { width: min(var(--container), calc(100% - 40px)); margin-inline: auto; }

.site-header { position: sticky; top: 0; z-index: 20; background: rgba(248,248,243,.94); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--jade-950); font-size: 20px; font-weight: 800; }
.brand-badge { width: 38px; height: 38px; border-radius: 13px 13px 13px 4px; background: linear-gradient(145deg,var(--gold-light),var(--gold)); box-shadow: 0 6px 18px rgba(201,164,76,.25); }
.nav { display: flex; align-items: center; gap: 5px; }
.nav a { padding: 9px 13px; border-radius: 10px; color: var(--muted); font-size: 14px; }
.nav a:hover { color: var(--jade-900); background: var(--jade-100); }

.hero { overflow: hidden; position: relative; color: var(--white); background: radial-gradient(ellipse at 82% 15%,rgba(201,164,76,.15),transparent 34%), linear-gradient(120deg,var(--jade-950),var(--jade-800)); }
.hero-grid { min-height: 520px; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 30px; padding-block: 68px; }
.hero-copy { max-width: 650px; }
.eyebrow { margin: 0 0 12px; color: var(--gold); font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.hero h1 { margin: 0; font-size: clamp(38px,5vw,64px); line-height: 1.25; letter-spacing: -.04em; }
.hero h1 span { color: var(--gold-light); }
.hero-text { max-width: 570px; margin: 20px 0 25px; color: rgba(255,255,255,.74); font-size: 16px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 10px 19px; border: 1px solid transparent; border-radius: 12px; font-weight: 750; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-gold { color: var(--jade-950); background: var(--gold-light); }
.button-gold:hover { background: var(--gold); }
.button-outline { color: var(--white); border-color: rgba(255,255,255,.28); }
.button-outline:hover { background: rgba(255,255,255,.08); }
.hero-note { margin: 25px 0 0; color: rgba(255,255,255,.62); font-size: 13px; }
.hero-note span { padding-inline: 8px; color: var(--gold); }
.hero-art { width: min(100%,410px); aspect-ratio: 1; position: relative; justify-self: center; display: grid; place-items: center; border: 1px solid rgba(226,200,121,.22); border-radius: 50%; background: radial-gradient(circle,rgba(226,200,121,.12),transparent 63%); }
.art-orbit { position: absolute; border: 1px solid rgba(226,200,121,.25); border-radius: 50%; transform: rotate(-28deg); }
.orbit-one { inset: 12%; }.orbit-two { inset: 23%; transform: rotate(36deg); }
.art-seal { width: 46%; aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid rgba(226,200,121,.6); border-radius: 50%; color: var(--gold-light); background: linear-gradient(145deg,rgba(255,255,255,.08),rgba(0,0,0,.16)); box-shadow: 0 20px 50px rgba(0,0,0,.18); }
.art-seal span { font-size: clamp(28px,4vw,42px); font-weight: 850; }.art-seal small { color: rgba(255,255,255,.72); }
.art-leaf { position: absolute; width: 14%; height: 28%; border: 1px solid rgba(226,200,121,.35); border-radius: 100% 0 100% 0; }
.leaf-one { top: 12%; right: 19%; transform: rotate(34deg); }.leaf-two { bottom: 12%; left: 18%; transform: rotate(214deg); }

.section-space { padding-block: 82px; }
.intro-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 35px; align-items: start; }
.intro .eyebrow, .section-heading .eyebrow, .contact-strip .eyebrow { color: #9a792b; }
.intro h2, .section-heading h2, .contact-strip h2 { margin: 0; color: var(--jade-950); font-size: clamp(27px,3vw,38px); line-height: 1.4; }
.intro-grid > div > p { max-width: 650px; margin: 14px 0 0; color: var(--muted); }
.products { background: #f0f3ed; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 27px; }
.section-heading h2 { font-size: 32px; }
.text-link, .product-link { color: var(--jade-800); font-size: 14px; font-weight: 750; }
.text-link span, .product-link span { padding-inline-start: 5px; color: #a88637; }
.product-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.product-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: transform .25s, box-shadow .25s; }
.product-card:hover { transform: translateY(-5px); box-shadow: 0 18px 36px rgba(9,43,36,.1); }
.product-image { position: relative; display: grid; min-height: 250px; place-items: center; overflow: hidden; background: linear-gradient(140deg,#e6ede6,#d2dfd3); }
.product-image img { width: 100%; height: 250px; object-fit: cover; transition: transform .4s; }
.product-card:hover .product-image img { transform: scale(1.035); }
.image-fallback { padding: 18px; color: var(--jade-800); font-size: 13px; text-align: center; }
.image-arrow { position: absolute; inset-inline-end: 14px; bottom: 14px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; color: var(--jade-950); background: var(--gold-light); }
.product-details { padding: 20px 21px 23px; }
.product-label { margin: 0 0 5px; color: #9a792b; font-size: 11px; font-weight: 800; }
.product-details h3 { margin: 0; color: var(--jade-950); font-size: 21px; }
.product-details > p:not(.product-label) { min-height: 48px; margin: 8px 0 14px; color: var(--muted); font-size: 13px; }
.product-link { display: inline-block; margin-top: 12px; }

.gallery-section { background: var(--paper); }
.heading-note { margin: 0; color: var(--muted); font-size: 13px; }
.brand-gallery { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); grid-auto-rows: 190px; gap: 12px; }
.gallery-item { display: block; overflow: hidden; border-radius: 15px; background: var(--jade-100); }
.gallery-item:first-child { grid-row: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-empty { grid-column: 1/-1; min-height: 230px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px dashed rgba(16,60,49,.25); border-radius: var(--radius); color: var(--muted); text-align: center; }
.gallery-empty p { margin: 7px 0 0; color: var(--jade-900); font-weight: 700; }.gallery-empty > span:last-child { font-size: 12px; }.gallery-mark { color: var(--gold); font-size: 30px; }
.contact-strip { padding-block: 42px; background: var(--jade-100); }
.contact-inner { display: flex; align-items: center; justify-content: space-between; gap: 25px; }.contact-strip h2 { max-width: 760px; font-size: clamp(22px,3vw,30px); }
.contact-strip .button { flex: 0 0 auto; color: var(--jade-950); background: var(--gold-light); }
.site-footer { padding-block: 24px; color: rgba(255,255,255,.68); background: var(--jade-950); font-size: 13px; }
.site-footer p { margin: 0; }

@media (max-width: 800px) {
  .hero-grid { min-height: auto; grid-template-columns: 1fr; padding-block: 55px; }
  .hero-art { width: min(74vw,330px); }
  .intro-grid { grid-template-columns: 1fr; gap: 8px; }
  .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .section-space { padding-block: 62px; }
}
@media (max-width: 560px) {
  .container { width: min(var(--container), calc(100% - 28px)); }
  .header-inner { min-height: 66px; flex-wrap: wrap; padding-block: 10px; }
  .nav { width: 100%; overflow-x: auto; }
  .nav a { white-space: nowrap; padding: 7px 10px; }
  .hero-grid { padding-block: 42px; }
  .hero h1 { font-size: 38px; }
  .hero-art { margin-top: 8px; }
  .product-grid { grid-template-columns: 1fr; }
  .product-image, .product-image img { height: 230px; min-height: 230px; }
  .section-heading { align-items: start; flex-direction: column; }
  .brand-gallery { grid-template-columns: repeat(2,minmax(0,1fr)); grid-auto-rows: 145px; }
  .contact-inner { align-items: start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
/* --------- استایل هدر و منوی پویا وردپرس --------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 26, 20, 0.88); /* پس‌زمینه سبز یشمی بسیار تیره مات */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2); /* خط باریک طلایی */
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 20px;
  color: #fff;
}

.brand-badge {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, #d4af37, #0f3d2e); /* گرادیانت طلایی و یشمی */
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.35);
  border: 1px solid rgba(212, 175, 55, 0.4);
}

.brand-name {
  letter-spacing: 0.5px;
}

/* ساختار فهرست وردپرس */
.site-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list li {
  position: relative;
}

.nav-list li a {
  display: block;
  padding: 8px 16px;
  border-radius: 10px;
  color: #d1dcd5;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.25s ease;
}

.nav-list li a:hover,
.nav-list li.current-menu-item > a {
  color: #d4af37; /* طلایی */
  background: rgba(212, 175, 55, 0.1);
}

/* آیتم‌های Polylang داخل منو */
.nav-list li.lang-item a {
  font-weight: 600;
  border: 1px solid rgba(212, 175, 55, 0.25);
  padding: 6px 12px;
  border-radius: 8px;
}

.nav-list li.lang-item.current-lang a {
  background: #d4af37;
  color: #0b1a14;
}

@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    padding: 12px 0;
  }
  .nav-list {
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
  }
  .nav-list li a {
    padding: 6px 10px;
    font-size: 13px;
  }
}

.art-seal.art-seal-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.art-seal.art-seal-logo img {
    display: block;
    width: 62%;
    max-width: 180px;
    height: auto;
    max-height: 62%;
    object-fit: contain;
}

/* ---------- Contact Page (Dimit) ---------- */

.contact-page {
    background: #034835;
    color: #ffffff;
    min-height: 70vh;
    padding-bottom: 60px;
}

.contact-hero {
    padding: 70px 0 30px;
    text-align: center;
}

.contact-hero h1 {
    color: #EB9708;
    font-size: 2.2rem;
    margin: 10px 0;
}

.contact-hero .contact-lead {
    max-width: 640px;
    margin: 0 auto;
    color: rgba(255, 255, 255, .82);
    line-height: 1.9;
}

.contact-body {
    padding: 20px 0 60px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 32px;
    align-items: start;
}

.contact-info h2 {
    color: #EB9708;
    margin-bottom: 16px;
}

.contact-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-info-list li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(235, 151, 8, .25);
    line-height: 1.8;
}

.contact-info-list strong {
    color: #EB9708;
    display: block;
    margin-bottom: 4px;
}

.contact-info-list a {
    color: #ffffff;
    text-decoration: underline;
    text-decoration-color: #EB9708;
}

.contact-form-wrapper {
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(235, 151, 8, .35);
    border-radius: 12px;
    padding: 28px;
}

.form-row {
    margin-bottom: 18px;
}

.form-row label {
    display: block;
    margin-bottom: 8px;
    color: #EB9708;
    font-weight: 600;
}

.form-row .req {
    color: #ff6b6b;
}

.form-row input,
.form-row textarea,
.form-row select {
    width: 100%;
    padding: 12px 14px;
    background: rgba(255, 255, 255, .92);
    border: 1px solid rgba(235, 151, 8, .5);
    border-radius: 8px;
    color: #034835;
    font-family: inherit;
    font-size: 1rem;
}

.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
    outline: none;
    border-color: #EB9708;
    box-shadow: 0 0 0 3px rgba(235, 151, 8, .25);
}

.button.button-gold {
    display: inline-block;
    width: 100%;
    background: #EB9708;
    color: #034835;
    font-weight: 700;
    padding: 14px 28px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background .2s ease;
}

.button.button-gold:hover {
    background: #d48607;
}

.contact-notice {
    padding: 14px 18px;
    border-radius: 8px;
    margin-bottom: 20px;
    line-height: 1.7;
}

.contact-notice-success {
    background: rgba(46, 204, 113, .15);
    border: 1px solid rgba(46, 204, 113, .6);
    color: #d5f5e3;
}

.contact-notice-error {
    background: rgba(231, 76, 60, .15);
    border: 1px solid rgba(231, 76, 60, .6);
    color: #fadbd8;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .contact-hero h1 {
        font-size: 1.7rem;
    }
}
/* About and blog archive pages */
.dimit-container {
	width: min(1120px, calc(100% - 40px));
	margin-inline: auto;
}

.dimit-page-hero {
	padding: 72px 0 56px;
	background: linear-gradient(135deg, #034835, #0b6048);
	color: #fff;
	text-align: center;
}

.dimit-page-hero h1 {
	margin: 8px 0 14px;
	color: #fff;
	font-size: clamp(2rem, 5vw, 3.4rem);
	line-height: 1.35;
}

.dimit-eyebrow {
	margin: 0;
	color: #eb9708;
	font-weight: 700;
}

.dimit-page-intro {
	max-width: 760px;
	margin: 0 auto;
	color: rgba(255, 255, 255, .86);
	font-size: 1.05rem;
	line-height: 2;
}

.dimit-content-section {
	padding: 56px 0;
}

.dimit-content-card {
	padding: clamp(22px, 5vw, 52px);
	border: 1px solid rgba(3, 72, 53, .1);
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 12px 36px rgba(0, 0, 0, .05);
}

.dimit-entry-content {
	line-height: 2;
}

.dimit-entry-content h2,
.dimit-entry-content h3 {
	color: #034835;
}

.dimit-featured-image {
	margin-bottom: 28px;
}

.dimit-featured-image img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 14px;
}

.dimit-about-cta {
	padding: 52px 20px;
	background: #f6f4eb;
	text-align: center;
}

.dimit-about-cta h2 {
	color: #034835;
}

.dimit-button {
	display: inline-block;
	padding: 13px 26px;
	border-radius: 8px;
	background: #eb9708;
	color: #034835;
	font-weight: 700;
	text-decoration: none;
}

.dimit-button:hover,
.dimit-button:focus {
	background: #d98700;
	color: #034835;
}

.dimit-post-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.dimit-post-card {
	overflow: hidden;
	border: 1px solid rgba(3, 72, 53, .12);
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 8px 24px rgba(0, 0, 0, .05);
}

.dimit-post-card-link {
	display: block;
	height: 100%;
	color: inherit;
	text-decoration: none;
}

.dimit-post-image {
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: #e9f0eb;
}

.dimit-post-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .25s ease;
}

.dimit-post-card-link:hover .dimit-post-image img {
	transform: scale(1.04);
}

.dimit-post-image-placeholder {
	display: grid;
	place-items: center;
	color: #034835;
	font-size: 1.5rem;
	font-weight: 700;
}

.dimit-post-card-body {
	padding: 20px;
}

.dimit-post-meta {
	margin: 0 0 8px;
	color: #777;
	font-size: .9rem;
}

.dimit-post-card h2 {
	margin: 0 0 10px;
	color: #034835;
	font-size: 1.25rem;
	line-height: 1.6;
}

.dimit-post-excerpt {
	color: #555;
	line-height: 1.9;
}

.dimit-read-more {
	color: #a96800;
	font-weight: 700;
}

.dimit-pagination {
	margin-top: 36px;
	text-align: center;
}

.dimit-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
}

.dimit-pagination a,
.dimit-pagination span {
	padding: 8px 13px;
	border: 1px solid rgba(3, 72, 53, .2);
	border-radius: 7px;
	text-decoration: none;
}

.dimit-pagination .current {
	background: #034835;
	color: #fff;
}

.dimit-empty-state {
	padding: 40px 20px;
	border-radius: 14px;
	background: #f6f4eb;
	text-align: center;
}

@media (max-width: 800px) {
	.dimit-post-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 560px) {
	.dimit-container {
		width: min(100% - 28px, 1120px);
	}

	.dimit-page-hero {
		padding: 50px 0 38px;
	}

	.dimit-post-grid {
		grid-template-columns: 1fr;
	}

	.dimit-content-section {
		padding: 32px 0;
	}
}
/* Contact Page Structured Layout */
.contact-main-wrap {
	max-width: 800px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 32px;
}

/* کادر دور اطلاعات تماس با حاشیه طلایی مشخص */
.dimit-contact-top-card {
	background: #ffffff !important;
	border: 3px solid #eb9708 !important;
	border-radius: 16px;
	padding: 35px !important;
	box-shadow: 0 10px 30px rgba(3, 72, 53, 0.15);
	text-align: center;
}

.dimit-contact-top-card h2 {
	margin: 0 0 6px;
	color: #034835;
	font-size: 1.5rem;
}

.dimit-top-card-desc {
	margin: 0 0 24px;
	color: #555;
	font-size: 0.95rem;
}

.dimit-contact-items-list {
	display: flex;
	flex-direction: column;
	gap: 14px;
	max-width: 580px;
	margin: 0 auto;
	text-align: right;
}

.dimit-contact-row-item {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 14px 18px;
	background: #fdfcf9;
	border: 1px solid rgba(3, 72, 53, 0.15);
	border-radius: 12px;
}

.dimit-box-icon {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 10px;
	flex-shrink: 0;
}

.whatsapp-icon {
	background: #e8f5e9;
	color: #2e7d32;
}

.email-icon {
	background: #fff8e1;
	color: #b78103;
}

.dimit-box-content {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.dimit-row-title {
	font-weight: 700;
	color: #034835;
	font-size: 0.95rem;
}

.dir-ltr {
	direction: ltr;
	unicode-bidi: embed;
	display: inline-block;
}

.dimit-phone-link, .dimit-email-link {
	color: #eb9708;
	font-weight: 700;
	font-size: 1.05rem;
	text-decoration: none;
}

.dimit-phone-link:hover, .dimit-email-link:hover {
	text-decoration: underline;
}

/* کادر فرم تماس در پایین */
.contact-form-section-wrap .contact-form-wrapper {
	background: #ffffff;
	border: 1px solid rgba(3, 72, 53, 0.15);
	border-radius: 16px;
	padding: 36px;
	box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.contact-form-wrapper h2 {
	margin-top: 0;
	color: #034835;
	font-size: 1.4rem;
}

.form-sec-desc {
	margin-bottom: 24px;
	color: #666;
	font-size: 0.95rem;
}

@media (max-width: 768px) {
	.dimit-contact-top-card,
	.contact-form-section-wrap .contact-form-wrapper {
		padding: 20px;
	}
	.dimit-box-content {
		flex-direction: column;
		align-items: flex-start;
		gap: 2px;
	}
}
/* مخفی کردن کامل کادر تله ضد اسپم (Honeypot) از دید کاربران */
.hp-wrap {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    position: absolute !important;
    left: -9999px !important;
}
/* اصلاح لایه سفید روی مقالات در دیمیت */
body.single .site-main,
body.blog .site-main,
.dimit-post-card,
.single-post-content {
    background: transparent !important;
    box-shadow: none !important;
}

/* اگر محتوا داخل کادر سبز تیره یا جعبه دلخواه است */
.single-post-box, .article-content-wrapper {
    background: #034835 !important; /* سبز اختصاصی دیمیت */
    color: #ffffff !important;
    border: 1px solid #EB9708; /* حاشیه طلایی دیمیت */
    border-radius: 12px;
    padding: 30px;
}
/* تنظیم دقیق کانتینر هدر برای چیدمان راست به چپ واقعی */
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    direction: rtl;
}

/* تراز کردن لیست منو به صورت راست‌چین */
.header-inner .nav-list {
    display: flex;
    list-style: none;
    gap: 25px;
    margin: 0;
    padding: 0;
}

/* معکوس کردن ترتیب آیتم‌های منو در پشته Flexbox */
.header-inner .nav-list > li {
    float: right; /* پشتیبان قدیمی */
}

/* رنگ و استایل لینک‌های منو */
.header-inner .nav-list li a {
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.header-inner .nav-list li a:hover {
    color: #EB9708 !important; /* طلایی دیمیت */
}
.post-card-image {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;      /* قاب مربعی همیشگی */
    overflow: hidden;
    background: #f2f2f2;
}

.post-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;         /* پرکردن قاب بدون کج‌شدگی */
    display: block;
    transition: transform 0.3s ease;
}

.post-card:hover .post-card-image img {
    transform: scale(1.05);
}
/* ریسپانسیو صفحه محصولات برای موبایل */
@media screen and (max-width: 768px) {
    /* تغییر ساختار فلکس یا گرید به تک‌ستونی عمودی */
    .product-single-container, 
    .product-detail-grid, 
    .single-product-content {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        padding: 15px !important;
    }
    
    /* بزرگ‌سازی تصویر محصول و متن برای خوانایی کامل در موبایل */
    .product-single-container img, 
    .single-product-image img {
        width: 100% !important;
        height: auto !important;
        max-width: 100% !important;
        margin-bottom: 20px !important;
    }

    .product-single-container .product-text,
    .single-product-description {
        width: 100% !important;
        font-size: 16px !important;
        line-height: 1.8 !important;
    }
}
@media (max-width: 768px) {
  article[class*="dimit_product"] {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
}

/* --- استایل قطعی بنر موفقیت و خطای فرم اختصاصی دیمیت --- */
.contact-notice {
    padding: 16px 20px !important;
    margin-bottom: 25px !important;
    border-radius: 8px !important;
    font-size: 16px !important;
    font-weight: bold !important;
    text-align: center !important;
    display: block !important;
}

.contact-notice.contact-notice-success {
    background-color: #034835 !important;
    color: #EB9708 !important; /* طلایی برند دیمیت */
    border: 2px solid #EB9708 !important;
}

.contact-notice.contact-notice-error {
    background-color: #5c1d1d !important;
    color: #ffcccc !important;
    border: 2px solid #ff4d4d !important;
}

