/* AMEER — sayt uslublari. Mobil birinchi. Tashqi shrift yuklanmaydi (tezlik uchun). */
:root {
  --g-bright: #72C92B;   /* brend: yorqin yashil */
  --g-brand: #00A859;    /* brend: to‘yingan yashil */
  --g-deep: #00733D;     /* matn va tugmalar uchun (oq fonda kontrast ≥ 5:1) */
  --g-ink: #08331F;      /* eng to‘q yashil: sarlavhalar, footer */
  --g-tint: #EEF7E6;
  --g-tint-2: #E1F2D3;
  --bg: #FAFBF6;
  --surface: #FFFFFF;
  --text: #13221A;
  --muted: #4A5D52;
  --line: #E1E8DA;
  --warn: #8A5A00;
  --radius-s: 12px;
  --radius: 20px;
  --radius-l: 32px;
  --shadow-s: 0 1px 2px rgba(8, 51, 31, .06), 0 2px 8px rgba(8, 51, 31, .05);
  --shadow: 0 2px 4px rgba(8, 51, 31, .05), 0 12px 32px rgba(8, 51, 31, .09);
  --ease: cubic-bezier(.22, .8, .24, 1);
  --ease-spring: cubic-bezier(.34, 1.4, .5, 1);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  --container: 1200px;
  --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; font-family: var(--font); font-size: 1rem; line-height: 1.6; color: var(--text); background: var(--bg);
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--g-deep); text-underline-offset: .18em; }
h1, h2, h3, h4 { color: var(--g-ink); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.02em; overflow-wrap: anywhere; hyphens: auto; }
h1 { font-size: clamp(2rem, 6.2vw, 3.6rem); font-weight: 850; letter-spacing: -.035em; }
h2, .h2 { font-size: clamp(1.5rem, 3.6vw, 2.25rem); font-weight: 800; }
h3, .h3 { font-size: 1.15rem; font-weight: 750; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
.narrow { max-width: 820px; }
:focus-visible { outline: 3px solid var(--g-brand); outline-offset: 3px; border-radius: 6px; }
main:focus { outline: none; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--g-ink); color: #fff; padding: 10px 16px; border-radius: 10px; transition: top .2s var(--ease); }
.skip:focus { top: 12px; }
.demo-banner { background: #FFF4D6; color: #5C3D00; font-size: .85rem; font-weight: 600; text-align: center; padding: 8px 16px; border-bottom: 1px solid #F0DCA4; }

/* ---------- Tugmalar ---------- */
.btn {
  --bg-btn: var(--surface); --fg-btn: var(--g-ink);
  display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: 0 22px;
  border: 0; border-radius: 999px; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
  background: var(--bg-btn); color: var(--fg-btn); white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0) scale(.97); box-shadow: none; transition-duration: .08s; }
.btn .icon { transition: transform .3s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 1.05rem; }
.btn--primary { --bg-btn: var(--g-deep); --fg-btn: #fff; }
.btn--primary:hover { --bg-btn: #00602F; }
.btn--ghost { --bg-btn: transparent; --fg-btn: var(--g-ink); box-shadow: inset 0 0 0 2px var(--line); }
.btn--ghost:hover { box-shadow: inset 0 0 0 2px var(--g-bright), var(--shadow-s); }
.btn--light { --bg-btn: #fff; --fg-btn: var(--g-ink); }
.btn--outline-light { --bg-btn: transparent; --fg-btn: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .55); }
.btn--outline-light:hover { box-shadow: inset 0 0 0 2px #fff; }

.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; border: 0; padding: 0;
  background: transparent; color: var(--g-ink); cursor: pointer; transition: background-color .2s, transform .2s var(--ease);
}
.icon-btn:hover { background: var(--g-tint); }
.icon-btn:active { transform: scale(.9); }
.icon-btn--ghost { color: #fff; background: rgba(255, 255, 255, .1); }
.icon-btn--ghost:hover { background: rgba(255, 255, 255, .2); }

.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; text-decoration: none; min-height: 44px; }
.link-arrow .icon { transition: transform .3s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }
.link-arrow:hover { text-decoration: underline; }

/* ---------- Sarlavha (header) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40; background: rgba(250, 251, 246, .86);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 20px rgba(8, 51, 31, .05); }
.header-row { display: flex; align-items: center; gap: 16px; height: var(--header-h); }
.brand { display: block; flex-shrink: 0; padding: 6px 0; }
.brand img { width: 128px; height: auto; transition: transform .35s var(--ease); }
.brand:hover img { transform: scale(1.03); }
.main-nav { display: none; margin-inline: auto; }
.main-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav a {
  position: relative; display: block; padding: 10px 14px; border-radius: 999px; color: var(--text); font-weight: 600; text-decoration: none;
  transition: background-color .2s, color .2s;
}
.main-nav a:hover { background: var(--g-tint); color: var(--g-ink); }
.main-nav a[aria-current="page"] { color: var(--g-deep); }
.main-nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 50%; bottom: 3px; width: 18px; height: 3px; margin-left: -9px; border-radius: 3px; background: var(--g-bright);
}
.header-actions { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.lang { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--g-tint); }
.lang a { padding: 6px 10px; border-radius: 999px; font-size: .8rem; font-weight: 700; text-decoration: none; color: var(--muted); }
.lang a[aria-current="true"] { background: #fff; color: var(--g-ink); box-shadow: var(--shadow-s); }

@media (min-width: 900px) {
  :root { --header-h: 76px; }
  .brand img { width: 150px; }
  .main-nav { display: block; }
  .menu-btn { display: none; }
  .header-actions { margin-left: 0; }
}

/* ---------- Mobil menyu (drawer) ---------- */
.drawer, .search-sheet { position: fixed; inset: 0; z-index: 60; }
.drawer[hidden], .search-sheet[hidden] { display: none; }
.drawer__backdrop, .search-sheet__backdrop { position: absolute; inset: 0; background: rgba(8, 30, 18, .42); opacity: 0; transition: opacity .3s var(--ease); }
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(88vw, 380px); background: var(--surface); overflow-y: auto; overscroll-behavior: contain;
  padding: 16px 20px calc(24px + env(safe-area-inset-bottom)); transform: translateX(100%); transition: transform .38s var(--ease);
  box-shadow: -20px 0 60px rgba(8, 51, 31, .16);
}
.drawer.is-open .drawer__backdrop, .search-sheet.is-open .search-sheet__backdrop { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.drawer__nav { list-style: none; margin: 0 0 20px; padding: 0; }
.drawer__nav a { display: flex; align-items: center; min-height: 52px; padding: 0 12px; border-radius: 14px; font-size: 1.15rem; font-weight: 750; color: var(--g-ink); text-decoration: none; }
.drawer__nav a[aria-current="page"] { background: var(--g-tint); color: var(--g-deep); }
.drawer__label { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: var(--muted); margin: 0 12px 8px; }
.drawer__cats { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 2px; }
.drawer__cats a { display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 0 12px; border-radius: 12px; color: var(--text); text-decoration: none; font-weight: 550; }
.drawer__cats a:hover { background: var(--g-tint); }
.drawer__cats .icon { color: var(--g-brand); flex-shrink: 0; }
.drawer.is-open .drawer__nav li, .drawer.is-open .drawer__cats li { animation: slideIn .45s var(--ease) both; }
.drawer.is-open li:nth-child(2) { animation-delay: .03s; } .drawer.is-open li:nth-child(3) { animation-delay: .06s; }
.drawer.is-open li:nth-child(4) { animation-delay: .09s; } .drawer.is-open li:nth-child(5) { animation-delay: .12s; }
.drawer.is-open li:nth-child(n+6) { animation-delay: .15s; }
@keyframes slideIn { from { opacity: 0; transform: translateX(16px); } }

/* ---------- Qidiruv paneli ---------- */
.search-sheet__panel {
  position: absolute; left: 0; right: 0; top: 0; max-height: 88vh; overflow-y: auto; background: var(--surface);
  border-radius: 0 0 var(--radius-l) var(--radius-l); padding: 14px 16px 22px; box-shadow: 0 30px 60px rgba(8, 51, 31, .2);
  transform: translateY(-104%); transition: transform .4s var(--ease);
}
.search-sheet.is-open .search-sheet__panel { transform: none; }
@media (min-width: 900px) { .search-sheet__panel { left: 50%; width: 720px; margin-left: -360px; top: 16px; border-radius: var(--radius-l); transform: translateY(-20px) scale(.98); opacity: 0; transition: transform .35s var(--ease), opacity .25s; } .search-sheet.is-open .search-sheet__panel { opacity: 1; } }
.search-field { display: flex; align-items: center; gap: 10px; padding: 4px 4px 4px 16px; border-radius: 999px; background: var(--g-tint); box-shadow: inset 0 0 0 2px transparent; transition: box-shadow .2s; }
.search-field:focus-within { box-shadow: inset 0 0 0 2px var(--g-brand); background: #fff; }
.search-field > .icon { color: var(--g-deep); flex-shrink: 0; }
.search-field input { flex: 1; min-width: 0; height: 48px; border: 0; background: transparent; font: inherit; font-size: 1.05rem; color: var(--text); }
.search-field input:focus { outline: none; }
input[type=search]::-webkit-search-cancel-button, input[type=search]::-webkit-search-decoration { -webkit-appearance: none; appearance: none; }
.search-sheet__hint { color: var(--muted); font-size: .9rem; margin: 12px 8px 0; }
.search-results h3 { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 18px 8px 6px; }
.search-results ul { list-style: none; margin: 0; padding: 0; }
.search-results a { display: flex; align-items: center; gap: 12px; padding: 10px 10px; min-height: 52px; border-radius: 14px; text-decoration: none; color: var(--text); animation: fadeUp .3s var(--ease) both; }
.search-results a:hover, .search-results a:focus-visible { background: var(--g-tint); }
.search-results .sr-ico { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--g-tint-2); color: var(--g-deep); flex-shrink: 0; }
.search-results .sr-name { font-weight: 650; }
.search-results .sr-cat { display: block; font-size: .82rem; color: var(--muted); }
.search-results mark { background: #DDF3C8; color: inherit; border-radius: 3px; padding: 0 1px; }
.search-results .sr-empty { padding: 16px 8px; color: var(--muted); }
.search-results--page { background: var(--surface); border-radius: var(--radius); padding: 8px 12px 16px; box-shadow: var(--shadow-s); }

/* ---------- Bosh sahifa: hero ---------- */
.hero { position: relative; overflow: hidden; padding: 28px 0 56px; }
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50% 50% 50% 0; filter: blur(.5px); opacity: .9; }
.blob--a { width: 520px; height: 520px; right: -220px; top: -160px; background: radial-gradient(circle at 30% 30%, #DFF3CB, rgba(223, 243, 203, 0) 70%); border-radius: 50%; }
.blob--b { width: 140px; height: 140px; left: -50px; bottom: 30px; background: var(--g-tint-2); transform: rotate(20deg); animation: drift 1.6s var(--ease) both .3s; }
.blob--c { width: 60px; height: 60px; left: 46%; top: 24px; background: #F1F9EA; transform: rotate(-30deg); animation: drift 1.6s var(--ease) both .5s; }
@keyframes drift { from { opacity: 0; transform: translateY(30px) rotate(0); } }
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: center; }
.kicker { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 14px; padding: 6px 12px 6px 10px; border-radius: 999px; background: var(--g-tint); color: var(--g-deep); font-weight: 700; font-size: .85rem; }
.hero__title { max-width: 14ch; margin-bottom: 16px; }
.hero__title::after { content: ""; display: block; width: 72px; height: 6px; margin-top: 18px; border-radius: 6px; background: linear-gradient(90deg, var(--g-bright), var(--g-brand)); transform-origin: left; animation: grow .9s var(--ease) both .55s; }
@keyframes grow { from { transform: scaleX(0); } }
.hero__lead { font-size: 1.1rem; color: var(--muted); max-width: 46ch; }
.hero-search {
  display: flex; align-items: center; gap: 8px; margin: 22px 0 18px; padding: 6px 6px 6px 18px; max-width: 560px;
  background: var(--surface); border-radius: 999px; box-shadow: var(--shadow), inset 0 0 0 1px var(--line); transition: box-shadow .25s;
}
.hero-search:focus-within { box-shadow: var(--shadow), inset 0 0 0 2px var(--g-brand); }
.hero-search > .icon { color: var(--g-deep); flex-shrink: 0; }
.hero-search input { flex: 1; min-width: 0; height: 48px; border: 0; background: transparent; font: inherit; font-size: 1rem; color: var(--text); }
.hero-search input:focus { outline: none; }
.hero-search .btn { min-height: 46px; padding: 0 18px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__ctas .btn { flex: 1 1 auto; }
@media (min-width: 520px) { .hero__ctas .btn { flex: 0 0 auto; } }

.hero__visual { position: relative; height: 300px; }
.hero__disc {
  position: absolute; left: 50%; top: 50%; width: 230px; height: 230px; margin: -115px 0 0 -115px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #19B866, var(--g-brand) 55%, #00904C); display: grid; place-items: center;
  box-shadow: 0 30px 60px rgba(0, 120, 60, .28), inset 0 -10px 30px rgba(0, 0, 0, .08);
}
.hero__disc img { width: 58%; height: auto; }
.float-chip {
  position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px 10px 10px; border-radius: 16px;
  background: #fff; box-shadow: var(--shadow); font-weight: 700; font-size: .85rem; color: var(--g-ink); white-space: nowrap;
}
.float-chip .icon { color: var(--g-brand); background: var(--g-tint); border-radius: 10px; padding: 4px; width: 30px; height: 30px; }
.float-chip--1 { left: 0; top: 14px; }
.float-chip--2 { right: 0; top: 50px; }
.float-chip--3 { left: 0; bottom: 30px; }
.float-chip--4 { right: 0; bottom: 0; }
@media (min-width: 900px) {
  .hero { padding: 56px 0 96px; }
  .hero__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; }
  .hero__visual { height: 440px; }
  .hero__disc { width: 320px; height: 320px; margin: -160px 0 0 -160px; }
  .float-chip { font-size: .95rem; padding: 12px 18px 12px 12px; }
  .float-chip--1 { left: -10px; top: 40px; } .float-chip--2 { right: -10px; top: 96px; }
  .float-chip--3 { left: -20px; bottom: 90px; } .float-chip--4 { right: -10px; bottom: 30px; }
}

/* ---------- Bo‘limlar ---------- */
.section { padding: 48px 0; }
.section--tight { padding: 24px 0 40px; }
.section--tint { background: linear-gradient(180deg, var(--g-tint), rgba(238, 247, 230, 0)); }
@media (min-width: 900px) { .section { padding: 72px 0; } }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 24px; margin-bottom: 24px; }
.section-head p { color: var(--muted); margin: 0; }
.section-head h2 { margin-bottom: 6px; }

.cat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 700px) { .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1040px) { .cat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }
.cat-card {
  position: relative; display: flex; flex-direction: column; min-height: 100%; padding: 16px; border-radius: var(--radius);
  background: var(--surface); color: var(--text); text-decoration: none; box-shadow: var(--shadow-s), inset 0 0 0 1px var(--line);
  overflow: hidden; isolation: isolate; transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.cat-card::before {
  content: ""; position: absolute; z-index: -1; right: -40px; bottom: -40px; width: 120px; height: 120px; border-radius: 50% 50% 50% 0;
  background: var(--g-tint); transform: scale(.6) rotate(-20deg); opacity: 0; transition: transform .5s var(--ease), opacity .4s;
}
a.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow), inset 0 0 0 1px var(--g-tint-2); }
a.cat-card:hover::before { transform: scale(1) rotate(0); opacity: 1; }
a.cat-card:active { transform: translateY(-1px) scale(.985); }
.cat-card__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--g-tint); color: var(--g-deep); margin-bottom: 14px; transition: transform .4s var(--ease-spring), background-color .3s; }
a.cat-card:hover .cat-card__icon { transform: rotate(-8deg) scale(1.08); background: var(--g-bright); color: #fff; }
.cat-card__title { font-size: 1rem; margin-bottom: 6px; }
.cat-card__text { font-size: .875rem; color: var(--muted); margin-bottom: 12px; display: none; }
.cat-card__meta { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 700; color: var(--g-deep); }
.cat-card__meta.is-soon { color: var(--muted); font-weight: 600; }
.cat-card__meta .icon { transition: transform .3s var(--ease); }
a.cat-card:hover .cat-card__meta .icon { transform: translateX(4px); }
@media (min-width: 700px) { .cat-card { padding: 22px; } .cat-card__text { display: block; } .cat-card__title { font-size: 1.1rem; } }
.cat-card:target { box-shadow: var(--shadow), inset 0 0 0 2px var(--g-bright); }

.group-title { display: flex; align-items: center; gap: 10px; }
.group-title span { font-size: .9rem; font-weight: 700; padding: 2px 10px; border-radius: 999px; background: var(--g-tint); color: var(--g-deep); letter-spacing: 0; }

/* ---------- Faktlar ---------- */
.facts { display: grid; gap: 14px; }
@media (min-width: 700px) { .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.fact { padding: 22px; border-radius: var(--radius); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.fact__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50% 50% 50% 8px; background: linear-gradient(135deg, var(--g-bright), var(--g-brand)); color: #fff; margin-bottom: 14px; }
.fact p { color: var(--muted); margin: 0; }

/* ---------- CTA ---------- */
.cta-band {
  position: relative; overflow: hidden; display: grid; gap: 20px; padding: 32px 24px; border-radius: var(--radius-l);
  background: linear-gradient(135deg, #007F3E 0%, #00733D 60%, #006636 100%); color: #fff;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .92); max-width: 52ch; margin: 0; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; position: relative; }
.cta-band > *:not(.cta-band__leaf) { position: relative; z-index: 1; }
.cta-band__leaf { position: absolute; right: -70px; bottom: -90px; width: 260px; height: 260px; border-radius: 50% 50% 50% 0; background: rgba(114, 201, 43, .35); transform: rotate(-15deg); pointer-events: none; }
@media (min-width: 900px) { .cta-band { grid-template-columns: 1fr auto; align-items: center; padding: 48px 56px; } }

/* ---------- Ichki sahifa sarlavhasi ---------- */
.page-hero { padding: 16px 0 24px; background: radial-gradient(ellipse at 90% -20%, #E4F4D6 0, rgba(228, 244, 214, 0) 55%); }
.page-hero h1 { font-size: clamp(1.9rem, 5.4vw, 3rem); }
.page-hero__lead { font-size: 1.08rem; color: var(--muted); max-width: 62ch; }
.page-hero .hero-search { margin-top: 8px; }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; list-style: none; margin: 0 0 18px; padding: 0; font-size: .875rem; }
.crumbs li { display: inline-flex; align-items: center; gap: 4px; }
.crumbs a { color: var(--muted); text-decoration: none; padding: 6px 2px; }
.crumbs a:hover { color: var(--g-deep); text-decoration: underline; }
.crumbs .icon { color: #9AAEA1; }
.crumbs [aria-current] { color: var(--g-ink); font-weight: 650; }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.jump a { padding: 10px 16px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; font-weight: 650; color: var(--g-ink); transition: box-shadow .2s, transform .2s var(--ease); }
.jump a:hover { box-shadow: inset 0 0 0 2px var(--g-bright); transform: translateY(-1px); }
@media (min-width: 900px) { .page-hero { padding: 28px 0 40px; } }

.page-hero--cat { padding-bottom: 4px; }
.cat-hero { display: flex; gap: 18px; align-items: flex-start; }
.cat-hero__icon { display: grid; place-items: center; flex-shrink: 0; width: 64px; height: 64px; border-radius: 20px; background: linear-gradient(135deg, var(--g-bright), var(--g-brand)); color: #fff; box-shadow: 0 10px 24px rgba(0, 150, 70, .25); }
@media (min-width: 900px) { .cat-hero__icon { width: 84px; height: 84px; border-radius: 26px; } }

/* ---------- Filtrlar ---------- */
.toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; margin: -2px; max-width: 100%; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 0; border-radius: 999px; white-space: nowrap;
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font: inherit; font-size: .92rem; font-weight: 650; color: var(--g-ink);
  text-decoration: none; cursor: pointer; transition: background-color .2s, box-shadow .2s, transform .2s var(--ease), color .2s;
}
.chip:hover { box-shadow: inset 0 0 0 2px var(--g-bright); }
.chip:active { transform: scale(.96); }
.chip[aria-pressed="true"] { background: var(--g-deep); color: #fff; box-shadow: none; }
.chip .icon { color: var(--g-brand); }
.chip-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.toolbar__right { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.select select {
  min-height: 44px; padding: 0 40px 0 16px; border-radius: 999px; border: 0; box-shadow: inset 0 0 0 1px var(--line); font: inherit; font-weight: 600; color: var(--g-ink);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2300733D' stroke-width='2'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E") no-repeat right 14px center; appearance: none; cursor: pointer;
}
.switch { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 600; cursor: pointer; }
.switch input { appearance: none; width: 44px; height: 26px; border-radius: 999px; background: #CBD6C6; position: relative; cursor: pointer; transition: background-color .2s; margin: 0; }
.switch input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-s); transition: transform .25s var(--ease-spring); }
.switch input:checked { background: var(--g-deep); }
.switch input:checked::after { transform: translateX(18px); }
.count { font-size: .9rem; margin: 6px 0 16px; }

/* ---------- Tovar kartalari ---------- */
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 700px) { .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1040px) { .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }
.product-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(170px, 46%); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 20px 12px; margin: 0 -20px; scrollbar-width: thin; }
.product-rail > * { scroll-snap-align: start; }
@media (min-width: 700px) { .product-rail { grid-auto-columns: minmax(220px, 23%); gap: 16px; } }
.product-card {
  position: relative; display: flex; flex-direction: column; border-radius: var(--radius); background: var(--surface); overflow: hidden;
  box-shadow: var(--shadow-s), inset 0 0 0 1px var(--line); transition: transform .35s var(--ease), box-shadow .35s var(--ease), opacity .3s;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-card:focus-within { box-shadow: var(--shadow), inset 0 0 0 2px var(--g-bright); }
.product-card__media { position: relative; aspect-ratio: 1; background: linear-gradient(160deg, #F4FAEE, #E8F4DD); display: grid; place-items: center; overflow: hidden; }
.product-card__media img { width: 100%; height: 100%; object-fit: contain; padding: 12px; transition: transform .5s var(--ease); }
.product-card:hover .product-card__media img { transform: scale(1.05); }
.product-card__ph { display: grid; place-items: center; gap: 8px; color: #8FC66A; transition: transform .5s var(--ease-spring); text-align: center; font-size: .85rem; }
.product-card:hover .product-card__ph { transform: scale(1.1) rotate(-4deg); }
.product-card__ph--lg { color: #7DBB55; padding: 24px; }
.product-card__ph--lg span { color: var(--muted); }
.product-card__body { display: flex; flex-direction: column; flex: 1; padding: 12px 14px 14px; }
.product-card__sub { font-size: .75rem; font-weight: 700; color: var(--g-deep); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 4px; }
.product-card__title { font-size: .98rem; font-weight: 700; line-height: 1.3; margin-bottom: 6px; color: var(--text); letter-spacing: -.01em; }
.product-card__link { color: inherit; text-decoration: none; }
.product-card__link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.product-card__link:hover { text-decoration: underline; text-decoration-color: var(--g-bright); text-decoration-thickness: 2px; }
.product-card__link:focus-visible { outline: none; }
.product-card__unit { font-size: .85rem; color: var(--muted); margin-bottom: 8px; }
.product-card__foot { margin-top: auto; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 8px; }
.price { font-size: 1.12rem; font-weight: 850; color: var(--g-ink); margin: 0; letter-spacing: -.01em; }
.price small { font-size: .78em; font-weight: 600; color: var(--muted); }
.price--lg { font-size: 1.8rem; margin: 4px 0 8px; }
.stock { font-size: .78rem; font-weight: 700; margin: 0; display: inline-flex; align-items: center; gap: 6px; }
.stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.stock.is-in { color: var(--g-deep); }
.stock.is-out { color: #8C3B2E; }
.badge { position: absolute; top: 10px; left: 10px; padding: 3px 9px; border-radius: 999px; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.badge--demo { background: #FFE9A8; color: #5C3D00; }
.product-card.is-hidden { display: none; }
.product-card.is-entering { animation: fadeUp .4s var(--ease) both; }

.product-detail { display: grid; gap: 24px; align-items: start; }
.product-detail__media { position: relative; aspect-ratio: 1; border-radius: var(--radius-l); background: linear-gradient(160deg, #F4FAEE, #E3F1D6); display: grid; place-items: center; overflow: hidden; }
.product-detail__media img { width: 100%; height: 100%; object-fit: contain; padding: 24px; }
.product-detail__info h1 { font-size: clamp(1.7rem, 4.6vw, 2.6rem); }
.specs { display: grid; gap: 0; margin: 8px 0 20px; border-radius: var(--radius-s); box-shadow: inset 0 0 0 1px var(--line); background: var(--surface); }
.specs div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 16px; }
.specs div + div { border-top: 1px solid var(--line); }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; font-weight: 700; text-align: right; }
@media (min-width: 900px) { .product-detail { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; } }

/* ---------- Aloqa ---------- */
.info-grid { display: grid; gap: 14px; }
@media (min-width: 700px) { .info-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .info-grid--stack { grid-template-columns: 1fr; } }
.info-card { display: flex; gap: 14px; padding: 20px; border-radius: var(--radius); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.info-card > .icon { flex-shrink: 0; width: 44px; height: 44px; padding: 10px; border-radius: 14px; background: var(--g-tint); color: var(--g-deep); }
.info-card h3 { font-size: 1rem; margin-bottom: 4px; }
.info-card p { margin: 0 0 4px; }
.tel { font-size: 1.15rem; font-weight: 800; text-decoration: none; }
.hours { list-style: none; padding: 0; margin: 0; }
.hours li { display: flex; justify-content: space-between; gap: 16px; }
.social-row { display: flex; gap: 14px; flex-wrap: wrap; }
.contacts-layout { display: grid; gap: 20px; }
.map { border-radius: var(--radius-l); overflow: hidden; min-height: 320px; box-shadow: var(--shadow-s); }
.map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }
.map-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
@media (min-width: 900px) { .contacts-layout { grid-template-columns: 380px 1fr; } }

.promo-list { display: grid; gap: 16px; }
.promo { padding: 24px; border-radius: var(--radius); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }

.notfound { text-align: center; padding: 64px 0; }
.notfound .hero__ctas { justify-content: center; }
.notfound__code { font-size: clamp(5rem, 20vw, 9rem); font-weight: 900; line-height: 1; margin: 0 0 8px; background: linear-gradient(135deg, var(--g-bright), var(--g-brand)); -webkit-background-clip: text; background-clip: text; color: transparent; letter-spacing: -.05em; }

/* ---------- Footer ---------- */
.site-footer { margin-top: 32px; background: var(--g-ink); color: rgba(255, 255, 255, .86); padding: 48px 0 calc(24px + env(safe-area-inset-bottom)); border-radius: var(--radius-l) var(--radius-l) 0 0; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-decoration-color: var(--g-bright); }
.footer-grid { display: grid; gap: 32px; }
.footer-brand img { width: 190px; margin-bottom: 14px; }
.footer-h { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.site-footer nav a { display: inline-block; padding: 6px 0; }
.footer-contact li { display: flex; gap: 8px; align-items: center; }
.footer-contact .icon { color: var(--g-bright); }
.footer-social { display: flex; gap: 8px; margin-top: 12px; }
.footer-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .85rem; color: rgba(255, 255, 255, .7); display: grid; gap: 4px; }
.footer-bottom p { margin: 0; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } .footer-bottom { grid-template-columns: 1fr auto; } }

/* ---------- Animatsiyalar ---------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } }
@keyframes pop { from { opacity: 0; transform: scale(.85) translateY(10px); } }
.anim-in { animation: fadeUp .7s var(--ease) both; animation-delay: calc(var(--d, 0) * 90ms); }
.anim-pop { animation: pop .8s var(--ease-spring) both; animation-delay: calc(var(--d, 0) * 110ms); }
.hero__disc.anim-pop { animation-delay: .15s; }
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--rd, 0ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }
/* «reveal» kartalarga hover transition’ini qaytarish */
.js .cat-card.reveal.is-visible, .js .product-card.reveal.is-visible { transition: opacity .7s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease); }

/* Sahifalar orasidagi yumshoq o‘tish (qo‘llab-quvvatlovchi brauzerlarda) */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .25s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  @view-transition { navigation: none; }
}

@media print {
  .site-header, .drawer, .search-sheet, .site-footer, .hero__visual, .cta-band { display: none !important; }
  body { background: #fff; }
}

/* ---------- Katta katalog (1C import) ---------- */
.toolbar { flex-wrap: nowrap; }
.search-field--inline { flex: 1; min-width: 0; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.search-field--inline input { height: 44px; font-size: 1rem; }
.chips--wrap { margin: 4px -2px 6px; padding-bottom: 4px; }
@media (min-width: 900px) { .chips--wrap { flex-wrap: wrap; overflow: visible; } }
.chip span { font-size: .78rem; font-weight: 700; opacity: .65; }
.chip[aria-pressed="true"] span { opacity: .85; }
.more-wrap { display: flex; justify-content: center; margin: 24px 0 8px; }
.more-wrap .btn[hidden] { display: none; }
.price-note { display: flex; gap: 8px; align-items: center; font-size: .88rem; color: var(--muted); margin-top: 16px; }
.price-note .icon { color: var(--g-deep); flex-shrink: 0; }
.product-grid > .sr-empty { grid-column: 1 / -1; color: var(--muted); padding: 24px 0; }
.product-card__title { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: .92rem; word-break: break-word; }
.product-card__body { gap: 2px; }
.product-card .price { margin-top: auto; padding-top: 6px; }
.product-card__media { aspect-ratio: 4 / 3; }
.product-card__ph .icon { width: 34px; height: 34px; }
.product-grid .product-card { content-visibility: auto; contain-intrinsic-size: auto 280px; }
.sr-more { margin: 10px 8px 0; }
@media (max-width: 599px) { .toolbar { flex-wrap: wrap; } .toolbar .select { width: 100%; } .toolbar .select select { width: 100%; } }
.product-card__media:has(.product-card__ph) { aspect-ratio: 2 / 1; }
