/*
Theme Name: Sitine
Theme URI: https://sitine.ir
Author: Sitine
Author URI: https://sitine.ir
Description: سایتینه؛ پوستهٔ فارسی و راست‌به‌چپ برای فروش قالب، افزونه و خدمات، با منوی چندسطحی و سازگار با ووکامرس.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sitine
Tags: rtl-language-support, e-commerce, custom-menu, custom-logo, translation-ready, one-column
*/

/* ==========================================================================
   Sitine 1.0.0: تمام استایل‌های پوسته در همین یک فایل است.
   رنگ‌های اصلی از «نمایش > سفارشی‌سازی > سایتینه: رنگ‌ها» عوض می‌شوند.
   ========================================================================== */
@font-face {
	font-family: "Vazirmatn";
	src: url("assets/fonts/Vazirmatn-variable.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

:root {
	--st-primary: #4f46e5;
	--st-accent: #06b6d4;
	--st-primary-dark: color-mix(in srgb, var(--st-primary) 78%, #000);
	--st-primary-soft: color-mix(in srgb, var(--st-primary) 9%, #fff);
	--st-ink: #0f172a;
	--st-muted: #64748b;
	--st-line: #e2e8f0;
	--st-bg: #f8fafc;
	--st-white: #fff;
	--st-radius: 16px;
	--st-radius-sm: 10px;
	--st-shadow: 0 10px 30px rgba(15, 23, 42, .08);
	--st-shadow-lg: 0 24px 60px rgba(15, 23, 42, .16);
	--st-w: 1240px;
	--st-font: "Vazirmatn", Tahoma, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0; font-family: var(--st-font); font-size: 15px; line-height: 1.85;
	color: var(--st-ink); background: var(--st-white); -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.4; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
ul, ol { padding-inline-start: 1.3em; }
button { font-family: inherit; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.st-skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 300; background: var(--st-ink); color: #fff; padding: 8px 16px; border-radius: 8px; }
.st-skip:focus { top: 12px; }
.st-container { width: min(100% - 40px, var(--st-w)); margin-inline: auto; }
.st-icon { flex: none; vertical-align: middle; }

/* ---------- دکمه‌ها ---------- */
.st-btn, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 22px;
	border: 1.5px solid transparent; border-radius: 999px; font: inherit; font-weight: 700; cursor: pointer;
	transition: transform .15s ease, background .15s ease, box-shadow .15s ease, color .15s ease;
}
.st-btn:hover, .woocommerce a.button:hover, .woocommerce button.button:hover { transform: translateY(-1px); }
.st-btn--primary, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button {
	background: var(--st-primary); color: #fff; box-shadow: 0 8px 20px color-mix(in srgb, var(--st-primary) 30%, transparent);
}
.st-btn--primary:hover, .woocommerce a.button:hover, .woocommerce button.button:hover { background: var(--st-primary-dark); color: #fff; }
.st-btn--light { background: #fff; color: var(--st-primary-dark); }
.st-btn--light:hover { background: #eef2ff; }
.st-btn--outline { border-color: rgba(255, 255, 255, .55); color: #fff; }
.st-btn--outline:hover { background: rgba(255, 255, 255, .12); }
.st-btn--ghost { border-color: var(--st-line); color: var(--st-ink); background: #fff; box-shadow: none; }
.st-btn--ghost:hover { border-color: var(--st-primary); color: var(--st-primary); }
.st-demo { margin-top: 12px; }
.st-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--st-primary); }
.st-more:hover { color: var(--st-primary-dark); }

/* ---------- هدر ---------- */
.st-header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--st-line); transition: box-shadow .2s ease; }
.admin-bar .st-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .st-header { top: 46px; } }
.st-header.is-stuck { box-shadow: 0 6px 24px rgba(15, 23, 42, .08); }
.st-header__bar { display: flex; align-items: center; gap: 22px; min-height: 72px; }
.st-brand img { max-height: 46px; width: auto; display: block; }
.st-brand__text { font-size: 24px; font-weight: 900; color: var(--st-primary); letter-spacing: -.3px; }
.st-search { flex: 1; max-width: 560px; position: relative; display: flex; }
.st-search input[type="search"] { width: 100%; height: 46px; padding: 0 18px; padding-inline-end: 52px; border: 1.5px solid var(--st-line); border-radius: 999px; background: var(--st-bg); font: inherit; transition: border-color .15s, background .15s, box-shadow .15s; }
.st-search input[type="search"]:focus { outline: 0; border-color: var(--st-primary); background: #fff; box-shadow: 0 0 0 4px var(--st-primary-soft); }
.st-search button { position: absolute; inset-inline-end: 6px; top: 6px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: var(--st-primary); color: #fff; display: grid; place-items: center; cursor: pointer; }
.st-actions { display: flex; align-items: center; gap: 6px; margin-inline-start: auto; }
.st-iconbtn { position: relative; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; color: var(--st-ink); transition: background .15s; }
.st-iconbtn:hover { background: var(--st-primary-soft); color: var(--st-primary); }
.st-cart-count { position: absolute; top: 2px; inset-inline-end: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--st-accent); color: #fff; font-size: 11px; font-weight: 800; line-height: 18px; text-align: center; }
.st-burger { display: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--st-primary-soft); color: var(--st-primary); place-items: center; cursor: pointer; }

/* ---------- منوی اصلی (دسکتاپ) ---------- */
.st-nav { border-top: 1px solid var(--st-line); background: #fff; }
.st-menu { display: flex; flex-wrap: wrap; gap: 2px; list-style: none; margin: 0; padding: 0; }
.st-menu li { position: relative; margin: 0; }
.st-menu > li > a { display: flex; align-items: center; gap: 7px; padding: 14px 14px; font-weight: 700; font-size: 14.5px; border-radius: 10px; transition: color .15s, background .15s; }
.st-menu > li:hover > a, .st-menu > li:focus-within > a, .st-menu > li.current-menu-item > a, .st-menu > li.current-menu-ancestor > a, .st-menu > li.current_page_item > a { color: var(--st-primary); background: var(--st-primary-soft); }
.st-menu .menu-item-has-children > a::after, .st-menu .page_item_has_children > a::after {
	content: ""; width: 6px; height: 6px; border: solid currentColor; border-width: 0 1.7px 1.7px 0; transform: rotate(45deg) translateY(-2px); opacity: .6; transition: transform .2s;
}
.st-menu > li:hover > a::after { transform: rotate(225deg) translate(-2px, 0); }

.st-menu .sub-menu, .st-menu .children {
	position: absolute; top: 100%; inset-inline-start: 0; min-width: 250px; margin: 0; padding: 12px; list-style: none;
	background: #fff; border: 1px solid var(--st-line); border-top: 0; border-radius: 0 0 var(--st-radius) var(--st-radius); box-shadow: var(--st-shadow-lg);
	opacity: 0; visibility: hidden; transform: translateY(10px); z-index: 60;
	transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}
.st-menu li:hover > .sub-menu, .st-menu li:focus-within > .sub-menu, .st-menu li:hover > .children, .st-menu li:focus-within > .children { opacity: 1; visibility: visible; transform: none; }
.st-menu .sub-menu a, .st-menu .children a { display: block; padding: 9px 12px; border-radius: 10px; font-weight: 500; font-size: 14px; color: var(--st-ink); transition: background .15s, color .15s; }
.st-menu .sub-menu a:hover, .st-menu .children a:hover { background: var(--st-primary-soft); color: var(--st-primary); }
/* وقتی زیرمنو، زیرمنوی دوم هم دارد: پنل چندستونه (مگامنو) */
.st-menu > li:has(.sub-menu .sub-menu) > .sub-menu, .st-menu > li:has(.children .children) > .children {
	display: grid; grid-template-columns: repeat(3, minmax(190px, 1fr)); gap: 6px 20px; min-width: 680px; padding: 20px; align-items: start;
}
.st-menu .sub-menu .sub-menu, .st-menu .children .children {
	position: static; min-width: 0; padding: 0; border: 0; box-shadow: none; background: none; opacity: 1; visibility: visible; transform: none; border-radius: 0; margin-top: 4px;
}
.st-menu .sub-menu > li > a, .st-menu .children > li > a { font-weight: 800; }
.st-menu .sub-menu .sub-menu a, .st-menu .children .children a { font-weight: 500; font-size: 13.5px; color: var(--st-muted); padding-block: 6px; }
/* سه گزینهٔ آخر از لبهٔ چپ باز می‌شوند تا از صفحه بیرون نزنند */
.st-menu > li:nth-last-child(-n+3) > .sub-menu, .st-menu > li:nth-last-child(-n+3) > .children { inset-inline-start: auto; inset-inline-end: 0; }
.st-sub-toggle, .st-overlay { display: none; }

/* ---------- موبایل و تبلت: منوی کشویی ---------- */
@media (max-width: 1023px) {
	.st-header__bar { flex-wrap: wrap; gap: 10px; min-height: 0; padding-block: 12px; }
	.st-search { order: 3; flex-basis: 100%; max-width: none; }
	.st-burger { display: grid; }
	.st-nav {
		position: fixed; inset-block: 0; inset-inline-start: 0; width: min(88vw, 380px); z-index: 220; overflow-y: auto; padding: 72px 8px 24px;
		transition: transform .28s ease, visibility .28s ease; visibility: hidden; border: 0; box-shadow: var(--st-shadow-lg);
	}
	.rtl .st-nav { transform: translateX(100%); }
	body:not(.rtl) .st-nav { transform: translateX(-100%); }
	.st-menu-open .st-nav { transform: none; visibility: visible; }
	.st-menu-open { overflow: hidden; }
	.st-overlay { display: block; position: fixed; inset: 0; z-index: 210; background: rgba(15, 23, 42, .5); opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s ease; }
	.st-menu-open .st-overlay { opacity: 1; visibility: visible; }
	.st-menu { flex-direction: column; gap: 2px; }
	.st-menu > li > a { padding: 14px 12px; font-size: 15px; }
	.st-menu .menu-item-has-children > a::after, .st-menu .page_item_has_children > a::after { display: none; }
	.st-sub-toggle { display: grid; position: absolute; top: 4px; inset-inline-end: 4px; width: 44px; height: 44px; place-items: center; border: 0; background: none; color: var(--st-muted); cursor: pointer; border-radius: 50%; }
	.st-sub-toggle svg { transition: transform .2s; }
	.st-menu li.is-open > .st-sub-toggle svg { transform: rotate(180deg); }
	.st-menu .sub-menu, .st-menu .children, .st-menu > li:has(.sub-menu .sub-menu) > .sub-menu, .st-menu > li:has(.children .children) > .children {
		position: static; display: none; min-width: 0; padding: 0 12px 8px; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; border-radius: 0;
	}
	.st-menu li.is-open > .sub-menu, .st-menu li.is-open > .children { display: block; }
	.st-menu .sub-menu .sub-menu, .st-menu .children .children { display: block; padding: 0 12px; }
}

/* ---------- صفحهٔ نخست ---------- */
.st-hero {
	position: relative; overflow: hidden; color: #fff;
	background:
		radial-gradient(900px 420px at 88% -8%, color-mix(in srgb, var(--st-accent) 50%, transparent), transparent 62%),
		radial-gradient(800px 460px at 0% 108%, color-mix(in srgb, var(--st-primary) 60%, #fff 0%), transparent 62%),
		linear-gradient(135deg, #14122e, var(--st-primary-dark));
}
.st-hero::before {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
	background-size: 46px 46px; -webkit-mask-image: linear-gradient(to bottom, #000, transparent 88%); mask-image: linear-gradient(to bottom, #000, transparent 88%);
}
.st-hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; padding-block: 84px 92px; }
.st-pill { display: inline-block; padding: 5px 16px; border-radius: 999px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .25); font-size: 13px; font-weight: 700; margin-bottom: 18px; }
.st-hero h1 { font-size: clamp(30px, 4.6vw, 52px); font-weight: 900; line-height: 1.35; letter-spacing: -.5px; margin-bottom: 18px; }
.st-hero__text > p { font-size: 17px; line-height: 2; color: rgba(255, 255, 255, .85); max-width: 560px; margin-bottom: 28px; }
.st-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.st-hero__points { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; margin: 0; padding: 0; color: rgba(255, 255, 255, .9); font-size: 14px; }
.st-hero__points li { display: inline-flex; align-items: center; gap: 6px; }
.st-hero__points .st-icon { color: var(--st-accent); }
.st-hero__art { position: relative; }
.st-hero__art svg { width: 100%; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .35)); }
.a-win { fill: #fff; } .a-bar { fill: #eef2ff; } .a-dot { fill: #cbd5e1; }
.a-line { fill: #e2e8f0; } .a-strong { fill: var(--st-primary); } .a-btn { fill: var(--st-accent); }
.st-hero__gradient-start { stop-color: var(--st-primary); }
.st-hero__gradient-end { stop-color: var(--st-accent); }
.a-img { fill: url(#stg); } .a-card { fill: #f1f5f9; }
.st-chip { position: absolute; padding: 8px 16px; border-radius: 999px; background: #fff; color: var(--st-ink); font-size: 13px; font-weight: 800; box-shadow: var(--st-shadow-lg); animation: st-float 5s ease-in-out infinite; }
.st-chip--1 { top: 2%; inset-inline-start: -2%; }
.st-chip--2 { bottom: 16%; inset-inline-end: -3%; animation-delay: -1.6s; }
.st-chip--3 { bottom: -2%; inset-inline-start: 8%; animation-delay: -3.2s; }
@keyframes st-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@media (prefers-reduced-motion: reduce) { .st-chip { animation: none; } html { scroll-behavior: auto; } }
@media (max-width: 900px) {
	.st-hero__grid { grid-template-columns: 1fr; padding-block: 56px 64px; gap: 36px; }
	.st-hero__art { max-width: 460px; margin-inline: auto; }
}

/* ---------- بخش‌ها ---------- */
.st-section { padding-block: 72px; }
.st-section--alt { background: var(--st-bg); border-block: 1px solid var(--st-line); }
.st-section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 30px; }
.st-section__head h2 { font-size: clamp(22px, 3vw, 30px); font-weight: 900; margin: 0; }
.st-eyebrow { display: inline-block; font-size: 13px; font-weight: 800; color: var(--st-primary); background: var(--st-primary-soft); padding: 3px 14px; border-radius: 999px; margin-bottom: 8px; }
.st-catgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 18px; }
.st-cat { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 26px 16px 22px; background: #fff; border: 1px solid var(--st-line); border-radius: var(--st-radius); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.st-cat:hover { transform: translateY(-4px); box-shadow: var(--st-shadow); border-color: color-mix(in srgb, var(--st-primary) 40%, var(--st-line)); }
.st-cat__media { width: 84px; height: 84px; display: grid; place-items: center; border-radius: 22px; background: var(--st-primary-soft); color: var(--st-primary); margin-bottom: 14px; overflow: hidden; }
.st-cat__media img { width: 100%; height: 100%; object-fit: cover; }
.st-cat__name { font-weight: 800; font-size: 16px; }
.st-cat__count { font-size: 13px; color: var(--st-muted); }
.st-cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.st-card { padding: 30px 26px; background: #fff; border: 1px solid var(--st-line); border-radius: var(--st-radius); transition: transform .2s ease, box-shadow .2s ease; }
.st-card:hover { transform: translateY(-4px); box-shadow: var(--st-shadow); }
.st-card__icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 16px; background: linear-gradient(135deg, var(--st-primary), var(--st-accent)); color: #fff; margin-bottom: 16px; }
.st-card h3 { font-size: 18px; font-weight: 800; }
.st-card p { color: var(--st-muted); }
@media (max-width: 900px) { .st-cards3 { grid-template-columns: 1fr; } .st-section { padding-block: 52px; } }
.st-cta { padding-block: 56px 72px; }
.st-cta__box { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 40px 44px; border-radius: 24px; color: #fff; background: linear-gradient(120deg, var(--st-primary-dark), var(--st-primary) 55%, var(--st-accent)); box-shadow: var(--st-shadow-lg); }
.st-cta h2 { font-size: clamp(22px, 3vw, 30px); font-weight: 900; margin-bottom: 6px; }
.st-cta p { margin: 0; color: rgba(255, 255, 255, .88); }
@media (max-width: 700px) { .st-cta__box { flex-direction: column; align-items: flex-start; padding: 28px 24px; } }

/* ---------- صفحه‌ها و نوشته‌ها ---------- */
.st-pagehead { padding-block: 42px; background: linear-gradient(135deg, var(--st-primary-soft), #fff 70%); border-bottom: 1px solid var(--st-line); }
.st-pagehead h1 { font-size: clamp(24px, 3.4vw, 36px); font-weight: 900; margin: 0; }
.st-pagehead__meta { color: var(--st-muted); margin: 6px 0 0; }
.st-prose { max-width: 860px; margin-inline: auto; }
.st-prose--wide { max-width: none; }
.st-prose h2 { font-size: 26px; margin-top: 1.6em; } .st-prose h3 { font-size: 20px; margin-top: 1.4em; }
.st-prose a { color: var(--st-primary); text-decoration: underline; text-underline-offset: 3px; }
.st-prose img { border-radius: 14px; }
.st-prose blockquote { margin: 1.4em 0; padding: 14px 20px; border-inline-start: 4px solid var(--st-primary); background: var(--st-primary-soft); border-radius: 0 12px 12px 0; }
.st-prose table { width: 100%; border-collapse: collapse; } .st-prose th, .st-prose td { border: 1px solid var(--st-line); padding: 10px 12px; }
.st-single__thumb { margin-bottom: 24px; } .st-single__thumb img { width: 100%; border-radius: var(--st-radius); }
.st-postnav, .st-pagination { margin-top: 36px; text-align: center; }
.st-pagination .page-numbers { display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 12px; border: 1px solid var(--st-line); border-radius: 10px; margin: 2px; }
.st-pagination .current, .st-pagination .page-numbers:hover { background: var(--st-primary); border-color: var(--st-primary); color: #fff; }
.st-postgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 22px; }
.st-post { background: #fff; border: 1px solid var(--st-line); border-radius: var(--st-radius); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.st-post:hover { transform: translateY(-4px); box-shadow: var(--st-shadow); }
.st-post__thumb img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.st-post__body { padding: 20px; } .st-post__body time { font-size: 13px; color: var(--st-muted); }
.st-post__body h2 { font-size: 18px; font-weight: 800; margin: 6px 0 8px; } .st-post__body p { color: var(--st-muted); }
.st-empty, .st-404 { text-align: center; }
.st-404__code { font-size: 90px; font-weight: 900; line-height: 1; color: var(--st-primary); margin: 0; }

/* ---------- فرم‌ها ---------- */
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="password"], input[type="number"], input[type="search"], select, textarea {
	width: 100%; padding: 11px 14px; border: 1.5px solid var(--st-line); border-radius: 12px; background: #fff; font: inherit; color: var(--st-ink);
	transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--st-primary); box-shadow: 0 0 0 4px var(--st-primary-soft); }
label { display: block; font-weight: 700; margin-bottom: 6px; }
.st-form { max-width: 720px; margin-inline: auto; padding: 28px; background: #fff; border: 1px solid var(--st-line); border-radius: var(--st-radius); box-shadow: var(--st-shadow); }
.st-form__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 16px; }
@media (max-width: 700px) { .st-form__grid { grid-template-columns: 1fr; } }
.st-hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.st-notice { max-width: 720px; margin: 0 auto 16px; padding: 14px 18px; border-radius: 12px; font-weight: 700; }
.st-notice--ok { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.st-notice--error { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }

/* ---------- ووکامرس ---------- */
.st-woo ul.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; list-style: none; margin: 0; padding: 0; }
.st-woo ul.products li.product { position: relative; display: flex; flex-direction: column; margin: 0; padding: 14px; background: #fff; border: 1px solid var(--st-line); border-radius: var(--st-radius); transition: transform .2s ease, box-shadow .2s ease; }
.st-woo ul.products li.product:hover { transform: translateY(-4px); box-shadow: var(--st-shadow); }
.st-woo ul.products li.product img { width: 100%; border-radius: 12px; display: block; aspect-ratio: 4 / 3; object-fit: cover; }
.st-woo .woocommerce-loop-product__title { font-size: 16px; font-weight: 800; margin: 14px 0 6px; padding: 0; }
.st-woo li.product .price, .st-woo div.product .price { display: block; color: var(--st-primary-dark); font-weight: 900; margin-bottom: 12px; }
.st-woo li.product .price del, .st-woo div.product .price del { color: var(--st-muted); font-weight: 500; margin-inline-end: 6px; }
.st-woo li.product .price ins, .st-woo div.product .price ins { text-decoration: none; }
.st-woo li.product .button { margin-top: auto; align-self: flex-start; }
.st-woo .onsale { position: absolute; top: 24px; inset-inline-start: 24px; z-index: 2; padding: 3px 12px; border-radius: 999px; background: var(--st-accent); color: #fff; font-size: 12px; font-weight: 800; }
.st-woo .woocommerce-result-count { color: var(--st-muted); } .st-woo .woocommerce-ordering { margin-bottom: 20px; float: inline-end; }
.st-woo .woocommerce-ordering select { width: auto; }
.st-woo div.product { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.st-woo div.product .woocommerce-product-gallery { position: relative; } .st-woo div.product .woocommerce-product-gallery img { border-radius: var(--st-radius); }
.st-woo div.product .product_title { font-size: clamp(24px, 3vw, 32px); font-weight: 900; }
.st-woo div.product .woocommerce-tabs, .st-woo div.product .related, .st-woo div.product .upsells { grid-column: 1 / -1; }
.st-woo .woocommerce-tabs ul.tabs { display: flex; gap: 8px; list-style: none; padding: 0; margin: 0 0 20px; border-bottom: 1px solid var(--st-line); }
.st-woo .woocommerce-tabs ul.tabs li a { display: block; padding: 10px 18px; font-weight: 700; color: var(--st-muted); }
.st-woo .woocommerce-tabs ul.tabs li.active a { color: var(--st-primary); border-bottom: 3px solid var(--st-primary); }
.st-woo .quantity .qty { width: 80px; text-align: center; }
.st-woo form.cart { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 10px; }
.st-woo .woocommerce-message, .st-woo .woocommerce-info, .st-woo .woocommerce-error { list-style: none; margin: 0 0 18px; padding: 14px 18px; border-radius: 12px; background: var(--st-primary-soft); border-inline-start: 4px solid var(--st-primary); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.st-woo .woocommerce-error { background: #fef2f2; border-color: #ef4444; }
.st-woo table.shop_table { width: 100%; border-collapse: collapse; border: 1px solid var(--st-line); border-radius: 12px; overflow: hidden; margin-bottom: 24px; }
.st-woo table.shop_table th, .st-woo table.shop_table td { padding: 12px 14px; border-bottom: 1px solid var(--st-line); text-align: start; }
.st-woo table.shop_table img { width: 64px; border-radius: 8px; }
.st-woo .cart_totals, .st-woo .woocommerce-checkout-review-order { padding: 22px; background: var(--st-bg); border-radius: var(--st-radius); border: 1px solid var(--st-line); }
.st-woo form .form-row { margin: 0 0 14px; } .st-woo .woocommerce-checkout #customer_details { margin-bottom: 24px; }
.st-woo .woocommerce-MyAccount-navigation { float: inline-start; width: 240px; margin-inline-end: 28px; }
.st-woo .woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.st-woo .woocommerce-MyAccount-navigation a { display: block; padding: 10px 16px; border-radius: 12px; font-weight: 700; background: var(--st-bg); }
.st-woo .woocommerce-MyAccount-navigation .is-active a, .st-woo .woocommerce-MyAccount-navigation a:hover { background: var(--st-primary); color: #fff; }
.st-woo .woocommerce-MyAccount-content { overflow: hidden; }
.st-woo nav.woocommerce-pagination { margin-top: 30px; text-align: center; } .st-woo nav.woocommerce-pagination ul { display: inline-flex; gap: 4px; list-style: none; padding: 0; }
.st-woo nav.woocommerce-pagination a, .st-woo nav.woocommerce-pagination span { display: grid; place-items: center; min-width: 40px; height: 40px; border: 1px solid var(--st-line); border-radius: 10px; }
.st-woo nav.woocommerce-pagination .current { background: var(--st-primary); color: #fff; border-color: var(--st-primary); }
@media (max-width: 800px) { .st-woo div.product { grid-template-columns: 1fr; } .st-woo .woocommerce-MyAccount-navigation { float: none; width: auto; margin: 0 0 20px; } }

/* ---------- فوتر ---------- */
.st-footer { background: #0b1020; color: #cbd5e1; margin-top: 0; }
.st-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 40px; padding-block: 56px 40px; }
.st-footer h3 { color: #fff; font-size: 16px; font-weight: 800; margin-bottom: 14px; }
.st-footer__brand { font-size: 26px; font-weight: 900; color: #fff; display: inline-block; margin-bottom: 10px; }
.st-footer a:hover { color: #fff; }
.st-footer__menu, .st-footer__contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.st-footer__contact li { display: flex; gap: 10px; align-items: flex-start; } .st-footer__contact .st-icon { margin-top: 5px; color: var(--st-accent); }
.st-social { display: flex; gap: 10px; margin-top: 14px; }
.st-social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .08); transition: background .15s; }
.st-social a:hover { background: var(--st-primary); }
.st-footer__bar { border-top: 1px solid rgba(255, 255, 255, .08); padding-block: 18px; font-size: 13px; color: #94a3b8; text-align: center; }
@media (max-width: 800px) { .st-footer__grid { grid-template-columns: 1fr; gap: 28px; } }
