/* =====================================================================
   لئو بیوتی — استایل پایه (سراسری)
   پالت رنگی: صورتی #c84f99 | فونت: وزیرمتن | حالت شب و روز
   ===================================================================== */

/* ---------- فونت وزیرمتن — میزبانی‌شده داخل قالب (بدون CDN) ---------- */
@font-face {
	font-family: 'Vazirmatn';
	src: url('../vendor/fonts/Vazirmatn-Regular.woff2') format('woff2');
	font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
	font-family: 'Vazirmatn';
	src: url('../vendor/fonts/Vazirmatn-Bold.woff2') format('woff2');
	font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
	font-family: 'Vazirmatn';
	src: url('../vendor/fonts/Vazirmatn-ExtraBold.woff2') format('woff2');
	font-weight: 800; font-style: normal; font-display: swap;
}

/* اتریبیوت hidden همیشه بر display قانون‌های دیگر اولویت دارد */
[hidden] { display: none !important; }


:root {
	--lb-primary: #c84f99;
	--lb-primary-600: #b03a83;
	--lb-primary-700: #93306e;
	--lb-primary-050: #fbeef6;
	--lb-primary-100: #f6dcec;

	--lb-bg: #ffffff;
	--lb-surface: #faf7f9;
	--lb-surface-2: #f3ebf1;
	--lb-text: #2b2028;
	--lb-text-2: #736470;
	--lb-border: #eadfe8;
	--lb-input-bg: #ffffff;

	--lb-success: #16a34a;
	--lb-warning: #d97706;
	--lb-danger: #dc2626;

	--lb-radius: 14px;
	--lb-radius-lg: 22px;
	--lb-radius-sm: 9px;
	--lb-shadow: 0 10px 34px rgba(200, 79, 153, .10);
	--lb-shadow-lg: 0 24px 70px rgba(200, 79, 153, .18);

	--lb-font: 'Vazirmatn', system-ui, -apple-system, 'Segoe UI', Tahoma, sans-serif;
	--lb-header-h: 72px;

	--swiper-theme-color: #c84f99;
}

[data-theme='dark'] {
	--lb-bg: #16111a;
	--lb-surface: #1e1722;
	--lb-surface-2: #292031;
	--lb-text: #f4edf2;
	--lb-text-2: #b7a8b5;
	--lb-border: #382b41;
	--lb-input-bg: #241c2b;
	--lb-primary-050: #2c1f2a;
	--lb-primary-100: #3a2438;
	--lb-shadow: 0 10px 34px rgba(0, 0, 0, .45);
	--lb-shadow-lg: 0 24px 70px rgba(0, 0, 0, .6);
}

/* ---------- ریست و تایپوگرافی ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body.lb-body {
	margin: 0;
	font-family: var(--lb-font);
	font-size: 15px;
	line-height: 1.9;
	color: var(--lb-text);
	background: var(--lb-bg);
	direction: rtl;
	transition: background .3s ease, color .3s ease;
	overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--lb-primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--lb-primary-600); }

h1, h2, h3, h4, h5 { line-height: 1.6; margin: 0 0 .5em; font-weight: 800; }

::selection { background: var(--lb-primary); color: #fff; }

:focus-visible { outline: 2px solid var(--lb-primary); outline-offset: 2px; border-radius: 4px; }

/* اسکرول‌بار */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--lb-surface); }
::-webkit-scrollbar-thumb { background: var(--lb-primary-100); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: var(--lb-primary); }

.lb-skip {
	position: absolute; right: -9999px; top: 8px; z-index: 999;
	background: var(--lb-primary); color: #fff; padding: 10px 18px; border-radius: 10px;
}
.lb-skip:focus { right: 8px; color: #fff; }

.lb-container { max-width: 1300px; margin-inline: auto; padding-inline: 20px; }

.lb-site-main { min-height: 55vh; }

/* ---------- آیکون‌ها ---------- */
.lb-ic { flex-shrink: 0; vertical-align: middle; }

/* ---------- دکمه‌ها ---------- */
.lb-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 12px 24px; border-radius: var(--lb-radius);
	font-family: var(--lb-font); font-size: 14.5px; font-weight: 700; line-height: 1.6;
	border: 2px solid transparent; cursor: pointer;
	transition: transform .15s, box-shadow .2s, background .2s, color .2s, border-color .2s;
	-webkit-tap-highlight-color: transparent;
}
.lb-btn:active { transform: scale(.97); }

.lb-btn-primary {
	background: linear-gradient(135deg, var(--lb-primary), var(--lb-primary-600));
	color: #fff !important; box-shadow: 0 8px 22px rgba(200, 79, 153, .32);
}
.lb-btn-primary:hover { box-shadow: 0 12px 30px rgba(200, 79, 153, .45); transform: translateY(-2px); color: #fff !important; }

.lb-btn-outline {
	background: transparent; color: var(--lb-primary); border-color: var(--lb-primary);
}
.lb-btn-outline:hover { background: var(--lb-primary-050); color: var(--lb-primary-600); }

.lb-btn-ghost { background: var(--lb-surface-2); color: var(--lb-text); }
.lb-btn-ghost:hover { background: var(--lb-primary-100); color: var(--lb-primary-700); }

.lb-btn-light { background: #fff; color: var(--lb-primary-600) !important; box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.lb-btn-light:hover { transform: translateY(-2px); }

.lb-btn-sm { padding: 8px 16px; font-size: 13px; border-radius: var(--lb-radius-sm); }
.lb-btn-block { width: 100%; }

/* ---------- نوار بالایی ---------- */
.lb-topbar {
	background: linear-gradient(90deg, var(--lb-primary-700), var(--lb-primary) 55%, var(--lb-primary-600));
	color: #fff; font-size: 13px;
}
.lb-topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.lb-topbar-item { display: inline-flex; align-items: center; gap: 7px; opacity: .95; }
.lb-topbar-phone { color: #fff; font-weight: 700; }

/* ---------- هدر ---------- */
.lb-header {
	position: sticky; top: 0; z-index: 900;
	background: color-mix(in srgb, var(--lb-bg) 88%, transparent);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--lb-border);
	transition: box-shadow .25s;
}
.lb-header.is-scrolled { box-shadow: var(--lb-shadow); }
.lb-header-in { display: flex; align-items: center; gap: 22px; min-height: var(--lb-header-h); }

.lb-logo { flex-shrink: 0; }
.lb-logo-link { display: inline-flex; align-items: center; gap: 9px; }
.lb-logo-mark {
	display: grid; place-items: center; width: 42px; height: 42px;
	background: linear-gradient(135deg, var(--lb-primary), var(--lb-primary-700));
	color: #fff; border-radius: 13px; box-shadow: 0 6px 18px rgba(200,79,153,.35);
}
.lb-logo-text { font-size: 23px; font-weight: 900; color: var(--lb-text); letter-spacing: -.3px; }
.lb-logo-text em { color: var(--lb-primary); font-style: normal; }
.custom-logo { max-height: 52px; width: auto; }

.lb-nav { flex: 1; }
.lb-menu, .lb-menu * { list-style: none; margin: 0; padding: 0; }
.lb-menu { display: flex; align-items: center; gap: 4px; }
.lb-menu > li { position: relative; }
.lb-menu > li > a {
	display: inline-flex; align-items: center; gap: 5px;
	padding: 10px 14px; border-radius: 11px;
	color: var(--lb-text); font-size: 14.5px; font-weight: 600; white-space: nowrap;
}
.lb-menu > li > a:hover, .lb-menu > li.current-menu-item > a { color: var(--lb-primary); background: var(--lb-primary-050); }
.lb-menu ul { position: absolute; top: 100%; right: 0; z-index: 50; min-width: 210px; padding: 8px !important; border-radius: var(--lb-radius); background: var(--lb-bg); border: 1px solid var(--lb-border); box-shadow: var(--lb-shadow-lg); opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .22s; }
.lb-menu li:hover > ul, .lb-menu li:focus-within > ul { opacity: 1; visibility: visible; transform: translateY(0); }
.lb-menu ul a { display: block; padding: 9px 12px; border-radius: 9px; color: var(--lb-text); font-size: 13.5px; }
.lb-menu ul a:hover { background: var(--lb-primary-050); color: var(--lb-primary); }

.lb-actions { display: flex; align-items: center; gap: 6px; }

.lb-icon-btn {
	position: relative; display: grid; place-items: center;
	width: 44px; height: 44px; border-radius: 13px;
	background: transparent; border: none; cursor: pointer; color: var(--lb-text);
	transition: background .2s, color .2s;
}
.lb-icon-btn:hover { background: var(--lb-primary-050); color: var(--lb-primary); }

.lb-badge-count {
	position: absolute; top: 4px; left: 3px; min-width: 19px; height: 19px; padding: 0 5px;
	display: grid; place-items: center;
	background: var(--lb-primary); color: #fff; font-size: 11px; font-weight: 800;
	border-radius: 99px; border: 2px solid var(--lb-bg);
	transition: transform .2s;
}
.lb-badge-count.is-empty { display: none; }
.lb-badge-count.is-bump { animation: lb-bump .5s; }
@keyframes lb-bump { 40% { transform: scale(1.45); } }

/* سوییچ شب/روز */
.lb-theme-toggle .lb-theme-moon { display: none; }
[data-theme='dark'] .lb-theme-toggle .lb-theme-sun { display: none; }
[data-theme='dark'] .lb-theme-toggle .lb-theme-moon { display: block; }

.lb-burger { display: none; }

/* ردیف بردکرامب */
.lb-crumb-row { border-top: 1px solid var(--lb-border); background: var(--lb-surface); }
.lb-crumb-row .lb-container { padding-block: 9px; }

.lb-breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; font-size: 12.5px; }
.lb-breadcrumb li { display: flex; align-items: center; gap: 4px; color: var(--lb-text-2); }
.lb-breadcrumb li:not(:last-child)::after { content: '‹'; color: var(--lb-primary); margin-inline-start: 4px; font-weight: 700; }
.lb-breadcrumb a { color: var(--lb-text-2); }
.lb-breadcrumb a:hover { color: var(--lb-primary); }
.lb-breadcrumb [aria-current='page'] { color: var(--lb-primary); font-weight: 700; }

/* ---------- پنل جستجو ---------- */
.lb-search-panel {
	position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 1000;
	padding: 26px 0 30px;
	background: color-mix(in srgb, var(--lb-bg) 96%, transparent);
	backdrop-filter: blur(16px);
	border-bottom: 1px solid var(--lb-border);
	box-shadow: var(--lb-shadow-lg);
	transform: translateY(-101%); transition: transform .3s ease;
}
.lb-search-panel.is-open { transform: translateY(0); }
.lb-search-bar {
	display: flex; align-items: center; gap: 12px;
	background: var(--lb-input-bg); border: 2px solid var(--lb-border);
	border-radius: 18px; padding: 6px 8px 6px 18px;
}
.lb-search-bar:focus-within { border-color: var(--lb-primary); box-shadow: 0 0 0 4px var(--lb-primary-100); }
.lb-search-bar input {
	flex: 1; border: none; outline: none; background: transparent;
	font-family: var(--lb-font); font-size: 16px; color: var(--lb-text); min-width: 0;
}

.lb-search-results { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; max-height: 62vh; overflow: auto; }
.lb-s-item a { display: flex; align-items: center; gap: 14px; padding: 10px 12px; border-radius: 14px; background: var(--lb-surface); border: 1px solid var(--lb-border); transition: all .2s; }
.lb-s-item a:hover { border-color: var(--lb-primary); transform: translateX(-4px); }
.lb-s-thumb { width: 52px; height: 60px; border-radius: 10px; overflow: hidden; flex-shrink: 0; background: var(--lb-surface-2); }
.lb-s-thumb img { width: 100%; height: 100%; object-fit: cover; }
.lb-s-info { display: flex; flex-direction: column; min-width: 0; }
.lb-s-info strong { font-size: 14px; color: var(--lb-text); }
.lb-s-info em { font-style: normal; font-size: 13px; color: var(--lb-primary); font-weight: 700; }
.lb-s-viewall { text-align: center; margin-top: 10px; }
.lb-s-viewall a { display: inline-block; padding: 9px 22px; border-radius: 12px; background: var(--lb-primary-050); color: var(--lb-primary); font-weight: 700; font-size: 13.5px; }
.lb-s-empty { text-align: center; color: var(--lb-text-2); font-size: 13.5px; padding: 18px 10px; }
.lb-s-empty.lb-is-loading { animation: lb-pulse 1.1s ease-in-out infinite; }
@keyframes lb-pulse { 50% { opacity: .45; } }

/* ---------- دراور موبایل + اورلی ---------- */
.lb-overlay {
	position: fixed; inset: 0; z-index: 990;
	background: rgba(28, 14, 24, .5); backdrop-filter: blur(3px);
	opacity: 0; transition: opacity .25s;
}
.lb-overlay.is-visible { opacity: 1; }

.lb-drawer {
	position: fixed; inset-block: 0; right: 0; z-index: 995;
	width: min(330px, 88vw); background: var(--lb-bg);
	box-shadow: var(--lb-shadow-lg); padding: 18px;
	transform: translateX(105%); /* سمت راستِ صفحه، بیرون دید */
	transition: transform .3s ease;
	overflow-y: auto; border-radius: 22px 0 0 22px;
}
.lb-drawer.is-open { transform: translateX(0); }
.lb-drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.lb-menu-drawer { display: block !important; }
.lb-menu-drawer > li > a { display: block; padding: 12px 14px; border-radius: 12px; }
.lb-menu-drawer ul { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; padding-inline-start: 14px !important; background: transparent; }
.lb-drawer-foot { margin-top: 20px; }

/* ---------- فوتر ---------- */
.lb-footer { background: var(--lb-surface); border-top: 1px solid var(--lb-border); margin-top: 70px; }
.lb-footer-grid {
	display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 36px;
	padding-block: 48px 34px;
}
.lb-footer-logo { font-size: 26px; }
.lb-footer-about > p { color: var(--lb-text-2); font-size: 13.5px; margin-top: 12px; }
.lb-footer h3 { font-size: 15px; margin-bottom: 16px; position: relative; padding-inline-start: 12px; }
.lb-footer h3::before { content: ''; position: absolute; right: 0; top: 6px; bottom: 6px; width: 4px; border-radius: 4px; background: linear-gradient(180deg, var(--lb-primary), var(--lb-primary-600)); }

.lb-footer-menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.lb-footer-menu a { display: inline-block; padding: 5px 0; color: var(--lb-text-2); font-size: 13.5px; }
.lb-footer-menu a:hover { color: var(--lb-primary); transform: translateX(-4px); }

.lb-contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.lb-contact-list li { display: flex; align-items: flex-start; gap: 10px; color: var(--lb-text-2); font-size: 13.5px; }
.lb-contact-list .lb-ic { color: var(--lb-primary); margin-top: 4px; }

.lb-social { display: flex; gap: 10px; margin-top: 16px; }
.lb-social a {
	display: grid; place-items: center; width: 42px; height: 42px;
	border-radius: 13px; background: var(--lb-primary-050); color: var(--lb-primary);
	transition: all .2s;
}
.lb-social a:hover { background: var(--lb-primary); color: #fff; transform: translateY(-3px); }

.lb-trust { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.lb-trust-item {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 7px 12px; border-radius: 10px; font-size: 12px; font-weight: 700;
	background: var(--lb-bg); border: 1px solid var(--lb-border); color: var(--lb-text-2);
}

.lb-newsletter { margin-top: 22px; }
.lb-newsletter label { font-size: 13px; font-weight: 700; display: block; margin-bottom: 8px; }
.lb-newsletter-in { display: flex; gap: 8px; }
.lb-newsletter-in input {
	flex: 1; min-width: 0; padding: 11px 14px; border-radius: 12px;
	border: 1.5px solid var(--lb-border); background: var(--lb-input-bg); color: var(--lb-text);
	font-family: var(--lb-font); font-size: 13px; outline: none;
}
.lb-newsletter-in input:focus { border-color: var(--lb-primary); }
.lb-newsletter-msg { font-size: 12px; margin: 8px 0 0; color: var(--lb-primary); min-height: 18px; }

.lb-footer-bottom {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px;
	padding-block: 18px; border-top: 1px solid var(--lb-border);
	color: var(--lb-text-2); font-size: 12.5px;
}
.lb-footer-made { display: inline-flex; align-items: center; gap: 5px; }
.lb-footer-made .lb-ic { color: var(--lb-danger); }

/* ---------- FAB سبد خرید ---------- */
.lb-fab {
	position: fixed; bottom: 24px; left: 24px; z-index: 940;
	width: 62px; height: 62px; border-radius: 20px; border: none; cursor: pointer;
	background: linear-gradient(135deg, var(--lb-primary), var(--lb-primary-700));
	color: #fff; display: grid; place-items: center;
	box-shadow: 0 14px 34px rgba(200, 79, 153, .5);
	transition: transform .2s;
}
.lb-fab:hover { transform: translateY(-4px) scale(1.04); }
.lb-fab .lb-badge-count { top: -4px; left: -4px; border-color: var(--lb-bg); }

/* دراور سبد — لبه چپِ صفحه؛ با translateX منفی بیرون دید می‌رود */
.lb-cart-drawer {
	position: fixed; inset-block: 0; left: 0; z-index: 996;
	width: min(400px, 94vw); background: var(--lb-bg);
	box-shadow: var(--lb-shadow-lg); display: flex; flex-direction: column;
	transform: translateX(-105%); transition: transform .32s ease;
	border-radius: 0 22px 22px 0;
}
.lb-cart-drawer.is-open { transform: translateX(0); }
.lb-cart-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--lb-border); }
.lb-cart-head h3 { margin: 0; font-size: 16px; }
.lb-cart-head span { color: var(--lb-primary); }
.lb-cart-items { flex: 1; overflow-y: auto; padding: 14px 18px; display: grid; gap: 10px; align-content: start; }
.lb-cart-loading { color: var(--lb-text-2); text-align: center; padding: 30px 0; }
.lb-cart-item {
	display: flex; align-items: center; gap: 12px; padding: 10px;
	background: var(--lb-surface); border: 1px solid var(--lb-border); border-radius: 14px;
	animation: lb-fade-up .35s;
}
.lb-ci-thumb { width: 50px; height: 58px; border-radius: 10px; overflow: hidden; flex-shrink: 0; background: var(--lb-surface-2); }
.lb-ci-thumb img { width: 100%; height: 100%; object-fit: cover; }
.lb-ci-info { flex: 1; min-width: 0; display: grid; gap: 3px; }
.lb-ci-info strong { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lb-ci-info em { font-style: normal; font-size: 12px; color: var(--lb-primary); font-weight: 700; }
.lb-cart-remove { background: none; border: none; color: var(--lb-text-2); cursor: pointer; padding: 8px; border-radius: 9px; }
.lb-cart-remove:hover { color: var(--lb-danger); background: color-mix(in srgb, var(--lb-danger) 10%, transparent); }
.lb-cart-empty-msg { text-align: center; color: var(--lb-text-2); padding: 40px 10px; display: grid; gap: 12px; place-items: center; }
.lb-cart-foot { padding: 16px 20px 20px; border-top: 1px solid var(--lb-border); background: var(--lb-surface); }
.lb-cart-total { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; font-size: 14px; }
.lb-cart-total strong { color: var(--lb-primary); font-size: 16px; }
.lb-cart-foot-btns { display: grid; gap: 8px; }

/* ---------- دکمه برگشت به بالا ---------- */
.lb-totop {
	position: fixed; bottom: 24px; right: 24px; z-index: 930;
	width: 46px; height: 46px; border-radius: 14px; border: none; cursor: pointer;
	background: var(--lb-bg); color: var(--lb-primary); box-shadow: var(--lb-shadow);
	display: grid; place-items: center;
	opacity: 0; visibility: hidden; transform: translateY(12px);
	transition: all .3s;
}
.lb-totop.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.lb-totop:hover { background: var(--lb-primary); color: #fff; }

/* ---------- مودال‌ها (dialog) ---------- */
.lb-modal {
	border: none; border-radius: var(--lb-radius-lg);
	padding: 0; max-width: min(860px, 94vw); width: 100%;
	background: var(--lb-bg); color: var(--lb-text);
	box-shadow: var(--lb-shadow-lg);
	max-height: 88vh; overflow: visible;
}
.lb-modal::backdrop { background: rgba(24, 12, 20, .55); backdrop-filter: blur(4px); }
.lb-modal[open] { animation: lb-pop .3s ease; }
@keyframes lb-pop { from { opacity: 0; transform: scale(.94) translateY(14px); } }
.lb-modal-x {
	position: absolute; top: 14px; inset-inline-end: 14px; z-index: 5;
	width: 40px; height: 40px; border-radius: 12px; border: none; cursor: pointer;
	background: var(--lb-surface-2); color: var(--lb-text);
	display: grid; place-items: center;
}
.lb-modal-x:hover { background: var(--lb-danger); color: #fff; }
.lb-modal-body { padding: 26px; max-height: 84vh; overflow-y: auto; }

/* ---------- فرم ورود پیامکی ---------- */
.lb-sms-head { text-align: center; display: grid; gap: 8px; justify-items: center; margin-bottom: 18px; }
.lb-sms-head .lb-ic { color: var(--lb-primary); }
.lb-sms-head h3 { margin: 0; font-size: 17px; }
.lb-sms-head p { margin: 0; color: var(--lb-text-2); font-size: 13px; }
.lb-sms-step { display: grid; gap: 10px; }
.lb-sms-step.is-hidden { display: none; }
.lb-sms-step input {
	width: 100%; padding: 13px 16px; border-radius: 13px; text-align: center;
	border: 1.5px solid var(--lb-border); background: var(--lb-input-bg); color: var(--lb-text);
	font-family: var(--lb-font); font-size: 15px; letter-spacing: 2px; outline: none;
}
.lb-sms-step input:focus { border-color: var(--lb-primary); box-shadow: 0 0 0 4px var(--lb-primary-100); }
.lb-sms-sent { font-size: 13px; color: var(--lb-success); text-align: center; margin: 0; }
.lb-sms-err { color: var(--lb-danger); font-size: 13px; text-align: center; min-height: 20px; margin: 8px 0 0; }

/* ---------- توست ---------- */
.lb-toasts { position: fixed; bottom: 100px; inset-inline-start: 24px; z-index: 1100; display: grid; gap: 8px; }
.lb-toast {
	display: flex; align-items: center; gap: 10px;
	padding: 13px 18px; border-radius: 14px; font-size: 13.5px; font-weight: 700;
	background: var(--lb-text); color: var(--lb-bg);
	box-shadow: var(--lb-shadow-lg);
	animation: lb-fade-up .3s;
	max-width: 320px;
}
.lb-toast.is-out { animation: lb-toast-out .3s forwards; }
.lb-toast.is-success .lb-ic { color: #4ade80; }
.lb-toast.is-error { background: var(--lb-danger); color: #fff; }
.lb-toast.is-error .lb-ic { color: #fff; }
@keyframes lb-fade-up { from { opacity: 0; transform: translateY(10px); } }
@keyframes lb-toast-out { to { opacity: 0; transform: translateY(10px); } }

/* ---------- پرواز محصول به سبد (Fly to Cart) ---------- */
.lb-fly-img {
	position: fixed; z-index: 1200; border-radius: 12px; pointer-events: none;
	box-shadow: var(--lb-shadow-lg); object-fit: cover;
}

/* ---------- انیمیشن ورود بخش‌ها ---------- */
.lb-section { padding-block: 26px; }
.lb-section-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 22px; }
.lb-section-head h2 { display: inline-flex; align-items: center; gap: 9px; font-size: 21px; margin: 0; }
.lb-section-head h2 .lb-ic { color: var(--lb-primary); }
.lb-section-head > a { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 700; color: var(--lb-primary); }
.lb-section-head > a .lb-ic { transform: scaleX(-1); }

/* ---------- ستاره‌ها ---------- */
.lb-stars { position: relative; display: inline-block; font-size: 14px; letter-spacing: 2px; line-height: 1; }
.lb-stars-base { color: var(--lb-border); }
.lb-stars-fill { position: absolute; top: 0; right: 0; overflow: hidden; white-space: nowrap; color: #f5a623; }

/* ---------- قیمت ---------- */
.lb-price { font-weight: 800; color: var(--lb-primary); font-size: 15.5px; display: flex; align-items: baseline; gap: 8px; flex-wrap: nowrap; white-space: nowrap; }
.lb-price del { color: var(--lb-text-2); font-weight: 500; font-size: 12.5px; opacity: .8; }
.lb-price ins { text-decoration: none; }
.lb-price .woocommerce-Price-currencySymbol { font-size: 11px; font-weight: 600; }
.lb-price bdi { white-space: nowrap; }

/* ---------- بج‌ها ---------- */
.lb-badge { display: inline-block; padding: 4px 11px; border-radius: 99px; font-size: 11.5px; font-weight: 800; color: #fff; }
.lb-badge-sale { background: linear-gradient(135deg, var(--lb-danger), #e8557f); }
.lb-badge-new { background: linear-gradient(135deg, #16a34a, #22c55e); }
.lb-badge-oos { background: var(--lb-text-2); }

/* ---------- گرید محصولات ---------- */
.lb-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.lb-grid-3 { grid-template-columns: repeat(3, 1fr); }

/* ---------- حالت خالی ---------- */
.lb-empty { text-align: center; padding: 60px 20px; display: grid; gap: 12px; justify-items: center; grid-column: 1 / -1; }
.lb-empty-ic .lb-ic { color: var(--lb-primary-100); }
.lb-empty h3, .lb-empty h2 { margin: 0; }
.lb-empty p { color: var(--lb-text-2); margin: 0; }

/* ---------- فرم‌ها ---------- */
input[type='text'], input[type='email'], input[type='tel'], input[type='number'],
input[type='password'], input[type='search'], select, textarea {
	font-family: var(--lb-font); font-size: 14px; color: var(--lb-text);
	background: var(--lb-input-bg); border: 1.5px solid var(--lb-border);
	border-radius: 12px; padding: 11px 14px; outline: none; width: 100%;
	transition: border-color .2s, box-shadow .2s;
}
input:focus, select:focus, textarea:focus { border-color: var(--lb-primary); box-shadow: 0 0 0 4px var(--lb-primary-100); }

.lb-hp { position: absolute !important; right: -9999px !important; opacity: 0; }

/* ---------- ریسپانسیو ---------- */
@media (max-width: 1080px) {
	.lb-grid { grid-template-columns: repeat(3, 1fr); }
	.lb-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
	.lb-nav { display: none; }
	.lb-burger { display: grid; }
	.lb-actions { margin-inline-start: auto; }
	.lb-header-in { gap: 10px; }
	.lb-topbar-item:first-child { display: none; }
	.lb-grid { grid-template-columns: repeat(2, 1fr); }
	.lb-grid-3 { grid-template-columns: repeat(2, 1fr); }
	.lb-search-results { max-height: 56vh; }
}

@media (max-width: 540px) {
	body.lb-body { font-size: 14px; }
	.lb-container { padding-inline: 14px; }
	.lb-grid { gap: 12px; }
	.lb-footer-grid { grid-template-columns: 1fr; gap: 26px; }
	.lb-footer-bottom { justify-content: center; text-align: center; }
	.lb-fab { width: 56px; height: 56px; bottom: 18px; left: 14px; }
	.lb-toasts { inset-inline-start: 14px; }
	.lb-modal-body { padding: 18px; }
}

/* کاهش حرکت برای کاربران حساس */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
	html { scroll-behavior: auto; }
}

/* ---------- چاپ ---------- */
@media print {
	.lb-header, .lb-footer, .lb-fab, .lb-totop, .lb-cart-drawer, .lb-topbar, .lb-crumb-row { display: none !important; }
}
