@font-face {
  font-family: "Rabar";
  src: url("fonts/rabar_021.ttf") format("truetype");
  font-display: swap;
}

html:not(.mode-admin) { color-scheme: light; --deep: #173f26; --forest: #1f5a33; --leaf: #3f8a45; --sprout: #8cc272; --mint: #dcefd0; --mist: #f3f9ef; --white: #ffffff; --ink: #18261c; --muted: #5d6e62; --line: #e1ebdb; --honey: #c9831c; --danger: #b4322a; --r-lg: 28px; --r-md: 18px; --r-sm: 12px; --shadow: 0 10px 30px -14px rgba(23, 63, 38, .35); --shadow-sm: 0 4px 14px -8px rgba(23, 63, 38, .35); --font: "Rabar", "Vazirmatn", "Noto Sans Arabic", "Segoe UI", Tahoma, system-ui, sans-serif; --max: 1240px; --hdr-h: 76px; }
html:not(.mode-admin) * { box-sizing: border-box; min-width: 0; }
html:not(.mode-admin) { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
html:not(.mode-admin) body { margin: 0; background: var(--white); color: var(--ink); font: 16px/1.7 var(--font); overflow-x: clip; -webkit-font-smoothing: antialiased; }
html:not(.mode-admin) img { max-width: 100%; display: block; }
html:not(.mode-admin) a { color: inherit; text-decoration: none; }
html:not(.mode-admin) button, html:not(.mode-admin) input, html:not(.mode-admin) select, html:not(.mode-admin) textarea { font: inherit; color: inherit; }
html:not(.mode-admin) button { cursor: pointer; }
html:not(.mode-admin) :focus-visible { outline: 3px solid var(--sprout); outline-offset: 2px; border-radius: 8px; }
html:not(.mode-admin) [hidden] { display: none !important; }
html:not(.mode-admin) .ico { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
html:not(.mode-admin) .wrap { max-width: var(--max); margin-inline: auto; padding-inline: max(4vw, 16px); }
html:not(.mode-admin) .band { padding-block: clamp(40px, 6vw, 88px); }
html:not(.mode-admin) .num { font-variant-numeric: tabular-nums; white-space: nowrap; }
html:not(.mode-admin) .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 10px 24px; border-radius: 999px; border: 0; font-weight: 700; font-size: 16px; transition: transform .15s, background .2s, box-shadow .2s; white-space: nowrap; }
html:not(.mode-admin) .btn:active { transform: scale(.97); }
html:not(.mode-admin) .btn-primary { background: var(--deep); color: #fff; box-shadow: var(--shadow-sm); }
html:not(.mode-admin) .btn-primary:hover { background: var(--forest); }
html:not(.mode-admin) .btn-light { background: var(--mint); color: var(--deep); }
html:not(.mode-admin) .btn-light:hover { background: #cde6bd; }
html:not(.mode-admin) .btn-ghost { background: transparent; color: var(--deep); border: 1.5px solid var(--line); }
html:not(.mode-admin) .btn-ghost:hover { border-color: var(--sprout); background: var(--mist); }
html:not(.mode-admin) .btn-block { width: 100%; }
html:not(.mode-admin) .btn[disabled] { opacity: .6; pointer-events: none; }
html:not(.mode-admin) .icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; display: inline-grid; place-items: center; color: var(--deep); position: relative; }
html:not(.mode-admin) .icon-btn:hover { background: var(--mist); }
html:not(.mode-admin) .site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
html:not(.mode-admin) .hdr { max-width: var(--max); margin-inline: auto; padding-inline: max(3vw, 14px); height: var(--hdr-h); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; }
html:not(.mode-admin) .brand { display: flex; align-items: center; gap: 8px; }
html:not(.mode-admin) .brand img { width: 52px; height: auto; }
html:not(.mode-admin) .brand-name { font-size: 20px; font-weight: 600; color: var(--leaf); letter-spacing: -.01em; white-space: nowrap; direction: ltr; }
html:not(.mode-admin) .brand-name b { color: var(--deep); font-weight: 800; }
html:not(.mode-admin) .main-nav { justify-self: center; }
html:not(.mode-admin) .main-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
html:not(.mode-admin) .main-nav a { display: block; padding: 10px 16px; border-radius: 999px; font-weight: 600; color: var(--muted); transition: color .2s, background .2s; white-space: nowrap; }
html:not(.mode-admin) .main-nav a:hover { color: var(--deep); background: var(--mist); }
html:not(.mode-admin) .main-nav a.active { color: var(--deep); background: var(--mint); }
html:not(.mode-admin) .hdr-actions { display: flex; align-items: center; gap: 6px; }
html:not(.mode-admin) .search { position: relative; display: flex; align-items: center; }
html:not(.mode-admin) .search .ico { position: absolute; inset-inline-start: 14px; color: var(--muted); width: 19px; height: 19px; pointer-events: none; }
html:not(.mode-admin) .search input { width: 230px; height: 44px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--mist); padding: 0 16px 0 42px; font-size: 15px; outline: none; transition: border-color .2s, width .3s, background .2s; }
html:not(.mode-admin) .search input:focus { border-color: var(--sprout); background: #fff; width: 270px; }
html:not(.mode-admin) .search input::-webkit-search-cancel-button { display: none; }
html:not(.mode-admin) .search-toggle { display: none; }
html:not(.mode-admin) .search-results { position: absolute; top: calc(100% + 8px); right: 0; width: min(380px, 92vw); background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow); padding: 6px; z-index: 60; max-height: 70vh; overflow: auto; }
html:not(.mode-admin) .sr-item { display: flex; align-items: center; gap: 12px; width: 100%; padding: 8px; border: 0; background: none; border-radius: 12px; text-align: start; }
html:not(.mode-admin) .sr-item:hover, html:not(.mode-admin) .sr-item.focus { background: var(--mist); }
html:not(.mode-admin) .sr-item img { width: 46px; height: 46px; border-radius: 10px; object-fit: cover; background: var(--mint); }
html:not(.mode-admin) .sr-item b { display: block; font-size: 15px; }
html:not(.mode-admin) .sr-item span { font-size: 13px; color: var(--muted); }
html:not(.mode-admin) .sr-empty { padding: 16px; text-align: center; color: var(--muted); font-size: 14px; }
html:not(.mode-admin) .cart-btn .badge { position: absolute; top: 2px; right: 0; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--honey); color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center; line-height: 1; }
html:not(.mode-admin) .cart-btn.bump { animation: bump .45s; }
@keyframes bump { 30% { transform: scale(1.18); } 60% { transform: scale(.94); } }
html:not(.mode-admin) .burger { display: none; }
html:not(.mode-admin) .mnav-scrim { position: fixed; inset: 0; background: rgba(10, 25, 15, .45); z-index: 84; animation: fade .25s; }
html:not(.mode-admin) .mobile-nav { position: fixed; top: 0; bottom: 0; right: 0; width: min(290px, 86vw); z-index: 85; background: var(--deep); color: #d5e7d1; display: flex; flex-direction: column; padding: 18px 14px; transform: translateX(105%); transition: transform .32s cubic-bezier(.2, .8, .2, 1); visibility: hidden; box-shadow: -20px 0 50px -20px rgba(0, 0, 0, .45); }
html:not(.mode-admin) .mobile-nav.open { transform: none; visibility: visible; }
html:not(.mode-admin) .mnav-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 4px 6px 18px; border-bottom: 1px solid rgba(255, 255, 255, .1); margin-bottom: 12px; }
html:not(.mode-admin) .mnav-brand { display: flex; align-items: center; gap: 10px; }
html:not(.mode-admin) .mnav-brand img { width: 44px; height: 44px; background: #fff; border-radius: 50%; padding: 4px; object-fit: contain; }
html:not(.mode-admin) .mnav-brand span { font-size: 18px; font-weight: 600; color: var(--sprout); white-space: nowrap; }
html:not(.mode-admin) .mnav-brand b { color: #fff; font-weight: 800; }
html:not(.mode-admin) .mnav-close { width: 40px; height: 40px; border: 0; border-radius: 12px; background: rgba(255, 255, 255, .08); color: #fff; display: grid; place-items: center; }
html:not(.mode-admin) .mnav-close:hover { background: rgba(255, 255, 255, .16); }
html:not(.mode-admin) .mnav-links { display: flex; flex-direction: column; gap: 2px; flex: 1; overflow-y: auto; }
html:not(.mode-admin) .mnav-links a { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 11px 12px; border-radius: 12px; font-weight: 600; color: #c4dcc0; }
html:not(.mode-admin) .mnav-links a .ico { width: 21px; height: 21px; }
html:not(.mode-admin) .mnav-links a:hover { background: rgba(255, 255, 255, .06); color: #fff; }
html:not(.mode-admin) .mnav-links a.active { background: var(--sprout); color: var(--deep); }
html:not(.mode-admin) .mnav-foot { padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .1); }
html:not(.mode-admin) .mnav-call { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; border-radius: 12px; background: #fff; color: var(--deep); font-weight: 700; }
html:not(.mode-admin) .mnav-call .ico { width: 20px; height: 20px; color: #25a244; }
@media (min-width: 921px) {
html:not(.mode-admin) .mobile-nav, html:not(.mode-admin) .mnav-scrim { display: none !important; }
}
html:not(.mode-admin) .hero { position: relative; overflow: hidden; isolation: isolate; color: #fff; background: var(--deep); min-height: clamp(540px, 82vh, 760px); display: flex; align-items: center; border-radius: 0 0 clamp(28px, 4vw, 56px) clamp(28px, 4vw, 56px); }
html:not(.mode-admin) .hero-bg { position: absolute; inset: 0; inset-inline-start: 40%; z-index: -2; overflow: hidden; }
html:not(.mode-admin) .hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 40%; animation: drift 22s ease-in-out infinite alternate; transform-origin: 40% 50%; }
@keyframes drift { from { transform: scale(1.04); } to { transform: scale(1.14) translateX(-1.5%); } }
html:not(.mode-admin) .hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(var(--shade-dir, 270deg), #173f26 0%, #173f26 40%, rgba(23, 63, 38, .7) 50%, rgba(23, 63, 38, .15) 66%, rgba(23, 63, 38, 0) 80%), linear-gradient(0deg, rgba(10, 30, 16, .45) 0%, rgba(10, 30, 16, 0) 35%), radial-gradient(circle at 20% 110%, rgba(140, 194, 114, .25), transparent 45%); }
html:not(.mode-admin)[dir=ltr] .hero-shade { --shade-dir: 90deg; }
html:not(.mode-admin) .hero-inner { position: relative; width: 100%; padding-block: clamp(56px, 8vw, 110px) clamp(96px, 10vw, 140px); }
html:not(.mode-admin) .hero-text { max-width: 600px; }
html:not(.mode-admin) .hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font: 600 14px/1 var(--font); margin-bottom: 22px; }
html:not(.mode-admin) .hero-badge img { width: 26px; height: auto; background: #fff; border-radius: 50%; padding: 2px; }
html:not(.mode-admin) .hero h1 { font-size: clamp(38px, 5.6vw, 68px); line-height: 1.18; margin: 0 0 20px; font-weight: 800; text-wrap: balance; text-shadow: 0 2px 24px rgba(0, 0, 0, .25); }
html:not(.mode-admin) .hero p.lead { font-size: clamp(17px, 1.5vw, 20px); color: #d6e9cf; margin: 0 0 34px; max-width: 32em; }
html:not(.mode-admin) .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
html:not(.mode-admin) .btn-white { background: #fff; color: var(--deep); box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .45); }
html:not(.mode-admin) .btn-white:hover { background: var(--mint); }
html:not(.mode-admin) .btn-glass { background: rgba(255, 255, 255, .1); color: #fff; border: 1.5px solid rgba(255, 255, 255, .35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
html:not(.mode-admin) .btn-glass:hover { background: rgba(255, 255, 255, .2); }
html:not(.mode-admin) .hero-text > * { animation: rise .8s cubic-bezier(.2, .8, .2, 1) both; }
html:not(.mode-admin) .hero-text > :nth-child(2) { animation-delay: .08s; }
html:not(.mode-admin) .hero-text > :nth-child(3) { animation-delay: .16s; }
html:not(.mode-admin) .hero-text > :nth-child(4) { animation-delay: .24s; }
html:not(.mode-admin) .trust { position: relative; z-index: 2; margin-top: calc(-1 * clamp(52px, 6vw, 70px)); }
html:not(.mode-admin) .trust-card { background: #fff; border-radius: var(--r-lg); box-shadow: 0 24px 50px -24px rgba(23, 63, 38, .45); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: clamp(16px, 2.4vw, 26px); }
html:not(.mode-admin) .trust-item { display: flex; align-items: center; gap: 14px; padding: 6px clamp(10px, 2vw, 24px); }
html:not(.mode-admin) .trust-item + .trust-item { border-inline-start: 1px solid var(--line); }
html:not(.mode-admin) .trust-item i { width: 52px; height: 52px; border-radius: 16px; background: var(--mint); display: grid; place-items: center; flex: none; }
html:not(.mode-admin) .trust-item .ico { color: var(--deep); width: 26px; height: 26px; }
html:not(.mode-admin) .trust-item b { display: block; font-size: 16px; color: var(--deep); }
html:not(.mode-admin) .trust-item span { font-size: 14px; color: var(--muted); }
html:not(.mode-admin) .sec-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }
html:not(.mode-admin) .sec-head h2 { font-size: clamp(26px, 3vw, 36px); line-height: 1.25; margin: 0; color: var(--deep); font-weight: 800; }
html:not(.mode-admin) .sec-head p { margin: 4px 0 0; color: var(--muted); }
html:not(.mode-admin) .link-more { color: var(--leaf); font-weight: 700; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
html:not(.mode-admin) .link-more:hover { color: var(--deep); }
html:not(.mode-admin) .link-more .ico { width: 18px; height: 18px; }
html:not(.mode-admin)[dir=rtl] .flip { transform: scaleX(-1); }
html:not(.mode-admin) .chips { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
html:not(.mode-admin) .chips::-webkit-scrollbar { display: none; }
html:not(.mode-admin) .chip { flex: none; min-height: 44px; padding: 8px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-weight: 600; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
html:not(.mode-admin) .chip:hover { border-color: var(--sprout); color: var(--deep); }
html:not(.mode-admin) .chip.on { background: var(--deep); border-color: var(--deep); color: #fff; }
html:not(.mode-admin) .chip small { font-size: 12px; opacity: .75; }
html:not(.mode-admin) .grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: clamp(14px, 2vw, 24px); }
html:not(.mode-admin) .card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 10px 10px 16px; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s, border-color .25s; }
html:not(.mode-admin) .card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
html:not(.mode-admin) .card-img { position: relative; aspect-ratio: 1; border-radius: 20px; overflow: hidden; background: var(--mist); border: 0; padding: 0; display: block; width: 100%; }
html:not(.mode-admin) .card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
html:not(.mode-admin) .card:hover .card-img img { transform: scale(1.05); }
html:not(.mode-admin) .disc-badge { position: absolute; top: 12px; inset-inline-start: 12px; z-index: 2; background: var(--honey); color: #fff; font-weight: 800; font-size: 14px; padding: 4px 12px; border-radius: 999px; box-shadow: 0 4px 10px -4px rgba(0, 0, 0, .3); display: inline-flex; align-items: center; gap: 4px; }
html:not(.mode-admin) .disc-badge .ico { width: 15px; height: 15px; stroke-width: 2.2; }
html:not(.mode-admin) .card-body { padding: 14px 8px 0; display: flex; flex-direction: column; gap: 4px; flex: 1; }
html:not(.mode-admin) .card-cat { font-size: 13px; color: var(--leaf); font-weight: 600; }
html:not(.mode-admin) .card-title { font-size: 18px; font-weight: 700; margin: 0; line-height: 1.4; }
html:not(.mode-admin) .card-title button { all: unset; cursor: pointer; }
html:not(.mode-admin) .card-title button:focus-visible { outline: 3px solid var(--sprout); border-radius: 6px; }
html:not(.mode-admin) .card-size { font-size: 13px; color: var(--muted); }
html:not(.mode-admin) .card-foot { margin-top: auto; padding-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
html:not(.mode-admin) .price { display: flex; flex-direction: column; line-height: 1.3; }
html:not(.mode-admin) .price b { font-size: 18px; color: var(--deep); font-weight: 800; }
html:not(.mode-admin) .price s { font-size: 13px; color: var(--muted); }
html:not(.mode-admin) .add-btn { width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--mint); color: var(--deep); display: grid; place-items: center; flex: none; transition: background .2s, transform .15s; }
html:not(.mode-admin) .add-btn:hover { background: var(--deep); color: #fff; }
html:not(.mode-admin) .add-btn:active { transform: scale(.9); }
html:not(.mode-admin) .add-btn .ico { width: 22px; height: 22px; stroke-width: 2.2; }
html:not(.mode-admin) .empty { grid-column: 1 / -1; text-align: center; padding: 56px 16px; color: var(--muted); background: var(--mist); border-radius: var(--r-lg); }
html:not(.mode-admin) .empty .ico { width: 44px; height: 44px; color: var(--sprout); margin: 0 auto 10px; }
html:not(.mode-admin) .page-hero { background: var(--mist); padding-block: clamp(30px, 4vw, 56px); position: relative; overflow: hidden; }
html:not(.mode-admin) .page-hero h1 { margin: 0; font-size: clamp(30px, 4vw, 46px); color: var(--deep); font-weight: 800; line-height: 1.2; }
html:not(.mode-admin) .page-hero p { margin: 8px 0 0; color: var(--muted); max-width: 40em; }
html:not(.mode-admin) .page-hero .deco { position: absolute; inset-inline-end: 4%; bottom: -30px; width: 160px; opacity: .9; }
html:not(.mode-admin) .toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 22px; }
html:not(.mode-admin) .toolbar .chips { flex: 1 1 420px; }
html:not(.mode-admin) .select { height: 44px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; padding: 0 16px; font-weight: 600; color: var(--deep); font-size: 15px; }
html:not(.mode-admin) .result-meta { color: var(--muted); font-size: 14px; margin: -8px 0 18px; }
html:not(.mode-admin) .sample-note { font-size: 13px; color: var(--muted); margin-top: 22px; text-align: center; }
html:not(.mode-admin) .about-band { background: linear-gradient(180deg, #fff 0, var(--mist) 100%); }
html:not(.mode-admin) .about-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
html:not(.mode-admin) .about-pic { border-radius: var(--r-lg) var(--r-lg) var(--r-lg) 140px; overflow: hidden; aspect-ratio: 5 / 4; background: var(--mint); border: 8px solid #fff; box-shadow: var(--shadow); }
html:not(.mode-admin)[dir=rtl] .about-pic { border-radius: var(--r-lg) var(--r-lg) 140px var(--r-lg); }
html:not(.mode-admin) .about-pic img { width: 100%; height: 100%; object-fit: cover; }
html:not(.mode-admin) .about-text h2 { font-size: clamp(26px, 3vw, 38px); margin: 0 0 14px; color: var(--deep); line-height: 1.25; font-weight: 800; }
html:not(.mode-admin) .about-text p { color: var(--muted); margin: 0 0 14px; white-space: pre-line; }
html:not(.mode-admin) .posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
html:not(.mode-admin) .post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
html:not(.mode-admin) .post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
html:not(.mode-admin) .post-card .pic { aspect-ratio: 16 / 10; background: var(--mint); overflow: hidden; }
html:not(.mode-admin) .post-card .pic img { width: 100%; height: 100%; object-fit: cover; }
html:not(.mode-admin) .post-card .txt { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
html:not(.mode-admin) .post-card time { font-size: 13px; color: var(--leaf); font-weight: 600; }
html:not(.mode-admin) .post-card h3 { margin: 0; font-size: 19px; line-height: 1.45; }
html:not(.mode-admin) .post-card p { margin: 0; color: var(--muted); font-size: 15px; }
html:not(.mode-admin) .post-card .link-more { margin-top: auto; padding-top: 8px; }
html:not(.mode-admin) .reader { max-width: 760px; margin-inline: auto; }
html:not(.mode-admin) .reader .pic { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 9; background: var(--mint); margin: 18px 0 26px; }
html:not(.mode-admin) .reader .pic img { width: 100%; height: 100%; object-fit: cover; }
html:not(.mode-admin) .reader h1 { font-size: clamp(28px, 3.6vw, 42px); line-height: 1.3; color: var(--deep); margin: 8px 0 0; }
html:not(.mode-admin) .reader time { color: var(--leaf); font-weight: 600; font-size: 14px; }
html:not(.mode-admin) .reader .body p { font-size: 17px; margin: 0 0 18px; }
html:not(.mode-admin) .back-link { display: inline-flex; align-items: center; gap: 6px; color: var(--leaf); font-weight: 700; min-height: 44px; }
html:not(.mode-admin) .contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
html:not(.mode-admin) .c-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; display: flex; flex-direction: column; gap: 8px; }
html:not(.mode-admin) .c-card i { width: 54px; height: 54px; border-radius: 18px; background: var(--mint); display: grid; place-items: center; margin-bottom: 6px; }
html:not(.mode-admin) .c-card .ico { color: var(--deep); width: 26px; height: 26px; }
html:not(.mode-admin) .c-card h3 { margin: 0; font-size: 15px; color: var(--muted); font-weight: 600; }
html:not(.mode-admin) .c-card .val { font-size: 19px; font-weight: 700; color: var(--deep); }
html:not(.mode-admin) .c-card .val.ltr { direction: ltr; unicode-bidi: isolate; text-align: start; }
html:not(.mode-admin) .c-card a.mini { color: var(--leaf); font-weight: 700; font-size: 15px; margin-top: auto; padding-top: 6px; min-height: 32px; }
html:not(.mode-admin) .cta-band { margin-top: 30px; background: var(--deep); color: #fff; border-radius: var(--r-lg); padding: clamp(24px, 4vw, 44px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; position: relative; overflow: hidden; }
html:not(.mode-admin) .cta-band h3 { margin: 0; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.3; }
html:not(.mode-admin) .cta-band p { margin: 4px 0 0; color: #bcd6b9; }
html:not(.mode-admin) .cta-band .btn-light { position: relative; }
html:not(.mode-admin) .checkout-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); gap: clamp(18px, 3vw, 36px); align-items: start; }
html:not(.mode-admin) .panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(18px, 3vw, 32px); }
html:not(.mode-admin) .panel h2 { margin: 0 0 4px; font-size: 24px; color: var(--deep); }
html:not(.mode-admin) .panel .sub { margin: 0 0 22px; color: var(--muted); font-size: 15px; }
html:not(.mode-admin) .form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
html:not(.mode-admin) .field { display: flex; flex-direction: column; gap: 6px; }
html:not(.mode-admin) .field.full { grid-column: 1 / -1; }
html:not(.mode-admin) .field label { font-weight: 700; font-size: 15px; }
html:not(.mode-admin) .field label .opt { font-weight: 500; color: var(--muted); font-size: 13px; }
html:not(.mode-admin) .field label .req { color: var(--danger); }
html:not(.mode-admin) .field input, html:not(.mode-admin) .field select, html:not(.mode-admin) .field textarea { width: 100%; min-height: 50px; border: 1.5px solid var(--line); border-radius: 14px; padding: 10px 14px; background: var(--mist); font-size: 16px; outline: none; transition: border-color .2s, background .2s; }
html:not(.mode-admin) .field textarea { min-height: 96px; resize: vertical; }
html:not(.mode-admin) .field input:focus, html:not(.mode-admin) .field select:focus, html:not(.mode-admin) .field textarea:focus { border-color: var(--sprout); background: #fff; }
html:not(.mode-admin) .field input[type=tel] { direction: ltr; text-align: start; }
html:not(.mode-admin)[dir=rtl] .field input[type=tel] { text-align: right; }
html:not(.mode-admin) .field.err input, html:not(.mode-admin) .field.err select, html:not(.mode-admin) .field.err textarea { border-color: var(--danger); background: #fff6f5; }
html:not(.mode-admin) .field .err-msg { color: var(--danger); font-size: 13px; font-weight: 600; display: none; }
html:not(.mode-admin) .field.err .err-msg { display: block; }
html:not(.mode-admin) .hint { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--forest); background: var(--mint); padding: 8px 12px; border-radius: 10px; font-weight: 600; }
html:not(.mode-admin) .hint .ico { width: 18px; height: 18px; color: #25a244; }
html:not(.mode-admin) .city-note { font-size: 13px; color: var(--muted); }
html:not(.mode-admin) .summary { position: sticky; top: 96px; }
html:not(.mode-admin) .sum-lines { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 12px; }
html:not(.mode-admin) .sum-line { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 12px; align-items: center; }
html:not(.mode-admin) .sum-line img { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; background: var(--mint); }
html:not(.mode-admin) .sum-line b { display: block; font-size: 15px; line-height: 1.4; }
html:not(.mode-admin) .sum-line span { font-size: 13px; color: var(--muted); }
html:not(.mode-admin) .sum-line .lt { font-weight: 700; text-align: end; }
html:not(.mode-admin) .totals { border-top: 1.5px dashed var(--line); padding-top: 14px; display: grid; gap: 8px; }
html:not(.mode-admin) .totals div { display: flex; justify-content: space-between; gap: 10px; font-size: 15px; }
html:not(.mode-admin) .totals .disc { color: var(--honey); font-weight: 600; }
html:not(.mode-admin) .totals .grand { font-size: 20px; font-weight: 800; color: var(--deep); border-top: 1.5px solid var(--line); padding-top: 12px; margin-top: 4px; }
html:not(.mode-admin) .cod { margin-top: 14px; display: flex; gap: 8px; align-items: center; color: var(--muted); font-size: 14px; }
html:not(.mode-admin) .cod .ico { color: var(--leaf); }
html:not(.mode-admin) .form-error { color: var(--danger); font-weight: 600; margin-top: 12px; }
html:not(.mode-admin) .scrim { position: fixed; inset: 0; background: rgba(16, 34, 22, .45); z-index: 80; animation: fade .25s; }
@keyframes fade { from { opacity: 0; } }
html:not(.mode-admin) .drawer { position: fixed; top: 0; bottom: 0; inset-inline-end: 0; width: min(440px, 100vw); background: #fff; z-index: 90; display: flex; flex-direction: column; transform: translateX(105%); transition: transform .35s cubic-bezier(.2, .8, .2, 1); box-shadow: -20px 0 50px -20px rgba(0, 0, 0, .3); }
html:not(.mode-admin)[dir=rtl] .drawer { transform: translateX(-105%); }
html:not(.mode-admin) .drawer.open { transform: none !important; }
html:not(.mode-admin) .drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line); }
html:not(.mode-admin) .drawer-head h3 { margin: 0; font-size: 20px; color: var(--deep); }
html:not(.mode-admin) .drawer-body { flex: 1; overflow-y: auto; padding: 12px 20px; }
html:not(.mode-admin) .drawer-foot { padding: 16px 20px 20px; border-top: 1px solid var(--line); background: var(--mist); }
html:not(.mode-admin) .drawer-foot .totals { border: 0; padding: 0; margin-bottom: 14px; }
html:not(.mode-admin) .drawer-foot .btn + .btn { margin-top: 8px; }
html:not(.mode-admin) .c-line { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
html:not(.mode-admin) .c-line img { width: 70px; height: 70px; border-radius: 14px; object-fit: cover; background: var(--mint); }
html:not(.mode-admin) .c-line .top { display: flex; justify-content: space-between; gap: 8px; }
html:not(.mode-admin) .c-line b { font-size: 16px; line-height: 1.4; }
html:not(.mode-admin) .c-line .meta { font-size: 13px; color: var(--muted); }
html:not(.mode-admin) .c-line .row { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; gap: 8px; }
html:not(.mode-admin) .c-line .lt { font-weight: 800; color: var(--deep); }
html:not(.mode-admin) .c-line .rm { border: 0; background: none; color: var(--muted); width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; flex: none; }
html:not(.mode-admin) .c-line .rm:hover { background: #fdeceb; color: var(--danger); }
html:not(.mode-admin) .c-line .rm .ico { width: 18px; height: 18px; }
html:not(.mode-admin) .stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; }
html:not(.mode-admin) .stepper button { width: 40px; height: 40px; border: 0; background: none; border-radius: 50%; font-size: 20px; font-weight: 700; color: var(--deep); display: grid; place-items: center; }
html:not(.mode-admin) .stepper button:hover { background: var(--mist); }
html:not(.mode-admin) .stepper output { min-width: 32px; text-align: center; font-weight: 700; }
html:not(.mode-admin) .cart-empty { text-align: center; padding: 50px 10px; color: var(--muted); }
html:not(.mode-admin) .cart-empty .ico { width: 56px; height: 56px; color: var(--sprout); margin: 0 auto 12px; }
html:not(.mode-admin) .cart-empty b { display: block; color: var(--ink); font-size: 18px; margin-bottom: 4px; }
html:not(.mode-admin) .modal { position: fixed; inset: 0; z-index: 95; display: grid; place-items: center; padding: 16px; background: rgba(16, 34, 22, .5); animation: fade .25s; overflow-y: auto; }
html:not(.mode-admin) .modal-card { position: relative; background: #fff; border-radius: var(--r-lg); width: min(920px, 100%); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); overflow: hidden; animation: pop .35s cubic-bezier(.2, .8, .2, 1); max-height: calc(100vh - 32px); }
@keyframes pop { from { transform: translateY(18px) scale(.97); opacity: 0; } }
html:not(.mode-admin) .modal-card .m-img { background: var(--mist); position: relative; min-height: 100%; }
html:not(.mode-admin) .modal-card .m-img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1; }
html:not(.mode-admin) .modal-card .m-body { padding: clamp(20px, 3vw, 34px); display: flex; flex-direction: column; gap: 12px; overflow-y: auto; }
html:not(.mode-admin) .m-close { position: absolute; top: 12px; inset-inline-end: 12px; z-index: 3; background: rgba(255, 255, 255, .92); box-shadow: var(--shadow-sm); }
html:not(.mode-admin) .m-body h2 { margin: 0; font-size: clamp(24px, 3vw, 32px); line-height: 1.3; color: var(--deep); }
html:not(.mode-admin) .m-body .desc { color: var(--muted); margin: 0; white-space: pre-line; }
html:not(.mode-admin) .m-label { font-weight: 700; font-size: 15px; margin-top: 6px; }
html:not(.mode-admin) .variants { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
html:not(.mode-admin) .variant { border: 1.5px solid var(--line); background: #fff; border-radius: 16px; padding: 10px 14px; text-align: start; display: flex; flex-direction: column; gap: 2px; min-height: 64px; transition: border-color .2s, background .2s; }
html:not(.mode-admin) .variant:hover { border-color: var(--sprout); }
html:not(.mode-admin) .variant.on { border-color: var(--deep); background: var(--mist); box-shadow: inset 0 0 0 1px var(--deep); }
html:not(.mode-admin) .variant b { font-size: 15px; }
html:not(.mode-admin) .variant span { font-size: 14px; color: var(--deep); font-weight: 700; }
html:not(.mode-admin) .variant s { font-size: 12px; color: var(--muted); font-weight: 500; margin-inline-start: 4px; }
html:not(.mode-admin) .m-buy { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 12px; flex-wrap: wrap; }
html:not(.mode-admin) .m-buy .btn { flex: 1; }
html:not(.mode-admin) .m-total { font-size: 14px; color: var(--muted); }
html:not(.mode-admin) .m-total b { color: var(--deep); font-size: 18px; }
html:not(.mode-admin) .success { position: fixed; inset: 0; z-index: 100; background: rgba(16, 34, 22, .55); display: grid; place-items: center; padding: 16px; animation: fade .3s; overflow: hidden; }
html:not(.mode-admin) .success-card { position: relative; background: #fff; border-radius: 32px; padding: clamp(26px, 4vw, 44px); width: min(480px, 100%); text-align: center; animation: pop .5s cubic-bezier(.2, .9, .3, 1.2); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .5); }
html:not(.mode-admin) .check { width: 108px; height: 108px; margin: 0 auto 6px; display: block; }
html:not(.mode-admin) .check-ring { fill: var(--mint); stroke: var(--leaf); stroke-width: 5; stroke-dasharray: 330; stroke-dashoffset: 330; animation: draw 0.8s .15s ease-out forwards; }
html:not(.mode-admin) .check-mark { fill: none; stroke: var(--deep); stroke-width: 8; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 80; stroke-dashoffset: 80; animation: draw .5s .85s ease-out forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
html:not(.mode-admin) .success-card h2 { margin: 4px 0 14px; color: var(--deep); font-size: 26px; }
html:not(.mode-admin) .road { position: relative; height: 40px; margin: 0 auto 10px; width: 80%; border-bottom: 3px dashed var(--mint); overflow: hidden; }
html:not(.mode-admin) .truck { position: absolute; bottom: 3px; width: 54px; height: 31px; fill: var(--leaf); left: -60px; animation: drive 2.4s 1s cubic-bezier(.4, 0, .2, 1) forwards; }
html:not(.mode-admin) .truck circle { fill: var(--deep); stroke: #fff; stroke-width: 2; }
@keyframes drive { to { left: calc(100% - 56px); } }
html:not(.mode-admin) .success-msg { font-size: clamp(19px, 2.4vw, 22px); font-weight: 800; color: var(--forest); margin: 0 0 6px; line-height: 1.5; opacity: 0; animation: rise .6s 1.3s forwards; }
html:not(.mode-admin) .success-sub { color: var(--muted); margin: 0 0 16px; font-size: 15px; opacity: 0; animation: rise .6s 1.5s forwards; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
html:not(.mode-admin) .success-no { display: inline-flex; gap: 8px; align-items: center; background: var(--mist); padding: 8px 18px; border-radius: 999px; font-size: 15px; margin-bottom: 20px; }
html:not(.mode-admin) .success-no b { color: var(--deep); font-size: 18px; direction: ltr; }
html:not(.mode-admin) .success-actions { display: grid; gap: 10px; }
html:not(.mode-admin) .success-leaves i { position: absolute; top: -40px; width: 22px; height: 14px; background: var(--sprout); border-radius: 0 100% 0 100%; animation: fall 3.6s linear forwards; opacity: .9; }
html:not(.mode-admin) .success-leaves i:nth-child(1) { left: 8%; animation-delay: .2s; }
html:not(.mode-admin) .success-leaves i:nth-child(2) { left: 22%; animation-delay: .9s; background: var(--leaf); }
html:not(.mode-admin) .success-leaves i:nth-child(3) { left: 36%; animation-delay: .4s; }
html:not(.mode-admin) .success-leaves i:nth-child(4) { left: 50%; animation-delay: 1.3s; background: var(--mint); }
html:not(.mode-admin) .success-leaves i:nth-child(5) { left: 64%; animation-delay: .6s; background: var(--leaf); }
html:not(.mode-admin) .success-leaves i:nth-child(6) { left: 76%; animation-delay: 1.1s; }
html:not(.mode-admin) .success-leaves i:nth-child(7) { left: 88%; animation-delay: .3s; background: var(--mint); }
html:not(.mode-admin) .success-leaves i:nth-child(8) { left: 95%; animation-delay: 1.6s; }
@keyframes fall { to { transform: translateY(110vh) rotate(540deg); } }
html:not(.mode-admin) .toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 120; background: var(--deep); color: #fff; padding: 12px 22px; border-radius: 999px; font-weight: 600; box-shadow: var(--shadow); display: flex; align-items: center; gap: 10px; animation: rise .3s; max-width: calc(100vw - 32px); }
html:not(.mode-admin) .toast .ico { color: var(--sprout); }
html:not(.mode-admin) .site-footer { position: relative; background: var(--deep); color: #d9e9d5; margin-top: 60px; }
html:not(.mode-admin) .footer-wave { position: absolute; top: -59px; left: 0; width: 100%; height: 60px; fill: var(--deep); }
html:not(.mode-admin) .footer-inner { max-width: var(--max); margin-inline: auto; padding: 44px max(4vw, 16px) 28px; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1.2fr); gap: 32px; }
html:not(.mode-admin) .f-col { display: flex; flex-direction: column; gap: 8px; }
html:not(.mode-admin) .f-col h4 { margin: 0 0 6px; color: #fff; font-size: 17px; }
html:not(.mode-admin) .f-col a { color: #c4dcc0; min-height: 30px; display: inline-flex; align-items: center; gap: 8px; }
html:not(.mode-admin) .f-col a:hover { color: #fff; }
html:not(.mode-admin) .f-col .ico { width: 18px; height: 18px; color: var(--sprout); }
html:not(.mode-admin) .f-id { display: inline-flex; flex-direction: column; align-items: center; gap: 10px; align-self: flex-start; margin-bottom: 4px; }
html:not(.mode-admin) .f-brand strong { color: #fff; font-size: 20px; white-space: nowrap; font-family: "Vazirmatn", "Segoe UI", system-ui, sans-serif; }
html:not(.mode-admin) .f-brand p { margin: 0; color: #b5cfb1; max-width: 26em; }
html:not(.mode-admin) .f-logo { width: 74px; height: 74px; border-radius: 50%; background: #fff; display: grid; place-items: center; }
html:not(.mode-admin) .f-logo img { width: 58px; }
html:not(.mode-admin) .f-ltr { direction: ltr; unicode-bidi: isolate; }
html:not(.mode-admin) .footer-bottom { max-width: var(--max); margin-inline: auto; padding: 18px max(4vw, 16px) 26px; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: #9fbe9a; flex-wrap: wrap; }
html:not(.mode-admin) .admin-link { display: inline-flex; align-items: center; gap: 5px; color: #8fae8a; font-size: 12px; padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .14); opacity: .8; }
html:not(.mode-admin) .admin-link:hover { opacity: 1; color: #fff; }
html:not(.mode-admin) .admin-link .ico { width: 13px; height: 13px; }
html:not(.mode-admin) .socials { display: flex; gap: 8px; margin-top: 6px; }
html:not(.mode-admin) .socials a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .08); justify-content: center; }
@media (max-width: 1080px) {
html:not(.mode-admin) .search input { width: 180px; }
html:not(.mode-admin) .search input:focus { width: 210px; }
html:not(.mode-admin) .main-nav a { padding: 10px 12px; }
}
@media (max-width: 920px) {
html:not(.mode-admin) .main-nav { display: none; }
html:not(.mode-admin) .burger { display: inline-grid; }
html:not(.mode-admin) .hdr { grid-template-columns: auto 1fr; }
html:not(.mode-admin) .hdr-actions { justify-self: end; }
html:not(.mode-admin) .search { display: none; }
html:not(.mode-admin) .search-toggle { display: inline-grid; }
html:not(.mode-admin) .search.open { display: flex; position: absolute; top: var(--hdr-h); left: 0; right: 0; padding: 10px max(3vw, 14px); background: #fff; border-bottom: 1px solid var(--line); }
html:not(.mode-admin) .search.open .ico { inset-inline-start: calc(max(3vw, 14px) + 14px); }
html:not(.mode-admin) .search.open input, html:not(.mode-admin) .search.open input:focus { width: 100%; }
html:not(.mode-admin) .search.open .search-results { right: max(3vw, 14px); left: max(3vw, 14px); width: auto; }
html:not(.mode-admin) .hero { align-items: flex-end; min-height: clamp(560px, 86vh, 720px); }
html:not(.mode-admin) .hero-bg { inset: 0; }
html:not(.mode-admin) .hero-shade { background: linear-gradient(0deg, rgba(12, 36, 20, .96) 0%, rgba(16, 46, 26, .82) 38%, rgba(23, 63, 38, .2) 72%, rgba(23, 63, 38, .05) 100%); }
html:not(.mode-admin) .hero-bg img { object-position: 45% 30%; }
html:not(.mode-admin) .trust-card { grid-template-columns: minmax(0, 1fr); gap: 4px; }
html:not(.mode-admin) .trust-item + .trust-item { border-inline-start: 0; border-top: 1px solid var(--line); }
html:not(.mode-admin) .trust-item { padding: 12px 6px; }
html:not(.mode-admin) .about-grid, html:not(.mode-admin) .checkout-grid { grid-template-columns: minmax(0, 1fr); }
html:not(.mode-admin) .summary { position: static; }
html:not(.mode-admin) .footer-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
html:not(.mode-admin) .f-brand { grid-column: 1 / -1; }
html:not(.mode-admin) .modal-card { grid-template-columns: minmax(0, 1fr); }
html:not(.mode-admin) .modal-card .m-img img { aspect-ratio: 16 / 11; }
}
@media (max-width: 600px) {
html:not(.mode-admin) { --hdr-h: 66px; }
html:not(.mode-admin) .brand img { width: 42px; }
html:not(.mode-admin) .brand-name { font-size: 17px; }
html:not(.mode-admin) .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
html:not(.mode-admin) .card { padding: 6px 6px 12px; border-radius: 20px; }
html:not(.mode-admin) .card-img { border-radius: 15px; }
html:not(.mode-admin) .card-body { padding: 10px 4px 0; }
html:not(.mode-admin) .card-title { font-size: 15px; }
html:not(.mode-admin) .price b { font-size: 15px; }
html:not(.mode-admin) .add-btn { width: 40px; height: 40px; }
html:not(.mode-admin) .disc-badge { top: 8px; inset-inline-start: 8px; font-size: 12px; padding: 3px 9px; }
html:not(.mode-admin) .form-grid { grid-template-columns: minmax(0, 1fr); }
html:not(.mode-admin) .hero-badge { margin-bottom: 16px; }
html:not(.mode-admin) .hero p.lead { margin-bottom: 26px; }
html:not(.mode-admin) .modal { padding: 0; align-items: end; }
html:not(.mode-admin) .modal-card { border-radius: 26px 26px 0 0; max-height: 92vh; }
html:not(.mode-admin) .footer-inner { grid-template-columns: minmax(0, 1fr); }
html:not(.mode-admin) .hero-actions .btn { flex: 1 1 auto; }
html:not(.mode-admin) .hero-actions .btn-glass { flex-basis: 100%; }
html:not(.mode-admin) .page-hero .deco { display: none; }
}
@media (max-width: 360px) {
html:not(.mode-admin) .brand-name { display: none; }
}
@media (prefers-reduced-motion: reduce) {
html:not(.mode-admin) *, html:not(.mode-admin) *::before, html:not(.mode-admin) *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
html:not(.mode-admin) .success-leaves { display: none; }
html:not(.mode-admin) .truck { left: calc(100% - 56px); }
html:not(.mode-admin) .success-msg, html:not(.mode-admin) .success-sub { opacity: 1; }
html:not(.mode-admin) .hero-bg img { animation: none; }
html:not(.mode-admin) .check-ring, html:not(.mode-admin) .check-mark { stroke-dashoffset: 0; }
}
@media print {
html:not(.mode-admin) .site-header, html:not(.mode-admin) .site-footer, html:not(.mode-admin) .drawer, html:not(.mode-admin) .scrim { display: none !important; }
}
html:not(.mode-admin) .dev-credit { display: flex; align-items: center; justify-content: center; gap: 10px; direction: ltr; padding: 12px 16px 22px; border-top: 1px solid rgba(255, 255, 255, .08); font: 500 13px/1 "Vazirmatn", "Segoe UI", system-ui, sans-serif; color: #9fbe9a; letter-spacing: .02em; }
html:not(.mode-admin) .dev-wa { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; transition: transform .2s, box-shadow .2s; box-shadow: 0 6px 16px -6px rgba(37, 211, 102, .6); }
html:not(.mode-admin) .dev-wa:hover { transform: scale(1.08); }
html:not(.mode-admin) .dev-wa svg { width: 19px; height: 19px; }

html.mode-admin { color-scheme: light; --deep: #173f26; --forest: #1f5a33; --leaf: #3f8a45; --sprout: #8cc272; --mint: #dcefd0; --mist: #f3f9ef; --ink: #18261c; --muted: #5d6e62; --line: #e1ebdb; --bg: #f6faf3; --honey: #c9831c; --danger: #b4322a; --blue: #2f6fb3; --font: "Rabar", "Vazirmatn", "Noto Sans Arabic", "Segoe UI", Tahoma, system-ui, sans-serif; --shadow: 0 12px 34px -16px rgba(23, 63, 38, .35); }
html.mode-admin * { box-sizing: border-box; min-width: 0; }
html.mode-admin body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.65 var(--font); overflow-x: clip; -webkit-font-smoothing: antialiased; }
html.mode-admin a { color: inherit; text-decoration: none; }
html.mode-admin button, html.mode-admin input, html.mode-admin select, html.mode-admin textarea { font: inherit; color: inherit; }
html.mode-admin button { cursor: pointer; }
html.mode-admin img { max-width: 100%; display: block; }
html.mode-admin [hidden] { display: none !important; }
html.mode-admin :focus-visible { outline: 3px solid var(--sprout); outline-offset: 2px; border-radius: 8px; }
html.mode-admin .ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
html.mode-admin .muted { color: var(--muted); }
html.mode-admin .num { font-variant-numeric: tabular-nums; white-space: nowrap; }
html.mode-admin .ltr { direction: ltr; unicode-bidi: isolate; }
html.mode-admin .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 8px 20px; border-radius: 12px; border: 0; font-weight: 700; white-space: nowrap; transition: background .2s, transform .1s; }
html.mode-admin .btn:active { transform: scale(.98); }
html.mode-admin .btn-sm { min-height: 40px; padding: 6px 14px; font-size: 14px; }
html.mode-admin .btn-primary { background: var(--deep); color: #fff; }
html.mode-admin .btn-primary:hover { background: var(--forest); }
html.mode-admin .btn-light { background: var(--mint); color: var(--deep); }
html.mode-admin .btn-light:hover { background: #cde6bd; }
html.mode-admin .btn-ghost { background: #fff; color: var(--deep); border: 1.5px solid var(--line); }
html.mode-admin .btn-ghost:hover { border-color: var(--sprout); }
html.mode-admin .btn-danger { background: #fdeceb; color: var(--danger); }
html.mode-admin .btn-danger:hover { background: #f9d6d3; }
html.mode-admin .btn-block { width: 100%; }
html.mode-admin .btn[disabled] { opacity: .55; pointer-events: none; }
html.mode-admin .icon-btn { width: 40px; height: 40px; border-radius: 10px; border: 0; background: transparent; display: inline-grid; place-items: center; color: var(--deep); }
html.mode-admin .icon-btn:hover { background: var(--mist); }
html.mode-admin .icon-btn.danger:hover { background: #fdeceb; color: var(--danger); }
html.mode-admin .login { min-height: 100vh; display: grid; place-items: center; padding: 20px; background: radial-gradient(circle at 20% 10%, var(--mint), transparent 50%), var(--bg); }
html.mode-admin .login-card { width: min(400px, 100%); background: #fff; border-radius: 24px; padding: 32px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 14px; text-align: center; }
html.mode-admin .login-card img { margin: 0 auto; }
html.mode-admin .login-card h1 { margin: 0; color: var(--deep); font-size: 24px; }
html.mode-admin .login-card .muted { margin: -10px 0 6px; direction: ltr; }
html.mode-admin .login-card .fld { text-align: start; }
html.mode-admin .err { color: var(--danger); font-weight: 600; margin: 0; }
html.mode-admin .demo-hint { font-size: 13px; background: var(--mist); border-radius: 12px; padding: 10px; margin: 0; color: var(--muted); }
html.mode-admin .app { display: grid; grid-template-columns: 250px minmax(0, 1fr); min-height: 100vh; }
html.mode-admin .side { background: var(--deep); color: #d5e7d1; display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; padding: 18px 14px; z-index: 40; }
html.mode-admin .side-brand { display: flex; align-items: center; gap: 10px; padding: 6px 8px 18px; border-bottom: 1px solid rgba(255, 255, 255, .1); margin-bottom: 12px; }
html.mode-admin .side-brand img { background: #fff; border-radius: 50%; padding: 4px; width: 44px; height: 44px; object-fit: contain; }
html.mode-admin .side-brand span { font-size: 18px; color: var(--sprout); font-weight: 600; }
html.mode-admin .side-brand b { color: #fff; }
html.mode-admin .side-nav { display: flex; flex-direction: column; gap: 2px; flex: 1; overflow-y: auto; }
html.mode-admin .side-nav a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px; font-weight: 600; color: #c4dcc0; min-height: 44px; }
html.mode-admin .side-nav a:hover { background: rgba(255, 255, 255, .06); color: #fff; }
html.mode-admin .side-nav a.active { background: var(--sprout); color: var(--deep); }
html.mode-admin .side-nav .pill { margin-inline-start: auto; background: var(--honey); color: #fff; border-radius: 999px; padding: 0 8px; font-size: 12px; line-height: 20px; }
html.mode-admin .side-foot { padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .1); display: grid; gap: 10px; }
html.mode-admin .mode { font-size: 12px; text-align: center; padding: 6px; border-radius: 10px; background: rgba(255, 255, 255, .08); }
html.mode-admin .main { display: flex; flex-direction: column; min-height: 100vh; }
html.mode-admin .topbar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 12px; padding: 14px clamp(16px, 3vw, 32px); background: rgba(246, 250, 243, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
html.mode-admin .topbar h1 { margin: 0; font-size: 22px; color: var(--deep); flex: 1; }
html.mode-admin .top-actions { display: flex; gap: 8px; }
html.mode-admin .menu-btn { display: none; }
html.mode-admin .content { padding: clamp(16px, 3vw, 32px); display: grid; gap: 20px; align-content: start; }
html.mode-admin .side-scrim { position: fixed; inset: 0; background: rgba(0, 0, 0, .35); z-index: 35; }
html.mode-admin .panel { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: clamp(16px, 2.4vw, 24px); }
html.mode-admin .panel h2 { margin: 0 0 4px; font-size: 18px; color: var(--deep); }
html.mode-admin .panel .sub { margin: 0 0 16px; color: var(--muted); font-size: 14px; }
html.mode-admin .panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
html.mode-admin .panel-head h2 { margin: 0; }
html.mode-admin .row-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
html.mode-admin .row-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
html.mode-admin .period { display: inline-flex; background: #fff; border: 1.5px solid var(--line); border-radius: 14px; padding: 4px; gap: 2px; flex-wrap: wrap; }
html.mode-admin .period button { border: 0; background: none; min-height: 38px; padding: 4px 16px; border-radius: 10px; font-weight: 700; color: var(--muted); }
html.mode-admin .period button.on { background: var(--deep); color: #fff; }
html.mode-admin .kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
html.mode-admin .kpi { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; }
html.mode-admin .kpi span { display: block; color: var(--muted); font-size: 13px; font-weight: 600; }
html.mode-admin .kpi b { display: block; font-size: clamp(20px, 2.3vw, 28px); color: var(--deep); line-height: 1.3; margin-top: 4px; }
html.mode-admin .kpi small { color: var(--muted); font-size: 12px; }
html.mode-admin .kpi.hero { background: var(--deep); border-color: var(--deep); }
html.mode-admin .kpi.hero span, html.mode-admin .kpi.hero small { color: #bcd6b9; }
html.mode-admin .kpi.hero b { color: #fff; }
html.mode-admin .cols { display: flex; align-items: flex-end; gap: 3px; height: 200px; padding-top: 10px; border-bottom: 1.5px solid var(--line); direction: ltr; }
html.mode-admin .col { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; position: relative; min-width: 4px; }
html.mode-admin .col i { display: block; width: 100%; max-width: 34px; background: var(--sprout); border-radius: 6px 6px 2px 2px; min-height: 2px; transition: height .4s; }
html.mode-admin .col:hover i { background: var(--leaf); }
html.mode-admin .col .tip { position: absolute; bottom: calc(100% + 4px); background: var(--deep); color: #fff; font-size: 12px; padding: 4px 8px; border-radius: 8px; white-space: nowrap; opacity: 0; pointer-events: none; transform: translateY(4px); transition: .15s; z-index: 2; direction: rtl; }
html.mode-admin .col:hover .tip { opacity: 1; transform: none; }
html.mode-admin .col-labels { display: flex; gap: 3px; direction: ltr; margin-top: 6px; }
html.mode-admin .col-labels span { flex: 1; text-align: center; font-size: 11px; color: var(--muted); overflow: hidden; white-space: nowrap; }
html.mode-admin .bars { display: grid; gap: 10px; }
html.mode-admin .bar-row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr) auto; gap: 12px; align-items: center; }
html.mode-admin .bar-row .nm b { display: block; font-size: 14px; }
html.mode-admin .bar-row .nm span { font-size: 12px; color: var(--muted); }
html.mode-admin .bar-track { height: 12px; background: var(--mist); border-radius: 6px; overflow: hidden; }
html.mode-admin .bar-track i { display: block; height: 100%; background: var(--leaf); border-radius: 6px; }
html.mode-admin .bar-row .val { font-weight: 700; text-align: end; font-size: 14px; }
html.mode-admin .facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
html.mode-admin .fact { border: 1px solid var(--line); border-radius: 16px; padding: 14px; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 12px; align-items: center; }
html.mode-admin .fact img { width: 48px; height: 48px; border-radius: 12px; object-fit: cover; background: var(--mint); }
html.mode-admin .fact span { display: block; font-size: 12px; color: var(--muted); font-weight: 600; }
html.mode-admin .fact b { display: block; font-size: 15px; line-height: 1.4; }
html.mode-admin .fact em { font-style: normal; font-size: 13px; color: var(--leaf); font-weight: 700; }
html.mode-admin .statuses { display: flex; flex-wrap: wrap; gap: 8px; }
html.mode-admin .tbl-wrap { overflow-x: auto; }
html.mode-admin table { width: 100%; border-collapse: collapse; }
html.mode-admin th { text-align: start; font-size: 13px; color: var(--muted); font-weight: 600; padding: 10px 12px; border-bottom: 1.5px solid var(--line); white-space: nowrap; }
html.mode-admin td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
html.mode-admin tr.click { cursor: pointer; }
html.mode-admin tr.click:hover td { background: var(--mist); }
html.mode-admin td.end, html.mode-admin th.end { text-align: end; }
html.mode-admin .thumb { width: 48px; height: 48px; border-radius: 12px; object-fit: cover; background: var(--mint); }
html.mode-admin .prod-cell { display: flex; align-items: center; gap: 12px; }
html.mode-admin .prod-cell b { display: block; }
html.mode-admin .prod-cell span { font-size: 12px; color: var(--muted); }
html.mode-admin .tags { display: flex; flex-wrap: wrap; gap: 4px; }
html.mode-admin .tag { display: inline-flex; align-items: center; gap: 4px; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--mist); color: var(--deep); white-space: nowrap; }
html.mode-admin .tag.honey { background: #fbefd9; color: #8a5508; }
html.mode-admin .tag.off { background: #eee; color: #777; }
html.mode-admin .st { display: inline-flex; padding: 3px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; }
html.mode-admin .st-new { background: #fbefd9; color: #8a5508; }
html.mode-admin .st-confirmed { background: #e2edf9; color: var(--blue); }
html.mode-admin .st-delivering { background: #e9e4f7; color: #5b3fa6; }
html.mode-admin .st-delivered { background: var(--mint); color: var(--deep); }
html.mode-admin .st-cancelled { background: #f1e1df; color: var(--danger); }
html.mode-admin .st-select { border: 1.5px solid var(--line); border-radius: 10px; min-height: 38px; padding: 4px 8px; background: #fff; font-weight: 600; }
html.mode-admin .toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
html.mode-admin .toolbar .grow { flex: 1 1 220px; }
html.mode-admin .inp, html.mode-admin .fld input, html.mode-admin .fld select, html.mode-admin .fld textarea { width: 100%; min-height: 44px; border: 1.5px solid var(--line); border-radius: 12px; padding: 8px 12px; background: #fff; font-size: 16px; outline: none; }
html.mode-admin .inp:focus, html.mode-admin .fld input:focus, html.mode-admin .fld select:focus, html.mode-admin .fld textarea:focus { border-color: var(--sprout); }
html.mode-admin .fld textarea { min-height: 110px; resize: vertical; line-height: 1.7; }
html.mode-admin .fld { display: flex; flex-direction: column; gap: 6px; }
html.mode-admin .fld > span { font-weight: 700; font-size: 14px; }
html.mode-admin .fld small { color: var(--muted); font-size: 12px; }
html.mode-admin .fld.inline { flex-direction: row; align-items: center; gap: 10px; }
html.mode-admin .chips { display: flex; flex-wrap: wrap; gap: 6px; }
html.mode-admin .chip { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 14px; font-weight: 600; font-size: 14px; color: var(--muted); min-height: 40px; }
html.mode-admin .chip.on { background: var(--deep); color: #fff; border-color: var(--deep); }
html.mode-admin .chip small { opacity: .75; }
html.mode-admin .form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
html.mode-admin .form-grid .full { grid-column: 1 / -1; }
html.mode-admin .switch { position: relative; display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 600; min-height: 40px; }
html.mode-admin .switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
html.mode-admin .switch i { width: 44px; height: 26px; border-radius: 13px; background: #cfd8cc; position: relative; transition: background .2s; flex: none; }
html.mode-admin .switch i::after { content: ""; position: absolute; top: 3px; right: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); }
html.mode-admin .switch input:checked + i { background: var(--leaf); }
html.mode-admin .switch input:checked + i::after { transform: translateX(-18px); }
html.mode-admin .switch input:focus-visible + i { outline: 3px solid var(--sprout); outline-offset: 2px; }
html.mode-admin .img-pick { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 14px; align-items: center; }
html.mode-admin .img-pick .pv { width: 120px; height: 120px; border-radius: 16px; background: var(--mist) center/cover no-repeat; border: 1.5px dashed var(--sprout); display: grid; place-items: center; color: var(--muted); font-size: 12px; overflow: hidden; }
html.mode-admin .img-pick .pv img { width: 100%; height: 100%; object-fit: cover; }
html.mode-admin .img-pick.wide { grid-template-columns: minmax(0, 1fr); }
html.mode-admin .img-pick.wide .pv { width: 100%; height: 220px; }
html.mode-admin .img-pick .acts { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
html.mode-admin .file-btn { position: relative; overflow: hidden; }
html.mode-admin .file-btn input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
html.mode-admin .vars { display: grid; gap: 8px; }
html.mode-admin .var-row { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 1fr) 40px; gap: 8px; align-items: center; background: var(--mist); padding: 8px; border-radius: 14px; }
html.mode-admin .var-row input, html.mode-admin .var-row select { min-height: 42px; }
html.mode-admin .var-row .after { font-size: 13px; color: var(--muted); text-align: center; line-height: 1.3; }
html.mode-admin .var-row .after b { color: var(--deep); display: block; font-size: 14px; }
html.mode-admin .var-head { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 1fr) 40px; gap: 8px; font-size: 12px; color: var(--muted); font-weight: 700; padding: 0 8px; }
html.mode-admin .plist { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
html.mode-admin .pcard { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 12px; display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 12px; }
html.mode-admin .pcard.hidden-p { opacity: .6; }
html.mode-admin .pcard img { width: 76px; height: 76px; border-radius: 14px; object-fit: cover; background: var(--mint); }
html.mode-admin .pcard h3 { margin: 0; font-size: 16px; line-height: 1.4; }
html.mode-admin .pcard .cat { font-size: 12px; color: var(--leaf); font-weight: 700; }
html.mode-admin .pcard .prices { font-size: 13px; color: var(--muted); margin: 4px 0; }
html.mode-admin .pcard .prices b { color: var(--deep); }
html.mode-admin .pcard .prices s { font-size: 12px; }
html.mode-admin .pcard .acts { grid-column: 1 / -1; display: flex; gap: 6px; border-top: 1px solid var(--line); padding-top: 10px; align-items: center; }
html.mode-admin .pcard .acts .grow { flex: 1; }
html.mode-admin .order-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; align-items: center; }
html.mode-admin .cust { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; background: var(--mist); border-radius: 14px; padding: 14px; margin: 14px 0; }
html.mode-admin .cust span { display: block; font-size: 12px; color: var(--muted); font-weight: 600; }
html.mode-admin .cust b { font-size: 15px; }
html.mode-admin .cust .full { grid-column: 1 / -1; }
html.mode-admin .inv-lines { width: 100%; }
html.mode-admin .inv-lines td { padding: 8px 6px; font-size: 14px; }
html.mode-admin .inv-tot { display: grid; gap: 6px; margin-top: 12px; }
html.mode-admin .inv-tot div { display: flex; justify-content: space-between; }
html.mode-admin .inv-tot .grand { font-size: 18px; font-weight: 800; color: var(--deep); border-top: 1.5px solid var(--line); padding-top: 8px; }
html.mode-admin .inv-tot .disc { color: var(--honey); }
html.mode-admin .o-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
html.mode-admin .dlg { position: fixed; inset: 0; background: rgba(16, 34, 22, .5); z-index: 100; display: grid; place-items: center; padding: 16px; overflow-y: auto; }
html.mode-admin .dlg-card { background: #fff; border-radius: 22px; width: min(760px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; padding: clamp(18px, 3vw, 28px); animation: adm-pop .3s cubic-bezier(.2, .8, .2, 1); }
html.mode-admin .dlg-card.sm { width: min(420px, 100%); }
@keyframes adm-pop { from { transform: translateY(14px); opacity: 0; } }
html.mode-admin .dlg-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 16px; }
html.mode-admin .dlg-head h2 { margin: 0; font-size: 20px; color: var(--deep); }
html.mode-admin .dlg-foot { display: flex; gap: 10px; justify-content: flex-end; margin-top: 20px; flex-wrap: wrap; position: sticky; bottom: -28px; background: #fff; padding: 12px 0 4px; }
html.mode-admin .toast { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 120; background: var(--deep); color: #fff; padding: 12px 22px; border-radius: 999px; font-weight: 600; box-shadow: var(--shadow); max-width: calc(100vw - 32px); animation: adm-pop .3s; }
html.mode-admin .toast.bad { background: var(--danger); }
html.mode-admin .empty { text-align: center; padding: 40px 16px; color: var(--muted); }
html.mode-admin .note { background: var(--mist); border-radius: 12px; padding: 10px 14px; font-size: 13px; color: var(--muted); }
html.mode-admin .note.warn { background: #fbefd9; color: #7a4b07; }
html.mode-admin .preview-banner { border-radius: 18px; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); background: var(--mist); }
html.mode-admin .preview-banner .tx { padding: 22px; }
html.mode-admin .preview-banner h3 { margin: 0 0 8px; color: var(--deep); font-size: 22px; line-height: 1.3; }
html.mode-admin .preview-banner p { margin: 0; color: var(--muted); font-size: 14px; }
html.mode-admin .preview-banner .im { min-height: 180px; background: var(--mint) center/cover no-repeat; }
html.mode-admin #printArea { display: none; }
@media (max-width: 1100px) {
html.mode-admin .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
html.mode-admin .app { grid-template-columns: minmax(0, 1fr); }
html.mode-admin .side { position: fixed; top: 0; bottom: 0; right: 0; width: 270px; transform: translateX(105%); transition: transform .3s; }
html.mode-admin .side.open { transform: none; }
html.mode-admin .menu-btn { display: inline-grid; }
html.mode-admin .row-2, html.mode-admin .row-3 { grid-template-columns: minmax(0, 1fr); }
html.mode-admin .top-actions .btn span { display: none; }
}
@media (max-width: 600px) {
html.mode-admin .form-grid, html.mode-admin .facts, html.mode-admin .cust { grid-template-columns: minmax(0, 1fr); }
html.mode-admin .kpi b { font-size: 20px; }
html.mode-admin .var-head { display: none; }
html.mode-admin .var-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
html.mode-admin .var-row .after { grid-column: 1 / 2; text-align: start; }
html.mode-admin .bar-row { grid-template-columns: minmax(0, 1fr) auto; }
html.mode-admin .bar-row .bar-track { grid-column: 1 / -1; grid-row: 2; }
html.mode-admin .preview-banner { grid-template-columns: minmax(0, 1fr); }
html.mode-admin table.stack thead { display: none; }
html.mode-admin table.stack tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; padding: 10px 0; border-bottom: 1px solid var(--line); }
html.mode-admin table.stack td { border: 0; padding: 2px 4px; }
html.mode-admin .topbar h1 { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
html.mode-admin * { animation: none !important; transition: none !important; }
}
@media print {
html.mode-admin body > *:not(#printArea) { display: none !important; }
html.mode-admin #printArea { display: block !important; padding: 20px; font-size: 14px; }
html.mode-admin #printArea h1 { font-size: 20px; margin: 0; }
html.mode-admin #printArea table { width: 100%; border-collapse: collapse; margin-top: 12px; }
html.mode-admin #printArea td, html.mode-admin #printArea th { border: 1px solid #ccc; padding: 6px; }
}