/* ==========================================================================
   IMENKV Modern — main stylesheet (RTL / Persian)
   Palette: ink #0E1116 · graphite #161B22 · steel #2A313C · amber #F5A524
   ========================================================================== */

:root {
	--ink: #0e1116;
	--graphite: #161b22;
	--steel: #2a313c;
	--steel-2: #39424f;
	--amber: #f5a524;
	--amber-2: #ffc65c;
	--amber-dark: #d98e0b;
	--paper: #f6f6f4;
	--paper-2: #ebebe7;
	--white: #ffffff;
	--muted: #6b7482;
	--muted-2: #8b95a5;
	--line: #e4e4de;
	--radius: 18px;
	--radius-sm: 12px;
	--shadow: 0 12px 40px rgba(14, 17, 22, 0.10);
	--shadow-sm: 0 6px 18px rgba(14, 17, 22, 0.08);
	--font: "Vazirmatn", Tahoma, "Segoe UI", sans-serif;
	--container: 1200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.9;
	color: var(--ink);
	background: var(--paper);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s, background .2s, border-color .2s, transform .2s; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { line-height: 1.5; margin: 0 0 .5em; font-weight: 800; }
p { margin: 0 0 1em; }

.container { max-width: var(--container); margin-inline: auto; padding-inline: 22px; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link { position: absolute; right: -9999px; }
.skip-link:focus { right: 16px; top: 16px; z-index: 999; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }

.accent { color: var(--amber-dark); }
.eyebrow {
	display: inline-block;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .12em;
	color: var(--amber-dark);
	background: rgba(245, 165, 36, .12);
	padding: 6px 14px;
	border-radius: 999px;
	margin-bottom: 14px;
}

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 13px 26px;
	border-radius: 999px;
	font-family: var(--font);
	font-weight: 700;
	font-size: 15px;
	border: 2px solid transparent;
	cursor: pointer;
	transition: all .25s ease;
	white-space: nowrap;
}
.btn svg { flex: none; }
.btn-amber { background: var(--amber); color: var(--ink); box-shadow: 0 8px 24px rgba(245, 165, 36, .35); }
.btn-amber:hover { background: var(--amber-2); transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--steel); transform: translateY(-2px); }
.btn-line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-ghost { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .45); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .18); border-color: #fff; }
.btn-ghost-dark { background: transparent; color: var(--ink); border-color: rgba(14, 17, 22, .35); }
.btn-ghost-dark:hover { border-color: var(--ink); }
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-sm { padding: 10px 18px; font-size: 13.5px; }
.btn-block { display: flex; width: 100%; }

/* ---------- Topbar ---------- */
.topbar {
	background: var(--ink);
	color: #cfd6df;
	font-size: 13.5px;
}
.topbar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding-block: 9px;
}
.topbar-items { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar-item { display: inline-flex; align-items: center; gap: 8px; }
.topbar-item svg { color: var(--amber); width: 16px; height: 16px; }
.topbar-tel { display: inline-flex; align-items: center; gap: 8px; color: var(--amber); font-weight: 700; }
.topbar-tel:hover { color: var(--amber-2); }

/* ---------- Header ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255, 255, 255, .92);
	backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--line);
	transition: box-shadow .25s;
}
.site-header.is-stuck { box-shadow: var(--shadow-sm); }
.header-inner {
	display: flex;
	align-items: center;
	gap: 28px;
	padding-block: 14px;
}
.site-branding img, .site-branding .custom-logo { max-height: 64px; max-width: 155px; width: auto; object-fit: contain; }
.site-branding .brand-fallback img { max-height: 72px; max-width: 150px; }
.main-nav { flex: 1; }
.nav-list { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.nav-list a {
	display: block;
	padding: 10px 14px;
	border-radius: 10px;
	font-weight: 600;
	font-size: 15px;
	color: var(--steel);
}
.nav-list a:hover, .nav-list .current-menu-item > a { color: var(--ink); background: rgba(245, 165, 36, .14); }
.nav-list li { position: relative; }
.nav-list .sub-menu {
	position: absolute;
	top: 100%;
	right: 0;
	min-width: 220px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	box-shadow: var(--shadow);
	padding: 8px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: all .22s;
	z-index: 50;
}
.nav-list li:hover > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.btn-call { padding: 10px 18px; }
.btn-call-text { display: flex; flex-direction: column; line-height: 1.35; text-align: right; }
.btn-call-text small { font-size: 11px; font-weight: 600; opacity: .8; }
.btn-call-text strong { font-size: 15px; letter-spacing: .02em; }

.nav-toggle {
	display: none;
	flex-direction: column;
	gap: 5px;
	background: none;
	border: 0;
	padding: 8px;
	cursor: pointer;
}
.nav-toggle-bar { width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: .25s; }

/* Mobile menu */
.mobile-menu {
	position: fixed;
	inset: 0;
	background: rgba(14, 17, 22, .55);
	z-index: 200;
	backdrop-filter: blur(3px);
}
.mobile-menu-panel {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: min(340px, 88vw);
	background: #fff;
	padding: 70px 24px 24px;
	overflow-y: auto;
	display: flex;
	flex-direction: column;
	gap: 18px;
	animation: slideIn .25s ease;
}
@keyframes slideIn { from { transform: translateX(100%); } to { transform: translateX(0); } }
.mobile-menu-close {
	position: absolute;
	top: 16px;
	left: 16px;
	background: var(--paper);
	border: 0;
	width: 40px; height: 40px;
	border-radius: 50%;
	font-size: 18px;
	cursor: pointer;
}
.mobile-nav-list { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav-list a { display: block; padding: 12px 14px; border-radius: 10px; font-weight: 700; }
.mobile-nav-list a:hover { background: var(--paper); }
.mobile-nav-list .sub-menu { padding-right: 18px; }

/* ---------- Hero ---------- */
.hero { background: var(--ink); }
.hero-slider { position: relative; overflow: hidden; min-height: 560px; }
.hero-slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity .8s ease;
	display: flex;
	align-items: center;
}
.hero-slide.is-active { position: relative; opacity: 1; visibility: visible; }
.hero-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(14, 17, 22, .15) 0%, rgba(14, 17, 22, .55) 45%, rgba(14, 17, 22, .88) 100%);
}
.hero-content {
	position: relative;
	z-index: 2;
	padding-block: 90px;
	max-width: var(--container);
}
.hero-eyebrow {
	color: var(--amber);
	font-weight: 700;
	letter-spacing: .08em;
	margin-bottom: 10px;
}
.hero-title {
	color: #fff;
	font-size: clamp(30px, 5vw, 54px);
	margin-bottom: 14px;
	text-shadow: 0 4px 30px rgba(0, 0, 0, .35);
}
.hero-sub {
	color: #d7dde5;
	font-size: clamp(15px, 2vw, 19px);
	max-width: 560px;
	margin-bottom: 28px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.hero-badges { display: flex; gap: 26px; flex-wrap: wrap; color: #e8ecf1; font-size: 14.5px; font-weight: 600; }
.hero-badges li { display: inline-flex; align-items: center; gap: 8px; }
.hero-badges svg { color: var(--amber); }

.hero-dots {
	position: absolute;
	bottom: 26px;
	right: 50%;
	transform: translateX(50%);
	display: flex;
	gap: 10px;
	z-index: 5;
}
.hero-dot {
	width: 10px; height: 10px;
	border-radius: 999px;
	border: 0;
	background: rgba(255, 255, 255, .35);
	cursor: pointer;
	transition: .25s;
	padding: 0;
}
.hero-dot.is-active { background: var(--amber); width: 28px; }
.hero-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 5;
	width: 48px; height: 48px;
	border-radius: 50%;
	border: 0;
	background: rgba(255, 255, 255, .12);
	color: #fff;
	font-size: 26px;
	cursor: pointer;
	backdrop-filter: blur(4px);
	transition: .25s;
}
.hero-nav:hover { background: var(--amber); color: var(--ink); }
.hero-prev { right: 24px; }
.hero-next { left: 24px; }

/* ---------- Trust bar ---------- */
.trust-bar {
	background: var(--amber);
	color: var(--ink);
}
.trust-bar-inner {
	display: flex;
	justify-content: space-between;
	gap: 18px;
	padding-block: 18px;
	flex-wrap: wrap;
}
.trust-item {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-weight: 800;
	font-size: 15px;
}
.trust-icon {
	display: inline-flex;
	width: 38px; height: 38px;
	border-radius: 50%;
	background: rgba(14, 17, 22, .1);
	align-items: center;
	justify-content: center;
}

/* ---------- Sections ---------- */
.section { padding-block: 84px; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section-title { font-size: clamp(24px, 3.4vw, 34px); }
.section-sub { color: var(--muted); font-size: 16px; margin: 0; }
.section-cta { text-align: center; margin-top: 42px; }

/* ---------- Categories ---------- */
.category-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 22px;
}
.category-card {
	background: #fff;
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow-sm);
	border: 1px solid var(--line);
	display: flex;
	flex-direction: column;
	transition: transform .25s, box-shadow .25s;
}
.category-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.category-card img {
	aspect-ratio: 1 / 1;
	object-fit: cover;
	width: 100%;
	transition: transform .45s ease;
}
.category-card:hover img { transform: scale(1.05); }
.category-body { padding: 18px 18px 20px; }
.category-body h3 { font-size: 17.5px; margin-bottom: 4px; }
.category-body p { color: var(--muted); font-size: 13.5px; margin-bottom: 10px; line-height: 1.7; }
.category-more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--amber-dark);
	font-weight: 800;
	font-size: 13.5px;
}
.category-card:hover .category-more { color: var(--ink); }

/* ---------- Products ---------- */
.products { background: var(--white); }
.product-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 22px;
}
.product-card {
	background: var(--paper);
	border-radius: var(--radius);
	overflow: hidden;
	border: 1px solid var(--line);
	display: flex;
	flex-direction: column;
	transition: transform .25s, box-shadow .25s;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.product-thumb { display: block; overflow: hidden; aspect-ratio: 1 / 1; background: var(--paper-2); }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.product-card:hover .product-thumb img { transform: scale(1.06); }
.product-body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product-title { font-size: 15.5px; line-height: 1.7; margin: 0; }
.product-title a:hover { color: var(--amber-dark); }
.product-sku { display: inline-flex; align-self: flex-start; color: var(--muted); background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 2px 9px; font-size: 11px; font-weight: 700; }
.product-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.product-price { font-weight: 800; font-size: 16px; color: var(--ink); }
.product-price small { color: var(--muted); font-weight: 600; font-size: 12px; }
.product-stars { color: var(--amber); letter-spacing: 2px; font-size: 13px; }
.product-actions { display: flex; gap: 8px; margin-top: auto; }
.product-actions .btn { flex: 1; padding-inline: 10px; }

/* ---------- About ---------- */
.about-grid {
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	gap: 56px;
	align-items: center;
}
.about-media { position: relative; }
.about-media > img:first-child {
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	aspect-ratio: 16 / 10;
	object-fit: cover;
	width: 100%;
}
.about-media-sub {
	position: absolute;
	bottom: -36px;
	left: -24px;
	width: 46%;
	border-radius: var(--radius-sm);
	border: 5px solid var(--paper);
	box-shadow: var(--shadow);
	aspect-ratio: 1 / 1;
	object-fit: cover;
}
.about-exp-badge {
	position: absolute;
	top: -18px;
	right: -12px;
	background: var(--ink);
	color: #fff;
	border-radius: var(--radius-sm);
	padding: 16px 22px;
	display: flex;
	flex-direction: column;
	align-items: center;
	box-shadow: var(--shadow);
	border: 2px solid var(--amber);
}
.about-exp-badge strong { color: var(--amber); font-size: 30px; line-height: 1.2; }
.about-exp-badge span { font-size: 12px; }
.about-body .section-title { margin-bottom: 16px; }
.about-body > p { color: var(--muted); }
.about-points { display: grid; gap: 10px; margin: 18px 0 28px; }
.about-points li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; }
.about-points svg { color: var(--amber-dark); flex: none; margin-top: 6px; }
.stats-row {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 12px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 20px;
}
.stat { text-align: center; }
.stat strong { display: block; font-size: 26px; color: var(--ink); }
.stat span { font-size: 12.5px; color: var(--muted); }

/* ---------- Features ---------- */
.features { background: var(--ink); color: #fff; }
.features .section-sub { color: var(--muted-2); }
.features-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
}
.feature-card {
	background: var(--graphite);
	border: 1px solid rgba(255, 255, 255, .07);
	border-radius: var(--radius);
	padding: 30px 26px;
	transition: transform .25s, border-color .25s;
}
.feature-card:hover { transform: translateY(-5px); border-color: rgba(245, 165, 36, .45); }
.feature-icon {
	display: inline-flex;
	width: 54px; height: 54px;
	border-radius: 16px;
	background: rgba(245, 165, 36, .14);
	color: var(--amber);
	align-items: center;
	justify-content: center;
	margin-bottom: 16px;
}
.feature-icon svg { width: 26px; height: 26px; }
.feature-card h3 { font-size: 17px; }
.feature-card p { color: var(--muted-2); font-size: 14px; margin: 0; line-height: 1.9; }

/* ---------- Gallery ---------- */
.gallery-strip {
	display: flex;
	gap: 18px;
	overflow-x: auto;
	padding: 8px 22px 24px;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
}
.gallery-strip::-webkit-scrollbar { height: 8px; }
.gallery-strip::-webkit-scrollbar-thumb { background: var(--steel-2); border-radius: 99px; }
.gallery-item {
	flex: 0 0 320px;
	scroll-snap-align: start;
	border-radius: var(--radius);
	overflow: hidden;
	position: relative;
	box-shadow: var(--shadow-sm);
	background: var(--ink);
}
.gallery-item img {
	aspect-ratio: 4 / 3;
	object-fit: cover;
	width: 100%;
	transition: transform .4s;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item figcaption {
	position: absolute;
	inset-inline: 0;
	bottom: 0;
	padding: 30px 16px 12px;
	background: linear-gradient(transparent, rgba(14, 17, 22, .85));
	color: #fff;
	font-size: 13.5px;
	font-weight: 700;
}

/* ---------- FAQ ---------- */
.faq { background: var(--white); }
.faq-grid {
	display: grid;
	grid-template-columns: 1fr 1.4fr;
	gap: 56px;
	align-items: start;
}
.faq-intro p { color: var(--muted); }
.faq-list { display: grid; gap: 14px; }
.faq-item {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	padding: 0 22px;
	transition: border-color .25s;
}
.faq-item[open] { border-color: var(--amber); background: #fff; box-shadow: var(--shadow-sm); }
.faq-item summary {
	cursor: pointer;
	font-weight: 800;
	padding: 18px 0;
	list-style: none;
	position: relative;
	padding-left: 34px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
	content: "+";
	position: absolute;
	left: 4px;
	top: 50%;
	transform: translateY(-50%);
	width: 24px; height: 24px;
	border-radius: 50%;
	background: var(--amber);
	color: var(--ink);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	font-weight: 700;
	transition: transform .25s;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item p { color: var(--muted); font-size: 14.5px; padding-bottom: 18px; margin: 0; }

/* ---------- Blog ---------- */
.blog-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
}
.blog-card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow-sm);
	display: flex;
	flex-direction: column;
	transition: transform .25s, box-shadow .25s;
}
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.blog-thumb { display: block; overflow: hidden; aspect-ratio: 16 / 9; }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.blog-card:hover .blog-thumb img { transform: scale(1.05); }
.blog-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.blog-body time { color: var(--muted-2); font-size: 12.5px; }
.blog-body h3 { font-size: 16.5px; margin: 0; }
.blog-body h3 a:hover { color: var(--amber-dark); }
.blog-body p { color: var(--muted); font-size: 14px; margin: 0; flex: 1; }
.read-more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--amber-dark);
	font-weight: 800;
	font-size: 13.5px;
}
.read-more:hover { color: var(--ink); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--amber); }
.cta-band-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding-block: 44px;
	flex-wrap: wrap;
}
.cta-band-text h2 { font-size: clamp(20px, 2.6vw, 28px); margin-bottom: 6px; }
.cta-band-text p { margin: 0; opacity: .85; }
.cta-band-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer {
	background: var(--ink);
	color: #aeb7c2;
	padding-top: 70px;
}
.footer-grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
	gap: 40px;
	padding-bottom: 50px;
}
.footer-logo { margin-bottom: 18px; max-width: 260px; }
.footer-about p { font-size: 14px; line-height: 2; }
.footer-licence { color: var(--amber); font-weight: 700; font-size: 13px !important; }
.footer-col h3 {
	color: #fff;
	font-size: 16px;
	margin-bottom: 18px;
	position: relative;
	padding-bottom: 10px;
}
.footer-col h3::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: 0;
	width: 38px;
	height: 3px;
	border-radius: 3px;
	background: var(--amber);
}
.footer-links { display: grid; gap: 10px; }
.footer-links a { font-size: 14px; transition: .2s; }
.footer-links a:hover, .footer-contact a:hover { color: var(--amber); padding-right: 5px; }
.footer-contact { display: grid; gap: 14px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.9; }
.footer-contact svg { color: var(--amber); flex: none; margin-top: 5px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding-block: 20px; font-size: 13px; }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer-bottom p { margin: 0; }
.footer-credit { color: var(--muted-2); }

/* ---------- Sticky call (mobile) ---------- */
.sticky-call {
	display: none;
	position: fixed;
	bottom: 18px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 90;
	background: var(--amber);
	color: var(--ink);
	border-radius: 999px;
	padding: 13px 28px;
	font-weight: 800;
	box-shadow: 0 10px 30px rgba(245, 165, 36, .45);
	align-items: center;
	gap: 10px;
}

/* ---------- Generic page / blog layouts ---------- */
.card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow-sm);
	padding: 30px;
	margin-bottom: 26px;
}
.entry-title { font-size: clamp(22px, 3vw, 30px); }
.entry-meta { color: var(--muted-2); font-size: 13.5px; display: flex; gap: 10px; align-items: center; margin-bottom: 18px; }
.entry-thumb { margin: 0 0 22px; border-radius: var(--radius-sm); overflow: hidden; }
.entry-thumb img { width: 100%; }
.entry-content :where(h2, h3) { margin-top: 1.4em; }
.entry-content ul { list-style: disc; padding-right: 1.4em; margin-bottom: 1em; }
.entry-content ol { list-style: decimal; padding-right: 1.4em; margin-bottom: 1em; }
.entry-content blockquote {
	border-right: 4px solid var(--amber);
	background: var(--paper);
	margin: 1.5em 0;
	padding: 14px 22px;
	border-radius: var(--radius-sm);
	color: var(--steel);
}
.entry-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.entry-tags a {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: 999px;
	padding: 5px 14px;
	font-size: 12.5px;
}
.content-with-sidebar {
	display: grid;
	grid-template-columns: 1fr 320px;
	gap: 34px;
	align-items: start;
}
.post-list .card.entry { display: grid; grid-template-columns: 240px 1fr; gap: 24px; align-items: center; }
.post-list .card.entry .entry-thumb { margin: 0; aspect-ratio: 1 / 1; }
.post-list .card.entry .entry-thumb img { height: 100%; object-fit: cover; }
.single-wrap .card.entry, .page-wrap .card.entry { display: block; }
.entry-body { display: flex; flex-direction: column; gap: 8px; }
.page-links { display: flex; gap: 8px; margin-top: 20px; }
.page-links a, .page-links > span {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: 8px;
	padding: 6px 12px;
}
.post-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; }
.post-nav a { font-weight: 700; font-size: 14px; }
.post-nav a:hover { color: var(--amber-dark); }
.pagination, .page-links { justify-content: center; }
.pagination a, .pagination span, .nav-links a, .nav-links span {
	display: inline-flex;
	align-items: center;
	padding: 8px 16px;
	border: 1px solid var(--line);
	border-radius: 10px;
	background: #fff;
	margin: 0 3px;
	font-weight: 700;
	font-size: 14px;
}
.nav-links .current { background: var(--ink); color: #fff; border-color: var(--ink); }

.widget-title { font-size: 16px; margin-bottom: 14px; }
.widget p { font-size: 14px; color: var(--muted); }
.search-form { display: flex; gap: 8px; }
.search-field {
	flex: 1;
	border: 1px solid var(--line);
	border-radius: 10px;
	padding: 10px 14px;
	font-family: var(--font);
	font-size: 14px;
	background: var(--paper);
}
.search-field:focus { outline: 2px solid var(--amber); border-color: transparent; }

.error-404 { text-align: center; padding-block: 110px; }
.error-code { font-size: 110px; font-weight: 900; color: var(--amber); line-height: 1; margin-bottom: 10px; }
.error-404 .search-form { max-width: 420px; margin: 24px auto; }

.comments .comment-list { margin-bottom: 24px; }
.comments .comment-list .comment { margin-bottom: 18px; border-bottom: 1px dashed var(--line); padding-bottom: 18px; }
.comment-respond input[type="text"], .comment-respond input[type="email"], .comment-respond input[type="url"], .comment-respond textarea {
	width: 100%;
	border: 1px solid var(--line);
	border-radius: 10px;
	padding: 12px 14px;
	font-family: var(--font);
	background: var(--paper);
	margin-bottom: 12px;
}

/* ---------- WooCommerce ---------- */
.woo-content ul.products {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 22px;
	padding: 0;
	margin: 0;
}
.woo-content ul.products li.product {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	margin: 0;
	padding: 0 0 18px;
	text-align: center;
	transition: transform .25s, box-shadow .25s;
}
.woo-content ul.products li.product:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.woo-content ul.products li.product img { width: 100%; aspect-ratio: 1/1; object-fit: cover; margin-bottom: 14px; }
.woo-content ul.products li.product .woocommerce-loop-product__title { font-size: 15.5px; padding-inline: 14px; }
.woo-content ul.products li.product .price { color: var(--ink); font-weight: 800; }
.woo-content .woocommerce-loop-product__link { display: block; }
.woocommerce span.onsale {
	background: var(--amber);
	color: var(--ink);
	border-radius: 999px;
	font-weight: 800;
	padding: 4px 14px;
	border: 0;
}
.woocommerce button.button.alt, .woocommerce a.button.alt, .woocommerce #respond input#submit.alt {
	background: var(--amber);
	color: var(--ink);
	border-radius: 999px;
	font-weight: 800;
	font-family: var(--font);
	border: 0;
}
.woocommerce button.button, .woocommerce a.button {
	background: var(--ink);
	color: #fff;
	border-radius: 999px;
	font-family: var(--font);
	border: 0;
}
.woocommerce-message, .woocommerce-info {
	background: var(--graphite);
	color: #fff;
	border-top-color: var(--amber);
}

/* ---------- Animations ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.category-grid, .product-grid, .woo-content ul.products { grid-template-columns: repeat(3, 1fr); }
	.features-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.content-with-sidebar { grid-template-columns: 1fr; }
}

@media (max-width: 1500px) {
	.header-inner { gap: 16px; }
	.nav-list { gap: 2px; }
	.nav-list a { padding: 9px 9px; font-size: 14px; }
	.btn-call { padding: 9px 14px; }
}

@media (max-width: 1180px) {
	.site-branding .brand-fallback img, .site-branding .custom-logo { max-height: 56px; max-width: 125px; }
	.main-nav { display: none; }
	.nav-toggle { display: flex; }
}

@media (max-width: 900px) {
	.about-grid, .faq-grid { grid-template-columns: 1fr; }
	.about-media-sub { position: static; width: 100%; margin-top: 16px; }
	.about-exp-badge { top: 12px; right: 12px; }
	.btn-call-text small { display: none; }
}

@media (max-width: 640px) {
	body { font-size: 15px; }
	.hide-sm { display: none !important; }
	.category-grid, .product-grid, .features-grid, .blog-grid, .woo-content ul.products { grid-template-columns: 1fr 1fr; }
	.product-actions { flex-direction: column; }
	.hero-slider { min-height: 480px; }
	.hero-content { padding-block: 64px; }
	.hero-nav { display: none; }
	.stats-row { grid-template-columns: repeat(2, 1fr); }
	.post-list .card.entry { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr; gap: 30px; }
	.sticky-call { display: inline-flex; }
	.section { padding-block: 56px; }
	.cta-band-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 420px) {
	.category-grid, .product-grid, .blog-grid, .features-grid, .woo-content ul.products { grid-template-columns: 1fr; }
	.trust-bar-inner { justify-content: flex-start; gap: 12px; }
	.trust-item { font-size: 13px; }
}

/* ==========================================================================
   v1.1 — Header icons, kmi-style category tiles, Stories, Blog index,
          WooCommerce, Elementor
   ========================================================================== */

/* ---------- Header icon buttons / cart ---------- */
.header-icon-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px; height: 44px;
	border-radius: 12px;
	border: 1px solid var(--line);
	background: #fff;
	color: var(--ink);
	transition: border-color .2s, background .2s, transform .2s;
}
.header-icon-btn:hover { border-color: var(--ink); transform: translateY(-1px); }
.header-icon-btn svg { width: 21px; height: 21px; }
.cart-count {
	position: absolute; top: -6px; left: -6px;
	min-width: 20px; height: 20px; padding: 0 5px;
	border-radius: 999px;
	background: var(--amber); color: var(--ink);
	font-size: 11.5px; font-weight: 800; line-height: 20px; text-align: center;
	box-shadow: 0 0 0 2px #fff;
}
.cart-count.is-empty { display: none; }
.nav-list .caret { font-size: 11px; opacity: .6; margin-right: 2px; }
.mobile-nav-list .menu-item-has-children > a { display: flex; justify-content: space-between; }
.mobile-nav-list .sub-menu { display: none; }
.mobile-nav-list .is-open > .sub-menu { display: block; }

/* ---------- Category tiles (line-art pictograms, kmi.ir style) ---------- */
.categories { background: var(--paper); }
.cat-tiles {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 22px;
}
.cat-tile {
	position: relative;
	flex: 0 0 calc(20% - 17.6px);
	min-width: 190px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 26px 18px 22px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	box-shadow: var(--shadow-sm);
	transition: transform .25s, box-shadow .25s, border-color .25s;
	overflow: hidden;
}
.cat-tile::after {
	content: "";
	position: absolute; inset: auto 0 0 0; height: 4px;
	background: linear-gradient(90deg, var(--amber), var(--amber-2));
	transform: scaleX(0); transform-origin: right;
	transition: transform .35s ease;
}
.cat-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(245, 165, 36, .55); }
.cat-tile:hover::after { transform: scaleX(1); }
.cat-code {
	position: absolute; top: 12px; right: 12px;
	font-size: 11px; font-weight: 800; letter-spacing: .02em;
	color: var(--muted); background: var(--paper);
	border: 1px solid var(--line);
	padding: 2px 9px; border-radius: 999px;
}
.cat-art {
	width: 100%;
	max-width: 176px;
	aspect-ratio: 4 / 3;
	display: flex; align-items: center; justify-content: center;
	color: var(--ink);
	margin: 6px 0 12px;
	transition: transform .35s ease;
}
.cat-art svg { width: 100%; height: 100%; overflow: visible; }
.cat-tile:hover .cat-art { transform: scale(1.06) translateY(-2px); }
.cat-name { font-size: 16.5px; font-weight: 800; line-height: 1.6; color: var(--ink); }
.cat-sub { font-size: 12.5px; color: var(--muted); line-height: 1.7; margin-top: 4px; min-height: 2.6em; }
.cat-go {
	margin-top: 12px;
	display: inline-flex; align-items: center; gap: 4px;
	font-size: 12.5px; font-weight: 800; color: var(--amber-dark);
	opacity: 0; transform: translateY(6px);
	transition: opacity .25s, transform .25s;
}
.cat-go svg { transform: rotate(180deg); width: 14px; height: 14px; }
.cat-tile:hover .cat-go { opacity: 1; transform: none; }

/* ---------- Stories strip ---------- */
.stories { padding: 34px 0 6px; background: var(--paper); }
.stories-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.stories-title { font-size: 17px; margin: 0; display: flex; align-items: center; gap: 8px; }
.stories-dot { width: 9px; height: 9px; border-radius: 50%; background: #e0343c; box-shadow: 0 0 0 4px rgba(224, 52, 60, .18); animation: pulse 1.6s infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 3px rgba(224, 52, 60, .18); } 50% { box-shadow: 0 0 0 7px rgba(224, 52, 60, .06); } }
.stories-hint { font-size: 12.5px; color: var(--muted-2); }
.stories-strip {
	display: flex; gap: 18px;
	overflow-x: auto; overscroll-behavior-x: contain;
	padding: 6px 4px 14px;
	scroll-snap-type: x proximity;
	scrollbar-width: none;
}
.stories-strip::-webkit-scrollbar { display: none; }
.story-bubble {
	flex: 0 0 auto; width: 92px;
	background: none; border: 0; padding: 0; cursor: pointer;
	font: inherit; color: var(--ink);
	display: flex; flex-direction: column; align-items: center; gap: 8px;
	scroll-snap-align: start;
}
.story-ring {
	position: relative;
	width: 84px; height: 84px; border-radius: 50%; padding: 3px;
	background: conic-gradient(from 210deg, #f5a524, #ffd37a, #e0343c, #f5a524);
	transition: transform .2s;
}
.story-bubble:hover .story-ring, .story-bubble:focus-visible .story-ring { transform: scale(1.05); }
.story-bubble.is-seen .story-ring { background: var(--line); }
.story-avatar {
	display: block; width: 100%; height: 100%; border-radius: 50%;
	border: 3px solid var(--paper);
	background: var(--paper-2) center/cover no-repeat;
}
.story-badge {
	position: absolute; bottom: 2px; left: 2px;
	width: 24px; height: 24px; border-radius: 50%;
	background: var(--ink); color: #fff;
	display: flex; align-items: center; justify-content: center;
	border: 2px solid var(--paper);
}
.story-badge svg { width: 11px; height: 11px; margin-left: -1px; }
.story-label { font-size: 12.5px; font-weight: 700; line-height: 1.4; max-width: 92px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- Story viewer ---------- */
.story-viewer { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; }
.story-viewer[hidden] { display: none; }
.story-backdrop { position: absolute; inset: 0; background: rgba(8, 10, 14, .94); backdrop-filter: blur(6px); }
.story-card {
	position: relative; z-index: 2;
	width: min(430px, 100vw);
	height: min(92vh, 780px);
	aspect-ratio: 9 / 16;
	background: #0b0d11;
	border-radius: 22px;
	overflow: hidden;
	display: flex; flex-direction: column;
	box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
	animation: storyIn .28s ease;
	color: #fff;
}
@keyframes storyIn { from { transform: scale(.94); opacity: 0; } to { transform: none; opacity: 1; } }
.story-progress { position: absolute; top: 10px; right: 10px; left: 10px; z-index: 5; display: flex; gap: 4px; direction: rtl; }
.story-progress span { flex: 1; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .3); overflow: hidden; }
.story-progress span i { display: block; height: 100%; width: 100%; background: #fff; transform: scaleX(0); transform-origin: right; }
.story-progress span.is-done i { transform: scaleX(1); }
.story-top {
	position: absolute; top: 22px; right: 12px; left: 12px; z-index: 5;
	display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.story-user { display: flex; align-items: center; gap: 10px; min-width: 0; }
.story-user-avatar { width: 38px; height: 38px; border-radius: 50%; flex: none; background: var(--paper-2) center/cover no-repeat; border: 2px solid rgba(255, 255, 255, .8); }
.story-user-meta { display: flex; flex-direction: column; line-height: 1.35; min-width: 0; }
.story-user-meta strong { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: 0 1px 6px rgba(0, 0, 0, .6); }
.story-user-meta small { font-size: 11.5px; opacity: .8; }
.story-controls { display: flex; gap: 4px; }
.story-ctl {
	width: 38px; height: 38px; border-radius: 50%; border: 0; cursor: pointer;
	background: rgba(0, 0, 0, .35); color: #fff;
	display: inline-flex; align-items: center; justify-content: center;
}
.story-ctl:hover { background: rgba(0, 0, 0, .6); }
.story-ctl[hidden] { display: none; }
.story-ctl .ic-off { display: none; }
.story-ctl.is-off .ic-on { display: none; }
.story-ctl.is-off .ic-off { display: inline-flex; }
.story-stage { position: relative; flex: 1; overflow: hidden; background: #000; }
.story-media-bg { position: absolute; inset: -30px; background: center/cover no-repeat; filter: blur(28px) brightness(.55); transform: scale(1.15); }
.story-media { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.story-media img, .story-media video { width: 100%; height: 100%; object-fit: contain; display: block; }
.story-media.is-cover img, .story-media.is-cover video { object-fit: cover; }
.story-stage::before {
	content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
	background: linear-gradient(180deg, rgba(0, 0, 0, .55), transparent 22%, transparent 70%, rgba(0, 0, 0, .7));
}
.story-tap { position: absolute; top: 0; bottom: 0; width: 38%; z-index: 3; cursor: pointer; }
.story-tap-next { left: 0; }
.story-tap-prev { right: 0; }
.story-loader { position: absolute; inset: 0; z-index: 4; display: none; align-items: center; justify-content: center; }
.story-loader.is-on { display: flex; }
.story-loader span { width: 40px; height: 40px; border: 3px solid rgba(255, 255, 255, .3); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.story-bottom {
	position: absolute; right: 0; left: 0; bottom: 0; z-index: 5;
	padding: 18px 16px 20px;
	display: flex; flex-direction: column; gap: 12px; align-items: center; text-align: center;
	pointer-events: none;
}
.story-bottom > * { pointer-events: auto; }
.story-caption { margin: 0; font-size: 15px; font-weight: 700; line-height: 1.7; text-shadow: 0 2px 10px rgba(0, 0, 0, .7); }
.story-caption:empty { display: none; }
.story-cta { min-width: 60%; justify-content: center; box-shadow: 0 10px 28px rgba(0, 0, 0, .35); }
.story-cta[hidden] { display: none; }
.story-nav {
	position: relative; z-index: 3;
	width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
	background: rgba(255, 255, 255, .12); color: #fff;
	display: inline-flex; align-items: center; justify-content: center;
	margin: 0 18px;
}
.story-nav:hover { background: rgba(255, 255, 255, .25); }
.story-nav-prev svg { transform: rotate(180deg); }
.story-nav[disabled] { opacity: .25; cursor: default; }
body.story-open { overflow: hidden; }
@media (max-width: 640px) {
	.story-card { width: 100vw; height: 100dvh; border-radius: 0; aspect-ratio: auto; }
	.story-nav { display: none; }
	.story-ring { width: 74px; height: 74px; }
	.story-bubble { width: 80px; }
}

/* ---------- Blog index / archive ---------- */
.blog-hero { background: var(--white); border-bottom: 1px solid var(--line); padding: 54px 0 34px; text-align: center; }
.blog-hero .section-title { margin-bottom: 8px; }
.blog-hero .section-sub { max-width: 640px; margin: 0 auto 16px; }
.blog-hero-search { max-width: 520px; margin: 18px auto 0; }
.cat-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 18px; }
.chip {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 7px 14px; border-radius: 999px;
	background: var(--paper); border: 1px solid var(--line);
	font-size: 13.5px; font-weight: 700; color: var(--ink);
}
.chip small { font-size: 11px; color: var(--muted-2); font-weight: 700; }
.chip:hover, .chip.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip.is-active small, .chip:hover small { color: rgba(255, 255, 255, .7); }
.blog-index { padding-top: 48px; }
.blog-featured {
	display: grid; grid-template-columns: 1.15fr 1fr; gap: 0;
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
	overflow: hidden; box-shadow: var(--shadow-sm);
	margin-bottom: 32px;
}
.blog-featured-media { display: block; min-height: 320px; }
.blog-featured-media img { width: 100%; height: 100%; object-fit: cover; }
.blog-featured-body { padding: 38px 36px; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.blog-featured-body h2 { font-size: clamp(20px, 2.4vw, 27px); margin: 0; }
.blog-featured-body h2 a:hover { color: var(--amber-dark); }
.blog-featured-body p { color: var(--muted); margin: 0 0 10px; }
.blog-featured-body .btn { align-self: flex-start; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-grid .blog-card { display: flex; flex-direction: column; }
.blog-thumb { position: relative; }
.blog-cat {
	position: absolute; top: 12px; right: 12px;
	background: var(--amber); color: var(--ink);
	font-size: 11.5px; font-weight: 800; padding: 3px 10px; border-radius: 999px;
}
.blog-meta { display: flex; align-items: center; gap: 8px; color: var(--muted-2); font-size: 12.5px; }
.blog-meta svg { width: 14px; height: 14px; vertical-align: -3px; }
.blog-card.is-demo { opacity: .95; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.crumbs a:hover { color: var(--amber-dark); }
.related-posts { margin-top: 48px; }
.related-title { font-size: 22px; margin-bottom: 20px; }

/* numbered pagination */
.imenkv-pagination, .woocommerce-pagination { margin-top: 42px; }
.imenkv-pagination .nav-links, .woocommerce-pagination ul.page-numbers {
	display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; list-style: none; margin: 0; padding: 0; border: 0;
}
.imenkv-pagination .page-numbers, .woocommerce-pagination ul.page-numbers li .page-numbers {
	display: inline-flex; align-items: center; justify-content: center; gap: 4px;
	min-width: 44px; height: 44px; padding: 0 14px;
	border: 1px solid var(--line); border-radius: 12px; background: #fff;
	font-weight: 800; font-size: 14px; color: var(--ink); margin: 0;
	transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.imenkv-pagination .page-numbers:hover, .woocommerce-pagination ul.page-numbers li .page-numbers:hover { border-color: var(--ink); transform: translateY(-2px); }
.imenkv-pagination .page-numbers.current, .woocommerce-pagination ul.page-numbers li .page-numbers.current { background: var(--ink); color: #fff; border-color: var(--ink); }
.imenkv-pagination .page-numbers.dots { border: 0; background: transparent; }
.imenkv-pagination .screen-reader-text { display: none; }
.empty-state { text-align: center; padding: 48px 30px; }
.empty-state h2 { font-size: 22px; }
.empty-state .btn { margin-top: 10px; }

/* ---------- WooCommerce ---------- */
.woo-wrap { padding-top: 40px; }
.woocommerce-products-header { text-align: right; margin-bottom: 20px; }
.woocommerce-products-header__title { font-size: clamp(24px, 3vw, 32px); }
.woocommerce-result-count { color: var(--muted); font-size: 14px; margin: 0; }
.woocommerce-ordering select {
	border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; background: #fff; font: inherit; font-size: 14px; color: var(--ink);
}
.woocommerce .woocommerce-result-count, .woocommerce .woocommerce-ordering { float: none; }
.woocommerce-notices-wrapper:empty { display: none; }
.woo-content .woocommerce-result-count { display: inline-block; }
.woo-content .woocommerce-ordering { display: inline-block; float: left; margin-bottom: 22px; }

.woo-content ul.products, .woocommerce ul.products, .related ul.products, .up-sells ul.products {
	display: grid !important; grid-template-columns: repeat(4, 1fr); gap: 22px;
	margin: 0 0 30px; padding: 0; list-style: none;
}
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product, .woo-content ul.products li.product {
	float: none !important; width: auto !important; margin: 0 !important;
	background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
	overflow: hidden; display: flex; flex-direction: column;
	transition: transform .25s, box-shadow .25s; text-align: right;
}
.woocommerce ul.products li.product:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.woo-thumb { display: block; overflow: hidden; aspect-ratio: 1 / 1; background: var(--paper-2); }
.woo-thumb img, .woocommerce ul.products li.product .woo-thumb img { width: 100%; height: 100%; object-fit: cover; margin: 0 !important; transition: transform .45s; }
.woocommerce ul.products li.product:hover .woo-thumb img { transform: scale(1.06); }
.woocommerce ul.products li.product a img { margin: 0; }
.woocommerce ul.products li.product .woocommerce-loop-product__title, .woocommerce ul.products li.product .woocommerce-loop-category__title {
	font-size: 15.5px !important; line-height: 1.7; padding: 14px 18px 4px !important; margin: 0;
}
.woocommerce ul.products li.product .woocommerce-loop-product__link { display: contents; }
.woocommerce ul.products li.product .price { padding: 0 18px; margin: 4px 0 10px; font-size: 16px; font-weight: 800; color: var(--ink); display: flex; gap: 8px; align-items: baseline; }
.woocommerce ul.products li.product .price del { color: var(--muted-2); font-weight: 600; font-size: 13px; opacity: 1; }
.woocommerce ul.products li.product .price ins { text-decoration: none; }
.price-call { color: var(--amber-dark); }
.woocommerce ul.products li.product .star-rating { margin: 0 18px 6px; font-size: 12px; }
.woocommerce .star-rating span::before, .woocommerce .star-rating::before { color: var(--amber); }
.woocommerce ul.products li.product .button, .woocommerce ul.products li.product .added_to_cart {
	margin: auto 18px 18px !important;
	display: inline-flex; align-items: center; justify-content: center; gap: 6px;
	background: var(--ink); color: #fff; border-radius: 12px; padding: 11px 16px;
	font-weight: 800; font-size: 13.5px; line-height: 1; border: 0; transition: background .2s, transform .2s;
}
.woocommerce ul.products li.product .button:hover { background: var(--steel); transform: translateY(-2px); color: #fff; }
.woocommerce ul.products li.product .added_to_cart { background: var(--amber); color: var(--ink); margin-top: -8px !important; }
.woocommerce ul.products li.product .button.loading { opacity: .6; }
.woocommerce span.onsale, .woocommerce ul.products li.product .onsale {
	position: absolute; top: 12px; right: 12px; left: auto; z-index: 2;
	min-height: 0; line-height: 1; padding: 6px 11px; border-radius: 999px;
	background: #e0343c; color: #fff; font-size: 12px; font-weight: 800; margin: 0;
}
.woocommerce ul.products li.product { position: relative; }
.woocommerce ul.products li.product-category .woo-thumb { aspect-ratio: 4 / 3; }
.woocommerce ul.products li.product-category mark { background: none; color: var(--muted); font-weight: 600; }

/* buttons & forms */
.woocommerce button.button, .woocommerce a.button, .woocommerce input.button, .woocommerce #respond input#submit,
.woocommerce button.button.alt, .woocommerce a.button.alt, .woocommerce input.button.alt,
.woocommerce #respond input#submit.alt, .wc-block-components-button {
	background: var(--ink); color: #fff; border-radius: 12px; padding: 13px 22px;
	font-weight: 800; font-size: 14.5px; font-family: inherit; border: 0; line-height: 1.2;
	transition: background .2s, transform .2s;
}
.woocommerce button.button:hover, .woocommerce a.button:hover, .woocommerce input.button:hover,
.woocommerce button.button.alt:hover, .woocommerce a.button.alt:hover { background: var(--amber); color: var(--ink); transform: translateY(-2px); }
.woocommerce button.button:disabled, .woocommerce button.button:disabled[disabled] { background: var(--ink); color: #fff; padding: 13px 22px; opacity: .5; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select,
.woocommerce-page form .form-row .select2-container .select2-selection--single, .woocommerce .quantity .qty,
.woocommerce-cart table.cart td.actions .coupon .input-text {
	border: 1px solid var(--line); border-radius: 10px; padding: 11px 14px; font: inherit; background: #fff; height: auto; line-height: 1.5;
}
.woocommerce form .form-row input.input-text:focus, .woocommerce form .form-row textarea:focus { outline: 2px solid rgba(245, 165, 36, .5); border-color: var(--amber); }
.woocommerce .quantity .qty { width: 78px; text-align: center; }
.woocommerce form .form-row label { font-weight: 700; font-size: 14px; }
.woocommerce form .form-row.woocommerce-invalid .select2-container, .woocommerce form .form-row.woocommerce-invalid input.input-text { border-color: #e0343c; }
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-notice {
	border-top: 0 !important; border-right: 4px solid var(--amber); background: #fff; border-radius: 12px;
	box-shadow: var(--shadow-sm); padding: 16px 52px 16px 20px !important; margin-bottom: 26px !important; color: var(--ink); line-height: 1.8;
}
.woocommerce-message::before, .woocommerce-info::before { color: var(--amber-dark); right: 20px; left: auto; top: 18px; }
.woocommerce-error { border-right-color: #e0343c; }
.woocommerce-error::before { color: #e0343c; right: 20px; left: auto; top: 18px; }
.woocommerce-message .button, .woocommerce-info .button { float: left; margin-right: 12px; }

/* single product */
.woocommerce div.product { display: flow-root; }
.woocommerce div.product .product_title { font-size: clamp(22px, 3vw, 30px); margin-bottom: 8px; }
.woocommerce div.product div.images { width: 46%; float: right; margin-left: 4%; }
.woocommerce div.product div.summary { width: 50%; float: left; }
.woocommerce div.product div.images img { border-radius: var(--radius); }
.woocommerce div.product div.images .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 10px; }
.woocommerce div.product div.images .flex-control-thumbs li { width: auto; float: none; }
.woocommerce div.product div.images .flex-control-thumbs img { border-radius: 10px; border: 2px solid transparent; opacity: .75; }
.woocommerce div.product div.images .flex-control-thumbs img.flex-active, .woocommerce div.product div.images .flex-control-thumbs img:hover { border-color: var(--amber); opacity: 1; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--ink); font-size: 26px; font-weight: 800; margin: 6px 0 14px; }
.woocommerce div.product p.price del { color: var(--muted-2); font-size: 17px; opacity: 1; }
.woocommerce div.product p.price ins { text-decoration: none; }
.woocommerce div.product .woocommerce-product-details__short-description { color: var(--muted); font-size: 15px; }
.woocommerce div.product form.cart { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 18px 0; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.woocommerce div.product form.cart div.quantity { float: none; margin: 0; }
.woocommerce div.product form.cart .button { float: none; flex: 1; }
.woocommerce div.product form.cart .variations { width: 100%; margin: 0; }
.woocommerce div.product form.cart .variations td, .woocommerce div.product form.cart .variations th { padding: 6px 0; vertical-align: middle; }
.woocommerce div.product form.cart .variations select { border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; font: inherit; min-width: 200px; }
.woocommerce div.product form.cart .single_variation_wrap { width: 100%; }
.woo-call { width: 100%; justify-content: center; margin: 4px 0 14px; font-size: 14px; }
.woo-trust { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; margin: 0 0 18px; }
.woo-trust li { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--steel); background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; }
.woo-trust svg { width: 17px; height: 17px; color: var(--amber-dark); flex: none; }
.woocommerce div.product .product_meta { font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 18px; }
.woocommerce div.product .product_meta > span { display: inline-flex; gap: 4px; }
.woocommerce div.product .product_meta a { color: var(--ink); font-weight: 700; }
.woocommerce div.product .woocommerce-tabs { clear: both; padding-top: 42px; }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0; margin: 0 0 -1px; display: flex; gap: 4px; border-bottom: 1px solid var(--line); overflow: visible; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before, .woocommerce div.product .woocommerce-tabs ul.tabs::after, .woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { background: transparent; border: 0; border-radius: 0; margin: 0; padding: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { padding: 12px 20px; font-weight: 800; color: var(--muted); border-bottom: 3px solid transparent; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--ink); border-bottom-color: var(--amber); }
.woocommerce div.product .woocommerce-tabs .panel { background: #fff; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 var(--radius) var(--radius); padding: 28px 30px; margin: 0; }
.woocommerce div.product .woocommerce-tabs .panel h2:first-child { font-size: 18px; margin-bottom: 14px; }
.woocommerce table.shop_attributes { border: 0; }
.woocommerce table.shop_attributes th, .woocommerce table.shop_attributes td { border: 0; border-bottom: 1px solid var(--line); padding: 10px 12px; font-style: normal; background: transparent; }
.woocommerce table.shop_attributes th { width: 200px; color: var(--muted); font-weight: 700; }
.woocommerce .related, .woocommerce .up-sells { clear: both; padding-top: 48px; }
.woocommerce .related > h2, .woocommerce .up-sells > h2 { font-size: 22px; margin-bottom: 20px; }
.woocommerce #reviews #comments ol.commentlist li img.avatar { border-radius: 50%; border: 0; padding: 0; width: 44px; }
.woocommerce #reviews #comments ol.commentlist li .comment-text { border-color: var(--line); border-radius: var(--radius-sm); margin-right: 60px; margin-left: 0; }
.woocommerce #review_form #respond p { margin-bottom: 12px; }
.woocommerce p.stars a { color: var(--amber); }

/* cart / checkout */
.woocommerce-cart table.shop_table, .woocommerce table.shop_table { border: 1px solid var(--line); border-radius: var(--radius); border-collapse: separate; border-spacing: 0; background: #fff; overflow: hidden; }
.woocommerce table.shop_table th { background: var(--paper); font-weight: 800; padding: 14px 16px; border: 0; border-bottom: 1px solid var(--line); }
.woocommerce table.shop_table td { padding: 14px 16px; border: 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
.woocommerce-cart table.cart img { width: 72px; border-radius: 10px; }
.woocommerce-cart table.cart td.product-name a { font-weight: 700; }
.woocommerce a.remove { color: #e0343c !important; font-size: 18px; width: 28px; height: 28px; line-height: 26px; }
.woocommerce a.remove:hover { background: #e0343c; color: #fff !important; }
.woocommerce-cart table.cart td.actions { background: var(--paper); }
.woocommerce-cart table.cart td.actions .coupon { display: flex; gap: 8px; float: right; }
.woocommerce-cart table.cart td.actions .coupon .input-text { width: 200px !important; margin: 0; }
.woocommerce .cart-collaterals .cart_totals { width: 100%; max-width: 480px; float: left; }
.woocommerce .cart-collaterals .cart_totals h2 { font-size: 20px; }
.woocommerce .cart-collaterals .cart_totals table th { width: 40%; }
.woocommerce .wc-proceed-to-checkout a.checkout-button { background: var(--amber); color: var(--ink); font-size: 16px; padding: 16px; }
.woocommerce .wc-proceed-to-checkout a.checkout-button:hover { background: var(--ink); color: #fff; }
.woocommerce-checkout .col2-set { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.woocommerce-checkout .col2-set .col-1, .woocommerce-checkout .col2-set .col-2 { width: 100%; float: none; }
.woocommerce-checkout h3 { font-size: 18px; }
#order_review_heading { margin-top: 34px; }
.woocommerce-checkout #payment { background: var(--paper); border-radius: var(--radius); border: 1px solid var(--line); }
.woocommerce-checkout #payment ul.payment_methods { border-bottom-color: var(--line); padding: 18px; }
.woocommerce-checkout #payment div.payment_box { background: #fff; border-radius: 10px; }
.woocommerce-checkout #payment div.payment_box::before { border-color: transparent transparent #fff; }
.woocommerce-checkout #payment div.place-order { padding: 18px; }
.woocommerce-checkout #payment #place_order { width: 100%; background: var(--amber); color: var(--ink); font-size: 16px; padding: 16px; }
.woocommerce-checkout #payment #place_order:hover { background: var(--ink); color: #fff; }
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info { border-right-color: var(--ink); }
.woocommerce-order .woocommerce-order-overview { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin: 0 0 30px; padding: 0; list-style: none; }
.woocommerce-order .woocommerce-order-overview li { border: 1px solid var(--line) !important; border-radius: 12px; padding: 12px 14px; margin: 0; float: none; font-size: 13px; }
.woocommerce-order .woocommerce-order-overview li strong { display: block; font-size: 15px; margin-top: 4px; }
.woocommerce-thankyou-order-received { font-size: 20px; font-weight: 800; color: var(--amber-dark); }

/* my account */
.woocommerce-account .woocommerce-MyAccount-navigation { width: 24%; float: right; }
.woocommerce-account .woocommerce-MyAccount-content { width: 72%; float: left; }
.woocommerce-MyAccount-navigation ul { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.woocommerce-MyAccount-navigation li a { display: block; padding: 12px 18px; border-bottom: 1px solid var(--line); font-weight: 700; font-size: 14px; }
.woocommerce-MyAccount-navigation li.is-active a, .woocommerce-MyAccount-navigation li a:hover { background: var(--paper); color: var(--amber-dark); }
.woocommerce-form-login, .woocommerce-form-register { background: #fff; border: 1px solid var(--line) !important; border-radius: var(--radius) !important; padding: 28px !important; }
.woocommerce-account .u-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.woocommerce-account .u-columns .u-column1, .woocommerce-account .u-columns .u-column2 { width: 100%; float: none; }

/* store-wide responsive */
@media (max-width: 1100px) {
	.woocommerce ul.products, .woo-content ul.products, .related ul.products { grid-template-columns: repeat(3, 1fr) !important; }
	.blog-featured { grid-template-columns: 1fr; }
	.blog-featured-media { min-height: 240px; }
	.cat-tile { flex-basis: calc(25% - 16.5px); }
}
@media (max-width: 900px) {
	.woocommerce div.product div.images, .woocommerce div.product div.summary { width: 100%; float: none; margin: 0 0 26px; }
	.woocommerce-checkout .col2-set, .woocommerce-account .u-columns { grid-template-columns: 1fr; }
	.woocommerce-account .woocommerce-MyAccount-navigation, .woocommerce-account .woocommerce-MyAccount-content { width: 100%; float: none; margin-bottom: 22px; }
	.post-grid { grid-template-columns: repeat(2, 1fr); }
	.cat-tile { flex-basis: calc(33.333% - 14.7px); min-width: 0; }
	.cat-sub { display: none; }
	.cat-go { display: none; }
}
@media (max-width: 640px) {
	.woocommerce ul.products, .woo-content ul.products, .related ul.products { grid-template-columns: repeat(2, 1fr) !important; gap: 14px; }
	.woocommerce ul.products li.product .button { margin: auto 12px 12px !important; padding: 10px 12px; font-size: 12.5px; }
	.woocommerce ul.products li.product .woocommerce-loop-product__title { padding: 12px 12px 2px !important; font-size: 14px !important; }
	.woocommerce ul.products li.product .price { padding: 0 12px; font-size: 14.5px; }
	.woocommerce-cart table.cart td.actions .coupon { float: none; flex-direction: column; }
	.woocommerce-cart table.cart td.actions .coupon .input-text { width: 100% !important; }
	.woocommerce .cart-collaterals .cart_totals { float: none; max-width: none; }
	.post-grid { grid-template-columns: 1fr; }
	.cat-tiles { gap: 12px; }
	.cat-tile { flex-basis: calc(50% - 6px); padding: 20px 12px 16px; }
	.cat-name { font-size: 14.5px; }
	.cat-code { top: 8px; right: 8px; font-size: 10px; }
	.blog-hero { padding: 36px 0 24px; }
	.stories-hint { display: none; }
	.header-icon-btn { width: 40px; height: 40px; }
}

/* ---------- Elementor / page builders ---------- */
.imenkv-elementor .site-content, .full-width-content { width: 100%; }
.full-width-content > *:not(.alignfull):not(.elementor):not(.wp-block-cover):not(.wp-block-group.has-background) { max-width: var(--container); margin-inline: auto; padding-inline: 22px; }
.full-width-content > .elementor { max-width: none; padding: 0; }
.elementor-page .site-content > .container.page-wrap { display: none; }
body.elementor-editor-active .sticky-call, body.elementor-editor-active .topbar { display: none; }
.imenkv-blank { background: #fff; }
.elementor-widget-container .btn { font-family: inherit; }
/* Elementor default headings inherit theme weights */
.elementor-heading-title { font-weight: 800; }
.elementor-button { border-radius: 12px; font-weight: 800; font-family: var(--font); }

/* RTL: "forward" chevrons point left */
.read-more svg, .section-cta .btn svg, .woo-content .crumbs svg { transform: rotate(180deg); }
.read-more:hover svg { transform: rotate(180deg) translateX(-3px); }
.blog-thumb img { min-height: 100%; }
.imenkv-pagination .page-numbers span, .woocommerce-pagination .page-numbers span { display: inline; padding: 0; border: 0; margin: 0; background: none; min-width: 0; height: auto; }

/* Sale price inside theme product cards (home / shortcode) */
.product-price del { color: var(--muted-2); font-weight: 600; font-size: 13px; margin-left: 6px; }
.product-price ins { text-decoration: none; }
.product-price .woocommerce-Price-currencySymbol { font-size: 12px; color: var(--muted); font-weight: 600; }

/* ---------- Category tiles: photo mode (real product photo + title overlay) ---------- */
.cat-tiles--photo .cat-tile {
	padding: 0;
	aspect-ratio: 4 / 5;
	justify-content: flex-end;
	align-items: stretch;
	text-align: right;
	background: var(--ink);
	border-color: transparent;
	isolation: isolate;
}
.cat-tiles--photo .cat-photo { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.cat-tiles--photo .cat-photo img {
	position: absolute; top: -7%; left: 0;
	width: 100%; height: 118%; /* crops the code chip (top) and brand strip (bottom) of product photos */
	object-fit: cover; object-position: center;
	display: block;
	transition: transform .6s cubic-bezier(.2,.7,.2,1);
}
.cat-tiles--photo .cat-tile:hover .cat-photo img { transform: scale(1.07); }
.cat-tiles--photo .cat-photo::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(to top, rgba(14,17,22,.92) 0%, rgba(14,17,22,.55) 38%, rgba(14,17,22,0) 68%);
}
.cat-tiles--photo .cat-photo-text { position: relative; z-index: 1; padding: 0 16px 18px; display: flex; flex-direction: column; }
.cat-tiles--photo .cat-name { color: #fff; font-size: 17px; text-shadow: 0 1px 8px rgba(0,0,0,.4); }
.cat-tiles--photo .cat-sub { color: rgba(255,255,255,.72); min-height: 0; }
.cat-tiles--photo .cat-go { color: var(--amber); margin-top: 8px; }
.cat-tiles--photo .cat-code { background: rgba(255,255,255,.92); color: var(--ink); border-color: transparent; z-index: 2; }
.cat-tiles--photo .cat-tile::after { z-index: 2; }
@media (max-width: 640px) {
	.cat-tiles--photo .cat-tile { aspect-ratio: 1 / 1; }
	.cat-tiles--photo .cat-name { font-size: 15px; }
	.cat-tiles--photo .cat-sub { display: none; }
}

/* Respect accessibility settings and avoid spending CPU on motion when it is not wanted. */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
		scroll-behavior: auto !important;
	}
}
